Communication Systems · Lab 2 · ConceptsAll labsGo to the lab →

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.

01

Two views of one signal

v(t)

An oscilloscope plots voltage against time. It shows the shape of the wave: rise times, distortion, the envelope.

V(f)

A spectrum analyzer plots power against frequency. It shows which frequencies are present and how strong each one is.

dBm

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.

02

Fourier series: periodic signals are lines

Periodic signalv(t) = a0 + Σ ak cos(2π k f0 t + φk)only multiples of f0 appear
Square wave, peak A(4A/π)[sin ω0t + ⅓ sin 3ω0t + ⅕ sin 5ω0t + …]odd harmonics only, falling as 1/k
In dBlevel of k-th line = −20 log k3rd: −9.5 dB · 5th: −14 dB · 7th: −16.9 dB
03

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.

What the analyzer really shows. The screen is one sided: positive frequencies only, with power (not voltage) on a log scale. A cosine of peak amplitude a into 50 Ω reads 10 log(a²/2 / 50 / 1 mW) dBm, so a 100 mV p-p sine (a = 50 mV) reads −16 dBm.
04

How a spectrum analyzer works

Swept analyzer (block diagram)
RF input→Attenuator→Mixer→IF filter (RBW)→Detector→Display
a local oscillator sweeps across the span and drives the mixer; the IF filter width is the resolution bandwidth

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.
05

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.

On the bench (Exp 2). The sidebands sit 20 kHz from the carrier. At a 100 kHz span they are separate for an RBW of 1 to 10 kHz and merge into the carrier from 30 kHz upwards. The RBW sweep step lets you watch the change.
06

The spectrum of tone AM

Tone AMs(t) = Ac[1 + m cos 2πfmt] cos 2πfctm is the modulation index
ExpandedAc cos 2πfct + (mAc/2)[cos 2π(fc−fm)t + cos 2π(fc+fm)t]three lines
Sideband level20 log(m/2) below the carrierm = 0.5: −12 dB · m = 1: −6 dB
07

On the bench

Exp 1 Square wave
Generator CH1 (square, 10 MHz)→Carrier I/P (TP1)→Analyzer RF input
the unit stays off; TP1 only joins the generator and the analyzer, like a BNC T piece
Exp 2 Tone AM
CH1 sine 1 MHz→Carrier I/P→AM Modulator→AM O/P (TP3)→Analyzer
CH2 sine 20 kHz → Audio I/P · VR1 at an end for normal AM · power ON

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.

08

What you should see

ExperimentSettingsLines (marker values)
1: square wave, 10 MHz, 100 mV p-pcentre 10 MHz, span 10 MHz (1 MHz/div), ref −10 dBm10 MHz at about −13.9 dBm
1: wider spanspan 50 or 100 MHz30 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 kHzcentre 1 MHz, span 2 MHz (200 kHz/div), ref −10 dBm, auto RBWcarrier 1 MHz at about −30 dBm, sidebands very close to it
2: span 100 kHzauto RBW 333 Hz980 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.

09

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.

I am ready, go to the lab →