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.109 Function GMCLIB_ParkInv_F32<br />

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

4.109.1 Declaration<br />

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

const SWLIBS_2Syst_F32 *const pIn);<br />

4.109.2 Arguments<br />

Table 4-134. GMCLIB_ParkInv_F32 arguments<br />

Type Name Direction Description<br />

SWLIBS_2Syst_F32<br />

*const<br />

const<br />

SWLIBS_2Syst_F32<br />

*const<br />

const<br />

SWLIBS_2Syst_F32<br />

*const<br />

4.109.3 Return<br />

void<br />

4.109.4 Description<br />

pOut input,<br />

output<br />

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

stationary orthogonal system ( α- β).<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 />

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

The GMCLIB_ParkInv_F32 function calculates the Inverse Park Trans<strong>for</strong>mation, which<br />

trans<strong>for</strong>ms quantities (flux, voltage, current) from the two-phase (d-q) rotational<br />

orthogonal coordinate system to the two-phase ( α- β) stationary orthogonal coordinate<br />

system, according to these equations:<br />

Equation GMCLIB_ParkInv_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. 493

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

Saved successfully!

Ooh no, something went wrong!