Digital Command Control - Power

DCCWiki, a community DCC encyclopedia.
Jump to: navigation, search

DCC Power

This article is part
of the DCC Tutorial
Tutorial pages...

DCC compared to Computers
Basic System
Starter Sets

Summary: Digital Command Control may seem very complex, but armed with the proper knowledge, you'll soon understand what makes model railroads operate with DCC.

The Digital Command Control Waveform

Overview of NMRA Digital Command Control – Power

You don't need to fully understand the technical details of how DCC works to use DCC on your railroad. If you don't understand everything, don't worry.


NMRA Digital Command Control, unlike other analog and digital Command Control systems, puts a 100% digital signal on the rails delivering power and data in the same signal.

The digital data is not superimposed on a DC or AC waveform, nor does it use a high frequency carrier in addition to the power applied to the track, unlike past and current command control systems. Since the rails are alternately energized or held to zero, there are no issues with polarity. The digital information is encoded in the time domain by pulse width, not by amplitude.

Since the signal is completely digital, the NMRA Digital Command Control waveform is a square wave. The nature of a square wave results in more demanding requirements for wiring to avoid voltage losses and signal distortion compared to analog control methods.

Too Long Didn't Read (TLDR)

There are many myths surrounding the DCC signal. Most of those myths are the result of applying analog ideas to a digital concept. Some come from a literal interpretation of the NMRA DCC Standards. Others have been promoted over the years due to misunderstandings or dislike for the DCC technology. Another source of confusion is the application of incorrect terminology.

  • The booster creates a binary ON or HIGH/OFF (LOW) signal which is applied to the power bus, which is sent to the track, then the train.
  • The binary value is determined by the period from one HIGH state to the next: 106µs (58 + 58) has a value of One, 200µS is a Zero.
  • The data is encoded in the time domain. Rise times of the signal carry no information.
  • There is full power on the rails at all times while the booster output is turned on. Voltage does not determine locomotive speed.
  • There is the signal phase present on the rails, where one rail is energized (HIGH/ON) while the other is LOW/OFF. One rail will always be in the opposite (inverted) state compared to the other.
  • There is no polarity as there are only two possible states: HIGH or LOW. There are no negative voltages present.
  • Current flows from HIGH to LOW.
  • The rails are identified as A and B, whose phase can be handled by auto reversers when A meets B, without need to flip toggle switches.
  • The phase of the rails does NOT control the direction of the locomotive.
  • The DCC Signal is in the audio range. There are no high frequency carriers in the MegaHertz region nor does "rise time" of the pulse carry data.

The DCC Signal

The Booster

Bridge sklop

The booster is a digital amplifier. It receives a logic level waveform from the command station. Logic level signals have two states: On or Off. The data is contained within the period of the on/off sequence. This logic level voltage is amplified to the necessary track voltage determined by the Scale of your model trains.

The amplification is performed by two pairs of transistors functioning as switches. When the digital input is low, one pair is switched on to create a path for current to flow though the power bus. When the digital signal changes to the high state, this pair turns off and the other pair turns on. For example, when the digital signal is HIGH or ON, pair A is switched on, delivering power to Rail A and facilitating its return to the power supply. When the inout goes low or OFF, the booster's circuitry connects Rail B to the power supply via pair B. This switching sequence creates the pulses on the rails which deliver both data and power to the multifunction decoders on the track. Most boosters are constructed to prevent any output in the absence of a digital input signal.

The booster's power supply determines the total power available, and must be selected accordingly. Refer to the instruction manuals for details on selecting the correct voltage and current capacity of the power supply for your DCC system, as many are not delivered with a power supply.


Power is a measure of energy. Energy is required by the multifunction decoder to operate the motor and lighting functions, as well as any other features it has. This power is delivered to the track by the booster.

The amount of power a DCC system can deliver is determined by the capacity of the both the booster and the power supply. An undersized power supply will limit the amount of power available. For N scale, the amount of power needed is low, from 36 to 60 Watts. For HO it can range from 50 to 80W. With larger current boosters, HO can reach 125W, and with larger scales, 240W.

Analog control systems rely on multiple small power supplies delivering low power to the track, such as 12 to 15W. The potential for damage when a short circuit occurs is limited, unlike a DCC booster which can deliver 5 or more amps into a short. For proper operation DCC requires more robust wiring (the power bus) than analog direct current, both for delivery of energy to the decoder, and quick reaction to a short circuit condition.


