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

Table 4-120. GMCLIB_Clark_F16 arguments<br />

Type Name Direction Description<br />

const<br />

SWLIBS_3Syst_F16<br />

*const<br />

SWLIBS_2Syst_F16<br />

*const<br />

4.95.3 Return<br />

Function returns no value.<br />

4.95.4 Description<br />

pIn input 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 />

pOut output 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 />

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 f16A (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. 451

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

Saved successfully!

Ooh no, something went wrong!