Optical Sensor Interface For AFX Digital LED Timer/Counter

2y ago
15 Views
2 Downloads
695.81 KB
11 Pages
Last View : Today
Last Download : 3m ago
Upload by : Mya Leung
Transcription

Optical Sensor Interfacefor AFX Digital LEDTimer/Counterby George Warner, Jan. 2003warnergt@ptd.netAbstractThis paper presents a design for an optical sensor interface to an AFX Digital LED Timer/Counter. The goalof the design is to create a highly reliable circuit which can be made from readily available parts and run off ofa single wall power adapter (“wall wart”). All the circuitry must fit inside the base of the timer/counter wherethe batteries are normally housed. While this circuit is being designed specifically for the Aurora LED Timer/Counter, the design is generic by nature such that it can be adapted for use with other lap counter systems.IntroductionIn the late 1970ʼs, Aurora produced an AFX Electronic Lap Counter/Timer. The device featured two setsof LED displays to display lap time from 0.1 to 99 seconds or lap counts from 0 to 99. The counter/timerappeared in two different colors: white for AFX and blue for Ultra 5. The elegant and compact system makesan attractive and useful addition to virtually any home track.Many of these AFX LED counter/timers can still be found today. They were even available from REH, adistributor of Aurora new old stock, as recently as a couple years ago until their supply was exhausted. Thecounter/timer utilized a “trip track,” a dead section of Aurora AFX track which detected cars when they passedover it. Many of the lap counters found today are missing the trip track. Plus, many slot enthusiasts no longeruse the Aurora AFX track. Furthermore, there is a better way to detect cars now -- optical sensors.Design PhilosophyThe goal was to make a virtually fool-proof circuit with the highest possible reliability and from readily available parts.There is nothing more frustrating than an unreliable lap counter. By some standards, this circuit may appearoverdesigned. For some applications, you could probably omit some of the circuitry and still have a decentoptical interface. But, to meet the requirements of the AFX LED counter/timer and to meet the desired highreliability requirements, this design goes the full distance. The added circuitry doesnʼt add much extra cost oreffort to the circuit construction.The circuits being referred to, specifically, are the voltage regulator and the “one shot” “pulse stretcher.”Others have described experiences of “cross talk” or false detections when operating two of these lap counter/timers off of a single wall supply. One solution could have been simply to use two wall supplies. Instead, thisdesign provides a voltage regulator for each lap counter. These regulators provide a solid9 volts for the optical interface circuit as well at the lap counter/timer.Page 1

Through testing of the AFX timers, it has been determined that they are only about 95% reliable in detectingtodayʼs fastest cars which create an extremely short pulse when passing over the optical sensor. Therefore, a“one shot” was added to the circuit design. The device employed is a 556 (contains dual 555ʼs) timer. Thisdevice can detect the smallest pulses and then output a pulse of fixed width. You could think of this circuitas a “pulse stretcher.” A narrow pulse goes in; a wide pulse comes out. Not only does it stretch the pulse; itcleans it up. Glitches and noise on the signal are eliminated.Other circuit considerations will be described throughout the text.PartsAll of the parts utilized are available from Radio Shack. One of the design goals was to use readily availableparts.Qty. RS Part No. DescriptionCost ----------------------------- Voltage Regulator Circuit T Adj. Voltage Regulator10.047 uF / 25 V Ceramic Capacitor11 uF / 50 V Electrolytic Capacitor1240 Ω Resistor11500 Ω Resistor------------------ Comparator Circuits 81458 Dual Op-Amp0.99210 kΩ Resistor247 kΩ Resistor4100 kΩ Resistor210 uF / 50 V Electrolytic Capacitor------------------ One Shot Circuits -1728556 Dual Timer1.5920.01 uF / 25 V Ceramic Capacitor2100 kΩ Resistor21 uF / 50 V Electrolytic Capacitor------------------ Driver Circuits 22N2222 Transistor21500 Ω Resistor------------------ Overhead LED Supply Circuit ------------------------------1271-152A100 Ω / 1 watt Resistor0.49------------------ Miscellaneous Parts AGeneral-Purpose IC PC Board1273-1612A Power Adapter, 9 Volts DC, 1200 mAWire for leads and jumpers2276-145ANPN Silicon Infrared Phototransistor0.992276-143CHigh-Output Infrared LED1.69Bill of MaterialPage 2

