SlideShare a Scribd company logo
Introduction to Digital Signal
Processing (DSP)
Elena Punskaya
www-sigproc.eng.cam.ac.uk/~op205
Some material adapted from courses by
Prof. Simon Godsill, Dr. Arnaud Doucet,
Dr. Malcolm Macleod and Prof. Peter Rayner

1
Course Overview
•  Topics:
–  Fourier Transforms and Digital Filters 6 letures [me]
–  Random signals, Optimal Filtering and Signal
Modelling 6 lectures [Simon Godsill]
–  Pattern recognition 4 lectures [Zoubin Ghahramani]
•  Handouts:
–  New: typos, please, e-mail op205@cam.ac.uk
–  www-sigproc.eng.cam.ac.uk/~op205
–  Feedback welcome
•  Natural extension of 3F1
2
Books
Books:
–  J.G. Proakis and D.G. Manolakis, Digital Signal
Processing 3rd edition, Prentice-Hall.
–  R.G Lyons, Understanding Digital Signal
processing, 2nd edition, Prentice-Hall. (Amazon’s
top-selling for five straight years)
Material covered
–  maths (why is it difficult?)
–  exams
–  examples papers
–  help

3
What is Digital Signal Processing?
Digital: operating by the use of discrete signals to
represent data in the form of numbers
Signal: a parameter (electrical quantity or effect) that can
be varied in such a way as to convey information
Processing: a series operations performed according to
programmed instructions
changing or analysing information
which is measured as discrete
sequences of numbers
4
The Journey
“Learning digital signal processing is not something
you accomplish; it’s a journey you take”.
R.G Lyons, Understanding Digital Signal processing

5
Applications of DSP - Radar
Radar and Sonar:
Examples
1) target detection – position and
velocity estimation
2) tracking

6
Applications of DSP - Biomedical
Biomedical: analysis of biomedical signals,
diagnosis, patient monitoring,
preventive health care, artificial
organs
Examples:
1) electrocardiogram (ECG) signal – provides
doctor with information about the condition of
the patient’s heart
2) electroencephalogram (EEG) signal – provides
Information about the activity of the brain
7
Applications of DSP - Speech
Speech applications:
Examples
1) noise reduction – reducing background noise
in the sequence produced by a sensing device (microphone)
2) speech recognition – differentiating
between various speech sounds

3) synthesis of artificial speech – text to speech
systems for blind
8
Applications of DSP - Communications
Communications:
Examples
1) telephony – transmission of information in digital form via
telephone lines, modem technology, mobile phones

2) encoding and decoding of the information
sent over a physical channel (to optimise
transmission or to detect or correct errors in
transmission)
9
Applications of DSP – Image Processing
Image Processing:
Examples
1) content based image retrieval – browsing,
searching and retrieving images from database

2) image enhancement

2) compression - reducing the redundancy in
the image data to optimise transmission /
storage
10
Applications of DSP – Music
Music Applications:
Examples:
1) Recording

2) Playback

3) Manipulation (mixing, special effects)
11
Applications of DSP - Multimedia

Multimedia:
generation storage and
transmission of sound, still
images, motion pictures
Examples:
1) digital TV

2) video conferencing
12
DSP Implementation - Operations
To implement DSP we must be able to:
Input

Digital
Signal

DSP

Digital
Signal

Output

1) perform numerical operations including, for
example, additions, multiplications, data transfers
and logical operations
either using computer or special-purpose hardware
13
DSP chips
•  Introduction of the microprocessor in the late 1970's and
early 1980's meant DSP techniques could be used in a
much wider range of applications.
DSP chip – a programmable
device, with its own native
instruction code
designed specifically to meet
numerically-intensive
requirements of DSP

Bluetooth
headset

Household
appliances

Home theatre
system

capable of carrying out
millions of floating point
operations per second 14
DSP Implementation – Digital/Analog Conversion
To implement DSP we must be able to:
Digital
Signal

DSP

Digital
Signal

Analog
Signal

Reconstruction

2) convert the digital information, after being processed
back to an analog signal
- involves digital-to-analog conversion & reconstruction
(recall from 1B Signal and Data Analysis)
e.g. text-to-speech signal (characters are used to generate artificial
sound)

