LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

tank level control with PID


i am designing a water level  controller (just the simulation using labview).
 
its a simple control system.
 
a water tank, an inflow and an outflow.
Inflow is manipulated to control the level
 
Given a setpoint, How can i control the level using a PID controller
 

If anyone have any examples or solutions of this problem, pls post it here

0 Kudos
Message 1 of 5
(7,810 Views)

Hello,

 

Try to open the shipping example of LabVIEW PID and Fuzzy Logic Toolkit "C:\Program Files\National Instruments\LabVIEW 2009\examples\control\pid\prctrlex.llb\Simulation - Tank Level.vi".

 

This example demonstrates how to use LabVIEW to simulate the model and control with a PID algorithm. Also, consider using the LabVIEW Control Design and Simulation Module to better express the nonlinearlities of your plant with standard control block diagrams.

 

Hope this helps.

Barp - Control, Simulation, RTT and HIL - National Instruments
0 Kudos
Message 2 of 5
(7,789 Views)

Hi KJAK,

 

could you solve your problem or are there any other questions on this issue?

Feel free to post.

 

Regards

Suse

______________________________
Certified LabVIEW Developer (CLD)
0 Kudos
Message 3 of 5
(7,771 Views)

hallo,

 

Thanks for your answers but unfortunately I dont have  the PID toolkit, so can' t find the example 😞  have you  maybe some other solution

 

Thanks in advance

0 Kudos
Message 4 of 5
(7,738 Views)

You can create a basic PID controller using the math functions available in LabVIEW to perform the math operations of a PID controller. You will need to research PID, then construct the required calculations, either with native LabVIEW functions or with a Formula node. I'm not sure that a PID is required for a simple tank level control, basic feedback where some tank level measurement is used to control the in-flow, even semi-linearly, would be probably sufficient. PID controllers usually are in systems that have very dynamic responses, resonances, etc.

 

Putnam
Certified LabVIEW Developer

Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5


LabVIEW Champion



0 Kudos
Message 5 of 5
(7,728 Views)