You are on page 1of 76

System Identification

Lecture Week 3

Dr. Mian Ilyas Ahmad

Associate Professor,
RCMS, NUST Pakistan
m.ilyas@rcms.nust.edu.pk

M.I.Ahmad (RCMS) 1 / 18
Last Week

System Identification ( definition )


Non-parametric Vs. Parametric identification
System identification - model types
System response identification (nonparametric)

M.I.Ahmad (RCMS) 2 / 18
Current Week

Response identification
Impulse response identification
Step response identification
Sine wave response identification
Correlation Methods

M.I.Ahmad (RCMS) 3 / 18
Nonparametric Identification - LTI Systems
Impulse Response Representation

M.I.Ahmad (RCMS) 4 / 18
Nonparametric Identification - LTI Systems
Impulse Response Representation

Integrating both input and output from −∞ to ∞ leads to the


convolution model
Z ∞
y (t) = g (t − τ )u(τ )dτ
−∞

M.I.Ahmad (RCMS) 4 / 18
Nonparametric Identification - LTI Systems
Impulse Response Representation

Integrating both input and output from −∞ to ∞ leads to the


convolution model
Z ∞
y (t) = g (t − τ )u(τ )dτ
−∞

For causal systems: ?

M.I.Ahmad (RCMS) 4 / 18
Nonparametric Identification - LTI Systems
Impulse Response Representation

Integrating both input and output from −∞ to ∞ leads to the


convolution model
Z ∞
y (t) = g (t − τ )u(τ )dτ
−∞

For causal systems: ?


In case of one sided input: ?
M.I.Ahmad (RCMS) 4 / 18
Nonparametric Identification - LTI Systems
Impulse Response Representation

The convolution model is fully characterised by the impulse response


g (t) of the system. For a given input u(t), the output can be easily
computed by identifying g (t).

M.I.Ahmad (RCMS) 5 / 18
Nonparametric Identification - LTI Systems
Impulse Response Representation

The convolution model is fully characterised by the impulse response


g (t) of the system. For a given input u(t), the output can be easily
computed by identifying g (t).
For discrete systems, the convolution sum is
t
X
y (t) = g (t − k)u(k) (1)
k=0

M.I.Ahmad (RCMS) 5 / 18
Nonparametric Identification - LTI Systems
Impulse Response Representation

The convolution model is fully characterised by the impulse response


g (t) of the system. For a given input u(t), the output can be easily
computed by identifying g (t).
For discrete systems, the convolution sum is
t
X
y (t) = g (t − k)u(k) (1)
k=0

Define j = t − k =⇒ k = t − j

M.I.Ahmad (RCMS) 5 / 18
Nonparametric Identification - LTI Systems
Impulse Response Representation

The convolution model is fully characterised by the impulse response


g (t) of the system. For a given input u(t), the output can be easily
computed by identifying g (t).
For discrete systems, the convolution sum is
t
X
y (t) = g (t − k)u(k) (1)
k=0

Define j = t − k =⇒ k = t − j
For k = 0, j = t and for k = t, j = 0, the convolution sum becomes
t
X
y (t) = g (j)u(t − j) (2)
j=0

M.I.Ahmad (RCMS) 5 / 18
Nonparametric Identification - LTI Systems

Impulse Response Identification

If we are able to generate a unit pulse, than g (k) can be directly


found from the measured output

M.I.Ahmad (RCMS) 6 / 18
Nonparametric Identification - LTI Systems

Impulse Response Identification

If we are able to generate a unit pulse, than g (k) can be directly


