background image

                        

H0 Sound Decoder MX640                                                                               Page 15 

4. Additional notes to  

                      Configuration Variables (CV’s) 

Motor control frequency

 

and

 

EMF scanning rate:

 

 Optimal Control, Automated Stops, Effects . . . 

Two ways of programming speed curves: 

Programmable speed curves can often optimize the driving characteristics of an engine. These 
curves alter the relationship between the cab’s speed regulator settings and the engines speed 
(that is between 14, 28 or 128 external speed steps of the cab and the 252 internal speed steps of 
the decoder).  

Which one of the two speed curves the decoder applies is determined by Bit 4 of Configuration Variable #29:  “0" 
assigns the first type - Three Step Programming, defined by just three CV’s; ”1" assigns the second type - Pro-
grammable Speed Table, defined by 28 individual CV’s. 

Three step programming:  by using the Configuration Variables #2 for Vstart, #5 for Vhigh and #6 
for Vmid.  
Vstart defines one internal speed step out of a total of 252 to the first speed step of the cab, Vhigh 
to the highest speed step and Vmid to the center speed step of the cab. In this way a simple bent 
acceleration curve can be achieved with an expanded lower speed range. 
A slightly bent curve is active by default (CV #6 = 1), that is the center speed step is limited to 1/3 of 
full speed.  

Programmable speed table

with the help of the programmable speed table,

 free programming

 of 

all 

Configuration Variables

 from #67 to 94 is possible. Each of the 28 external speed steps is as-

signed to one internal step (0 to 252). If 128 external speed steps are used, an interpolation algo-
rithm is used to calculate the steps in between.                                                                          

NOTE

: The three step programming is in most cases entirely sufficient for good drivability; the relatively 

complex procedure of defining a speed table is only recommended with the help of software like ADaPT 
that graphically draws the speed curve and automatically sends the data to the decoder.

 

 

0

10

20

30

40

50

60

70

80

90

100

110

120

130

140

0  1  2  3  4  5  6  7  8  9 

10 11 12 13 14 15 16 17 18 19 

20 21 22 23 24 25 26 27 28 

0      9      18      27     36     45      54     63      72     81     90     99    108   117   1

26

Lin

ea

r c

ha

rac

te

risi

tc 

 - 

 Vs

ta

rt=

1, 

Vh

igh

=2

52

, V

m

id=

12

7

         Slightly bent 
      (default) characterisitc
Vmid = 1 (equals 85)
   Vstart = 2 
       Vhigh = 1 
            (equals 252)

Center

150

160

170

180

190

200

210

220

230

240

250

In

te

rn

al

 s

pe

e

s

te

p

External speed step

    

0

10

20

30

40

50

60

70

80

90

100

110

120

130

140

0  1  2  3  4  5  6  7  8  9 

10 11 12 13 14 15 16 17 18 19 

20 21 22 23 24 25 26 27 28

0      9      18      27     36     45      54     63      72     81     90     99    108   117   1

26

Clipped linear speed curve
Vstart = 10, Vhigh = 165,
Vmid = 90

150

160

170

180

190

200

210

220

230

240

250

    

0

10

20

30

40

50

60

70

80

90

100

110

120

130

140

150

160

170

180

190

200

210

220

230

240

250

0  1  2  3  4  5  6  7  8  9 

10 11 12 13 14 15 16 17 18 19 

20 21 22 23 24 25 26 27 28

0      9      18      27     36     45      54     63      72     81     90     99    108   117   1

26

Clipped and bent speed curve
Vstart = 15, Vhigh = 180, Vmid = 60

      

 

0

10

20

30

40

50

60

70

80

90

100

110

120

130

140

150

160

170

180

190

200

210

220

230

240

250

0  1  2  3  4  5  6  7  8  9 

10 11 12 13 14 15 16 17 18 19 

20 21 22 23 24 25 26 27 28

0      9      18      27     36     45      54     63      72     81     90     99    108   117   1

26

Example of a freely 
programmed speed
 curve according to
 the values entered
 in to configuration
variables #67 - 94. 

 

 

In case of 

Faulhaber, Maxxon or similar 

motors (Coreless): 

Start with special 

CV #9 = 22

 

and 

CV #56 = 100

    

programming   

! ! !

 

 

The 

motor

 is controlled by 

pulse with modulation

 that can take place at either low or high fre-

quency. This frequency is selected with 

configuration variable #9

 (NMRA conforming formula, see 

CV table). 

High frequency control: 

The motor is controlled at 20kHz in default mode or whenever a value of 

“0” is entered to CV #9, which can be raised to 40kHz with bit 5 in CV #112. The effect is compara-
ble to operating with DC voltage

 

and is likewise just as 

noiseless

 (no hum as with low frequency) 

and easy on the motor (minimum thermal and mechanical stress). It is ideal for coreless motors 
(recommended by Faulhaber!) and other high performance motors (most modern motors, including 
LGB). It is not recommended however, for AC motors and some older motors.  

When operating at high frequency, power to the motor is interrupted periodically in order to deter-
mine the current speed by measuring back-EMF (voltage generated by the motor). The more fre-
quently this interruption takes place, that is the higher the 

EMF sampling frequency,

 the better the 

load compensation performs (see next page); but that also results in a certain loss of power. This 
sampling frequency varies automatically in the default mode (CV #9 = 0) between 200Hz at low 
speed and 50 Hz at maximum speed. CV #9 allows the adjustment of the sampling frequency as 
well as the sampling time.  

* It is recommended in most cases where an improvement is still required for 

MAXXON, Faulhaber 

or similar motors, 

to select a lower sample frequency such as 

CV #9 = 11, 12, 21, 31

 etc after CV 

#56 was programmed to 100; this will in any case reduce motor noise! 

* for 

older type motors

 use rather the opposite, e.g. 

CV #9 = 88. 

Also see CV table and the following page! 

Low frequency control: 

Entering a value between 176 and 255 to CV #9 drives the motor between 

30 and 150 Hz.

 Most often used value is 208 for 80 Hz. This is rarely used today and is only suit-

able for AC motors with field coils. 

The load compensation: 

All Zimo decoders come equipped with 

load compensation,

 also known as BEMF to keep a 

con-

stant speed,

 regardless whether the engine is pulling a short or long train uphill, downhill or around 

a tight radius (although the speed will not be held 100% constant, especially in the upper speed 
range). This is accomplished by constantly comparing the desired value (speed regulator setting) 
and the actual value at the motor, determined with the EMF method (EMF stands for Electro Motive 
Force and is the force (power) produced by the motor when it is turned without power applied to it). 

The 

Reference Voltage

 

used for the BEMF algorithm can be defined by 

CV #57

 

as either 

absolute or relative (default). 

Absolute Reference:

  

A voltage value is defined in CV #57 as a base line for the BEMF calculation. For 
example: if 14V is selected (CV value: 140), the decoder then tries to send the exact fraction of the 
voltage indicated by the speed regulator position to the motor, regardless of the voltage level at the 
track. As a result the speed remains constant even if the track voltage fluctuates, provided the track 
voltage (more precisely, the rectified and processed voltage inside the decoder, which is about 2V 
lower) doesn’t fall below the absolute reference voltage. 

Содержание MX640 Series

Страница 1: ...ment a few copies are sent to the ZIMO dealer at no charge about 1 for every 10 decoders shipped more can be ordered for a nominal fee or downloaded free of charge from www zimo at NOTE ZIMO decoders contain an EPROM which stores software that determines its characteristics and functions The software version can be read out form CV 7 The current version may not yet be capable of all the functions ...

Страница 2: ...ad ing to a short the soft start option should be utilized see CV 125 52 etc When used with the DiMAX command station Massoth The DiMAX 1200Z according to its in struction manual should deliver 24V to the track which would only by marginally higher than speci fied by the DCC standard In reality though the unit especially older versions powers the track with a varying voltage heavily dependent on l...

Страница 3: ... to 60 seconds As with all other ZIMO decoders D O I T Y O U R S E L F S O F T W A R E U P D A T E Beginning with production date September 2004 MX620 since introduction ZIMO DCC decoders are equipped to handle a software update by the user A ZIMO decoder update module e g MXDECUP or MX31ZL a PC with Windows operating system a serial port or USB and converter and the program ZIMO Service Tool ZST ...

Страница 4: ...O SOUND selection and programming description of basic functionality and operat ing procedures and Table of configuration variables CV s 256 to 511 HELPFUL HINTS FOR CV PROGRAMMING If you are familiar with CV programming please skip this section and go directly to the CV table below CV programming is not the same for all CV s While the programming procedure is the same for all CV s the calculation...

Страница 5: ...n the other two Here you don t have to cal culate Bit values With those CV s the digit s position and value determines a specific action Some of those digit positions act like a simple ON OFF switch and others like a volume control Both of these kind of settings may be used in the same CV For example CV 56 can be used for fine tuning a motor CV Designation Range Default Description 56 Back EMF con...

Страница 6: ...ogramming or read out of a higher CV 99 and or a higher value 99 for systems that CV Designation Range Default Description See section Operation within other systems in this manual And for programming help of higher CV numbers with medium level systems such as Intellibox or Lenz especially for sound sample selection and sound CV s I e to program CV 300 100 with values for Lokmaus 2 1 2 10 11 12 20...

Страница 7: ...uld operate with the consist address Bit 0 for F1 Bit 1 for F2 Bit 2 for F3 etc Applicable Bits set to 0 function controlled by single primary address Applicable Bits set to 1 function controlled by consist address CV Designation Range Default Description 22 Consist address activates headlights 0 3 0 Select whether the headlights are controlled with consist address or single address Bit 0 for fron...

Страница 8: ...4 equals accelera tion time in seconds from stop to full speed when ZIMO signal controlled speed influence re quires ZIMO MX9 or MX900 track section module or asymmetrical DCC signal method Lenz ABC is employed 50 Signal controlled deceleration ZIMO HLU Method 0 255 0 Entered value multiplied by 4 equals accelera tion time in seconds from full speed to com plete stop when ZIMO signal controlled sp...

Страница 9: ...polated when using 128 speed steps CV Designation Range Default Description 66 95 Directional speed trimming 0 255 0 255 0 0 Multiplication of the current speed by n 128 n is the trim value in this CV 66 for forward direction 95 for reverse direction 105 106 User data 0 255 0 255 0 0 Free memory space to store user supplied data 112 Special ZIMO configuration bits Values to turn Bit on Bit 0 1 Bit...

Страница 10: ...t values 1 Low beam with key F6 bright ness determined by value in CV 60 Bit 7 0 normal effect of F6 1 effect of F6 inverted 120 Low beam mask for F7 Bits 0 7 Same as in CV 119 but for F7 key 121 Exponential acceleration 0 99 See add notes 00 Acceleration time momentum can be stretched in the lower speed range Tens digit Percentage of speed range to be included 0 to 90 Ones digit Exponential curve...

Страница 11: ...or North American railroads The ditch lights will only be working if the applicable bits in CV 33 and 34 are on the definition in CV 125 128 in itself is not enough but a necessary addition Example If ditch lights are defined for F1 and F2 the bits 2 and 3 in CV 33 and 34 have to be set accordingly i e CV 33 13 00001101 CV 34 14 00001110 CV Designation Range Default Description in CV 133 84 As abo...

Страница 12: ...l conditions by using 4 diodes to gener ate the asymmetry see chapter 4 1 CV Designation Range Default Description 135 km h Speed regulation Activating control and range definition 2 20 0 0 km h Regulation turned off the normal speed regulation is in effect Start with Pseudo Programming Pseudo programmed value is not being stored CV 135 1 Initiates a calibration run see chapter 4 km h speed regula...

Страница 13: ... devices are blocked Unlock this CV with on the main pogram ming CV Designation Range Default Description 145 Alternative motor control method 0 1 10 11 12 0 0 normal control mode DC coreless motors Faulhaber Maxxon 1 special control for low impedance DC mo tors often Maxxon this mode allows the connection of a capacitor 10 or 22uF to the decoders positive and ground pads which puts less stress on...

Страница 14: ...s the servo s left stop position 163 Servo 1 Right stop 0 255 205 Defines the servo s right stop position 164 Servo 1 Center position 0 255 127 Defines a center position if three positions are used 165 Servo 1 Rotating speed 0 255 30 3 sec Rotating speed Time between defined end stops in tenths of a second total range of 25 sec Default 3 sec 166 to 169 As above for servo 2 CV Designation Range Def...

Страница 15: ...ion variables 67 94 In case of Faulhaber Maxxon or similar motors Coreless Start with special CV 9 22 and CV 56 100 programming The motor is controlled by pulse with modulation that can take place at either low or high fre quency This frequency is selected with configuration variable 9 NMRA conforming formula see CV table High frequency control The motor is controlled at 20kHz in default mode or w...

Страница 16: ...urvature can be defined A typical and practical value is 25 as starting point for further trials The adaptive acceleration and deceleration procedure defined by configuration variable 123 will not allow a change in speed until the previous target speed step of an acceleration deceleration event is nearly reached Most often applied values are 22 or 11 which can noticeably reduce a start up jolt the...

Страница 17: ...ning the adaptive acceleration and the ones digit for the adaptive deceleration CV 123 22 improves the start up as well as the stop jolt It may be of advantage to reduce the adaptive decel eration i e CV 123 24 in order to improve repeatable stop points in automated operations routes block control etc Beginning with software version 5 a start up jolt during a change in direction can also be elimin...

Страница 18: ...designation H Halt or stop L Low speed and U Ultra low speed If the signal controlled speed influence is being used only possible within a ZIMO system the speed limits U and L and the intermediate steps if need be can be set with configuration vari ables 51 to 55 as well as acceleration and deceleration values momentum with CV 49 and 50 see CV table Please note that the signal controlled accelerat...

Страница 19: ...ll stop Re ductions in speed or acceleration events are not affected by this still handled by CV 4 etc The traveled distance is constantly being recalculated in order to get as close as possible to the de sired stop point The deceleration rate within distance controlled stopping is always applied expo nentially that is the deceleration rate is high in the top speed range followed by gentle braking...

Страница 20: ...he sum of the individual bit values 0 2 4 8 14 is entered as a decimal value On the fly programming a k a on the main Configuration variables can also be changed on the main track as well as on the programming track without interfering with other trains operating on the layout All CV s with the exception of address CV s can be modified on the main Please note though that the verification and read ...

Страница 21: ...hould be properly lighted white and red lights and switched on off with F0 front and F1 rear This allows turning all lights off on the ap propriate loco end if cars are coupled to the loco This can be achieved as follows Front white headlights on function output Front headlight and front red taillights on function output 2 rear white headlights on function output 1 and rear red tail lights on func...

Страница 22: ... front F0 33 1 L forw 7 6 5 4 3 2 1 0 F0 34 1 L rev 7 6 5 4 3 2 1 0 F1 35 2 7 6 5 4 3 2 1 0 F2 36 3 7 6 5 4 3 2 1 0 F3 37 4 7 6 5 4 3 2 1 0 F4 38 5 7 6 5 4 3 2 1 0 F5 39 6 7 6 5 4 3 2 1 0 F6 40 7 7 6 5 4 3 2 1 0 F7 41 8 7 6 5 4 3 2 1 0 F8 42 9 7 6 5 7 6 5 7 6 5 7 6 5 7 6 5 4 3 2 1 0 and so on and so on CV 61 1 or 2 Function Outputs NMRA Functions CV Numerical keys of ZIMO cabs FO9 FO8 FO7 FO6 FO5 ...

Страница 23: ...9 FO8 FO7 FO6 FO5 FO4 FO3 FO2 FO1 Rear light Front light F0 33 1 forw 7 6 5 4 3 2 1 0 F0 34 1 rev 7 6 5 4 3 2 1 0 F1 35 2 7 6 5 4 3 2 1 0 F2 36 3 7 6 5 4 3 2 1 0 F3 4 forw F3 4 rev F4 38 5 7 6 5 4 3 2 1 0 F5 6 F6 7 F7 8 4 3 2 1 0 F8 42 U 9 4 3 2 1 0 F 9 43 U 1 4 3 2 1 0 F10 44 U 2 4 3 2 1 0 F11 45 U 3 4 3 2 1 0 F12 46 U 4 4 3 2 1 0 Directions Bit 7 6 5 7 6 5 7 6 5 7 6 6 5 CV 61 3 or 4 are for the ...

Страница 24: ...n typical applications are red taillights CV 61 5 or 15 Function Outputs NMRA Functions CV Numerical keys of ZIMO cabs FO9 FO8 FO7 FO6 FO5 FO4 FO3 FO2 FO1 Rear light Front light F0 33 1 forw 7 6 5 4 3 2 1 0 F0 34 1 rev 7 6 5 4 3 2 1 0 F1 35 2 7 6 5 4 3 2 1 0 F2 36 3 7 6 5 4 3 2 1 0 F3 4 forw F3 4 rev F4 5 forw F4 5 rev F5 6 F6 7 F7 8 F8 42 U 9 4 3 2 1 0 F9 43 U 1 4 3 2 1 0 F10 44 U 2 4 3 2 1 0 F11...

Страница 25: ...sel engines F3 either actuates a single white or the red lights as taillights CV 61 6 Function output FO1 and FO4 are switched separately with F4 and direction CV 61 7 Function output FO1 and FO4 are used for the cab lighting independent of direction and switched with F4 CV 61 7 Function Outputs NMRA Functions CV Numerical keys of ZIMO cabs FO9 FO8 FO7 FO6 FO5 FO4 FO3 FO2 FO1 Rear light Front ligh...

Страница 26: ...now actu ated with the corresponding function keys i e FLf FLr F1 F12 13 F6 forward 14 F6 reverse 15 F7 forward Because only one function key F0 is available for FLf and FLr headlights it is necessary to press F0 repeatedly to select the desired configuration which alternately actuates the front and rear head lights 16 F7 reverse 17 F8 forward 18 F8 reverse The assignment must be confirmed by pres...

Страница 27: ...lable sources including your own recordings can be used In the course of 2008 ZSP will be further developed and later integrated into a new comprehensive program ZISP or ZIRC The development will be carried out side by side with the extension of the decoder software in order to find new possibilities in sound composition Shipping decoders with many samples Sound collections on board is also a tren...

Страница 28: ...pecial Or meaning during the selection procedure If neither CV 266 45 nor CV 166 45 is possible programming CV 7 120 followed by CV 66 45 also leads to the result of CV 266 45 The initial CV 7 Pseudo Programming state remains active for further programming which means CV 267 is entered as 167 CV 300 as 200 and so on until the decoder is powered down ATTENTION After re booting the system the Pseudo...

Страница 29: ...ing coal announcements and much more Note these sound files can also be used as function sounds allocated to function keys see next page the automated back ground sounds can then be cancelled with the function keys The engine should remain stationary though since the speed regulator is used for volume set tings during the allocation procedure The function keys have the following special meaning De...

Страница 30: ...h inputs S1 and S2 the last stored sound sample of that group is reached use the key to scroll in the opposite direc tion F1 F2 to listen to the other stored sounds The MX640 has 3 switch inputs available at connector 2 of which two 1 2 are freely avail able to the user while one 3 is usually reserved for a cam sensor input which can also be used by the user if not used for a cam sensor i e the vi...

Страница 31: ...31 SW1 2 or MX31ZL SW3 06 Programming sound CV s Configuration variables are for optimizing the sound effect for a specific locomotive and for special operating situations The programming can be done either on the programming track in service mode on the main track in operations mode or with incremental programming The incremental programming is a special process of the operations mode programming...

Страница 32: ...y low speeds For STEAM engines 0 255 10 PROJECT not yet implemented The chuff sounds of a real engine are extended when driving at very low speeds due to the me chanical valve control This effect can be more or less accentuated with CV 270 271 Overlapping effect at high speed 0 255 useful up to 1 16 The individual steam chuffs should overlap each other at high speed like on a real engine Because t...

Страница 33: ...uppressed i e in curves in or CV Designation Value range INC steps De fault Description 278 der to prevent chaotic sound impressions Suitable settings can only be determined by trial with incremental programming 279 Reaction time to load change 0 255 1 0 With this CV the reactions in sound to changes in load can be delayed whereas the factor is not just time but rather load change dependent time t...

Страница 34: ...ng scale according to the corre sponding speed step interval LEAD Thyristor control 0 100 10 40 Percentage of the increased pitch of the thyristor CV Designation Value range INC steps De fault Description CV 290 Sound pitch at me dium speed for ELECTRIC engines From SW version 20 sound at medium speed compared to standstill Define the medium speed in CV 292 0 no change pitch remains the same as at...

Страница 35: ...en mute button is pressed Range is 25 seconds 0 1 sec which is the same as a value of 10 315 Minimum interval for 0 255 1 The random generator produces internal pulses in irregular in CV Designation Value range De fault Description random generator Z1 0 255 sec tervals that are used to playback a sound file assigned to the random generator CV 315 defines the shortest possible in terval between two...

Страница 36: ...rmation are being transmitted by the decoders The definitions for RailCom are determined by the RailCom working group Lenz Kühn Tams and ZIMO before that by the NMRA RP s 9 3 1 and 9 3 2 for bidirectional communication with the goal of a uniform platform for RailCom applications The functionality is based on short cut outs max 500 micro seconds introduced to the otherwise continuously sent DCC sig...

Страница 37: ...ors that connect between the motor connections and the frame which can even lead to the destruction of the decoder end stage These components are often hard to see and to get at Indications of an actual negative effect of such components besides a general unsatisfactory motor control jerking are weak control compensation as a test set the decoder to low frequency CV 9 200 and check to see whether ...

Страница 38: ...The key pin 11 prevents a wrong installation by not allowing the decoder to be pushed all the way down This and or the decoder not sitting level on the board indicate a wrong install ment The SUSI interface The SUSI interface developed by Dietz is an NMRA standard and defines the connection between sound modules or other add on components and loco decoders provided they are also equipped with such...

Страница 39: ...the command station during start up If a large number of loco s so equipped are on the layout the command station could interpret the current flow to these capacitors as a short circuit The diode e g 1N4007 is required to bypass the resistor when power is needed by the decoder The outputs can be activated for servo control duty with CV s 181 and CV 182 the value in each must be different than 0 Wi...

Страница 40: ... the same location on the decoder board The picture below shows a sample layout the loco board may however vary from case to case Loc o board w ith 21 pin interfac e and M X64D plugged in F lat ribbon c able to C Sinus M otor The switch over to the C Sinus control takes place with CV 145 see CV table An MX640C equipped C Sinus locomotive can be operated in the NMRA DCC data format as well as the M...

Страница 41: ...oards and or decoders It is imperative that these are being replaced with 100KO resistors 104 before installing the decoder ZIMO MX640C decoders will be delivered with the necessary resistors Below is a picture showing a loco board with the useless 000 resistors in such cases it is not allowed to plug in a MX640C decoder This picture shows a different Märklin C Sinus board and how the resistors in...

Страница 42: ... ROCO Lokmouse 2 Although the Lokmaus 2 allows CV programming its display is limited to two digits only and there fore limits the number of CV s and their values to 99 Zimo decoders offer a special pseudo programming feature with CV 7 that normally stores the software version number to allow unrestricted programming It is called pseudo programming be cause the permanently stored value in CV 7 cann...

Страница 43: ...ined special CV set The Norwegian loco in the above example will remain just that CV 8 0 the traditional hard reset a procedure known from ZIMO cabs MX2 MX21 MX31 by programming an address to 0 will on the other hand reset the decoder to the last defined spe cial CV set or the lastly installed sound project 12 Converting binary to decimal If according to the CV table a CV calls for setting individ...

Страница 44: ... CV 1 799 value range 0 255 The short mode is always active after entering the programming mode To change to the long mode write 80 to CV 80 enter address 80 and change direction twice to change to the long mode Short mode Enter the CV to be programmed in the central unit as an address and briefly operate the direction switch The headlight now quickly flashes twice Now enter the desired value to t...

Страница 45: ...o the decoder may potentially present a prob lem since the decoder cannot turn the load off because of the 150mA power limit of the MXDECUP The update process may fail in such cases and the relevant loads must first be removed or remove the decoder from the locomotive Make sure the choke coil recommended in chapter 17 is actually installed if external buffer circuits capacitors are used to maintai...

Отзывы: