PMSM
Three-phase permanent-magnet synchronous machine with a damper cage on the rotor.
- rotational
- 3-phase
- Modelica Standard Library
- 3 ports
- 8 parameters
pmSyncMachineLibraryMachinesDescription
A three-phase permanent-magnet synchronous machine with a damper cage on the rotor, from the Modelica library. The magnets give a fixed rotor flux; torque comes from the stator current in quadrature with it.
The magnet is entered as the open-circuit (back-EMF) voltage per phase at the nominal frequency; the inductances are entered directly. The defaults are the library’s 100 V, 100 A reference machine at 50 Hz.
Example
AC machines on the mains Induction, permanent-magnet, and reluctance machines started straight from a 50 Hz supply.
Also in this example:Speed sensorGroundInduction machineReluctance machine3-phase AC sourceStar point
Ports
Conserving terminals 3
-
abc
plug_spStator phase terminals a, b, c. Current into plug_sp is counted as positive.
-
n
plug_snStator winding ends. Connect them to a Star point for a star connection.
-
shaft
flangeShaft, rotational, carrying the rotor inertia Jr. The stator is fixed to ground internally.
Parameters
-
Pole pairs
p2≥ 1
Number of pole pairs, an integer ≥ 1. Synchronous speed is 2π · f / p.
-
Nominal frequency
fsNominal50 Hz≥ 0
Nominal frequency, in hertz: the frequency at which the open-circuit voltage is stated.
-
Open-circuit voltage (RMS per phase)
VsOpenCircuit112.3 V≥ 0
Open-circuit (back-EMF) voltage per phase, RMS, at fsNominal, in volts. Sets the magnet flux: ψPM = √2 · VsOpenCircuit / (2π · fsNominal).
-
Stator resistance
Rs0.03 Ω≥ 0
Stator resistance per phase, in ohms.
-
Stator stray inductance
Lssigma0.0003183 H≥ 0
Stator stray (leakage) inductance per phase, in henries.
-
d-axis main inductance
Lmd0.0009549 H≥ 0
d-axis main inductance, in henries. Ld = Lssigma + Lmd.
-
q-axis main inductance
Lmq0.0009549 H≥ 0
q-axis main inductance, in henries. Lq = Lssigma + Lmq; set it above Lmd for an interior-magnet rotor with reluctance torque.
-
Rotor inertia
Jr0.29 kg·m²≥ 0
Rotor moment of inertia, in kg·m².
Equations
ψPM = √2 · VsOpenCircuit / (2π · fsNominal) (peak, rotor d axis) vs = Rs · is + Lssigma · dis/dt + dψm/dt (stator space phasors) ψm,d = Lmd · (is,d + ir,d) + ψPM, ψm,q = Lmq · (is,q + ir,q) τe = (3/2) · p · (ψm,α · is,β − ψm,β · is,α) = (3/2) · p · (ψPM · is,q + (Lmd − Lmq) · is,d · is,q) in steady state
Implementation
Modelica.Electrical.Machines.BasicMachines.SynchronousMachines.SM_PermanentMagnetAssumptions and limitations
- Linear magnetics: no saturation, no demagnetization, no cogging.
- No iron, magnet, friction, or stray-load losses. Temperatures are fixed at 20 °C.
- The damper cage (the library default: 0.04 Ω and 0.05 Ω / (2π · 50 Hz) per axis) is always present. It lets the machine start on line and damps transients; most inverter-fed PM machines have none, and under field-oriented control its effect is small.
Tips
- Drive it from a Controlled 3-phase voltage with field-oriented control, taking the rotor angle from an Angle sensor times the pole pairs; the FOC template shows the whole loop.
- From a datasheet flux linkage ψ in V·s (peak): VsOpenCircuit = ψ · 2π · fsNominal / √2.
Used in
These larger examples use it too. Open them from Examples in the app.
- PMSM · Field-oriented control
See also
Select a block in Gradara and press F1 to open its page offline.