found from the measured output
In case u(t) is not unit pulse
(
α, t=0
u(t) =
0, t 6= 0

α is chosen according to the physical limitations on the input signal.

M.I.Ahmad (RCMS) 6 / 18
Nonparametric Identification - LTI Systems

Impulse Response Identification

If we are able to generate a unit pulse, than g (k) can be directly


found from the measured output
In case u(t) is not unit pulse
(
α, t=0
u(t) =
0, t 6= 0

α is chosen according to the physical limitations on the input signal.


Equation (1) is defined only at k = 0, implying y (t) = αg (t)

M.I.Ahmad (RCMS) 6 / 18
Nonparametric Identification - LTI Systems

Impulse Response Identification

If we are able to generate a unit pulse, than g (k) can be directly


found from the measured output
In case u(t) is not unit pulse
(
α, t=0
u(t) =
0, t 6= 0

α is chosen according to the physical limitations on the input signal.


Equation (1) is defined only at k = 0, implying y (t) = αg (t)
Similarly equation (2) is defined only at j = t, implying y (t) = αg (t)

M.I.Ahmad (RCMS) 6 / 18
Nonparametric Identification - LTI Systems

Impulse Response Identification

If we are able to generate a unit pulse, than g (k) can be directly


found from the measured output
In case u(t) is not unit pulse
(
α, t=0
u(t) =
0, t 6= 0

α is chosen according to the physical limitations on the input signal.


Equation (1) is defined only at k = 0, implying y (t) = αg (t)
Similarly equation (2) is defined only at j = t, implying y (t) = αg (t)
Due to measurement errors, we normally use y (t) = αg (t) + e(t)

M.I.Ahmad (RCMS) 6 / 18
Nonparametric Identification - LTI Systems

Impulse Response Identification

(
α, j = t = 0.4
u(t − j) =
0, j 6= t
y (t) = αg (t) + e(t)
y (t)
ĝ (t) = α

M.I.Ahmad (RCMS) 7 / 18
Nonparametric Identification - LTI Systems

Impulse Response Identification

(
α, j = t = 0.4
u(t − j) =
0, j 6= t
y (t) = αg (t) + e(t)
y (t)
ĝ (t) = α

M.I.Ahmad (RCMS) 7 / 18
Nonparametric Identification - LTI Systems

Impulse Response Identification

(
α, j = t = 0.4
u(t − j) =
0, j 6= t
y (t) = αg (t) + e(t)
y (t)
ĝ (t) = α

The estimated pulse response describes the sampled behaviour of the


continuous time system. Not a good estimate for fast dynamics

M.I.Ahmad (RCMS) 7 / 18
Nonparametric Identification - LTI Systems

Impulse Response Identification

(
α, j = t = 0.4
u(t − j) =
0, j 6= t
y (t) = αg (t) + e(t)
y (t)
ĝ (t) = α

The estimated pulse response describes the sampled behaviour of the


continuous time system. Not a good estimate for fast dynamics
Keesman book, Chapter 2, pg 20-21

M.I.Ahmad (RCMS) 7 / 18
Nonparametric Identification - LTI Systems

Step Response Representation (Identifying g (t))

(
0, t<0
u(t) =
α, t≥0 (Unit step function if α = 1)

M.I.Ahmad (RCMS) 8 / 18
Nonparametric Identification - LTI Systems

Step Response Representation (Identifying g (t))

(
0, t < 0
u(t) =
α, t ≥ 0 (Unit step function if α = 1)
Pt
y (t) = α k=0 g (k) + e(t)

M.I.Ahmad (RCMS) 8 / 18
Nonparametric Identification - LTI Systems

Step Response Representation (Identifying g (t))

(
0, t < 0
u(t) =
α, t ≥ 0 (Unit step function if α = 1)
Pt
y (t) = α k=0 g (k) + e(t)
Pt−1
y (t) = α k=0 g (k) + αg (t) + e(t)

M.I.Ahmad (RCMS) 8 / 18
Nonparametric Identification - LTI Systems

Step Response Representation (Identifying g (t))

(
0, t < 0
u(t) =
α, t ≥ 0 (Unit step function if α = 1)
Pt
y (t) = α k=0 g (k) + e(t)
Pt−1
y (t) = α k=0 g (k) + αg (t) + e(t)
y (t) = y (t − 1) + αg (t) + e(t) − e(t − 1)

M.I.Ahmad (RCMS) 8 / 18
Nonparametric Identification - LTI Systems

Step Response Representation (Identifying g (t))

(
0, t < 0
u(t) =
α, t ≥ 0 (Unit step function if α = 1)
Pt
y (t) = α k=0 g (k) + e(t)
Pt−1
y (t) = α k=0 g (k) + αg (t) + e(t)
y (t) = y (t − 1) + αg (t) + e(t) − e(t − 1)
y (t)−y (t−1)
ĝ (t) = α

M.I.Ahmad (RCMS) 8 / 18
Nonparametric Identification - LTI Systems

Step Response Representation (Identifying g (t))

(
0, t < 0
u(t) =
α, t ≥ 0 (Unit step function if α = 1)
Pt
y (t) = α k=0 g (k) + e(t)
Pt−1
y (t) = α k=0 g (k) + αg (t) + e(t)
y (t) = y (t − 1) + αg (t) + e(t) − e(t − 1)
y (t)−y (t−1)
ĝ (t) = α

If an impulse input cannot be applied, a step input can be chosen for


identification

M.I.Ahmad (RCMS) 8 / 18
Nonparametric Identification - LTI Systems

Sine Wave Response Representation

u(t) = αsinwt
Before going into sine wave response, we discuss some well known transforms

M.I.Ahmad (RCMS) 9 / 18
Nonparametric Identification - LTI Systems

Sine Wave Response Representation

u(t) = αsinwt
Before going into sine wave response, we discuss some well known transforms

Laplace Rtransform (t → s)

F (s) = 0 f (t)e −st dt

For Convolution Sum


Y (s) = G (s)U(s)

M.I.Ahmad (RCMS) 9 / 18
Nonparametric Identification - LTI Systems

Sine Wave Response Representation

u(t) = αsinwt
Before going into sine wave response, we discuss some well known transforms
Fourier transform
R∞ (t → jw )
F (jw ) = −∞ f (t)e −jwt dt
Laplace Rtransform (t → s)

F (s) = 0 f (t)e −st dt For Convolution Sum
For Convolution Sum Y (jw ) = G (jw )U(jw )
Y (s) = G (s)U(s) —————-
DFT (k → P jw )
F (e jw ) = ∞ k=−∞ f (k)e
−jwk

M.I.Ahmad (RCMS) 9 / 18
Nonparametric Identification - LTI Systems

Sine Wave Response Representation

u(t) = αsinwt
Before going into sine wave response, we discuss some well known transforms
Fourier transform
R∞ (t → jw )
F (jw ) = −∞ f (t)e −jwt dt
Laplace Rtransform (t → s) Z-transform
P (k → z) −k

F (s) = 0 f (t)e −st dt For Convolution Sum F (z) = ∞ k=0 f (k)z

For Convolution Sum Y (jw ) = G (jw )U(jw ) For Convolution Sum


Y (s) = G (s)U(s) —————- Y (z) = G (z)U(z)
DFT (k → P jw )
F (e jw ) = ∞ k=−∞ f (k)e
−jwk

M.I.Ahmad (RCMS) 9 / 18
Nonparametric Identification - LTI Systems

Sine Wave Response Representation

u(t) = αsinwt
Before going into sine wave response, we discuss some well known transforms
Fourier transform
R∞ (t → jw )
F (jw ) = −∞ f (t)e −jwt dt
Laplace Rtransform (t → s) Z-transform
P (k → z) −k

F (s) = 0 f (t)e −st dt For Convolution Sum F (z) = ∞ k=0 f (k)z

For Convolution Sum Y (jw ) = G (jw )U(jw ) For Convolution Sum


Y (s) = G (s)U(s) —————- Y (z) = G (z)U(z)
DFT (k → P jw )
F (e jw ) = ∞ k=−∞ f (k)e
−jwk

Discrete Fourier transform of sampled impulse response is


G (e jw ) = ∞ −jwk
P
k=−∞ g (k)e

M.I.Ahmad (RCMS) 9 / 18
Nonparametric Identification - LTI Systems

Sine Wave Response

Since e jwt = coswt + jsinwt, Im(e jwt ) = sinwt.

M.I.Ahmad (RCMS) 10 / 18
Nonparametric Identification - LTI Systems

Sine Wave Response

Since e jwt = coswt + jsinwt, Im(e jwt ) = sinwt.


Also G (e jw ) is complex and can be written as |G (e jw )|e jφ

M.I.Ahmad (RCMS) 10 / 18
Nonparametric Identification - LTI Systems

Sine Wave Response

Since e jwt = coswt + jsinwt, Im(e jwt ) = sinwt.


Also G (e jw ) is complex and can be written as |G (e jw )|e jφ
With these
P variables, the convolution sum becomes
y (t) = ∞k=−∞ g (k)u(t − k)

M.I.Ahmad (RCMS) 10 / 18
Nonparametric Identification - LTI Systems

Sine Wave Response

Since e jwt = coswt + jsinwt, Im(e jwt ) = sinwt.


Also G (e jw ) is complex and can be written as |G (e jw )|e jφ
With these
P variables, the convolution sum becomes
y (t) = ∞k=−∞ g (k)u(t − k)
P∞
y (t) = k=−∞ g (k)αIm(e jw (t−k) )

M.I.Ahmad (RCMS) 10 / 18
Nonparametric Identification - LTI Systems

Sine Wave Response

Since e jwt = coswt + jsinwt, Im(e jwt ) = sinwt.


Also G (e jw ) is complex and can be written as |G (e jw )|e jφ
With these
P variables, the convolution sum becomes
y (t) = ∞ k=−∞ g (k)u(t − k)
P∞
y (t) = k=−∞ g (k)αIm(e jw (t−k) )
y (t) = αIm(e jw (t) ∞ −jwk ))
P
k=−∞ g (k)(e

M.I.Ahmad (RCMS) 10 / 18
Nonparametric Identification - LTI Systems

Sine Wave Response

Since e jwt = coswt + jsinwt, Im(e jwt ) = sinwt.


Also G (e jw ) is complex and can be written as |G (e jw )|e jφ
With these
P variables, the convolution sum becomes
y (t) = ∞ k=−∞ g (k)u(t − k)
P∞
y (t) = k=−∞ g (k)αIm(e jw (t−k) )
y (t) = αIm(e jw (t) ∞ −jwk ))
P
k=−∞ g (k)(e
y (t) = αIm(e jw (t) G (e jw ))

M.I.Ahmad (RCMS) 10 / 18
Nonparametric Identification - LTI Systems

Sine Wave Response

Since e jwt = coswt + jsinwt, Im(e jwt ) = sinwt.


Also G (e jw ) is complex and can be written as |G (e jw )|e jφ
With these
P variables, the convolution sum becomes
y (t) = ∞ k=−∞ g (k)u(t − k)
P∞
y (t) = k=−∞ g (k)αIm(e jw (t−k) )
y (t) = αIm(e jw (t) ∞ −jwk ))
P
k=−∞ g (k)(e
y (t) = αIm(e jw (t) G (e jw ))
y (t) = αIm(e jw (t) |G (e jw )|e jφ )

M.I.Ahmad (RCMS) 10 / 18
Nonparametric Identification - LTI Systems

Sine Wave Response

Since e jwt = coswt + jsinwt, Im(e jwt ) = sinwt.


Also G (e jw ) is complex and can be written as |G (e jw )|e jφ
With these
P variables, the convolution sum becomes
y (t) = ∞ k=−∞ g (k)u(t − k)
P∞
y (t) = k=−∞ g (k)αIm(e jw (t−k) )
y (t) = αIm(e jw (t) ∞ −jwk ))
P
k=−∞ g (k)(e
y (t) = αIm(e jw (t) G (e jw ))
y (t) = αIm(e jw (t) |G (e jw )|e jφ )
y (t) = α|G (e jw )|Im(e j(wt+φ) )

M.I.Ahmad (RCMS) 10 / 18
Nonparametric Identification - LTI Systems

Sine Wave Response

y (t) = α|G (e jw )|sin(wt + φ)

M.I.Ahmad (RCMS) 11 / 18
Nonparametric Identification - LTI Systems

Sine Wave Response

y (t) = α|G (e jw )|sin(wt + φ)


If input is sinusoidal, the output is also sine wave multiplied in
magnitude by |G (e jw )| and shifted in phase by φ.

M.I.Ahmad (RCMS) 11 / 18
Nonparametric Identification - LTI Systems

Sine Wave Response

y (t) = α|G (e jw )|sin(wt + φ)


If input is sinusoidal, the output is also sine wave multiplied in
magnitude by |G (e jw )| and shifted in phase by φ.
As an example, let u(t) = 2.5sin5t. Then w = 5rad/sec and
y (t) = 2sin(5t − 2.5).

M.I.Ahmad (RCMS) 11 / 18
Nonparametric Identification - LTI Systems

Sine Wave Response

y (t) = α|G (e jw )|sin(wt + φ)


If input is sinusoidal, the output is also sine wave multiplied in
magnitude by |G (e jw )| and shifted in phase by φ.
As an example, let u(t) = 2.5sin5t. Then w = 5rad/sec and
y (t) = 2sin(5t − 2.5).
This means that |G (e jw )| = 2/2.5 and φ = w ∆T = −2.5rad

M.I.Ahmad (RCMS) 11 / 18
Nonparametric Identification - LTI Systems

Sine Wave Response

y (t) = α|G (e jw )|sin(wt + φ)


If input is sinusoidal, the output is also sine wave multiplied in
magnitude by |G (e jw )| and shifted in phase by φ.
As an example, let u(t) = 2.5sin5t. Then w = 5rad/sec and
y (t) = 2sin(5t − 2.5).
This means that |G (e jw )| = 2/2.5 and φ = w ∆T = −2.5rad
We can identify the frequency transfer function from the sine wave
response.

M.I.Ahmad (RCMS) 11 / 18
Nonparametric Identification - LTI Systems

Frequency transfer function identification - Algorithm

M.I.Ahmad (RCMS) 12 / 18
Nonparametric Identification - LTI Systems

Frequency transfer function identification - Algorithm

Generate a specific frequency sine wave w1 with maximum allowable


magnitude α.

M.I.Ahmad (RCMS) 12 / 18
Nonparametric Identification - LTI Systems

Frequency transfer function identification - Algorithm

Generate a specific frequency sine wave w1 with maximum allowable


magnitude α.
Apply the sine wave to the system and record the resulting response.

M.I.Ahmad (RCMS) 12 / 18
Nonparametric Identification - LTI Systems

Frequency transfer function identification - Algorithm

Generate a specific frequency sine wave w1 with maximum allowable


magnitude α.
Apply the sine wave to the system and record the resulting response.
Determine magnitude and phase of G (e jw ) for the specific frequency
from the two signals u(t) and y (t).

M.I.Ahmad (RCMS) 12 / 18
Nonparametric Identification - LTI Systems

Frequency transfer function identification - Algorithm

Generate a specific frequency sine wave w1 with maximum allowable


magnitude α.
Apply the sine wave to the system and record the resulting response.
Determine magnitude and phase of G (e jw ) for the specific frequency
from the two signals u(t) and y (t).
Repeat this for a number of interesting frequencies w ∈ (w1 , . . . , wN )
Sine Wave Testing

M.I.Ahmad (RCMS) 12 / 18
Nonparametric Identification - LTI Systems
Correlation Methods

Auto-correlation function: measures the relationship of a


function/variable on its past value.

M.I.Ahmad (RCMS) 13 / 18
Nonparametric Identification - LTI Systems
Correlation Methods

Auto-correlation function: measures the relationship of a


function/variable on its past value.
1 T /2
Z
φff (τ ) = lim f (t)f (t + τ )dt (Infinite duration)
T →∞ T −T /2
Z t2
φff (τ ) = f (t)f (t + τ )dt (Finite duration)
t1

M.I.Ahmad (RCMS) 13 / 18
Nonparametric Identification - LTI Systems
Correlation Methods

Auto-correlation function: measures the relationship of a


function/variable on its past value.
1 T /2
Z
φff (τ ) = lim f (t)f (t + τ )dt (Infinite duration)
T →∞ T −T /2
Z t2
φff (τ ) = f (t)f (t + τ )dt (Finite duration)
t1
(
a, 0≤t≤T
f (t) =
0, otherwise

M.I.Ahmad (RCMS) 13 / 18
Nonparametric Identification - LTI Systems
Correlation Methods

Auto-correlation function: measures the relationship of a


function/variable on its past value.
1 T /2
Z
φff (τ ) = lim f (t)f (t + τ )dt (Infinite duration)
T →∞ T −T /2
Z t2
φff (τ ) = f (t)f (t + τ )dt (Finite duration)
t1
(
a, 0≤t≤T
f (t) =
0, otherwise
φff (τ ) =?

M.I.Ahmad (RCMS) 13 / 18
Nonparametric Identification - LTI Systems
Correlation Methods

Auto-correlation function: measures the relationship of a


function/variable on its past value.
1 T /2
Z
φff (τ ) = lim f (t)f (t + τ )dt (Infinite duration)
T →∞ T −T /2
Z t2
φff (τ ) = f (t)f (t + τ )dt (Finite duration)
t1
(
a, 0≤t≤T
f (t) =
0, otherwise
φff (τ ) =?
φff (τ ) = a2 (T − τ ),
−T ≤ τ ≤ T
M.I.Ahmad (RCMS) 13 / 18
Nonparametric Identification - LTI Systems
Correlation Methods

Auto-correlation function: measures the relationship of a


function/variable on its past value.
1 T /2
Z
φff (τ ) = lim f (t)f (t + τ )dt (Infinite duration)
T →∞ T −T /2
Z t2
φff (τ ) = f (t)f (t + τ )dt (Finite duration)
t1
(
a, 0≤t≤T
f (t) =
0, otherwise
φff (τ ) =?
φff (τ ) = a2 (T − τ ),
−T ≤ τ ≤ T
M.I.Ahmad (RCMS) 13 / 18
Nonparametric Identification - LTI Systems
Correlation Methods

Auto-correlation function: measures the relationship of a


function/variable on its past value.
1 T /2
Z
φff (τ ) = lim f (t)f (t + τ )dt (Infinite duration)
T →∞ T −T /2
Z t2
φff (τ ) = f (t)f (t + τ )dt (Finite duration)
t1
(
a, 0≤t≤T
f (t) =
0, otherwise
φff (τ ) =?
φff (τ ) = a2 (T − τ ),
−T ≤ τ ≤ T
M.I.Ahmad (RCMS) 13 / 18
Nonparametric Identification - LTI Systems
Correlation Methods

Auto-correlation function: discrete version

M.I.Ahmad (RCMS) 14 / 18
Nonparametric Identification - LTI Systems
Correlation Methods

Auto-correlation function: discrete version


N
1 X
ruu (l) = lim u(i)u(i + l) (Infinite sequence)
N→∞ 2N + 1
i=−N
= E [uu0 (l)] (If N finite, u finite entries )

M.I.Ahmad (RCMS) 14 / 18
Nonparametric Identification - LTI Systems
Correlation Methods

Auto-correlation function: discrete version


N
1 X
ruu (l) = lim u(i)u(i + l) (Infinite sequence)
N→∞ 2N + 1
i=−N
= E [uu0 (l)] (If N finite, u finite entries )

Cross-correlation function: measures the relationship of a


function/variable on the past value of another function/variable.

M.I.Ahmad (RCMS) 14 / 18
Nonparametric Identification - LTI Systems
Correlation Methods

Auto-correlation function: discrete version


N
1 X
ruu (l) = lim u(i)u(i + l) (Infinite sequence)
N→∞ 2N + 1
i=−N
= E [uu0 (l)] (If N finite, u finite entries )

Cross-correlation function: measures the relationship of a


function/variable on the past value of another function/variable.
N
1 X
ruy (l) = lim u(i)y (i + l) (Infinite sequence)
N→∞ 2N + 1
i=−N
= E [uy0 (l)] (If N finite, u, y(l) finite entries )
M.I.Ahmad (RCMS) 14 / 18
Nonparametric Identification - LTI Systems
Weiner Hopf Equation

P∞
As y (t) = k=0 g (k)u(t − k), we have

M.I.Ahmad (RCMS) 15 / 18
Nonparametric Identification - LTI Systems
Weiner Hopf Equation

P∞
As y (t) = k=0 g (k)u(t − k), we have

X
y (i + l) = g (k)u(i + l − k)
k=0

M.I.Ahmad (RCMS) 15 / 18
Nonparametric Identification - LTI Systems
Weiner Hopf Equation

P∞
As y (t) = k=0 g (k)u(t − k), we have

X
y (i + l) = g (k)u(i + l − k)
k=0

1 PN
Since ruy (l) = limN→∞ 2N+1 i=−N u(i)y (i + l) therefore

M.I.Ahmad (RCMS) 15 / 18
Nonparametric Identification - LTI Systems
Weiner Hopf Equation

P∞
As y (t) = k=0 g (k)u(t − k), we have

X
y (i + l) = g (k)u(i + l − k)
k=0

1 PN
Since ruy (l) = limN→∞ 2N+1 i=−N u(i)y (i + l) therefore
N ∞
1 X X
ruy (l) = lim u(i) g (k)u(i + l − k)
N→∞ 2N + 1
i=−N k=0
∞ N
X 1 X
ruy (l) = g (k) lim u(i)u(i + l − k)
N→∞ 2N + 1
k=0 i=−N

M.I.Ahmad (RCMS) 15 / 18
Nonparametric Identification - LTI Systems

Weiner Hopf Equation

The resulting equation is called Weiner Hopf Equation

M.I.Ahmad (RCMS) 16 / 18
Nonparametric Identification - LTI Systems

Weiner Hopf Equation

The resulting equation is called Weiner Hopf Equation



X
ruy (l) = g (k)ruu (l − k)
k=0

M.I.Ahmad (RCMS) 16 / 18
Nonparametric Identification - LTI Systems

Weiner Hopf Equation

The resulting equation is called Weiner Hopf Equation



X
ruy (l) = g (k)ruu (l − k)
k=0

The equation is similar to the convolution sum but with auto and
cross correlations.

M.I.Ahmad (RCMS) 16 / 18
Nonparametric Identification - LTI Systems
Impulse Response Identification using Weiner Hopf Equation

Assume that the first s elements of g (k) are enough to determine the
response of a stable system

M.I.Ahmad (RCMS) 17 / 18
Nonparametric Identification - LTI Systems
Impulse Response Identification using Weiner Hopf Equation

Assume that the first s elements of g (k) are enough to determine the
response of a stable system
s
X
ruy (l) = g (k)ruu (l − k)
k=0

M.I.Ahmad (RCMS) 17 / 18
Nonparametric Identification - LTI Systems
Impulse Response Identification using Weiner Hopf Equation

Assume that the first s elements of g (k) are enough to determine the
response of a stable system
s
X
ruy (l) = g (k)ruu (l − k)
k=0

If input and output measurements are given from 0 to N, we need to


compute ruy (l) and ruu (l).

M.I.Ahmad (RCMS) 17 / 18
Nonparametric Identification - LTI Systems
Impulse Response Identification using Weiner Hopf Equation

Assume that the first s elements of g (k) are enough to determine the
response of a stable system
s
X
ruy (l) = g (k)ruu (l − k)
k=0

If input and output measurements are given from 0 to N, we need to


compute ruy (l) and ruu (l).
To ignore the effect of initial condition, the first M measurements are
often removed.

M.I.Ahmad (RCMS) 17 / 18
Nonparametric Identification - LTI Systems
Impulse Response Identification using Weiner Hopf Equation

Assume that the first s elements of g (k) are enough to determine the
response of a stable system
s
X
ruy (l) = g (k)ruu (l − k)
k=0

If input and output measurements are given from 0 to N, we need to


compute ruy (l) and ruu (l).
To ignore the effect of initial condition, the first M measurements are
often removed.
Knowing that we have (u(M), y (M)), . . . , (u(N), y (N))
measurements, the correlations are written as
N−l
1 X
ruu (l) ≈ u(i)u(i + l)
N − M − l i=M
N−l
1 X
ruy (l) ≈ u(i)y (i + l), l = 0, . . . , s
N − M − l i=M

M.I.Ahmad (RCMS) 17 / 18
Nonparametric Identification - LTI Systems
Impulse Response Identification using Weiner Hopf Equation

Then using the Weiner Hopf equation, we have

M.I.Ahmad (RCMS) 18 / 18
Nonparametric Identification - LTI Systems
Impulse Response Identification using Weiner Hopf Equation

Then using the Weiner Hopf equation, we have


ruy (0) = g (0)ruu (0) + g (1)ruu (−1) + . . . + g (s)ruu (−s)

.
.
.
ruy (s) = g (0)ruu (s) + g (1)ruu (s − 1) + . . . + g (s)ruu (0)

In matrix form, we can write

M.I.Ahmad (RCMS) 18 / 18
Nonparametric Identification - LTI Systems
Impulse Response Identification using Weiner Hopf Equation

Then using the Weiner Hopf equation, we have


ruy (0) = g (0)ruu (0) + g (1)ruu (−1) + . . . + g (s)ruu (−s)

.
.
.
ruy (s) = g (0)ruu (s) + g (1)ruu (s − 1) + . . . + g (s)ruu (0)

In matrix form, we can write


ruu (0) ruu (−1) ··· ruu (−s)
 
ruy (0) g (0)
   
ruu (1) ruu (0) ··· ruu (1 − s)
 .    . 
 .  =  .
 . . . .  . 
 .  . . .  . 
 . . . . 
ruy (s) g (s)
ruu (s) ruu (s − 1) ··· ruu (0)
ruy = Ruu g

M.I.Ahmad (RCMS) 18 / 18
Nonparametric Identification - LTI Systems
Impulse Response Identification using Weiner Hopf Equation

Then using the Weiner Hopf equation, we have


ruy (0) = g (0)ruu (0) + g (1)ruu (−1) + . . . + g (s)ruu (−s)

.
.
.
ruy (s) = g (0)ruu (s) + g (1)ruu (s − 1) + . . . + g (s)ruu (0)

In matrix form, we can write


ruu (0) ruu (−1) ··· ruu (−s)
 
ruy (0) g (0)
   
ruu (1) ruu (0) ··· ruu (1 − s)
 .    . 
 .  =  .
 . . . .  . 
 .  . . .  . 
 . . . . 
ruy (s) g (s)
ruu (s) ruu (s − 1) ··· ruu (0)
ruy = Ruu g

This can be solved for g using any linear solver.


M.I.Ahmad (RCMS) 18 / 18

You might also like