Band-pass filter
control.bandpass
Second-order band-pass filter (w0 / Q) s / (s^2 + (w0 / Q) s + w0^2). It passes the frequency w0 with gain 1 and no phase shift; the band is w0 / Q wide.
Ports
| Name | Domain | Direction |
|---|---|---|
u | signal | in |
y | signal | out |
Parameters
| Name | Unit | Default | Range | Description |
|---|---|---|---|---|
w0 | rad/s | 10 | 0 to ∞ | Center frequency |
Q | 1 | 1 | 0.000001 to ∞ | Quality factor |
Variables
| Name | Unit | Description |
|---|---|---|
x1 | 1 | Low-pass filtered input |
x2 | 1/s | Rate of change of x1 |
Equations
der(x1) = x2 der(x2) = w0 ^ 2 * (u - x1) - w0 / Q * x2 y = x2 / (Q * w0)