SlideShare a Scribd company logo
1 of 22
Download to read offline
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             Digital
                Signal              Signal
                          DSP
                                              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

                                           capable of carrying out
                                           millions of floating point
   Bluetooth   Household    Home theatre
   headset     appliances   system         operations per second 14
DSP Implementation – Digital/Analog Conversion


To implement DSP we must be able to:

                  Digital                      Digital                      Analog
                  Signal                       Signal                       Signal
                                DSP                      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                Digital                     Digital
Signal                Signal                      Signal
         Sampling                   DSP


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              Digital                 Digital                    Analog
Signal              Signal                  Signal                     Signal
         Sampling              DSP                    Reconstruction




    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)

                                                                                    Sampling theorem: to avoid
                                                                                    aliasing, sampling rate must be
                                                                                    at least twice the maximum
                                                                                    frequency component
                                                                                    (`bandwidth’) of the signal
                                                                                                              18
   Gjendemsjø, A. Aliasing Applet, Connexions, http://cnx.org/content/m11448/1.14
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

                                         needs antialias filter (to filter out all
                                         high frequency components before
                                         sampling) and the same for
                                         reconstruction – it does remove
                                         information though
Each sample
is taken at a
slightly earlier          (recall from 1B Signal
part of a cycle           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

What's hot

Decimation and Interpolation
Decimation and InterpolationDecimation and Interpolation
Decimation and InterpolationFernando Ojeda
 
Introduction to digital signal processing 2
Introduction to digital signal processing 2Introduction to digital signal processing 2
Introduction to digital signal processing 2Hossam Hassan
 
DSP_FOEHU - Lec 07 - Digital Filters
DSP_FOEHU - Lec 07 - Digital FiltersDSP_FOEHU - Lec 07 - Digital Filters
DSP_FOEHU - Lec 07 - Digital FiltersAmr E. Mohamed
 
Delta modulation
Delta modulationDelta modulation
Delta modulationmpsrekha83
 
Signal classification of signal
Signal classification of signalSignal classification of signal
Signal classification of signal001Abhishek1
 
Digital modulation techniques...
Digital modulation techniques...Digital modulation techniques...
Digital modulation techniques...Nidhi Baranwal
 
Introduction to DSP
Introduction to DSPIntroduction to DSP
Introduction to DSPshinychristo
 
Advanced Topics In Digital Signal Processing
Advanced Topics In Digital Signal ProcessingAdvanced Topics In Digital Signal Processing
Advanced Topics In Digital Signal ProcessingJim Jenkins
 
Basics of Digital Filters
Basics of Digital FiltersBasics of Digital Filters
Basics of Digital Filtersop205
 
Digital Signal Processing
Digital Signal Processing Digital Signal Processing
Digital Signal Processing Sri Rakesh
 
EC8562 DSP Viva Questions
EC8562 DSP Viva Questions EC8562 DSP Viva Questions
EC8562 DSP Viva Questions ssuser2797e4
 
M ary psk modulation
M ary psk modulationM ary psk modulation
M ary psk modulationAhmed Diaa
 
Analog to digital converter
Analog to digital converterAnalog to digital converter
Analog to digital convertershrutishreya14
 

What's hot (20)

Decimation and Interpolation
Decimation and InterpolationDecimation and Interpolation
Decimation and Interpolation
 
Introduction to digital signal processing 2
Introduction to digital signal processing 2Introduction to digital signal processing 2
Introduction to digital signal processing 2
 
Dsp ppt
Dsp pptDsp ppt
Dsp ppt
 
Ditial to Analog Converter
Ditial to Analog ConverterDitial to Analog Converter
Ditial to Analog Converter
 
Sampling
SamplingSampling
Sampling
 
DSP_FOEHU - Lec 07 - Digital Filters
DSP_FOEHU - Lec 07 - Digital FiltersDSP_FOEHU - Lec 07 - Digital Filters
DSP_FOEHU - Lec 07 - Digital Filters
 
Delta modulation
Delta modulationDelta modulation
Delta modulation
 
Signal classification of signal
Signal classification of signalSignal classification of signal
Signal classification of signal
 
Digital modulation techniques...
Digital modulation techniques...Digital modulation techniques...
Digital modulation techniques...
 
Introduction to DSP
Introduction to DSPIntroduction to DSP
Introduction to DSP
 
Advanced Topics In Digital Signal Processing
Advanced Topics In Digital Signal ProcessingAdvanced Topics In Digital Signal Processing
Advanced Topics In Digital Signal Processing
 
Subband Coding
Subband CodingSubband Coding
Subband Coding
 
Basics of Digital Filters
Basics of Digital FiltersBasics of Digital Filters
Basics of Digital Filters
 
Digital Signal Processing
Digital Signal Processing Digital Signal Processing
Digital Signal Processing
 
Multirate DSP
Multirate DSPMultirate DSP
Multirate DSP
 
EC8562 DSP Viva Questions
EC8562 DSP Viva Questions EC8562 DSP Viva Questions
EC8562 DSP Viva Questions
 
DSP PPT
DSP PPTDSP PPT
DSP PPT
 
M ary psk modulation
M ary psk modulationM ary psk modulation
M ary psk modulation
 
Delta Modulation
Delta ModulationDelta Modulation
Delta Modulation
 
Analog to digital converter
Analog to digital converterAnalog to digital converter
Analog to digital converter
 

Similar to Introduction to Digital Signal Processing

Introduction to dsp by bibhu prasad ganthia
Introduction to dsp by bibhu prasad ganthiaIntroduction to dsp by bibhu prasad ganthia
Introduction to dsp by bibhu prasad ganthiaDr. Bibhu Prasad Ganthia
 
DIGITAL SIGNAL PROCESWSING AND ITS APPLICATION
DIGITAL SIGNAL PROCESWSING AND ITS APPLICATIONDIGITAL SIGNAL PROCESWSING AND ITS APPLICATION
DIGITAL SIGNAL PROCESWSING AND ITS APPLICATIONLokeshBanarse
 
Research perspectives in biomedical signal processing
Research perspectives in biomedical signal processingResearch perspectives in biomedical signal processing
Research perspectives in biomedical signal processingajayhakkumar
 
REAL TIME SPECIAL EFFECTS GENERATION AND NOISE FILTRATION OF AUDIO SIGNAL USI...
REAL TIME SPECIAL EFFECTS GENERATION AND NOISE FILTRATION OF AUDIO SIGNAL USI...REAL TIME SPECIAL EFFECTS GENERATION AND NOISE FILTRATION OF AUDIO SIGNAL USI...
REAL TIME SPECIAL EFFECTS GENERATION AND NOISE FILTRATION OF AUDIO SIGNAL USI...ijcsa
 
Scientech trainer kit catalog
Scientech trainer kit catalogScientech trainer kit catalog
Scientech trainer kit catalogABHAYTAVPSC
 
Digital Signal Processing Applied in Mobile Communications
Digital Signal Processing Applied in Mobile CommunicationsDigital Signal Processing Applied in Mobile Communications
Digital Signal Processing Applied in Mobile Communicationsijtsrd
 
Digital signal processing
Digital signal processingDigital signal processing
Digital signal processingsivakumars90
 
USE_OF_DSP_FOR_WIRELESS_AND_MOBILE.ppt
USE_OF_DSP_FOR_WIRELESS_AND_MOBILE.pptUSE_OF_DSP_FOR_WIRELESS_AND_MOBILE.ppt
USE_OF_DSP_FOR_WIRELESS_AND_MOBILE.pptGobhinathS
 
Introduction to DSP - Digital Signal Processing
Introduction to DSP - Digital Signal ProcessingIntroduction to DSP - Digital Signal Processing
Introduction to DSP - Digital Signal ProcessingDr. Shivananda Koteshwar
 
Dsp
DspDsp
Dspncct
 
Ee341 dsp1 1_sv_chapter1_hay truy cap vao trang www.mientayvn.com de tai them...
Ee341 dsp1 1_sv_chapter1_hay truy cap vao trang www.mientayvn.com de tai them...Ee341 dsp1 1_sv_chapter1_hay truy cap vao trang www.mientayvn.com de tai them...
Ee341 dsp1 1_sv_chapter1_hay truy cap vao trang www.mientayvn.com de tai them...www. mientayvn.com
 
Romain Rogister DSP ppt V2003
Romain  Rogister  DSP  ppt V2003Romain  Rogister  DSP  ppt V2003
Romain Rogister DSP ppt V2003Romain Rogister
 
Biomedical digital signal processing : Digital Hearing Aid
Biomedical digital signal processing : Digital Hearing Aid Biomedical digital signal processing : Digital Hearing Aid
Biomedical digital signal processing : Digital Hearing Aid Pooja Yadav
 
An Evaluation Of Lms Based Adaptive Filtering
An Evaluation Of Lms Based Adaptive FilteringAn Evaluation Of Lms Based Adaptive Filtering
An Evaluation Of Lms Based Adaptive FilteringRenee Wardowski
 

Similar to Introduction to Digital Signal Processing (20)

3 f3 1_introduction_to_dsp
3 f3 1_introduction_to_dsp3 f3 1_introduction_to_dsp
3 f3 1_introduction_to_dsp
 
Introduction to dsp by bibhu prasad ganthia
Introduction to dsp by bibhu prasad ganthiaIntroduction to dsp by bibhu prasad ganthia
Introduction to dsp by bibhu prasad ganthia
 
DIGITAL SIGNAL PROCESWSING AND ITS APPLICATION
DIGITAL SIGNAL PROCESWSING AND ITS APPLICATIONDIGITAL SIGNAL PROCESWSING AND ITS APPLICATION
DIGITAL SIGNAL PROCESWSING AND ITS APPLICATION
 
Research perspectives in biomedical signal processing
Research perspectives in biomedical signal processingResearch perspectives in biomedical signal processing
Research perspectives in biomedical signal processing
 
REAL TIME SPECIAL EFFECTS GENERATION AND NOISE FILTRATION OF AUDIO SIGNAL USI...
REAL TIME SPECIAL EFFECTS GENERATION AND NOISE FILTRATION OF AUDIO SIGNAL USI...REAL TIME SPECIAL EFFECTS GENERATION AND NOISE FILTRATION OF AUDIO SIGNAL USI...
REAL TIME SPECIAL EFFECTS GENERATION AND NOISE FILTRATION OF AUDIO SIGNAL USI...
 
Scientech trainer kit catalog
Scientech trainer kit catalogScientech trainer kit catalog
Scientech trainer kit catalog
 
Digital Signal Processing Applied in Mobile Communications
Digital Signal Processing Applied in Mobile CommunicationsDigital Signal Processing Applied in Mobile Communications
Digital Signal Processing Applied in Mobile Communications
 
Digital signal processing
Digital signal processingDigital signal processing
Digital signal processing
 
Dsp presentation
Dsp presentationDsp presentation
Dsp presentation
 
Introduction to digital signal processor
Introduction to digital signal processorIntroduction to digital signal processor
Introduction to digital signal processor
 
USE_OF_DSP_FOR_WIRELESS_AND_MOBILE.ppt
USE_OF_DSP_FOR_WIRELESS_AND_MOBILE.pptUSE_OF_DSP_FOR_WIRELESS_AND_MOBILE.ppt
USE_OF_DSP_FOR_WIRELESS_AND_MOBILE.ppt
 
Introduction to DSP - Digital Signal Processing
Introduction to DSP - Digital Signal ProcessingIntroduction to DSP - Digital Signal Processing
Introduction to DSP - Digital Signal Processing
 
Lect1_ DSP.pptx
Lect1_ DSP.pptxLect1_ DSP.pptx
Lect1_ DSP.pptx
 
Dsp
DspDsp
Dsp
 
Ee341 dsp1 1_sv_chapter1_hay truy cap vao trang www.mientayvn.com de tai them...
Ee341 dsp1 1_sv_chapter1_hay truy cap vao trang www.mientayvn.com de tai them...Ee341 dsp1 1_sv_chapter1_hay truy cap vao trang www.mientayvn.com de tai them...
Ee341 dsp1 1_sv_chapter1_hay truy cap vao trang www.mientayvn.com de tai them...
 
Romain Rogister DSP ppt V2003
Romain  Rogister  DSP  ppt V2003Romain  Rogister  DSP  ppt V2003
Romain Rogister DSP ppt V2003
 
Biomedical digital signal processing : Digital Hearing Aid
Biomedical digital signal processing : Digital Hearing Aid Biomedical digital signal processing : Digital Hearing Aid
Biomedical digital signal processing : Digital Hearing Aid
 
ECE420_Chapter+1.pptx
ECE420_Chapter+1.pptxECE420_Chapter+1.pptx
ECE420_Chapter+1.pptx
 
An Evaluation Of Lms Based Adaptive Filtering
An Evaluation Of Lms Based Adaptive FilteringAn Evaluation Of Lms Based Adaptive Filtering
An Evaluation Of Lms Based Adaptive Filtering
 
Introduction to digital signal processing
Introduction to digital signal processingIntroduction to digital signal processing
Introduction to digital signal processing
 

More from op205

3 f6 security
3 f6 security3 f6 security
3 f6 securityop205
 
3 f6 11_softdevmethodologies
3 f6 11_softdevmethodologies3 f6 11_softdevmethodologies
3 f6 11_softdevmethodologiesop205
 
3 f6 8_databases
3 f6 8_databases3 f6 8_databases
3 f6 8_databasesop205
 
3 f6 10_testing
3 f6 10_testing3 f6 10_testing
3 f6 10_testingop205
 
3 f6 9a_corba
3 f6 9a_corba3 f6 9a_corba
3 f6 9a_corbaop205
 
3 f6 9a_corba
3 f6 9a_corba3 f6 9a_corba
3 f6 9a_corbaop205
 
3 f6 9_distributed_systems
3 f6 9_distributed_systems3 f6 9_distributed_systems
3 f6 9_distributed_systemsop205
 
Lecture 7 Software Engineering and Design User Interface Design
Lecture 7 Software Engineering and Design User Interface Design Lecture 7 Software Engineering and Design User Interface Design
Lecture 7 Software Engineering and Design User Interface Design op205
 
Lecture 6 Software Engineering and Design Good Design
Lecture 6 Software Engineering and Design Good Design Lecture 6 Software Engineering and Design Good Design
Lecture 6 Software Engineering and Design Good Design op205
 
Lecture 5 Software Engineering and Design Design Patterns
Lecture 5 Software Engineering and Design Design PatternsLecture 5 Software Engineering and Design Design Patterns
Lecture 5 Software Engineering and Design Design Patternsop205
 
Lecture 4 Software Engineering and Design Brief Introduction to Programming
Lecture 4 Software Engineering and Design Brief Introduction to ProgrammingLecture 4 Software Engineering and Design Brief Introduction to Programming
Lecture 4 Software Engineering and Design Brief Introduction to Programmingop205
 
Lecture 3 Software Engineering and Design Introduction to UML
Lecture 3 Software Engineering and Design Introduction to UMLLecture 3 Software Engineering and Design Introduction to UML
Lecture 3 Software Engineering and Design Introduction to UMLop205
 
Lecture 2 Software Engineering and Design Object Oriented Programming, Design...
Lecture 2 Software Engineering and Design Object Oriented Programming, Design...Lecture 2 Software Engineering and Design Object Oriented Programming, Design...
Lecture 2 Software Engineering and Design Object Oriented Programming, Design...op205
 
Lecture 1 Software Engineering and Design Introduction
Lecture 1 Software Engineering and Design Introduction Lecture 1 Software Engineering and Design Introduction
Lecture 1 Software Engineering and Design Introduction op205
 
More on DFT
More on DFTMore on DFT
More on DFTop205
 
Digital Signal Processing Summary
Digital Signal Processing SummaryDigital Signal Processing Summary
Digital Signal Processing Summaryop205
 
Implementation of Digital Filters
Implementation of Digital FiltersImplementation of Digital Filters
Implementation of Digital Filtersop205
 
Basics of Analogue Filters
Basics of Analogue FiltersBasics of Analogue Filters
Basics of Analogue Filtersop205
 
Design of IIR filters
Design of IIR filtersDesign of IIR filters
Design of IIR filtersop205
 
Design of FIR filters
Design of FIR filtersDesign of FIR filters
Design of FIR filtersop205
 

More from op205 (20)

3 f6 security
3 f6 security3 f6 security
3 f6 security
 
3 f6 11_softdevmethodologies
3 f6 11_softdevmethodologies3 f6 11_softdevmethodologies
3 f6 11_softdevmethodologies
 
3 f6 8_databases
3 f6 8_databases3 f6 8_databases
3 f6 8_databases
 
3 f6 10_testing
3 f6 10_testing3 f6 10_testing
3 f6 10_testing
 
3 f6 9a_corba
3 f6 9a_corba3 f6 9a_corba
3 f6 9a_corba
 
3 f6 9a_corba
3 f6 9a_corba3 f6 9a_corba
3 f6 9a_corba
 
3 f6 9_distributed_systems
3 f6 9_distributed_systems3 f6 9_distributed_systems
3 f6 9_distributed_systems
 
Lecture 7 Software Engineering and Design User Interface Design
Lecture 7 Software Engineering and Design User Interface Design Lecture 7 Software Engineering and Design User Interface Design
Lecture 7 Software Engineering and Design User Interface Design
 
Lecture 6 Software Engineering and Design Good Design
Lecture 6 Software Engineering and Design Good Design Lecture 6 Software Engineering and Design Good Design
Lecture 6 Software Engineering and Design Good Design
 
Lecture 5 Software Engineering and Design Design Patterns
Lecture 5 Software Engineering and Design Design PatternsLecture 5 Software Engineering and Design Design Patterns
Lecture 5 Software Engineering and Design Design Patterns
 
Lecture 4 Software Engineering and Design Brief Introduction to Programming
Lecture 4 Software Engineering and Design Brief Introduction to ProgrammingLecture 4 Software Engineering and Design Brief Introduction to Programming
Lecture 4 Software Engineering and Design Brief Introduction to Programming
 
Lecture 3 Software Engineering and Design Introduction to UML
Lecture 3 Software Engineering and Design Introduction to UMLLecture 3 Software Engineering and Design Introduction to UML
Lecture 3 Software Engineering and Design Introduction to UML
 
Lecture 2 Software Engineering and Design Object Oriented Programming, Design...
Lecture 2 Software Engineering and Design Object Oriented Programming, Design...Lecture 2 Software Engineering and Design Object Oriented Programming, Design...
Lecture 2 Software Engineering and Design Object Oriented Programming, Design...
 
Lecture 1 Software Engineering and Design Introduction
Lecture 1 Software Engineering and Design Introduction Lecture 1 Software Engineering and Design Introduction
Lecture 1 Software Engineering and Design Introduction
 
More on DFT
More on DFTMore on DFT
More on DFT
 
Digital Signal Processing Summary
Digital Signal Processing SummaryDigital Signal Processing Summary
Digital Signal Processing Summary
 
Implementation of Digital Filters
Implementation of Digital FiltersImplementation of Digital Filters
Implementation of Digital Filters
 
Basics of Analogue Filters
Basics of Analogue FiltersBasics of Analogue Filters
Basics of Analogue Filters
 
Design of IIR filters
Design of IIR filtersDesign of IIR filters
Design of IIR filters
 
Design of FIR filters
Design of FIR filtersDesign of FIR filters
Design of FIR filters
 

Recently uploaded

An overview of the various scriptures in Hinduism
An overview of the various scriptures in HinduismAn overview of the various scriptures in Hinduism
An overview of the various scriptures in HinduismDabee Kamal
 
philosophy and it's principles based on the life
philosophy and it's principles based on the lifephilosophy and it's principles based on the life
philosophy and it's principles based on the lifeNitinDeodare
 
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT VẬT LÝ 2024 - TỪ CÁC TRƯỜNG, TRƯ...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT VẬT LÝ 2024 - TỪ CÁC TRƯỜNG, TRƯ...TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT VẬT LÝ 2024 - TỪ CÁC TRƯỜNG, TRƯ...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT VẬT LÝ 2024 - TỪ CÁC TRƯỜNG, TRƯ...Nguyen Thanh Tu Collection
 
Dementia (Alzheimer & vasular dementia).
Dementia (Alzheimer & vasular dementia).Dementia (Alzheimer & vasular dementia).
Dementia (Alzheimer & vasular dementia).Mohamed Rizk Khodair
 
An Overview of the Odoo 17 Knowledge App
An Overview of the Odoo 17 Knowledge AppAn Overview of the Odoo 17 Knowledge App
An Overview of the Odoo 17 Knowledge AppCeline George
 
MOOD STABLIZERS DRUGS.pptx
MOOD     STABLIZERS           DRUGS.pptxMOOD     STABLIZERS           DRUGS.pptx
MOOD STABLIZERS DRUGS.pptxPoojaSen20
 
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文中 央社
 
II BIOSENSOR PRINCIPLE APPLICATIONS AND WORKING II
II BIOSENSOR PRINCIPLE APPLICATIONS AND WORKING IIII BIOSENSOR PRINCIPLE APPLICATIONS AND WORKING II
II BIOSENSOR PRINCIPLE APPLICATIONS AND WORKING IIagpharmacy11
 
Features of Video Calls in the Discuss Module in Odoo 17
Features of Video Calls in the Discuss Module in Odoo 17Features of Video Calls in the Discuss Module in Odoo 17
Features of Video Calls in the Discuss Module in Odoo 17Celine George
 
UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024Borja Sotomayor
 
Removal Strategy _ FEFO _ Working with Perishable Products in Odoo 17
Removal Strategy _ FEFO _ Working with Perishable Products in Odoo 17Removal Strategy _ FEFO _ Working with Perishable Products in Odoo 17
Removal Strategy _ FEFO _ Working with Perishable Products in Odoo 17Celine George
 
HVAC System | Audit of HVAC System | Audit and regulatory Comploance.pptx
HVAC System | Audit of HVAC System | Audit and regulatory Comploance.pptxHVAC System | Audit of HVAC System | Audit and regulatory Comploance.pptx
HVAC System | Audit of HVAC System | Audit and regulatory Comploance.pptxKunal10679
 
BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...
BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...
BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...Nguyen Thanh Tu Collection
 
How to Manage Closest Location in Odoo 17 Inventory
How to Manage Closest Location in Odoo 17 InventoryHow to Manage Closest Location in Odoo 17 Inventory
How to Manage Closest Location in Odoo 17 InventoryCeline George
 
Basic Civil Engineering notes on Transportation Engineering, Modes of Transpo...
Basic Civil Engineering notes on Transportation Engineering, Modes of Transpo...Basic Civil Engineering notes on Transportation Engineering, Modes of Transpo...
Basic Civil Engineering notes on Transportation Engineering, Modes of Transpo...Denish Jangid
 
Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17Celine George
 
An Overview of the Odoo 17 Discuss App.pptx
An Overview of the Odoo 17 Discuss App.pptxAn Overview of the Odoo 17 Discuss App.pptx
An Overview of the Odoo 17 Discuss App.pptxCeline George
 

Recently uploaded (20)

IPL Online Quiz by Pragya; Question Set.
IPL Online Quiz by Pragya; Question Set.IPL Online Quiz by Pragya; Question Set.
IPL Online Quiz by Pragya; Question Set.
 
An overview of the various scriptures in Hinduism
An overview of the various scriptures in HinduismAn overview of the various scriptures in Hinduism
An overview of the various scriptures in Hinduism
 
philosophy and it's principles based on the life
philosophy and it's principles based on the lifephilosophy and it's principles based on the life
philosophy and it's principles based on the life
 
“O BEIJO” EM ARTE .
“O BEIJO” EM ARTE                       .“O BEIJO” EM ARTE                       .
“O BEIJO” EM ARTE .
 
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT VẬT LÝ 2024 - TỪ CÁC TRƯỜNG, TRƯ...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT VẬT LÝ 2024 - TỪ CÁC TRƯỜNG, TRƯ...TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT VẬT LÝ 2024 - TỪ CÁC TRƯỜNG, TRƯ...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT VẬT LÝ 2024 - TỪ CÁC TRƯỜNG, TRƯ...
 
Dementia (Alzheimer & vasular dementia).
Dementia (Alzheimer & vasular dementia).Dementia (Alzheimer & vasular dementia).
Dementia (Alzheimer & vasular dementia).
 
An Overview of the Odoo 17 Knowledge App
An Overview of the Odoo 17 Knowledge AppAn Overview of the Odoo 17 Knowledge App
An Overview of the Odoo 17 Knowledge App
 
MOOD STABLIZERS DRUGS.pptx
MOOD     STABLIZERS           DRUGS.pptxMOOD     STABLIZERS           DRUGS.pptx
MOOD STABLIZERS DRUGS.pptx
 
Word Stress rules esl .pptx
Word Stress rules esl               .pptxWord Stress rules esl               .pptx
Word Stress rules esl .pptx
 
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
 
II BIOSENSOR PRINCIPLE APPLICATIONS AND WORKING II
II BIOSENSOR PRINCIPLE APPLICATIONS AND WORKING IIII BIOSENSOR PRINCIPLE APPLICATIONS AND WORKING II
II BIOSENSOR PRINCIPLE APPLICATIONS AND WORKING II
 
Features of Video Calls in the Discuss Module in Odoo 17
Features of Video Calls in the Discuss Module in Odoo 17Features of Video Calls in the Discuss Module in Odoo 17
Features of Video Calls in the Discuss Module in Odoo 17
 
UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024
 
Removal Strategy _ FEFO _ Working with Perishable Products in Odoo 17
Removal Strategy _ FEFO _ Working with Perishable Products in Odoo 17Removal Strategy _ FEFO _ Working with Perishable Products in Odoo 17
Removal Strategy _ FEFO _ Working with Perishable Products in Odoo 17
 
HVAC System | Audit of HVAC System | Audit and regulatory Comploance.pptx
HVAC System | Audit of HVAC System | Audit and regulatory Comploance.pptxHVAC System | Audit of HVAC System | Audit and regulatory Comploance.pptx
HVAC System | Audit of HVAC System | Audit and regulatory Comploance.pptx
 
BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...
BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...
BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...
 
How to Manage Closest Location in Odoo 17 Inventory
How to Manage Closest Location in Odoo 17 InventoryHow to Manage Closest Location in Odoo 17 Inventory
How to Manage Closest Location in Odoo 17 Inventory
 
Basic Civil Engineering notes on Transportation Engineering, Modes of Transpo...
Basic Civil Engineering notes on Transportation Engineering, Modes of Transpo...Basic Civil Engineering notes on Transportation Engineering, Modes of Transpo...
Basic Civil Engineering notes on Transportation Engineering, Modes of Transpo...
 
Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17
 
An Overview of the Odoo 17 Discuss App.pptx
An Overview of the Odoo 17 Discuss App.pptxAn Overview of the Odoo 17 Discuss App.pptx
An Overview of the Odoo 17 Discuss App.pptx
 

Introduction to Digital Signal Processing

  • 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 Digital Signal Signal DSP 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 capable of carrying out millions of floating point Bluetooth Household Home theatre headset appliances system operations per second 14
  • 15. DSP Implementation – Digital/Analog Conversion To implement DSP we must be able to: Digital Digital Analog Signal Signal Signal DSP 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 Digital Digital Signal Signal Signal Sampling DSP 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 Digital Digital Analog Signal Signal Signal Signal Sampling DSP Reconstruction 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) Sampling theorem: to avoid aliasing, sampling rate must be at least twice the maximum frequency component (`bandwidth’) of the signal 18 Gjendemsjø, A. Aliasing Applet, Connexions, http://cnx.org/content/m11448/1.14
  • 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 needs antialias filter (to filter out all high frequency components before sampling) and the same for reconstruction – it does remove information though Each sample is taken at a slightly earlier (recall from 1B Signal part of a cycle 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