Optimise Motor Control: Fine-Tune Locomotive Decoders
Does the locomotive run jerkily at speed step 1, does the motor hum, does the speed fluctuate on gradients or does the vehicle jump when starting? This guide explains how to check the mechanism and current collection first and then adjust the decoder's motor control in a controlled sequence.
What does a locomotive decoder's motor control do?
A modern locomotive decoder does not simply supply the motor with a constant voltage. It switches the motor voltage on and off very rapidly and measures the back EMF generated by the rotating motor during short measuring intervals. This allows the electronics to determine whether the motor is turning more slowly or quickly than required.
When the locomotive enters a gradient or pulls a heavier train, load compensation increases the motor output. On a downhill section, it reduces the output. When correctly configured, the vehicle maintains its speed, starts slowly and smoothly and responds to load changes without visible surging.
The factory settings of modern locomotive decoders already work well in many vehicles. Optimisation is useful only when the model is in sound technical condition and displays a reproducible problem. Blindly copying CV values from another locomotive may make the driving behaviour worse.
Before adjusting motor control
Coreless motors and older motor designs require particular care
Check the permitted PWM frequency, motor current and instructions supplied by both the vehicle and decoder manufacturers. Unsuitable settings may result in excessive heat, motor noise or overload.
Manufacturers offering adjustable motor control
Each decoder manufacturer uses its own parameters, value ranges and terminology. The manufacturer links provide access to suitable decoders, command stations, programmers and other digital accessories.
Four requirements for successful optimisation
Motor control can operate only as well as the motor, gearbox and power supply allow. These checks prevent a mechanical fault from being concealed by extreme decoder values.
Clean the current pickups
Wheels, pickup shoes, wheel contacts and the test track must be clean and conduct electricity reliably.
Check the gearbox
Gears, cardan shafts and bearings must not bind, run dry or be damaged.
Check the motor current
The maximum motor current must remain below the decoder's permitted load.
Save the original settings
Save the decoder project or original CV values before changing a parameter.
| Observation | Likely area | First check | Do not do this immediately |
|---|---|---|---|
| The locomotive stops on turnouts | Current collection | Clean the wheels, pickup shoe and contact strips | Increase the control gain |
| The locomotive jerks rhythmically | Motor control or mechanism | Observe the gearbox with the body removed | Change several motor-control CVs at the same time |
| The motor becomes hot quickly | Motor current, PWM or mechanism | Switch off the track power and check the drive for binding | Continue running or start automatic motor tuning |
| The locomotive simply runs too fast | Speed curve | Check CV 5 or the configured speed curve | Change PID or load-control parameters |
| The locomotive twitches just before stopping | Inertia or low-speed parameters | Test the behaviour with CV 3 and CV 4 reduced | Increase the starting voltage significantly |
Which motor-control parameters do manufacturers use?
The following overview is intended only as a guide. Use the instructions for the exact decoder family installed in the vehicle and never copy values from another manufacturer without verification.
| Decoder family | Typical parameter group | Recommended procedure |
|---|---|---|
| ESU LokPilot / LokSound | Depending on the generation, parameters may include the reference voltage, control gain and inertia. Current families frequently use CV 51 to CV 55. | First use a suitable decoder profile or the automatic motor tuning described in the instructions. Afterwards, change only one value at a time in small increments. |
| PIKO SmartDecoder XP | Auto-adaptive motor control and additional settings contained in the decoder project or product instructions. | Check the factory configuration and SmartProgrammer project before changing manual motor-control parameters. |
| ZIMO MX, MN and MS | Depending on the decoder, CV 9 may control PWM and measuring behaviour, CV 56 the control characteristics and CV 57 the reference voltage. | Use the current decoder instructions and matching firmware version. Test every small adjustment at low speed and under load. |
| Lenz Standard, Silver and Gold | Motor profiles in CV 50 and, for suitable profiles, fine-tuning using parameters such as CV 113 and CV 114. | Test the appropriate motor profile first and correct its fine-tuning parameters only afterwards. |
| Uhlenbrock IntelliDrive | Depending on the decoder, control parameters may be located between CV 53 and CV 58. | Follow the procedure in the exact product instructions because the value ranges differ between decoder families. |
| Märklin mLD3, mSD3 and OEM decoders | Motor type, control parameters and speed curve configured through the Decoder Tool, Central Station or DCC programming. | Select the correct motor type and vehicle project. Do not treat factory-installed decoders like universal retrofit decoders. |
Which area should be checked first?
Select the observed problem and decoder family. The diagnostic assistant identifies the first sensible area to inspect. It intentionally does not provide universal CV values because motors, gearboxes, firmware versions and decoder families respond differently.
Initially carry out every test without a train on a straight track. Then observe the behaviour with the usual train load and on a gradient. Save the decoder project as a new baseline only when both tests are stable.
Stop operation immediately if there is unusual noise, excessive heat or a significant rise in current consumption. Electronic optimisation cannot replace repairs to the motor or gearbox.
Motor-Control Diagnostics
Select the symptom and decoder family.
Check the current collection and mechanism. Then test the manufacturer-specific parameters for the lower speed range in small increments.
Optimise motor control in ten steps
Identify the decoder precisely
Determine the manufacturer, decoder family, firmware version and vehicle interface. The locomotive brand alone is not sufficient.
Save the original configuration
Save the decoder project or read all relevant motor, speed-curve and momentum values.
Service the locomotive
Clean the current pickups and motor. Check the lubrication, gears, cardan shafts, bearings and any hardened traction tyres.
Temporarily reduce momentum
Set CV 3 and CV 4 to low values during diagnostics so that reactions to motor parameters become visible immediately.
Check the speed curve
Do not confuse unsuitable minimum, mid-range or maximum speeds with poor motor control. Set a realistic maximum speed first.
Use automatic motor tuning only as instructed
If the decoder supports an automatic calibration run, provide a clear and sufficiently long track. The vehicle may accelerate rapidly during this procedure.
Change only one parameter
Change a single value in small increments, record it and repeat the same test in both directions.
Test low-speed running and load separately
Test speed step 1, a medium speed, a gradient and operation with the usual train load.
Monitor the temperature and noise
The motor and decoder must not become unusually hot after testing. Whistling, rattling or harsh control pulses are warning signs.
Fine-tune the driving dynamics
Only after motor control is stable should the acceleration and braking delay and sound sequences be configured permanently.
Motor-control considerations for different gauges
| Gauge | Typical challenge | Important points to check |
|---|---|---|
| Z gauge | Very small motors and little flywheel effect | Use extremely small adjustments, maintain clean current collection and monitor heat generation. |
| N gauge | Compact motors and limited installation space | Check the decoder dimensions, motor current and temperature with the body fitted. |
| TT gauge | Different generations of motors and gearboxes | In older models, check the mechanism and suppression components first. |
| H0 gauge | A very wide variety of motors, interfaces and decoders | Document the decoder family and motor type clearly. |
| H0e / H0m | Small vehicles, confined bodies and short current-pickup bases | Do not conceal contact problems with aggressive motor control. |
| Gauge 0 | Larger motors, flywheels and auxiliary functions | Test the motor current and interaction between sound, couplers and load simulation. |
| Gauges 1 / G | High currents, gradients and widely changing train loads | Check the power reserve, cooling and operation with a heavy train. |
Typical symptoms of unsuitable load control
Rhythmic acceleration and deceleration
The controller may be intervening too strongly. Check that the drive runs freely and then reduce the relevant manufacturer-specific gain parameter.
Unstable operation at speed step 1
Check the wheel contacts, starting voltage and special low-speed parameters. An excessive minimum voltage may also cause visible jumps.
Twitching just before stopping
Inertia parameters, the flywheel and braking delay may interact. Test the vehicle first with a low braking delay.
Significant speed loss on a gradient
Check the motor current, pickup shoe, wiring and mechanical friction. The control reference or appropriate motor profile can then be inspected.
Loud humming or whistling
The PWM frequency or measuring method may not suit the motor. Do not use experimental values without consulting the decoder instructions.
The locomotive becomes hot after the change
Switch off the track power immediately and restore the saved original value. Check for binding, suppression components, motor current and the permitted motor type.
Programmers and decoders for smooth driving behaviour
Programming systems make it easier to save and compare motor-control parameters. When replacing a decoder, the interface, protocol, motor current, installation dimensions and required functions must match the vehicle.
Programmers, testing devices and command stations
ESU 53451 LokProgrammer
Graphical configuration of driving, motor, function and sound parameters.
View product
PIKO 56415 SmartProgrammer
Programming system for compatible PIKO SmartDecoders and sound projects.
View product
Märklin 60971 Decoder Programmer
PC programmer for Märklin mLD3 and mSD3 retrofit decoders.
View product
PIKO 55830 SmartProgrammer Stick
Compact USB solution for SmartDecoder XP projects and settings.
View product
Uhlenbrock 71000 DigiTest
Testing, diagnostic and programming device for different decoder interfaces.
View product
ZIMO MXULFA
CV programming, firmware maintenance and sound transfer for ZIMO decoders.
View product
ESU 50220 ECoS 2.5
Multi-protocol command station with graphical locomotive and decoder management.
View product
Roco 10834 Z21 Professional Digital Set
DCC digital set with WLANMAUS, router and programming functions.
View productLocomotive decoders for H0 gauge
ESU 59610 LokPilot 5
Multi-protocol decoder with an eight-pin NEM 652 interface.
View product
ESU 59612 LokPilot 5 DCC
PluX22 decoder for vehicles with several lighting and auxiliary functions.
View product
ESU 59629 LokPilot 5 DCC
DCC locomotive decoder for models with a 21MTC interface.
View product
ESU 59619 LokPilot 5
21MTC multi-protocol decoder for DCC, Motorola, Selectrix and M4.
View product
PIKO 56503 SmartDecoder XP 5.1
Eight-pin multi-protocol decoder with auto-adaptive motor control.
View product
PIKO 56500 SmartDecoder XP 5.1
PluX22 multi-protocol decoder with auto-adaptive motor control.
View product
PIKO 56507 PSD XP 5.1 S
Unprogrammed eight-pin sound decoder for individual projects.
View product
Lenz 10231-02 Standard+
DCC locomotive decoder with an NEM 652 plug and high-frequency motor control.
View product
Lenz 10330-01 Silver Direct
Direct-plug DCC decoder for NEM 652 interfaces.
View productDecoders for TT, N, Z, H0e and H0m
Tillig 66035 Decoder
PluX12 decoder for suitably prepared TT vehicles.
View product
PIKO 46401 SmartDecoder 4.1
Compact multi-protocol decoder with a PluX12 interface.
View product
ESU 59818 LokPilot 5 micro
Multi-protocol micro decoder with a modern Next18 interface.
View product
ESU 59816 LokPilot 5 micro
Micro decoder with a six-pin NEM 651 interface.
View product
ZIMO MN160N
Particularly low-profile NEM 651 decoder for small vehicles.
View product
PIKO 46520 SmartDecoder XP 5.1 S
Next18 sound decoder with auto-adaptive motor control for an N gauge model.
View product
PIKO 46550 SmartDecoder XP 5.1 S
Vehicle-specific Next18 sound decoder with auto-adaptive motor control.
View productDecoders for Gauges 0, 1 and G
ESU 59315 LokPilot 5 L
High-output decoder for larger motors and several digital protocols.
View product
ESU 58513 LokSound 5 XL
XL sound decoder for powerful motors and numerous auxiliary functions.
View product
PIKO 36505 SmartDecoder XP 5.1 S
Unprogrammed large-scale sound decoder for individual projects.
View product
PIKO 36540 PSD XP 5.1 S
Large-scale sound decoder for class 199 and V 100 locomotives.
View productRelated guides to decoders and digital control
FAQ about optimising motor control
What is the difference between motor control and the speed curve?
Motor control attempts to maintain a specified motor speed despite changing loads. The speed curve determines which internal speed is assigned to each speed step.
Which CV controls the motor regulation?
There is no manufacturer-independent motor-control CV. ESU, ZIMO, Lenz, Uhlenbrock, PIKO and Märklin use different parameter groups and procedures.
Why does a locomotive run jerkily at speed step 1?
Common causes include dirty contacts, a binding mechanism, an excessive starting voltage or unsuitable control parameters for the low-speed range.
Should load compensation always be enabled?
Suitable load compensation is advantageous for most modern DC and coreless motors. The decoder instructions must be checked for unusual or historic motor designs.
Can incorrect motor control damage the motor?
Unsuitable PWM frequencies, excessive current or extreme control values may heat the motor and decoder. Stop operation immediately if the temperature becomes abnormal.
What does automatic motor tuning mean?
The decoder performs a controlled test run and determines suitable control parameters. The procedure is manufacturer-specific and requires a clear, sufficiently long track.
Why does the locomotive still slow down on a gradient?
Possible causes include insufficient motor power, voltage loss, dirty contacts, mechanical friction or an unsuitable control reference. Not every fault can be corrected electronically.
How should a coreless motor be configured?
Use only settings that the decoder manufacturer explicitly permits for coreless motors. The PWM frequency, motor current and heat generation are particularly important.
Why does the motor hum after a CV change?
The PWM frequency or measuring method may not suit the motor. Restore the saved original value and consult the instructions for the decoder family.
Can motor-control parameters be changed on the main track?
Many DCC decoders support Programming on Main. A separate programming and test track is safer for extensive experiments.
How are two locomotives matched for double heading?
First match the minimum, mid-range and maximum speeds. Then adjust the motor control and acceleration and braking delays. Test both vehicles individually before coupling them together.
When should the decoder be reset?
A reset is useful when several unknown values have been changed and the saved original configuration can no longer be restored. Use only the reset command specified in the exact decoder instructions.
Smooth motor control begins with a locomotive in sound technical condition
Further instructions, decoder guides, product comparisons and basic information are available in the central model railway guide.