There are many circuits for throttles in the model railway world. Unfortunately the number that are computer controllable are few.

Similar documents
Bi-Directional DC Motor Speed Controller 5-32Vdc (3166v2)

Practical Testing Techniques For Modern Control Loops

Op Amp Booster Designs

Laboratory PSU. Applications *Laboratories and test benches * Powering mobile radio equipment. * Precision charging of batteries

3 Circuit Theory. 3.2 Balanced Gain Stage (BGS) Input to the amplifier is balanced. The shield is isolated

INPUT: 110/220VAC. Parallel Input Series Input Parallel Output Series Output (W/CT)

Fast IC Power Transistor with Thermal Protection

Micrel, Inc Fortune Drive San Jose, CA USA tel + 1 (408) fax + 1 (408)

1 sur 8 07/04/ :06

Testing and Stabilizing Feedback Loops in Today s Power Supplies

PRICE $2.00 MODEL PA500M* AMPLIFIER SERVICE MANUAL

Control of Electrical Lights and Fans using TV Remote

Calhoon MEBA Engineering School. Study Guide for Proficiency Testing Industrial Electronics

Mains Dual Capacitor >+13.5V Trans- Bridge Bank former Rectifier Current Copier. Current Copier Over Voltage -ve Current Copier Crowbar (-10V)

MOSFET as a Switch. MOSFET Characteristics Curves

POWER SUPPLY MODEL XP-720. Instruction Manual ELENCO

LS7362 BRUSHLESS DC MOTOR COMMUTATOR / CONTROLLER

Technical Bulletin Switch Mode PS Principles Page 1 of 5

Fig 1: The symbol for a comparator

DC Motor-Driver H-Bridge Circuit

Application Note CDIAN003

PreLab 6 PWM Design for H-bridge Driver (due Oct 23)

University of North Carolina-Charlotte Department of Electrical and Computer Engineering ECGR 3157 Electrical Engineering Design II Fall 2013

Audio level control with resistive optocouplers.

Opamp Based Power Amplifier

Ocean Controls KT-5198 Dual Bidirectional DC Motor Speed Controller

6. HARDWARE PROTOTYPE AND EXPERIMENTAL RESULTS

HAQ Series High Temperature High Voltage Power Supply

SC Series. SC Series High Voltage Power Supply

Application Notes High Performance Audio Amplifiers

A Simplified Test Set for Op Amp Characterization

Audio Amplifier. November 27, 2017

Ground. Input: 0-24VDC

This project is available on 3 different PC boards: Diesel Sound 1 -long board. Diesel Sound 2 -short board

Wimborne Publishing, reproduce for personal use only

Construction notes for the symmetrical 400 watt amplifier

PESIT BANGALORE SOUTH CAMPUS BASIC ELECTRONICS

Ocean Controls KT-5221 Modbus IO Module

Digital temperature controllers

Electronics 1. Voltage/Current Resistors Capacitors Inductors Transistors

SCHEMATIC OF GRAYMARK 808 POWERED BREADBOARD

Electric Druid Flangelicious Flanger Project

PowerAmp Design. PowerAmp Design PAD541 COMPACT POWER OP AMP

MASTERFLEX L/S ECONOMY 200 RPM DRIVE 115 VOLT MASTERFLEX L/S ECONOMY 200 RPM DRIVE 230 VOLT

The ROSE 80 CW Transceiver (Part 1 of 3)

Thornwood Drive Operating Manual: Two-SCR General Purpose Gate Firing Board FCRO2100 Revision H

Handy dandy little circuit #17 #17

Sine-wave oscillator

Long Loopstick Antenna

An Improvement in the Virtually Isolated Transformerless Off - Line Power Supply

Chapter 13: Comparators

4.2.2 Metal Oxide Semiconductor Field Effect Transistor (MOSFET)

UNIT I. Operational Amplifiers

Figure 1.1 Fully Isolated Gate Driver

DIGITAL / ANALOG TRAINER

PA FAN PLATE ASSEMBLY 188D6127G1 SYMBOL PART NO. DESCRIPTION. 4 SBS /10 Spring nut. 5 19A702339P510 Screw, thread forming, flat head.

BLOCK DIAGRAM OF THE UC3625

Street Light Controller

The B7 Discrete Operational Amplifier Author: Tamas G. Kohalmi 7/5/2004

Ametek, Inc. Rotron Technical Products Division. 100 East Erie St., Suite 200 Kent, Ohio User's Guide. Number Revision F

Summer 2015 Examination

Final Project Stereo Audio Amplifier Final Report

Table of Contents. 2.0 Linear Supplies 2.1 Fixed DC Regulator 2.2 Variable DC Regulator. Assignment Questions. For Further Research

Electronics. RC Filter, DC Supply, and 555

PC-OSCILLOSCOPE PCS500. Analog and digital circuit sections. Description of the operation

VLA Hybrid Gate Driver Application Information. DC-DC Converter V D 15V. V iso = 2500V RMS

Application Note. I C s f o r M o t o r C o n t r o l. Evaluation board for the TDA5143/TDA5144. Report No: EIE/AN R. Galema

EE283 Electrical Measurement Laboratory Laboratory Exercise #7: Digital Counter

UNIVERSITY OF NAIROBI DEPARTMENT OF ELECTRICAL &INFORMATION ENGINEERING INVERTER DRIVE CONTROL OF SYNCHRONOUS MOTORS

Industrial Fully Control Dc Motor Drive without Microcontroller. Four Quadrant Speed Control of DC Motor Using MOSFET and Push Button Switch

Using the SG6105 to Control a Half-Bridge ATX Switching Power Supply. Vcc. 2uA. Vref. Delay 300 msec. Delay. 3 sec V2.5. 8uA. Error Amp. 1.6Mohm.

LM555 and LM556 Timer Circuits

G6ALU 20W FET PA Construction Information

TEAM DIGITAL. SMC4 Servo & Motor Controller

Experiment (1) Principles of Switching

TEAM DIGITAL. Servette TM Single Servo Controller

Electrical, Electronic and Communications Engineering Technology/Technician CIP Task Grid

Designing and Implementing of 72V/150V Closed loop Boost Converter for Electoral Vehicle

Electricity and Electronics Constructor Kits

DEPARTMENT OF ELECTRICAL ENGINEERING AND COMPUTER SCIENCE MASSACHUSETTS INSTITUTE OF TECHNOLOGY CAMBRIDGE, MASSACHUSETTS 02139

APPLICATION NOTE AN-009. GaN Essentials. AN-009: Bias Sequencing and Temperature Compensation for GaN HEMTs

Application Note. I C s f o r M o t o r C o n t r o l. Current Limiter for the Motor Control ICs of the TDA514x-family. Report No: EIE/AN93008

MD04-24Volt 20Amp H Bridge Motor Drive

Marchand Electronics Inc.

Speed Control of DC Motor Using Phase-Locked Loop

Polyphase network kit

LED level meter driver, 12-point 2 channel, VU scale, bar display

Document Name: Electronic Circuits Lab. Facebook: Twitter:

LM125 Precision Dual Tracking Regulator

1 kw(dc) TWT Power Supply design.

EE320L Electronics I. Laboratory. Laboratory Exercise #4. Diode Rectifiers and Power Supply Circuits. Angsuman Roy

Hi-Fi Headphone Amplifier

5v AC R. 12v. 1kohm. F=35KHz oscilloscope. 3 Final Project OFF. ON Toggle Switch. Relay 5v 2N3906 2N uF LM311. IR Detector +5v GND LED PNP NPN

1 FUNCTIONAL DESCRIPTION WAY SPLITTER/INPUT BOARD FET RF AMPLIFIERS WAY POWER COMBINER VSWR CONTROL BOARD...

Paper number: Principles of electrical and electronics technology Paper series: December Practice

Small signal Amplifier stages. Figure 5.2 Classification of power amplifiers

XR FSK Modem Filter FUNCTIONAL BLOCK DIAGRAM GENERAL DESCRIPTION FEATURES ORDERING INFORMATION APPLICATIONS SYSTEM DESCRIPTION

Capacitive Touch Sensing Tone Generator. Corey Cleveland and Eric Ponce

