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... | |
Defines the MTPA object.
MATH_Vec2 _MTPA_Obj_::Idq_ref_A |
the d/q-axis current reference
Referenced by MTPA_computeCurrentReference(), MTPA_getId_ref_A(), MTPA_getIq_ref_A(), MTPA_setId_ref_A(), and MTPA_setIq_ref_A().
float32_t _MTPA_Obj_::angleCurrent_rad |
the vector stator current reference
Referenced by MTPA_computeCurrentAngle(), MTPA_getCurrentAngle_rad(), MTPA_getCurrentAnglePhase_rad_addr(), and MTPA_setCurrentAngle_rad().
float32_t _MTPA_Obj_::Is_ref_A |
the vector stator current reference
Referenced by MTPA_computeCurrentAngle(), MTPA_computeCurrentReference(), MTPA_getIs_ref_A(), MTPA_getIs_ref_A_addr(), and MTPA_setIs_ref_A().
float32_t _MTPA_Obj_::kconst |
the K constant for mtpa
Referenced by MTPA_computeCurrentAngle(), MTPA_computeCurrentReference(), and MTPA_getKconst().
float32_t _MTPA_Obj_::gconst |
the G constant for mtpa
Referenced by MTPA_computeCurrentAngle().
float32_t _MTPA_Obj_::deltaIs_Ld_A |
the Is detla for Ls lookup table
Referenced by MTPA_updateLs_d_withLUT().
float32_t _MTPA_Obj_::deltaIs_Lq_A |
the Is detla for Ls lookup table
Referenced by MTPA_updateLs_q_withLUT().
uint16_t _MTPA_Obj_::indexMax_Ld |
the Is detla for Ld lookup table
Referenced by MTPA_updateLs_d_withLUT().
uint16_t _MTPA_Obj_::indexMax_Lq |
the Is detla for Lq lookup table
Referenced by MTPA_updateLs_q_withLUT().
bool _MTPA_Obj_::flagEnable |
a flag to enable the controller
Referenced by MTPA_disable(), MTPA_enable(), MTPA_getFlagEnable(), and MTPA_setFlagEnable().