DSP 1
DSP 1
1 Introduction
This lecture explores the fundamental processes of **Signal Sampling** and
**Quantization**, which are critical in converting continuous-time signals to
digital format. We will also discuss **signal reconstruction** and practical
concerns like anti-aliasing filtering.
2 Signal Sampling
Sampling is the process of converting a continuous-time signal into a discrete-
time signal by taking samples at regular intervals.
where Ts is the sampling period, and x(nTs ) is the sampled value at time t =
nTs .
1
2.2 Schematic: Sampling Process
Amplitude
xs (t)
Time
Sampled points
fs ≥ 2fmax
2.4 Aliasing
When a signal is sampled below the Nyquist rate, it causes overlapping of fre-
quency components, leading to **aliasing**.
3 Quantization
Quantization maps continuous amplitude values of a sampled signal into discrete
values, introducing **quantization error**.
2
3.1 Quantization Process
The quantization process can be defined as follows:
1. **Sampling the Signal:** The continuous signal is first sampled to obtain
discrete amplitude values.
L = 2b
Amplitude
Quantized
Quantized
Level Level
Quantized Value
Quantized Level Quantized Level Continuous
Time Signal
Sampled Value
Quantized
Quantized
Level Level
Quantization Level
SampledSampled
Point Sampled
Point Sampled
Point Sampled
Point Sampled
Point Point
3
3.3 Quantization Error
Quantization introduces an error defined as the difference between the actual
sampled value and the quantized value. The maximum quantization error Emax
is given by:
∆
Emax =
2
where ∆ is the quantization step size.
Amplitude
Quantized Value
Quantization Error Value
Original Sampled Point
4
4 Signal Reconstruction
Signal reconstruction is the process of converting a discrete-time signal back
into a continuous-time signal. This involves using a **reconstruction filter**
that smooths out the discrete samples to form a continuous signal.
sin(πt)
where sinc(t) = πt serves as the ideal low-pass filter.
5
4.3 Schematic: Signal Reconstruction Process
Amplitude
Reconstructed signal
Time
5 Exercises
• Exercise 1: A signal with a bandwidth of 10 kHz is sampled. What is
the minimum sampling frequency to avoid aliasing?
• Exercise 2: An 8-bit quantizer is used for a signal ranging from -5V to 5V.
What is the quantization step size? What is the maximum quantization
error?
• Exercise 3: Explain the effect of increasing the bit depth from 8-bit to
16-bit on quantization noise and signal accuracy.
6 Further Reading
To explore these concepts further, consider the following resources:
• Digital Signal Processing: Principles, Algorithms, and Applications by
Proakis and Manolakis.
• Practical examples using MATLAB for signal processing.