Digital Signal Processing DSP Chapter1 Introduction Marc Moonen

  • Slides: 32
Download presentation
Digital Signal Processing DSP Chapter-1 : Introduction Marc Moonen Dept. E. E. /ESAT-STADIUS, KU

Digital Signal Processing DSP Chapter-1 : Introduction Marc Moonen Dept. E. E. /ESAT-STADIUS, KU Leuven marc. moonen@esat. kuleuven. be www. esat. kuleuven. be/stadius/

Chapter-1 : Introduction • Aims/Scope Why study DSP ? DSP in applications : Mobile

Chapter-1 : Introduction • Aims/Scope Why study DSP ? DSP in applications : Mobile communications example DSP in applications : Hearing aids example • Overview Filter design & implementation Optimal and adaptive filters Filter banks and subband systems • Lectures/course material/literature • Exercise sessions • Exam DSP 2016 / Chapter-1: Introduction 2 / 32

Why study DSP ? • Analog Systems IN OUT vs. Digital Systems IN A/D

Why study DSP ? • Analog Systems IN OUT vs. Digital Systems IN A/D 2 +2 =4 OUT D/A - Can translate (any) analog (e. g. filter) design into digital - Going `digital’ allows to expand functionality/flexibility/… (e. g. speech recognition, audio compression… ) DSP 2016 / Chapter-1: Introduction 3 / 32

Why study DSP ? • Start with two `DSP in applications’ examples: DSP in

Why study DSP ? • Start with two `DSP in applications’ examples: DSP in mobile communications DSP in hearing aids • Main message: Consumer electronics products (and many other systems) have become (embedded) ‘supercomputers’ (Mops…Gops/sec), packed with mathematics & DSP functionalities… DSP 2016 / Chapter-1: Introduction 4 / 32

DSP in applications: Mobile Communications 1/10 Cellular Mobile Communications (e. g. GSM/UMTS/4 G/. .

DSP in applications: Mobile Communications 1/10 Cellular Mobile Communications (e. g. GSM/UMTS/4 G/. . . ) • Basic network architecture : – Country covered by a grid of cells – Each cell has a base station – Base station connected to land telephone network and communicates with mobiles via a radio interface – Digital communication format DSP 2016 / Chapter-1: Introduction 5 / 32

DSP in applications: Mobile Communications 2/10 • DSP for Digital Communications (`physical layer’ )

