Lotus JohnH Attenuators
Pre-Order Now

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

A switched stage

Claim. Feed a stage from (E, R0), with Rp from in to 0 and Rs from in to out. The Thévenin pair seen at out is (E/Vr, R0) if and only if

Rp=R0Vr−1,Rs=R0(1−1Vr)

Proof. No current flows in Rs with out open, so the open-circuit voltage is the divider at in, and the output resistance is Rs plus the source and shunt in parallel:

ERpR0+Rp=EVr,Rs+R0RpR0+Rp=R0

The first solves to Rp=R0/(Vr−1); then the parallel term is R0/Vr and the second gives Rs. ∎

Consequences.

  1. A stage maps (E,R0)↦(E/Vr,R0). Any subset of stages, in any order, maps E↦E/∏Vr,i: the dB add, and the source resistance after the ladder is R0 in every setting.
  2. The speaker, Z on the last stage, therefore gets EZ/((Z+R0)∏Vr,i). Between two settings the speaker voltage changes by exactly 10−ΔA/20, whatever Z, provided the network ahead of the ladder has source resistance R0.
  3. The ratio depends on A alone; R0 only sets the scale:
RsRp=(Vr−1)2Vr,RsRp=R02Vr

With k = 9/4, the panel's stages, as multiples of Z:

StageRs / ZRp / Z
1¾ dB0.41110.1
3½ dB0.7464.53
7 dB1.241.82
14 dB1.800.561

Work one

Your stage
dB
Ω
× the load

Watts

An ideal attenuator of A dB passes the fraction Vr−2 of the power:

P=Pin·10−A/10

The panel takes Pin = 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: L1 VAC–1B, Rp1 1B–0, Rs2 2B–1B, Rs3 VAC–2B, output at 2B; Rs4 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: Rp1 shunts the input and Rs2∥Rs3 is in series. A shunt-first pad, so by the claim

Rp1=R0V−1,Rs2∥Rs3=R0(1−1V)

ω → ∞. The coil is open: Rs3 is in series, then Rs2+Rp1 to ground. A series-first pad. Fed from R0, asking again for (E/V, R0):

R0+Rs3+RshRsh=V,(R0+Rs3)∥Rsh=R0

with Rsh=Rs2+Rp1. The second gives R0+Rs3=VR0, so

Rs3=R0(V−1),Rs2+Rp1=R0VV−1

Four equations, three unknowns. They are consistent, with the unique solution

Rp1=R0V−1,Rs2=R0,Rs3=R0(V−1)

Check: R0∥R0(V−1)=R0(1−1/V) and R0+R0/(V−1)=R0V/(V−1). Note Rp1Rs3=R02 and Rs2=R0: the network is dual about R0. So the first stage gives A dB and leaves R0 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: L1=0.1125Z mH =R0×50 µH, so L1/R0=50 µs, a characteristic frequency of 1/(2π · 50 µs) ≈ 3.18 kHz. The transfer between the limits is solved numerically below.

The lower position. Rs4 in parallel with Rs3 lowers the high-frequency loss. It has no closed form here: the designer finds it by bisection on logRs4 so that the first stage alone gives the lower dB at the check frequency.

Work one

Your first stage
dB
dB
Ω
Ω

Set the lower position to 0 to leave it out.

A whole design

At each frequency the circuit is solved by nodal analysis. The amp is a Norton source, I=E/Rsrc in parallel with Rsrc. Each part is an admittance: 1/R, −j/(ωL), jωC. The node voltages solve

Y(ω)v=i

by Gaussian elimination with partial pivoting (about a dozen nodes). The speaker is Z, or a model: Re+jωLe in series with a parallel RLC peaking at fs to Zmax with sharpness Qms.

Sweep a whole design on the Sweeps page.

What the model leaves out