MotorWare f2806x Module API Documentation
Data Structures | Typedefs | Enumerations
USERPARAMS

Data Structures

struct  _USER_Params_
 Defines a structure for the user parameters. More...
 

Typedefs

typedef struct _USER_Params_ USER_Params
 Defines a structure for the user parameters. More...
 
typedef struct _USER_Params_ USER_Params
 Defines a structure for the user parameters. More...
 
typedef struct _USER_Params_ USER_Params
 Defines a structure for the user parameters. More...
 

Enumerations

enum  USER_ErrorCode_e {
  USER_ErrorCode_NoError =0, USER_ErrorCode_iqFullScaleCurrent_A_High =1, USER_ErrorCode_iqFullScaleCurrent_A_Low =2, USER_ErrorCode_iqFullScaleVoltage_V_High =3,
  USER_ErrorCode_iqFullScaleVoltage_V_Low =4, USER_ErrorCode_iqFullScaleFreq_Hz_High =5, USER_ErrorCode_iqFullScaleFreq_Hz_Low =6, USER_ErrorCode_numPwmTicksPerIsrTick_High =7,
  USER_ErrorCode_numPwmTicksPerIsrTick_Low =8, USER_ErrorCode_numIsrTicksPerCtrlTick_High =9, USER_ErrorCode_numIsrTicksPerCtrlTick_Low =10, USER_ErrorCode_numCtrlTicksPerCurrentTick_High =11,
  USER_ErrorCode_numCtrlTicksPerCurrentTick_Low =12, USER_ErrorCode_numCtrlTicksPerEstTick_High =13, USER_ErrorCode_numCtrlTicksPerEstTick_Low =14, USER_ErrorCode_numCtrlTicksPerSpeedTick_High =15,
  USER_ErrorCode_numCtrlTicksPerSpeedTick_Low =16, USER_ErrorCode_numCtrlTicksPerTrajTick_High =17, USER_ErrorCode_numCtrlTicksPerTrajTick_Low =18, USER_ErrorCode_numCurrentSensors_High =19,
  USER_ErrorCode_numCurrentSensors_Low =20, USER_ErrorCode_numVoltageSensors_High =21, USER_ErrorCode_numVoltageSensors_Low =22, USER_ErrorCode_offsetPole_rps_High =23,
  USER_ErrorCode_offsetPole_rps_Low =24, USER_ErrorCode_fluxPole_rps_High =25, USER_ErrorCode_fluxPole_rps_Low =26, USER_ErrorCode_zeroSpeedLimit_High =27,
  USER_ErrorCode_zeroSpeedLimit_Low =28, USER_ErrorCode_forceAngleFreq_Hz_High =29, USER_ErrorCode_forceAngleFreq_Hz_Low =30, USER_ErrorCode_maxAccel_Hzps_High =31,
  USER_ErrorCode_maxAccel_Hzps_Low =32, USER_ErrorCode_maxAccel_est_Hzps_High =33, USER_ErrorCode_maxAccel_est_Hzps_Low =34, USER_ErrorCode_directionPole_rps_High =35,
  USER_ErrorCode_directionPole_rps_Low =36, USER_ErrorCode_speedPole_rps_High =37, USER_ErrorCode_speedPole_rps_Low =38, USER_ErrorCode_dcBusPole_rps_High =39,
  USER_ErrorCode_dcBusPole_rps_Low =40, USER_ErrorCode_fluxFraction_High =41, USER_ErrorCode_fluxFraction_Low =42, USER_ErrorCode_indEst_speedMaxFraction_High =43,
  USER_ErrorCode_indEst_speedMaxFraction_Low =44, USER_ErrorCode_powerWarpGain_High =45, USER_ErrorCode_powerWarpGain_Low =46, USER_ErrorCode_systemFreq_MHz_High =47,
  USER_ErrorCode_systemFreq_MHz_Low =48, USER_ErrorCode_pwmFreq_kHz_High =49, USER_ErrorCode_pwmFreq_kHz_Low =50, USER_ErrorCode_voltage_sf_High =51,
  USER_ErrorCode_voltage_sf_Low =52, USER_ErrorCode_current_sf_High =53, USER_ErrorCode_current_sf_Low =54, USER_ErrorCode_voltageFilterPole_Hz_High =55,
  USER_ErrorCode_voltageFilterPole_Hz_Low =56, USER_ErrorCode_maxVsMag_pu_High =57, USER_ErrorCode_maxVsMag_pu_Low =58, USER_ErrorCode_estKappa_High =59,
  USER_ErrorCode_estKappa_Low =60, USER_ErrorCode_motor_type_Unknown =61, USER_ErrorCode_motor_numPolePairs_High =62, USER_ErrorCode_motor_numPolePairs_Low =63,
  USER_ErrorCode_motor_ratedFlux_High =64, USER_ErrorCode_motor_ratedFlux_Low =65, USER_ErrorCode_motor_Rr_High =66, USER_ErrorCode_motor_Rr_Low =67,
  USER_ErrorCode_motor_Rs_High =68, USER_ErrorCode_motor_Rs_Low =69, USER_ErrorCode_motor_Ls_d_High =70, USER_ErrorCode_motor_Ls_d_Low =71,
  USER_ErrorCode_motor_Ls_q_High =72, USER_ErrorCode_motor_Ls_q_Low =73, USER_ErrorCode_maxCurrent_High =74, USER_ErrorCode_maxCurrent_Low =75,
  USER_ErrorCode_maxCurrent_resEst_High =76, USER_ErrorCode_maxCurrent_resEst_Low =77, USER_ErrorCode_maxCurrent_indEst_High =78, USER_ErrorCode_maxCurrent_indEst_Low =79,
  USER_ErrorCode_maxCurrentSlope_High =80, USER_ErrorCode_maxCurrentSlope_Low =81, USER_ErrorCode_maxCurrentSlope_powerWarp_High =82, USER_ErrorCode_maxCurrentSlope_powerWarp_Low =83,
  USER_ErrorCode_IdRated_High =84, USER_ErrorCode_IdRated_Low =85, USER_ErrorCode_IdRatedFraction_indEst_High =86, USER_ErrorCode_IdRatedFraction_indEst_Low =87,
  USER_ErrorCode_IdRatedFraction_ratedFlux_High =88, USER_ErrorCode_IdRatedFraction_ratedFlux_Low =89, USER_ErrorCode_IdRated_delta_High =90, USER_ErrorCode_IdRated_delta_Low =91,
  USER_ErrorCode_fluxEstFreq_Hz_High =92, USER_ErrorCode_fluxEstFreq_Hz_Low =93, USER_ErrorCode_ctrlFreq_Hz_High =94, USER_ErrorCode_ctrlFreq_Hz_Low =95,
  USER_ErrorCode_estFreq_Hz_High =96, USER_ErrorCode_estFreq_Hz_Low =97, USER_ErrorCode_RoverL_estFreq_Hz_High =98, USER_ErrorCode_RoverL_estFreq_Hz_Low =99,
  USER_ErrorCode_trajFreq_Hz_High =100, USER_ErrorCode_trajFreq_Hz_Low =101, USER_ErrorCode_ctrlPeriod_sec_High =102, USER_ErrorCode_ctrlPeriod_sec_Low =103,
  USER_ErrorCode_maxNegativeIdCurrent_a_High =104, USER_ErrorCode_maxNegativeIdCurrent_a_Low =105, USER_numErrorCodes =106
}
 Enumeration for the user error codes. More...
 

