Data Comm and Net 3
Data Comm and Net 3
DATA Module 3
Analog & Digital
Communications Concepts
Introduction
II. over analog transmission. In this chapter, we show the schemes and
techniques that we use to transmit data digitally. First, we discuss digital-
to-digital conversion techniques, methods which convert digital data to
digital signals. Second, we discuss analog-to-digital conversion
III. Analog & Digital Transmission techniques, methods which change an analog signal to a digital signaL
Finally, we discuss transmission modes.
At the end the module, the students are expected to introduce the
concepts of Data Communication and networking:
In order to benefit profoundly from this module, please be guided by all ● Explain what is analog and digital transmission
the key points presented below. ● Distinguish Between Analog and Digital transmission
1. This module contains two (2) lessons. Each lesson is explained
substantively.
DIGITAL-TO-DIGITAL CONVERSION
Read the explanations thoroughly so that you could understand the
lesson fully. We discussed data and signals. We said that data can be either digital or
analog. We also said that signals that represent data can also be digital or
2. Please use Microsoft Word Long Size for the answer and convert to analog. In this section, we see how we can represent digital data by using
PDF. If you want to send your documents online, just send it to our digital signals. The conversion involves three techniques: line coding,
Google classroom account block coding, and scrambling. Line coding is always needed~ block
coding and scrambling mayor may not be needed.
Section B: class code : sa5aesv
E-mail : [email protected]
LINE CODING
3. Feel free to chat, call, text or send an email message to me if you have
questions, reaction, reflections about the content or activities in the Line coding is the process of converting digital data to digital signals. We
module. assume that data, in the form of text, numbers, graphical images, audio,
4. The deadline for the submission for this will be posted to our group or video, are stored in computer memory as sequences of bits. Line
chat or google classroom. coding converts a sequence of bits to a digital signal. At the sender,
digital data are encoded into a digital signal; at the receiver, the digital
data are recreated by decoding the digital signal. Figure 1 shows the
process.
Self-synchronization
To correctly interpret the signals received from the sender, the receiver's
bit intervals must correspond exactly to the sender's bit intervals. If the
receiver clock is faster or slower, the bit intervals are not matched and the
receiver might misinterpret the signals. Figure 4.3 shows a situation in
which the receiver has a shorter bit duration. The sender sends 10110001,
while the receiver receives 110111000011.
Solution
At 1 kbps, the receiver receives 1001 bps instead of 1000 bp 1000 bits
sent 1001 bits received 1extra bps At 1 Mbps, the receiver receives
Compared with its polar counterpart (see the next section), this
scheme is very costly. As we will see shortly, the normalized
power (power needed to send 1 bit per unit line resistance) is
double that for polar NRZ. For this reason, this scheme is
There are several schemes in each category. We need to be normally not used in data communications today.
familiar with all schemes discussed in this section to understand
the rest of the book. This section can be used as a reference for Polar Schemes
schemes encountered later.
In polar schemes, the voltages are on the both sides of the time
Unipolar Scheme axis. For example, the voltage level for 0 can be positive and the
voltage level for I can be negative.
In a unipolar scheme, all the signal levels are on one side of the
time axis, either above or below. Non-Return-to-Zero (NRZ) In polar NRZ encoding, we use two
levels of voltage amplitude. We can have two versions of polar
NRZ (Non-Return-to-Zero) Traditionally, a unipolar scheme was NRZ: NRZ-Land NRZ-I, as shown in Figure. The figure also
designed as a non-return-to-zero (NRZ) scheme in which the shows the value of r, the average baud rate, and the bandwidth. In
positive voltage defines bit I and the zero voltage defines bit O. It the first variation, NRZ-L (NRZ-Level), the level of the voltage
is determines the value of the bit. In the second variation, NRZ-I
called NRZ because the signal does not return to zero at the (NRZ-Invert),
middle of the bit. Figure is a unipolar NRZ scheme. the change or lack of change in the level of the voltage
determines the value of the bit. If there is no change, the bit is 0;
if there is a change, the bit is 1.
Bipolar Schemes
In NRZ-L the level of the voltage determines the value of the bit.
In NRZ-I the inversion or the lack of inversion determines the In bipolar encoding (sometimes called multilevel binary), there
value of the bit. are three voltage levels: positive, negative, and zero. The voltage
level for one data element is at zero, while the voltage level for
Let us compare these two schemes based on the criteria we the other element alternates between positive and negative.
previously defined. Although baseline wandering is a problem for
both variations, it is twice as severe in NRZ-L. If there is a long AMI and Pseudoternary show two variations of bipolar
sequence of Os or Is in NRZ-L, the average signal power encoding: AMI and pseudoternary. A common bipolar encoding
becomes skewed. The receiver might have difficulty discerning scheme is called bipolar alternate mark inversion (AMI). In the
the bit value. In NRZ-I this problem occurs only for a long term alternate mark inversion, the word mark comes from
sequence of as. If somehow we can eliminate the long sequence telegraphy and means 1. So AMI means alternate I inversion. A
of as, we can avoid baseline wandering. We will see shortly how neutral zero voltage represents binary 0. Binary Is are represented
this can be done. by alternating positive and negative voltages. A variation of AMI
encoding is called pseudoternary in which the 1 bit is encoded as
The synchronization problem (sender and receiver clocks are not a zero voltage and the 0 bit is encoded as alternating positive and
synchronized) also exists in both schemes. Again, this problem is negative voltages.
more serious in NRZ-L than in NRZ-I. While a long sequence of
as can cause a problem in both schemes, a long sequence of 1s
affects only NRZ-L.
Multilevel Schemes
The slash in block encoding (for example, 4B/5B) distinguishes to be used in combination with NRZ-I. Recall that NRZ-I has a
block encoding from multilevel encoding (for example, 8B6T), good signal rate, one-half that of the biphase, but it has a
which is written without a slash. Block coding normally involves synchronization problem. A long sequence of as can make the
three steps: division, substitution, and combination. In the receiver clock lose synchronization. One solution is to change the
division step, a sequence of bits is divided into groups of m bits. bit stream, prior to encoding with NRZ-I, so that it does not have
For example, in 4B/5B encoding, the original bit sequence is a long stream of as. The 4B/5B scheme achieves this goal. The
divided into 4-bit groups. The heart of block coding is the block-coded stream does not have more than three consecutive as,
substitution step. In this step, we substitute an m-bit group for an as we will see later. At the receiver, the NRZ-I encoded digital
n-bit group. For example, in 4B/5B encoding we substitute a 4-bit signal is first decoded into a stream of bits and then decoded to
code for a 5-bit group. Finally, the n-bit groups are combined remove the redundancy. Figure 4.15 shows the idea.
together to form a stream. The new stream has more bits than the
original bits.
8RIlOR
The eight binary/ten binary (SBIlOB) encoding is similar to
4B/5B encoding except that a group of 8 bits of data is now
substituted by a lO-bit code. It provides greater error detection
capability than 4B/5B. The 8BIlOB block coding is actually a
combination of 5B/6B and 3B/4B encoding,
4B/5B
The four binary/five binary (4B/5B) coding scheme was designed
Learning Activities / Exercises this step, we substitute an m-bit group for an n-bit group. For
example, in 4B/5B encoding we substitute a 4-bit code for a 5-bit
1. List three techniques of digital-to-digital conversion. group. Finally, the n-bit groups are combined together to form a
stream. The new stream has more bits than the original bits. Block
Line Coding coding provides redundancy to ensure synchronization
Line coding is the process of converting digital data to digital Scrambling
signals. We assume that data, in the form of text, numbers, graphical
images, audio, or video, are stored in computer memory as Biphase schemes that are suitable for dedicated links between
sequences of bits (see Chapter 1). Line coding converts a sequence stations in a LA N are not suitable for long-distance
of bits to a digital signal. At the sender, digital data are encoded into communication because of their wide bandwidth requirement.
a digital signal; at the receiver, the digital data are recreated by The combination of block coding and NR Z line coding is not
decoding the digital signal. suitable for long-distance encoding either, because of the DC
component. Bipolar AM I encoding, on the other hand, has a
narrow bandwidth and does not create a DC component.
However, a long sequence of Os upsets the synchronization. If we
Block Coding
can find a way to avoid a long sequence of Os in the original
Block Coding, we need redundancy to ensure synchronization and to stream, we can use bipolar AM I for long distances. We are
provide some kind of inherent error detecting. Block coding can give looking for a technique that does not increase the number of bits
us this redundancy and improve the performance of line coding. In and does provide synchronization. We are looking for a solution
general, block coding changes a block of m bits into a block of n that substitutes long zero-level pulses with a combination of other
bits, where n is larger than m. Block coding is referred to as an levels to provide synchronization. One solution is called
mBlnB encoding technique. scrambling. We modify part of the AM I rule to include
scrambling, as shown in Figure 4.18. Note that scrambling, as
The slash in block encoding (for example, 4B/5B) distinguishes opposed to block coding, is done at the same time as encoding.
block encoding from multilevel encoding (for example, 8B6T), The system needs to insert the required pulses based on the
which is written without a slash. Block coding normally involves defined scrambling rules. Two common scrambling techniques
three steps: division, substitution, and combination. In the division are B8ZS and HDB3.
step, a sequence of bits is divided into groups of m bits. For Scrambling provides synchronization without increasing the
example, in 4B/5B encoding, the original bit sequence is divided into number of bits. Two common scrambling techniques are
4-bit groups. The heart of block coding is the substitution step. In B8ZS and HDB3.
Data and signals are like two building blocks of computer 6. Define the characteristics of a self-synchronizing signal.
networks. All the data transmitted over channel can either be in
analog form or digital form. Data are manipulated in the signal A self-synchronizing digital signal includes timing
form suitable for the transmission channel. Like data elements, information in the data being transmitted. This can be
signal can also either in analog form or digital form. achieved if there are transitions in the signal that alert the
Data rate is also known as bit rate and it defines the # of receiver to the beginning, middle, or end of the pulse.
data elements/bit sent is 1s. 7. Define the characteristics of a self-synchronizing signal.
Signal rate is also known as the pulse rate and it is the # of A self-synchronizing digital signal includes timing
single elements sent in 1s. Data rate unit is bps and Signal.
information in the data being transmitted. This can be
4. Define baseline wandering and its effect on digital achieved if there are transitions in the signal that alert the
transmission. receiver to the beginning, middle, or end of the pulse.
1. What are the differences between parallel and serial Converting digital data to a bandpass analog signal.is traditionally called
transmission? digital to-analog conversion. Converting a low-pass analog signal to a
bandpass analog signal is traditionally called analog-to-analog
In parallel transmission we send data several bits at a time. In serial conversion. In this chapter, we discuss these two types of conversions.
transmission we send data one bit at a time.
LESSON 2
ANALOG TRANSMISSION
Specific Learning Outcomes
A sine wave is defined by three characteristics: amplitude, frequency, and
At the end of this lesson, you should be able to:
phase. When we vary anyone of these characteristics, we create a
● Understand the concept of Analog Transmission different version of that wave. So, by changing one characteristic of a
simple electric signal, we can use it to represent digital data. Any of the
We discussed the advantages and disadvantages of digital and analog three characteristics can be altered in this way, giving us at least three
transmission. We saw that while digital transmission is very desirable, a mechanisms for modulating digital data into an analog signal: amplitude
low-pass channel is needed. We also saw that analog transmission is the shift keying (ASK), frequency shift keying (FSK), and phase shift keying
(PSK). In addition, there is a fourth (and better) mechanism that S=Nx!/r baud
combines changing both the amplitude and phase, called quadrature
amplitude modulation (QAM). QAM is the most efficient of these where N is the data rate (bps) and r is the number of data elements
options and is the mechanism commonly used today. carried in one signal element. The value of r in analog transmission is r
=log2 L, where L is the type of signal element, not the level. The same
nomenclature is used to simplify the comparisons.
Bit rate is the number of bits per second. Baud rate is the number of
signal elements per second. In the analog transmission of digital data, the
baud rate is less than or equal to the bit rate.
Types of digital-to-analog conversion Bandwidth
Aspects of Digital-to-Analog Conversion
The required bandwidth for analog transmission of digital data is
Before we discuss specific methods of digital-to-analog modulation, proportional to the signal rate except for FSK, in which the difference
two basic issues must be reviewed: bit and baud rates and the carrier between the carrier signals needs to be added. We discuss the bandwidth
signal. for each technique.
The concept of the data element versus the signal element. We defined In analog transmission, the sending device produces a high-frequency
a data element as the smallest piece of information to be exchanged, the signal that acts as a base for the information signal. This base signal is
bit. We also defined a signal element as the smallest unit of a signal that called the carrier signal or carrier frequency. The receiving device is
is constant. Although we continue to use the same terms in this chapter, tuned to the frequency of the carrier signal that it expects from the
we will see that the nature of the signal element is a little bit different in sender. Digital information then changes the carrier signal by modifying
analog transmission. one or more of its characteristics (amplitude, frequency, or phase). This
kind of modification is called modulation (shift keying).
Data Rate Versus Signal Rate
Amplitude Shift Keying
We can define the data rate (bit rate) and the signal rate (baud rate) as
we did for digital transmission. The relationship between them is In amplitude shift keying, the amplitude of the carrier signal is varied to
create signal elements. Both frequency and phase remain constant while
Frequency Shift Keying What should be the minimum value of 211/? In Figure 5.6, we
have chosen a value greater than (l + d)S. It can be shown that the
minimum value should be at least S for the proper operation of
In frequency shift keying, the frequency of the carrier signal is varied to
modulation and demodulation.
represent data. The frequency of the modulated signal is constant for the
duration of one signal element, but changes for the next signal element if
the data element changes. Both peak amplitude and phase remain We have an available bandwidth of 100 kHz which spans from 200 to
constant for all signal elements. 300 kHz. What should be the carrier frequency and the bit rate if we
modulated our data by using FSK with d =1?
Solution
Compared to Example 5.3, we can see the bit rate for ASK is 50 kbps
while the bit rate for FSK is 25 kbps.
Implementation of BFSK
Implementation There are two implementations of BFSK: noncoherent
and coherent. In noncoherent BFSK, there may be discontinuity in the
phase when one signal element ends and the next begins. In coherent
BFSK, the phase continues through the boundary of two signal elements. SUMMARY
Noncoherent BFSK can be implemented by treating BFSK as two ASK
modulations and using two carrier frequencies. Coherent BFSK can be ● Digital-to-analog conversion is the process of changing one of the
implemented by using one voltage-controlled oscillator (VeO) that characteristics of an analog signal based on the information in the
changes its frequency according to the input voltage. Figure 5.7 shows digital data.
the simplified idea behind the second implementation. The input to the ● Digital-to-analog conversion can be accomplished in several ways:
oscillator is the unipolar NRZ signal. When the amplitude of NRZ is amplitude shift keying (ASK), frequency shift keying (FSK), and
zero, the oscillator keeps its regular frequency; when the amplitude is phase shift keying (PSK). Quadrature amplitude modulation
positive, the frequency is increased. (QAM) combines ASK and PSK.
● In amplitude shift keying, the amplitude of the carrier signal is
varied to create signal elements. Both frequency and phase remain
constant while the amplitude changes.
● In frequency shift keying, the frequency of the carrier signal is
varied to represent data. The frequency of the modulated signal is
constant for the duration of one signal element, but changes for the
next signal element if the data element changes. Both peak
amplitude and phase remain constant for all signal elements.
● In phase shift keying, the phase of the carrier is varied to represent
two or more different signal elements. Both peak amplitude and
frequency remain constant as the phase changes. 2. Define carrier signal and its role in analog transmission.
● A constellation diagram shows us the amplitude and phase of a
signal element, particularly when we are using two carriers (one A carrier signal is a single-frequency signals that has one of its
in-phase and one quadrature). characteristics like as. amplitude, frequency, or phase. Its role in
analog transmission is changed to represent the. baseband signal.
Learning Activities / Exercises Digital-to-analog conversion is a process in which signals having a few
(usually two) defined levels or states (digital) are converted into signals
1. Define analog transmission. having a theoretically infinite number of states (analog). A common
example is the processing, by a modem, of computer data into audio-
Analog transmission is the traditional method of sending and frequency (AF) tones that can be transmitted over a twisted pair telephone
receiving.
line. The circuit that performs this function is a digital-to-analog converter (DAC).
Digital-to-analog conversion is a process in which signals having a few (usually two) defined levels or states (digital) are converted into signals having a
theoretically infinite number of states (analog). A common example is the processing, by a modem, of computer data into audio-frequency (AF) tones that
can be transmitted over a twisted pair telephone line. The circuit that performs this function is a digital-to-analog converter (DAC).
5. Define a DC component and its effect on digital transmission.
"When the voltage level in a digital signal is constant for a
while, the spectrum creates very low frequencies, called
DC components, that present problems for a system that
cannot pass low frequencies."
Assignment # 7:
1. Which of the three analog-to-analog conversion techniques
(AM, FM, or PM) is the most susceptible to noise?
The most susceptible is AM (Amplitude Modulation) than the FM and PM because the
amplitude is more affected by noise than the frequency or p
hase.