Borrar filtros
Borrar filtros

Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

need helps about Kalman filter

2 visualizaciones (últimos 30 días)
Khoa
Khoa el 30 de Sept. de 2013
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
Hello everyone. I used measurement position to estimate velocity by Kalman filter. But in simulation, Kalman gain change quickly and then remain constant when position and velocity continue to change (for example, position and velocity change in 0->0.5(s) and 3->4(s). But Kalman gain only change only 0->0.1(s)and then remain constant). My question is why Kalman gain is still constant when postion and velocity change? Sorry for my bad English.
  2 comentarios
Jan
Jan el 30 de Sept. de 2013
Editada: Jan el 30 de Sept. de 2013
I've deleted the duplicate thread with the identical question. I assume, this has been created by accident.
Perhaps there is a bug in your code. Could you provide a minimal example accompanied by your code, such that we can reproduce the problem? Otherwise too much guessing is required.
Khoa
Khoa el 30 de Sept. de 2013
I only used Simulink to estimate velocity.
"Predict"
x[k-] = Ax[k-1]
P[k-] = AP[k-1]A' + Q
"Correct"
K[k] = P[k-]H'/(HP[k-]H' + R)
x[k] = x[k-] + K[k] (z[k] - Hx[k-])
P[k] = (I-K[k]H) P[k-] With
A=[1 T; 0 1] (T is sampling time)
Q,R mean process noise and measurement noise. I set constant for them.
H=[1 0] (use only measurement position z[k] as input)
It seems be likely steady state Kalman filter I think (because Q,R are constant). Maybe I'm wrong when set matrix A because velocity is not same value when time = 0->0.5(s) and 3->4(s). And the result that Kalman gain is not change at that time. Can someone give me some helps?

Respuestas (1)

John Petersen
John Petersen el 23 de Jul. de 2014
The Kalman gain is not a function of the states. It is only a function of the covariances and the model of the system and measurements. If the system model is unchanging and the covariances converge, then the gains may also converge.

La pregunta está cerrada.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by