Detailed Description


Data Structure Documentation

struct _USER_Params_

Defines a structure for the user parameters.

Definition at line 193 of file fast/src/32b/userParams.h.

Data Fields
float_t angleDelayed_sf_sec Defines the scale factor for computing the angle considering system delay, sec.
float_t BWc_rps Defines the bandwidth of the current controllers, rad/sec.
float_t BWdelta Defines the bandwidth scaling to maximize phase margin.
int_least32_t calWaitTime[CAL_numStates] Defines the wait times for each calibrator state, isr ticks.
float_t ctrlFreq_Hz Defines the controller frequency, Hz.
uint_least32_t ctrlFreq_Hz Defines the controller frequency, Hz.
float_t ctrlPeriod_sec Defines the controller execution period, sec.
int_least32_t ctrlWaitTime[CTRL_numStates] Defines the wait times for each controller state, isr ticks.
uint_least32_t ctrlWaitTime[CTRL_numStates] Defines the wait times for each controller state, estimator ticks.
float_t current_sf Defines the current scale factor for the system.
float_t dcBus_nominal_V Defines the nominal DC bus voltage, V.
float_t dcBusPole_rps Defines the pole location for the DC bus filter, rad/s.

Defines the pole location for the DC bus filter, rad/sec.

float_t directionPole_rps Defines the pole location for the direction filter, rad/s.
float_t eplGain Defines the EPL (Efficient Partial Load) gain for computing Id reference.
USER_ErrorCode_e errorCode
float_t estFreq_Hz Defines the estimator frequency, Hz.
uint_least32_t estFreq_Hz Defines the estimator frequency, Hz.
float_t estKappa Defines the convergence factor for the estimator.
int_least32_t estWaitTime[EST_numStates] Defines the wait times for each estimator state, isr ticks.
uint_least32_t estWaitTime[EST_numStates] Defines the wait times for each estimator state, estimator ticks.
bool flag_bypassMotorId A flag to bypass motor identification and use the motor parameters.
float_t fluxEstFreq_Hz Defines the flux estimation frequency, Hz.
float_t fluxExcFreq_Hz Defines the flux excitation frequency, Hz.
float_t fluxFraction Defines the flux fraction for Id rated current estimation.
float_t fluxPole_rps Defines the pole location for the flux estimation, rad/s.
int_least32_t FluxWaitTime[EST_Flux_numStates] Defines the wait times for each Ls estimator state, estimator ticks.
uint_least32_t FluxWaitTime[EST_Flux_numStates] Defines the wait times for each Ls estimator, estimator ticks.
float_t forceAngleFreq_Hz Defines the force angle frequency, Hz.

