Varying Notch Filter
Notch filter with varying coefficients
Control System Toolbox / Linear Parameter Varying
The block implements a continuous-time notch filter with varying coefficients. The instantaneous transfer function of the filter is given by:
where gmin, damp, and freq are the values supplied at the corresponding input ports. These parameters control the notch depth and frequency as shown in the following illustration. The damping ratio damp controls the notch width Δ; larger damp means larger Δ.
Use this block and the other blocks in the Linear Parameter Varying library to implement common control elements with variable parameters or coefficients. For more information, see Model Gain-Scheduled Control Systems in Simulink.
u — Filter input
Notch filter input signal
freq — Notch frequency
Value of the notch frequency, specified in rad/s.
gmin — Gain at notch frequency
Value of the gain at notch frequency, in absolute units. This value controls the notch depth. The notch filter has unit gain at low and high frequency. The gain is lowest at the notch frequency, the value at the freq port.
damp — Damping ratio of the filter poles
Value of the damping ratio, specified as a positive scalar value. The damping ratio controls the notch width; the closer to 0, the steeper the notch.
y — Filter output
Notch filter output signal.
C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.
Introduced in R2017b