Home
Introduction
What train set to buy
Cost
Basic Tools
Base Board
Railway Track
Kato Track
Track Conversion
Building a Layout
Layout Designs
Members Layouts
Electronics
Digital Control (DCC)
Electronic Projects
Scenery
Plastic Kits
Rolling Stock
Maintenance
Model Railway Spares
Service Sheets
Harry Potter
Thomas Tank Engine
7mm Narrow Gauge
Railway Software
Downloads
Photo Gallery
FAQ
Forums
Classified Ads
Railway Dictionary
Competitions
Links / Sponsors
Terms & Conditions
Privacy Policy
Contacts
 

Scenery

Airbrushing
Ballast
Bridges
Buildings
Building Lighting
Grass
Hills
Inclines
Paint Conversion
Rock Faces
Hornby Skaledale
Railway Stations
Trees
Tarmac
Tunnels
Viaduct
Water
Finishing Touches
 

Electronic Projects

Railway Crossing
Building A Signal
Street Lights
 

Rolling Stock

Bachmann Wagons
Hornby Locomotives
Hornby Carriages
Hornby Wagons
Lima Locomotives
Lima Wagons
Loco Modification
Wagon Modification
 

Hornby Range Lists

Hornby Range 2006
Hornby Range 2007
Hornby Range 2008
Hornby Range 2009
Hornby Range 2010
Hornby Range 2011
Hornby Range 2012
Hornby Range 2013
Hornby Range 2014
Hornby Range 2015
Hornby Range 2016
Hornby Range 2017

Model Railway Electrics - Train Controllers. What's the Difference?  (AC, DC, DCC, and PWD)

Author "Ironduke" (forum member)



Intro: There seems to be some misconceptions about these different concepts so I thought I'd write this quick and grubby guide to clear things up a little. I hope it isn't too wordy, I hate reading things on-line.

 


AC stands for Alternating Current.
Alternating current is the type of electricity delivered to your home from a power station and consists of a voltage sine wave. That is the voltage varies from plus through zero to minus over time as represented in this graph.


You'll notice this wave alternates from 0 to +16V back through 0 to -16V and back up to 0 in 20ms. So this wave has a cycle or frequency of 1/20milliseconds or 50Hz, i.e. it alternates 50 times per second. Why? Because the generator producing the electricity revolves fifty times per second. In the USA it would be 60Hz


Why is AC used? Well the wonderful thing about AC is that if you make a transformer with 240 turns of wire on one side and 12 turns of wire on the other side, when you stick 240VAC at 1amp into the first side you get 12VAC and 24amps out of the other side. This means that power companies can use a transformer to change 240V and 1000 Amps into 240000V and 1amp. 1amp can travel much further through a power line without heating it up than 1000amps can. And you can plug a transformer into a 240V wall socket and get a safe 12-16V out the other side to run trains with. It's used to run your train controllers (see below) and other lights and accessories like point motors, but if you use it on point motors they will buzz at 50Hz!

 


DC stands for Direct Current.
Direct current is the type of power obtained from a battery, a DC power supply or from a train controller. A battery supplies a nice steady constant voltage (until it runs out). A DC power supply uses something called a rectifier to convert AC into DC and a capacitor to smooth it out. A rectifier simply takes all the bumps that were under the zero line in the above graph and inverts them so that they are above the line. The capacitor stores volts and fills the dips between the bumps making a smooth voltage. A train controller is similar to a DC power supply but often it doesn't include a capacitor to smooth it out and you can vary the voltage manually from 0 to + or – approximately 16V
The following graph represents the different outputs.



Now there's nothing wrong with the train controller having a messy output like that because the pulsing voltage gives your trains motor a bit of a kick to help it go. It's a bit like the difference between banging a nail in with a hammer and just trying to push it in. The motor is slow enough that you don't even detect the pulses, the train just glides smoothly along.

 


It's this characteristic of motors that makes PWM or Pulse Width Modulation a useful and effective method of controlling trains. PWM is used in feedback controllers and DCC decoders to control the motor in a train.
The output from a PWM controller (or a DCC decoder) looks something like this:


