Skip to content

Commit a226568

Browse files
committed
ref for time varying kalman filter
1 parent 81d40e3 commit a226568

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/estimator/kalman.jl

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -291,13 +291,16 @@ The method implement the time-varying Kalman Filter in its predictor (observer)
291291
\mathbf{ŷ^m(k)} &= \mathbf{Ĉ^m x̂}_{k-1}(k) + \mathbf{D̂_d^m d}(k) \\
292292
\mathbf{x̂}_{k}(k+1) &= \mathbf{Â x̂}_{k-1}(k) + \mathbf{B̂_u u}(k) + \mathbf{B̂_d d}(k)
293293
+ \mathbf{K}(k)[\mathbf{y^m}(k) - \mathbf{ŷ^m}(k)] \\
294-
\mathbf{P̂}_{k}(k+1) &= \mathbf{Â}[\mathbf{P̂}_{k-1}(k) - \mathbf{M Ĉ^m P̂}_{k-1}(k)]\mathbf{Â}'
295-
+ \mathbf{Q̂}
294+
\mathbf{P̂}_{k}(k+1) &= \mathbf{Â}[\mathbf{P̂}_{k-1}(k) -
295+
\mathbf{M}(k)\mathbf{Ĉ^m P̂}_{k-1}(k)]\mathbf{Â}' + \mathbf{Q̂}
296296
\end{aligned}
297297
```
298298
based on the process model described in [`SteadyKalmanFilter`](@ref). The notation
299299
``\mathbf{x̂}_{k-1}(k)`` refers to the state for the current time ``k`` estimated at the last
300-
control period ``k-1``.
300+
control period ``k-1``. See [^2] for details.
301+
302+
[^2]: Boyd S., "Lecture 8 : The Kalman Filter" (Winter 2008-09) [course slides], *EE363:
303+
Linear Dynamical Systems*, https://web.stanford.edu/class/ee363/lectures/kf.pdf.
301304
"""
302305
function updatestate_kf!(estim::KalmanFilter, u, ym, d)
303306
Â, B̂u, B̂d, Ĉm, D̂dm = estim.Â, estim.B̂u, estim.B̂d, estim.Ĉm, estim.D̂dm

0 commit comments

Comments
 (0)