LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

3 water pump design

A tank has 3 water supply pumps
• Operation requirements are:
+ When the water level is below sensor level 1, the system starts
+ When the water level is between CB1 and CB2, all 3 pumps operate
+ When the water level is between CB2 and CB3, pump 1 and pump 2 operate
+ When the water level is between CB3 and CB4, only pump 1 operates

+ When the water level reaches CB4, the system stops operating
Screenshot 2025-03-27 160415.png

0 Kudos
Message 1 of 5
(198 Views)

Hi nvt,

 


@nvl16 wrote:

A tank has 3 water supply pumps
• Operation requirements are:
+ When the water level is below sensor level 1, the system starts
+ When the water level is between CB1 and CB2, all 3 pumps operate
+ When the water level is between CB2 and CB3, pump 1 and pump 2 operate
+ When the water level is between CB3 and CB4, only pump 1 operates

+ When the water level reaches CB4, the system stops operating


Sounds like a nice homework to create a simple LabVIEW VI.

Is it homework?

 

  • What is "sensor level 1"? It's not mentioned in the image...
  • What should happen when the water level is below CB1? (It's undefined in your list.)
  • What do you mean by "system starts"/"system stops"? Does that apply to your code or to the hardware system?
  • Is this just a simulation or is real hardware involved? Which hardware do you plan to use?

What have you tried and what are your specific questions?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 5
(193 Views)

Hello GerdW, thank for reply

 

Yes this is my homework
The level 1 sensor is CB1, when the water is lower than CB1 then all 3 taps start flowing which means the system starts working.
The system will stop when the water reaches sensor CB4.
I need to design a LABView system with 3 lights representing 3 pump taps and 4 lights representing 4 sensor levels.

If you can help me design it would be great

 

Best regards,

nvl16

 

0 Kudos
Message 3 of 5
(182 Views)

Hi nvl,

 


@nvl16 wrote:

The level 1 sensor is CB1, when the water is lower than CB1 then all 3 taps start flowing which means the system starts working.


Why do you need CB1 when all 3 pumps should run when the level is below CB2?

(Ok, I see this will only be used as trigger to start the pumps.)

 


@nvl16 wrote:

Yes this is my homework

If you can help me design it would be great


Sure.

In general we don't provide homework for free, but we provide answers to specific questions.

Do you have any specific questions?

 


@nvl16 wrote:

I need to design a LABView system with 3 lights representing 3 pump taps and 4 lights representing 4 sensor levels.


So start by creating a VI with several LED indicators on its frontpanel.

How do you want to determine/define the water level?

Is there a relation specified for "water level" vs. "pumps in operation"?

 


@nvl16 wrote:

The level 1 sensor is CB1, when the water is lower than CB1 then all 3 taps start flowing which means the system starts working.
The system will stop when the water reaches sensor CB4.


Simple pseudocode:

 

 

pump1=pump2=pump3=OFF
genericpumpswitch=OFF
loop:
  CB1 = waterlevel < 20%
  CB2 = waterlevel < 40%
  CB3 = waterlevel < 60%
  CB4 = waterlevel < 80%
  genericpumpswitch = genericpumpswitch OR CB1
  genericpumpswitch = genericpumpswitch AND CB4
  pump1 = genericpumpswitch AND CB4
  pump2 = genericpumpswitch AND CB3
  pump3 = genericpumpswitch AND CB2
endloop

 

 

See how far you get and how good you understand that pseudocode…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 4 of 5
(149 Views)

One critical aspect has not been mentioned. Timing!

 

If this should be a dynamic simulation, I assume that running any pump will increase the level, while opening the (unlabeled) drain valve would decrease the level.

To simulate this system, we need to know the tank volume as a function of tank level, the initial level (empty?) the flow rates of all three pumps, as well as the flow rate of the drain valve as a function of tank level.

 

Or is this just a static simulation where the "tank level" is a control operated by the user and the LEDs just light up according to the setting by the user?

 

I recommend to go back and ask your teacher about the more detailed requirements.

0 Kudos
Message 5 of 5
(102 Views)