Welcome to the forum   
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Share
Options
View
Go to last post in this topic Go to first unread post in this topic
Offline Minok  
#1 Posted : 24 October 2019 21:56:56(UTC)
Minok

United States   
Joined: 15/10/2006(UTC)
Posts: 2,318
Location: Washington, Pacific Northwest
If your not signal technical minded or interested, don't read this post. You've been warned. :)

Let me preface with saying that I've not yet begun to build my layout; all I've done is accumulated rolling stock, prepped the room some 90% of the way and am still working on the layout design in WinTrack. So I've got no personal practical experience, just what I remember from electrical engineering university some 30+ years ago (as I've been all software since then ).

I was watching a YouTube video of a German modeller who does very excellent and well produced videos on his build in progress, exploring the various questions he needs to resolve as he develops his n-scale layout. His trial of various sound dampening underlayment and which adhesive to use were interesting watching. He recently did one on how to distribute the digital power around the layout (DCC in his case) where he explored some topologies about how to get power from the controller (a z21 in his case) out to the various track elements.

The points that piqued my memory and sounded not quite right were why he decided to go for a bus distribution, as opposed to a loop. That is, to not close the power distribution under the layout so that it electrically fully wrapped around in a loop. He gave some reasons for this choice, and those didn't seem valid in my memory of how digital signaling and capacitance affected signals. He also explained why he was going to twist the power buss wires, to reduce the capacitance effects on the digital power bus, again to get more reliably delivery to all ends of the layout. There was something that didn't sound right either.

I'm not saying that the things he was doing were going to be a problem, but that it felt to me that those things were just unnecessary and would not provide any real benefit. Like changing ones oil in modern car engines every 3,000 miles.

But its been 30 years and I cannot rule out I've forgotten way more electrical engineering than I remember or that I just forgot about some principle of physics and he is right, but I want to get a check with the folks that have practical experience and maybe others that have some physics/electrical signaling background, to see what I'm missing or if I'm correct in my conclusions.

So here it gets a big nerdy.

The principles are similar for mfx and DCC as far as the digital are concerned except the DCC system would gain a more substantial benefit from a complete loop of power distribution that an AC based mfx would not benefit from (as it doesn't suffer from the DC based voltage drop issues over long runs from resistance, as much).


This modeler had two main points that I'm having a problem with:
1) That the capacitive effects of the digital power distribution system is meaningfully affected by the ring vs bus solution
2) That twisting the power bus would reduce the capacative effects or improve signal quality of the digital data.

Let me put my thinking out first on why the warning light in the back of my old EE memories went off...

DCC has 2 basic square waves used to encode the 0 and 1 bits, which puts DCC signalling at 5kHz and 8.6kHz, well below the 10kHz+ range that is generally considered the start of high frequency digital signalling when you start having to worry about all sorts of things you can ignore at lower frequencies, but its close enough to take a closer look.

DCC and I think mfx as well, signal decoding is all about the detection of the edges of the square wave, that is, its the spacing between the falling edges of the square wave, that time frame, that determines if its a 0 bit, a 1 bit, or no signal. So to cause problems with the decoding of the digital signal at the decoder the signal would have to be so affected that the space where the square wave should be from high to low doesn't get down far enough for the decoder to detect that falling edge (before the controller again sends the signal high).

Now capacitive effects are real, that is, two wires running parallel to each other do have a capacitance that can be measured. The 'plates' of the capacitors are the copper conductors that have an effective surface area facing the other wire, and the space between those two wires has a computable dielectric permissity: there is a formula for computing the value of a capacitor from the surface area, the space between the 'plates', and the permissity of the space between the plates. In fact there is a YouTube video where a fellow does that with two 2m long wires (that appear to be about 20cm apart) and measures a capacitance of 10pF. So if we estimate that instead of 20cm, the wires are 2mm appart, one would get an approximation of 1000pF, or 1nF.

What capacitive effects cause, is that you can visualize the power distribution as a diagram where you have two ideal (0 resistance) distrbution conductors, with a capacitor between them, and a resistor at the end that represents the resistivity loss over the line from the sender (z21) to receiver (decoder on the train). This is an RC circuit and what is known about RC circuits is that you cannot instantaneously change the voltage on the line from level A -> level B; there is an exponential delay in the actual signal change as the capacitor charges/discarges. It rounds off the sharp corners of the theoretical ideal square wave. The higher the capacitance the more rounding of the corners, the longer it takes for the voltage to actually drop.