DSP in applications: Mobile Communications 2/10 • DSP for Digital Communications (`physical layer’ ) : – A common misunderstanding is that digital communications is `simple’…. Transmitter 1, 0, 1, 1, 0, … Channel x a Receiver + noise x 1/a decision . 99, . 01, . 96, . 95, . 07, … 1, 0, 1, 1, 0, … – While in practice… PS: This is a discrete-time system representation, see Chapter-2 for review on signals&systems DSP 2016 / Chapter-1: Introduction 6 / 32

DSP in applications: Mobile Communications 3/10 • DSP for Digital Communications (`physical layer’ )

DSP in applications: Mobile Communications 3/10 • DSP for Digital Communications (`physical layer’ ) : – While in practice… . 59, . 41, . 76, . 05, . 37, … Transmitter 1, 0, 1, 1, 0, … `Multipath’ Channel + noise Receiver ? ? !! 1, 0, 1, 1, 0, … – This calls for channel model + compensation (equalization) DSP 2016 / Chapter-1: Introduction 7 / 32

DSP in applications: Mobile Communications 4/10 • DSP Challenges: Channel Estimation/Compensation – Multi-path channel

DSP in applications: Mobile Communications 4/10 • DSP Challenges: Channel Estimation/Compensation – Multi-path channel is modeled with short (3… 5 taps) FIR filter H(z)= a+b. zˉ¹+c. z ˉ²+d. z ˉ³+e. z ˉ4 (interpretation? ) a `Multipath’ Channel Δ + ≈ Δ Δ Δ Δ Δ b c d + e PS: zˉ¹ or Δ represents a sampling period delay, see Chapter-2 for review on z-transforms DSP 2016 / Chapter-1: Introduction 8 / 32

DSP in applications: Mobile Communications 5/10 • DSP Challenges: Channel Estimation/Compensation – Multi-path channel

DSP in applications: Mobile Communications 5/10 • DSP Challenges: Channel Estimation/Compensation – Multi-path channel is modeled with short (3… 5 taps) FIR filter H(z)= a+b. zˉ¹+c. z ˉ²+d. z ˉ³+e. z ˉ4 a IN[k] Δ Δ Δ Δ Δ b c d + OUT[k] e =convolution DSP 2016 / Chapter-1: Introduction 9 / 32

DSP in applications: Mobile Communications 6/10 • DSP Challenges: Channel Estimation/Compensation Channel coefficients (a,

DSP in applications: Mobile Communications 6/10 • DSP Challenges: Channel Estimation/Compensation Channel coefficients (a, b, c, d, e) are identified in receiver based on transmission of pre-defined training sequences (TS) Problem to be solved at receiver is: `Given channel input (=TS) and channel output (=observed), compute channel coefficients’ Carl Friedrich Gauss (1777 – 1855) This leads to a least-squares parameter estimation See Chapter-6 on ‘Optimal Filtering’ DSP 2016 / Chapter-1: Introduction 10 / 32

DSP in applications: Mobile Communications 7/10 • DSP Challenges: Channel Estimation/Compensation – Channel coefficients

DSP in applications: Mobile Communications 7/10 • DSP Challenges: Channel Estimation/Compensation – Channel coefficients (cfr. a, b, c, d, e) are identified in receiver based on transmission of pre-defined training sequences (TS) – Channel model is then used to design suitable equalizer (`channel inversion’), or (better) to reconstruct transmitted data bits based on maximum-likelihood sequence estimation (e. g. `Viterbi decoding’) – Channel is highly time-varying (e. g. terminal speed 120 km/hr !) => All this is done at `burst-rate’ (e. g. 100’s times per sec) = SPECTACULAR !! DSP 2016 / Chapter-1: Introduction 11 / 32

DSP in applications: Mobile Communications 8/10 • DSP Challenges: Speech Coding – Original PCM-signal

DSP in applications: Mobile Communications 8/10 • DSP Challenges: Speech Coding – Original PCM-signal has 64 kbits/sec =8 ksamples/sec*8 bits/sample – Aim is to reduce this to <11 kbits/sec, while preserving quality! – Coding based on speech generation model (vocal tract, …), where model coefficient are identified for each new speech segment (e. g. 20 msec) DSP 2016 / Chapter-1: Introduction 12 / 32

DSP in applications: Mobile Communications 9/10 • DSP Challenges: Speech Coding – Original PCM-signal

DSP in applications: Mobile Communications 9/10 • DSP Challenges: Speech Coding – Original PCM-signal has 64 kbits/sec =8 ksamples/sec*8 bits/sample – Aim is to reduce this to <11 kbits/sec, while preserving quality! – Coding based on speech generation model (vocal tract, …), where model coefficient are identified for each new speech segment (e. g. 20 msec) – This leads to a least-squares parameter estimation (again), executed +- 50 times per second. Fast algorithm is used, e. g. `Levinson-Durbin’ algorithm See Chapter-6 on ‘Optimal Filtering’ – Then transmit model coefficients instead of signal samples (!!!) – Synthesize speech segment at receiver (should `sound like’ original speech segment) = SPECTACULAR !! DSP 2016 / Chapter-1: Introduction 13 / 32

DSP in applications: Mobile Communications 10/10 • DSP Challenges: Multiple Access Schemes Accommodate multiple

DSP in applications: Mobile Communications 10/10 • DSP Challenges: Multiple Access Schemes Accommodate multiple users by time & frequency `multiplexing’ – FDMA: frequency division multiple access – OFDMA: orthogonal frequency division multiple access – TDMA: time division multiple access – CDMA: code division multiple access • etc. . = BOX FULL OF DSP/MATHEMATICS !! (for only € 25) DSP 2016 / Chapter-1: Introduction 14 / 32

DSP in applications: Hearing Aids 1/10 Hearing © www. cm. be • Outer ear/middle

DSP in applications: Hearing Aids 1/10 Hearing © www. cm. be • Outer ear/middle ear/inner ear • Tonotopy of inner ear: spatial arrangement of where sounds of different frequency are processed Low-freq tone = Cochlea High-freq tone DSP 2016 / Chapter-1: Introduction Neural activity for low-freq tone Neural activitity for high-freq tone 15 / 32

DSP in applications: Hearing Aids 2/10 Hearing loss types: • • • Conductive Sensorineural

DSP in applications: Hearing Aids 2/10 Hearing loss types: • • • Conductive Sensorineural Mixed One in six adults (Europe) suffers from hearing loss …and still increasing Typical causes: • Aging • Exposure to loud sounds • … [Source: Lapperre] DSP 2016 / Chapter-1: Introduction 16 / 32

 Hearing Aids (HAs) • Audio input/audio output (`microphone-processing-loudspeaker’) 1921 DSP in applications: Hearing

