Observer#

Estimates the state from u and y: x̂’ = A x̂ + B u + L (y − C x̂). L from kalman_gain or by hand. No feedthrough, so it can close a loop with state_feedback.

observer · control · no feedthrough: a feedback loop may pass through it

Inputs#

Port

Type

Unit

Components

u

numbers

—

—

y

numbers

—

—

Outputs#

Port

Type

Unit

Components

x_hat

numbers

—

—

y_hat

numbers

—

—

Parameters#

Param

Type

Default

Options or unit

A

text

"0"

—

B

text

"1"

—

C

text

"1"

—

L

text

"1"

—

domain

enum

"s"

s, z

solver

enum

"auto"

auto, rk4, rk45, rk2, euler, discrete