PMSM

Three-phase permanent-magnet synchronous machine with a damper cage on the rotor.

  • rotational
  • 3-phase
  • Modelica Standard Library
  • 3 ports
  • 8 parameters
BlockPMSMKindpmSyncMachineLibraryMachines

Description

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.

100 V rms IMStar IM supplyGround IM supplyStar IMGround IMInductionSpeed IM112.3 V rms PMSMStar PMSM supplyGround PMSM supplyStar PMSMGround PMSMPM synchronousSpeed PMSM100 V rms SynRMStar SynRM supplyGround SynRM supplyStar SynRMGround SynRMReluctanceSpeed SynRM
In Gradara, select a PMSM block and press F1, then choose Open example. It opens as a new model in My models, ready to run.

Also in this example:Speed sensorGroundInduction machineReluctance machine3-phase AC sourceStar point

Ports

Conserving terminals 3

  • abcplug_sp

    Stator phase terminals a, b, c. Current into plug_sp is counted as positive.

  • nplug_sn

    Stator winding ends. Connect them to a Star point for a star connection.

  • shaftflange

    Shaft, rotational, carrying the rotor inertia Jr. The stator is fixed to ground internally.

Parameters

  • Pole pairsp2

    ≥ 1

    Number of pole pairs, an integer ≥ 1. Synchronous speed is 2π · f / p.

  • Nominal frequencyfsNominal50 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 resistanceRs0.03 Ω

    ≥ 0

    Stator resistance per phase, in ohms.

  • Stator stray inductanceLssigma0.0003183 H

    ≥ 0

    Stator stray (leakage) inductance per phase, in henries.

  • d-axis main inductanceLmd0.0009549 H

    ≥ 0

    d-axis main inductance, in henries. Ld = Lssigma + Lmd.

  • q-axis main inductanceLmq0.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 inertiaJr0.29 kg·m²

    ≥ 0

    Rotor moment of inertia, in kg·m².

Equations

Modelica
ψ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 Standard Library 4.1.0Modelica.Electrical.Machines.BasicMachines.SynchronousMachines.SM_PermanentMagnet
MSL documentation

Assumptions 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.