Fiveable

🎛️Control Theory Unit 4 Review

QR code for Control Theory practice questions

4.1 Frequency response analysis

4.1 Frequency response analysis

Written by the Fiveable Content Team • Last updated August 2025
Written by the Fiveable Content Team • Last updated August 2025
🎛️Control Theory
Unit & Topic Study Guides

Frequency response definition

Frequency response analysis examines how a linear time-invariant (LTI) system responds to sinusoidal inputs across a range of frequencies. It tells you two things at every frequency: how much the system amplifies or attenuates the signal, and how much it shifts the signal in time (phase). This makes it one of the most practical tools for assessing stability, designing controllers, and shaping system behavior without ever solving a differential equation in the time domain.

Sinusoidal input vs output

The core idea is straightforward. Apply a sinusoidal input u(t)=Asin(ωt)u(t) = A \sin(\omega t) to an LTI system and wait for transients to die out. The steady-state output will be another sinusoid at the same frequency:

y(t)=Bsin(ωt+ϕ)y(t) = B \sin(\omega t + \phi)

The output has a different amplitude BB and a phase shift ϕ\phi, but the frequency ω\omega never changes. This property holds only for LTI systems, and it's what makes frequency response analysis so clean: you just need to track how BB and ϕ\phi vary as you sweep ω\omega.

Magnitude vs phase

  • Magnitude response M(ω)=BAM(\omega) = \frac{B}{A} is the ratio of output amplitude to input amplitude at each frequency. Values greater than 1 mean the system amplifies that frequency; values less than 1 mean it attenuates.
  • Phase response ϕ(ω)\phi(\omega) is the angular shift between input and output. A negative phase means the output lags the input.

Together, magnitude and phase give you a complete picture of what the system does to any sinusoidal input. Since any signal can be decomposed into sinusoids (via Fourier analysis), knowing the frequency response effectively tells you how the system treats every possible input.

Bode plots

Bode plots are the standard way to visualize frequency response. They consist of two stacked graphs that share a common logarithmic frequency axis: one for magnitude and one for phase. Named after Hendrik Wade Bode, who developed them in the 1930s at Bell Labs, they remain the go-to tool because they turn multiplication of transfer functions into simple graphical addition.

Magnitude plot

The magnitude plot displays M(ω)M(\omega) in decibels (dB) on the vertical axis:

MdB(ω)=20log10(M(ω))M_{dB}(\omega) = 20 \log_{10}\left(M(\omega)\right)

Why decibels? Two reasons. First, the log scale compresses a huge dynamic range into a manageable plot. A gain of 1000 is only 60 dB. Second, when you cascade systems (multiply transfer functions), their dB magnitudes simply add, which makes sketching composite responses much easier.

The horizontal axis uses a logarithmic frequency scale (rad/s), so each factor-of-10 increase in frequency (a decade) occupies the same horizontal distance.

Phase plot

The phase plot shows ϕ(ω)\phi(\omega) in degrees versus the same logarithmic frequency axis. Phase is typically kept in the range [180°,180°][-180°, 180°] (or sometimes [360°,0°][-360°, 0°] for open-loop analysis) to avoid confusing jumps in the plot.

The phase tells you about timing. At a given frequency, if ϕ=90°\phi = -90°, the output peak arrives one-quarter cycle after the input peak. This lag information is critical for stability analysis.

Logarithmic frequency scale

The log scale is not just a convenience; it's what makes Bode plots powerful.

  • It lets you see behavior from, say, 0.01 rad/s to 10,000 rad/s on a single plot.
  • Asymptotic approximations (straight-line slopes like 20-20 dB/decade) become easy to draw and interpret.
  • Decades (factors of 10) and octaves (factors of 2) serve as natural reference intervals. A first-order pole, for example, contributes a slope of 20-20 dB/decade and roughly 6-6 dB/octave.

Frequency response of LTI systems

The frequency response of an LTI system is fully determined by its transfer function G(s)G(s). You obtain it by substituting s=jωs = j\omega to get the complex-valued function G(jω)G(j\omega). The magnitude of G(jω)G(j\omega) gives M(ω)M(\omega), and the angle of G(jω)G(j\omega) gives ϕ(ω)\phi(\omega).

Transfer function representation

The transfer function relates the Laplace-domain output to input under zero initial conditions:

G(s)=Y(s)U(s)=N(s)D(s)G(s) = \frac{Y(s)}{U(s)} = \frac{N(s)}{D(s)}

