C914 of 55
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

C9 · Lesson 14 · Sinusoids through LTI systems

Why complex exponentials come out unchanged in shape

Feed a sine wave into any LTI system, an amplifier, a filter, a loudspeaker in a room, and a sine wave of the same frequency comes out. Its size and timing change, but never its shape. That's not true of a square wave or a pulse, which come out rounded or smeared. Complex exponentials are the signals LTI systems can't distort, the system's eigenfunctions, and the factor each one is multiplied by is the frequency response. So the way to understand what an LTI system does to any signal is to split the signal into sinusoids, scale each one, and add them back up.

  • A ±1 square wave, built from its first seven odd harmonics, goes through an RC low-pass. r is the ratio of the square wave's frequency to the filter's corner.
  • With r small, the corner is far above every harmonic and the output looks like the input. Raise r: the high harmonics are cut and delayed more than the low ones, and the corners round off.
  • At r = 1, the fundamental passes at 0.707 of its size, 45° late, but the 13th harmonic is down to 0.077 of its size. Past r = 5 what's left is nearly a sine wave: only the fundamental gets through.

Predict

A ±1 V square wave at 1 kHz drives an RC low-pass with its corner at 1 kHz. How big is the 1 kHz sine wave at the output?

Name it

Eigenfunctions

Put x(t)=est into an LTI system with impulse response h:

y(t)=∫h(τ)es(t−τ)dτ=est∫h(τ)e−sτdτ=H(s)est

The output is the input times a number, H(s), the transfer function. On the jω axis, H(jω)=∫h(t)e−jωtdt is the frequency response, and for a real system a real sinusoid comes out as

Acos⁡(ωt+ϕ)→A|H(jω)|cos⁡(ωt+ϕ+∠H(jω))

Periodic inputs

A periodic signal is a sum of harmonics, x(t)=∑kakejkω0t (A10's Fourier series). Each passes through on its own:

y(t)=∑kakH(jkω0)ejkω0t

so the output's harmonics are the input's, each scaled and shifted by the frequency response at its frequency. A ±A square wave has odd harmonics only, with sine amplitudes 4A/(πk).

Discrete time

zn is the eigenfunction: zn→H(z)zn with H(z)=∑nh[n]z−n, and on the unit circle ejωn→H(ejω)ejωn, where

H(ejω)=∑nh[n]e−jωn

For example, the two-point average h=[12,12] has |H(ejω)|=|cos⁡(ω/2)|: 1 at ω = 0, and 0 at ω = π, where it cancels the alternating sequence completely. A periodic sequence of period N needs only N harmonics, ej2πkn/N for k = 0 to N − 1, because the others repeat them.

Worked example

The ±1 square wave at 1 kHz goes through the RC low-pass with a 1 kHz corner. Find the output's first and third harmonics.

Show the solution
  1. The filter. H=1/(1+jf/fc)
  2. Fundamental. At f=fc the gain is 1/2: 4π⋅12=1.273×0.707=0.900 at −45°.
  3. Third harmonic. At f=3fc the gain is 1/10: 43π⋅110=0.424×0.316=0.134 at −arctan⁡3=−71.6°.
  4. Compare. The third harmonic falls from a third of the fundamental to under a sixth of it.

Answer the fundamental comes out at 0.900 and −45°, and the third harmonic at 0.134 and −71.6°.

Worked example

What does y[n]=12(x[n]+x[n−1]) do to cos⁡(πn/2)?

Show the solution
  1. Frequency response. H(ejω)=12(1+e−jω)=e−jω/2cos⁡(ω/2)
  2. Evaluate at ω = π/2. The gain is cos⁡(π/4)=0.707 and the phase is −45°, half a sample of delay.
  3. Output. y[n]=0.707cos⁡(πn/2−π/4)

Answer it scales the cosine by 0.707 and delays it half a sample: 0.707cos⁡(πn/2−π/4).

Worked example

What does y[n]=x[n]−x[n−2] do to cos⁡(πn/4)?

Show the solution
  1. Frequency response. H(ejω)=1−e−2jω
  2. Evaluate at ω = π/4. There e−jπ/2=−j, so H=1+j a gain of 2=1.414 and a phase of +45°.
  3. Output. y[n]=1.414cos⁡(πn/4+π/4)
  4. The whole band. The same filter blocks DC (H = 0 at ω = 0) and ω = π, so it passes a band in between.

Answer it multiplies the cosine by 1.414 and shifts its phase by +45°: 1.414cos⁡(πn/4+π/4).

Check

Acos⁡(2πft) with A = 1 V and f = 100 Hz goes into an RC low-pass with its corner at 3000 Hz.

(a)

What is the output amplitude?

Write units the way you normally would: 1.5 V, 1500 mV and 0.0015 kV are the same answer.

(b)

What is its phase relative to the input, in degrees?

Check

A ±1 V square wave at f0 drives an RC low-pass whose corner is at f0/2. What is the amplitude of the output's harmonic 3?

Write units the way you normally would: 1.5 V, 1500 mV and 0.0015 kV are the same answer.

Check

The two-point average y[n]=12(x[n]+x[n−1]) is fed cos⁡(1n). What is its gain?

Check

A system has h[n]=(0.8)nu[n], so H(ejω)=1/(1−ae−jω).

(a)

What is its gain at ω = 0?

(b)

What is its gain at ω = π?

Check

x(t)=e2t (for all t) goes into h(t)=e−3tu(t). The output is Ke2t. What is K?

Check

A periodic input's harmonic at 3 kHz has size 0.5. The system's |H| at 3 kHz is 0.8. How big is that harmonic at the output?

Check

A 50 Hz sine wave goes into an LTI system. What can come out?

Check

A ±1 square wave goes through an RC low-pass whose corner is 0.5 times the square wave's fundamental.

(a)

How big is harmonic 3 at the output?

(b)

What phase does the filter give it?

Check

y[n]=12(x[n]+x[n−1]) at ω = 1 rad/sample.

(a)

What is its gain?

(b)

What is its phase?

Explain why

Why can't an LTI system create a frequency that isn't in its input?

Practice

Keep practicing

11 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.