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.108 Function GMCLIB_Park_FLT<br />

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

4.108.1 Declaration<br />

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

SWLIBS_2Syst_FLT *const pIn);<br />

4.108.2 Arguments<br />

Table 4-133. GMCLIB_Park_FLT arguments<br />

Type Name Direction Description<br />

SWLIBS_2Syst_FLT * pOut input,<br />

output<br />

const<br />

SWLIBS_2Syst_FLT<br />

*const<br />

const<br />

SWLIBS_2Syst_FLT<br />

*const<br />

4.108.3 Return<br />

void<br />

4.108.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_FLT 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. 491

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

Saved successfully!

Ooh no, something went wrong!