Automated Chlorination: Compound Loop Control for Water Distribution Residuals
Key Takeaway
Compound loop chlorination combines feedforward flow-pacing with feedback residual trim to maintain disinfection compliance across varying demand conditions. This article covers PLC logic, instrumentation selection, CT compliance logging, and TCEQ Chapter 290 requirements for automated chlorine control.
Why Simple On/Off Chlorine Dosing Fails
Many older water treatment plants and booster stations rely on manual chlorine dosing adjustments or simple on/off pump control. Under low-flow conditions at night, this approach delivers excessive chlorine residual — producing disinfection byproducts (DBPs) such as trihalomethanes (THMs) and haloacetic acids (HAAs) that violate EPA Stage 2 DBP Rule limits. During peak demand hours, the same static dose rate is insufficient, causing residuals to drop below the 0.2 mg/L free chlorine minimum required under EPA Surface Water Treatment Rule (SWTR) at the entry point and below 0.05 mg/L at any point in the distribution system.
The consequence is a system that simultaneously over-doses and under-doses depending on time of day, producing compliance violations on both ends. Compound loop control eliminates this problem by automatically scaling chlorine dose to actual flow conditions while continuously trimming the setpoint based on measured residual.
What Is Compound Loop Chlorination Control
Compound loop control — sometimes called cascade or feedforward-plus-feedback control — uses two separate inputs to calculate the chlorine dose output to the metering pump:
- Feedforward signal: Real-time plant flow rate from a magnetic flow meter. The PLC multiplies flow (in gallons per minute) by the target dose setpoint (in mg/L) to calculate the base chlorine demand. This is the primary control signal and responds instantly to flow changes without waiting for a residual analyzer to detect underdosing.
- Feedback trim signal: Measured residual from an online chlorine analyzer. The PLC compares the measured residual to the target residual setpoint (typically 1.0–2.0 mg/L free chlorine at the entry point). The difference — the error — feeds a PID controller that trims the dose setpoint up or down. This feedback loop corrects for changes in chlorine demand caused by temperature, turbidity, pH, and organic load that the feedforward signal cannot anticipate.
The combined output — base feedforward dose plus PID trim — drives the chlorine metering pump via a 4–20 mA signal. The result is precise, responsive dosing that maintains residuals within a tight band across the full flow range.
Instrumentation Required
A properly engineered compound loop chlorination system requires the following instrumentation:
- Online chlorine analyzer: The Hach CL17sc colorimetric analyzer or the Hach Orbisphere 410 amperometric sensor are the two industry workhorses for continuous free chlorine measurement in water treatment. The CL17sc uses DPD colorimetric chemistry and requires reagent replenishment every 30 days. The Orbisphere 410 uses a membrane-covered amperometric cell with no reagents, reducing maintenance intervals. Endress+Hauser CCS51D (Memosens optical) and Myron L analyzers are alternatives. Regardless of model, the analyzer must be installed on a sample tap with a constant flow cell and shielded from direct sunlight, which degrades DPD reagent and creates false readings.
- Magnetic flow meter: An electromagnetic (mag) flow meter measures plant flow for the feedforward signal. Endress+Hauser Promag, Krohne Optiflux, and Badger Meter Research Control are common choices for municipal water applications. The meter must be installed with the minimum upstream straight-pipe run specified by the manufacturer — typically 5–10 pipe diameters upstream and 2–3 diameters downstream of any valve, fitting, or pump discharge.
- Chemical metering pump: A variable-speed peristaltic or diaphragm metering pump accepts the 4–20 mA output from the PLC. Pulsafeeder Eclipse, ProMinent Gamma, and Blue-White Flexflo are common in municipal water installations. The pump must be sized for the maximum dose rate at peak flow plus a 20% safety margin.
PLC Logic Walkthrough
The compound loop control logic in the PLC follows this calculation sequence, executed every scan cycle (typically 10–100 ms depending on PLC model):
- Read flow signal: Convert the 4–20 mA input from the mag meter to flow in gallons per minute (GPM) using the transmitter's calibrated range.
- Calculate base dose: Base dose (mL/min) = Flow (GPM) × Target dose (mg/L) × Conversion factor. For sodium hypochlorite at 12.5% available chlorine, the conversion factor is approximately 0.0547 mL per gallon per mg/L.
- Read residual: Convert the 4–20 mA output from the analyzer to mg/L free chlorine.
- Run PID feedback loop: Error = Target residual – Measured residual. The PID output generates a trim correction in mg/L added to or subtracted from the target dose setpoint. Typical PID tuning: proportional gain 0.5–2.0, integral time 5–15 minutes. Derivative action is rarely used for chlorination loops due to analyzer response lag.
- Calculate final dose: Final dose = Base dose (using trimmed setpoint) clamped to minimum and maximum pump output limits.
- Output to pump: Convert final dose to 4–20 mA signal to the metering pump VFD or stroke controller.
The Allen-Bradley CompactLogix or MicroLogix 1100 are the most common PLC platforms for standalone chlorination panels in municipal water. IDEC FC6A and AutomationDirect Click PLCs are cost-effective alternatives for small systems with fewer than 32 I/O points.
CT Compliance: Concentration × Contact Time
The EPA Surface Water Treatment Rule requires utilities to demonstrate adequate CT — the product of disinfectant concentration (C, in mg/L) and contact time (T, in minutes) — for Giardia and virus inactivation credit. For free chlorine, CT tables in the SWTR specify required CT values based on pH, temperature, and target log inactivation credit.
Automated chlorination systems must log both C and T values at required intervals for regulatory compliance. The PLC or SCADA historian records:
- Continuous chlorine residual at the CT measurement point (entry point to the contact chamber)
- Hydraulic detention time (T), calculated from the contact chamber volume and instantaneous flow rate: T (min) = Volume (gallons) ÷ Flow (GPM)
- CT = C × T, calculated and logged every 15 minutes at a minimum
TCEQ Chapter 290 (Texas Public Water Systems) requires that the minimum CT value be calculated and recorded daily for surface water systems. Automated logging eliminates manual calculation errors and provides a defensible compliance record for TCEQ annual inspections. The SCADA historian should archive CT records for a minimum of three years in a format exportable to CSV or PDF for regulatory submittals.
Sodium Hypochlorite vs. Gaseous Chlorine vs. Calcium Hypochlorite
The choice of chlorine form affects the automated system design significantly:
- Sodium hypochlorite (liquid bleach, 10–15% available chlorine): Dominant choice for new installations. No OSHA PSM requirements below 15,000 lbs. Liquid handling with peristaltic or diaphragm metering pumps. Requires bulk storage tank level monitoring (ultrasonic or submersible pressure transducer) integrated with SCADA for chemical inventory management. Degrades over time — 10–12% strength product loses approximately 0.5% per month at 20°C.
- Gaseous chlorine (100% Cl₂, 150 lb cylinders or 1-ton containers): Highest available chlorine concentration, lowest chemical cost per pound. Requires chlorinator (vacuum-operated gas feeder), leak detection system, and OSHA PSM compliance above 1,500 lbs on-site. Chlorine gas buildings must comply with AWWA B301 and local fire codes. Automated systems use vacuum-operated flow controllers with 4–20 mA control signals. Risk and regulatory burden has driven most small utilities away from gas chlorination.
- Calcium hypochlorite (65–78% available chlorine, dry granules or tablets): Used in small and emergency systems. Dry feeders or tablet chlorinators are less precise than liquid metering pumps, making compound loop control more difficult. Primarily used for booster stations without continuous electrical power or in small package plants.
Booster Station Chloramination for Distribution
Large distribution systems with long travel times rely on booster stations to maintain residuals at distant pressure zones. Where the treatment plant uses free chlorine for primary disinfection, booster stations may inject ammonia to convert free chlorine to chloramines (monochloramine, NH₂Cl), which are more stable in distribution at the cost of lower disinfection efficacy. The compound loop control at a booster station must track both free chlorine (pre-ammonia) and total chlorine (post-ammonia), with the ammonia dose ratio controlled to maintain the 3:1–5:1 Cl₂:NH₃-N mass ratio required to prevent dichloramine and trichloramine formation.
Typical System Cost
A single-point compound loop chlorination system — including online analyzer, mag flow meter, metering pump, PLC panel, and programming — typically costs $15,000–$40,000 installed, depending on site conditions, enclosure requirements, and communication infrastructure. Multi-point systems with remote telemetry and historian integration run $50,000–$120,000. These costs are substantially lower than fines and remediation costs associated with a single TCEQ compliance violation, which can exceed $10,000 per day per violation under Texas Water Code Chapter 341.
NFM Consulting Water Automation Services
NFM Consulting engineers and installs compound loop chlorination control systems for municipal water utilities and private water suppliers across Texas. Our scope includes instrumentation selection and procurement, PLC panel design and fabrication, SCADA integration, CT compliance logging configuration, and operator training. We provide as-built documentation and TCEQ-ready compliance reports. Contact NFM Consulting to discuss your disinfection automation requirements.
Frequently Asked Questions
Compound loop chlorination combines a feedforward signal (plant flow rate from a mag meter) with a feedback trim signal (measured chlorine residual from an online analyzer) to calculate the precise dose output to a metering pump. The feedforward component scales dose instantly with flow changes; the PID feedback loop corrects for variations in chlorine demand that the flow signal alone cannot predict. The result is tighter residual control across the full demand range compared to simple flow-paced or manual dosing.
A well-tuned compound loop system maintains free chlorine residual within ±0.1–0.2 mg/L of setpoint under normal operating conditions, compared to typical manual control variability of ±0.5–1.5 mg/L. Automated systems respond to flow changes within one scan cycle (milliseconds), whereas manual adjustment requires an operator to observe the change, calculate a new dose, and make the physical adjustment — a process that can take 15–60 minutes during which the residual drifts out of the optimal range.
CT is the product of disinfectant Concentration (C, in mg/L) and contact Time (T, in minutes) at the point of measurement. The EPA Surface Water Treatment Rule uses CT values to verify adequate inactivation of Giardia lamblia (99.9% = 3-log) and viruses (99.99% = 4-log). Required CT values depend on disinfectant type, pH, and water temperature. For free chlorine at pH 7.0 and 15°C, 3-log Giardia inactivation requires a CT of approximately 78 mg/L·min. TCEQ Chapter 290 requires utilities to calculate and record minimum CT daily.
The two primary technologies are colorimetric analyzers and amperometric sensors. The Hach CL17sc uses DPD colorimetric chemistry for free chlorine measurement from 0.02–5.00 mg/L; it requires monthly reagent replacement. The Hach Orbisphere 410 uses a membrane-covered amperometric cell with no reagents and a longer service interval. Endress+Hauser CCS51D optical sensors (Memosens technology) transmit calibration data digitally through the sensor connector, simplifying maintenance. All continuous analyzers require a sample conditioning system with constant flow rate (typically 50–150 mL/min) and protection from light and air bubbles.