Author Topic: How can DOCSIS works on a single wire?  (Read 1038 times)

0 Members and 1 Guest are viewing this topic.

Offline kuonTopic starter

  • Regular Contributor
  • *
  • Posts: 162
  • Country: ch
How can DOCSIS works on a single wire?
« on: January 26, 2020, 03:33:02 am »
I am sorry for my "how does X work" question, but I did some researchs and I cannot find exactly how it works.

I found that DOCSIS uses something like 5-50MHz for upstream and 50-1000MHz for downstream.

While I understand how multiple signals at different frequencies can be send together using fourier transforms, I do not understand how information can travel in two direction

The cable is one signal, one channel on a scope, one Vtime function, how can the two ends drive it at the same time for bi-directional communication?

How can A drives 5-50Mhz band while B drives the 50-1000Mhz band on the same wire?
 

Offline jonovid

  • Super Contributor
  • ***
  • Posts: 1478
  • Country: au
    • JONOVID
Re: How can DOCSIS works on a single wire?
« Reply #1 on: January 26, 2020, 03:49:20 am »
Data Over Cable Service Interface  mmmmmmmmmmmmm  :-\   google it

https://en.wikipedia.org/wiki/DOCSIS
« Last Edit: January 26, 2020, 03:52:12 am by jonovid »
Hobbyist with a basic knowledge of electronics
 

Online Alex Eisenhut

  • Super Contributor
  • ***
  • Posts: 3397
  • Country: ca
  • Place text here.
Hoarder of 8-bit Commodore relics and 1960s Tektronix 500-series stuff. Unconventional interior decorator.
 
The following users thanked this post: jonovid, kuon

Offline kuonTopic starter

  • Regular Contributor
  • *
  • Posts: 162
  • Country: ch
Re: How can DOCSIS works on a single wire?
« Reply #3 on: January 26, 2020, 03:58:29 am »
I did google DOCSIS and read the wikipedia page and others, but I couldn't find schematics to understand it properly, but the term Diplexer unlocked it all.

Thanks you
 

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 22142
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: How can DOCSIS works on a single wire?
« Reply #4 on: January 26, 2020, 04:19:02 am »
Because physics.  The voltage on a [linear] transmission line can always be decomposed into the superposition of two waves travelling in opposite directions, at equal velocity.

When you measure the voltage and current at a low frequency, it may seem stable, and arbitrary (i.e., V and I unrelated to Zo), but when we apply this identity, we find it's the equilibrium between reflected waves.

This is perhaps easier to see when we charge up a transmission line with a step current.  Say we have a 10V, 1A source at one end, and a 10 ohm load at the other end.  The line is Zo = 100 ohms and t_o = 1us long.

When we apply the step voltage, at first, 10V / 100R = 0.1A is drawn, and this continues until one electrical line length.
At 1us, the wave reflects off the resistor; we can draw a voltage divider between Zo and RL, and find that 90% of the wave gets reflected, and 0.1A is delivered to the load.  (The source is still delivering its steady 0.1A.)
At 2us, the reflected wave returns to the source, and its amplitude superposes with the first wave.  Because the wave was reflected out of phase, more current is drawn; now the source delivers 10V and 0.19A (give or take).  No voltage is dropped from the source, so the wave again reflects.
At 3us, the load rises to 0.27A.  At 4us, the source rises to 0.35A, etc.  The rise continues, but it does seem to be slowing with each cycle.  The wave that's always getting reflected back and forth, is decaying as it goes -- it's doing the work of ferrying source and load signals back and forth, communicating that the load is still a lower impedance than the line, and still able to draw more current.  It takes a relatively long time to do this -- the load is 1/10th of Zo so the time constant is around 10 line lengths (round trip), and it will be 99% of the way there after say 60us.

Which to human eyes, still looks instantaneous, so we can easily overlook it if we don't have an oscilloscope watching carefully.  Also, a practical note: 1us long cables are, well, very long.  200 meters or so.  That's a big spool to just sit in the lab and measure.  Real transmission line is lossy, meaning the wavefront does not stay sharp, but its leading edge drops and smears out, rounding off the wavefront and increasing its rise time.  The effect of this is, you may see the stepwise current increase for a few cycles, but pretty quickly the steps will blur together, and it will look like an ordinary RLC circuit charging up.

Lastly, I probably should've just gone with the other case, RL > Zo, because 200 meters of line will probably have more than 10 ohms of DC resistance, to begin with.  Which means you can't run this test without also taking account of the line's losses, which is annoying.  (A good lesson for practical experiments, surely, but not an impressive one when you're expressing things from an ideal basis.)

Anyway, once everything is settled, and regardless of the line's high frequency loss or dispersion, the result is, eventually, the wavefronts decay to zero, and you are left with the superposition of source and load waves, constantly being launched from each end, crossing by each other, which happen to match and oppose perfectly to give the observed voltages and currents at both ends.  You don't see it as waves in motion, because the waves aren't carrying motion anymore; but they are, in a sense, the more accurate way to see things!

