Part Number: TMS320F28069M
Tool/software: Code Composer Studio
I am facing same problem as Steven
While running Lab 5C to identify the system inertia, after setting gMotorVars.Flag_enableSys and gMotorVars.Flag_Run_Identify to 1, Motor resistance is determined and then motor spins as in lab 2a and continues to spin slowly at 0.2. It stays in this state - I am not sure if I am supposed to do anything to get it to the inertia identification step?
I tried to set gMotorVars.SpinTAC.VelIdRun to 1 but it goes back to zero within a second. Changing gMotorVars.SpinTAC.VelIdGoalSpeed_krpm has no effect. gMotorVars.Flag_MotorIdentified is 1 and gMotorVars.SpinTAC.VelIdErrorID is 0. Motor continues to spin constantly at 0.2 throughout. gMotorVars.SpinTAC.VelIdStatus is always ST_VEL_ID_IDLE.
gMotorVars.SpinTAC.InertiaEstimate_Aperkrpm and gMotorVars.SpinTAC.VelIdRun is always zero. (Although I have set it to the recommended starting values in h file)
Please let me know what I can try - I have used the same parameters/settings as for my previous stable instaspin projects. The only thing new which I am uncertain about is the quadrature encoder which I set as 1 as am not sure if my motor has this.
Thanks in advance!