Enumerations
EST_LIB

Enumerations

enum  EST_Flux_ErrorCode_e {
  EST_FLUX_ERRORCODE_NOERROR =0,
  EST_FLUX_ERRORCODE_SHIFTOVERFLOW,
  EST_FLUX_ERRORCODE_CLIP,
  EST_FLUX_NUMERRORCODES,
  EST_FLUX_ERRORCODE_NOERROR =0,
  EST_FLUX_ERRORCODE_SHIFTOVERFLOW,
  EST_FLUX_ERRORCODE_CLIP,
  EST_FLUX_NUMERRORCODES
}
 Enumeration for the estimator error codes. More...
 
enum  EST_Flux_State_e {
  EST_FLUX_STATE_ERROR = 0,
  EST_FLUX_STATE_IDLE = 1,
  EST_FLUX_STATE_CL1 = 2,
  EST_FLUX_STATE_CL2 = 3,
  EST_FLUX_STATE_FINE = 4,
  EST_FLUX_STATE_DONE = 5,
  EST_FLUX_NUMSTATES = 6,
  EST_FLUX_STATE_ERROR = 0,
  EST_FLUX_STATE_IDLE = 1,
  EST_FLUX_STATE_CL1 = 2,
  EST_FLUX_STATE_CL2 = 3,
  EST_FLUX_STATE_FINE = 4,
  EST_FLUX_STATE_DONE = 5,
  EST_FLUX_NUMSTATES = 6
}
 Enumeration for the estimator states. More...
 
enum  EST_Ls_ErrorCode_e {
  EST_LS_ERRORCODE_NOERROR =0,
  EST_LS_ERRORCODE_SHIFTOVERFLOW,
  EST_LS_NUMERRORCODES,
  EST_LS_ERRORCODE_NOERROR =0,
  EST_LS_ERRORCODE_SHIFTOVERFLOW,
  EST_LS_NUMERRORCODES
}
 Enumeration for the stator inductance estimator error codes. More...
 
enum  EST_Ls_State_e {
  EST_LS_STATE_ERROR = 0,
  EST_LS_STATE_IDLE = 1,
  EST_LS_STATE_RAMPUP = 2,
  EST_LS_STATE_INIT = 3,
  EST_LS_STATE_COARSE = 4,
  EST_LS_STATE_FINE = 5,
  EST_LS_STATE_DONE = 6,
  EST_LS_NUMSTATES = 7,
  EST_LS_STATE_ERROR = 0,
  EST_LS_STATE_IDLE = 1,
  EST_LS_STATE_RAMPUP = 2,
  EST_LS_STATE_INIT = 3,
  EST_LS_STATE_COARSE = 4,
  EST_LS_STATE_FINE = 5,
  EST_LS_STATE_DONE = 6,
  EST_LS_NUMSTATES = 7
}
 Enumeration for the stator inductance estimator states. More...
 
enum  EST_Rr_State_e {
  EST_RR_STATE_ERROR =0,
  EST_RR_STATE_IDLE = 1,
  EST_RR_STATE_RAMPUP = 2,
  EST_RR_STATE_COARSE = 3,
  EST_RR_STATE_FINE = 4,
  EST_RR_STATE_DONE = 5,
  EST_RR_NUMSTATES = 6,
  EST_RR_STATE_ERROR =0,
  EST_RR_STATE_IDLE = 1,
  EST_RR_STATE_RAMPUP = 2,
  EST_RR_STATE_COARSE = 3,
  EST_RR_STATE_FINE = 4,
  EST_RR_STATE_DONE = 5,
  EST_RR_NUMSTATES = 6
}
 Enumeration for the rotor resistance estimator states. More...
 
enum  EST_Rs_State_e {
  EST_RS_STATE_ERROR =0,
  EST_RS_STATE_IDLE = 1,
  EST_RS_STATE_RAMPUP = 2,
  EST_RS_STATE_COARSE = 3,
  EST_RS_STATE_FINE = 4,
  EST_RS_STATE_DONE = 5,
  EST_RS_NUMSTATES = 6,
  EST_RS_STATE_ERROR =0,
  EST_RS_STATE_IDLE = 1,
  EST_RS_STATE_RAMPUP = 2,
  EST_RS_STATE_COARSE = 3,
  EST_RS_STATE_FINE = 4,
  EST_RS_STATE_DONE = 5,
  EST_RS_NUMSTATES = 6
}
 Enumeration for the stator resistance estimator states. More...
 
