Data Communications & Computer Networks: Digital Data, Digital Signals Digital Data, Analog Signals Home Exercises
Data Communications & Computer Networks: Digital Data, Digital Signals Digital Data, Analog Signals Home Exercises
Computer Networks
Chapter 5
Fall 2008 1
Agenda
Digital Data
Digital Signals
Terms (1)
• Unipolar
—All signal elements have same sign, i.e. all positive or
all negative
• Polar
—One logic state represented by positive voltage the
other by negative voltage
• Data rate
—Rate of data transmission in bits per second
• Duration or length of a bit
—Time taken for transmitter to emit the bit
—eg. For a data rate R, the bit duration is 1/R
Interpreting Signals
• Receiver needs to know
—Timing of bits - when they start and end
—Signal levels
• What factors determine how successful the
receiver will be interpreting the incoming signal?
—Signal to noise ratio
—Data rate
—Bandwidth
—Encoding Scheme
Encoding Schemes
considerations (2)
• Error detection
—Can be built in to signal encoding
• Signal interference and noise immunity
—Some codes are better than others
• Cost and complexity
—Higher signal rate (& thus data rate) lead to higher
costs
—Some codes require signal rate greater than data rate
10
11
• Example:
1 0 1 1 0 0 0 1
+V
0 Volts
12
0V
0V
15
Differential Encoding
• Data represented by changes rather than levels
• Benefits
—More reliable detection of transition in the presence
of noise rather than to compare a value to a
threshold level
—In complex transmission layouts it is easy to loose
sense of polarity of the signal
16
• Disadvantages
—DC component
—Lack of synchronization capability
Multilevel Binary
• Uses more than two levels
18
19
0V
0V
20
21
Biphase
• Another set of coding techniques that
overcomes NRZ limitations
• Biphase
—Manchester
—Differential Manchester
22
0V
Differential Manchester
Encoding
0V
• Disadvantages
—At least one transition per bit time and possibly two
—Maximum modulation rate is twice as that of NRZ
—Requires more bandwidth
25
Tb
R R
Tb D= =
L log2 M
where
D = modulation rate in baud
R = Data rate in bps
M = number of different signal elements = 2L
L = number of bits per signal element
26
Hence maximum
Modulation rate is
2/Tb
27
Digital Data
Analog Signals
28
Modem
Corporate Network
Residence
PSTN
network Server
Modem
Access Router
29
Modulation techniques
• We will examine three basic modulation
techniques
—Amplitude Shift Keying (ASK)
—Frequency Shift Keying (FSK)
—Phase Shift Keying (PSK)
30
31
32
Multiple FSK
• More than two frequencies used
• More bandwidth efficient
• More prone to error
• Each signalling element represents more than one bit
where, fi=fc+(2i-1-M)fd
fc = carrier frequency
fd = difference frequency
M = number of different signal elements = 2L
L = number of bits per signal element
34
1170 Hz 2125 Hz
35
36
38
39
Quadrature Amplitude
Modulation
• QAM used on asymmetric digital subscriber line (ADSL)
and some wireless standards
• Combination of ASK and PSK
• Can also be considered a logical extension of QPSK
• Send two different signals simultaneously on same
carrier frequency
— Use two copies of carrier, one shifted by 90° with respect to the
other
— Each carrier is ASK modulated
— Two independent signals over same medium
— At the receiver the two signals are demodulated and combined
to produce the original binary signal
40
41
Required Reading
• Stallings chapter 5
42
43
Review Questions
• List and briefly define important factors that can be used
in evaluating or comparing the various digital-to-digital
encoding techniques
• What is differential encoding?
• Contrast all digital encoding schemes listed in this
lecture (NRZL, NRZI, Bipolar AMI, Pseudoternary,
Manchester, Differential Manchester), outlining their
advantages and disadvantages
• Define the modulation rate and write an expression
which relates it with the bit rate.
• Explain the difference between ASK, FSK and PSK
modulation techniques
• What is the difference between Binary PSK, DPSK and
QPSK?
44
45
Exercises (2)
2. The bipolar-AMI waveform representing the binary sequence
0100101011 is transmitted over a noisy channel. The received
waveform, which contains a single error, is shown in the following
figure. Locate the position of this error and explain your answer.
1 2 3 4 5 6 7 8 9 10
46