Professional Documents
Culture Documents
Student Workbook
91582-00
Edition 4
>{Z4\3G
3091582000603
FOURTH EDITION
All rights reserved. No part of this publication may be reproduced, stored in a retrieval system,
or transmitted in any form by any means, electronic, mechanical, photocopied, recorded, or
otherwise, without prior written permission from Lab-Volt Systems, Inc.
Information in this document is subject to change without notice and does not represent a
commitment on the part of Lab-Volt Systems, Inc. The Lab-Volt F.A.C.E.T. software and
other materials described in this document are furnished under a license agreement or a
nondisclosure agreement. The software may be used or copied only in accordance with the terms
of the agreement.
ISBN 0-86657-304-6
ISBN 978-0-86657-304-7
Table of Contents
Unit 1 Circuit Board Familiarization........................................................................................1
Exercise 1 Introduction to the Circuit Board ...........................................................................7
Exercise 2 Communications System Model ............................................................................8
Unit 2 Line Coding....................................................................................................................11
Exercise 1 Encoding...............................................................................................................15
Exercise 2 Decoding ..............................................................................................................17
Unit 3 Frequency-Shift Keying ................................................................................................19
Exercise 1 FSK Signal Generation.........................................................................................24
Exercise 2 FSK Asynchronous Detection ..............................................................................26
Exercise 3 FSK Synchronous Detection ................................................................................28
Unit 4 Phase Shift Keying.........................................................................................................31
Exercise 1 PSK Signal Generation.........................................................................................34
Exercise 2 Synchronous Detection.........................................................................................36
Unit 5 Amplitude Shift Keying ................................................................................................39
Exercise 1 ASK Signal Generation ........................................................................................42
Exercise 2 ASK Signal Detection ..........................................................................................44
Unit 6 Effects of Noise...............................................................................................................47
Exercise 1 Channel Simulator................................................................................................54
Exercise 2 The Effects of Noise on ASK/PSK ......................................................................56
Exercise 3 The Effects of Noise on FSK ...............................................................................58
Unit 7 Modem............................................................................................................................61
Exercise 1 FSK Modem .........................................................................................................68
Exercise 2 DPSK Modem ......................................................................................................70
Appendix A Safety ............................................................................................................... A-73
THIS
ii
Introduction
This Student Workbook provides a unit-by-unit outline of the Fault Assisted Circuits for
Electronics Training (F.A.C.E.T.) curriculum.
The following information is included together with space to take notes as you move through the
curriculum.
iii
THIS
iv
Digital Communications 2
UNIT OBJECTIVE
At the completion of this unit, you will be able to explain and demonstrate the principles of
digital modulation and demodulation and the circuit blocks on your DIGITAL
COMMUNICATIONS 2 circuit board.
UNIT FUNDAMENTALS
In today's fast-paced technological market, new electronic devices appear almost every day for
consumer entertainment, business management, industrial control, and data processing
applications. To expand and enhance the operation, versatility, and usefulness of these devices,
they can be linked together through digital communications.
Digital Communications 2
This figure shows generally how a digital input signal is processed for transmission and
reception. At the transmitter end the input signal drives an encoder, which changes the data into a
form that is suitable for transmission. The encoded signal is then processed by a modulator,
which prepares the information for transmission. The modulated signal is transmitted over a
transmission medium, or channel. Typical transmission media include the airwaves, wires, and
optical fibers.
The demodulator output signal is identical to the encoded signal before it is modulated in the
transmitter section. The recovered digital signal is identical to the original input signal.
There are several methods of transforming, or encoding, the transferred information into a binary
format as shown here. The three most common coding techniques are NRZ (non return to zero),
RZ (return to zero), and MAN (Manchester). The method chosen depends on several
transmission criteria, which will be explained in the following units.
This figure shows several different types of digital modulation used in transmission, and their
relationship to an NRZ coded signal. The modulation types are FSK (frequency shift keying),
PSK (phase shift keying), and ASK (amplitude shift keying). Notice that the modulated signals
change for some of the bit times (the intervals labeled 1-5). You will examine the three
modulation types in detail in later units.
Digital Communications 2
The three basic types of communication are simplex, half-duplex, and full-duplex, as shown
here. Simplex involves a one-way communication from one device to another. Half-duplex is
bidirectional communication over a single channel. Since one channel is used, the two devices
must time-share it. In other words, each computer can transmit to the other, but not
simultaneously. Full-duplex makes use of two separate channels to allow simultaneous
transmission and reception by both devices.
This figure shows a typical digital communication system between two computers. Each
computer is connected to a modem (modulator-demodulator). The modem modulates outgoing
signals for transmission and demodulates in-coming signals for reception. In this example, the
information is transferred over telephone lines. The signal carried via the channel is an analog
signal modulated with the encoded digital data. Transmission that uses modulation techniques,
such as in the example shown, is called broadband transmission.
Digital Communications 2
It is also possible for two devices with a direct interconnection to communicate without
modulation. This is called baseband transmission. A signal transmitted directly without being
modulated is called a baseband signal. Baseband transmission limits both the bandwidth of the
transmission and the distance between the transmitting and receiving devices.
Depending on the modulation technique and the transmission medium, errors can occur in the
transmission of data. To minimize such errors, the transmitting and receiving devices must
conform to certain communication rules and procedures, known as protocols. Errors in digital
communication are changes in the bit pattern of the data, which can be caused by interference,
noise, or equipment malfunctions. Protocols are employed to detect and correct transmission
errors.
One function of protocols is to ensure that data transmission occurs in an orderly fashion. This
can be accomplished with either synchronous or asynchronous communication. Asynchronous
communication usually uses a start bit at the beginning of each word and one or more stop bits
at the end of each word. When no information is being transmitted, the channel is normally in the
logic high state.
The start bit is a low-going pulse that signals the beginning of the word to be transmitted. The
start bit is followed by eight bits of serial data. After the last data bit, the stop bit(s) signals the
end of transmission for that word.
In high-speed or high-volume data transmission, the extra bits associated with each word can be
a disadvantage due to the additional transmission time required. This disadvantage is eliminated
by using synchronous communication.
Digital Communications 2
In synchronous communication, special control characters are sent at the beginning and end of a
large data block. In the example shown, transmission begins with two 8-bit synchronization
characters (SYN). The data is then transmitted in a block, which could consist of up to several
hundred or several thousand continuous bytes. After the last byte, the end-of-transmission
character (ETX) terminates the transfer.
NEW TERMS AND WORDS
modem - a signal conversion device that contains both a modulator and demodulator.
broadband - relating to the transmission of signals over a frequency range that is produced by a
modulated-carrier system.
baseband - the band of frequencies associated with an original signal from a modulated source;
an encoded but unmodulated message signal.
protocols - rules of communication system operation that must be followed.
synchronous - relating to events that occur at the same time or that depend on the occurrence of
common timing signal; operating at the same frequency or at a frequency derived from the
system.
asynchronous - relating to events that occur without a regular or predictable time relationship to
a specified event; operating at independent frequencies.
start bit - a bit that precedes data bits in a transmission and signals the beginning of the
transmission.
stop bits - a bit that follows data bits in a transmission and signals the end of the transmission. It
also provides space between transmission.
data block - a group of data bits transmitted as a unit.
BER (bit error rate) - the amount of incorrect data bits received in a digital transmission in a
specified period of time.
on-off keying (OOK) - a form of ASK modulation in which the smaller amplitude is OV.
EQUIPMENT REQUIRED
F.A.C.E.T. base unit
DIGITAL COMMUNICATIONS 2 circuit board
Oscilloscope, dual trace
Digital Communications 2
NOTES
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
Digital Communications 2
Digital Communications 2
Digital Communications 2
NOTES
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
Digital Communications 2
10
Digital Communications 2
UNIT OBJECTIVE
At the completion of this unit, you will be able to describe encoding and decoding methods for
common data codes. You will use the ENCODING circuit block on the DIGITAL
COMMUNICATIONS 2 circuit board.
UNIT FUNDAMENTALS
In baseband data transmission, the message signal containing the data is transmitted directly
through the transmission channel.
Binary data is often encoded into a series of pulses. The digital circuitry inside a computer often
uses +5V for a 1 state (mark) and 0V (space) for a 0 state. When data communications concerns
the transmission of data from one location to another, the data is commonly encoded.
There are many types of line codes in use such as AMI, RZ, NRZ, and Manchester. Choice of a
line code is judged by trade-offs between frequency response, bandwidth, clocking content, and
dc drift.
11
Digital Communications 2
A line code that is used in the T1-Digital Transmission System is called the alternate mark
inversion, or AMI. A mark, or 1, is represented by either a positive or negative pulse
symmetrical around 0V. Notice that alternate marks are inverted and have a typical value of +3V
or -3V.
The encoded signal cannot be transferred from one location to another without signal
synchronization between the two locations. In a synchronous system, the transmitter and receiver
clocks must be synchronous. When practical, the transmitter's clock can be sent using a separate
clock line.
Many types of transmitted encoded signals contain partial or full clocking information. This
allows the receiver to extract the clock timing information from the transmitted signals.
When clocking information is extracted from some types of encoded signals, it is often
dependent on the message information being transmitted.
12
Digital Communications 2
Special line coding schemes are used with AMI signals to provide proper clock recovery when
long strings of 0's are transmitted.
In a Binary 8-Zero Substitution scheme (B8ZS), strings of 8 zeros are detected at the transmitter
and substituted with code patterns containing 1's. At the receiver, these substituted code patterns
are used for clock recovery and then changed back to the correct code of 8 zeroes.
NEW TERMS AND WORDS
baseband data transmission - when a signal is transmitted without modification, no carrier
signal.
line coding - encoding techniques used in data transmissions.
frequency spectrum - the distribution of the amplitude (energy) of a signal as a function of
frequency.
unipolar signals - signals that have one polarity (+ or -) with respect to circuit common (zero).
polar signal - signals possessing positive or negative polarity with respect to circuit common
(zero).
baud - a unit of signaling speed equal to the reciprocal of the shortest element duration in
seconds.
encoded - to express information in terms of a code.
decode - to produce clear information from previous encoded data.
bps - the rate at which bits or binary digits are transmitted.
EQUIPMENT REQUIRED
F.A.C.E.T. base unit
DIGITAL COMMUNICATIONS 2 circuit board
Multimeter
Oscilloscope, dual trace
Generator, sine wave
13
Digital Communications 2
NOTES
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
14
Digital Communications 2
Exercise 1 Encoding
EXERCISE OBJECTIVE
When you have completed this exercise, you will be able to describe three common data
encoding techniques used in digital communications, and explain the benefits of each. You will
verify your results by using timing diagrams and an oscilloscope.
DISCUSSION
When transmitting data, message signal characteristics must be matched to the transmission
channel.
Different signal encoding techniques offer trade-offs between bandwidth, clocking content,
and dc drift.
The binary levels of NRZ data remain fixed for the duration of the bit time.
In RZ encoding, the binary levels are represented during the first half of the bit time, and the
second half-bit is always zero.
0s and 1s in Manchester data encoding are sent in the first half bit time and the complement
is sent for the second half bit.
RZ and Manchester codes combine clocking information with the data.
When Manchester is used, clocking information can be recovered regardless of the data
pattern.
Unipolar signals typically switch between 0 and +5V.
Polar signals switch between a negative and a positive voltage (-5 to +5V).
Many communications channels are ac-coupled and, therefore, act like a bandpass filter.
Manchester encoding can provide a bandwidth which matches the capacity of an ac-coupled
channel.
15
Digital Communications 2
NOTES
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
16
Digital Communications 2
Exercise 2 Decoding
EXERCISE OBJECTIVE
When you have completed this exercise, you will be able to describe three common methods
used to decode RZ and Manchester signals into NRZ signals. You will verify your results by
using timing diagrams and an oscilloscope.
DISCUSSION
Sometimes data and clock signals are sent over seprare lines.
RZ and Manchester coded data can be decoded using a D-type flip-flop.
An XOR gate can be used to decode Manchester coded data.
17
Digital Communications 2
NOTES
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
18
Digital Communications 2
UNIT OBJECTIVE
At the completion of this unit, you will be able to describe frequency-shift keying and use the
circuits on the DIGITAL COMMUNICATIONS 2 circuit board to generate and detect FSK
signals.
UNIT FUNDAMENTALS
Most analog channels have a bandwidth that is unsuitable for the conveyance of baseband
digital signals. The received signal no longer contains the transmitted data.
The channel's bandwidth limitations distort signals that contain frequencies outside the channel's
passband. Note that most of the frequency components are below the channel's passband.
19
Digital Communications 2
With the addition of a modulator and demodulator, a carrier signalcan be used that is
compatible with the channel's passband. The frequency-shift keying (FSK) modulator transmits a
carrier signal that represents the baseband signal.
The modulated carrier signal stays within the passband of the channel and is not attenuated. The
demodulator receives the carrier signal from the channel and recovers the baseband digital
signal.
FSK is a type of frequency modulation (FM). The FSK modulator generates a carrier signal
that changes in frequency. The modulating signal controls the output frequency. Unlike analog
FM, FSK uses a digital modulating signal. The FSK carrier signal is switched between two
specific frequencies by the digital modulating signal.
The carrier frequencies used to represent the digital states are selected to be compatible with the
intended channel's passband. Satellite transmissions typically use microwave carrier signals at
frequencies above 1 gigahertz. Phone transmission uses audio carrier signals at frequencies
between 300 Hz and 3 kHz.
20
Digital Communications 2
If the channel's passband is wide enough, two carrier signals can be used to provide full-duplex
operation. The BELL 103 standard defines a full-duplex 300 baud FSK modem using two audio
carrier signals. The station originating the call transmits 1070 Hz for a logic low and 1270 Hz for
a logic high. The station answering the phone transmits a 2025 Hz for a logic low and 2225 Hz
for a logic high. Each change in the baseband signal generates one change in the 300 baud BELL
103 FSK carrier frequency.
FSK demodulators fall into two basic categories, synchronous and asynchronous.
Asynchronous demodulators filter the carrier signal before using an envelope detectorto recover
the baseband signal. Synchronous demodulators synchronize a reference signal with the carrier
signal to detect changes in carrier frequency and recover the baseband signal.
21
Digital Communications 2
22
Digital Communications 2
NOTES
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
23
Digital Communications 2
24
Digital Communications 2
NOTES
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
25
Digital Communications 2
26
Digital Communications 2
NOTES
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
27
Digital Communications 2
28
Digital Communications 2
NOTES
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
29
Digital Communications 2
30
Digital Communications 2
UNIT OBJECTIVE
At the completion of this Unit, you will be able to explain and demonstrate the principles of PSK
signal generation, carrier synchronization, and synchronous detection.
UNIT FUNDAMENTALS
Phase shift keying (PSK) is a form of modulation in which the phase of the carrier signal shifts
each time the digital intelligence signal changes state. The figure shows just after the NRZ signal
switches from high to low, the PSK signal at 0 and in phase with the carrier signal.
With reference to the carrier signal, the PSK signal phase shift is 0 for low NRZ states, and
180 for high NRZ states.
This figure shows how the intelligence signal is PSK-modulated on your circuit board. The
digital input signal has logic levels of 0V and +5V. A level shifter changes the logic levels to 5V and +5V. The dc-offset signal is then multiplied with the carrier signal in a balanced
modulator to produce the PSK signal.
31
Digital Communications 2
PSK signals must be detected synchronously because asynchronous detection does not recognize
phase shifts. In demodulating a PSK signal, it is necessary to regenerate the carrier signal at the
receiver end. This is accomplished by deriving the carrier signal from the received PSK signal
with a carrier synchronizer consisting of frequency doubler, PLL, 2, and 90 phase shift
circuitry.
The regenerated carrier signal is then combined with the PSK signal in a product detector. The
product detector output is low-pass filtered, and the resulting pulses are shaped by a voltage
comparator to recover the original digital intelligence signal from the received signal.
NEW TERMS AND WORDS
None
EQUIPMENT REQUIRED
F.A.C.E.T. base unit
DIGITAL COMMUNICATIONS 2 circuit board
Oscilloscope, dual trace
32
Digital Communications 2
NOTES
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
33
Digital Communications 2
34
Digital Communications 2
NOTES
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
35
Digital Communications 2
36
Digital Communications 2
NOTES
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
37
Digital Communications 2
38
Digital Communications 2
UNIT OBJECTIVE
When you have completed this unit, you will be able to explain and demonstrate the principles of
ASK signal generation and detection.
UNIT FUNDAMENTALS
Most analog channels have a limited bandwidth that is unfit for the transmission of baseband
digital signals. To transmit baseband digital signals over analog channels, it is first necessary to
use some form of modulation.
Modulation mixes the baseband digital signals with a carrier signal that is compatible with the
channel's passband. The amplitude-shift keying (ASK) modulator produces amplitude changes in
the modulated signal to represent the baseband signal. The demodulator receives the ASK carrier
from the channel.
39
Digital Communications 2
An electronic SPDT switch, controlled by the digital modulating signal, can be used to illustrate
ASK modulation. The large carrier is connected (switch up) to the output for a binary 1. The
small carrier is connected (switch down) to the output for a binary 0.
An electronic SPST switch can be used to illustrate a simpler type of ASK modulation. The
carrier is connected (switch closed) to the output for a binary 1.
The carrier is disconnected (switch open) from the output for a binary 0. This special technique
of amplitude modulation is called on-off keying (OOK). The abrupt on and off changes between
signaling elements requires an increased channel bandwidth over standard ASK.
40
Digital Communications 2
EQUIPMENT REQUIRED
F.A.C.E.T. base unit
DIGITAL COMMUNICATIONS 2 circuit board
Multimeter
Oscilloscope, dual trace
Generator, sine wave
NOTES
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
41
Digital Communications 2
42
Digital Communications 2
NOTES
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
43
Digital Communications 2
44
Digital Communications 2
NOTES
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
45
Digital Communications 2
46
Digital Communications 2
UNIT OBJECTIVE
At the completion of this unit you will be able to explain and demonstrate the effects of noise on
the reception of a digital signal.
UNIT FUNDAMENTALS
Noise is random, undesirable electrical energy that can interfere with the transmitted message in
a communications system.
External noise (from outside the system) can be man-made or occur naturally and can enter the
system via the channel.
Internal noise (from inside a circuit or component) can be produced in the transmitter or
receiver.
There are many possible sources of external noise. Atmospheric disturbances such as lightning
can cause static. Various types of radiation emitted by the sun and other stars can also interfere
with communications.
47
Digital Communications 2
Sources of troublesome man-made noise include; power lines, automotive ignition systems,
electric motors, and fluorescent lights
Many electronic components generate internal noise due to thermal agitation of the atoms.
Because the noise level is temperature-related, it is termed thermal noise. Thermal noise is a
form of white noise, which has the same amount of energy over a wide range of frequencies.
Another type of noise is shot noise which is random noise produced by current through a
semiconductor junction. The level of shot noise is proportional to the junction's bias current.
48
Digital Communications 2
Low-pass noise ranges from dc to a certain cutoff frequency. In this example, the cutoff
frequency is about 300 kHz.
Bandpass noise occurs over a band of specific frequencies, but not outside those frequencies.
In analog communications, where the intelligence signal may be voice or music, you can detect
the effects of noise as static or audio distortion.
49
Digital Communications 2
In digital communications, excessive noise can change the value of individual data bits, resulting
in the reception of invalid or erroneous data.
Most signals also include some noise. Excessive noise can cause some or all of the signal
information to be lost. To minimize the effects of noise, its level should be kept small relative to
the actual signal.
The top signal in this figure shows a typical digital pulse. The bottom signal is the same pulse
with the addition of noise. The noise almost obscures the original signal.
For this reason, it is important to maintain a favorable signal-to-noise ratio (SNR). The SNR is
the ratio of valid signal amplitude to noise signal amplitude, usually using rms values.
Vrms (signal)
SNR =
Vrms (noise)
The SNR is often expressed in decibels as follows:
SNR (dB) = 20 x log[Vrms(signal)/Vrms(noise)]
50
Digital Communications 2
Ideally, the highest possible signal-to-noise ratio should be maintained to ensure error-free signal
detection in a receiver.
Noise can affect either the amplitude or phase of a signal. Phase noise is due to inherent delays in
circuits and components.
Amplitude noise can be measured by determining the bit error rate (BER).
There are several ways to measure the BER. This block diagram shows the method used by the
BER COUNTER block on your circuit board.
The transmitted and received data are compared bit by bit.
If the bits do not match, an error pulse is generated.
The errors are totalized in a counter over a fixed time period generated by a one-shot.
A display indicates how many errors occurred within the time interval.
51
Digital Communications 2
52
Digital Communications 2
NOTES
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
53
Digital Communications 2
54
Digital Communications 2
NOTES
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
55
Digital Communications 2
56
Digital Communications 2
NOTES
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
57
Digital Communications 2
58
Digital Communications 2
NOTES
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
59
Digital Communications 2
60
Digital Communications 2
Unit 7 Modem
UNIT 7 MODEM
UNIT OBJECTIVE
When you have completed this Unit, you will be able to explain and demonstrate the operation of
a modem.
UNIT FUNDAMENTALS
The vast network of telephone lines throughout the world has become the most convenient and
economical medium for mass communications. Although voice is the primary signal carried by
the telephone system, this network is now widely used to carry digital information as well.
When it is necessary for two computers to communicate, voice-grade telephone lines can serve
as the communications medium. At each end of the communication link, modems are used to
convert between the baseband digital signals and the analog signals required for phone
transmission.
The modem is a device that acts as both a receiver and a transmitter; it contains both modulation
and demodulation circuitry. Modems can be set to operate in the originate mode or answer
mode, depending on whether they initiate or receive the call, respectively.
61
Digital Communications 2
Unit 7 Modem
This figure shows the basic signals in an RS232 interface. There can also be more signals,
depending on the application. The DTE sends data via its TXD (transmit data) output, and
receives data via its RXD (receive data) input. The next five lines are digital control signals that
allow the efficient transfer of data. The DTE outputs a DTR (data terminal ready) signal when it
is powered up and ready to operate.
Similarly, the DTE receives a DSR (data set ready) signal when the DCE is powered up and
ready to operate. The DTE outputs an RTS (request to send) signal when it is ready to exchange
data. When a CTS (clear to send) reply is received from the DCE, the DTE begins to transmit its
data. The DCD (data carrier detect) signal is used by the DCE to inform the DTE when a carrier
signal is present.
62
Digital Communications 2
Unit 7 Modem
These figures show the logiclevel voltages specified by the RS232 standard for both output
(upper figure) and input (lower figure) signals. A logic 0 (space) output requires a voltage in the
+5 to +15V range. A logic 1 (mark) output requires a voltage in the -5 to -15V range. The range
from -5 to +5V is a transition region for which a logic level is not defined.
The modem must be capable of transferring data at efficient rates within the limitations of the
telephone bandwidth, which is about 300 to 3000 Hz. This figure illustrates an FSK technique
using four separate frequencies for full duplex operation (simultaneous transmission in both
directions).
There are two sub-bands assigned within the telephone passband: the originate channel and the
answer channel. The originate modem sends a frequency of 1070 Hz to represent a logic 0 and
1270 Hz to represent a logic 1.
The originate frequencies are far enough apart from the answer frequencies to be selected by
filtering.
63
Digital Communications 2
Unit 7 Modem
This block diagram shows how the four frequencies are man-aged by the two modems. Modem
A transmits the 1070 and 1270 Hz tones through the channel to modem B. A bandpass filter
passes these frequencies through to the modem B demodulator. When modem B transmits, its
2025 and 2225 Hz tones are filtered by an-other bandpass filter in modem A. To simplify the
diagram, only one bandpass filter is shown for each modem.
Depending on the answer/originate status each modem selects 1 of the 2 bandpass filters. If
MODEM B has originated the call to MODEM A, then MODEM A would select the 1000 1350 Hz BPF and MODEM B would select the 1950 - 2300 Hz BPF.
PSK is another modulation type used with modems. In Unit 4, you demonstrated the two-phase
PSK method shown here. This is an absolute form of PSK because the state of each data bit
determines whether the phase shift is 0 (bit = 1) or 180 (bit = 0).
In DPSK (differential phase shift keying) the phase change for any given bit depends on the
phase of the previous bit. The type of DPSK used by the modem on your circuit board at the
higher bit rate is called dibit DPSK.
64
Digital Communications 2
Unit 7 Modem
In dibit DPSK, two bits of data (one dibit) are used to specify one of four phase changes as
shown in the table. By encoding more than one bit per phase change, dibit DPSK allows you to
increase the binary data rate without increasing the bandwidth.
A modem's operation must conform to one of several industry standards to ensure compatibility
with other devices. The TS7515 modem IC on your circuit board can operate according to the
Bell 103 or 212A standards, as well as "recommendation" V.22 of an international
telecommunications committee known as CCITT (Comit Consultatif International de
Tlgraphie et Telephonie).
This table shows a basic comparison between the two standards you will observe in the
following Exercises. Each standard has both a high and a low data-transfer rate. The high speed
for both standards is 1200 bps, and both standards use dibit DPSK modulation at this speed. The
low speed for V.22 is 600 bps, and two-phase DPSK modulation is employed. The 212A
standard has a low speed of 300 bps, with FSK as the modulation type.
This figure shows how a modem communicates between a DTE and the telephone network. The
modem has three basic sections, all with their own set of input and output signals. The transmit
section receives commands and data from the DTE and outputs an ATO (analog transmit output)
signal to the telephone network.
65
Digital Communications 2
Unit 7 Modem
The receive section inputs an RAI (receive analog input) signal from the telephone network and
sends data and commands to the DTE. The control section allows you to configure the modem
for various operating modes and parameters as required for different applications.
The input and output signals will be explained in the following exercises as they apply to FSK
(Exercise 1) and dibit DPSK (Exercise 2) operation.
NEW TERMS AND WORDS
originate mode - operation mode assigned to a modem that initiates a connection request (dials
the phone).
answer mode - operation mode assigned to a modem that responds to a connection request
(answers the phone).
DTEs (data terminal equipment) - a device, such as a computer or terminal, that exchanges
baseband data with a modem.
RS232 - an industrial standard that governs the connections, signals, and timing for one type of
serial communication system.
DPSK (differential phase shift keying) - a form of PSK by which data is recovered by
measuring the phase difference from one logic state to the next.
dibit DPSK - a form of DPSK in which one of four phases is represented by a two-bit binary
value (one dibit).
dibit - a circuit in the receiver section of a modem that reverses the scrambler's conversion
process to recover the original data. A group of two bits.
CCITT (Comit Consultatif International de Tlgraphie et Telephonie) - an international
committee established by the United Nations to recommend international telecommunications
standards of transmission with the International Telecommunications Union (ITU).
QAM (quadrature amplitude modulation) - a form of modulation in which both the amplitude
and the phase of the carrier signal can vary with the baseband data.
constellation diagram - a graphic representation of the relationship between baseband data and
the phase and/or amplitude of the modulated signal.
scrambler - a circuit in the transmitter section of a modem that converts continuous strings of
identical bits into an alternating bit pattern.
EQUIPMENT REQUIRED
F.A.C.E.T. base unit
DIGITAL COMMUNICATIONS 2 circuit board
Multimeter
Oscilloscope, dual trace
Generator, sine wave
66
Digital Communications 2
Unit 7 Modem
NOTES
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
67
Digital Communications 2
Unit 7 Modem
68
Digital Communications 2
Unit 7 Modem
NOTES
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
69
Digital Communications 2
Unit 7 Modem
70
Digital Communications 2
Unit 7 Modem
The converter's output drives a scrambler circuit that ensures the transmission of a
continuously changing bit pattern if continuous strings of ones or zeroes are input.
The SEI# control signal can be used to enable or disable the scrambler. When disabled, the
scrambler circuit is bypassed.
The next stage modulates the signal in a dibit DPSK format.
The modulated signal is filtered before being output from ATO to the channel.
In the receive section of the modem, when it is configured for dibit DPSK operation, the
modulated signal from the channel enters at RAI.
The signal is filtered and output from RFO.
The filtered signal re-enters the modem at RDI via an external connection.
The modulated signal is amplified, and the carrier and data are recovered.
A clock signal is recovered and output at RCLK.
When SEI# is enabled, the receive decoder output is descrambled, fed to a synchronous-toasynchronous converter, and output to the RXD pin.
When SEI# is disabled, the data from the receive decoder is output directly to the TEST pin
for diagnostic purposes. In this case, the RXD data is not descrambled and, therefore, is not
valid.
As with the FSK configuration, a carrier detection circuit outputs a DCD# signal to indicate
the presence or absence of a valid carrier signal.
The modem on your circuit board uses a cosine wave as the carrier.
The cosine wave is a sine wave shifted by 90.
71
Digital Communications 2
Unit 7 Modem
NOTES
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
72
Digital Communications 2
Appendix A Safety
APPENDIX A SAFETY
Safety is everyones responsibility. All must cooperate to create the safest possible working
environment. Students must be reminded of the potential for harm, given common sense safety
rules, and instructed to follow the electrical safety rules.
Any environment can be hazardous when it is unfamiliar. The F.A.C.E.T. computer-based
laboratory may be a new environment to some students. Instruct students in the proper use of the
F.A.C.E.T. equipment and explain what behavior is expected of them in this laboratory. It is up
to the instructor to provide the necessary introduction to the learning environment and the
equipment. This task will prevent injury to both student and equipment.
The voltage and current used in the F.A.C.E.T. Computer-Based Laboratory are, in themselves,
harmless to the normal, healthy person. However, an electrical shock coming as a surprise will
be uncomfortable and may cause a reaction that could create injury. The students should be made
aware of the following electrical safety rules.
1. Turn off the power before working on a circuit.
2. Always confirm that the circuit is wired correctly before turning on the power. If required,
have your instructor check your circuit wiring.
3. Perform the experiments as you are instructed: do not deviate from the documentation.
4. Never touch live wires with your bare hands or with tools.
5. Always hold test leads by their insulated areas.
6. Be aware that some components can become very hot during operation. (However, this is not
a normal condition for your F.A.C.E.T. course equipment.) Always allow time for the
components to cool before proceeding to touch or remove them from the circuit.
7. Do not work without supervision. Be sure someone is nearby to shut off the power and
provide first aid in case of an accident.
8. Remove power cords by the plug, not by pulling on the cord. Check for cracked or broken
insulation on the cord.
73
THIS
THIS