This section of the manual is designed to provide the advanced user with additional insight into the operation and
capabilities of the SoundTraxx Digital Sound Decoder . By necessity, it is somewhat technical in nature and assumes
a working knowledge of the NMRA DCC Standards and RPs as well as a familiarity with binary and hexadecimal
number systems.
The novice user should not be dissuaded from studying this section as it will help add to his knowledge of DCC
technology and enable him to take greater advantage of its capabilities.
Copies of the NMRA DCC Standards and Recommended Practices may be obtained by contacting:
Technical Department
NMRA Headquarters
4121 Cromwell Road
Chattanooga, TN 37421 USA
Phone: (615) 892-2846
As always, our Technical Support staff will be happy to answer any specific questions you may have regarding the
SoundTraxx DSD.
Applicable Standards
The SoundTraxx DSD has been designed to meet the requirements of the following NMRA Standards and RPs as
defined by September, 1996:
Standard S-9.1DCC Electrical Standard
Standard S-9.2DCC Communication Standard
RP-9.1.1Electrical Interface and Wire Color Code
RP-9.2.1DCC Extended Packet Format
RP-9.2.2DCC Configuration Variable
RP-9.2.3 (Tentative)DCC Service Mode
RP-9.2.4DCC Fail-Safe Operating Characteristics
Bit Timing
The DSD uses a quartz cr ystal timing reference and will recognize DCC packet bits that fall within the following
timing constraints:“1” Bit, 52µS to 64µS
“0” Bit, 90µS to 12000µS
Packets containing bits that fall outside of this range will be rejected.
Addressing Modes
The DSD recognizes the following address modes and ranges as defined by RP-9.2.1:
Packets contain addresses outside of these ranges will be ignored.
Command Instructions
The DSD will process valid packets containing the following instruction codes as defined by RP-9.2.1:
000 Decoder and Consist Control
All currently defined forms of this instruction are processed except 00000110b, Set Advanced Acknowledgment. This instruction is ignored.
Digital Sound Decoder Technical Reference
1
001 Advanced Operation Instructions
The DSD will process only the 128 Speed Step Control form (00111111b) of this instruction.
All other sub-instructions will be ignored.
010 Reverse Speed and Direction Instruction
The DSD will process all forms of this instruction.
011 Forward Speed and Direction Instruction
The DSD will process all forms of this instruction.
100 Function Group One
The DSD will process all forms of this instruction.
101 Function Group two
The DSD will process all forms of this instruction.
110 Reserved Instruction
The DSD will process all forms of this instruction.
111 Configuration Variable Access
The DSD will parse both the short form and long form of this instruction.
Only short form instructions formatted as 11110010b (CV 23 access) or 11110011b (CV 24 access) will be processed. All other short form instruction will be ignored.
All long form instructions will be processed. Ho wever, attempts to write to the following CVs in operations mode will
be ignored:
CV 1Primary Address
CV 7Mfg. Version ID
CV 8Mfg. ID
CV 17Extended Address MSB
CV 18Extended Address LSB
Write operations to other CVs may be ignored if an attempt is made to write illegal values. See individual CV
descriptions for details on illegal values.
The DSD will send a basic acknowledgment upon successfully processing an operations mode CV access instruction provided the locomotive is stopped. Otherwise, no acknowledgment is sent.
Programming Modes
The DSD will supports all six programming modes defined in RP-9.2.1 and RP-9.2.3:
Address Mode
Register Mode
Service Mode
Direct Mode
Ops Mode Long Form
Ops Mode Short Form
Not all CVs can be programmed using all modes. Table A lists all CVs supported by the DSD, their applicable
programming mode address as well as the factory default values.
When entering service mode, the DSD will turn off all auxiliary functions and sounds to reduce its current draw to as
low a level as possible.
If the DSD receives an instruction packet to read or write a CV not listed in Table A, the instruction packet will be
ignored and no acknowledgment will be generated.
2
Digital Sound Decoder Technical Reference
Upon completion of a paged mode operation, the DSD will reset the page register to 01.
The address query instruction is
not
supported by the DSD.
Miscellaneous Operating Notes
Consist operation is enabled whenev er the consist address (CV 19, bits 0:6) is loaded with a non-zero v alue . Per the
NMRA standard, when the consist address is enabled, the DSD will no longer parse speed/direction pack ets sent to
its primary address. Additionally, the DSD will ignore long form CV access instructions sent to its consist address.
Because the DSD instruction parser assigns a higher priority to the consist address, this can cause unexpected
behavior under certain conditions:
When the DSD is set up for 14 speed step mode with the consist address active, the DSD outputs will no longer
respond to FL function commands sent to the primary address. This may be remedied by using a different speed
step mode or enabling FL consist functions (see CV 22).
If the consist address is set to the same value as the primary address, the DSD will no longer process long form
operations mode CV access instructions sent to the primary address. As a result, the user will be required to use
service mode CV access instructions to clear the consist address. If the extended address is enabled (see CV 29),
this will not be a problem.
Analog Mode Operation
The DSD does
not
support Analog Mode operation and will remain inoperative when placed on a conventional DC
track.
CVs Support
The following table lists all CVs used by the DSD. Details regarding each CV can be found on subsequent pages.
Register ModeOps Mode Short FormPaged ModeOps Mode Long Form
Address ModeDirect Mode
Program Mode Address
(Note 1)
Note1: Paged mode address is shown as PP:RR where PP is the page number and RR is the data register 0-3.
4
Digital Sound Decoder Technical Reference
Address ModeDirect Mode
CV 1
PRIMARY ADDRESS
■■
Register ModeOps Mode Shor t Form
■❐
Paged ModeOps Mode Long Form
■❐
CONTROL
Description
Contains the decoder’s primary address between 1 and 127:
bit 7bit 0
0 A6A5A4A3A2A1A0
Bit 0-6:A0-A6, Decoder Address
Bit 7:Not used. Must be set to 0!
The decoder will process all valid instruction packets containing an address that matches the
value contained in this register when CV 29, bit 5 is set to 0.
Programming this register with a new value will automatically clear the Consist Address (CV 19)
to 0 and clear the Extended Address Enable bit in CV 29 (bit 5).
The decoder will ignore commands that attempt to program this register with values outside the
range of 1 to 127.
Note that this CV cannot be changed in operations mode.
Default V alue:03
Related CVs:See also CV 29, Consist Address, Extended Address
Digital Sound Decoder Technical Reference
5
❐■
CV 2
VSTART
Description
Vstart defines the initial voltage level applied to the motor at speed step 1 as a fraction of
available supply voltage:
bit 7bit 0
D7D6D5D4D3D2D1D0
D0-D7:Motor Start Voltage
Vstart may contain any value from 0 to 255 (0 - 0xFF).
The starting voltage applied to the motor may be computed as:
Address ModeDirect Mode
■❐
Register ModeOps Mode Short Form
■■
Paged ModeOps Mode Long Form
Starting Voltage = Supply Voltage X ——
where CV 2 is the contents of the Vstart register. A value of 0 corresponds to a zero starting
voltage and 255 corresponds to the maximum available voltage.
For speed steps greater than 1, the DSD will continue to sum the initial starting voltage level
into the throttle computations which has the effect of offsetting all points on a given speed
curve by the level set by Vstar t as illustrated in the figure below.
100%
75%
50%
25%
MOTOR VOLTAGE
0%
CV2
255
VSTART = 20
VSTART = 0
0 2 4 6 8 10 12 14 16 18 20 22 24 26 28
Default value:07
6
SPEED STEP
Digital Sound Decoder Technical Reference
Address ModeDirect Mode
CV 3
BASELINE
❐■
Register ModeOps Mode Shor t Form
■❐
Paged ModeOps Mode Long Form
■■
ACCELERATION
RATE
Description
Contains a value between 0 and 255 (0 - 0xFF) that sets the decoder’s acceleration rate:
bit 7bit 0
D7D6D5D4D3D2D1D0
D0-D7:Baseline Acceleration Rate
Acceleration rate may be computed as:
seconds/speed step = ———————————
Number of Speed Steps
When this CV is set to 0, the locomotive speed will respond nearly instantly to
throttle setting. When set to 255, it will take approximately 3.8 minutes to acceler ate to full speed
from a standing stop.
It is recommended that this CV be set to a nonzero value when operating the DSD in 14 or 28
speed step modes as the throttle will interpolate between speed steps during acceleration to
produce a smoother overall response. The Dynamic Digital Exhaust sound effect will also be
more prevalent with higher acceleration settings.
CV 3 * 0.896
increases
in the
Default value:0
Related CVs:See also Baseline Braking Rate, Consist Acceleration Rate,
Consist Brake Rate.
Digital Sound Decoder Technical Reference
7
CV 4
BASELINE
Address ModeDirect Mode
❐■
Register ModeOps Mode Short Form
■❐
Paged ModeOps Mode Long Form
■■
BRAKING RATE
Description
Contains a value between 0 and 255 (0 - 0xFF) that sets the decoder’s braking rate:
bit 7bit 0
D7D6D5D4D3D2D1D0
D0-D7:Baseline Braking Rate
Braking rate may be computed as:
seconds/speed step = ———————————
Number of Speed Steps
When this CV is set to 0, the locomotive speed will respond nearly instantly to
throttle setting. When set to 255, it will tak e appro ximately 3.8 min utes to brak e to a stop from full
speed.
It is recommended that this CV be set to a nonzero value when operating the DSD in 14 or 28
speed step modes as the throttle will interpolate between speed steps during braking to produce
a smoother over all response. The Dynamic Digital Exhaust sound eff ect will also be more pre v alent with higher braking rates.
CV 4 * 0.896
decreases
in the
Default value:0
Related CVs:See also Baseline Acceleration, Consist Acceleration Rate,
Contains the NMRA issued Manufacturer ID code assignment
for Throttle Up!:
bit 7bit 0
100011 01
This value is read only and fixed at 141 (0x8D).
❐■
Register ModeOps Mode Short Form
■❐
Paged ModeOps Mode Long Form
■■
10
Digital Sound Decoder Technical Reference
Address ModeDirect Mode
CV 9
PWM PERIOD
Description
Determines the PWM period of the motor dr ive signals:
bit 7bit 0
D7D6D5D4D3D2D1D0
D0-D7:PWM Period
The motor PWM period in microseconds is computed as:
Period = (255 - CV9) * 204.8
This CV may be programmed with an y v alue between 0 and 230 corresponding to a PWM period
range of 52.2µS to 5.12µS. The motor drive frequency can be found by taking the reciprocal of
the period. The drive frequency can thus be programmed from 19.1 Hz to 195 Hz.
❐■
Register ModeOps Mode Shor t Form
❐❐
Paged ModeOps Mode Long Form
■■
The decoder will ignore commands that attempt to program this register with v alues greater than
230.
The correct value f or this register will v ary depending upon the locomotive the DSD is installed in
and it may tak e some e xperimentation to find the optimal value . Generally, the selected value will
require a trade-off decision between motor torque and audible noise. Lower numbers will produce more torque but ma y cause the motor and driveline to resonate and b uzz loudly. On smaller
engines that lack traction, sufficient torque can be produced to cause the drive wheels to slip.
Higher numbers, on the other hand, will tend to reduce the buzzing noise b ut there ma y be some
loss in power, especially at low speeds. The following values are provided as a guide line to help
establish a starting point for determining the best PWM period value:
Scale CV9 Value
N, HOn3180-200
HO, S175-185
O160-175
G120-160
Note: CV 9 also affects the modulation period of the Hyperlight effects. When using the Hyperlight effects, it is recommended that CV 9 be programmed with values greater than 155 as an annoying flicker
may otherwise result.
Default V alue:180 (0xB4), Corresponds to 65Hz dr ive frequency.
Digital Sound Decoder Technical Reference
11
❐■
CV 11
P ACKET TIME OUT
Address ModeDirect Mode
❐❐
Register ModeOps Mode Short Form
■■
Paged ModeOps Mode Long Form
VALUE
Description
Contains a value between 0 and 255 corresponding to the time period that is allowed to elapse
between receipt of a valid packet addressed to the DSD before a throttle shutdown occurs.
bit 7bit 0
D7D6D5D4D3D2D1D0
D0-D7:Pack et Time-out Value
The time out period is computed in seconds as:
Time Out Period = CV11 X 10
A CV value of 0 disables the time out period and the locomotive will run indefinitely without
receiving another packet.
For all other values, the DSD maintains an internal timer which is reset every time the DSD
receives a valid broadcast address packet or other valid packet whose address matches its
primary address or, if enabled, the extended address or consist address.
In the event no valid packets are received within the prescribed time period, the DSD will br ing
the locomotive to a stop at the rate set by CV 4 and CV 24. The state of the auxiliary function
outputs will remain unchanged.
Default value:00
12
Digital Sound Decoder Technical Reference
Address ModeDirect Mode
CV 17,18
EXTENDED
❐■
Register ModeOps Mode Shor t Form
❐❐
Paged ModeOps Mode Long Form
■❐
ADDRESS
Description
CV 17 and 18 make up a ‘paired’ CV, meaning that the two CV registers taken together hold one piece of
data, in this case, the 14 bit extended decoder address:
CV 17 Extended Address MSB
bit 7bit 0
A15A14 A13A12A11A10A09A08
CV 18 Extended Address LSB
bit 7bit 0
A7A6A5A4A3A2A1A0
A0-A15:Extended Address Value
The extended address allows the decoder to be assigned one of 10,179 addresses r anging from 0xC000 to 0xE7FF
(Note however, that most command stations will only recognize addresses 0000 through 9999.). The extended
address will only be recognized by the decoder when CV 29, bit 5 is set to 1. Once this bit is set, the decoder will no
longer recognize its primary address until CV 29, bit 5 is cleared.
CV 17 contains the most significant byte and must be loaded with v alues within the range of 0xC0 and 0xE7. CV 18
contains the least significant byte and may contain any value.
To determine the extended address value, add the desired four digit address to the number 49152. Divide this
number by 256 and record the quotient and the remainder . CV 17 is then programmed with the quotient v alue and CV
18 is programmed with the remainder value .
Example: Compute CV 17 and 18 register values for extended address 7152.
Note: Most command stations will handle these computations automatically when setting the extended address.
However, it’s still nice to know how to derive them.
Because CV 17 and 18 make up a paired CV, programming order is important. CV 17 m ust be written to first, followed
by a write CV 18. The decoder will ignore commands that attempt to program these register out of order or with
values outside the allowed range of 0xC000 to 0XE7FF
Note that these CVs cannot be changed in operations mode.
Default V alue:0xC003
Related CVs:See also Primary Address, CV 29, Consist Address.
Digital Sound Decoder Technical Reference
13
❐■
CV 19
CONSIST ADDRESS
Address ModeDirect Mode
❐❐
Register ModeOps Mode Short Form
■■
Paged ModeOps Mode Long Form
Description
Contains address and direction data for consist operation:
bit 7bit 0
CDIRA6A5A4A3A2A1A0
Bit 0-6:A0-A6, Consist Address Value
Bit 7:CDIR, Consist Direction
0 = Normal Direction
1 = Reverse Direction
The CDIR bit defines orientation of the locomotive within a consist and specifies whether the direction bit
in a speed/direction data packet should be inver ted.
Bits A0-A6 assigns the consist address from 0 to 127 (0-0x7F).
If A0-A6 = 00, consist commands are ignored. Otherwise, if the decoder receives a valid command
packet whose address matches the consist address, the packet will be processed as any other packet
with the following exceptions:
Long Form CV Access instructions will be ignored.
The direction bit in a speed/direction or advanced operation packet is inverted if CDIR = 1.
Only the auxiliary functions enabled in CV 21 and CV 22 are allowed to change.
When the consist address is active, speed/direction and adv anced operations packets sent to the decoder’s
primary address (or extended address, if enabled) will be ignored. All other instruction packets sent to the
decoder’s primary (or extended) address including CV access and function control will continue to be
processed as normal.
In summary, setting CV 19 to 00 or 128 (0x80) disables consist addressing. Setting CV to a value between 1 and 127 (0x01-0x7F) enables consist addresses 1 to 127 (0x01-0x7F) with the locomotive
oriented facing
consist addresses 1 to 127 with the locomotive oriented facing
forward
in the consist. Setting CV to a value between 129 and 255 (0x81-0xFF) enables
backwards
in the consist.
Default V alue:00
Related CVs:See also Primary Address, Consist Function Active, Consist FL Function Active.
14
Digital Sound Decoder Technical Reference
❐■
CV 21
CONSIST FUNCTION
Address ModeDirect Mode
❐❐
Register ModeOps Mode Shor t Form
■■
Paged ModeOps Mode Long Form
ACTIVE
Description
Defines which functions may be controlled by packets sent to the decoder’s consist address.
Disabled functions may be controlled only from decoder’s primary or extended address:
bit 7bit 0
F8F7F6F5F4F3F2F1
Bit 0:F1, Consist Function 1 Enable Bit
0 = function is disabled for consist operation.
1 = function is enabled for consist operation.
Bit 1:F2, Consist Function 2 Enable Bit
0 = function is disabled for consist operation.
1 = function is enabled for consist operation.
Bit 2:F3, Consist Function 3 Enable Bit
0 = function is disabled for consist operation.
1 = function is enabled for consist operation.
Bit 3:F4, Consist Function 4 Enable Bit
0 = function is disabled for consist operation.
1 = function is enabled for consist operation.
Bit 4:F5, Consist Function 5 Enable Bit
0 = function is disabled for consist operation.
1 = function is enabled for consist operation.
Bit 5:F6, Consist Function 6 Enable Bit
0 = function is disabled for consist operation.
1 = function is enabled for consist operation.
Bit 6:F7, Consist Function 7 Enable Bit
0 = function is disabled for consist operation.
1 = function is enabled for consist operation.
Bit 7:F8, Consist Function 8 Enable Bit
0 = function is disabled for consist operation.
1 = function is enabled for consist operation.
This register is useful for diff erentiating the lead engine in the consist from the other engines. F or e xample, by setting
this register in the lead locomotive to 02 and the same register in all other engines to 00, only the whistle on the lead
locomotive will blow when the command to turn on Function 2 is sent to the consist.
Default V alue:00
Related CVs:See also Consist Address, Consist FL Function Active.
Digital Sound Decoder Technical Reference
15
Loading...
+ 34 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.