The interface circuit is designed for 9 volt operation. Thus,some higher voltage must be regulated down to the required9 volts. To minimize the heat that will be dissipated by thevoltage regulator, an input voltage that is not much greater than9 volts must be chosen. The Radio Shack 9 volt supply listedactually supplies about 11 to 12 volts. It only needs to be regulated down by 2 or 3 volts. This helps keep the regulator fromgetting excessively hot. Thus, it is perfect for this application.If some other supply is used, care should be taken to avoidoverheating the voltage regulator. After all, this regulator willultimately be housed in the base of the timer/counter wherethere is no ventilation to facilitate heat dissipation.Components used for the interfaceConstruction of the interfaceThis document will proceed with the construction of the circuit stage by stage.Page 3

1) The Regulator Circuit112VDCVR 1LM317T3C10.04729VR1240Back side ofLM317C21 uFR21500RefIn32 1Out1.1) Populate the board with the voltageregulator circuit and other integrated circuits(ICs).Note that the backside of the PC board hastwo vertical printed circuit strips that runthe full length of the printed circuitry. Usethese two traces to carry the regulated 9 voltsignal (output from regulator) and ground upand down the full length of the board suchthat they are easily accessible by all of thecircuitry.Position the comparator (1458) and one shot(556) ICs such that they straddle the 9Vand Ground signal traces.1.2) Attach power leads and, optionally, a power jack. Now, isyour opportunity to test the regulator circuit. Plug in the powersupply and measure the regulator output. It should read 9 0.5Volts.Page 4

The Comparator Circuit9V9VR410KR31001WC310 uFR5100K3R647KQ1D128To U2, pin 84R7100KComparator1U1A1458Time Constant 1 sec.9VR810KC410 uFR9100K5R1047KD2Q26U1B14587To U2, pin 6R11100K3) Populate the comparator circuit with resistors and capacitors.Page 5The comparator circuit uses voltage dividers (R5/6 and R9/10)with time averaging (C3 and C4)to automatically adjust sensitivityto ambient light conditions. Noadjustments are required.

3) Populate the one shot circuit with resistors and capacitors. Jumper comparator outputs to one shot inputs.This circuit also uses the red jumper to connect pin 4 to 9 gger13U2BLM5561211C50.01OutDisThrContC61 uF512R13100KQ42SC1675R1515003C70.01C81 uF7It was desired to have a pulse width long enough to be detected by slow circuitry or hardware, yet short enoughto avoid a missed detection on a short, fast track. The output pulse is held for a period of 1.1 R12C6 or about0.11 seconds. This output pulse width is independent of the input pulse width. Thus, the very fastest magnetcars provide the same strong pulse to the counter as do slow cars.The open collector output transistors ground the output when a car is detected by the optical sensor. This outputis a fixed length regardless of the speed at which the cars passes through the sensor.Page 6

Once constructed, you are readyto install your interface circuit.“Output 1” and Output 2” go tothe lap counter wires that originally went to the trip track. Forthis project, the IR LEDʼs andphototransistors are mountedexternally above and below thetrack. Timer power is obtainedfrom the output of the circuitboard 9 V voltage regulator.The board is mounted in the baseof the counter. The InfraredLEDʼs are mounted on the lapcounter platform.In the photo below, the phototransistors are epoxied into tapered holes drilled into the bottom of a track section.To glue these in, the tops of the holes were sealed with Scotch tape. Then, the phototransistors were placed inthe bottom of the upside-down track piece and glued with 5-minute epoxy. After the epoxy has dried, the topside Scotch tape is removed revealing a flat, smooth surface.Once installed, wires are soldered to the phototransistor leads and insulated with heat-shrinkable tubing.Page 7

For a four lane application, IR LEDʼs were mounted in a pedestrian bridge as shown below.The LEDʼs were wired in series such that only two power wires were required.Here are four-lane sensors being tested.Page 8

Hereʼs a bare-bones overhead LED solution.Hereʼs a setup using two AFX lap counters for a four lane track.Page 9

