03.08.2013 Views

Embedded Software and Motor Control Libraries for PXR40xx

Embedded Software and Motor Control Libraries for PXR40xx

Embedded Software and Motor Control Libraries for PXR40xx

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

4.106 Function GMCLIB_Park_F32<br />

This function implements the calculation of Park trans<strong>for</strong>mation.<br />

4.106.1 Declaration<br />

void GMCLIB_Park_F32(SWLIBS_2Syst_F32 *pOut, const SWLIBS_2Syst_F32 *const pInAngle, const<br />

SWLIBS_2Syst_F32 *const pIn);<br />

4.106.2 Arguments<br />

Table 4-131. GMCLIB_Park_F32 arguments<br />

Type Name Direction Description<br />

SWLIBS_2Syst_F32 * pOut input,<br />

output<br />

const<br />

SWLIBS_2Syst_F32<br />

*const<br />

const<br />

SWLIBS_2Syst_F32<br />

*const<br />

4.106.3 Return<br />

void<br />

4.106.4 Description<br />

Pointer to the structure containing data of the two-phase<br />

rotational orthogonal system (d-q).<br />

pInAngle input Pointer to the structure where the values of the sine <strong>and</strong><br />

cosine of the rotor position are stored.<br />

pIn input Pointer to the structure containing data of the two-phase<br />

stationary orthogonal system ( α- β).<br />

The GMCLIB_Park_F32 function calculates the Park Trans<strong>for</strong>mation, which trans<strong>for</strong>ms<br />

values (flux, voltage, current) from the two-phase ( α- β) stationary orthogonal<br />

coordinate system to the two-phase (d-q) rotational orthogonal coordinate system,<br />

according to these equations:<br />

Equation GMCLIB_Park_Eq1<br />

<strong>Embedded</strong> <strong>Software</strong> <strong>and</strong> <strong>Motor</strong> <strong>Control</strong> <strong>Libraries</strong> <strong>for</strong> <strong>PXR40xx</strong>, Rev. 1.0<br />

Chapter 4 API References<br />

Freescale Semiconductor, Inc. 487

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!