Digital Command Control

Last updated

Digital Command Control (DCC) is a standard for a system for the digital operation of model railways that permits locomotives on the same electrical section of track to be independently controlled.

Contents

The DCC protocol is defined by the Digital Command Control Working group of the US National Model Railroad Association (NMRA). The NMRA has trademarked the term DCC[ citation needed ], so while the term Digital Command Control is sometimes used to describe any digital model railway control system, strictly speaking it refers to NMRA DCC.

History and protocols

A digital command control system was developed (under contract by Lenz Elektronik GmbH of Germany) in the 1980s for two German model railway manufacturers, Märklin and Arnold. The first digital decoders that Lenz produced appeared on the market early 1989 for Arnold (N scale) and mid 1990 for Märklin (Z scale, H0 scale and 1 gauge; Digital=). [1] Märklin and Arnold exited the agreement over patent issues, but Lenz continued to develop the system. In 1992 Stan Ames, who later chaired the NMRA/DCC Working Group, investigated the Märklin/Lenz system as possible candidate for the NMRA/DCC standards. When the NMRA Command Control committee requested submissions from manufacturers for its proposed command control standard in the 1990s, Märklin and Keller Engineering submitted their systems for evaluation. [2] The committee was impressed by the Märklin/Lenz system and had settled on digital early in the process. The NMRA eventually developed their own protocol based on the Lenz system and further extended it. The system was later named Digital Command Control. The first commercial systems built on the NMRA DCC were demonstrated at the 1993 NMRA Convention, when the proposed DCC Standard was announced. The proposed standard was published in the October 1993 issue of Model Railroader magazine prior to its adoption.

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.

The DCC protocol defines signal levels and timings on the track. DCC does not specify the protocol used between the DCC command station and other components such as additional throttles. A variety of proprietary standards exist, and in general, command stations from one vendor are not compatible with throttles from another vendor.

RailCom

In 2006 Lenz, together with Kühn, Zimo and Tams, started development of an extension to the DCC protocol to allow a feedback channel from decoders to the command station. This feedback channel can typically be used to signal which train occupies a certain section, but as well to inform the command station of the actual speed of an engine. This feedback channel is known under the name RailCom, [3] and was standardized in 2007 as NMRA RP 9.3.1.

Quoting "NMRA Standards and Recommended Practices": [4]

S-9.3 DCC Bi-Directional Communications Standard
S-9.3.1 (discontinued)
S-9.3.2 DCC Basic Decoder Transmission - (updated 12/20/2012) UNDER REVISION

How DCC works

A short, mid packet, example of a DCC signal and its encoded bit stream DCCsig.png
A short, mid packet, example of a DCC signal and its encoded bit stream

A DCC system consists of power supplies, command stations, boosters, throttles and decoders.

The DCC command station creates the digital packet using data from a throttle. The digital packet contains the decoder's address, instructions and an error byte to check the validity of the packet.

Many command stations are integrated with an amplifier (booster) which, in combination with its power supply, modulates the voltage on the track to encode digital messages while providing electric power. For large systems additional boosters may be employed to provide extra power.

The track voltage is a pure digital signal, described as a differential signal with no ground reference. [5] One rail is always the inverse logical state of the other, with each data pulse repeated. The DCC signal does not follow a sine wave, nor is it a carrier superimposed on a DC voltage. The command station/booster quickly switches the voltage applied to the rails on and off, resulting in a binary stream of pulses. As there is no polarity, direction of travel is independent of the rail's state. The length of time the voltage is applied provides the method for encoding data. To represent a binary one, the period is short (nominally 106  μs), while a zero is represented by a longer period (nominally at least 200 μs).