Now for this to be a problem for the DCC system, that decay rate would have to be so slow (the capacitor large enough) that the signal cannot get past the point of the decoder detecting the falling edge, before the sender (z21) is already back to going to the high level for the next "bit" of data signalling. With DCC, the higher frequency used , 8.6kHz, that low part of the wave form gives you 58uS.

DCC-capacitive.png

Now using some data, such as 100m of copper wire of 2.5mm^2 has a resistance end to end of 688mO, and assuming that the decoder cannot detect the falling edge if the signal doesn't get past the 1/2 way point down, and the principles of how an RC circuit works, and that we have 58uS of time, I estimate that there would be a problem for the DCC decoder if the capacitive value on the power bus was 120uF or more. The approximate capacitance of the two parallel bus wires is on the order of 10nF maybe. No where close to being any concern. (this is why at such low frequencies like 5kHz these effects are generally ignored).

So in my thinking and rough analysis, the capacitive effects are no concern to DCC signaling frequencies to begin with.


Now beyond that, the bus vs loop and twisted pair assertions still bothered me.

1) There are a 'lot' of loops on a digital power distribution on a layout to the decoder. Every pair of droppers from the rail forms a loop. Each wheel pair on a loco/wagon that acts as a conductive power pickup forms a loop. So to rule out the main power feed not being a loop having an effect on signal quality seems wrong. In fact, for DCC having a loop would reduce the resistive losses of the power part of the signal as it cuts the worst case resistance to a remote point on the track down (in half) because you have 2 parallel wires to get to the power feeder to the track. So my assertion is the loop on the power delivery doesn't matter to signal quality, choosing to not have one doesn't help ( and in DCC gets you more resistive loss along the run).

2) The 'twisted pair' reducing capacitive effects or improving signal argument - that doesn't seem right on two fronts:

First the capacitive effecte between two parallel wires still exists in a twisted pair, the same facing each other surfaces fo the wire exist in both cases, they are just twisted, but I'd bet the capacitance is roughly the same.

Second, the benefit of twisted pair is it allows for reducing the effect of electromagnetically picked up interference along the run, from the signal and has nothing to do with capacitance. Its use in network cables, like Cat5 ethernet, works in a very specific way that I don't know if DCC (or mfx) necessarily use. The twisting ensures that the two twisted wires are equally exposed to whatever interference they may encounter along the run of the cable. This allows the elecctronics at the ends of the twisted pair connectors to extract the 'signal' by computing the voltage difference between the two wires. The interference being equally present in both wires just cancels itself out. But that has nothing to do with capacitance and that isn't how a DCC/mfx power distribution system works. The rail distribution system power lines connecting to many places on the rails, and all those rails then run, often multiple paths, to where a locco's wheels sit on the track then up the wheels and into the decoder. That isn't at all a twisted pair system from z21 to DCC decoder. And I doubt there is differential signal handling in use on the DCC or mfx system (correct me if I'm wrong). Its just a simple digital bus system with one master talker (the z21/cs) and a lot of listeners (decoders) some of which get a designed window to answer back when the master asks them a question.



So for anyone that has managed to read all the way to here and/or understands electronics and/or has experiences in building layouts and worrying about the digital signal quality:
1) Did I miss something substantial and as a result my analysis has a flaw?
2) Does it matter to have a digital power distribution system loop or breaking the loop to produce a bus/tree structure of feeders to the rails?
Toys of tin and wood rule!
---
My Layout Thread on marklin-users.net: InterCity 1-3-4
My YouTube Channel:
https://youtube.com/@intercity134
thanks 8 users liked this useful post by Minok
Offline Goofy  
#2 Posted : 25 October 2019 07:28:20(UTC)
Goofy


Joined: 12/08/2006(UTC)
Posts: 9,273
Depends and it varoius with the power supply too output to the track.
Digitrax use only 13,8 V and current at 3 Amps like Zephyr startset.
Märklin use 19 VDC.
Lenz use ac trafo as power supply to the system but can also be use with power supply dc too.

