DCC Train AutomationAn independent UK guide to automating a DCC model railway — home

Decoders & CVs

How to speed match DCC locomotives

Adjust start, mid and top speeds (and trims) so different locos run at the same speed for the same throttle setting – essential for double-heading and automation.

Time
1–2 hours
Difficulty
Medium
Cost
No extra cost
Steps
7
Checked
Report a problem

What you’ll need

  • A measured straight or oval of track (for example 1 m)
  • A stopwatch or phone timer
  • Tape measure Search Amazon for steel tape measure
  • Your command station with programming on the main, or JMRI DecoderPro

As an Amazon Associate we earn from qualifying purchases. The Amazon links go to search results, so you can compare what’s available.

Before you start

  • Load compensation (back-EMF) settings vary by maker; read the decoder manual before changing manufacturer-specific CVs.

Step by step

  1. Step 1: Pick a reference loco

    Choose a smooth runner as the standard and set its curve first. Matching everything to one loco is easier than chasing a number.

    Next: step 2
  2. Step 2: Set the starting speed (CV2)

    Set the throttle to speed step 1. Raise CV2 (Vstart) until the loco just moves smoothly, without lurching. CV2 sets the motor drive at step 1 (NMRA S-9.2.2).

    Next: step 3
  3. Step 3: Set the top speed (CV5)

    At full throttle, time the loco over your measured distance and lower CV5 (Vhigh) until it reaches a sensible scale top speed. ESU's decoders use CV5 to limit maximum speed.

    Next: step 4
  4. Step 4: Set the mid point (CV6)

    At half throttle, adjust CV6 (Vmid) for a sensible middle speed. Keep the order start < mid < top, as ESU advises. Some decoders only use CV6 with a three-point curve enabled.

    Next: step 5
  5. Step 5: Time each loco at three throttle settings

    Pick, say, step 10, 50% and 100%. Time the reference loco, then adjust each other loco's CV2, CV6 and CV5 until its times match within a second or so.

    Next: step 6
  6. Step 6: Fine-tune with trims or a speed table

    Many decoders support forward and reverse trims (CV66, CV95 – scale factor n/128) and a 28-point speed table in CV67–94, turned on by CV29 bit 4 (NMRA S-9.2.2). Use trims if a loco is faster one way than the other.

    Next: step 7
  7. Step 7: Match momentum

    If locos will run together, give them similar acceleration and deceleration (CV3, CV4). The NMRA formula is CV × 0.896 s ÷ speed steps per step, but some makers use their own units – ESU's LokPilot uses value × 0.25 s from stop to full.

Tips

  • Run every loco in for a while before matching – new mechanisms change speed as they loosen.
  • Do matching with the same speed-step mode (28 or 128) you'll use for running.

Questions people ask

Do I have to use a speed table?

No. CV2/CV5/CV6 are enough for many locos.

Can software do this for me?

JMRI DecoderPro groups decoder settings into clearly labelled panes, which makes the adjustments easier than typing raw CV numbers.

Sources

Checked 18 October 2026. We wrote this guide in our own words, using:

  1. NMRA S-9.2.2 Configuration Variables (July 2012) (nmra.org)
  2. ESU LokPilot 5 instruction manual, Edition 7 (distributor copy) (intermountain-railway.com)
  3. JMRI DecoderPro (jmri.org)

Tags: consist CV2 CV5 CV6 speed matching speed table

Was this guide helpful?

Report a problem with this guide
What’s the problem?

Please don’t include personal details we don’t need. See our privacy notice.