Defines the forced angle frequency, Hz.

float_t IdRated Defines the Id rated current value, A.
float_t IdRated_A Defines the Id rated current value, A.
float_t IdRated_delta Defines the Id rated delta current value, A.
float_t IdRated_delta_A Defines the Id rated delta current value, A.
float_t IdRatedFraction_indEst Defines the fraction of Id rated current to use during inductance estimation.
float_t IdRatedFraction_ratedFlux Defines the fraction of Id rated current to use during rated flux estimation.
float_t indEst_speedMaxFraction Defines the fraction of SpeedMax to use during inductance estimation.
float_t iqFullScaleCurrent_A Defines the full scale current for the IQ variables, A.
float_t iqFullScaleFreq_Hz Defines the full scale frequency for IQ variable, Hz.
float_t iqFullScaleVoltage_V Defines the full scale voltage for the IQ variable, V.
float_t Kctrl_Wb_p_kgm2 Defines the speed controller constant, Wb/(kg*m^2)
float_t Kp_max_VpA Defines the maximum Kp value for the current controller, V/A.
float_t Kp_min_VpA Defines the minimum Kp value for the current controller, V/A.
float_t Ls_coarseDelta_H Defines the delta inductance value during the coarse stator inductance estimation, H.
float_t Ls_d_H Defines the default stator inductance in the direct direction, H.
float_t Ls_fineDelta_H Defines the delta inductance value during the fine stator inductance estimation, H.
float_t Ls_max_H Defines the maximum stator inductance value allowed, H.
float_t Ls_min_H Defines the minimum stator inductance value allowed, H.
float_t Ls_q_H Defines the default stator inductance in the quadrature direction, H.
int_least32_t LsWaitTime[EST_Ls_numStates] Defines the wait times for each Ls estimator state, estimator ticks.
uint_least32_t LsWaitTime[EST_Ls_numStates] Defines the wait times for each Ls estimator, estimator ticks.
float_t maxAccel_est_Hzps Defines the maximum acceleration for the estimation speed profiles, Hz/s.
float_t maxAccel_Hzps Defines the maximum acceleration for the speed profiles, Hz/s.

