The short answer
Clean-in-Place
Clean-in-place restores membranes that have fouled or scaled by circulating cleaning solutions through the vessels without removing the elements. A low pH solution, citric acid or a mineral acid, dissolves carbonate and metal scale; a high pH solution, caustic often with a surfactant or a chelant, removes organic foulants and biofilm; and the sequence for each is a flush, a fill and heat of the cleaning tank, a low-flow recirculation through the vessels, a soak, a further recirculation, and a rinse with permeate until the pH and conductivity return to normal. The cleaning skid is a tank with a heater, a pump on a drive, a cartridge filter, and instruments for temperature, pH, flow, and pressure; and the controls enforce the limits the elements can tolerate, temperature at or below the membrane maximum, pH within the range for each solution, flow at the cleaning rate per vessel, and pressure low. Automating the sequence makes every cleaning the same, records what was done, and keeps the operator away from hot chemicals.
Key points
- Clean when the normalized permeate flow, differential pressure, or salt passage crosses its trigger, not on a calendar.
- Low pH for scale and metals; high pH for organics and biofilm; the order depends on what the trends say.
- Enforce temperature, pH, flow, and pressure limits in the controller; the elements have hard limits.
- Sequence: flush, fill and heat, recirculate, soak, recirculate, rinse to neutral; record all of it.
- Neutralize and dispose of the spent solution under the permit; interlock the cleaning skid against a train in service.
When to clean
| Trigger | Typical threshold | Cleaning |
|---|---|---|
| Normalized permeate flow down | 10 to 15 percent below baseline | Depends on the foulant; often high pH first for organics, low pH for scale |
| Normalized differential pressure up | 10 to 15 percent above baseline | High pH for biofouling and particulates; check pretreatment |
| Normalized salt passage up | 5 to 10 percent above baseline | Low pH for scale; investigate damage if cleaning does not recover it |
| Scheduled | Before a long shutdown or per the supplier | A preservation clean and a biocide where allowed |
Cleaning early, when the loss is small, recovers more and stresses the membranes less than cleaning late; cleaning too often wastes chemicals and membrane life. The triggers are alarms on the normalized trends, and the decision of which solution to use first comes from what the trends and the water say: scale on a groundwater plant, organics and biofilm on a surface water plant, both on many.
The skid
| Element | Purpose | Control |
|---|---|---|
| Cleaning tank | Holds the solution; sized for the vessel and piping volume plus margin | Level; low level stops the pump |
| Heater | Warms the solution to the cleaning temperature | Temperature loop with a high limit trip at the membrane maximum |
| Cleaning pump on a drive | Circulates at the cleaning flow rate | Flow loop per stage; pressure limit |
| Cartridge filter | Catches foulant removed from the membranes | Differential pressure alarm |
| Instruments | Temperature, pH, conductivity, flow, pressure at the skid and at the vessel outlets | Limits and records |
| Chemical addition | Acid, caustic, surfactant, chelant, biocide where used | Manual or dosed to a pH target; operator confirmation |
| Valves | Isolate the train from service; route cleaning through each stage; return to the tank or to waste | Sequence with position feedback; interlocks |
The sequence
- 1
Isolate
The train is stopped and flushed, its feed and permeate isolated with valve position confirmed, and the cleaning connections opened. The train cannot be started while the cleaning valves are open.
- 2
Flush
Permeate through the vessels to waste to remove concentrate.
- 3
Prepare
Fill the tank with permeate, heat to the cleaning temperature, add the chemical to the pH target, and confirm the pH within the range for the solution.
- 4
Recirculate
Circulate through one stage at a time at the cleaning flow, low pressure, returning to the tank; the first minutes often go to waste as the darkest solution comes out.
- 5
Soak
Stop and let the solution stand for the soak time, with the heater holding temperature; longer for heavy fouling.
- 6
Recirculate again
A further circulation, watching the pH; a pH that drifts toward neutral means the solution is being consumed and is topped up.
- 7
Rinse
Drain the tank, then flush with permeate through each stage to waste until the outlet pH and conductivity return to the permeate values.
- 8
Second solution
Repeat with the other solution if the plan calls for it, with a full rinse between.
- 9
Return to service
Restore the valves, start the train with permeate to waste until conductivity is within limit, re-establish the normalized baseline, and record the results.
Limits the controller enforces
- Temperature at or below the element maximum, commonly around 45 degrees Celsius for polyamide, with a trip on the heater.
- pH within the range the element allows for each solution and temperature, with the range narrowing as temperature rises.
- Flow per vessel at the cleaning rate the supplier specifies, and the feed pressure kept low so that the cleaning removes foulant rather than pushing it through.
- Time limits on each step so that a stalled step alarms.
- Interlocks: no cleaning with the train in service, no heater with the tank low, no chemical addition without confirmation.
Spent solution
The spent acid and caustic solutions and the rinse water go to a neutralization tank where they are mixed, adjusted to the discharge pH range with the opposite chemical, and released to the sewer or the disposal system under the permit, with the pH and volume recorded. The neutralization is its own small control loop and its own set of alarms, and it is the step most often skipped when cleaning is done by hand at the end of a long day.
Frequently asked questions
- Low pH or high pH first?
- What the foulant is decides: scale needs acid, organics need caustic, and where both are present the supplier usually recommends the high pH clean first so that the acid is not consumed by organics, then low pH. A wrong order wastes a cleaning; the trends and a sample of the foulant guide it.
- The normalized flow did not recover after cleaning.
- The wrong solution, too short a soak, too low a temperature, or a foulant that cleaning does not remove, such as silica or an oxidized membrane. Try the other solution with a longer soak, and if the flow still does not recover, probe the vessels and consider element replacement.
- Can cleaning damage the membranes?
- Yes: too high a temperature, pH outside the range, too high a pressure, or an incompatible chemical. The limits are in the element data sheet, and the controller enforces them so that a mistake at the chemical drum does not become a set of ruined elements.
- How long does a cleaning take?
- Several hours to most of a day for a train, longer for both solutions and heavy fouling. The plant design keeps enough trains that one can be out for a day without losing production.
Related topics
- Membrane ControlThe control system of a membrane skid: the loops for permeate flow, recovery, and dosing, the permissives and trips, the start, run, flush, and shutdown sequences, and the data the operators and the membrane supplier need from the historian.
- Reverse OsmosisReverse osmosis from the controls side: what the skid contains, the instruments that matter, the numbers an operator watches, recovery, rejection, normalized permeate flow, and the trends that say when the membranes need cleaning or replacement.
- NanofiltrationNanofiltration from the controls side: how it differs from reverse osmosis in pressure, recovery, and what it removes, the softening and color removal applications where it dominates, and trends that are shared with reverse osmosis and the ones that differ.
- Sequential Function ChartThe IEC 61131-3 language for sequences: steps, transitions, actions and their qualifiers, alternative and simultaneous branches, where it fits in water and wastewater, and the rules that keep a chart from sticking in a step.
- 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.
- Sequences of OperationWriting the ordered, step-by-step description of what a system does: states, transitions, timeouts, and the format that lets a programmer implement it and a tester verify it without interpretation.
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.