Salta al contenuto
Note per Studenti The Laplace Transform and Transfer Functions Report

The Laplace Transform and Transfer Functions

In questa pagina 9

This note follows the deck "System Analysis using Laplace Transform". The goal is to compute the output y(t)y(t) of a system described by a linear ODE with constant coefficients, given the input u(t)u(t) and the initial conditions, and to introduce the transfer function, the object on which all the later analysis (poles, zeros, stability) is built. Stability itself is treated in Stability of Dynamical SystemsFor an LTI system the response to a perturbation of an equilibrium does not depend on the equilibrium or on the perturbation amplitude, so stability reduces to the free evolution being bounded (stable) or vanishing (asymptotically stable), decided by the roots of the characteristic polynomial, and is related to BIBO stability.Stability of Dynamical Systems → and BIBO Stability and First-Order ModelsA linear system response splits into a natural response from the initial conditions and a forced response from the input; BIBO stability concerns the forced response and stability of the zero equilibrium concerns the natural one, and an n-th order ODE can be rewritten as n first-order equations (a state model) whose transfer function is obtained from the matrices A, B, C and D.BIBO Stability and First-Order Models →.

1. The problem: an ODE linear with constant coefficients

The systems considered are described by

∑n=0Nandny(t)dtn=∑m=0Mbmdmu(t)dtm,an,bm∈R,M≤N\sum_{n=0}^{N} a_n \frac{d^n y(t)}{dt^n} = \sum_{m=0}^{M} b_m \frac{d^m u(t)}{dt^m}, \qquad a_n, b_m \in \mathbb{R}, \quad M \le N

  • y(t)y(t) is the output and u(t)u(t) the input;
  • NN is the order of the equation (highest derivative of yy), MM the highest derivative of uu;
  • the coefficients an,bma_n, b_m are real constants (this is what "constant coefficients" means: the system is time invariant);
  • the condition M≤NM \le N will turn out to be exactly the condition for the transfer function to be proper (section 6).

Solving the ODE means finding a signal y(t)y(t) that satisfies the equation, knowing:

  • the input signal u(t)u(t) for t≥0t \ge 0;
  • the initial conditions (i.c.), i.e. the output and its first N−1N-1 derivatives at t=0−t = 0^-:

y(0−),dy(0−)dt,…,dN−1y(0−)dtN−1y(0^-), \quad \frac{dy(0^-)}{dt}, \quad \dots, \quad \frac{d^{N-1}y(0^-)}{dt^{N-1}}

Two remarks from the slides:

  1. u(t)=0u(t) = 0 for t<0t < 0 (the input is applied from t=0t = 0 on).
  2. t0=0−t_0 = 0^- means lim⁡t→0−\lim_{t \to 0^-}, i.e. "immediately before" the input is applied at t=0t = 0. Using 0−0^- (and not 00) lets the input contain an impulse at t=0t = 0 without ambiguity.

Free and forced evolution

Because the system is linear, the superposition of effects holds:

y(t)=yn(t)+yf(t)y(t) = y_n(t) + y_f(t)

  • Free evolution yn(t)y_n(t): the solution obtained with u(t)=0u(t) = 0 and the given initial conditions, i.e. the solution of the homogeneous equation ∑n=0Nandny(t)dtn=0.\sum_{n=0}^{N} a_n \frac{d^n y(t)}{dt^n} = 0 . It depends only on the initial conditions. (The subscript nn stands for "natural": the free evolution is also called natural response.)
  • Forced evolution yf(t)y_f(t): the solution of the ODE with the input u(t)u(t) assigned and zero initial conditions. It depends only on the input.

The slides leave an example to the blackboard; the Laplace method below solves it systematically.

2. Laplace transform: motivation

ODEs linear with constant coefficients are solved more easily with the Laplace transform. The Laplace transform is an operator L\mathcal{L} that associates to a "transformable" function ff of a real variable t∈Rt \in \mathbb{R} (typically time) a function FF of a complex variable s∈Cs \in \mathbb{C}, called the Laplace transform of ff:

{ f:R→R,  t↦f(t) }→  L  { F:C→C,  s↦F(s) }\{\, f : \mathbb{R} \to \mathbb{R}, \; t \mapsto f(t) \,\} \xrightarrow{\;\mathcal{L}\;} \{\, F : \mathbb{C} \to \mathbb{C}, \; s \mapsto F(s) \,\}

