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?
0.90 V. A ±1 square wave's fundamental has amplitude 4/π = 1.27, and the filter passes it at of that: 0.90 V, 45° late. The third harmonic, 0.42 at the input, is cut to 0.13.
Name it
Eigenfunctions
Put into an LTI system with impulse response h:
The output is the input times a number, , the transfer function. On the jω axis, is the frequency response, and for a real system a real sinusoid comes out as
Periodic inputs
A periodic signal is a sum of harmonics, (A10's Fourier series). Each passes through on its own:
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 .
Discrete time
is the eigenfunction: with , and on the unit circle , where
For example, the two-point average has : 1 at ω = 0, and 0 at ω = π, where it cancels the alternating sequence completely. A periodic sequence of period N needs only N harmonics, 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
- The filter.
- Fundamental. At the gain is : at −45°.
- Third harmonic. At the gain is : at .
- 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 do to ?
Show the solution
- Frequency response.
- Evaluate at ω = π/2. The gain is and the phase is −45°, half a sample of delay.
- Output.
Answer it scales the cosine by 0.707 and delays it half a sample: .
Worked example
What does do to ?
Show the solution
- Frequency response.
- Evaluate at ω = π/4. There , so a gain of and a phase of +45°.
- Output.
- 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°: .
Check
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 drives an RC low-pass whose corner is at . 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 is fed . What is its gain?
Check
A system has , so .
(a)
What is its gain at ω = 0?
(b)
What is its gain at ω = π?
Check
(for all t) goes into . The output is . 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
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?
Each complex exponential going into an LTI system comes out as the same exponential multiplied by a number, H at that frequency. A general input is a sum of exponentials, and linearity means the output is the sum of their individual outputs, so it contains exactly the input's frequencies, each scaled and phase-shifted, and nothing else. New frequencies, like harmonics from clipping or the sum and difference tones of a mixer, need a nonlinear or time-varying system.
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.