Re: Source code for PID
- From: Don <none@given>
- Date: Sat, 21 Jan 2006 22:54:58 -0700
Hi, Martin,
[apologies to cae if this is a duplicate post...:<]
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)
.
- References:
- Source code for PID
- From: Martin Roth
- Source code for PID
- Prev by Date: Re: Source code for PID
- Next by Date: AC Line Monitor and/or Opto Coupler (need for 3.3v board)
- Previous by thread: Re: Source code for PID
- Next by thread: Re: Source code for PID
- Index(es):
Relevant Pages
|