Main Content

C2000 Inverse Park Transformation

Convert rotating reference frame vectors to two-phase stationary reference frame

Library

Embedded Coder®Support Package for Texas Instruments™ C2000™ Processors/ Optimization/ C28x DMC

Embedded Coder Support Package for Texas Instruments C2000 F28M3x Concerto™ ProcessorsProcessors/ Optimization/ C28x DMC

  • C2000 Inverse Park Transformation block

Description

This block converts vectors in an orthogonal rotating reference frame to a two-phase orthogonal stationary reference frame. The transformation implements these equations:

I d = I D * cos θ I Q * sin θ I q = I D * sin θ + I Q * cos θ

and is illustrated in the following figure.

The inputs to this block are the direct axis (Ds) and quadrature axis (Qs) components of the transformed signal in the rotating frame and the phase angle (Angle) between the stationary and rotating frames.

The outputs are the direct axis (Alpha) and the quadrature axis (Beta) components of the transformed signal.

The variables used in the preceding figure and equations correspond to the block variables as shown in the following table:

Equation Variables Block Variables
Inputs ID Ds
IQ Qs
θ Angle
Outputs id Alpha
iq Beta

Note

  • To generate optimized code from this block, enable theTI C28xorTI C28x (ISO)Code Replacement Library.

  • The implementation of this block does not call the corresponding Texas Instruments library function during code generation. The TI function uses a global Q setting and the MathWorks®code used by this block dynamically adjusts the Q format based on the block input. SeeUsing the IQmath Libraryfor more information.

References

For detailed information on the DMC library, seeC/F 28xx Digital Motor Control Library, Literature Number SPRC080, available at the Texas Instruments Web site.