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

Table 4-119. GMCLIB_Clark_F32 arguments<br />

Type Name Direction Description<br />

const<br />

SWLIBS_3Syst_F32<br />

*const<br />

SWLIBS_2Syst_F32<br />

*const<br />

4.94.3 Return<br />

Function returns no value.<br />

4.94.4 Description<br />

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

stationary system (f32A-f32B-f32C). Arguments of the<br />

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

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

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

structure contain fixed point 32-bit 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 f32A (axis of the first phase) <strong>and</strong> the axis α are in the<br />

same direction.<br />

Note<br />

The inputs <strong>and</strong> the outputs are normalized to fit in the range [-1,<br />

1).<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. 449

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

Saved successfully!

Ooh no, something went wrong!