MotorWare f2806x Module API Documentation

- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

est_states.h
Go to the documentation of this file.
1 #ifndef _EST_STATES_H_
2 #define _EST_STATES_H_
3
8
9
10 // **************************************************************************
11 // the includes
12
17
18
19
20 #ifdef __cplusplus
21 extern "C" {
22 #endif
23
24
25 // **************************************************************************
26 // the includes
27
28
29 // **************************************************************************
30 // the defines
31
32
33 // **************************************************************************
34 // the typedefs
35
38 typedef enum
39 {
40 EST_ErrorCode_NoError=0,
41 EST_ErrorCode_Flux_OL_ShiftOverFlow,
42 EST_ErrorCode_FluxError,
43 EST_ErrorCode_Dir_ShiftOverFlow,
44 EST_ErrorCode_Ind_ShiftOverFlow,
45 EST_numErrorCodes
46 } EST_ErrorCode_e;
47
48
51 typedef enum
52 {
53 EST_State_Error=0,
54 EST_State_Idle,
55 EST_State_RoverL,
56 EST_State_Rs,
57 EST_State_RampUp,
58 #if !defined(FAST_ROM_V1p6) && !defined(FAST_ROM_V1p7)
59 EST_State_ConstSpeed,
60 #endif
61 EST_State_IdRated,
62 EST_State_RatedFlux_OL,
63 EST_State_RatedFlux,
64 EST_State_RampDown,
65 EST_State_LockRotor,
66 EST_State_Ls,
67 EST_State_Rr,
68 EST_State_MotorIdentified,
69 EST_State_OnLine,
70 EST_numStates
71 } EST_State_e;
72
73
74 // **************************************************************************
75 // the globals
76
77
78 // **************************************************************************
79 // the function prototypes
80
81
82 #ifdef __cplusplus
83 }
84 #endif // extern "C"
85
87 #endif // end of _EST_STATES_H_ definition
88
EST_State_LockRotor
lock the rotor
Definition: est_states.h:65
EST_State_Ls
stator inductance estimation state
Definition: est_states.h:66
EST_ErrorCode_e
EST_ErrorCode_e
Enumeration for the estimator error codes.
Definition: est_states.h:38
EST_State_ConstSpeed
constant speed after ramp up
Definition: est_states.h:59
EST_State_MotorIdentified
motor identified state
Definition: est_states.h:68
EST_State_RatedFlux_OL
estimate the open loop rated flux
Definition: est_states.h:62
EST_ErrorCode_Dir_ShiftOverFlow
direction shift overflow error code
Definition: est_states.h:43
EST_ErrorCode_Flux_OL_ShiftOverFlow
flux open loop shift overflow error code
Definition: est_states.h:41
EST_State_IdRated
control Id and estimate the rated flux
Definition: est_states.h:61
EST_numStates
the number of estimator states
Definition: est_states.h:70
EST_numErrorCodes
the number of estimator error codes
Definition: est_states.h:45
EST_State_RatedFlux
estimate the rated flux
Definition: est_states.h:63
EST_ErrorCode_NoError
no error error code
Definition: est_states.h:40
EST_State_Rs
Rs estimation state.
Definition: est_states.h:56
EST_State_RampDown
ramp down the speed
Definition: est_states.h:64
EST_State_OnLine
online parameter estimation
Definition: est_states.h:69
EST_State_e
EST_State_e
Enumeration for the estimator states.
Definition: est_states.h:51
EST_State_RampUp
ramp up the speed
Definition: est_states.h:57
EST_State_Error
error
Definition: est_states.h:53
EST_State_Idle
idle
Definition: est_states.h:54
EST_State_RoverL
R/L estimation.
Definition: est_states.h:55
EST_ErrorCode_FluxError
flux estimator error code
Definition: est_states.h:42
EST_ErrorCode_Ind_ShiftOverFlow
inductance shift overflow error code
Definition: est_states.h:44
EST_State_Rr
rotor resistance estimation state
Definition: est_states.h:67