Professional Documents
Culture Documents
Part 7 - Input Signals
Part 7 - Input Signals
Signal properties
Part VII
Input signals
Signal properties
Motivation
Signal properties
Topic
In this part:
Several new types of input signals are described.
These signals are characterized by their properties relevant for
system identification.
Signal properties
Table of contents
Signal properties
Signal properties
Step input
k <0
k 0
Signal properties
Impulse input
1
Ts
k =0
otherwise
Signal properties
Sum of sines
u(k ) =
m
X
aj sin(j k + j )
j=1
Signal properties
White noise
Signal properties
Signal properties
Table of contents
Signal properties
Signal properties
Signal properties
PRBS generator
Signal properties
Modulo-two addition
0 if u1 = 0, u2
1 if u = 0, u
1
2
u1 u2 =
1 if u1 = 1, u2
0 if u1 = 1, u2
=0
=1
=0
=1
Signal properties
Arbitrary-valued PRBS
To obtain a signal u 0 (k ) taking values a, b instead of 0, 1, shift & scale
the original signal u(k ):
u 0 (k ) = a + (b a)u(k )
Example for a = 0.5, b = 0.8:
Signal properties
x1 (k + 1) = a1 x1 (k) a2 x2 (k ) am xm (k )
x2 (k + 1) = x1 (k )
..
.
xm (k + 1) = xm1 (k)
u(k ) = xm (k)
x(k) compactly denotes the state vector of m variables
Signal properties
Period of PRBS
Signal properties
Maximum-length PRBS
The period is determined by the feedback coefficients ai .
The following coefficients must be 1 to achieve maximum length (all
others 0):
m
3
4
5
6
7
8
9
10
Max period 2m 1
7
15
31
63
127
255
511
1023
Coefficients equal to 1
a1 , a3
a1 , a4
a2 , a5
a1 , a6
a1 , a7
a1 , a2 , a7 , a8
a4 , a9
a3 , a10
Other variants exist, and coefficients for larger m can be found in the
literature.
Signal properties
Table of contents
Signal properties
Signal properties
Given a random signal u(k ), its mean and covariance are defined:
= E {u(k )}
ru ( ) = E {[u(k + ) ][u(k ) ]}
Recall:
Mean and variance of random variables
Related covariance function ru ( ) in correlation analysis
Signal properties
N
1 X
ru ( ) = lim
[u(k + ) ][u(k ) ]
N N
k=1
Note: limN N1
random signal.
PN
k=1
Signal properties
Correlation analysis
Next: Persistent excitation.
Motivation: We develop an idealized version of correlation analysis.
Finite impulse response (FIR) model:
y (k ) =
M1
X
j=0
h(j)u(k j) + v (k)
Signal properties
ru ( ) = lim
k=1
N
1 X
y(k + )u(k)
N N
ryu ( ) = lim
k=1
Signal properties
ryu (0)
ru (0)
ru (1)
. . . ru (M 1)
h(0)
ryu (1) ru (1)
ru (0)
. . . ru (M 2)
h(1)
..
..
..
.
.
.
ryu (M 1)
ru (M 1) ru (M 2) . . .
ru (0)
h(M 1)
Denote the matrix in the equation by Ru (M), the covariance matrix.
Signal properties
Persistent excitation
Definition
A signal u(k ) is persistently exciting (PE) of order n if Ru (n) is
positive definite.
A matrix A Rnn is positive definite if the scalar h> Ah > 0 for any
nonzero vector h Rn . Note that A must be nonsingular.
Examples:
1 0
a
is positive definite. Denote h =
, then
0 1
b
>
2
2
h Ah = a + b .
1 2
a
is not positive definite. Counterexample: h =
,
2 1
a
h> Ah = 2a2 .
Signal properties
2
The input signal u(k ) is sufficiently informative.
Signal properties
Covariance alternatives
ru ( ) = lim
(7.1)
k =1
N
1 X
ru ( ) = lim
[u(k + ) ][u(k) ]
N N
(7.2)
k =1
Signal properties
Table of contents
Signal properties
Signal properties
Step input
Signal properties
m = lim
k=0
ru ( ) = lim
1
N
N1
X
2
u(k + )u(k) = uss
k=0
Signal properties
Covariance matrix:
ru (0)
ru (1)
Ru (n) =
..
ru (1)
ru (0)
...
...
ru (n 1) ru (n 2) . . .
2
uss
ru (n 1)
2
uss
ru (n 2)
=
..
.
2
ru (0)
uss
2
uss
2
uss
...
...
2
uss
...
2
uss
2
uss
2
uss
Signal properties
Impulse input
1
Ts
k =0
otherwise
m = lim
k=0
1
N N
ru ( ) = lim
N1
X
u(k + )u(k) = 0
k=0
Signal properties
Sum of sines
u(k ) =
m
X
aj sin(j k + j ),
j=1
if 1 = 0
otherwise
(
m1
2
X aj2
am
sin2 m
if m =
ru ( ) =
cos(j ) + a2
m
2
2 cos(m ) otherwise
j=1
Signal properties
if 1 6= 0, m 6=
2m
n = 2m 1 if 1 = 0 or m =
2m 2 if 1 = 0 and m =
Signal properties
if = 0
otherwise
Signal properties
Signal properties
ru (0)
ru (1)
..
.
ru (1)
ru (0)
...
...
Ru (n) =
ru (n 1) ru (n 2) . . .
0 ... 0
0 2 . . . 0
= .
= 2 In
..
0
...
ru (n 1)
ru (n 2)
ru (0)
Signal properties
PRBS: Mean
P
1X
1
(P + 1)/2
1
1
u(k ) = 2m1 =
= +
2
P
P
P
2 2P
k =1
Signal properties
PRBS: Covariance
Consider a zero-mean PRBS, scaled between a and a:
u 0 (k ) = a + 2au(k)
Then:
1
1
a
= a + 2a( +
)=
0
2 2P
P
(
1 P12 1
if = 0
ru 0 ( ) =
1
1
1
P P 2 P 0 otherwise
Signal properties
Signal properties
PRBS: Order of PE