Defines the maximum acceleration for the speed profiles, Hz/sec.

float_t maxCurrent Defines the maximum current value, A.
float_t maxCurrent_A Defines the maximum current value, A.
float_t maxCurrent_indEst Defines the maximum current value for inductance estimation, A.
float_t maxCurrent_indEst_A Defines the maximum current value for inductance estimation, A.
float_t maxCurrent_resEst Defines the maximum current value for resistance estimation, A.
float_t maxCurrent_resEst_A Defines the maximum current value for resistance estimation, A.
float_t maxCurrentDelta_A Defines the maximum current delta for Id current trajectory.
float_t maxCurrentDelta_pw_A Defines the maximum current delta for Id current trajectory during power warp mode.
float_t maxCurrentSlope Defines the maximum current slope for Id current trajectory.
float_t maxCurrentSlope_epl Defines the maximum current slope for Id current trajectory during EPL mode.
float_t maxCurrentSlope_powerWarp Defines the maximum current slope for Id current trajectory during PowerWarp.
float_t maxDutyCycle Defines the maximum duty cycle.
float_t maxNegativeIdCurrent_a Defines the maximum negative current that the Id PID is allowed to go to, A.
float_t maxVsMag_pu Defines the maximum voltage magnitude, pu.
float_t maxVsMag_V Defines the maximum stator voltage magnitude, V.
float_t motor_Ls_d Defines the direct stator inductance, H.
float_t motor_Ls_d_H Defines the direct stator inductance, H.
float_t motor_Ls_q Defines the quadrature stator inductance, H.
float_t motor_Ls_q_H Defines the quadrature stator inductance, H.
uint_least16_t motor_numEncSlots Defines the number of encoder slots if quadrature encoder is connected.
uint_least16_t motor_numPolePairs Defines the number of pole pairs for the motor.
float_t motor_ratedFlux Defines the rated flux of the motor, V/Hz.
float_t motor_ratedFlux_Wb Defines the rated flux of the motor, Wb.
float_t motor_Rr Defines the rotor resistance, ohm.
float_t motor_Rr_d_Ohm Defines the direct rotor resistance, Ohm.
float_t motor_Rr_q_Ohm Defines the quadrature rotor resistance, Ohm.
float_t motor_Rs Defines the stator resistance, ohm.
float_t motor_Rs_a_Ohm Defines the alpha stator resistance, Ohm.
float_t motor_Rs_b_Ohm Defines the beta stator resistance, Ohm.
float_t motor_Rs_d_Ohm Defines the direct stator resistance, Ohm.
float_t motor_Rs_q_Ohm Defines the quadrature stator resistance, Ohm.
MOTOR_Type_e motor_type Defines the motor type.
int_least16_t numCtrlTicksPerCurrentTick Defines the number of controller clock ticks per current controller clock tick.
uint_least16_t numCtrlTicksPerCurrentTick Defines the number of controller clock ticks per current controller clock tick.
uint_least16_t numCtrlTicksPerEstTick Defines the number of controller clock ticks per estimator clock tick.
int_least16_t numCtrlTicksPerSpeedTick Defines the number of controller clock ticks per speed controller clock tick.
uint_least16_t numCtrlTicksPerSpeedTick Defines the number of controller clock ticks per speed controller clock tick.
uint_least16_t numCtrlTicksPerTrajTick Defines the number of controller clock ticks per trajectory clock tick.
uint_least8_t numCurrentSensors Defines the number of current sensors.
int_least16_t numIsrTicksPerCtrlTick Defines the number of Interrupt Service Routine (ISR) clock ticks per controller clock tick.
uint_least16_t numIsrTicksPerCtrlTick Defines the number of Interrupt Service Routine (ISR) clock ticks per controller clock tick.
int_least16_t numIsrTicksPerEstTick Defines the number of Interrupt Service Routine (ISR) clock ticks per controller clock tick.
int_least16_t numIsrTicksPerTrajTick Defines the number of Interrupt Service Routine (ISR) clock ticks per controller clock tick.
uint_least8_t numVoltageSensors Defines the number of voltage sensors.
float_t offsetPole_rps Defines the pole location for the voltage and current offset estimation, rad/s.

