Lesson 3 · Objective
Two More Ideas Before We Start Tuning
Before we get into actually tuning P, I, and D settings, there are two ideas you need first. One is a distinction you've already been using without a name attached to it. The other is something that trips up even experienced technicians, because it's easy to treat as a memorized rule when it actually has to be worked out fresh for every single loop.
Open Loop vs. Closed Loop
Does the control system actually measure the result and correct for it — or does it just run and hope? Every PID system in this course is closed loop. Open loop is the thing it's not, and it's worth seeing clearly what that alternative looks like.
Direct-Acting vs. Reverse-Acting Control
Should the controller's output go up or down when the process variable rises? The answer isn't a property of "the type of process" — it depends on the physical arrangement of that specific loop, and getting it backwards is a real, safety-relevant mistake.
By the end of this lesson you should be able to look at an unfamiliar loop — a valve, a pump, a tank — and reason your way to the correct controller action from scratch, rather than recalling it from memory.
Part 1 · Open Loop
Open-Loop Control: No Feedback
Open-loop control sets an output and lets it run — with nothing measuring the actual result and adjusting for it. The controller (or a person) decides what the output should be ahead of time, and it just executes that decision, blind to whatever actually happens to the process variable.
You've probably used one of these already. A microwave set to "3 minutes" runs the magnetron for exactly 3 minutes regardless of the food's actual starting or finishing temperature — it never checks whether the food's already hot. A sprinkler on a timer works the same way — you've probably seen one of these too — running for 20 minutes because that's what the timer was set to, never checking whether the lawn is already soaked from last night's rain or bone dry from a two-week drought. Both devices commit to an output ahead of time and never look back to see if it actually worked.
Dashed red line = the connection that doesn't exist in an open-loop system.
Part 1 · Closed Loop
Closed-Loop Control: Feedback Changes Everything
Closed-loop control measures the actual process variable and continuously compares it to setpoint, adjusting the control output to correct any error. This is what every control system in this course has actually been — including the ones that didn't look like it yet.
Go back to Lesson 1: on/off control (the thermostat) measures room temperature and reacts to it — that's feedback, that's closed loop. Continuous PID control also measures PV and reacts to it — also closed loop. On/off and PID differ in how they react (slamming between two extremes vs. easing smoothly), not in whether they react. Both of Lesson 1's control methods live on the closed-loop side of this new line we're drawing today.
Green feedback line = the connection that makes this a closed loop. Compare directly to the broken loop on the previous page.
Closed loop is generally what real process control needs — a plant can't just hope a tank level or a reactor temperature stays where it should. But open loop still has its place: it's simpler and cheaper, and it's perfectly fine when precision genuinely doesn't matter, or when feeding a measurement back isn't practical or worth the cost. From here forward, though, every lesson in this course — including the sign-of-the-controller-output question on the next page — lives entirely inside a closed loop.
Foundational Concept
Manual vs. Automatic Control Mode
Before you ever tune a single value, there's a switch on every PID controller you need to know about — Auto and Manual. Every trainer you'll use in this lesson runs in Auto, where the controller's own math sets the output. But that math can be switched off entirely, handing direct control of the output straight to a person.
This switch exists on every real PID controller — a DCS faceplate on a control-room screen, a PLC's HMI, or a panel-mounted single-loop controller bolted to a wall with nothing but its own buttons. That's a thing: an operator or technician can walk up to any one of them and take direct control of the output by hand.
Why would anyone do that? Real, practical reasons — during startup, before the process is stable enough for automatic control to make sense; during an abnormal situation; when an instrument is acting up and the reading can't be trusted; for maintenance or troubleshooting; or simply because an operator needs to intervene directly for a moment.
Try it below: watch the trainer run in Auto, switch it to Manual and move the output yourself, then switch back to Auto and watch the transfer happen cleanly.
- Trainer — Level Control, Inlet Valve (Manual vs. Automatic Mode) Same inlet-fill-valve tank used by the trainers ahead — this one is only about the Auto/Manual switch.
Part 2 · Definition
Controller Action: Direct-Acting vs. Reverse-Acting
Inside a closed loop, the controller constantly asks: "PV just moved — which way should I move CO to fix it?" The answer to that question is the controller's action, and it comes in exactly two flavors:
That's the whole definition. The hard part isn't remembering the definition — it's figuring out, for one specific real loop, which of the two actually applies.
Part 2 · Worked Example 1 of 3
Level Control With an Inlet Fill Valve
A tank is fed through a control valve on its inlet line. The tank also has some steady outflow (a fixed drain, or a downstream demand) that isn't being throttled. The controller's job: hold the tank's level at setpoint by adjusting that inlet valve.
| Step | Reasoning |
|---|---|
| 1 | What happens to the level if the inlet valve opens further? More flow in, nothing else changed → level rises. |
| 2 | So (valve % open) → (level) move the same direction — opening the valve raises PV. |
| 3 | Assume the ordinary case for now: more controller output (CO) drives the valve more open. So CO → valve-open is also the same direction. Combined: CO up → PV up. |
| 4 | If PV (level) drifts too high, what must CO do to correct it? It must go down — close the valve to stop overfilling. |
| 5 | PV up requires CO down → opposite directions → this loop needs a REVERSE-ACTING controller. |
Part 2 · Worked Example 2 of 3
Same Tank, Same Objective — Now a Discharge Valve
Same control objective — hold this tank's level at setpoint — but now the control valve sits on the discharge (outlet) line instead, with steady, unthrottled inflow feeding the tank from somewhere upstream.
| Step | Reasoning |
|---|---|
| 1 | What happens to the level if the discharge valve opens further? More flow out, nothing else changed → level falls. |
| 2 | So (valve % open) → (level) now move opposite directions — opening this valve lowers PV, the sign flipped from Example 1. |
| 3 | Same ordinary valve wiring as before: CO up → valve more open. Combined: CO up → PV down. |
| 4 | If PV drifts too high, what must CO do now? It must go up — open the discharge valve further to drain the excess. |
| 5 | PV up requires CO up → same direction → this loop needs a DIRECT-ACTING controller. |
Try It Yourself
Reverse vs. Direct Acting Trainers
Try the different setups below and see what happens when you get the direction wrong — reverse when it should be direct, or direct when it should be reverse.
- Trainer — Level Control, Inlet Valve Matches Example 1 earlier in this lesson (inlet valve).
- Trainer — Level Control, Discharge Valve Matches Example 2 earlier in this lesson (discharge valve).
- Trainer — Level Control, Variable-Speed Pump Same tank, fed by a variable-speed pump instead of a valve.
Try It Yourself · Saturation
When the Output Runs Out of Room: Saturation
A controller's output (CO) is just a number the algorithm calculates — but it has to drive a real, physical actuator, and that actuator can only go so far. A valve can't open past 100%, and it can't close past 0%. Saturation is what happens when the controller's math wants to push CO further than that, but there's nowhere further for it to go: CO clamps — "pins" — at its limit, even while the calculated demand behind it keeps growing.
You've already seen the ingredients for this without the name attached. On the previous page, flipping a trainer's Action to the wrong direction made the loop fight itself — every correction pushed CO the wrong way, so the error never stopped growing. Saturation is what that runaway output looks like once it actually reaches the end of its range and gets stuck there. It matters here for one reason worth remembering: a controller that's saturated and accumulating error is exactly the setup for a problem called integral windup, which a later lesson covers in depth. For now, just learn to recognize saturation itself.
- Trainer — Level Control, Inlet Valve (Saturation Demo) Kp preset to 3, Action defaults to Direct (backwards) — watch CO pin and the valve bottom out.
Review