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.

TMS320F28069M: Control with encoder

Part Number: TMS320F28069M
Other Parts Discussed in Thread: MOTORWARE

I am working with motorware 14 and I want to use sensor feedback.

I am using lab 12b and I have connected encoder speed output as feedback. There is no problem at that stage, everything works fine with this. My question is the minimum speed that I can run the motor.

This is a 4-pole ACIM and my current loop works at 10 kHz and speed loop works at 1 kHz. I have a 1024 pulse incremental encoder. I want to control the motor down to 20 rpm. So that at every 1 kHz I will have 1024*4*20/(60*1000) = 1,365 increments at encoder module. I think it seems too low.

As a result what is your recommendation for the frequency of speed control loop at such a low speed?

Moreover, I want to check also if there is a problem with the encoder signals. For an example, if encoder is not connected or if A and B signals connected oppositely etc. I want to detect it. Is there any mechanism in Instaspin software that I can check those type of errors in encoder?

  • 1. The 20rpm can be supported if you are using the encoder.
    2. Some errors of the encoder/connection can be checked by EQEP module, you can refer to the technical reference manual of controller, the QEPSTS register shows the errors status, and you have to write the code to check some errors by read the GPIO status or the counter of EQEP.