Iam using HCS08 and codewarrior studio. I implemented a PID algorithm for a generator speed control by valve control using stepper motor. Here Iam measuring rpm of generator with hall effect sensor as a feedback.
It works fine, but in this algorithm I changed my Kp,Ki,Kd constants in different conditions. ie nearest of setpoint I changed these constants to get fine values and if there is a big difference changed to get large error value.
My question is , can i change PID constants in running condition? Is it favourable ?