I have always wondered how an only 1 wire line (signal and ground) can make a whole color image appear on a screen full of thousands of pixels. How exactly do these signals work and what characteristics make tv's show different things?
-
\$\begingroup\$ This is not a short answer. Consider that CCTV (in this case Color Compatible TV) - i.e. how they managed to stuff color and maintain backwards compatibility with the first B&W sets was seriously considered for the THE EE accomplishment of the 20th century ... This is a question that is best answered by research of your own. Of course someone might give you a short summary. \$\endgroup\$– placeholderApr 23, 2013 at 0:35
-
1\$\begingroup\$ what would happen if I just threw an oscillator to the cable? \$\endgroup\$– skylerApr 23, 2013 at 0:39
-
\$\begingroup\$ As far as putting an oscillator on the cable - that wouldn't result in anything of value. The video receiver probably won't accept it as anything (display a blank screen), and if it does, it would just be noise. \$\endgroup\$– Kurt E. ClothierApr 23, 2013 at 20:38
-
\$\begingroup\$ Watch this youtube.com/watch?v=3BJU2drrtCM video which gives a better understanding of the underlying principle. \$\endgroup\$– NishantOct 20, 2018 at 7:51
2 Answers
I used to work at Panasonic on their In-Flight Entertainment systems, so I know a bit about this kind of stuff. This description won't be 100% technically accurate (some naming might be a bit off) but I am trying to write it so anyone can understand it. Hopefully this explanation helps...
The "magic" behind it can be a combination of the following things: signal amplitude, frequency, and modulation. Different types of TVs and signals work differently. This is why old TVs had to have a converter box to accept the new digital signals if they only had an analog tuner. But that really just describes how the data is presented in the signal. Basically, the color data for each pixel is sent to the TV line by line, pixel by pixel and the TV refreshes the screen so many times per second with the new data. Even though the video is really just a lot of still images being updated on the screen, they change fast enough for us to perceive them as moving, hence the old term "moving picture."
Take a look at a typical "color bar" signal used to test video systems from Wikipedia.
The picture itself is divided into "lines" of pixels. Every screen has so many columns and so many lines, making up the total screen resolution. Each color in this picture is spread across numerous pixels of the same line. The accompanying oscilloscope waveform helps to describe what is going on here (This image is from Tektronix):
This image shows the data for two lines of pixels. Each line starts with a "sync pulse" to align the screen and the signal. This pulse (the negative part of the waveform) is followed by data for each pixel of the line. This is actually an analog video: the pixel data is represented by the amplitude and phase of the signal. You can see the various colors as an analog voltage with differing maximum and minimum voltages. When one line is finished, another sync pulse signals the start of the next line. The video signal and the screen need to have matching resolution (number of pixels per line). If there is extra data, it is dropped. If there is not enough data, the pixels share the data (makes the picture blocky).
Thanks to Pete B for mentioning this:
To clarify one bit of detail regarding color signals, the luminance (brightness) of a pixel is determined by the amplitude of the signal; while the chrominance (hue) is determined by the phase of the chroma sub-carrier signal.
Digital signals are a bit different in that the signal is either HI or LO. The value of HI can vary between systems. There are different ways that this works. Sometimes, a known number of bits of data constitute a packet carrying all of the pixel data (similar to network communication). Another way is to time on long the signal is HI vs how long it is LO to represent a different Pixel value. This is kind of how IR TV remote controls work, although they are sending "control codes" instead of pixel information.
As you can imagine, this all takes place very, very quickly. A common TV in the United states is updated (screen refresh) 60 times per second (60Hz), or 30Hz for interlaced video. Although modern and HD TVs will typically refresh even more often (upwards of 240Hz). What this refresh rate means is that every pixel in the entire screen is updated so many times per second. The more it refreshes, the more detail is available in the picture, especially when there are a lot of fast-moving images in the video (like a chase sequence).
Different TV channels (AIR or Cable) are delivered to the TV in the same method, just with different base frequencies. The TV tuner will select one of these base frequencies to display (selecting a channel) and will update the pixels based on the modulated frequencies within the base carrier. The frequencies representing the pixel color data are much, much faster than the actual refresh rate of the screen because each pixel data has to be updated so many times per second, and there are, as you said, thousands of pixels.
Since humans only hear sound on a spectrum of 20Hz to 20kHz, the sound data can easily be added to the signal on top of the video and filtered out by the TV, although, for "high definition sound", the sound signal is sent through a separate wire to the TV to fit in all of the data.
To really understand what is going on, you have to comprehend signal frequencies, amplitude, time division, modulation, and spectrum analysis. But I hope this kind of explains some of it...
-
2\$\begingroup\$ +1, excellent reference answer, well explained for novices. \$\endgroup\$ Apr 23, 2013 at 2:32
-
2\$\begingroup\$ Good overview answer. To clarify one bit of detail regarding color signals, the luminance (brightness) of a pixel is determined by the amplitude of the signal; while the chrominance (hue) is determined by the phase of the chroma sub-carrier signal. \$\endgroup\$– B PeteApr 23, 2013 at 2:48
-
\$\begingroup\$ @BPete - Very true. I just didn't know how much detail to go into, or how much detail I had already gone into. It's kind of hard to tell sometimes... \$\endgroup\$ Apr 23, 2013 at 4:47
All of the analog TV standards (NTSC, PAL, SECAM, etc.) are variations on a theme, involving a careful mix of time-division multiplexing (sync and video information) and frequency-division multiplexing (luminance, chroma and sound).
The details are too involved to get into here, but there are many good references on the web, starting with the Wikipedia article on NTSC.