Kalman filter#
A discrete Kalman filter: each sample (every step, or sample_time) it predicts with A, B and u, then corrects with y. Q: process noise, R: measurement noise (a number is that times I).
kalman · control
Kalman filterfn
u
x_hat
y
P_trace
innovation
A1
B0
C1
Q0.01
R1
x0
P01
sample_time s0
Inputs#
Port |
Type |
Unit |
Components |
|---|---|---|---|
|
numbers |
— |
— |
|
numbers |
— |
— |
Outputs#
Port |
Type |
Unit |
Components |
|---|---|---|---|
|
numbers |
— |
— |
|
signal |
— |
— |
|
numbers |
— |
— |
Parameters#
Param |
Type |
Default |
Options or unit |
|---|---|---|---|
|
text |
|
— |
|
text |
|
— |
|
text |
|
— |
|
text |
|
— |
|
text |
|
— |
|
text |
— |
— |
|
number |
|
— |
|
number |
|
s |