where N(s)N(s) and D(s)D(s) are polynomials in ss. The roots of N(s)N(s) are the zeros (frequencies where the system output goes to zero), and the roots of D(s)D(s) are the poles (frequencies associated with the system's natural modes).

Sinusoidal input vs output, bagustris@/home: Memahami Perilaku Sinyal: Frekuensi, Amplitudo dan Fase

Poles vs zeros

  • Poles are values of ss where G(s)G(s) \to \infty. Each pole contributes a 20-20 dB/decade slope to the magnitude and up to 90°-90° of phase lag.
  • Zeros are values of ss where G(s)=0G(s) = 0. Each zero contributes a +20+20 dB/decade slope and up to +90°+90° of phase lead.

The interplay between pole and zero locations shapes the entire frequency response. Poles near the imaginary axis produce sharp resonant peaks; zeros near the imaginary axis produce sharp notches.

Stability implications

Pole locations directly determine stability:

  • Stable: all poles in the left half-plane (negative real parts). Transients decay.
  • Marginally stable: poles on the imaginary axis. Sustained oscillations, no decay.
  • Unstable: any pole in the right half-plane. Transients grow without bound.

The frequency response doesn't show pole locations directly, but it reveals stability margins (gain margin and phase margin) that tell you how close the closed-loop system is to instability. More on those below.

Frequency domain specifications

Frequency domain specs translate time-domain performance goals (speed, overshoot, robustness) into measurable features of the Bode plot. Designers use these specs to set targets before shaping the open-loop frequency response with compensators.

Bandwidth

Bandwidth is the frequency range over which the system responds effectively. For a low-pass system, it's defined as the frequency where the magnitude drops to 3-3 dB below its low-frequency (DC) value. At the 3-3 dB point, the output power is half the input power.

A larger bandwidth means faster response to changing inputs, but it also means the system passes more high-frequency noise. There's always a trade-off between speed and noise sensitivity.

Resonant peak

The resonant peak MrM_r is the maximum value of the closed-loop magnitude response, usually occurring near the system's natural frequency ωn\omega_n. A tall, sharp resonant peak signals low damping and corresponds to large overshoot in the time-domain step response.

For a standard second-order system, the resonant peak grows as the damping ratio ζ\zeta decreases. A common design target is Mr<1.3M_r < 1.3 (about 2.3 dB), which roughly corresponds to ζ>0.4\zeta > 0.4 and acceptable overshoot.

Gain vs phase margin

These are the two most important robustness indicators on a Bode plot.

  • Gain margin (GM): measured at the frequency where the phase crosses 180°-180° (the phase crossover frequency). It's the number of dB the magnitude is below 0 dB at that point. A GM of 6 dB means you could double the loop gain before the system goes unstable.
  • Phase margin (PM): measured at the frequency where the magnitude crosses 0 dB (the gain crossover frequency). It's how many degrees the phase is above 180°-180°. A PM of 45° means you could add 45° of extra lag before instability.

Typical design targets are GM \geq 6 dB and PM between 30° and 60°. Larger margins mean more tolerance for modeling errors and parameter variations.

Frequency response of standard systems

Standard first- and second-order building blocks have characteristic Bode plot shapes. Recognizing these patterns lets you quickly sketch the response of more complex systems by combining individual contributions.

First-order systems

A first-order system has the transfer function:

G(s)=Kτs+1G(s) = \frac{K}{\tau s + 1}

where KK is the DC gain and τ\tau is the time constant. The corner frequency (or break frequency) is ωc=1τ\omega_c = \frac{1}{\tau}.

  • Magnitude: flat at 20log10(K)20\log_{10}(K) dB for ωωc\omega \ll \omega_c, then rolls off at 20-20 dB/decade for ωωc\omega \gg \omega_c. At ω=ωc\omega = \omega_c, the magnitude is down 33 dB from the DC value.
  • Phase: starts at 0°, passes through 45°-45° at ωc\omega_c, and approaches 90°-90° at high frequencies. Most of the phase transition happens within one decade on either side of ωc\omega_c.
Sinusoidal input vs output, تغير الطور - ويكيبيديا

Second-order systems

A standard second-order system has the form:

G(s)=ωn2s2+2ζωns+ωn2G(s) = \frac{\omega_n^2}{s^2 + 2\zeta\omega_n s + \omega_n^2}

where ωn\omega_n is the natural frequency and ζ\zeta is the damping ratio.

  • Magnitude: flat at 0 dB for low frequencies, then rolls off at 40-40 dB/decade at high frequencies. Near ωn\omega_n, the response depends heavily on ζ\zeta. For ζ<0.707\zeta < 0.707, a resonant peak appears; for ζ>0.707\zeta > 0.707, the response rolls off smoothly with no peak.
  • Phase: transitions from 0° to 180°-180°, passing through 90°-90° exactly at ω=ωn\omega = \omega_n regardless of ζ\zeta. Lower damping makes this transition sharper.

Higher-order systems

Higher-order systems (third-order and above) have transfer functions with denominator polynomials of degree three or more. Their Bode plots can show multiple break frequencies, multiple resonant peaks, and steeper high-frequency roll-off (e.g., 60-60 dB/decade for a third-order system with three real poles).

In practice, you analyze higher-order systems by factoring the transfer function into first-order and second-order terms, sketching each term's contribution separately, and then adding the magnitude (in dB) and phase contributions together. This is one of the biggest practical advantages of Bode plots.

Experimental determination of frequency response

When you don't have a mathematical model of the system, or when you want to validate a model against reality, you can measure the frequency response experimentally. Three common approaches exist, each with different trade-offs between speed and accuracy.

Sinusoidal testing

This is the most direct method:

  1. Apply a sinusoidal input at a specific frequency ω\omega and wait for the transient to die out.
  2. Measure the steady-state output amplitude BB and phase shift ϕ\phi relative to the input.
  3. Compute M(ω)=B/AM(\omega) = B/A and record ϕ(ω)\phi(\omega).
  4. Repeat at many frequencies across the range of interest.
  5. Plot the results as a Bode plot.

Sinusoidal testing is accurate but slow, since you need to wait for steady state at each frequency. Frequency response analyzers automate this process.

Correlation methods

Correlation methods speed things up by exciting all frequencies at once. You apply a broadband signal (white noise, pseudorandom binary sequences, or a chirp) and record both input and output. Cross-correlating the two signals yields the system's impulse response, which you then Fourier-transform to get G(jω)G(j\omega).

These methods are faster than point-by-point sinusoidal testing but require more signal processing and can be sensitive to noise and nonlinearities.

Spectrum analyzers

A two-channel spectrum analyzer measures the power spectral density of both the input and output simultaneously. The frequency response is computed as the ratio of the output spectrum to the input spectrum (the cross-spectrum divided by the input auto-spectrum). The result is displayed directly as magnitude and phase versus frequency.

Spectrum analyzers also compute a coherence function, which tells you how much of the output is linearly related to the input at each frequency. Low coherence at a particular frequency flags noise contamination or nonlinear behavior at that frequency.

Frequency response applications

Frequency response analysis connects directly to three major areas of control engineering: filtering, stability assessment, and controller design.

Filter design

Filters selectively pass or reject frequency bands. The four basic types are low-pass, high-pass, band-pass, and band-stop (notch). Designing a filter means placing poles and zeros so that the resulting Bode plot matches the desired frequency response.

For example, a second-order Butterworth low-pass filter places two complex poles at 45°45° angles in the left half-plane (ζ=0.707\zeta = 0.707), giving a maximally flat passband with no resonant peak and a 40-40 dB/decade roll-off.

Stability analysis

For closed-loop systems, the Nyquist stability criterion and Bode stability analysis use the open-loop frequency response to determine closed-loop stability. You don't need to find the closed-loop poles explicitly.

On a Bode plot, you read gain and phase margins directly. If the open-loop gain is still above 0 dB when the phase reaches 180°-180°, the closed-loop system is unstable. The Nyquist plot provides a more general test that also handles open-loop unstable plants and time delays.

Controller design

Frequency response methods are central to designing compensators like PID controllers and lead-lag networks. The design process typically follows these steps:

  1. Plot the uncompensated open-loop Bode plot.
  2. Identify the current gain crossover frequency and phase margin.
  3. Determine how much phase lead or additional gain is needed to meet specs.
  4. Add a compensator (lead, lag, or lead-lag) that reshapes the Bode plot to achieve the desired crossover frequency, phase margin, and bandwidth.
  5. Verify the design by checking the compensated Bode plot and simulating the closed-loop step response.

This loop-shaping approach is one of the most widely used controller design methods because it gives you direct, visual control over the trade-offs between speed, robustness, and noise rejection.