neddie
Full Member level 5
- Joined
- Feb 23, 2010
- Messages
- 251
- Helped
- 41
- Reputation
- 82
- Reaction score
- 35
- Trophy points
- 1,308
- Location
- South Africa
- Activity points
- 3,026
Hi to all.
I have a few questions about a PID , well actually a PI control that I'm implementing on a DC motor. 24V 1500RPM motor.
I want to control the motor from about 1300 to 60 RPM. The motor has the encoder (20 teeth) on the shaft , so at 60RPM
I'm getting feedback at the rate of 20Hz or 50ms.
What "speed" / interval must I run my control loop at?
If I run it at 50ms it will probably be fine for low speeds , but at high speeds
it will be very slow compared to the feedback rate. If I run it fast , say every 1ms or so at low speeds I'll be running the loop without
updated counts. What is the correct way to go here.
Another problem. The loading on the motor is very non linear. It goes through about 1 to 4 reduction , so for ever single rotation of the
final gear the motor has done about 4 turns. Every single rotation of the final gear sees full load to no load during 1 rotation.
Will I be able to compensate for this using PID throughout the speed range (60 - 1300rpm) , or am I on a hiding to nothing :0(
Cheers
Ned
I have a few questions about a PID , well actually a PI control that I'm implementing on a DC motor. 24V 1500RPM motor.
I want to control the motor from about 1300 to 60 RPM. The motor has the encoder (20 teeth) on the shaft , so at 60RPM
I'm getting feedback at the rate of 20Hz or 50ms.
What "speed" / interval must I run my control loop at?
If I run it at 50ms it will probably be fine for low speeds , but at high speeds
it will be very slow compared to the feedback rate. If I run it fast , say every 1ms or so at low speeds I'll be running the loop without
updated counts. What is the correct way to go here.
Another problem. The loading on the motor is very non linear. It goes through about 1 to 4 reduction , so for ever single rotation of the
final gear the motor has done about 4 turns. Every single rotation of the final gear sees full load to no load during 1 rotation.
Will I be able to compensate for this using PID throughout the speed range (60 - 1300rpm) , or am I on a hiding to nothing :0(
Cheers
Ned