The short answer
Dissolved Oxygen Measurement
Dissolved oxygen is measured in wastewater aeration basins by optical sensors, which read the fluorescence quenching of a coating by oxygen, or by older membrane-covered electrochemical sensors. Optical sensors need no membrane or electrolyte, drift little, and are calibrated in water-saturated air with corrections for barometric pressure and salinity. The measurement feeds aeration control, where the blower output or the valve position holds a DO setpoint, and it is only as good as the sensor placement and cleaning schedule in a basin that fouls everything put into it.
Key points
- Optical sensors have replaced membrane sensors for aeration control: less drift, no electrolyte, longer intervals.
- Calibrate in water-saturated air, corrected for barometric pressure. A calibration at the wrong pressure is off by a few percent.
- Placement decides what the sensor sees. A basin is not uniform.
- Fouling is the failure mode. Wipers or air blast cleaning and a cleaning schedule are part of the design.
- Response time of a minute or more limits aeration control tuning. Tune the loop for the sensor, not the blower.
Why DO is measured
Aerobic biological treatment needs oxygen in the water for the bacteria that consume organic matter and oxidize ammonia. Too little and treatment suffers; too much and the blowers, which are typically the largest energy consumer at a wastewater plant, run harder than needed. Aeration control holds a dissolved oxygen setpoint, commonly around 2 mg/L in a conventional activated sludge basin and lower in processes that manage nitrogen, by modulating air supply. The DO measurement is the input to that loop and the largest lever on plant energy cost, which is why it deserves better than a sensor that was installed once and forgotten.
Sensor types
| Type | How it works | Strengths | Limits |
|---|---|---|---|
| Optical, luminescent | A coating on the sensor tip fluoresces when illuminated by a blue LED; oxygen quenches the fluorescence, and the sensor measures the decay time or phase shift | No membrane or electrolyte; no oxygen consumption so no flow dependence; stable for months; calibration rarely needed | The sensor cap is a consumable, replaced yearly or so; response time of 30 to 90 seconds; fouling of the cap |
| Galvanic membrane | Oxygen diffuses through a membrane and is reduced at a cathode, producing a current with no external voltage | Inexpensive; established | Consumes oxygen, so needs flow past the membrane; membrane and electrolyte replaced monthly to quarterly; drifts |
| Polarographic membrane | Like galvanic, with an applied polarizing voltage | Fast response | Needs warm-up; the same membrane and electrolyte maintenance; drifts |
For continuous aeration control, optical sensors are now the default. Membrane sensors remain on portable meters and in older installations, and the maintenance they need is the reason many DO control loops were left in manual for years.
Calibration
A DO sensor is calibrated at one point, in water-saturated air, where the oxygen partial pressure is known from the barometric pressure and the temperature. The sensor reads 100 percent saturation at that condition, and the transmitter converts to concentration using the temperature, the pressure, and the salinity of the process water.
- 1
Clean the sensor
Remove the cap guard, rinse, and clean the sensing surface as the manufacturer directs. Calibrating a fouled sensor stores the fouling as the calibration.
- 2
Place it in saturated air
In the calibration cup with a wet sponge, or held in air just above the water surface, out of direct sun, and let it equilibrate to the air temperature for several minutes.
- 3
Enter the barometric pressure
From a local barometer or the transmitter sensor, in the units the transmitter expects. Sea level is 760 mm Hg; a plant at 1,500 m elevation is near 635 mm Hg, and a calibration at the wrong value is wrong by the ratio.
- 4
Accept the calibration
The transmitter sets 100 percent saturation. Check the reported slope or gain against the healthy range in the manual.
- 5
Set salinity if needed
Fresh wastewater is near zero. Brackish or seawater processes need the value, which changes the concentration by several percent.
- 6
Verify in process
Compare with a calibrated portable meter in the same location at the same depth. Agreement within a few tenths of a mg/L is expected.
- 7
Record it
Date, pressure, temperature, slope, comparison, and cap age.
Placement in an aeration basin
An aeration basin is not uniform. DO is highest near the diffusers and at the surface, lowest in dead zones and near the inlet where the oxygen demand is greatest. A plug-flow basin has a DO profile along its length; a complete-mix basin still has gradients. The sensor location decides what the control loop sees, and it is chosen for the control objective.
- For control of a plug-flow basin, one sensor per control zone, at roughly two-thirds of the way through the zone, where the DO represents the zone rather than the inlet demand or the outlet recovery.
- Depth of 1 to 2 m below the surface, away from the surface layer that is aerated by contact with air, and away from a diffuser grid where a bubble plume reads high.
- On a rail or a swing arm that lets the sensor be lifted to the walkway for cleaning without a boat or a crane.
- Away from the inlet mixing zone and the return activated sludge entry, unless the objective is to measure there.
- Two sensors in a zone where the control matters most, so that a fouled sensor is detected by disagreement rather than by a process upset.
Fouling and cleaning
Everything in an aeration basin grows a biofilm, and a coated DO sensor reads low, because the film consumes oxygen at the surface, and slowly. The control loop responds to the low reading by adding air, and the plant over-aerates until someone notices. Cleaning is therefore part of the design, not a maintenance afterthought.
- Automatic cleaning
- An air blast from the plant air supply, on a timer of every 15 to 60 minutes, or a mechanical wiper on the sensor face. Both extend the manual cleaning interval from days to weeks.
- Manual cleaning
- On a schedule, typically weekly to monthly depending on the basin, with a soft cloth and water, and a dilute acid for scale where the water is hard. Abrasives damage optical caps.
- Cleaning detection
- Trend the DO reading and its response to the cleaning cycle. A sensor whose reading jumps up after each cleaning was fouled before it; shorten the interval.
- Cap and membrane replacement
- Optical caps on the manufacturer interval, usually a year; membranes when the slope falls or the response slows.
Using DO for control
DO control is a slow loop with significant dead time. The sensor itself takes 30 to 90 seconds to respond, the basin takes minutes to change its DO after the air changes, and the blower or valve has its own dynamics. The controller is tuned for that: a slow proportional-integral loop with an execution interval of seconds to a minute, output limits that respect the blower minimum turndown and the diffuser minimum airflow, and a large deadband around setpoint so that the blower does not hunt. Cascade control, in which the DO loop sets an airflow setpoint that an inner flow loop holds, handles the blower and valve nonlinearities better than DO driving the blower directly. The DO signal is validated: a sensor reading that does not respond to an air change for several minutes, or a pair of sensors that disagree beyond a limit, drops the loop to a safe fixed airflow and alarms.
Frequently asked questions
- What DO setpoint should we use?
- What the process needs, which the plant operator and the process engineer decide from the treatment objectives and the basin configuration. Around 2 mg/L is the conventional activated sludge figure; nitrification may want more at the front of the basin and less at the end; processes with anoxic zones want near zero there. The control system holds the setpoint; it does not choose it.
- Why does the DO read high near the surface and low at depth?
- Surface water exchanges oxygen with the air and is also where bubbles from the diffusers collect; deeper water has had the oxygen consumed by the biomass. The sensor is placed at a depth that represents the mixed liquor the bacteria live in, which is why 1 to 2 m is the usual depth.
- Can we skip cleaning with an optical sensor?
- No. Optical sensors do not drift the way membrane sensors do, but they foul the same way. Automatic cleaning and a manual schedule remain necessary; the difference is that the optical sensor is otherwise maintenance-free between them.
- How do we know the sensor is telling the truth?
- A periodic comparison with a calibrated portable meter at the same spot and depth, a second sensor in the critical zone, and a trend that shows the reading responding to air changes within a couple of minutes. A DO that sits flat while the blowers change is not measuring the basin.
Related topics
- Chlorine Residual AnalyzersAmperometric and colorimetric residual analyzers: what each measures, free versus total chlorine, pH and flow dependence, sample line design, calibration against a DPD grab sample, and using the signal for feed control.
- pH MeasurementGlass electrodes, reference junctions, and why pH is the measurement that drifts: how the sensor works, temperature compensation, two-point buffer calibration, mounting rules, the failure modes of the reference, and using the signal for chemical feed control.
- 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.
- Signal ValidationCatching a failed analog input in logic before it runs a pump on a dead transmitter: range checks, module status bits, frozen-value detection, rate checks, and what the program does with a bad value.
- 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.
- ORPOxidation-reduction potential: what the millivolt reading means and does not, the platinum and reference pair, uses in dechlorination control, disinfection indication, anoxic monitoring, and chemical treatment, checking with standards, and electrode drift.
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.