Previous in Forum: Diesel Engine Monitoring and Control Systems   Next in Forum: WHY DO WE USE A mA CONVERTER ON A THERMOCOUPLE?
Close
Close
Close
28 comments
Rate Comments: Nested
Commentator

Join Date: Aug 2008
Posts: 56

Level Control - Tank with Two Level Switches

10/02/2008 1:17 AM

Dear all,

Could any one please tell me how can i draw a logic diagram of level control of a tank with two level switches one at bottom(S1) and other at top(S2). such that when level is below S1 valve opens for flow of liquid and when level is above S2, inlet valve closes and remains closed untill level falls below S1. No control required for outlet flow. Please help me i m a beginner. Prompt reply is required

Thanks.

Register to Reply
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.

"Almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, vote them!
Guru
Popular Science - Weaponology - New Member United Kingdom - Member - New Member

Join Date: May 2007
Location: Harlow England
Posts: 16512
Good Answers: 670
#1

Re: Level control of tank

10/02/2008 5:55 AM

I think Wikipedia has a good section on PLCs and logic diagrams.

I personally find squared paper and a pencil is the best start point.

Del

__________________
health warning: These posts may contain traces of nut.
Register to Reply
Guru
India - Member - New Member Engineering Fields - Electromechanical Engineering - New Member

Join Date: Oct 2006
Location: India, 200 Km. North of Delhi.
Posts: 1393
Good Answers: 53
#2

Re: Level control of tank

10/02/2008 7:22 AM

This can be simply done by an analogue circuit, But it seams you want a digital one,

Just convert signals from S1 and S2 in digital form by a snap trigger and feed it to an "AND" gate that can control an SPDT electromagnetic relay, connect your valve with the relay in right manner,

Sorry I don't have luxury of making Logic diagram on my home PC.as its national holiday today.

Register to Reply
Commentator

Join Date: Jun 2008
Location: Brick, NJ
Posts: 71
Good Answers: 8
#3

Re: Level Control - Tank with Two Level Switches

10/02/2008 10:56 PM

I'm going to try some ASCII art here, so I hope this works for you.

----S1-----S2-------------(R1)---

|---R1--|

Ugly, I know. S1 closes on a falling level. S2 closes on a falling level. R1 uses two normally open contacts. One is used to seal in the R1 coil when S1 closes. The other will open the valve.

When the tank is below S1, R1 is energized. The R1 contacts will close. This will open the valve and will also form a path around S1 for when the liquid level rises above S1. The valve will stay open until the level rises above S2. This will deenergize R1 and close the valve. This will also unseal the path around S1. The valve will stay closed until the level drops below S1.

__________________
Do this. Don't do that. Can't you redesign?
Register to Reply Score 1 for Good Answer
Anonymous Poster
#5
In reply to #3

Re: Level Control - Tank with Two Level Switches

10/03/2008 5:37 AM

Thank you very much. I am great thankfull to you.

Register to Reply Off Topic (Score 4)
Power-User

Join Date: May 2008
Location: Europe
Posts: 285
Good Answers: 9
#4

Re: Level Control - Tank with Two Level Switches

10/03/2008 3:12 AM

RAJ KUMAR, Not sure if this is what you are looking for but here goes anyway:

Switch S1Low Level Switch:

On when liquid level below switch, Off when liquid level above switch

Switch S2High Level Switch:

On when liquid level below switch, Off when liquid level above switch

Valve V1Liquid Supply valve, Open when energised.

In addition you should check for the condition:

S1 On and S2 Off. If this case arises then something is wrong with your switches so you need to do something.

I would also be inclined to have a max duration that the valve can be opened at any time, for example if it takes 3minutes to fill the tank normally (whatever normally is) then the valve should stay open for a max of say 3minutes 30sec's to prevent overfilling of the tank.

Kind Regards

Mr. W.A Snow

Register to Reply
Associate

Join Date: Aug 2007
Location: New Delhi, India
Posts: 33
#6

Re: Level Control - Tank with Two Level Switches

10/03/2008 8:22 AM

Hi Raj

Use this circuit diagram to start and stop the starter of your motor.

Hope I am able to clear your requirement. Do revert with your views.

regards,

Ashish

__________________
Ashish Gupta
Register to Reply
Commentator

Join Date: Aug 2008
Posts: 56
#14
In reply to #6

Re: Level Control - Tank with Two Level Switches

10/03/2008 11:07 PM

Dear Ashish

