Controllers

April 23, 2026 · View on GitHub

Feedback control algorithms for regulating dynamic systems in real time.

Algorithms

AlgorithmDescription
PID ControllerProportional-Integral-Derivative controller using a discrete recursive formulation
LQR ControllerLinear Quadratic Regulator — optimal state-feedback control minimizing a quadratic cost
LQG ControllerLinear Quadratic Gaussian — output-feedback optimal control via LQR + Kalman Filter
MPC ControllerModel Predictive Controller — receding-horizon optimal control with constraint handling
Linear Time-Invariant ModelDiscrete-time state-space plant model (A, B, C, D) shared across controllers and filters