03-27-2025 04:06 AM
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
03-27-2025 04:13 AM - edited 03-27-2025 04:15 AM
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 have you tried and what are your specific questions?
03-27-2025 04:22 AM
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
03-27-2025 05:13 AM
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…
03-27-2025 11:39 AM - edited 03-27-2025 11:40 AM
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.