|
Re: Tuning PID Code
As a side note, I have read that the easiest way to tune a full PID controller is to increase your P constant until there is a constant steady-state error, then increase your I constant until the steady-state error is gone and you have minor oscillation. Finally, increase the D constant to soak up any oscillation.
Hope this helps! We'll have some tuning to do pretty soon ourselves hopefully...
__________________
Reading makes a full man, conference a ready man, and writing an exact man. -Sir Francis Bacon
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction."
-Albert Einstein
|