2

I've read that speed of rs-232 depends on length of cable. There are many different tables that describe this dependency. But speed although should depend on voltage of Rx and Tx signals. How maximum theoretical speed of rs-232 depends on voltage? How can i calculate this speed at +-5V and +-12V?


Theoretical baud rate means that we know capacity of the cabling C and inductivity L. Transmitter and reciever are ideal. They can give any waveform. Does the voltage affects baud rate in this terms?

wshakura
  • 21
  • 3

2 Answers2

4

The maximum possible speed depends on the capacitance of the cable and the impedance of the source driving said cable. There are also some tricks that can be done at the receiver end to affect the maximum achievable bandwidth, though you are eventually limited by the communication channel, as described in the Shannon-Hartley theorem.

As such, the voltage range the driver can produce is largely irrelevant, assuming that you have a receiver that will work with whatever voltage range your transmitter supports.

You are incorrect in your belief that the voltage plays a role in determining the maximum speed.


Furthermore, the "speed-vs-cable length" tables are what's called a rule of thumb, e.g. a general rule that works in most cases. They generally describe a safe starting point, though in many situations, the system can actually go faster.

Connor Wolf
  • 32,168
  • 6
  • 79
  • 138
  • Higher voltage causes electrical disturbances in adjacent wires. This noise may be recognized as signal. – wshakura Dec 26 '12 at 21:38
  • 1
    @wshakura - that's a completely different concern, and entirely dependent on your cabling. It also does not affect the actual possible baud rate on a single wire, just second-order effects in your system, and is not discussed in your question at all. – Connor Wolf Dec 26 '12 at 21:40
  • @wshakura: A sufficiently high slew rate can account for any voltage signaling, and slew rate is affected by the physical characteristics of the line, not the voltage used. – Ignacio Vazquez-Abrams Dec 26 '12 at 21:43
  • @IgnacioVazquez-Abrams - I thought slew-rate was largely a function of the driver, not the line. – Connor Wolf Dec 26 '12 at 21:45
  • 2
    It is caused by the driver, but it is affected by the line, its inductance, impedance, and capacitance. – Ignacio Vazquez-Abrams Dec 26 '12 at 21:50
  • 1
    @IgnacioVazquez-Abrams - That can affect it's propagation rate, but short of the line interacting with the driver, the slew rate should just be a function of the driver. – Connor Wolf Dec 26 '12 at 21:57
  • I wrote theoretical baud rate. It means that we know capacity of the cabling C and inductivity L. Transmitter and reciever are ideal. They can give any waveform. Does the voltage affects baud rate in this terms? – wshakura Dec 27 '12 at 08:51
  • Theoretical can mean a whole lot of things. If you have an ideal transmitter/receiver and cabling, no, the voltage should have no effect, barring issues with the voltage becoming so low that you're counting individual electrons, at which point you start having quantization errors. – Connor Wolf Dec 27 '12 at 09:53
  • It seems i found the answer. Slew rate really limits baud rate at high frequency. I found specific slew rates for rs-232 and calculated theoretical maximum speed. The result mathes with the values that given in tables. Thank you for your support! – wshakura Dec 27 '12 at 10:51
  • Voltage != slew rate. – Toby Lawrence Dec 27 '12 at 13:08
  • @TobyLawrence - slew rate = V/sec. If you know max voltage and slew rate, you can calculate duration of signal edge. – wshakura Jan 06 '13 at 16:51
  • Slew rate is a change over time.... voltage is just.. voltage. That's why I said that voltage isn't equal to slew rate so asking if "voltage affects baud rate" begs the answer: "no, but slew rate does." – Toby Lawrence Jan 06 '13 at 17:20
0

Have you ever heard of a term called slew rate. The higher the voltage, the harder it is for electronics to change state ie from a digital '1' to digital '0' in RS232 will be between -8v to -15v for digital '1' and 8v to 15v for digital '0'. At best the electronics will have to change state over 16v. Internal capacitance's of transistors will affect the slew rate as well as the time it takes to get from one state to the other.

Instead of nice clean square wave's, you will get triangular spikes that would get smaller as the speed goes up.

Matt
  • 64
  • 5