Transfer Functions & Control

Complete guide to transfer functions, PID controllers, block diagrams, Bode plots, and stability analysis.

About Transfer Functions & Control

A transfer function G(s) = Y(s)/U(s) is the Laplace transform of a system's output divided by the Laplace transform of its input, with all initial conditions zero. It packs a whole linear system into one ratio of polynomials. The roots of the denominator are the poles, which set how the system responds; the roots of the numerator are the zeros, which shape that response.

Control engineering builds on that idea. Block diagrams connect transfer functions in series, in parallel and in feedback loops; a unity feedback loop around G(s) gives the closed-loop transfer function G/(1 + G). The closed loop is stable when every closed-loop pole has a negative real part. The system type and error constants tell you the steady-state error for step, ramp and parabolic inputs.

To design or judge a controller, engineers use three pictures of the same G(s): the root locus (where the closed-loop poles move as the gain rises), the Bode plot (gain and phase against frequency, with gain and phase margins) and the Nyquist plot. PID controllers are the most common design in industry. A state-space model ẋ = Ax + Bu describes the same system with matrices, and converts to and from G(s).

What a Transfer Function Is

A transfer function is the ratio of a system's output to its input in the Laplace domain, with all initial conditions zero: H(s) = Y(s)/X(s). It turns a differential equation into a single algebraic expression. For example, RC·v′ + v = vin gives H(s) = 1/(RCs + 1). Because Y(s) = H(s)X(s), the response to any input is found by multiplying by the input's transform and inverting.

Key Formulas

Poles, Zeros, Stability and DC Gain

The roots of the denominator are the poles and the roots of the numerator are the zeros. The poles decide the natural response: a system is stable when every pole has a negative real part (lies in the left half of the s-plane). The DC gain, H(0), is the steady-state output for a unit-step input. Example: G(s) = 10/(s + 2) has a single pole at −2 (stable, with time constant 0.5 s) and a DC gain of 10/2 = 5.

Frequency Response and Bode Plots

Setting s = jω gives the frequency response H(jω): its magnitude is the gain for a sine wave at frequency ω, and its angle is the phase shift. A Bode plot shows the magnitude in decibels and the phase against log frequency. Each real pole bends the magnitude down by 20 dB per decade beyond its corner frequency, where the gain is 3 dB below the low-frequency value, and each real zero bends it up. For 1/(1 + s/2), the corner is at 2 rad/s, where the gain is −3.01 dB.

Feedback and Block Diagrams

Systems are drawn as blocks connected by signals. Blocks in series multiply, blocks in parallel add, and a negative-feedback loop with forward path G(s) and feedback path H(s) has the closed-loop transfer function T(s) = G(s)/(1 + G(s)H(s)). With G(s) = 10/(s + 2) and unity feedback, T(s) = 10/(s + 12): the pole moves from −2 to −12, which makes the response six times faster, and the DC gain becomes 10/12 ≈ 0.83, a steady-state error of about 17% for a step.

Controllers and Design Tools

A PID controller C(s) = Kp + Ki/s + Kd·s adds proportional, integral and derivative action. The integral term puts a pole at s = 0, which removes the steady-state error for a step. Root locus shows how the closed-loop poles move as a gain changes; Bode and Nyquist plots give the gain and phase margins that measure how close a loop is to instability. State-space models describe the same systems with matrices and convert to transfer functions with H(s) = C(sI − A)⁻¹B + D.

Transfer Functions & Control: Frequently Asked Questions

It is the Laplace transform of the output divided by the Laplace transform of the input, with zero initial conditions: H(s) = Y(s)/X(s).

All Transfer Functions & Control Topics (27 articles)

Try the LapCalc calculator

Exact Laplace transforms with every step, free, plus free calculators for partial fractions, ODEs, circuits, control and Fourier series. Premium adds the inverse Laplace calculator and AI explanations.

Open LapCalc