blockSrfPLL

Synchronous reference frame phase locked loop

Extends from Modelica.Blocks.Interfaces.MIMO (Multiple Input Multiple Output continuous control block), Interfaces.w_theta (Signal output w and theta).

Information

This phase locked loop works in the synchronous reference frame, also with varying frequency.

The input u[1..2] is the α-β-representation of a threephase signal (after performing the Clarke-transformation), or the cosine and sine signal of an angle sensor.

The output y[1..2] shows the d-q-representation of the input signal.

Parameters

TypeNameDefaultDescription
Integernin (from MIMO)1Number of inputs
Integernout (from MIMO)1Number of outputs
RealA01Rated amplitude of input
Realdamping1/sqrt(2)Desired damping
SI.TimeT1e-3Desired time constant
SI.Frequencykp2*damping/TProportional gain
SI.TimeTi2*damping*TIntegral time constant
Realepsilon1e-3Protection aginst division by zero
BooleanuseOmegaInputfalseUse input for estimated omega
SI.AngularVelocitywE0Constant estimated angular velocity

Connectors

TypeNameDefaultDescription
RealInput[nin]u (from MIMO)Connector of Real input signals
RealOutput[nout]y (from MIMO)Connector of Real output signals
Modelica.Blocks.Interfaces.RealOutputw (from w_theta)Estimated angular velocity
Modelica.Blocks.Interfaces.RealOutputtheta (from w_theta)Estimated angle
Modelica.Blocks.Interfaces.RealInputweestimated angular velocity

Components

TypeNameDefaultDescription
Modelica.Electrical.Machines.SpacePhasors.Blocks.Rotatorrotator
Modelica.Blocks.Math.Divisiondivision
Auxilliary.AddOffsetaddOffset
Modelica.Blocks.Continuous.PIcontroller
Modelica.Blocks.Continuous.Integratorintegrator
Modelica.Blocks.Math.Absabs1
Auxilliary.Addadd
Modelica.Blocks.Sources.Constantconst