enum  EST_ErrorCode_e {
  EST_ERRORCODE_NOERROR = 0,
  EST_ERRORCODE_FLUX_OL_SHIFTOVERFLOW = 1,
  EST_ERRORCODE_FLUXERROR = 2,
  EST_ERRORCODE_DIR_SHIFTOVERFLOW = 3,
  EST_ERRORCODE_IND_SHIFTOVERFLOW = 4,
  EST_NUMERRORCODES = 5,
  EST_ERRORCODE_NOERROR = 0,
  EST_ERRORCODE_FLUX_OL_SHIFTOVERFLOW = 1,
  EST_ERRORCODE_FLUXERROR = 2,
  EST_ERRORCODE_DIR_SHIFTOVERFLOW = 3,
  EST_ERRORCODE_IND_SHIFTOVERFLOW = 4,
  EST_NUMERRORCODES = 5
}
 Enumeration for the estimator error codes. More...
 
enum  EST_State_e {
  EST_STATE_ERROR = 0,
  EST_STATE_IDLE = 1,
  EST_STATE_ROVERL = 2,
  EST_STATE_RS = 3,
  EST_STATE_RAMPUP = 4,
  EST_STATE_CONSTSPEED = 5,
  EST_STATE_IDRATED = 6,
  EST_STATE_RATEDFLUX_OL = 7,
  EST_STATE_RATEDFLUX = 8,
  EST_STATE_RAMPDOWN = 9,
  EST_STATE_LOCKROTOR = 0xA,
  EST_STATE_LS = 0xB,
  EST_STATE_RR = 0xC,
  EST_STATE_MOTORIDENTIFIED = 0xD,
  EST_STATE_ONLINE = 0xE,
  EST_NUMSTATES = 0xF,
  EST_RESERVED = 0x1000,
  EST_STATE_ERROR = 0,
  EST_STATE_IDLE = 1,
  EST_STATE_ROVERL = 2,
  EST_STATE_RS = 3,
  EST_STATE_RAMPUP = 4,
  EST_STATE_CONSTSPEED = 5,
  EST_STATE_IDRATED = 6,
  EST_STATE_RATEDFLUX_OL = 7,
  EST_STATE_RATEDFLUX = 8,
  EST_STATE_RAMPDOWN = 9,
  EST_STATE_LOCKROTOR = 0xA,
  EST_STATE_LS = 0xB,
  EST_STATE_RR = 0xC,
  EST_STATE_MOTORIDENTIFIED = 0xD,
  EST_STATE_ONLINE = 0xE,
  EST_NUMSTATES = 0xF,
  EST_RESERVED = 0x1000
}
 Enumeration for the estimator states. More...
 
enum  EST_Traj_ErrorCode_e {
  EST_TRAJ_ERRORCODE_NOERROR =0,
  EST_TRAJ_ERRORCODE_IDCLIP,
  EST_TRAJ_NUMERRORCODES,
  EST_TRAJ_ERRORCODE_NOERROR =0,
  EST_TRAJ_ERRORCODE_IDCLIP,
  EST_TRAJ_NUMERRORCODES
}
 Enumeration for the trajectory generator error codes. More...
 
enum  EST_Traj_State_e {
  EST_TRAJ_STATE_ERROR =0,
  EST_TRAJ_STATE_IDLE = 1,
  EST_TRAJ_STATE_EST = 2,
  EST_TRAJ_STATE_ONLINE = 3,
  EST_TRAJ_NUMSTATES = 4,
  EST_TRAJ_RESERVED = 0x10000,
  EST_TRAJ_STATE_ERROR =0,
  EST_TRAJ_STATE_IDLE = 1,
  EST_TRAJ_STATE_EST = 2,
  EST_TRAJ_STATE_ONLINE = 3,
  EST_TRAJ_NUMSTATES = 4,
  EST_TRAJ_RESERVED = 0x10000
}
 Enumeration for the trajectory generator states. More...
 

Detailed Description

Enumeration Type Documentation

◆ EST_Flux_ErrorCode_e

Enumeration for the estimator error codes.

Enumerator
EST_FLUX_ERRORCODE_NOERROR 

no error error code

EST_FLUX_ERRORCODE_SHIFTOVERFLOW 

flux shift overflow error code

EST_FLUX_ERRORCODE_CLIP 

flux clip error code

EST_FLUX_NUMERRORCODES 

the number of estimator error codes

EST_FLUX_ERRORCODE_NOERROR 

no error error code

EST_FLUX_ERRORCODE_SHIFTOVERFLOW 

flux shift overflow error code

EST_FLUX_ERRORCODE_CLIP 

flux clip error code

