LGB 0-6-0 Side Rod Diesel.
This is an LGB American outline side rod diesel,
It eventually will de-Americanised and be made to look more like an Australian Sugar Cane Loco to tow my Sugar Cane Bins.
It has been converted to Battery Power Radio Control using HobbyKing model aircraft components.
Radio Control & Electronic Components
- HobbyKing 2.4Ghz 4Ch Transmitter (Tx) Version2 Mode 1, (Throttle on the RIGHT)
NOTE: The Tx servo switch for the throttle must be in the “REV” position for it to work.
- HobbyKing 2.4Ghz Receiver (Rx) T6A-V2, compatible only with HobbyKing T4A & T6A Version2 transmitters, (a 4 channel Rx comes with the Tx/Rx combo but any extra Rx’s have to be 6 channel, because that is all that is offered by HobbyKing)
- HobbyKing Turnigy TGY-20A Brushed Electronic Speed Controller (ESC).
Note on ESC: - There are 2 small blue plugs used to select either LiPo or NiMH batteries. (It has a low voltage detection circuit so it needs to know what types of batteries are connected) and Brake On/Off. Select brake off i.e. when the throttle returns to stop it does NOT put a brake on the motor.
- HobbyKing HXT 9g/1.6Kg/.12 Micro Servo operating a Double Pole Double Throw (DPDT) toggle switch for direction control.
- Nine (9), 2700mAH NiMH, tagged 1.2V AA cells, used to give a nominal 10.8V Battery.
- A 3A Polyswitch, used as a circuit breaker mounted on the battery.
- A 4W Diesel Sound board, the circuit of which appeared in the Book “Electronics for Model Railways No 2” that I found on the internet as free download from “Talking Electronics” in Australia.
Note; This
sound board is also available as a kit from “Talking Electronics” in Australia
http://www.talkingelectronics.com/te_interactive_index.html- An 8 ohm 2.5Watt Speaker taken from an old laptop computer.
- A Picaxe 08M2 microcontroller mounted on an interface board is used to delay the Transmitter (Tx) signal to the Electronic Speed Controller (ESC) so that the motor speed signal is delayed behind the Sound Card output; this allows the revs sound to build before the loco begins to move.
- The Battery, ESC and Servo are mounted in the long hood.
- The Receiver, Sound Card, Picaxe Interface board and Speaker are mounted in the cab.
The unregulated battery powers the Radio Control components, the sound board, Front and Rear Lights, and the Motor.
Battery Charging
- Charging studs are mounted on the back buffer beam, for use with alligator clips.
- These are switched in and out by a DPDT Centre Off switch which has three positions being “On”, “Off” and “Charge”.
The PICAXE is used to provide a delay in the motor speed signal; this allows the revs to build up before the loco begins to move.
The throttle output of the RX feeds into pin1 (leg6) of the PICAXE and uses a PULSIN command to decode the pulses.
The PICAXE produces a PWM (not PWMOUT) voltage signal on pin4 (leg3), to control the throb rate of the sound board.
The speed O/P of the PICAXE is filtered by a 50ms RC circuit with large capacitor, to remember the required voltage during the approx 500ms scan time of the PICAXE.
The voltage outputted is not linear with throttle speed – it has a faster throb rate at lower speeds than a linear relationship would give – uses a LOOKUP table.
A second LOOKUP table provides the throb rate when slowing.
The voltage is fed to the 1-2 sec delay on the sound board to give the inertia effect of the diesel engine.
The decoded throttle speed signal in the PICAXE is delayed by around 1-2 sec and fed out as a PULSOUT command on pin2 (leg5) to the ESC without alteration, so the motor starts to move after the engine sound has increased.
The Turnigy TGY-20A Brushed ESC used provides the 5V needed for the Rx power, for the PICAXE board the power wires are split and the board inserted between the ECS and the Channel 3 pins of the Rx. (Right stick up/down).
The ESC switches the Negative side while the battery positive is connected to the motor positive.
Output goes via the reversing switch.
NOTE: The TX servo switch for the throttle must be in the “REV” position for it to work.
The PICAXE determines if the throttle signal is increasing or decreasing and sets the volume.
Pin0 controls the volume of the sound board via a transistor and a 1 uF capacitor.
Pin0 turns on a BC548 transistor for soft, which connects the 1uF capacitor to the volume control network.
Direction control and Lights
Direction control is done via a DPDT switch glued to a servo which controls motor direction and the lights.
The lights are two white LEDS and a dropping resistor connected across the motor contacts.
Depending on polarity the appropriate LED will light when the motor starts to drive i.e. lights come on when motor volts are high enough to cause them to light. The servo plugs into Ch 1 – this is the right stick, left (reverse)/right (forward)
Modification of Diesel Sound Unit
- Input “S” comes from the Sound PICAXE PWM output (5V max) smoothed by a 470k (R2) and 1uF (C3) mounted on the sound board. – (the 470k was 1M)
- All the 9 ‘input’ diodes, except 1 to provide polarity protection, were removed
- R2 changed from 1M to 470k
- R3 removed because only 5V input for max speed. Gives 1.45ms period at idle and 0.55ms at full speed.
- Changed C7 from 10uF to 0.033uF – ridiculously large in series with a 1M resistor and caused charging time problems at turn-on.
- A 680K resistor was used for R11 (instead of 1M) to increase the volume.
- Added 10nF in parallel with the supplied C2 22nF, giving a total of 33nF, for to slow idle.
- Removed R7 used to give a turbo whine.
- Changed R1 from 10 to 150ohm to help smooth the IC supply which is only about 1mA.
- Added 1000pf across C8 (220pf) to try to reduce whistle from motor/ESC.
“V” is to control the volume - Pin0 turns on a BC548 (TR4) transistor for soft, which connects a 1uF capacitor across C5 on the sound board.
It feeds an 8 ohm 2.5Watt speaker mounted on the cab roof
Sound Card Schematic showing changes |
Modified Sound Card Schematic |