Each locomotive is equipped with an individually addressed multifunction DCC decoder that takes the signal from the track, processes and acts on the instructions. The electric motor's speed and direction is controlled using pulse-width modulation. Each decoder is given a unique address, and will not act on commands intended for a different decoder, thus providing independent control of locomotives and accessories anywhere on the layout without special wiring requirements. Decoders can also control functions such as lights, smoke generators, and sound generators. These functions can be operated remotely from the DCC throttle. Accessory decoders can also receive commands from the throttle in a similar way to allow control of turnouts, uncouplers and other operating accessories (such as station announcements) and lights.

It is possible to power a single analog (DC) model locomotive by itself (or in addition to the DCC decoder equipped engines), depending on the choice of commercially available DCC starter systems. The technique is known as zero stretching and is not part of the NMRA DCC Standard. The zero bit's period can be expanded (stretched) to make the average voltage (and thus the current) either forward or reverse, depending on which rail the stretched zero bit is applied to. However, because the raw power contains a large harmonic component, DC motors heat up much more quickly than they would on DC power, and some motor types (particularly coreless electric motors) can be damaged by a DCC signal.

Advantages over analog control

A DCC decoder installed in an N scale steam locomotive DCC decoder installed in an N scale LifeLike Berkshire Steam Locomotive.jpg
A DCC decoder installed in an N scale steam locomotive

The great advantage of digital control is the individual control of locomotives wherever they are on the layout. With analog control, operating more than one locomotive independently requires the track to be wired into separate blocks each having switches to select the controller. Using digital control, locomotives may be controlled wherever they are.

Digital locomotive decoders often include inertia simulation, where the locomotive will gradually increase or decrease speeds in a realistic manner. Many decoders will also constantly adjust motor power to maintain constant speed. Most digital controllers allow an operator to set the speed of one locomotive and then select another locomotive to control its speed while the previous locomotive maintains its speed.

Recent[ when? ] developments include on-board sound modules for locomotives as small as N scale, made possible by advancements in smartphones, which tend to use small yet high-quality speakers.

Wiring requirements are generally reduced compared to a conventional DC powered layout. With digital control of accessories, the wiring is distributed to accessory decoders rather than being individually connected to a central control panel. For portable layouts this can greatly reduce the number of inter-board connections - only the digital signal and any accessory power supplies need cross baseboard joins.

Example schematics

Schema DCC en.svg

Competing systems

There are two main European alternatives: Selectrix, an open Normen Europäischer Modellbahnen (NEM) standard, and the Märklin Digital proprietary system. The US Rail-Lynx system provides power with a fixed voltage to the rails while commands are sent digitally using infrared light.

Other systems include the Digital Command System and Trainmaster Command Control.

Several major manufacturers (including Märklin, Fleischmann, Roco, Hornby and Bachmann), have entered the DCC market alongside makers which specialize in it (including Lenz, Digitrax, ESU, ZIMO, Kühn, Tams, NCE, Digikeijs, and CVP Products, Sound Traxx, Train Control Systems and ZTC). Most Selectrix central units are multi protocol units supporting DCC fully or partially (e.g. Rautenhaus, Stärz and MTTM).

See also

Related Research Articles

<span class="mw-page-title-main">Rail transport modelling</span> Modeling trains hobby

Railway modelling or model railroading is a hobby in which rail transport systems are modelled at a reduced scale.

<span class="mw-page-title-main">CAN bus</span> Standard for serial communication between devices without host computer

A controller area network is a vehicle bus standard designed to allow microcontrollers and devices to communicate with each other. It is a message-based protocol, designed originally for multiplex electrical wiring within automobiles to save on copper, but it can also be used in many other contexts. For each device, the data in a frame is transmitted serially but in such a way that if more than one device transmits at the same time, the highest priority device can continue while the others back off. Frames are received by all devices, including by the transmitting device.

<span class="mw-page-title-main">Power-line communication</span> Type of network

Power-line communication (PLC) is the carrying of data on a conductor that is also used simultaneously for AC electric power transmission or electric power distribution to consumers. The line that does so is known as a power-line carrier.

<span class="mw-page-title-main">Third rail</span> Method of providing electric power to a railway train

