FREQUENCY-DOMAIN ANALYSIS OF LTI SYSTEMS Contents: 2 Contents: 3 RECALL : 4 RECALL : 5 RECALL : π΄π πππ β¦ π΄π» π π πππ ∀π π΄πππ ππ β¦ π΄ π» π πππ ππ + Θ(π) π΄π ππ ππ β¦ π΄ π» π π ππ ππ + Θ(π) 6 Steady-State Response to Periodic Input Signals 7 Steady-State Response to Periodic Input Signals : 8 Steady-State Response to Periodic Input Signals : 9 Steady-State Response to Periodic Input Signals : 10 Steady-State Response to Periodic Input Signals : π₯(π) π»(π) π¦(π) 11 Response to Aperiodic Input Signals 12 RECALL : 13 Response to Aperiodic Input Signals : 14 Response to Aperiodic Input Signals : 15 Response to Aperiodic Input Signals : o By its very nature, a finite-energy aperiodic signal contains a continuum of frequency components. o The LTI system, through its frequency response function, attenuates some frequency components of the input signal and amplifies other frequency components. Thus the system acts as a filter to the input signal. o Observation of the graph of |π―(π)| shows which frequency components are amplified and which are attenuated. o On the other hand, the angle of π―(π) determines the phase shift imparted in the continuum of frequency components of the input signal as a function of frequency. 16 Response to Aperiodic Input Signals : o If the input signal spectrum is changed by the system in an undesirable way, we say that the system has caused magnitude and phase distortion. o We also observe that the output of an LTI system cannot contain frequency components that are not contained in the input signal. o It takes either a linear time-variant system or a nonlinear system to create frequency components that are not necessarily contained in the input signal. 17 Response to Aperiodic Input Signals : o Figure 5.1.3 illustrates the time-domain and frequency-domain relationships that can be used in the analysis of BIBO-stable LTI systems. o We observe that in time domain analysis, we deal with the CONVOLUTION of the input signal with the impulse response of the system to obtain the output sequence of the system. o On the other hand, in frequency-domain analysis, we deal with the input signal spectrum π(π) and the frequency response π»(π) of the system, which are related through MULTIPLICATION, to yield the spectrum of the signal at the output of the system. 18 Response to Aperiodic Input Signals : 19 Response to Aperiodic Input Signals : 20 Response to Aperiodic Input Signals : 21 EX. 5.1.5 22 Ex. 5.1.5 : 23 Ex. 5.1.5 : 24 Ex. 5.1.5 : 1 π» π = 1 − 0.5π −ππ 1 ∗ π» π = 1 − 0.5π ππ π» π × π»∗ π = π» π 2 1 1 = 1 − 0.5π −ππ 1 − 0.5π ππ 1 = 1 − 0.5π −ππ − 0.5π ππ + 0.25 1 = 5 − cos π 4 1 π π = 1 − 0.25π −ππ 1 ∗ π π = 1 − 0.25π ππ π π × π∗ π = π π 2 1 1 = 1 − 0.25π −ππ 1 − 0.25π ππ 1 = 1 − 0.25π −ππ − 0.25π ππ + 0.0625 1 = 17 1 − cos π 16 2 25 Ex. 5.1.5 : v π π π» π 2 1 = 17 1 − cos π 16 2 2 = 1 5 − cos π 4 26 Frequency Response of LTI Systems 27 Frequency Response of LTI Systems : 28 Frequency Response of a System with a Rational System Function 29 Frequency Response of a System with a Rational System Function : 30 Frequency Response of a System with a Rational System Function : 31 Frequency Response of a System with a Rational System Function : π (1 − π§π π§ −1 ) 1 Replacing π§ with ∗ π§ (1 − π§π π§ ∗ ) Now taking conjugation 1 − π§π π§ ∗ ∗ = 1 − π§π∗ π§ Replacing π with ∗ π and taking conjugation ∗ ςπ (1 − π§ π=1 π π§) π0 π ΰΈ ∗ ςπ=1(1 − ππ π§) = π§=π ππ ∗ ππ ςπ (1 − π§ π=1 ππ ) π0 π = ∗ ππ ςπ=1(1 − ππ π ) Evaluating @ UC π» ∗ (π) 32 Frequency Response of a System with a Rational System Function : Replacing π with −π ∗ π» (π) = π ∗ ππ ςπ=1(1 − π§π π ) π0 π ςπ=1(1 − ππ∗ π ππ ) 33 Frequency Response of a System with a Rational System Function : 34 Frequency Response of a System with a Rational System Function : Parseval’s Theorem: ∞ π πΈπ¦ = ΰ· π¦(π) π=−∞ 2 1 ΰΆ± π(π) 2 ππ = 2π −π π 1 2 2 ΰΆ± π(π) π»(π) ππ = 2π −π Hence π―(π) π shows how the system transfers ENERGY or POWER from the input signal to the output signal. To 2 emphasize this interpretation, we often refer to π»(π) as the (energy or power) GAIN of the system. 35 Frequency Response of a System with a Rational System Function : For real π₯(π): π π§ = π ∗ (π§ ∗ ) ο 1 −1 ∗ π π§ =π π§∗ 36 Frequency Response of a System with a Rational System Function : 37 Frequency Response of a System with a Rational System Function : 38 Frequency Response of a System with a Rational System Function : 39 EX. 5.2.1 40 Ex. 5.2.1 : π» π 2 : Magnitude squared of π» π . 41 Ex. 5.2.1 : roots([1 0.1 -0.2]).' = -0.5000 0.4000 42 Ex. 5.2.1 : conv([1 1],fliplr([1 1])) conv([1 0.1 -0.2],fliplr([1 0.1 -0.2])) ans = 1 2 1 ans = -0.2000 0.0800 1.0500 0.0800 -0.2000 43 Ex. 5.2.1 : 44 Frequency Response of a System with a Rational System Function : z1 = 5*exp(j*pi/4); z2 = 5*exp(j*pi/3); z1*conj(z1) z2*conj(z2) ans = 25 ans = 25 45 COMPUTATION of Frequency Response Function 46 Computation of Frequency Response Function : 47 Computation of Frequency Response Function : 48 Computation of Frequency Response Function : 49 Computation of Frequency Response Function : Eq. (5.2.17) ο the Magnitude Response at a certain freq. π is given by the Product of the lengths of the vectors drawn from the zeros to z = ππ π divided by the Product of the lengths of ππ vectors drawn from the poles to z = π . 50 Computation of Frequency Response Function : 51 Computation of Frequency Response Function : Clearly, if we know the zeros and the poles of the system function π»(π§), we can evaluate the frequency response from (5.2.17) and (5.2.18). 52 Computation of Frequency Response Function : 53 Computation of Frequency Response Function : 54 Computation of Frequency Response Function : 55 Computation of Frequency Response Function : 56 Computation of Frequency Response Function : 57 Computation of Frequency Response Function : 58 EX. 5.2.2 59 Ex. 5.2.2 : 60 Ex. 5.2.2 : 61 Ex. 5.2.2 : clearvars; close all; clc; FS = 'FontSize'; p1 = 0.8; b = [1]; a = [1 -p1]; w = [-pi : 1e-2 : pi]; H = freqz(b,a,?); % Magnitude Response H_mag = abs(?); subplot(211); plot(?,H_mag); grid; hold on; xlabel('Normalized Freq. (\times \pi Rad / Sample)'); ylabel('Magnitude (dB)'); % Phase Response H_ph = angle(H); subplot(212); plot(?,H_ph); grid; figure; zplane(b,a); grid; Note that the peak of the π»(π)|occurs at π = 0, the point on the UC closest to the pole located at 0.8. 62 Computation of Frequency Response Function : 63 Pr. 5.35 64 Pr. No. 5.35 : 65 Pr. No. 5.35 : 66 Pr. No. 5.35 : l = (1-exp(j*3*pi/4)); l2 = l*conj(l) G = 1/4/l2 l2 = 3.4142 G= 0.0732 67 Pr. No. 5.35 : A second order system has a double pole at π1,2 = 0.75 and two zeros at π ±π 4 . π§ =π 1,2 (i) Compute the frequency response π»(π) of the filter. (ii) Using geometric arguments, choose the gain πΊ of the filter so that |π»(0)| = 1. (iii) Test your answer by putting the value of πΊ in π»(π). 68 Pr. No. 5.35 : π1,2 = 0.75; π§1,2 = π π ±π 4 1 − π§1 π§ −1 1 − π§2 π§ −1 π» π§ =πΊ 1 − π1 π§ −1 1 − π2 π§ −1 =πΊ οπ» π =πΊ π π 4 −ππ 1−π π π −π 4 −ππ 1−π π −ππ 2 1−0.75π 1− π π 4 −1 π π§ οπ» 0 =πΊ 16πΊ 1 − π π π −π 4 −1 π π§ 1− 1 − 0.75π§ −1 π π4 π −π 4 1−π 1−π 1−0.75 2 π 4 1−π −π 1 οπΊ = 16 1−π π π4 1−π π −π 4 π 4 = 2 = =1 1 9.3726 = 0.1067 69 Pr. No. 5.35 : 70 Pr. No. 5.35 : π1 = π π2 = π π π 4 − π π0 = 0.7654 π −π 4 − π π0 = 0.7654 π1 = 0.75 − π π0 = 0.25 π2 = 0.75 − π π0 = 0.25 ο π» 0 π1 × π2 =πΊ = πΊ × 9.3726 = 1 π1 × π2 οπΊ = 1 9.3726 = 0.1067 71 Pr. No. 5.35 : 72 Pr. No. 5.35 : π π −ππ 1−π 4 π ο π» π = π. ππππ ο π» π = 0.1067 0.1067 π π 1−π 4 1−0.75π π π 1−π 4 1.7071 2 − 2 cos π −π 1−π 4 −π0 2 1−0.75π π −π 1−π 4 1−0.75 π −π 1−π 4 π −ππ −ππ 2 2 = 0.1067 = π π 1−π 4 π −π 1−π 4 1−0.75 2 = π 4 = 1.7071 × 0.5858 = π. ππππ 73 §5.4 Linear Time-Invariant Systems as Frequency-Selective Filters 74 DISCLAIMER 75 These power point slides are NOT SUBSTITUTE of reading TEXT BOOK(S). You’re ALWAYS DIRECTED to CAREFULLY READ the relevant book chapter and SOLVE ALL Examples and End Problems. 76 REFERENCES : [1] [Manolakis-2011] Applied Digital Signal Processing 77