TExcelTAD
Home › Fourier Analysis & Signals › The Laplace Transform Link

The Laplace Transform Link

The Laplace transform is to continuous-time systems what the z-transform is to discrete ones. It extends the Fourier transform from imaginary frequencies iωi\omega to complex s=σ+iωs = \sigma + i\omega, turns linear differential equations into algebra, and describes analog circuits and mechanical systems. Digital filters are often designed by starting from a Laplace-domain prototype and mapping it to zz. This lesson shows the link; the full theory belongs to Differential Equations.

Definition and the Fourier connection

F(s)=∫0∞f(t) e−st dtF(s) = \int_0^\infty f(t)\, e^{-st}\, dt

For s=iωs = i\omega (and causal ff) this is the Fourier transform in angular frequency. The extra e−σte^{-\sigma t} makes the integral converge for growing signals, which is why Laplace handles unstable systems and initial conditions naturally. Derivatives become multiplication: f′↔sF(s)−f(0)f' \leftrightarrow sF(s) - f(0).

An RC low-pass circuit obeys RC y′(t)+y(t)=x(t)RC\,y'(t) + y(t) = x(t), so with zero initial charge

H(s)=11+RCs,∣H(iω)∣=11+(ωRC)2H(s) = \frac{1}{1 + RCs}, \qquad \lvert H(i\omega) \rvert = \frac{1}{\sqrt{1 + (\omega RC)^2}}

with one pole at s=−1/RCs = -1/RC in the left half-plane. Continuous-time stability means all poles have negative real part.

Sampling maps ss to zz

Sampling a continuous impulse response epte^{pt} at period TT gives epTn=(epT)ne^{pTn} = (e^{pT})^n: a discrete pole at z=epTz = e^{pT}. So z=esTz = e^{sT} maps the left half-plane (stable) into the unit disc (stable) and the imaginary axis onto the unit circle.

python · try it yourself
import numpy as np

T = 0.01                                          # 100 Hz sampling
for p in (-5.0, -50.0, -1 + 20j, 3.0):
    z = np.exp(p * T)
    side = "left" if np.real(p) < 0 else "right"
    print(f"s-pole {complex(p)!s:>10} ({side} half-plane) -> z-pole {complex(z):.4f}, |z| = {abs(z):.4f}")
s-pole    (-5+0j) (left half-plane) -> z-pole 0.9512+0.0000j, |z| = 0.9512
s-pole   (-50+0j) (left half-plane) -> z-pole 0.6065+0.0000j, |z| = 0.6065
s-pole   (-1+20j) (left half-plane) -> z-pole 0.9703+0.1967j, |z| = 0.9900
s-pole     (3+0j) (right half-plane) -> z-pole 1.0305+0.0000j, |z| = 1.0305

The bilinear transform

The most common way to turn an analog design into a digital filter is the bilinear transform, substituting

s=2T 1−z−11+z−1s = \frac{2}{T}\, \frac{1 - z^{-1}}{1 + z^{-1}}

It maps the whole imaginary axis onto the unit circle exactly once (no aliasing), at the cost of warping frequencies: analog Ω\Omega lands at digital ω=2arctan⁡(ΩT/2)\omega = 2\arctan(\Omega T/2). Designers pre-warp the cutoff to compensate.

python · try it yourself
import numpy as np

fs = 1000.0
T = 1 / fs
fc = 100.0                                         # desired cutoff
Wc = 2 / T * np.tan(np.pi * fc / fs)               # pre-warped analog cutoff (rad/s)
# analog H(s) = 1 / (1 + s/Wc) -> bilinear: H(z) = (1 + z^-1) K / ((1 + K) + (K - 1) z^-1) with K = Wc T / 2
K = Wc * T / 2
b = np.array([K, K]) / (1 + K)
a = np.array([1, (K - 1) / (1 + K)])
for f in (0, 50, 100, 200, 400):
    z = np.exp(2j * np.pi * f / fs)
    H = (b[0] + b[1] / z) / (a[0] + a[1] / z)
    print(f"{f:3d} Hz: digital gain {abs(H):.4f}   analog prototype at the same f: {1 / np.sqrt(1 + (2 * np.pi * f / Wc) ** 2):.4f}")
print("b =", np.round(b, 5).tolist(), " a =", np.round(a, 5).tolist())
  0 Hz: digital gain 1.0000   analog prototype at the same f: 1.0000
 50 Hz: digital gain 0.8989   analog prototype at the same f: 0.9003
100 Hz: digital gain 0.7071   analog prototype at the same f: 0.7189
200 Hz: digital gain 0.4082   analog prototype at the same f: 0.4593
400 Hz: digital gain 0.1050   analog prototype at the same f: 0.2503
b = [0.24524, 0.24524]  a = [1.0, -0.50953]

Thanks to pre-warping the digital filter has gain 1/2≈0.70711/\sqrt{2} \approx 0.7071 exactly at 100 Hz. Elsewhere it departs from the analog prototype, reaching exactly 0 at the Nyquist frequency.

In software

  • scipy.signal.bilinear, cont2discrete, and butter(..., analog=False) (which applies the bilinear transform with pre-warping internally).
  • Circuit simulators and control toolboxes work with Laplace transfer functions; embedded code then runs the discretized difference equation.

Exercises

Exercise 1: Stability in ss

Is H(s)=1s2+2s+5H(s) = \frac{1}{s^2 + 2s + 5} stable?

Answer

Yes: the poles are −1±2i-1 \pm 2i.

Solution

s2+2s+5=0s^2 + 2s + 5 = 0 gives s=−1±2is = -1 \pm 2i, both with negative real part: a damped oscillation at 2 rad/s.

Exercise 2: Map a pole

A continuous system has a pole at s=−100s = -100. Where is the corresponding z-pole at fs=1f_s = 1 kHz?

Answer

z=e−0.1≈0.905z = e^{-0.1} \approx 0.905.

Solution

z=esT=e−100⋅0.001=e−0.1z = e^{sT} = e^{-100 \cdot 0.001} = e^{-0.1}.

Exercise 3: Frequency warping (code)

For fs=1000f_s = 1000 Hz, where does an analog frequency of 400 Hz land after the bilinear transform without pre-warping?

Answer

About 286 Hz.

Solution
python · try it yourself
import numpy as np
fs = 1000.0
Omega = 2 * np.pi * 400
w = 2 * np.arctan(Omega / (2 * fs))
print(round(w * fs / (2 * np.pi), 1))
286.0

High frequencies are squeezed toward the Nyquist frequency; low frequencies are almost unchanged.

Test yourself

A continuous-time system is stable when its poles…

  1. are inside the unit circle
  2. have negative real part
  3. are real
  4. are on the imaginary axis

Sampling with period TT maps an ss-plane pole pp to…

  1. z=pTz = pT
  2. z=epTz = e^{pT}
  3. z=1/pz = 1/p
  4. z=pz = p

The bilinear transform avoids aliasing but…

  1. is unstable
  2. warps the frequency axis
  3. needs an FFT
  4. doubles the order