03.08.2013 Views

Embedded Software and Motor Control Libraries for PXS20xx

Embedded Software and Motor Control Libraries for PXS20xx

Embedded Software and Motor Control Libraries for PXS20xx

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

8.242.1 Macro Definition<br />

#define GMCLIB_DecouplingPMSM macro_dispatcher(GMCLIB_DecouplingPMSM, __VA_ARGS__)<br />

(__VA_ARGS__)<br />

8.242.2 Description<br />

This function calculates the cross-coupling voltages to eliminate the dq axis coupling<br />

causing non-linearity of the field oriented control.<br />

8.243 Define GMCLIB_DECOUPLINGPMSM_T<br />

#include <br />

8.243.1 Macro Definition<br />

#define GMCLIB_DECOUPLINGPMSM_T GMCLIB_DECOUPLINGPMSM_T_FLT<br />

8.243.2 Description<br />

Definition of GMCLIB_DECOUPLINGPMSM_T as alias <strong>for</strong><br />

GMCLIB_DECOUPLINGPMSM_T_F32 datatype in case the 32-bit fractional<br />

implementation is selected.<br />

Definition of GMCLIB_DECOUPLINGPMSM_T as alias <strong>for</strong><br />

GMCLIB_DECOUPLINGPMSM_T_F16 datatype in case the 16-bit fractional<br />

implementation is selected.<br />

Definition of GMCLIB_DECOUPLINGPMSM_T as alias <strong>for</strong><br />

GMCLIB_DECOUPLINGPMSM_T_FLT datatype in case the single precision floating<br />

point implementation is selected.<br />

8.244 Define GMCLIB_DECOUPLINGPMSM_T<br />

#include <br />

<strong>Embedded</strong> <strong>Software</strong> <strong>and</strong> <strong>Motor</strong> <strong>Control</strong> <strong>Libraries</strong> <strong>for</strong> <strong>PXS20xx</strong>, Rev. 1.0<br />

Chapter 8 Macro References<br />

Freescale Semiconductor, Inc. 877

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

Saved successfully!

Ooh no, something went wrong!