Showing posts with label level. Show all posts
Showing posts with label level. Show all posts

Saturday, August 31, 2013

Controlling A Relay With A Digital Logic Level Circuit

Description 
The schematic below illustrates 4 methods of controlling a relay with a digital logic signal. Figure (A) can probably be used in most cases where the relay coil requires 100 mA or less and the input current is 2 milliamps or more. The resistor value (R) is determined from the input voltage and the available current. For example, a 5 volt input signal supplying 2 milliamps would require (5-.7)/.002 = 2150 ohms, or a 2.2K standard value. If the transistor has a minimum current gain of 50, there will be 100 mA of current available for the relay coil. The following table shows various resistor values that can be used to obtain various relay coil currents assuming a transistor current gain of 50 such as the 2N3053. 74XX refers to standard TTL logic, 74LSXX refers to low power TTL logic, 74HC is high speed CMOS and CD40XX is the older CMOS devices. The currents given are approximate values and may not be correct for all devices but should be close. 
Input Voltage - Input Current - Relay coil current - Standard Resistor

  • 4 - 74LSXX .0004 - 20 milliamps - 8.2K
  • 4 - 74XX .0008 - 40 milliamps - 4.3K
  • 4 - 74SXX .001 - 50 milliamps - 3.3K
  • 5 - 74HCXX .004 - 200 milliamps - 1K
  • 6 - 74HCXX .004 - 200 milliamps - 1.3K
  • 5 - CD40XX .0003 - 15 milliamps - 13K
  • 12 - CD40XX .0006 - 30 milliamps - 18K
Figure B can be used when the input voltage is the same as the relay coil voltage. The voltage on the emitter of the transistor will be about 0.7 volts less than the input, so a 12 volt relay would operate on 11.3 which should be close enough. No resistor is needed since the emitter follower configuration presents a high impedance at the input. The input current will be the relay coil current divided by the transistor gain. For example a 120 ohm relay coil will draw 100 mA at 12 volts and if the transistor gain is 50, the input current will be about 2 milliamps.
Figure C can be used to provide additional gain when the input current is very small. You can also use a Darlington transistor in place of the two transistors which is a better approach, but this idea works just as well when you dont have a Darlington transistor handy. The overall gain will be the product of the individual gains of the two transistors or about 2500 for two transistor with a gain of 50 each. This will enable supplying over 250 mA to the relay with only 100 microamps of input current. The R value will depend on the input voltage and current and gain of the first transistor. For example, using a 5 volt input and 100 microamp current and transistor gain of 50, the R value will be 5 minus two diode drops (5 - 1.4) divided by the input current times 50, or about (5 - 1.4) / (.0001 * 50) = about 750 ohms. So this setup can be used when controlling heavy duty relays with low power CMOS logic signals.
Figure D can be used to reverse the relay action so that it engages when the input is low and disengages when the input is high. The R value is determined the same as in Figure A. The R1 value should be high enough to ensure saturation of the first stage and low enough to saturate the second stage. For example, if a 12 volt relay coil requires 100 mA and the driving transistor gain is 50, then the base current will be 100/50= 2 mA and the R1 value must be less than 6000 ohms so that 2 mA does not drop more than the supply voltage of 12. If the first transistor gain is 50 and the input current is 100 microamps, the collector current will be 5 mA and the R1 value must be greater than 2400 ohms so that 5 mA drops the entire supply voltage of 12. So we need to select something between these two limits of 2.4K to 6K, something around 4.3K would be near the midrange.
Circuit Diagram
{ Read More }


Friday, July 12, 2013

Numeric Water Level Indicator

Most water-level indicators for water tanks are based upon the number of LEDs that glow to indicate the corresponding level of water in the container. Here we present a digital version of the water-level indicator.    It uses a 7-segment display to show the water level in numeric form from0 to 9. The circuit works off 5V regulated power supply. It is built around priority encoder IC 74HC147 (IC1), BCD-to-7-segment decoder IC CD4511 (IC2), 7-segment display LTS543 (DIS1) and a few discrete components. Due to high input impedance, IC1 senses water in the container from its nine input terminals. The inputs are connected to +5V via 560-kilo-ohm resistors.

Numeric Water-Level Indicator Circuit diagram 


The ground terminal of the sensor must be kept at the bottom of the container (tank). IC 74HC147 has nine active-low inputs and converts the active input into active-low BCD output. The input L-9 has the highest priority. The outputs of IC1 (A, B, C and D) are fed to IC2 via transistors T1 through T4. This logic inverter is used to convert the active-low output of IC1 into active-high for IC2. The BCD code received by IC2 is shown on 7-segment display LTS543. Resistors R18 through R24 limit the current through the display.

When the tank is empty, all the inputs of IC1 remain high. As a result, its output also remains high, making all the inputs of IC2 low. Display LTS543 at this stage shows 0, which means the tank is empty. Similarly, when the water level reaches L-1 position, the display shows 1, and when the water level reaches L-8 position, the display shows 8. Finally, when the tank is full, all the inputs of IC1 become low and its output goes low to make all the inputs of IC2 high. Display LTS543 now shows 9, which means the tank is full. Assemble the circuit on a general-purpose PCB and enclose in a box. Mount 7-segment LTS543 on the front panel of the box. For sensors L-1 though L-9 and ground, use corrosion-free conductive-metal (stainless-steel) strips.
{ Read More }


Tuesday, July 9, 2013

Dual Level Liquid Sensor

This level liquid sensor electronic circuit diagram is based on a common Ca3410 operational amplifier IC . This level liquid sensor electronic circuit use two plates sensors ( two probes ) , one for the high level an one for low level .

Dual Level Liquid Sensor Circuit Diagram


If the level of the liquid is not in the adjusted range the LED will glow . The circuit require just a CA3410 operational amplifier and other few common components . This dual liquid level sensor require a 15 volt DC power supply circuit .
{ Read More }


IconIconIconFollow Me on Pinterest