A10 · Lesson 3 · The complex Fourier series
Spinning phasors for every harmonic
A sine and a cosine at the same frequency are really one phasor seen two ways (A3). So the Fourier series, with its separate cosine and sine coefficients, can be rewritten with a single complex coefficient per harmonic: one spinning phasor for each frequency, positive and negative. The formulas get shorter, the magnitudes and phases come out directly, and everything in the rest of the course (transforms, transfer functions, the FFT) uses this form.
- A pulse train is high for a fraction of each 1 ms period. Its spectrum shows the size of each harmonic, doubled for the one-sided view.
- The tops of the lines follow a sinc curve. Where does the first null fall?
- At (a square wave), every even harmonic vanishes. Why?
Predict
A square wave switching between and is an odd function of time. What kind of numbers are its complex coefficients ?
Purely imaginary. An odd signal is made only of sines, and , so each sine contributes imaginary coefficients. For the square wave, for odd and 0 for even . Even signals, made of cosines, have real coefficients.
Name it
The complex form
A periodic signal with period and is
Multiplying by and averaging picks out one harmonic, because the exponentials at different harmonics are orthogonal (A6, lesson 2).
Connecting to sines and cosines
For a real signal, , so each pair of terms adds to a real sinusoid:
So the th harmonic has amplitude and phase , and in terms of the cosine and sine coefficients. is the average (DC) value.
Symmetry shortcuts
| Symmetry | Coefficients |
|---|---|
| even, | real: cosines only |
| odd, | imaginary: sines only |
| half-wave, | odd harmonics only |
The pulse train
A pulse train of height 1 that's on for a fraction of each period has
The DC level is , and the harmonics' sizes follow a sinc curve whose first null is at . Narrow pulses spread their energy over many harmonics.
Worked example
Find the complex coefficients of the square wave.
Show the solution
- Set up the integral. Over one period it's for the first half and for the second, so for
- Evaluate it.
- Odd and even . That's for odd and 0 for even .
- Check against the sine series. The amplitudes match the sine series from lesson 1:
Answer for odd and 0 for even .
Worked example
A 1 kHz pulse train of height 5 V has 20% duty. What are its DC level and the amplitude of its 1 kHz harmonic?
Show the solution
- The DC level.
- The first coefficient.
- The 1 kHz amplitude.
Answer the DC level is 1 V, and the 1 kHz component has an amplitude of 1.87 V.
Worked example
Find the complex coefficients and of the full-wave rectified sine , whose period is .
Show the solution
- Set up the integral. With period , the fundamental frequency is 2 rad/s, so
- Evaluate it.
- The DC term.
- The first harmonic.
- What it means. The DC level is twice a half-wave rectifier's (both halves are kept), and there's no component at the original 1 rad/s at all: the ripple starts at twice the input frequency.
Answer and .
Check
For the square wave, what is for = 3?
Check
A pulse train of height 5 V has duty cycle 0.1. What is its DC level ?
Check
A pulse train of height 5 V and duty 0.2: what is the amplitude of harmonic 2?
Check
A pulse train has duty cycle 0.2. Which harmonic is the first to vanish?
Check
A harmonic is . What is ?
Check
A signal has half-wave symmetry, . Which harmonics can it contain?
Check
The full-wave rectified sine has .
(a)
What is , its DC level?
(b)
What is the amplitude of the harmonic at rad/s?
Check
A pulse train of height and duty .
Step 1
What is ?
Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.
Step 2
up to a phase. Evaluate it.
Explain why
Why is the complex conjugate of for a real signal?
A real signal is its own complex conjugate. Conjugating the series gives , which is the same series with each coefficient moved from to and conjugated. For the two to be equal, the coefficient at must be . Physically, each real sinusoid is a pair of phasors spinning in opposite directions whose imaginary parts cancel, leaving a real signal.
Practice
Keep practicing
9 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.