Featured post

LGB 55029 Decoder introduction:

First published 12 Jan 2022, updated and revised.

Prior to attempting any changes of CV’s, first operate the decoder under DCC with address 3!

The information provided is not for inexperienced users, nor for users with inappropriate or inadequate DCC equipment!

This guide provides additional information for the LGB 55029  retrofit decoder, using the latest Firmware Revision.

Refer to the original operating instructions enclosed with the decoder.

Document all changes to the decoder settings for possible troubleshooting.

The  LGB 55029 decoder is suitable for use in digital operation (DCC, mfx) as well as in analogue operation (DC). 

Working on a decoder template for this decoder using the Massoth Service Tool program.













Technical Data.

Load at the motor output < 4 amps

Load for the light outputs / AUX 1 – 4 each 900 milliamps

AUX 1 + 2 together max. 900 milliamps

AUX 3* + 4* together max. 900 milliamps

Load AUX 5 – 6 each 1.75 amps together max. 3.5 amps, for connection for a LGB E278188 Pulsed Smoke Unit.

Total load 8.4 amps

Sound output at 4 Ohms 6.7 watts

4 pin connector for the LGB 55429 external storage buffer, stay alive capacitors.

Light functions LV, LH, and AUX 1 – 6, by default are set to maximum voltage from the rectified DC output from the decoder.

*AUX 3 & *AUX 4, can be changed from a Default Amplified Function Output to a Logic Output.

Functions.

Acceleration and braking delay can be set separately from each other.

Alternative constant braking length.

Programming on Main (PoM), this programming must be supported by the DCC system.

To do this, follow the operating instructions for your DCC system.

Functions can also be be controlled with the addition of two (2) external reed contacts.

The volume levels can be set individually for each sound.

Operation of additional SUSI modules. Solder pads available for external connection to a SUSI connector.

Firmware and Sounds can be updated.

The setting and digital functions can only be used in digital operation, using an appropriate DCC System.

Sound.

Sounds can be replaced by programming. The Märklin 60971 Programmer and the LGB 55129 Programming Adapter are required to do this, along with the Märklin mDecoderTool3 programming software.

The speaker included with the decoder can be used and plugs into the decoder interface PCB

The decoder has inputs for a Hall Sensor and for two (2) Reed sensors to activate sounds.

Calibration Run.

The motor type must be selected before doing the calibration (see CV 52).

The automatic calibration of the locomotive must be done on a suitable oval of track without obstacles (signals, grades, etc.).

The calibration run cannot be done on a roller test stand. The locomotive is accelerated during the procedure to the maximum speed and it can thereby tip over from the track on small radius curves.

For automatic calibration of the locomotive: Program CV 7 to the value 77.

Start the calibration run by setting the speed control knob to any speed. The locomotive will then start slowly and accelerate to the highest speed and it will then stop after a short while. After that, the locomotive will attempt to start up.

When the locomotive is finally standing at a stop, the calibration is completed. You must not interfere at any point during the entire procedure.

The calibration can be terminated with Stop, turning the speed control knob (-> 0), or changing the direction of travel. The calibration run can be repeated several times.

If the result is not satisfactory, the calibration can be repeated with another motor type.

After the calibration run, the individual control parameters can be adjusted with the settings on the CV's.

CV 145. Shunting speed reduction.

bit 7 on reduced to 1/2 (to half the speed step)

bit 6 on reduced to 1/4

bit 5 on reduced to 1/8

bit 4 on reduced to 1/16

bit 3 on reduced to 1/32

bit 2 on reduced to 1/64

bit 1 on reduced to 1/128

Data areas and reset.

The decoder has two data areas. The data with which the decoder works with is stored in the “working area”.

In addition, there is an area in which the settings of the decoder can be “saved”.

As usual with a reset, triggering the appropriate action by entering a certain value in CV 8.

CV 8 value = 1 Reset (backup is retained)

CV 8 value = 2 Secure saved data

CV 8 value = 4 Restore saved data from backup

CV 8 value = 8 Reset to factory defaults (backup is deleted!)





















Mode.

In the settings for the functions, a mode can be defined for each function (CV 112, CV 116, see CV table).

Value

Description


0

Output off


1

Dimmer


2

Blinking light 1


3

Blinking light 2


4

Single blinking light


5

Double blinking light


6

Random generator (firebox)


7

Smoke generator

Status depends on ‘Stop’ or ‘Go’

8

Light fade in/out


9

Mars light


10

Gyra light


11

