![]() |
![]() |
MSPM0G3519SensoredFOCMotorControlLibrary
1.0
|
Closed Loop Working variables. More...
#include <closeLoop.h>
Closed Loop Working variables.
const int32_t* CLOSE_LOOP_T::pTargetVelocity |
const int32_t * CLOSE_LOOP_T::pFluxAngle |
Estimator Angle
Referenced by closeLoopRun().
const int32_t * CLOSE_LOOP_T::pVelocity |
Estimator Velocity
Referenced by closeLoopLowPriorityRun(), closeLoopRun(), focLowPriorityRun(), and getKickBackStatus().
const int32_t * CLOSE_LOOP_T::pSpeed |
Estimator Speed
Referenced by closeLoopLowPriorityRun(), and getAvsStatus().
const int32_t * CLOSE_LOOP_T::psourceCurrentFeedbackFilt |
DC bus Current
Referenced by focLowPriorityRun().
const MC_ABC_T* CLOSE_LOOP_T::pMabc |
Modulation Index
Referenced by closeLoopLowPriorityRun().
const MC_ABC_T * CLOSE_LOOP_T::pDabc |
Duty
Referenced by closeLoopRun().
const MC_ABC_T * CLOSE_LOOP_T::pIabc |
Current
Referenced by closeLoopRun().
COMMUTATION_STATE_TYPES CLOSE_LOOP_T::commutationState |
Closed Loop parameters for processing
Commutation state
Referenced by closeLoopInit(), closeLoopLowPriorityRun(), closeLoopRun(), focRun(), and getCloseLoopAlignedStatus().
SPEED_CHANGE_STATE_TYPES CLOSE_LOOP_T::speedChangeState |
Speed change state
Referenced by closeLoopLowPriorityRun().
int32_t CLOSE_LOOP_T::iRefMax |
Maximum Phase Current Peak Reference
Referenced by focLowPriorityRun(), and focRun().
int32_t CLOSE_LOOP_T::iqRefMax |
Maximum Q-axis current reference
Referenced by closeLoopLowPriorityRun(), closeLoopRun(), focLowPriorityRun(), and focRun().
int32_t CLOSE_LOOP_T::targetVelocityLimited |
Bounded Target Velocity
Referenced by closeLoopLowPriorityRun().
int32_t CLOSE_LOOP_T::targetSpeedLimited |
Bounded Target Speed
Referenced by closeLoopLowPriorityRun(), and getAvsStatus().
int32_t CLOSE_LOOP_T::velocityReference |
Slewed velocity reference
Referenced by closeLoopInit(), closeLoopLowPriorityRun(), focLowPriorityRun(), focRun(), and user_config_faults().
int32_t CLOSE_LOOP_T::speedReference |
Slewed speed reference
Referenced by closeLoopLowPriorityRun(), focLowPriorityRun(), and focRun().
int32_t CLOSE_LOOP_T::PowerReference |
Slewed Power Reference
Referenced by closeLoopInit(), focLowPriorityRun(), and user_config_faults().
int32_t CLOSE_LOOP_T::PowerFeedback |
Power Feedback
Referenced by closeLoopInit(), focLowPriorityRun(), and user_config_faults().
int32_t CLOSE_LOOP_T::maximumPower |
Maximum Power
Referenced by focLowPriorityRun(), and user_config_faults().
int32_t CLOSE_LOOP_T::accelSpeedRefSlewRate |
Acceleration slew rate
Referenced by closeLoopInit(), closeLoopLowPriorityRun(), and closeLoopRun().
int32_t CLOSE_LOOP_T::decelSpeedRefSlewRate |
Deceleration slew rate
Referenced by closeLoopInit(), closeLoopLowPriorityRun(), and closeLoopRun().
int32_t CLOSE_LOOP_T::slowAccelSpeedRefSlewRate |
Slow Acceleration slew rate: unaligned
Referenced by closeLoopInit(), closeLoopLowPriorityRun(), and updateCloseLoopConfigParam().
int32_t CLOSE_LOOP_T::slowDecelSpeedRefSlewRate |
Slow Deceleration slew rate: unaligned
Referenced by closeLoopInit(), closeLoopLowPriorityRun(), and updateCloseLoopConfigParam().
int32_t CLOSE_LOOP_T::fastAccelSpeedRefSlewRate |
Fast Acceleration slew rate: aligned
Referenced by closeLoopLowPriorityRun(), closeLoopRun(), and updateCloseLoopConfigParam().
int32_t CLOSE_LOOP_T::fastDecelSpeedRefSlewRate |
Fast Deceleration slew rate: aligned
Referenced by closeLoopLowPriorityRun(), closeLoopRun(), and updateCloseLoopConfigParam().
int32_t CLOSE_LOOP_T::velocityReferenceMax |
Upper limit on speed reference
Referenced by closeLoopLowPriorityRun().
int32_t CLOSE_LOOP_T::velocityReferenceMin |
Lower limit on speed reference
Referenced by closeLoopLowPriorityRun().
int32_t CLOSE_LOOP_T::angle |
Commutation angle
Referenced by closeLoopRun(), and focRun().
int32_t CLOSE_LOOP_T::angleOffset |
Angle difference between open loop angle and estimator angle
Referenced by closeLoopInit(), closeLoopRun(), and focRun().
int32_t CLOSE_LOOP_T::angleAlignStep |
Step size for angle alignment
Referenced by closeLoopRun(), and updateCloseLoopConfigParam().
int32_t CLOSE_LOOP_T::currentReferenceSqrMaxSet |
Maximum current reference squared set
Referenced by closeLoopInit(), focLowPriorityRun(), updateCloseLoopConfigParam(), and user_config_faults().
int32_t CLOSE_LOOP_T::currentReferenceSqrMax |
Maximum Current Reference Squared
Referenced by closeLoopInit(), closeLoopLowPriorityRun(), and focLowPriorityRun().
int32_t CLOSE_LOOP_T::transitionSpeed |
Speed for going back to open loop
Referenced by updateCloseLoopConfigParam().
int32_t CLOSE_LOOP_T::sourceCurrentFeedback |
Source current feedback calculated
Referenced by closeLoopInit(), closeLoopRun(), and focRun().
int32_t CLOSE_LOOP_T::modIndexSqr |
Modulation Index Squared
Referenced by closeLoopLowPriorityRun().
int32_t CLOSE_LOOP_T::modIndexSqrLimit |
Modulation Index Squared Limit for active brake
Referenced by updateCloseLoopConfigParam().
int32_t CLOSE_LOOP_T::torqRefScalingFactor |
Scaling for target reference in torque control mode
Referenced by focLowPriorityRun(), focRun(), and user_config_faults().
MC_DQ_T CLOSE_LOOP_T::idqRef |
DQ domain current reference
Referenced by closeLoopLowPriorityRun(), closeLoopRun(), focLowPriorityRun(), focRun(), and getAvsStatus().
ID_REF_T CLOSE_LOOP_T::idRefGen |
Id reference generator
Referenced by closeLoopInit(), closeLoopLowPriorityRun(), closeLoopRun(), updateMotorStopConfigParam(), and user_config_faults().
PI_T CLOSE_LOOP_T::piSpeed |
PI for speed loop
Referenced by closeLoopInit(), closeLoopRun(), focLowPriorityRun(), focRun(), updateCloseLoopConfigParam(), and user_config_faults().
CLOSE_LOOP_FLAGS_T CLOSE_LOOP_T::flags |
Flags
Referenced by closeLoopLowPriorityRun(), closeLoopRun(), focLowPriorityRun(), focRun(), getAvsStatus(), updateCloseLoopConfigParam(), and updateMotorStopConfigParam().
APP_CONTROL_TYPES CLOSE_LOOP_T::controlMode |
Control mode
Referenced by closeLoopLowPriorityRun(), closeLoopRun(), focLowPriorityRun(), focRun(), and user_config_faults().
MC_SINCOS_T CLOSE_LOOP_T::mdqForceSinCos |
Sin,Cos of Lead angle used in modulation index control mode
Referenced by focRun(), and user_config_faults().