S6 · Lesson 38 · Amplifier lab
Stability across frequency, complex noise and gain circles, and the unilateral figure of merit, in Python
Lessons 32 to 37 analyzed transistors at one frequency with real numbers where possible. A real design starts from a data sheet of complex S-parameters and noise parameters at many frequencies, and the first question is not gain but stability: a transistor that is well behaved at 4 GHz may oscillate at 1 GHz, where it has far more gain. This lab computes K, |Δ| and μ across a band, draws noise-figure and gain circles with complex reflection coefficients and checks points on them, and measures how far the unilateral approximation can be trusted.
- The curve is Rollett's K for a model transistor whose (f in GHz) falls 6 dB per octave while = 0.04, = 0.5, = 0.4 and = 0.2 stay fixed, a common pattern: K rises with frequency.
- Below a crossover frequency K < 1 and the device is only conditionally stable, even if the design band is well above it.
- Stabilizing resistors are chosen to lift K above 1 everywhere the transistor has gain, not just in band.
Predict
Pozar's GaAs FET at 4 GHz has S₁₁ = 0.72∠−116°, S₂₁ = 2.60∠76°, S₁₂ = 0.03∠57°, S₂₂ = 0.73∠−54°. Its μ is 1.04. The same device at 1 GHz has μ = 0.24. What does that mean for a 4 GHz amplifier built with it?
μ > 1 means unconditionally stable; μ < 1 means some source or load terminations give or . Matching networks designed for 4 GHz present quite different impedances at 1 GHz, so the designer checks where they land against the 1 GHz stability circles, or adds loss (a series resistor in the gate, a shunt RC at the drain) that lifts μ above 1 at all frequencies.
Name it
What the lab computes
- Stability at each frequency: , and , all with complex S.
- Noise figure and circles: ; the circle for F has center and radius .
- Unilateral gain circles: , .
- Unilateral figure of merit: . The true transducer gain lies within of the unilateral estimate.
Check
Write stability(S11, S21, S12, S22) returning (K, |Δ|, μ) for complex S-parameters, and unstable(table): given a dict of frequency → (S11, S21, S12, S22), the sorted list of frequencies where μ ≤ 1.
Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.
Check
Write noise_figure_db(Gs, Fmin_db, Gopt, Rn, Z0=50) for complex reflection coefficients, and noise_circle(F_db, Fmin_db, Gopt, Rn, Z0=50) returning (center, radius).
Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.
Check
Write gain_circle(S11, g): the unilateral source-gain circle (center, radius) for normalized gain g, source_gain(S11, Gs): for a source reflection Gs, and unilateral_U(S11, S21, S12, S22) returning (U, lower dB, upper dB) for the error bounds.
Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.
Explain why
Why must an amplifier's stability be checked far outside its operating band?
A transistor usually has much more gain at low frequencies than in its intended band, and its reverse transmission doesn't fall in proportion, so it is often only conditionally stable there. The matching networks are designed to present particular impedances in band, but at other frequencies they present quite different ones, possibly inside the transistor's unstable region. If that happens anywhere the device has gain, the amplifier can oscillate at a frequency nobody was looking at. Designers therefore compute stability across the device's whole gain range and add loss, usually resistors that matter little in band, to make it unconditionally stable everywhere.