Summary: Analog Conversion is a mode of power conversion that is supported by most mobile decoders to allow a Digital Command Control decoder equipped locomotive to operate on a non-DCC equipped layout. Analog Conversion is defined as optional by the NMRA Digital Command Control Standard. It is not the same as Zero Stretching.
- Warning - Using a Primary Address (CV 1) of "0" enables this feature and overrides the APS setting (Bit 2) of CV29. A combination of a Primary Address of 0 and CV12=1 (Power Source Conversion) will result in an immediate runaway when DCC power is connected to the rails.
Also see the article on Power Conversion.
How It Works
Analog Conversion is an optional feature provided by a mobile decoder when it is operated on Direct Current supplied from a traditional analog controller. The DC voltage level must be sufficient to power up the decoder circuitry (usually only a few volts) so that it can operate. In the absence of a DCC signal, the decoder will default to driving the motor in the same direction as the polarity of the DC supply indicates. As the supply voltage increases the decoder will supply more power to the motor so that speed increases accordingly. When the direction is reversed on the analog controller, the decoder will correspondingly reverse the direction of the motor.
Different decoders may handle different analog controllers with varying degrees of success because many analog controllers do not simply vary the voltage to vary the speed. Some of them employ PWM or other techniques to modulate the motor speed to improve low speed performance.
Many mobile decoders will support automatic function controls in analog conversion mode. For example, only lighting the headlight in the direction of travel.
The NMRA standards dictate fail safe modes which must be present.
When a command station is initialized, two states can exist:
- It has stored the previous state of the system
- It has no information regarding the previous state of the system.
If the system has no stored state, it shall send a minimum of 20 reset packets, followed by at least 10 idle packets, before sending any command packets. The 10 idle packets are required to ensure the decoders exit service mode.
When receiving power, the decoder will boot up and enter digital operations mode. If a minor power loss occurs, and the decoder has received valid instructions prior to the outage, it should resume operations. If not, the decoder shall return the locomotive to a complete stop.
Analog Conversion Notes
According to the NMRA Standard S-9.2.4, Fail Safe Operating Characteristics:
- If a multi-function (mobile) decoder has automatic conversion enabled, detects the absence of a DCC signal for more than 30 mSeconds, it can switch to an alternate power source. If the decoder converts to an alternate power source, it shall accelerate or decelerate in the direction specified until it reaches the speed that the analog power dictates, using the programmed acceleration /deceleration rates of the decoder.
- A decoder not in digital mode detects a DCC signal, it shall switch to DCC operation and
- Continue at the same speed as it was while operating under the alternate power source
- Operate at the last known digital speed
- Stop until a proper digital instruction is received
- When converting to digital, should the new instructions cause the locomotive to reverse, the locomotive shall come to a complete stop (if needed) until
- the direction information is the same,
- a DCC instruction packet is received that tells the decoder to stop,
- a reset packet is received, or
- track voltage drops to 0 volts for 500 mS.
While operating in digital mode, the decoder shall have a Packet update timeout. If that value is exceeded, the decoder shall bring the locomotive or other devices controlled by it to a stop. The purpose is to ensure that all decoders receive updates from the command station which should help prevent runaway conditions. The user should be able to define the timeout value, or disable it.
Analog conversion is not required by the NMRA standard but the method of enabling it is. CV29's bit 2 must be turned on. By default it is usually off. This bit means Enable Power Conversion. The NMRA standard allows for multiple types of power conversion and analog is only one of them. For decoders that support multiple types of conversion CV12 should be set to 1 for analog conversion.
- Many users set the decoder to NMRA DCC Only, so if a decoder will not respond on a DC powered layout, check the decoder parameters are set to allow operation on analog power. This is done to prevent runaways should an unexpected condition occur on a DCC layout.
- As always, read the manual for your decoder.
Warning Regarding Operation of a Multifunction Decoder on an Analog Layout
Multifunction Decoders can be very demanding with regards to the signal on the track. Operation of a multifunction decoder on analog power does come with risks, as dirty track power can destroy an expensive multifunction decoder.
Low cost analog power packs, and train set quality power packs can create voltage spikes, irregular waveforms and other issues as part of their design, especially those equipped with Pulse Power for better low speed operations. The amplitude of these spikes can be enough to permanently damage the decoder, rendering it useless.
See the warning from Rapido Trains regarding analog operations and decoder damage for more information.
Homebrew DCC Systems and Power Supplies
It is possible for homemade analog supplies or DCC Boosters to damage decoders. Analog DC supplies may introduce voltage spikes which can damage a decoder. Improperly designed or constructed DIY DCC Boosters can introduce a DC voltage to the track that can damage a DCC Decoder.
- It is best to only use DCC systems which meet the NMRA DCC Standards to operate locomotives with DCC decoders installed, to avoid damage.
Further info: NMRA Standard S-9.2.4