34
Digital Signal Processing II `Advanced Topics’ Marc Moonen Dept. E.E./ESAT, K.U.Leuven [email protected] www.esat.kuleuven.be/scd/

Digital Signal Processing II `Advanced Topics’ Marc Moonen Dept. E.E./ESAT, K.U.Leuven [email protected]

Embed Size (px)

Citation preview

Page 1: Digital Signal Processing II `Advanced Topics’ Marc Moonen Dept. E.E./ESAT, K.U.Leuven marc.moonen@esat.kuleuven.be

Digital Signal Processing II

`Advanced Topics’

Marc Moonen

Dept. E.E./ESAT, K.U.Leuven

[email protected]

www.esat.kuleuven.be/scd/

Page 2: Digital Signal Processing II `Advanced Topics’ Marc Moonen Dept. E.E./ESAT, K.U.Leuven marc.moonen@esat.kuleuven.be

DSP-IIVersion 2010-2011 Chapter-1 Introduction p. 2

Chapter-1 : Introduction

• Aims/Scope Why study DSP ? DSP in applications : GSM, ADSL,…

• Overview

• ActivitiesLectures - Course Notes/LiteratureHomeworks/Exercise sessionsPaper Review AssignmentExam

Page 3: Digital Signal Processing II `Advanced Topics’ Marc Moonen Dept. E.E./ESAT, K.U.Leuven marc.moonen@esat.kuleuven.be

DSP-IIVersion 2010-2011 Chapter-1 Introduction p. 3

Why study DSP ?

• Analog Systems vs. Digital Systems

- can translate (any) analog (e.g. filter) design into digital

- going `digital’ allows to expand functionality/flexibility/…

(e.g. how would you do analog speech recognition ? analog audio compression ? …? )

IN OUT IN OUTA/D D/A

2+2

=4

Page 4: Digital Signal Processing II `Advanced Topics’ Marc Moonen Dept. E.E./ESAT, K.U.Leuven marc.moonen@esat.kuleuven.be

DSP-IIVersion 2010-2011 Chapter-1 Introduction p. 4

Why study DSP ?

• Will give two `DSP in applications’ examples– DSP in mobile communications (GSM)– DSP in wireline communications (ADSL/VDSL)

• Main message:

Consumer electronics products have become supercomputers (Mops/sec…Gops/sec), packed with DSP functionalities…

Page 5: Digital Signal Processing II `Advanced Topics’ Marc Moonen Dept. E.E./ESAT, K.U.Leuven marc.moonen@esat.kuleuven.be

DSP-IIVersion 2010-2011 Chapter-1 Introduction p. 5

DSP in applications : GSM

Cellular mobile telephony (e.g. GSM)

• 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

Page 6: Digital Signal Processing II `Advanced Topics’ Marc Moonen Dept. E.E./ESAT, K.U.Leuven marc.moonen@esat.kuleuven.be

DSP-IIVersion 2010-2011 Chapter-1 Introduction p. 6

DSP in applications : GSM

• DSP for digital communications (`physical layer’ ) :

– a common misunderstanding is that digital communications is `simple’….

– While in practice…

Transmitter

1,0,1,1,0,…

Channel

x +

a noise1/a

x

Receiver

dec

isio

n

.99,.01,.96,.95,.07,…

1,0,1,1,0,…

Page 7: Digital Signal Processing II `Advanced Topics’ Marc Moonen Dept. E.E./ESAT, K.U.Leuven marc.moonen@esat.kuleuven.be

DSP-IIVersion 2010-2011 Chapter-1 Introduction p. 7

DSP in applications : GSM

