Tech Search

Custom Search

Wednesday, September 21, 2011

PROXIMITY SENSORs


PROXIMITY SENSOR
A proximity sensor detects an object when the object approaches within the detection boundary of the sensor. Proximity sensors are used in various facets of manufacturing for detecting the approach of metal objects. 
Various types of proximity sensors are used for detecting the presence or absence of an object. The design of a proximity sensor can be based on a number of principles of operation, some examples include: variable reluctance, eddy current loss, saturated core, and Hall Effect. Depending on the principle of operation, each type of sensor will have different performance levels for sensing different types of objects. 

Common types of non-contact proximity sensors include inductive proximity sensors, capacitive proximity sensors, ultrasonic proximity sensors, and photoelectric sensors. Hall-effect sensorsdetect a change in a polarity of a magnetic field. 
Variable reluctance sensors typically include a U-type core and coils wound around the core legs. Inductive proximity sensors have a lossy resonant circuit (oscillator) at the input side whose loss resistance can be changed by the proximity of an electrically conductive medium. 
An electrical capacitance proximity sensor converts a variation in electrostatic capacitance between a detecting electrode and a ground electrode caused by approaching the nearby object into a variation in an oscillation frequency, transforms or linearizes the oscillation frequency into a direct current voltage, and compares the direct current voltage with a predetermined threshold value to detect the nearby object. 

Ultrasonic sensing systems provide a much more efficient and effective method of longer range detection. These sensors require the use of a transducer to produce ultrasonic signals. 
Eddy-current proximity sensors are well known and operate on the principle that the impedance of an ac-excited electrical coil is subject to change as the coil is brought in close proximity to a metallic object. 

Proximity sensors often are employed in manufacturing industries in which the sensors are exposed to harsh environmental conditions. Inductive proximity sensors are used in automation engineering to define operating states in automating plants, production systems and process engineering plants.
Magnetic proximity detectors are commonly used on ski lifts and tramways for detecting a derope condition of the steel cable used as a haul line or haul rope. 
Proximity sensors are widely used in the automotive industry to automate the control of power accessories. For instance, proximity sensors are often used in power window controllers to detect the presence of obstructions in the window frame when the window pane is being directed to the closed position.

Friday, September 16, 2011

IC ULN 2803 driver circuit

IC ULN 2803 driver circuit
A ULN2803 is an Integrated Circuit (IC) chip with a High Voltage/High Current Darlington Transistor Array. It allows you to interface TTL signals. A TTL signal operates from 0-5V, with everything between 0.0 and 0.8V considered "low" or off, and 2.2 to 5.0V being considered "high" or on. The maximum power available on a TTL signal depends on the type, but generally does not exceed 25mW (~5mA @ 5V), so it is not useful for providing power to something like a relay coil. Computers and other electronic devices frequently generate TTL signals. On the output side the ULN2803 is generally rated at 50V/500mA, so if can operate small loads directly. 
Alternatively, it is frequently used to power the coil of one or more relays, which in turn allow even higher voltages/currents to be controlled by the low level signal. In electrical terms, the ULN2803 uses the low level (TTL) signal to switch on/turn off the higher voltage/current signal on the output side. The ULN2803 comes in an 18-pin IC configuration and includes eight (8) transistors. Pins 1-8 receive the low level signals; pin 9 is grounded (for the low level signal reference). Pin 10 is the common on the high side and would generally be connected to the positive of the voltage you are applying to the relay coil. Pins 11-18 are the outputs (Pin 1 drives Pin 18, Pin 2 drives 17, etc.).
The ULN2803 is a small integrated circuit that contains 8 transistor driver channels. Each channel has an input to a resistor connected to the base of a transistor and a 1 amp open collector output capable of handling up to about 30volts .Each of the collectors has a reverse biased diode connected to a common Vcc pin that provides inductive spike protection. Typical uses are for micro-processor interfaces to relays, lamps, solenoids and small motors. A 2803 with a set of relays is a simple and effective way of switching mains voltages for example.
Driver Features 
• TTL, DTL, PMOS, or CMOS Compatible Inputs 
• Output Current to 500 mA 
• Output Voltage to 95 V 
• Transient-Protected Outputs 
• Dual In-Line Package or Wide-Body Small-Outline Package 

Wednesday, September 14, 2011

Relay Vs Switch
A relay is an electrically operated switch. Current flowing through the coil of the relay creates a magnetic field which attracts a lever and changes the switch contacts. The coil current can be on or off so relays have two switch positions and they are double throw (changeover) switches. 

