data communications question (re: signalling)

Mucman

Diamond Member
Oct 10, 1999
7,246
1
0
I understand that ethernet communication is done discretely using voltage differences over copper. I also understand how FM signals are waves propogated through air as a medium, and has a rolling spectrum for each channel. My question is this:

A cable feed is a FDM multiplexed signal, and I am assuming it is analog. Excuse the stupid question, but how is an analog signal propogated through a copper medium? For some reason I find waves flying through air conceptually easy to understand, but I can't get the concept of waves moving through copper. Can someone enlighten me on this?
 

cmetz

Platinum Member
Nov 13, 2001
2,296
0
0
It is in fact exactly the same as moving through the air; an induced magnetic field is normal to an electric field but otherwise basically two different appearances of the same phenomonon. Disregarding some implementation details like impedence and signal level, you could take the cable to a transmitting antenna and connect it to a receiver and get the signal out, skipping the airwave step entirely. (for a CATV system, this might be an especially handy way to think about it, since in many systems, the cable feed is literally the same kind of signals and the same frequency channels that would come in from your antenna)

Almost all transmissions are at their core analog; digital is simply a matter of how you encode and decode (doing so in a discrete manner rather than a continuous manner). Take a copper wire, hook up a bench power supply on one end and a multi-meter on the other in Vdc mode, and you can dial the voltage up and down and see that the voltage that comes out the other end more or less matches what you fed in (minus maybe a bit of loss, or +/- some error). Swap for a frequency generator and an oscilliscope, and you can feed a sine wave in one end and get mostly the same sine wave out the other end, again, with just a bit of error. You can dial up and down both the frequency and the amplitude (voltage), and within some frequency range if you leave the amplitude in the same, the amplitude out on your scope should stay the same too - this is more or less the usable frequency range for the cable (actually by convention, the BW is the width of the region bounded by the half-power points, but anyway).

Through Fourier transform / frequency-domain magic (greatly oversimplifying and hand-waving in order to avoid some truly nasty math), most signals can be modeled as a sum of a potentially infinite sequence of sine waves. That means that if you can get sine waves through in a mostly linear fashion and if you can model signals as a sum of sine waves, you can get most signals through. Different signals will have different base encodings (e.g., NTSC TV, and DOCSIS QAM), and through FDM they're simply modulated (for this discussion, shifted up in frequency) to the carrier channel they need to be on. All the different signals are simply summed together. On the receiver end, it's a matter of a demodulator that picks out a band of some necessary width and demodulates it (shifts it back down in frequency), then decodes it as appropriate.

DOCSIS last time I checked uses QAM for interesting data rates, which works by using both sine waves and cosine waves summed together - because the two are out of phase by just the right angle, you can put both on the same carrier frequency and encode and decode them independently, getting you about a two for one. But it gets better - you can use the (signed) amplitude of the sine and cosine components to build a grid. On that grid, put various bit patterns to be your code words. Take the amplitudes you have and find the nearest grid point, and there's your pattern. It's a very handy encoding.

Hopefully this makes things a bit clearer. In some sense you're asking for a large chunk of a EE program in a few paragraphs, but with some hand-waving hopefully I can give you a rough idea of how it works.
 

Mucman

Diamond Member
Oct 10, 1999
7,246
1
0
Thanks cmetz! Your posts are always very informative.

Just to let you know, I learned the nitty gritty about Fourier transforms this semester. You are correct about the nastiness of the math ;). Also learned about different digital and analog encodings (eg: Manchester, Pseudoternary, 8B6T, etc...). It's a fascinating subject but I just thought the prof went way to fast, and I don't understand it all of it at a level I wish.

The phase shifted analog encoding you mentioned is definitely interesting and very clever. I can't imagine the complexities of the encoders and decoders though... I guess that's why I am in computer science and not engineering :)
 

gunrunnerjohn

Golden Member
Nov 2, 2002
1,360
0
0
Actually, color TV used phase shifted subcarrier for color information, and it was designed in the 1940's! :D
 

cmetz

Platinum Member
Nov 13, 2001
2,296
0
0
Mucman, main thing to know about Manchester is that the symbol codings give you a net of zero power at and around f=0 (that is, DC). What this means is that you can ignore DC offsets, which is often a desirable electrical property. The same thing is often done in QAM, you just ignore the center or even the constellation points a certain radius away from the center. Even if you turn out to modulate the signal up to a high carrier frequency, having there be no DC / right-at-the-carrier component can be useful.

The encoders and decoders aren't all THAT complex in theory. The problem is that the real world is full of noise and the real world requires deep input/output protection, and that's where things get fun. For interesting encodings, every little bit of smarts can make a difference (especially in being able to eliminate noise that isn't truly random), and so DSPs are more and more commonly required to get the job done. Real-world digital encodings that aren't really stupid layer an error correcting code around the lower-level encoding, and so your bits get bigger by the ECC, get sliced into symbols, coded, transmitted, and then the process works in reverse on the back-end. The complex part is the balancing act between the limitations of your channel (required BW & SNR et al.), the signal coding, the error-correction coding, and the delivered bit rate.

gunrunnerjohn, absolutely correct. That's how they got color TV into the same amount of bandwidth. A lot of this stuff can be done directly in analog circuitry, too. But digital circuits are often a lot easier to work with (do I want to play with a whole mess of variable-tolerance parts, or one DSP? hmmm...).
 

Mucman

Diamond Member
Oct 10, 1999
7,246
1
0
Yes, the fact that Manchester handles timing synchronization and the DC component are the major pros we learned in class about that encoding. I believe it use used for 10base* transmissions. According my my text (Data & Computer Communications, by William Stallings), things get more complex when moving to 100baseT (MLT-3) and 1000baseT (8B6T NRZ). I guess the DC component is as big of a factor for high speed networks? NRZ I believe suffers greatly because of NRZ, but I guess 8B6T is designed to minimize this effect.

So color TV signals are possible using the same carrier signal because of QAM? Theoretically they doubled the data transmission rate of regular cable by shifting the color signals by 90 degrees? Is that what gunrunnerjohn means by a subcarrier? What about the multiplexing of many channels (I believe each station gets 6MHz of bandwidth), is each channel considered a subcarrier too? Or is that simply another channel on the same carrier?

I'm way in over my head! The final for this course is on Wednesday... there's so much to take in. I find that I have a simplistic understanding of many of the concepts, but I don't know enough detail to get a decent mark. Oh well... still fascinating material! I had no idea how this stuff worked before this class.