MV-04: General Forcing Conditions – Fourier, Convolution, and Response Spectra

Summary
Handling non-harmonic and transient forces. Covers Fourier series for periodic forces, the Convolution Integral for arbitrary excitations, Response Spectra for earthquake design, and Laplace Transform methods for step and ramp inputs.

So far, we have analyzed systems subjected to smooth, repeating harmonic forces—like the rotation of a motor or the vibration of an unbalanced wheel. But the real world is rarely so predictable.

What happens when a car hits a pothole? How does a building respond to the chaotic shaking of an earthquake? What about the sudden blast pressure on a protective structure? These are not harmonic forces—they are irregular, transient, and sometimes violent.

This post, based on Chapter 4 of Rao’s Mechanical Vibrations, explores how engineers analyze systems under General Forcing Conditions. We will move from the frequency domain (Fourier Series) to the time domain (Convolution Integral), and introduce the practical design tool: the Response Spectrum.

Periodic but Non-Harmonic: The Power of Fourier Series

Not all repeating forces are smooth sine waves. Consider the force exerted by a cam mechanism or the pressure fluctuations in a reciprocating compressor. These are periodic (they repeat after a time interval $\tau$), but they are non-harmonic.

The solution comes from the French mathematician Jean Baptiste Joseph Fourier: Any periodic function, no matter how complex, can be represented as a sum of simple harmonic functions.

$$ F(t) = \frac{a_0}{2} + \sum_{j=1}^{\infty} \left[ a_j \cos(j\omega t) + b_j \sin(j\omega t) \right] $$

where the coefficients $a_j$ and $b_j$ are determined by integration over one period.

Fourier series decomposition of a square wave
Example: A square wave decomposed into odd harmonics. More terms = better approximation.

The Superposition Principle

Because linear vibration systems obey superposition, we can:

  1. Decompose the complex force into individual harmonics
  2. Solve for the response to each harmonic separately (using methods from the previous post)
  3. Sum all individual responses to obtain the total system response
Key Insight: The frequency spectrum (bottom right) shows that higher harmonics have smaller amplitudes. In practice, engineers often truncate the series after a few terms for sufficient accuracy.

Non-Periodic Forces: The Convolution Integral

What if the force doesn’t repeat? Consider a hammer striking an anvil, a package dropped on the floor, or the ground motion during an earthquake. These are transient excitations that cannot be handled by Fourier methods.

The Impulse Response Function

The key insight is the unit impulse $\delta(t)$—a force of infinite magnitude acting for an infinitesimal duration, with unit area. When a system is struck by a unit impulse, its response is the Impulse Response Function $g(t)$:

$$ g(t) = \frac{e^{-\zeta \omega_n t}}{m \omega_d} \sin(\omega_d t), \quad t \geq 0 $$

This describes how the system “rings” after being struck—like a bell after a single tap.

The Convolution (Duhamel) Integral

The genius of this approach: treat any arbitrary force $F(t)$ as a series of infinitesimal impulses. Each impulse at time $\tau$ contributes to the response at time $t$. Summing all contributions gives the Convolution Integral:

$$ x(t) = \int_0^t F(\tau) , g(t - \tau) , d\tau $$

Impulse response and convolution integral visualization
Top: Unit impulse and impulse response function. Bottom: Arbitrary force decomposed into impulses, with resulting system response via convolution.
Power of Convolution: This integral allows calculation of the response to any force history—step functions, ramps, pulses, or even random signals like earthquake ground motion.

Earthquake Engineering: The Response Spectrum

Computing the exact time history for a building during an earthquake is computationally expensive, and every earthquake is unique. For design purposes, engineers care primarily about the maximum response—peak displacement or acceleration—rather than the precise motion at every instant.

This leads to the Response Spectrum, a fundamental tool in seismic design.

What is a Response Spectrum?

A response spectrum plots the maximum response of SDOF systems against their natural period $T$ for a specific ground motion record. The construction process:

  1. Apply an earthquake record to a SDOF system with period $T_1$, record maximum response
  2. Repeat for systems with periods $T_2, T_3, \ldots, T_n$
  3. Plot all maximum values to create the spectrum
Response spectrum construction showing SDOF responses and resulting spectrum
Left: Different-period buildings respond differently to the same earthquake. Right: The response spectrum summarizes maximum responses across all periods.

