Data Fields
_MTPA_Obj_ Struct Reference

Defines the MTPA object. More...

#include <mtpa.h>

Data Fields

MATH_Vec2 Idq_ref_A
 the d/q-axis current reference More...
 
float32_t angleCurrent_rad
 the vector stator current reference More...
 
float32_t Is_ref_A
 the vector stator current reference More...
 
float32_t kconst
 the K constant for mtpa More...
 
float32_t gconst
 the G constant for mtpa More...
 
float32_t deltaIs_Ld_A
 the Is detla for Ls lookup table More...
 
float32_t deltaIs_Lq_A
 the Is detla for Ls lookup table More...
 
uint16_t indexMax_Ld
 the Is detla for Ld lookup table More...
 
uint16_t indexMax_Lq
 the Is detla for Lq lookup table More...
 
bool flagEnable
 a flag to enable the controller More...
 

Detailed Description

Defines the MTPA object.

Field Documentation

◆ Idq_ref_A

MATH_Vec2 _MTPA_Obj_::Idq_ref_A

◆ angleCurrent_rad

float32_t _MTPA_Obj_::angleCurrent_rad

◆ Is_ref_A

float32_t _MTPA_Obj_::Is_ref_A

◆ kconst

float32_t _MTPA_Obj_::kconst

the K constant for mtpa

Referenced by MTPA_computeCurrentAngle(), MTPA_computeCurrentReference(), and MTPA_getKconst().

◆ gconst

float32_t _MTPA_Obj_::gconst

the G constant for mtpa

Referenced by MTPA_computeCurrentAngle().

◆ deltaIs_Ld_A

float32_t _MTPA_Obj_::deltaIs_Ld_A

the Is detla for Ls lookup table

Referenced by MTPA_updateLs_d_withLUT().

◆ deltaIs_Lq_A

float32_t _MTPA_Obj_::deltaIs_Lq_A

the Is detla for Ls lookup table

Referenced by MTPA_updateLs_q_withLUT().

◆ indexMax_Ld

uint16_t _MTPA_Obj_::indexMax_Ld

the Is detla for Ld lookup table

Referenced by MTPA_updateLs_d_withLUT().

◆ indexMax_Lq

uint16_t _MTPA_Obj_::indexMax_Lq

the Is detla for Lq lookup table

Referenced by MTPA_updateLs_q_withLUT().

◆ flagEnable

bool _MTPA_Obj_::flagEnable

a flag to enable the controller

Referenced by MTPA_disable(), MTPA_enable(), MTPA_getFlagEnable(), and MTPA_setFlagEnable().


The documentation for this struct was generated from the following file:

Copyright 2023, Texas Instruments Incorporated