Info

此问题已关闭。 请重新打开它进行编辑或回答。

How to use Wald Sequence detection method to test the filtering residual?

1 次查看(过去 30 天)
Hi,
I have this EKF Equation.
PMinus(:,:,i) = A(:,:,i)*P(:,:,i)*A(:,:,i)'+ Q(:,:,i);
xhat(:,:,i+1) = Fs(xhat(:,:,i),u(:,:,i),wp(:,:,i),dt);
K(:,:,i) = PMinus(:,:,i)*H'*(H*PMinus(:,:,i)*H'+R)^-1;
xhat(:,:,i+1) = xhat(:,:,i+1)+K(:,:,i)*(y(:,:,i+1)-H*xhat(:,:,i+1));
P(:,:,i+1) = (eye(4)-K(:,:,i)*H)*P(:,:,i);
Now I need to use Wald Sequence detection method to test the filtering residual, r=y-H*xhat. to observe if the residual contain any fault information where its distribution N(m,sg^2) The general simplified decision law of wald sequence is:
Ly(n-1)=Ly(n) + m/sg^2*[r(n)-0.5m]
Any one can help me to code it to use with my above equation? Thanks.

回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by