Its importance: it transforms the operations of differential calculus (derivation and integration) applied to f(t)f(t) into algebraic operations (multiplication and division by ss) applied to F(s)F(s).

The solution procedure is a loop through the Laplace domain:

 Problem in time domain (t-domain)  --- Laplace transform --->  Problem in Laplace domain (s-domain)
          |                                                              |
   very hard, sometimes impossible                                usually solved with
   with conventional methods                                      simple algebra
          v                                                              v
 Solution in time domain  <------ inverse Laplace transform ----  Solution in s-domain

The direct route (left column) is hard; the route through the ss-domain requires only algebraic operations and looking up tables with the transforms of known signals.

3. Definition of the (unilateral) Laplace transform

Let f:R→Rf : \mathbb{R} \to \mathbb{R} be a piece-wise continuous, locally integrable function in [0,+∞)[0, +\infty) (ff is locally integrable if its integral is finite over any bounded interval of [0,+∞)[0, +\infty)). The unilateral Laplace transform of ff is

F(s)=L[f](s)≜∫0−+∞f(t) e−st dtF(s) = \mathcal{L}[f](s) \triangleq \int_{0^-}^{+\infty} f(t)\, e^{-st}\, dt

for each s∈Cs \in \mathbb{C} such that the integral is finite.

The lower limit 0−0^- includes in the integral any impulse located at t=0t = 0.

Region of convergence

  • Fact. If the unilateral transform F(s)F(s) exists at s0=σ0+jω0s_0 = \sigma_0 + j\omega_0, then it exists for every s∈Cs \in \mathbb{C} with Re⁡(s)>σ0\operatorname{Re}(s) > \sigma_0.
  • The abscissa of convergence σ(f)\sigma(f) is the smallest value of σ0\sigma_0 such that F(s)F(s) exists for Re⁡(s)>σ0\operatorname{Re}(s) > \sigma_0.
  • The region of convergence (ROC) is {s∈C:Re⁡(s)>σ(f)}\{ s \in \mathbb{C} : \operatorname{Re}(s) > \sigma(f) \}: in the complex plane it is the half-plane to the right of the vertical line Re⁡(s)=σ(f)\operatorname{Re}(s) = \sigma(f).

Which functions are transformable

Fact (sufficient condition). A continuous function ff, locally integrable in [0,+∞)[0, +\infty), is L\mathcal{L}-transformable if there exist M>0M > 0, α>0\alpha > 0 such that

∣f(t)∣<Meαt∀t≥0.|f(t)| < M e^{\alpha t} \qquad \forall t \ge 0 .

(The function grows at most exponentially.) In practice, all the signals of interest in the course are Laplace transformable.

Proof (from the slides). Write s=σ+jωs = \sigma + j\omega:

∣L[f(t)](s)∣=∣∫0+∞f(t)e−stdt∣=∣∫0+∞f(t)e−(σ+jω)tdt∣≤∫0+∞∣f(t)∣ ∣e−σt∣ ∣e−jωt∣ dt|\mathcal{L}[f(t)](s)| = \left| \int_0^{+\infty} f(t) e^{-st} dt \right| = \left| \int_0^{+\infty} f(t) e^{-(\sigma + j\omega)t} dt \right| \le \int_0^{+\infty} |f(t)|\, |e^{-\sigma t}|\, |e^{-j\omega t}| \, dt

Since ∣e−jωt∣=1|e^{-j\omega t}| = 1 and ∣f(t)∣<Meαt|f(t)| < M e^{\alpha t},

⋯<M∫0+∞eαte−σtdt=M[e(α−σ)tα−σ]0+∞=Mσ−αfor σ>α.\dots < M \int_0^{+\infty} e^{\alpha t} e^{-\sigma t} dt = M \left[ \frac{e^{(\alpha - \sigma)t}}{\alpha - \sigma} \right]_0^{+\infty} = \frac{M}{\sigma - \alpha} \qquad \text{for } \sigma > \alpha .

