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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

4.111 Function GMCLIB_ParkInv_FLT<br />

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

4.111.1 Declaration<br />

void GMCLIB_ParkInv_FLT(SWLIBS_2Syst_FLT *const pOut, const SWLIBS_2Syst_FLT *const pInAngle,<br />

const SWLIBS_2Syst_FLT *const pIn);<br />

4.111.2 Arguments<br />

Table 4-136. GMCLIB_ParkInv_FLT arguments<br />

Type Name Direction Description<br />

SWLIBS_2Syst_FLT<br />

*const<br />

const<br />

SWLIBS_2Syst_FLT<br />

*const<br />

const<br />

SWLIBS_2Syst_FLT<br />

*const<br />

4.111.3 Return<br />

void<br />

4.111.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_FLT 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. 497

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

Saved successfully!

Ooh no, something went wrong!