For practical purposes, by the way, we're much more inclined to use a low-frequency approximation to full transmission line theory.  We can convert a line to a series inductance around t_o * Zo when we use it at R_L < Zo, or a parallel capacitance around t_o / Zo otherwise.  (We may need to model it as both L and C, or as an arbitrarily long LC ladder network, if we're interested in approximating its impedance and time delay properties for Z ~ Zo.)  Whenever you see mention of stray inductance or capacitance, this is actually what's happening: we're approximating a real electromagnetic wave structure with low-frequency equivalents.

Anyway, even for good old fashioned telephone purposes, as well as DSL, DOCSIS and others: the fact is, we can decompose the line voltage into two propagating components.  When we do that, we can devise networks that assist us in separating them, and understand the conditions necessary for their use.  In telephony, the key component is the hybrid transformer.  At radio frequencies, we might do it per band, with resonant circuits (or at very high frequencies, transmission line segments again!), or use a wideband hybrid or bridge to do it for all frequencies of interest.

Or heck, with so much computing power available on ICs these days, a lot of this may be absorbed directly into the DSP domain.  All we really need to know are the voltage and current we're delivering to / drawing from the line, at any given instant; and the impedance of the line.  If we know what we are sending (say from a power DAC), then we know what the line should be due to our transmission, and whatever difference is left must be due to received signals.  Read with ADC, subtract and process.

Also, when bands are split by frequency, we can simply use a diplexer to separate the frequencies.  If DOCSIS upstream is < 50MHz and downstream is >, we simply use a diplexing filter to separate these into high and low bands.  The filter sharpness is the isolation between transmitter and receiver, and we can further design the receiver to reject transmitter frequencies so that it receives only the relevant signals.  Done on a broader scale, this is FDM (frequency division multiplex).

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 
The following users thanked this post: Yansi, Nominal Animal, kuon

Offline Electro Fan

  • Super Contributor
  • ***
  • Posts: 3283
Re: How can DOCSIS works on a single wire?
« Reply #5 on: January 26, 2020, 05:12:47 pm »
Yes, short answer is FDM (Frequency Division Multiplexing)

https://volpefirm.com/docsis101_rf-fundamentals/
 

Offline Electro Fan

  • Super Contributor
  • ***
  • Posts: 3283
Re: How can DOCSIS works on a single wire?
« Reply #6 on: January 26, 2020, 05:20:52 pm »
Longer answer (QAM and OFDM) as you get to newer versions of DOCSIS such as 3.1:

https://en.m.wikipedia.org/wiki/DOCSIS

DOCSIS 3.1 : First released in October 2013, and updated several times since, the DOCSIS 3.1 suite of specifications support capacities of up to 10 Gbit/s downstream and 1 Gbit/s upstream using 4096 QAM. The new specs do away with 6 MHz and 8 MHz wide channel spacing and instead use narrower (20 kHz or 50 kHz wide) orthogonal frequency-division multiplexing (OFDM) subcarriers; these can be bonded inside a block spectrum that could end up being about 200 MHz wide.[6] DOCSIS 3.1 technology also includes some new energy management features that will help the cable industry reduce its energy usage, and the DOCSIS-PIE[7] algorithm to reduce bufferbloat.[8] In the United States, broadband provider Comcast announced in February 2016 that several cities within its footprint will have DOCSIS 3.1 availability before the end of the year.[9] At the end of 2016, Mediacom announced it would become the first major U.S. cable company to fully transition to the DOCSIS 3.1 platform.[10]
 

Offline amyk

  • Super Contributor
  • ***
  • Posts: 8354
Re: How can DOCSIS works on a single wire?
« Reply #7 on: January 26, 2020, 08:14:01 pm »
Very short but not-entirely-correct analogy: imagine two people standing at the ends of a very long room shouting at each other.
 

Offline mikerj

  • Super Contributor
  • ***
  • Posts: 3302
  • Country: gb
Re: How can DOCSIS works on a single wire?
« Reply #8 on: January 26, 2020, 10:02:43 pm »
I do not understand how information can travel in two direction

You don't even need to use frequency division multiplexing to achieve this, have you ever used a telephone?
 

Online gf

  • Super Contributor
  • ***
  • Posts: 1307
  • Country: de
Re: How can DOCSIS works on a single wire?
« Reply #9 on: January 26, 2020, 11:21:13 pm »
I do not understand how information can travel in two direction
You don't even need to use frequency division multiplexing to achieve this, have you ever used a telephone?

Indeed, plain old analog telephones also use a similar circuit to split/combine incoming and outgoing signal, in order to support full-duplex telephony over a two-wire cable -> https://en.wikipedia.org/wiki/Telephone_hybrid, or more general https://en.wikipedia.org/wiki/Power_dividers_and_directional_couplers

EDIT: But I'm not sure whether this is relevant here - does DOCSIS really transmit downstream and upstream at the same time on the same frequencies?
« Last Edit: January 27, 2020, 06:31:27 am by gf »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf