Kalman filter in control system