When you use digital protocol you must make sure there is power enough to feed the trains whatever if you use ac or dc power supply for the system.
Like important is to feed every second metres with the wires to the track to make sure good contact with the system protocol.
In fact i use only one protocol to the track and it works excellent.
Also track type make difference.
Märklin tracks are famous to oxid a lot of dirt on the rail.
Trust me...i did tested between two and three rail track and the winner is two rail with the nickle silver on the rail.
Two rail nickle silver are excellent for the digital system.
Remember...the higher power source to the track the more it oxid the tracks.

Lenz do have reverse loop and it don´t needs extra power supplie.
Just connect as the manual show and it works excellent when the trains reverse the loop.
H0
DCC = Digital Command Control
Offline H0  
#3 Posted : 25 October 2019 08:31:08(UTC)
H0


Joined: 16/02/2004(UTC)
Posts: 15,436
Location: DE-NW
Hi!
Originally Posted by: Minok Go to Quoted Post
The principles are similar for mfx and DCC as far as the digital are concerned except the DCC system would gain a more substantial benefit from a complete loop of power distribution that an AC based mfx would not benefit from (as it doesn't suffer from the DC based voltage drop issues over long runs from resistance, as much).
I do not understand what you mean with "AC-based" and "DC-based" and why one would gain more than the other. DCC and mfx are both "digital" and both very similar.

DCC has no fixed frequencies, it has minimum and maximum timings for 0 bits and 1 bits and 0 bits allow for large variations and large asymmetry. The encoder side must comply with stricter timings than the decoder side and AIUI this allows for parasitic capacitance and other wire imperfections.
With DCC I think the polarity changes matter. So the edges can be detected by looking at the polarity.
mfx sometimes emits dummy bits to prevent mfx messages from containing valid DCC start sequences. mfx and DCC are very similar on the transmission level.

You do not mention feedback (unless I missed something). mfx feedback is much more fragile than RailCom feedback.

Long story short: I don't know if ring vs. bus makes a differences with the wire lengths and frequencies we deal with on MRR layouts - it should work either way IMHO.
Regards
Tom
---
"In all of the gauges, we particularly emphasize a high level of quality, the best possible fidelity to the prototype, and absolute precision. You will see that in all of our products." (from Märklin New Items Brochure 2015, page 1) ROFLBTCUTS
UserPostedImage
Offline hxmiesa  
#4 Posted : 25 October 2019 08:53:26(UTC)
hxmiesa

Spain   
Joined: 15/12/2005(UTC)
Posts: 3,588
Location: Spain
I work with industrial automation on quite a big scale, but I am not sure if my observations on this topic has any value with digital trains, but anyway here goes;

You should not close a loop of high frecuency data. It is better with a bus. If you want a ring for the redundancy reliability, you would need a repeater smart enough to know when to open and close the loop.
I dont know if such a device is available for digital train control.
Tvisting a 2-wire cable with high frecuency is ok, if you want to prevent inductive noise from other parrallel running cables. For digital trains this is probably not needed. (or just run any other power-carrying cables away from your data-bus)

A loop is good to have for analog power, f.x. if you want to power decoders without spending your digital power, and for ilumination of houses and street lamps.
No need to twist (just shout)...
Best regards
Henrik Hoexbroe ("The Dane In Spain")
http://hoexbroe.tripod.com
thanks 2 users liked this useful post by hxmiesa
Offline amartinezv  
#5 Posted : 25 October 2019 09:23:33(UTC)
amartinezv

Spain   
Joined: 25/08/2004(UTC)
Posts: 332
Location: Madrid,

Hello,

My layout is quite long, measures almost 7 meters (22 ft) long, but is narrow, at the ends 80 centimeters (31 inches) and 60 (23 inches) centimeters in the center, the command position is almost in the center, let's say that to the left there are about 3 meters of layout and to the right 4 meters. The digital and analog power supply (lighting and accessories) I do by cable buses, straight without twisting, separated from each other a few centimeters, (see photo). Besides, the model has 2 floors, and each floor has its own buses. It works. Once I was tempted to twist cables, especially those of turnouts and signals to the corresponding decoders.

This is a picture of a part of my layout
20181210_135157.jpg

Now, I have an official publication of märklin, this is it:
20191025_081213.jpg

And making the story short, in the part dedicated to large layouts, says that a loop is not a good solution because it can make an antenna effect, even be confused with a clandestine emitter. And that for big layouts the best way to do the cabling in arborescence, that is to say of the digital power station they leave a series of cables that branch in other thinner ones etc.

The text of this publication is in French
20191025_081247.jpg 20191025_081307.jpg

Best regards
Antonio Martínez
marklin, IB, era 3, Train controller
www.raildigital.es/davidruso
thanks 2 users liked this useful post by amartinezv
Offline TEEWolf  
#6 Posted : 25 October 2019 16:24:07(UTC)
TEEWolf


Joined: 01/06/2016(UTC)
Posts: 2,465
Hello Minok,

I am confused. You do not separate between the current supply for your layout and the digital signal format on the same layout. These are 2 different electrical matters.

Never do a ring line, please, you always will get a shortage. Remember the problem of the 2-line systems e.g. Trix by its reverse loop. You always have to install a reverse loop module.

https://www.trix.de/en/p...s/details/article/66846/
https://www.trix.de/file...grundbgriffe-trix-h0.pdf

The BUS you are writing is for Maerklin a CAN bus always. This is the electronic transmitting system for your digital signals of MM, mfx, DCC. Again this is never a ring of cables it is always a line (with no return BigGrin).

See the Maerklin architecture

https://www.maerklin.de/...emarchitektur_gesamt.pdf

Beside this digital formats and signal transmitting you may install an analogue line of cabling. In this case you only run your locos digitally and toggle your turnouts, signals, lights, etc. analogue. For these solenoid articles you do not need a decoder. A decoder is only needed for digital usage of solenoid articles.



You see the difference cabling between analogue (first picture) and digital (second picture). Whereas in the second picture the lamps for the turnout get a separate supply in analogue form by a transformer too. This has the advantage you do not need too much digital current and you can change the intensity of the lamps using the transformer as a potentiometer. About the needed power see at Maerklin's safety regulations.

https://www.maerklin.de/...rische_Sicherheit_en.pdf

Are you able to read German? Then I recommend beside the CS 3 book
https://www.maerklin.de/...digital/digitalbuch-cs3/
https://www.modellbahnsh...92/de/modell_277137.html
(For the moment link to Maerklin database is broken for this book)

the 2nd book from Maerklin

https://www.maerklin.de/...ts/details/article/03070

The top hit to me is on page 82 in this book. Maerklin describes and shows in graphic a cabling plan of a switching between analogue or digital current usage at the same layout.

Best regards

TEEWolf

P.S.: Now I found the Märklin Magazine 02/2019 again. At the last page (#8) in a separate box is an explanation for a "Ringleitung". It is named "Ringleitung" (ring line) although as you can see it is not a ring. The tracks are the ring and they are feeded by 3 stubs.

https://www.maerklin.de/...omplettanlage_MM0219.pdf
Offline Danlake  
#7 Posted : 25 October 2019 19:57:23(UTC)
Danlake

New Zealand   
Joined: 03/08/2011(UTC)
Posts: 1,571
Hi Minok,

It’s an interesting topic and questions I have pondered on as well.

I recall we have previously discussed the topic here and I never understood why the recommendation of not having a bus as a loop while the track itself many times will function as a loop...

I don’t have the answers, but there is some more technical reading on this website (scroll down a little bit): http://www.wiringfordcc.com/track_2.htm#a40

Maybe some users with large exhibition experience can answer the questions?

PS. For my small to medium sized layout I do have buses underneath the layout I have chosen not to loop it, but they are running out in a star configuration.

Best Regards
Lasse
Digital 11m2 layout / C (M&K) tracks / Era IV / CS3 60226 / Train Controller Gold 9 with 4D sound. Mainly Danish and German Locomotives.
thanks 1 user liked this useful post by Danlake
Offline Minok  
#8 Posted : 25 October 2019 20:57:30(UTC)
Minok

United States   
Joined: 15/10/2006(UTC)
Posts: 2,318
Location: Washington, Pacific Northwest
Originally Posted by: H0 Go to Quoted Post
Hi!
Originally Posted by: Minok Go to Quoted Post
The principles are similar for mfx and DCC as far as the digital are concerned except the DCC system would gain a more substantial benefit from a complete loop of power distribution that an AC based mfx would not benefit from (as it doesn't suffer from the DC based voltage drop issues over long runs from resistance, as much).
I do not understand what you mean with "AC-based" and "DC-based" and why one would gain more than the other. DCC and mfx are both "digital" and both very similar.


DC based vs AC based refers to the power delivery portion of the signal, irrespective of the digital data that is modulated on top of it. Its a matter of what voltages are used for HIGH and LO. If HIGH is some +ve voltage, and LO is ground (0 v), vs if HIGH is a +ve voltage, and LO is a -ve voltage. There are some electromagnetic effects that come into play differently for AC power vs DC power distribution. But its beyond the scope of what I'm trying to understand and I doubt it makes a difference in the model railroad case.


Originally Posted by: H0 Go to Quoted Post

DCC has no fixed frequencies, it has minimum and maximum timings for 0 bits and 1 bits and 0 bits allow for large variations and large asymmetry. The encoder side must comply with stricter timings than the decoder side and AIUI this allows for parasitic capacitance and other wire imperfections.


I am pretty sure the DCC specification standard does have fixed frequencies; thats how all communications systems work, there has to be a reference that is targeted. Now the actual constructed circuits can vary a bit from the ideal frequency and the system still works, so there is tolerance for frequency variance. But for the sake of getting at the capacitive effects, the only thing that matters is the highest frequency, which is targeted at 8.6kHz in the DCC specification as far as I know. If there is a slight drift to e.g. 8.64kHz, that doesn't matter at all for the purposes of the discussion.

Originally Posted by: H0 Go to Quoted Post

With DCC I think the polarity changes matter. So the edges can be detected by looking at the polarity.

Is DCC an AC based signal? Because I thought it was DC, that is just positive voltages, so there is only one polarity at play, positive.

Originally Posted by: H0 Go to Quoted Post

mfx sometimes emits dummy bits to prevent mfx messages from containing valid DCC start sequences. mfx and DCC are very similar on the transmission level.
You do not mention feedback (unless I missed something). mfx feedback is much more fragile than RailCom feedback.

These topics are beyond the scope of what I'm asking about; I don't want to dig into the DCC and mfx communications protocols; just look at the capacitive effects.
I also didn't consider explicitly the multipath effects that occur with a loop - where the digital signal can get to the end point at slightly different times based on the lengths of the conductors.. because they don't matter. Electricity travels effectively at the scale at the speed of light (50% say), so one path being say 20m longer than the other means the delayed square wave edge arrives such as small fraction of a second later that its not relevant. Eg if one path was 100m longer it would take 0.6uS longer to get around the long way. The 8.6kHz half period (when the signal is all high or low) is 58uS long, so the effect of the 2nd edge arriving 0.6uS later doesn't matter when you have a window almost 100x wider than the delay is.

Toys of tin and wood rule!
---
My Layout Thread on marklin-users.net: InterCity 1-3-4
My YouTube Channel:
https://youtube.com/@intercity134
Offline Minok  
#9 Posted : 25 October 2019 21:03:16(UTC)
Minok

United States   
Joined: 15/10/2006(UTC)
Posts: 2,318
Location: Washington, Pacific Northwest
Originally Posted by: hxmiesa Go to Quoted Post
I work with industrial automation on quite a big scale, but I am not sure if my observations on this topic has any value with digital trains, but anyway here goes;

You should not close a loop of high frecuency data. It is better with a bus. If you want a ring for the redundancy reliability, you would need a repeater smart enough to know when to open and close the loop.
I dont know if such a device is available for digital train control.


Thanks.

Indeed, and it all comes down to what is 'high frequency'. I'm contend ding that the 8.6kHz high end frequency used in DCC (and similarly whatever the mfx frequency is), does not constitute a high frequency signal where any of the concerns about inductance, capacitance, etc actually matter. The higher the frequency, the smaller that half-wave of the ideal square wave is and the more of it can be consumed with capacitive, inductive, etc effects.. but you have to get up in those 100kHz, or MHz and higher frequencies before it maters. At least thats my contention.
Toys of tin and wood rule!
---
My Layout Thread on marklin-users.net: InterCity 1-3-4
My YouTube Channel:
https://youtube.com/@intercity134
Offline Minok  
#10 Posted : 25 October 2019 21:13:11(UTC)
Minok

United States   
Joined: 15/10/2006(UTC)
Posts: 2,318
Location: Washington, Pacific Northwest
Originally Posted by: amartinezv Go to Quoted Post

And making the story short, in the part dedicated to large layouts, says that a loop is not a good solution because it can make an antenna effect, even be confused with a clandestine emitter. And that for big layouts the best way to do the cabling in arborescence, that is to say of the digital power station they leave a series of cables that branch in other thinner ones etc.
Best regards


Thanks. That is good advice indeed. It is true that making a loop does make for a stronger antenna effect from the digital signal wiring deployed, than a straight run is.. it would emmit more electromagnetic power.
The concern there is that you are violating the radio frequency regulations of the country you live in, causing RF interference against regulation. A 8.6kHz, its below the ITU regulated frequency space, but such VLF frequencies are certainly possibly used, eg in naval usage, and harmonics may be a problem too. So to just not have to certify the RF effects it is likely a good practice to produce a 'tree' fan-out bus rather than a big loop just because of less electromagnetic transmitted (radio) signal coming off of the layout.

But I'm not sure that has any bearing on the reliability of decoding the DCC signal on the layout.

Thanks for the pointer to the Märklin guidelines, that does help a bit.
Toys of tin and wood rule!
---
My Layout Thread on marklin-users.net: InterCity 1-3-4
My YouTube Channel:
https://youtube.com/@intercity134
Offline Minok  
#11 Posted : 25 October 2019 21:26:36(UTC)
Minok

United States   
Joined: 15/10/2006(UTC)
Posts: 2,318
Location: Washington, Pacific Northwest
Originally Posted by: TEEWolf Go to Quoted Post
Hello Minok,

I am confused. You do not separate between the current supply for your layout and the digital signal format on the same layout. These are 2 different electrical matters.

Never do a ring line, please, you always will get a shortage. Remember the problem of the 2-line systems e.g. Trix by its reverse loop. You always have to install a reverse loop module.


I think there is some lost in translation happening here that is confusing you.

I'm talking only about the distribution of the digital power on the layout - the track signal if you will. It delivers the electrical power and has the data signal modulated on top of it. One electrical signal. (what the digital encoding scheme is on the layout, DCC or mfx, doesn't matter, as they are in the same general frequency range as far as I know, and the actual messaging protocols don't matter for the purposes of this discussion. I'm just looking at can you encode a 0 and 1 and decode it, not what a sequence of 0's and 1's mean in terms of the messaging).

A ring, as I'm describing, doesn't mean a short. I'm not connecting the power/signal line to the ground/return line; that would be a short.

What I'm asking about is if the capacitive effects matter if one chooses between these two power distribution styles:


Digital-Signal-Loop.png
Toys of tin and wood rule!
---
My Layout Thread on marklin-users.net: InterCity 1-3-4
My YouTube Channel:
https://youtube.com/@intercity134
Offline Minok  
#12 Posted : 25 October 2019 21:35:28(UTC)
Minok

United States   
Joined: 15/10/2006(UTC)
Posts: 2,318
Location: Washington, Pacific Northwest
Originally Posted by: Danlake Go to Quoted Post
Hi Minok,

It’s an interesting topic and questions I have pondered on as well.

I recall we have previously discussed the topic here and I never understood why the recommendation of not having a bus as a loop while the track itself many times will function as a loop...

I don’t have the answers, but there is some more technical reading on this website (scroll down a little bit): http://www.wiringfordcc.com/track_2.htm#a40

Maybe some users with large exhibition experience can answer the questions?

PS. For my small to medium sized layout I do have buses underneath the layout I have chosen not to loop it, but they are running out in a star configuration.

Best Regards
Lasse



Thanks for that link. I think I had read a similar website that had similar advice... unfortunately they don't go into the "WHY", and just categorically state it as a given (don't do a loop). The question I'm trying to get to is the "why" would that be the advice and does it really matter. And beyond the causing RF transmissions that can cause VLF radio interference, I've not yet seen a compelling reason.

I did shoot an email to a person I know who worked as an electrical engineer their entire career and were in the field of interference and transmission to some extent at an industrial power company, that funnily enough also was a key supplier to the German trains (was BBC, became ABB), where I also worked for two summers in the late 1980's as a college intern. I asked them to comment on my thinking and what I might have missed or gotten wrong in my thinking. If and when I hear back from them I'll update the thread here with what they have to say.

I think what we are asking about is why the biggest loop (the cyan/blue one) should be broken but the dozens of others (various gray and green) that exist from dropper wires and wheels all within a single power booster zone, are not an issue.

MRR-DigitalPower-Distribution-many-loops.png
Toys of tin and wood rule!
---
My Layout Thread on marklin-users.net: InterCity 1-3-4
My YouTube Channel:
https://youtube.com/@intercity134
thanks 1 user liked this useful post by Minok
Offline Minok  
#13 Posted : 25 October 2019 23:34:13(UTC)
Minok

United States   
Joined: 15/10/2006(UTC)
Posts: 2,318
Location: Washington, Pacific Northwest
Of course as soon as I post, I get the response from my electrical engineering contact that knows a thing or two about electromagnetic interference and signal processing. So before I forget I want to summarize here what he had to say on the topic, and I'll start with his summary statement (which is somewhat funny, but true from the perspective of a signals engineering perspective):

8kHz is practically DC.

OK, so it isn't, but as I'd mentioned in my own post, the various electromagnetic and signal processing effects that one has to worry about in high data rate transmissions happen only at far higher frequencies than 8kHz. Think MHz, or GHz. At the 8kHz range, these things just don't mater.

So on the two main points he had the following to say:


Quote:
1)On the twisted pair construction of the digital power distribution system

  • Its good cosmetically/debugging wise to have the transmission lines tightly routed together to allow one to easily see where the lines run under one's layout
  • There is no capacitive effect addressed with this
  • Twisting addresses inductive effects, by twisting the wires you create a lot of small magnetic fields that reverse at each loop in the twist, the net effect is to cancel the magnetic effect out as you run along the twisted line. So there's much less magnetic interference to parallel running lines. But again, this matters in actual high-frequency spaces (e.g. gigabit ethernet), not the lowly VLF model railroad communications space.
  • The twisting plays a very subordinate roll in the model railroad space and doesn't come into play in normal H0 home layout sizes electrically.


