Analog Pulse Modulation & Digital Pulse Modulation Removed
Analog Pulse Modulation & Digital Pulse Modulation Removed
INTRODUCTION
Many Signals in Modern Communication Systems are digital . Also, analog signals
are transmitted digitally.
Reduced distortion and improvement in signal to noise ratios.
PAM, PWM , PPM , PCM and DM.
Data transmission, digital transmission, or digital communications is the physical transfer
of data (a digital bit stream or a digitized analogue signal) over a point-to-point or point-to-
multipoint communication channel.
1. Discrete Information Source: It generates message to be transmitted. Examples are the data
from computers, text data or tele type data.
2. Source Encoder: It assigns codes to the symbols (samples) generated from discrete
information source. The code word having n number of bits. Each distinct sample having
1
distinct(unique) code word. If code word length is 8 bit(n), we can have 256 distinct
symbols(ie.,2^n).
3. Channel Encoder: We know that channel is the major source of notice due to that there are
more chance of getting errors while propagating through channel. To avoid that channel
encoding is required. In that extra bits are added to the binary sequence generated by the
source encoder. These extra bits are called as redundant bits. These bits are defined with
proper logic. The redundant will be helpful to detect the errors at the receiver bit sequence.
4. Digital Modulator: In digital modulator the message signal is digital data and carrier is
analog one, in most cases we use sinusoidal waves. Some examples are
ASK,FSK,PSK.MRI techniques.
5. Channel: It provides the link between transmitter and rceiver. Channel may be wired
or wireless channel.
1. Addictive Noise: This noise is occur due to internal solid state devices or resistors used
in channel.
2. Ampltude and Phase Distortion: This noise is occurred due to non-linear characteristics of the
channel.
6. Demodulator: This device is used to detect the digital message signal from the
modulated signal.
7. Channel Decoder: This is used to detect and correct the errors that occur in the digital
message signal.
8. Source Decoder: This produces the sampling signal from the given digital message signal.
9. Destination: The sampled signal is converted into audio signal or video signal or any text
signal depending on the signal.
2
Fig. Basic block diagram of an A/D converter
4. Using repeaters between source and destination, we can reproduce the original
signal with less distortions.
5. Security is the major advantage of digital communication compared to Analog
Communication.
6. Transmitting analogue signals digitally allows for greater signal processing capability.
7. Digital communication can be done over large distances through internet and
other things.
8. The messages can be stored in the device for longer times, without being damaged.
9. Advancement in communication is achieved through Digital Communication.
3
Disadvantages of digital communication systems
1. Sampling Error
2. Digital communications require greater bandwidth than analogue to transmit the
same information.
3. The detection of digital signals requires the communications system to be
synchronized, whereas generally speaking this is not the case with analogue systems.
4. Digital signals are often the approximation of voice signals, ie, we don‟t get the
exact analogue signal.
4
Pulse modulation of two types
1. Analog Pulse Modulation
Pulse Amplitude Modulation (PAM)
Pulse width Modulation (PWM)
Pulse Position Modulation (PPM)
2. Digital Pulse Modulation
Pulse code Modulation (PCM)
Delta Modulation (DM)
Analog pulse modulation results when some attribute of a pulse varies continuously in one-to-one
correspondence with a sample value. In analog pulse modulation systems, the amplitude, width, or
position of a pulse can vary over a continuous range in accordance with the message amplitude at
the sampling instant, as shown in Figure 6.2. These lead to the following
PAM: In this scheme high frequency carrier (pulse) is varied in accordance with sampled value
of message signal.
PWM: In this width of carrier pulses are varied in accordance with sampled values of message
signal. Example: Speed control of DC Motors.
PPM: In this scheme position of high frequency carrier pulse is changed in accordance with
the sampled values of message signal.
5
Fig. Representation of Various Analog Pulse Modulations
In systems utilizing digital pulse modulation, the transmitted samples take on only discrete
values. Two important types of digital pulse modulation are:
1. Delta Modulation (DM)
6
ANALOG PULSE MODULATION
In pulse amplitude modulation, the amplitude of regular interval of periodic pulses or electromagnetic
pulses is varied in proposition to the sample of modulating signal or message signal. This is an
analog type of modulation. In the pulse amplitude modulation, the message signal is sampled at
regular periodic or time intervals and this each sample is made proportional to the magnitude of
the message signal. These sample pulses can be transmitted directly using wired media or we can
use a carrier signal for transmitting through wireless.
7
/*
8
Advantages of Pulse Amplitude Modulation (PAM):
It is the base for all digital modulation techniques and it is simple process for both
modulation and demodulation technique.
No complex circuitry is required for both transmission and reception. Transmitter
and receiver circuitry is simple and easy to construct.
PAM can generate other pulse modulation signals and can carry the message or
information at same time.
Bandwidth should be large for transmitting the pulse amplitude modulation signal. Due to
Nyquist criteria also high bandwidth is required.
The frequency varies according to the modulating signal or message signal. Due to these
variations in the signal frequency, interferences will be there. So noise will be great. For
PAM, noise immunity is less when compared to other modulation techniques. It is almost
equal to amplitude modulation.
Pulse amplitude signal varies, so power required for transmission will be more, peak power
is also, even at receiving more power is required to receive the pulse amplitude signal.
9
DIGITAL PULSE MODULATION
Modulation is the process of varying one or more parameters of a carrier signal in accordance
with the instantaneous values of the message signal.
The message signal is the signal which is being transmitted for communication and the carrier signal
is a high frequency signal which has no data, but is used for long distance transmission.
There are many modulation techniques, which are classified according to the type of modulation
employed. Of them all, the digital modulation technique used is Pulse Code Modulation
(PCM).
A signal is pulse code modulated to convert its analog information into a binary sequence, i.e., 1s
and 0s. The output of a PCM will resemble a binary sequence. The following figure shows an
example of PCM output with respect to instantaneous values of a given sine wave.
Instead of a pulse train, PCM produces a series of numbers or digits, and hence this process is called
as digital. Each one of these digits, though in binary code, represent the approximate amplitude
of the signal sample at that instant.
In Pulse Code Modulation, the message signal is represented by a sequence of coded pulses. This
message signal is achieved by representing the signal in discrete form in both time and
amplitude.
10
Basic Elements of PCM
11
value.
12
Encoder
Encoder assigns code words to quantized sampled values. This coding techniques uses bits 0 and
1. If number of quantized levels are 16 then each sample is assigned with 4 bit code word.
Regenerative repeater:
The PCM has an ability to control the distortion and noise caused by the transmission of bits along
the channel. This ability is accomplished by several regenerative repeaters located at sufficient
placing along channel.
1. Equalizing
2. Timing circuits
3. Decision making device
Equalizer shapes the received pulse so as to compensate amplitude and phase distortion caused by the
channel.
Decision making device compares amplitude of equalized pulse plus noise to the pre-defined
threshold levels to make decisions whether the pulse is present or not.
If the pulse is present (i.e. decision is yes), clean new pulse is generated and transmitted
through channel to next regenerative pulse. If the pulse is not present (i.e. the decision is no),
it generates clean base line to next regenerative repeater, provided the noise too large caused
bit error by taking the wrong decision
Decoder
Decoder reboots all the received bits to make more words then it decodes as quantized PAM signals.
13
Reconstruction Filter:
All coded words are passed through low pass filter so that analog signal can be reconstructed from
quantized PAM signal.The cut off frequency of low pass filter is f m Hz which is equal to band width
of message signal.
Destination
It receives the signal from the reconstructive filter output is analog signal.
Fig.PCM waveform
Important Relations
Quantization Noise (𝑁𝑞)=Δ2/2
Signal to Noise ratio
(𝑆𝑄𝑁𝑅)=32.22𝑛 𝑜𝑟 𝑆𝑄𝑁𝑅 𝑖𝑛 𝑑𝐵=1.76+6.02𝑛≅(1.8+6𝑛)𝑑𝐵
𝐵𝑖𝑡 𝑟𝑎𝑡𝑒=𝑁𝑜.𝑜𝑓 𝑏𝑖𝑡𝑠 𝑝𝑒𝑟 𝑠𝑎𝑚𝑝𝑙𝑒×𝑠𝑎𝑚𝑝𝑙𝑖𝑛𝑔 𝑟𝑎𝑡𝑒=𝑛𝑓𝑠
Bandwidth for PCM signal
=n.fm Where,
n – No. of bits in PCM code
Fm – signal bandwidth
fs – sampling rate
14
SAMPLING, QUANTIZATION AND CODING
1. Sampling
Definition: Sampling is defined as ―The process of measuring the
instantaneous values of continuous-time signal in a discrete form.‖
Sample is a piece of data taken from the whole data which is continuous in the time domain.
When a source generates an analog signal and if that has to be digitized, having 1s and 0s i.e., High
or Low, the signal has to be discretized in time. This discretization of analog signal is called as
Sampling.
The following figure indicates a continuous-time signal x (t) and a sampled signal xs (t). When x (t)
is multiplied by a periodic impulse train, the sampled signal xs (t) is obtained.
Sampling Rate
To discretize the signals, the gap between the samples should be fixed. That gap can be
termed as a sampling period Ts.
Sampling Frequency fs=1/Ts
Where,
Ts is the sampling time
fs is the sampling frequency or the sampling rate
Sampling frequency -is the reciprocal of the sampling period. This sampling frequency, can be
simply called as Sampling rate. The sampling rate denotes the number of samples taken per
second, or for a finite set of values.
15
For an analog signal to be reconstructed from the digitized signal, the sampling rate should be
highly considered. The rate of sampling should be such that the data in the message signal should
neither be lost nor it should get over-lapped. Hence, a rate was fixed for this, called as Nyquist
rate
Nyquist Rate
Suppose that a signal is band-limited with no frequency components higher than W Hertz.
That means, W is the highest frequency. For such a signal, for effective reproduction of the
original signal, sampling rate should be twice the highest frequency.
This means,
fs=2W
Where,
fs is the sampling rate
W is the highest frequency
This rate of sampling is called as Nyquist rate.
A theorem called, Sampling Theorem, was stated on the theory of this Nyquist rate.
Sampling Theorem
The sampling theorem, which is also called as Nyquist theorem, delivers the theory of sufficient
sample rate in terms of bandwidth for the class of functions that are band limited.
The sampling theorem states that, ― a signal can be exactly reproduced if it is sampled at the rate
fs which is greater than twice the maximum frequency W.
To understand this sampling theorem, let us consider a band-limited signal, i.e., a signal
whose value is non-zero between some –W and W Hertz.
Such a signal is represented as x(f)=0for|f|>W
For the continuous-time signal x (t), the band-limited signal in frequency domain, can be
represented as shown in the following figure.
16
.
If the signal x(t) is sampled above the Nyquist rate, the original signal can be recovered, and if it
is sampled below the Nyquist rate, the signal cannot be recovered.
The following figure explains a signal, if sampled at a higher rate than 2w in the frequency domain.
The above figure shows the Fourier transform of a signal xs(t). Here, the information is
reproduced without any loss. There is no mixing up and hence recovery is possible.
Let us see what happens if the sampling rate is equal to twice the highest
frequency (2W) That means,
17
Fs =2W
18
Where,
Fs is the sampling frequency
W is the highest frequency
The result will be as shown in the above figure. The information is replaced without any loss.
Hence, this is also a good sampling rate.
Now, let us look at the condition,
Fs <2W
The resultant pattern will look like the following figure
We can observe from the above pattern that the over-lapping of information is done, which
leads to mixing up and loss of information. This unwanted phenomenon of over-lapping is
called as Aliasing
19
Aliasing
It is generally observed that, we seek the help of Fourier series and Fourier transforms in
analyzing the signals and also in proving theorems. It is because −
The Fourier Transform is the extension of Fourier series for non-periodic signals.
Fourier transform is a powerful mathematical tool which helps to view the signals in
different domains and helps to analyze the signals easily.
Any signal can be decomposed in terms of sum of sines and cosines using this Fourier
transform. The digitization of analog signals involves the rounding off of the values which are
approximately equal to the analog values. The method of sampling chooses a few points on
the analog signal and then these points are joined to round off the value to a near
stabilized value. Such a process is called as Quantization.
20
Quantizing an Analog Signal
The analog-to-digital converters perform this type of function to create a series of digital values out
of the given analog signal. The following figure represents an analog signal. This signal to get converted
into digital has to undergo sampling and quantizing
The quantizing of an analog signal is done by discretizing the signal with a number of quantization
levels.
Quantization is representing the sampled values of the amplitude by a finite set of levels, which
means converting a continuous-amplitude sample into a discrete-time signal.
The following figure shows how an analog signal gets quantized. The blue line represents analog
signal while the brown one represents the quantized signal.
Both sampling and quantization result in the loss of information. The quality of a Quantizer output
depends upon the number of quantization levels used. The discrete amplitudes of the quantized
output are called as representation levels or reconstruction levels. The spacing between the two
adjacent representation levels is called a quantum or step-size.
21
The following figure shows the resultant quantized signal which is the digital form for the given
analog signal.
Types of Quantization
There are two types of Quantization - Uniform Quantization and Non-uniform Quantization.
1. The type of quantization in which the quantization levels are uniformly spaced is termed as a
Uniform Quantization.
2. The type of quantization in which the quantization levels are unequal and mostly the relation
between them is logarithmic, is termed as a Non-uniform Quantization.
22
The following figures represent the two types of uniform quantization
Figure 1 shows the mid-rise type and figure 2 shows the mid-tread type of uniform quantization.
1. The Mid-Rise type is so called because the origin lies in the middle of a raising part
of the stair- case like graph. The quantization levels in this type are even in number.
2. The Mid-tread type is so called because the origin lies in the middle of a tread of the
stair-case like graph. The quantization levels in this type are odd in number.
Both the mid-rise and mid-tread type of uniform quantizer are symmetric about the origin.
Δ= (𝑚𝑎𝑥−𝑚𝑖𝑛)𝐿
𝑛𝑏=𝑙𝑜𝑔2𝐿
Quantization Error
For any system, during its functioning, there is always a difference in the values of its input and output.
The processing of the system results in an error, which is the difference of those values.The difference
between an input value and its quantized value is called a Quantization Error.
A Quantizer is a logarithmic function that performs Quantization (rounding off the value). An
analog-to- digital converter (ADC) works as a quantizer.
23
The following figure illustrates an example for a quantization error, indicating the difference
between the original signal and the quantized signal.
Quantization Noise
It is a type of quantization error, which usually occurs in analog audio signal, while quantizing it
to digital. For example, in music, the signals keep changing continuously, where a regularity is
not found in errors. Such errors create a wideband noise called as Quantization Noise.
24
COMPANDING IN PCM SYSTEMS
The word Companding is a combination of Compressing and Expanding, which means that it does both.
This is a non-linear technique used in PCM which compresses the data at the transmitter and expands the
same data at the receiver. The effects of noise and crosstalk are reduced by using this technique
Fig. Companding
Companding means it amplifies the low level signals as well as attenuate high level at the
transmitter side. At the receiver side reverse operation done. It attenuates the low level signals and
amplifies the high level signals you get the original signal. Non-uniform quantization cannot be
applied directly by using companding technique.
Due to the increased use of computers in all engineering applications, including signal
processing, it is important to spend some more time examining issues of sampling. In this
chapter we will look at sampling both in the time domain and the frequency domain.
We have already encountered the sampling theorem and, arguing purely from a trigonometric-
identity point of view, have established the Nyquist sampling criterion for sinusoidal signals.
However, we have not fully addressed the sampling of more general signals, nor provided a
general proof. Nor have we indicated how to reconstruct a signal from its samples. With the tools
of Fourier transforms and Fourier series available to us we are now ready to finish the job that
was started months ago.
To begin with, suppose we have a signal x(t) which we wish to sample. Let us suppose further
that the signal is bandlimited to B Hz. This means that its Fourier transform is nonzero for −2πB
< ω < 2πB. Plot spectrum.
We will model the sampling process as multiplication of x(t) by the “picket fence” function
26
where
27
.
Show what the formula means: we are interpolating in time between samples using the
sinc function.
We will prove this theorem. Because we are actually lacking a few theoretical tools, it will
take a bit of work. What makes this interesting is we will end up using in a very essential way
most of the transform ideas we have talked about.
1. The first step is to notice that the spectrum of the sampled signal,
is periodic and hence has a Fourier series. The period of the function in frequency is ωs, and the
fundamental frequency is
so
3. Let
We will show that y(t) = x(t) by showing that Y (ω) = X(ω). We can compute the F.T. of
y(t) using linearity and the shifting property:
Observe that the summation on the right is the same as the F.S. we derived in step 1:
since x(t) is bandlimited to −πfs < ω < πfs or −fs/2 < f < fs/2.
Fig. Sampling
29
Notice that the reconstruction filter is based upon a sinc function,
whose transform is a rect function: we are really just doing the
filtering implied by our initial intuition.In practice, of course, we want
to sample at a frequency higher than just twice the bandwidth to allow
room for filter rolloff
QUANTIZATION
Analog Pulse
Modulation
After the continuous wave modulation, the next division is Pulse modulation. Pulse
modulation is further divided into analog and digital modulation. The analog modulation
techniques are mainly classified into Pulse Amplitude Modulation, Pulse Duration
Modulation/Pulse Width Modulation, and Pulse Position Modulation.
The pulse amplitude modulated signal, will follow the amplitude of the original signal, as
the signal traces out the path of the whole wave. In natural PAM, a signal sampled at the
Nyquist rate is reconstructed, by passing it through an efficient Low Pass Frequency
(LPF) with exact cutoff frequency
The width of the pulse varies in this method, but the amplitude of the signal remains
constant. Amplitude limiters are used to make the amplitude of the signal constant.
These circuits clip off the amplitude, to a desired level and hence the noise is limited.
The leading edge of the pulse being constant, the trailing edge varies according
to the message signal.
The trailing edge of the pulse being constant, the leading edge varies according
to the message signal.
The center of the pulse being constant, the leading edge and the trailing edge
varies according to the message signal.
These three types are shown in the above given figure, with timing slots.
Explore our latest online courses and learn new skills at your own pace. Enroll and
become a certified expert to boost your career.
The transmitter has to send synchronizing pulses (or simply sync pulses) to keep the
transmitter and receiver in synchronism. These sync pulses help maintain the position of
the pulses. The following figures explain the Pulse Position Modulation.
Page 4 of 6
Page 5 of 6
Pulse position modulation is done in accordance with the pulse width modulated signal.
Each trailing of the pulse width modulated signal becomes the starting point for pulses in
PPM signal. Hence, the position of these pulses is proportional to the width of the PWM
pulses.
Advantage
As the amplitude and width are constant, the power handled is also constant.
Disadvantage
The synchronization between transmitter and receiver is a must.
Digital Modulation
Techniques
Digital Modulation provides more information capacity, high data security, quicker system
availability with great quality communication. Hence, digital modulation techniques have
a greater demand, for their capacity to convey larger amounts of data than analog ones.
There are many types of digital modulation techniques and we can even use a
combination of these techniques as well. In this chapter, we will be discussing the most
prominent digital modulation techniques.
Amplitude Shift Keying (ASK) is a type of Amplitude Modulation which represents the
binary data in the form of variations in the amplitude of a signal.
Following is the diagram for ASK modulated waveform along with its input.
Any modulated signal has a high frequency carrier. The binary signal when ASK is
modulated, gives a zero value for LOW input and gives the carrier output for HIGH input.
Following is the diagram for FSK modulated waveform along with its input.
The output of a FSK modulated wave is high in frequency for a binary HIGH input and is
low in frequency for a binary LOW input. The binary 1s and 0s are called Mark and
Space frequencies.
Explore our latest online courses and learn new skills at your own pace. Enroll and
become a certified expert to boost your career.
Phase Shift Keying (PSK) is the digital modulation technique in which the phase of the
carrier signal is changed by varying the sine and cosine inputs at a particular time. PSK
technique is widely used for wireless LANs, bio-metric, contactless operations, along with
RFID and Bluetooth communications.
Page 1 of 2
Modulation
Techniques
There are few modulation techniques which are followed to construct a PCM signal. These
techniques like sampling, quantization, and companding help to create an effective
PCM signal, which can exactly reproduce the original signal.
Quantization
The digitization of analog signals involves the rounding off of the values which are
approximately equal to the analog values. The method of sampling chooses few points
on the analog signal and then these points are joined to round off the value to a near
stabilized value. Such a process is called as Quantization.
The quantizing of an analog signal is done by discretizing the signal with a number of
quantization levels. Quantization is representing the sampled values of the amplitude by
a finite set of levels, which means converting a continuous-amplitude sample into a
discrete-time signal.
The following figure shows how an analog signal gets quantized. The blue line represents
analog signal while the red one represents the quantized signal.
Both sampling and quantization results in the loss of information. The quality of a
Quantizer output depends upon the number of quantization levels used. The discrete
amplitudes of the quantized output are called as representation levels or
reconstruction levels. The spacing between two adjacent representation levels is
called a quantum or step-size.
Page 2 of 2
Companding in
PCM
The word Companding is a combination of Compressing and Expanding, which means
that it does both. This is a non-linear technique used in PCM which compresses the data at
the transmitter and expands the same data at the receiver. The effects of noise and
crosstalk are reduced by using this technique.
Explore our latest online courses and learn new skills at your own pace. Enroll and
become a certified expert to boost your career.
Differential PCM
The samples that are highly correlated, when encoded by PCM technique, leave
redundant information behind. To process this redundant information and to have a
better output, it is a wise decision to take predicted sampled values, assumed from its
previous outputs and summarize them with the quantized values.
(2)
Pulse Modulation
PAM PCM
PWM DPCM
Figure: System for recovering message signal m(t) from PAM signal s(t)
Advantages of PAM :
• It is the simple and simple process for modulation and
demodulation
• Transmitter and receiver circuits are simple and easy to
construct.
S.
PAM PWM/PDM PPM
No
6
Similar to Amplitude Similar to frequency Simple to Phase
modulation modulation modulation
Pulse Modulation
So far, we have discussed about continuous-wave modulation. Now it’s time for discrete
signals. The Pulse modulation techniques, deals with discrete signals. Let us see how
to convert a continuous signal into a discrete one. The process called Sampling helps us
with this.
Sampling
The process of converting continuous time signals into equivalent discrete time signals,
can be termed as Sampling. A certain instant of data is continually sampled in the
sampling process.
The following figure indicates a continuous-time signal x(t) and a sampled signal xs(t).
When x(t) is multiplied by a periodic impulse train, the sampled signal xs(t) is obtained.
Sampling Rate
Page 2 of 5
To discretize the signals, the gap between the samples should be fixed. That gap can be
termed as the sampling period Ts.
1
Sampling Frequency = = fs
Ts
Where,
Explore our latest online courses and learn new skills at your own pace. Enroll and
become a certified expert to boost your career.
Sampling Theorem
While considering the sampling rate, an important point regarding how much the rate
has to be, should be considered. The rate of sampling should be such that the data in
the message signal should neither be lost nor it should get over-lapped.
The sampling theorem states that, “a signal can be exactly reproduced if it is sampled
at the rate fs which is greater than or equal to twice the maximum frequency W.”
To put it in simpler words, for the effective reproduction of the original signal, the
sampling rate should be twice the highest frequency.
Which means,
fs ≥ 2 W
Where,
The sampling theorem, which is also called as Nyquist theorem, delivers the theory of
sufficient sample rate in terms of bandwidth for the class of functions that are
bandlimited.
For the continuous-time signal x(t), the band-limited signal in frequency domain, can be
represented as shown in the following figure.
Page 3 of 5
If the signal is sampled above the Nyquist rate, the original signal can be recovered. The
following figure explains a signal, if sampled at a higher rate than 2w in the frequency
domain.
If the same signal is sampled at a rate less than 2w, then the sampled signal would look
like the following figure.
Page 4 of 5
We can observe from the above pattern that the over-lapping of information is done,
which leads to mixing up and loss of information. This unwanted phenomenon of over-
lapping is called as Aliasing.
Hence, the sampling of the signal is chosen to be at the Nyquist rate, as was stated in
the sampling theorem. If the sampling rate is equal to twice the highest frequency (2W).
That means,
fs = 2 W
Where,
The result will be as shown in the above figure. The information is replaced without any
loss. Hence, this is a good sampling rate.