SlideShare una empresa de Scribd logo
1 de 19
Descargar para leer sin conexión
Chapter Three
Discrete - Time Convolutions
Lecture #7
Rediet Million
AAiT, School Of Electrical and Computer Engineering
rediet.million@aait.edu.et
April,2018
(Rediet Million) DSP-Lecture #7 April,2018 1 / 18
Introduction
In this chapter we look at methods on how the discrete-time samples,
once obtained, are processed by a special class of linear time-invariant
discrete-time systems to produce an output.
Major practical methods considered are block-processing and
sample-processing methods.
Block processing method deals with finite-duration blocks of data
at a time.Typical applications include
-FIR filtering of finite-duration signals by convolution
-DFT/FFT spectral computations
-Speech analysis and synthesis and image processing
Sample processing methods are primarily used in real -time
applications such as:
-Real-time filtering,
-Digital audio effects processing,
-Digital control systems,
-Adaptive signal processing
(Rediet Million) DSP-Lecture #7 April,2018 2 / 18
Introduction
Various equivalent forms of the convolution operation will also be
presented. These equivalent forms of convolution are:
Direct form:Leads to block diagram realization and sample
processing algorithm.
LTI form : incorporates linearity and time-invariance properties.
Matrix form: represents compact vectorial representation of the
filtering operation.
Flip-and-slide form:Shows clearly input-on and input-off
transients and steady-state behavior.
Overlap-add block convolution: used whenever the input is
extremely long or infinite in duration.
(Rediet Million) DSP-Lecture #7 April,2018 3 / 18
3.1 Block processing methods
The main feature of block processing methods is that data is
collected and processed in blocks at a time.
Consider a finite set of samples of length L representing a finite time
record of the input signal x(n).
For a sampling interval of T the duration TR of the data record,
in seconds, will be
TR = (L − 1)T
TR =
L
fs
or L = TR = fs
Thus, the signal block or vector of length-L is : x = [x0, x1, x2, .., xL−1]
(Rediet Million) DSP-Lecture #7 April,2018 4 / 18
Block processing methods
Direct form convolution
Consider a causal FIR filter order M with impulse response
h = {h0, h1, h2, ..., hM}
- The length of the impulse response is Lh = M + 1
The response of the order - M FIR filter to a length-Lx input x(n) i.e
x = {x0, x1, x2, ..., xLx −1} is obtained,using the direct form convolution as
y(n) =
m
h(m)x(n − m)
-Range of h(m) is 0 ≤ m ≤ M.....................(1)
-Range of x(n − m) is 0 ≤ n − m ≤ Lx − 1........(2)
To determine the range of values of the output index ’n’ we write (2) in
the form of m ≤ n ≤ Lx − 1 + m
(Rediet Million) DSP-Lecture #7 April,2018 5 / 18
Block processing methods
Direct form convolution
and use (1) to expand the limits to 0 ≤ m ≤ n ≤ Lx − 1 + m ≤ Lx − 1 + M
⇒The limits for the output index is
0 ≤ n ≤ Lx − 1 + M..........(3)
- Thus, Ly = Lx + M and y = {y0, y1, y2, ..., yLx −1+M}
For any values of the output index ’n’ in the range (3),we must
determine the summation range over ’m’ in the convolution equation
- Changing the sign of (2) we obtain −(Lx − 1) ≤ m − n ≤ 0 and adding
’n’ to all sides
n − Lx + 1 ≤ m ≤ n..........(4)
- ’m’ must satisfy equation (1) and (4) i.e
max(0, n − Lx + 1) ≤ m ≤ min(n, M)
In the case of an order M FIR filter and a length Lx input ,the direct
form of convolution is given as :
y(n) =
min(n,M)
m=max(0,n−Lx +1)
h(m)x(n − m)
(Rediet Million) DSP-Lecture #7 April,2018 6 / 18
Block processing methods
Convolution table
A convenient way of expressing the direct form convolution is as
follows convolution table form :
y(n) =
n=i+j
h(i)x(j)
Each output yn is the sum of all possible products hi xj for which
i + j = m.This leads directly to the convolution table.
- In the ij-plane, the condition i + j = n represents the nth
anti-diagonal.These anti-diagonal entries are summed to form yn.
(Rediet Million) DSP-Lecture #7 April,2018 7 / 18
Block processing methods
Convolution table
Example :
Compute the convolution of h(n) and x(n), where
(Rediet Million) DSP-Lecture #7 April,2018 8 / 18
Block processing methods
LTI form convolution
This type of convolution uses linearity and time-invariance properties
of the filter to determine the output sequence.
For an input sequence x = [x0, x1, x2, x3, x4] and impulse response
h(n), we may rewrite the LTI form of convolution as:
y(n) =
min(n,Lx −1)
m=max(0,n−M)
x(m)h(n − m)
A convolution table type of operation can be formed for the LTI form
of convolution where the output values, yn, may be obtained by
summing entries column-wise, with h arranged along the row and x
arranged along the column.
(Rediet Million) DSP-Lecture #7 April,2018 9 / 18
Block processing methods
Matrix form of convolution
The convolution equation may also be written in a matrix form as:
y = Hx
where H is an (L + M)xL matrix built out of the filter’s impulse
response,h(n).
The columns of H are the successively delayed replicas of the
impulse response vector h(n).
(Rediet Million) DSP-Lecture #7 April,2018 10 / 18
Block processing methods
Matrix form of convolution
Example :
Compute y when
We may also rewrite the convolution equation as :
y = Xh
where X is an (L + M)x(M + 1) matrix
(Rediet Million) DSP-Lecture #7 April,2018 11 / 18
Block processing methods
Flip-and slide form of convolution (Graphical form)
Here h(n) is flipped around or reversed and then slid over the input
data sequence.
At each time instant, the output sample is obtained by computing the
dot product of the filter vector h with M + 1 input samples aligned below
it, as shown below:
(Rediet Million) DSP-Lecture #7 April,2018 12 / 18
Block processing methods
Overlap-add block convolution method
In many applications considering the input as a single block may not
be practical.A practical approach is to divide the long input into
non-overlapping contiguous blocks of practical length, say L samples.
Each block is convolved with the order-M filter h(n) producing the
output blocks appropriately combined together to get the overall output.
y0 = h ∗ x0 y1 = h ∗ x1 y2 = h ∗ x2 y3 = h ∗ x3
Transient and steady-state components
(Rediet Million) DSP-Lecture #7 April,2018 13 / 18
Block processing methods
Transient and steady-state components
For a length-L input and order-M filter,the output sequence can be
divided into three sub-ranges for the range of the output time index n
0 ≤ n ≤ L − 1 + M
Input-on transient: It takes the filter M time units before it is completely
over the nonzero portion of the input sequence.
Steady-state: the filter remains completely over the nonzero portion of
the input data.
Input-off transient: It represent the output after the input is turned off.
(Rediet Million) DSP-Lecture #7 April,2018 14 / 18
Block processing methods
Transient and steady-state components
(Rediet Million) DSP-Lecture #7 April,2018 15 / 18
Block processing methods
Convolution of infinite sequences
Consider the direct form convolution
y(n) =
min(n,M)
m=max(0,n−L+1)
hmxn−m
We can obtain the correct summation limits for the following three
cases:
1. M → ∞, L < ∞, i.e infinite filter length and finite input length.
2. M < ∞, L → ∞, i.e finite filter length and infinite input length.
3. M → ∞, L → ∞, i.e infinite filter length and infinite input length.
In all the above cases, the output index is 0 ≤ n ≤ ∞ and
- When M → ∞ ,the upper limit in the sum becomes min(n, M) = n
- When L → ∞ ,the lower limit in the sum becomes max(0, n − L + 1) = 0
(Rediet Million) DSP-Lecture #7 April,2018 16 / 18
Block processing methods
Convolution of infinite sequences
Thus, we have
(Rediet Million) DSP-Lecture #7 April,2018 17 / 18
Block processing methods
(#1 ) Class exercises & Assignment
1) Compute the convolution ,y = h ∗ x, of the filter and input
a. h = [1, 1, 2, 1] x = [1, 2, 1, 1, 2, 1, 1, 1]
b. h = [1, 0, 0, 1] x = [1, 1, 2, 2, 2, 2, 1, 1]
using the following five methods
i. Direct form ii. Convolution table iii.LTI-form
iv.Matrix form v. The overlap-add methods of block convolution.
2) An IIR filter has h(n) = (0.25)nu(n).Derive a closed form expressions
for the output y(n) when the input is
a. a unit step,x(n) = u(n)
b. a pulse of finite duration samples,x(n) = u(n) − u(n − 8)
c. an alternating step,x(n) = (−2)nu(n)
(Rediet Million) DSP-Lecture #7 April,2018 18 / 18
Chapter three reading assignment
Sample Processing Methods
Transposed realization
(Rediet Million) DSP-Lecture #7 April,2018 19 / 18