Relays allow one circuit to switch a second circuit which can be completely separate from the first. For example a low voltage battery circuit can use a relay to switch a 230V AC mains circuit. There is no electrical connection inside the relay between the two circuits; the link is magnetic and mechanical. The coil of a relay passes a relatively large current, typically 30mA for a 12V relay, but it can be as much as 100mA for relays designed to operate from lower voltages. 
Most ICs (chips) cannot provide this current and a transistor is usually used to amplify the small IC current to the larger value required for the relay coil. The maximum output current for the popular 555 timer IC is 200mA so these devices can supply relay coils directly without amplification. 
Relays are usually SPDT or DPDT but they can have many more sets of switch contacts, for example relays with 4 sets of changeover contacts are readily available. For further information about switch contacts and the terms used to describe them please see the page on switches. Most relays are designed for PCB mounting but you can solder wires directly to the pins providing you take care to avoid melting the plastic case of the relay. The supplier's catalogue should show you the relay's connections. The coil will be obvious and it may be connected either way round. Relay coils produce brief high voltage 'spikes' when they are switched off and this can destroy transistors and ICs in the circuit. To prevent damage you must connect a protection diode across the relay coil. The animated picture shows a working relay with its coil and switch contacts.
You can see a lever on the left being attracted by magnetism when the coil is switched on. This lever moves the switch contacts. There is one set of contacts (SPDT) in the foreground and another behind them, making the relay DPDT. 
The relay's switch connections are usually labeled COM, NC and NO: 
• COM = Common, always connect to this,it is the moving part of the switch. 
• NC = Normally Closed, 
COM is connected to this when the relay coil is off.
• NO = Normally Open, COM is connected to this when the relay coil is on. 
• Connect to COM and NO if you want the switched circuit to be on when the relay coil is on. 
• Connect to COM and NC if you want the switched circuit to be on when the relay coil is off. 
 Choosing a relay You need to consider several features when choosing a relay: 
1. Physical size and pin arrangement If you are choosing a relay for an existing PCB you will need to ensure that its dimensions and pin arrangement are suitable. You should find this information in the supplier's catalogue. 
2. Coil voltage The relay's coil voltage rating and resistance must suit the circuit powering the relay coil. Many relays have a coil rated for a 12V supply but 5V and 24V relays are also readily available. Some relays operate perfectly well with a supply voltage which is a little lower than their rated value. 
3. Coil resistance The circuit must be able to supply the current required by the relay coil. You can use Ohm's law to calculate the current: Relay coil current = supply voltage coil resistance 
4. For example: A 12V supply relay with a coil resistance of 400 passes a current of 30mA. This is OK for a 555 timer IC (maximum output current 200mA), but it is too much for most ICs and they will require a transistor to amplify the current. 
5. Switch ratings (voltage and current) The relay's switch contacts must be suitable for the circuit they are to control. You will need to check the voltage and current ratings. Note that the voltage rating is usually higher for AC, for example: "5A at 24V DC or 125V AC". 
6. Switch contact arrangement (SPDT, DPDT etc) Most relays are SPDT or DPDT which are often described as "single pole changeover" (SPCO) or "double pole changeover" (DPCO). For further information please see the page on switches. 
Protection diodes for relays Transistors and ICs (chips) must be protected from the brief high voltage 'spike' produced when the relay coil is switched off. The diagram shows how a signal diode (e.g. 1N4148) is connected across the relay coil to provide this protection. Note that the diode is connected 'backwards' so that it will normally not conduct. Conduction only occurs when the relay coil is switched off, at this moment current tries to continue flowing through the coil and it is harmlessly diverted through the diode. Without the diode no current could flow and the coil would produce a damaging high voltage 'spike' in its attempt to keep the current flowing. 
Advantages of relays: • Relays can switch AC and DC, transistors can only switch DC. • Relays can switch high voltages, transistors cannot. • Relays are a better choice for switching large currents (> 5A). • Relays can switch many contacts at once.
Disadvantages of relays: • Relays are bulkier than transistors for switching small currents. • Relays cannot switch rapidly (except reed relays), transistors can switch many times per second. • Relays use more power due to the current flowing through their coil. • Relays require more current than many chips can provide, so a low power transistor may be needed to switch the current for the relay's coil.

Tuesday, September 13, 2011


LIQUID CRYSTAL DISPLAY 
Liquid crystal cell displays (LCDs) are used in similar applications where LEDs are used. LCD displays are common in Engineering applications and play a vital role.  These applications are display of numeric and alphanumeric characters in dot matrix and segmental displays. Now a days Computer monitors and TV, Watches and advertisements  use  LCD technology for display. LCD display produces high quality images and thinner compared with CRT technologies. The basic idea behind the working of LCD is given here. 

LCDs are of two types: 
I. Dynamic scattering type 
II. Field effect type 
The construction of a dynamic scattering liquid crystal cell:
The liquid crystal material may be one of the several components, which exhibit optical properties of a crystal though they remain in liquid form. Liquid crystal is layered between glass sheets with transparent electrodes deposited on the inside faces. When a potential is applied across the cell, charge carriers flowing through the liquid disrupt the molecular alignment and produce turbulence. When the liquid is not activated, it is transparent. When the liquid is activated the molecular turbulance causes light to be scattered in all directions and the cell appeas to be bright.This phenomenon is called dyanamic scattering. 
The construction of a field effect liquid crystal display 
This is similar to that of the dynamic scattering type,with the exception that two thin polarizing optical filters are placed at the inside of each glass sheet. The liquid crystal material in the field effect cell is also of different type from employed in the dynamic scattering cell. The material used is twisted nemayic type and actually twists the light passing through the cell when the latter is not energised. i. Transmittive type ii. Reflective type In the transmittive type cell, both glass sheets are transparent, so that light from a rear source is scattered in the forward direction when the cell is activated. In reflective type cell has a reflecting surface on one side of glass sheets. The incident light on the front surface of the cell is dynamically scattered by an activated cell. Both types of cells appear quite bright when activated even under ambient light conditions. The liquid crystals are light reflectors are transmitters and therefore they consume small amounts of energy (unlike light generators). 
The seven segment display, the current is about 25 micro Amps for dynamic scattering cells and 300micro amps for field effect cells. Unlike LEDs which can work on d.c. the LCDs require a.c. voltage supply. A typical voltage supply to dynamic scattering LCD is 30v peak to peak with 50 Hz