|
Vulcan
Aerospace Engineering Utilities Built on Janus
|
First-order discrete-time system coefficients. More...
#include <FirstOrder.hpp>
Public Attributes | |
| Scalar | a |
| State coefficient: exp(-dt/τ). | |
| Scalar | b |
| Input coefficient: K*(1 - a). | |
| double | tau |
| Time constant [s]. | |
| double | K |
| DC gain. | |
| double | dt |
| Sample time [s]. | |
First-order discrete-time system coefficients.
Continuous form: τ*ẏ + y = K*u Discretized (ZOH): y[k+1] = a*y[k] + b*u[k]
Where: a = exp(-dt/τ) b = K*(1 - a)
| Scalar | Variable type (e.g., double or casadi::MX) |
| Scalar vulcan::tf::FirstOrderCoeffs< Scalar >::a |
State coefficient: exp(-dt/τ).
| Scalar vulcan::tf::FirstOrderCoeffs< Scalar >::b |
Input coefficient: K*(1 - a).
| double vulcan::tf::FirstOrderCoeffs< Scalar >::dt |
Sample time [s].
| double vulcan::tf::FirstOrderCoeffs< Scalar >::K |
DC gain.
| double vulcan::tf::FirstOrderCoeffs< Scalar >::tau |
Time constant [s].