CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.

| Download
Project: test
Views: 91869
Kernel: Python 3
#format the book %matplotlib inline from __future__ import division, print_function import matplotlib.pyplot as plt import book_format book_format.load_style()

Symbology

This is just notes at this point.

State

xx (Brookner, Zarchan, Brown)

x\underline{x} Gelb)

State at step n

xnx_n (Brookner)

xkx_k (Brown, Zarchan)

xk\underline{x}_k (Gelb)

Prediction

xx^-

xn,n1x_{n,n-1} (Brookner)

xk+1,kx_{k+1,k}

measurement

xx^*

Y_n (Brookner)

##control transition Matrix

GG (Zarchan)

Not used (Brookner)

##Nomenclature

Equations

Brookner

Xn+1,n=ΦXn,nXn,n=Xn,n1+Hn(YnMXn,n1)Hn=Sn,n1MT[Rn+MSn,n1MT]1Sn,n1=ΦSn1,n1ΦT+QnSn1,n1=(IHn1M)Sn1,n2\begin{aligned} X^*_{n+1,n} &= \Phi X^*_{n,n} \\ X^*_{n,n} &= X^*_{n,n-1} +H_n(Y_n - MX^*_{n,n-1}) \\ H_n &= S^*_{n,n-1}M^T[R_n + MS^*_{n,n-1}M^T]^{-1} \\ S^*_{n,n-1} &= \Phi S^*_{n-1,n-1}\Phi^T + Q_n \\ S^*_{n-1,n-1} &= (I-H_{n-1}M)S^*_{n-1,n-2} \end{aligned}

Gelb

x^k()=Φk1x^k1(+)x^k(+)=x^k()+Kk[ZkHkx^k()]Kk=Pk()HkT[HkPk()HkT+Rk]1Pk(+)=Φk1Pk1(+)Φk1T+Qk1Pk()=(IKkHk)Pk()\begin{aligned} \underline{\hat{x}}_k(-) &= \Phi_{k-1} \underline{\hat{x}}_{k-1}(+) \\ \underline{\hat{x}}_k(+) &= \underline{\hat{x}}_k(-) +K_k[Z_k - H_k\underline{\hat{x}}_k(-)] \\ K_k &= P_k(-)H_k^T[H_kP_k(-)H_k^T + R_k]^{-1}\\ P_k(+) &= \Phi_{k-1} P_{k-1}(+)\Phi_{k-1}^T + Q_{k-1} \\ P_k(-) &= (I-K_kH_k)P_k(-) \end{aligned}

Brown

x^k+1=ϕkx^kx^k=x^k+Kk[zkHkx^k]Kk=PkHkT[HkPkHkT+Rk]1Pk+1=ϕkPkϕkT+QkPk=(IKkHk)Pk\begin{aligned} \hat{\textbf{x}}^-_{k+1} &= \mathbf{\phi}_{k}\hat{\textbf{x}}_{k} \\ \hat{\textbf{x}}_k &= \hat{\textbf{x}}^-_k +\textbf{K}_k[\textbf{z}_k - \textbf{H}_k\hat{\textbf{}x}^-_k] \\ \textbf{K}_k &= \textbf{P}^-_k\textbf{H}_k^T[\textbf{H}_k\textbf{P}^-_k\textbf{H}_k^T + \textbf{R}_k]^{-1}\\ \textbf{P}^-_{k+1} &= \mathbf{\phi}_k \textbf{P}_k\mathbf{\phi}_k^T + \textbf{Q}_{k} \\ \mathbf{P}_k &= (\mathbf{I}-\mathbf{K}_k\mathbf{H}_k)\mathbf{P}^-_k \end{aligned}

Zarchan

x^k=Φkx^k1+Gkuk1+Kk[zkHΦkx^k1HGkuk1]Mk=ΦkPk1ϕkT+QkKk=MkHT[HMkHT+Rk]1Pk=(IKkH)Mk\begin{aligned} \hat{x}_{k} &= \Phi_{k}\hat{x}_{k-1} + G_ku_{k-1} + K_k[z_k - H\Phi_{k}\hat{x}_{k-1} - HG_ku_{k-1} ] \\ M_{k} &= \Phi_k P_{k-1}\phi_k^T + Q_{k} \\ K_k &= M_kH^T[HM_kH^T + R_k]^{-1}\\ P_k &= (I-K_kH)M_k \end{aligned}

Wikipedia

x^kk1=Fkx^k1k1+BkukPkk1=FkPk1k1FkT+Qky~k=zkHkx^kk1Sk=HkPkk1HkT+RkKk=Pkk1HkTSk1x^kk=x^kk1+Kky~kPkk=(IKkHk)Pkk1\begin{aligned} \hat{\textbf{x}}_{k\mid k-1} &= \textbf{F}_{k}\hat{\textbf{x}}_{k-1\mid k-1} + \textbf{B}_{k} \textbf{u}_{k} \\ \textbf{P}_{k\mid k-1} &= \textbf{F}_{k} \textbf{P}_{k-1\mid k-1} \textbf{F}_{k}^{\text{T}} + \textbf{Q}_{k}\\ \tilde{\textbf{y}}_k &= \textbf{z}_k - \textbf{H}_k\hat{\textbf{x}}_{k\mid k-1} \\ \textbf{S}_k &= \textbf{H}_k \textbf{P}_{k\mid k-1} \textbf{H}_k^\text{T} + \textbf{R}_k \\ \textbf{K}_k &= \textbf{P}_{k\mid k-1}\textbf{H}_k^\text{T}\textbf{S}_k^{-1} \\ \hat{\textbf{x}}_{k\mid k} &= \hat{\textbf{x}}_{k\mid k-1} + \textbf{K}_k\tilde{\textbf{y}}_k \\ \textbf{P}_{k|k} &= (I - \textbf{K}_k \textbf{H}_k) \textbf{P}_{k|k-1} \end{aligned}

Labbe

x^k+1=Fkx^k+BkukPk+1=FkPkFkT+Qkyk=zkHkx^kSk=HkPkHkT+RkKk=PkHkTSk1x^k=x^k+KkyPk=(IKkHk)Pk\begin{aligned} \hat{\textbf{x}}^-_{k+1} &= \mathbf{F}_{k}\hat{\textbf{x}}_{k} + \mathbf{B}_k\mathbf{u}_k \\ \textbf{P}^-_{k+1} &= \mathbf{F}_k \textbf{P}_k\mathbf{F}_k^T + \textbf{Q}_{k} \\ \textbf{y}_k &= \textbf{z}_k - \textbf{H}_k\hat{\textbf{}x}^-_k \\ \mathbf{S}_k &= \textbf{H}_k\textbf{P}^-_k\textbf{H}_k^T + \textbf{R}_k \\ \textbf{K}_k &= \textbf{P}^-_k\textbf{H}_k^T\mathbf{S}_k^{-1} \\ \hat{\textbf{x}}_k &= \hat{\textbf{x}}^-_k +\textbf{K}_k\textbf{y} \\ \mathbf{P}_k &= (\mathbf{I}-\mathbf{K}_k\mathbf{H}_k)\mathbf{P}^-_k \end{aligned}