EST_FLUX_NUMERRORCODES 

the number of estimator error codes

◆ EST_Flux_State_e

Enumeration for the estimator states.

Enumerator
EST_FLUX_STATE_ERROR 

error state

EST_FLUX_STATE_IDLE 

idle state

EST_FLUX_STATE_CL1 

closed loop control stage 1

EST_FLUX_STATE_CL2 

closed loop control stage 2

EST_FLUX_STATE_FINE 

fine estimate of flux

EST_FLUX_STATE_DONE 

done state

EST_FLUX_NUMSTATES 

the number of flux estimator states

EST_FLUX_STATE_ERROR 

error state

EST_FLUX_STATE_IDLE 

idle state

EST_FLUX_STATE_CL1 

closed loop control stage 1

EST_FLUX_STATE_CL2 

closed loop control stage 2

EST_FLUX_STATE_FINE 

fine estimate of flux

EST_FLUX_STATE_DONE 

done state

EST_FLUX_NUMSTATES 

the number of flux estimator states

◆ EST_Ls_ErrorCode_e

Enumeration for the stator inductance estimator error codes.

Enumerator
EST_LS_ERRORCODE_NOERROR 

no error error code

EST_LS_ERRORCODE_SHIFTOVERFLOW 

inductance shift overflow error code

EST_LS_NUMERRORCODES 

the number of estimator error codes

EST_LS_ERRORCODE_NOERROR 

no error error code

EST_LS_ERRORCODE_SHIFTOVERFLOW 

inductance shift overflow error code

EST_LS_NUMERRORCODES 

the number of estimator error codes

◆ EST_Ls_State_e

Enumeration for the stator inductance estimator states.

Enumerator
EST_LS_STATE_ERROR 

error

EST_LS_STATE_IDLE 

idle

EST_LS_STATE_RAMPUP 

the ramp up state

EST_LS_STATE_INIT 

the init state

EST_LS_STATE_COARSE 

the coarse estimation state

EST_LS_STATE_FINE 

the fine estimation state

EST_LS_STATE_DONE 

the done state

EST_LS_NUMSTATES 

number of stator inductance estimator states

EST_LS_STATE_ERROR 

error

EST_LS_STATE_IDLE 

idle

EST_LS_STATE_RAMPUP 

the ramp up state

EST_LS_STATE_INIT 

the init state

EST_LS_STATE_COARSE 

the coarse estimation state

EST_LS_STATE_FINE 

the fine estimation state

EST_LS_STATE_DONE 

the done state

EST_LS_NUMSTATES 

number of stator inductance estimator states

◆ EST_Rr_State_e

Enumeration for the rotor resistance estimator states.

Enumerator
EST_RR_STATE_ERROR 

error

EST_RR_STATE_IDLE 

idle

EST_RR_STATE_RAMPUP 

the Id ramp up state

EST_RR_STATE_COARSE 

the coarse estimation state

EST_RR_STATE_FINE 

the fine estimation state

EST_RR_STATE_DONE 

the done state

EST_RR_NUMSTATES 

number of stator resistance estimator states

EST_RR_STATE_ERROR 

error

EST_RR_STATE_IDLE 

idle

EST_RR_STATE_RAMPUP 

the Id ramp up state

EST_RR_STATE_COARSE 

the coarse estimation state

EST_RR_STATE_FINE 

the fine estimation state

EST_RR_STATE_DONE 

the done state

EST_RR_NUMSTATES 

number of stator resistance estimator states

◆ EST_Rs_State_e

Enumeration for the stator resistance estimator states.

Enumerator
EST_RS_STATE_ERROR 

error

EST_RS_STATE_IDLE 

idle

EST_RS_STATE_RAMPUP 

the Id ramp up state

EST_RS_STATE_COARSE 

the coarse estimation state

EST_RS_STATE_FINE 

the fine estimation state

EST_RS_STATE_DONE 

the done state

EST_RS_NUMSTATES 

number of stator resistance estimator states

EST_RS_STATE_ERROR 

error

EST_RS_STATE_IDLE 

idle

EST_RS_STATE_RAMPUP 

the Id ramp up state

EST_RS_STATE_COARSE 

the coarse estimation state

EST_RS_STATE_FINE 

the fine estimation state

EST_RS_STATE_DONE 

the done state

EST_RS_NUMSTATES 

number of stator resistance estimator states

◆ EST_ErrorCode_e

Enumeration for the estimator error codes.

Enumerator
EST_ERRORCODE_NOERROR 

no error error code

EST_ERRORCODE_FLUX_OL_SHIFTOVERFLOW 

