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.96.2 Arguments<br />

Table 4-121. GMCLIB_Clark_FLT arguments<br />

Type Name Direction Description<br />

const<br />

SWLIBS_3Syst_FLT<br />

*const<br />

SWLIBS_2Syst_FLT<br />

*const<br />

4.96.3 Return<br />

Function returns no value.<br />

4.96.4 Description<br />

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

stationary system (fltA-fltB-fltC). Arguments of the structure<br />

contain single precision floating point values.<br />

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

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

structure contain single precision floating point values.<br />

The Clarke Trans<strong>for</strong>mation is used to trans<strong>for</strong>m values from the three-phase (A-B-C)<br />

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

the following equations:<br />

Equation GMCLIB_Clark_Eq1<br />

Equation GMCLIB_Clark_Eq2<br />

where it is assumed that the axis (axis of the first phase) <strong>and</strong> the axis α are in the same<br />

direction.<br />

Note<br />

The inputs <strong>and</strong> the outputs are in full range single precision<br />

floating point <strong>for</strong>mat.<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. 453

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

Saved successfully!

Ooh no, something went wrong!