Complex Averaging
Understanding Complex (Vector) Averaging
When measuring an RF filter with deep, -100 dB rejection bands, the Vector Network Analyzer (VNA) trace often looks fuzzy and chaotic at the bottom of the screen. This fuzz is Thermal Noise. The standard way to clean up a noisy trace is to turn on "Averaging." The VNA takes 10 consecutive sweeps, adds them together, and divides by 10, smoothing out the bumps. However, there are two distinct ways to do this: Scalar Averaging and Complex Averaging.
Scalar averaging is mathematically weak. It only looks at the absolute magnitude (the height of the wave in Watts). Because thermal noise is always a positive amount of energy, adding 10 noisy sweeps together just results in a smoother, but still highly elevated, noise floor. Complex Averaging (Vector Averaging) is a mathematical superpower. It does not just average the magnitude; it averages the exact Real (I) and Imaginary (Q) coordinates of the wave.
The Physics of Phase Cancellation
Thermal noise is completely random. On Sweep 1, a noise spike might have a phase angle of +90 degrees. On Sweep 2, the noise might have a phase angle of -90 degrees. If you use Complex Averaging, the +90 vector and the -90 vector are added together. Because they point in opposite directions, they mathematically annihilate each other. The random noise violently cancels itself out, physically dropping the VNA's noise floor deeper into the abyss and revealing the true signal hidden underneath.
Noise Floor Improvement (dB) = 10 × log10 ( N )
Example:
10 Averages = -10 dB noise floor drop.
100 Averages = -20 dB noise floor drop.
10,000 Averages = -40 dB noise floor drop (But the sweep will take hours to complete).
Comparison
| Averaging Method | What is Averaged? | Effect on the Trace | Requirement |
|---|---|---|---|
| Scalar Averaging | Magnitude Only (|S21|) | Smoothes the line, but noise floor stays high. | Works on all signals, even drifting ones. |
| Complex Averaging | I and Q Vectors (Mag + Phase) | Violently drops the noise floor deeper. | The test signal must be perfectly Phase-Locked (Triggered). |
| IF Bandwidth Reduction | N/A (Hardware filter) | Drops noise floor immediately, slows down sweep. | The primary method used before Averaging. |
Frequently Asked Questions
Why doesn't the primary signal cancel itself out?
Because the VNA signal is Coherent (Phase-Locked). If you are measuring a filter, the true S21 signal will have the exact same phase angle on Sweep 1, Sweep 2, and Sweep 100. If you add 100 identical vectors together and divide by 100, the true signal remains exactly the same. Only the chaotic, random thermal noise vectors point in different directions and annihilate each other.
Can I use Complex Averaging on a Spectrum Analyzer?
Usually no. A standard Spectrum Analyzer is not phase-locked to the signal it is receiving (unless you have a highly synchronized trigger setup). If the phase of your Wi-Fi signal is drifting wildly across the screen, Complex Averaging will violently cancel out the noise AND violently cancel out your Wi-Fi signal, leaving you with a completely flat, dead screen. Vector Signal Analyzers (VSAs) can do it, but only if perfectly synchronized.
If Complex Averaging is so good, why do we use IF Bandwidth reduction?
Speed. Dropping the IF Bandwidth from 10 kHz to 1 kHz drops the noise floor by 10 dB, but it takes the VNA 10 times longer to sweep. Using 10 Complex Averages also drops the noise floor by 10 dB, and also takes 10 times longer (because you have to sweep 10 times). The time penalty is identical. Engineers usually reduce the IF Bandwidth first, because a single, slow sweep is often visually easier to watch than waiting for 10 fast sweeps to average together.