Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
COURSE OBJECTIVES:
To provide the students with knowledge of both the theory and practical applications of digital
signal processing.
COURSE OUTLINE:
Review of: Sampling & Reconstruction, Quantization, Relationship between sampling
frequency and Shannon’s theorem, Continuous time and discrete time signals.
Discrete-Time Systems: Input/output Rules, Impulse Response, FIR and IIR filters, Causality
Stability, Z-transform, Inverse Z-transform, Discrete Fourier transform, Fast Fourier transform.
Digital Filter Design, Implementation techniques for sample-by-sample for real time DSP
application.
FIR Filtering and Convolution: Block Process Methods, Convolution, Direct Form,
Convolution Table, LTI Form, Matrix Form, Transient & Steady State Behaviour, Convolution
of Infinite Sequence.Sample Processing Methods, Pure Delays, FIR Filtering in Direct Form.
Transfer Functions: Equivalent Description of Digital Filters, Transfer Functions, Sinusoidal
Response, Poles/Zeros Design, De-convolution, Inverse Filters and Stability.
DFT/FFT Algorithm: Frequency Resolution and Windowing, DTFT, Inverse DFT, FFT and
Fast Convolution.
LAB OUTLINE:
Labs of the course consist of experiments that confirm the basic concepts of DSP. Initial labs
will be carried out on MATLAB and then students will be assigned to develop DSP system
(software and hardware), by integrating subsystems or using trainer of DSP.
TEXT BOOK:
1. Introduction to Signal Processing, by Sophocles J. Orfanidis, Prentice Hall, Inc. Latest Ed.
RECOMMENDED BOOKS:
1. Discrete-Time Signal Processing by A. V. Oppenheim and R. W. Schafer.
2. Digital Signal Processing: Principles, Algorithms, and Applications by J. G. Proakis and D. G.
Manolakis.
Introduction
Today, Digital Signal Processor (DSP) chips are used in a vast number of
different commercial and consumer applications. Examples of some typical
signals that can be manipulated by Digital Signal Processing (DSP) tech-
niques are:
3. Speech Signal
• formed by exciting the human vocal tract
• composed of two types of sounds: voiced and unvoiced
4. Musical Sounds
• generally produced by mechanical vibrations of the instrument
5. Time Series
• yearly average of number of sunspots, daily stock prices, the annual yield
per km2 of crops etc.
6. Seismic Signals
• reflections activated by seismic sources, such as high-energy explosives
7. Images
• two-dimensional signals, e.g. photographs, still video images and x-rays
8. Modulation Signals
• signals used in digital modulation methods, usually complex envelopes
of bandpass signals
1
Most naturally occurring signals are analog signals, and in many applications
of DSP the final result of processing is also an analog signal.
Programmability
• A hardware implementation that is based on a Digital Signal Processor
can be modified or upgraded simply by replacing the software (a memory
chip), whereas modifications of analog implementations require changes
in the hardware, which in many cases leads to complete redesign of the
whole system.
2
Error Correction and Detection Capabilities
• Digital signals can be stored or transmitted without any loss of informa-
tion. If the data storage or the transmission medium is unreliable (i.e. it
can create bit errors), error detection and error correction techniques can
be easily adopted for digital signals. Corresponding functions are again
practically impossible to implement for analog signals.
Special Functions
• Digital implementation enables realization of certain signal processing
functions, which are impossible in analog implementation. Examples of
such functions are linear phase filters, quadrature mirror filter banks etc.
Digital Signal Processing naturally has also some disadvantages, the most
important disadvantages of Digital Signal Processing are:
System Complexity
• For systems, where the input and output signals are analog signals, a
DSP implementation inevitably requires A/D and D/A converters with
their associated filters. Thus, simple signal processing functions can be
implemented with reduced system complexity by using analog process-
ing. The reduced system complexity also leads to reduced cost, reduced
power consumption, and reduced size, which are critical parameters in
many applications.
Bandwidth Limitation
• There is an inherent bandwidth limitation for Digital Signal Processing,
since the sampling rates of A/D and D/A converters as well as cycle
times of Digital Signal Processors, themselves, are limited by the state-
of-the-art of the technology. Currently, sampling frequency around
100-500 MHz possible.
3
I. Discrete-Time Signals and Systems
Besides the independent variable (i.e. time) being either continuous or dis-
crete, the signal amplitude may be either continuous or discrete. When both
amplitude and time are continuous we call the signal analog. These are the
kind of signals occurring in the physical world, as discussed in introductory
physics courses. Such signals cannot be directly accessed by a digital com-
puter.
When the values of the signal are defined only at the discrete points in time,
and the values themselves are coded with a finite number of bits, the signal
is called a digital signal. These kinds of signals can be stored in the digital
storage media and used in digital computers.
Amplitude
Time Continuous Discrete
Continuous Analog "Quantized boxcar"
Discrete Sampled-data Digital
We will refer to x[n] as the "nth sample" of the discrete-time signal even if
the signal is not obtained by sampling an analog signal. If, indeed, the signal
is obtained from sampling of analog signal xa(t), then x[n]=xa(nT), where T
is the sampling period (i.e. the time interval between successive samples).
Analog signal
Continuous tim e, t
Sampled-data signal
Discrete tim e, n
Continuous tim e, t
Digital signal
Discrete tim e, n
I.1.2. Some Elementary Discrete-Time Signals
0, n ≠ 0
δ[n ]=
1, n = 0
δ [n ]
1
0
-2 0 -1 5 -1 0 -5 0 5 10 15 20
n
∞
x[n]= ∑ x[k ] δ[n − k ]
k =−∞
0, n < 0
u[n ]=
1, n ≥ 0
u [n ]
1
0
-2 0 -1 5 -1 0 -5 0 5 10 15 20
n
The unit sample and unit step are related to each other by
n
u[n ]= ∑ δ[k ]
k = −∞
i.e., the value of the unit step at index n is equal to the accumulated sum of
the value at index n and all previous values of the unit sample, and the value
of unit sample is equal to the first backward difference of the unit step.
These relationships correspond respectively to integration and derivation
in the continuous-time case.
Since this sequence is complex-valued, separate plots of the real and imagi-
nary parts are required to illustrate it.
The following is a plot of a complex exponential sequence for ω0 = π/10.
Re{Aejω0n}
A
-A
-20 -15 -10 -5 0 5 10 15 20
n
Im{Aejω0n}
A
-A
-20 -15 -10 -5 0 5 10 15 20
n
x[n] = A cos(ω0n)
2π
ω0N = 2πk, or N = k .
ω0
Same result holds for the complex exponential. Thus, complex exponential
and sinusoidal sequences are not necessarily periodic sequences. Depending
on the value of ω0, there may or may not be integer values k and N to fulfill
the periodicity condition. For example, for ω0 = 1 no such integer values can
be found, and the sequence x[n] = A cos(n) is not periodic.
δ [n ]
1
0
-2 0 -1 5 -1 0 -5 0 5 10 15 20
n
x[n] = {…, 0, 0, 1, 0, 0, …}
↑
where the symbol ↑ indicates the time origin (n = 0). As graphical represen-
tation, also the sequence representation can completely represent only finite-
duration signals.
y[n] = T{x[n]}.
The mapping from an input sequence into an output sequence can in most
cases be represented as a combination of basic operations of addition, multi-
plication, multiplication by a constant, delay and time reversal.
All these basic operations require that the operand(s) and the result must
have the same sampling period. Later, in the Section III.4 we shall also
examine essential sampling period conversion operations.
SAMPLING AND RECONSTRUCTION
SAMPLING THEOREM
The analog signal x(t) is periodically measured every T seconds. Thus, time is discretized in
units of the sampling interval
Fig: Ideal Sampler
Every frequency component of the original signal is periodically replicated over the entire
frequency axis, with period given by the sampling rate: