Analog Circuits II: Clamping, the Miller Effect, Active Filters (Sallen–Key, Butterworth), 555 Timers and VCOs

The Analog and Digital Electronics line names clamping, equivalent circuits and frequency response, Active Filters (Sallen–Key, Butterworth), VCOs and timers — items the first chapter touched in a sentence each. Each has a one-line principle that settles most questions. A clamper adds a DC level to a waveform and leaves its peak-to-peak value alone, because a capacitor holds charge across the diode's conducting peak. The Miller effect says a feedback capacitor across an inverting stage looks (1 + |A|) times bigger from the input, which is why a wide-band amplifier is built with low gain per stage. An active filter gets its response from an op-amp with resistors and capacitors; the Butterworth response is the one with the flattest passband, falling at 20n dB/decade for order n, and a Sallen–Key stage is the standard second-order building block. The 555 timer is two comparators and a latch set at ⅔ and ⅓ of the supply, so its timing is always an RC charge between those two levels. Computed here: a 100-gain stage with a 5 pF feedback capacitance has 505 pF input capacitance; a 2nd-order Sallen–Key with R = 10 kΩ, C₁ = 20 nF and C₂ = 10 nF has f₀ = 1125 Hz and Q = 0.7071; a 555 astable with 1 kΩ, 10 kΩ and 0.1 µF runs at 687 Hz.
Overview

Clamping Circuits and the Miller Effect

2 min read · 1 part

A clamper is a capacitor in series with the signal and a diode across the output (with an optional DC bias). On the first conducting half-cycle the capacitor charges to V_m − V_γ through the diode; afterwards the diode is off, the time constant RC is chosen ≫ the signal period so the charge does not leak, and the output is the input shifted by that stored voltage. A negative clamper (diode pointing so it conducts on the positive peaks) pins the positive peaks at about −V_γ ≈ 0, so a sine of amplitude V_m swings between about 0 and −2V_m: the peak-to-peak value is unchanged, only the DC level moves. Reversing the diode pins the negative peaks instead, and a DC battery in series with the diode shifts the clamp level by that amount. A clipper is the other relative: it removes part of the waveform (the diode with a series resistor limits it). The two are told apart by whether the peak-to-peak value changes. Clamper plus peak detector gives a voltage doubler: output ≈ 2V_m − 2V_γ.

Miller effect. A capacitor C_f between the input and output of an inverting amplifier of gain A (negative) sees a voltage change (1 − A) V_in = (1 + |A|) V_in across it, so it draws that much more charge from the source: the input behaves as if it had C_in = C_f (1 + |A|) to ground, while the output sees about C_f (1 + 1/|A|) ≈ C_f. With C_f = 5 pF and |A| = 100: C_in = 505 pF, and driven from R_s = 10 kΩ the input pole is f_H = 1/(2πR_sC_in) = 31.5 kHz — a small capacitor limits a bandwidth that its own size would never suggest. This is why a high-gain stage has a low bandwidth, why a cascode (whose first stage has gain near 1, so almost no Miller multiplication) extends it, and why the dominant pole of an amplifier is usually at its input or at an internal high-gain node. For a common-emitter or common-source stage C_f is the collector–base or gate–drain capacitance.

A clamper is a capacitor in series with the signal and a diode across the output (with an optional DC bias). On the first conducting half-cycle the capacitor charges to V_m − V_γ through…

Active Filters: Butterworth Response and the Sallen–Key Stage

2 min read · 1 part

A first-order RC low-pass has f_c = 1/(2πRC) (10 kΩ and 15.9 nF give 1001 Hz) and falls at 20 dB/decade. The Butterworth low-pass of order n has |H(jω)|² = 1 / (1 + (ω/ω_c)^(2n)): maximally flat in the passband (the first 2n − 1 derivatives vanish at ω = 0), −3 dB at ω_c whatever n, and −20n dB/decade beyond. The attenuation at f = r·f_c is 10 log₁₀(1 + r^(2n)) dB: at twice the cut-off, a 2nd-order filter gives 12.3 dB, a 4th-order 24.1 dB. To meet 40 dB at 2 f_c needs 1 + 2^(2n) ≥ 10⁴, i.e. n = 7. Higher-order filters are cascades of first- and second-order stages; for Butterworth, the stage Q values are 0.7071 for n = 2, and 0.5412 and 1.3066 for n = 4. Chebyshev trades passband ripple for a steeper skirt, Bessel gives the most linear phase (constant group delay) and elliptic has ripple in both bands; Butterworth sits in the middle with no ripple and moderate phase.