flux open loop shift overflow error code

EST_ERRORCODE_FLUXERROR 

flux estimator error code

EST_ERRORCODE_DIR_SHIFTOVERFLOW 

direction shift overflow error code

EST_ERRORCODE_IND_SHIFTOVERFLOW 

inductance shift overflow error code

EST_NUMERRORCODES 

the number of estimator error codes

EST_ERRORCODE_NOERROR 

no error error code

EST_ERRORCODE_FLUX_OL_SHIFTOVERFLOW 

flux open loop shift overflow error code

EST_ERRORCODE_FLUXERROR 

flux estimator error code

EST_ERRORCODE_DIR_SHIFTOVERFLOW 

direction shift overflow error code

EST_ERRORCODE_IND_SHIFTOVERFLOW 

inductance shift overflow error code

EST_NUMERRORCODES 

the number of estimator error codes

◆ EST_State_e

Enumeration for the estimator states.

Enumerator
EST_STATE_ERROR 

error

EST_STATE_IDLE 

idle

EST_STATE_ROVERL 

R/L estimation.

EST_STATE_RS 

Rs estimation state.

EST_STATE_RAMPUP 

ramp up the speed

EST_STATE_CONSTSPEED 

constant speed after ramp up

EST_STATE_IDRATED 

control Id and estimate the rated flux

EST_STATE_RATEDFLUX_OL 

estimate the open loop rated flux

EST_STATE_RATEDFLUX 

estimate the rated flux

EST_STATE_RAMPDOWN 

ramp down the speed

EST_STATE_LOCKROTOR 

lock the rotor

EST_STATE_LS 

stator inductance estimation state

EST_STATE_RR 

rotor resistance estimation state

EST_STATE_MOTORIDENTIFIED 

motor identified state

EST_STATE_ONLINE 

online parameter estimation

EST_NUMSTATES 

the number of estimator states

EST_RESERVED 

reserved to force 32 bit data

EST_STATE_ERROR 

error

EST_STATE_IDLE 

idle

EST_STATE_ROVERL 

R/L estimation.

EST_STATE_RS 

Rs estimation state.

EST_STATE_RAMPUP 

ramp up the speed

EST_STATE_CONSTSPEED 

constant speed after ramp up

EST_STATE_IDRATED 

control Id and estimate the rated flux

EST_STATE_RATEDFLUX_OL 

estimate the open loop rated flux

EST_STATE_RATEDFLUX 

estimate the rated flux

EST_STATE_RAMPDOWN 

ramp down the speed

EST_STATE_LOCKROTOR 

lock the rotor

EST_STATE_LS 

stator inductance estimation state

EST_STATE_RR 

rotor resistance estimation state

EST_STATE_MOTORIDENTIFIED 

motor identified state

EST_STATE_ONLINE 

online parameter estimation

EST_NUMSTATES 

the number of estimator states

EST_RESERVED 

reserved to force 32 bit data

◆ EST_Traj_ErrorCode_e

Enumeration for the trajectory generator error codes.

Enumerator
EST_TRAJ_ERRORCODE_NOERROR 

no error error code

EST_TRAJ_ERRORCODE_IDCLIP 

Id clip error code.

EST_TRAJ_NUMERRORCODES 

the number of trajectory generator error codes

EST_TRAJ_ERRORCODE_NOERROR 

no error error code

EST_TRAJ_ERRORCODE_IDCLIP 

Id clip error code.

EST_TRAJ_NUMERRORCODES 

the number of trajectory generator error codes

◆ EST_Traj_State_e

Enumeration for the trajectory generator states.

Enumerator
EST_TRAJ_STATE_ERROR 

the trajectory generator error state

EST_TRAJ_STATE_IDLE 

the trajectory generator idle state

EST_TRAJ_STATE_EST 

the trajectory generator parameter estimation state

EST_TRAJ_STATE_ONLINE 

the trajectory generator online state

EST_TRAJ_NUMSTATES 

the number of trajectory generator states

EST_TRAJ_RESERVED 

reserved to force 32 bit data

EST_TRAJ_STATE_ERROR 

the trajectory generator error state

EST_TRAJ_STATE_IDLE 

the trajectory generator idle state

EST_TRAJ_STATE_EST 

the trajectory generator parameter estimation state

EST_TRAJ_STATE_ONLINE 

the trajectory generator online state

EST_TRAJ_NUMSTATES 

the number of trajectory generator states

EST_TRAJ_RESERVED 

reserved to force 32 bit data


Copyright 2023, Texas Instruments Incorporated