MasterFOC 0.0.1
|
Motor parameter structure. More...
#include <control.h>
Data Fields | |
ADC_HandleTypeDef | hMotorADC |
TIM_HandleTypeDef | hTimDriver |
TIM_HandleTypeDef | hTimEncoder |
I2C_HandleTypeDef | hI2CEncoder |
ControlMode | Mode |
UserAPP | APP |
Coordinates | Voltage |
Coordinates | Current |
PID_para | idPID |
PID_para | iqPID |
PID_para | speedPID |
PID_para | anglePID |
uint8_t | nCalibrationFlag |
uint8_t | Vdc |
uint8_t | nPhase |
uint8_t | nPolePairs |
int16_t | SpeedCNT |
uint16_t | M_angle |
uint16_t | M_angle_pre |
int16_t | E_angle |
int16_t | E_angle_pre |
uint16_t | Angle_offset |
float | speed |
float | speed_pre |
float | CurrentLimit |
float | VoltageLimit |
float | SpeedLimit |
int32_t | lapCNT |
int32_t | lapCNT_pre |
uint8_t | sector |
float | Uref1 |
float | Uref2 |
float | Uref3 |
float | X |
float | Y |
float | Z |
float | T1 |
float | T2 |
float | Tx |
float | Ty |
float | Tz |
float | Ta |
float | Tb |
float | Tc |
uint16_t | ADC_DMA_RAW [3] |
uint16_t | DC_offset [2] |
int16_t | ADC_Filtered [3] |
int16_t | Current_lastValue [5] |
Motor parameter structure.
pid parameters and target, error, previous error, and sum of error
int16_t ADC_Filtered[3] |
uint16_t Angle_offset |
Coordinates Current |
int16_t Current_lastValue[5] |
uint16_t DC_offset[2] |
I2C_HandleTypeDef hI2CEncoder |
TIM_HandleTypeDef hTimDriver |
TIM_HandleTypeDef hTimEncoder |
int32_t lapCNT_pre |
ControlMode Mode |
uint8_t nCalibrationFlag |
int16_t SpeedCNT |
float SpeedLimit |
float Tc |
float Tz |
Coordinates Voltage |
float Z |