LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to prevent big steps in PID-Controller Output?

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

0 Kudos
Message 1 of 3
(3,325 Views)

Choose a smaller P value for your Controller. That's the best solution.

0 Kudos
Message 2 of 3
(3,316 Views)

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.

Barp - Control, Simulation, RTT and HIL - National Instruments
0 Kudos
Message 3 of 3
(3,296 Views)