LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can i configure my PID Vi to work in the range of 0-100%

I've a VI that controls the level of water in a tank. And i've used a PID VI to work as a controller for the water output at the bottom of my tank, however, the controller opens and drain the water in the -100% range. My intention is that the controller should be able to fully shut at 0% and fully open at 100% and not from -100% to 100%. What am i suppose to do?
 
The attached is the VI i've written
 
With Regards
WormwoodSmiley Happy


Message Edited by Wormwood on 12-20-2007 12:15 PM
0 Kudos
Message 1 of 6
(4,082 Views)
Can you just highlight on the front panel using the text tool (using the tools pallet) and change "-100%" to "0%"?  I need to update my Labview at home...sry but I can't open your *.vi till morning.


0 Kudos
Message 2 of 6
(4,078 Views)
Using just texttools would only make a difference in the appearance, however, in the calculation it would still work with the values between -100% to 100%, (I think so?:Smiley Surprised)
 
With Regards
Wormwood


Message Edited by Wormwood on 12-20-2007 12:43 PM
0 Kudos
Message 3 of 6
(4,076 Views)
Can you just change your input cluster to the PID controller (output range low) to 0?  I tried this and it seemed to work.  SS


0 Kudos
Message 4 of 6
(4,049 Views)
Using -100% to 100% as the default values given by the output cluster, my system at -100% is at fully open position and 100% at fully shut position . Changing the output cluster lower range -100% to 0 would cause my controller to stop operating in opening position range as now the range is 0 - 100, which is the shut position. This would cause my level never to drop since it could no longer open to drain the water.
 
(*The characteristics of a normal controller output is to be able to work in the range of 0-100%, fine tunning itself to bring the process value to the setpoint.)  
 
With Regards
Wormwood
0 Kudos
Message 5 of 6
(4,039 Views)
Sorry I thought the problem was more basic.  There are plenty of PID control examples:  Tank Level.vi
 
This looks almost identical to what you are describing.


0 Kudos
Message 6 of 6
(4,029 Views)