Electronic Design

  
Reprints     Printer-Friendly    Email this Article    RSS        Font Size     What's This?


[Ideas For Design]
Add Position Detection Capability To Light-Curtain Circuitry

Gary S. Kath, Joseph M. Metzger  |   ED Online ID #15318  |   April 27, 2007


Light curtains use a linear array of LEDs and optical detectors to sense when an object breaks a light beam. Then they trigger an alarm output. However, light curtains typically don't provide spatial data to indicate where along the light curtain the light beam was broken. The design shown here adds that feature. It describes a circuit that senses where along the light curtain the beam was broken and transmits the location to a PC via RS-232.

The length and resolution of the light curtain is easily expanded, and it can operate with a wide window opening. The circuit uses an array of 16 multiplexed infrared (IR) emitters and IR receivers.

The receiver board incorporates 16 Vishay TSOP6236 IR receivers, U0-U15 (Fig. 1). They are designed for TV remote-control applications, which operate at a 950-nm infrared wavelength with a 36-kHz carrier. The IR receivers offer a wide transmission range with excellent ambient light rejection. TTL outputs from each IR receiver interface to a Maxim MAX7313 16-port I/O Expander (U16) configured as TTL inputs.

The IR emitters comprise an array of 16 Vishay TSML1020 950-nm wavelength pulse LEDs (D0-D15) (Fig. 2). The LEDs are pulsed at 36 kHz by an Intersil HA7210 crystal oscillator (U1) and an International Rectifier IRLML2402 MOSFET (U2). Individual LEDs can be switched on and off one by one by a MAX7313 (U3) operating with current-sink outputs.

Both the IR receiver's and the IR emitter's MAX7313s are I2C-addressable and interface to a microcontroller via a two-wire interface: data and clock lines. The light curtain's length or resolution is easily expanded via additional pairs of 16-channel IR receivers and IR emitters. Each MAX7313 unique address is set via J3, J4, and J5. An MC78LC33 +3.3-V dc voltage regulator powers the MAX7313s. Each MAX7313 is terminated with 4.7-Ω pull-up resistors on the clock and data lines via J6 and J7.

C-language software routines, running on a Microchip PIC18F452, turn on each emitter-receiver channel one by one via the I2C interface to scan the sensing window. This scanning technique prevents adjacent IR signals from getting around the object in the light path and into an active IR receiver. The C source code to scan a 16-channel IR emitter and IR receiver, transmit the location via RS-232, and provide a simple graphic output is available for download here.

This simple circuit can be applied to a variety of applications, such as robotics, automation, alarms, and monitoring.

IDEAS FOR DESIGN WANTED
Send us your Ideas for Design. We'll pay you $150 for every Idea for Design that we publish. In addition, this year's top design as selected by our readers will earn an additional $500, with two runners up each receiving $250. You can submit your Ideas For Design via:

Or by

  • Postal mail to: Ideas For Design
    Electronic Design
    45 Eisenhower Dr., Fifth Floor
    Paramus, NJ 07652

Go to www.electronicdesign.com for our submission guidelines.


Reprints   Printer-Friendly  Email this Article  RSS    Font Size   What's This?


  • Engineers Rely On Internet For Product Info
  • Rochester Electronics Establishes New Design and Technology Group
  • Custom Sources Light Way To 22-nm IC Lithography
  • In EDA, A Year Of Mergers, Failed And Otherwise
  • Software Turns Scopes Into Vector RF Signal Analyzers
  • Couple’s $15 Million Gift Advances Rice Engineering Education
  • November 7, 2008
  • Startup Sets Sail For Speedier Spice Simulation
    1) Ten Top Design Skills For Tough Times
    (6173 views today)
    2) Ultracapacitors Branch Out Into Wider Markets
    (435 views today)
    3) Energy Harvester Perpetually Powers WIreless Sensors
    (412 views today)
    4) Technology Has Been Very Good To Obama, And He Plans To Reciprocate
    (326 views today)
    5) Build A Smart Battery Charger Using A Single-Transistor Circuit
    (316 views today)
    ALL TOP 20



    POST YOUR COMMENTS HERE
    Name:

    Email:
    Your Comments:

    Enter the text from the image below


    Please refresh the page if you have trouble reading this text.

    Search Electronic Design
         
      
     
    Email Newsletter
    Sponsored By:
    Electronic Design UPDATE provides readers with late-breaking news, opinions from industry experts, and timely technology stories. It's a unique opportunity to get your product message in front of engineers, engineering managers, and corporate managers while they're reading about critical information online.

    Enter Email to Subscribe
      

    Electronic Design Europe Electronic Design China EEPN Power Electronics Auto Electronics Microwaves & RF
    Mobile Dev & Design Schematics Find Power Products Military Electronics EE Events Related Resources