This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DRV8301-69M-KIT: Lab12a: Instaspin Motor with Encoder problem

Part Number: DRV8301-69M-KIT


Hello,

We are using DRV8301-69M kit & successfully completed the labs 2a,2b, 5a,5b and 5c.

We have now connected a quadrature encoder with 1000 PPR to our motor which has a rated RPM of 3KRPM and tested Lab 12a. We are facing a problem of motor not running. It just gives a jerk and stops. We are getting an error of value "2004" in the variable gMotorVars.SpinTac.VellIdErrorID. As suggested in the instaspin labs pdf, we have reduced the gMotorVars.SpinTac.VellIdGoalSpeed_krpm from 3krpm to 0.5krpm in steps of 0.5krpm. Only at 0.5krpm or less, the inertia was identified and there was no error. In all other cases we are getting and ErrorId of 2004. Why is this happening when the motor rated RPM is 3KRPM. We have even reduced the "gMotorVars.SpinTAC.VelIdTorqueRampTime_sec" from 5.0 to 1.0 sec, but no use.The inertia values are also changing every time with the same goal speed RPM & Torque Ramp time. We have used one of the inertia value obtained in Lab12a and tested Lab12b, where motor has to rotate at target RPM. The motor is not working properly and is rotating one CW rotation and one CCW rotation and stopping. 

To test the encoder, we have checked the variable "st_obj.vel.conv.Pos_mrev" by rotating the motor one rotation manually in anticlockwise direction & getting a value of 1 which confirms that the encoder is correct.

We have changed the phase combinations and checked, but no result. We assume that when we connect phase connections wrongly, the motor should take high current. But this is not happening.

Lab 5c is working fine for us. 

Thanks in Advance

Venkatesh