2) Loop vs tree vs buss - the discussion doesn't matter. There isn't enough capacitive effect over H0 home layout sizes to cause a problem at the 8kHz frequency area. We are not building analog amplifiers, and would always prefer a loop over a tree or bus layout.



So I'd say: use the layout that makes sense for your layout geometry - that is don't use one that geometrically complicates things. If your layout naturally favors a tree or buss, use that, but if you do get a loop or can easily make one, do that. The resistance of the distribution run will be reduced to any point along the run, so less voltage drop at the feeders.

Maybe when I finally start making my layout building videos I'll make one on this topic and let the YouTube community throw darts at me for a change, but at least I'll die knowing that the material has the backing of two electrical engineers, one of which worked in signals and interference suppression for a career.
Toys of tin and wood rule!
---
My Layout Thread on marklin-users.net: InterCity 1-3-4
My YouTube Channel:
https://youtube.com/@intercity134
thanks 4 users liked this useful post by Minok
Offline Goofy  
#14 Posted : 26 October 2019 08:46:39(UTC)
Goofy


Joined: 12/08/2006(UTC)
Posts: 9,273
Originally Posted by: Minok Go to Quoted Post

These topics are beyond the scope of what I'm asking about; I don't want to dig into the DCC and mfx communications protocols; just look at the capacitive effects.
I also didn't consider explicitly the multipath effects that occur with a loop - where the digital signal can get to the end point at slightly different times based on the lengths of the conductors.. because they don't matter. Electricity travels effectively at the scale at the speed of light (50% say), so one path being say 20m longer than the other means the delayed square wave edge arrives such as small fraction of a second later that its not relevant. Eg if one path was 100m longer it would take 0.6uS longer to get around the long way. The 8.6kHz half period (when the signal is all high or low) is 58uS long, so the effect of the 2nd edge arriving 0.6uS later doesn't matter when you have a window almost 100x wider than the delay is.



