Other Parts Discussed in Thread: MOTORWARE
Tool/software: TI C/C++ Compiler
custom board with InstaSpin - lab 5b.
sometimes could not start to rotate.
1. reset some PID control variables:
CTRL_setUi(handle,CTRL_Type_PID_Id,0);
CTRL_setUi(handle,CTRL_Type_PID_Iq,0);
ctrlHandle->Vab_in.value[0] = _IQ(0.0);
ctrlHandle->Vab_in.value[1] = _IQ(0.0);
ctrlHandle->Vab_out.value[0] = _IQ(0.0);
ctrlHandle->Vab_out.value[1] = _IQ(0.0);
ctrlHandle->Vdq_out.value[0] = _IQ(0.0);
ctrlHandle->Vdq_out.value[1] = _IQ(0.0);
ctrlHandle->pidHandle_Iq->fbackValue = _IQ(0.0);
ctrlHandle->pidHandle_spd->fbackValue = _IQ(0.0);
2. change the two flags from false to true
(When stop the motor, I set the gMotorVars.Flag_enableSys to false)
gMotorVars.Flag_enableSys = true;
gMotorVars.Flag_Run_Identify = true;
(1.0krpm).
increases to high value rapidly.
certainly, for example , should I reset some other variables when
restart the motor,etc.