A third rail, also known as a live rail, electric rail or conductor rail, is a method of providing electric power to a railway locomotive or train, through a semi-continuous rigid conductor placed alongside or between the rails of a railway track. It is used typically in a mass transit or rapid transit system, which has alignments in its own corridors, fully or almost fully segregated from the outside environment. Third-rail systems are usually supplied from direct current electricity.

<span class="mw-page-title-main">Diesel locomotive</span> Locomotive powered by a diesel engine

A diesel locomotive is a type of railway locomotive in which the power source is a diesel engine. Several types of diesel locomotives have been developed, differing mainly in the means by which mechanical power is conveyed to the driving wheels. The most common are diesel-electric locomotives and diesel-hydraulic.

<span class="mw-page-title-main">O scale</span> Model railroad gauge

O scale is a scale commonly used for toy trains and rail transport modelling. Introduced by German toy manufacturer Märklin around 1900, by the 1930s three-rail alternating current O gauge was the most common model railroad scale in the United States and remained so until the early 1960s. In Europe, its popularity declined before World War II due to the introduction of smaller scales.

<span class="mw-page-title-main">HO scale</span> Model railroad scale of 1:87

HO or H0 is a rail transport modelling scale using a 1:87 scale. It is the most popular scale of model railway in the world. The rails are spaced 16.5 millimetres (0.650 in) apart for modelling 1,435 mm standard gauge tracks and trains in HO.

<span class="mw-page-title-main">N scale</span> Modelling scale of 1:160, 1:150 (Japan), 1:148 (UK)

N scale is a popular model railway scale. Depending upon the manufacturer, the scale ranges from 1:148 to 1:160. Effectively the scale is 1:159, 9 mm to 1,435 mm, which is the width of standard gauge railway. However the scale may vary to simulate wide or narrow gauge rail. In all cases, the gauge is 9 mm or 0.354 in. The term N gauge refers to the track dimensions, but in the United Kingdom in particular British N gauge refers to a 1:148 scale with 1:160 track gauge modelling. The terms N scale and N gauge are often inaccurately used interchangeably, as scale is defined as ratio or proportion of the model, and gauge only as a distance between rails. The scale 1:148 defines the rail-to-rail gauge equal to 9 mm exactly, so when calculating the rail or track use 1:160 and for engines and car wheel base use 1:148.

<span class="mw-page-title-main">Märklin</span> German toy company

Gebr. Märklin & Cie. GmbH or Märklin is a German toy company. The company was founded in 1859 and is based at Göppingen in Baden-Württemberg. Although it originally specialised in doll house accessories, today it is best known for model railways and technical toys. In some parts of Germany and in Sweden, the company's name is almost synonymous with model railways.

Z scale is one of the smallest commercially available model railway scales (1:220), with a track gauge of 6.5 mm / 0.256 in. Introduced by Märklin in 1972, Z scale trains operate on 0–10 volts DC and offer the same operating characteristics as all other two-rail, direct-current, analog model railways. Locomotives can be fitted with digital decoders for independent control. Model trains, track, structures, and human/animal figures are readily available in European, North American, and Japanese styles from a variety of manufacturers.

<span class="mw-page-title-main">Hornby Railways</span> British-owned model railway manufacturer

Hornby Hobbies Limited is a British-owned scale model manufacturing company which has been focused on model railways. Its roots date back to 1901 in Liverpool, when founder Frank Hornby received a patent for his Meccano construction toy. The first clockwork train was produced in 1920. In 1938, Hornby launched its first OO gauge train. In 1964, Hornby and Meccano were bought by their competitor, Tri-ang Railways, and sold when Tri-ang went into receivership. Hornby Railways became independent again in the 1980s, and became listed on the London Stock Exchange, but due to financial troubles reported in June 2017, became majority owned by British turnaround specialist Phoenix Asset Management.

