Defines the DC_Link Single-Shunt Object. More...
#include <dclink_ss.h>
Data Fields | |
uint16_t | minAvDuration |
the minimum active voltage duration More... | |
uint16_t | sampleDelay |
the sampling delay time(pwm tick) More... | |
uint16_t | sampleHoldTime |
the sampling hold time(pwm tick) More... | |
uint16_t | sector |
the sector value of present PWM cycle More... | |
uint16_t | sector_1 |
the sector value of last PWM cycle More... | |
uint16_t | pwmPeriod |
PWM period value in PRD register. More... | |
float32_t | SSTOffThrVs_pu |
the Vs threshold value(PU) for sequence control off More... | |
uint16_t | flag_SST |
uint16_t | flag_SST_1 |
the sector toggle flag for sequence control (one cycle delay) More... | |
uint16_t | vecArea |
uint16_t | vecArea_1 |
the vector area (one cycle delay) More... | |
bool | flagEnableFullSample |
the enable flag for full sampling More... | |
bool | flagEnableSequenceControl |
the enable flag for sequence control More... | |
bool | flagRunInHighModulation |
the flag for checking if motor is running in high modulation More... | |
MATH_vec3 | I_A |
the reconstructed three-phase current More... | |
Defines the DC_Link Single-Shunt Object.
uint16_t _DCLINK_SS_Obj_::minAvDuration |
the minimum active voltage duration
Referenced by DCLINK_SS_runFastPWMCompensation(), DCLINK_SS_runPWMCompensation(), and DCLINK_SS_setMinAVDuration().
uint16_t _DCLINK_SS_Obj_::sampleDelay |
the sampling delay time(pwm tick)
Referenced by DCLINK_SS_runFastPWMCompensation(), DCLINK_SS_runPWMCompensation(), and DCLINK_SS_setSampleDelay().
uint16_t _DCLINK_SS_Obj_::sampleHoldTime |
the sampling hold time(pwm tick)
Referenced by DCLINK_SS_setSampleHoldTime().
uint16_t _DCLINK_SS_Obj_::sector |
the sector value of present PWM cycle
Referenced by DCLINK_SS_getSector(), DCLINK_SS_runFastPWMCompensation(), and DCLINK_SS_runPWMCompensation().
uint16_t _DCLINK_SS_Obj_::sector_1 |
the sector value of last PWM cycle
Referenced by DCLINK_SS_getSector1(), DCLINK_SS_runCurrentReconstruction(), DCLINK_SS_runFastCurrentReconstruction(), DCLINK_SS_runFastPWMCompensation(), and DCLINK_SS_runPWMCompensation().
uint16_t _DCLINK_SS_Obj_::pwmPeriod |
PWM period value in PRD register.
Referenced by DCLINK_SS_runFastPWMCompensation(), and DCLINK_SS_runPWMCompensation().
float32_t _DCLINK_SS_Obj_::SSTOffThrVs_pu |
the Vs threshold value(PU) for sequence control off
Referenced by DCLINK_SS_runPWMCompensation().
uint16_t _DCLINK_SS_Obj_::flag_SST |
the sector toggle flag for sequence control 0: formal half=compensation vector, latter half=measurement vector 1: formal half=measurement vector, latter half=compensation vector
Referenced by DCLINK_SS_runPWMCompensation().
uint16_t _DCLINK_SS_Obj_::flag_SST_1 |
the sector toggle flag for sequence control (one cycle delay)
Referenced by DCLINK_SS_runCurrentReconstruction(), and DCLINK_SS_runPWMCompensation().
uint16_t _DCLINK_SS_Obj_::vecArea |
the output vector area 0: the area all currents are measurable, 1: Bar area that only one current is measurable 2: Star area that all currents are unmeasurable (low modulation area)
Referenced by DCLINK_SS_runFastPWMCompensation(), and DCLINK_SS_runPWMCompensation().
uint16_t _DCLINK_SS_Obj_::vecArea_1 |
the vector area (one cycle delay)
Referenced by DCLINK_SS_runCurrentReconstruction(), and DCLINK_SS_runPWMCompensation().
bool _DCLINK_SS_Obj_::flagEnableFullSample |
the enable flag for full sampling
Referenced by DCLINK_SS_runCurrentReconstruction(), and DCLINK_SS_setFlag_enableFullSampling().
bool _DCLINK_SS_Obj_::flagEnableSequenceControl |
the enable flag for sequence control
Referenced by DCLINK_SS_runPWMCompensation(), and DCLINK_SS_setFlag_enableSequenceControl().
bool _DCLINK_SS_Obj_::flagRunInHighModulation |
the flag for checking if motor is running in high modulation
Referenced by DCLINK_SS_runPWMCompensation().
MATH_vec3 _DCLINK_SS_Obj_::I_A |
the reconstructed three-phase current
Referenced by DCLINK_SS_getIa(), DCLINK_SS_getIb(), DCLINK_SS_getIc(), DCLINK_SS_runCurrentReconstruction(), and DCLINK_SS_runFastCurrentReconstruction().