Salta al contenuto
Note per Studenti Frequency Response of LTI Systems Report

Frequency Response of LTI Systems

In questa pagina 4

LTI convolutional systems and ODEs describe the same objects. Consider the system with input u(t)u(t), impulse response h(t)h(t) and output y(t)y(t), described by the ODE

∑n=0Nandndtny(t)=∑m=0Mbmdmdtmu(t).\sum_{n=0}^{N}a_n\frac{d^n}{dt^n}y(t)=\sum_{m=0}^{M}b_m\frac{d^m}{dt^m}u(t).

The impulse response satisfies the same equation with the impulse as input: ∑n=0Nanh(n)(t)=∑m=0Mbmδ(m)(t).\sum_{n=0}^{N}a_nh^{(n)}(t)=\sum_{m=0}^{M}b_m\delta^{(m)}(t).

Definition of the frequency response

The frequency response is, by definition, the Fourier transform of the impulse response (see Fourier TransformThe Fourier transform extends the Fourier series to aperiodic signals: intuitive derivation from a periodic square wave with growing period, definition of the transform and of its inverse, convergence results in L1 and L2 and the Plancherel and Parseval relation.Fourier Transform →):

H(jω)=∫−∞+∞h(t)e−jωtdt=F[h(t)].H(j\omega)=\int_{-\infty}^{+\infty}h(t)e^{-j\omega t}dt=\mathcal F[h(t)].

The output equation is y(t)=h∗u(t)y(t)=h*u(t). By the convolution theorem (Properties of the Fourier TransformProperties of the Fourier transform with proofs: time shift, modulation, rescaling, convolution theorem, temporal product, time-frequency duality, symmetries, derivative, integral and multiplication by t, followed by worked exercises on a ramp-times-rectangle and on the squared sinc.Properties of the Fourier Transform →):

Y(jω)=H(jω) U(jω) ⟹ H(jω)=Y(jω)U(jω),Y(j\omega)=H(j\omega)\,U(j\omega)\ \Longrightarrow\ \boxed{H(j\omega)=\frac{Y(j\omega)}{U(j\omega)}},

with Y(jω)=F[y(t)]Y(j\omega)=\mathcal F[y(t)] and U(jω)=F[u(t)]U(j\omega)=\mathcal F[u(t)].

The frequency-domain equation

Idea: through the FT we can find a frequency-domain equation describing LTI convolutional systems instead of using ODEs. Transform both sides of the ODE and use linearity:

∑n=0NanF ⁣[dndtny(t)]=∑m=0MbmF ⁣[dmdtmu(t)].\sum_{n=0}^{N}a_n\mathcal F\!\left[\frac{d^n}{dt^n}y(t)\right]=\sum_{m=0}^{M}b_m\mathcal F\!\left[\frac{d^m}{dt^m}u(t)\right].

With the derivative property F[x˙(t)]=jω X(jω)\mathcal F[\dot x(t)]=j\omega\,\mathcal X(j\omega), F[x¨(t)]=(jω)2X(jω)\mathcal F[\ddot x(t)]=(j\omega)^2\mathcal X(j\omega), …\dots, F ⁣[dℓdtℓx(t)]=(jω)ℓX(jω)\mathcal F\!\left[\frac{d^\ell}{dt^\ell}x(t)\right]=(j\omega)^\ell\mathcal X(j\omega):

∑n=0Nan(jω)nY(jω)=∑m=0Mbm(jω)mU(jω) ⟹ Y(jω)∑n=0Nan(jω)n=U(jω)∑m=0Mbm(jω)m.\sum_{n=0}^{N}a_n(j\omega)^nY(j\omega)=\sum_{m=0}^{M}b_m(j\omega)^mU(j\omega)\ \Longrightarrow\ Y(j\omega)\sum_{n=0}^Na_n(j\omega)^n=U(j\omega)\sum_{m=0}^Mb_m(j\omega)^m .

Since H=Y/UH=Y/U, the frequency response of an LTI convolutional system is the ratio of two polynomials in jωj\omega:

H(jω)=∑m=0Mbm(jω)m∑n=0Nan(jω)n.\boxed{H(j\omega)=\frac{\sum_{m=0}^{M}b_m(j\omega)^m}{\sum_{n=0}^{N}a_n(j\omega)^n}}.

Consideration (from the notes): perhaps ODEs can be solved with lower effort by computing h+(t)=F−1[H(jω)]h_+(t)=\mathcal F^{-1}[H(j\omega)].

Example

d2dt2y(t)+4ddty(t)+3y(t)=u(t),a2=1, a1=4, a0=3, b0=1.\frac{d^2}{dt^2}y(t)+4\frac d{dt}y(t)+3y(t)=u(t),\qquad a_2=1,\ a_1=4,\ a_0=3,\ b_0=1 .