15
DSP Implementation –Analog/Digital Conversion
To implement DSP we must be able to:
Analog
Signal

Sampling

Digital
Signal

DSP

Digital
Signal

3) convert analog signals into the digital information
- sampling & involves analog-to-digital conversion
(recall from 1B Signal and Data Analysis)
e.g. Touch-Tone system of telephone dialling (when button is
pushed two sinusoid signals are generated (tones) and
transmitted, a digital system determines the frequences and
uniquely identifies the button – digital (1 to 12) output

16
DSP Implementation
To implement DSP we must be able to:
Analog
Signal

Sampling

Digital
Signal

DSP

Digital
Signal

Reconstruction

Analog
Signal

perform both A/D and D/A conversions
e.g. digital recording and playback of music (signal is sensed by
microphones, amplified, converted to digital, processed, and
converted back to analog to be played
17
Limitations of DSP - Aliasing
Most signals are analog in nature, and have to be sampled
loss of information
•  we only take samples of the signals at intervals and
don’t know what happens in between
aliasing
cannot distinguish between
higher and lower frequencies
(recall from 1B Signal
and Data Analysis)

Gjendemsjø, A. Aliasing Applet, Connexions, http://cnx.org/content/m11448/1.14

Sampling theorem: to avoid
aliasing, sampling rate must be
at least twice the maximum
frequency component
(`bandwidth’) of the signal
18
Limitations of DSP - Antialias Filter
•  Sampling theorem says there is enough information
to reconstruct the signal, which does not mean
sampled signal looks like original one
correct reconstruction is not
just connecting samples with
straight lines

Each sample
is taken at a
slightly earlier
part of a cycle

needs antialias filter (to filter out all
high frequency components before
sampling) and the same for
reconstruction – it does remove
information though
(recall from 1B Signal
and Data Analysis)
19
Limitations of DSP – Frequency Resolution
Most signals are analog in nature, and have to be sampled
loss of information
•  we only take samples for a limited period of time
limited frequency
resolution
does not pick up “relatively”
slow changes
(recall from 1B Signal
and Data Analysis)

20
Limitations of DSP – Quantisation Error
Most signals are analog in nature, and have to be sampled
loss of information
•  limited (by the number of bits available) precision in data
storage and arithmetic
quantisation error
smoothly varying signal
represented by “stepped”
waveform

(recall from 1B Signal
and Data Analysis)

21
Advantages of Digital over Analog Signal Processing
Why still do it?
•  Digital system can be simply reprogrammed for other
applications / ported to different hardware / duplicated
(Reconfiguring analog system means hadware redesign, testing, verification)

•  DSP provides better control of accuracy requirements
(Analog system depends on strict components tolerance, response may drift with
temperature)

•  Digital signals can be easily stored without deterioration
(Analog signals are not easily transportable and often can’t be processed off-line)

•  More sophisticated signal processing algorithms can be
implemented
(Difficult to perform precise mathematical operations in analog form)
22

More Related Content

PPTX
Mp3 player working by digital signal processing
PDF
3F3 – Digital Signal Processing (DSP) - Part1
PDF
Introduction to Digital Signal Processing
PPTX
Introduction to Digital Signal Processing (DSP)
PPTX
Dsp algorithms 02
PPT
Practical Digital Signal Processing for Engineers and Technicians
PPTX
digital signal processing
Mp3 player working by digital signal processing
3F3 – Digital Signal Processing (DSP) - Part1
Introduction to Digital Signal Processing
Introduction to Digital Signal Processing (DSP)
Dsp algorithms 02
Practical Digital Signal Processing for Engineers and Technicians
digital signal processing

What's hot (20)

PDF
Introduction to DSP
PDF
Introduction to DSP - Digital Signal Processing
PPT
Digital signal processor part4
PPT
DIGITAL SIGNAL PROCESSOR OVERVIEW
PPTX
Application of digital_signal_processing_in_audio_processing[1]
PPT
Digital signal processing
PDF
Introduction to dsp by bibhu prasad ganthia
PPT
Real-Time Signal Processing: Implementation and Application
PPTX
Digital Signal Processing
PDF
DSP Processor
PDF
Advanced Topics In Digital Signal Processing
PPT
Romain Rogister DSP ppt V2003
PPT
Digital signal processing part1
PPTX
Dsp application on mobile communication
PPTX
Lecture 18 (5)
PPTX
Digital signal processing
PPT
Discrete-Time Signal Processing
PPT
Digital Signal Processor
PPTX
DIGITAL SIGNAL PROCESSING
PPTX
presentation on digital signal processing
Introduction to DSP
Introduction to DSP - Digital Signal Processing
Digital signal processor part4
DIGITAL SIGNAL PROCESSOR OVERVIEW
Application of digital_signal_processing_in_audio_processing[1]
Digital signal processing
Introduction to dsp by bibhu prasad ganthia
Real-Time Signal Processing: Implementation and Application
Digital Signal Processing
DSP Processor
Advanced Topics In Digital Signal Processing
Romain Rogister DSP ppt V2003
Digital signal processing part1
Dsp application on mobile communication
Lecture 18 (5)
Digital signal processing
Discrete-Time Signal Processing
Digital Signal Processor
DIGITAL SIGNAL PROCESSING
presentation on digital signal processing
Ad

Viewers also liked (16)

PPTX
Ways to learn
PPT
Embedded 120206023739-phpapp02
PPTX
Finalpresentation
PPTX
2ndFinalpresentation
PPT
Rational rose
PDF
Welcome to Groopt_for Linkedin
PPTX
Aleixbmaite
PDF
An activity i enjoy doing
PPT
Anatomi
PPTX
Magazine Institutions
PDF
CS Guide_For LinkedIn
PPTX
The Male Mixed Voice
PDF
PPTX
Hp deskjet 2
PPTX
Hinagpis ni florante
PPTX
Ways to learn
Embedded 120206023739-phpapp02
Finalpresentation
2ndFinalpresentation
Rational rose
Welcome to Groopt_for Linkedin
Aleixbmaite
An activity i enjoy doing
Anatomi
Magazine Institutions
CS Guide_For LinkedIn
The Male Mixed Voice
Hp deskjet 2
Hinagpis ni florante
Ad

Similar to 3 f3 1_introduction_to_dsp (20)

PPTX
introduction_to_digital_signap_process.pptx
PPTX
Advanced_Digital_Signal_Processing_Lectu(2).pptx
PPTX
dsp-u-signal _process_lec01real-timedspsystems.pptx
PDF
Ee341 dsp1 1_sv_chapter1_hay truy cap vao trang www.mientayvn.com de tai them...
PPTX
DSP intro 1.pptx
PPTX
Introduction_to_DSPforengineersforstudy.pptx
PPTX
Introduction to digital signal processing 2
PPTX
Lect1_ DSP.pptx
PPTX
Dsp presentation
PPTX
ECE420_Chapter+1.pptx
PPTX
Digital signal processing
PPTX
Introduction to digital signal processing
PPTX
Digital Signal Processingchapter#01.pptx
PPTX
DSP_ Scheme - Introduction : talks about
DOCX
Real time signal processing
PPTX
Dsp ppt
PDF
PPTX
Introduction-to-Digital-Signal-Processing-DSP.pptx
PPT
Pengolahan Sinyal Digital (Pertemuan - 1)
PPTX
Digital_Signal_Processing_Presentation.pptx
introduction_to_digital_signap_process.pptx
Advanced_Digital_Signal_Processing_Lectu(2).pptx
dsp-u-signal _process_lec01real-timedspsystems.pptx
Ee341 dsp1 1_sv_chapter1_hay truy cap vao trang www.mientayvn.com de tai them...
DSP intro 1.pptx
Introduction_to_DSPforengineersforstudy.pptx
Introduction to digital signal processing 2
Lect1_ DSP.pptx
Dsp presentation
ECE420_Chapter+1.pptx
Digital signal processing
Introduction to digital signal processing
Digital Signal Processingchapter#01.pptx
DSP_ Scheme - Introduction : talks about
Real time signal processing
Dsp ppt
Introduction-to-Digital-Signal-Processing-DSP.pptx
Pengolahan Sinyal Digital (Pertemuan - 1)
Digital_Signal_Processing_Presentation.pptx

Recently uploaded (20)

PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Approach and Philosophy of On baking technology
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PPTX
Cloud computing and distributed systems.
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Machine learning based COVID-19 study performance prediction
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Encapsulation theory and applications.pdf
PPTX
sap open course for s4hana steps from ECC to s4
PPTX
Spectroscopy.pptx food analysis technology
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
MIND Revenue Release Quarter 2 2025 Press Release
Approach and Philosophy of On baking technology
Chapter 3 Spatial Domain Image Processing.pdf
Digital-Transformation-Roadmap-for-Companies.pptx
Agricultural_Statistics_at_a_Glance_2022_0.pdf
NewMind AI Weekly Chronicles - August'25 Week I
Cloud computing and distributed systems.
20250228 LYD VKU AI Blended-Learning.pptx
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Building Integrated photovoltaic BIPV_UPV.pdf
Machine learning based COVID-19 study performance prediction
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
The AUB Centre for AI in Media Proposal.docx
Encapsulation theory and applications.pdf
sap open course for s4hana steps from ECC to s4
Spectroscopy.pptx food analysis technology
Reach Out and Touch Someone: Haptics and Empathic Computing
Understanding_Digital_Forensics_Presentation.pptx
Review of recent advances in non-invasive hemoglobin estimation
How UI/UX Design Impacts User Retention in Mobile Apps.pdf

3 f3 1_introduction_to_dsp

  • 1. Introduction to Digital Signal Processing (DSP) Elena Punskaya www-sigproc.eng.cam.ac.uk/~op205 Some material adapted from courses by Prof. Simon Godsill, Dr. Arnaud Doucet, Dr. Malcolm Macleod and Prof. Peter Rayner 1
  • 2. Course Overview •  Topics: –  Fourier Transforms and Digital Filters 6 letures [me] –  Random signals, Optimal Filtering and Signal Modelling 6 lectures [Simon Godsill] –  Pattern recognition 4 lectures [Zoubin Ghahramani] •  Handouts: –  New: typos, please, e-mail op205@cam.ac.uk –  www-sigproc.eng.cam.ac.uk/~op205 –  Feedback welcome •  Natural extension of 3F1 2
  • 3. Books Books: –  J.G. Proakis and D.G. Manolakis, Digital Signal Processing 3rd edition, Prentice-Hall. –  R.G Lyons, Understanding Digital Signal processing, 2nd edition, Prentice-Hall. (Amazon’s top-selling for five straight years) Material covered –  maths (why is it difficult?) –  exams –  examples papers –  help 3
  • 4. What is Digital Signal Processing? Digital: operating by the use of discrete signals to represent data in the form of numbers Signal: a parameter (electrical quantity or effect) that can be varied in such a way as to convey information Processing: a series operations performed according to programmed instructions changing or analysing information which is measured as discrete sequences of numbers 4
  • 5. The Journey “Learning digital signal processing is not something you accomplish; it’s a journey you take”. R.G Lyons, Understanding Digital Signal processing 5
  • 6. Applications of DSP - Radar Radar and Sonar: Examples 1) target detection – position and velocity estimation 2) tracking 6
  • 7. Applications of DSP - Biomedical Biomedical: analysis of biomedical signals, diagnosis, patient monitoring, preventive health care, artificial organs Examples: 1) electrocardiogram (ECG) signal – provides doctor with information about the condition of the patient’s heart 2) electroencephalogram (EEG) signal – provides Information about the activity of the brain 7
  • 8. Applications of DSP - Speech Speech applications: Examples 1) noise reduction – reducing background noise in the sequence produced by a sensing device (microphone) 2) speech recognition – differentiating between various speech sounds 3) synthesis of artificial speech – text to speech systems for blind 8
  • 9. Applications of DSP - Communications Communications: Examples 1) telephony – transmission of information in digital form via telephone lines, modem technology, mobile phones 2) encoding and decoding of the information sent over a physical channel (to optimise transmission or to detect or correct errors in transmission) 9
  • 10. Applications of DSP – Image Processing Image Processing: Examples 1) content based image retrieval – browsing, searching and retrieving images from database 2) image enhancement 2) compression - reducing the redundancy in the image data to optimise transmission / storage 10
  • 11. Applications of DSP – Music Music Applications: Examples: 1) Recording 2) Playback 3) Manipulation (mixing, special effects) 11
  • 12. Applications of DSP - Multimedia Multimedia: generation storage and transmission of sound, still images, motion pictures Examples: 1) digital TV 2) video conferencing 12
  • 13. DSP Implementation - Operations To implement DSP we must be able to: Input Digital Signal DSP Digital Signal Output 1) perform numerical operations including, for example, additions, multiplications, data transfers and logical operations either using computer or special-purpose hardware 13
  • 14. DSP chips •  Introduction of the microprocessor in the late 1970's and early 1980's meant DSP techniques could be used in a much wider range of applications. DSP chip – a programmable device, with its own native instruction code designed specifically to meet numerically-intensive requirements of DSP Bluetooth headset Household appliances Home theatre system capable of carrying out millions of floating point operations per second 14
  • 15. DSP Implementation – Digital/Analog Conversion To implement DSP we must be able to: Digital Signal DSP Digital Signal Analog Signal Reconstruction 2) convert the digital information, after being processed back to an analog signal - involves digital-to-analog conversion & reconstruction (recall from 1B Signal and Data Analysis) e.g. text-to-speech signal (characters are used to generate artificial sound) 15
  • 16. DSP Implementation –Analog/Digital Conversion To implement DSP we must be able to: Analog Signal Sampling Digital Signal DSP Digital Signal 3) convert analog signals into the digital information - sampling & involves analog-to-digital conversion (recall from 1B Signal and Data Analysis) e.g. Touch-Tone system of telephone dialling (when button is pushed two sinusoid signals are generated (tones) and transmitted, a digital system determines the frequences and uniquely identifies the button – digital (1 to 12) output 16
  • 17. DSP Implementation To implement DSP we must be able to: Analog Signal Sampling Digital Signal DSP Digital Signal Reconstruction Analog Signal perform both A/D and D/A conversions e.g. digital recording and playback of music (signal is sensed by microphones, amplified, converted to digital, processed, and converted back to analog to be played 17
  • 18. Limitations of DSP - Aliasing Most signals are analog in nature, and have to be sampled loss of information •  we only take samples of the signals at intervals and don’t know what happens in between aliasing cannot distinguish between higher and lower frequencies (recall from 1B Signal and Data Analysis) Gjendemsjø, A. Aliasing Applet, Connexions, http://cnx.org/content/m11448/1.14 Sampling theorem: to avoid aliasing, sampling rate must be at least twice the maximum frequency component (`bandwidth’) of the signal 18
  • 19. Limitations of DSP - Antialias Filter •  Sampling theorem says there is enough information to reconstruct the signal, which does not mean sampled signal looks like original one correct reconstruction is not just connecting samples with straight lines Each sample is taken at a slightly earlier part of a cycle needs antialias filter (to filter out all high frequency components before sampling) and the same for reconstruction – it does remove information though (recall from 1B Signal and Data Analysis) 19
  • 20. Limitations of DSP – Frequency Resolution Most signals are analog in nature, and have to be sampled loss of information •  we only take samples for a limited period of time limited frequency resolution does not pick up “relatively” slow changes (recall from 1B Signal and Data Analysis) 20
  • 21. Limitations of DSP – Quantisation Error Most signals are analog in nature, and have to be sampled loss of information •  limited (by the number of bits available) precision in data storage and arithmetic quantisation error smoothly varying signal represented by “stepped” waveform (recall from 1B Signal and Data Analysis) 21
  • 22. Advantages of Digital over Analog Signal Processing Why still do it? •  Digital system can be simply reprogrammed for other applications / ported to different hardware / duplicated (Reconfiguring analog system means hadware redesign, testing, verification) •  DSP provides better control of accuracy requirements (Analog system depends on strict components tolerance, response may drift with temperature) •  Digital signals can be easily stored without deterioration (Analog signals are not easily transportable and often can’t be processed off-line) •  More sophisticated signal processing algorithms can be implemented (Difficult to perform precise mathematical operations in analog form) 22