![]()
Using a photo-interrupter as a train detectorThe most common approach to detecting trains on model railway layouts is based on detecting the current drain of locomotives on sections of track (Twin-T detectors etc) or uses reed relays under the track with magnets attached to the rolling stock. A more convenient approach is to use light beams but this means you usually have to devise your own optical detectors. This approach makes use of the photo interrupters used in many printers. The interrupter is a slotted module with an infrared light emitting diode in one half and a photo transistor in the other. By cutting the interrupter in half and positioning the two halves on either side of a section of track, you have a good train detector. The circuit feeds the voltage from the emitter of the photo-transistor to the input of a Schmitt trigger gate and its output drives a transistor and relay. The idea can be extended to suit a range of model railway applications, with the Schmitt trigger being used to trigger flipflops for signalling and automatic reversing circuits and so on. Suitable photo interrupters are available from Jaycar Electronics (Cat. ZD-1901). SILICON CHIP.
How to cut clean holes in plastic front panelsThis method for cutting round holes came about as a result of the article on making front panels in the February 1999 issue. The suggested method of cutting the holes using a sharp scalpel can be rather tedious, especially if quite a few holes are required. My method is to use a wad punch (a hollow punch), rubber mallet and a block of wood to make the holes. If the sizes of the holes in the artwork are made so as to be just visible around the circumference of the wad punch, a perfectly placed hole will be achieved every time without the danger of slipping and ruining the whole panel. A set of 12 cheap wad punches covering the range 3.2mm to 19mm can be obtained for around $15 and are adequate for this application. For smaller holes (eg, for LEDs and screws), a handheld leather punch can be used. I apply a self-adhesive laminate (no laminating machine required) to both sides of my artwork to make them stiffer and more durable. Small panels don’t need to be glued on and can be held in place by the hardware. Barry Hubble,
Constant current load for power supply testingWhile resistive loads can be used when testing power supplies and driver circuits, if the current is DC, it is better to use a semiconductor constant current load. This has the advantage that it can be set to provide any desired current and it will maintain it even in the supply voltage varies. With this circuit, taken from a Maxim application note, you can select a current within a range up to 1A or 10A with switch S2 and then precisely set the current with potentiometer VR3 which ideally should be a 10-turn type for high setting accuracy. IC1 is a 1.2V bandgap reference and it provides a very precise voltage reference for the circuit. Its output is fed via resistors to trimpots VR1 and VR2 and then to pin 3 of op amp IC2. These trimpots are adjusted to provide 1V for the 10A range and 100mV for the 1A range. IC2 and Mosfet Q1 are connected so that the voltage across the 0.1Ω resistor is maintained at the same level as that set at pin 3; ie, it maintains a constant current. The Mosfet needs to be mounted on a large heatsink and the circuit is suitable for testing at supply voltages between about 2V and 50V. Note that it could not handle a 50V supply at 10A; the total dissipation of 500W would vaporise Q1! Note that the op amp must be able to switch its output to 0V and its input common mode range must be able to go to 0V. Share this Article:
|
|||||||||||||||||||||||||
|