H(jω)=(jω)0(jω)2+4(jω)1+3(jω)0=1−ω2+j4ω+3.H(j\omega)=\frac{(j\omega)^0}{(j\omega)^2+4(j\omega)^1+3(j\omega)^0}=\frac1{-\omega^2+j4\omega+3}.

How to retrieve h(t)=F−1[H(jω)]h(t)=\mathcal F^{-1}[H(j\omega)]? Rewrite H(jω)H(j\omega) in terms that we know how to anti-transform. Recall F[e−at1(t)]=1a+jω\mathcal F[e^{-at}\mathbb 1(t)]=\frac1{a+j\omega} for a>0a>0 (Fourier Transform of Common SignalsFourier transform of periodic signals through the transform of the complex exponential as a Dirac impulse, and a catalogue of computed transforms: cosine, sine, constant, causal exponential, two-sided exponential, rectangle and sinc, sign function, unit step and 1/t.Fourier Transform of Common Signals →). Use partial fraction expansion, noting (jω)2+4jω+3=(1+jω)(3+jω)(j\omega)^2+4j\omega+3=(1+j\omega)(3+j\omega):

H(jω)=1(1+jω)(3+jω)=A1+jω+B3+jω=(3A+B)+jω(A+B)(1+jω)(3+jω).H(j\omega)=\frac1{(1+j\omega)(3+j\omega)}=\frac A{1+j\omega}+\frac B{3+j\omega}=\frac{(3A+B)+j\omega(A+B)}{(1+j\omega)(3+j\omega)} .

Matching coefficients: {3A+B=1A+B=0⇒{3A−A=1B=−A⇒{A=12B=−12.\begin{cases}3A+B=1\\A+B=0\end{cases}\Rightarrow\begin{cases}3A-A=1\\B=-A\end{cases}\Rightarrow\begin{cases}A=\tfrac12\\B=-\tfrac12.\end{cases}

Thus H(jω)=12 11+jω−12 13+jω → F−1  h(t)=12e−t1(t)−12e−3t1(t).H(j\omega)=\frac12\,\frac1{1+j\omega}-\frac12\,\frac1{3+j\omega}\ \xrightarrow{\ \mathcal F^{-1}\ }\ h(t)=\tfrac12e^{-t}\mathbb 1(t)-\tfrac12e^{-3t}\mathbb 1(t).

No need of the impulse matching method.

Caution: causality and stability

This technique can be used to solve differential equations. However, careful: the operator F−1\mathcal F^{-1} does not guarantee to find a causal h(t)h(t). In the previous example we were lucky. In general:

Recommendation: if the given system is not asymptotically stable, do not use the FT to solve the associated Cauchy problem.

Versione ripasso

ODE: ∑n=0Nany(n)=∑m=0Mbmu(m)\sum_{n=0}^Na_ny^{(n)}=\sum_{m=0}^Mb_mu^{(m)}; impulse response: same equation with δ(m)\delta^{(m)} on the right.

Definition: H(jω)=∫h(t)e−jωtdt=F[h(t)]H(j\omega)=\int h(t)e^{-j\omega t}dt=\mathcal F[h(t)]. Since y=h∗uy=h*u, the convolution theorem gives Y(jω)=H(jω)U(jω)Y(j\omega)=H(j\omega)U(j\omega), so H=Y/UH=Y/U.

From the ODE: transform each side with F[y(n)]=(jω)nY\mathcal F[y^{(n)}]=(j\omega)^nY: H(jω)=∑m=0Mbm(jω)m∑n=0Nan(jω)n.H(j\omega)=\frac{\sum_{m=0}^Mb_m(j\omega)^m}{\sum_{n=0}^Na_n(j\omega)^n}.

Getting h(t)h(t): partial fractions, then F[e−at1(t)]=1a+jω\mathcal F[e^{-at}\mathbb 1(t)]=\frac1{a+j\omega} (a>0a>0). Example y¨+4y˙+3y=u\ddot y+4\dot y+3y=u: H=1(1+jω)(3+jω)=1211+jω−1213+jωH=\frac1{(1+j\omega)(3+j\omega)}=\frac12\frac1{1+j\omega}-\frac12\frac1{3+j\omega}, h(t)=12e−t1(t)−12e−3t1(t)h(t)=\frac12e^{-t}\mathbb 1(t)-\frac12e^{-3t}\mathbb 1(t). No impulse matching needed.

Warning: F−1[H]\mathcal F^{-1}[H] is guaranteed causal (=h+=h_+) only if the system is asymptotically stable. Otherwise do not use the FT to solve the Cauchy problem: use the Laplace transform.

Typical mistakes: forgetting to factor the denominator before the partial fractions; using 1a+jω\frac1{a+j\omega} with a<0a<0 (the transform formula needs a>0a>0); trusting F−1[H]\mathcal F^{-1}[H] as the causal response for an unstable system.

Teoria collegata