Más contenido relacionado

La actualidad más candente

Signal Processing Introduction using Fourier Transforms
Signal Processing Introduction using Fourier TransformsSignal Processing Introduction using Fourier Transforms
Signal Processing Introduction using Fourier TransformsArvind Devaraj
 
inverse z-transform ppt
inverse z-transform pptinverse z-transform ppt
inverse z-transform pptmihir jain
 
Digital Signal Processing Tutorial:Chapt 3 frequency analysis
Digital Signal Processing Tutorial:Chapt 3 frequency analysisDigital Signal Processing Tutorial:Chapt 3 frequency analysis
Digital Signal Processing Tutorial:Chapt 3 frequency analysisChandrashekhar Padole
 
Digital Signal Processing[ECEG-3171]-L00
Digital Signal Processing[ECEG-3171]-L00Digital Signal Processing[ECEG-3171]-L00
Digital Signal Processing[ECEG-3171]-L00Rediet Moges
 
DSP_FOEHU - MATLAB 04 - The Discrete Fourier Transform (DFT)
DSP_FOEHU - MATLAB 04 - The Discrete Fourier Transform (DFT)DSP_FOEHU - MATLAB 04 - The Discrete Fourier Transform (DFT)
DSP_FOEHU - MATLAB 04 - The Discrete Fourier Transform (DFT)Amr E. Mohamed
 
Laplace transforms
Laplace transformsLaplace transforms
Laplace transformsKarnav Rana
 
DSP_FOEHU - MATLAB 03 - The z-Transform
DSP_FOEHU - MATLAB 03 - The z-TransformDSP_FOEHU - MATLAB 03 - The z-Transform
DSP_FOEHU - MATLAB 03 - The z-TransformAmr E. Mohamed
 
Dsp U Lec04 Discrete Time Signals & Systems
Dsp U   Lec04 Discrete Time Signals & SystemsDsp U   Lec04 Discrete Time Signals & Systems
Dsp U Lec04 Discrete Time Signals & Systemstaha25
 
Digital Signal Processing[ECEG-3171]-Ch1_L03
Digital Signal Processing[ECEG-3171]-Ch1_L03Digital Signal Processing[ECEG-3171]-Ch1_L03
Digital Signal Processing[ECEG-3171]-Ch1_L03Rediet Moges
 