Rule 17” light forwards

Light dimmed at Stop

12

Rule 17” light backwards

Light dimmed at Stop

13

Neon lights


14

Energy saving lamp


15

Telex


16

Switching exact time

Normally on, shut-off by time control

17

Switching min. time

Cannot be turned off, until after predefined time

18

Exact time on, turn off with sensor


19

Turn on continuously

Only on. Off by STOP

20

Buffer control


Function mapping.

The function mapping is very far-reaching and complex.

Each individual mapping is made using three settings.

It is determined.

    How is the function triggered.

    Possible conditions that apply to this function.

    Which function is triggered.

This information, once set, is stored in a “line”. A total of 80 lines (0 – 79) can be saved.

The procedure.

    In CV 33 Mapping: read line, which of the 80 possible lines is to be read.

    If a new mapping is created, this CV can remain empty.

    The trigger is specified in CV 34 Mapping: Trigger, (Refer to “Trigger & Events”).

    Conditions can be also specified in CV 35 Mapping: condition, (Refer to “Conditions”).

    This CV can remain empty.

    CV 36 Mapping: function, specifies which function is to be triggered (Refer to “Trigger & Events”).

    In CV 37 Mapping: write line, it is specified in which line the currently created mapping should be entered.

    If a line that is already occupied is specified here, it will be overwritten by the new settings.

    A newly created mapping is only valid when it has been written in a line.

Conditions.

Bit

Description

Value

Note

0

-------

0/1


1

-------

0/2


2

Stand

0/4

0 = always

4 = only at Stop

3

Go

0/8

0 = always

8 = only at Go

4

Forward

0/16

0 = always

16 = only in forward

5

Reverse

0/32

0 = always

32 = only in reverse

6

Level

0/64

0 = with level (on)

64 = without level (off)

7

Edge

128/192

128 = rising edge

192 = falling edge


Value

Trigger / Events

Value

Trigger / Events

0

F0

160

AND 1

1

F1

161

AND 2

2

F2

162

AND 3

3

F3

163

AND 4

------

------

164

AND 5

31

F31

165

AND 6

64

Always

166

AND 7

66

Change of direction

167

AND 8

67

Change of direction

168

Timer 1

68

Sensor 1

169

Timer 2

69

Sensor 2

170

Timer 3

79

Random

171

Timer 4

80

Front light

176

Running sound

81

Rear light

177

Sound 1

82

AUX1

178

Sound 2

83

AUX2

179

Sound 3

84

AUX3

180

Sound 4

85

AUX4

181

Sound 5

86

AUX5

------

------

87

AUX6

204

Sound 28

112

ABV Off

208

OR 1

113

Switching range

------

------

114

Brake squeal off

215

OR 8

117

Sound mute

216

XOR 1

119

Stop Motor

------

------

120

Stop running sound

219

XOR 4

128

SUSI F0

224

AND 9

129

SUSI F1

------

------

130

SUSI F2

231

AND 16

131

SUSI F3

240

FlipFlop 1 on

132

SUSI F4

241

FlipFlop 1 off

133

SUSI F5

242

FlipFlop 2 on

134

SUSI F6

243

FlipFlop 2 off

135

SUSI F7

244

FlipFlop 3 on

136

SUSI F8

245

FlipFlop 3 off

------

------

246

FlipFlop 4 on

148

SUSI F20

247

FlipFlop 4 off

Overview of the built-in motor controllers and their parameters.

The classic controller.

Classic governor, easy to adjust but less suitable for older type motors. Load control without control influence.

Motor Type. Selects basic control settings depending on the motor.

Rule reference. There are no fixed rules for the rule reference. Motor must be adjusted according to “feel”.

PWM start. Influences the start-up behavior of the locomotive. EMF maximum.

Indicates the maximum control at the highest speed level.

The Auto PI controller.

New universal controller. Is a combination of a 2 point controller (starting off) and a PI controller (driving operation).

Motor Type. Selects basic control settings depending on the motor.

Rule reference. There are no fixed rules for the rule reference. Motor must be adjusted according to “feel”.

PWM start. Influences the start-up behaviour of the locomotive.

Slow limit. Specifies the upper speed step limit for the “slow” settings (based on the internal 4096 speed steps).

Controller K. Amount of the proportional part. Determines the gain factor gate of the error amplifier.

Controller I. Amount of the integral part. Determines the strength of the filtering of the regulator.

Control influence. Indicates how precisely control is to be carried out (e.g. for load simulation on inclines)

