Other Parts Discussed in Thread: MOTORWARE, LVSERVOMTR
Hi,
I am trying to test out the Motorware labs on the F28027F with a random model airplane BLDC motor I have. I have been attempting to run Lab 2 (both 2b and 2c) per the motorware directions but it seems that the motor identification process can't be completed. The motor whines and spins roughly then more smoothly but finally it jerks to a stop with CTRL_State_Error and EST_State_Error indicated and 0 for gMotorVars.Lsd_H and gMotorVars.Lsd_Q. Wen I try to proceed to the subsequent steps I get no activity. The sequence of gMotorVars.CtrlState and gMotorVars.EstState I see before the error are:
1. CTRL_State_Idle EST_State_Idle
2. CTRL_State_Offline EST_State_Idle
3. CTRL_State_Online EST_State_RoverL
4. CTRL_State_Online EST_State_Rs
5. CTRL_State_Online EST_State_RampUp
6. CTRL_State_Online EST_State_RatedFlux
A picture of the final state is attached. The user defined parameters are below, which I think is as directed.
#elif (USER_MOTOR == MY_MOTOR)
#define USER_MOTOR_TYPE MOTOR_Type_Pm
#define USER_MOTOR_NUM_POLE_PAIRS (4)
#define USER_MOTOR_Rr (NULL)
#define USER_MOTOR_Rs (NULL)
#define USER_MOTOR_Ls_d (NULL)
#define USER_MOTOR_Ls_q (NULL)
#define USER_MOTOR_RATED_FLUX (NULL)
#define USER_MOTOR_MAGNETIZING_CURRENT (NULL)
#define USER_MOTOR_RES_EST_CURRENT (1.0)
#define USER_MOTOR_IND_EST_CURRENT (-1.0)
#define USER_MOTOR_MAX_CURRENT (3.0)
#define USER_MOTOR_FLUX_EST_FREQ_Hz (20.0)
I believe the motor to have 7 pole pairs and that is what I had entered originally but it gave the same result. Is this little motor just an oddball? Thanks for your help.