APPLICATIONS Some common applications include: milling, turning, engraving, drilling, hot wire foam cutting and animation camera control.

LM317T Variable Voltage Regulator

Transcription:

Issue Howard Amos [M05] A Computer-controlled Throttle Unit September 000 This Technical Bulletin is included in the G/xx series, dedicated to Gordon Hopkins RPC and allied systems, since it is conceived as a complementary unit to work with, and use elements of, RPC. It is referenced as G/5 to leave plenty of space for further Bulletins from Gordon... Introduction There are many circuits for throttles in the model railway world. Unfortunately the number that are computer controllable are few. I wanted: Good slow running Minimum component count for ease of assembly Feedback (to reduce slow-down and stalling on curves and slopes) Not using Pulse Width Modulation (PWM) (because of the risks of demagnetising small motors) Low motor noise (some PWM throttles make the motors vibrate a lot) Computer controllable, from the MERG RPC system. As none of the available commercial units or any of the published circuits met all of the above specification I picked parts out of lots of circuits, and created my own design. Interface specifications. Power requirements 5VAC transformer secondary (one per throttle) RPC interface bit port of MERG SRO module (refer to TB G/) 5V DC regulated supply from SRO module relay from MERG DPR module (refer to TB G/) Output 0-V RMS DC track supply for Z, N or OO scales (Current depends upon transformer rating and heatsink size) Output compatible with MERG FTC module (current detector) with Kohm bypass resistor. (Refer to TB /) Circuit description (refer to main throttle circuit diagram on page ) Slow speed running is achieved using a rectified, but unsmoothed AC signal (from D & D). This gives a peak voltage (and hence torque) much higher than the RMS voltage which determines speed. As the output is unsmoothed, a 5V transformer is required (giving V peaks), even for N-scale. The average voltage, and volt drops in the circuit mean that the train will not go into orbit, even at full speed. The transformer output drives a full-wave rectifier (D, D, D & D) to generate the motive power, a separate feed for the amplifiers, and another feed which is the reference signal. The motive power connects only to the main drive transistor, so that the inevitable electrical noise on that circuit will have minimal feedback to the amplifiers. The amplifier supply is generated by pair of diodes (D, D) and is smoothed by C to produce V DC. The reference signal is yet another pair of signal diodes (D5, D with R) to generate a full-wave rectified signal, of V peaks. The computer interface capability comes from using a control voltage which can be generated from any analogue output port, where a zero volt input creates no output, and around V input creates full speed. Naturally this control voltage could be generated with a simple potentiometer if a computer interface is not required. The diagram shows the control voltage is generated by half an opto-isolator (IC), more on this, and how it is driven later. This control voltage is first amplified by ICa to produce a full 0-V output (or as close to the supply rails as the amplifiers are capable of driving). This is then added to the reference signal by the resistor network R and R5. This control signal thus created is an V rectified AC signal, which can be level shifted between the supply lines by changes in the control voltage. [ cont. over >>> ] Howard Amos 000 Page of G/5//

MODEL ELECTRONIC RAILWAY GROUP Main throttle circuit diagram 0V AC Mains Xfmr D N00 D N00 D N00 D N00 D5 N D N Control signal D N00 D N00 5 BC0 E B C 5-0-5V Opto-isolated Computer input Control voltage N000 D G S Viewed from underside BD9 E C B Viewed from front C 00uF R 0R Gnd IC ILQ5 Feedback Gnd R 0K ICa LM R K VR 5K R K R Vcc 00K R 0K R K5 Vcc R K R K R R5 0K K TR 5 K BC0 R R 0.5W ICd R9 LM ICc LM R ICb LM 0K R5 K R K 0 9 R0 K C 0.uF R K R9 0K TR BD9 TR N000 Generator sample C 0.uF 5 RLa RLb Reversing relay Motive power To Tracks The control signal (ICc pin 5) looks like this: V V V V Input = 0V(stop) Input =.5V (half speed) Input = V (full speed) This control signal is then fed to the output stage (ICc) which has a gain of, but referenced from the supply, instead of the usual ground. This means that for every volt that the control signal is below Vcc, the drive voltage is two volts below Vcc, defined by R/R (ignoring volt drop in the transistors). Whenever the control voltage is below Vcc/, output is zero. The amplifier output drives a power Darlington which feeds the track. The network R0 and C act as a filter and stop the circuit oscillating. The level of the input control voltage that defines full speed can be adjusted by VR. If you have several of these throttles connected to a layout in a manner that a train is passed from throttle to throttle then VR must be adjusted so that for a normal speed setting, all the throttles produce exactly the same output. Output waveform V V Input = stop Input = half speed Input = full speed G/5// Page of Howard Amos 000