The bound is finite, so ff is L\mathcal{L}-transformable for σ>α\sigma > \alpha, and the abscissa of convergence satisfies σ(f)≤α\sigma(f) \le \alpha. □\square

4. Properties of the Laplace transform

With F(s)=L[f](s)F(s) = \mathcal{L}[f](s), Fi=L[fi]F_i = \mathcal{L}[f_i]:

# Property Formula
1 Linearity L[∑iαifi](s)=∑iαiFi(s)\mathcal{L}\left[\sum_i \alpha_i f_i\right](s) = \sum_i \alpha_i F_i(s)
2 Translation in time L[f(t−τ)](s)=e−sτF(s)\mathcal{L}[f(t - \tau)](s) = e^{-s\tau} F(s)
3 Translation in ss L[es0tf(t)](s)=F(s−s0)\mathcal{L}[e^{s_0 t} f(t)](s) = F(s - s_0)
4 Time scaling L[f(at)](s)=1aF(sa)\mathcal{L}[f(at)](s) = \frac{1}{a} F\left(\frac{s}{a}\right)
5 Derivative in time L[dfdt](s)=sF(s)−f(0−)\mathcal{L}\left[\frac{df}{dt}\right](s) = s F(s) - f(0^-)
6 Derivative in ss L[−tf(t)](s)=dF(s)ds\mathcal{L}[-t f(t)](s) = \frac{dF(s)}{ds}
7 Integration in time L[∫0−tf(τ)dτ](s)=1sF(s)\mathcal{L}\left[\int_{0^-}^{t} f(\tau) d\tau\right](s) = \frac{1}{s} F(s)
8 Final value theorem lim⁡t→+∞f(t)=lim⁡s→0sF(s)\lim_{t \to +\infty} f(t) = \lim_{s \to 0} s F(s), if the limit exists and is finite
9 Initial value theorem lim⁡t→0+f(t)=lim⁡s→∞sF(s)\lim_{t \to 0^+} f(t) = \lim_{s \to \infty} s F(s), if the limit exists and is finite
10 Conjugation F∗(s)=F(s∗)F^*(s) = F(s^*)
11 Convolution in time L[f1∗f2](s)=F1(s)F2(s)\mathcal{L}[f_1 * f_2](s) = F_1(s) F_2(s)

Comments:

  • Linearity is what lets us transform the whole ODE term by term, and later decompose F(s)F(s) into simple fractions.
  • Derivative in time (property 5) is the key to the method: differentiating in time becomes multiplying by ss, with the initial value f(0−)f(0^-) entering as a correction. Applying it repeatedly gives the formula of section 7.
  • Integration in time (7) is the dual: integrating becomes dividing by ss. It is used below to obtain the transforms of step and ramps from the impulse.
  • Final/initial value theorems (8, 9) read the asymptotic (t→+∞t \to +\infty) and initial (t→0+t \to 0^+) behaviour of f(t)f(t) directly from F(s)F(s), without inverting. They hold only if the limit exists and is finite.
  • Convolution in time (11) becomes a product in the ss-domain; this is why the forced response is H(s)U(s)H(s) U(s) (section 6).

5. Laplace transform of known signals

All the signals below are zero for t<0t < 0 (causal signals).

Dirac impulse