Types of Response Spectra

TypeSymbolDescription
Displacement$S_d$Maximum relative displacement
Velocity$S_v$Maximum relative velocity (≈ $\omega_n S_d$)
Acceleration$S_a$Maximum absolute acceleration (≈ $\omega_n^2 S_d$)
Design Power: A structural engineer can simply look up their building’s natural period on the response spectrum to find the maximum design load—no differential equations required. Building codes (e.g., Eurocode 8, ASCE 7) provide design response spectra for different seismic zones.

Laplace Transforms: Handling Discontinuities

When forcing functions are discontinuous—like a step force (suddenly applying a load) or a ramp force (linearly increasing load)—the Laplace Transform provides an efficient analytical solution.

The Laplace transform $\mathcal{L}{f(t)} = F(s) = \int_0^\infty f(t)e^{-st}dt$ converts time-domain differential equations into algebraic equations in the complex $s$-domain.

Why it works: Derivatives become multiplications by $s$:

  • $\mathcal{L}{\dot{x}} = sX(s) - x(0)$
  • $\mathcal{L}{\ddot{x}} = s^2X(s) - sx(0) - \dot{x}(0)$

This transforms our equation of motion $m\ddot{x} + c\dot{x} + kx = F(t)$ into:

$$ X(s) = \frac{F(s) + \text{(initial conditions)}}{ms^2 + cs + k} $$

The solution is then obtained by inverse Laplace transform, often using partial fractions and standard transform tables.

Key Observations

Input TypePeak ResponseCharacteristic
Step$2\delta_{st}$ (undamped)Sudden application causes overshoot
Ramp≈ $\delta_{st}$Gradual increase minimizes overshoot
Step and ramp force inputs with corresponding system responses
Top: Step force causes significant overshoot (up to 2× static deflection for undamped systems). Bottom: Ramp loading produces a smoother response with less oscillation.
Practical Insight: This explains why suddenly dropping a weight on a scale shows a higher reading than placing it gently—the dynamic response can be twice the static value!

Julia Example: Response to a Step Force

Let’s visualize the response of an underdamped system to a step force (sudden constant load). As noted above, we expect the system to overshoot the static equilibrium position before settling.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
using Plots

# System parameters
m = 1.0      # Mass (kg)
c = 1.0      # Damping (N·s/m)
k = 10.0     # Stiffness (N/m)

# Derived parameters
ωn = sqrt(k/m)              # Natural frequency
ζ = c / (2*sqrt(k*m))       # Damping ratio
ωd = ωn * sqrt(1 - ζ^2)     # Damped frequency

# Unit step force
F0 = 1.0
δst = F0 / k                # Static deflection

# Time vector
t = range(0, 10, length=500)

# Step response (analytical solution)
x = @. δst * (1 - exp(-ζ*ωn*t) * (cos(ωd*t) + (ζ*ωn/ωd)*sin(ωd*t)))

# Plot
plot(t, x, linewidth=2.5, label="x(t)",
    xlabel="Time (s)", ylabel="Displacement x (m)",
    title="Step Response (ζ = $(round(ζ, digits=3)))")
hline!([δst], linestyle=:dash, color=:green, label="Static: δst")
hline!([2δst], linestyle=:dot, color=:red, label="Max (undamped): 2δst")

savefig("step_response.png")
Step response showing overshoot and settling
The system overshoots the static equilibrium due to inertia, then oscillates until damping settles it down—critical behavior for control systems and vehicle suspensions.

Summary

This post moved beyond harmonic excitation into the realm of general forcing conditions:

MethodApplicationKey Feature
Fourier SeriesPeriodic non-harmonic forcesDecomposes into harmonics
Convolution IntegralArbitrary transient forcesUses impulse response function
Response SpectrumEarthquake designMaximum response vs period
Laplace TransformStep/ramp/discontinuous forcesConverts to algebraic equations

What’s Next?

So far, we have analyzed single-mass systems. But most real machines have multiple moving parts. In the next post, we will explore Two-Degree-of-Freedom Systems—what happens when two masses interact and exchange energy.

References

Rao, S. S. (2018). Mechanical Vibrations (6th ed.). Pearson.