|
MotorWare f2806x Module API Documentation
|
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... | |
| 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 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.
| enum USER_ErrorCode_e |
Enumeration for the user error codes.
Definition at line 79 of file fast/src/32b/userParams.h.
1.8.9.1