Digital Representation of Analog Signals
Digital Representation of Analog Signals
DIGITAL REPRESENTATION
OF ANALOG SIGNALS
Introduction
• Era of CW Modulation and its drawbacks
• Improvement of Digital Transmission from 1930 to
1960
• Process of Analog to digital conversion–
SAMPLING
QUANTIZATION
Why Digitize Analog Sources
Digital Signals are less sensitive to NOISE than analog.
For long transmission lengths, the signal may be
regenerated effectively error-free at different points
along the path and the original signal is transmitted
over the remaining length.
With digital systems it is easier to integrate different
services ( Ex-Video and Audio)
The transmission scheme is relatively independent of
source.
Why Digitize Analog Sources
Circuitry for handling digital signals is easier to repeat
and digital circuits are less sensitive to physical effects
such as vibrations & temperature.
Simpler to characterize and typically do not have the
same amplitude range and variability as analog signals.
Thus design of associated hardware is easy to design.
Various media sharing schemes are easy in digital
transmission strategies.
Why Digitize Analog Sources
There are techniques for removing redundancy from
digital transmission, so as to minimize the amount to
be transmitted.
There are techniques for adding controlled redundancy
in the signal in digital transmission.
Digital techniques make it easier to specify complex
standards that may be shared on worldwide basis.
The sampling Process
It is usually described in time domain
It is an operation that is basic to digital signal
processing and digital communications.
Through the use of Sampling process the analog signal
is converted into corresponding sequence of samples
that are usually spaced uniformly in time.
For the same it is necessary that we choose the
sampling rate properly, such that samples uniquely
defines original signal.
The sampling Process
The sampling Process
Consider an Arbitrary signal of finite energy, and considering
that we sample it once after Every Ts seconds apart and
denoted by {g(nTs)}, where n takes on all possible integer values.
• Ts is refered as Sampling period and to its reciprocal fs=1/Ts as
the sampling rate.
This ideal form of sampling is called Instantaneous Sampling.
The sampling Process
Let gδ(t) denote the signal obtained by individually weighting the
elements of periodic sequence of dirac delta functions spaced as
Ts seconds apart by sequence of numbers {g(nTs)} as shown by,
gδ(t)= σ∞
𝑛=−∞ 𝑔 𝑛𝑇𝑠 δ(𝑡 − 𝑛𝑇𝑠) ----1
gδ(t) is as the ideal sampled signal
δ(𝑡 − 𝑛𝑇𝑠)represents a delta function positioned at time
t=nTs
The sampling Process
The idea sampled signal gδ(t) has mathematical form similar to
that of Fourier transform of periodic signal. This is readily
established by comparing equation 1 with Fourier transform of
periodic signal as mentioned in chapter 2. By applying duality
property,
gδ(t)= fs σ∞
𝑚=−∞ 𝐺 𝑓 − 𝑚𝑓𝑠 -----------------------2
where G(f) is the fourier transform of ideal sampled signal
f𝑠 represents the sampling rate.
The sampling Process
Thus equation 2 states that the process of uniformly sampling a
continuous time signal of finite energy results in a periodic
spectrum with a period equal to the sampling rate.
Fourier transform of signal gδ(t) can be written in alias form
where δ(𝑡 − 𝑛𝑇𝑠) can be replaced by exp(-j2ΠnfTs).
Then let Gδ(f) denote the fourier transform of gδ(t), thus we may
write equation 2 as,
Gδ(f) = σ∞
𝑛=−∞ 𝑔 𝑛𝑇𝑠 exp(-j2ΠnfTs) -----3
This is called discrete time fourier transform.
The sampling Process
Suppose the signal g(t) is strictly band limited with NO frequency
components higher than W hertz. That is G(f) of it is Zero for
|f| ≥W.
Suppose we choose sampling period Ts=1/2W then equation 3
yields,
Gδ(f) = σ∞
𝑛=−∞ 𝑔 𝑛/2𝑊 exp(-j2Πnf/W) ------4
Also equation 2 can be rewritten as ,
Gδ(f) = fs G(f)+ σ∞
𝑚=−∞ 𝐺 𝑓 − 𝑚𝑓𝑠 ----5
m≠0
The sampling Process
The sampling Process
Thus under 2 following conditions,
1. G(f)=0 for |f| ≥W
2. Fs=2W
Then we find from equation 5 that,
G(f)= 1/2W Gδ(f), for -W <f< W -------------6
On substituting equation 4 in 6 we get,
G(f) = 1/2W σ∞
𝑛=−∞ 𝑔 𝑛/2𝑊 exp(-j2Πnf/W) -------7
The sampling Process
Therefore if the sample values g(n/2W) of a signal g(t) are
specified for all time, then the fourier transform G(f) of the
signal is uniquely determined using the discret time fourier
transform equation 7.
HW- Have an overview of 4 step equations used for
reconstructing the original signal g(t) from sequence of samples
[g(n/2W)].
The sampling Process
We may now state the sampling theorem for strictly band
limited signals of finite energy into 2 equivalent parts,
1. A band limited signal of finite energy which only has
frequency component less than W hertz, is completely
described by specifying the values of signal at instants of
time separated by 1/2W seconds.
2. A band limited signal of finite energy which only has
frequency component less than W hertz, may be completely
recovered from a knowledge of its samples taken at rate of
2W samples per second.
The sampling Process
The sampling rate of 2W samples per second for a signal
bandwidth of W Hertz is called NYQUIST RATE.
S(f) = fs σ∞
𝑘=−∞ 𝑀 𝑓 − 𝑘𝑓𝑠 . 𝐻(𝑓)
MIDRISE MIDTREAD
THE QUANTIZATION PROCESS
PULSE CODE MODULATION
It is most basic form of Digital Pulse Modulation
Here a message signal is represented by sequence of
coded pulses , which is accomplished by representing
signal in discrete form in both time and amplitude.
Lets study the Generation and Detection steps of PCM
Signal
PULSE CODE MODULATION
Basic Elements of PCM System are demonstrated 3
sections namely, Transmitter, Transmission Path and
Receiver.
PULSE CODE MODULATION
Quantization
• Non uniform quantizer with variable step size used.
• μ Law
• A Law
μ Law
• m and v are normalized input and output voltages.
• |v|= Log(1+μ|m|)
Log( 1+μ)
A Law
Encoding
Line Codes
Unipolar NRZ
Polar NRZ
Unipolar RZ
Bipolar RZ