DCC and mfx protocol present capacitive effects.
You must feed the tracks every second metres without to loss effect.
Digital protocols are different from analog power in small power source.
If model railway was different with power feed and let us say exemple feed with 24 VDC or AC.
You do it same way for the digital system out to the track.
The capacitive effects would give same way like weaker power source.
It´s also difference track type by use digital system to feed the trains equipped with the decoder.
Make sure that there is good contact on the track between locomotive and the rail, no matter if you use DCC or mfx.
Märklin CSx do have multiprotocol system and you can use both mfx and DCC if you feel for that, but Märklin recommended one protocol in the track to avoid possible digital interference so much as possible, so there fore set just one protocol.
I use star configuration when i connect the wires in the digital system on the layout by split it.
And the centrum of the star configuration are digital system.
H0
DCC = Digital Command Control
Offline H0  
#15 Posted : 26 October 2019 12:55:14(UTC)
H0


Joined: 16/02/2004(UTC)
Posts: 15,436
Location: DE-NW
Originally Posted by: Minok Go to Quoted Post
I am pretty sure the DCC specification standard does have fixed frequencies; thats how all communications systems work, there has to be a reference that is targeted.
You can find the standard here:
https://nmra.org/sites/d...rical_standards_2006.pdf

Quotes:
"Digital Command Station components shall transmit "1" bits with the first and last parts
each having a duration of between 55 and 61 microseconds. A Digital Decoder must accept bits whose first and last parts have a
duration of between 52 and 64 microseconds, as a valid bit with the value of "1". [...]
Digital Command Station components shall transmit "0" bits with each part of the bit having a duration of between 95 and
9900 microseconds with the total bit duration of the "0" bit not exceeding 12000 microseconds. A Digital Decoder must accept bits,
whose first or last parts have a duration between 90 and 10,000 microseconds, as a valid bit with the value of "0"."

