Sunday, December 14, 2008

InfraRed Detector for Proximity Switch

The proximity switch can work for a wide range of power, from 8v to 18v DC, D3 protects reverse power supply connections, and U1 regulates the supply to +5v , -5v is derived from U2 555 oscillator which serves dual purpose.

Circuit Operation

The infra red diode D2 detector gets the reflected light from LED and some ambient light, The forward voltage drop of D2 will vary with the amount of light falling on it. Ambient light causes a DC component and the pulsing light from D1 causes an AC component.Proximity Switch - Driver Supply

The capacitor C6 blocks DC and only transfers AC pulses if any to opamp amplifier U3A whose gain is set by R18, D9 rectifies the pulses to DC and this DC voltage is used by opamp comparator U3B which drives Q1 through Q2 for an open collector output for relays. LED D7 turns on when relay Output is high.

R14 and R13 can be replaced with potentiometer for threshold adjustment if required.

Testing

Connect 12v DC supply to +V and GND Ports, Connect a relay coil Between OUT and GND Ports, you can use the relay contacts as you require to turn on a lamp, heater, fan or motor.

If all connections are ok and ICs are working you should see a +5V at U3 pin8 VCC and around -4 to -5 at U3 pin4 VDD.

Construction

The Optic switch can be used for both reflecting detection (retro reflective) or obstacle detection. The mechanical construction will decide this, for obstacle detection the diodes D1 and D2 could be put in two different tubes and can be kept far apart 2mts+ and both should be exactly opposite each other, any obstacle like a passing person will be detected. To make a retro reflective proximity switch this circuit is ideal, it can be housed in a cylindrical 30mm by 70mm metal unit with m30 threads and nuts for mounting, both D1 and D2 have to be fitted in the front of this tube on a plastic plug optically insulated from each other yet beside each other.

Optical Proximity Switch - Detector

No comments:

Circuits by Application

Analog Circuits

  1. Battery Level Indicator
  2. Simple Sample and Hold
  3. Sample and Hold Standby
  4. Voltmeter Attenuator
  5. Precision Current Source
  6. Opamp Supply Virtual Ground

SCR and Triac

  1. Solid State Relay
  2. Normally Closed AC SSR
  3. AC-AC-SSR
  4. DC-DC SSR
  5. 2N2646 based Pulser
  6. Drive SCR thyristor

Mains Power

  1. Flashing Neon Lamp
  2. Dimmer power control
  3. Edison Bulb Life Extend
  4. Mains Current LED
  5. Mains Voltage LED

Digital Circuits

  1. Simple Digital Counter
  2. Running Lights
  3. Frequency Divider
  4. Crystal Oscillator
  5. Simple High speed switch
  6. Differential TTL converter

Measureall DMM

  1. Ohmmeter Measure Resistance
  2. Precision Digital Attenuator
  3. Precision Amplifier

Mixed Circuits

  1. Monostable Multivibrator
  2. Digital to Analog
  3. LM311 Oscillator
  4. PLL using 4046
  5. VCO with LM331
  6. BCD Thumbwheel to Analog
  7. V to F Converter ICL8038
555 Circuits
  1. OR gate with two 555
  2. fixed frequency duty cycle
  3. Pulse width modulation
  4. Astable Multivibrator
  5. uC Reset Generator
  6. LM555 Voltage Doubler
  7. 555 Power Oscillator
Discrete Circuits
  1. Isolated dual supply
  2. Sound to light converter
  3. Water operated relay
  4. Telephone Indicator
  5. Passive volume control
  6. RS232 Opto-Isolation
  7. Voltage Level Indicator
  8. Relay Driver
  9. Constant Current LED
  10. Voltage Doubler
  11. FET Current Source
Opamp Circuits
  1. Three Opamp Differential
  2. Two Opamp Differential
  3. Buffer Opamps
  4. Differential Op-Amp
  5. Inverting Opamp
  6. Non Inverting Opamp
  7. Digital gain control
  8. Square Triangle Oscillator
  9. Dual Polarity Output Amps
  10. Ammeter Precision Rectifier
  11. Voltage / Current 4-20 mA
  12. Current Source for RTD
Power Electronics
  1. Dual Power Supply
  2. Single Power Supply
  3. Battery Backup Supply
  4. 5V 1A Supply LM2575
  5. 5V Power Supply L296
  6. Dual Power Supply
  7. Tubelight Electronic Choke
  8. Voltage Doublers Multipliers
  9. White LED Lamp on Ni-Cd

uC and uP

  1. PC RS232 with MAX232A
  2. Battery Backup SRAM
  3. watchdog uC uP systems
Instrumentation Circuits
  1. Mains monitor LM3914
  2. Simple Mains monitor
  3. single digit voltmeter
  4. High Resistance Meter
  5. Diode Thermometer
  6. Function Generator
  7. Diode Leakage Tester
  8. Analog LED Ohm Meter
  9. Millivolt Source Current Loop
Process Control
  1. AD590 - temperature
  2. Thermocouple Amplifier
  3. Linearizing Thermocouple
  4. Thermocouple Amplifier
  5. 0-1V to 4-20 mA
  6. 1-5V to 4-20 mA
  7. InfraRed - Optical Switch
  8. InfraRed Detector