Gain Flatness Definition
Gain flatness specifies the maximum peak-to-peak variation in S21 magnitude over a defined frequency band. It is expressed in ±dB (e.g., ±0.5 dB) or as a peak-to-peak value (e.g., 1 dB p-p). Gain flatness is critical for wideband amplifiers, filters in communication systems, and RF distribution networks.
Flatness vs. Ripple vs. Slope
| Term | Definition | Cause |
|---|---|---|
| Gain flatness | Total S21 variation (p-p) over band | All combined effects |
| Ripple | Periodic S21 variation, constant peak-to-peak | Multiple reflections, resonances |
| Gain slope | Linear S21 droop vs. frequency (dB/GHz) | Cable loss, amplifier rolloff |
| Gain tilt | S21 difference between band edges (dB) | Amplifier or cable rolloff |
Typical Flatness Specifications
| Component | Typical Flatness Spec | Band |
|---|---|---|
| Low-noise amplifier | ±0.5 dB | Octave BW |
| Driver amplifier | ±1.0 dB | Multi-octave |
| Distribution amplifier | ±0.3 dB | Defined pass band |
| Chebyshev filter | 0.1–3 dB ripple | Passband |
| Butterworth filter | Maximally flat (0 dB ripple) | Passband |
Measuring Ripple in RF View
- Load the S21 measurement file (.s2p) in RF View
- Set the frequency span to the component's specified passband
- Place a marker at the highest S21 peak in the passband
- Place a second marker at the lowest S21 valley in the passband
- The difference (marker 1 − marker 2) is the peak-to-peak ripple
- Verify this meets the component specification
Ripple Periodicity and Its Cause
Periodic ripple in S21 indicates a multiple-reflection cavity. The periodicity in frequency Δf relates to the round-trip length:
Δf = c / (2 · L_eff · √εᵣ) Example: Δf = 100 MHz → L_eff = 1.5 m (in air)
This is useful for identifying the source of ripple: a 100 MHz periodic ripple in an amplifier chain typically indicates a mismatched cable or connector reflection with approximately 1–2 m of electrical length.
Group Delay Ripple
Even if magnitude flatness is acceptable, group delay ripple can distort wideband signals. Group delay is calculated from the S21 phase derivative:
τ_g(f) = −dφ/dω = −(1/2π) · dφ/df [seconds]
RF View computes and displays group delay from loaded S-parameter files. Excessive group delay ripple in a filter passband will cause inter-symbol interference in digital communication systems. A common specification is group delay ripple <10 ns over the passband.