Re: Source code for PID



Hi, Martin,

Martin Roth wrote:
I am looking a good origin for PID C source code.

Are you SURE you really want a PID controller? There are many other control technologies (bang-bang, SPC, etc.) -- each has characteristics suitd to different types of control problems.

And, even if you *think* you want a PID controller, are you sure
ou need all three terms (i.e. P and PI controllers are far more
commonplace).

You'll also need to learn the basics about PID controllers if
you ever expect to deploy anything non-trivial.  I.e., tuning
can be a real chore.  And, there are many ways the controller
can "fail" (to perform adequately) if not designed well
(e.g., bumpless transfer, anti-windup, etc.)

Do yourself -- and your project -- a favor and research control
theory before trying to *apply* that theory...  :-/

HTH,
--don

It would be nice if it also includes software which will help tuning the PID
loop.
I may also consider self tuning algorithm.

I consider to include it in our RTU (remote terminal unit)
.



Relevant Pages

  • Re: Source code for PID
    ... other control technologies -- each has characteristics suitd to different types of control problems. ... I may also consider self tuning algorithm. ...
    (comp.arch.embedded)
  • Re: SpaceShipOne News Coverage just a little rough on the edges
    ... >> They already know that it has control problems due to its excessive ... > effective in dealing with the control issue on the 2nd prize flight. ... fraction of the total velocity vector, instead of the whole thing, but ...
    (sci.space.history)
  • Re: SpaceShipOne News Coverage just a little rough on the edges
    ... >> They already know that it has control problems due to its excessive ... > effective in dealing with the control issue on the 2nd prize flight. ... fraction of the total velocity vector, instead of the whole thing, but ...
    (sci.space.policy)
  • Re: SpaceShipOne News Coverage just a little rough on the edges
    ... >> They already know that it has control problems due to its excessive ... > effective in dealing with the control issue on the 2nd prize flight. ... fraction of the total velocity vector, instead of the whole thing, but ...
    (sci.space.shuttle)

Loading