3.3.18.17 tmcFlx_State_s Draft

C

typedef struct
{
    bool enable;                           /* Flag indicating flux control module enable status */
    bool initDone;                         /* Flag indicating flux control module initialization status */ 
 <#if ( MCPMSMFOC_ENABLE_FW == true ) >
   tmcFlx_FluxWeakening_s bFluxWeakening;  /* Flux weakening module parameter structure */ 
 </#if>
 <#if ( MCPMSMFOC_ENABLE_MTPA == true ) >
  tmcFlx_MTPA_s bMTPA;                     /* MTPA module parameter structure */
 </#if>
    tmcUtils_PiControl_s bPIController;    /* PI control parameter structure */  
}tmcFlx_State_s;
 

Summary

Flux control module parameter Structure

Description

This structure holds the state and parameters for the flux control module. It includes control flags, MTPA & Flux weakening module parameters and parameters for PI control.

Remarks

None.