Defines the pole location for the voltage and current offset estimation, rad/sec.

float_t oneOverDcBus_max_invV Defines the maximum estimated 1/dcBus value allowed, 1/V.
float_t oneOverDcBus_min_invV Defines the minimum estimated 1/dcBus value allowed, 1/V.
float_t powerWarpGain Defines the PowerWarp gain for computing Id reference.
float_t pwGain Defines the power warp gain for computing Id reference.
float_t pwmPeriod_usec Defines the Pulse Width Modulation (PWM) period, usec.
float_t Reserved[20] Reserved Section.
uint_least32_t RoverL_estFreq_Hz Defines the R/L estimation frequency, Hz.
float_t RoverL_excFreq_Hz Defines the R/L excitation frequency, Hz.
float_t RoverL_Kp_sf Defines the Kp scale factor used during R/L, pu.
float_t RoverL_max_rps Defines the maximum estimated R/L value allowed, rad/sec.
float_t RoverL_min_rps Defines the minimum estimated R/L value allowed, rad/sec.
float_t Rr_coarseDelta_Ohm Defines the delta resistance value during coarse rotor resistance estimation, Ohm.
float_t Rr_fineDelta_Ohm Defines the delta resistance value during fine rotor resistance estimation, Ohm.
float_t Rr_max_Ohm Defines the maximum rotor resistance value allowed, Ohm.
float_t Rr_min_Ohm Defines the minimum rotor resistance value allowed, Ohm.
float_t Rr_Ohm Defines the default rotor resistance value, Ohm.
int_least32_t RrWaitTime[EST_Rr_numStates] Defines the wait times for each Rr estimator state, estimator ticks.
float_t Rs_coarseDelta_Ohm Defines the delta resistance value during coarse stator resistance estimation, Ohm.
float_t Rs_fineDelta_Ohm Defines the delta resistance value during fine stator resistance estimation, Ohm.
float_t Rs_max_Ohm Defines the maximum stator resistance value allowed, Ohm.
float_t Rs_min_Ohm Defines the minimum stator resistance value allowed, Ohm.
float_t Rs_Ohm Defines the default stator resistance value, Ohm.
float_t RsOnLine_angleDelta_rad Defines the delta angle value during online stator resistance estimation, rad.
float_t RsOnLine_DeltaDec_Ohm Defines the delta resistance decrement value during online stator resistance estimation, Ohm.
float_t RsOnLine_DeltaInc_Ohm Defines the delta resistance increment value during online stator resistance estimation, Ohm.
float_t RsOnLine_max_Ohm Defines the maximum online stator resistance value allowed, Ohm.
float_t RsOnLine_min_Ohm Defines the minimum online stator resistance value allowed, Ohm.
float_t RsOnLine_pole_rps Defines the filter pole for online stator resistance estimation, rad/sec.
int_least32_t RsWaitTime[EST_Rs_numStates] Defines the wait times for each Rs estimator state, estimator ticks.
uint_least32_t RsWaitTime[EST_Rs_numStates] Defines the wait times for each Rs estimator, estimator ticks.
float_t speedPole_rps Defines the pole location for the speed control filter, rad/s.

Defines the pole location for the speed control filter, rad/sec.

