Every essay
Circuits that do a job, and the range they do it over
Thirteen fields measure an element and the edge it has. This one composes several of them into a circuit with a purpose and asks the same question of the whole, where the answer is almost never the worst of the parts: an oscillator whose design condition is an exact equality no resistor can hold, a regulator that is a voltage source below three kilohertz and a capacitor above it, a threshold whose hysteresis is set by the noise underneath it, and a bridge that is linear near one point. It needed machinery the other twelve did not — a netlist with a nonlinearity in it, marched forward in time — because an oscillator's frequency comes from the linear part and its amplitude from the nonlinear part, and no analysis that drops either one returns both.
The gain that is exactly one
An oscillator is designed by making the loop gain one at the frequency where the phase is zero. The gain at which this circuit's poles reach the imaginary axis is 3.000000000000, bisected on the netlist — an equality, not a range. A gain three per cent high multiplies the envelope by 1.0987 every cycle and reaches the rails in 61 milliseconds; three per cent low divides it by the same factor. A one per cent resistor cannot hold the condition, and neither can any other component.
The amplitude nothing linear predicts
A linear model's poles say the envelope grows by 1.88 a cycle and never say when it stops. Two diodes across the feedback resistor stop it, at 858 millivolts — a number no pole, no transfer function and no bias point contains. Getting it needs a netlist with a nonlinearity in it, marched forward in time, and that pairing is what the whole field is built on.
What the limiter charges for
The diodes that set the amplitude are the only nonlinear thing in the loop, so every harmonic in the output is theirs. Across the gain slider the amplitude rises by a factor of 1.51 and the distortion by 15.4 — an amplitude that goes as the 0.11 power of the excess gain and a distortion that goes as the 0.74 power. Two diodes facing opposite ways produce no even harmonic at all, at seven parts in ten million, which is the arithmetic's floor rather than a small residue.
The frequency that is not the formula
The Wien network's zero-phase frequency is one over two pi RC to every digit the arithmetic has. The circuit does not run there. With a perfect amplifier it runs 0.771 per cent low, because the limiter's harmonics are part of the waveform whose period is being measured; with a real one it runs lower still, by an amount inversely proportional to the gain-bandwidth product. The two are equal at a ratio of 578, and above that a faster amplifier buys nothing.
The direct voltage that is a sawtooth
A rectifier and a reservoir capacitor make what everybody calls a direct voltage. Marched with the diodes in the netlist, a thousand microfarads across a hundred ohms gives 15.69 volts with 1.33 volts of ripple on it, against the 1.57 the textbook expression predicts. The expression is high by the fraction of the cycle the diode conducts for — measured at 0.94 to 0.96 of it across two sweeps — and it has no opinion at all about the quantity that actually sizes the transformer, which is a peak diode current 13.4 times the current the load draws.
A source below a frequency
A five-volt regulator's output impedance is 0.43 milliohms, which is the number a datasheet quotes. It has doubled by 4.8 hertz, is ten times worse by 27, and reaches 1.95 ohms at ten kilohertz — four and a half thousand times its own specification, and higher there than the same circuit with its feedback loop cut. Two routes to that curve, sharing only the netlist, agree to a part in ten to the thirteenth.
Two requirements pulling one capacitor
The output capacitor's series resistance is a stability requirement and a transient requirement at once, and they pull it in opposite directions. Below 939 milliohms this loop has less than 45 degrees of margin; above about 850 the droop after a load step starts to grow, because at the first instant of a step the capacitor cannot move and the whole step falls across that resistance. The droop is smallest 10 per cent inside the unstable region, which means the best transient this design can have is one it must not be built with.
What gets through from the rail
A regulator's job is to hold its output still while its input moves, and the measurement says it does that well at ten hertz, badly at a kilohertz, and not at all at ten kilohertz — where this one puts out 1.9 times what arrives. Then the same netlist with one node moved, the same loop gain and the same 46.5 degrees of margin, rejects 60.009 decibels better at every frequency in six decades. The sixty decibels is the pass device's own intrinsic gain and it is not a design choice.
Two thresholds because there is a floor
A comparator with one threshold, watching a slow signal cross it once, changes its mind 22.7 times on average and as many as 29 — because there is noise under the signal and no threshold is ever crossed once. Hysteresis fixes it, and how much is needed is a multiple of the noise's own standard deviation rather than a voltage: 3.57 of them here. The multiple grows with how long the threshold is watched, and slowly — a hundredfold longer record needs three times the hysteresis, not a hundred times.
The period a delay lengthens
Feed a comparator's output back through a resistor to the capacitor on its own input and the two thresholds stop defending a decision and start setting a period. The closed form is two RC times the log of one plus beta over one minus beta, and a marched circuit recovers it as the step shortens. A comparator that responds fifty nanoseconds late does not add fifty nanoseconds to each half cycle: it adds 4/(1+beta) times the delay to the period, 2.65 here against the 2 that counting it twice gives, because during the delay the capacitor keeps going the way it was going.
The bridge that is linear near one point
The expression for a Wheatstone bridge's output is V delta over four, and the solve says it is V delta over two times two plus delta — low by half the fractional change, exactly, at every change tested. So the tangent is worth one per cent only up to a two per cent change and a tenth of a per cent only up to two tenths. Driving the bridge from a current source instead halves the departure at every point and doubles both edges, which is a change of one component and no change at all to the four resistors being measured.
The delay that is two delays
Modelling one comparator delay applied to both transitions makes the two half cycles equal by construction, and the fix is a change of one line. Made, the duty cycle moves by 0.28 per cent for twenty nanoseconds of skew rather than the 0.40 the obvious expression gives, more hysteresis improves the duty cycle and worsens the volt-seconds at the same time, and ten nanoseconds of skew saturates a hundred-turn core in 231 cycles.
Two exponentials, and where they meet
An oscillator's envelope grows by exp(π(k−3)/√(1 − ((k−3)/2)²)) a cycle, and the form usually quoted drops the denominator — exact to four parts in ten million at a hundredth above three, and 20.462 per cent low at 3.8, which is precisely where too few small cycles are left to measure it. Where the growth stops is the diode's own exponential: 108.5 millivolts of amplitude for every decade of saturation current, proportional to the ideality to four parts in a thousand. Above 60.121 nanoamperes the limiter is already conducting at zero signal and there is no oscillation at all.
The leads that are in the bridge
A strain gauge on the end of two long wires cannot be told from a strain gauge under load: both leads in the changing arm is bit for bit the same netlist as a quarter bridge whose fractional change is larger by twice the lead over the gauge, which at 350 milliohms on a 350 ohm gauge is 999 microstrain that is not there. Moving one of those leads into the arm beside it leaves the output at exactly zero for every lead resistance drawn, and turns a twenty-kelvin drift of 76.8 microstrain into 0.077. That factor is two over the strain being read — 999 at a thousand microstrain and 9990 at two hundred — and it costs 0.100 per cent of sensitivity.
The current that sizes the transformer
A reservoir's crest factor is 13.374 at a thousand microfarads and the winding is not sized by it. The root-mean-square of the same marched current is 3.0069 times the load's direct current, so the copper dissipates 9.0417 times what it would carrying the direct current alone — and the two ratios diverge, from 3.04 apart at 220 microfarads to 5.95 apart at 4700. The expression for the mean output is wrong in three places whose signs differ, and at 313.9 microfarads they cancel to six microvolts while the ripple expression inside it is still 32.3 per cent high.
The ripple that arrives as a comb
The rejection essay multiplied two numbers: 1.331 volts of reservoir ripple and the regulator's 36.0 decibels of rejection at a hundred hertz, for 21 millivolts at the output. The ripple is a sawtooth, a comb of lines at every multiple of a hundred hertz, and the rejection worsens at twenty decibels a decade — so the second line arrives at nearly the size of the first, and the third too. Summed with their phases, the output is 60.62 millivolts, 2.87 times the estimate, and the hundred-hertz line carries only 23.4 per cent of it. A reservoir twenty-one times larger cuts the rail's ripple 14.8 times and the regulated ripple 5.95.
The capacitor across the upper resistor
The rejection essay said a regulator reproduces its reference times its divider's four, and that a capacitor across the lower divider resistor brings that down to one at high frequency. Measured, the loop peaks the reference's gain to 5.68 near its crossover before any capacitor is added; a nanofarad across the lower resistor raises the peak to 11.2; and the capacitor that brings it down belongs across the upper resistor, where a nanofarad keeps the gain from ever exceeding four. The same capacitor is a lead pair in the loop: 836.5 picofarads takes the phase margin from 46.5 to 90.9 degrees, and ten nanofarads, past that optimum, still holds 66 while cutting the output ripple from 60.6 millivolts to 35.4.
The decision taken where the ramp is slowest
A relaxation oscillator decides at its thresholds, and a threshold is the one place on a charging exponential where the slope is smallest. Noise there costs 3.399 units of period against the 2.828 that counting two crossings gives, because a draw moves the crossing it is armed for and the level the next ramp starts from. Consecutive periods share that draw, so they are positively correlated and the jitter accumulates at 3.771 per root period rather than at 3.399. And at a fixed frequency there is a best hysteresis: β = 0.648, where β·ln((1+β)/(1−β)) = 1.
The floor a second capacitor removes
Two requirements pulling one capacitor found a regulator whose best transient is one it must not be built with: below 939 milliohms of output-capacitor series resistance the loop has under 45 degrees of margin, and the droop is smallest at 885. The capacitor across the upper divider resistor, added for the reference's sake, dissolves that conflict. At 836.5 picofarads the 45-degree floor leaves the sweep entirely — every series resistance down to a milliohm is stable — and the droop falls 40 per cent at the same time. The band of capacitances that do it runs from 100 picofarads to 5 nanofarads, and above it the conflict returns.
The two leads nobody counts
The leads that are in the bridge moved a lead out of the changing arm and turned a 999-microstrain error into nothing. The two leads carrying the excitation are still there, and they scale every reading: 0.35 ohms each on a 350-ohm bridge is 1,995 parts per million, exactly −2r/(R + 2r), the same on a full bridge as on a quarter one, and drifting 0.153 microstrain over twenty kelvin — twice what the three-wire fix left behind. Two more wires brought back from the bridge's own terminals leave 0.00035 parts per million. So does exciting the bridge with a current, which needs no extra wires at all.
The resistance that lowers the ripple
Two earlier essays here marched a reservoir with a perfect capacitor. A real one has tens of milliohms of its own, and the obvious expectation — that the resistive step it adds makes the ripple worse — is wrong in an interesting direction: the resistance also limits the charging current, and the ripple has an interior minimum of 1.3303 V at 17.0 mΩ, below the 1.3312 V a perfect capacitor gives. What the resistance buys monotonically is the peak current, which falls from 13.37 times the load's to 6.55 at an ohm, for 380 mV of mean output.
The resistance that belongs in the winding
A reservoir capacitor's series resistance lowers the ripple to a minimum of 1.3303 V at 17 mΩ and raises it past that. The same resistance moved into the transformer's winding limits the peak current by the same amount — the crest factor agrees to two parts in a thousand at every value from a milliohm to an ohm — and the minimum is gone: the ripple falls throughout, to 1.172 V at an ohm against 1.711 V in the capacitor. The two resistances each carry a current the other does not, and that one asymmetry decides where a deliberate one should go.
Two capacitors that are one
Two identical reservoir capacitors in parallel are not a new circuit to be marched: 500 µF at 60 mΩ twice gives 1.330303 V of ripple and so does 1000 µF at 30 mΩ once, to the sixth decimal. So a pair against one part of the same capacitance is one curve read at two resistances, and the pair always sits at the lower one — which lowers the ripple only past the curve's minimum, 709 mV against 728 at 100 mΩ a part, and raises the peak current at every value, a crest factor of 14.41 against 12.61. Mismatch the pair and the current still divides by capacitance, so a part with twice the resistance carries 2% less current and 1.93 times the heat.
The walk the core sees
Threshold noise in a relaxation oscillator walks its timing at 3.77 nanoseconds per root period at β = 0.5, because the draw two half cycles share adds. A transformer driven by the same square wave sees the difference of the halves instead, where the shared draw subtracts, and that walks at 1.89 — exactly β times the timing, 18.3 ns against 35.9 after a hundred periods over six hundred seeded runs. The per-period duty error does not vanish with the hysteresis and the walk does, consecutive duty errors are anticorrelated where consecutive periods are not, a comparator skew outruns the walk after 2(σB/d)² periods, and at a fixed frequency the core wants less hysteresis than the clock does.
Where a signal becomes a number
A converter is an element in the netlist like any other: it has an anti-alias filter made of the same components as every filter here, a reference a resistor's Johnson noise sits on, and an aperture. What it also has is three boundaries of kinds the rest of the site does not carry — one with no gradient at all, one that stops being a floor and becomes distortion, and one whose variable is a duration.
The frequency a sample rate invents
Every other boundary on this site is a model getting gradually worse. This one has no gradient at all: below half the sample rate a set of samples has one sinusoid through it, above half the sample rate it has another, and the two sets of numbers are identical to three parts in ten thousand billion. Nothing is attenuated, nothing is distorted, and there is no measurement of the samples that could say which signal was there.
An exact answer to a different question
The reconstruction that turns samples back into a signal is normally introduced as the thing that recovers what was there. Measured on both sides of half the sample rate it does something more interesting than failing: above the boundary it returns the alias to 1.6 parts in a thousand, which is the same accuracy it returns the input with below the boundary, and it is wrong about the input by twice the amplitude. Its error is not a degradation. It is exactness about something else.
What the filter in front costs
The filter that keeps a converter honest is normally chosen for its skirt. Measured against one requirement — eighty decibels down by the frequency that folds back into a 20 kHz band — the choice is not a decibel or two of skirt but a factor in the clock: Bessel demands 3.53 times Nyquist, Butterworth 2.08, Chebyshev 1.53. And one design is refused outright, because an elliptic stopband is a floor rather than a slope and no sample rate reaches past a floor.
The floor a converter sets
A converter's resolution is quoted as a number of bits, which is a property of the converter. What it can actually resolve is a property of the circuit in front of it, and the two cross: measured against the Johnson noise of a 1 kΩ source in 100 kHz of bandwidth, the quantiser is the limit up to 18.80 bits and the resistor is the limit above it. Past that crossing every further bit buys a more precise measurement of thermal noise.
Six decibels a bit, and the half step blamed on it
Every converter data sheet quotes 6.02N + 1.76 dB and every bench measurement comes up short of it, which is usually explained by calling the formula an approximation. Measured one step inside full scale it agrees to 0.15 dB at every bit count from eight to sixteen. Driven to exactly full scale the same converter loses 0.83 dB at eight bits — because 327 of 8192 samples hit the top code, and a mid-tread converter's largest code is one step below full scale.
When a floor stops being a floor
Quantisation error is treated as noise and behaves like noise while the input crosses many levels. As the amplitude falls it stops: measured at the bins its harmonics occupy, the share of the error's power sitting in harmonics of the input rises from 0.29% at 230 levels to 76% at 1.3. The floor has not moved. It has become a distortion product locked to the signal, and the fix is to add noise on purpose — one whole least significant bit, and no more.
One bit, and where the noise went
Sampling faster spreads a fixed quantity of quantisation noise over a wider band, so the part inside the band of interest falls by 3.01 dB for every doubling — half a bit. Putting the quantiser inside a loop with an integrator does something different in kind: measured on a modulator marched forward one sample at a time, with its test tone inside the band the ratio is quoted over, the in-band noise falls by 8.99 dB per doubling. At an oversampling ratio of 128, one bit is worth 9.18 — and the octaves scatter by a decibel each, which is the loop telling the truth about what its error is made of.
The staircase on the way out
A converter does not emit impulses. It holds each sample for a whole clock period, which is a convolution with a rectangle and therefore a multiplication by a sinc — 0.14 dB down at a tenth of the sample rate, 0.91 at a quarter, and 3.92 at half, which is exactly 20 log(2/π). Nobody chose that droop and it is nearly eight times the half-decibel ripple of a Chebyshev passband. Measured on the transform of the staircase itself, it agrees with the closed form to 0.008%.
The corner that moved
The bilinear transform has to fit an infinite frequency axis onto a circle, so something must be compressed, and what is compressed is everything near half the sample rate. A 4 kHz Butterworth mapped to a 48 kHz clock is 3.432 dB down at its own corner instead of 3.010, and at a quarter of the sample rate the axis is 15.2% out. Pre-warping puts one frequency back exactly and no other — it is a choice of where to be right, not a correction.
The same filter, rounded twice
The filters field measured two realisations of one analogue response and found the passband error growing as the 0.99 power of a component tolerance in a cascade and the 2.00 power in a ladder. The digital version of that argument comes out harder. At eighth order and sixteen bits, a cascade of biquads moves its poles by 6.6 × 10⁻⁴ and stays at a radius of 0.9748; the same filter written as one polynomial moves its poles to a radius of 1.4536, which is not an inaccurate filter but an unstable one.
A picosecond, read as bits
Every other boundary in this collection has a frequency, an amplitude or a size on its axis. This one has a duration. A converter that samples at t + δ instead of t gets a value wrong by the slope times δ, so the damage is proportional to input frequency and to nothing else about the part: ten picoseconds holds sixteen bits up to 199 kHz and twelve bits up to 3.18 MHz, falling at exactly twenty decibels a decade. An aperture figure quoted without an input frequency states no resolution at all.
The loop that is worse at full scale
A second integrator in a one-bit loop takes the shaping law from nine decibels an octave to fourteen, and a third to nineteen. What it charges is not in decibels at all: past six tenths of full scale the ratio starts falling, and a fourth integrator's states run away at seven tenths. The best input to a second-order modulator is 0.6 of the reference it is measured against — an amplitude boundary of exactly the kind this collection is built for, on the one object in the field that has no continuous output to draw.
Two loops, and the mismatch between them
The rung below marched single loops of second, third and fourth order and found the amplitude at which each stops working, falling with the order — which is why nobody builds a fourth-order single loop. The standard answer is two first-order loops with the first one's error fed to the second and differentiated back out, giving second-order shaping out of parts that cannot be unstable. The cancellation is between an analogue path and a digital one, and it is worth 25 decibels until the two differ by five per cent.
A floor, or a line
Two clocks with identical two-picosecond jitter sample the same sinusoid, and the total error power is the same to a tenth of a decibel — the closed form the rung below computed, right for both. One of them puts that error across two thousand bins at −120 dB each; the other puts it into two lines at −91.5. The gap is the processing gain, it grows with the record length because a density falls and a line does not, and nothing in a specification quoted in picoseconds root-mean-square distinguishes the two cases.
Zero in, and not zero out
The rung below rounds a filter's coefficients and marches it in double precision, and its own list of what it did not do names the other half: the products are rounded too. Put that in and a twelve-bit eighth-order cascade fed nothing at all settles two per cent of full scale away from zero and stays there — and the offset does not shrink with the word length, it grows as the square of how far the corner sits below the sample rate, reaching eighteen per cent at a hundred and twenty-eight times.
Which section goes first
A cascade of four biquads can be assembled in twenty-four orders, all of which realise exactly the same transfer function. They do not cost the same: the round-off floor runs from 24 to 100 least significant bits and the largest value any section reaches runs over eighteen decibels — and the two go opposite ways, so eleven of the twenty-four are genuine choices and thirteen are beaten on both counts by another arrangement.
The word length that is not a threshold
The essay below this one measured an eighth-order direct form at five word lengths, found its poles outside the unit circle at every one, and left behind a phrase — the coefficient resolution required. Sixty word lengths later there is no such resolution. That filter is stable at 28 bits, unstable at 29 and stable again at 30, and the smallest word length a search would return is not one anybody can use. What survives is a law with a slope: 4.53 bits of coefficient for every pole added, rising to 47 bits at twelfth order, and none at all for a cascade.
A floor, or five tones
The field's sharpest statement about a one-bit loop is that three quarters of its in-band error sits in five lines, against the 1.953 per cent a white error would put in any five — a factor of thirty-eight. The comparison is to a white error, and a shaping loop exists to make its error anything but white. Measured against the loop's own transfer function, which the loop reproduces line by line to a part in five hundred when it is dithered, the same error is 17.4 times tonal at a fiftieth of full scale and 8.9 times at nine tenths. And 99.5 per cent of it at the quiet end is two harmonics of the input.
The dither that is a decision
One whole least significant bit is quoted everywhere as the dither, which makes a decision look like a constant. Swept, the axis is a corner and a comb. An eighth of a step leaves 64.5 per cent of the error locked to the signal and one whole step leaves 0.34; above that the sweep mean is 0.283, 0.297, 0.297 and 0.301 per cent at one, two, three and four steps and 0.526 at a step and a half, which fails at exactly the small amplitudes dither exists for. The price is 10·log₁₀(1 + L²) to 0.118 of a decibel, and four steps cost 12.41 for nothing.
The nulls are where nothing is
A zero-order hold multiplies the whole repeated spectrum by one sinc, so it attenuates every image at the image's own frequency and its nulls land exactly on the multiples of the clock. Nothing is ever at a null: the two first-order images straddle it, and the closer the signal comes to half the clock the closer they come to each other. The hold gives 25.6 dB of image rejection to a tone at a twentieth of the clock, 1.74 dB at 0.45 of it, and nothing at all at half — which is the frequency the band most needs it at.
Flatness, and the two currencies it is bought in
The hold's droop takes the signal and everything arriving with it down together, so it costs no signal-to-noise ratio at all — a fact that is never stated and settles what correcting it can possibly be worth. Corrected digitally the price is headroom and is exactly the disease: 2.42 dB of flatness for 2.42 dB of output level. Corrected by an analogue shelf the price is image rejection and is nearly a constant: between 3.4 and 4.7 decibels whatever the band, so it is eight times the droop at a fifth of the clock and nine tenths of it at forty-nine hundredths.
One knob, and the two exponents it turns
Oversampling is quoted as buying one thing and buys two that improve at different rates. The hold's droop at the band edge falls with the SQUARE of the ratio — fitted exponent −2.011 over six doublings, from 2.640 dB at the Nyquist rate to 0.0097 at sixteen times it — while the nearest image moves out with the first power, exponent 1.022. The third quantity, the poles a reconstruction filter needs for sixty decibels, collapses from 20.5 to 3.21 by a ratio of four alone, because it is a logarithm of the second.
Feedback, and the margin
The site's strongest construction, and the subject supplies it free: a phase margin computed from the loop gain in the frequency domain, an overshoot measured from the step response in the time domain, one circuit, and a required agreement between two numbers that share no arithmetic.
What is left at crossover
A feedback loop is stable or not according to one number read at one frequency — how much phase remains before −180° at the point where the loop gain passes unity. The loop gain here is obtained the way it is obtained on a bench: cut the loop, drive one side of the cut, and measure what comes back to the other.
Two measurements of one margin
A phase margin is computed from the loop gain in the frequency domain, without ever looking at a step. An overshoot is measured from the closed-loop step response in the time domain, without ever looking at a Bode plot. Inverting the standard relation on the second returns 34.9° against the first's 34.9°, and the residue is the third pole.
The ideal amplifier, and where it stops being one
An ideal operational amplifier's closed-loop gain is set by two resistors and nothing else — a horizontal line at every frequency. The real one is already a tenth of a per cent low at direct current, one per cent low by 1.35 kHz, and above 10 kHz has no loop gain left, at which point the ideal answer is not an approximation to anything.
Stable, and unstable with less gain
A three-pole loop with two lead sections is stable for gains between 1.81 × 10⁶ and 3.36 × 10⁷ and unstable on both sides of that window. Turning its gain *down* is what breaks it. Neither margin can see this, because a phase margin describes the loop at one frequency and a gain margin at one other, and this loop's phase crosses −180° at three: 189 Hz, 3.46 kHz and 23.5 kHz.
How much of the amplifier gets through
The reason to build an amplifier from a bad amplifier and two resistors is that a change in the device barely reaches the answer — a tenth of a per cent of it at low frequency, measured by making the device better and solving again. Near crossover the same fraction rises above one, so feedback makes the gain more device-dependent than no feedback at all, and below fifty degrees of margin it changes sign on the way.
The node that is at ground for a while
An inverting amplifier's summing junction is held at ground by the loop, so it is at ground exactly as well as the loop is strong. Driven with a current and measured, it is a tenth of an ohm at direct current, ten ohms at a kilohertz, and 909 ohms above a megahertz — which is the two feedback resistors in parallel, with the amplifier contributing nothing.
The gain the loop closes against
An inverting amplifier with two equal resistors has a gain of one and a loop that closes against two, so it has half the bandwidth of a follower built from the same part — 4.99 megahertz against ten. Nine picofarads at the summing junction, less than a scope probe, takes the phase margin from ninety degrees to forty-five, and a hundred picofarads puts twelve decibels of peaking on a response whose designed gain is nought decibels and whose measured gain at a kilohertz has not moved by three parts in a million.
The load that gets inside the loop
Hanging a capacitor on an amplifier's output changes nothing a reader can find in any expression for its gain, and takes the phase margin of a unity-gain inverter from ninety degrees to thirty. The mechanism is fifty ohms of output resistance that no data sheet page puts next to the stability page: the load works against it, the pole that results is in the forward path, and forty-five degrees arrives at 905 picofarads — which is a metre of coaxial cable.
The resistor that buys the margin back
Two point two nanofarads takes a unity-gain inverter's phase margin from ninety degrees to thirty. Ten ohms between the amplifier and the load restores forty-five, twenty-three restores sixty, and it works for a reason that reads as a cheat: the feedback is taken from the wrong side of the resistor, so its pole is outside the loop. Take the feedback from the load instead — which is what anyone controlling the load would do — and the same resistor makes every value worse. What it costs is that the loop no longer regulates the load's node at all: ten ohms is one per cent of error into a kilohm, at direct current, uncorrected.
The path that buys the error back
An isolation resistor restores a capacitively loaded amplifier's phase margin and costs it the thing feedback was for: the loop stops regulating the node the load is on, and a kilohm of load pulls the output down by a per cent. The standard repair is a second feedback path, and its cost is not an error or a margin — it is a range. At twelve picofarads it settles to a hundredth of a per cent in 0.745 microseconds, faster than the circuit it repairs; at a hundred it takes 9.18, and the phase margin there is better.
What the second path costs at the floor
The arrangement that repaired a capacitively loaded amplifier was suspected of paying for itself in noise, because that is how compensations usually pay. It does not: it has no peak in its noise gain at all, and the total at the load falls from 54.9 microvolts to 28.9 as the capacitor is added. What it costs is settling, and the capacitor that is quietest is eighteen times the capacitor that settles fastest — a trade the phase margin says nothing about, because the margin is comfortable at both.
What the load sees looking back
Four rungs of this argument have measured what the amplifier does to the signal — the margin, the settling, the error, the noise. None has asked the question from the other end. A load that draws its own current sees an impedance looking back, and with the feedback taken from the amplifier that impedance is the isolation resistor, with no loop gain in it whatever: ten ohms, and a load step leaves an error that never goes away. The two-path arrangement recovers to a thousandth of it and charges for that in a quantity none of the four rungs below measured.
Where the trouble is at the input
Every other arrangement in this field has its difficulty at the output — a capacitive load, an isolation resistor, a load that draws current. A photodiode amplifier has it at the input, and the capacitance causing it is not a parasitic: it is the diode's junction, which is the price of its area, and area is what a photodiode is bought for. The feedback resistor's own noise is 127 nV/√Hz against the amplifier's 4, and the amplifier is still ninety-five per cent of the noise at a large diode.
The step too large to have an impedance
The rung below drove the load node with a current step and reported an impedance: a voltage divided by a current, which is a number only if the ratio does not depend on the current. Give the amplifier the differential pair's own tanh in place of a linear transconductor and it is a number up to 10.6 milliamps and not above — where the input error is 3.63 thermal voltages, and where the slew rate that decides it is twice the thermal voltage times the gain-bandwidth in radians, containing no design choice at all.
The current above which there is no impedance
The sixth rung found the impedance leaving at 10.6 mA, where the input pair's own tanh takes over and the slew rate is twice the thermal voltage times the gain-bandwidth in radians, with no design choice in it. A real output stage has a second limit that is nothing but design choice, and the two do not bind at the same load: at 0.47 nF the input pair's departure is 19.4 per cent against the output stage's 4.2, at 22 nF it is 0.9 against 2.3, and above the output stage's rating the excursion does not come back at all — 2,254 Ω for a quantity that was 37.
The rail the load moves
Seven rungs of this ladder end by saying the same thing: the supply is an ideal voltage source, so a load step is drawn from a node that cannot be disturbed. Giving the rail an impedance turns out to change the disturbing channel's own output impedance by three parts in ten million — its loop corrects the supply along with everything else — and to open a path to a second amplifier that shares nothing with it but a wire. How large that path is is a modelling choice: 3.84 microvolts per ampere with the compensation capacitor returned to ground, 17.3 millivolts with it returned to the rail, a factor of four and a half thousand.
The window the resistors own
Eight essays have priced one compensated stage, and the fourth of them left two of the amplifier's own generators named and uncounted. With the current generator put in the netlist the floor at ten kilohms goes from 28.88 microvolts to 30.13, and the resistors carry more than half the noise power only between 2.91 kΩ and 85.9 kΩ — outside that window, in both directions, the part does. The flicker corner turns out to be worth 1.00009 in this stage's own band, and 3.474 one band away.
The factor the expression leaves out
The classical compensation for a photodiode amplifier is quoted both as the forty-five degree choice and as the maximally flat one, and it is neither: it leaves 1.18 dB of peaking and 52.4° of margin. Flat is at exactly √2 times it — fitted at 1.4186 against 1.4142, at every detector from 3 pF to 1 nF. And the third quantity the capacitor is supposed to trade, the noise, does not move at all inside the signal band: three compensations spanning a factor of fourteen give 8.37 against 8.36 µV in a 4.36 kHz measurement and 230 against 65 µV over the whole plane.
The loop that never crosses
Every loop this field draws carries two margins, and one of them is not always a number. Take the third pole out of the standard loop and its crossover moves by 2.45 parts per million and its phase margin by 0.164 degrees — the third pole's own arctangent there, to five decimal places — while its gain margin goes from 46.06 decibels to no number at all. The phase reaches −180° only where the magnitude has already reached −62 decibels, and the two instruments that are supposed to notice report 3.19 × 10⁻⁶ either way.
The load that neither limit owns
Nine rungs of this argument asked which of an amplifier's two large-signal limits binds, and drew the load capacitance where the answer changes hands. Both are present at every load: the excursion with both in the netlist is the two departures added and between 2 and 12 per cent more, never the larger of them. So the crossing is not a handover but a maximum — at 12 nanofarads the pair costs 2.084 times what the worse of them costs alone, against 1.35 at 2.2 nanofarads and 1.07 at 47 — and the same peak sits on the resistance axis at 20 ohms and the gain-bandwidth axis at 50 megahertz.
The error a bigger resistor cannot help
Every other quantity in a photodiode amplifier improves with a larger feedback resistor: the signal grows as R and the resistor's own noise as √R, so the ratio goes as √R. The bias current does not behave like either — it flows in the same resistor the signal does, so its contribution is the ratio of the two currents with the resistance cancelled, 0.1 per cent at 25 °C and the same 0.1 per cent at a megohm and at a gigohm. The offset behaves the other way, growing as one plus the resistor over the diode's own leakage, and at 85 °C the two are 6.40 and 0.74 per cent against 0.10 and 0.11 at room temperature.
The tee that charges for its own compensation
A feedback tee makes a large transimpedance out of small resistors, and R₁(1 + R₂/R₃) + R₂ is the whole of what is usually said about it. The expression has no term for the noise gain, and the tap sets that to 1 + R₁/R₃ — nine, where a single feedback resistor of any value gives exactly one, because at direct current the source is a capacitor. One quantity then does everything: the signal and R₁'s own noise are multiplied together so the tee buys no signal-to-noise ratio at all, and the phase margin RISES from 1.8° to 15.9°.
Filters, measured not tabulated
Butterworth is flat, Chebyshev is steep, Bessel has good delay. None of those is a number. Each family's poles are computed from its definition, built as a network, and then the ripple, the skirt, the delay variation and the ringing are measured on the network that results.
Three families, one corner
Butterworth is flat, Chebyshev is steep, Bessel has good delay. None of those is a number, so the table they appear in cannot answer the question anybody has. Here each family's poles are computed from its definition, built as an actual network, and then measured — starting with the step every comparison skips.
What a steep skirt costs
A filter's order buys attenuation at a known rate — twenty decibels per decade per pole, and no arrangement of components changes it. What varies between families is how quickly the slope is reached, and the currency it is paid for in is delay: the steepest of the three distorts delay eight hundred times more than the gentlest.
Flat magnitude, unflat delay
A filter that passes every frequency in its band at the right amplitude and the wrong time has not passed the signal. Group delay is the measurement that says so, it is absent from the classical comparison, and it varies by fifty per cent across the passband of the two families everybody uses.
The zeros that buy an order
Butterworth, Chebyshev and Bessel all fall because their denominator grows, so the only way to make one fall faster is another pole. An elliptic filter puts zeros in the stopband instead, and reaches forty decibels at twice the corner with two poles where the steepest all-pole family needs five. What it charges is a stopband that stops falling — measured here at −38.7 dB, and overtaken by an ordinary Chebyshev two corners out.
A ladder is not a cascade
The same fifth-order Chebyshev, built two ways. A one per cent component moves the buffered cascade's passband by 0.162 dB at the ripple peaks and the doubly terminated LC ladder's by 0.003 dB — fifty-four times less. The number is not the claim: the claim is the exponent. Fitted over two decades of tolerance the cascade's error grows as the 0.99 power and the LC ladder's as the 2.00 power, because at maximum power transfer the response is stationary in every element it contains.
Flat delay, bought with more delay
An all-pass section has a magnitude of one at every frequency — measured here on a solved network as 1 to within 9 × 10⁻¹⁶ over six decades — which makes it the only thing that can change a filter's delay without touching its magnitude response. It flattens by adding. A fifth-order Chebyshev's 891 microseconds of delay variation comes down to 498, and everything leaves 722 microseconds later than it did.
What actually fills a null
A ten per cent error in the two components of a notch's arm leaves the null three hundred decibels deep — it moves it rather than filling it. What fills it is loss, at twenty decibels per decade of arm resistance exactly. And the depth at the frequency the notch was designed for splits into two orders depending on which way the two errors go: one per cent parts leave 79 decibels one way and 33 the other.
The two resistors a ladder was designed between
A passive ladder filter is not a transfer function with some resistors attached; it is a two-port designed between two stated resistances, and the resistances are as much part of the design as the inductors. Driving an order-five Butterworth from anything outside 0.886 to 1.137 times its design resistance puts more than half a decibel of error on the passband — a tolerance tighter than the resistor is usually specified to — and the two sides of that window are not alike.
The same filter a thousand times larger
Multiply every resistance by a thousand and divide every capacitance by a thousand and the response does not change — not approximately, but to a part in ten to the fifteenth, which is the last bits of a double. So a designer has a free parameter that the design says nothing about, and what decides it is the two quantities that refuse to scale: fifty ohms of amplifier output resistance at one end and two picofarads of stray at the other. Between them the realisation survives over three decades of impedance level and nowhere else.
The band that closes with the order
One Sallen-Key section is inside a tenth of a decibel of its own design over three decades of impedance level, bounded below by fifty ohms of amplifier output resistance and above by two picofarads of stray. Give it three more sections and the band is one decade; give it four and there is no impedance level at all that meets a tenth of a decibel. Every section brings three more nodes each carrying their own stray and one more amplifier carrying its own output resistance, so the floor rises with the order until it crosses the tolerance — a boundary in the order rather than in the impedance.
A resistor made of a clock
A capacitor shuttled between two nodes at a megahertz behaves as a megohm, and a tenth of a picofarad shuttled at ten kilohertz behaves as a gigohm — which is how a filter with a one-hertz corner fits on a chip. What the equivalence costs is three conditions, and they bind on three different quantities: a capacitor ratio under 0.0201, a signal below half the clock, and a clock below the frequency at which the charge stops arriving.
The band that does not close
A cascade of active sections can be built at three decades of impedance level at second order, one at sixth, and none at all at eighth — the band shuts by half a decade per order because two fixed quantities bind it from opposite ends. A doubly terminated ladder has only one of those quantities, because an inductor's loss is a fixed quality factor rather than a fixed resistance and therefore scales with the design. At order nine it still has four decades.
The floor that outlives the arithmetic
A band of impedance levels is what a tolerance allows; a floor is what a structure has. Measured at six orders, a doubly terminated ladder's floor rises as the 1.06 power of the order and would not reach a tenth of a decibel until order thirty-two — an order nobody builds. What stops the sweep is neither the structure nor the parasitics: the continued fraction that turns a reflection polynomial into element values loses its leading coefficients to cancellation and stalls at order nine for a Butterworth and fourteen for a Chebyshev.
The inductor that is an amplifier
Four resistors and a capacitor, arranged around two amplifiers, present one henry at a node — an inductance with nothing magnetic in it, which as a wound coil would be several henries of wire. It is that inductance to within one per cent over three and a half decades, and its series resistance goes negative at 63 hertz, which is well inside the band where it is still an excellent inductor. A resonator built around it there does not have a high quality factor; it has a negative loss, and starts on its own noise.
One inductor, and ten components
The rung below built an inductor out of an amplifier and ended with a boundary that is not a frequency: one end of it is soldered to ground. A ladder's series inductors are floating, so making one takes four amplifiers rather than two — and the four-amplifier version is exactly floating, to five figures, and reproduces the ladder's response to a hundredth of a decibel. It does not reproduce its stationarity. Each of a gyrator's ten components moves the response by exactly a half, where the inductor it replaced moved it by ten to the minus eight.
The filter that samples
The rung below built a resistor out of a clock and measured two ways it is not one: a settling time, and a corner that is a capacitor ratio rather than an R–C product. Both are errors in a value and both get smaller as the design gets better. This is an error of a different kind — the arrangement is not a continuous system at all, and nothing below half the clock shows it. An input at 992 kilohertz arrives at 7.8 kilohertz with the passband's own gain, where the continuous model the rung below fitted says it is 56 decibels down.
Eight amplifiers, and what they add
The rung below realised a Chebyshev ladder out of floating gyrators and found the response converging on the passive one's as the resistance scale rises — twenty-two decibels out at ten kilohms, a twentieth of a decibel at ten megohms. It closed by naming two quantities it had not measured. They are the same quantity: the resistors that buy the accuracy are the noise, and the amplifiers inside the gyrators carry the inductor's own current through them, so the floor rises as the square root of the scale and the ceiling falls as the scale.
The Q the amplifier decides
A second-order section's quality factor is set by a capacitance ratio and its pole frequency by a product of four passive values, and neither expression contains the amplifier. Build it with one that has a gain-bandwidth a hundred times the corner — the usual rule — and the Q comes out 1.97 per cent high while the pole comes out 1.97 per cent low, the same number in both directions, and the number is the designed Q divided by the ratio. A fifth-order half-decibel Chebyshev built that way has 2.1 decibels of ripple.
The offset that knows the signal
The charge a switch leaves on the capacitor it was sampling is the gate oxide capacitance times the channel area times the overdrive, and both terms in that overdrive depend on the input — one directly and one through the body effect. So the 5.67 mV a data sheet would call an offset moves by 1.86 mV across a volt of signal, which is a gain error of 0.186 per cent and only 3.4 µV of anything else. Opening the summing-node switch first divides the gain error by the amplifier's own gain, exactly, and what is left goes from twenty-nine times the sampled-noise floor to nineteen times below it.
The ripple that is a temperature
The rung below found that an amplifier a hundred times the corner leaves a section's quality factor two per cent high. That two per cent has a temperature in it: with a tail current a resistor sets, the transconductance falls as one over absolute temperature, and a fifth-order half-decibel design whose passives have no temperature coefficient at all goes from 0.82 decibels of ripple at minus forty to 1.05 at a hundred and twenty-five — crossing a one-decibel specification at 89 °C. With the other bias it does not move at all.
Where the Q comes from
Two second-order sections with no component value in common have the same transfer function to 1.8×10⁻¹⁰ of a decibel, and are not the same circuit. Against a slow amplifier the follower's Q error is Q over the gain-bandwidth ratio and the gain stage's is K²/2 over it — so the second is worse below Q = 3.08 and better above it. Against component tolerance the follower's worst element carries ½ and the gain stage's carries 2Q − ½, nineteen times as much at Q = 5. Neither oscillates at any gain-bandwidth at all.
The selectivity that is not free
The filter trade is normally drawn with two quantities in it. It has three, and an order fixes a relation between all of them: at order five and half a decibel of ripple, a stopband asked to begin at twice the corner is worth 66.1 decibels and one asked to begin at 1.25 times is worth 38.7. The exchange is exact addition in decibels — relaxing the ripple from a half to three buys 9.12 dB wherever it is spent — and there is a fourth price nobody writes down: settling to a tenth of a per cent goes from 9.04 milliseconds to 23.23 while the overshoot does not move.
The boundary that improves when the part gets worse
A synthetic inductor's series resistance changes sign at 63.0 Hz with one-megahertz amplifiers, and that frequency is not a property of the inductor. It is half the geometric mean of the arrangement's own corner and the amplifier's open-loop pole — half the square root of their product, which the bisection confirms to a part in a thousand — and it therefore falls as the amplifier's direct-current gain rises, from 686 Hz at a gain of a thousand to 19.9 Hz at a million. The quantity that decides whether a resonator starts does not move at all: it is the transition frequency over four times the Q, 2.50 kHz for a tank of a hundred.
The termination an even order cannot have
Every even-order Chebyshev ladder terminates in 1.984056 times its source resistance at half a decibel of ripple, the same number at orders two, four, six and eight, and it is (√(1+ε²)+ε)² to a part in 10¹⁵. Building one between equal terminations instead — which is what a table of g-values and a matched pair gives — turns 0.5000 dB of ripple into 1.8123 at order four, deletes one of the passband maxima outright, and moves the worst tolerance corner from the 2.000 power of the component tolerance to the 1.109 power: a factor of 95 at one per cent parts.
Frequency, which is the same solve
Reactance, phase, resonance and the corner frequency are four readings of one number. The models that fail here are the straight-line sketch every engineer draws, which is three decibels wrong exactly where it is read, and the capacitor, which is a capacitor only below a frequency its own leads decide.
One solve, read four ways
Reactance, phase, the corner frequency and the roll-off are not four ideas. They are four readings of one complex number, obtained from the same matrix that answers direct-current questions — and the straight-line sketch every engineer draws of them is itself a model, three decibels wrong exactly where it is read.
Three voltages that close on one, and the steady state they assume
Kirchhoff's voltage law drawn as a polygon in the complex plane. The three element voltages of a series circuit add head to tail to the source exactly — while their magnitudes add to five times it. And the whole picture is a statement about a settled circuit, which takes a computable number of cycles to arrive.