• DSP for digital communications (`physical layer’ ) :

– In practice…

– This calls for channel modeling + compensation (equalization)

1,0,1,1,0,…

Transmitter

1,0,1,1,0,…+

Receiver

??noise

`Multipath’

Channel

.59,.41,.76,.05,.37,… !!

Page 8: Digital Signal Processing II `Advanced Topics’ Marc Moonen Dept. E.E./ESAT, K.U.Leuven marc.moonen@esat.kuleuven.be

DSP-IIVersion 2010-2011 Chapter-1 Introduction p. 8

DSP in applications : GSM

• GSM 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 ˉ (interpretation?)

+

`Multipath’

Channel

≈ +Δ

Δ

Δ

Δ Δ

Δ

ΔΔΔΔ

a

b

c

d

e

4

Page 9: Digital Signal Processing II `Advanced Topics’ Marc Moonen Dept. E.E./ESAT, K.U.Leuven marc.moonen@esat.kuleuven.be

DSP-IIVersion 2010-2011 Chapter-1 Introduction p. 9

DSP in applications : GSM

• GSM Channel Estimation/Compensation (continued)

– Multi-path channel is modeled with short (3…5 taps) FIR filter

H(z)= a+b.zˉ¹+c.z ˉ²+d.z ˉ³+e.z ˉ

Δ

Δ

Δ Δ

Δ

ΔΔΔΔ

a

b

c

d

e

4

e

d

c

b

a

NIN

INININININ

ININININ

INININ

ININ

IN

NOUT

OUT

OUT

OUT

OUT

OUT

.

]4[0000

]1[]2[]3[]4[]5[

0]1[]2[]3[]4[

00]1[]2[]3[

000]1[]2[

0000]1[

][

]5[

]4[

]3[

]2[

]1[

IN[k] OUT[k]

=convolution

Page 10: Digital Signal Processing II `Advanced Topics’ Marc Moonen Dept. E.E./ESAT, K.U.Leuven marc.moonen@esat.kuleuven.be

DSP-IIVersion 2010-2011 Chapter-1 Introduction p. 10

DSP in applications : GSM

• GSM Channel Estimation/Compensation (continued)

– Channel coefficients (cfr. a,b,c,d,e) are identified in receiver based on

transmission of pre-defined training sequences (TS), in between data bits.

Problem to be solved at receiver is: `given channel input (=TS) and channel

output (=observed), compute channel coefficients’.

This leads to a least-squares parameter estimation procedure

See PART-III on optimal filtering

2

2

,,,,

min .

]4[0000

]1[]2[]3[]4[]5[

0]1[]2[]3[]4[

00]1[]2[]3[

000]1[]2[

0000]1[

][

]5[

]4[

]3[

]2[

]1[

e

d

c

b

a

NTS

TSTSTSTSTS

TSTSTSTS

TSTSTS

TSTS

TS

NOUT

OUT

OUT

OUT

OUT

OUT

edcba

Page 11: Digital Signal Processing II `Advanced Topics’ Marc Moonen Dept. E.E./ESAT, K.U.Leuven marc.moonen@esat.kuleuven.be

DSP-IIVersion 2010-2011 Chapter-1 Introduction p. 11

DSP in applications : GSM

• GSM Channel Estimation/Compensation (continued)

– Channel coefficients (cfr. a,b,c,d,e) are identified in receiver based on

transmission of pre-defined training sequences (TS), in between data bits.

– Channel model is then used to design suitable equalizer (`channel

inversion’), or (better) to reconstruct transmitted data bits based on

maximum-likelihood sequence estimation (`Viterbi decoding’).

– Channel is highly time-varying (e.g. terminal speed 120 km/hr !)

=> All this is done at `burst-rate’ (+- 100 times per sec).

= SPECTACULAR !!

Page 12: Digital Signal Processing II `Advanced Topics’ Marc Moonen Dept. E.E./ESAT, K.U.Leuven marc.moonen@esat.kuleuven.be

DSP-IIVersion 2010-2011 Chapter-1 Introduction p. 12

DSP in applications : GSM

• GSM Channel Estimation/Compensation

• GSM Speech Coding– Original `PCM’-signal has 64kbits/sec = 8 ksamples/sec * 8bits/sample.

– Aim is to reduce this to <11kbits/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 PART-III on optimal filtering.

– Then transmit model coefficients instead of signal samples.

– Synthesize speech segment at receiver

(should `sounds like’ original speech segment).

= SPECTACULAR !!

Page 13: Digital Signal Processing II `Advanced Topics’ Marc Moonen Dept. E.E./ESAT, K.U.Leuven marc.moonen@esat.kuleuven.be

DSP-IIVersion 2010-2011 Chapter-1 Introduction p. 13

DSP in applications : GSM

• GSM Channel Estimation/Compensation

• GSM Speech Coding

• GSM Multiple Access Schemes – Capacity increase by time & frequency `multiplexing’

– FDMA : e.g. 125 frequency channels for GSM/900MHz

– TDMA : 8 time slots(=users) per channel, `burst mode’ communication

(PS: in practice, capacity per cell << 8*125 ! )

See PART-II on filter banks/transmultiplexers

• Etc..

= BOX FULL OF DSP/MATHEMATICS !!

Page 14: Digital Signal Processing II `Advanced Topics’ Marc Moonen Dept. E.E./ESAT, K.U.Leuven marc.moonen@esat.kuleuven.be