float_t systemFreq_MHz Defines the system clock frequency, MHz.
uint_least16_t systemFreq_MHz Defines the system clock frequency, MHz.
float_t trajFreq_Hz Defines the trajectory frequency, Hz.
uint_least32_t trajFreq_Hz Defines the trajectory frequency, Hz.
int_least32_t trajWaitTime[EST_Traj_numStates] Defines the wait times for each trajectory state, isr ticks.
float_t Vd_sf Defines the Vd scale factor to prevent a Vd only component for the Vdq vector.
float_t voltage_sf Defines the voltage scale factor for the system.
float_t voltageFilterPole_rps Defines the analog voltage filter pole location, rad/s.

Defines the analog voltage filter pole location, rad/sec.

float_t zeroSpeedLimit Defines the low speed limit for the flux integrator, pu.

Typedef Documentation

typedef struct _USER_Params_ USER_Params

Defines a structure for the user parameters.

typedef struct _USER_Params_ USER_Params

Defines a structure for the user parameters.

typedef struct _USER_Params_ USER_Params

Defines a structure for the user parameters.

Enumeration Type Documentation

Enumeration for the user error codes.

Enumerator
USER_ErrorCode_NoError 

no error error code

USER_ErrorCode_iqFullScaleCurrent_A_High 

iqFullScaleCurrent_A too high error code

USER_ErrorCode_iqFullScaleCurrent_A_Low 

iqFullScaleCurrent_A too low error code

USER_ErrorCode_iqFullScaleVoltage_V_High 

iqFullScaleVoltage_V too high error code

USER_ErrorCode_iqFullScaleVoltage_V_Low 

iqFullScaleVoltage_V too low error code

USER_ErrorCode_iqFullScaleFreq_Hz_High 

iqFullScaleFreq_Hz too high error code

USER_ErrorCode_iqFullScaleFreq_Hz_Low 

iqFullScaleFreq_Hz too low error code

USER_ErrorCode_numPwmTicksPerIsrTick_High 

numPwmTicksPerIsrTick too high error code

USER_ErrorCode_numPwmTicksPerIsrTick_Low 

numPwmTicksPerIsrTick too low error code

USER_ErrorCode_numIsrTicksPerCtrlTick_High 

numIsrTicksPerCtrlTick too high error code

USER_ErrorCode_numIsrTicksPerCtrlTick_Low 

numIsrTicksPerCtrlTick too low error code

USER_ErrorCode_numCtrlTicksPerCurrentTick_High 

numCtrlTicksPerCurrentTick too high error code

USER_ErrorCode_numCtrlTicksPerCurrentTick_Low 

numCtrlTicksPerCurrentTick too low error code

USER_ErrorCode_numCtrlTicksPerEstTick_High 

numCtrlTicksPerEstTick too high error code

USER_ErrorCode_numCtrlTicksPerEstTick_Low 

numCtrlTicksPerEstTick too low error code

USER_ErrorCode_numCtrlTicksPerSpeedTick_High 

numCtrlTicksPerSpeedTick too high error code

USER_ErrorCode_numCtrlTicksPerSpeedTick_Low 

numCtrlTicksPerSpeedTick too low error code

USER_ErrorCode_numCtrlTicksPerTrajTick_High 

numCtrlTicksPerTrajTick too high error code

USER_ErrorCode_numCtrlTicksPerTrajTick_Low 

numCtrlTicksPerTrajTick too low error code

USER_ErrorCode_numCurrentSensors_High 

numCurrentSensors too high error code

USER_ErrorCode_numCurrentSensors_Low 

numCurrentSensors too low error code

USER_ErrorCode_numVoltageSensors_High 

numVoltageSensors too high error code

USER_ErrorCode_numVoltageSensors_Low 

numVoltageSensors too low error code

USER_ErrorCode_offsetPole_rps_High 

offsetPole_rps too high error code

USER_ErrorCode_offsetPole_rps_Low 

