DQCurrentControllerCurrent controller in dq coordinate system |
This information is part of the Modelica Standard Library maintained by the Modelica Association.
Simple Current controller
The desired d- and q-component of the space phasor current in rotor fixed coordinate system are given by inputs id
and iq
.
Using the given rotor position (input phi
), the actual three-phase currents are measured and transformed to the d-q coordinate system.
Two PI-controllers determine the necessary d- and q- voltages, which are transformed back to three-phase (output y[3]
).
They can be used to feed a voltage source which in turn feeds a permanent magnet synchronous machine.
Inputs d
and q
can be given either as peak values (useRMS=false
) or as RMS (useRMS=true
).
The correction by factor √2 is done automatically.
The measured currents iActual[m]
are assumed to be instantaneous values.
Note: No care is taken for current or voltage limiting, as well as for field weakening.
nout |
Value: m Type: Integer Description: Number of outputs |
---|---|
p |
Value: Type: Integer Description: Number of pole pairs |
useRMS |
Value: true Type: Boolean Description: If true, inputs dq are multiplied by sqrt(2) |
fsNominal |
Value: Type: Frequency (Hz) Description: Nominal frequency |
VsOpenCircuit |
Value: Type: Voltage (V) Description: Open circuit RMS voltage per phase @ fsNominal |
Rs |
Value: Type: Resistance (Ω) Description: Stator resistance per phase |
Ld |
Value: Type: Inductance (H) Description: Inductance in d-axis |
Lq |
Value: Type: Inductance (H) Description: Inductance in q-axis |
decoupling |
Value: false Type: Boolean Description: Use decoupling network |
psiM |
Value: sqrt(2) * VsOpenCircuit / (2 * pi * fsNominal) Type: MagneticFlux (Wb) Description: Approximation of magnetic flux linkage |
y |
Type: RealOutput[nout] Description: Connector of Real output signals |
|
---|---|---|
id |
Type: RealInput Description: Reference of d-current |
|
iq |
Type: RealInput Description: Reference of q-current |
|
phi |
Type: RealInput Description: Rotor angle |
|
iActual |
Type: RealInput[m] Description: Measured three-phase currents |
Modelica.Electrical.Machines.Examples.SynchronousMachines Test example: PermanentMagnetSynchronousMachine fed by FOC |
|
Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines Test example: PermanentMagnetSynchronousMachine fed by FOC |