Sketch both signals and note where each one is nonzero.
Flip h and slide it: for each output time, find the range where both signals overlap.
Multiply and add (discrete) or multiply and integrate (continuous) over that overlap only.
Check the result: the output starts at the sum of the start times, ends at the sum of the end times, and its area or sum is the product of the input areas or sums.
2Practice problems
1.Convolution & LTI systemsMedium
The signal x(t) is nonzero only between t = 2 s and t = 5 s, and h(t) only between t = 1 s and t = 5 s. Find the time tend at which y(t) = x(t) ∗ h(t) ends.
x: 2 … 5 sh: 1 … 5 s
tend = s
2.Convolution & LTI systemsHard
A square wave switches between 4 and 0 with period T = 2 ms (half a period at each level). Find the amplitude c5 of its Fourier component at 2500 Hz.
0 … 4T = 2 msf = 2500 Hz
c5 =
3.Laplace transformsMedium
Find f(t) for F(s) = (4s + 26)/(s² + 2s + 2) by completing the square, and evaluate f(1).
F(s) = (4s + 26)/(s² + 2s + 2)t = 1 s
f(1) =
4.Laplace transformsHard
A system obeys y″ + 6y′ + 5y = 5·u(t). It starts at rest (y(0) = 0, y′(0) = 0) and the input is a step u(t) = 10 for t ≥ 0. Use the Laplace transform to find the output y(0.8).
A system has the transfer function G(s) = 41/(s² + 11s + 82) and receives a unit step input. Find the damping ratio ζ.
G(s) = 41/(s² + 11s + 82)
ζ =
6.Step responseHard
A unity negative feedback loop has G(s) = K/(s(s + 10)). Find the gain K that gives a step response with 5 % overshoot.
G(s) = K/(s(s + 10))%OS = 5 %
K =
7.Bode plots & marginsMedium
In the series RLC band-pass filter shown the output is taken across R = 20 Ω, with L = 2 mH and C = 0.22 µF. Find the centre (resonant) frequency f0 in Hz.
R = 20 ΩL = 2 mHC = 0.22 µF
f0 = Hz
8.Bode plots & marginsHard
A unity-feedback loop has the open-loop transfer function L(s) = 120/(s(s + 7)(s + 10)). Find the gain margin GM in dB.
L(s) = 120/(s(s + 7)(s + 10))
GM = dB
3Solutions
1.Convolution & LTI systems
Answer: tend = 10 s
Continuous convolution: y(t) = ∫ x(τ)·h(t − τ) dτ. Flip h, slide it to position t and integrate the product of the overlapping parts. For causal signals the integral runs from 0 to t. Useful results: the area of y is the area of x times the area of h; if x lasts from t₁ to t₂ and h from t₃ to t₄, y lasts from t₁ + t₃ to t₂ + t₄. For h(t) = e−atu(t) and a step of height A, y(t) = (A/a)(1 − e−at).
Start and end
tstart = 2 + 1 = 3 s
tend = 5 + 5 = 10 s
Answer
tend = 10 s
Answer
tend = 10 s
2.Convolution & LTI systems
Answer: c5 = 0.5093
Impulse response and Fourier series: the impulse response h(t) describes an LTI system completely: for y′ + a·y = b·x it is h(t) = b·e−atu(t), and for y[n] = a·y[n − 1] + b·x[n] it is h[n] = b·aⁿu[n]. A sinusoid cos ωt passes through with gain |H(jω)| and phase ∠H(jω), where H is the Fourier transform of h. A periodic signal is a sum of harmonics at k/T: a square wave of ±A has only odd harmonics with amplitudes 4A/(kπ), a triangle wave of peak A has 8A/(π²k²), and a pulse train of height A and duty cycle D has the mean A·D and the harmonics (2A/(kπ))·|sin(kπD)|.
Harmonic number
f₀ = 1/T = 500 Hz → k = 2500/500 = 5
Amplitude
c5 = 4·2/(5π) = 0.5093
Answer
c5 = 0.5093
3.Laplace transforms
Answer: f(1) = 7.605
Laplace transform: F(s) = ∫₀∞ f(t)·e−st dt turns derivatives into multiplications by s: ℒ{f′} = sF(s) − f(0), ℒ{f″} = s²F(s) − s·f(0) − f′(0). Standard pairs: 1 ↔ 1/s, e−at ↔ 1/(s + a), t·e−at ↔ 1/(s + a)², sin ωt ↔ ω/(s² + ω²), cos ωt ↔ s/(s² + ω²), and a shift s → s + σ multiplies the time function by e−σt. To invert a rational F(s), split it into partial fractions: the residue of a simple pole p is A = [(s − p)·F(s)] at s = p. Final value theorem: f(∞) = lims→0 s·F(s), valid only when all poles of s·F(s) lie in the left half-plane. Initial value theorem: f(0⁺) = lims→∞ s·F(s).
Laplace transform: F(s) = ∫₀∞ f(t)·e−st dt turns derivatives into multiplications by s: ℒ{f′} = sF(s) − f(0), ℒ{f″} = s²F(s) − s·f(0) − f′(0). Standard pairs: 1 ↔ 1/s, e−at ↔ 1/(s + a), t·e−at ↔ 1/(s + a)², sin ωt ↔ ω/(s² + ω²), cos ωt ↔ s/(s² + ω²), and a shift s → s + σ multiplies the time function by e−σt. To invert a rational F(s), split it into partial fractions: the residue of a simple pole p is A = [(s − p)·F(s)] at s = p. Final value theorem: f(∞) = lims→0 s·F(s), valid only when all poles of s·F(s) lie in the left half-plane. Initial value theorem: f(0⁺) = lims→∞ s·F(s).
Transform the equation
Y(s) = 50/(s(s + 1)(s + 5))
Partial fractions
A = 50/(1·5) = 10
B = 50/((−1)·4) = −12.5
C = 50/((−5)·(−4)) = 2.5
Output
y(t) = 10 − 12.5·e−t + 2.5·e−5t
y(0.8) = 4.429
Answer
y(0.8) = 4.429
5.Step response
Answer: ζ = 0.6074
Step response: a first-order system G(s) = K/(τs + 1) answers a step of size U with y(t) = K·U·(1 − e−t/τ): it reaches 63.2 % of the final value K·U after one time constant τ and 98 % after 4τ. A second-order system G(s) = K·ωₙ²/(s² + 2ζωₙs + ωₙ²) has the poles s = −ζωₙ ± jωd with ωd = ωₙ√(1 − ζ²). For 0 < ζ < 1 the step response overshoots: percent overshoot %OS = 100·e−ζπ/√(1−ζ²), peak time tp = π/ωd, and the 2 % settling time ts ≈ 4/(ζωₙ). Compare the denominator with s² + 2ζωₙs + ωₙ² to read off ωₙ and ζ. For a mass–spring–damper ωₙ = √(k/m) and ζ = c/(2√(km)); for a series RLC circuit ωₙ = 1/√(LC) and ζ = (R/2)·√(C/L).
Compare with the standard form
The denominator must match s² + 2ζωₙs + ωₙ².
ωₙ² = 82 → ωₙ = 9.055 rad/s
2ζωₙ = 11 → ζ = 11/(2·9.055) = 0.6074
Result
ζ = 0.6074
Answer
ζ = 0.6074
6.Step response
Answer: K = 52.49
Step response: a first-order system G(s) = K/(τs + 1) answers a step of size U with y(t) = K·U·(1 − e−t/τ): it reaches 63.2 % of the final value K·U after one time constant τ and 98 % after 4τ. A second-order system G(s) = K·ωₙ²/(s² + 2ζωₙs + ωₙ²) has the poles s = −ζωₙ ± jωd with ωd = ωₙ√(1 − ζ²). For 0 < ζ < 1 the step response overshoots: percent overshoot %OS = 100·e−ζπ/√(1−ζ²), peak time tp = π/ωd, and the 2 % settling time ts ≈ 4/(ζωₙ). Compare the denominator with s² + 2ζωₙs + ωₙ² to read off ωₙ and ζ. For a mass–spring–damper ωₙ = √(k/m) and ζ = c/(2√(km)); for a series RLC circuit ωₙ = 1/√(LC) and ζ = (R/2)·√(C/L).
Closed-loop transfer function
T(s) = K/(s² + 10s + K)
Damping ratio from the overshoot
ζ = −ln(0.05)/√(π² + ln²(0.05)) = 0.6901
Gain
ωₙ = 10/(2ζ) = 7.245 rad/s
K = ωₙ² = 52.49
Answer
K = 52.49
7.Bode plots & margins
Answer: f0 = 7587 Hz
Frequency response: substitute s = jω in the transfer function. The magnitude in decibels is 20·log₁₀|H(jω)| and the phase is the sum of the angles of the numerator factors minus those of the denominator factors. A first-order RC or RL filter has its corner (−3 dB) frequency at ωc = 1/(RC) or R/L, and fc = ωc/(2π); a low-pass filter gives |H| = 1/√(1 + (ω/ωc)²) and φ = −atan(ω/ωc). In the asymptotic (straight-line) Bode plot each pole bends the magnitude down by 20 dB/decade at its corner frequency, each zero bends it up by 20 dB/decade, and an integrator 1/s gives −20 dB/decade at all frequencies. Gain crossover ωc: |L(jω)| = 1 (0 dB); phase margin PM = 180° + ∠L(jωc). Phase crossover ω180: ∠L(jω) = −180°; gain margin GM = −20·log₁₀|L(jω180)| dB. The closed loop is stable when both margins are positive.
Frequency response: substitute s = jω in the transfer function. The magnitude in decibels is 20·log₁₀|H(jω)| and the phase is the sum of the angles of the numerator factors minus those of the denominator factors. A first-order RC or RL filter has its corner (−3 dB) frequency at ωc = 1/(RC) or R/L, and fc = ωc/(2π); a low-pass filter gives |H| = 1/√(1 + (ω/ωc)²) and φ = −atan(ω/ωc). In the asymptotic (straight-line) Bode plot each pole bends the magnitude down by 20 dB/decade at its corner frequency, each zero bends it up by 20 dB/decade, and an integrator 1/s gives −20 dB/decade at all frequencies. Gain crossover ωc: |L(jω)| = 1 (0 dB); phase margin PM = 180° + ∠L(jωc). Phase crossover ω180: ∠L(jω) = −180°; gain margin GM = −20·log₁₀|L(jω180)| dB. The closed loop is stable when both margins are positive.