3.3.18.19 tmcFlx_MTPA_s

C

/* Structure defining MTPA module state: Floating point version */
typedef struct
{
    bool enable;                       /* Flag to enable or disable the MTPA operation */
    bool initDone;                     /* Flag indicating MTPA module initialization status */  
    tUTIL_2DPlot_s LdLqDiffPlot        /* Structure for holding the 2D plot data of the difference between Ld and Lq values */  
    float32_t psi;                     /* Flux linkage constant */
    float32_t ldMinusLq;               /* Difference between the d-axis inductance (Ld) and q-axis inductance (Lq) */ 
    float32_t idref;                   /* Reference d-axis current for MTPA operation */
}tmcFlx_MTPA_s;


/* Structure defining MTPA module state: Fixed point version */
typedef struct
{
    bool enable;                      /* Flag to enable or disable the MTPA operation */
    bool initDone;                    /* Flag indicating MTPA module initialization status */
    int32_t K1;                       /* MTPA calculation intermediate parameter */
    int32_t K2;                       /* MTPA calculation intermediate parameter */
    int16_t mtpaIdRef;                /* Reference id current */
} tmcFlx_MTPA_s;
 

Summary

Structure defining MTPA module state.

Description

This structure holds the parameters for MTPA control module.

Remarks

Refer the generated header file for the exact typedef signature.