Embedded Modem Fundamentals White Paper

Embedded Modem Fundamentals White Paper

WHITE PAPER EMBEDDED MODEM FUNDAMENTALS AND GLOSSARY INTRODUCTION The world of high technology is full of jargon that some- A modem serves to: times seems to make our lives unnecessarily complex. For- • Interface to the phone line tunately most of these concepts are not hard to understand if explained in simple terms. This document will attempt to • Seize control of the phone line (go “off-hook”) de-mystify some of the concepts involved in the areas of • Dial a phone number modem telephony. • Negotiate a common “language” or protocol with an- Even if we do not use a computer and modem to transmit other modem data to another computer and modem, we probably use mo- dems every day without realizing it. • Convert digital data to an analog form that can be sent over the analog phone network, and convert that ana- • An embedded modem is used in a point-of-sale termi- log information back to digital on the other end nal when using a credit card or debit card to purchase goods • Transmit and/or receive that data End the modem session (go “on-hook”) • An embedded modem is sometimes used when order- • ing a movie at home, using a cable or satellite televi- For the modem session to complete successfully, the control sion set-top box messages between the “calling” and “called” modems must exchange information accurately and at the appropriate • Electricity or water usage may be monitored several times in each direction. The three main culprits waiting to times during the day and transmitted to the utility com- defeat this process are network delay, network echo, and pany via an embedded modem signal levels. A modem solves these potential problems, usually quite successfully. The purpose of this document is to introduce basic concepts of telephone networks and mo- dems, and to help provide a better understanding of each. OT000400-MOD0299 1 White Paper Modem Fundamentals ZiLOG MODEM FUNCTIONAL BLOCKS Every modem includes four basic functional blocks. (speed) of the modem signal determine the precision or sig- Though these functional blocks can be partitioned in dif- nal resolution characteristics of the AFE. ferent ways, depending on the implementation, these four functions are always performed in modems. Digital Signal Processor The Digital Signal Processor (DSP) is usually a specialized microprocessor that performs highly complex math func- Modem tions. In the modem world, DSP techniques improve the ac- Telephone curacy and reliability of digital communications. Some- DTE Modem Local Loop DSP AFE DAA times called the modem data pump, it is where the real Control magic is performed in a modem. A DSP is able to differentiate between orderly data signals and noise, which is inherently chaotic. Noise is the bane of Figure 1. Modem Functional Blocks communications engineers, who are always striving to find new ways to improve the signal-to-noise (S/N) ratio in com- Data Access Arrangement munications systems. Traditional methods of optimizing S/N ratio include increasing the transmitted signal power The Data Access Arrangement, or DAA, interfaces the mo- and increasing the receiver sensitivity. Digital signal pro- dem to the phone network. This interface is required by the cessing dramatically improves the sensitivity of a receiving FCC and PTT’s throughout the world to provide safety pro- unit. tection both to the end user and to the telephone switching lines. DAA’s usually consist of discrete components and If an incoming signal is analog, (for example, a standard provide many features, including voltage isolation, detect modem), the signal is first converted to digital form by the Caller ID signals, detect ring signals, and perform on-hook AFE. The resulting digital signal has two or more levels. and off-hook functions. Ideally, these levels are always predictable, exact voltages, or currents. However, because the incoming signal contains DAA’s usually consist of discrete components such as re- noise, the levels are not always at the standard values. The lays and a transformer; however, there are new program- DSP circuit adjusts the levels so they are at the correct val- mable silicon implementations that perform the DAA func- ues, which practically eliminates the noise. tion. These solid state DAA’s typically reduce component count, board area, and power consumption, but may be too DSP techniques are also used to modulate data onto a car- expensive for cost-sensitive low speed modem applica- rier signal, and demodulate that data from the carrier signal. tions. Thus, the derivation for the name modem: MOdulator/DE- Modulator. Analog Front End The Analog Front End (AFE) performs both analog-to-dig- Modem Control ital conversion (ADC) and digital-to-analog conversion The Modem Control function regulates the actions of the (DAC). The AFE is sometimes called the modem codec, modem DSP, interprets AT commands, and performs error or Coder/Decoder. Particular data protocols and data rates control and data compression on the signal. In embedded systems, the modem controller is usually an 8-bit micro- processor. 2 P R E L I M I N A R Y OT000400-MOD0299 White Paper ZiLOG Modem Fundamentals TELEPHONE NETWORK BASICS The telephone network that we use every day has several at the other end. This digital data is modulated (encoded) different names. The Plain Old Telephone Service (POTS) onto an analog carrier wave. and PSTN (Public Switched Telephone Network) are the The typical telephone subscriber line, or local loop, con- most common names, although the term GSTN is some- nects the subscriber to the network backbone, through the times used (General Switched Telephone Network). The Central Office switch. Physically, the line is made of copper GSTN is a network that was originally designed to carry wires, with connection distances ranging from less than voice traffic; however, it now carries both voice and data 1 km (in cities) to 10 km (in rural areas). traffic. The phone network typically consists of analog sig- naling, over the ubiquitous medium of twisted-pair copper These lines are powered by a 48-volt battery, which is lo- wiring. cated at the Central Office (CO). This battery allows the telephone line to be used at all times, even during times of One purpose of a modem is to convert data, in its common power outage. digital form, to an analog signal, for transmitting over a phone network, then convert the data back to digital form Data Data Central Public Switched Central Terminal Modem Modem Terminal Office Telephone Network Office Equipment Equipment Local Local Loop Loop Figure 2. Typical Phone Network OT000400-MOD0299 P R E L I M I N A R Y 3 White Paper Modem Fundamentals ZiLOG CALL PROGRESS Call progress signals indicate the state of a particular tele- Pulse dialing interrupts the “hold-in” current a certain phone call. These include Dial tone, Ring tone, Busy Tone, number of times equal to the “number” being dialed, which and DTMF tone. is detected at the Central Office. Old-style rotary dial phones use the pulse dialing method. Phone networks have Off-Hook to be able to recognize both tone dialing and pulse dialing. The Off-Hook state is determined when a person or tele- phony device (for example, a modem) completes the con- Ringing nection between tip and ring by picking up the telephone If the called party is not using the telephone line, the Central handset or closing a relay in a modem. This activity causes Office returns a ring signal (or ring-back tone) to the calling a relay in the Central Office to close, completing the local party. This signal is comprised of a tone and a cadence (on- loop and causing a dial tone to be returned to the calling time, off-time) for certain countries. The ring-back tone in party. The completed connection creates a “hold-in” current France is “on” for 1.5 seconds and “off” for 3.5 seconds. to flow between the subscriber and the Central Office. The ring-back tone in North America is “on” for 2 seconds and “off” for 4 seconds. Dial Tone The dial tone can be significantly different from country to Call Completion country. Certain country dial tones are steady tones with no When the receiving party takes the phone off-hook, the cir- break, while other countries have dial tones that are on/off cuit is completed between the calling party and receiving cadences of some arrangement or another. The tone fre- party, allowing the call to proceed. quencies differ as well. Negotiation, Training, Handshake For example, a dial tone in the U.K. is comprised of a 350- Once the receiving modem takes the line off-hook, the ne- 400 Hz tone that is “on” for 0.75 seconds, and “off” for 0.75 gotiation phase can begin. This is the process whereby each seconds. The dial tone in France is similar, except it can be modem will transmit certain information to the other mo- in the range of 315 Hz to 455 Hz; that is, a continuous tone dem in an attempt to agree on common protocols, speeds, with no “off” period. The Dial tone in North America is a etc. The initial training session is conducted to probe the continuous tone in the range of 245 to 650 Hz. line for configuration of the modems (equalization, nonlin- Dialing ear coding, pre-emphasis, pre-coding, shaping, mapping, Once a dial tone has been established, dialing can begin. Di- etc.). aling can be performed in one of two ways, either tone di- After a successful negotiation, the modems handshake— aling or pulse dialing. that is, they exchange control characters in addition to the Tone dialing, also called Dual Tone, Multiple Frequency data that was transmitted after a successful link negotiation.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    16 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us