- Home
- Lessons in English
- Fourier series (in Thai)
- What is a Fourier series?
// Fourier series · Lesson 1 · What Is a Fourier Series?
What Is a Fourier Series? Every Periodic Wave Is a Sum of Sines
The square wave from a function generator, the output voltage of an inverter, the current a computer draws from the wall socket: none of them is a sine wave. Yet any shape that repeats itself can always be written as a sum of sine waves. That is Joseph Fourier's idea, and it is the language electrical engineers use whenever they talk about harmonics, filters and power quality. This page builds the picture first; the calculations come in the next lessons.
- A periodic signal has a fundamental frequency .
- with .
- Term number is the n-th harmonic, at frequency . A 50 Hz supply therefore has harmonics at 150, 250, 350 Hz …
- A plot of against is the spectrum: what the FFT on a scope or a power analyzer shows you.
The idea: sine waves are the building blocks of every periodic wave Basic
Think of a chord on a guitar. What you hear is several notes sounding at once, and your ear can still tell which notes are in it. A Fourier series does the same thing to an electrical signal: it tells you which sine-wave frequencies a repeating waveform is made of, how big each one is, and how far each one is shifted in phase.
There is only one condition: the signal must be periodic. The waveform has to repeat itself exactly every seconds. That means the only sine waves allowed in the mix are the ones that fit a whole number of times into that period, namely , and nothing in between.
F1 Periodic signal & fundamental frequency
is the shortest time after which the shape repeats. For the 50 Hz mains: Hz, ms, rad/s.
F2 Harmonic frequencies
is the fundamental, the second harmonic, and so on. A frequency that is not a whole multiple of is called an interharmonic; it has no place in a Fourier series.
F3 Fourier series (trigonometric form)
is the average (DC) value; and say how much cosine and sine at frequency the signal contains. How to find them: T6 (in Thai) or the Fourier series calculator. · Some textbooks write instead of . This series uses = the average over one period, because you can read it straight off as a DC voltage.
F4 Amplitude–phase form (one sine per harmonic)
A cosine and a sine of the same frequency combine into a single sinusoid (harmonic addition, see applications of trigonometry). is the amplitude (peak value) of the n-th harmonic. The angle is treated in C3 (in Thai).
Synthesis: adding sines until you get a square wave Basic
A square wave that swings between has the series : odd harmonics only, with sizes falling off as . Where the formula comes from is worked out in example T-1 (in Thai). For now, take it on trust and check with your own eyes that the terms really add up to a square. The synthesis lab (Thai interface) lets you add one harmonic at a time; the Fourier series calculator gives the coefficients of any waveform you type in.
Using harmonics 1, 3 and 5 of a V square wave, find the value at and at , and the percentage of the power these three terms carry
At the angle is : , ,
At the angle is : , ,
The power (RMS²) of the square wave is . Harmonic carries (P5):
At T/4 the three-term sum overshoots by 10 %, at T/8 by 2 %, yet those three terms already carry 93.3 % of the total power. The fundamental alone carries 81.1 %; the rest is what makes the corners sharp.
Check in the lab: set N = 5 and read “power included”: 93.31 % ✓
The language of harmonics: terms you need to know Basic
Electrical work uses these words every day: in power-quality reports, in drive datasheets and on the screen of a meter.
F5 DC component = the average value
A pure sine wave has . A rectified wave, or a 0-to-5 V pulse train, has . DC is the “zeroth” harmonic.
F6 Odd, even and triplen harmonics
If the negative half-cycle is the positive half-cycle turned upside down, only odd harmonics exist (S4). · Triplen harmonics (odd multiples of 3) add up in the neutral conductor (H10).
F7 Line spectrum: looking at a signal in the frequency domain
A periodic signal has energy only at the frequencies , so its spectrum is a set of separate bars, spaced apart. Instruments usually show the RMS value , or the size as a % of the fundamental.
| Order n | at 50 Hz | at 60 Hz | Typical sources in electrical systems |
|---|---|---|---|
| 0 (DC) | 0 Hz | 0 Hz | half-wave rectification, equipment that has failed on one side |
| 1 (fundamental) | 50 Hz | 60 Hz | the utility supply; almost all the real power is here |
| 2 | 100 Hz | 120 Hz | transformer inrush current, asymmetric loads |
| 3 | 150 Hz | 180 Hz | computer SMPS, LED lamps, saturated transformers → hot neutral |
| 5, 7 | 250, 350 Hz | 300, 420 Hz | 6-pulse three-phase rectifiers, VFDs, UPS (rectifiers, in Thai) |
| 11, 13 | 550, 650 Hz | 660, 780 Hz | 6-pulse (next pair) and 12-pulse rectifiers |
| around | kHz | kHz | switching of PWM inverters (inverters, in Thai) |
Reading off the coefficients without integrating Basic
If a signal is already written as a sum of sinusoids, it is its own Fourier series: just rearrange it to match F3. If it is a power of a sine, the power-reduction formulas from trigonometry turn it into a sum straight away.
V. Find the period, , , , and the RMS value
The angular frequencies present are and rad/s. The largest frequency that both are whole multiples of is → Hz, ms.
Compare with F3: , , ; every other coefficient is zero (there is no 2nd harmonic).
RMS from Parseval (P6): DC counts in full, each sinusoid as
Hz · V · V · V · V
Feed into a device whose output is , and into one whose output is . Which harmonics come out?
Power-reduction formula from trigonometry (in Thai):
Read off: has , · has ,
Squaring (not symmetric) creates DC and even harmonics. Cubing (odd symmetry) creates odd harmonics only. That is why a saturated transformer core (odd characteristic) produces a 3rd harmonic, while a diode (one-sided) produces even harmonics. See S7 (in Thai).
Why electrical engineers need Fourier series Basic
The same principle works from the circuits lab all the way to the substation. Every job in this table has its own lesson in the series (in Thai).
| Field | The question Fourier answers | Read on |
|---|---|---|
| Power quality | What is the THD? Does it pass IEEE 519? Why is the power factor low although cos φ looks fine? | power & harmonics |
| Office buildings | Why do the neutral and the transformer run hot when the load is not even full? | H10 |
| Factories | Why do power-factor capacitors fail, and what % detuning reactor is needed? | mitigation |
| Power electronics | Where are the harmonics of a PWM inverter, and at what frequency should the filter sit? | inverters |
| Power supplies | How big is the ripple of a buck converter, and how high in MHz does its EMI reach? | DC-DC converters |
| Signal filters | What comes out when a square wave goes through an RC filter, and why are the corners rounded? | circuit analysis |
| Instruments | How do the FFT on a scope and a power analyzer compute their numbers, and why are they sometimes wrong? | DFT & FFT |
| Control systems | Predicting limit cycles from the fundamental alone (describing function) | U1 |
What a Fourier series can and cannot handle Intermediate
- Works: periodic signals in steady state that meet the Dirichlet conditions. Every real electrical signal does, even with jumps and sharp corners (P1).
- Not periodic, such as a single pulse: use the Fourier transform, which gives a continuous spectrum. See the signals lab (in Thai).
- Transients, such as the moment a switch closes: use the Laplace transform, then apply Fourier to the steady-state part.
- Unrelated frequencies, such as 50 Hz plus 173 Hz: the sum has no short period. 173 Hz is called an interharmonic, and standard-compliant meters group it separately (D8).
A little history: Joseph Fourier put forward the idea in his work on heat conduction (1807) and published Théorie analytique de la chaleur in 1822. The question of when the series actually converges was answered later by Dirichlet. More in the history of the Fourier and Laplace transforms.
What to learn next Basic
The rest of the series is in Thai for now; formulas, figures and numbers read the same in any language.
- Finding the coefficients step by step: needs integration (by parts) and trigonometry
- Symmetry: cuts the work in half or more
- Complex form and the spectrum and Parseval's theorem: the bridge to RMS and THD
- Table of waveforms: ready-made results for real work
- Applications: circuits → power → rectifiers → inverters → buck converters → mitigation
- Measuring: FFT and the virtual analyzer lab
- Related, in English: Fourier series calculator · What is a Taylor series? · Laurent series vs Taylor series
Frequently asked questions
What is a Fourier series, in one sentence?
It writes a signal that repeats every period as a constant (DC) plus sines and cosines whose frequencies are whole multiples of . Each of those sinusoids is called a harmonic.
What frequency is the 3rd harmonic of a 50 Hz supply?
The n-th harmonic is at , so a 50 Hz supply has its 3rd harmonic at 150 Hz, the 5th at 250 Hz and the 7th at 350 Hz. On a 60 Hz system the 3rd harmonic is at 180 Hz.
How is a Fourier series different from the Fourier transform and the Laplace transform?
A Fourier series is for periodic signals and gives a line spectrum at the frequencies . The Fourier transform is for non-periodic signals and gives a continuous spectrum. The Laplace transform uses and suits transient responses that start at time 0. Harmonics in a power system are a steady-state problem, so they are handled with the Fourier series.
Why does the supply in a building full of computers have high harmonics?
A switch-mode power supply without PFC draws its current in sharp pulses near the voltage peaks. Broken down with a Fourier series, that current is rich in odd harmonics, especially the 3rd, which adds up in the neutral conductor.