Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

How to design a PID controller for this application?

  1. Oct 25, 2006 #1
    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.
  2. jcsd
  3. Oct 25, 2006 #2
    It might be a good idea to read up on PID algorithms. You might just answer your own question.
  4. Oct 25, 2006 #3


    User Avatar
    Science Advisor
    Gold Member

    http://en.wikipedia.org/wiki/PID_controller" [Broken] should give you about all you need.

    Last edited by a moderator: May 2, 2017
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook