You are here

Problems with motor and encoder in PID application

2 posts / 0 new
Last post
Shaik Siraaj
Offline
Last seen: 5 years 2 months ago
Joined: 2018-12-13 09:36
Posts: 4
Problems with motor and encoder in PID application

Hello,

I've been running a setup involving a VESC 6, a US Digital E6 encoder and a T-Power U8 motor for PID applications, however, I've encountered a problem when I input an angle or input an ERPM for the motor. When I input an ERPM, the motor will spin really slowly, with the maximum amount of current going into it, and will never hit the ERPM that has been entered into the VESC Tool. As for inputting an angle, the same thing will happen as above however, it would only use a percentage of the maximum current. Because of these errors, the motor also heats up significantly. How do I get it to work as intended?

Any help regarding this topic would be appreciated.

Shaik Siraaj
Offline
Last seen: 5 years 2 months ago
Joined: 2018-12-13 09:36
Posts: 4

An update to the previous post

I've gotten the encoder to work for a few minutes after which, it defaulted to the same behavior as before. As it turns out, the VESC tool can detect the encoder, and when I turn the motor by hand, I get a reading for the rotor position in real time. However, when I input an ERPM or an angle, the motor spins as if it was in the open loop configuration. I hope this clarifies things from the previous post.

Cheers

SS