Line Spectra and their Applications

Agenda

Last time

  • Exponents and Euler's Equation
  • The Exponential Fourier series
  • Symmetry in Exponential Fourier Series
  • Example

This Time

  • Line spectra
  • Power in periodic signals
  • Steady-state response of an LTI system to a periodic signal

Line Spectra

When the Exponential Fourier series are known is is useful to plot the amplitude and phase of the harmonics on a frequency scale.

This is the spectrum of the Exponential Fourier Series calculated last time

Line Spectra for Trig. FS

If we take the results for the Exponential Fourier Series and gather terms, the amplitudes for the Trig. Fourier Series are given by:

$$a_0 = 2C_0$$

$$a_1 = (C_k + C_{-k})$$

$$b_k = j(C_k - C_{-k})$$

Applying this to the previous result we get

Example 3

Compute the exponential Fourier series for the waveform shown below and plot its line spectra.

Solution

The recurrent rectangular pulse is used extensively in digital communication systems. To determine how faithfully such pulses will be transmitted, it is necessary to know the frequency components.

What do we know?

  • The pulse duration is $T/w$.
  • The recurrence interval $T$ is $w$ times the pulse duration.
  • $w$ is the ratio of pulse repetition time to the pulse duration – normally called the duty cycle.

Coefficients of the Exponential Fourier Series?

Given

$$C_k = \frac{1}{2\pi}\int_{-\pi}^{\pi} f(\Omega_0 t)e^{-jk(\Omega_0 t)}\,d(\Omega_0 t)$$

  • Is the function even or odd?
  • Does the signal have half-wave symmetry?
  • What are the cosequencies of symmetry on the form of the coefficients $C_k$?
  • What function do we actually need to integrate to compute $C_k$?

DC Component?

Let $k = 0$ then perform the integral

Harmonic coefficients?

Integrate for $k\ne 0$

Exponential Fourier Series?

Effect of pulse width on frequency spectra

  • Recall pulse width = $T/w$

w = 2

$\Omega_0 = 1$ rad/s; $w = 2$; $T = 2\pi$ s; $T/w = \pi$ s.

w = 5

$\Omega_0 = 1$ rad/s; $w = 5$; $T = 2\pi$ s; $T/w = 2\pi/5$ s.

w = 10

$\Omega_0 = 1$ rad/s; $w = 10$; $T = 2\pi$ s; $T/w = \pi/5$ s.

Implications

  • As the width of the pulse reduces the width of the freqency spectra needed to fully describe the signal increases
  • more bandwidth is needed to transmit the pulse.

Example 4

Use the result of Example 1 to compute the exponential Fourier series of the impulse train $\delta(t\pm 2\pi k)$ shown below

Solution

To solve this we take the previous result and choose amplitude (height) $A$ so that area of pulse is unity. Then we let width go to zero while maintaining the area of unity. This creates a train of impulses $\delta(t\pm 2\pi k)$.

$$C_n = \frac{1}{2\pi}$$

and, therefore

$$f(t) = \frac{1}{2\pi}\sum_{k=-\infty}^{\infty} e^{jk\Omega_0 t}$$

Try it!

Proof!

From the previous result,

$$C_n = \frac{A}{w}.\frac{\sin(k\pi/w)}{k\pi/w}$$

and the pulse width was defined as $T/w$, that is

$$\frac{T}{w}=\frac{2\pi}{w}$$

Let us take the previous impulse train as a recurrent pulse with amplitude

$$A = \frac{1}{T/w} = \frac{1}{2\pi/w} = \frac{w}{2\pi}.$$

Pulse with unit area

The area of each pulse is then

$$\frac{2\pi}{w}\times\frac{w}{2\pi} = 1$$

and the pulse train is as shown below:

New coefficents

The coefficients of the Exponential Fourier Series are now:

$$C_n = \frac{w/2\pi}{w}\frac{\sin(k\pi/w)}{k\pi/w} = \frac{1}{2\pi}\frac{\sin(k\pi/w)}{k\pi/w}$$

and as $\pi/w \to 0$ each recurrent pulse becomes a unit impulse, and the pulse train reduces to a unit impulse train.

Also, recalling that

$$\lim_{x\to 0} \frac{sin x}{x} = 1$$

the coefficents reduce to

$$C_n = \frac{1}{2\pi}$$

That is all coefficients have the same amplitude and thus

$$f(t) = \frac{1}{2\pi}\sum_{n=-\infty}^{\infty} e^{jk\Omega_0 t}$$

Spectrum of Unit Impulse Train

The line spectrum of a sequence of unit impulses $\delta(t \pm kT)$ is shown below:

Another Interesting Result

Consider the pulse train agin:

What happens when the pulses to the left and right of the centre pulse become less and less frequent? That is what happens when $T \to \infty$?

Well?

  • As $T\to \infty$ the fundamental frequency $\Omega_0 \to 0$
  • We are then left with just one pulse centred around $t=0$.
  • The frequency difference between harmonics also becomes smaller.
  • Line spectrum becomes a continous function.

