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_R_T_FLT<br />

6.50.2 Compound Type Members<br />

Table 6-51. GFLIB_CONTROLLER_PIAW_R_T_F32 members<br />

description<br />

Type Name Description<br />

tFrac32 f32CC1sc CC1 coefficient, fractional <strong>for</strong>mat normalized<br />

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

tFrac32 f32CC2sc CC2 coefficient, fractional <strong>for</strong>mat normalized<br />

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

tFrac32 f32Acc Internal controller accumulator.<br />

tFrac32 f32InErrK1 <strong>Control</strong>ler input from the previous calculation<br />

step.<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 f32LowerLimit Lower Limit of the controller, fractional <strong>for</strong>mat<br />

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

tU16 u16NShift Scaling factor <strong>for</strong> the controller coefficients,<br />

integer <strong>for</strong>mat [0, 31].<br />

6.51 GFLIB_CONTROLLER_PIAW_R_T_FLT<br />

#include <br />

6.51.1 Description<br />

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

6.51.2 Compound Type Members<br />

Table 6-52. GFLIB_CONTROLLER_PIAW_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 />

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

720 Freescale Semiconductor, Inc.

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

Saved successfully!

Ooh no, something went wrong!