So we have factor 100 for the 0 bits. I don't call this a fixed frequency.



Originally Posted by: Minok Go to Quoted Post
Is DCC an AC based signal? Because I thought it was DC, that is just positive voltages, so there is only one polarity at play, positive.
With MM protocol the centre rail will sometimes be positive and sometimes be negative.
With mfx protocol the centre rail will sometimes be positive and sometimes be negative.
With DCC protocol the centre rail will sometimes be positive and sometimes be negative.
Some people call this "bipolar pulsed DC". It behaves much like AC.
Only positive voltages - sometimes with plus on the outer rails, sometimes with plus on the centre rail.

Another quote:
"The NMRA baseline digital command control signal consists of a stream of transitions between two equal voltage levels that have
opposite polarity.
Note that since a locomotive or piece of rolling stock can be placed upon a given section of track facing in either direction, it is
impossible to define, from the point of view of a Digital Decoder, whether the first or last part of a bit will have the "positive" voltage
polarity."

Regards
Tom
---
"In all of the gauges, we particularly emphasize a high level of quality, the best possible fidelity to the prototype, and absolute precision. You will see that in all of our products." (from Märklin New Items Brochure 2015, page 1) ROFLBTCUTS
UserPostedImage
Offline perz  
#16 Posted : 27 October 2019 09:59:53(UTC)
perz

