Digital Signal Processing Lecture-03: Arnisha Akhter Lecturer, Dept. of CSE Jagannath University
Digital Signal Processing Lecture-03: Arnisha Akhter Lecturer, Dept. of CSE Jagannath University
Digital Signal Processing Lecture-03: Arnisha Akhter Lecturer, Dept. of CSE Jagannath University
Lecture-03
Arnisha Akhter
Lecturer, Dept. of CSE
Jagannath University
Aliasing
• When the minimum sampling rate is not respected, distortion
called aliasing occurs.
• The low pass filter, called the anti-aliasing filter, removes all
frequencies above half the selected sampling rate.
2
Aliasing
• Figure illustrates sampling a 40 Hz sinusoid
• The sampling interval between sample points is T = 0.01 second,
and the sampling rate is thus fs = 100 Hz.
• The sampling theorem condition is satisfied
3
Aliasing
• Figure illustrates sampling a 90 Hz sinusoid
• The sampling interval between sample points is T = 0.01 second,
and the sampling rate is thus fs = 100 Hz.
• The sampling theorem condition is not satisfied
4
Aliasing
5
Sampling Effect in Time Domain
6
Time & Frequency Domains
• There are two complementary signal descriptions.
• Signals seen as projected onto time or frequency domains.
7
Signal & Spectrum
8
Frequency Range of Analog & Digital Signals
9
Anti Aliasing Filter
• A signal with no frequency component above a certain
maximum frequency is known as a band-limited signal.
11
Under Sampling
• If the sampling rate is lower than the required Nyquist rate, that
is fS < 2W, it is called under sampling.
12
Sampling of Band Limited Signals
Fs ≥ BW
13
Sampling of Band Limited Signals
• While this under-sampling is normally avoided, it can be
exploited.
• For example, in the case of band limited signals all of the
important signal characteristics can be deduced from the copy
of the spectrum that appears in the baseband through
sampling.
• Depending on the relationship between the signal frequencies
and the sampling rate, spectral inversion may cause the shape
of the spectrum in the baseband to be inverted from the true
spectrum of the signal.
14
Sampling of Band Limited Signals
16
Over Sampling
• In the example below, 2x oversampling means that a low order analog filter is
adequate to keep important signal information intact after sampling.
• After sampling, higher order digital filter can be used to extract the information.
17
Over Sampling
• The ideal filter has a flat pass-band and the cut-off is very sharp,
since the cut-off frequency of this filter is half of that of the
sampling frequency, the resulting replicated spectrum of the
sampled signal do not overlap each other. Thus no aliasing
occurs.
• Practical low-pass filters cannot achieve the ideal
characteristics.
• Firstly, this would mean that we have to sample the filtered
signals at a rate that is higher than the Nyquist rate to
compensate for the transition band of the filter
18
Sampling Low Pass Signals
19
Analog to Digital Conversion
Quantizer
23
Analog to Digital Conversion
4-bit Quantizer
24
Quantization Error
• The error caused by representing a continuous-valued signal
(infinite set) by a finite set of discrete-valued levels.
26
Analog to Digital Conversion
• Lets consider the signal which is to be quantized.
28
Analog to Digital Conversion
Quantization of unipolar data (maximum error = full step)
29
Analog to Digital Conversion
Quantization of unipolar data (maximum error = half step)
30
Analog to Digital Conversion
Example: Analog pressures are recorded using a pressure transducer as
voltages between 0 and 3 V. The signal must be quantized using a 3-bit
digital code. Indicate how the analog voltages will be covered to digital
values.
31
Analog to Digital Conversion
Quantization of bipolar data (maximum error = half step)
32
Three-bit A/D Conversion
33
Dynamic Range
•
34
Signal-to-Quantization-Noise Ratio
• Mathematically,
where
• Px= Power of the signal ‘x’ (before quantization)
• Pq= Power of the error signal ‘xq’
35
Analog to Digital Conversion
36
Digital-to-Analog (D/A) Conversion
37
Digital-to-Analog (D/A) Conversion
39
Digital-to-Analog (D/A) Conversion
Three bit D/A Conversion
40
Comparing Signals in the A/D & D/A Chain
41
Comparing Signals in the A/D & D/A Chain
42
Summary
43
Summary
44