Escolar Documentos
Profissional Documentos
Cultura Documentos
ROFF2
RS2
AN1516
Sensors
2 Freescale Semiconductor
AC Line
Control Module
Reference
Level
Liquid Level
in the Pipe
LEVEL SENSING THEORY corresponds to the change in the tank level is measured by the
pressure sensor.
If a pipe is placed vertically, with one end dipped into a
liquid and the other end opened, the level in the pipe will be
PRESSURE SENSOR CHOICE
exactly the same as the level in the tank. However, if the upper
end of the pipe is closed off and some air volume is trapped, In this example, a level sensing of 10 mm of water is
the pressure in the pipe will vary proportionally with the liquid desired. The equivalent pressure in kilo pascals is
level change in the tank. 0.09806kPa. In this case, Freescale’s temperature
For example, if we assume that the liquid is water and that compensated 0-10 kPa, MPXM2010GS is an excellent
the water level rises in the tank by 10 mm, then the pressure choice. The sensor output, with a pressure of 0.09806 kPa
in the pipe will increase by that same value (10 mm of water). applied, will result in 2.0 mV/kPa x 0.09806 = 0.196 mV.
A gauge pressure sensor has one side connected to the The sensing system is designed with an amplifier gain of
pipe (pressure side) and the other side open to ambient (in this about 1000. Thus, the conditioned signal voltage given by the
case, atmospheric) pressure. The pressure difference which module is 1000 x 0.196 mV = 0.196 V with 10 mm - H2O
pressure.
AN1516
Sensors
Freescale Semiconductor 3
P
MC78L08
+8 VDC
C1
TR 220 VAC
Offset Adjust Reference ADJ
ROFF R10 R11
N
MPXM2010GS R9
R7
3 + 4 TP2
- a1 1 Motor
2 TP1
3 2
R1 + R3 + 12
10
+ a3 R6 14
RG Gain ADJ 8 a4
1 4 - - 13 R8 MOC2A60
R2 R4 9
R
6 - D1 C
R5
a2 L
+ 7 TP3
RG = 500 Ω a1 . . . a4 = 1/4 MC33179
5 11 R1, R2 = 100 k D1 = MLED76
R5, R7 = 100 k MC7808ac = REGL 8 VDC
R3, R4 . . . R6 = 10 k TR = TRANSFORMER 220:12 V
R9 . . . R11 = 10 k C1 = 40 µF 40 V
R8 = 100
ROFF = 25 k var
Figure 4. Electrical Circuit
Max
Liquid
10 mm
Level Min
4.3 V
Pressure 0.4 V Ref (TP2)
Sensing
(TP1) 3.7 V
7.0 V
Trigger 0
Voltage
(TP3)
Pump
Voltage
(AC220V)
AN1516
Sensors
4 Freescale Semiconductor
LEVEL CONTROL MODES end of the tube is opened to atmosphere. When the tank is
filled to the desired maximum (or minimum) level, the pressure
This application describes two ways to keep the liquid level
sensor is connected to the tube with the desired port
constant in the tank; first, by pumping the water out if the liquid
configuration for the application. Then the water level in the
level rises above the reference, or second, by pumping the
tank is the reference.
water in if the liquid level drops below the reference.
After connecting the tube to the pressure sensor, the
If pumping water out, the pump must be OFF when the
module must be adjusted to control the water level. The output
liquid level is below the reference level. To turn the pump ON,
voltage at TP1 is preadjusted to about 4.0 V (half of the supply
the sensor signal must be decreased to drop the input to the
voltage). When the sensor is connected to the tube, the
Schmitt trigger below the reference voltage. To do this, the
module output is ON (lighted) or OFF. By adjusting the offset
sensing pipe must be connected to the NEGATIVE pressure
adjust potentiometer the output is just turned into the other
port (back or vacuum side) of the sensor. In the condition
state: OFF, if it was ON or the reverse, ON, if it was OFF, (the
when the pressure increases (liquid level rises), the sensor
change in the tank level may be simulated by moving the
voltage will decrease and the pump will turn ON when the
sensing tube up or down).
sensor output crosses the referenced level. As pumping
The reference point TP2 shows the ON/OFF reference
continues, the level in the tank decreases (thus the pressure
voltage, and the switching point of the module is reached
on the sensor decreases) and the sensor signal increases
when the voltage at TP1 just crosses the value of the TP2
back up to the trigger point where the pump was turned OFF.
voltage. The module is designed for about 10 mm of difference
In the case of pumping water into the tank, the pump must
level between ON and OFF (hysteresis).
be OFF when the liquid level is above the reference level. To
turn ON the pump, the sensor signal must be decreased to
CONCLUSION
drive the input Schmitt trigger below the reference voltage. To
do this, the sensing pipe must be connected to the POSITIVE This circuit design concept may be used to evaluate
pressure port (top side) of the sensor. In this configuration pressure sensors used as a liquid level switch. This basic
when the pressure on the sensor decreases, (liquid level circuit may be easily modified to provide an analog signal of
drops) the sensor voltage also decreases and the pump is the level within the controlled range. It may also be easily
turned ON when the signal exceeds the reference. As modified to provide tighter level control (±2 mm H2O) by
pumping continues, the water level increases and when the increasing the gain of the first amplifier stage (decreasing RG
maximum level is reached, the Schmitt trigger turns the pump resistor).
OFF. The circuit is also a useful tool to evaluate the performance
of the power optocoupler MOC2A60 when driving ac loads
ADJUSTMENTS directly.
The sensing tube is placed into the water at a distance
below the minimum limit level anywhere in the tank. The other
AN1516
Sensors
Freescale Semiconductor 5
NOTES
AN1516
Sensors
6 Freescale Semiconductor
NOTES
AN1516
Sensors
Freescale Semiconductor 7
How to Reach Us:
Home Page:
www.freescale.com
E-mail:
support@freescale.com
AN1516
Rev. 4
05/2005