Every signal is a sum of sines. The analyzer shows which.
A quick tour of the Fourier series, the Fourier transform and the spectrum analyzer, with three live demos. Slide the controls to assemble a square wave from sines, pull two close tones apart with the resolution bandwidth, and watch the carrier and sidebands of an AM wave appear. It takes about ten minutes.
Two views of one signal
An oscilloscope plots voltage against time. It shows the shape of the wave: rise times, distortion, the envelope.
A spectrum analyzer plots power against frequency. It shows which frequencies are present and how strong each one is.
The analyzer reports power in dBm, which is decibels relative to 1 mW in 50 Ω. 0 dBm equals 1 mW, and each 10 dB is a factor of 10 in power.
A weak signal next to a strong one disappears on the scope but stays readable on the analyzer. A line 40 dB down is only 1% of the voltage, yet on a screen with 10 dB per division it sits four divisions lower and is easy to read. This is why radio work is done in the frequency view.
Fourier series: periodic signals are lines
Fourier transform: from lines to a spectrum
The Fourier series handles repeating signals only. The Fourier transform covers any signal: X(f) = ∫ x(t) e−j2πft dt. A repeating signal produces sharp lines, while a changing one (speech, data) spreads its power across a band of frequencies.
Two properties matter here. Linearity means the spectrum of a sum is the sum of the spectra, so each line can be read by itself. Modulation means that multiplying by cos 2πfct shifts the whole spectrum to ±fc. An AM modulator does exactly this, which is why AM shows a carrier with one sideband on each side.
How a spectrum analyzer works
Frequency (centre)
- Places a frequency at the middle of the screen. Type it in the Spectrum tab, pick a preset, or turn CENTER FREQ (steps of span / 10).
- Peak → CF moves the centre to the strongest line inside the span.
Span
- How much frequency the screen covers, spread over ten divisions: a 10 MHz span is 1 MHz per division.
- A real analyzer at zero span plots the signal against time. This bench offers spans from 10 kHz to 100 MHz.
Reference level and RBW
- The reference level is the top line of the screen, and each division below it is 10 dB lower.
- The RBW is the width of the IF filter. The automatic RBW follows the span, and a value you choose yourself is marked # in the header.
Resolution bandwidth: seeing two lines as two
Each line is drawn with the shape of the IF filter, so it is as wide as the RBW. Two lines closer than about one RBW blend into a single hump. A narrower RBW pulls them apart and also lowers the noise floor (10 dB for every factor of 10), which uncovers weak lines. On a real instrument the cost is a slower sweep.
Try it with the sliders: begin with tones 16 kHz apart and an RBW of 30 kHz, then narrow the RBW until two peaks appear.
The spectrum of tone AM
On the bench
The analyzer input is 50 Ω, and its lead has a black ground clip like the generator leads, so clip it onto a GND socket every time. Keep the strongest line below the reference level. Both experiments use −10 dBm.
What you should see
| Experiment | Settings | Lines (marker values) |
|---|---|---|
| 1: square wave, 10 MHz, 100 mV p-p | centre 10 MHz, span 10 MHz (1 MHz/div), ref −10 dBm | 10 MHz at about −13.9 dBm |
| 1: wider span | span 50 or 100 MHz | 30 MHz about −23.5 dBm, 50 MHz about −27.9 dBm, 70 MHz about −30.8 dBm; even harmonics about 50 dB down |
| 2: tone AM, 1 MHz and 20 kHz | centre 1 MHz, span 2 MHz (200 kHz/div), ref −10 dBm, auto RBW | carrier 1 MHz at about −30 dBm, sidebands very close to it |
| 2: span 100 kHz | auto RBW 333 Hz | 980 kHz and 1.02 MHz at about −42 dBm (12 dB below the carrier, m ≈ 0.5) |
These levels come from the simulator model, which uses an ideal 50 Ω source and load. Real equipment gives slightly different numbers, but the line spacing and the dB differences between lines stay the same.
Check yourself
Q1What does a Fourier series say about a repeating signal?
It breaks the signal into sines and cosines at whole multiples of its fundamental frequency. Each term shows up as one line on the analyzer, so the series lists which frequencies are present and how strong each one is.
Q2When does the Fourier transform replace the series?
The series covers only repeating signals and gives separate lines at k f0. The transform handles any signal and returns a continuous spectrum X(f). For a repeating signal it collapses back into lines.
Q3Which analyzer settings come first when you look at a new signal?
The centre frequency (or start and stop), the span, the reference level and the resolution bandwidth. After that, markers with peak search read the lines for you.
Q4How do centre frequency and span define the screen?
The centre frequency is the middle of the swept band and the span is its width. A 10 MHz span around 50 MHz therefore covers 45 to 55 MHz.
Q5What does the resolution bandwidth set?
It is the width of the IF filter. It decides how close two components can be and still appear as two lines, and a narrower RBW also lowers the noise floor.
Q6When is a spectrum analyzer a better choice than an oscilloscope?
The scope plots voltage against time. The analyzer plots power against frequency on a dB scale, so a component 60 dB below a strong one can still be seen and measured.
Q7Where are the first three lines of a 10 MHz square wave, and how strong are they?
At 10, 30 and 50 MHz. The 30 MHz line sits 9.5 dB and the 50 MHz line 14 dB below the 10 MHz line. An ideal square wave has no even harmonics.
Q8What happens to the noise floor when the RBW is widened?
It rises, because a wider IF filter passes more noise power. Noise power grows in step with bandwidth, so ten times the RBW lifts the floor by 10 dB.
Q9How much power are 0 dBm and −30 dBm?
0 dBm is 1 mW. Each 10 dB step down divides the power by ten, so −30 dBm is 1 µW. In a 50 Ω system a sine at 0 dBm measures about 632 mV p-p.