Skip to main content
Call Eric:863-698-8266
CURRYCONTROLS.COMControls & Automation Knowledge Hub
ReferenceWaterControlProgrammingInstrumentationStandards

Clean-in-Place

Cleaning membranes in place: the triggers from the normalized trends, the low pH clean for scale and the high pH clean for organics and biofouling, the sequence of flush, heat, recirculate, soak, and rinse, and how automation makes cleaning repeatable.

9 min readUpdated Sep 5, 2026Published Sep 5, 2026By Eric Sullivan

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

TriggerTypical thresholdCleaning
Normalized permeate flow down10 to 15 percent below baselineDepends on the foulant; often high pH first for organics, low pH for scale
Normalized differential pressure up10 to 15 percent above baselineHigh pH for biofouling and particulates; check pretreatment
Normalized salt passage up5 to 10 percent above baselineLow pH for scale; investigate damage if cleaning does not recover it
ScheduledBefore a long shutdown or per the supplierA 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

ElementPurposeControl
Cleaning tankHolds the solution; sized for the vessel and piping volume plus marginLevel; low level stops the pump
HeaterWarms the solution to the cleaning temperatureTemperature loop with a high limit trip at the membrane maximum
Cleaning pump on a driveCirculates at the cleaning flow rateFlow loop per stage; pressure limit
Cartridge filterCatches foulant removed from the membranesDifferential pressure alarm
InstrumentsTemperature, pH, conductivity, flow, pressure at the skid and at the vessel outletsLimits and records
Chemical additionAcid, caustic, surfactant, chelant, biocide where usedManual or dosed to a pH target; operator confirmation
ValvesIsolate the train from service; route cleaning through each stage; return to the tank or to wasteSequence with position feedback; interlocks

The sequence

  1. 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. 2

    Flush

    Permeate through the vessels to waste to remove concentrate.

  3. 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. 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. 5

    Soak

    Stop and let the solution stand for the soak time, with the heater holding temperature; longer for heavy fouling.

  6. 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. 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. 8

    Second solution

    Repeat with the other solution if the plan calls for it, with a full rinse between.

  9. 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.

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.