| How Modems work? |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Why do we need a modem to communicate over telephone lines? How do these modems work? (up to 33.6Kbps) Standard Modem protocols. Data Compression. Error correction. File transfer protocols (FTP). Modem visual indicators (signal LEDs). How do 56Kbps modems work? Why do we need
a modem to communicate with other PCs over phone lines? ![]() How do these
modems work?
To overcome this problem, new modems
were developed which used PSK (Phase shift keying) or DPSK (dibit PSK
= 2 bits per phase change). A constant carrier frequency is used and
the phase is shifted by a different angles to represent the data bits.
It must be noted that the relative phase change determines the values,
that is to say, the new phase compared to what it was before the change
occurred. The BELL 212A / V.22 standard using DPSK is used here as an
example.
At that same time, Amplitude modulation (AM) was also tried. The carrier's amplitude is raised and lowered to represent 1 and 0, while the frequency and phase remain constant. These methods still left much (very
much) to be desired. The real breakthrough in modems arrived when both
Phase and Amplitude were used together.
When dealing with amplitude (size) and
phase (angle) we normally use vectors to simplify our understanding of
these readings. ![]() figure 2 Since the received signal might not be
the same as the transmitted signal, like what happened in the above
example, we need a system which will cater for these errors. This
problem is solved by assigning an area around the different points,
these areas are called the decision areas. In the above diagram,
the area covered by the red square is the decision area for the bits 00,
meaning that any vector in this area will be treated as 00. ![]() Figure 3 A = symbol B = What was received C = error vector This not only applies to 33.6Kbps, but
also to 14.4Kps. The decision area is too small to receive information
with any degree of reliability, and so the only option is to increase
the decision area, and this is accomplished by using Trellis coded
modulation (TCM) . The error vector has been used by
certain companies to their advantage with this extra space. The modem at
the transmitting end deliberately offset the transmitted vector slightly
to the left or right (but obviously still remaining in the decision
area), to represent 0 and 1. The receiving modem, knowing what the
actual symbol point is within the decision area then determines the
original offset, and knows whether it represent a 0 or 1. Due to the limited transmitting power (and therefore limited signal amplitude), and noise (both Gaussian and quantization), as well as limited bandwidth, the absolute maximum speed which can be achieved using QAM, with a real-life telephone network noise level of 35dB and a channel bandwidth of 3000Hz, is 34822bps (modems have been standardized to 33.6Kbps). Standard modem protocolsV.34 - Transmission speed of 33.6kbps (1996)V.34 - Transmission speed of 28.8kbps. (1994) V.FC - (28.8kbps) Bootleg protocol used by many companies while waiting for official V.34 Standards. Not fully compatible. V.32bis - 14.4kbps on a dial-up or leased line. (1991) V.32 - 9600bps on a dial-up or leased line. (1984) V.22bis - 2400bps on dial-up line only. (1984) V.17, V.29, V.27ter - Support FAX Connections, and allow faxes to transmit at higher baud rate without the need for the full duplex circuitry. Bell Standards - 212A (1200bps) and Bell 103T (300bps) Data CompressionCompression allows throughput to be enhanced 2-4 times over normal transmission. These standards are used in conjunction with major transmission and error correction protocols.Data Compression Standards
Error CorrectionMost modems with error correction uses a type of mathematical formula called a checksum that examines incoming data for integrity. It the incoming modem detects an error, it can send a request back to the sending modem asking it to retransmit the block.Error Correction Standards
File Transfer ProtocolsFile Transfer Protocols vary in terms of packet size, and the percentage of throughput that contains parts of the file (commonly referred to as efficiency). Here is a list of various FTP standards.
56Kbps ModemsThis modem needs a section of it's own because it differs from the others in the following ways:1) There is, as yet, no industry standard for 56Kbps modems. 2) The 56Kbps rate is only in one direction, the other direction is still either 28.8Kbps or 33.6Kbps. 3) You cannot communicate between two modems using 56Kbps. 4) The ISP must have a digital link directly to the exchange. 5) The modem uses QAM to transmit but uses Pulse Amplitude Modulation (PAM) to receive data. Exactly how does the 56kbps modem work
then?
![]() Figure 4 These quantization errors occur when an analogue signal is converted into a digital signal. When converting the digital code back into analogue, the re-contracted signal will be an exact representation of the digital code, which will follow the original analogue signal. What happens when we place our OWN digital code on the exchange? It would result in an analogue signal which represents the digital code to the exact voltage. This would also mean that there are no analogue to digital conversions, thereby eliminating any possible quantization errors. To summaries, by making the path from the ISP to the exchange digital, and by keeping the entire path digital until it reaches the lines where the modem gets connected, there would be no analogue to digital conversion at all, thereby eliminating quantization noise from the formula. Also, we would be able to get an analogue signal which matches the digital one exactly. This is called Pulse amplitude modulation (PAM). ![]() Figure 5 Note that this is an analogue to digital conversion process (which will cause quantization errors), however, the modems have been optimized to receive these signals (unlike the exchange which is optimized for speech), and by keeping the voltage steps far apart, each voltage step would be easy to distinguish from the next. So why do we not get 64000bps then? The answer lies with the fact that the conversion from digital to analogue at the exchange is non-linear. The voltage steps as we get closer to 0 becomes smaller and smaller, making it difficult to distinguish the one step from the next. The modem designers therefore, have to use the larger voltage steps, and leave out the smaller voltage steps. By choosing to use half of the available voltage steps (128 instead of all 256), we would be able to discard the smaller steps and still manage to stay with 7 bits. This will then give us 8000 samples/second X 7 bits/sample = 56000 bps. The path from the modem to the exchange is still analogue, and so we are still faced with the traditional problems when it comes to transmitting data from the modem to the ISP. We therefore have to use QAM to the ISP, limiting that direction's speed to 33.6Kbps.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Copyright © Escuela Campo
Alegre, 2000-2003. All rights reserved Website developed and maintained by Shashi Krishna, HS Computer Science. |