Chapter3 - Fourier Series Representation of Periodic Signals
Chapter3 - Fourier Series Representation of Periodic SignalsChapter3 - Fourier Series Representation of Periodic Signals
Chapter3 - Fourier Series Representation of Periodic SignalsAttaporn Ninsuwan
 
The Fast Fourier Transform (FFT)
The Fast Fourier Transform (FFT)The Fast Fourier Transform (FFT)
The Fast Fourier Transform (FFT)Oka Danil
 
Signals and systems-3
Signals and systems-3Signals and systems-3
Signals and systems-3sarun soman
 
DSP_2018_FOEHU - Lec 04 - The z-Transform
DSP_2018_FOEHU - Lec 04 - The z-TransformDSP_2018_FOEHU - Lec 04 - The z-Transform
DSP_2018_FOEHU - Lec 04 - The z-TransformAmr E. Mohamed
 
Applications laplace transform
Applications laplace transformApplications laplace transform
Applications laplace transformMuhammad Fadli
 

La actualidad más candente (20)

Signal Processing Introduction using Fourier Transforms
Signal Processing Introduction using Fourier TransformsSignal Processing Introduction using Fourier Transforms
Signal Processing Introduction using Fourier Transforms
 
inverse z-transform ppt
inverse z-transform pptinverse z-transform ppt
inverse z-transform ppt
 
Digital Signal Processing Tutorial:Chapt 3 frequency analysis
Digital Signal Processing Tutorial:Chapt 3 frequency analysisDigital Signal Processing Tutorial:Chapt 3 frequency analysis
Digital Signal Processing Tutorial:Chapt 3 frequency analysis
 
Digital Signal Processing[ECEG-3171]-L00
Digital Signal Processing[ECEG-3171]-L00Digital Signal Processing[ECEG-3171]-L00
Digital Signal Processing[ECEG-3171]-L00
 
DSP_FOEHU - MATLAB 04 - The Discrete Fourier Transform (DFT)
DSP_FOEHU - MATLAB 04 - The Discrete Fourier Transform (DFT)DSP_FOEHU - MATLAB 04 - The Discrete Fourier Transform (DFT)
DSP_FOEHU - MATLAB 04 - The Discrete Fourier Transform (DFT)
 
Laplace transform
Laplace transformLaplace transform
Laplace transform
 
Laplace transforms
Laplace transformsLaplace transforms
Laplace transforms
 
Signal & system
Signal & systemSignal & system
Signal & system
 
DSP_FOEHU - MATLAB 03 - The z-Transform
DSP_FOEHU - MATLAB 03 - The z-TransformDSP_FOEHU - MATLAB 03 - The z-Transform
DSP_FOEHU - MATLAB 03 - The z-Transform
 
Z Transform
Z TransformZ Transform
Z Transform
 
Lecture 5: The Convolution Sum
Lecture 5: The Convolution SumLecture 5: The Convolution Sum
Lecture 5: The Convolution Sum
 
Dsp U Lec04 Discrete Time Signals & Systems
Dsp U   Lec04 Discrete Time Signals & SystemsDsp U   Lec04 Discrete Time Signals & Systems
Dsp U Lec04 Discrete Time Signals & Systems
 
Digital Signal Processing[ECEG-3171]-Ch1_L03
Digital Signal Processing[ECEG-3171]-Ch1_L03Digital Signal Processing[ECEG-3171]-Ch1_L03
Digital Signal Processing[ECEG-3171]-Ch1_L03
 
Chapter3 - Fourier Series Representation of Periodic Signals
Chapter3 - Fourier Series Representation of Periodic SignalsChapter3 - Fourier Series Representation of Periodic Signals
Chapter3 - Fourier Series Representation of Periodic Signals
 
The Fast Fourier Transform (FFT)
The Fast Fourier Transform (FFT)The Fast Fourier Transform (FFT)
The Fast Fourier Transform (FFT)
 
Signals and systems-3
Signals and systems-3Signals and systems-3
Signals and systems-3
 
DSP_2018_FOEHU - Lec 04 - The z-Transform
DSP_2018_FOEHU - Lec 04 - The z-TransformDSP_2018_FOEHU - Lec 04 - The z-Transform
DSP_2018_FOEHU - Lec 04 - The z-Transform
 
Importance & Application of Laplace Transform
Importance & Application of Laplace TransformImportance & Application of Laplace Transform
Importance & Application of Laplace Transform
 
Applications laplace transform
Applications laplace transformApplications laplace transform
Applications laplace transform
 
signals and system
signals and systemsignals and system
signals and system
 

Similar a Discrete-Time Convolutions Sample Processing Methods

Digital Signal Processing[ECEG-3171]-Ch1_L06
Digital Signal Processing[ECEG-3171]-Ch1_L06Digital Signal Processing[ECEG-3171]-Ch1_L06
Digital Signal Processing[ECEG-3171]-Ch1_L06Rediet Moges
 
SURF 2012 Final Report(1)
SURF 2012 Final Report(1)SURF 2012 Final Report(1)
SURF 2012 Final Report(1)Eric Zhang
 
Research internship on optimal stochastic theory with financial application u...
Research internship on optimal stochastic theory with financial application u...Research internship on optimal stochastic theory with financial application u...
Research internship on optimal stochastic theory with financial application u...Asma Ben Slimene
 