Full schematic.112VDC2VR 1LM317TR12403C10.0479VC21 uFR215009V9VR410KR31001WC310 uFR5100K3R647K1ComparatorTo U2, pin 84R7100KQ1D128U1A1458Time Constant 1 sec.9VR810KC410 uFR9100K5R1047KTo U2, pin 12100K6ResetTriggerOut13U2BLM5561211C50.01C61 uFDisThrCont7Page 10512R13100KQ42SC1675R1515003C70.01C81 uF

ConclusionAn interface to couple optical sensors to an Aurora AFX Electronic Lap Counter/Timer has been presented.The generic design of the interface provides it with a much greater potential for interfacing to other devices. Itcould be used for utilizing 1960ʼs-era Aurora electromechanical lap counters. Or it could be used for an interface to a computer where a more reliable detection method is desired.Ideally, a printed circuit board (PCB) could be laid out and manufactured. Many service houses now providelow cost PCB production. This would provide a solution for easily constructing the interface.About the authorGeorge Warner is an electrical engineer in Lititz, Pennsylvania, USA who collects and races HO slot cars -predominantly Aurora. He can be reached by email at warnergt@ptd.net.Page 11

“one shot” was added to the circuit design. The device employed is a 556 (contains dual 555ʼs) timer. This device can detect the smallest pulses and then output a pulse of fixed width. You could think of this circuit as a “pulse stretcher.” A narrow pulse goes in; a wide pulse comes out. Not only does it stretch the pulse; it cleans it up.

Related Documents:

Bruksanvisning för bilstereo . Bruksanvisning for bilstereo . Instrukcja obsługi samochodowego odtwarzacza stereo . Operating Instructions for Car Stereo . 610-104 . SV . Bruksanvisning i original

OIM-LED Card Overview. Cisco CRS Carrier Routing System Multishelf System Description 8 Optical Interface Modules and Optical Interface Module LED Card OIM-LED Card Overview. Title: Optical Interface Modules and Optical Interface Module LED Card Author: Unknown Created Date:

ZigBee, Z-Wave, Wi -SUN : . temperature sensor, humidity sensor, rain sensor, water level sensor, bath water level sensor, bath heating status sensor, water leak sensor, water overflow sensor, fire sensor, cigarette smoke sensor, CO2 sensor, gas s

10 tips och tricks för att lyckas med ert sap-projekt 20 SAPSANYTT 2/2015 De flesta projektledare känner säkert till Cobb’s paradox. Martin Cobb verkade som CIO för sekretariatet för Treasury Board of Canada 1995 då han ställde frågan

service i Norge och Finland drivs inom ramen för ett enskilt företag (NRK. 1 och Yleisradio), fin ns det i Sverige tre: Ett för tv (Sveriges Television , SVT ), ett för radio (Sveriges Radio , SR ) och ett för utbildnings program (Sveriges Utbildningsradio, UR, vilket till följd av sin begränsade storlek inte återfinns bland de 25 största

Hotell För hotell anges de tre klasserna A/B, C och D. Det betyder att den "normala" standarden C är acceptabel men att motiven för en högre standard är starka. Ljudklass C motsvarar de tidigare normkraven för hotell, ljudklass A/B motsvarar kraven för moderna hotell med hög standard och ljudklass D kan användas vid

LÄS NOGGRANT FÖLJANDE VILLKOR FÖR APPLE DEVELOPER PROGRAM LICENCE . Apple Developer Program License Agreement Syfte Du vill använda Apple-mjukvara (enligt definitionen nedan) för att utveckla en eller flera Applikationer (enligt definitionen nedan) för Apple-märkta produkter. . Applikationer som utvecklas för iOS-produkter, Apple .

WM132382 D 93 SENSOR & 2 SCREWS KIT, contains SENSOR 131856 WM132484 B 100 SENSOR & 2 SCREWS KIT, contains SENSOR 131272 WM132736 D 88 SENSOR & HARNESS, contains SENSOR 131779 WM132737 D 100 SENSOR & 2 SCREWS KIT, contains SENSOR 131779 WM132739 D 100 SENSOR & 2 SCREWS KIT, contains SENSOR 132445 WM147BC D 18 RELAY VLV-H.P.-N.C., #WM111526