From 11:00 PM CST Friday, Feb 14th - 6:30 PM CST Saturday, Feb 15th, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Help designing a simulation of a 'water Level Control System'

Hello, I am new to LabVIEW and I am working on a water level control system with 2 tanks and a PID controller. I am having trouble implementing the system in LabVIEW and was wondering if you could provide some guidance. I have a picture of the system and I was wondering if someone could post a solution. The system is called 'Water Level Controller' and here is a picture of it. Any help would be greatly appreciated. Thank you! 

0 Kudos
Message 1 of 3
(650 Views)

So think about what you will need the control system to do. 

 

You need to read the water level, so what function would you use to do that? 

Once you have read the water level, you'll need to apply some kind of T/F logic to a filling function.

See what you can build yourself and then people can point you in the right direction. 

 

Far better to learn that way than someone produce it for you. 

0 Kudos
Message 2 of 3
(636 Views)

Hi ophelia,

 


@.opheliac. wrote:

I am working on a water level control system with 2 tanks and a PID controller. I am having trouble implementing the system in LabVIEW and was wondering if you could provide some guidance.


This sounds like (very familiar) homework…

 

What have you tried so far? Where are you stuck?

You can setup the PID function to automatically scale the output (Y) to the desired 0…10V range with a pv of 4…20mA - that's just a question of the right PID gains (specifically P gain)!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 3 of 3
(622 Views)