
The available versions of the
following table:
Table 2-5. Function versions
Function name
Input/output type
Result type
GMCLIB_DecouplingPMSM_F16
Input
void
Parameters
*
Output
The PMSM decoupling with a 16-bit fractional d-q voltage, current inputs, and a 16-
bit fractional electrical speed input. The parameters are 32-bit accumulator types.
The output is a 16-bit fractional decoupled d-q voltage. The inputs and the output are
within the range <-1 ; 1).
2.5.2 GMCLIB_DECOUPLINGPMSM_T_A32 type description
Variable name
Input type
Description
a32KdGain
Direct axis decoupling parameter. The parameter is within the range <0 ; 65536.0)
a32KqGain
Quadrature axis decoupling parameter. The parameter is within the range <0 ;
65536.0)
2.5.3 Declaration
The available
functions have the following declarations:
void GMCLIB_DecouplingPMSM_F16(const
*psIDQ,
*psParam,
*psUDQDec)
2.5.4 Function use
The use of the
function is shown in the following example:
#include "gmclib.h"
static
static
static
static
sDecouplingParam;
static
GMCLIB_DecouplingPMSM
GMCLIB User's Guide, Rev. 2, 10/2015
26
Freescale Semiconductor, Inc.
Summary of Contents for DSP56800E
Page 1: ...GMCLIB User s Guide DSP56800E Document Number DSP56800EGMCLIBUG Rev 2 10 2015 ...
Page 2: ...GMCLIB User s Guide Rev 2 10 2015 2 Freescale Semiconductor Inc ...
Page 4: ...GMCLIB User s Guide Rev 2 10 2015 4 Freescale Semiconductor Inc ...
Page 64: ...GMCLIB_SvmU7n GMCLIB User s Guide Rev 2 10 2015 64 Freescale Semiconductor Inc ...
Page 78: ...GMCLIB User s Guide Rev 2 10 2015 78 Freescale Semiconductor Inc ...