![]() |
Controlpp
|
A notch element with variable sample-time. More...
#include <controlpp/TimeVariantControl.hpp>
Public Member Functions | |
| constexpr | NotchControl (const T &w, const T &g_min, const T &omega) |
| Creates a notch filter. | |
| constexpr T | input (const T &u, const T &Ts) |
| constexpr T | operator() (const T &u, const T &Ts) |
| constexpr void | reset () |
Friends | |
| constexpr ValueSampletimePair< T > | operator>> (const ValueSampletimePair< T > &p, NotchControl &c) |
A notch element with variable sample-time.
Has the following continuous transfer function:
\[ N(s) = \frac{\omega^2 + 2 G_\text{min} W s \omega + s^2} {\omega^2 + 2 W s \omega + s^2} \]
where:
|
inlineconstexpr |
Creates a notch filter.
| w | The width of the noth.
|
| g_min | The gain at the notch peak |
| omega | the frequency (rad/s) of the notch peak |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
friend |