EMF maximum. Indicates the maximum control at the highest speed level.

PWM Offset. Affects the transition between the two regulators.

The PID controller.

From automation technology controller, has been adapted and supplemented for the needs of the model railway. It is particularly complex and offers countless possibilities, but it is just as complex to set up.

Motor Type. Selects basic control settings depending on the motor.

Rule reference. There are no fixed rules for the rule reference. Motor must be adjusted according to “feel”.

PWM start. Influences the start-up behavior of the locomotive.

Controller K. Amount of the proportional part. Determines the gain factor gate of the error amplifier.

Controller I. Amount of the integral part. Determines the strength of the filtering of the regulator. Higher values slow down the regulation.

Controller D. Determines the influence of the differential component on the controller. Higher values make the control harsher.

Slow limit. Specifies the upper speed step limit for the “slow” settings (based on the internal 4096 speed steps).

Slow-K. Correction factor for the K component at low speeds settings.

Slow-I. Correction factor for the I component at low speeds.

Slow-D. Correction factor for the D component at low speed settings.

Control influence: Indicates how precisely control is to be carried out (e.g. for load simulations on gradients)

EMF maximum. Indicates the maximum control at the highest speed level.

The analog controller completes the spectrum in order to be able to make ideal settings exclusively for analog operation. The analog controller adopts the parameter settings from the auto PI controller.

CV


Description

value DCC

01


Address (CV 29/Bit 5 = 0)

1 – 127

02

PoM

Minimum speed

0 - 255

03

PoM

Acceleration delay

0 - 255

04

PoM

Brake deceleration

0 - 255

05

PoM

Maximum speed

0 - 255

07


Calibration run / version number

77

08


Factory reset/manufacturer ID

08

13

PoM

Functions F1 - F8 in analog mode (no sounds)

0 - 255

14

PoM

Functions F9 - F15 and light in analog mode (no sounds)

0 - 255

17


Extended address (upper part, CV 29 bit 5 = 1)

192-255

18


Extended address (lower part, CV 29 bit 5 = 1)

0 - 255

19


Traction address

0 - 255

21

PoM

Functions F1 - F8 in traction

0 - 255

22

PoM

Functions F9 - F15 and light in traction

0 - 255

27

PoM

Bit 4 = normal braking behavior

Bit 5 = inverse braking behavior

0, 16, 32, 48









29


Bit 0 ON [1] Direction reverse

OFF [0] Direction normal

Bit 1 ON [2] 28/126 Speed steps

OFF [0] 14 Speed steps

Bit 2 ON [4] DC mode enabled

OFF [0] DC mode disabled

Bit 4 ON [16] Alternative speed curve active

OFF [0] Use table defined by CV 2 & 5

Bit 5 ON [32] Use long address in CV 17 & 18

OFF [0] Use short address defined in CV 1

0 / 1



0 / 2


0 / 4


0 / 16


0 / 32




31

PoM

Topics (selection for CV 257 to 512)

16-255

32

PoM

Page (selection for CV 257 to 512)

0 - 255

33

PoM

Mapping: read line

0 – 79

34

PoM

Mapping: Trigger

0 - 255

35

PoM

Mapping: condition

0 - 255

36

PoM

Mapping: function

0 - 255

CV


Description

value DCC

37

PoM

Mapping: write line

0 – 79

47

PoM

Analog motor control, 1 = on, 0 = off

0, 1



48



PoM

Motor control: Controller selection

0 = Classic

1 = Auto PI

2 = PID controller



0 – 2





50





PoM

Alternative formats

Bit 0: Analogue AC OFF (0) ON (1)

Bit 1: Analogue DC OFF (0) ON (2)

Bit 2: MM OFF (0) ON (4)

Bit 3: mfx OFF (0) ON (8)

Bit 4: mfx+ OFF (0) ON (16)

IF Bit 0 set ON (1), Bit 1 is automatically set ON (2), they are as one value i.e. 3.

IF Bit 1 set ON (2), Bit 0 is automatically set ON (1), they are as one value i.e. 3.





0 – 31









52














PoM



Setting for the motor output

0 = function outputs AUX 5 & 6

1 = soft drive sine

2 = unregulated

3 = C90 high-efficiency propulsion

4 = coreless motor

5 = direct current soft

6 = direct current hard

7 = direct current Spur1

8 = direct current DC short measurement pause







0,1, 2, 3, 4, 5, 6, 7, 8







53

PoM

Motor control - control reference

0 – 255

54

PoM

