Main Content

C2000 Park Transformation

Convert two-phase stationary system vectors to rotating system vectors

Description

Replace the existing DMC blocks with MCB blocks for improved usability and future compatibility. It is recommended that you use blocks from Control Algorithm Design (Motor Control Blockset). While these blocks are not one-to-one replacements, they enable you to achieve the same functionality.

C28x DMC libC28x DMC lib equivalent in MCB
C2000 Clarke TransformationClarke Transform (Motor Control Blockset)
C2000 Inverse Park TransformationInverse Park Transform (Motor Control Blockset)
C2000 Park TransformationPark Transform (Motor Control Blockset)
C2000 PID ControllerPI Controller (Motor Control Blockset)
C2000 Ramp ControlPosition Generator (Motor Control Blockset)
C2000 Ramp GeneratorPosition Generator (Motor Control Blockset)
C2000 Space Vector GeneratorPWM Reference Generator (Motor Control Blockset)
C2000 Speed MeasurementSpeed Measurement (Motor Control Blockset)

This block converts vectors in balanced two-phase orthogonal stationary systems into an orthogonal rotating reference frame. The transformation implements these equations

and is illustrated in the following figure.

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

 Equation VariablesBlock Variables
InputsidAlpha
 iqBeta
 θAngle
OutputsIDDs
 IQQs

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

The outputs are the direct axis (Ds) and quadrature axis (Qs) components of the transformed signal in the rotating frame.

The instantaneous inputs are defined by the following equations:

Note

  • To generate optimized code from this block, enable the TI C28x or TI 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. See Using the IQmath Library for more information.

  • C2000 Park Transformation block

References

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