The voltage output of the booster is dependant on your scale. N and Z Scales require much less voltage than O or Large Scales. Where N Scale may require 12V, a large scale locomotive may require up to 24V for proper operation.

Common DCC Track Voltages by Scale
Z N HO S O G/Large Scale
10 − 12 12 − 14 14 − 16 22 − 24 *
Note: These voltages are based on which scale the booster is set for, not on which scale you're actually running. The booster has no way of knowing what gauge track it's connected to! The user must select the appropriate voltage for their application.
* The full NMRA specification of 24 V is recommended if you run anything but slower narrow gauge steam locomotives. Large scale diesels from Aristo-Craft for example cannot achieve prototype mainline running speeds on 22 volts, they need the full 24 volts to overcome the low gearing. Also speed matching requirements for consisting means you need some "headroom" in voltage.

Source: Digital Command Control


The amount of current required is determined by two parameters: The maximum amount of current the booster itself can deliver before overheating, and the current the power supply can deliver. Ideally the power supply should at least match the booster's current handling capacity. A power supply with a lower current output will work.

Of those two parameters, the booster limits the maximum current can be delivered to the track. The booster will also have the capacity to disconnect its output from the power bus should a short circuit occur, to protect itself from damage from excessive heat.

Signals on the Power Bus

Oscilloscopes display signals as vectors, as they have both amplitude and direction.


The oscilloscope traces on the left show (in Purple) the sum in Volts DC of both Rail A and Rail B. Rail A is the trace in Yellow, Rail B is in Blue. The yellow and blue pulses show the booster's output transistors switching states as the follow the data signal from the command station. The numbers 1 and 2 at the left represent Zero VDC present on the rail. Both output channels connect to a common point (labelled "ground") while the probes are connected to the Rail outputs. The Purple trace is twice the amplitude, as it is the sum of both signals. The purple trace represents a Differential Signal with no Ground, as per the NMRA Standards. (Note 1)

The digital data is represented by the time (period) the rail energized. There are no positive and negative voltages on the rails, the rail is either on or off. The multifunction decoder only sees its input signal go high and low. A total period of 58µS High + 58µs Low represents a binary value of 1, a total period of 200µs represents a 0 value.

This is not an AC signal, as the rail will have positive voltage on it, or none, at any point in time. What is happening is the current is changing direction as it moves from one rail to another. Measuring this with an oscilloscope will display a peak to peak signal, which many will claim supports their assertion that the signal is an AC waveform. Since there is no reference point, the trace indicates which connection was more positive than the other in time.

Mathematically, the signal would be expressed as X +jY + X − jY, where X is time and Y is the amplitude or voltage.

This method of transmitting data and power in the same signal results in a very robust signalling technique with a high signal to noise ratio while reducing the space charge around the rails and the electrostatic attraction of contaminants. A multifunction decoder can receive data regardless of the orientation of the locomotive, as either rail has data available.

Signal Quality

The idea Digital Command Control waveform is a square wave. Yet, the influence of the power bus and track, as well as the design of the booster present a number of challenges, such as distortion of the waveform.

Distortion can include ringing and switching (zero crossing) issues. The NMRA Standards include the requirement that both booster and multifunction decoder minimize any issues which may arise, such as the waveform quality at the booster output to requiring the decoder to accept a predetermined amount of signal degradation.

Matching the impedance of the track and power bus to the booster is impossible given the multitude of factors present in layout wiring, the engineers designing DCC boosters have to try their best to ensure a good quality signal within the tolerance specified can be achieved. They will try to optimize the time the output is off during the transition from one state to another, and how quickly the on/off sequence should occur during the bit transitions. At the same time they are trying to minimize excess heat production in the output stage.

Increasing the dead time between switching from one pair to the other comes with the possibility of increased distortion. Decreasing the period between switching can introduce ringing (overshoot) in the waveform. Ringing can be controlled using a termination on the bus.

Track Polarity

Digital Command Control has no concept of polarity. Digital signals do not have the concept of negative. A negative voltage would be considered an Undefined Value.

The track voltage on an oscilloscope's display indicates the presence of a plus/minus signal. It "sees" a negative voltage when the booster flips the rails, as the reference point is floating. There is no common reference point held to a zero potential. Another way to look at this is how the current is flowing: It will flow from A to B, then B to A. The scope trace will display this.