In much the same way that it is more efficient for your hot water service to turn on or off at varying intervals to maintain a constant water temperature it is far more efficient for the controller to turn the power to your loco fully on or off at varying intervals to maintain a constant speed. It is this efficiency that enables a tiny DCC decoder to run a locomotive without heating up and blowing itself to smithereens. The pulses happen much faster than your average DC controller, in the order of 10000 pulses per second. Note in DCC this signal is only present between the decoder and the motor. You won't see this signal on the track. So how does the DCC unit tell the decoder what to do?

 


DCC stands for Digital Command Control.
The DCC unit places a signal on the track that is a combination of constant power for running locos (and other things) and codes that tell each decoder what to do. The power component is similar to AC in that it varies around a mid point but it is different in that it is
a. A “square” wave
b. A very high frequency – 10KHz - and
c. Varying slightly between two frequencies. It is the varying in frequency that is used to deliver information. On our graph it looks like this:

  • Where the wave is narrow it is read as a 1.

  • Where the wave is wide it is read as a 0.

The decoders in the loco read in a series of 1s and 0s from the track. A typical message sent from the controller will start with a whole lot of 1s meaning “attention, message coming” followed by the address of the decoder that the message is intended for followed by the message itself, eg “start” “speed step 1” “reverse” “turn headlight on” etc etc.

When no messages are being sent the signal is just a lot of 0s (or wide squares) but this is a rare condition, like when you first switch on a brand new unit and haven't entered a loco address. If the unit owns a loco address, even if the loco isn't doing anything, the unit is constantly refreshing the commands on the track, just in case a loco was crossing a dead frog or was temporarily isolated or there was noise on the track and it didn't receive the last message. The same applies for point controllers and any other DCC decoder that's attached, if the unit knows about it, it's sending messages to it all the time. You probably didn't need to know that but I'm on a run.

 

[back to the top]


Model Railway Electrics - Power Clip - This page includes how to fit a hornby power clip, and where to put your power clip or power track. Model Railway Electronics - Train Controllers (AC,DC,DCC,PWD) What's the difference Model Railway Electrics - DC Controller - This page describes what dc control is. Its advantages and dis-advantages. R965 and C990 Model Railway Electrics - DCC Control - Digital Command Control (DCC) Model Railway Electrics - Infra-Red Control - (IRC) Infrared Model Railway Electrics - Point Motors Model Railway Electrics - Switches -  switches include  SPDT, DPDT, on-on, on-off, on-off-on, (on)off(on), Toggle switches, slide switches, and push to make switche. Switches can be used to operate model railway signals, model railway point motors, model railway turntable, Model railway Lights, isolating sections, etc Model Railway Electronics - Lights - This page include LED's L.E.D.'s,  filiment lamps and Bi pin lamp. This page discusses their power consumption heat and suitability for common uses. Model Railway Electrics - Arm Signal - How to Automate an Arm Signal R171 & R172 Model Railway Electris - Light Signals - Signal wire diagrams, How do real light signals work? Hornby, Gaugemaster, Build your own Signal - R406 Model Railway Electrics - Build Your Own Railway Signal, This page discusses how you can build your own cheap model railway signal Model Railway Electrics - How to build a working railway crossing Model Railway Electrics - How to build your own street lights Model Railway Electrics - Hornby turntable - Circuit diagram, Wiring diagram, video Model Railway Electrics - Isolating Circuit - What are isolating sections for, Circuit diagram, Build your own isolating section, How to wire isolating sections. Model Railway Electrics - Control Box - How to build a model railway control box to control your signals, points and other model railway electronics.

New Modellers Shop - A Model Railway Shop - Stocking model railway wagons, coaches, carriages, electric diesel and steam locomotives, power and control equiptment, point motors, train packs, scenery, signals switches, and much much more. Supplying model products along with reviews and advice. Railway Pictures - Railway photograph gallery covering all areas of railway traction, buildings, and trackwork. Extensive photo library, which is being added to weekly. Upload and share your own images to the site using its inbuilt upload features.

Model Scalextric Shop - Slot Car Shop - www.newslotcarmodellers.co.uk - F1, A1, Ralley, Road, Endurance, Touring Cars, Track, Parts, Spares
New Slot Car Modellers - A slotcar website for people new to the hobby. Supplying practical advise and information to slot car modellers and racers as they develop their hobby.
New Website Designer - New Website Designer's aim is to give basic practical advice about building your own website. The site takes you step by step through the process of picking your domain name, setting up your hosting, and building your website.