offsetPole_rps too low error code

USER_ErrorCode_fluxPole_rps_High 

fluxPole_rps too high error code

USER_ErrorCode_fluxPole_rps_Low 

fluxPole_rps too low error code

USER_ErrorCode_zeroSpeedLimit_High 

zeroSpeedLimit too high error code

USER_ErrorCode_zeroSpeedLimit_Low 

zeroSpeedLimit too low error code

USER_ErrorCode_forceAngleFreq_Hz_High 

forceAngleFreq_Hz too high error code

USER_ErrorCode_forceAngleFreq_Hz_Low 

forceAngleFreq_Hz too low error code

USER_ErrorCode_maxAccel_Hzps_High 

maxAccel_Hzps too high error code

USER_ErrorCode_maxAccel_Hzps_Low 

maxAccel_Hzps too low error code

USER_ErrorCode_maxAccel_est_Hzps_High 

maxAccel_est_Hzps too high error code

USER_ErrorCode_maxAccel_est_Hzps_Low 

maxAccel_est_Hzps too low error code

USER_ErrorCode_directionPole_rps_High 

directionPole_rps too high error code

USER_ErrorCode_directionPole_rps_Low 

directionPole_rps too low error code

USER_ErrorCode_speedPole_rps_High 

speedPole_rps too high error code

USER_ErrorCode_speedPole_rps_Low 

speedPole_rps too low error code

USER_ErrorCode_dcBusPole_rps_High 

dcBusPole_rps too high error code

USER_ErrorCode_dcBusPole_rps_Low 

dcBusPole_rps too low error code

USER_ErrorCode_fluxFraction_High 

fluxFraction too high error code

USER_ErrorCode_fluxFraction_Low 

fluxFraction too low error code

USER_ErrorCode_indEst_speedMaxFraction_High 

indEst_speedMaxFraction too high error code

USER_ErrorCode_indEst_speedMaxFraction_Low 

indEst_speedMaxFraction too low error code

USER_ErrorCode_powerWarpGain_High 

powerWarpGain too high error code

USER_ErrorCode_powerWarpGain_Low 

powerWarpGain too low error code

USER_ErrorCode_systemFreq_MHz_High 

systemFreq_MHz too high error code

USER_ErrorCode_systemFreq_MHz_Low 

systemFreq_MHz too low error code

USER_ErrorCode_pwmFreq_kHz_High 

pwmFreq_kHz too high error code

USER_ErrorCode_pwmFreq_kHz_Low 

pwmFreq_kHz too low error code

USER_ErrorCode_voltage_sf_High 

voltage_sf too high error code

USER_ErrorCode_voltage_sf_Low 

voltage_sf too low error code

USER_ErrorCode_current_sf_High 

current_sf too high error code

USER_ErrorCode_current_sf_Low 

current_sf too low error code

USER_ErrorCode_voltageFilterPole_Hz_High 

voltageFilterPole_Hz too high error code

USER_ErrorCode_voltageFilterPole_Hz_Low 

voltageFilterPole_Hz too low error code

USER_ErrorCode_maxVsMag_pu_High 

maxVsMag_pu too high error code

USER_ErrorCode_maxVsMag_pu_Low 

maxVsMag_pu too low error code

USER_ErrorCode_estKappa_High 

estKappa too high error code

USER_ErrorCode_estKappa_Low 

estKappa too low error code

USER_ErrorCode_motor_type_Unknown 

motor type unknown error code

USER_ErrorCode_motor_numPolePairs_High 

motor_numPolePairs too high error code

USER_ErrorCode_motor_numPolePairs_Low 

motor_numPolePairs too low error code

USER_ErrorCode_motor_ratedFlux_High 

motor_ratedFlux too high error code

USER_ErrorCode_motor_ratedFlux_Low 

motor_ratedFlux too low error code

USER_ErrorCode_motor_Rr_High 

motor_Rr too high error code

USER_ErrorCode_motor_Rr_Low 