Oscilloscope trace of a Digital Command Control waveform as seen on the track.(Probe is connected to one rail and ground clip to the other.)

The track voltage has phase, one rail is always the inverse of the other. Phase is an issue with reverse loops and crossovers. A short circuit occurs during a phase mismatch, as current can now directly return to the power source. As mentioned above, the booster output has two pairs of transistors, or switches, each pair consists of a switch which connects the load to the power source, the other allows the current to return to the power source, completing the circuit. The state of these pairs is constantly changing in step with the data signal from the command station.

Unlike analog where polarity of the track controls the direction of the train, the direction of the train is controlled by the multifunction decoder in the locomotive. The decoder receives instructions from the throttle via the command station and controls the speed and direction accordingly. Physically re-orienting the locomotive has no effect.

There are claims the DCC track signal has positive and negative values, yet this would only be possible if:

  • The power supply, with two wires, has an output voltage of at least twice that of the track voltage, for example 30VDC at 5A
  • The power supply has three wires supplying both positive and negative voltages with a common return/reference point (15VDC / 0 / –15VDC)
  1. Sure, the booster could have a voltage doubler incorporated into its design. That adds cost and complexity for no real advantage.

It is not an analog waveform, where frequency, phase or amplitude have meaning.

Simple On/Off (binary) signal, with one rail always the inverse of the other.

NMRA Definition of Positive Rail

The NMRA defines the positive rail as theright hand rail when the locomotive is facing forward. This is completely subjective, dependant on the direction the locomotive is facing. The actual direction of travel is determined by the multifunction decoder itself.

Input circuit for a multifunction decoder.

The input circuit for a multifunction decoder consisting of an opto-isolator, with a "free wheeling" diode to protect it from a reverse bias condition. This circuit allows the vehicle to face either direction while still providing a usable data signal to the multifunction decoder.

Digital Command Control Signals

The DCC signal produced by the Command Station. This shows the binary On/Off nature of the signal, and each cycle consists of an equal On and Off period.

The command station will either transmit idle packets or previous packets. No data, no track voltage. The command station software will have logic in it to determine the sequence and repetition of packets to insure that the bandwidth available is used efficiently.


Bandwidth is taken into consideration during the design stages of the command station. The NMRA standard determines the maximum bits per second can be sent. A command station will send about 180 three byte packets per second. Larger packets, such as those for 128 speed steps or sound commands, require more time thus reducing the number of packets transmitted every second.

Operating a locomotive without a multifunction decoder installed in analog mode reduces the number of packets sent in a given period. As the throttle is opened the number of packets for this one vehicle increase. With a large number of locomotives in operation, Address 00 can become a bandwidth hog.

Command stations address bandwidth limitations with techniques such as queueing. New packets are sent first, older packets later. Properly done, several hundred locomotives can operate simultaneously with no noticeable problems, as multifunction decoders continue to do what they are doing until told otherwise. A train moving travelling on the main line requires less bandwidth than a switcher constantly changing direction and speed during yard operations. Consisting can also reduce the bandwidth required when operating many trains.

Higher end command stations use even more logic to determine the order packets will be sent. Several innovations reduce the number of packets that must be sent, such as advanced consisting, where one packet addresses several decoders, decoder feedback, where a decoder acknowledges it has received a good packet, negating the need to send it again, and dual command packets, where several instructions can be combined into one packet. These techniques reduce the bandwidth demanded to operate large numbers of trains effectively.

Advanced DCC Power Topics

The Advanced DCC Power Topics are provided for information purposes. It is not necessary to understand these topics to enjoy Digital Command Control

NMRA Digital Command Control Standards

The DCC protocol is the subject of two standards published by the NMRA: S-9.1 specifies the electrical standard, and S-9.2 specifies the communications standard. Several Recommended Practices documents are also available.



Read the entire document and any notes. The standard is deliberately not specific, as it only describes what the result should look like, not the exact construction. Also note it does not define polarity, as that is a quality wherein the direction the locomotive defines the positive rail.

See Also

  • DCC Tutorial (Power) - The tutorial version of this document.
  • Power supply - Details, requirements, and recommendations for power supplies.
  • Root Mean Square - Root Mean Square or RMS, additional information (lots of math).
  • DCC Ammeter: What you need to build an ammeter that can measure DCC current. Plus other electronics projects for DCC.

Square Waves and Fournier Series

Fournier Series on wikipedia All about how you can create square waves from a sine wave and its harmonics.