The continuous-time Fourier series (CTFS) expresses a periodic continuous-time signal as the weighted sum of sinusoids whose frequencies are related. See also the discrete-time equivalent.
For a periodic function that is neither even nor odd, we use the continuous-time Fourier series:
This is the easiest to use. The cosine and sine Fourier series below are a lot more difficult than just working with exponentials. The coefficients are discrete with respect to and aperiodic.
For a real-valued, even, periodic CT signal with fundamental period , we use the cosine Fourier series:
For a real, odd, periodic CT signal, we use the sine Fourier series:
Computations
We first need to periodise the signal, i.e., find some within the period. Because we can integrate over any one period, this means we should pick the easiest one. It’s sometimes easy if the interval is centred at 0.
Often the easiest period is or . Both will give us the same result.
Then we first compute . Then we compute for . Writing the closed-form summation gives us the CTFS.
Conversions
We have:
- is real and even, the CTFS coefficients are real and even
- is real and odd, the CTFS coefficients are complex and odd
- is complex and even, the CTFS coefficients are complex and even
- is complex and odd, the CTFS coefficients are real and odd
If is a real-valued -periodic signal, the coefficients:
i.e., the magnitude of the coefficients is an even function of .
Properties
There are many useful properties of the CTFS that we can use as “shortcuts” to find the CTFS coefficients. Much like the Laplace transform!
Orthogonality is a useful property that states for any :
What this means is that if we compute out the sum/product of or functions, this lets us find the harmonics very easily, i.e., harmonics where the above is 1 are only valid, which allows us to find the coefficients.
Its relationship with the CTFT is as follows:1
Table of properties
For functions and their coefficients: #todo For a time shift by , :
A frequency shift by , :
A complex conjugation, :
A time-reversal, :
Differentiation:
Convolution, :
Multiplication, :
The real and imaginary parts (note that they’re just the and parts respectively due to Euler’s formula):
Premise
If we choose to restrict the number of terms of the sum, we find a pretty competent approximation and representation of the signal. The premise is that for some building block signals (sinusoids and exponentials), we can construct a new signal with a linear combination:
where are constant weighting coefficients. Then, if we can find such that , then we say is a representation of in the basis .
There’s two ways we can derive the CTFS. One is to find an approximation that minimises the mean squared error (energy of the error):
where we want to find constants that minimises . By theorem, the selection of coefficients that minimises the MSE are the CTFS coefficients. So the best possible approximation to within signals is the complex exponential CTFS.
Some comments on the CTFS:
- The magnitude tells us how strongly the frequency harmonic appears in the overall signal .
- The term in is constant; called the “DC” term”.
Prof Najm says that the Fourier series essentially breaks down signals into the superposition of sinusoids. Like how white light can diffuse into a combination of many other colours.
Related topics
Footnotes
-
From Prof Simpson-Porco’s lecture notes. ↩