αβ to DQ

Description of the αβ to DQ component in Schematic Editor, which performs an αβ to DQ transformation.

Description

This component performs the αβ to dq transformation, also known as Park's transformation. This transformation rotates the two stationaries axes αβ synchronously with a reference frequency. The reference frequency is passed through the phase input ωt. The rotating frame alignment has two modes:

• 0 - The rotating frame is aligned with the α axis. When the αβ signals come from a balanced three-phase signal with unitary positive-sequence magnitude the outputs of this mode are d = 0 and q = -1.
• -pi/2 - The rotating frame alignment is behind the α axis in 90°. When the αβ signals come from a balanced three-phase signal with unitary positive-sequence magnitude the outputs of this mode are d = 1 and q = 0. This is the default option used in Typhoon's components.

Alpha-beta to dq 0 alignment transformation matrix:

Alpha-beta to dq -pi/2 alignment transformation matrix:

The matrix computation is implemented with and optimized code by computing the sine and cossine only once as follows:

Where for 0 alignment and ;

and for -pi/2 alignment and .

Ports

• α (in)
• Input signal of the component related to the alpha signal of the alpha-beta sequence frame.
• Supported types: real, int, uint.
• Vector support: no.
• β (in)
• Input signal of the component related to the beta signal of the alpha-beta sequence frame.
• Supported types: real, int, uint.
• Vector support: no.
• ωt (in)
• Angular position of the dq rotating frame.
• Supported types: real, int, uint.
• Vector support: no.
• d (out)
• Output signal of the component related to the direct component of the αβ input.
• Supported types: real.
• Vector support: no.
• q (out)
• Output signal of the component related to the quadrature component of the αβ input.
• Supported types: real.
• Vector support: no.

Properties

• Rotating frame alignment
• This parameter defines the alignment of the dq signals (-π/2 = “q”, 0 = “d”).
• Execution rate
• Type in the desired signal processing execution rate. This value must be compatible with other signal processing components of the same circuit: the value must be a multiple of the fastest execution rate in the circuit. There can be up to four different execution rates, but they must all be multiple of the basic simulation timestep. To specify the execution rate, you can use either decimal (e.g. 0.001) or exponential values (e.g. 1e-3) in seconds. Alternatively, you can type in ‘inherit’ in which case the component will be assigned execution rate based on the execution rate of the components it is receiving input from.