motor_Rr too low error code

USER_ErrorCode_motor_Rs_High 

motor_Rs too high error code

USER_ErrorCode_motor_Rs_Low 

motor_Rs too low error code

USER_ErrorCode_motor_Ls_d_High 

motor_Ls_d too high error code

USER_ErrorCode_motor_Ls_d_Low 

motor_Ls_d too low error code

USER_ErrorCode_motor_Ls_q_High 

motor_Ls_q too high error code

USER_ErrorCode_motor_Ls_q_Low 

motor_Ls_q too low error code

USER_ErrorCode_maxCurrent_High 

maxCurrent too high error code

USER_ErrorCode_maxCurrent_Low 

maxCurrent too low error code

USER_ErrorCode_maxCurrent_resEst_High 

maxCurrent_resEst too high error code

USER_ErrorCode_maxCurrent_resEst_Low 

maxCurrent_resEst too low error code

USER_ErrorCode_maxCurrent_indEst_High 

maxCurrent_indEst too high error code

USER_ErrorCode_maxCurrent_indEst_Low 

maxCurrent_indEst too low error code

USER_ErrorCode_maxCurrentSlope_High 

maxCurrentSlope too high error code

USER_ErrorCode_maxCurrentSlope_Low 

maxCurrentSlope too low error code

USER_ErrorCode_maxCurrentSlope_powerWarp_High 

maxCurrentSlope_powerWarp too high error code

USER_ErrorCode_maxCurrentSlope_powerWarp_Low 

maxCurrentSlope_powerWarp too low error code

USER_ErrorCode_IdRated_High 

IdRated too high error code.

USER_ErrorCode_IdRated_Low 

IdRated too low error code.

USER_ErrorCode_IdRatedFraction_indEst_High 

IdRatedFraction_indEst too high error code.

USER_ErrorCode_IdRatedFraction_indEst_Low 

IdRatedFraction_indEst too low error code.

USER_ErrorCode_IdRatedFraction_ratedFlux_High 

IdRatedFraction_ratedFlux too high error code.

USER_ErrorCode_IdRatedFraction_ratedFlux_Low 

IdRatedFraction_ratedFlux too low error code.

USER_ErrorCode_IdRated_delta_High 

IdRated_delta too high error code.

USER_ErrorCode_IdRated_delta_Low 

IdRated_delta too low error code.

USER_ErrorCode_fluxEstFreq_Hz_High 

fluxEstFreq_Hz too high error code

USER_ErrorCode_fluxEstFreq_Hz_Low 

fluxEstFreq_Hz too low error code

USER_ErrorCode_ctrlFreq_Hz_High 

ctrlFreq_Hz too high error code

USER_ErrorCode_ctrlFreq_Hz_Low 

ctrlFreq_Hz too low error code

USER_ErrorCode_estFreq_Hz_High 

estFreq_Hz too high error code

USER_ErrorCode_estFreq_Hz_Low 

estFreq_Hz too low error code

USER_ErrorCode_RoverL_estFreq_Hz_High 

RoverL_estFreq_Hz too high error code.

USER_ErrorCode_RoverL_estFreq_Hz_Low 

RoverL_estFreq_Hz too low error code.

USER_ErrorCode_trajFreq_Hz_High 

trajFreq_Hz too high error code

USER_ErrorCode_trajFreq_Hz_Low 

trajFreq_Hz too low error code

USER_ErrorCode_ctrlPeriod_sec_High 

ctrlPeriod_sec too high error code

USER_ErrorCode_ctrlPeriod_sec_Low 

ctrlPeriod_sec too low error code

USER_ErrorCode_maxNegativeIdCurrent_a_High 

maxNegativeIdCurrent_a too high error code

USER_ErrorCode_maxNegativeIdCurrent_a_Low 

maxNegativeIdCurrent_a too low error code

USER_numErrorCodes 

the number of user error codes

Definition at line 79 of file fast/src/32b/userParams.h.