Sallen–Key low-pass (unity-gain). Two resistors R₁, R₂ in series from the input, capacitor C₂ from the second node to ground and C₁ from the first node back to the op-amp output (a unity-gain follower): ω₀ = 1/√(R₁R₂C₁C₂) and Q = √(R₁R₂C₁C₂) / [C₂(R₁ + R₂)]. With equal resistors this is Q = ½ √(C₁/C₂), so C₁/C₂ = 2 gives the Butterworth Q = 0.7071. For R = 10 kΩ, C₁ = 20 nF, C₂ = 10 nF: f₀ = 1125 Hz, Q = 0.7071. With equal components and a gain K = 1 + R_b/R_a, Q = 1/(3 − K): K = 1.586 is Butterworth and K = 3 is the edge of oscillation, so the gain-set form must be built with a precise K. High-pass filters swap R and C; band-pass and notch stages follow the same Q rules. A single-stage active filter is first-order, as the syllabus's 'single stage active filters' implies.

ResponsePassbandSkirt / phase
Butterworthmaximally flat−20n dB/dec; moderate phase
Chebyshevripplesteeper than Butterworth; worse phase
Besselgently roundedslowest skirt; most linear phase

A first-order RC low-pass has f_c = 1/(2πRC) (10 kΩ and 15.9 nF give 1001 Hz) and falls at 20 dB/decade. The Butterworth low-pass of order n has |H(jω)|² = 1 / (1 + (ω/ω_c)^(2n)): maximally…

The 555 Timer: Monostable and Astable

1 min read · 1 part

Inside a 555 are two comparators referenced to ⅔ V_cc (threshold) and ⅓ V_cc (trigger), an SR latch and a discharge transistor. Monostable: a trigger below ⅓ V_cc sets the output high and releases the capacitor, which charges through R toward V_cc until it crosses ⅔ V_cc, then the output returns low: T = RC ln 3 ≈ 1.1 RC. R = 10 kΩ and C = 1 µF give 11.0 ms. Astable: the capacitor charges through R_A + R_B from ⅓ to ⅔ V_cc and discharges through R_B alone: t_high = 0.693 (R_A + R_B) C, t_low = 0.693 R_B C, f = 1.44 / ((R_A + 2R_B) C), duty cycle D = (R_A + R_B)/(R_A + 2R_B), always above 50% because R_A > 0. With R_A = 1 kΩ, R_B = 10 kΩ, C = 0.09999999999999999 µF: f = 687 Hz, D = 52.4%. To get nearly 50%, make R_A ≪ R_B, or put a diode across R_B to separate the charge and discharge paths. An op-amp relaxation oscillator (a Schmitt trigger with an RC feedback) is the discrete equivalent: T = 2RC ln((1 + β)/(1 − β)), β = R₂/(R₁ + R₂); β = 0.5 and RC = 1 ms gives T = 2.197 ms (455 Hz).

One cycle of a 555 monostable
  1. Trigger below ⅓ V_cc
  2. Output high; capacitor released
  3. Charges through R toward V_cc
  4. Crosses ⅔ V_cc: output lowT = RC ln 3 ≈ 1.1 RC

Inside a 555 are two comparators referenced to ⅔ V_cc (threshold) and ⅓ V_cc (trigger), an SR latch and a discharge transistor. Monostable: a trigger below ⅓ V_cc sets the output high and…

Voltage-Controlled Oscillators

1 min read · 1 part

