Narrowband
A standard modem of today is what would have been called a "smart modem" in the 1980s. They contain two functional parts: an analog section for generating the signals and operating the phone, and a digital section for setup and control. This functionality is actually incorporated into a single chip, but the division remains in theory.
In operation the modem can be in one of two "modes", data mode in which data is sent to and from the computer over the phone lines, and command mode in which the modem listens to the data from the computer for commands, and carries them out. A typical session consists of powering up the modem (often inside the computer itself) which automatically assumes command mode, then sending it the command for dialling a number. After the connection is established to the remote modem, the modem automatically goes into data mode, and the user can send and receive data. When the user is finished, the escape sequence, "+++" followed by a pause of about a second, is sent to the modem to return it to command mode, and the command to hang up the phone is sent. One problem with this method of operation is that it is not really possible for the modem to know if a string is a command or data. Funny things happen when they get confused.
The commands themselves are typically from the Hayes command set, although that term is somewhat misleading. The original Hayes commands were useful for 300 bit/s operation only, and then extended for their 1200 bit/s modems. Hayes was much slower upgrading to faster speeds however, leading to a proliferation of command sets in the early 1990s as each of the high-speed vendors introduced their own command styles. Things became considerably more standardized in the second half of the 1990s, when most modems were built from one of a very small number of "chip sets", invariably supporting a rapidly converging command set. We call this the Hayes command set even today, although in this use the terminology is misleading: the command set in question has three or four times the numbers of commands.
The 300 bit/s modems used frequency-shift keying to send data. In this system the stream of 1's and 0's in computer data it translated into sounds which can be easily sent on the phone lines. In the Bell 103 system the originating modem sends 0's by playing a 1070 Hz tone, and 1's at 1270 Hz, wih the receiving modem putting its 0's on 2025 Hz and 1's on 2225 Hz. These frequencies were chosen carefully, they are in the range that suffer minimum distortion on the phone system, and also are not harmonics of each other. In early systems the choice of answer or originate was selected by a switch on the front of the modem, but as time went on the Smartmodems would assume original if asked to dial, and answer if asked to answer the phone.
In the 1200 bit/s and faster systems, phase-shift keying was used. In this system the two tones for any one side of the connection are sent at the similar frequencies as in the 300 bit/s systems, but slightly out of phase. By comparing the phase of the two signals, 1's and 0's could be pulled back out, for instance if the signals were 90 degrees out of phase, this represented two digits, "1, 0", at 180 degrees it was "1, 1". In this way each cycle of the signal represents two digits instead of one, 1200 bit/s modems were, in effect, 600 bit/s modems with "tricky" signalling.
It was at this point that the difference between baud and bit per second became real. Baud refers to the signaling rate of a system, in a 300 bit/s modem the signals sent one bit per signal, so the data rate and signalling rate was the same. In the 1200 bit/s systems this was no longer true, the modems were actually 600 baud. This led to a series of flame wars on the BBS's of the 80s.
Increases in speed since then have invariably used more pairs of such low-speed signals for each side of the conversation, with 2400 bit/s modems using two pairs for each side, and 9600 bit/s eight pairs. There is a limit to how far this can be taken; eventually the signals will start to overlap and the system stops working. This limit is around 33.6 kbit/s (near the Shannon limit), which became possible due more to improvements in the underlying phone system than anything in the technology of the modems themselves.
Software is as important to the operation of the modem today as the hardware. Even with the improvements in the performance of the phone system, modems still lose a considerable amount of data due to noise on the line. The MNP standards were originally created to automatically fix these errors, and later expanded to compress the data at the same time. Today's v.42 and v.42bis fill these roles in the vast majority of modems, and although later MNP standards were released, they are not common.
With such systems it is possible for the modem to transmit data faster than it's basic rate would imply. For instance, a 2400 bit/s modem with v.42bis can transmit up to 9600 bit/s, at least in theory. One problem is that the compression tends to get better and worse over time, at some points the modem will be sending the data at 4000 bit/s, and others at 9000 bit/s. In such situations it becomes necessary to use hardware flow control, extra pins on the modem-computer connection to allow the computers to signal data flow. The computer is then set to supply the modem at some higher rate, in this example at 9600 bit/s, and the modem will tell the computer to stop sending if it cannot keep up. A small amount of memory in the modem, a buffer, is used to hold the data while it is being sent.
Almost all modern modems also do double-duty as a fax machine as well. Digital faxes, introduced in the 1980s, are simply a particular image format sent over a high-speed (9600/1200 bit/s) modem. Software running on the host computer can convert any image into fax-format, which can then be sent using the modem. Such software was at one time an add-on, but since has become largely universal.
A Winmodem or Softmodem is a stripped-down modem for Windows that replaces tasks traditionally handled in hardware with software. In this case the computer's built-in sound hardware is used to generate the tones normally handled by the analog portion of the modem. A small piece of hardware is then used to connect the sound hardware to the phone line. Modern computers often include a very simple card slot, the communications/networking riser slot (CNR), to lower the cost of connecting it up. The CNR slot includes pins for sound, power and basic signalling, instead of the more expensive PCI slot normally used. One downside of the Winmodem system is that the software generating the modem tones is not that simple, and the performance of the computer as a whole suffers when it is being used. For online gaming this can be a real concern.
Today's modern audio modems (ITU-T V.92 standard) closely approach the Shannon capacity of the PSTN telephone channel. They are plug-and-play fax/data/voice modems (broadcast voice messages and records touch tone responses).
Broadband
ADSL modems are also a kind of modem, the main difference being that they are not limited to the "voiceband" audio frequencies carried over the telephone line. Recent ADSL modems use coded orthogonal frequency division modulation.
Cablemodems are also a kind of modem, this time using a range of frequencies originally intended to carry RF television channels. Multiple cable modems attached to a single cable can use the same frequency band, using a low-level media access protocol to allow them to work together within the same channel. Typically, 'up' and 'down' signals are kept separate using frequency division multiplexing.
Nowadays, are beginning to appear new types of broadband modems, like doubleway satellite and powerline modems.
Internet access
Modems are the most popular means of Internet access. A UCLA 2001 study of American Internet users shows that 81.3% of them use a telephone modem and 11.5% cablemodem, an order of magnitude more than any other method.
See also
56k line, flat rate, modulation (for a fuller list of modulation techniques), TCP-IP, digital to analog converter
Source | Copyright