Chapter - 5
Chapter - 5
ch*u
VV • #
i
»
. i
ar
1 4 '
( r
<J4 ^
/
1
1 - • *
I
2.Data encoding and Modulation
Modulation
• Modulation is the process of varying one or more properties of
a high frequency signal called carrier signal according with a
modulating signal which typically contains information to be
transmitted.
• The technique of superimposing the message signal on the
carrier is know as modulation.
• The three key parameter's are: Amplitude (volume) ,phase
(Phase) and frequency (Pitch).
• Modulation of a sine waveform is used to transform a
baseband message into a pass band signal, for example low
frequency audio signal into a radio-frequency signal (RF-
Signal)
Need for Modulation
Short operating Range- when a wave has a large frequency, the
energy associated with it will also be large. Thus low frequency
signals have less power that does not enable them to travel over
long distances.
Poor Radiation Efficiency- The radiation becomes very poor for
low frequency signals.
• Mutual Interference- If all audio frequencies are send
continuously from different sources, they would all get mixed
up and cause erroneous interference air. If modulation is done,
each signal will occupy different frequency levels and can be
transmitted simultaneously without any error.
• Huge Antenna Requirement- For a effective signal
transmission, the sending and receiving antenna should be at
least 1/4th of the wave length of the signal. Thus, for small
frequencies, the antenna will have kilometers of length. But if
the signal has the range of MHz frequency, then the antenna
size would be less.
• Requirements of multiple signal transmission- Modulation
allows us to send a signal over a band pass frequency range. If
every signal gets its own frequency range, then we can
transmit multiple signals simultaneously over a single channel,
all using different frequency ranges ( Multiplexing)
Encoding
• Encoding is the process of converting data into a
format required for a number of information
processing needs, including:
– Program compiling and execution.
– Data transmission, storage and
compression/decompression.
– Application data processing, such as file conversion.
– Encoding is also used to reduce the size of audio and
video files.
– E.g. ASCII (American standard code for Information
Interchange), MIME ( Multipurpose Internet Mail
Extensions).
3. Types of Analaog Modulation
Frequency Deivation
β=
Modulating frequency
• The total bandwidth required for FM can be determined from
the bandwidth
of the audio signal: BFM = 2(1 + β)B. Where is usually 4.
• Narrowband FM: B is small enough that the terms in the
Bessel expansion. Modulation index must be less than 0.5,
used for short distance and data bandwidth is small. E.g. short
distance communications using vehicle mount radios.
• Wideband FM: modulation index is above 0.5, wider
bandwidth, high quality signals. E.g. broadcast FM stations .
• The amount by which the signal frequency varies is
very important. This is known as the deviation and is
normally quoted as the number of KiloHertz deviation.
• E.g. the signal may have a deviation of ±3KHz. In this
case the carrier is made to move up and down by 3KHz.
• FM is used worldwide to provide high fidelity sound
over broadcast radio.
• FM broadcasting is capable of better sound quality
than AM broadcasting.
• FM broadcast band falls within the VHF part of the
radio spectrum usually 88 to 108 MHz is used.
Phase Modulation
• a type of modulation where the phase of the
carrier signal is modulated (changed) in
proportion to the message signal while the
amplitude and frequency are kept constant.
• Phase modulation is widely used for transmitting
radio waves and is an integral part of many digital
transmission coding schemes that underlines a
wide range of technologies like Wi-Fi, GSM and
satellite television.
Phase modulated wave
• The effect of variation in amount of phase shift is proportional
to change in the carrier frequency. So called indirect form of
frequency modulation.
• Advantage: increased immunity to noise
• Disadvantage: More complex hardware at receiver.
(For detail study on FM and PM)
ENCODING
(D/D) (A/D) (D/A) (A/A)
Information must be encoded into signals before it can be transported across communication
media. We must encode data into signals to send them from one place to another.
This includes Analog to Analog Encoding (A/A), Analog to Digital Encoding (A/D) , Digital to
Analog Encoding (D/A) , Digital to Digital Encoding (D/D) .
01011101 Digital/digital
• encoding •
Unipolar
Bipolar
Unipolar
Digital transmission systems work by sending voltage pulses along a media link,
usually a wire or a cable. In most types of encoding, one voltage level stands for
binary 0 and another level stands for binary 1. The polarity of a pulse refers to whether
it is positive or negative.
Unipolar encoding is so named because it uses only one polarity. Therefore, only one
of the two binary states is encoded, usually the 1. The other state, usually 0, is
represented by zero voltage, or an idle line.
Unipolar encoding uses only one level of value.
Amplitude
0 1 0 0 1 1 1 0
_• Time
1’s encoded as positive, 0’s are idle. Unipolar encoding is straight forward and
inexpensive to implement. However, it has two problems that make it unusable: DC
component and synchronisation.
DC component
à
Average amplitude is nonzero creates a direct current (DC) component, when a
signal contains a DC component it cannot travel through media that cannot handle DC
components: e.g. microwaves or transformers.
Synchronisation
When a signal is unvarying, the receiver cannot determine the beginning and ending of
each bit. Therefore, Synchronisation problem in unipolar encoding can occur
whenever the data stream includes a long uninterrupted series of 1’s or 0’s.
Polar Encoding
Polar encoding uses two voltage levels: one positive and one negative. In most polar
encoding methods the average voltage level on the line is reduced and the DC
component problem of unipolar encoding is alleviated.
Polar
NRZ RZ Biphase
Non-Return-to-Zero (NRZ) Encoding
In NRZ encoding, the level of the signal is always either positive or negative. In NRZ
system if the line is idle it means no transmission is occurring at all.
Amplitude
0 1 0 0 1 1 1 0
NRZ-L
Time
NRZ-I Time
RZ (Return-to-zero) Encoding
To assure synchronisation, there must be a signal change for each bit. The receiver can
use these changes to built up, update, and synchronise its clock.
One solution is return to zero (RZ) encoding, which uses three Values: positive,
negative, and zero.
Amplitude
0 1 0 0 1 1 1 0
Time
The main disadvantage of RZ encoding is that it requires two signal changes to encode
one bit and therefore occupies more bandwidth. But of the three alternatives discussed
above, it is the most effective. Because a good encoded digital signal must contain a
provision for synchronisation.
Biphase Encoding
Probably the best existing solution to the problem of synchronisation is biphase
encoding. In this method, the signal changes at the middle of the bit interval but does
not return to zero. Instead it continues to the opposite pole. As in RZ, these mid-
interval transitions allow for synchronisation.
Biphase encoding is implemented in two different ways: Manchester and differential
Manchester.
• Manchester
Manchester encoding uses the inversion at the middle of each bit interval for both
synchronisation and bit representation. A negative-to-positive transition represents
binary 1 and a positive-to-negative transition represents binary 0.
Amplitude 0 1
0 1 0 0 1 1 1 0
Time
• Differential Manchester
In this method, the inversion at the middle of the bit is used for synchronisation, but
the presence or absence of an additional transition at the beginning of the interval is
used to identify the bit. A transition means binary 0 and no transition means binary 1.
The bit representation is shown by the inversion and non-inversion at the beginning of
the bit.
Amplitude
0 1 0 0 1 1 1 0
Time
Bipolar Encoding
Bipolar encoding uses three voltage levels: positive, negative and zero. The zero level
is used to represent binary 0 positive and negative voltages represent alternating 1s. (If
st nd
1 one +ve, 2 is -ve).
* Three types of bipolar encoding are popular use by the data communications
industry: AMI, B8ZS, and HDB3.
Amplitude
0 1 0 0 1 1 1 0
Time
• In B8ZS, if eight 0s come one after another, we change the pattern in one of two ways
based on the polarity of previous 1.
Polarity of Polarity of previous 1 bit
Previous 1 bit
+ 0 0 0 0 0 0 0 0 - 0 0 0 0 0 0 0 0
will change to
+ 0 0 0 + - 0 - + - 0 0 0 - + 0 + -
In HDB3 if four 0s come one after another, we change the pattern in one of four
ways based on the polarity of the previous 1 and the number of 1s since the last
substitution.
+ 0 0 0 0 - 0 0 0 0
th
Violation in the 4 consecutive zero
+ 0 0 0 + - 0 0 0 -
+ 0 0 0 0 - 0 0 0 0
st th
Violation in the 1 & 4 consecutive zero
+ - 0 0 - - + 0 0 +
Ex
Compare the bandwidth needed for unipolar encoding and RZ encoding. Assume the
worst-case scenario for both.
Solution
The worst case scenario (the situation requiring the most bandwidth) is alternating 1s
and 0s for unipolar, for RZ the worst-case is all 1s.
Unipolar encoding
Value
1 0 1 0 1 0 1 0
Time
Time
Value
A
RZ encoding
• Time
Time
1 0 0 0 0 0 0 0 0 0 0 1 0 0
Time
(for more details consult this section from text book
which is given below)
A cos(2f c t )
4.69
Keying
Keying is a family of modulation forms where the modulating
signal takes one of a specific (predetermined) number of values at
all times. The goal of keying is to transmit a digital signal over an
analog channel. The name derives from the Morse code key used
for telegraph signaling.
4.75
4.76
4.77
Advantage:
• Very good noise immunity.
• For the same bit error rate, the bandwidth required by
QPSK is reduced to half as compared to BPSK.
• Because of reduced bandwidth, the information
transmission rate of QPSK is higher.
• Low error probability.
Disadvantages:
• Inter-channel interference is significantly large in
QPSK.
• QPSK relative to BPSK is that it is more sensitive to
phase variations.
Quadrature Amplitude Modulation
• QAM used on asymmetric digital subscriber line
(ADSL) and some wireless
• Combination of ASK and PSK
• Logical extension of QPSK
• Send two different signals simultaneously on same
carrier frequency
—Use two copies of carrier, one shifted 90°
—Each carrier is ASK modulated
—Two independent signals over same medium
—Demodulate and combine for original binary output
4.79
Quadrature Amplitude Modulation, QAM is a signal in which two
carriers shifted in phase by 90 degrees are modulated and the
resultant output consists of both amplitude and phase variations.
In view of the fact that both amplitude and phase variations are
present it may also be considered as a mixture of amplitude and
phase modulation. QAM is extensively used as modulation
scheme for digital telecommunication system such as 802.11 Wi-
Fi standards. QAM is being used in optical fiber systems as bit
rates increases 16QAM and 64QAM.
4.80
Signal Constellation
4.81
4.82
Advantage:
increase the efficiency of transmission for radio
communications systems by utilizing both amplitude and
phase variations
Disadvantage: it is more susceptible to noise because the
states are closer together.