The maths
Runs in your browser. Nothing you enter leaves this page.
On the switch panel
The lines etched in bare board between the toggles, as they read:
Vr = 10^(dB/20) Rs = 2.25×Z (1 − 1/Vr) Rp = 2.25×Z / (Vr − 1) L1 = 0.1125×Z mH Rp in 0 Rs in out Rs/Rp = (Vr − 1)²/Vr P = 60 × 10^(−dB/10) L1 VAC 1B Rs3 VAC 2B Rs4 VAC 2B 3½ Rs2 2B 1B Rp1 1B 0
Netlists read part, node, node; node 0 is ground, VAC the amp input.
Notation
- Z: nominal speaker load, Ω. A: a stage's attenuation, dB.
- : the voltage ratio.
- , : the design resistance (the panel's 2.25×Z).
- A source is written as its Thévenin pair (E, R): open-circuit voltage, source resistance.
A switched stage
Claim. Feed a stage from (E, ), with from in to 0 and from in to out. The Thévenin pair seen at out is (, ) if and only if
Proof. No current flows in with out open, so the open-circuit voltage is the divider at in, and the output resistance is plus the source and shunt in parallel:
The first solves to ; then the parallel term is and the second gives . ∎
Consequences.
- A stage maps . Any subset of stages, in any order, maps : the dB add, and the source resistance after the ladder is in every setting.
- The speaker, on the last stage, therefore gets . Between two settings the speaker voltage changes by exactly , whatever Z, provided the network ahead of the ladder has source resistance .
- The ratio depends on A alone; only sets the scale:
With k = 9/4, the panel's stages, as multiples of Z:
| Stage | Rs / Z | Rp / Z |
|---|---|---|
| 1¾ dB | 0.411 | 10.1 |
| 3½ dB | 0.746 | 4.53 |
| 7 dB | 1.24 | 1.82 |
| 14 dB | 1.80 | 0.561 |
Work one
Watts
An ideal attenuator of A dB passes the fraction of the power:
The panel takes = 60 W: 27 W at 3½ dB, 12 W at 7 dB, 0.028 W at 33¼ dB.
The first stage
From the panel's netlist: VAC–1B, 1B–0, 2B–1B, VAC–2B, output at 2B; VAC–2B in the 3½ dB position only. Let V be its voltage ratio. Take the two ends of the band.
ω → 0. The coil is a short, VAC ≡ 1B: shunts the input and is in series. A shunt-first pad, so by the claim
ω → ∞. The coil is open: is in series, then to ground. A series-first pad. Fed from , asking again for (E/V, ):
with . The second gives , so
Four equations, three unknowns. They are consistent, with the unique solution
Check: and . Note and : the network is dual about . So the first stage gives A dB and leaves at both ends of the band; in between, the coil makes the impedance the amp sees rise with frequency, as a speaker's does.
The coil's scale: mH µH, so µs, a characteristic frequency of 1/(2π · 50 µs) ≈ 3.18 kHz. The transfer between the limits is solved numerically below.
The lower position. in parallel with lowers the high-frequency loss. It has no closed form here: the designer finds it by bisection on so that the first stage alone gives the lower dB at the check frequency.
Work one
A whole design
At each frequency the circuit is solved by nodal analysis. The amp is a Norton source, in parallel with . Each part is an admittance: 1/R, , . The node voltages solve
by Gaussian elimination with partial pivoting (about a dozen nodes). The speaker is Z, or a model: in series with a parallel RLC peaking at to with sharpness .
- Attenuation: , against the same speaker on the amp directly.
- The amp sees ; the speaker sees the Thévenin impedance of the network with the speaker removed.
- Watts: E is set so the amp would deliver its rated P into Z, ; each resistor dissipates , each coil carries . The designer takes the maximum over every setting and 25 log-spaced frequencies from 20 Hz to the top of the full-power band.
Sweep a whole design on the Sweeps page.
What the model leaves out
- Parts are ideal: no resistor tolerance, no coil resistance, no heat.
- The amp is a source with a fixed output impedance. Real amps change with level, feedback and the presence and resonance controls.
- The speaker model is a sketch of a speaker, not your speaker.