WATER AUTOMATION

Water Treatment Automation: How PLC and SCADA Control a Treatment Works

A treatment works stage by stage: what is measured, what the PLC controls, how dosing loops and filter backwash sequences work, and how SCADA and telemetry tie the works and network together.

By EDWartens engineering team 5 December 2025 Updated 5 October 2026 8 min
Water Treatment Automation: How PLC and SCADA Control a Treatment Works

Water treatment automation uses PLCs to run each process stage (intake pumping, chemical dosing, filtration and disinfection) and SCADA to supervise the works and the distribution network through telemetry. Most of the engineering is instrumentation, PID loops for dosing, pump sequencing, filter backwash sequences, alarms and the records a regulator expects.

A water works is a good place to learn process automation because every technique appears in one plant: analog measurement, closed-loop control, sequences, motor control, redundancy, remote sites and data recording. The same ideas apply to wastewater treatment, with more emphasis on aeration and sludge handling.

“PLC Programming Example of Water Treatment Plant” by Instrumentation Tools, 9 min. Played from the creator's own YouTube channel; the video belongs to them.

In this lesson by Instrumentation Tools, from our free Schneider Machine Expert Basic course, you follow a PLC programming example for a water treatment plant. Watch it as a worked example, then use the stages below to see where each part of such a program fits.

The process, stage by stage

Designs vary, but a conventional surface-water works follows this outline.

A drinking water works, stage by stage
A drinking water works, stage by stage

Intake. Raw water pumps are started and stopped on level, with screens in front of them cleaned on differential level or a timer. Flow measurement here drives the dosing further on.

Coagulation and flocculation. A coagulant makes fine particles clump together, often with pH correction. The dose depends on raw water quality, which can change quickly after rain, so operators watch raw turbidity closely.

Clarification. The flocs settle out. The PLC removes sludge through timed or blanket-level-controlled desludge valves.

Filtration. Rapid gravity filters remove the remaining particles and are cleaned by backwashing.

Disinfection. Chlorine or another disinfectant is dosed and given contact time before the water goes to supply. A residual analyser confirms the dose.

Storage and pumping. Treated water is stored and pumped into the network, usually by pumps on VFDs holding a pressure or flow setpoint.

Chemical dosing control

Dosing is where instrumentation and control meet. A typical chlorine loop combines two parts:

  • Flow pacing (feedforward). The dosing pump's output follows the water flow, so doubling the flow doubles the dose without waiting for an error.
  • Residual trim (feedback). A PID loop adjusts the dose rate to hold the residual measured downstream at its setpoint.

The challenge is dead time: water takes minutes to travel from the dosing point to the analyser, so an aggressive feedback loop will oscillate. Tuning for dead time, and alarming when the analyser itself looks unhealthy (frozen, out of range or disagreeing with a duty/standby partner; see process instrumentation basics), matters more than clever algorithms. Our PID tuning guide walks through tuning on a simulator.

The filter backwash sequence

A backwash is a classic PLC sequence: a fixed series of steps, each with a condition to move on and a timeout that raises an alarm if it does not.

A typical filter backwash sequence
A typical filter backwash sequence

Real sequences differ by filter design; some combine air and water scour, and some skip filter-to-waste. The principles do not change. A backwash starts on high head loss, high filtered turbidity or maximum run time. Only one filter washes at a time, and the sequence checks that enough washwater is stored and that the remaining filters can carry the flow. Every valve has open and closed limit switches, and a valve that fails to reach position stops the sequence safely rather than continuing blind. Write it in SFC or as a step-based state machine so operators and maintenance staff can see which step it is on.

Pumps: duty, assist and standby

Most pump stations have more pumps than they need at once. The PLC rotates the duty pump by run hours or on a schedule, starts an assist pump when demand exceeds one pump's capacity, and brings in the standby if a running pump faults. Around this sit protections: dry-run stop on low suction level, minimum run and stop times to prevent short cycling, and staggered starts after a power failure so every motor does not start at once.

SCADA and telemetry

The works SCADA shows the process, handles alarms, records trends and produces the reports that show the water met its standards, such as those set in the US under the EPA's drinking water programme or by the regulator in each country. Beyond the works, reservoirs, booster stations and boreholes are often unmanned and connected by telemetry: an RTU or small PLC on site, a radio, cellular or fixed link, and a protocol such as DNP3 or Modbus. DNP3 records events with time stamps at the outstation and reports by exception, which suits links that are slow or sometimes down.

Two parts of SCADA design matter more in water than in many industries. Alarm management: a works with hundreds of alarms needs clear priorities, managed along the lines of ISA-18.2, so the operator on a night shift sees the one that matters. Security: water systems are critical infrastructure, and remote access into telemetry needs the same care as any OT network; see our guide to OT cybersecurity and IEC 62443.

Wastewater in brief

Wastewater works add biological treatment. The largest energy user is usually aeration, where blowers on VFDs are controlled to hold a dissolved oxygen setpoint in the aeration tanks. Good DO control is one of the clearest places where automation saves money.

Power failures, restarts and manual control

Water works run continuously, so the automation has to behave well when things go wrong. Three design questions come up on every project:

  • What happens after a power failure? Decide which equipment restarts automatically, in what order and with what delays, and which waits for an operator. Dosing must not restart before the flow it is paced on, and pumps should start in stages.
  • What happens if the PLC or network fails? Critical pumps often have a hard-wired fallback, such as level switches that can run a pump or stop it on low level, independent of the PLC.
  • How does manual control work? Operators need clear hand, off and auto modes, and the PLC should keep key protections active in manual. A mode left in manual should be visible on SCADA and raise a reminder.

These rules belong in the functional design specification, agreed with operations before any code is written. They are also where an experienced engineer adds most value, because a plant that restarts safely and predictably after a storm is the one operators trust.

Free courses for water treatment automation

The SCADA specialist path and the process control path put related courses in order. Our guide to free SCADA courses with certificate compares other options fairly.

Every course is free in full, with credited video lessons, notes, practice tasks and one final assessment; no card is needed. The optional EDWartens Certificate of Completion is a small one-off fee, US$8.99 for the beginner courses and a little more for the intermediate PID course. Anyone can check it at edwartens.com/verification. It is not a vendor certification or a water-industry licence and is not accredited. Create a free account to start.

Take the free course

Questions

What does a PLC do in a water treatment plant?

It runs each process stage: starting and rotating pumps, controlling chemical dosing, sequencing filter backwashes, operating valves and enforcing interlocks such as dry-run protection. SCADA supervises the PLCs, records data and raises alarms.

How is chlorine dosing controlled?

Usually with a flow-paced feedforward, so the dose follows the water flow, plus a feedback trim from a chlorine residual analyser downstream. The feedback loop must allow for the delay between dosing point and analyser.

What starts a filter backwash?

Commonly one of three triggers: head loss across the filter reaching a limit, filtered water turbidity rising, or the maximum time in service. The PLC normally allows only one filter to wash at a time.

Which protocols are used for water telemetry?

DNP3 and Modbus are both common, over radio, cellular or fixed links, with the choice depending on region and utility. DNP3 supports time-stamped events and report-by-exception, which suit sites with limited bandwidth.

Can I learn water SCADA without a plant?

Yes. The free SCADA, instrumentation, PID and VFD courses run on trial software and simulators, and the practice tasks use tank, pump and valve scenarios like those on a treatment works.

Sources

Written by the EDWartens engineering team for general education. Product names are trademarks of their owners; mentioning them does not imply endorsement. Prices and terms of other providers were checked on the date shown and can change.