How to design a PID controller for this application?

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 5K views
NCEE
Messages
4
Reaction score
0
I just took over a project for a person that left the company. The project was supposed to be fully documented, but the documentation seems to have come up missing.
The application involves using a microcontroller as a PID controller.
I will have a desired speed, and the actual speed.
I will get an error signal by subtracting the actual speed from the desired speed.
One of my colleagues says that the PID controller will just integrate, differentiate, and multiply the error signal and I should get what I want.
I want to get a pulse width modulation factor so I will know how long I should run the device to lower my speed until the next sample.
 
Engineering news on Phys.org
It might be a good idea to read up on PID algorithms. You might just answer your own question.
 
http://en.wikipedia.org/wiki/PID_controller" should give you about all you need.

Regards
 
Last edited by a moderator: