Saturday, October 10, 2026
Science
No Result
View All Result
  • Login
  • HOME
  • SCIENCE NEWS
  • CONTACT US
  • HOME
  • SCIENCE NEWS
  • CONTACT US
No Result
View All Result
Scienmag
No Result
View All Result
Home Science News Technology and Engineering

AI Watches Flocs Form to Predict the Perfect Water-Treatment Chemical Dose

October 10, 2026
in Technology and Engineering
Blake Davidson
By Blake Davidson Scienmag Editorial Profile - Data Science
Reading Time: 5 mins read
0
AI Watches Flocs Form to Predict the Perfect Water-Treatment Chemical Dose

AI Watches Flocs Form to Predict the Perfect Water-Treatment Chemical Dose

65
SHARES
587
VIEWS
Share on FacebookShare on Twitter
ADVERTISEMENT

Water treatment plants around the world share a stubborn problem: the chemicals that clarify drinking water are dosed largely by guesswork refined through slow, reactive feedback. Coagulation, the process that clumps suspended particles together so they can settle and be filtered out, is used in more than half of all water purification plants, yet operators still depend on jar tests and turbidity readings that only reveal what happened minutes or hours earlier. A new study published in Discover Artificial Intelligence proposes a way to break that delay, teaching an artificial intelligence system to watch flocs form in real time and predict the optimal coagulant dose before the water quality sensors catch up.

The research, led by Galang Adira Prayoga of Institut Teknologi Bandung together with Emir Husni, Reza Darmakusuma and Herto Dwi Ariesyady, introduces a framework called Real-Time Sensing and Visual Information-Guided Physics-Informed Neural Networks, or RTS-VG PINNs. The core insight is that turbidity and the degree of flocculation, the two indicators most commonly used to judge how well coagulation is working, are inherently lagging signals. They measure the macroscopic outcome of particle aggregation and sedimentation, processes that take time to propagate from the bottom of a thickener up to the clear supernatant layer where sensors operate. By the time a change is visible in turbidity, the underlying process has already moved on, forcing conventional control strategies into reactive adjustments based on stale information.

To get ahead of that lag, the team combined two sources of information that are usually kept separate: continuous water quality sensing and live video of the flocculation process. On the vision side, the framework uses two complementary convolutional neural networks. A ResNet-50 based two-stage detector provides high-resolution feature extraction, learning hierarchical representations that range from low-level textures to high-level semantic descriptions of floc structure, with residual connections helping the deep network stay sensitive to subtle changes in floc morphology and density. In parallel, a YOLOv8 one-stage detector performs feature extraction and object detection in a single pass, dramatically reducing computational latency so that floc evolution can be identified and tracked in real time.

The camera setup itself was carefully engineered. A Canon 250D recorded video at 60 frames per second at 1920 by 1080 pixel resolution, positioned in front of a jar test reactor under controlled lighting to minimize reflections. Each experimental run followed a standardized protocol of two minutes of rapid mixing at 200 rpm, ten minutes of slow mixing at 30 rpm, and five minutes of settling. Regions of interest were defined within the observation window to focus the networks on representative floc behavior while suppressing background noise, and the resulting image sequences were synchronized with calibrated turbidity, pH and electrical conductivity measurements through a central computing system.

What makes the framework genuinely distinctive is how the visual information is used. Rather than treating the camera output as a standalone classifier, the researchers map the extracted floc features onto a physically meaningful parameter: the time-varying effective sedimentation velocity, v0(t). This velocity dynamically governs the Kynch sedimentation partial differential equation, a classical description of how particle concentrations evolve in space and time as suspensions settle. A small subnetwork called ParamNet learns the nonlinear relationship between image-derived features and this velocity, so the physics model continuously adapts to the evolving coagulation state instead of assuming fixed settling behavior.

The neural network at the heart of the system takes time and depth coordinates as inputs and outputs a predicted floc concentration field, effectively reconstructing the internal density distribution of the suspension, something no external sensor can measure directly. Training is governed by a composite loss function that balances four competing demands: a physics loss that penalizes violations of the Kynch equation, a data loss that anchors predictions to experimental observations, an initial condition loss, and a boundary condition loss enforcing a no-flux constraint at the top surface. The result is a model that is not merely fitting curves but adhering to conservation of mass and sedimentation dynamics, with physics-based residuals converging to the order of ten to the minus three.

The inverse problem is where the framework earns its practical value. A second network takes initial operating conditions, including pH, temperature, velocity gradient, initial zeta potential and initial turbidity, and predicts how zeta potential, turbidity, floc size and settling velocity evolve as functions of coagulant dose. Crucially, these predictions are constrained by embedded physical laws: a Langmuir-type adsorption relation captures the nonlinear surface charge response, while a Smoluchowski-style aggregation and breakup balance governs turbidity evolution. The model can then infer the dose that minimizes final turbidity, benchmarked against an independent experimental ground truth defined as the dose achieving the lowest measured supernatant turbidity in standardized jar tests.

Experiments spanned natural river water from a PDAM utility and artificial kaolin suspensions prepared from tap water and distilled water, with initial turbidities around 50 to 60 NTU, pH from 6.2 to 7.8, and zeta potentials from minus 3.1 to 0.3 mV. Polyaluminum chloride doses ranged from 12 to 120 mg/L, with the most favorable flocculation consistently observed between 24 and 84 mg/L. Against conventional benchmarks including Random Forest, Gradient Boosting, Support Vector Machine and Multilayer Perceptron models, RTS-VG PINNs achieved the highest coefficient of determination, approximately 0.498 compared with 0.484 for Random Forest, along with the lowest RMSE and MAE. The authors are candid that this improvement is modest and, given only ten independent experimental runs, should be read as evidence of potential benefit from combining visual information and physical constraints rather than statistically significant superiority.

The framework also incorporates Monte Carlo Dropout as an approximate Bayesian method for uncertainty quantification. By keeping dropout layers active during inference and running multiple stochastic forward passes, the system produces a distribution of possible dose estimates rather than a single number. The predictive mean serves as the recommended dose, while the predictive variance flags conditions where the model is uncertain, such as unfamiliar water chemistry or ambiguous visual flocculation states. High-variance predictions could be routed to operators for verification before any automated dosing action, a safety layer the authors emphasize is a decision-support indicator for future online implementation rather than a validated closed-loop control criterion.

The researchers are equally transparent about the limits of the current work. The one-dimensional Kynch formulation cannot capture the three-dimensional hydrodynamics of real treatment basins, the validation relied on only two independent laboratory-scale validation runs, and no end-to-end closed-loop dosing experiment was performed, leaving inference latency and actuator response unquantified. Future directions include coupling the vision-informed framework with computational fluid dynamics, incorporating population balance models to resolve microscale aggregation, and extending validation to pilot and full-scale plants under seasonal variation. Even so, the study demonstrates something conceptually important: that a camera watching particles clump together, fused with classical sedimentation physics and live sensor data, can anticipate what a turbidity meter will only report minutes later. If that promise survives scale-up, the humble jar test may finally gain a predictive successor.

Subject of Research: Physics-informed neural networks with computer vision for real-time coagulant dose optimization in water treatment

Article Title: Visual information guided physics informed neural networks framework for predictive coagulant dose optimization

Article References: Prayoga, G. A., Husni, E., Darmakusuma, R., & Ariesyady, H. D. (2026). Visual information guided physics informed neural networks framework for predictive coagulant dose optimization. Discover Artificial Intelligence, 6(1), Article 1380. https://doi.org/10.1007/s44163-026-02372-z

Image Credits: AI Generated

DOI: 10.1007/s44163-026-02372-z

Keywords: physics-informed neural networks, coagulation, water treatment, computer vision, flocculation, Kynch sedimentation, YOLOv8, ResNet-50, coagulant dose optimization, turbidity sensing, Monte Carlo dropout, machine learning

Cite Scienmag News

Blake Davidson. (October 10, 2026). AI Watches Flocs Form to Predict the Perfect Water-Treatment Chemical Dose. Scienmag. https://scienmag.com/ai-watches-flocs-form-to-predict-the-perfect-water-treatment-chemical-dose/

Blake Davidson. "AI Watches Flocs Form to Predict the Perfect Water-Treatment Chemical Dose." Scienmag, 10 October 2026, https://scienmag.com/ai-watches-flocs-form-to-predict-the-perfect-water-treatment-chemical-dose/. Accessed 10 October 2026.

Blake Davidson. "AI Watches Flocs Form to Predict the Perfect Water-Treatment Chemical Dose." Scienmag. October 10, 2026. https://scienmag.com/ai-watches-flocs-form-to-predict-the-perfect-water-treatment-chemical-dose/

Tags: AI-based water treatment predictionAI-driven process control in water plantscoagulant dose optimizationcoagulationcoagulation chemical dosing automationcomputer visiondelay reduction in water quality feedbackearly detection of water quality issuesflocculationflocculation process analysisKynch sedimentationMachine learningMonte Carlo dropoutphysics-informed neural networksphysics-informed neural networks for water treatmentpredictive modeling for water purificationreal-time water quality monitoringResNet-50smart water treatment system developmentturbidity and floc formation sensorsturbidity sensingWater treatmentwater treatment process optimizationYOLOv8
Share26Tweet16
Previous Post

Green Prescriptions: Why Scientists Say Nature Belongs in Mental Health Care

Next Post

Contaminated Soil Locked Inside Cement Kilns at 1400 Degrees

Related Posts

Open BIM workflow weighs carbon against circularity in building design
Technology and Engineering

Open BIM workflow weighs carbon against circularity in building design

October 10, 2026
Wind tunnel meets supercomputer: new turbine model nails the invisible swirls behind clean power
Climate

Wind tunnel meets supercomputer: new turbine model nails the invisible swirls behind clean power

October 10, 2026
Commercial Sodium Battery Cathode Doubles as Lithium Ion Host in Water-Based Electrolyte
Technology and Engineering

Commercial Sodium Battery Cathode Doubles as Lithium Ion Host in Water-Based Electrolyte

October 10, 2026
New Model Reveals Why Workers Commute Farther for Economically Sophisticated Jobs
Technology and Engineering

New Model Reveals Why Workers Commute Farther for Economically Sophisticated Jobs

October 10, 2026
New Optimal Transport Framework Reconstructs Gene Networks and Cell Fates From Single-Cell Snapshots
Biology

New Optimal Transport Framework Reconstructs Gene Networks and Cell Fates From Single-Cell Snapshots

October 10, 2026
Anxious Minds, Broken Shoulders: Brain Circuit Revealed Linking Anxiety to Failed Tendon Healing
Technology and Engineering

Anxious Minds, Broken Shoulders: Brain Circuit Revealed Linking Anxiety to Failed Tendon Healing

October 10, 2026
Next Post
Contaminated Soil Locked Inside Cement Kilns at 1400 Degrees

Contaminated Soil Locked Inside Cement Kilns at 1400 Degrees

  • Mothers who receive childcare support from maternal grandparents show more optimized

    Mothers who receive childcare support from maternal grandparents show more parental warmth, finds NTU Singapore study

    27656 shares
    Share 11059 Tweet 6912
  • University of Seville Breaks 120-Year-Old Mystery, Revises a Key Einstein Concept

    1061 shares
    Share 424 Tweet 265
  • Bee body mass, pathogens and local climate influence heat tolerance

    682 shares
    Share 273 Tweet 171
  • Researchers record first-ever images and data of a shark experiencing a boat strike

    546 shares
    Share 218 Tweet 137
  • Groundbreaking Clinical Trial Reveals Lubiprostone Enhances Kidney Function

    531 shares
    Share 212 Tweet 133
Science

Embark on a thrilling journey of discovery with Scienmag.com—your ultimate source for cutting-edge breakthroughs. Immerse yourself in a world where curiosity knows no limits and tomorrow’s possibilities become today’s reality!

RECENT NEWS

  • Shocks, Not Habits: How Crises Reshape Water Technology Adoption in Rural India
  • Contaminated Soil Locked Inside Cement Kilns at 1400 Degrees
  • AI Watches Flocs Form to Predict the Perfect Water-Treatment Chemical Dose
  • Green Prescriptions: Why Scientists Say Nature Belongs in Mental Health Care

Categories

  • Agriculture
  • Anthropology
  • Archaeology
  • Athmospheric
  • Biology
  • Biotechnology
  • Blog
  • Bussines
  • Cancer
  • Chemistry
  • Climate
  • Earth Science
  • Editorial Policy
  • Marine
  • Mathematics
  • Medicine
  • Pediatry
  • Policy
  • Psychology & Psychiatry
  • Science Education
  • Science News
  • Social Science
  • Space
  • Technology and Engineering

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 5,150 other subscribers

© 2025 Scienmag - Science Magazine

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
No Result
View All Result
  • HOME
  • SCIENCE NEWS
  • CONTACT US

© 2025 Scienmag - Science Magazine

Discover more from Science

Subscribe now to keep reading and get access to the full archive.

Continue reading