Effect of “wrong” driver with slightly long RS-485 stubs
Clash Royale CLAN TAG#URR8PPP
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
$begingroup$
I have a planned 250 kbit/sec, single-pair, 36-metre RS-485 installation where it is advantageous for wiring purposes if the stub lengths can be a little longer than optimal. There is a single almost-always transmitter and three almost-always receivers. "Almost always" means during normal operation, but during monthly maintenance visits, the receivers will transmit for a few seconds. (It's DMX-512 lighting control with very occasional RDM.) It is controlling underwater lighting for architectural purposes, so the downside consequence of data corruption would be merely aesthetic.
RS-485 is clearly designed to be used with the shortest stub lengths practical. However, it's an engineering question about how the stub length affects signal quality and what to do if other matters require longer stubs.
The following is from Texas Instruments "AN-1057 Ten Ways to Bulletproof RS-485 Interfaces"
Although the discussion of configurations and the section on stubs advises minimizing stub length to avoid transmission-line problems, the application may not permit minimizing stub length. Another approach is to increase the driver's transition time to permit longer stubs without transmission-line effects. If you use the DS36C280, long stubs can branch off the main cable. This arrangement keeps the main cable short, whereas looping the cable back and forth to reach inconveniently located nodes would greatly increase the main cable length. Besides allowing longer stubs, the slower edge rates generate lower emissions. Thus, this transceiver is also useful for applications that severely limit emitted noise.
The cable is custom high-quality unshielded 0.34 mm2 conductor twisted pair (approx 22 AWG) with 1.0 mm2 24 VDC in the same sheath. The installation is about 1 metre under water.
What is the effect of a driver with 10 ns rise time versus one with 1.2 μs rise time?
My understanding is that rise/fall time is limited to 30% of bit time and that various rules-of-thumb put the stub length at the 10% to 25% propagation distance of the rise time. (Using various TI and Maxim application notes.)
Our desired driver is something like that Maxim 3430 which is slew-rate limited suitable for 250 kbit/sec (datasheet), but we might be forced to use equipment with Maxim 3485 (datasheet); alternatively Analog Devices 2582 with 15 ns when we would prefer 2587 with 200-1100 ns (datasheet).
What effect might this have? Should we do something special if we have the "wrong" driver?
My calculations
- Data rate is 250 kbit/sec
- Bit time therefore 4 μsec
- Max rise/fall time therefore 1.2 μsec (30% of bit time)
- At 0.6 c signal velocity this is 216 m
- 25 % of that is 54 m
Simplified diagram:
22m 14 m
t-T-+--------+-------R-t
| 6 m | 6 m
R R
T transmitter, R receiver, t termination, m is metres
Given my total length is 36 m and my stubs are 6 m, I believe this suggests it will work reliably. Am I misguided?
Many thanks for suggestions and advice.
rs485 dmx512
$endgroup$
|
show 8 more comments
$begingroup$
I have a planned 250 kbit/sec, single-pair, 36-metre RS-485 installation where it is advantageous for wiring purposes if the stub lengths can be a little longer than optimal. There is a single almost-always transmitter and three almost-always receivers. "Almost always" means during normal operation, but during monthly maintenance visits, the receivers will transmit for a few seconds. (It's DMX-512 lighting control with very occasional RDM.) It is controlling underwater lighting for architectural purposes, so the downside consequence of data corruption would be merely aesthetic.
RS-485 is clearly designed to be used with the shortest stub lengths practical. However, it's an engineering question about how the stub length affects signal quality and what to do if other matters require longer stubs.
The following is from Texas Instruments "AN-1057 Ten Ways to Bulletproof RS-485 Interfaces"
Although the discussion of configurations and the section on stubs advises minimizing stub length to avoid transmission-line problems, the application may not permit minimizing stub length. Another approach is to increase the driver's transition time to permit longer stubs without transmission-line effects. If you use the DS36C280, long stubs can branch off the main cable. This arrangement keeps the main cable short, whereas looping the cable back and forth to reach inconveniently located nodes would greatly increase the main cable length. Besides allowing longer stubs, the slower edge rates generate lower emissions. Thus, this transceiver is also useful for applications that severely limit emitted noise.
The cable is custom high-quality unshielded 0.34 mm2 conductor twisted pair (approx 22 AWG) with 1.0 mm2 24 VDC in the same sheath. The installation is about 1 metre under water.
What is the effect of a driver with 10 ns rise time versus one with 1.2 μs rise time?
My understanding is that rise/fall time is limited to 30% of bit time and that various rules-of-thumb put the stub length at the 10% to 25% propagation distance of the rise time. (Using various TI and Maxim application notes.)
Our desired driver is something like that Maxim 3430 which is slew-rate limited suitable for 250 kbit/sec (datasheet), but we might be forced to use equipment with Maxim 3485 (datasheet); alternatively Analog Devices 2582 with 15 ns when we would prefer 2587 with 200-1100 ns (datasheet).
What effect might this have? Should we do something special if we have the "wrong" driver?
My calculations
- Data rate is 250 kbit/sec
- Bit time therefore 4 μsec
- Max rise/fall time therefore 1.2 μsec (30% of bit time)
- At 0.6 c signal velocity this is 216 m
- 25 % of that is 54 m
Simplified diagram:
22m 14 m
t-T-+--------+-------R-t
| 6 m | 6 m
R R
T transmitter, R receiver, t termination, m is metres
Given my total length is 36 m and my stubs are 6 m, I believe this suggests it will work reliably. Am I misguided?
Many thanks for suggestions and advice.
rs485 dmx512
$endgroup$
$begingroup$
Why didn't you scope the signal during commissioning to verify signal integrity at the host? How much does the impedance lower in a dielectric medium of 80 vs air of 1? You should have used STP cable to minimize that effect.
$endgroup$
– Sunnyskyguy EE75
Mar 7 at 12:25
$begingroup$
Thanks for comment, I think we're likely to test it out first. Re shielding, following Perrin's article "Art and Science of RS-485" (Circuit Cellar 1999) we decided against: we have many sites with this cable, mostly much bigger (approx 200 m), typically 30 nodes, 500 mm stubs, and the signals look like a textbook.
$endgroup$
– jonathanjo
Mar 7 at 12:37
$begingroup$
From what I read in Perrin's article. Daisy Chain is best, not Stubs, host common ground to each target is best (but more $), but STP is better (!) and if your rise time is fast , you better have Daisy Chain otherwise it's a mess.
$endgroup$
– Sunnyskyguy EE75
Mar 7 at 14:37
$begingroup$
I would also expect jitter margin reduction from ISI with 30% rise time from group delay distortion with NRZ.
$endgroup$
– Sunnyskyguy EE75
Mar 7 at 14:43
1
$begingroup$
I have no actual experience on this so take this with a grain of salt, but the RS485 signalling itself is also quite robust against reflections. As long as they aren't strong and long enough to alter the bit state at the middle of the bit interval (when the receiver samples it), even big spikes won't cause actual problems. This is because only the start bit is edge sensitive, and it's preceded by a stop bit delay. An edge sensitive signal (such as some clock pulse) would be much more sensitive to spikes.
$endgroup$
– jpa
Mar 7 at 19:21
|
show 8 more comments
$begingroup$
I have a planned 250 kbit/sec, single-pair, 36-metre RS-485 installation where it is advantageous for wiring purposes if the stub lengths can be a little longer than optimal. There is a single almost-always transmitter and three almost-always receivers. "Almost always" means during normal operation, but during monthly maintenance visits, the receivers will transmit for a few seconds. (It's DMX-512 lighting control with very occasional RDM.) It is controlling underwater lighting for architectural purposes, so the downside consequence of data corruption would be merely aesthetic.
RS-485 is clearly designed to be used with the shortest stub lengths practical. However, it's an engineering question about how the stub length affects signal quality and what to do if other matters require longer stubs.
The following is from Texas Instruments "AN-1057 Ten Ways to Bulletproof RS-485 Interfaces"
Although the discussion of configurations and the section on stubs advises minimizing stub length to avoid transmission-line problems, the application may not permit minimizing stub length. Another approach is to increase the driver's transition time to permit longer stubs without transmission-line effects. If you use the DS36C280, long stubs can branch off the main cable. This arrangement keeps the main cable short, whereas looping the cable back and forth to reach inconveniently located nodes would greatly increase the main cable length. Besides allowing longer stubs, the slower edge rates generate lower emissions. Thus, this transceiver is also useful for applications that severely limit emitted noise.
The cable is custom high-quality unshielded 0.34 mm2 conductor twisted pair (approx 22 AWG) with 1.0 mm2 24 VDC in the same sheath. The installation is about 1 metre under water.
What is the effect of a driver with 10 ns rise time versus one with 1.2 μs rise time?
My understanding is that rise/fall time is limited to 30% of bit time and that various rules-of-thumb put the stub length at the 10% to 25% propagation distance of the rise time. (Using various TI and Maxim application notes.)
Our desired driver is something like that Maxim 3430 which is slew-rate limited suitable for 250 kbit/sec (datasheet), but we might be forced to use equipment with Maxim 3485 (datasheet); alternatively Analog Devices 2582 with 15 ns when we would prefer 2587 with 200-1100 ns (datasheet).
What effect might this have? Should we do something special if we have the "wrong" driver?
My calculations
- Data rate is 250 kbit/sec
- Bit time therefore 4 μsec
- Max rise/fall time therefore 1.2 μsec (30% of bit time)
- At 0.6 c signal velocity this is 216 m
- 25 % of that is 54 m
Simplified diagram:
22m 14 m
t-T-+--------+-------R-t
| 6 m | 6 m
R R
T transmitter, R receiver, t termination, m is metres
Given my total length is 36 m and my stubs are 6 m, I believe this suggests it will work reliably. Am I misguided?
Many thanks for suggestions and advice.
rs485 dmx512
$endgroup$
I have a planned 250 kbit/sec, single-pair, 36-metre RS-485 installation where it is advantageous for wiring purposes if the stub lengths can be a little longer than optimal. There is a single almost-always transmitter and three almost-always receivers. "Almost always" means during normal operation, but during monthly maintenance visits, the receivers will transmit for a few seconds. (It's DMX-512 lighting control with very occasional RDM.) It is controlling underwater lighting for architectural purposes, so the downside consequence of data corruption would be merely aesthetic.
RS-485 is clearly designed to be used with the shortest stub lengths practical. However, it's an engineering question about how the stub length affects signal quality and what to do if other matters require longer stubs.
The following is from Texas Instruments "AN-1057 Ten Ways to Bulletproof RS-485 Interfaces"
Although the discussion of configurations and the section on stubs advises minimizing stub length to avoid transmission-line problems, the application may not permit minimizing stub length. Another approach is to increase the driver's transition time to permit longer stubs without transmission-line effects. If you use the DS36C280, long stubs can branch off the main cable. This arrangement keeps the main cable short, whereas looping the cable back and forth to reach inconveniently located nodes would greatly increase the main cable length. Besides allowing longer stubs, the slower edge rates generate lower emissions. Thus, this transceiver is also useful for applications that severely limit emitted noise.
The cable is custom high-quality unshielded 0.34 mm2 conductor twisted pair (approx 22 AWG) with 1.0 mm2 24 VDC in the same sheath. The installation is about 1 metre under water.
What is the effect of a driver with 10 ns rise time versus one with 1.2 μs rise time?
My understanding is that rise/fall time is limited to 30% of bit time and that various rules-of-thumb put the stub length at the 10% to 25% propagation distance of the rise time. (Using various TI and Maxim application notes.)
Our desired driver is something like that Maxim 3430 which is slew-rate limited suitable for 250 kbit/sec (datasheet), but we might be forced to use equipment with Maxim 3485 (datasheet); alternatively Analog Devices 2582 with 15 ns when we would prefer 2587 with 200-1100 ns (datasheet).
What effect might this have? Should we do something special if we have the "wrong" driver?
My calculations
- Data rate is 250 kbit/sec
- Bit time therefore 4 μsec
- Max rise/fall time therefore 1.2 μsec (30% of bit time)
- At 0.6 c signal velocity this is 216 m
- 25 % of that is 54 m
Simplified diagram:
22m 14 m
t-T-+--------+-------R-t
| 6 m | 6 m
R R
T transmitter, R receiver, t termination, m is metres
Given my total length is 36 m and my stubs are 6 m, I believe this suggests it will work reliably. Am I misguided?
Many thanks for suggestions and advice.
rs485 dmx512
rs485 dmx512
edited Mar 7 at 13:14
jonathanjo
asked Mar 7 at 11:03
jonathanjojonathanjo
62018
62018
$begingroup$
Why didn't you scope the signal during commissioning to verify signal integrity at the host? How much does the impedance lower in a dielectric medium of 80 vs air of 1? You should have used STP cable to minimize that effect.
$endgroup$
– Sunnyskyguy EE75
Mar 7 at 12:25
$begingroup$
Thanks for comment, I think we're likely to test it out first. Re shielding, following Perrin's article "Art and Science of RS-485" (Circuit Cellar 1999) we decided against: we have many sites with this cable, mostly much bigger (approx 200 m), typically 30 nodes, 500 mm stubs, and the signals look like a textbook.
$endgroup$
– jonathanjo
Mar 7 at 12:37
$begingroup$
From what I read in Perrin's article. Daisy Chain is best, not Stubs, host common ground to each target is best (but more $), but STP is better (!) and if your rise time is fast , you better have Daisy Chain otherwise it's a mess.
$endgroup$
– Sunnyskyguy EE75
Mar 7 at 14:37
$begingroup$
I would also expect jitter margin reduction from ISI with 30% rise time from group delay distortion with NRZ.
$endgroup$
– Sunnyskyguy EE75
Mar 7 at 14:43
1
$begingroup$
I have no actual experience on this so take this with a grain of salt, but the RS485 signalling itself is also quite robust against reflections. As long as they aren't strong and long enough to alter the bit state at the middle of the bit interval (when the receiver samples it), even big spikes won't cause actual problems. This is because only the start bit is edge sensitive, and it's preceded by a stop bit delay. An edge sensitive signal (such as some clock pulse) would be much more sensitive to spikes.
$endgroup$
– jpa
Mar 7 at 19:21
|
show 8 more comments
$begingroup$
Why didn't you scope the signal during commissioning to verify signal integrity at the host? How much does the impedance lower in a dielectric medium of 80 vs air of 1? You should have used STP cable to minimize that effect.
$endgroup$
– Sunnyskyguy EE75
Mar 7 at 12:25
$begingroup$
Thanks for comment, I think we're likely to test it out first. Re shielding, following Perrin's article "Art and Science of RS-485" (Circuit Cellar 1999) we decided against: we have many sites with this cable, mostly much bigger (approx 200 m), typically 30 nodes, 500 mm stubs, and the signals look like a textbook.
$endgroup$
– jonathanjo
Mar 7 at 12:37
$begingroup$
From what I read in Perrin's article. Daisy Chain is best, not Stubs, host common ground to each target is best (but more $), but STP is better (!) and if your rise time is fast , you better have Daisy Chain otherwise it's a mess.
$endgroup$
– Sunnyskyguy EE75
Mar 7 at 14:37
$begingroup$
I would also expect jitter margin reduction from ISI with 30% rise time from group delay distortion with NRZ.
$endgroup$
– Sunnyskyguy EE75
Mar 7 at 14:43
1
$begingroup$
I have no actual experience on this so take this with a grain of salt, but the RS485 signalling itself is also quite robust against reflections. As long as they aren't strong and long enough to alter the bit state at the middle of the bit interval (when the receiver samples it), even big spikes won't cause actual problems. This is because only the start bit is edge sensitive, and it's preceded by a stop bit delay. An edge sensitive signal (such as some clock pulse) would be much more sensitive to spikes.
$endgroup$
– jpa
Mar 7 at 19:21
$begingroup$
Why didn't you scope the signal during commissioning to verify signal integrity at the host? How much does the impedance lower in a dielectric medium of 80 vs air of 1? You should have used STP cable to minimize that effect.
$endgroup$
– Sunnyskyguy EE75
Mar 7 at 12:25
$begingroup$
Why didn't you scope the signal during commissioning to verify signal integrity at the host? How much does the impedance lower in a dielectric medium of 80 vs air of 1? You should have used STP cable to minimize that effect.
$endgroup$
– Sunnyskyguy EE75
Mar 7 at 12:25
$begingroup$
Thanks for comment, I think we're likely to test it out first. Re shielding, following Perrin's article "Art and Science of RS-485" (Circuit Cellar 1999) we decided against: we have many sites with this cable, mostly much bigger (approx 200 m), typically 30 nodes, 500 mm stubs, and the signals look like a textbook.
$endgroup$
– jonathanjo
Mar 7 at 12:37
$begingroup$
Thanks for comment, I think we're likely to test it out first. Re shielding, following Perrin's article "Art and Science of RS-485" (Circuit Cellar 1999) we decided against: we have many sites with this cable, mostly much bigger (approx 200 m), typically 30 nodes, 500 mm stubs, and the signals look like a textbook.
$endgroup$
– jonathanjo
Mar 7 at 12:37
$begingroup$
From what I read in Perrin's article. Daisy Chain is best, not Stubs, host common ground to each target is best (but more $), but STP is better (!) and if your rise time is fast , you better have Daisy Chain otherwise it's a mess.
$endgroup$
– Sunnyskyguy EE75
Mar 7 at 14:37
$begingroup$
From what I read in Perrin's article. Daisy Chain is best, not Stubs, host common ground to each target is best (but more $), but STP is better (!) and if your rise time is fast , you better have Daisy Chain otherwise it's a mess.
$endgroup$
– Sunnyskyguy EE75
Mar 7 at 14:37
$begingroup$
I would also expect jitter margin reduction from ISI with 30% rise time from group delay distortion with NRZ.
$endgroup$
– Sunnyskyguy EE75
Mar 7 at 14:43
$begingroup$
I would also expect jitter margin reduction from ISI with 30% rise time from group delay distortion with NRZ.
$endgroup$
– Sunnyskyguy EE75
Mar 7 at 14:43
1
1
$begingroup$
I have no actual experience on this so take this with a grain of salt, but the RS485 signalling itself is also quite robust against reflections. As long as they aren't strong and long enough to alter the bit state at the middle of the bit interval (when the receiver samples it), even big spikes won't cause actual problems. This is because only the start bit is edge sensitive, and it's preceded by a stop bit delay. An edge sensitive signal (such as some clock pulse) would be much more sensitive to spikes.
$endgroup$
– jpa
Mar 7 at 19:21
$begingroup$
I have no actual experience on this so take this with a grain of salt, but the RS485 signalling itself is also quite robust against reflections. As long as they aren't strong and long enough to alter the bit state at the middle of the bit interval (when the receiver samples it), even big spikes won't cause actual problems. This is because only the start bit is edge sensitive, and it's preceded by a stop bit delay. An edge sensitive signal (such as some clock pulse) would be much more sensitive to spikes.
$endgroup$
– jpa
Mar 7 at 19:21
|
show 8 more comments
2 Answers
2
active
oldest
votes
$begingroup$
RS485 clearly specifies a network topology without stubs, well except ones few milimeters from connector to the transceiver IC. So it is up to you to decide.
I would like to suggest you to use additional 2x6m = 12m of cable and eliminate the stubs, afterall 250 kbps isn't a slow speed.
$endgroup$
3
$begingroup$
250 kbps is a) quite slow and b) what matters more for the signal bandwidth which depends on the rise time of the transmitter. With tr=15ns your allowed stub length will shrink to tens of centimeters. The amount of additional cable is only 2x6m=12m BTW.
$endgroup$
– Manu3l0us
Mar 7 at 11:49
1
$begingroup$
@Manu3l0us b) you are correct, I have edited only 12m additional cable is needed.
$endgroup$
– Marko Buršič
Mar 7 at 11:56
$begingroup$
I don't disagree for a second it would be better electrically to run the extra cable. But this is engineering: my question is about what actually happens if we use the 10 Mbit/s driver instead of the 250 Kbit/s driver. Should we add some other kind of signal conditioning? I amended the question with quote from TI app note re longer stubs.
$endgroup$
– jonathanjo
Mar 7 at 12:40
1
$begingroup$
@jonathanjo Anyway, if you are constrained with those 6m stubs, then there might be a solition by altering/adding termination resistors. I have seen this on CAN networks, don't know if can be applied to rs485.
$endgroup$
– Marko Buršič
Mar 7 at 13:35
1
$begingroup$
I agree with Marko. A long time ago my "managers" wanted to hang a 50 foot stub on a 1553 bus. I did a time domain simulation and showed them the ugly consequences. But with a proper termination, reflections from the receiver were greatly reduced. Of course, these bus systems need high impedance receivers, so there may be a price to pay if you hang a load on the bus.
$endgroup$
– richard1941
Mar 8 at 2:22
|
show 3 more comments
$begingroup$
Classically, if you can HIDE the reflections within the rise and fall times, then you have a robust system, IF you have some hysteresis.
With 4 microseconds SYMBOL (NRZ, at that) time, will you set up the link for 3 microseconds Rise and Fall times? and hysteresis at 25% and at 75% of the full scale swing?
$endgroup$
$begingroup$
yes if 2x latency is < rise time but if 75% T risetime, ISI can increase from group delay not being so flat but that can be compensated sometimes.
$endgroup$
– Sunnyskyguy EE75
Mar 7 at 16:24
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
return StackExchange.using("mathjaxEditing", function ()
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["\$", "\$"]]);
);
);
, "mathjax-editing");
StackExchange.ifUsing("editor", function ()
return StackExchange.using("schematics", function ()
StackExchange.schematics.init();
);
, "cicuitlab");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "135"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2felectronics.stackexchange.com%2fquestions%2f426064%2feffect-of-wrong-driver-with-slightly-long-rs-485-stubs%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
RS485 clearly specifies a network topology without stubs, well except ones few milimeters from connector to the transceiver IC. So it is up to you to decide.
I would like to suggest you to use additional 2x6m = 12m of cable and eliminate the stubs, afterall 250 kbps isn't a slow speed.
$endgroup$
3
$begingroup$
250 kbps is a) quite slow and b) what matters more for the signal bandwidth which depends on the rise time of the transmitter. With tr=15ns your allowed stub length will shrink to tens of centimeters. The amount of additional cable is only 2x6m=12m BTW.
$endgroup$
– Manu3l0us
Mar 7 at 11:49
1
$begingroup$
@Manu3l0us b) you are correct, I have edited only 12m additional cable is needed.
$endgroup$
– Marko Buršič
Mar 7 at 11:56
$begingroup$
I don't disagree for a second it would be better electrically to run the extra cable. But this is engineering: my question is about what actually happens if we use the 10 Mbit/s driver instead of the 250 Kbit/s driver. Should we add some other kind of signal conditioning? I amended the question with quote from TI app note re longer stubs.
$endgroup$
– jonathanjo
Mar 7 at 12:40
1
$begingroup$
@jonathanjo Anyway, if you are constrained with those 6m stubs, then there might be a solition by altering/adding termination resistors. I have seen this on CAN networks, don't know if can be applied to rs485.
$endgroup$
– Marko Buršič
Mar 7 at 13:35
1
$begingroup$
I agree with Marko. A long time ago my "managers" wanted to hang a 50 foot stub on a 1553 bus. I did a time domain simulation and showed them the ugly consequences. But with a proper termination, reflections from the receiver were greatly reduced. Of course, these bus systems need high impedance receivers, so there may be a price to pay if you hang a load on the bus.
$endgroup$
– richard1941
Mar 8 at 2:22
|
show 3 more comments
$begingroup$
RS485 clearly specifies a network topology without stubs, well except ones few milimeters from connector to the transceiver IC. So it is up to you to decide.
I would like to suggest you to use additional 2x6m = 12m of cable and eliminate the stubs, afterall 250 kbps isn't a slow speed.
$endgroup$
3
$begingroup$
250 kbps is a) quite slow and b) what matters more for the signal bandwidth which depends on the rise time of the transmitter. With tr=15ns your allowed stub length will shrink to tens of centimeters. The amount of additional cable is only 2x6m=12m BTW.
$endgroup$
– Manu3l0us
Mar 7 at 11:49
1
$begingroup$
@Manu3l0us b) you are correct, I have edited only 12m additional cable is needed.
$endgroup$
– Marko Buršič
Mar 7 at 11:56
$begingroup$
I don't disagree for a second it would be better electrically to run the extra cable. But this is engineering: my question is about what actually happens if we use the 10 Mbit/s driver instead of the 250 Kbit/s driver. Should we add some other kind of signal conditioning? I amended the question with quote from TI app note re longer stubs.
$endgroup$
– jonathanjo
Mar 7 at 12:40
1
$begingroup$
@jonathanjo Anyway, if you are constrained with those 6m stubs, then there might be a solition by altering/adding termination resistors. I have seen this on CAN networks, don't know if can be applied to rs485.
$endgroup$
– Marko Buršič
Mar 7 at 13:35
1
$begingroup$
I agree with Marko. A long time ago my "managers" wanted to hang a 50 foot stub on a 1553 bus. I did a time domain simulation and showed them the ugly consequences. But with a proper termination, reflections from the receiver were greatly reduced. Of course, these bus systems need high impedance receivers, so there may be a price to pay if you hang a load on the bus.
$endgroup$
– richard1941
Mar 8 at 2:22
|
show 3 more comments
$begingroup$
RS485 clearly specifies a network topology without stubs, well except ones few milimeters from connector to the transceiver IC. So it is up to you to decide.
I would like to suggest you to use additional 2x6m = 12m of cable and eliminate the stubs, afterall 250 kbps isn't a slow speed.
$endgroup$
RS485 clearly specifies a network topology without stubs, well except ones few milimeters from connector to the transceiver IC. So it is up to you to decide.
I would like to suggest you to use additional 2x6m = 12m of cable and eliminate the stubs, afterall 250 kbps isn't a slow speed.
edited Mar 7 at 11:55
answered Mar 7 at 11:39
Marko BuršičMarko Buršič
10.4k2812
10.4k2812
3
$begingroup$
250 kbps is a) quite slow and b) what matters more for the signal bandwidth which depends on the rise time of the transmitter. With tr=15ns your allowed stub length will shrink to tens of centimeters. The amount of additional cable is only 2x6m=12m BTW.
$endgroup$
– Manu3l0us
Mar 7 at 11:49
1
$begingroup$
@Manu3l0us b) you are correct, I have edited only 12m additional cable is needed.
$endgroup$
– Marko Buršič
Mar 7 at 11:56
$begingroup$
I don't disagree for a second it would be better electrically to run the extra cable. But this is engineering: my question is about what actually happens if we use the 10 Mbit/s driver instead of the 250 Kbit/s driver. Should we add some other kind of signal conditioning? I amended the question with quote from TI app note re longer stubs.
$endgroup$
– jonathanjo
Mar 7 at 12:40
1
$begingroup$
@jonathanjo Anyway, if you are constrained with those 6m stubs, then there might be a solition by altering/adding termination resistors. I have seen this on CAN networks, don't know if can be applied to rs485.
$endgroup$
– Marko Buršič
Mar 7 at 13:35
1
$begingroup$
I agree with Marko. A long time ago my "managers" wanted to hang a 50 foot stub on a 1553 bus. I did a time domain simulation and showed them the ugly consequences. But with a proper termination, reflections from the receiver were greatly reduced. Of course, these bus systems need high impedance receivers, so there may be a price to pay if you hang a load on the bus.
$endgroup$
– richard1941
Mar 8 at 2:22
|
show 3 more comments
3
$begingroup$
250 kbps is a) quite slow and b) what matters more for the signal bandwidth which depends on the rise time of the transmitter. With tr=15ns your allowed stub length will shrink to tens of centimeters. The amount of additional cable is only 2x6m=12m BTW.
$endgroup$
– Manu3l0us
Mar 7 at 11:49
1
$begingroup$
@Manu3l0us b) you are correct, I have edited only 12m additional cable is needed.
$endgroup$
– Marko Buršič
Mar 7 at 11:56
$begingroup$
I don't disagree for a second it would be better electrically to run the extra cable. But this is engineering: my question is about what actually happens if we use the 10 Mbit/s driver instead of the 250 Kbit/s driver. Should we add some other kind of signal conditioning? I amended the question with quote from TI app note re longer stubs.
$endgroup$
– jonathanjo
Mar 7 at 12:40
1
$begingroup$
@jonathanjo Anyway, if you are constrained with those 6m stubs, then there might be a solition by altering/adding termination resistors. I have seen this on CAN networks, don't know if can be applied to rs485.
$endgroup$
– Marko Buršič
Mar 7 at 13:35
1
$begingroup$
I agree with Marko. A long time ago my "managers" wanted to hang a 50 foot stub on a 1553 bus. I did a time domain simulation and showed them the ugly consequences. But with a proper termination, reflections from the receiver were greatly reduced. Of course, these bus systems need high impedance receivers, so there may be a price to pay if you hang a load on the bus.
$endgroup$
– richard1941
Mar 8 at 2:22
3
3
$begingroup$
250 kbps is a) quite slow and b) what matters more for the signal bandwidth which depends on the rise time of the transmitter. With tr=15ns your allowed stub length will shrink to tens of centimeters. The amount of additional cable is only 2x6m=12m BTW.
$endgroup$
– Manu3l0us
Mar 7 at 11:49
$begingroup$
250 kbps is a) quite slow and b) what matters more for the signal bandwidth which depends on the rise time of the transmitter. With tr=15ns your allowed stub length will shrink to tens of centimeters. The amount of additional cable is only 2x6m=12m BTW.
$endgroup$
– Manu3l0us
Mar 7 at 11:49
1
1
$begingroup$
@Manu3l0us b) you are correct, I have edited only 12m additional cable is needed.
$endgroup$
– Marko Buršič
Mar 7 at 11:56
$begingroup$
@Manu3l0us b) you are correct, I have edited only 12m additional cable is needed.
$endgroup$
– Marko Buršič
Mar 7 at 11:56
$begingroup$
I don't disagree for a second it would be better electrically to run the extra cable. But this is engineering: my question is about what actually happens if we use the 10 Mbit/s driver instead of the 250 Kbit/s driver. Should we add some other kind of signal conditioning? I amended the question with quote from TI app note re longer stubs.
$endgroup$
– jonathanjo
Mar 7 at 12:40
$begingroup$
I don't disagree for a second it would be better electrically to run the extra cable. But this is engineering: my question is about what actually happens if we use the 10 Mbit/s driver instead of the 250 Kbit/s driver. Should we add some other kind of signal conditioning? I amended the question with quote from TI app note re longer stubs.
$endgroup$
– jonathanjo
Mar 7 at 12:40
1
1
$begingroup$
@jonathanjo Anyway, if you are constrained with those 6m stubs, then there might be a solition by altering/adding termination resistors. I have seen this on CAN networks, don't know if can be applied to rs485.
$endgroup$
– Marko Buršič
Mar 7 at 13:35
$begingroup$
@jonathanjo Anyway, if you are constrained with those 6m stubs, then there might be a solition by altering/adding termination resistors. I have seen this on CAN networks, don't know if can be applied to rs485.
$endgroup$
– Marko Buršič
Mar 7 at 13:35
1
1
$begingroup$
I agree with Marko. A long time ago my "managers" wanted to hang a 50 foot stub on a 1553 bus. I did a time domain simulation and showed them the ugly consequences. But with a proper termination, reflections from the receiver were greatly reduced. Of course, these bus systems need high impedance receivers, so there may be a price to pay if you hang a load on the bus.
$endgroup$
– richard1941
Mar 8 at 2:22
$begingroup$
I agree with Marko. A long time ago my "managers" wanted to hang a 50 foot stub on a 1553 bus. I did a time domain simulation and showed them the ugly consequences. But with a proper termination, reflections from the receiver were greatly reduced. Of course, these bus systems need high impedance receivers, so there may be a price to pay if you hang a load on the bus.
$endgroup$
– richard1941
Mar 8 at 2:22
|
show 3 more comments
$begingroup$
Classically, if you can HIDE the reflections within the rise and fall times, then you have a robust system, IF you have some hysteresis.
With 4 microseconds SYMBOL (NRZ, at that) time, will you set up the link for 3 microseconds Rise and Fall times? and hysteresis at 25% and at 75% of the full scale swing?
$endgroup$
$begingroup$
yes if 2x latency is < rise time but if 75% T risetime, ISI can increase from group delay not being so flat but that can be compensated sometimes.
$endgroup$
– Sunnyskyguy EE75
Mar 7 at 16:24
add a comment |
$begingroup$
Classically, if you can HIDE the reflections within the rise and fall times, then you have a robust system, IF you have some hysteresis.
With 4 microseconds SYMBOL (NRZ, at that) time, will you set up the link for 3 microseconds Rise and Fall times? and hysteresis at 25% and at 75% of the full scale swing?
$endgroup$
$begingroup$
yes if 2x latency is < rise time but if 75% T risetime, ISI can increase from group delay not being so flat but that can be compensated sometimes.
$endgroup$
– Sunnyskyguy EE75
Mar 7 at 16:24
add a comment |
$begingroup$
Classically, if you can HIDE the reflections within the rise and fall times, then you have a robust system, IF you have some hysteresis.
With 4 microseconds SYMBOL (NRZ, at that) time, will you set up the link for 3 microseconds Rise and Fall times? and hysteresis at 25% and at 75% of the full scale swing?
$endgroup$
Classically, if you can HIDE the reflections within the rise and fall times, then you have a robust system, IF you have some hysteresis.
With 4 microseconds SYMBOL (NRZ, at that) time, will you set up the link for 3 microseconds Rise and Fall times? and hysteresis at 25% and at 75% of the full scale swing?
answered Mar 7 at 13:16
analogsystemsrfanalogsystemsrf
15.9k2822
15.9k2822
$begingroup$
yes if 2x latency is < rise time but if 75% T risetime, ISI can increase from group delay not being so flat but that can be compensated sometimes.
$endgroup$
– Sunnyskyguy EE75
Mar 7 at 16:24
add a comment |
$begingroup$
yes if 2x latency is < rise time but if 75% T risetime, ISI can increase from group delay not being so flat but that can be compensated sometimes.
$endgroup$
– Sunnyskyguy EE75
Mar 7 at 16:24
$begingroup$
yes if 2x latency is < rise time but if 75% T risetime, ISI can increase from group delay not being so flat but that can be compensated sometimes.
$endgroup$
– Sunnyskyguy EE75
Mar 7 at 16:24
$begingroup$
yes if 2x latency is < rise time but if 75% T risetime, ISI can increase from group delay not being so flat but that can be compensated sometimes.
$endgroup$
– Sunnyskyguy EE75
Mar 7 at 16:24
add a comment |
Thanks for contributing an answer to Electrical Engineering Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2felectronics.stackexchange.com%2fquestions%2f426064%2feffect-of-wrong-driver-with-slightly-long-rs-485-stubs%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
$begingroup$
Why didn't you scope the signal during commissioning to verify signal integrity at the host? How much does the impedance lower in a dielectric medium of 80 vs air of 1? You should have used STP cable to minimize that effect.
$endgroup$
– Sunnyskyguy EE75
Mar 7 at 12:25
$begingroup$
Thanks for comment, I think we're likely to test it out first. Re shielding, following Perrin's article "Art and Science of RS-485" (Circuit Cellar 1999) we decided against: we have many sites with this cable, mostly much bigger (approx 200 m), typically 30 nodes, 500 mm stubs, and the signals look like a textbook.
$endgroup$
– jonathanjo
Mar 7 at 12:37
$begingroup$
From what I read in Perrin's article. Daisy Chain is best, not Stubs, host common ground to each target is best (but more $), but STP is better (!) and if your rise time is fast , you better have Daisy Chain otherwise it's a mess.
$endgroup$
– Sunnyskyguy EE75
Mar 7 at 14:37
$begingroup$
I would also expect jitter margin reduction from ISI with 30% rise time from group delay distortion with NRZ.
$endgroup$
– Sunnyskyguy EE75
Mar 7 at 14:43
1
$begingroup$
I have no actual experience on this so take this with a grain of salt, but the RS485 signalling itself is also quite robust against reflections. As long as they aren't strong and long enough to alter the bit state at the middle of the bit interval (when the receiver samples it), even big spikes won't cause actual problems. This is because only the start bit is edge sensitive, and it's preceded by a stop bit delay. An edge sensitive signal (such as some clock pulse) would be much more sensitive to spikes.
$endgroup$
– jpa
Mar 7 at 19:21