Motor control - controller K

0 – 255

55

PoM

Motor control - Controller I

0 – 255

CV


Description

value DCC

56

PoM

Motor control - control influence

0 - 255

57

PoM

Sound distance of the steam chuffs at speed level 1 (0 = with wheel sensor)

0 - 255

58

PoM

Sound distance of the steam chuffs at speed level > 1 (0 = with wheel sensor)

0 - 255



60



PoM

Multi station announcement

Bit 0 – 3 = number of stations

Bit 4 = last station reverses order

Bit 5 = locomotive direction determines order

Bit 6 = order basic setting





0 – 127

61

PoM

Random sound interval min.

0 - 255

62

PoM

Random Sound Interval Max.

0 - 255

63

PoM

Total volume

0 - 255

64

PoM

Threshold for brake squeal

0 - 255

66

PoM

Trim forward (Value / 128 = factor by which the speed step is multiplied)


0 - 255

67-94

PoM

Speed table / characteristic curve

0 - 255

95

PoM

Trim backwards (Value / 128 = factor by which the speed step is multiplied)

0 - 255

112

PoM

Front light mode

0 – 17

113

PoM

Front light dimming, 0 = off

0 - 255

114

PoM

Front light period, e.g. Blinking frequency

0 - 255

115

PoM

Front light delay, on-off delay

0 - 255

116

PoM

Rear light mode

0 – 17

117

PoM

Rear light dimming

0 - 255

118

PoM

Rear light period

0 - 255

119

PoM

Rear light delay

0 - 255

CV


Description

value DCC

120

PoM

AUX1 mode

0 – 17

121

PoM

AUX1 dimming

0 - 255

122

PoM

AUX1 period

0 - 255

123

PoM

AUX1 delay

0 - 255

124

PoM

AUX2 mode

0 – 17

125

PoM

AUX2 dimming

0 - 255

126

PoM

AUX2 period

0 - 255

127

PoM

AUX2 delay

0 - 255

128

PoM

AUX3 mode

0 – 17

129

PoM

AUX3 dimming

0 - 255

130

PoM

AUX3 period

0 - 255

131

PoM

AUX3 delay

0 - 255

132

PoM

AUX4 mode

0 – 17

133

PoM

AUX4 dimming

0 - 255

134

PoM

AUX4 period

0 - 255

135

PoM

AUX4 delay

0 - 255

136

PoM

AUX5 mode

0 – 17

137

PoM

AUX5 dimming

0 - 255

138

PoM

AUX5 period

0 - 255

139

PoM

AUX5 delay

0 - 255

140

PoM

AUX6 mode

0 – 17

141

PoM

AUX6 dimming

0 - 255

142

PoM

AUX6 period

0 - 255

143

PoM

AUX6 delay

0 - 255

145

PoM

shunting factor

0 – 128

CV


Description

value DCC

146

PoM

Brake squeal volume

0 - 255

165

PoM

Motor control, controller D

0 - 255

166

PoM

motor control, slow limit,0 = no “slow” range, 1 - 255 = upper limit “slow”

0 - 255

167

PoM

Motor control, slow K, 0 = no proportional component

0 - 255

168

PoM

Motor control, slow I, 0 = no integral term

0 - 255

169

PoM

Motor control, slow D, 0 = no derivative component

0 - 255

170

PoM

Motor control, PWM start, 0 = max, 255 = min.

0 - 255

171

PoM

Motor control, EMF maximum

0 – 4096

(0 – 255 * 16)

172

PoM

Motor control, PWM offset, 0 = no correction

0 - 255

174

PoM

Status memory driving direction

0 – 1

176

PoM

Analog DC minimum speed

0 - 255

177

PoM

Analog DC maximum speed

0 - 255

178

PoM

Analog AC minimum speed

0 - 255

179

PoM

Analog AC maximum speed

0 - 255






Upper and lower views of the decoder.


Definitions of the pins on connectors ST 1 and ST 2.

LGB 55029 Retrofit Sound and Control DCC mfx Decoder.

LGB 55529 Decoder Interface, additional Home Brew cable for connection to the 10 pin cable and direct to a motor block.



5F Supercapacitor pack.



10F Supercapacitor pack.

Two meters show, Input Voltage and Capacitor Storage Voltage, upon disconnecting the power to the track, Capacitor Stored Voltage keeps the loco moving for a short distance.

Slightly longer running time with the 10F supercapacitors.

Used the default CV settings for testing, tinkering with these values may increase the running time.