Escolar Documentos
Profissional Documentos
Cultura Documentos
n Motivation
n Nonlinear State Estimation
n Parameter Estimation as augmented state estimation
n Example: Backlash
n ABB Implementation: PEPP Toolbox
n Summary and Conclusions
© ABB Corporate Research Ltd - 2
Motivation
n noise characteristics. ) )
P (t + 1) = F (t , x ) P (t ) F T (t , x ) + Q w (t ) -
n Based on
nExtended Kalman Filter
[ ) )
]
N (t ) H (t , x ) P(t ) H T (t , x ) + Q v (t ) N T (t )
© ABB Corporate Research Ltd - 4
for t Î [t k , t k-+1 ] :
xˆ& = f ( xˆ ), Step forward in time for
estimates and covariances
¶f ¶f '
P& = ( xˆ (t k )) P + P ( xˆ (t k )) + Q
¶x ¶x
¶h ¶h'
A(t k +1 ) = R + ( x(t k-+1 )) P (t k-+1 ) ( x(t k-+1 )) Estimation Error Covariance
¶x ¶x
¶h'
K (t k +1 ) = P (t k-+1 ) ( x (t k-+1 )) / A(t k +1 ) Kalman Gain
¶x
© ABB Corporate Research Ltd - 5
xˆ (t k +1 ) = xˆ (t k-+1 ) + K (t k +1 )e(t k +1 )
Final Update
-
P (t k +1 ) = P (t k +1 ) - K (t k +1 ) A(t k +1 ) K ' (t k +1 )
Implementation/Algorithmical issues
When does this algorithm work?
n Very difficult question in general. Almost no comprehensive theory.
n Equivalent to the controllability of a nonlinear system by output feedback
n “Detectability” and “stabilizability” of the linearizations are necessary but not suffcient
conditions
Implementation issues
© ABB Corporate Research Ltd - 6
T gi , Tsi : given
y = [Tg ; Tm ; Ts ] + v (t ) : observed
a g , a s : to be estimated
© ABB Corporate Research Ltd - 9
error
drifting through
backlash region
Identification of Backlash
tm Transmission
Torque
KR
f2(.)
Jm Ja
Friction D
Torque
f1(.) Motor Position,Speed Arm Position,Speed
x1, x2 x3, x4
Measurements:
• positions of motor (x1) and arm (x2)
• motor position (x1) and speed (x3)
Input:
force (u)
x&1 = x3
t& K = 0
x&2 = x4
© ABB Corporate Research Ltd - 13
x&3 =
1
Jm
( ( )
u - D x3 - x4 -t K -t f - K r x1 )
y1 = x1
&x 4 =
1
Ja
(( )
D x3 - x4 +t K ) y2 = x2
PEPP Step 2: Simulink Model
Implementation of differential equation, e.g. as simulink model
© ABB Corporate Research Ltd - 14
PEPP Step 3: Real-Time Workshop
Mapping from Simulink to c-file to generate .dll
© ABB Corporate Research Ltd - 15
PEPP Step 4: Collect Measurements
Measurements: motor position (x1) and arm position (x2)
Here: simulated and disturbed by sensor noise
© ABB Corporate Research Ltd - 16
PEPP Step 5: Run Estimation Filters
Process
Measurements
Parameter
Dynamic Real-Time
Estimation
Model Workshop
Toolbox
(Simulink) (DLL)
(EXE)
Soft Sensor
© ABB Corporate Research Ltd - 18
Off-Line Real-Time
Optimiser Controller
Summary Toolbox