A VCO produces an output whose frequency is set by a control voltage: f_out = f₀ + K_v V_c, with gain K_v in Hz/V. It is the building block of the phase-locked loop (PLL), frequency modulators and frequency synthesisers. Common forms: an integrator with a comparator (the control voltage sets the integrator's slope, so the time to reach each threshold is inversely proportional to V_c, and f ∝ V_c — a triangle/square-wave VCO), an emitter-coupled multivibrator whose tail current is steered by V_c, and a 555 with the control pin (5) driven. In the 555, pin 5 sets the threshold to V_c and the trigger to V_c/2, so the astable's charging interval becomes t_high = (R_A + R_B) C ln((V_cc − V_c/2)/(V_cc − V_c)) and t_low = R_B C ln 2. With V_cc = 12 V and the same R's and C: at the default V_c = 8 V, f = 687 Hz; raise V_c to 10 V and the frequency falls to 483 Hz. So a 555's pin-5 voltage varies frequency in the opposite direction to a textbook VCO, and over a limited range; the dedicated VCO ICs (e.g. the PLL's) are linear over a decade or more.

⚠️ Name the thing before applying the formula
Questions in this section hand over a circuit and ask for one number. Decide first which family it is: clamper (DC shift, same peak-to-peak), clipper (peak-to-peak cut), Miller (capacitor across a gain stage), Butterworth (flat, 20n dB/dec), 555 monostable (1.1 RC) or astable (1.44/((R_A + 2R_B)C)). The 555 astable duty cycle can never go below 50% in the basic circuit; a "0.3 duty" option is therefore always wrong.

A VCO produces an output whose frequency is set by a control voltage: f_out = f₀ + K_v V_c, with gain K_v in Hz/V. It is the building block of the phase-locked loop (PLL), frequency…

Key takeaways

  • A clamper shifts the DC level and keeps peak-to-peak unchanged (RC ≫ period); a clipper cuts the peak-to-peak. Clamper plus peak detector doubles the voltage.
  • Miller effect: C_f across an inverting stage appears as C_f(1 + |A|) at the input, creating the dominant pole; a cascode defeats it.
  • Butterworth: |H|² = 1/(1 + (ω/ω_c)^(2n)), −3 dB at ω_c, −20n dB/decade; attenuation at r·f_c is 10 log(1 + r^(2n)).
  • Unity-gain Sallen–Key: ω₀ = 1/√(R₁R₂C₁C₂), Q = ½√(C₁/C₂) for equal R, so C₁/C₂ = 2 is Butterworth; with gain K and equal parts Q = 1/(3 − K).
  • 555: monostable T = 1.1RC; astable f = 1.44/((R_A + 2R_B)C), duty (R_A + R_B)/(R_A + 2R_B) > 50%; thresholds ⅔ and ⅓ V_cc, shifted by the control pin.

Practice questions (24)

Attempt each one before opening the answer. Every explanation names the tempting wrong option as well as the right one, because that is where marks are lost.

  1. A clamping circuit changes which property of a periodic input waveform?

    1. its frequency
    2. its phase only
    3. its DC level, not its peak-to-peak value
    4. its peak-to-peak value, not its DC level
    Show answer

    Answer: C — its DC level, not its peak-to-peak value

    The capacitor stores the voltage of the first conducting peak and adds it to the input, so the whole waveform slides up or down. A clipper, by contrast, truncates the peaks and reduces the peak-to-peak value.
  2. An inverting amplifier of gain −100 has a 5 pF capacitor between its input and output. The Miller-equivalent input capacitance to ground is:

    1. 5 pF
    2. 505 pF
    3. 4.95 pF
    4. 500 pF
    Show answer

    Answer: B — 505 pF

    C_in = C_f (1 + |A|) = 5 × 101 = 505 pF. The 500 pF option forgets the 1 in (1 + |A|), and 5 pF forgets the multiplication.
  3. Which technique reduces the Miller effect in a common-emitter amplifier?

    1. using a cascode so the first stage has a gain near 1
    2. increasing the collector–base capacitance
    3. removing the emitter resistor
    4. raising the voltage gain of the stage
    Show answer

    Answer: A — using a cascode so the first stage has a gain near 1

    The multiplication factor is (1 + |A|) of the stage across which C_f sits. A cascode makes the voltage gain of the transistor containing C_f close to unity, so the multiplication nearly vanishes.
Show the other 21 questions
  1. A fourth-order Butterworth low-pass filter has attenuation at twice its cut-off frequency of about:

    1. 24 dB
    2. 48 dB
    3. 6 dB
    4. 12 dB
    Show answer

    Answer: A — 24 dB

    Attenuation = 10 log₁₀(1 + 2^8) = 10 log₁₀ 257 = 24.1 dB. The 12 dB option is the second-order value, and 6 dB is a first-order filter at one octave.
  2. The smallest Butterworth order giving at least 40 dB attenuation at twice the cut-off frequency is:

    1. 4
    2. 5
    3. 10
    4. 7
    Show answer

    Answer: D — 7

    Need 1 + 2^(2n) ≥ 10⁴, so 2n ≥ log₂(9999) = 13.29, n ≥ 6.64, hence n = 7. Order 6 gives only 36.1 dB.
  3. An equal-resistor unity-gain Sallen–Key low-pass has C₁ (feedback) = 2 C₂. Its Q is:

    1. 0.5
    2. 2
    3. 0.7071
    4. 1.414
    Show answer

    Answer: C — 0.7071

    Q = ½ √(C₁/C₂) = ½ √2 = 0.7071, the Butterworth value. Equal capacitors would give Q = 0.5.
  4. A 555 monostable uses R = 10 kΩ and C = 1 µF. Find the output pulse width in ms to one decimal place.

    Numerical answer — type the value.

    Show answer

    Answer: 11.0

    T = RC ln 3 = 10⁴ × 10⁻⁶ × 1.0986 = 10.99 ms, i.e. 11.0 ms with the usual 1.1 RC.
  5. A 555 astable has R_A = 1 kΩ, R_B = 10 kΩ and C = 0.1 µF. Its output frequency and duty cycle are nearest to:

    1. 687 Hz, 52%
    2. 1.4 kHz, 52%
    3. 687 Hz, 48%
    4. 343 Hz, 52%
    Show answer

    Answer: A — 687 Hz, 52%

    f = 1.44/((1k + 20k) × 0.1 µ) ≈ 687 Hz (with ln 2 exact: 1/(0.693 × 21k × 0.1µ)); D = (R_A + R_B)/(R_A + 2R_B) = 11/21 = 52.4%. The basic circuit can never give D below 50%, ruling out the 48% option.
  6. In a voltage-controlled oscillator the control voltage determines:

    1. the supply voltage
    2. only the output amplitude
    3. the output frequency
    4. the load resistance
    Show answer

    Answer: C — the output frequency

    A VCO converts a voltage to a frequency, f_out = f₀ + K_v V_c. It is the actuator inside a PLL: the loop adjusts V_c until f_out locks to the reference.
  7. An ideal positive clamper (diode and capacitor) is fed with a sine of peak V_m. In steady state its output

    1. swings from −2V_m to 0
    2. swings from 0 to 2V_m
    3. is clipped at 0
    4. swings from −V_m to +V_m
    Show answer

    Answer: B — swings from 0 to 2V_m

    The capacitor charges to V_m on the negative peak and then adds it as a DC shift, lifting the negative peak to 0 and the positive peak to 2V_m; the shape is unchanged. Clipping at 0 is the tempting clipper behaviour, which removes part of the wave.
  8. A first-order RC low-pass filter has R = 1 kilo-ohm and C = 1 µF. Its cut-off frequency, in Hz to the nearest integer, is ____.

    Numerical answer — type the value.

    Show answer

    Answer: 159

    f_c = 1/(2πRC) = 1/(2π × 10⁻³) = 159 Hz. The tempting 1000 is 1/RC in rad/s. Substituting the answer back into the relation confirms it.
  9. The magnitude of a Butterworth low-pass response (DC gain 1) at its cut-off frequency, to three decimal places, is ____.

    Numerical answer — type the value.

    Show answer

    Answer: 0.707

    |H(jω_c)| = 1/√(1 + 1) = 0.707 for every order, i.e. −3 dB. The tempting 0.5 is the half-power value, which is |H|², not |H|.
  10. Inside a 555 timer running from V_CC with the control pin unused, the two comparators switch at

    1. V_CC/2 and V_CC
    2. V_CC/3 and 2V_CC/3
    3. V_CC/4 and 3V_CC/4
    4. 0 and V_CC
    Show answer

    Answer: B — V_CC/3 and 2V_CC/3

    Three equal 5 kilo-ohm resistors divide V_CC into thresholds at one third (trigger) and two thirds (threshold). That is why a capacitor timing between them gives t = RC ln 2 in astable mode; the tempting half-supply levels would not.
  11. A 555 astable uses R_A = R_B = 10 kilo-ohm. Its duty cycle (high time over period), in per cent to one decimal place, is ____.

    Numerical answer — type the value.

    Show answer

    Answer: 66.7

    D = (R_A + R_B)/(R_A + 2R_B) = 20/30 = 66.7 per cent; charging goes through both resistors, discharging through R_B alone. The tempting 50 per cent assumes equal charge and discharge paths.
  12. In a phase-locked loop, the VCO is driven directly by

    1. a fixed DC supply
    2. the raw output of the phase detector, bypassing all filtering
    3. the output of the loop filter
    4. the input reference signal
    Show answer

    Answer: C — the output of the loop filter

    The phase detector output is smoothed by the loop filter and that control voltage steers the VCO frequency towards the reference. Feeding the raw detector output is the tempting shortcut, but its ripple at twice the frequency would frequency-modulate the VCO.
  13. An inverting amplifier of gain −50 has a 2 pF capacitor connected between its input and output. The Miller-equivalent capacitance seen at the output, in pF to two decimal places, is ____.

    Numerical answer — type the value.

    Show answer

    Answer: 2.04

    C_out = C(1 − 1/A) = 2(1 + 1/50) = 2.04 pF, barely more than C. The tempting 102 pF is the input-side Miller capacitance C(1 − A).
  14. A second-order Butterworth low-pass filter is evaluated at ten times its cut-off frequency. Its attenuation, in dB to the nearest integer, is ____.

    Numerical answer — type the value.

    Show answer

    Answer: 40

    A = 10 log₁₀(1 + 10^(2n)) = 10 log₁₀(1 + 10⁴) = 40 dB, the −40 dB/decade roll-off of two poles. The tempting 20 dB is a first-order filter.
  15. A 555 astable uses R_A = 2 kilo-ohm, R_B = 4 kilo-ohm and C = 0.1 µF. Its output frequency, in Hz to the nearest integer, is ____.

    Numerical answer — type the value.

    Show answer

    Answer: 1443

    f = 1/[0.693(R_A + 2R_B)C] = 1/(0.693 × 10 kilo-ohm × 0.1 µF) = 1443 Hz. The tempting 2405 Hz uses R_A + R_B, missing that the discharge path adds a second R_B.
  16. A VCO has a free-running frequency of 100 kHz and a sensitivity of 10 kHz/V. With a control voltage of 2.5 V, its output frequency, in kHz, is ____.

    Numerical answer — type the value.

    Show answer

    Answer: 125

    f = f₀ + K_vV_c = 100 + 25 = 125 kHz. The tempting 25 kHz reports the deviation alone. Substituting the answer back into the relation confirms it.
  17. Which of the following statements about classical filter approximations are correct?

    1. The Butterworth response has equiripple behaviour in the stopband
    2. The Butterworth response is maximally flat in the passband
    3. The Bessel response has a nearly linear phase in the passband
    4. The Chebyshev (type I) response has ripple in the passband
    Show answer

    Answer: B — The Butterworth response is maximally flat in the passband; C — The Bessel response has a nearly linear phase in the passband; D — The Chebyshev (type I) response has ripple in the passband

    Butterworth trades sharpness for flatness, Chebyshev I accepts passband ripple for a steeper skirt, and Bessel keeps group delay nearly constant. Equiripple stopband, the tempting fourth, belongs to inverse Chebyshev and elliptic filters; Butterworth is monotonic.
  18. A common-emitter stage with mid-band gain −100 has C_π = 10 pF and C_μ = 2 pF and is driven from a 1 kilo-ohm source (the source resistance dominates the input node). Using the Miller approximation, the input pole frequency, in kHz to the nearest integer, is ____.

    Numerical answer — type the value.

    Show answer

    Answer: 751

    C_in = C_π + C_μ(1 + 100) = 10 + 202 = 212 pF, so f = 1/(2π × 1 kilo-ohm × 212 pF) = 751 kHz. The tempting 13.3 MHz ignores the Miller multiplication and uses only 12 pF.
  19. The smallest order of Butterworth low-pass filter that gives at least 60 dB of attenuation at four times its cut-off frequency is ____.

    Numerical answer — type the value.

    Show answer

    Answer: 5

    Need 1 + 4^(2n) ≥ 10⁶, so n ≥ log(10⁶ − 1)/(2 log 4) = 4.98, giving n = 5 (n = 4 gives only 48.2 dB). The tempting 3 applies 20 dB per decade per order as if 4 times the cut-off were a full decade (60/20 = 3).
  20. A 555 monostable runs from 6 V with R = 10 kilo-ohm and C = 1 µF, but its control-voltage pin is forced to 5 V. The output pulse width, in ms to two decimal places, is ____.

    Numerical answer — type the value.

    Show answer

    Answer: 17.92

    The capacitor charges from 0 towards 6 V until it reaches the new threshold of 5 V: t = RC ln(6/(6 − 5)) = 10 ms × ln 6 = 17.92 ms. The tempting 11.0 ms uses the standard 1.1RC, which holds only when the threshold is 2V_CC/3 = 4 V.
  21. A PLL has a phase-detector gain of 0.5 V/rad, a loop filter of DC gain 1 and a VCO gain of 10 kHz/V. When locked to an input 5 kHz above the VCO free-running frequency, the static phase error, in rad, is ____.

    Numerical answer — type the value.

    Show answer

    Answer: 1

    The VCO must be pushed by 5 kHz, needing 0.5 V of control, which the detector produces at θ = 0.5/0.5 = 1 rad. The tempting 0.1 rad divides 5 by the product 10 × 0.5 × 10, double-counting the VCO gain.