This result is the basis of the Fourier Transform which is coming next.

Power in Periodic Signals

In your previous courses you may have come across the definitions of Signal Energy, Average Signal Power and Root Mean Square Power:

$$E = \int_0^T |f(t)|^2 dt$$

$$P_{\mathrm{av}} = \frac{1}{T}\int_0^T |f(t)|^2 dt$$

$$P_{\mathrm{RMS}} = \sqrt{\frac{1}{T}\int_0^T |f(t)|^2 dt}$$

Parseval's Theorem

Parseval's Theorem states that the total average power of a a periodic signal $f(t)$ is equal to the sum of the average powers of all its harmonic components.

The power in the $k$th harmonic $C_ke^{jk\Omega_0 t}$ is given by

$$P_k = \frac{1}{T}\int_0^T\left|C_ke^{jk\Omega_0 t}\right|^2\,dt = \frac{1}{T}\int_0^T\left|C_k\right|^2\,dt=\left|C_k\right|^2$$

Since $P_k = P_{-k}$, the total power of the $k$th harmomic is $2P_k$.

Parseval's theorem states that

$$P = \frac{1}{T}\int_0^T \left|f(t)\right|^2\,dt = \sum_{k=-\infty}^{\infty}\left|C_k\right|^2.$$

RMS Power

By a similar argument:

$$P_{\mathrm{RMS}} = \sqrt{\frac{1}{T}\int_0^T \left|f(t)\right|^2\,dt} = \sqrt{\sum_{k=-\infty}^{\infty}\left|C_k\right|^2}.$$

Example 4

Compute the average power of a pulse train for which the pulse width is $T/2$ (duty cycle 50%). Use the previous result:

$$C_n = \frac{A}{w}.\frac{\sin(k\pi/w)}{k\pi/w}$$

as your starting point.

Power Spectrum

The power spectrum of signal is the sequence of average powers in each complex harmonic: $|C_k|^2$. For real perodic signals the power spectrum is a real even sequence as $|C_{-k}|^2 = |C_k^*|^2 = |C_k|^2$.

This is the power spectrum for a pulse with width $T/8$.

Total Harmonic Distortion

Suppose that a signal that is supposed to be a pure sine wave of amplitude A is distorted as shown below

THD Defined

Clearly, some of the harmonics for $k\ne \pm 1$ are nonzero. One way to characterie the distortion is to compute the ratio of average power in all the harmonics that "should not be present", that is for $k > 1$, to the total average power of the distorted sine wave. The square-root of this ratio is called the total harmonic distortion (THD) of the signal.

If the signal is real and based on a sine wave (that is odd), then $C_k=0$ and

$$f_{\mathrm{RMS}}=\sqrt{\sum_{k=1}^{\infty}2|C_k|^2}$$

and we can define the THD as the ratio of the RMS value for all the harmonics for $K>1$ (the distortion) to the RMS of the fundamental which is $\sqrt{2\left|C_1\right|^2}:$

$${\text{THD}} = 100\sqrt {\frac{{\sum\limits_{k = 2}^\infty {{{\left| {{C_k}} \right|}^2}} }}{{{{\left| {{C_1}} \right|}^2}}}}\% $$

Computation of THD

Steady-State Response of an LTI System to a Periodic Signal

The response of an LTI system with impulse response $h(t)$ to a complex exponential signal $e^{st}$ is the same complex exponential multiplied by a complex gain: $y(t) = H(s)e^{st}$, where:

$$H(s)=\int_{-\infty}^{\infty}h(\tau)e^{-s\tau}\,d\tau.$$

In particular, for $s = j\omega$, the output is simply $y(t)=H(j\omega)e^{j\omega t}$.

The complex functions $H(s)$ and $H(j\omega)$ are called the system's transfer function and frequency response, respectively.

By superposition

The output of an LTI system to a periodic function with period $T$ represented by a Fourier series is given by:

$$y(t)=\sum_{k=-\infty}^{\infty} C_kH(jk\Omega_0)e^{jk\Omega_0 t}$$

where $\Omega_0 = T/2\pi$ is the fundamental frequency.

Thus $y(t)$ is a Fourier series itself with coefficients $D_k$:

$$D_k = C_kH(jk\Omega_0)$$

Implications of this important result

The effect of an LTI sustem on a periodic input signal is to modify its Fourier series through a multiplication by its frequency response evaluated at the harmonic frquencies.

Illustration

This picture below shows the effect of an LTI system on a periodic input in the frequency domain.

Filtering

A consequence of the previous result is that we can design a system that has a desirable frequency spectrum $H(jk\Omega_0)$ that retains certain frequencies and cuts off others.

We will return to this idea later.

End of Second Hour

Summary

  • Line spectra
  • Power in periodic signals
  • Steady-state response of an LTI system to a periodic signal

Next Time

  • The Fourier Transform