Problem is that doing this will cause the level to fluctuate at high level only i want to start the motor when level is below lower switch.

May be i need a motor contact to bypass lower switch when motor is start.

Register to Reply
Associate

Join Date: Aug 2007
Location: New Delhi, India
Posts: 33
#20
In reply to #14

Re: Level Control - Tank with Two Level Switches

10/06/2008 1:51 AM

Dear Raj,

The circuit I had provided will start the motor at low level and stop the motor at high level. Do look into the circuit. Hope it will resolve all your problems.

regards,

ashish

__________________
Ashish Gupta
Register to Reply
Power-User
United States - Member - New Member

Join Date: Aug 2008
Location: KY, USA
Posts: 367
Good Answers: 18
#7

Re: Level Control - Tank with Two Level Switches

10/03/2008 9:19 AM

This circuit can be wired easily without the use of a PLC. S1 should use Normally Open (N.O.) contacts and S2 should use Normally Closed contacts (N.C.) then all you have to do is wire the two switches in series with the hot wire for the valve.

Good Luck!

__________________
The most valuable of all talents is that of never using two words when one will do. ~Thomas Jefferson
Register to Reply Score 1 for Off Topic
Guru
Engineering Fields - Manufacturing Engineering - New Member Hobbies - Target Shooting - New Member United States - Member - New Member Hobbies - Hunting - New Member

Join Date: Dec 2006
Location: Charlotte, NC USA
Posts: 791
Good Answers: 17
#8
In reply to #7

Re: Level Control - Tank with Two Level Switches

10/03/2008 10:14 AM

Not sure that would work, wouldn't the flow stop when the level reached S1? thus the tank would never fill?

__________________
Be careful of what you wish for .....
Register to Reply
Commentator

Join Date: Apr 2008
Posts: 59
Good Answers: 2
#9
In reply to #7

Re: Level Control - Tank with Two Level Switches

10/03/2008 10:20 AM

You missed the latch!

The other circuits are correct though.

Register to Reply
Power-User
United States - Member - New Member

Join Date: Aug 2008
Location: KY, USA
Posts: 367
Good Answers: 18
#12
In reply to #9

Re: Level Control - Tank with Two Level Switches

10/03/2008 3:26 PM

Sorry for the careless mistake.

Try this instead:

__________________
The most valuable of all talents is that of never using two words when one will do. ~Thomas Jefferson
Register to Reply
Commentator

Join Date: Jun 2008
Location: Brick, NJ
Posts: 71
Good Answers: 8
#10
In reply to #7

Re: Level Control - Tank with Two Level Switches

10/03/2008 2:38 PM

Using the names normally open and normally closed when dealing with level switches is ambiguous. Do they close on rise, or do they close on falling level? If when the tank is empty, you are saying that S1 is open, then what opens the valve? S1 will need to close on a falling level so that the valve can open. If this is the case, then as soon as the water level rises above S1 it will open and the valve will close. The tank will not rise above the level of S1.

Picture it as a 3 wire motor starter circuit. S1 would be the Start button and S2 would be the Stop button. You need a seal in contact around S1 to maintain power to the valve until S2 is reached and the circuit will open. The circuit will remain off until the level drops below both S1 and S2.

There is no PLC required, however you do need one 2-pole relay.

__________________
Do this. Don't do that. Can't you redesign?
Register to Reply Score 1 for Good Answer
Guru
Popular Science - Weaponology - New Member United Kingdom - Member - New Member

Join Date: May 2007
Location: Harlow England
Posts: 16512
Good Answers: 670
#11
In reply to #10

Re: Level Control - Tank with Two Level Switches

10/03/2008 3:21 PM

Using the names normally open and normally closed when dealing with level switches is ambiguous.

You are SOOOO right...you wouldn't believe the phone converations I've had whilst waving my paws in the air and slapping my furry head in exasperation on that very point..

Come to think of it...I expect you would

Del

__________________
health warning: These posts may contain traces of nut.
Register to Reply Off Topic (Score 5)
Anonymous Poster
#22
In reply to #11

Re: Level Control - Tank with Two Level Switches

10/07/2008 6:09 AM

what sort of knob are you ?

"slapping my furry head " you truly are a muppett.

rgds sparkstation

Register to Reply Off Topic (Score 5)
Power-User
United States - Member - New Member

Join Date: Aug 2008
Location: KY, USA
Posts: 367
Good Answers: 18
#13
In reply to #10

Re: Level Control - Tank with Two Level Switches

