16.322 Stochastic Estimation and Control, Fall 2004
Prof. Vander Velde
Page 1 of 5
Lecture 16
Last time: Wide band input
Notice that
0
() ()
() ( )
xy
RSw
xtyt
τ τ
τ
=
=+
so if t is the current time in a real time situation, we cannot compute ()
xy
R τ for
0τ > which is necessary since ()
x
w τ is nonzero only for 0τ > .
But we showed earlier that
() ()
() ( )
xy yx
RR
ytxt
τ τ
τ
=
=?
This can be computed in real time by averaging the product of the current
output, ()yt, and the delayed input, ()xt τ? , for 0τ > .
The Shaping Filter
A shaping filter is a filter that produces an output process with a white noise
input, which has a specified spectrum. If a given system is driven by a colored
noise, we can precede it with the appropriate shaping filter and always treat the
augmented system as driven by white noise.
We usually work with rational spectra – so consider ()
xx
S ω to be a rational
function. That is, it is a ratio of polynomials in ω .
Since ()
xx
S ω is always an even function, it is a ratio of polynomials having only
even powers of ω .
24
01 2
24
01 2
...
()
...
xx
aa a
S
bb b
ωω
ω
ωω
+++
=
+++
We wish to characterize the filter in terms of the Laplace variable s . The relation
between s and ω is sjω= .
16.322 Stochastic Estimation and Control, Fall 2004
Prof. Vander Velde
Page 2 of 5
Rewrite
xx
S in terms of s . Since only even powers of ω appear there will be no
imaginary terms.
22
44
66
etc.
s
s
s
ω
ω
ω
=?
=+
=?
246
01 2 3
246
01 2
...
()
...
xx
aasasas
Ss
bbsbsbs
?+?
=
?+?
Factor the numerator and denominator in terms of
2
s .
()()
()()
22
12
22
11
...
()
...
xx
scsc
Ss c
sdsd
??
=
??
The poles and zeroes are located at:
Zeroes at
i
sc=± , where 1,2,...i =
Poles at
i
sd=± , where 1,2,...i =
If
i
c is real and positive, then
i
c is real
If
i
c is real and negative, then
i
c is purely imaginary
This kind of root always appears with even multiplicity.
22
()( )
ii
sc cω?→??
Notice that in terms of ω , this must be true to avoid a change of sign of ()
xx
S ω .
For small ω ,
2
()
i
cω?? is positive.
For large ω ,
2
()
i
cω?? is negative.
If
i
c is complex, then
*
i
c is another root.
The poles or zeroes are at:
*
*
i
i
i
i
cajb
cajb
s
cajb
cajb
?
+=++
?
??=??
?
=
?
+=+?
?
?
?=?+
?
?
16.322 Stochastic Estimation and Control, Fall 2004
Prof. Vander Velde
Page 3 of 5
Collect the factors which define poles or zeroes in the left-half plane together
with the square root of any factorable constant ( c ). Call the product ()
xx L
Ss-
the left hand factor of the spectrum.
Collect the remaining factors, which define poles or zeroes in the right-half
plane, together with the square root of the factorable constant. Call the product
()
xx R
Ss- the right hand factor of the spectrum.
Then:
() () ()
xx xx L xx R
Ss SsSs=
From the symmetry of the pole-zero pattern, we can see that
() ( )
xx R xx L
Ss S s=?
Call the shaping filter transfer function ()Fs. The input-output relation for
power spectral density functions in terms of s is
() () ( ) ()
xx nn
Ss FsFsSs=?
But with ()
xx
Ss factored and ()nt white,
() () () ( )
() ( ) () ( )
xx L xx R n
xx L xx L n
SsSs FsFsS
SsS s FsFsS
=?
?= ?
One solution for ()Fs which produces the desired output spectrum is
1
() ()
xx L
n
Fs S s
S
=
We can choose
n
S to be 1 if we wish.
By construction, this filter is stable and minimum phase.
If ()
nn
S ω is not broadband relative to the system,
16.322 Stochastic Estimation and Control, Fall 2004
Prof. Vander Velde
Page 4 of 5
()
()
()
xx L
nn L
Ss
Fs
Ss
=
Example
Suppose a disturbance process has a spectrum with the following shape.
Suppose this function is well approximated by
2
42
10
()
54
xx
S
ω
ω
ωω
=
++
Then:
2
42
22
() ()
10
()
54
10 ( 10 )
(1)(4)
10 10
( 1)( 2) ( 1)( 2)
xx L xx R
xx
Ss Ss
s
Ss
ss
ss
ss
ss
ss ss
?
=
?+
?
=
??
????
=
????
++ ??
????
14424431442443
With unit intensity noise driving the shaping filter, the filter transfer function
is
2
10 10
()
(1)(2) 32
ss
Fs
ss ss
==
++ ++
If you are going to work in terms of a state space model, you would now have to
define a state variable realization of this transfer, and augment the state space
model of the original system with it.
16.322 Stochastic Estimation and Control, Fall 2004
Prof. Vander Velde
Page 5 of 5
General Introduction to Filtering and Control System Design
Suppose you have input data up to time t , and at that time you want to produce
a smoothed estimate of the signal (which is a real time operation). This called
filtering.
Suppose you want an estimate of a signal at time t τ+ in the future. This is
called predicting.
Suppose you want an estimate of a signal at time t τ? in the past, using data
available up to time t . This is called smoothing.
Ground rules
We shall treat in a fairly general manner the problem of optimum design of
systems under the following conditions:
1. The system is assumed to be linear and physically realizable.
2. The inputs to the system (e.g., signals, noise, disturbances), are members of
stationary random processes.
3. The desired operation of the system is a linear time-invariant operation on the
signal.
4. The optimum system is defined to be that which yields the minimum steady
state mean squared error between actual output and derived output.
With stationary inputs, the input correlation functions are invariant with time;
these are the invariants which are the basis for prediction.
Thus we shall be finding the realizable linear system which operating on the
signal and noise yields an output which best approximates in the mean squared
sense the output of an ideal linear operator, not necessarily realizable, operating
on the signal only. We shall find optimum systems in two senses:
1. Configuration fixed – find optimum parameter values
2. Configuration semi-free – find best linear realizable compensator
a. Configuration free – find best linear realizable system