Inverse Park Transform (invPark)
Rotates a d-q vector back into the fixed alpha-beta frame.
Group: Control · Kind: {"block":"invPark","kind":"control"}
When to use it
Use it after the current controllers to turn vd and vq into a fixed voltage vector. Use dq to abc Transform for both steps.
Pins
| Pin | Domain | Meaning |
|---|---|---|
d |
signal | Direct-axis component input |
q |
signal | Quadrature-axis component input |
theta |
signal | Frame angle in radians, electrical |
alpha |
signal | Component along the axis of phase a |
beta |
signal | Component 90 degrees ahead of alpha |
Model
The outputs are alpha = dcos(theta) - qsin(theta) and beta = dsin(theta) + qcos(theta). At the same theta it is the exact inverse of Park Transform. The angle is in radians and can be any value.
Common mistakes
- Use the same theta signal as the forward Park Transform or abc to dq Transform in the loop. Otherwise the two transforms turn to different frames and the controller sees a rotating error, and a sampled angle on one side with a continuous angle on the other does the same.
- An open theta reads 0 and the vector stays fixed. This transform does not limit, so limit vd and vq with lo and hi of the PI Controller blocks in front of it.
Problems rules: pin.unconnected
Datasheet and sources
No datasheet applies. The d and q inputs are voltage or current commands from your controllers, and theta is the same electrical angle the forward transform uses.
Example
Open the example with the command file.openExample and the name demo:invPark.
Generated by cargo xtask reference from the usage texts and parameter specs. Do not edit by hand.