Soundtraxx BEMF Adjustments
DCCWiki, a community DCC encyclopedia.
< Back EMF
Summary: Tsunmai series decoders have unique BEMF parameters
As always, read and review the manuals for the specific multifunction decoder. Some features may not be present, particularly when programming an OEM specific decoder
Tsunami Advanced Motor Control
CV | Name | Purpose | Notes | Range |
---|---|---|---|---|
209 | Kp Coefficient | Contains a value between 0 and 255 that specifies a gain factor for the proportional part of the PID motor control equation. | 0 – 100% | 0 – 255 |
210 | Ki Coefficient | Contains a value between 0 and 255 that specifies a gain factor for the integral part of the PID motor control equation. | ||
212 | Motor Intensity | Contains a value between 0 and 255, interpreted as n/32 that is fed back from the control loop. | ||
213 | Motor Control Sampling Period | Contains a value between 0 and 31, that specifies the time period in mS (milliseconds) between measurements. | 0 – 31 | |
214 | Motor Control Sample Aperture Time | Contains a value between 0 and 255 that specifies a gain factor for the derivative part of the PID motor control equation. | 0 – 255 |
Process
- Clean track and wheels are a must.
- Set the Momentum CVs to 0 before attempting any tuning.
- Set speed steps to 128 for best results.
- Testing should be done at no-load conditions.
Suggested Settings
- CV209: Low value, 25 or less.
- CV210: Low value, less than that of CV209.
- CV212: This will impact throttle response, so a higher number (>50%) gives better results.
- CV213: Sampling rate in milliseconds.
- CV214: This determines the time the sampling window is available.
- CV10: BEMF Cutout. Values from 0-127 determine at which speed step the BEMF effect will be reduced to zero. Values from 128-255 cause BEMF intensity to decrease to a percentage value between 0 and 50%.
- Full Speed BEMF Intensity = (Value CV 212 – 128) ÷ 128
Tsunami 2
Tsunami 2 Advanced Motor Control | ||||
---|---|---|---|---|
CV | Name | Purpose | Notes | Range |
209 | Kp Coefficient | Contains a value between 0 and 255 that specifies a gain factor for the proportional part of the PID motor control equation. | 0-100% | 0 – 255 |
210 | Ki Coefficient | Contains a value between 0 and 255 that specifies a gain factor for the integral part of the PID motor control equation. | ||
211 | Low Speed Compensation | Specifies the gain value applied to the PID calculation at low speeds | ||
212 | BEMF Feedback Intensity | Contains a value between 0 and 255, interpreted as n/255 that is fed back from the control loop. | ||
213 | BEMF Sampling Period | Contains a value between 0 and 31, that specifies the time period in mS (milliseconds) between measurements. | 0 – 31 | |
214 | BEMF Sample Aperture Time | Contains a value between 0 and 15 that specifies a gain factor for the derivative part of the PID motor control equation. | 0 – 15 | |
215 | BEMF Reference Voltage | 0-59 reserved, 60 = Minimum Voltage (6.0V). Decoder will ignore any value less than 60 | 0 – 255 | |
216 | Motor Speed Step Deadband | Determines at which speed step voltage will be applied to the motor. | 0 – 127 | |
217 | Motor Control Register | Enable back-EMF control and auto-stop. Setting bit 1 (BEMF) to 1 will enable back-EMF motor control. Setting bit 3 (STP) to 1 will enable the auto-stop feature. When auto-stop is enabled, direction commands will bring the motor to a full stop for a duration of 500ms before the decoder changes locomotive direction. | ||
218 | Analog Mode Motor Start Voltage | In analog mode, determines the amplitude of track voltage required for the decoder to apply voltage to the motor. Starting Voltage = (CV 218 ÷ 10) + 6V | 0 – 255 | |
219 | Analog Mode Engine Start Voltage | Adjust the track voltage in analog mode at which prime mover startup sequence begins. Starting Voltage = (CV 219 ÷ 10) + 5V | 0 – 255 | |
220 | Constant Brake Distance | Determines the fixed distance over which the locomotive will decelerate to a stop after setting the throttle to zero. Constant Brake Distance enables the train to be stopped in a set fixed distance regardless of speed | 1 – 255 |
Econami
Econami Advanced Motor Control | ||||
---|---|---|---|---|
CV | Name | Purpose | Notes | Range |
209 | Kp Coefficient | Contains a value between 0 and 255 that specifies a gain factor for the proportional part of the PID motor control equation. | 0-100% | 0 – 255 |
210 | Ki Coefficient | Contains a value between 0 and 255 that specifies a gain factor for the integral part of the PID motor control equation. | ||
211 | Low Speed Compensation | Specifies the gain value applied to the PID calculation at low speeds | ||
212 | BEMF Feedback Intensity | Contains a value between 0 and 255, interpreted as n/255 that is fed back from the control loop. | ||
213 | BEMF Sampling Period | Contains a value between 0 and 31, that specifies the time period in mS (milliseconds) between measurements. | 0 – 31 | |
214 | BEMF Sample Aperture Time | Contains a value between 0 and 15 that specifies a gain factor for the derivative part of the PID motor control equation. | 0 – 15 | |
215 | BEMF Reference Voltage | 0-59 reserved, 60 = Minimum Voltage (6.0V). Decoder will ignore any value less than 60 | 0 – 255 | |
216 | Motor Speed Step Deadband | Determines at which speed step voltage will be applied to the motor. | May not be present | 0 – 127 |
217 | Motor Control Register | Enable back-EMF control and auto-stop. Setting bit 1 (BEMF) to 1 will enable back-EMF motor control. Setting bit 3 (STP) to 1 will enable the auto-stop feature. When auto-stop is enabled, direction commands will bring the motor to a full stop for a duration of 500ms before the decoder changes locomotive direction. | ||
218 | Analog Mode Motor Start Voltage | In analog mode, determines the amplitude of track voltage required for the decoder to apply voltage to the motor.Starting Voltage = (CV 218 ÷ 10) + 6V | 0 – 255 | |
219 | Analog Mode Engine Start Voltage | Adjust the track voltage in analog mode at which prime mover startup sequence begins. Starting Voltage = (CV 219 ÷ 10) + 5V | May not be present | 0 – 255 |
220 | Constant Brake Distance | Determines the fixed distance over which the locomotive will decelerate to a stop after setting the throttle to zero. Constant Brake Distance enables the train to be stopped in a set fixed distance regardless of speed | 1 – 255 |