Hearing Aids (HAs) • Audio input/audio output (`microphone-processing-loudspeaker’) 1921 DSP in applications: Hearing Aids 3/10 • ‘Amplifier’, but so much more than an amplifier!! • • Horns/trumpets/… `Desktop’ HAs (1900) Wearable HAs (1930) Digital HAs (1980) • State-of-the-art: 2007 (Oticon) • History: • MHz’s clock speed • Millions of arithmetic operations/sec, … • Multiple microphones DSP 2016 / Chapter-1: Introduction = BOX FULL OF DSP/MATHEMATICS !! 17 / 32

 Cochlear Implants (Cis) • Audio input/electrode stimulation output • Stimulation strategy + preprocessing

Cochlear Implants (Cis) • Audio input/electrode stimulation output • Stimulation strategy + preprocessing similar to HAs • History: Volta’s experiment… First implants (1960) Commercial CIs (1970 -1980) Digital CIs (1980) Intra-cochlear electrode © Cochlear Ltd • • Alessandro Volta 1745 -1827 DSP in applications: Hearing Aids 4/10 • State-of-the-art: • MHz’s clock speed, Mops/sec, … • Multiple microphones Other: Bone anchored HAs, middle ear implants, … Electrical stimulation DSP 2016 / Chapter-1: Introduction for low frequency = BOX FULL OF DSP/MATHEMATICS !! Electrical stimulation 18 / 32 for high frequency

DSP in applications: Hearing Aids 5/10 DSP Challenges: Dynamic range compression Dynamic range &

DSP in applications: Hearing Aids 5/10 DSP Challenges: Dynamic range compression Dynamic range & audibility Normal hearing Hearing impaired subjects Level 100 d. B DSP 2016 / Chapter-1: Introduction 19 / 32

DSP in applications: Hearing Aids 5/10 DSP Challenges: Dynamic range compression Dynamic range &

DSP in applications: Hearing Aids 5/10 DSP Challenges: Dynamic range compression Dynamic range & audibility Level 100 d. B Output Level (d. B) need `signal dependent amplification’ 100 d. B 100 d. B Input Level (d. B) Design: multiband DRC, attack time, release time, … See Chapter-8 on ‘Filter Banks & …’ DSP 2016 / Chapter-1: Introduction 20 / 32

DSP in applications: Hearing Aids 6/10 • However: Audibility does not imply intelligibility •

DSP in applications: Hearing Aids 6/10 • However: Audibility does not imply intelligibility • Hearing impaired subjects need 5. . 10 d. B larger -to-noise ratio (SNR) SNR 20 d. B speech understanding in environments • Need for noise reduction (=speech enhancement) algorithms: signal for noisy 0 d. B 30 50 70 90 Hearing loss (d. B, 3 -freq-average) • State-of-the-art: monaural 2 -microphone adaptive noise reduction • Near future: binaural noise reduction (see below) • Not-so-near future: cooperative HAs wih multi-node noise reduction DSP 2016 / Chapter-1: Introduction 21 / 32

DSP in applications: Hearing Aids 7/10 DSP Challenges: Noise reduction Multimicrophone ‘beamforming’, typically with

DSP in applications: Hearing Aids 7/10 DSP Challenges: Noise reduction Multimicrophone ‘beamforming’, typically with 2 microphones, e. g. ‘directional’ front microphone and ‘omnidirectional’ back microphone “filter-and-sum” microphone signals See Chapter-3 on ‘(Spatial) Filter Design’ DSP 2016 / Chapter-1: Introduction 22 / 32

DSP in applications: Hearing Aids 8/10 DSP Challenges: Feedback cancellation • Problem statement: Loudspeaker

DSP in applications: Hearing Aids 8/10 DSP Challenges: Feedback cancellation • Problem statement: Loudspeaker signal is fed back into microphone, then amplified and played back again • Closed loop system may become unstable (howling) • Similar to feedback problem in public address systems (for the musicians amongst you) Similar to echo cancellation in GSM handsets, Skype, … Model but more difficult due to signal correlation F DSP 2016 / Chapter-1: Introduction See Chapter-6 on ‘Adaptive Filtering’ = SPECTACULAR !! 23 / 32

DSP in applications: Hearing Aids 9/10 Binaural hearing: Binaural auditory cues • ITD (interaural

DSP in applications: Hearing Aids 9/10 Binaural hearing: Binaural auditory cues • ITD (interaural time difference) • ILD (interaural level difference) signal ILD ITD • Binaural cues (ITD: f < 1500 Hz, ILD: f > 2000 Hz) used for • Sound localization • Noise reduction =`Binaural unmasking’ (‘cocktail party’ effect) 0 -5 d. B DSP 2016 / Chapter-1: Introduction 24 / 32

DSP in applications: Hearing Aids 10/10 DSP Challenges: Binaural hearing aids • Two hearing

DSP in applications: Hearing Aids 10/10 DSP Challenges: Binaural hearing aids • Two hearing aids (L&R) with wireless link & cooperation • Opportunities: • More signals (e. g. 2*2 microphones) • Better sensor spacing (17 cm i. o. 1 cm) • Constraints: power/bandwith/delay of wireless link • Challenges: • Improved localization through ‘localization cue’ preservation • Improved noise reduction + benefit from ‘binaural unmasking’ • Signal selection/filtering, audio coding, synchronisation, … DSP 2016 / Chapter-1: Introduction = SPECTACULAR !! 25 / 32

DSP in applications : Other… • Digital Communications Wireline (x. DSL, Powerline), Wireless (GSM,

DSP in applications : Other… • Digital Communications Wireline (x. DSL, Powerline), Wireless (GSM, 3 G, 4 G, Wi-Fi, Wi. Max CDMA, MIMO-transmission, . . ) • Speech coding (GSM, DECT, . . ), Speech synthesis (text-to-speech), Speech recognition • Audio Signal Processing Audio Coding (MP 3, AAC, . . ), Audio synthesis Editing, Automatic transcription, Dolby/Surround, 3 D-audio, . • Image/Video • … DSP 2016 / Chapter-1: Introduction 26 / 32

Aims/Scope • Basic signal processing theory/principles Filter design, filter banks, optimal filters & adaptive

Aims/Scope • Basic signal processing theory/principles Filter design, filter banks, optimal filters & adaptive filters …as well as… • Recent/advanced topics Robust filter realization, perfect reconstruction filter banks, fast adaptive algorithms, . . . • Often ` bird’s-eye view ’ Skip many mathematical details (if possible… ) Selection of topics (non-exhaustive) • Prerequisites: Signals & Systems (sampling, transforms, . . ) DSP 2016 / Chapter-1: Introduction 27 / 32

Overview • Part I : Introduction Chapter-1: Introduction Chapter-2: Signals and Systems Review •

Overview • Part I : Introduction Chapter-1: Introduction Chapter-2: Signals and Systems Review • Part II : Filter Design & Implementation Chapter-3: Filter Design Chapter-4: Filter Realization Chapter-5: Filter Implementation DSP 2016 / Chapter-1: Introduction 28 / 32

Overview • Part III : Optimal & Adaptive Filtering Chapter-6: Wiener Filters & the

Overview • Part III : Optimal & Adaptive Filtering Chapter-6: Wiener Filters & the LMS Algorithm Chapter-7: Recursive Least Squares Algorithms DSP 2016 / Chapter-1: Introduction 29 / 32

Overview • Part IV : Filter Banks & Subband Systems Chapter-8: Filter Bank Preliminaries/Applications

Overview • Part IV : Filter Banks & Subband Systems Chapter-8: Filter Bank Preliminaries/Applications Chapter-9: Filter Bank Design H 1(z) IN H 2(z) H 3(z) H 4(z) 3 3 DSP 2016 / Chapter-1: Introduction subband processing 3 3 G 1(z) G 2(z) G 3(z) OUT + G 4(z) 30 / 32

Lectures: 2 + 8*1. 5 hrs = 14 hrs Course Material: • Slides http:

Lectures: 2 + 8*1. 5 hrs = 14 hrs Course Material: • Slides http: //homes. esat. kuleuven. be/~dspuser/DSP-CIS/2016 -2017: – Optional reading: `Introduction to Adaptive Signal Processing‘ (Marc Moonen & Ian. K. Proudler) – Lectures 2 & 4 with audio DSP 2016 / Chapter-1: Introduction 31 / 32

Literature • A. Oppenheim & R. Schafer (*) `Digital Signal Processing’ (Prentice Hall 1977)

Literature • A. Oppenheim & R. Schafer (*) `Digital Signal Processing’ (Prentice Hall 1977) • L. Jackson `Digital Filters and Signal Processing’ (Kluwer 1986) • Simon Haykin `Adaptive Filter Theory’ (Pearson Education 2014) • P. P. Vaidyanathan `Multirate Systems and Filter Banks’ (Dorling Kindersley 1993) • M. Bellanger `Digital Processing of Signals’ (Kluwer 1986) • etc. . . DSP 2016 / Chapter-1: Introduction (*) MOOC www. edx. org/course/discrete-time-signal-processing-mitx-6 -341 x-1 32 / 32