10/03/2008 3:37 PM

I see your point. I tend to think of a float switch as inactive when not floating.

__________________
The most valuable of all talents is that of never using two words when one will do. ~Thomas Jefferson
Register to Reply Off Topic (Score 5)
Guru

Join Date: Jul 2008
Location: Mallorca, Spain
Posts: 567
Good Answers: 15
#26
In reply to #10

Re: Level Control - Tank with Two Level Switches

10/08/2008 5:03 PM

The terms N.O. and N.C. should always refer to the condition that the contact would take un-operated. As water operates the switches, although the lower switch is usually seen open it is nonetheless a N.C. switch, since it is the absence of water that rather than the water that it is detecting.

If, for clarity, a diagram wishes to show a N.C. switch in its usual position, as is the case with the lower switch, then the diagram should be noted with the condition in which it is depicted.

Kind regards

Chas

__________________
En la casa del herrero, cuchillos de palo!
Register to Reply
Power-User
United States - Member - New Member

Join Date: Aug 2008
Location: KY, USA
Posts: 367
Good Answers: 18
#27
In reply to #26

Re: Level Control - Tank with Two Level Switches

10/09/2008 9:01 AM

----

__________________
The most valuable of all talents is that of never using two words when one will do. ~Thomas Jefferson
Register to Reply Off Topic (Score 5)
Participant

Join Date: Aug 2007
Posts: 4
#15

Re: Level Control - Tank with Two Level Switches

10/04/2008 12:50 AM

Why not use continuous level device? With 4-20mA signal for inlet valve control.

Register to Reply Score 1 for Off Topic
Commentator

Join Date: Jun 2008
Location: Brick, NJ
Posts: 71
Good Answers: 8
#23
In reply to #15

Re: Level Control - Tank with Two Level Switches

10/07/2008 10:28 PM

You can typically answer any question that starts with "Why not" with the word "Money". You need to fit the solution to the problem. If all you need is a supply of liquid to a production line for example, you don't care about level, only that a supply is available when needed. A continuous level transmitter is more expensive than 2 float switches. A modulating valve is more expensive than a block valve. You also need a controller to maintain a setpoint. That is an additional expense. All of these parts also require more maintenance than their discrete counterparts.

You always need to be aware of the return on investment for any design. The purpose of producing anything is to make money. The quicker a production line is paid off, the quicker it can start making you money. This is not to say that you can cut corners where safety is concerned, but if a less expensive design will accomplish the same goal you are bound to use it.

__________________
Do this. Don't do that. Can't you redesign?
Register to Reply Off Topic (Score 5)
Guru
India - Member - New Member Engineering Fields - Electromechanical Engineering - New Member

Join Date: Oct 2006
Location: India, 200 Km. North of Delhi.
Posts: 1393
Good Answers: 53
#16

Re: Level Control - Tank with Two Level Switches

10/05/2008 2:06 AM

S1

S2

QI

Q2

Q3

Q4

Q5

REALY

STATUS

0

0

0

0

0

0

0

CLOSED

0

1

0

1

0

1

0 N/Applicable in your case

CLOSED

1

0

1

0

0

1

0

CLOSED

1

1

1

1

1

1

1

OPEN

1

0

1

1

1

1

1(latch)

OPEN

0

1

0

1

0

1

0 N/Applicable in your case

CLOSED

0

0

0

0

0

0

0

CLOSED

Hello Rajkumar above is the circuit schematic and the logic diagram, I believe it should work for you,

Regards

Register to Reply
Member

Join Date: May 2008
Posts: 8
#17

Re: Level Control - Tank with Two Level Switches

10/05/2008 4:04 AM

The logic diagrahm are u referring to a PLC LADDER DIAGRAHM or what

Register to Reply
Commentator

Join Date: Aug 2008
Posts: 56
#19
In reply to #17

Re: Level Control - Tank with Two Level Switches

10/05/2008 10:28 PM

Can it be drawn using AND/OR gates?

Register to Reply
Power-User
United States - Member - New Member

Join Date: Aug 2008
Location: KY, USA
Posts: 367
Good Answers: 18
#21
In reply to #19

Re: Level Control - Tank with Two Level Switches

10/06/2008 9:54 AM

This Boolean gate diagram is equivalent to the ladder diagram drawn in comment #12.

The diagrams are drawn assuming that the switches pass current when not submerged, so the circuit will be true when the tank is completely empty. If your switches function the opposite way (only pass current when submerged) then 'NOT gates' can be added in line with the switches to make the circuit work the same way. In either case a control relay is needed.

