Speed Matching Locomotives

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

Summary: Matching speeds between locomotives consisting can be done easily without introducing problems. The goal: With the same throttle setting, each locomotive should travel the same distance at the same time. Think of the method as distance/time matching rather than speed matching.


See the Video.

This article explains Speed Matching for your locomotives. Also read the article on Back-EMF for more details. Read the documentation for the decoder as well, as it may have advice on speed matching, plus CVs needed. CV29 enables the speed table.

Running Stands in use. These were made by Bachrus Inc. Picture by don7.

Speed Matching

Speed Matching involves running locomotives on a long section of track and timing how long a locomotive takes to travel a defined distance. For N scale 15-20 feet is needed, adjust this method to your scale. Measure out a known distance on the layout, the longer the better. You'll also need a stopwatch for timing. Clean the track and wheels beforehand to eliminate any pickup issues. A double tracked section of mainline can be used to compare two locomotives simultaneously.

With this method, determine a locomotive's speed by measuring the time required to travel a known distance. This will need to be completed twice for each locomotive, using different throttle settings. Determine which locomotive starts at the lowest throttle setting, and which locomotives run the fastest at a high throttle setting.

Another possibility is to use a test stand with a speedometer, such as that which was offered by Bachrus. That allows you to adjust speeds on your workbench.

Before beginning determine which locomotive runs the slowest at a given speed step. Trying to match a slow locomotive to ones which are faster will be frustrating.

The speed matching process is much easier using DecoderPro.


If not using DecoderPro, read the CVs below in each locomotive and make note of them before altering any CV.

Digital Speedometer

Speed Tables are Optional, consult the decoder's documentation to determine if that feature is included.

  1. Set the top speed
  2. Read the CVs from each locomotive
    1. If using DecoderPro: If the locomotive is not in DecoderPro's roster, create a new entry and read the decoder's CVs.
  3. Set CVs 02, 03, 04, 05, and 06 to 0 (zero). If these CVs are NOT zero, their effects will adversely influence your observations; any effort will be fruitless.
    1. This clears the Vstart, Acceleration Rate, Deceleration Rate, Vhigh and Vmid values.
  4. Turn off BEMF. [1]
  5. Set the command station to use the 128-speed step mode. If you typically use the 28-step mode, the decoders can be fine-tuned in that mode later.

Making Adjustments

When speed matching two locomotives on parallel tracks, making them a consist simplifies control of both!

    1. This is CV5. Use a value of 180.
    2. If using a speed table, set CV94 to 180.
      1. If you are using DecoderPro, the easier method is to use the Match Ends command in the Speed Table tab.
  1. For each locomotive, determine which throttle setting gets the locomotive moving from a dead stop. Note this setting, and also the time it takes to travel the track section.
  2. Now run each loco at some ridiculously high throttle setting to determine which loco runs *faster* at that setting. (We can decrease top voltage on the faster one; we cannot increase the slow one.)
  3. Be sure to start the loco some distance before reaching the beginning of the measured distance, so that its speed stabilizes before it begins the measured distance.

