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.112 Function GMCLIB_SvmStd_F32<br />

This function calculates the duty-cycle ratios using the St<strong>and</strong>ard Space Vector<br />

Modulation technique.<br />

4.112.1 Declaration<br />

tU32 GMCLIB_SvmStd_F32(SWLIBS_3Syst_F32 *pOut, const SWLIBS_2Syst_F32 *const pIn);<br />

4.112.2 Arguments<br />

Table 4-137. GMCLIB_SvmStd_F32 arguments<br />

Type Name Direction Description<br />

SWLIBS_3Syst_F32 * pOut input,<br />

output<br />

const<br />

SWLIBS_2Syst_F32<br />

*const<br />

4.112.3 Return<br />

Pointer to the structure containing calculated duty-cycle ratios<br />

of the 3-Phase system.<br />

pIn input Pointer to the structure containing direct U α <strong>and</strong> quadrature U<br />

β components of the stator voltage vector.<br />

The function returns a 32-bit value in <strong>for</strong>mat INT, representing the actual space sector<br />

which contains the stator reference vector U s.<br />

4.112.4 Description<br />

Chapter 4 API References<br />

The GMCLIB_SvmStd_F32 function <strong>for</strong> calculating duty-cycle ratios is widely-used in<br />

the modern electric drive. This, function calculates appropriate duty-cycle ratios, which<br />

are needed <strong>for</strong> generating the given stator reference voltage vector using a special Space<br />

Vector Modulation technique, termed St<strong>and</strong>ard Space Vector Modulation. The basic<br />

principle of the St<strong>and</strong>ard Space Vector Modulation Technique can be explained with the<br />

help of the power stage diagram in Figure 4-49.<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 />

Freescale Semiconductor, Inc. 499

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

Saved successfully!

Ooh no, something went wrong!