Sequence of Operation:

  1. Assuming the switches pass current when not submerged, the switchs S1 and S2 provide a path to the outputs when no water is in the tank. This energizes V1 allowing fluid into the tank and energizes R1 for circuit control.
  2. Fluid in the tank fills to the level of S1, then S1 stops passing current. (The circuit output is still true because the contact R1-1 still satisfies the OR gate.)
  3. Fluid continues to fill the tank untill level reaches S2, then S2 stops passing current, and the AND gate is no longer satisfied. This de-energizes the outputs.
  4. When R1 is de-energized the contact R1-1 is no longer satisfied so the OR gate will not be satisfied again untill the fluid level drops below the level of S1, and the cycle repeats itself.

__________________
The most valuable of all talents is that of never using two words when one will do. ~Thomas Jefferson
Register to Reply Score 1 for Good Answer
Guru

Join Date: Jul 2008
Location: Mallorca, Spain
Posts: 567
Good Answers: 15
#25
In reply to #21

Re: Level Control - Tank with Two Level Switches

10/08/2008 4:46 PM

Sorry eelectrician but that circuit is abit cock eyed! Who would put a relay in that circuit?

If you have the logic then you would use a simple latch, Lower switch sets the latch and gives an output and the upper switch resets it, clearing the output. The relay, now it is spare, can be used to drive the valve motor as the logic is unlikely to have the neccesary power.

regards

chas

__________________
En la casa del herrero, cuchillos de palo!
Register to Reply
Power-User
United States - Member - New Member

Join Date: Aug 2008
Location: KY, USA
Posts: 367
Good Answers: 18
#28
In reply to #25

Re: Level Control - Tank with Two Level Switches

10/09/2008 9:05 AM

In the original question Raj Kumar lists the items that he has to work with - two level switches one at bottom(S1) and other at top(S2). such that when level is below S1 valve opens. Since Raj made no mention of a circuit board, so the most likely assumption is that he is doing this with hard-wiring.

Raj also states that he/she is a novice, and based on his statement, "Can it be drawn using AND/OR gates?" I don't think that he can read ladder logic, so I redrew the circuit using logic gates for his/her convenience.

But your statement is correct. If for some reason Ray chooses to do the logic with a circuit board (which would require him to purchase a circuit board, chips, a power supply, and a relay), then he would have to use the relay as the output, and power the solenoid through the relay's contacts.

__________________
The most valuable of all talents is that of never using two words when one will do. ~Thomas Jefferson
Register to Reply
Power-User

Join Date: Jun 2008
Location: TR
Posts: 142
Good Answers: 1
#18

Re: Level Control - Tank with Two Level Switches

10/05/2008 7:55 PM

Hi RK,

Here is a common way for 2 point level control.

Both S1 and S2 level relays are activated while NOT immersed in liquid (if S1 and/or S2 are working in contrary then use NC terminals instead of NO simply). I assumed with this sketch that your pump required 3 ph. power.

If liquid level is under S1-level then pump is activated until liquid level is reached the S2-level. An auxillary open contact of PR relay -contactor - is used to lock the PR itself.

regards

Register to Reply Score 1 for Good Answer
Guru
United Kingdom - Member - Indeterminate Engineering Fields - Control Engineering - New Member

Join Date: Jan 2007
Location: In the bothy, 7 chains down the line from Dodman's Lane level crossing, in the nation formerly known as Great Britain. Kettle's on.
Posts: 32175
Good Answers: 839
#24

Re: Level Control - Tank with Two Level Switches

10/08/2008 3:16 AM

Wow! What a lot of homework help....

__________________
"Did you get my e-mail?" - "The biggest problem in communication is the illusion that it has taken place" - George Bernard Shaw, 1856
Register to Reply
Register to Reply 28 comments

"Almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, vote them!
Copy to Clipboard

Users who posted comments:

andrew_ward (3); Anonymous Poster (2); ashuashi (2); capblanc (2); Critcho (1); EElectrician (6); feridun (1); franklin.s (1); HoleInTheSnow (1); Labyguy (1); Letimus (1); PWSlack (1); RAJ KUMAR (2); rakesh_semwal (2); user-deleted-1105 (2)

Previous in Forum: Diesel Engine Monitoring and Control Systems   Next in Forum: WHY DO WE USE A mA CONVERTER ON A THERMOCOUPLE?

Advertisement