δ(t)≜{+∞t=00t≠0,∫−∞+∞δ(t) dt=1.\delta(t) \triangleq \begin{cases} +\infty & t = 0 \\ 0 & t \ne 0 \end{cases}, \qquad \int_{-\infty}^{+\infty} \delta(t)\, dt = 1 .

(The slide marks the unit area of the impulse with the question "How comes?": it is the defining property of the impulse, which has zero width and infinite height at t=0t = 0.) By the sifting property,

L[δ(t)](s)=∫−∞+∞δ(t)e−stdt=e−s⋅0=1.\mathcal{L}[\delta(t)](s) = \int_{-\infty}^{+\infty} \delta(t) e^{-st} dt = e^{-s \cdot 0} = 1 .

Step, ramp, parabolic ramp, polynomial signals

The signals δ−k(t)\delta_{-k}(t) are obtained from the impulse by repeated integration:

δ−k(t)=∫−∞tδ−(k−1)(τ) dτ⟶L[δ−k(t)](s)=1sL[δ−(k−1)(t)](s),\delta_{-k}(t) = \int_{-\infty}^{t} \delta_{-(k-1)}(\tau)\, d\tau \quad \longrightarrow \quad \mathcal{L}[\delta_{-k}(t)](s) = \frac{1}{s} \mathcal{L}[\delta_{-(k-1)}(t)](s),

which is the integration-in-time property (7) applied kk times starting from L[δ]=1\mathcal{L}[\delta] = 1. Hence:

Signal f(t)f(t) F(s)F(s)
Unitary impulse δ(t)\delta(t) 11
Unitary step δ−1(t)≜1\delta_{-1}(t) \triangleq 1 for t≥0t \ge 0 (00 for t<0t < 0) 1s\dfrac{1}{s}
Linear ramp δ−2(t)≜t\delta_{-2}(t) \triangleq t for t≥0t \ge 0 1s2\dfrac{1}{s^2}
Parabolic ramp δ−3(t)≜t22\delta_{-3}(t) \triangleq \dfrac{t^2}{2} for t≥0t \ge 0 1s3\dfrac{1}{s^3}
Polynomial signal δ−k(t)≜tk−1(k−1)!\delta_{-k}(t) \triangleq \dfrac{t^{k-1}}{(k-1)!} for t≥0t \ge 0 1sk\dfrac{1}{s^k}

Exponential and polynomial modulated by an exponential

The exponential eσte^{\sigma t} (σ∈C\sigma \in \mathbb{C}) grows for σ>0\sigma > 0 (real) and decays for σ<0\sigma < 0, starting from value 1 at t=0t = 0. The signal teσtt e^{\sigma t} starts from 0; for σ<0\sigma < 0 it first rises, reaches a maximum and then decays; for σ>0\sigma > 0 it diverges.

Signal f(t)f(t) F(s)F(s)
Exponential eσt,  σ∈Ce^{\sigma t}, \; \sigma \in \mathbb{C} 1s−σ\dfrac{1}{s - \sigma}
Polynomial modulated exponentially teσtt e^{\sigma t} 1(s−σ)2\dfrac{1}{(s - \sigma)^2}
t22!eσt\dfrac{t^2}{2!} e^{\sigma t} 1(s−σ)3\dfrac{1}{(s - \sigma)^3}
tk−1(k−1)!eσt\dfrac{t^{k-1}}{(k-1)!} e^{\sigma t} 1(s−σ)k\dfrac{1}{(s - \sigma)^k}

These follow from the polynomial table and the translation in ss (property 3): multiplying by eσte^{\sigma t} replaces ss with s−σs - \sigma.

Sinusoidal signals

Signal f(t)f(t) F(s)F(s)
Sinusoidal sin⁡ωt\sin \omega t ωs2+ω2\dfrac{\omega}{s^2 + \omega^2}
cos⁡ωt\cos \omega t ss2+ω2\dfrac{s}{s^2 + \omega^2}
sin⁡(ωt+ϕ)\sin(\omega t + \phi) ssin⁡ϕ+ωcos⁡ϕs2+ω2\dfrac{s \sin\phi + \omega \cos\phi}{s^2 + \omega^2}
Sinusoidal modulated exponentially eσtsin⁡(ωt)e^{\sigma t} \sin(\omega t) ω(s−σ)2+ω2\dfrac{\omega}{(s - \sigma)^2 + \omega^2}
eσtcos⁡(ωt)e^{\sigma t} \cos(\omega t) s−σ(s−σ)2+ω2\dfrac{s - \sigma}{(s - \sigma)^2 + \omega^2}
eσtsin⁡(ωt+ϕ)e^{\sigma t} \sin(\omega t + \phi) (s−σ)sin⁡ϕ+ωcos⁡ϕ(s−σ)2+ω2\dfrac{(s - \sigma)\sin\phi + \omega\cos\phi}{(s - \sigma)^2 + \omega^2}

The transform of sin⁡(ωt+ϕ)\sin(\omega t + \phi) is obtained with Euler's formulas, which write the sinusoid as a combination of complex exponentials:

L[sin⁡(ωt+ϕ)](s)=L[ej(ωt+ϕ)−e−j(ωt+ϕ)2j](s)=ejϕ2jL[ejωt]−e−jϕ2jL[e−jωt]\mathcal{L}[\sin(\omega t + \phi)](s) = \mathcal{L}\left[ \frac{e^{j(\omega t + \phi)} - e^{-j(\omega t + \phi)}}{2j} \right](s) = \frac{e^{j\phi}}{2j} \mathcal{L}\left[e^{j\omega t}\right] - \frac{e^{-j\phi}}{2j} \mathcal{L}\left[e^{-j\omega t}\right]

=ejϕ2j⋅1s−jω−e−jϕ2j⋅1s+jω=ssin⁡ϕ+ωcos⁡ϕs2+ω2.= \frac{e^{j\phi}}{2j} \cdot \frac{1}{s - j\omega} - \frac{e^{-j\phi}}{2j} \cdot \frac{1}{s + j\omega} = \frac{s \sin\phi + \omega \cos\phi}{s^2 + \omega^2} .

The cases ϕ=0\phi = 0 and ϕ=π/2\phi = \pi/2 give sin⁡ωt\sin\omega t and cos⁡ωt\cos\omega t. For the exponentially modulated sinusoids, eσtsin⁡(ωt)e^{\sigma t}\sin(\omega t) oscillates inside an envelope eσte^{\sigma t} that grows (σ>0\sigma > 0) or decays (σ<0\sigma < 0); its transform is that of sin⁡ωt\sin \omega t with ss replaced by s−σs - \sigma (translation in ss).

6. The inverse Laplace transform

For a function F(s)F(s), s∈Cs \in \mathbb{C}, the inverse transform is defined as

f(t)=L−1[F](t)≜12πj∫σ−j∞σ+j∞F(s) est dsfor t>0,f(t) = \mathcal{L}^{-1}[F](t) \triangleq \frac{1}{2\pi j} \int_{\sigma - j\infty}^{\sigma + j\infty} F(s)\, e^{st}\, ds \qquad \text{for } t > 0,

for all t∈Rt \in \mathbb{R} such that the integral exists. The integration path is the vertical line Re⁡(s)=σ\operatorname{Re}(s) = \sigma, which must lie inside the ROC (i.e. σ>σ(f)\sigma > \sigma(f)).

In practice this integral is not evaluated. The method used is the decomposition into simple fractions whose inverse transform is known (from the tables above):

F(s)=F1(s)+F2(s)+⋯+Fn(s)F(s) = F_1(s) + F_2(s) + \dots + F_n(s)

By linearity,

L−1[F(s)](t)=L−1[F1(s)](t)+⋯+L−1[Fn(s)](t)\mathcal{L}^{-1}[F(s)](t) = \mathcal{L}^{-1}[F_1(s)](t) + \dots + \mathcal{L}^{-1}[F_n(s)](t)

so

f(t)=f1(t)+f2(t)+⋯+fn(t),f(t) = f_1(t) + f_2(t) + \dots + f_n(t),

where each fi=L−1[Fi]f_i = \mathcal{L}^{-1}[F_i] is read from the table of known signals.

7. Solving an ODE with the Laplace transform

Start from

∑n=0Nandny(t)dtn=∑m=0Mbmdmu(t)dtm.\sum_{n=0}^{N} a_n \frac{d^n y(t)}{dt^n} = \sum_{m=0}^{M} b_m \frac{d^m u(t)}{dt^m}.

Step 1: transform both sides and use linearity:

∑n=0NanL[dny(t)dtn](s)=∑m=0MbmL[dmu(t)dtm](s).\sum_{n=0}^{N} a_n \mathcal{L}\left[\frac{d^n y(t)}{dt^n}\right](s) = \sum_{m=0}^{M} b_m \mathcal{L}\left[\frac{d^m u(t)}{dt^m}\right](s).

Step 2: apply the derivative-in-time property (property 5, iterated). With Y(s)=L[y]Y(s) = \mathcal{L}[y] and U(s)=L[u]U(s) = \mathcal{L}[u]:

L[dny(t)dtn](s)=snY(s)−∑i=0n−1diy(0−)dti sn−1−i\mathcal{L}\left[\frac{d^n y(t)}{dt^n}\right](s) = s^n Y(s) - \sum_{i=0}^{n-1} \frac{d^i y(0^-)}{dt^i}\, s^{n-1-i}

L[dmu(t)dtm](s)=smU(s)−∑i=0m−1diu(0−)dti sm−1−i=smU(s)\mathcal{L}\left[\frac{d^m u(t)}{dt^m}\right](s) = s^m U(s) - \sum_{i=0}^{m-1} \frac{d^i u(0^-)}{dt^i}\, s^{m-1-i} = s^m U(s)

In the second formula all the derivatives diu(0−)dti\frac{d^i u(0^-)}{dt^i} are zero, because of the assumption u(t)=0u(t) = 0 for t<0t < 0. The input therefore contributes no initial-condition terms; only the output does.

Step 3: substitute and collect.

∑n=0Nan(snY(s)−∑i=0n−1diy(0−)dtisn−1−i)=∑m=0MbmsmU(s)\sum_{n=0}^{N} a_n \left( s^n Y(s) - \sum_{i=0}^{n-1} \frac{d^i y(0^-)}{dt^i} s^{n-1-i} \right) = \sum_{m=0}^{M} b_m s^m U(s)

∑n=0NansnY(s)−∑n=0N∑i=0n−1andiy(0−)dtisn−1−i=∑m=0MbmsmU(s)\sum_{n=0}^{N} a_n s^n Y(s) - \sum_{n=0}^{N} \sum_{i=0}^{n-1} a_n \frac{d^i y(0^-)}{dt^i} s^{n-1-i} = \sum_{m=0}^{M} b_m s^m U(s)

Moving the double sum to the right and defining three polynomials in ss:

A(s)≜∑n=0Nansn,B(s)≜∑m=0Mbmsm,C(s)≜∑n=0N∑i=0n−1andiy(0−)dtisn−1−i,A(s) \triangleq \sum_{n=0}^{N} a_n s^n, \qquad B(s) \triangleq \sum_{m=0}^{M} b_m s^m, \qquad C(s) \triangleq \sum_{n=0}^{N} \sum_{i=0}^{n-1} a_n \frac{d^i y(0^-)}{dt^i} s^{n-1-i},

we get the algebraic equation

A(s) Y(s)=C(s)+B(s) U(s)⟹Y(s)=C(s)A(s)+B(s)A(s) U(s).A(s)\, Y(s) = C(s) + B(s)\, U(s) \quad \Longrightarrow \quad Y(s) = \frac{C(s)}{A(s)} + \frac{B(s)}{A(s)}\, U(s).

Degrees: deg⁡A(s)=N\deg A(s) = N, deg⁡B(s)=M≤N\deg B(s) = M \le N, deg⁡C(s)≤N−1\deg C(s) \le N - 1 (the exponent n−1−in - 1 - i is at most N−1N - 1).

Meaning of the two terms:

Y(s)=C(s)A(s)⏟=Yn(s)+B(s)A(s)U(s)⏟=Yf(s)Y(s) = \underbrace{\frac{C(s)}{A(s)}}_{= Y_n(s)} + \underbrace{\frac{B(s)}{A(s)} U(s)}_{= Y_f(s)}

  • Yn(s)=C(s)/A(s)Y_n(s) = C(s)/A(s) is the free evolution term: it depends only on the initial conditions (through C(s)C(s)) and is what remains with zero input.
  • Yf(s)=B(s)U(s)/A(s)Y_f(s) = B(s)U(s)/A(s) is the forced evolution term: it depends on the input U(s)U(s) and is obtained with zero initial conditions (then C(s)=0C(s) = 0).

Step 4: invert. Decompose Yn(s)Y_n(s) and Yf(s)Y_f(s) into simple fractions and use the table to obtain yn(t)y_n(t) and yf(t)y_f(t); then y(t)=yn(t)+yf(t)y(t) = y_n(t) + y_f(t).

8. The transfer function

The transform of the forced evolution is Yf(s)=B(s)A(s)U(s)Y_f(s) = \frac{B(s)}{A(s)} U(s). The function

H(s)≜Yf(s)U(s)=B(s)A(s)=∑m=0Mbmsm∑n=0NansnH(s) \triangleq \frac{Y_f(s)}{U(s)} = \frac{B(s)}{A(s)} = \frac{\sum_{m=0}^{M} b_m s^m}{\sum_{n=0}^{N} a_n s^n}

is called the transfer function of the system. For a system described by an ODE linear with constant coefficients, the transfer function is always a rational function of the complex variable ss. As a block diagram:

 U(s) ----->[  H(s)  ]-----> Y_f(s) = H(s) U(s)

Proper and improper transfer functions

With deg⁡A(s)=N\deg A(s) = N and deg⁡B(s)=M\deg B(s) = M, H(s)H(s) is

  • proper if M≤NM \le N;
  • strictly proper if M<NM < N;
  • improper if M>NM > N.

Systems described by ODEs linear with constant coefficients are physically realizable if M≤NM \le N, i.e. if the transfer function is proper.

Zeros and poles

Given H(s)=B(s)/A(s)H(s) = B(s)/A(s):

  • the zeros are the values s∈Cs \in \mathbb{C} such that B(s)=0B(s) = 0;
  • the poles are the values s∈Cs \in \mathbb{C} such that A(s)=0A(s) = 0.

(A(s)A(s) is the polynomial that will be called characteristic polynomial in the stability notes; the poles are its roots when no common factor cancels between B(s)B(s) and A(s)A(s), see BIBO Stability and First-Order ModelsA linear system response splits into a natural response from the initial conditions and a forced response from the input; BIBO stability concerns the forced response and stability of the zero equilibrium concerns the natural one, and an n-th order ODE can be rewritten as n first-order equations (a state model) whose transfer function is obtained from the matrices A, B, C and D.BIBO Stability and First-Order Models →.)

Impulse response

When the input is the unit impulse u(t)=δ(t)u(t) = \delta(t),

U(s)=L[δ(t)](s)=1⇒Yf(s)=H(s).U(s) = \mathcal{L}[\delta(t)](s) = 1 \quad \Rightarrow \quad Y_f(s) = H(s).

So the transfer function is the Laplace transform of the impulse response h(t)h(t), i.e. h(t)=L−1[H(s)](t)h(t) = \mathcal{L}^{-1}[H(s)](t). Equivalently, because convolution becomes a product, the forced response to a generic input is yf=h∗uy_f = h * u, with transform H(s)U(s)H(s) U(s).

9. Summary of the procedure

  1. Write the ODE and the initial conditions y(0−),…,dN−1y(0−)dtN−1y(0^-), \dots, \frac{d^{N-1}y(0^-)}{dt^{N-1}}.
  2. Transform with property 5: obtain A(s)Y(s)=C(s)+B(s)U(s)A(s) Y(s) = C(s) + B(s) U(s).
  3. Compute U(s)U(s) from the table (step: 1/s1/s, ramp: 1/s21/s^2, sinusoid: ω/(s2+ω2)\omega/(s^2+\omega^2), ...).
  4. Solve for Y(s)=C(s)A(s)+B(s)A(s)U(s)Y(s) = \frac{C(s)}{A(s)} + \frac{B(s)}{A(s)} U(s).
  5. Decompose into simple fractions and invert term by term.

Versione ripasso

ODE: ∑n=0Nany(n)(t)=∑m=0Mbmu(m)(t)\sum_{n=0}^{N} a_n y^{(n)}(t) = \sum_{m=0}^{M} b_m u^{(m)}(t), an,bm∈Ra_n, b_m \in \mathbb{R}, M≤NM \le N. Known: u(t)u(t) for t≥0t \ge 0 (and u=0u = 0 for t<0t < 0), initial conditions at 0−0^-.

Superposition: y=yn+yfy = y_n + y_f. Free evolution yny_n: u=0u = 0, given i.c. Forced evolution yfy_f: given uu, zero i.c.

Unilateral transform: F(s)=∫0−+∞f(t)e−stdtF(s) = \int_{0^-}^{+\infty} f(t) e^{-st} dt. ROC: Re⁡(s)>σ(f)\operatorname{Re}(s) > \sigma(f) (abscissa of convergence). Sufficient condition: ∣f(t)∣<Meαt|f(t)| < M e^{\alpha t}, then σ(f)≤α\sigma(f) \le \alpha.

Properties: linearity; time shift e−sτF(s)e^{-s\tau}F(s); ss-shift F(s−s0)F(s - s_0); scaling 1aF(s/a)\frac{1}{a}F(s/a); derivative sF(s)−f(0−)sF(s) - f(0^-); L[−tf]=F′(s)\mathcal{L}[-tf] = F'(s); integral 1sF(s)\frac{1}{s}F(s); final value lim⁡s→0sF(s)\lim_{s \to 0} sF(s); initial value lim⁡s→∞sF(s)\lim_{s \to \infty} sF(s) (limits must exist and be finite); convolution becomes product.

Table (causal signals):

f(t)f(t) F(s)F(s)
δ(t)\delta(t) 11
δ−k(t)=tk−1(k−1)!\delta_{-k}(t) = \frac{t^{k-1}}{(k-1)!} (step k=1k=1, ramp k=2k=2) 1sk\frac{1}{s^k}
eσte^{\sigma t} 1s−σ\frac{1}{s - \sigma}
tk−1(k−1)!eσt\frac{t^{k-1}}{(k-1)!} e^{\sigma t} 1(s−σ)k\frac{1}{(s - \sigma)^k}
sin⁡ωt\sin\omega t, cos⁡ωt\cos\omega t ωs2+ω2\frac{\omega}{s^2 + \omega^2}, ss2+ω2\frac{s}{s^2 + \omega^2}
sin⁡(ωt+ϕ)\sin(\omega t + \phi) ssin⁡ϕ+ωcos⁡ϕs2+ω2\frac{s\sin\phi + \omega\cos\phi}{s^2 + \omega^2}
eσtsin⁡ωte^{\sigma t}\sin\omega t, eσtcos⁡ωte^{\sigma t}\cos\omega t ω(s−σ)2+ω2\frac{\omega}{(s-\sigma)^2 + \omega^2}, s−σ(s−σ)2+ω2\frac{s - \sigma}{(s-\sigma)^2 + \omega^2}

Inverse: f(t)=12πj∫σ−j∞σ+j∞F(s)estdsf(t) = \frac{1}{2\pi j}\int_{\sigma - j\infty}^{\sigma + j\infty} F(s)e^{st}ds with the path inside the ROC; in practice, simple-fraction decomposition + table + linearity.

Solving the ODE: transform both sides, use L[y(n)]=snY(s)−∑i=0n−1y(i)(0−)sn−1−i\mathcal{L}[y^{(n)}] = s^nY(s) - \sum_{i=0}^{n-1} y^{(i)}(0^-) s^{n-1-i} (for uu all initial terms are zero), obtain A(s)Y(s)=C(s)+B(s)U(s),Y(s)=C(s)A(s)⏟Yn(s)+B(s)A(s)U(s)⏟Yf(s)A(s)Y(s) = C(s) + B(s)U(s), \qquad Y(s) = \underbrace{\frac{C(s)}{A(s)}}_{Y_n(s)} + \underbrace{\frac{B(s)}{A(s)}U(s)}_{Y_f(s)} with A(s)=∑ansnA(s) = \sum a_n s^n, B(s)=∑bmsmB(s) = \sum b_m s^m, C(s)=∑n∑i<nany(i)(0−)sn−1−iC(s) = \sum_n\sum_{i<n} a_n y^{(i)}(0^-) s^{n-1-i}; deg⁡A=N\deg A = N, deg⁡B=M≤N\deg B = M \le N, deg⁡C≤N−1\deg C \le N - 1.

Transfer function: H(s)=Yf(s)U(s)=B(s)A(s)H(s) = \frac{Y_f(s)}{U(s)} = \frac{B(s)}{A(s)}, always rational. Proper if M≤NM \le N (physically realizable), strictly proper if M<NM < N, improper if M>NM > N. Zeros: B(s)=0B(s) = 0. Poles: A(s)=0A(s) = 0. H(s)=L[h(t)]H(s) = \mathcal{L}[h(t)], with hh the impulse response (since L[δ]=1\mathcal{L}[\delta] = 1).

Typical mistakes: forgetting the initial-condition terms (they live in C(s)C(s), not in H(s)H(s)); using 00 instead of 0−0^-; applying the final value theorem when the limit does not exist or is not finite; forgetting that the transforms in the table are for t≥0t \ge 0 only.

Teoria collegata