QSI Comprehensive Listings Motor Control Settings (PIDs)
The PIDs for more than 160 locomotives from N to G scales are listed here. These settings optimize the low speed performance and will enable the very smooth control at less than 1 scale mph. If your loco is not on this list then try to use the same settings as listed for the same manufacturer for a similar loco.
VLS: Very Low Speed
LS: Low Speed
MS: Medium Speed
HS: High Speed
PG: Proportional Gain
IG: Integral Gain
DG: Differential Gain
|VLS PG||VLS IG||VLS DG||LS PG||LS IG||LS DG||MS PG||MS IG||MS DG||HS PG||HS IG||HS DG|
|Note: No values listed for the Integral Gains indicates that the feature is not supported in the specific version of the firmware!|
|Locomotive Model and Manufacturer||CV 56. 18. 0||CV 56. 18. 1||CV 56. 18. 2||CV 56. 19. 0||CV 56. 19. 1||CV 56. 19. 2||CV 56. 20. 0||CV 56. 20. 1||CV 56. 20. 2||CV 56. 21. 0||CV 56. 21. 1||CV 56. 21. 2|
|The Model # is a QSI firmware designation and is not the loco catalogue number. The model numbers are in chronological order from the initial run release dates.|
|Model 100 E7 (BLI)||15||60||10||40||10||40||10||40|
|Model 101 SW7 (BLI)||20||80||8||20||4||20||4||10|
|Model 102 SD40 (BLI)||10||80||10||40||10||40||10||40|
|Model 103 DASH 8-40CW (Atlas)||10||60||10||35||10||35||10||35|
|Model 104 F7 (BLI)||25||150||9||30||6||10||6||10|
|Model 105 FM TrainMaster (Atlas)||10||70||10||40||10||40||10||40|
|Model 106 FM TrainMaster (Atlas)||10||70||10||40||10||40||10||40|
|Model 107 E6 (Life Like)||15||106||10||35||10||35||10||35|
|Model 108 E6 (Life Like)||15||106||10||35||10||35||10||35|
|Model 110 F7 (InterMountain)||10||80||10||40||10||40||10||40|
|Model 111 SD24/26 (Atlas)||10||70||10||40||10||40||10||40|
|Model 112 GP9 (Life Like)||7||70||7||25||7||25||7||25|
|Model 113 RS10 (CHC)||10||30||10||20||10||20||10||20|
|Model 114 C-Liner (CHC)||10||80||10||35||10||35||10||35|
|Model 115 E3/E6 (BLI)||15||60||10||40||10||40||10||40|
|Model 116 E3/E6 (BLI)||15||60||10||40||10||40||10||40|
|Model 117 E8/E9 (BLI)||15||60||10||40||10||40||10||40|
|Model 118 E8/E9 (BLI)||15||60||10||40||10||40||10||40|
|Model 119 E7 (BLI)||15||60||10||40||10||40||10||40|
|Model 120 E7 (BLI)||15||60||10||40||10||40||10||40|
|Model 121 E3/E6 (BLI)||7||106||7||40||7||40||16||10|
|Model 122 E3/E6 (BLI)||7||106||7||40||7||40||16||10|
|Model 123 RS18 (CHC)||10||30||10||20||10||20||10||20|
|Model 124 U28B (Life Like)||15||50||7||30||7||30||7||30|
|Model 125 RSD-15 (BLI)||15||80||12||40||12||40||12||40|
|Model 126 Dash 8-40BW (Atlas)||10||60||10||35||10||35||10||35|
|Model 126-10 Dash 8-40BW (Atlas)||10||60||10||35||10||35||10||35|
|Model 127 B23-7 (Atlas)||10||60||10||35||10||35||10||35|
|Model 127-10 B23-7 (Atlas)||10||60||10||35||10||35||10||35|
|Model 128 GE C30-7 (BLI)||15||80||10||30||10||30||10||30|
|Model 129 MP-15DC (Atlas)||10||60||10||35||10||35||10||35|
|Model 130 GP20 (Life Like)||25||70||7||30||7||30||7||30|
|Model 131 AC6000 (BLI)||10||80||10||30||10||30||10||30|
|Model 132 DASH 8-40CW (Atlas)||10||60||10||35||10||35||10||35|
|Model 133 SW8 (Life Like)||10||80||7||30||7||30||7||30|
|Model 134 SD40 (BLI)||10||80||10||40||10||40||10||40|
|Model 135 E8/E9 (Life Like)||15||106||10||35||10||35||10||35|
|Model 136 E8/E9 (Life Like)||15||106||10||35||10||35||10||35|
|Model 137 RS27 ALCO (Life Like)||10||30||10||20||10||20||10||20|
|Model 139 620/720 (Eureka)||10||75||10||30||10||30||10||30|
|Model 140 GP30 (Walthers)||25||70||7||30||7||30||7||30|
|Model 143 F7 (BLI)||25||150||9||30||6||10||6||10|
|Model 144 GP7 PH2 (Walthers)||25||150||9||30||6||10||6||10|
|Model 145 GP7 PH2 (Walthers)||7||70||7||25||7||25||7||25|
|Model 149 SD-35 (Atlas)||10||60||10||35||10||35||10||35|
|Model 150 SD-35 (Atlas)||10||60||10||35||10||35||10||35|
|Model 151 E7A (Walthers)||15||106||10||35||10||35||10||35|
|Model 152 E7A (Walthers)||15||106||10||35||10||35||10||35|
|Model 154 C-420 (Atlas)||10||80||10||35||10||35||10||35|
|Model 155 SW7 (BLI)||20||80||8||20||4||20||4||10|
|Model 158 F7A (Walthers)||15||50||9||30||9||30||9||30|
|Model 159 F7A (Walthers)||15||50||9||30||9||30||9||30|
|Model 160 F7B (Walthers)||15||50||9||30||9||30||9||30|
|Model 163 DD-51 (Tenshodo)||10||40||10||15||10||15||10||15|
|Model 164 SD7/9 (Walthers)||25||70||7||30||7||30||7||30|
|Model 165 SD7/9 (Walthers)||25||70||7||30||7||30||7||30|
|Model 166 FM-H10-44 (Walthers)||25||70||7||30||7||30||7||30|
|Model 167 GP7/9 (Walthers)||15||50||10||30||10||30||10||30|
|Model 168 C-420 (Atlas)||10||80||10||35||10||35||10||35|
|Model 169 GP7/9 (Walthers)||15||50||10||30||10||30||10||30|
|Model 170 GP38 (Atlas)||10||80||10||35||10||35||10||35|
|Model 171 GP40 (Atlas)||10||80||10||35||10||35||10||35|
|Model 173 GP40-2 (Atlas)||10||80||10||35||10||35||10||35|
|Model 174 GP40-2 (Atlas)||10||80||10||35||10||35||10||35|
|Model 176 F3A (Walthers)||15||50||9||30||9||30||9||30|
|Model 177 F3A (Walthers)||15||50||9||30||9||30||9||30|
|Model 178 F3B (Walthers)||15||50||9||30||9||30||9||30|
|Model 179 E7A (Walthers)||30||100||30||30||30||30||30||30|
|Model 180 E7A (Walthers)||30||100||30||30||30||30||30||30|
|Model 181 E7B (Walthers)||30||100||30||30||30||30||30||30|
|Model 184 U30B (Atlas)||10||60||10||35||10||35||10||35|
|Model 185 U30B (Atlas)||10||60||10||35||10||35||10||35|
|Model 1008 G-Scale Diesel (Aristocraft Aftermarket)||10||2||15||10||2||20||10||2||20||10||2||20|
|Model 1014 O-Scale SD40 (Atlas)||6||50||10||30||12||30||12||30|
|Model 1015 G-Gauge GP38 (USA Trains)||10||2||10||10||2||10||10||2||10||10||2||10|
|Model 1018 O-Scale GP-60 (Atlas)||6||50||10||30||12||30||12||30|
|Model 1019 O-Scale GP-35 (Atlas)||6||1||50||10||1||30||12||1||30||12||1||30|
|Model 1020 O-Scale GE Dash 8-39B/40B (Atlas)||10||50||10||30||10||30||10||30|
|Model 1021 O-Scale GP-9 (Atlas)||6||1||50||10||1||30||12||1||30||12||1||30|
|Model 1022 O-Scale RS-1 (Atlas)||25||50||12||50||12||50||12||50|
|Model 1024 O-Scale SD35 (Atlas)||6||1||50||10||1||30||12||1||30||12||1||30|
|Model 1032 O-Scale C628 (Atlas)||8||50||10||30||12||30||12||30|
|Model 1033 O-Scale MP-15 (Atlas)||10||2||50||10||2||30||10||2||30||10||2||30|
|Model 1034 O-Scale C424 (Atlas)||15||50||10||30||10||30||10||30|
|Model 1036 O-Scale F2 (Atlas)||10||50||10||30||10||30||10||30|
|Model 1037 O-Scale SW7/9 (Atlas)||10||85||10||30||10||30||10||30|
|Model 1038 O-Scale Erie FM (Atlas)||10||2||50||10||2||30||10||2||30||10||2||30|
|Model 1048 HO Diesel (Q1 Volume Pot)||10||2||80||10||2||30||10||2||30||10||2||30|
|Model 1049 HO Diesel (Q1 Reed Switch)||10||2||80||10||2||30||10||2||30||10||2||30|
|Model 1050 HO Diesel (Quantum Revolution)||10||2||80||10||2||30||10||2||30||10||2||30|
|Model 200 GG1 (BLI)||10||100||10||40||10||30||10||30|
|Model 2000 G-Scale GG1 (USA Trains)||32||16||16||10||16||10||16||1|
|Model 2001 G-Scale Electric (Aristocraft Aftermarket)||10||2||15||10||2||20||10||2||20||10||2||20|
|Model 2048 HO Electric (Q1 Volume Pot)||10||2||80||10||2||30||10||2||30||10||2||30|
|Model 2049 HO Electric (Q1 Reed Switch)||10||2||80||10||2||30||10||2||30||10||2||30|
|Model 2050 HO Electric (Quantum Revolution)||10||2||80||10||2||30||10||2||30||10||2||30|
|Model 300 Hudson (BLI)||10||80||10||40||10||40||10||40|
|Model 301 Mikado (BLI)||15||80||12||40||12||40||12||40|
|Model 302 M1A Mountain (BLI)||15||80||12||40||12||40||12||40|
|Model 303 ON30-C16 (BLI)||15||80||12||40||12||40||12||40|
|Model 304 ON30-C16 (XMAS) (BLI)||16||10||16||10||16||10||4||1|
|Model 305 AT&SF 3751 4-8-4 (BLI)||10||80||10||40||10||40||10||40|
|Model 306 PRR J1 Heavy Steam (BLI)||10||80||10||40||10||40||10||40|
|Model 307 UP 4-8-2 Mountain (BLI)||15||60||10||30||10||30||10||30|
|Model 308 Great Northern 700 SP&S (BLI)||4||20||4||10||4||10||4||1|
|Model 309 PRR K4 (BLI)||16||50||10||30||10||30||10||30|
|Model 310 C&O T1, Texas (BLI)||10||80||10||40||10||40||10||40|
|Model 312 N&W J 4-8-4 (BLI)||10||100||10||30||10||30||5||15|
|Model 313 NYC S1b Niagara 4-8-4 (BLI)||10||100||10||30||10||30||10||30|
|Model 314 Hudson||10||100||10||30||10||30||4||1|
|Model 315 USRA 0-8-0 (Life Like)||15||100||10||30||10||30||10||30|
|Model 316 AT&SF 3800 Class (BLI)||10||80||10||40||10||40||10||40|
|Model 317 2-8-4 Berkshire (Life Like)||16||100||10||30||10||30||10||30|
|Model 318 2-8-4 Berkshire (Life Like)||16||100||10||30||10||30||10||30|
|Model 319 0-6-0 Switcher (Walthers)||15||70||10||20||10||20||10||20|
|Model 320 NP 4-8-4 (Sunset Models)||9||30||9||30||9||30||9||30|
|Model 321 D-51 (Tenshodo)||20||80||6||25||6||25||6||25|
|Model 323 USRA 2-10-2 (Walthers)||12||80||12||10||12||10||4||1|
|Model 324 Mikado||15||80||12||40||12||40||12||40|
|Model 325 C38 Class 4-6-2 (Eureka)||12||80||12||10||12||10||4||1|
|Model 326 C35 Class 4-6-0 (Austrains)||9||50||9||30||9||30||9||30|
|Model 328 New Haven I-5 (BLI)||10||50||10||25||10||25||10||25|
|Model 329 D-51 (Tenshodo)||20||80||6||25||6||25||6||25|
|Model 331 UP 2-10-2 (BLI)||10||50||10||25||10||25||10||25|
|Model 332 UP 2-10-2 (BLI)||10||50||10||25||10||25||10||25|
|Model 333 PRR I1sa (BLI)||10||85||10||25||10||25||10||25|
|Model 334 SP Mogul 2-6-0 (Sunset Models)||9||30||9||30||9||30||9||30|
|Model 335 NYC Mohawk (BLI)||10||100||10||35||10||35||10||35|
|Model 3001 G-Scale K28 Electric DRGW (Accucraft)||16||10||16||10||16||10||4||1|
|Model 3006 O-Scale French Mikado (Sunset Models)||16||60||13||60||13||20||16||10|
|Model 3007 O-Scale Flying Scotsman (Sunset Models)||16||60||13||60||13||20||16||10|
|Model 3010 G-Scale Steam (Aristocraft Aftermarket)||5||2||20||5||2||10||5||2||10||4||2||1|
|Model 3015 O-Scale 0-6-0 Switcher (Atlas)||5||20||5||10||5||10||4||1|
|Model 3017 G-Scale Steam (Aristocraft Aftermarket)||5||2||20||5||2||10||5||2||10||4||2||1|
|Model 3048 HO Steam (Q1 Volume Pot)||10||2||50||10||2||25||10||2||25||10||2||25|
|Model 3049 HO Steam (Q1 Reed Switch)||10||2||50||10||2||25||10||2||25||10||2||25|
|Model 3050 HO Steam (Quantum Revolution)||10||2||50||10||2||25||10||2||25||10||2||25|
|Model 400 N&W Class A 2-6-6-4 (BLI)||30||50||13||50||13||50||13||50|
|Model 401 Pensy Duplex T1 (BLI)||15||80||15||40||15||40||15||40|
|Model 402 Challenger (Lionel)||28||80||15||40||15||40||15||40|
|Model 403 Cab Forward AC4,AC5 (BLI)||30||50||13||50||13||50||13||50|
|Model 404 USRA 2-8-8-2 (Life Like)||16||60||10||50||10||50||10||50|
|Model 406 Cab Forward AC4,AC5 (BLI)||30||50||13||50||13||50||13||50|
|Model 407 AD60 4-8-4+4-8-4 Beyer-Garratt (Eureka)||10||50||10||35||10||35||10||35|
|Model 408 Y3 2-8-8-2 (Walthers)||16||60||10||50||10||50||10||50|
|Model 410 Pensy Duplex T1 (BLI)||15||80||15||40||15||40||15||40|
|Model 4000 G-Scale Articulated Steam (Aristocraft Aftermarket)||5||2||20||5||2||10||5||2||10||4||2||1|
|Model 4002 N-Scale 2-8-8-2 (Walthers)||4||2||47||3||0||7||4||0||12||4||0||12|
|Model 4004 G-Scale Articulated Steam (Aristocraft Aftermarket)||5||2||20||5||2||10||5||2||10||4||2||1|
|Model 4048 HO Articulated Steam (Q1 Volume Pot)||10||2||50||10||2||25||10||2||25||10||2||25|
|Model 4049 HO Articulated Steam (Q1 Reed Switch)||10||2||50||10||2||25||10||2||25||10||2||25|
|Model 4050 HO Articulated Steam (Quantum Revolution)||10||2||50||10||2||25||10||2||25||10||2||25|
|Model 500 Veranda (Lionel)||10||100||10||20||10||20||10||20|
|Model 5000 Gas Turbine (Aristocraft Aftermarket)||10||2||15||10||2||20||10||2||20||10||2||20|
|Model 5048 HO Gas Turbine (Q1 Volume Pot)||10||2||80||10||2||30||10||2||30||10||2||30|
|Model 5049 HO Gas Turbine (Q1 Reed Switch)||10||2||80||10||2||30||10||2||30||10||2||30|
|Model 5050 HO Gas Turbine (Quantum Revolution)||20||2||150||20||2||40||20||2||40||20||2||40|
About DCC Motor Control with Back-EMF and P-I-D
Adapted from article by Don Fiehmann from August 21, 2006.
Posted on December 20, 2009.
Progress Over the Years
The motors used in our locomotives have progressively gotten better over the years. Along with this the way we control these motors has continued to improve. The old rheostat gave way to solid state electronics with better control. Then came DCC with a decoder that had direct motor control. Decoders have continued the progress by improving the way they handle power to the motors. One of the biggest improvements has been the use of back-EMF to control motor speed. Back-EMF has been called cruise control for locomotives.
If you look through decoder manuals that have back-EMF control you may find something called “PID” or just “PI”. PID turns out to be a process control method that has been around for many years. It is a process designed to control things like temperature, pressure and speed. The PID process control method has been adapted in many of the back-EMF decoders for a more precise control of motor speed. The values for PID control are stored in CVs and can be “tuned” for precise motor operation.
Older decoders used a motor drive (PWM), pulse width modulation frequencies of about 30 to 200 Hz (cycles per second). PWM takes a constant like 12-18 v dc and drops to zero volts quickly and back to the higher voltage to get effective voltages between 0 and 18V. These frequencies were low enough to cause a hum or buzz in the locomotive. Most decoders today use a high frequency drive of 15kHz to as high as 43kHz. These frequencies are above the range of hearing and that is why they are called silent. This type of drive comes with many different names, depending on the manufacturer. One of the problems with the high frequency drive is slow starts. With these high frequency drives the motor tends to act like it is on dc power and is subject to stiction, where the motor does not start smoothly. The combination of back-EMF and the PID motor control can over come this problem.
The term “PID” got my curiosity up. I did a search on the internet and found a book by Simple Solvers that describes in simple terms just how the PID functions work. There was also an overview article about PID that could be downloaded from www.expertune.com.
What I found out is that the PID control process is a little like a three ring circus. Each of these three items plays a part in the control process. For motor control you can think of PID as a black box with the output as the power to the motor and the input as the BACK-EMF from the motor.
For a smooth control the values of PID control can be adjusted or "tuned". For model railroading the way we have to check the results of tuning is to watch the reaction of a locomotive when we make a change to CVs that are associated with PID parameters. I found that one way to do some speed checking is using a track speed indicator like the Train Speed readout.
I dug thru many decoder manuals and web sites to try to figure out just how all fits into model railroad motor control. The back-emf controls run from a very simple turn on the function to some complex operations. Reading through the decoder manuals each manufacturer has a their own way of adjusting the PID parameters. Some of the decoder manufacturer’s have different names for PID. Some decoders do not use any implementation of PID.
What is missing is a explanation of just what all of the terms mean and what they do. Most decoder manuals have a way to “tune” the values fit your engine. Even if you have an engine with preset values, each engine is different, and some fine-tuning may improve operation. You may even want to have a different reaction than the pre-programmed values. You might prefer to have the engine slow as it starts up a grade.
Model Railroad PID
There is not a standard for the values used in the CVs. Nor is there a standard way to setup the CVs. For the most part tuning the values is a matter of determining CV values by trail and error. Some of the decoders either come with the back-emf feature turned off or they have a safe level of PID values pre-programmed.
Most of the decoders that use PID have a single set of values for the functions that are used over the total speed range. QSI on the other hand has four sets of PID values in their version 7 release. The QSI decoder switches between sets of PI D values depending on the speed step setting. Some decoders use CV10 to set a speed that turns off Back-EMF. CV10 is the only CV that is in the NMRA DCC specification related to Back-EMF. The other CVs are all setup by the decoder maker in the optional CV assignments.
In order to understand how the PID functions works we need to start with information on back-EMF and then on to an explanation of PID.
What is Back-EMF
A question I ask in some of my clinics is “What is the difference between a motor and a generator.” The answer is there is there is very little difference between a motor and a generator. If you apply power to the motor, the shaft turns. Conversely, if you turn the motor shaft, it will generate power, or a voltage in our case. When a decoder applies power to a motor and it starts to rotate. Since the decoder applies power as pulses (PWM) there is a time between pulses when no voltage is applied to the motor. During this time the decoder can “read” the voltage produced by the motor. If the motor slows, the Back-EMF voltage drops, if speed increases, the voltage also increases. This is how a Back-EMF decoder determines the speed of the motor and can sense any changes in motor speed.
The PID control process
Here is a brief description of the PID process. To start with you need to control speed. You send a speed command to the decoder. The speed setting is the input to the process and is called the “set point”. The decoder puts out power to the motor and the motor starts to turn. The decoder reads the back-EMF to determine how fast the motor is running. Once the motor speed nears the set point speed, the PID process starts to operate.
The “P” part of the process is “Proportional”. It sets up a speed band round the set point. This band allow some over and under speed near the set point. This is a little like how the thermostat in your house controls the furnace for the right temperature. The furnace continues to put out heat until the “set point”(thermostat setting) is reached. After this, some heat continues even after the thermostat turns the furnace off, this is overshoot. Most thermostats then wait until the temperature drops about 2 degrees below the set point before the furnace is turned on, this is undershoot. The “proportional band” is between the two levels. Digitrax information describes the “P” function like a spring. The higher the CV value the stiffer the spring!
The “I” part of the process is “Integral” action. This is a control of the difference between the set point and the center of the proportional band. This may not be the same due to system imbalance. The Integral action senses the difference between the set point and what the decoder uses for the center and tries to correct it.
The “D” part of the process is “Derivative” action. It looks for any change in the motor speed. When it senses a change, this function try’s to correct the change. This could be a locomotive that is starting up a grade with a string of cars and the load on the motor has increased, causing it to slow. The PID control “sees” this change and then applies a correction. The slow down could also be a bind in the mechanism or a tight spot in the track.
Some of the decoders only use the P and I (PI) functions and eliminate the D. QSI does little with the I function and more with the D function. This is one of the reasons why you need to read the manual for the decoder you are “tuning”. Can’t find the manual! Check the makers web site, most of the decoder manuals can be downloaded and printed. The QSI manuals have been updated for the new upgrade (Version 7) chips. Most of the web sites even have the discontinued decoder manuals available.
Setting CV Values
If the value in any of the CVs is too low, you have under correction, if too high, or over correction and you may get jerky reactions to speed changes. Most of the manuals have you tune the CVs using “program-on-the-mainline” programming. You set a value in a CV, then check the reaction by changing speed. You keep increasing the CV value until the reaction becomes unstable or jerky. Then change the CV setting back to the value that was stable. A procedure like this is used to set the CVs used for motor control.
One of the problems with Back-Emf control occurs when in a consist. W hen the first locomotive with Back-Emf starts up a grade, more power is applied to the motor. The second locomotive then cuts back its power. Then the second starts up the grade and increases its power, the first locomotive see a drop in the amount of “pull” needed and cuts back. This sets up a situation where the two locomotive keep changing power levels and you get an accordion like action between the two locomotives. Digitrax uses different setting when the engine is used in a consist.
There was some interesting comments on the internet on how to run helpers on a long train. The suggestion was to start up the grade and leave the front engine speed alone and control the pusher so the slack between push and pull stays in the middle of the train. One interesting side note is the prototype always put helper engines in the front of a passenger train. The reason is that if an engine were on the back pushing and the other engine pulling, somewhere in the middle of the train would be a car that was caught bouncing back and forth between been push and pulled. What car is in the middle of a long passenger train? The dining car of course!
Information from the decoder manuals on Back-Emf and PID
Digitrax calls their Back-Emf control “Scaleable Speed Stabilization”. They have a very good Application Note on setting up their decoder’s Scaleable Speed Stabilization.They use CV55, CV56 and CV57. CV57 is split so half controls its function as a single locomotive and the other half when in a consist. This note also includes instructions on adjusting these CVs.
The new release level 7 (also the upgrade) of the QSI decoders has a very sophisticated four level speed control using Back-Emf and PID. Information on setting up the PID CVs is in the DCC Reference Manual version 4.0. Version 7 is the new upgraded chip available from QSI Solutions. A new page manual can be downloaded from QSI Solutions web site. The setup information can be found starting on page 170 to page 175. There are some good hints on tuning PID parameters. The CV values in these (upgrade) chips have been established by running a number of sample locomotives. As locomotive wear and due to manufacturing differences, some locomotive performance may be improved by re-tuning the CV values.
Lenz has a document called “Getting the Most out of Back EMF Decoders” on their web site. They call their Back EMF control “Load Compensation”. The earlier decoder like the 1024 only have a single CV and bit to turn Back-EMF on. Here are the CVs used in the new Gold Decoder for Back-EMF control.
CV 9 Back EMF Repetition Rate (PWM)
CV50 Motor configuration
CV113 Minimum PWM value, control for motor types 4 or 5
CV114 Change duty cycle for motor type 4 or 5
See the decoder manual for more information on setting these CVs.
The new Tsunami has a number of CVs related to PID control. They are Kp, Ki, and Kd. There are two more that are used to control the length of time or widow when to sample the Back-EMF voltage. The information on these can be found in the manuals for the Tsunami. The Steam Sound User’s Guide on page 57 to 60 is information on setting up the Hyperdrive. In the Technical Reference on page 90 to 94 shows information about CVs 209 to 214 for the Advance Motor Control Features. All of these manual are downloadable from SoundTraxx.
In the LokSound V3.5 users manual part 5.2.1 is a section on their load control. This is similar to their other decoders. They have CV54 to control “K”. The explanation makes it look a lot like “P”. CV55 is listed as parameter “I”. They also use CV 53 to set the voltage for top speed. There is no “D” CV listed. They have a listing of common CV settings available on their web site.
The D14SR decoder manual is typical of most of the NCE decoder when it comes to motor control. This line of decoder’s has Silent Running™ and Torque Compensation. There is a section in the manual on Fine tuning locomotive operation . It explains how to adjust CVs associated with starting characteristics. (No PID information.)
The instruction sheets for the steam and diesel decoders only show CV123 used to turn Back-EMF on or off. No information on CV settings other than the on and off.
Hints on Testing Decoders
The first, read the decoder manual before starting to do any adjustments. If you get things goofed up, most decoders have a way to return the CV settings back to the factory settings. For many decoders a factory reset is done by programming an 8 to CV8.
The way I test how well the Back-EMF works at low speed is to put my finger on the rails and stop the engine at speed step 1. The drive wheels should continue and slip on the rails with good Back-EMF operation. When you release the engine it should continue at the same speed and not speed up then slow down to the original speed. If it does speed up for a moment, something is over compensating and may need adjustment.
For very slow speed operations, try using 128 speed steps instead of 28 speed steps.
Reverse and forward trim can best be adjusted using something like the Train Speed device that can give speed in scale miles per hour. Train Speed has a speed readout and uses photo cells to detect engine speed in scale miles per hour.
When testing speed it is best to know the speed step that you are sending to the locomotive. Some cabs or throttles will have a read out for the speed step number, some only have a knob and it is hard to tell the exact speed step. The DCC Pocket Tester has a readout the will tell you the speed step number that is being sent to the locomotive.
When adjusting CV’s related to PID, CV3 and CV4 should be set to 0 for the fastest response time. After testing, CV3 and CV4 can be set back to the original values.