Park transform

Rotates a stationary-frame (α, β) pair into a frame turning at the input angle: with the electrical rotor angle it gives d and q. Feed −θ to rotate back.

  • signal
  • Modelica Standard Library
  • 5 ports
BlockPark transformKindparkLibraryControl

Description

Rotates a stationary-frame (α, β) pair into a frame turning at the input angle (the Modelica library rotator). With the electrical rotor angle θe, d is the flux-aligned component and q the one 90° ahead of it: for motor currents, flux-producing and torque-producing.

Uses the d-axis-aligned convention: at theta = 0, the d axis coincides with α. The same block rotates back: feed it −θe to turn d, q voltage commands into α, β.

Example

Clarke and Park transforms Balanced three-phase signals become a rotating α, β pair, then constant d and q, and go back out through a controlled three-phase source.

iaibicClarkeParkTimeθ = 2π·50·tZero sequence 0Inverse ClarkeControlled 3-phase sourcePhase currentsLoad 10 ΩStar pointGroundSource neutral
In Gradara, select a Park transform block and press F1, then choose Open example. It opens as a new model in My models, ready to run.

Also in this example:ConstantSine waveClockGainClarke transformInverse Clarke transformGroundControlled 3-phase voltage3-phase resistorStar point3-phase current sensor

Ports

Inputs 3

  • αalpha

    α axis, typically from Clarke transform.

  • βbeta

    β axis.

  • θetheta

    Electrical rotor angle θe, in radians (mechanical angle times pole pairs).

Outputs 2

  • did

    d axis.

  • qiq

    q axis.

Equations

Modelica
id = alpha · cos(theta) + beta · sin(theta)
iq = −alpha · sin(theta) + beta · cos(theta)

Implementation

Modelica Standard Library 4.1.0Modelica.Electrical.Machines.SpacePhasors.Blocks.Rotator
MSL documentation

Assumptions and limitations

  • Uses theta as given: no angle estimation, filtering, or sensor delay.

Tips

  • Feed theta from an Angle sensor on the rotor through a Gain of the pole pairs. A mechanical angle gives wrong d/q values unless the machine has one pole pair.
  • For the inverse rotation, negate theta with Unary minus.

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.