Presentation on stochastic control problem with financial applications (Merto...
Presentation on stochastic control problem with financial applications (Merto...Presentation on stochastic control problem with financial applications (Merto...
Presentation on stochastic control problem with financial applications (Merto...Asma Ben Slimene
 
A Signature Algorithm Based On Chaotic Maps And Factoring Problems
A Signature Algorithm Based On Chaotic Maps And Factoring ProblemsA Signature Algorithm Based On Chaotic Maps And Factoring Problems
A Signature Algorithm Based On Chaotic Maps And Factoring ProblemsSandra Long
 
Traveling Salesman Problem in Distributed Environment
Traveling Salesman Problem in Distributed EnvironmentTraveling Salesman Problem in Distributed Environment
Traveling Salesman Problem in Distributed Environmentcsandit
 
TRAVELING SALESMAN PROBLEM IN DISTRIBUTED ENVIRONMENT
TRAVELING SALESMAN PROBLEM IN DISTRIBUTED ENVIRONMENTTRAVELING SALESMAN PROBLEM IN DISTRIBUTED ENVIRONMENT
TRAVELING SALESMAN PROBLEM IN DISTRIBUTED ENVIRONMENTcscpconf
 
StatPhysPerspectives_AMALEA_Cetraro_AnnaCarbone.pdf
StatPhysPerspectives_AMALEA_Cetraro_AnnaCarbone.pdfStatPhysPerspectives_AMALEA_Cetraro_AnnaCarbone.pdf
StatPhysPerspectives_AMALEA_Cetraro_AnnaCarbone.pdfAnna Carbone
 
T. Proietti, M. Marczak, G. Mazzi - EuroMInd-D: A density estimate of monthly...
T. Proietti, M. Marczak, G. Mazzi - EuroMInd-D: A density estimate of monthly...T. Proietti, M. Marczak, G. Mazzi - EuroMInd-D: A density estimate of monthly...
T. Proietti, M. Marczak, G. Mazzi - EuroMInd-D: A density estimate of monthly...Istituto nazionale di statistica
 
Introducción al Análisis y diseño de algoritmos
Introducción al Análisis y diseño de algoritmosIntroducción al Análisis y diseño de algoritmos
Introducción al Análisis y diseño de algoritmosluzenith_g
 
DESIGN OF QUATERNARY LOGICAL CIRCUIT USING VOLTAGE AND CURRENT MODE LOGIC
DESIGN OF QUATERNARY LOGICAL CIRCUIT USING VOLTAGE AND CURRENT MODE LOGICDESIGN OF QUATERNARY LOGICAL CIRCUIT USING VOLTAGE AND CURRENT MODE LOGIC
DESIGN OF QUATERNARY LOGICAL CIRCUIT USING VOLTAGE AND CURRENT MODE LOGICVLSICS Design
 
Numerical method for pricing american options under regime
Numerical method for pricing american options under regime Numerical method for pricing american options under regime
Numerical method for pricing american options under regime Alexander Decker
 
Sampling and Reconstruction (Online Learning).pptx
Sampling and Reconstruction (Online Learning).pptxSampling and Reconstruction (Online Learning).pptx
Sampling and Reconstruction (Online Learning).pptxHamzaJaved306957
 
Digital Signal Processing[ECEG-3171]-Ch1_L02
Digital Signal Processing[ECEG-3171]-Ch1_L02Digital Signal Processing[ECEG-3171]-Ch1_L02
Digital Signal Processing[ECEG-3171]-Ch1_L02Rediet Moges
 
THE KEY EXCHANGE CRYPTOSYSTEM USED WITH HIGHER ORDER DIOPHANTINE EQUATIONS
THE KEY EXCHANGE CRYPTOSYSTEM USED WITH HIGHER ORDER DIOPHANTINE EQUATIONSTHE KEY EXCHANGE CRYPTOSYSTEM USED WITH HIGHER ORDER DIOPHANTINE EQUATIONS
THE KEY EXCHANGE CRYPTOSYSTEM USED WITH HIGHER ORDER DIOPHANTINE EQUATIONSIJNSA Journal
 

Similar a Discrete-Time Convolutions Sample Processing Methods (20)

Digital Signal Processing[ECEG-3171]-Ch1_L06
Digital Signal Processing[ECEG-3171]-Ch1_L06Digital Signal Processing[ECEG-3171]-Ch1_L06
Digital Signal Processing[ECEG-3171]-Ch1_L06
 
SURF 2012 Final Report(1)
SURF 2012 Final Report(1)SURF 2012 Final Report(1)
SURF 2012 Final Report(1)
 
Lti system
Lti systemLti system
Lti system
 
Research internship on optimal stochastic theory with financial application u...
Research internship on optimal stochastic theory with financial application u...Research internship on optimal stochastic theory with financial application u...
Research internship on optimal stochastic theory with financial application u...
 
Presentation on stochastic control problem with financial applications (Merto...
Presentation on stochastic control problem with financial applications (Merto...Presentation on stochastic control problem with financial applications (Merto...
Presentation on stochastic control problem with financial applications (Merto...
 
A Signature Algorithm Based On Chaotic Maps And Factoring Problems
A Signature Algorithm Based On Chaotic Maps And Factoring ProblemsA Signature Algorithm Based On Chaotic Maps And Factoring Problems
A Signature Algorithm Based On Chaotic Maps And Factoring Problems
 
AINL 2016: Strijov
AINL 2016: StrijovAINL 2016: Strijov
AINL 2016: Strijov
 
Traveling Salesman Problem in Distributed Environment
Traveling Salesman Problem in Distributed EnvironmentTraveling Salesman Problem in Distributed Environment
Traveling Salesman Problem in Distributed Environment
 
TRAVELING SALESMAN PROBLEM IN DISTRIBUTED ENVIRONMENT
TRAVELING SALESMAN PROBLEM IN DISTRIBUTED ENVIRONMENTTRAVELING SALESMAN PROBLEM IN DISTRIBUTED ENVIRONMENT
TRAVELING SALESMAN PROBLEM IN DISTRIBUTED ENVIRONMENT
 
StatPhysPerspectives_AMALEA_Cetraro_AnnaCarbone.pdf
StatPhysPerspectives_AMALEA_Cetraro_AnnaCarbone.pdfStatPhysPerspectives_AMALEA_Cetraro_AnnaCarbone.pdf
StatPhysPerspectives_AMALEA_Cetraro_AnnaCarbone.pdf
 
T. Proietti, M. Marczak, G. Mazzi - EuroMInd-D: A density estimate of monthly...
T. Proietti, M. Marczak, G. Mazzi - EuroMInd-D: A density estimate of monthly...T. Proietti, M. Marczak, G. Mazzi - EuroMInd-D: A density estimate of monthly...
T. Proietti, M. Marczak, G. Mazzi - EuroMInd-D: A density estimate of monthly...
 
Alg1
Alg1Alg1
Alg1
 
Introducción al Análisis y diseño de algoritmos
Introducción al Análisis y diseño de algoritmosIntroducción al Análisis y diseño de algoritmos
Introducción al Análisis y diseño de algoritmos
 
DESIGN OF QUATERNARY LOGICAL CIRCUIT USING VOLTAGE AND CURRENT MODE LOGIC
DESIGN OF QUATERNARY LOGICAL CIRCUIT USING VOLTAGE AND CURRENT MODE LOGICDESIGN OF QUATERNARY LOGICAL CIRCUIT USING VOLTAGE AND CURRENT MODE LOGIC
DESIGN OF QUATERNARY LOGICAL CIRCUIT USING VOLTAGE AND CURRENT MODE LOGIC
 
Numerical method for pricing american options under regime
Numerical method for pricing american options under regime Numerical method for pricing american options under regime
Numerical method for pricing american options under regime
 
Sampling and Reconstruction (Online Learning).pptx
Sampling and Reconstruction (Online Learning).pptxSampling and Reconstruction (Online Learning).pptx
Sampling and Reconstruction (Online Learning).pptx
 
Digital Signal Processing[ECEG-3171]-Ch1_L02
Digital Signal Processing[ECEG-3171]-Ch1_L02Digital Signal Processing[ECEG-3171]-Ch1_L02
Digital Signal Processing[ECEG-3171]-Ch1_L02
 
Lt2419681970
Lt2419681970Lt2419681970
Lt2419681970
 
THE KEY EXCHANGE CRYPTOSYSTEM USED WITH HIGHER ORDER DIOPHANTINE EQUATIONS
THE KEY EXCHANGE CRYPTOSYSTEM USED WITH HIGHER ORDER DIOPHANTINE EQUATIONSTHE KEY EXCHANGE CRYPTOSYSTEM USED WITH HIGHER ORDER DIOPHANTINE EQUATIONS
THE KEY EXCHANGE CRYPTOSYSTEM USED WITH HIGHER ORDER DIOPHANTINE EQUATIONS
 
Iteration Techniques
Iteration TechniquesIteration Techniques
Iteration Techniques
 

Más de Rediet Moges (9)

Ch3 ex1
Ch3 ex1Ch3 ex1
Ch3 ex1
 
Ch2 ex2
Ch2 ex2Ch2 ex2
Ch2 ex2
 
Ch2 ex1
Ch2 ex1Ch2 ex1
Ch2 ex1
 
Ch1 ex5
Ch1 ex5Ch1 ex5
Ch1 ex5
 
Ch1 ex4
Ch1 ex4Ch1 ex4
Ch1 ex4
 
Ch1 ex3
Ch1 ex3Ch1 ex3
Ch1 ex3
 
Ch1 ex2
Ch1 ex2Ch1 ex2
Ch1 ex2
 
Ch1 ex1
Ch1 ex1Ch1 ex1
Ch1 ex1
 
Digital Signal Processing[ECEG-3171]-Ch1_L01
Digital Signal Processing[ECEG-3171]-Ch1_L01Digital Signal Processing[ECEG-3171]-Ch1_L01
Digital Signal Processing[ECEG-3171]-Ch1_L01
 

Último

Introduction to Artificial Intelligence: Intelligent Agents, State Space Sear...
Introduction to Artificial Intelligence: Intelligent Agents, State Space Sear...Introduction to Artificial Intelligence: Intelligent Agents, State Space Sear...
Introduction to Artificial Intelligence: Intelligent Agents, State Space Sear...shreenathji26
 
Turn leadership mistakes into a better future.pptx
Turn leadership mistakes into a better future.pptxTurn leadership mistakes into a better future.pptx
Turn leadership mistakes into a better future.pptxStephen Sitton
 
70 POWER PLANT IAE V2500 technical training
70 POWER PLANT IAE V2500 technical training70 POWER PLANT IAE V2500 technical training
70 POWER PLANT IAE V2500 technical trainingGladiatorsKasper
 
tourism-management-srs_compress-software-engineering.pdf
tourism-management-srs_compress-software-engineering.pdftourism-management-srs_compress-software-engineering.pdf
tourism-management-srs_compress-software-engineering.pdfchess188chess188
 
Structural Integrity Assessment Standards in Nigeria by Engr Nimot Muili
Structural Integrity Assessment Standards in Nigeria by Engr Nimot MuiliStructural Integrity Assessment Standards in Nigeria by Engr Nimot Muili
Structural Integrity Assessment Standards in Nigeria by Engr Nimot MuiliNimot Muili
 
CS 3251 Programming in c all unit notes pdf
CS 3251 Programming in c all unit notes pdfCS 3251 Programming in c all unit notes pdf
CS 3251 Programming in c all unit notes pdfBalamuruganV28
 
Gravity concentration_MI20612MI_________
Gravity concentration_MI20612MI_________Gravity concentration_MI20612MI_________
Gravity concentration_MI20612MI_________Romil Mishra
 
Cost estimation approach: FP to COCOMO scenario based question
Cost estimation approach: FP to COCOMO scenario based questionCost estimation approach: FP to COCOMO scenario based question
Cost estimation approach: FP to COCOMO scenario based questionSneha Padhiar
 
Robotics Group 10 (Control Schemes) cse.pdf
Robotics Group 10  (Control Schemes) cse.pdfRobotics Group 10  (Control Schemes) cse.pdf
Robotics Group 10 (Control Schemes) cse.pdfsahilsajad201
 
Python Programming for basic beginners.pptx
Python Programming for basic beginners.pptxPython Programming for basic beginners.pptx
Python Programming for basic beginners.pptxmohitesoham12
 
Triangulation survey (Basic Mine Surveying)_MI10412MI.pptx
Triangulation survey (Basic Mine Surveying)_MI10412MI.pptxTriangulation survey (Basic Mine Surveying)_MI10412MI.pptx
Triangulation survey (Basic Mine Surveying)_MI10412MI.pptxRomil Mishra
 
Immutable Image-Based Operating Systems - EW2024.pdf
Immutable Image-Based Operating Systems - EW2024.pdfImmutable Image-Based Operating Systems - EW2024.pdf
Immutable Image-Based Operating Systems - EW2024.pdfDrew Moseley
 
March 2024 - Top 10 Read Articles in Artificial Intelligence and Applications...
March 2024 - Top 10 Read Articles in Artificial Intelligence and Applications...March 2024 - Top 10 Read Articles in Artificial Intelligence and Applications...
March 2024 - Top 10 Read Articles in Artificial Intelligence and Applications...gerogepatton
 
The Satellite applications in telecommunication
The Satellite applications in telecommunicationThe Satellite applications in telecommunication
The Satellite applications in telecommunicationnovrain7111
 
ADM100 Running Book for sap basis domain study
ADM100 Running Book for sap basis domain studyADM100 Running Book for sap basis domain study
ADM100 Running Book for sap basis domain studydhruvamdhruvil123
 
Novel 3D-Printed Soft Linear and Bending Actuators
Novel 3D-Printed Soft Linear and Bending ActuatorsNovel 3D-Printed Soft Linear and Bending Actuators
Novel 3D-Printed Soft Linear and Bending ActuatorsResearcher Researcher
 
Prach: A Feature-Rich Platform Empowering the Autism Community
Prach: A Feature-Rich Platform Empowering the Autism CommunityPrach: A Feature-Rich Platform Empowering the Autism Community
Prach: A Feature-Rich Platform Empowering the Autism Communityprachaibot
 
Module-1-Building Acoustics(Introduction)(Unit-1).pdf
Module-1-Building Acoustics(Introduction)(Unit-1).pdfModule-1-Building Acoustics(Introduction)(Unit-1).pdf
Module-1-Building Acoustics(Introduction)(Unit-1).pdfManish Kumar
 
"Exploring the Essential Functions and Design Considerations of Spillways in ...
"Exploring the Essential Functions and Design Considerations of Spillways in ..."Exploring the Essential Functions and Design Considerations of Spillways in ...
"Exploring the Essential Functions and Design Considerations of Spillways in ...Erbil Polytechnic University
 

Último (20)

Introduction to Artificial Intelligence: Intelligent Agents, State Space Sear...
Introduction to Artificial Intelligence: Intelligent Agents, State Space Sear...Introduction to Artificial Intelligence: Intelligent Agents, State Space Sear...
Introduction to Artificial Intelligence: Intelligent Agents, State Space Sear...
 
Turn leadership mistakes into a better future.pptx
Turn leadership mistakes into a better future.pptxTurn leadership mistakes into a better future.pptx
Turn leadership mistakes into a better future.pptx
 
70 POWER PLANT IAE V2500 technical training
70 POWER PLANT IAE V2500 technical training70 POWER PLANT IAE V2500 technical training
70 POWER PLANT IAE V2500 technical training
 
tourism-management-srs_compress-software-engineering.pdf
tourism-management-srs_compress-software-engineering.pdftourism-management-srs_compress-software-engineering.pdf
tourism-management-srs_compress-software-engineering.pdf
 
Structural Integrity Assessment Standards in Nigeria by Engr Nimot Muili
Structural Integrity Assessment Standards in Nigeria by Engr Nimot MuiliStructural Integrity Assessment Standards in Nigeria by Engr Nimot Muili
Structural Integrity Assessment Standards in Nigeria by Engr Nimot Muili
 
CS 3251 Programming in c all unit notes pdf
CS 3251 Programming in c all unit notes pdfCS 3251 Programming in c all unit notes pdf
CS 3251 Programming in c all unit notes pdf
 
Gravity concentration_MI20612MI_________
Gravity concentration_MI20612MI_________Gravity concentration_MI20612MI_________
Gravity concentration_MI20612MI_________
 
Cost estimation approach: FP to COCOMO scenario based question
Cost estimation approach: FP to COCOMO scenario based questionCost estimation approach: FP to COCOMO scenario based question
Cost estimation approach: FP to COCOMO scenario based question
 
Robotics Group 10 (Control Schemes) cse.pdf
Robotics Group 10  (Control Schemes) cse.pdfRobotics Group 10  (Control Schemes) cse.pdf
Robotics Group 10 (Control Schemes) cse.pdf
 
Python Programming for basic beginners.pptx
Python Programming for basic beginners.pptxPython Programming for basic beginners.pptx
Python Programming for basic beginners.pptx
 
Triangulation survey (Basic Mine Surveying)_MI10412MI.pptx
Triangulation survey (Basic Mine Surveying)_MI10412MI.pptxTriangulation survey (Basic Mine Surveying)_MI10412MI.pptx
Triangulation survey (Basic Mine Surveying)_MI10412MI.pptx
 
Immutable Image-Based Operating Systems - EW2024.pdf
Immutable Image-Based Operating Systems - EW2024.pdfImmutable Image-Based Operating Systems - EW2024.pdf
Immutable Image-Based Operating Systems - EW2024.pdf
 
March 2024 - Top 10 Read Articles in Artificial Intelligence and Applications...
March 2024 - Top 10 Read Articles in Artificial Intelligence and Applications...March 2024 - Top 10 Read Articles in Artificial Intelligence and Applications...
March 2024 - Top 10 Read Articles in Artificial Intelligence and Applications...
 
The Satellite applications in telecommunication
The Satellite applications in telecommunicationThe Satellite applications in telecommunication
The Satellite applications in telecommunication
 
ADM100 Running Book for sap basis domain study
ADM100 Running Book for sap basis domain studyADM100 Running Book for sap basis domain study
ADM100 Running Book for sap basis domain study
 
Novel 3D-Printed Soft Linear and Bending Actuators
Novel 3D-Printed Soft Linear and Bending ActuatorsNovel 3D-Printed Soft Linear and Bending Actuators
Novel 3D-Printed Soft Linear and Bending Actuators
 
Prach: A Feature-Rich Platform Empowering the Autism Community
Prach: A Feature-Rich Platform Empowering the Autism CommunityPrach: A Feature-Rich Platform Empowering the Autism Community
Prach: A Feature-Rich Platform Empowering the Autism Community
 
Module-1-Building Acoustics(Introduction)(Unit-1).pdf
Module-1-Building Acoustics(Introduction)(Unit-1).pdfModule-1-Building Acoustics(Introduction)(Unit-1).pdf
Module-1-Building Acoustics(Introduction)(Unit-1).pdf
 
ASME-B31.4-2019-estandar para diseño de ductos
ASME-B31.4-2019-estandar para diseño de ductosASME-B31.4-2019-estandar para diseño de ductos
ASME-B31.4-2019-estandar para diseño de ductos
 
"Exploring the Essential Functions and Design Considerations of Spillways in ...
"Exploring the Essential Functions and Design Considerations of Spillways in ..."Exploring the Essential Functions and Design Considerations of Spillways in ...
"Exploring the Essential Functions and Design Considerations of Spillways in ...
 

Discrete-Time Convolutions Sample Processing Methods

  • 1. Chapter Three Discrete - Time Convolutions Lecture #7 Rediet Million AAiT, School Of Electrical and Computer Engineering rediet.million@aait.edu.et April,2018 (Rediet Million) DSP-Lecture #7 April,2018 1 / 18
  • 2. Introduction In this chapter we look at methods on how the discrete-time samples, once obtained, are processed by a special class of linear time-invariant discrete-time systems to produce an output. Major practical methods considered are block-processing and sample-processing methods. Block processing method deals with finite-duration blocks of data at a time.Typical applications include -FIR filtering of finite-duration signals by convolution -DFT/FFT spectral computations -Speech analysis and synthesis and image processing Sample processing methods are primarily used in real -time applications such as: -Real-time filtering, -Digital audio effects processing, -Digital control systems, -Adaptive signal processing (Rediet Million) DSP-Lecture #7 April,2018 2 / 18
  • 3. Introduction Various equivalent forms of the convolution operation will also be presented. These equivalent forms of convolution are: Direct form:Leads to block diagram realization and sample processing algorithm. LTI form : incorporates linearity and time-invariance properties. Matrix form: represents compact vectorial representation of the filtering operation. Flip-and-slide form:Shows clearly input-on and input-off transients and steady-state behavior. Overlap-add block convolution: used whenever the input is extremely long or infinite in duration. (Rediet Million) DSP-Lecture #7 April,2018 3 / 18
  • 4. 3.1 Block processing methods The main feature of block processing methods is that data is collected and processed in blocks at a time. Consider a finite set of samples of length L representing a finite time record of the input signal x(n). For a sampling interval of T the duration TR of the data record, in seconds, will be TR = (L − 1)T TR = L fs or L = TR = fs Thus, the signal block or vector of length-L is : x = [x0, x1, x2, .., xL−1] (Rediet Million) DSP-Lecture #7 April,2018 4 / 18
  • 5. Block processing methods Direct form convolution Consider a causal FIR filter order M with impulse response h = {h0, h1, h2, ..., hM} - The length of the impulse response is Lh = M + 1 The response of the order - M FIR filter to a length-Lx input x(n) i.e x = {x0, x1, x2, ..., xLx −1} is obtained,using the direct form convolution as y(n) = m h(m)x(n − m) -Range of h(m) is 0 ≤ m ≤ M.....................(1) -Range of x(n − m) is 0 ≤ n − m ≤ Lx − 1........(2) To determine the range of values of the output index ’n’ we write (2) in the form of m ≤ n ≤ Lx − 1 + m (Rediet Million) DSP-Lecture #7 April,2018 5 / 18
  • 6. Block processing methods Direct form convolution and use (1) to expand the limits to 0 ≤ m ≤ n ≤ Lx − 1 + m ≤ Lx − 1 + M ⇒The limits for the output index is 0 ≤ n ≤ Lx − 1 + M..........(3) - Thus, Ly = Lx + M and y = {y0, y1, y2, ..., yLx −1+M} For any values of the output index ’n’ in the range (3),we must determine the summation range over ’m’ in the convolution equation - Changing the sign of (2) we obtain −(Lx − 1) ≤ m − n ≤ 0 and adding ’n’ to all sides n − Lx + 1 ≤ m ≤ n..........(4) - ’m’ must satisfy equation (1) and (4) i.e max(0, n − Lx + 1) ≤ m ≤ min(n, M) In the case of an order M FIR filter and a length Lx input ,the direct form of convolution is given as : y(n) = min(n,M) m=max(0,n−Lx +1) h(m)x(n − m) (Rediet Million) DSP-Lecture #7 April,2018 6 / 18
  • 7. Block processing methods Convolution table A convenient way of expressing the direct form convolution is as follows convolution table form : y(n) = n=i+j h(i)x(j) Each output yn is the sum of all possible products hi xj for which i + j = m.This leads directly to the convolution table. - In the ij-plane, the condition i + j = n represents the nth anti-diagonal.These anti-diagonal entries are summed to form yn. (Rediet Million) DSP-Lecture #7 April,2018 7 / 18
  • 8. Block processing methods Convolution table Example : Compute the convolution of h(n) and x(n), where (Rediet Million) DSP-Lecture #7 April,2018 8 / 18
  • 9. Block processing methods LTI form convolution This type of convolution uses linearity and time-invariance properties of the filter to determine the output sequence. For an input sequence x = [x0, x1, x2, x3, x4] and impulse response h(n), we may rewrite the LTI form of convolution as: y(n) = min(n,Lx −1) m=max(0,n−M) x(m)h(n − m) A convolution table type of operation can be formed for the LTI form of convolution where the output values, yn, may be obtained by summing entries column-wise, with h arranged along the row and x arranged along the column. (Rediet Million) DSP-Lecture #7 April,2018 9 / 18
  • 10. Block processing methods Matrix form of convolution The convolution equation may also be written in a matrix form as: y = Hx where H is an (L + M)xL matrix built out of the filter’s impulse response,h(n). The columns of H are the successively delayed replicas of the impulse response vector h(n). (Rediet Million) DSP-Lecture #7 April,2018 10 / 18
  • 11. Block processing methods Matrix form of convolution Example : Compute y when We may also rewrite the convolution equation as : y = Xh where X is an (L + M)x(M + 1) matrix (Rediet Million) DSP-Lecture #7 April,2018 11 / 18
  • 12. Block processing methods Flip-and slide form of convolution (Graphical form) Here h(n) is flipped around or reversed and then slid over the input data sequence. At each time instant, the output sample is obtained by computing the dot product of the filter vector h with M + 1 input samples aligned below it, as shown below: (Rediet Million) DSP-Lecture #7 April,2018 12 / 18
  • 13. Block processing methods Overlap-add block convolution method In many applications considering the input as a single block may not be practical.A practical approach is to divide the long input into non-overlapping contiguous blocks of practical length, say L samples. Each block is convolved with the order-M filter h(n) producing the output blocks appropriately combined together to get the overall output. y0 = h ∗ x0 y1 = h ∗ x1 y2 = h ∗ x2 y3 = h ∗ x3 Transient and steady-state components (Rediet Million) DSP-Lecture #7 April,2018 13 / 18
  • 14. Block processing methods Transient and steady-state components For a length-L input and order-M filter,the output sequence can be divided into three sub-ranges for the range of the output time index n 0 ≤ n ≤ L − 1 + M Input-on transient: It takes the filter M time units before it is completely over the nonzero portion of the input sequence. Steady-state: the filter remains completely over the nonzero portion of the input data. Input-off transient: It represent the output after the input is turned off. (Rediet Million) DSP-Lecture #7 April,2018 14 / 18
  • 15. Block processing methods Transient and steady-state components (Rediet Million) DSP-Lecture #7 April,2018 15 / 18
  • 16. Block processing methods Convolution of infinite sequences Consider the direct form convolution y(n) = min(n,M) m=max(0,n−L+1) hmxn−m We can obtain the correct summation limits for the following three cases: 1. M → ∞, L < ∞, i.e infinite filter length and finite input length. 2. M < ∞, L → ∞, i.e finite filter length and infinite input length. 3. M → ∞, L → ∞, i.e infinite filter length and infinite input length. In all the above cases, the output index is 0 ≤ n ≤ ∞ and - When M → ∞ ,the upper limit in the sum becomes min(n, M) = n - When L → ∞ ,the lower limit in the sum becomes max(0, n − L + 1) = 0 (Rediet Million) DSP-Lecture #7 April,2018 16 / 18
  • 17. Block processing methods Convolution of infinite sequences Thus, we have (Rediet Million) DSP-Lecture #7 April,2018 17 / 18
  • 18. Block processing methods (#1 ) Class exercises & Assignment 1) Compute the convolution ,y = h ∗ x, of the filter and input a. h = [1, 1, 2, 1] x = [1, 2, 1, 1, 2, 1, 1, 1] b. h = [1, 0, 0, 1] x = [1, 1, 2, 2, 2, 2, 1, 1] using the following five methods i. Direct form ii. Convolution table iii.LTI-form iv.Matrix form v. The overlap-add methods of block convolution. 2) An IIR filter has h(n) = (0.25)nu(n).Derive a closed form expressions for the output y(n) when the input is a. a unit step,x(n) = u(n) b. a pulse of finite duration samples,x(n) = u(n) − u(n − 8) c. an alternating step,x(n) = (−2)nu(n) (Rediet Million) DSP-Lecture #7 April,2018 18 / 18
  • 19. Chapter three reading assignment Sample Processing Methods Transposed realization (Rediet Million) DSP-Lecture #7 April,2018 19 / 18