The short answer
Wet Well Level PID Control
Wet well level PID control varies pump speed to hold the level at a setpoint, so the pump runs continuously at a speed that matches inflow instead of cycling between start and stop points. The loop is direct acting, runs slowly, and needs a minimum speed floor from the pump curve, a stop-and-restart rule for inflow below what minimum speed moves, and a hand-off to lead/lag when one pump at full speed cannot keep up. It suits stations on long force mains and downstream plants that want steady flow; it is the wrong choice where a tank gains nothing from it.
Key points
- A wet well is an integrating process: the level keeps moving until pumping equals inflow. That changes the tuning.
- The controller output never goes below the minimum speed that moves water. The floor is from the pump curve, not the drive default.
- Below the minimum-speed flow the station must cycle. Design the stop and restart deliberately.
- Lead/lag still exists. PID controls the speed; staging logic decides how many pumps run.
- Direct acting: level up, speed up. Tune slow, with mostly proportional and a long integral.
What level PID changes
With constant-speed pumps, a wet well is emptied in bursts: the level rises to lead-on, the pump runs at full capacity until all-off, and the level rises again. The force main sees flow at pump capacity or nothing. With a variable speed pump under level control, the controller holds the level near a setpoint by running the pump at whatever speed matches the inflow, so the discharge is continuous and roughly equal to what is coming in.
That steadiness is the reason to do it. A treatment plant fed by several pumped stations sees a smooth influent instead of a series of slugs, which helps every downstream process from screening to clarification. A long force main runs at a steadier velocity. A small wet well that would otherwise exceed its starts-per-hour rating runs one pump continuously. The cost is a drive per pump, its heat and complexity, and a control problem that is less obvious than it looks.
Why the tuning is different
Most loops a utility tunes are self-regulating: change the pump speed on a pressure loop and the pressure settles at a new value. A wet well is not. If pumping is slightly less than inflow, the level rises, and keeps rising, without limit. If pumping is slightly more, the level falls until the well is empty. The level only stops moving when pumping exactly equals inflow. That is an integrating process, and it behaves differently under PID control.
- Proportional action does most of the work. A level above setpoint means speed up in proportion; the level itself is the accumulated error.
- Integral action must be weak, with a long reset time. Integral on an integrating process is a double integration, and too much of it produces slow, large oscillations of level that take hours to die out.
- Derivative is rarely useful. The level signal is noisy in a turbulent well and the process is slow.
- The loop can be tuned for a slow response with no harm. A level that drifts a foot above setpoint during a storm is not a problem; a pump speed that hunts up and down every minute is.
- A deadband around setpoint, where the controller holds its output, keeps the speed steady when the level is close enough and the signal is noisy.
The loop structure
- 1
Validate the level
The transmitter signal passes through range checks and a short filter before the controller sees it. On a bad signal the loop goes to a defined fallback: float-based operation at fixed speed, or manual at the last good speed, with an alarm.
- 2
Run the PID
Direct acting: as level rises above setpoint, output rises. Execution interval of one to five seconds. Output limited between the minimum speed and 100 percent.
- 3
Apply the minimum speed floor
The lowest output the loop may send is the speed at which the pump develops enough head to move water into the force main, from the pump curve at the static head plus margin. Below that the pump churns and the level rises anyway.
- 4
Decide on stop and restart
When the loop has been at minimum speed for a set time and the level is still falling, inflow is below the minimum-speed flow, and the pump stops. It restarts when the level reaches a restart setpoint above the control setpoint, and the loop resumes with its output initialized at minimum speed. This is a cycle, and the restart setpoint sets its volume; check the starts per hour as for any station.
- 5
Stage the lag
When the loop output has been at 100 percent for a set time and the level is above setpoint by a margin, or the level reaches the lag setpoint, the lag pump starts. Two pumps then run at a common speed from the same controller output, or the lead runs at full speed and the loop drives the lag. When the output falls below a stage-down threshold for a set time, the lag stops.
- 6
Keep the floats
The high-level float, the backup start, and the redundant-off float are wired as for any station. Level PID is the primary control; the backup control is unchanged.
Two pumps under PID
Running two pumps at the same variable speed from one controller output keeps both on the same point of their curves and shares the flow evenly. The transition is the delicate part: when the lag starts, the combined capacity jumps, and if the controller output is not adjusted the level drops fast and the loop overreacts. A common approach reduces the output at the moment the lag starts, to roughly what two pumps need to deliver the same flow one was delivering, then lets the loop trim. Stage-down does the reverse. Both transitions get a minimum time between staging events so the station does not add and remove a pump every few minutes.
Where level PID is the wrong idea
| Situation | Why PID does not help | What to do instead |
|---|---|---|
| Large wet well, short force main, plant that does not care about slugs | Nothing gained from steady flow; the drive adds cost and heat | Constant-speed lead/lag with a well-sized band |
| Mostly static head | Pump efficiency falls at reduced speed and the minimum speed is high; the usable speed range is narrow | Constant speed, or a soft starter for the starting problem |
| Inflow usually below the minimum-speed flow | The station cycles anyway, now with a drive in the loop | Constant speed, or a smaller lead pump |
| Force main shared with other stations | Steady low-velocity flow from one station lets solids settle; the line needs periodic scouring velocity | Level PID with a scheduled full-speed run, or constant speed |
| Grit and rag-heavy influent | Low-speed operation clogs impellers faster | Periodic full-speed runs in the program, and a minimum speed set higher |
Commissioning checks
- Find the actual minimum speed by test: reduce speed until flow stops, note it, add margin, and set the floor.
- Trend level, speed, and inflow estimate through a full day. The speed should move slowly with the diurnal pattern; if it saws, the loop is too tight.
- Force a low-inflow condition, or wait for one, and confirm the stop and restart logic cycles the pump correctly and the starts per hour are acceptable.
- Simulate a storm by raising the setpoint band, and confirm the lag stages in and out without a level excursion to the floats.
- Fail the level signal and confirm the fallback and the alarm.
- Record the tuning, the minimum speed, and the staging setpoints on the loop sheet.
Frequently asked questions
- What setpoint should I use?
- Low enough that the well has room above it for a storm before the lag and the high-level float, high enough to keep the pump submerged with margin and, on stations with a large well, high enough that the detention time does not go septic. In practice a setpoint in the lower third of the operating band is common, with the restart setpoint above it and the lag setpoint above that.
- Why does the level oscillate slowly over an hour?
- Too much integral action on an integrating process. Lengthen the reset time substantially or remove integral entirely; the proportional term alone will hold the level within a band, and the well does not need zero offset.
- Should the PID run in the drive?
- It can for a single-pump station, and drive PID controllers work. In a duplex or triplex station with lead/lag and staging, the loop, the floor, the stop and restart, and the staging all belong together in the PLC, where they are visible and consistent.
- How does level PID interact with the floats?
- It does not; the floats are a separate layer. The backup-start and high-level floats call the pumps through the backup relay path and are read by the PLC as inputs; if the level transmitter fails, the program falls back to float operation at a fixed speed. The PID loop is the normal mode, not the safety net.
Related topics
- Wet Well Level ControlThe measurement that runs a lift station: choosing setpoints, protecting the pumps, validating the signal, and the failures that flood a station.
- Lift Station Lead/Lag ControlHow a duplex or triplex station decides when one pump is enough and when it is not: the setpoint ladder, cycle volume, the lag call, parallel pumping, and what to do when the lead pump fails.
- Variable Frequency Drives in Pump PanelsWhat a drive adds to a pump panel and what it costs: speed control, soft start, reduced inrush, and diagnostics against heat, harmonics, cable and motor stress, bypass, and the minimum speed below which a pump does no work.
- PID Control for Pumps and ValvesWhat each term actually does, how to tune a loop on a real pump station, and the handful of mistakes that cause most of the oscillation people blame on tuning.
- How to Create a PID Loop in a PLCSet up a PID instruction from scratch: scale the PV and CV, pick the action, set the execution rate, configure limits and anti-windup, tune conservatively, and test the manual and auto transitions before it controls anything.
- Pump Short CyclesA pump that starts and stops far more often than it should: the control band, the level signal, a leaking check valve, a waterlogged pressure tank, a lag pump doing the lead job, and the starts-per-hour limit that makes short cycling a motor killer.
Direct contact
Have a controls question?
Reach Eric Sullivan directly about anything on this site, a controls or automation topic, or one of his personal projects.