The resonator of the shelving filter also contains the series resonant circuit of inductor L, resistor R and capacitor C. The input voltage Uₑ divides among the three components, and the partial voltages always add up exactly to Uₑ: UL + UR + UC = Uₑ. For the low shelf UC is weighted with (A² − 1), for the high shelf UL . In both cases UR is added with (A − 1).
Σ
+
+
direct signal
L
R
C
UL
UR
UC
UC Low · U L High
× (A² − 1)
UR
× (A − 1)
Uₑ
Uₐ
UC corresponds to the spring force k·x, i.e. the position, UR to the damper force c·v and UL to the inertial force m·a. In electronics, weighting and sum are op-amp circuits. The values follow the controls; L is the effective mass m·A or m/A.
Mechanics Electrics
Mass m
Inductor L = m
Spring stiffness k
Capacitor C = 1/k
Damping c
Resistor R = c
Force F
Voltage U
Velocity v
Current I
Displacement x
Charge q
f₀ = 1/(2π√(m/k))
f₀ = 1/(2π√(LC))
ζ = c/(2√(km))
ζ = (R/2)·√(C/L)
Three partial voltages, three filters
At low frequencies the reactance of the inductor (ωL) is small and that of the capacitor (1/(ωC)) large: almost the whole voltage is across the capacitor, so UC is a low-pass. At high frequencies it is the other way round, UL is a high-pass. Near resonance the two reactances cancel and the voltage is across the resistor: UR is a band-pass – the same one the bell filter uses.
Because the three partial voltages always add up to Uₑ, all basic filters can be mixed from them. The state-variable filter, a common circuit in synthesisers that provides low-pass, band-pass and high-pass at the same time, uses the same principle.
Components that move with the gain
To keep the transition frequency f₀ fixed, the model shifts the resonance of the circuit: L becomes m·A in the low shelf and m/A in the high shelf, while C = 1/k stays. The damping ζ = 1/(2·Q), on the other hand, depends only on Q; hence R = √(L/C)/Q.
With the default values (k = 40 kN/m, m = 4 g, low shelf, G = +9 dB, Q = 0.707) C = 25 µF, L ≈ 6.7 mH and R ≈ 23 Ω. The circuit resonates at about 388 Hz, while the transition frequency is 503 Hz.
Try it
Change the gain G: C stays put, L and R move with it, as do the two factors. Switch between low and high shelf: the weighting (A² − 1) moves from the capacitor to the inductor, and L jumps from m·A to m/A. At 0 dB both factors are zero and Uₐ = Uₑ.
Why this works
Mechanics and electrics are described here by the same second-order differential equation. For the mass, m·x″ + c·x′ + k·x = F; for the series resonant circuit, L·q″ + R·q′ + q/C = U. Comparing term by term, m corresponds to L, c to R and k to 1/C – as well as displacement x to charge q, velocity v to current I and force F to voltage U.
This mapping is called the force–voltage analogy or impedance analogy. In this module it is converted with a factor of 1: 1 kg corresponds to 1 H, 1 N·s/m to 1 Ω and 1 m/N of compliance to 1 F. The starting values give very real components: 1 mH, 25 µF and just under 9 Ω.
Mass ↔ inductor
A mass resists any change in its velocity (F = m·a), an inductor resists any change in its current (U = L·dI/dt). Both store kinetic energy: ½·m·v² in the mass, ½·L·I² in the magnetic field of the inductor.
Their opposition grows with frequency (ω·m and ω·L). That is why a heavy mass can no longer keep up at high frequencies – and why an inductor blocks high frequencies.
Spring ↔ capacitor
A tensioned spring stores potential energy ½·k·x², a charged capacitor stores ½·q²/C in its electric field. The capacitance corresponds to the compliance 1/k of the spring: a soft spring is a large capacitor, a stiff spring a small one.
Their opposition is large at low frequencies (k/ω and 1/(ω·C)) and falls as the frequency rises – the exact opposite of mass and inductor. Where both are equal lies the resonant frequency f₀.
Damper ↔ resistor
The damper produces a force proportional to velocity (F = c·v), the resistor a voltage proportional to current (U = R·I). They are the only components that do not store energy but turn it into heat. They therefore determine how quickly an oscillation dies away and how high the resonance peak becomes.
The formulas carry over directly: f₀ = 1/(2π·√(L·C)) and ζ = (R/2)·√(C/L); the quality factor is Q = 1/(2ζ). With 1 mH and 25 µF, f₀ = 1/(2π·√(2.5·10⁻⁸ s²)) ≈ 1007 Hz. For Butterworth damping (ζ ≈ 0.707) you need R = 2ζ·√(L/C) ≈ 1.414 · 6.32 Ω ≈ 8.94 Ω.
The second analogy
You can also map the other way round: force ↔ current and velocity ↔ voltage (force–current or mobility analogy). Then the mass becomes a capacitor, the spring an inductor with L = 1/k and the damper a resistor with R = 1/c. The advantage: the circuit looks like the mechanics. Parts that move at the same velocity are in parallel electrically.
You know this form from the equivalent circuit of loudspeakers (Thiele–Small). There, the moving mass of the diaphragm appears on the electrical side as a capacitor, the compliance of the suspension as an inductor and the mechanical losses as a resistor – together a parallel resonant circuit. That is why the impedance curve of a loudspeaker has a peak at its resonant frequency.
Limits of the analogy
The schematic contains ideal components: real inductors have wire resistance, real capacitors have losses, real springs have a mass of their own. The source has no internal resistance, and there is no load at the output. In a real circuit, the internal resistance of the source adds to R because it lies in the same loop, and thus changes the damping. A load at the output, on the other hand, cannot simply be added to R: it is in parallel with the component across which the output is taken – the capacitor in the low-pass, the inductor in the high-pass. It then changes not only the damping but also the gain in the passband; in the low-pass, low frequencies no longer come through at full level. The circuit is then no longer a pure series RLC loop.
That the values are so handy with a factor of 1 is due to the small masses and stiff springs of this module. A mass of 1 kg would be an inductor of 1 H – a large, heavy component. That is why active filters for low frequencies are usually built without inductors, for example as Sallen–Key filters made of an op-amp, resistors and capacitors. The transfer function stays the same.