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.

GFLIB_CONTROLLER_PIAW_P_T_F16<br />

6.45.2 Compound Type Members<br />

Table 6-46. GFLIB_CONTROLLER_PI_R_T_FLT members<br />

description<br />

Type Name Description<br />

tFloat fltCC1sc CC1 coefficient, single precision floating point<br />

<strong>for</strong>mat.<br />

tFloat fltCC2sc CC2 coefficient, single precision floating point<br />

<strong>for</strong>mat.<br />

tFloat fltAcc Internal controller accumulator, single<br />

precision floating point <strong>for</strong>mat.<br />

tFloat fltInErrK1 <strong>Control</strong>ler input from the previous calculation<br />

step, single precision floating point <strong>for</strong>mat.<br />

6.46 GFLIB_CONTROLLER_PIAW_P_T_F16<br />

#include <br />

6.46.1 Description<br />

Structure containing parameters <strong>and</strong> states of the parallel <strong>for</strong>m PI controller with antiwindup.<br />

6.46.2 Compound Type Members<br />

Table 6-47. GFLIB_CONTROLLER_PIAW_P_T_F16 members<br />

description<br />

Type Name Description<br />

tFrac16 f16PropGain Proportional Gain, fractional <strong>for</strong>mat<br />

normalized to fit into (-2 15 , 2 15 -1).<br />

tFrac16 f16IntegGain Integral Gain, fractional <strong>for</strong>mat normalized to<br />

fit into (-2 15 , 2 15 -1).<br />

tS16 s16PropGainShift Proportional Gain Shift, integer <strong>for</strong>mat [-15,<br />

15].<br />

tS16 s16IntegGainShift Integral Gain Shift, integer <strong>for</strong>mat [-15, 15].<br />

tFrac16 f16LowerLimit Lower Limit of the controller, fractional <strong>for</strong>mat<br />

normalized to fit into (-2 15 , 2 15 -1).<br />

tFrac16 f16UpperLimit Upper Limit of the controller, fractional <strong>for</strong>mat<br />

normalized to fit into (-2 15 , 2 15 -1).<br />

Table continues on the next page...<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 />

716 Freescale Semiconductor, Inc.

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

Saved successfully!

Ooh no, something went wrong!