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.

Table 6-47. GFLIB_CONTROLLER_PIAW_P_T_F16 members description<br />

(continued)<br />

Type Name Description<br />

tFrac32 f32IntegPartK_1 State variable integral part at step k-1.<br />

tFrac16 f16InK_1 State variable input error at step k-1.<br />

tU16 u16LimitFlag Limitation flag, if set to 1, the controller output<br />

has reached either the UpperLimit or<br />

LowerLimit.<br />

6.47 GFLIB_CONTROLLER_PIAW_P_T_F32<br />

#include <br />

6.47.1 Description<br />

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

6.47.2 Compound Type Members<br />

Table 6-48. GFLIB_CONTROLLER_PIAW_P_T_F32 members<br />

description<br />

Chapter 6 Compound Data Types<br />

Type Name Description<br />

tFrac32 f32PropGain Proportional Gain, fractional <strong>for</strong>mat<br />

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

tFrac32 f32IntegGain Integral Gain, fractional <strong>for</strong>mat normalized to<br />

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

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

31].<br />

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

tFrac32 f32LowerLimit Lower Limit of the controller, fractional <strong>for</strong>mat<br />

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

tFrac32 f32UpperLimit Upper Limit of the controller, fractional <strong>for</strong>mat<br />

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

tFrac32 f32IntegPartK_1 State variable integral part at step k-1.<br />

tFrac32 f32InK_1 State variable input error at step k-1.<br />

tU16 u16LimitFlag Limitation flag, if set to 1, the controller output<br />

has reached either the UpperLimit or<br />

LowerLimit.<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. 717

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

Saved successfully!

Ooh no, something went wrong!