Let's start adjusting the start speed:

  1. Determine which loco starts the slowest, or lowest speed step, preferably speed step 1.
    1. In this step, we are only interested in what it takes to get the loco moving from a dead stop.
    2. Through decoder settings, we can adjust the startup voltage to get it to start moving at speed step 1.
  2. Once the reference locomotive has been found, match the other locomotives to that speed step.
    1. Slowly increase CV02 until it starts moving on that speed step.
      1. Consisting the locomotive to the fastest unit (but don't couple them) will visually indicate when the match is close. That way one throttle controls both units.
      2. If a double track is available, run them side by side to verify the result against the reference locomotive
    2. Repeat this step for each locomotive to get starting speeds matched.
    3. Verify the speeds match by increasing the speed up to speed step 10, for example.
  3. Repeat the process moving in reverse. They should be close. If not, adjustments to Forward Trim and Reverse Trim (CV66 and 95) will be necessary.
Adjusting the Max Speed:
  1. Here, we will be adjusting the faster locomotive's speed to match the speed of the slower locomotives. Begin with one of the faster locomotives you wish to match. This is why a value of 180 was used in CV5.
  2. Keep adjusting CV05 (or CV95 if using the speed table) until the maximum speed matches that of the slowest locomotive you wish to match.
  3. Repeat the above step for each of the faster locomotives, remember, we are not changing this setting on the slowest locomotive.
Mid-Range Speeds

After the Slowest and Fastest speeds have been matched, some adjustment in the middle will be needed.

  1. With a speed selected in the middle of the range, adjust the appropriate CV to match the faster unit to the slower one. Either locomotive can be tweaked, or both if needed.
  2. Again, verify the match is close in both directions, and make any adjustments needed.
  3. If using DecoderPro, the speed table can be adjusted using the midpoint as a reference, to create a straight line from the middle to the top and bottom of the curve. Don't alter the midpoint!

Speed Tracking

This is to verify the locomotives have a good match, by slowing incrementing the throttle and observing their behaviour. If problems appear, repeat the process to match them.

Momentum Adjustments

Using the notes made earlier, set the momentum via CVs 3 and 4 to their previous values. Run the units again, at various speeds, then change direction on the throttle to see how they slow to a stop and reverse. Make any adjustments deemed necessary.

Once you get the above working, start turning on special features such as BEMF if you feel the need. After doing that, again verify that they are matched. If the Decoder supports BEMF Cutout, adjustments may be needed to make the locomotives have a similar cutout.

Things to Keep in Mind:

It is not possible match the speed of every locomotive exactly. There are differences in motors, drivetrains, etc. It is impossible to eliminate these irregularities to match every speed perfectly. In time it may be necessary to make adjustments as the mechanism wears in.

  • At a given throttle setting:
    • Some vehicles will run at one speed going forward, and an entirely different speed going in reverse.
    • Some vehicles run at one speed running "light", with a different speed when under load.
    • Some vehicles will run at one speed going uphill, and another speed going down...

Some decoders may have an optional Forward/Reverse Trim feature, which allows you to adjust the speed to match in both directions.

Final Steps

Couple and consist the locomotives together. Take them out onto the mainline to observe how they behave at various speeds. Mute the sound (if equipped) so that odd noises, like wheel slippage can be heard. The consist should run smoothly with little surging or bucking. If so, the culprits may need additional tweaks to the speed ranges.

If you used Decoder Pro, be sure to save the updated roster information for each locomotive.

Possible Issues

The NMRA DCC Standard S9.2.2 specifies that CV2 (VStart) is mandatory, CVs 5 and 6 are optional. These three CVs are only active when CV29 bit 4 is set to 0 (zero).

  • Speed tables are optional. This feature (if available) is only active when CV29 bit 4 is set to 1 (one)

Note: Speed tables must not have a a step set to a value lower than that of the previous step. Doing so will cause problems. Software such as JMRI DecoderPro or ESU's LokProgrammer will prevent this mistake from happening.

  • SoundTraxx Tsunamis work a little differently. When the speed table is active, CV2 is ignored but its value is used to adjust the speed table.
  • QSI multifunction decoders do likewise: The values in CVs 2 and 5 impact the speed table.
  • ESU V4 and Select multifunction decoders also have differences (excluding those with an early firmware version). Again, CVs 2 and 5 modify the speed table (when active) by specifying the VStart and VHigh values. CVs 67 and 94 are fixed values. The advantage is that the bottom and top of the speed curve can be altered easily while avoid mathematical errors possible when using QSI's method. The decoder determines the actual speed curve, so the speed curve always starts on the values found in VStart and VHigh.

For more detailed information see the JMRI web page on Speed Tables.

See Also

Speed matching Videos

This demonstrates the Bachrus console unit for reading the speed when speed matching DCC locomotives. Unfortunately, Bachrus is no longer in business.

DCC Speed Matching Using JMRI and Accutrack II Speedometer
  1. This step may not be needed with TCS or QSI decoders.