Input Signals
Input Signals
6. Input signals
step function
sum of sinusoids
ARMA sequences
Pseudo random binary sequence
Spectral characteristics
Persistent excitation
6-1
Step function
A step function is given by
u(t) =
0,
u0 ,
t<0
t0
The step response can be related to rise time, overshoots, static gain, etc.
Input signals
6-2
Sum of sinusoids
The input signal u(t) is given by
u(t) =
m
X
ak sin(k t + k )
k=1
Input signals
6-3
Characterization of sinusoids
Let SN be the average of a sinusoid over N points
SN
N
1 X
a sin(t + )
=
N t=1
Therefore, u(t) =
(
a sin ,
=
0,
Pm
k=1 ak sin(k t
= 2n, n = 0, 1, 2, . . .
otherwise
+ k ) has zero mean if 1 > 0
6-4
m
X
Ck cos(k )
k=1
m
X
(Ck /2) [( k ) + ( + k )]
k=1
Input signals
6-5
6-6
6-7
D(z)
C(z)
2
2 D()
S() =
C()
D(z)
C(z)
60
= 1/(z 2 + 0.5)
3.5
50
3
40
S()
S()
2.5
30
1.5
20
1
10
0.5
0.5
1.5
frequency (rad/s)
Input signals
2.5
0.5
1.5
2.5
frequency (rad/s)
6-8
State
a1
State
State
n
a2
an1
y(t)
an
a1 a2 . . . an
1
0 ... 0
x(t)
x(t + 1) = . . .
.
.
.
.
0 ... 1
0
y(t) = 0 . . . 0 1 x(t)
Input signals
6-9
PRBS (cont.)
Every initial state is allowed except the all-zero state
The feedback coefficients a1, a2, . . . , an are either 0 or 1
All additions is modulo-two operation
The sequences are two-state signals (binary)
There are possible 2n 1 different state vectors x (all-zero state is
excluded)
A PRBS of period equal to M = 2n 1 is called a maximum length
PRBS (ML PRBS)
For maximum length PRBS, its characteristic resembles white random
noise (pseudorandom)
Input signals
6-10
1
1
0
0
1
1
1
0
1
1
1
0
1
1
0
1
1
1
0
1
1
1
0
1
0
1
0
0
0
1
1
0
0
6-11
6-12
Input signals
A(z)
1 z z3
1 z2 z3
1 z z4
1 z3 z4
1 z2 z5
1 z3 z5
1 z z6
1 z5 z6
1 z z7
1 z3 z7
1 z z2 z7 z8 1 z z6 z7 z8
1 z4 z9
1 z5 z9
1 z 3 z 10
1 z 7 z 10
6-13
6-14
Input signals
6-15
C( ) = (1/M )
M
X
y(t + )y(t) m2
t=1
M
1 X
[y(t + ) + y(t) (y(t + ) y(t))] m2
=
2M t=1
M
1 X
=m
y(t + l) m2 = m/2 m2
2M t=1
Input signals
M +1
4M 2
6-16
C(0)
= 4C(0) = 1 1/M 2 1
) = 4C( ) = 1/M 1/M 2 1/M,
C(
= 1, 2, . . . , M 1
Input signals
6-17
M
1
X
Ck ei2 k/M ,
k=0
M
1
X
k=0
Input signals
2k
)
Ck (
M
6-18
a2
Ck = 2 (M + 1),
M
k = 1, 2, . . .
Therefore,
"
a2
S() = 2 () + (M + 1)
M
M
1
X
k=1
( 2k/M )
6-19
Input signals
6-20
Sy2 ()ei d
2
i
1
e d
=
Su2 ()
1 aei
"
#
M
1
2
X
cos(2 k/M )
1
+ (M + 1)
=
M (1 a)2
1 + a2 2a cos(2k/M )
Z
k=1
Input signals
6-21
white noise
PRBS (M=20)
PRBS (M=50)
PRBS (M=200)
2.5
R( )
1.5
0.5
0.5
10
6-22
Persistent excitation
A signal u(t) is persistently exciting of order n if
1. The following limit exists:
N
1 X
u(t + )u(t)
R( ) = lim
N N
t=1
R(0)
R(1)
. . . R(n 1)
R(1)
R(0)
. . . R(n 2)
R(n) =
..
..
..
...
R(1 n) R(2 n) . . .
R(0)
(if u(t) is from an ergodic stochastic process, then R(n) is the usual
covariance matrix (assume zero mean))
Input signals
6-23
R(n) = 2 In
R(n) = 21n
R(n) = 0
6-24
kM
Ryu
(0)
Ryu
(1)
..
Ryu
(M
Input signals
Ru(0)
Ru(1)
Ru(M 1)
h (0)
Ru(1)
h(1)
Ru(0)
Ru(M 2)
=
.
.
.
.
.
..
.
.
.
.
Ru(1 M ) Ru(2 M )
Ru(0)
h(M 1)
1)
6-25
Input signals
6-26
6-27
a
a2/M
R(n) =
..
a2/M
a /M
a2
..
a2/M
x R(n)x = x
a
a
(a + )I 11T
M
M
2
. . . a /M
. . . a2/M
..
...
...
a2
2
1
a
(1
n)
a2(1 + )xT x xT x1T 1 = a2kxk2 1 +
0
M
M
M
A PRBS with period M is persistently exciting of order M
Input signals
6-28
Pm
k=1 ak sin(k t
+ k )
m
X
Ck
k=1
[( k ) + ( + k )]
0 < 1, m <
2m,
n = 2m 1, 0 = 1, or m =
2m 2, 0 = 1 and m =
It follows from Property 1 that u(t) is persistently exciting of order n
Input signals
6-29
Summary
The choice of input is imposed by the type of identification method
The input signal should be persistently exciting of a certain order to
ensure that the system can be identified
Some often used signals include PRBS and ARMA processes
Input signals
6-30
References
Chapter 5 in
T. S
oderstrom and P. Stoica, System Identification, Prentice Hall, 1989
Input signals
6-31