Chapter 3 - Layout Wiring
Chapter 3 - Layout Wiring
Model Railways
Chapter 3
Layout wiring options
By Davy Dick
Electronics for
Model Railways
By Davy Dick
This book is issued as, without any warranty of any kind, either express or implied, respecting the
contents of this book, including but not limited to implied warranties for the book's quality,
performance, or fitness for any particular purpose.
Neither the author or distributors shall be liable to the reader or any person or entity with respect to
any liability, loss or damage caused or alleged to be caused directly or indirectly by this book.
All trade names and product names are the property of their owners.
In memory of Margaret
Contents
Chapter 1 - Basic Electronics
Chapter 2 - Motors and DC controllers
Chapter 3 – Layout wiring
Chapter 4 – Track wiring
Chapter 5 – Point wiring
Chapter 6 – Point motors & servos
Chapter 7 – Power supplies & cutouts
Chapter 8 – Batteries
Chapter 9 – Digital Command Control
Chapter 10 – Track occupancy detectors
Chapter 11 - RFID
Chapter 12 - Scenic lighting
Chapter 13 – Train lighting
Chapter 14 - Adding sound
Chapter 15 - Animations
Chapter 16 - CBUS
Chapter 17 - EzyBus
Chapter 18 – Interfacing techniques
Chapter 19 - Construction methods
Chapter 20 – Transistors, ICs and PICs
Chapter 21 - PICs & Arduinos
Chapter 22 - 3D printing
Chapter 23 – Computers & model railways
Chapter 24 – Assembling a tool kit
Chapter 25 – Soldering
Chapter 26 – Using test equipment
Chapter 27 – Pocket Money Projects
Chapter 28 - Abbreviations & Acronyms
Appendix – The Model Electronic Railway Group
Layout wiring options
Some layouts are planned and some layouts just 'develop' with time.
While a lot of thought often goes into designing the tracks, the wiring of the layout is often
looked at afterwards. This can easily lead to ad-hoc wiring schemes involving duplication
of work, greater fault liability and even ripping out some parts to start again.
This is all avoidable if the layout wiring is considered along with the rest of planning of the
layout. Don't lay the track then think about the wiring; plan your wiring requirements
before laying the track.
This, in turn, means that you should give some thought about what type of layout you are
aiming to produce - from an electrical standpoint.
As we will see later, there are a variety of ways to operate and control a layout, with each
requiring different wiring systems (e.g. DC, DCC, CBUS, etc.). You may even decide to
buy particular brands of track and points that best match your final layout configuration
(e.g. do you need insulfrog or electrofrog points).
Safety
A short, but important, word before we begin.
All the wiring that runs above and below your baseboard should be at low voltage.
Mains voltages should never be allowed on the baseboard.
There are a number of circuit diagrams available on the Internet for constructing home made
loco controllers. Most use mains transformers to feed the rest of the circuit. Please don't
attempt this unless you really know what you are doing. An alternative is to use 'wall warts'
or 'power bricks' – power supplies that are sold for use with consumer goods or computers.
These are double insulated and safe to use.
Block control
Real-world railways divided up mainline track into long blocks, with entry to each block
controlled by signals. This prevented trains from running into the back of each other.
This concept can be adopted for model railways in various options. We can carry out all
operations manually, through electronic modules, or through computer control.
For us, block control is a common means of controlling multiple DC locos on a layout. If
you divide your layout into sections of track that are electrically isolated from each other,
you can place multiple DC locos on the layout, each in a separate track section.
If you are installing track, you can use plastic rail joiners to isolate adjoining rails. If the
track is already laid, the rails can be cut with a fine-toothed saw or with a cutoff disc in a
Dremel drill (don't forget to wear protective glasses).
Since each loco sits on an isolated section of track, it can be operated in that section,
independently from any other locos on other sections.
You would create a block for each section of track on which you are likely to run, or park,
trains. Some sections will be long (e.g. a stretch of main line) and others short (e.g. a
siding or a passing loop). The more blocks you create, the more flexible the layout becomes
– but the complexity of the wiring and switching also increases.
Since each block requires to be powered independently, they need their own separate power
wiring back to the loco controller.
This illustration shows a basic block system (sometime referred to as a 'Star' or 'Point to
Point' system).
So, throwing these two switches allows the operator to drive the train from block A, through
block B, to block D. If switch S2 is now turned off, block D has no power and the train sits
stationary in the block.
Now, if switch S3 is thrown, a train in block C is powered and could be driven from block
C, though block B to block A.
Pros:
Each section is independent, so a failure in one section need not prevent the rest of the
layout from working.
Each section only draws a proportion of the total layout current.
You can concentrate the entire layout's device controls (circuit breakers, block detectors,
light switches, point control modules, etc.) in one accessible location.
Cons:
The huge amount of wiring that is involved produces cable management problems,
unless meticulous records are kept.
The long runs to the remotest parts of the layout may cause voltage drops in the cable
and connectors, reducing the efficiency of the devices at the far end (e.g. locos running
more slowly, LEDs dimmer, CDU's being less punchy).
Multiple operators
The simple illustration above shows three tracks sections that can be switched between
being powered and unpowered. It is designed for one operator, running one train at a time,
using a single controller. That is enough for many home layouts, with the switches to
power the blocks mounted in a central control panel.
For larger home layouts and club layouts, there is a need to have multiple operators, each
running their own locos – while still maintaining electrical and physical separation.
For every loco running on the layout, there is an operator with a separate controller and two
controllers should not be connected to the same block at the same time.
Cab Control
The most flexible approach is to allow all operators and all controllers access to all blocks.
This is known as 'cab control'. It gives any one operator the ability to control his/her train
anywhere on the layout. Naturally, this raises problems of 'interlocking' – making sure that
no two controller access the same block at the same time. This can be achieved through
lots of switches, or through more complex arrangements using electronics and relays.
We could have a separate switch for each controller to every block, but this quickly creates
problems. Imagine a control panel that allowed 6 controllers access to 80 blocks – a total
of 480 switches! However, there is an even bigger problem. To ensure that one controller
had sole access to a block, we would have to ensure that the other five controller's switches
were switched off – accidents waiting to happen! Luckily, there is an improved switching
system that drastically cuts down the needs to a single switch for each block.
Switch panels
With a small layout, cab control is usually achieved by fitting all the switches to a central
control panel.
It is still possible to have a central switching panel in a larger layout, as long as the
operators are happy to have a main co-ordinator in charge of all layout block switching.
The main co-ordinator decides which operator can take over a block and provides access to
the block to the chosen controller. The co-ordinator informs the chosen operator that he/she
is ready to go – verbally, through lights, or through switching track signals. This method
may be thought useful for running timetables, with the co-ordinator as the signalman,
dispatcher, or 'Fat Controller'. It still allows some degree of flexibility. So, if block 12
should never be available to controller 3, then controller 3 will not be wired to block 12's
rotary switch.
Electronic switching
While switches are the simplest way to ensure cab control, power to blocks can be
controlled electronically. When a relay switches one controller's power to a block, it
prevents other relays from switching until the block is released by that operator.
Many home-brew designs have appeared to meet the needs of particular layouts.
Ready-made modules are available for automatic block control.
Heathcote Electronics have a range of modules that implement interlocking and also include
acceleration and deceleration of the loco.
MERG's SuperBloc system produces electronic kits that ensure there is never more than one
train in each section at any one time. Trains can be controlled manually by setting signals
in each area, or run automatically via interconnected block controllers. It is designed for
DC motors.
Finally, control of blocks could be achieved by linking electronic boards to a personal computer.
CTI Electronics market a range of boards, under the 'Train Brain' range for controlling DC locos,
via a PC and MERG produce a range of kits for DCC in its CBUS range for standalone or PC
working.
Bus control
This approach dispenses with lots of block switches
This illustration shows that a single pair of wires is taken from the controller and routed
round the layout.
Wires are then run from each piece of track to connect to this 'bus'.
Pros:
The huge potential reduction in layout wiring.
Fewer wires means the wiring is cheaper/quicker to install.
Fewer wires means reduced maintenance problems (fewer wires to break, fewer
connections to corrode, fewer wires to have to trace/colour code/document.
Fewer wires means less interference between longs runs of parallel wires (noise,
crosstalk, induction).
Easy to extend. Adding an extra baseboard, or adding a terminus, does not
require lots of extra wires to be run back to the central point. The devices are
simply tapped on to the existing bus which is extended to the new work area.
Cons:
Vulnerability to breakdowns. Since the entire layout relies on a single pair of
wires, any breakdown in the bus could stop the entire layout from working. A
system of cutouts to various sections is necessary to restrict the breakdown to the
section that is causing the problem.
Without using additional boosters (see below), the bus has to handle the entire
current demands of all attached devices.
A single DCC command station still controls the entire layout and locos can move freely
throughout the layout without any block switches. The layout is separated into a number of
isolated sections that connect to the command station through separate boosters. The
boosters have their own power supply and that means that the command station and its
wiring does not have to carry the total current of the entire layout. Each booster powers its
own district. The commands to control locos and DCC accessories come from the
command station and are sent to each booster via its own bus – the Control Bus.
Another requirement for multiple operators is a connection between their hand-held
controllers and the command station. This wiring connection is known as a 'Cab Bus' and
may be specific to a particular commercial DCC system, as there is no NMRA standard for
CAB buses. The Cab Bus (or Throttle Bus), as shown, also allows computers and/or
control panels to communicate with the command station.
Other buses
Star and Bus wiring is not restricted to loco traction. It is also applicable to point control,
signalling, lighting, etc. For example, if a factory used 20 LEDs for internal illumination, it would
be very messy to have 40 wires routed back to the power supply. A single 'accessory bus' could
take the power to the building, where is would fan out to individual LEDs. In other words, a bus to
the building and a star formation inside the building.
Where heavy current peaks are expected, it is best to have a separate loco traction bus and an
accessories bus. That way, if a loco suddenly pulls away, the lights don't dim in the station; or if a
group of solenoids are operated for setting a route, the loco does not suddenly jerk down to a slower
speed. For larger layouts, it is advantageous to have a separate power supply for the accessories.
This diagram shows the versatility of the system. Apart from power, all the devices that are
shown interface with each other over a single pair of wires – the CBUS.
The devices include switches, LEDs, various point motor controllers, track occupancy
indicators, relays, etc.
This 2-wire bus can replace much of the traditional layout wiring.
For those beginning to plan a new layout, the CBUS system should be given consideration.
Even for existing layouts, CBUS can be used to implement new additions such as signal and
point operations, or track occupancy feedback to a mimic/control panel. This can be
achieved without altering the existing track power arrangements.
EzyBus
This is also a 2-wire system and is based on only three different types of module.
The illustration shows a simple control panel controlling 16 points.
If you need to control points or accessories from a control panel, you need to run wires
directly from the panel to each device. This includes the signal to operate the device and
the power for that device.
Similarly, if you want to have panel lights indicating track occupancy, you have to run
signal wires back from every detector to the panel (plus the power for the detectors).
Bus systems simplifies and reduced the layout wiring and this chart shows some
comparisons.
Read the chapters on DCC, CBUS and EzyBus for fuller explanations.
Use existing
Direct from controller Directly from controller or use
Use with existing DC
Traction to track (maybe via controller to track or CBUS (with
or DCC controllers
switches or relays) via a booster CANCMD and
CANCAB)
Accessory
Needs 12V feed Via track bus Needs 12V feed Needs 12V feed
power