MODEL ELECTRONIC RAILWAY GROUP A current limit (R, TR) is applied to the output, as normal, which pulls down the control signal, if the output is shorted. The output voltage is then connected to a reversing switch or relay as normal. One relay on a MERG RPC DPR module is ideal for the purpose. Opto-isolated input stage It must be noted that once the reversing switch is added to the circuit we have the potential for common earth problems. You cannot common the ground line of several of these circuits because the switch might connect the ground to either the common return, or a track feed, depending upon the direction required. To overcome this problem each throttle must be electrically isolated, except for the common return on the track. This means that each throttle must have its own transformer secondary and an opto-isolated input. The throttle circuit shows a transformer with two independent secondary windings. The second winding could be used for a second throttle. A centre-tapped secondary is not suitable for driving two throttles, as the supply inputs would be tied together. The input control voltage is generated from a D to A converter attached to an RPC SRO module and therefore all inputs start by being referenced from the computer s ground. An opto-isolator must be inserted to avoid the short circuit problems but opto-isolators are not known for having a linear response, and so the following circuit is used to improve linearity (note that IC (09) is part of the SRO module): Part of SRO Digital to Analogue converter network Opto-isolator section 5V 5 VDD CLK D STB EO VSS Q0 Q Q Q Q Q5 Q Q OS' OS 5 0 9 IC 09 Bit 0 = L.S.B. R0 K R K R5 R K R9 K R K R0 K R K R R K R K K R5 K R K Bit = M.S.B. R K R K Computer input R K R ICa LM R9 5 ICa R 0R R 0R ICb K K Gnd 0R The resistor network R0-R is an R-R network that converts a binary input signal to an analogue output conversion. The network is fed from one of the 09 chips on an SRO module (the ULN0A chip is not fitted in this instance). The network relies upon the outputs from the 09 chip swinging reasonably well from supply to ground. As the CMOS chips have a fairly low current drive capability, high value resistors are used. The low current load on the 09 means that the outputs should swing close to the supply rails. This results in a reasonably linear conversion (plenty accurate enough for our application). The op-amp (ICa) ensures that the voltage on R9 is the same as the input from the computer. If the voltage across R9 is lower than the input, then the output of the amplifier will rise (subject to power supply limits), thus increasing the current through both LEDs and increasing the current thought R9 and hence the voltage. The amplifier drives two opto-isolators and we assume they are reasonably well matched so that the current through both phototransistors is similar. The second phototransistor is IC on the main throttle circuit. This circuit is fed from the 5V supply on the RPC stack. Only a quarter of an LM and half an ILQ5 is used in this circuit and so one LM and two ILQ5s can drive four throttles. The end effect should be that the voltage across R on the throttle circuit is equal to the voltage controlled by the computer (ICa, pin ), but is electrically isolated from the computer. The R-R network can be assembled on the SRO module itself, in place of the ULN0A output drive chip. As the pinout on the SRO module is adjusted to simplify the PCB layout, a layout oriented circuit diagram might be as shown on page overleaf. Howard Amos 000 Page of G/5//