Trainmaster Command (TMCC) is Lionel's electronic control system for O scale 3-rail model trains and toy trains that mainly ran from 1994 to 2006. Conceptually it is similar to Digital Command Control (DCC), the industry's open standard used by HO scale and other 2-rail DC trains. It has one advantage over DCC, in that TMCC-equipped locomotives can run simultaneously with non-TMCC locomotives and Lionel Legacy engines as well as LionChief and LionChief Plus equipped locomotives. The latter require a dedicated remote controller. MTH Corporation's DCS controller can be configured to control TMCC locomotives, and all four systems can be operated on the same track simultaneously. Each simply requires a constant track voltage. TMCC/Legacy "broadcasts" its signal to the antenna on the locomotives which listen for signals that first identify the particular locomotive by number and then it issues given commands as to speed, direction, sounds, lighting and other features. DCS performs similar functions but transmits a carrier over the rails which are picked up through the locomotive's electrical pickup contacts. While TMCC/Legacy and DCS remote controls relay operator commands to a device that transmits them to the train, LionChief/LionChief+ also issue remote control commands but the remote and locomotive are married and each locomotive requires a separate remote control. This system requires no additional wiring as the control is directly "narrowcast" to the locomotive in the same way as a television remote control or garage door opener functions. In 2017, Lionel released a universal remote for LionChief+ that will learn addresses for up to three locos at a time, simplifying the operation of multiple trains.

<span class="mw-page-title-main">Slot car</span> Slot-guided powered model car

A slot car or slotcar is a powered miniature automobile or other vehicle that is guided by a groove or slot in the track on which it runs. A pin or blade extends from the bottom of the car into the slot. Though some slot cars are used to model highway traffic on scenic layouts, the great majority are used in the competitive hobby of slot car racing or slot racing.

RS-485, also known as TIA-485(-A) or EIA-485, is a standard, originally introduced in 1983, defining the electrical characteristics of drivers and receivers for use in serial communications systems. Electrical signaling is balanced, and multipoint systems are supported. The standard is jointly published by the Telecommunications Industry Association and Electronic Industries Alliance (TIA/EIA). Digital communications networks implementing the standard can be used effectively over long distances and in electrically noisy environments. Multiple receivers may be connected to such a network in a linear, multidrop bus. These characteristics make RS-485 useful in industrial control systems and similar applications.

Märklin Digital was among the earlier digital model railway control systems. It was a comprehensive system including locomotive decoders, central control, a computer interface, turnout decoders, digital relays and feedback modules. The initial system was presented at the 1979 Nürnberg International Toy Fair, released in Europe in 1985 and the USA in 1986 under the name Digital H0.

<span class="mw-page-title-main">Garden railway</span> Model railway system

A garden railway or garden railroad is a model railway system set up outdoors in a garden. While G is the most popular scale for garden railroads, 16 mm scale has a dedicated and growing following especially in the UK. Model locomotives in this scale are often live steam scale models of British narrow gauge prototypes. 16 mm scale track, the same gauge as O gauge is probably now more popular in the UK than G scale.

A power booster is a combination of motor-mechanical power amplifier- generator. For example a 30kw motor with the power amplifier could power a 100kw generator. This power booster is now commercially available

Rocrail is a freeware software package for controlling a model train layout from one or more computers. Users can run trains directly from a computer, or have some run automatically with manual control for any others.

Digital model railway control systems are an alternative to control a layout and simplify the wiring and add more flexibility in operations. A number of control systems are available to operate locomotives on model railways. Analog systems where the speed and the direction of a train is controlled by adjusting the voltage on the track are still popular while they have recently given way to control systems based on computer technology.

References

  1. Werner Kraus. (1991). Modellbahn Digital Praxis: Aufbau, Betrieb und Selbstbau. Düsseldorf: Alba. ISBN   3-87094-567-2
  2. DCC Home Page "DCC Home Page", NMRA.org, accessed December 19, 2010.
  3. "Digital Command Control and RailCom". DCCWiki. 2023-10-30. Retrieved 2023-11-16.
  4. NMRA Standard S-9.1