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.98.1 Declaration<br />

void GMCLIB_ClarkInv_F16(SWLIBS_3Syst_F16 *const pOut, const SWLIBS_2Syst_F16 *const pIn);<br />

4.98.2 Arguments<br />

Table 4-123. GMCLIB_ClarkInv_F16 arguments<br />

Type Name Direction Description<br />

const<br />

SWLIBS_2Syst_F16<br />

*const<br />

SWLIBS_3Syst_F16<br />

*const<br />

4.98.3 Return<br />

Function returns no value.<br />

4.98.4 Description<br />

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

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

structure contain fixed point 16-bit values.<br />

pOut output Pointer to the structure containing data of the three-phase<br />

stationary system (f16A-f16B-f16C). Arguments of the<br />

structure contain fixed point 16-bit values.<br />

The GMCLIB_ClarkInv function calculates the Inverse Clarke trans<strong>for</strong>mation, which is<br />

used to trans<strong>for</strong>m values from the two-phase ( α- β) orthogonal coordinate system to the<br />

three-phase (f16A-f16B-f16C) coordinate system, according to these equations:<br />

Equation GMCLIB_ClarkInv_Eq1<br />

Equation GMCLIB_ClarkInv_Eq2<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. 457

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

Saved successfully!

Ooh no, something went wrong!