LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

water tank control

In college we have been given an assignment for a water supply control V.I. The parameters we have been given is that there must be 2 tanks, a supply tank and a dosing tank. On start the supply tank level will begin to decrease from max. when the supply tank levels fall below 30% the inlet pump will fill the tank, switching off when the tank is 90% full. The inlet pump fills the supply tank from the dosing tank. Dosing tank is monitored for pH, Fluoride and chlorine. Show current values and running averages. If any of these are out of spec the inlet pump shuts down and dosing continues until system comes back into range then the inlet pump automatically restarts. This has taken me days and I have so far been able to make the supply tank fill from 0. Averages are somewhat right and all the appropriate indicators are working. We are also required to use random number generators to produce values for pH, fluoride and chlorine. It is not a required to use the DSC Module as we are just simulating the process, Please find attached V.I of work to date. Any guidance and help would be greatly appreciated.
0 Kudos
Message 1 of 4
(8,202 Views)

So far you are just graphing some random values.  What about the feedback control?  Will you use PID?  As a start look at some of the process control examples that ship with LabVIEW.  In your case, just search forr "tank" and you will see several control examples that will get you started.

Help > Find Examples...  click the Search tab > type in: "tank".

 

The one called Simulation - Tank Level.vi should be interesting if you plan to use PID.

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
0 Kudos
Message 2 of 4
(8,189 Views)

Hi thanks for replying to me, I have attached a control VI I have been working on. I'm not sure would this be relevant to the overall programme and we dont get much help from our lecturers so any advice you could give would be greatly appreciated

0 Kudos
Message 3 of 4
(8,171 Views)

I've worked with LabVIEW for a couple years and have never seen a "Control and Simulation Loop". When I search for "tank" in example, the second result is "Simulation - Tank Level.vi". Look at that one like NIQuist said.

0 Kudos
Message 4 of 4
(8,158 Views)