Go Down

Topic: Closed loop control of 29:1 Metal Gearmotor 37Dx52L mm with 64 CPR Encoder (Read 623 times) previous topic - next topic

wilywampa

I'm trying to control these motors for a balancing robot project, and the problem is I'm finding that open loop control and even closed loop PID control gives insufficient performance. In particular, it has problems following commands for low speeds, probably due to static friction. Does anyone have some code for this or a similar motor that includes friction feedforward compensation?

I'm driving the motors with the Arduino Motor Shield R3 powered by a 3S LiPo battery. I'm using the AdaEncoder library to read the encoders and the PID library on the Arduino website for my PID control.

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy