How to Use a Spectrum Analyzer: Span, RBW and Reference Level
A practical guide to spectrum analyzer settings: center frequency, span, resolution bandwidth, reference level, dBm and sweep time, with worked examples.
What the instrument shows
A spectrum analyzer draws power against frequency. The horizontal axis is frequency and the vertical axis is level, usually in dBm. A sine wave appears as a single peak, an amplitude modulated wave as a carrier with sidebands, and noise as a raised floor.
Compared with an oscilloscope, the analyzer is better at finding weak signals, measuring harmonics and checking bandwidth. A signal that is invisible under a strong one on a scope is easy to read on the analyzer.
Understanding dBm
The level is given in dBm, decibels relative to 1 milliwatt. The reading in a 50 ohm system converts to voltage like this.
P (dBm) = 10 log10( P / 1 mW ) 0 dBm = 1 mW = 0.2236 V rms = 0.316 V peak (into 50 Ω) +10 dBm = 10 mW = 0.707 V rms
Every 10 dB is a factor of 10 in power and about 3.16 in voltage. Every 20 dB is a factor of 10 in voltage. A level of −40 dBm is therefore 100 times smaller in voltage than 0 dBm.
The settings that matter
Four controls decide what you see. Set them in this order.
- Center frequency and span. The center puts the signal in the middle of the screen. The span is the width of the screen in hertz. Start wide to find the signal, then narrow it.
- Reference level. This is the level at the top of the screen. Set it at or just above the strongest signal. Too low and the instrument is overloaded and shows false lines. Too high and the weak lines sink into the noise.
- Resolution bandwidth (RBW). This is the width of the filter that sweeps across the signal. It sets the sharpness of each peak.
- Scale. Ten decibels per division is a good start. Use 2 dB per division to measure small differences.
Resolution bandwidth in detail
Each line on the screen is drawn with the shape of the RBW filter. Two tones can be told apart only if they are more than about one RBW apart. With a 10 kHz RBW, two tones 3 kHz apart merge into one hump. With a 1 kHz RBW they separate.
A narrow RBW has a cost. The noise floor falls by 10 dB each time the RBW is made ten times smaller, which is good, but the sweep gets slower. The sweep time is roughly proportional to the span divided by the square of the RBW.
sweep time ≈ k × span / RBW² (k is about 2 to 3 for common filters) noise floor change = 10 log10( RBW new / RBW old )
For a span of 100 kHz and an RBW of 1 kHz, the sweep takes about 0.25 seconds. For an RBW of 100 Hz it takes about 25 seconds. A good first choice is an RBW of about one hundredth of the span.
Worked example: reading an AM wave
Suppose the analyzer shows a carrier at 1 MHz and two side lines at 990 kHz and 1.01 MHz. The sidebands are 10 kHz from the carrier, so the message tone is 10 kHz. If the carrier is at 0 dBm and each sideband is at −12 dBm, the modulation index follows from the ratio. Each sideband is m/2 of the carrier in voltage, so 20 log10(m/2) = −12 dB, which gives m/2 = 0.25 and m = 0.5. The AM article on this site explains why.
Common problems
- The trace is just noise. The reference level or span is wrong, or the input attenuation is too high.
- Lines appear at multiples of the signal frequency. The input is overloaded and the instrument is making its own harmonics. Raise the reference level or add attenuation.
- The peak looks too wide. The RBW is wider than the feature you want to see.
- The peak is lower than expected and a warning shows. The sweep is too fast for the RBW. Slow it down or let the instrument choose the sweep time.
Most problems are fixed by lowering the span, setting the reference level correctly and choosing a sensible RBW.
Try it in the virtual lab
SinBench has free 3D benches and interactive demos for this topic. Open one to try the ideas above with real instruments, no sign up needed.
Amplitude Modulation: DSB-FC, DSB-SC and SSB on a Trainer
Questions and answers
What does span mean on a spectrum analyzer?
The span is the range of frequencies shown across the full width of the screen. A span of 100 kHz centered on 1 MHz shows 950 kHz to 1.05 MHz.
What is resolution bandwidth?
It is the width of the filter used to measure each frequency. A narrower RBW separates close signals and lowers the noise floor, but makes the sweep slower.
What should the reference level be?
Set it equal to or slightly above the highest signal on the screen. This protects the input from overload and gives the best use of the screen height.
How is a spectrum analyzer different from an oscilloscope?
An oscilloscope shows voltage against time. A spectrum analyzer shows level against frequency, so it can show harmonics, sidebands and weak signals that are hard to see on a scope.
Related topics
Fourier Transform Basics: From Time to Frequency
Learn what the Fourier transform does, how time and frequency views of a signal connect and how to read a spectrum, with worked examples and a free lab.
Communication SystemsFourier Series of a Square Wave and Its Harmonics
See how a square wave is built from odd harmonics, with the amplitude formula, dB levels, the Gibbs overshoot and the bandwidth needed to show clean corners.
Communication SystemsAmplitude Modulation and the Modulation Index
Learn how amplitude modulation works: the AM equation, the modulation index from an oscilloscope picture, sidebands, bandwidth, power and overmodulation.