MODEL ELECTRONIC RAILWAY GROUP 5V 5 VDD CLK D STB EO IC VSS Q Q0 Q5 Q Q Q Q Q OS' OS 5 0 9 Bit 0 = L.S.B. R0 K R R K R9 R K R0 R K R R K R R5 K R Bit = M.S.B. R K R R K K R5 K K K K K K R K K The sketch to the right suggest how the R - R network might be implemented (based on a colour photo provided by the author. TB. Ed.) Feedback Feedback is handled by sampling the voltage generated by the motor in-between supply pulses. Comparator ICd (see Main Throttle circuit on page ) determines when the control signal is below Vcc/, and hence when the output is turned off (as illustrated in the waveform diagrams above). When the output is off FET TR connects the output (which is now the voltage generated by the motor) to capacitor C. The voltage on this capacitor now measures the speed of the motor, and hence the speed of the train. This feedback signal is amplified by ICb and used to adjust the input control voltage. When the feedback is small, the control voltage is increased, thus increasing the power to the train. This means that when the train goes around a corner, or up a gradient the power increases to compensate. This feedback mechanism will not make all trains go at exactly the same speed for all tracks, but it will reduce the variability enormously. For example, using a selection of Locos on the flat, or up and down a :0 gradient (yes, a quite extreme test, but they weren t pulling anything) the times taken to cover the m test track (in seconds) are as shown below. The delta column shows the spread the difference between the up-hill and downhill times. The spread is in essence a measure of the quality of speed control where the lower the value the better the control. In order to ensure a constant baseline figure, the time to cover the level track with each loco was set as close to 0 seconds as possible. Loco Feedback disabled Feedback enabled Down Level Up Delta Down Level Up Delta Trix Diesel.5 0.5.5 0.5 Trix Diesel 9.5.5 0.5 Lifelike PA 0.5.5 9.5 0.5 Bachmann Doodlebug 9 0.5 5 9.5 0 0.5 Model Power FA- 9 0.5 5.5 0.5 Bachmann 0--0.5 9.5 9.5 0.5.5 G/5// Page of Howard Amos 000

MODEL ELECTRONIC RAILWAY GROUP This chart clearly shows the benefits of using a feedback throttle. Feedback controllers have a general problem in that most current detectors insert diodes in series with the track feed. This means that a volt or so is subtracted from the motive power voltage, which doesn't matter much, but it is also subtracted from the generated voltage as well. As the generated voltage is relatively small the diode volt drop has a significant effect on the feedback effect. To address this problem a current detector is required that drops less voltage, especially when measuring the generated voltage. This can be achieved by connecting a Kohm resistor across the detector terminals. Components Most components are fairly non-critical. Similar substitute components may be used in most cases. The component types shown are simply those in the RS catalogue that were the cheapest. TR needs a reasonable gain, assume ma base current, so a gain of 000 for A output is required. Transformer can be any with 5VAC secondary and a current rating sufficient to drive one train. TR can be any NPN transistor. TR in an enhancement mode N-type Field Effect Transistor. This means that as the gate voltage is raised above the source (pin ) it starts to conduct. Any device that conducts with a gate voltage of -0V should suffice. R9 needs to be rated to suit the current you need. Assume 0.V during a short circuit, power = V x I = ½I. So a A supply needs at least a half-watt resistor (which would get very hot during a short circuit). IC can be any opto-isolator with a transistor output. A current transfer ratio in the range of 50% to 00% is assumed. D, D, D, D need to be rated for your current load, so any N000 series diode will suffice up to A. TR requires a heatsink, but with an insulating washer you can put several on a single heatsink (see picture) Parts list IC LM D-D, D, D N00 IC ½ILQ5 D, D N IC ¼ LM C 00uF 5V IC ¼ RPC SRO module C, C 0.uF Xfmr 5VAC TR BD9 TR BC0 RL DPDT relay from RPC DPR module TR N000 Detector / MERG RPC FTC module VR 5K preset R, R9 0R R0, R K R, R, R, R, R9 0K R 00K R, R9, R-R K R0-R, R5, R K R, K5 R, R 0R R5, R-R K R0 (across FTC) K R R ½W Howard Amos 000 Page 5 of G/5//5

MODEL ELECTRONIC RAILWAY GROUP Connecting it all together... The schematic looks something like this: (Note: each throttle must have its own transformer, or at least electrically separate low voltage windings. Using the halves of a centre-tapped secondary is not permissible.) and here s a picture of the prototype on which this Technical Bulletin is based. It shows four Throttles assembled on one board, with opto-isolators. g_5-.doc G/5// Page of Howard Amos 000