Soft Sensors: Inferring Hard-to-Measure Variables

Technical Deep Dive · Engineering Perspective · Published: November 17, 2026

Key Takeaways

  • A soft sensor — also called inferential or virtual measurement — estimates a variable that is slow, expensive or awkward to measure directly (COD, TOC, filter loading) from variables that are easy to measure online, using a model instead of another probe [1].
  • UV254 is the canonical water-industry surrogate: absorbance at 254 nm tracks organic matter and correlates strongly with both COD and TOC in many natural waters [2][3], which lets an optical reading stand in for continuous organic-load estimation.
  • Not every soft sensor needs machine learning. Mechanistic models, regressions and ML each have a place, and the modelling route should follow the data you can actually collect and validate [1].
  • Soft sensors age like instruments do. Prediction accuracy degrades as operating conditions change, so a healthy deployment carries a monitoring index that tells you when to update the model [4].
  • A well-built virtual sensor can police the physical ones — one water utility used soft sensors to flag drift in online instruments so technicians could calibrate, clean or replace them [5].
  • Filter loading is inferred, not measured: flow and differential-pressure trends are the standard condition-based basis for cleaning and replacement decisions [6].

A Definition You Can Put in a Specification

Industrial process variables come in two classes. Easy-to-measure ones — temperature, pressure, flow, conductivity, pH — have fast, affordable, dependable online instruments. Difficult ones — COD, TOC, product quality, filter condition, fouling state — are what operators actually want to know, and direct measurement of them is slow, costly or simply unavailable online. Inferential sensing models the relationship between the two classes and computes the difficult variable from the easy ones [1].

A soft sensor, then, is software: a model that consumes online signals and produces an estimate of the target variable, as if a hidden instrument were installed [1]. The technique originated in the 1970s, when chemical and biological processes needed better control of quality variables that the lab only delivered hours late, and it has since spread through most process industries [1]. In water treatment it answers a very concrete pain. Organic parameters, biological activity and filter condition all matter continuously, and all of them are awkward to measure continuously.

Why Water Operations Reach for Soft Sensors

Three pressures push utilities and industrial water teams toward inferential measurement:

  • Lab cadence versus process speed. A COD or TOC bench test tells you what the water was hours ago. Coagulant dosing, ozone demand and regeneration triggers have to be decided now.
  • Instrument cost and fragility. Online TOC analyzers are expensive and maintenance-hungry. Optical surrogate sensors are cheaper, faster and more stable, which makes the inferred route attractive wherever a validated correlation exists.
  • Data you already own. Every plant records flow, differential pressure, temperature, UV transmittance and conductivity. Soft sensors turn that instrumentation into information no single probe provides — value computed from signals already flowing into the historian.

The Workhorse Case: From UV254 to COD and TOC

The most widely deployed soft measurement in water treatment infers organic load from UV absorbance. UV254 is the absorbance of a sample at 254 nm, a region strongly absorbed by the aromatic and humic organics that dominate natural and treated waters [2]. Because that absorbance scales with the concentration of organics present, it can be correlated against wet-chemistry results: field studies on river water report good correlation between UV254 and both TOC and COD across most natural sources, which is why UV254 has been adopted in many countries as a faster, simpler organic indicator [2].

A source-water standards study for Taiwan reached the same conclusion from the regulatory side: COD and TOC correlated strongly with UV254 regardless of raw water condition, which supported treating both as surrogate parameters for source-water quality [3]. The soft-sensor relationship is not a vendor convenience. It is used to set water quality standards.

Making the inference work at a specific plant is a calibration exercise, not a purchase. The UV254-to-TOC or UV254-to-COD correlation is water-specific: it depends on the organic character of the source, seasonal shifts and upstream treatment steps. A sound deployment pairs online UV254 readings with periodic laboratory COD/TOC results, fits a site-specific regression, and re-validates whenever the source water changes character. Treat any published universal conversion factor as a starting hypothesis to be replaced by your own paired data.

Inferring Filter Loading from Flow and Differential Pressure

The second classic water-industry soft measurement watches filters rather than chemistry. A clean filter passes flow with a small pressure drop; as media or membranes load with solids, differential pressure across the filter climbs along a characteristic trend. Modern practice replaces calendar-based replacement with condition-based maintenance: monitor differential pressure with a transmitter, trend it against flow, and backwash or replace when the trend reaches the maintenance threshold rather than when a date arrives [6]. The inferred variable — filter loading, or remaining capacity — is never measured by a probe. It is computed from flow and pressure signals the plant already has, which is the definition of a soft sensor [1][6].

The same inference supports early-warning logic. A sudden drop in differential pressure can signal media breakthrough rather than a clean filter, and a rising trend at constant flow distinguishes gradual fouling from a step change in feed quality. Cheap signals with expensive consequences — exactly the profile where a soft sensor earns its keep.

Three Modelling Routes

Route How it works Typical water application Main risk
Mechanistic (physics-based) Encode known physics — hydraulics, mass balances, decay kinetics — and solve for the target Filter loading from flow and differential pressure; chlorine decay from demand models Model structure misses real-world effects
Regression / statistical Fit linear or partial least squares models on paired easy-to-measure and lab data COD/TOC estimation from UV254 and temperature Silent failure when source water character shifts
Machine learning Train flexible models (neural networks, Gaussian processes, random forests) on historical pairs Complex multi-parameter inference where relationships are nonlinear Poor extrapolation outside training conditions [1]