DSP-IIVersion 2010-2011 Chapter-1 Introduction p. 14

Telephone Line Modems

– voice-band modems : up to 56kbits/sec in 0..4kHz band

– ADSL modems : up to 8Mbits/sec in 30kHz…1MHz band

(3,5…5km)– VDSL modems : up to 52Mbits/sec in …12MHz band

(0.3…1.5km)

How has this been made possible?

DSP in applications : ADSL

X 1000

Page 15: Digital Signal Processing II `Advanced Topics’ Marc Moonen Dept. E.E./ESAT, K.U.Leuven marc.moonen@esat.kuleuven.be

DSP-IIVersion 2010-2011 Chapter-1 Introduction p. 15

Communication Impairments :• Channel attenuation

– Received signal may be attenuated by more than 60dB

(attenuation increases with line length & larger at high (MHz) frequencies)

PS: this is why for a long time, only the voiceband (up to 4kHz) was used

– Frequency-dependent attenuation introduces ``inter-symbol interference’’ (ISI). ISI channel can (again) be modeled with an FIR filter. Number of taps will be much larger here (>500!)

DSP in applications : ADSL

Page 16: Digital Signal Processing II `Advanced Topics’ Marc Moonen Dept. E.E./ESAT, K.U.Leuven marc.moonen@esat.kuleuven.be

DSP-IIVersion 2010-2011 Chapter-1 Introduction p. 16

DSP in applications : ADSL

Communication Impairments :• Coupling between wires in same or adjacent binders introduces `crosstalk’

– Near-end Xtalk (NEXT) (=upstream in downstream, downstream in upstream)

– Far-end Xtalk (FEXT) (=upstream in upstream, downstream in downstream)

Meaning that a useful signal may be drowned in (much larger) signals from other users..

…leading to signal separation and spectrum management problems

• Radio frequency interference (AM broadcast, amateur radio)

• Echo due to impedance mismatch• Etc..

Conclusion: Need advanced modulation, DSP,etc. !

Page 17: Digital Signal Processing II `Advanced Topics’ Marc Moonen Dept. E.E./ESAT, K.U.Leuven marc.moonen@esat.kuleuven.be

DSP-IIVersion 2010-2011 Chapter-1 Introduction p. 17

DSP in applications : ADSL

• ADSL spectrum : divide available transmission band in 256 narrow bands (`tones’), transmit different sub-streams over different sub-channels (tones) (=DMT, `Discrete Multi-tone Modulation’)

Page 18: Digital Signal Processing II `Advanced Topics’ Marc Moonen Dept. E.E./ESAT, K.U.Leuven marc.moonen@esat.kuleuven.be

DSP-IIVersion 2010-2011 Chapter-1 Introduction p. 18

DSP in applications : ADSL

ADSL-DMT Transmission block scheme :

DFT/IDFT (FFT/IFFT) based modulation/demodulation scheme

pointer : www.adslforum.com PS: do not try to understand details here...

Page 19: Digital Signal Processing II `Advanced Topics’ Marc Moonen Dept. E.E./ESAT, K.U.Leuven marc.moonen@esat.kuleuven.be

DSP-IIVersion 2010-2011 Chapter-1 Introduction p. 19

DSP in applications : ADSL

