Chapter 2 Linear Signal Models
Chapter 2 Linear Signal Models
1
Motivation
• Signal modeling is the representation of
signal in an efficient manner.
• Signal modeling has several applications.
– Compression,
• Represent the signal with small number of
parameters.
– Signal prediction,
• A model may be used to estimate future data.
– Signal interpolation,
• A model may be used to estimate missing data.
2
• Nonparametric signal model: when the LTI
filter is specified by its impulse response.
– Non parametric because there is no restriction
regarding the form of the model and the number of
parameters is infinite.
• Parametric: when the filter is represented by a
finite-order rational system function.
– Limited to
• System with rational system function: All-pole, All-zero and
pole-zero systems.
• Minimum-phase systems
– Described by a finite number of parameters.
3
• The two major topics we address in this
chapter are
– Design of an all-pole, all-zero, or pole-zero
system that produces a random signal with a
given autocorrelation sequence or PSD function.
– Derivation of the second-order moments, given
the parameters of their system function, and
4
Nonparametric Signal Models
• The model given below is a nonparametric
model.
5
• Notice that when the input is a white noise
process, the shape of the autocorrelation and
the power spectrum (second-order moments) of
the output signal are completely characterized
by the system.
• We use the term system-based signal model to
refer to the signal generated by a system with a
white noise input.
6
Parametric Signal Modeling
• Two steps in parametric signal modeling:
– Choose an appropriate model and
– Determine the parameters of the model.
• In linear signal model, the signal is modeled
as the output of a causal stable LTI filter.
10
Deterministic Signal Modeling
• The signal is modeled as an output to an LTI
system with impulse input.
12
Padé Approximation
• Reformulates the problem in such a way that
the filter coefficients may be found that force
the error to be zero for p+q+1 values of n.
• In matrix form,
13
• Solution different depending upon whether
the matrix is invertible or not.
– Reading assignment.
• Limitation
– No guarantee on how accurate the model is for
n>p+q since no data for n>p+q is used.
– The model generated is not guaranteed to be
stable.
14
Prony’s Method
• Modifies the least square error definition,
• Where
16
• In matrix form,
• Limitation
– Requires knowledge of data for all n.
18
Padé vs Prony
• Model a signal consisting of single pulse of
length N=21 with p=q=1.
19
Filter Design: Padé vs Prony
• Design a linear phase lowpass filter for
q=p=5.
Pade method Prony method
Error
Magnitude
Response
20
Shanks’ Method
• Instead of forcing the error zero to obtain
bq(k), Shanks’ method minimizes the
squared error.
• Reading assignment.
21
Reading assignment
• FIR least square inverse filter
– Hayes: pp 166-174
• Iterative prefiltering
– Hayes: pp 174-177
22
Finite Data Records
• If only x(n) is known for finite interval
0≤n≤N, Prony’s method cannot be used.
24
• Then solve for ap(k) using Prony’s method
except
25
• Limitation
– Since the window forces x(n) to be zero outside
0≤n≤N, the accuracy of the model outside this
range is compromised.
– For 0≤n≤P the prediction is based on fewer data,
so the error may be greater.
• A non-rectangular window may be used. Hamming,
Hanning, …
• Advantage
– The model will be stable. That is the poles of
H(z) will be inside the unit circle.
26
Covariance Method
• Does not make any assumptions about the
data outside the 0≤n≤N.
• Error is calculated for data P≤n≤N.
• Where 27
• The normal equations are identical to those of
Prony’s method, except how the
autocorrelation is obtained.
• Note that the autocorrelation matrix is not
Toeplitz.
– Computationally much costly than autocorrelation
method.
28
Example: Autocorr. vs Covariance
• Obtain a first order all-pole model for
• Autocorrelation • Covariance
29
Stochastic Signal Modeling
• Analyze the properties of a special class of
stationary random sequences that are
obtained by driving a linear, time-invariant
system with white noise.
• Previous methods not applicable for
stochastic signal modeling.
– Only probabilistic information is available.
– Errors are also described probabilistically.
30
• If a white noise is filtered with a stable LTI
filter, random signals with almost any
arbitrary a periodic correlation structure or
continuous PSD can be obtained.
31
Autoregressive Moving-Average
(Pole-Zero) Models
• A pole-zero stochastic model is given as
32
• If a parametric model is excited with white
noise w(n)=IID{0, σ2ω}, the second moments
of the random signal is given as
33
All-pole Models
• An all pole model is when Q=0, that is
34
• Since h(-l)=0 for l>0,
and
35
• In matrix notations, it is the Yule-Walker equations.
36
• Normalizing the autocorrelations by dividing
by r(0),
38
All-zero Models
• The output of the all-zero model is the
weighted average of delayed versions of the
input signal
39
• Its autocorrelation is given as
40
• Reading Assignment:
– Low order model of all-zero models
41
Pole-Zero Models
• A general pole-zero model is given as
43
• Therefore, the ak can be obtained from l=Q+1,…,Q+P
45
Assignment 2
b0=1
2.1 Implement the second order filter with a1=0.6 and a2=0.2 and
drive it with IID(0,0.2). Then , obtain a sample realization of length
40. From this sample realization, obtain a second order deterministic
all-pole model with Prony’s method.
– Plot the obtained sample realization,
– Show the coefficients of the all-pole model obtained with Prony’s method,
– Comment on the result.
2.2 Show that the autocorrelation matrix used to obtain the
denominator coefficients in the pole-zero stochastic model is not
Toeplitz.
2.3 Implement the autocorrelation and covariance methods by
MATLAB. Record 10 seconds of your speech, break it into 32.5
millisecond windows and represent each of the windows by all pole
model with P=14.
• The MATLAB code,
• The recorded speech,
• The model parameters and
• Discussion points. 46
• Submission format
– Via Email: [email protected]
– Email title: SDSP_[ID]_Assignment2
– File format: SDSP_[ID]_Assignment2.rar
• Report in .pdf only May 2, 2022
– Submission date:5PM, September 28, 2020
– Individual submission
47