The routes complement each other rather than compete. Mechanistic models need little data but assume the physics is known. Regressions need paired lab data and are transparent enough for a compliance conversation. Machine learning captures nonlinearity but demands more data and more caution [1]. Practitioner literature on adaptive soft sensors makes the point sharply: a black-box model is valid only inside the operating region where its training data was collected, so pick the route that matches the validation you can actually sustain [1].

Health Checks: Soft Sensors Age Too

A soft sensor is software, but it drifts like hardware. The dominant failure mode is well documented in the process industries: prediction accuracy decays over time as operating conditions change — feed character, seasons, equipment states — while the model stays frozen [4]. A soft sensor trained on one year of data can be quietly, confidently wrong the next.

That is why serious deployments treat the soft sensor as an instrument with its own health monitoring. Industrial case work proposes exactly this: a model mismatch index, maintained with a Kalman filter against the periodic true measurements, monitors prediction performance and indicates when the model needs updating, supported by conventional process-monitoring indices such as T² and SPE [4]. The loop is easy to copy:

  • Compare soft-sensor output against laboratory results on a fixed cadence.
  • Track the residual between inferred and measured values over time.
  • Set thresholds that trigger recalibration, retraining or a model rebuild — before operators stop trusting the number.

There is a second payoff that gets less attention. Because a soft sensor predicts what a healthy physical sensor should read, disagreement between the two is a diagnostic. A water utility working with its engineering partner built soft, or virtual, sensors of key plant performance parameters specifically to identify drift in physical sensor data; operators get alerted as drift develops so they can calibrate, clean or replace the instrument, which improves the quality of the captured data [5]. The virtual sensor doubles as a sentry for the hardware.

Where Soft Sensors Break

The limitations deserve their own section, because they decide whether the deployment survives year two.

  • Operating condition drift. The dominant degradation path, and the reason health monitoring is not optional [4].
  • Extrapolation beyond training data. Models, especially data-driven ones, fail silently outside the region they were fitted in [1].
  • Water-specific correlations. A UV254-to-TOC relationship validated on one source does not transfer automatically to another. Site-specific validation is the price of admission [2][3].
  • Garbage in, garbage out. The inference is only as good as the easy-to-measure inputs. A fouled optical window or a drifting flowmeter corrupts every downstream estimate, including the virtual-sensor health check built on top of it.
  • Governance. Regulators and auditors will ask how inferred values are produced and validated. Keep the paired-data records and model versions that justify each soft sensor; documentation you can hand to an auditor is part of the deliverable.

What This Means for Buyers

A soft sensor shifts the buying decision upstream. The quality of the inferred variable is capped by the quality of the easy-to-measure inputs. A stable, temperature-compensated optical module, a flowmeter whose accuracy you can verify, and synchronized multi-parameter output on a digital bus do more for inferential accuracy than any modelling technique. Buy the sensor, own the outcome — and for inferential measurement, the sensor you own includes the one you never install: the model. Shanghai ChiMay approaches this from the instrument side, building multi-parameter online analyzers whose synchronized, digitally transmitted easy-to-measure signals are designed to serve as clean inputs for plant soft-sensing and AI models.

References

  1. Fitzgerald, N. S. (2014). Gaussian Process Adaptive Soft Sensors and their Applications in Inferential Control Systems. EngD Thesis, University of Leeds (White Rose eTheses Online). Defines inferential sensing, traces its 1970s origins, and covers modeling routes from regression to Gaussian process soft sensors with validity constraints. http://etheses.whiterose.ac.uk/8870/19/EngD%20Thesis.pdf
  2. Serajuddin, M., Chowdhury, M. A. I., & Ferdous, T. (2018). Correlation among some global parameters describing organic pollutants in river water: A case study. Zenodo / International Journal of Sciences. Reports UV254 absorbance at 254 nm and its good correlation with TOC and COD in natural river water. https://zenodo.org/records/1341344
  3. Chang, E. E., Chiang, P. C., & Lin, T. F. (1998). Development of surrogate organic contaminant parameters for source water quality standards in Taiwan, ROC. Chemosphere 37(4). Finds COD and TOC strongly correlated with UV254 and proposes TOC-based source water criteria. https://hub.tmu.edu.tw/en/publications/development-of-surrogate-organic-contaminant-parameters-for-sourc/
  4. Chen, K., Castillo, I., Chiang, L. H., & Yu, J. (2015). Soft Sensor Model Maintenance: A Case Study in Industrial Processes. IFAC-PapersOnLine (ADCHEM 2015). Documents soft sensor accuracy deterioration from operating condition changes and proposes a Kalman-filter-based model mismatch index for monitoring and update guidance. https://skoge.folk.ntnu.no/prost/proceedings/adchem2015/media/papers/0149.pdf
  5. Mott MacDonald (2024). Rosedale Wastewater Treatment Plant, New Zealand. Industry case study: soft (virtual) sensors of plant performance parameters used to identify drift in physical sensor data so operators can calibrate, clean, or replace instruments. https://www.mottmac.com/en-gb/projects/rosedale-wastewater-treatment-plant-new-zealand/
  6. NORVI (2025). Industrial Filter & Differential Pressure Monitoring. Solution guide: condition-based filter replacement from differential pressure and flow trends for water treatment and HVAC systems. https://norvi.io/solutions/industrial-filter-differential-pressure-monitoring/

About the author: Written by the Shanghai ChiMay Technical Editorial Team — application engineers specializing in online water quality analyzers, optical organic-parameter sensing, and inferential monitoring for industrial and municipal water systems.

Similar Posts