ADSL specs• 512-point (I)FFT’s (or `similar’) for DMT-modulation FFT-rate = 4.3215 kHz

(i.e. >4000 times 512-point FFTs per second !!!!)

• basic sampling rate is 2.21 MHz (=512*4.3215k) 8.84 MHz A/D or D/A (multi-rate structure)• fixed HP/LP/BP front-end filtering for frequency duplex See PART-I on filter banks/transmultiplexers• adjustable time-domain equalization filter (TEQ) e.g. 32 taps @ 2.21 MHz filter initialization via least-squares/eigenvalue procedure• adaptive frequency-domain equalization filters (FEQ) See PART-III on adaptive filters

= BOX FULL OF DSP/MATHEMATICS !!

>20M

ops

/sec

>60M

ops

/sec

Page 20: Digital Signal Processing II `Advanced Topics’ Marc Moonen Dept. E.E./ESAT, K.U.Leuven marc.moonen@esat.kuleuven.be

DSP-IIVersion 2010-2011 Chapter-1 Introduction p. 20

DSP in applications : VDSL

VDSL specs• 4096-point (I)FFT’s (or `similar’) for DMT-modulation FFT-rate = 4.3215 kHz

(i.e. >4000 times 4096-point FFTs per second !!!!)

• etc..

= BOX FULL OF DSP/MATHEMATICS !!

>160

M o

ps/s

ec

Page 21: Digital Signal Processing II `Advanced Topics’ Marc Moonen Dept. E.E./ESAT, K.U.Leuven marc.moonen@esat.kuleuven.be

DSP-IIVersion 2010-2011 Chapter-1 Introduction p. 21

DSP in applications : Other…

• Speech Speech coding (GSM, DECT, ..), Speech synthesis (text-to-speech),

Speech recognition

• Audio Signal Processing Audio Coding (MP3, AAC, ..), Audio synthesis Editing, Automatic transcription, Dolby/Surround, 3D-audio,.

• Image/Video• Digital Communications Wireline (xDSL,Powerline), Wireless (GSM, 3G, Wi-Fi, WiMax CDMA, MIMO-transmission,..)

• …

Page 22: Digital Signal Processing II `Advanced Topics’ Marc Moonen Dept. E.E./ESAT, K.U.Leuven marc.moonen@esat.kuleuven.be

DSP-IIVersion 2010-2011 Chapter-1 Introduction p. 22

DSP in applications

Enabling Technology is

• Signal Processing

1G-SP: analog filters

2G-SP: digital filters, FFT’s, etc.

3G-SP: full of mathematics, linear algebra,

statistics, etc... • VLSI• etc...

Signals&Systems course (JVDW)

DSP-I (PW)

DSP-II

Page 23: Digital Signal Processing II `Advanced Topics’ Marc Moonen Dept. E.E./ESAT, K.U.Leuven marc.moonen@esat.kuleuven.be

DSP-IIVersion 2010-2011 Chapter-1 Introduction p. 23

DSP-II Aims/Scope

• Basic signal processing theory/principles

filter design, filter banks, optimal filters & adaptive filters

• 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)

Page 24: Digital Signal Processing II `Advanced Topics’ Marc Moonen Dept. E.E./ESAT, K.U.Leuven marc.moonen@esat.kuleuven.be

DSP-IIVersion 2010-2011 Chapter-1 Introduction p. 24

0 0.5 1 1.5 2 2.5 30

0.2

0.4

0.6

0.8

1

1.2

Passband Ripple

Stopband Ripple

Passband Cutoff -> <- Stopband Cutoff

Overview (I)

• INTRO : Chapter-1

Chapter-2 : Signals and Systems Review

• Part I : Filter Design & ImplementationChapter-3 : IIR & FIR Filter Design

Chapter-4 : Filter Realization

Chapter-5 : Filter Implementation

Page 25: Digital Signal Processing II `Advanced Topics’ Marc Moonen Dept. E.E./ESAT, K.U.Leuven marc.moonen@esat.kuleuven.be

DSP-IIVersion 2010-2011 Chapter-1 Introduction p. 25

Overview (II)

• Part II : Filter Banks & Subband SystemsChapter-6 : Filter Banks Intro/Applications (audio coding/CDMA/…)

Chapter-7/8 : Filter Banks Theory

Chapter-9/10: Special Topics

(Frequency-domain processing, Wavelets,…)

.

3 subband processing 3H1(z) G1(z)

3 subband processing 3H2(z) G2(z)

3 subband processing 3H3(z) G3(z)

3 subband processing 3H4(z) G4(z)

+

IN OUT

Page 26: Digital Signal Processing II `Advanced Topics’ Marc Moonen Dept. E.E./ESAT, K.U.Leuven marc.moonen@esat.kuleuven.be

DSP-IIVersion 2010-2011 Chapter-1 Introduction p. 26

Overview (III)

• Part III : Optimal & Adaptive FilteringChapter-11 : Optimal/Wiener Filters

Chapter-12: Adaptive Filters/Recursive Least Squares

Chapter-13: Adaptive Filters/LMS

Chapter-14: `Fast’ Adaptive Filters

Chapter-15: Kalman Filters

.

Page 27: Digital Signal Processing II `Advanced Topics’ Marc Moonen Dept. E.E./ESAT, K.U.Leuven marc.moonen@esat.kuleuven.be

DSP-IIVersion 2010-2011 Chapter-1 Introduction p. 27

Literature / Campus Library Arenberg

• A. Oppenheim & R. Schafer

`Digital Signal Processing’ (Prentice Hall 1977)• L. Jackson

`Digital Filters and Signal Processing’ (Kluwer 1986)• P.P. Vaidyanathan

`Multirate Systems and Filter Banks’ (Prentice Hall 1993)• Simon Haykin

`Adaptive Filter Theory’ (Prentice Hall 1996)• M. Bellanger

`Digital Processing of Signals’ (Kluwer 1986)• etc...

Part-III

Part-II

Part-I

Page 28: Digital Signal Processing II `Advanced Topics’ Marc Moonen Dept. E.E./ESAT, K.U.Leuven marc.moonen@esat.kuleuven.be

DSP-IIVersion 2010-2011 Chapter-1 Introduction p. 28

Literature / DSP-II Library

• Collection of books is available to support course material

• List/info/reservation via DSP-II webpage

• contact: beier.li@esat (E/C)

Page 29: Digital Signal Processing II `Advanced Topics’ Marc Moonen Dept. E.E./ESAT, K.U.Leuven marc.moonen@esat.kuleuven.be

DSP-IIVersion 2010-2011 Chapter-1 Introduction p. 29

Activities : Lectures

Lectures: 18 * 2 hrs

Course Material:• Part I-II-III : Slides (use version 2010-2011 !!)

...download from DSP-II webpage

• Part III : `Introduction to Adaptive Signal Processing’,

Marc Moonen & Ian.K. Proudler

= support material, not mandatory !

…(if needed) download from DSP-II webpage

Page 30: Digital Signal Processing II `Advanced Topics’ Marc Moonen Dept. E.E./ESAT, K.U.Leuven marc.moonen@esat.kuleuven.be

DSP-IIVersion 2010-2011 Chapter-1 Introduction p. 30

Activities : Homeworks/Ex. Sessions

• `Homeworks’ …to support course material

• 6 Matlab/Simulink Sessions …to support homeworks …come prepared !

• contact: amir.forouzan@esat (English+Persian)

beier.li@esat (English+Chinese)

prabin.kumarpandey@esat (English+Nepali)

pepe.gilcacho@esat (English+Spanish)

Page 31: Digital Signal Processing II `Advanced Topics’ Marc Moonen Dept. E.E./ESAT, K.U.Leuven marc.moonen@esat.kuleuven.be

DSP-IIVersion 2010-2011 Chapter-1 Introduction p. 31

Activities : Paper Review Assignment

• Aim: Learn to read DSP research papers

• Aim: Discover DSP technology in present-day systems examples: 3D-audio, music synthesis, automatic

transcription, speech codec, MP3, GSM, ADSL, …• Select paper from list on DSP II webpage & submit 1st/2nd choice by Oct.15

to pepe.gilcacho@esat• Study paper & context (=www surfing)

• Presentation: December, 20 mins per group (ppt or similar)

– Present application, context & contribution– Make it understandable for your fellow students !!!– Everyone attends all presentations !!!

• Groups of 2

Time Budget=38h.pp+presentations

Page 32: Digital Signal Processing II `Advanced Topics’ Marc Moonen Dept. E.E./ESAT, K.U.Leuven marc.moonen@esat.kuleuven.be

DSP-IIVersion 2010-2011 Chapter-1 Introduction p. 32

Activities : Paper Review Assignment

Papers• List available in DSP-II web page• Other topics : subject to approval ! (email to pepe.gilcacho@esat before Oct. 15)

Tutoring

Research assistants/postdocs (p28)

All PPT presentations will be made available, for ref.

Page 33: Digital Signal Processing II `Advanced Topics’ Marc Moonen Dept. E.E./ESAT, K.U.Leuven marc.moonen@esat.kuleuven.be

DSP-IIVersion 2010-2011 Chapter-1 Introduction p. 33

Activities : Exam

• Oral exam, with preparation time• Open book• Grading : 5 pts for question-1 5 pts for question-2 5 pts for question-3

5 pts for assignment (presentation) ___

= 20 pts

Page 34: Digital Signal Processing II `Advanced Topics’ Marc Moonen Dept. E.E./ESAT, K.U.Leuven marc.moonen@esat.kuleuven.be

DSP-IIVersion 2010-2011 Chapter-1 Introduction p. 34

homes.esat.kuleuven.be/~pepe/dspII/2010-2011

• Contact: pepe.gilcacho@esat• Slides• Homeworks • Projects info/schedule• Exams• DSP-II Library• FAQs (send questions to pepe.gilcacho@esat or marc.moonen@esat )