Unit 3
Unit 3
UNIT III
• Line Coding Schemes: Unipolar, Polar and Bipolar.
• Amplitude Shift Keying Technique, Frequency Shift
Keying Technique and Phase Shift Keying Technique
• Pulse Code Modulation, Delta Modulation
• Guided Media: Twisted pair, coaxial and Fiber optic
cables.
• Unguided Media: Radio waves, Microwaves and
Infrared.
DIGITAL-TO-DIGITAL CONVERSION
Data can be either digital or analog. Signals that represent data can
also be digital or analog. In this section, we see how we can
represent digital data by using digital signals.
In other words, data elements are what we need to send; signal elements are
what we can send. Data elements are being carried; signal elements are the carriers.
The ratio represented by r is defined as the number of data elements carried by each
signal element
Data Rate Versus Signal Rate
Solution
We assume that the average value of c
is 1/2 . The baud rate is then
4.10
Note
4.11
Example
4.12
Considerations for choosing a good
signal element referred to as line
encoding
• Baseline wandering - a receiver will evaluate the
average power of the received signal (called the
baseline) and use that to determine the value of
the incoming data elements. If the incoming signal
does not vary over a long period of time, the
baseline will drift and thus cause errors in
detection of incoming data elements.
• A good line encoding scheme will prevent long
runs of fixed amplitude.
4.13
Line encoding characteristics
4.14
Line encoding characteristics
4.15
Figure 4.3 Effect of lack of synchronization
4.16
Example 4.3
4.17
Line encoding characteristics
4.18
Line encoding characteristics
4.19
Figure Line coding schemes
4.20
Unipolar
• All signal levels are on one side of the time axis ,
either above or below.
• +v define 1 and –v define 0.
• NRZ - Non Return to Zero scheme is an example of
this code. The signal level does not return to zero
at a middle of the bit.
• Scheme is prone to baseline wandering and DC
components. It has no synchronization or any
error detection. It is simple but costly in power
consumption.
4.21
Figure Unipolar NRZ scheme
4.22
Polar - NRZ
• The voltages are on both sides of the time axis.
• Polar NRZ scheme can be implemented with two
voltages. E.g. +V for 0 and -V for 1.
• There are two versions:
– NZR - Level (NRZ-L) - positive voltage for one symbol
and negative for the other
– NRZ - Inversion (NRZ-I) - the change or lack of change in
polarity determines the value of a symbol. E.g. a “1”
symbol inverts the polarity a “0” does not.
4.23
Figure 4.6 Polar NRZ-L and NRZ-I schemes
4.24
Note
4.25
Note
4.26
Note
4.27
Example
Solution
The average signal rate is S= N / 2 =
500 kbaud. The minimum bandwidth for
this average baud rate is Bmin = S =
500 kHz.
4.29
Figure 4.7 Polar RZ scheme
4.30
Polar - Biphase: Manchester and
Differential Manchester
• Manchester coding consists of combining the
NRZ-L and RZ schemes.
– Every symbol has a level transition in the middle: from
high to low or low to high. Uses only two voltage levels.
• Differential Manchester coding consists of
combining the NRZ-I and RZ schemes.
– Every symbol has a level transition in the middle. But
the level at the beginning of the symbol is determined
by the symbol value. One symbol causes a level change
the other does not.
4.31
Figure 4.8 Polar biphase: Manchester and differential Manchester schemes
4.32
Note
4.33
Note
4.34
For example: B8ZS substitutes eight
consecutive zeros with 000VB0VB.
The V stands for violation, it violates the
line encoding rule
B stands for bipolar, it implements the
bipolar line encoding rule
4.36
Figure 4.19 Two cases of B8ZS scrambling technique
4.37
HDB3 substitutes four consecutive
zeros with 000V or B00V depending
on the number of nonzero pulses after
the last substitution.
If # of non zero pulses is even the
substitution is B00V to make total # of
non zero pulse even.
If # of non zero pulses is odd the
substitution is 000V to make total # of
non zero pulses even.
4.38
Figure 4.20 Different situations in HDB3 scrambling technique
4.39
DIGITAL-TO-ANALOG CONVERSION
DIGITAL-TO-ANALOG CONVERSION
Topics to be discussed
Aspects of Digital-to-Analog Conversion
Amplitude Shift Keying
Frequency Shift Keying
Phase Shift Keying
Quadrature Amplitude Modulation
Digital to Analog Conversion
• Converting digital data to a bandpass analog signal is
traditionally called digital to- analog conversion
• Digital-to-analog conversion is the process of changing
one of the characteristics of an analog signal based on
the information in digital data.
• Digital data needs to be carried on an analog signal.
• A carrier signal (frequency fc) performs the function of
transporting the digital data in an analog waveform.
• The analog carrier signal is manipulated to uniquely
identify the digital data being carried.
Figure 1 Digital-to-analog conversion
111
Introduction
Under the simplest conditions, a medium can carry only one
signal at any moment in time.
For multiple signals to share one medium, the medium must
somehow be divided, giving each signal a portion of the total
bandwidth.
The current techniques that can accomplish this include
• frequency division multiplexing (FDM)
• time division multiplexing (TDM)
• Synchronous vs statistical
• wavelength division multiplexing (WDM)
• code division multiplexing (CDM)
112
Multiplexing
Multiplexor (MUX)
Demultiplexor (DEMUX)
Sometimes just called a MUX
113
Multiplexing
• Two or more simultaneous transmissions
on a single circuit.
– Transparent to end user.
• Multiplexing costs less.
114
Frequency Division Multiplexing
Assignment of non-overlapping frequency ranges to each
“user” or signal on a medium. Thus, all signals are
transmitted at the same time, each using different
frequencies.
A multiplexor accepts inputs and assigns frequencies to each
device.
The multiplexor is attached to a high-speed communications
line.
A corresponding multiplexor, or de-multiplexor, is on the end
of the high-speed line and separates the multiplexed signals.
115
Frequency Division Multiplexing
118
119
Synchronous Time Division Multiplexing
121
Sample Output Stream generated by a
Synchronous Time Division Multiplexing
122
Synchronous Time Division Multiplexing
123
Example
124
125
Synchronous time division multiplexing
126
Synchronous Time Division Multiplexing
127
The T1 (1.54 Mbps) multiplexor stream is a
continuous series of frames of both digitized data
and voice channels.
128
The ISDN multiplexor stream is also a continuous
stream of frames. Each frame contains various
control and sync info.
129
SONET – massive data rates
130
Synchronous TDM
• Very popular
• Line will require as much bandwidth as all the
bandwidths of the sources
131
Statistical Time Division Multiplexing
132
133
To identify each piece of data, an address is
included.
134
If the data is of variable size, a length is also
included.
135
More precisely, the transmitted frame contains a
collection of data groups.
136
Statistical Time Division Multiplexing
137
Wavelength Division Multiplexing
(WDM)
138
Dense Wavelength Division
Multiplexing (DWDM)
Dense wavelength division multiplexing is often called
just wavelength division multiplexing
Dense wavelength division multiplexing multiplexes
multiple data streams onto a single fiber optic line.
Different wavelength lasers (called lambdas) transmit
the multiple signals.
Each signal carried on the fiber can be transmitted at a
different rate from the other signals.
Dense wavelength division multiplexing combines many
(30, 40, 50, 60, more?) onto one fiber. 139
Data Signals Transmitted
140
141
Code Division Multiplexing (CDM)
143
Code Division Multiplexing
144
145
Business Multiplexing In Action
Applications:
• Telephone lines connecting subscribers to the central office
• DSL lines
• LAN – 10Base-T and 100Base-T
Shielded Twisted Pair (STP)
Propagation
Modes
Guided Media – Fiber-Optic Cable
Propagation
Modes
In multimode step-index fiber, the density
of the core remains constant from the
center to the edges. A beam of light moves
through this constant density in a straight
line until it reaches the interface of the
core and the cladding.
Applications:
• The fiber optic cable is often found in backbone networks because its
bandwidth is cost effective.
• Telecommunications
• Local Area Networks
100Base-FX network (Fast Ethernet)
100Base-X
• Cable TV– backbone
• CCTV
• Medical Education
Fiber Optic Advantages
o 10s of km at least
More resistance to corrosive materials & immunity to
environmental interference.
highly secure due to tap difficulty and lack of signal radiation.
Wireless Channels
Are subject to a lot more errors than guided media channels.
Interference is one cause for errors, can be circumvented with high SNR.
The higher the SNR the less capacity is available for transmission due to the
broadcast nature of the channel.