You are here

A Signal's Spectrum

2 June, 2016 - 15:17

A periodic signal, such as the half-wave rectified sinusoid, consists of a sum of elemental sinusoids. A plot of the Fourier coefficients as a function of the frequency index, such as shown in Figure 4.3 (Fourier Series spectrum of a half-wave rectified sine wave), displays the signal's spectrum. The word "spectrum" implies that the independent variable, here k, corresponds somehow to frequency. Each coefficient is directly related to a sinusoid having a frequency of \frac{k}{T}.Thus, if we half-wave rectified a 1 kHz sinusoid, k =1 corresponds to 1 kHz, k =2 to 2 kHz, etc.

media/image439.png
Figure 4.3 Fourier Series spectrum of a half-wave rectified sine wave
The Fourier series spectrum of a half-wave rectified sinusoid is shown. The index indicates the multiple of the fundamental frequency at which the signal has energy.  

A subtle, but very important, aspect of the Fourier spectrum is its uniqueness: You can unambiguously find the spectrum from the signal (decomposition (4.15)) and the signal from the spectrum (composition). Thus, any aspect of the signal can be found from the spectrum and vice versa. A signal's frequency domain expression is its spectrum. A periodic signal can be defined either in the time domain (as a function) or in the frequency domain (as a spectrum).

A fundamental aspect of solving electrical engineering problems is whether the time or frequency domain provides the most understanding of a signal's properties and the simplest way of manipulating it. The uniqueness property says that either domain can provide the right answer. As a simple example, suppose we want to know the (periodic) signal's maximum value. Clearly the time domain provides the answer directly. To use a frequency domain approach would require us to find the spectrum, form the signal from the spectrum and calculate the maximum; we're back in the time domain!

Another feature of a signal is its average power. A signal's instantaneous power is defined to be its square. The average power is the average of the instantaneous power over some time interval. For a periodic signal, the natural time interval is clearly its period; for nonperiodic signals, a better choice would be entire time or time from onset. For a periodic signal, the average power is the square of its root-mean-squared (rms) value. We define the rms value of a periodic signal to be

rms(s)=\sqrt{\frac{1}{T}\int_{0}^{T}s^2(t)dt}       (4.20)

and thus its average power is

\begin{align*} power(s)&=rms^2(s)\\ &=\frac{1}{T}\int_{0}^{T}s^2(t)dt\\ \end{align*}

Exercise 4.4.1

What is the rms value of the half-wave rectified sinusoid?

To find the average power in the frequency domain, we need to substitute the spectral representation of the signal into this expression.

power(s)=\frac{1}{T}\int_{0}^{T}\left ( a_0+\sum_{k=1}^{\infty }\left ( a_kcos\left ( \frac{2\pi kt}{T} \right ) \right )+\sum_{k=1}^{\infty }\left ( b_ksin\left ( \frac{2\pi kt}{T} \right ) \right ) \right )^2dt

The square inside the integral will contain all possible pairwise products. However, the orthogonality properties (4.12) say that most of these crossterms integrate to zero. The survivors leave a rather simple expression for the power we seek.

power(s)=a{_{0}}^{2}+\frac{1}{2}\sum_{k=1}^{\infty }\left ( a{_{k}}^{2}+b{_{k}}^{2} \right )

media/image444.png
Figure 4.4 Power Spectrum of a Half-Wave Rectified Sinusoid
Power spectrum of a half-wave rectified sinusoid.  

It could well be that computing this sum is easier than integrating the signal's square. Furthermore, the contribution of each term in the Fourier series toward representing the signal can be measured by its contribution to the signal's average power. Thus, the power contained in a signal at its kth harmonic is\frac{a_k^2+b_k^2}{2} . The power spectrum, Ps (k), such as shown inFigure 4.4, plots each harmonic's contribution to the total power.

Exercise 4.4.2

In high-end audio, deviation of a sine wave from the ideal is measured by the total harmonic distortion, which equals the total power in the harmonics higher than the first compared to power in the fundamental. Find an expression for the total harmonic distortion for any periodic signal. Is this calculation most easily performed in the time or frequency domain?