ABC to DQ Transform VI
- Updated2023-02-21
- 3 minute(s) read
ABC to DQ Transform VI
Owning Palette: Transforms VIs
Requires: Electric Motor Simulation Toolkit
Transforms the three-phase current or voltage to direct and quad currents or voltages.
The three-phase current or voltage is the AC current or voltage of a three-phase circuit, while the d, q currents or voltages are the direct and quad current or voltage in the flux, torque (d, q) rotating reference frame.
![]() |
a specifies the a current or voltage, in amperes or volts, of the three-phase current or voltage. |
![]() |
b specifies the b current or voltage, in amperes or volts, of the three-phase current or voltage. |
![]() |
rotor position specifies the mechanical rotor position, in degrees, of the electric motor. |
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. |
![]() |
d returns the direct current or voltage, in amperes or volts, from the Clarke and Park transform. |
![]() |
q returns the quad current or voltage, in amperes or volts, from the Clarke and Park transform. |
![]() |
error out contains error information. This output provides standard error out functionality. |
ABC to DQ Transform Details
The equations for transforming current and voltage are similar. This section takes the current equations for an example.
This VI assumes that Ia+Ib+Ic=0, where Ia is the value of the a current, Ib is the value of the b current, and Ic is the value of the c current of the three-phase current.
The following equations convert three-phase current to direct and quad current:


where | Id is the d or direct current |
Iq is the q or quad current | |
θ is the mechanical rotor position in radians |
The values of Id and Iq are also derived from the following equations:


where

