blockInverter1phCurrentController

Simple synchronous reference frame PI current controller

Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).

Information

Synchronous reference frame current controller for a 1-phase inverter. It takes the measured and the dq setpoints and calculates the duty cycle, which can be then used as the input to the SignalPWM block in switching models or directly as the input of the switch or converter in averaged models.

The control is performed with two LimPID blocks (one per component) configured as a PI controller.

Parameters

TypeNameDefaultDescription
Realk0.1PI controllers gain
Modelica.SIunits.TimeT0.01PI controllers time constant (T>0 required)
Modelica.SIunits.Frequencyfline50AC line frequency
RealidMaxModelica.Constants.infMaximum effort for id loop
RealiqMaxModelica.Constants.infMaximum effort for iq loop

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputiSensed current
Modelica.Blocks.Interfaces.RealInputidsCurrent d component setpoint
Modelica.Blocks.Interfaces.RealInputiqsCurrent q component setpoint
Modelica.Blocks.Interfaces.RealInputthetaSensed AC voltage phase
Modelica.Blocks.Interfaces.RealInputvdcSensed DC voltage
Modelica.Blocks.Interfaces.RealOutputdDuty cycle output

Components

TypeNameDefaultDescription
Parkpark
Modelica.Blocks.Nonlinear.FixedDelayT4Delay
Modelica.Blocks.Continuous.LimPIDidPI
Modelica.Blocks.Continuous.LimPIDiqPI
InverseParkinversePark
Modelica.Blocks.Sources.ConstantdOffset
Modelica.Blocks.Math.DivisiondScaling
Modelica.Blocks.Math.AdddCalc