Filtering and Identification: The System Identification Cycle
Filtering and Identification: The System Identification Cycle
Lecture 9:
The system identification cycle
2/39
2/39
No
Model
structure
selection
3/39
4/39
5/39
6/39
−ωB 0 ωB ω
6/39
7/39
7/39
1 + τs 0.8
1
then ωB = , (τ = 10) 0.6
τ 0.4
8/39
1 + τs 0.8
1
then ωB = , (τ = 10) 0.6
τ 0.4
9/39
1.4
0.6
0.2
derdamped 0
0 5 10 15
9/39
10/39
11/39
11/39
11/39
0
Step 0
Harmonic
1 b N 1 N
c
a
Short pulse
a
0
Gaussian
0
1 b N 1 N
white noise
c
a a
Frequency
0
Doublet 0
sweep
1 b N 1 N
a a
n steps
0 Staircase 0 PRBS
1 N 1 N
12/39
13/39
14/39
15/39
No
Model
structure
selection
16/39
17/39
18/39
lim e−λj T = 1
T →0
19/39
x̃(k)
1 x(k) 1 x(k)
-1 -1
20/39
22/39
23/39
23/39
No
Model
structure
selection
24/39
25/39
1
10
The computed 0
10
singular values
-1
10
-2
10
0 5 10 15 20
27/39
95
90
VAF for 85
different 80
75
model orders
70
65
60
2 4 6 8 10 12
PN !
1 2
N k=1 ky(k) − y
b (k, θ)k2
VAF (y(k), yb(k, θ)) = 1− 1 P N
· 100%
ky(k)k 2
N k=1 2
28/39
u(k) y(k)
We determine the parameters of a sixth order
state space model [A, B, C, D] given
{u(k), y(k)}6000
k=1 with subspace identification using
s = 40.
70 70 70
60 60 60
50 50 50
40 40 40
30 30 30
20 20 20
10 10 10
0 0 0
0 20 40 60 80 100 0 20 40 60 80 100 0 20 40 60 80 100
30/39
No
Model
structure
selection
31/39
+ ŷ(k)
b θ)
G(q, +
b θ) (H(q,
Objective determine G(q, b θ)) such that
e(k) is small as possible.
32/39
+ ŷ(k)
b θ)
G(q, +
b θ) (H(q,
Objective determine G(q, b θ)) such that
e(k) is small as possible.
What is small?
32/39
33/39
Validation tests:
• VAF or value of cost function
33/39
34/39
34/39
34/39
34/39
0 0
-0.5
-1 -0.1
-20 -10 0 10 20 -20 -10 0 10 20 ARX
1 0.1
0.5
0 0
-0.5
-1 -0.1
-20 -10 0 10 20 -20 -10 0 10 20 OE
1 0.1
0.5
0 0
-0.5
-1 -0.1
-20 -10 0 10 20 -20 -10 0 10 20 ARMAX
time lag time lag
35/39
36/39
Yes
Experiment Data pre− (u(k),y(k) ) Fit model Model
Start processing to data validation ok? End
Design
No
Model
structure
selection
37/39
38/39
38/39
38/39
38/39
39/39