|
|
Command Buses |
|
|
|
Home | Products | Distributors | Documentation & Support | DCC | CV Calculators | Links |
|
|
Making Your Own DCC Components
|
GeneralThe Command Bus or buses is (are) the infrastructure that ties together the components of a larger DCC system. With a smaller system you may not be aware that it is there; but most DCC systems are expandable. The command bus provides the means for expansion. The NMRA terminology defines two sorts of command bus:
There are two Command Busses in common use: XpressNET (formerly XBus) and LocoNet. These are quite different from each other and are not interoperable. LocoNetLocoNet provides, through a single cable, both the cab bus and the feedback bus used by Digitrax systems. A simplified version of its specification can be found on the Digitrax page. LocoNet connects around the network using 6 core flat telephone wire and US style RJ12 6 pin telephone connectors. These are daisy chained or star wired as needed to make the set of connections required. To make access points for throttles to plug in, the user can either purchase UP-3 panels from Digitrax, or can make up her own connections using telephone sockets and wire. (These are harder to find in the UK but they are available from suppliers such as Farnell and Maplin). LocoNet is a carrier sensed, multiple access network with collision detection (CSMA/CD). That means that it behaves a lot like old-style coaxial ethernet:
Message Traffic AnalysisA commonly asked message is "will the network cope with the loading my layout will impose on it". While there are a lot of reports from people with large layouts who say "yes of course it will", it is not difficult to answer this question scientifically. Firstly, note that messages are prioritised. This means that messages which need to get through more quickly than others can do so. Typically:
Messages attributed to throttles and point position changes occur in practice at low rates. The throttles update their settings every few tens of seconds, and every time the speed knob is turned or a button pressed; two 4 byte messages will normally be generated to change one point. However the aggregate rate of these messages is normally quite small. If there are 15 locos in motion at one time, an average of one throttle change for each in a second would be excessive. The total message traffic is likely therefore to be low. There are many examples of layouts with many tens of operators concurrently controlling locos without problem. The number of messages caused by the track occupancy sensors is layout dependent. A large layout might expect 15-20 messages per second from track sensors. These messages are high priority and will gain access to LocoNet in preference to handheld throttles. Each sensor message takes the following amount of time:
So... 15-20 high priority sensor messages occupy 6-8% of bus bandwidth. This is small enough not to need to worry about. Because of the throttle messages having lower priority they would not normally cause packet collisions with sensor messages. You can be confident that Loconet will not be overloaded by packet density on even large layouts. However.... It is my belief that LocoNet will have an upper limit on the number of devices plugged into it. This is because of electrical loading, not packet activity.
XpressNETXpressNET is the command bus used by Lenz and ZTC systems. It is a derivative of the older XBus system to which widespread reference is often made. It is different from LocoNet in several respects. The XpressNET specification is published on the Lenz web page. (To be completed!) |
|
©CML Electronics Limited 2008 |