Professional Documents
Culture Documents
of
the transform may be interpreted as the energy distribution of the signal with respect to
frequency. This function is called the Deterministic Power Spectrum of the signal and is
denoted
dxx X
The xx subscript indicates that the power spectrum is of the signal x n , and also that
the spectral values are quantities that are second order in the sense that they are derived
from products of pairs of x n values. The d superscript implies that the power
spectrum is for an isolated signal rather than an estimate of the power spectrum of a
random process (see below).
Notice that dxx X X is the discrete-time Fourier transform of
x n x n which is called the Deterministic Autocorrelation of the signal and is
denoted
xxd n x n x n
Thus, the deterministic power spectrum and the deterministic autocorrelation are a
d
d
discrete-time Fourier transform pair (i.e. xx n xx )
When the original signal is real the deterministic autocorrelation function is
xxd n x n x n
x m x m n
d
Expressed in words, xx n is the sum of all products of pairs of signal values that are nsteps apart.
very long section of the signal, is not a good alternative because this transform will be
complicated by variations that represent every detail of the original signal. A better
approach is to:
1. Divide a long section of the signal x n into blocks of length N :
x0 n x 0 , x 1 ,K , x N 1
x1 n x N , x N 1 ,K , x 2 N 1
M
xK 1 n x K 1 N , x
K 1 N 1
,K , x KN 1
K 1
k 0
dxk xk N
xx
K
K
K 1
k 0
dxk xk N
1 1 1
1
3.5
4 5 5
6 6 6
6
x2
x x
x px d
2
1
17.5
1
1 1
1
2 1
2.52 1.52 .52 .5 2 1.5 2 2.5
6
6
6
6
6 6
6
A random process x n is a sequence (there are also continuous random processes) that
assumes specific numeric values at each index n depending on the outcome of a random
experiment. In this discussion we only consider real-valued random processes.
A good example of a random process is time-varying thermal noise. Each time the noise
is sampled a different sequence of values is produced, but all the instantiations have
common features.
One way to think of the random process is as sequence of random variables (
K , x 1 , x 0 , x 1 ,K ) that are characterized by a corresponding sequence of
x 1
x 0
x 1
2
2
x 1
x 1
2
x0
x0
2
x1
x1
In addition, since the values assigned to neighboring indices may not be independent of
each other, joint probabilities are also of interest. We limit our attention to joint
probabilities of pairs of indices:
p x n x m 1 , 2
and to the second order statistic
x n x m 1 2 p x n x m 1 , 2 d 1d 2 .
Several simplifying assumptions about the random process allow us to characterize
random signals using only a few key statistics. The first simplifying assumption is that
the random process is stationary. This means that all the probability density functions
associated with the random process are translation invariant. Thus, for all integer values
of n, m, o, k
p x n p x n k
p x n x m 1 , 2 px n k x m k 1 , 2
p x n x m x[ o ] 1 , 2 p x n k x m k x[ ok ] 1 , 2 , 3
M
Important consequences of this assumption are:
1. The means
x n
2. The variances
: n 0, 1, 2,K
x n
x
: n 0, 1, 2,K
xx q x n x n q
where n can be chosen arbitrarily. The discrete-time Fourier transform of the
autocorrelation sequence is denoted xx and is called the Power Spectrum of the
random process.
If the three consequences of the stationarity assumption listed above are the only
consequences needed (as is often the case) then the three consequences are assumed
explicitly rather than as consequences of the stationarity assumption. This weaker
assumption is called wide sense stationary.
4
A further assumption is also needed so that the statistics of a random process can be
estimated when only a single instance of the process is available. This assumption, called
ergodicity, is that ensemble averages (denoted by the angle brackets) can be evaluated
using time averages from a single instance of the process. This means, in particular, that
x x n lim K
2
x
x n
K 1
1
K
x n
k 0
lim K
1
K
KN
K 1
x n
k 0
xx q x n x n q lim K
1
K
KN x
K 1
x n q KN x n
k 0
KN
The term wide sense ergodic refers to the more limited assumption that time-averaging
gives the same results as ensemble averaging in the above three cases.
A Second Look at the Spectral Estimation Formula
The spectral estimate that was derived heuristically can now be reconsidered in the
context of a random process. Recall that the formula for the estimate is
1
% lim
xx
K
K
lim K
K 1
k 0
1
NK
dxk xk N
K 1
k 0
X k Xk
X k x kN n e jn
n 0
N 1
X k x kN m e jm
m 0
gives
N 1
jn
jm
x
kN
n
e
x kN m e
k 0 n 0
m 0
K 1
1
j n m
lim K K x kN n x kN m e
k 0
1
% lim
xx
K
NK
1
N
N 1 N 1
m 0 n 0
K 1
N 1
The third of the listed consequences of ergodicity says that the bracketed term is the
5
xx
N
N 1 N 1
n m e
m 0 n 0
xx
j n m
Now, since the summand of the double sum only depends of the difference n m , we can
express the double sum as the single weighted sum (where q n m )
% 1
xx
N
N 1
N q q e
q N 1
jq
xx
Finally, if the values of the autocorrelation sequence are only appreciable when q is
much smaller than N then N q N and
%
xx
N 1
q N 1
xx q e jq xx
In other words, the estimated power spectrum is equal to the random process power
spectrum.
Important note: In practice there are many ways to improve on the estimate described
above, These include ways to improve statistical convergence (e.g. by using blocks of
data that overlap), compensating for the factor N q N , and using parametetric
models for the Power Spectrum