06-21-2010 04:46 AM
Hello,
I am unsing the PID.vi out of the pid controller toolkit and the system is working fine.
One left problem is, that the controller does a big step a the beginning of the control.
For example: Setpoint is 10V. The controller jumps to 20V and then steps down to 10V. Is it possible to does a "slow" start from 0V to 10V?
Thanks a lot and best regards,
Michael
06-21-2010 05:12 AM
Choose a smaller P value for your Controller. That's the best solution.
06-21-2010 09:24 AM
Michael,
Other than modifying the gains, you can
1. add a "PID output rate limiter.vi" to the output of your controller and impose a limit to it. So, instead of a value change, you will have a ramp. However, notice that you will change the dynamic of the system.
2. avoid rapid changes to the setpoint by adding a "PID lead-lag" or even the "PID output rate limiter" before you wire the setpoint input. This will reduce the overshoot of the PID controller.
3. If you do not want to go beyond 0 to 10V, one last option is to use the "output range" to low as 0 and high as 10. That will guarantee that you will not reach 20 V.
I hope this can help you.