filters ¤
Buffered continuous-time voltage filters for driver and behavioral models.
These unilateral blocks have infinite input impedance and ideal zero output impedance. They are active behavioral components, not passive RF two-ports. Frequencies are in Hz; f3db and Q must be positive.
Functions:
| Name | Description |
|---|---|
Bessel3 | Unity-DC-gain third-order Bessel low-pass, normalized at -3 dB. |
Biquad | Unity-DC-gain second-order low-pass with -3 dB frequency and quality factor. |
LowPass1 | Unity-DC-gain first-order low-pass; |
Bessel3 ¤
Unity-DC-gain third-order Bessel low-pass, normalized at -3 dB.
The delay-normalized prototype is 15/(p**3+6*p**2+15*p+15). Its -3 dB angular frequency is 1.7556723686812106; scaling by it makes f3db the voltage magnitude cutoff. The DC group delay is 1.7556723686812106/(2*pi*f3db). This buffered block includes that filter delay; add physical flight time separately when needed.
Source code in circulax/components/filters.py
Biquad ¤
Unity-DC-gain second-order low-pass with -3 dB frequency and quality factor.
H(s)=w0**2/(s**2+w0*s/Q+w0**2). w0 is computed so the magnitude is 1/sqrt(2) at f3db for every positive Q. For Q>1/sqrt(2), the response has peaking. This is an ideal buffered voltage block.
Source code in circulax/components/filters.py
LowPass1 ¤
Unity-DC-gain first-order low-pass; f3db is the -3 dB frequency.
H(s)=1/(1+s*tau), tau=1/(2*pi*f3db). Input current is zero; the output voltage is independent of the connected load.