Professional Documents
Culture Documents
Page 1 of 28
The state of a large dc motor, the shaft angle and the angular velocity of the shaft, is estimated from noisy measurements of the shaft angle. The input to this motor is the applied voltage u(t) plus noise on this voltage signal w(t). The output y(t) is the motor shaft angle (t) plus additive measurement noise v(t). The transfer function for the motor is:
( s) U ( s)
2 . s( s 0.02)
Estimates of both states are required to monitor the status of the motor. Now,
( s 2 0.02s) ( s) 2U ( s) (t ) 0.02 (t ) 2u (t )
Let,
x1 x2
x1 x2
x2 0.02 (t ) 2u (t ) 0.02 x2 2u (t )
x1 x2
y (t ) y (t )
0 0
1 0.02
x1 x2
0 u (t ) 2
(t ) v(t ) 10 x1 x2
(0) (0)
Page 2 of 28
Case a:
2 w
deg 2 ; sec4
2 v
20 deg 2 ;
(0) (0)
Simulation results:
Page 3 of 28
Page 7 of 28
2 w
10
deg 2 sec4
Page 8 of 28
Fig 13: State, Estimation and Error for shaft angle Page 10 of 28
Page 12 of 28
2 v
200 deg2 .
Page 13 of 28
Fig 21: State, Estimation and Error for shaft angle Page 15 of 28
Page 17 of 28
(0) (0)
Simulation results:
Page 18 of 28
Page 19 of 28
Fig 29: State, Estimation and Error for shaft angle Page 20 of 28
Page 22 of 28
Case e: The same as case a, except use the steady-state Kalman gain. Simulation Results:
Page 23 of 28
Fig 37: State, Estimation and Error for shaft angle Page 25 of 28
Page 27 of 28
Comparison of the five cases: Cases Kalman Filter Gains Estimation error standard deviations e1 e2 Mean of Estimation Error Rate of convergence (s) G1 G2 Standard Deviation of Estimation
G1
G2
a b c d e
15 9 26 17 1
13 9 24 9 1
Comments: A common trend that we observe among all cases is that the shaft angle estimate more accurately tracks than the angular velocity estimate. From the results we see that using the steady-state Kalman gain yields the best filter evident by the fastest rate of convergence, the lowest estimation error standard deviations, and the lower values of mean and standard deviation of estimation and estimation errors. Also cases a and d give almost identical results in terms of gains, convergence rates and estimation error standard deviations but approach the steady state from opposite directions. Increasing the plant noise in case b increases the output resulting in increase in gain. But increasing the output noise in case c reduces the output, decreasing the gain. So we can conclude that the gain is proportional to the plant noise and inversely proportional to the output noise.
Page 28 of 28