Sweden   
Joined: 12/01/2002(UTC)
Posts: 2,578
Location: Sweden

Coming late into this discussion I haven't had time to read all answers carefully.

Generally, the topology (ring, star or bus) is not the most important aspect. And the issue is not so much about capacitance, but about inductance.

The important thing is that the feeder wire and the return wire are routed close together and connected close to each other at the track. If you use single-wire cables it is a good idea to twist them to keep them together. Or, you could do as I do, use two-wire cables. Keeping the pair together will increase, not decrease, the capacitance between them. But as said, capacitance isn't the big issue. Keeping the feeder and the return wire together will minimize the loop inductance while maximizing the mutual inductance. With high loop inductance, you pick up and emit electrical noise. With high mutual inductance, the current going out induces a reverse current going in the other direction, thereby forcing the return current to not take other routes where it can cause disturbances. Compare with the "sucking transformers" (don't know if that is the correct term in English) that are used on real railways to force the return current it the rail to take the correct path back.

I think there is a slight advantage with using a star topology vs. using a bus or a ring. In the star topology, you get the shortest distance from the controller to the track, and thus the lowest DC resistance. That reduces the signal degradation caused by capacitive and inductive effects. Also, you avoid disturbances from one item (e.g. locomotive) somewhere close to the controller to propagate further down the bus to a more remote loco. So for that reason, I also think a ring might be slightly (just slightly) better than a bus, since in the ring the remote loco will have supply also from the other direction, effectively cutting the disturbances to half.

thanks 3 users liked this useful post by perz
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

| Powered by YAF.NET | YAF.NET © 2003-2025, Yet Another Forum.NET
This page was generated in 0.794 seconds.