Lesson 2 · Objective
What Is Gain?
Before we can talk about how a PID controller actually behaves, there's a piece of vocabulary you need first: gain. It shows up constantly once you start tuning loops, so it's worth nailing down properly right now, before the next lesson leans on it.
At its core, gain is just a multiplier — a ratio that describes how much an output changes for a given change in an input. Think of it as the "bang for your buck" number for any input/output relationship: push the input a little, and gain tells you how much the output moves in response.
That triangle symbol, Δ ("delta"), just means "the change in" — so ΔOutput is simply how much the output changed, and ΔInput is how much the input changed to cause it.
changes
(has a gain)
responds
Every input/output relationship in this section — a controller's output driving a valve, a valve driving a flow, a flow driving a temperature — has its own gain. Over the next few pages you'll see that gain can show up two different ways depending on what's being measured, and then why it matters so much once we get to tuning a real controller.
Form 1 of 2
Gain Without Units — Percent of Span
Sometimes both the input and the output are expressed the same way: as a percentage of their own span. A controller's output is reported as 0–100% of its full range, and a valve's position is reported as 0–100% of fully closed to fully open. When input and output are both percentages like this, the percent signs cancel in the division — so the resulting gain has no units at all, just a plain number.
| Signal | Before | After | Δ (change) |
|---|---|---|---|
| Controller Output (CO) | 40% | 60% | +20% |
| Valve Position | 40% | 60% | +20% |
Gain = ΔValve ⁄ ΔCO = 20% ⁄ 20% = 1.0 (unitless)
Form 2 of 2
Gain With Units — One Case Worth Seeing
Sometimes the input and output are two genuinely different kinds of measurement — not comparable percentages of the same kind of span. A quick example: a 4–20 mA control signal drives a valve, the valve changes a flow, and that flow changes a downstream temperature. Milliamps and degrees aren't the same kind of thing, so when you divide one by the other, the units don't cancel — they stick around, and the gain carries them.
| Signal | Before | After | Δ (change) |
|---|---|---|---|
| Control Signal | 8 mA | 14 mA | +6 mA |
| Downstream Temp | 150°F | 168°F | +18°F |
Gain = ΔTemp ⁄ ΔSignal = 18°F ⁄ 6 mA = 3°F per mA
You'll hear a process gain described this way in the field — "3°F per mA." That's a real, correct way to describe how strongly the physical process responds.
A Property of the Process
Every Process Has Its Own Inherent Gain
Here's the important part: process gain isn't something an instructor picks, and it isn't something a controller invents. It's a physical property of that specific process — how much a real tank's level actually moves for a given valve change, how much a real room's temperature actually moves for a given furnace output change. Two different processes, even ones doing "the same job," can have wildly different gains.
Processes that swing a lot for a small input change are called "twitchy" — a small nudge produces a big output response, which means high gain. Processes that barely move even for a large input change are called "sluggish" — a big push produces only a small output response, which means low gain.
Bar lengths above are illustrative only, to show relative size of the response at a glance — read the numbers for the actual values.
Practice
More Worked Examples
The arithmetic is always the same — find ΔOutput, find ΔInput, divide. Notice that all three examples below use percent of span on both sides. That's not a coincidence, and it's not just to keep the numbers tidy — it's exactly how a real controller sees the world, and it's why its gain always comes out unitless. You'll see why on the next page.
| Signal | Before | After | Δ |
|---|---|---|---|
| Controller Output | 35% | 50% | +15% |
| Level (% of span) | 35% | 65% | +30% |
Gain = 30% ⁄ 15% = 2.0 (unitless) — a fairly twitchy tank.
| Signal | Before | After | Δ |
|---|---|---|---|
| Heater Output | 20% | 45% | +25% |
| Temperature (% of span) | 30% | 55% | +25% |
Gain = 25% ⁄ 25% = 1.0 (unitless)
| Signal | Before | After | Δ |
|---|---|---|---|
| Control Signal (% of span) | 20% | 30% | +10% |
| Pressure (% of span) | 20% | 60% | +40% |
Gain = 40% ⁄ 10% = 4.0 (unitless) — another twitchy vessel.
Why This Actually Matters
The Controller Has to Match the Process's Gain
Here's the bridge to everything coming next. A PID controller has its own tunable gain setting — the P (Proportional) term, often written Kp — and that setting has to be chosen appropriately relative to how twitchy or sluggish the actual process is. The controller's job is to counteract the process's own gain, not ignore it.
Get that match wrong, and control suffers in one of two predictable ways:
- Too aggressive on a twitchy (high-gain) process — the controller keeps overreacting to a process that already overreacts on its own, and you get overshoot, oscillation, even instability.
- Too gentle on a sluggish (low-gain) process — the controller barely pushes a process that already barely responds, and you get painfully slow, sleepy control.
Why Gain Has No Units
Kp Itself Never Carries Units — Here's Why
Look back at the last two pages. Every unitless example used percent of span on both sides, and the one example with real engineering units (3°F per mA) was describing the process's gain — not the controller's. A real PID controller's proportional gain, Kp, is always a plain, unitless number — even when the process variable (PV) and the control output (CO) are two completely different physical quantities from each other.
Here's why that works. Before a signal ever reaches the controller's math, the instrumentation scales it into percent of span — 0–100% of whatever range that instrument is configured for. A transmitter reading flow as a 4–20 mA signal ranged for 0–500 GPM doesn't hand the controller "312 GPM" or "13.6 mA" — internally, it's already treated as a percentage of that 500 GPM span. The valve's output is already a percentage by nature (0–100% open). So by the time the controller does its proportional math, both sides of the equation are percentages — no matter what the PV and CO physically represent.
| Signal | Real-World Value | Scaled to % of Span |
|---|---|---|
| PV — Flow (4–20 mA, ranged 0–500 GPM) | 250 GPM (12 mA) | 50% |
| CO — Valve Position | — | 62% |
Kp = ΔCO ⁄ ΔPV = %CO change ⁄ %PV change
GPM and "percent open" never actually meet inside that formula — the controller only ever sees the two percent-of-span numbers, and a percentage divided by a percentage leaves nothing behind. That's why Kp comes out unitless no matter what the PV and CO physically are — gallons per minute vs. percent open, degrees vs. psi, it doesn't matter.
One More Property of the Process
Self-Regulating vs. Integrating Processes
Twitchy vs. sluggish describes how much a process responds to a change in output. There's a second, independent question worth knowing before you go further: does the process ever stop moving on its own after that change, or does it just keep going forever unless you undo the change? That's the difference between self-regulating and integrating processes.
Review