In industrial wastewater treatment and water IoT engineering, the accuracy of water quality monitoring and the real-time nature of data directly determine the success or failure of the underlying automated control logic. For system integrators, IoT solution providers, and engineering companies, facing highly complex wastewater compositions, how to effectively combine biochemical process mechanisms with underlying hardware sensor data is the core barrier to project delivery. Starting from the fundamental underlying logic of water quality analysis, this article deeply analyzes why wastewater analysis is highly dependent on COD (Chemical Oxygen Demand) and BOD (Biochemical Oxygen Demand) indicators, and provides professional system integration and selection guides combined with YexSensor's industrial-grade sensors.
Why is Wastewater Analysis Inseparable from Comprehensive COD and BOD Pollution Indicators?
In industrial parks or large-scale water projects, there are a wide variety of organic substances in wastewater, often containing a dozen, dozens, or even hundreds of complex organic compounds.
The Engineering Necessity of Comprehensive Characterization of Organic Matter
If the organic substances in wastewater are qualitatively and quantitatively analyzed one by one using chromatography or mass spectrometry, it will not only consume huge costs on the engineering site but also fail to meet the timeliness requirements of real-time control. Environmental science research has established a common logic with great engineering value:
All organic substances are composed of at least carbon and hydrogen elements.
The vast majority of organic substances can be oxidized by chemical agents or degraded and oxidized by microorganisms. Their carbon and hydrogen eventually react with oxygen to generate non-toxic and harmless carbon dioxide and water.
Based on this commonality, whether in the chemical oxidation process or the biological oxidation process, organic substances in wastewater need to consume oxygen. The higher the concentration of organic matter, the greater the amount of oxygen consumed, and the two have a strict direct proportional relationship. Therefore, the engineering community introduced two macroscopic comprehensive indicators:
COD (Chemical Oxygen Demand): The amount of oxygen consumed when treating wastewater with strong chemical oxidants.
BOD (Biochemical Oxygen Demand): The amount of oxygen consumed by microorganisms to oxidize and decompose organic matter in wastewater under specific conditions.
For SCADA systems and PLC underlying logic, the introduction of COD and BOD sensor nodes uses the most streamlined data flow to achieve a comprehensive assessment of the overall water pollution load.
Interference from Reducing Inorganic Substances and On-site Process Pitfall Avoidance
As a system integrator, one must deeply understand the broad sense of COD. COD does not solely represent organic substances in the water; it also characterizes inorganic substances with reducing properties in the water, such as sulfides, ferrous ions, sodium sulfite, and high concentrations of chloride ions.
In actual project commissioning, a typical process pitfall is the connection of the iron-carbon micro-electrolysis process. If the ferrous ions in the effluent of the iron-carbon tank are not completely removed in the neutralization and sedimentation tank, these ferrous ions entering the subsequent biochemical treatment unit will cause the online COD sensor reading at the water outlet to be abnormally high, resulting in a "false exceedance". Integrators must incorporate this process mechanism into the early warning algorithm during system design to prevent the central control room from issuing incorrect chemical dosing commands.
The Relationship Between COD and BOD and Application Logic in Automated Control
In the biological wastewater treatment process (such as activated sludge process, MBR membrane process), BOD5 (5-day biochemical oxygen demand) can directly reflect the nutrient load available to microorganisms from a biochemical perspective, making it an extremely important process control parameter. However, at the level of automated monitoring and IoT data acquisition, BOD5 has inherent limitations.
Limitations of Real-time Performance and Microbial Conditions
Time lag: Traditional BOD5 determination takes 5 days. This severe lag fundamentally cannot be used to guide the automated closed-loop control (PID regulation) of modern wastewater treatment plants.
Toxicity inhibition: Many industrial production wastewaters contain heavy metals or toxic organic substances and do not possess the conditions for the growth and reproduction of microorganisms. At this time, the traditional BOD5 value is directly invalidated, and the sensor cannot obtain effective model data.
The Inevitability of Using COD as the Core Real-time Control Indicator
In contrast, Chemical Oxygen Demand (COD) reflects the total load of almost all organic and reducing inorganic substances in the wastewater. Although it cannot precisely distinguish between "biodegradable" and "non-biodegradable" components like BOD5, for specific industrial wastewater with relatively fixed pollutant components, there is usually a stable proportional relationship (i.e., B/C ratio) between COD and BOD5.
In actual system integration, COD is generally higher than BOD5, and the difference between the two roughly reflects the content of organic matter in the wastewater that cannot be degraded by microorganisms. Since the laboratory reflux method for measuring COD only takes 2 to 4 hours, and many wastewater plants have formulated a 5-minute rapid reflux enterprise standard to quickly guide production (although there are systematic errors, it can accurately reflect water quality variation trends), this provides a theoretical basis for the application of online sensors.
Today, by deploying online COD sensors based on optical or electrochemical principles, integrators can obtain real-time continuous load data within 1 minute. After the central control system receives the real-time COD data, it uses the historical B/C ratio model to deduce the equivalent BOD trend internally, thereby achieving a millisecond-level response to the aeration blower frequency and the start-stop of the reflux pump, greatly improving the qualification rate of effluent water quality and preventing the system from being shocked by sudden high-concentration water quality.
System Integrator's Perspective: IoT Application Scenarios and Solutions
For engineering companies and IoT service providers, selecting the right sensor is not just about buying a probe, but building a highly reliable, maintenance-free underlying data perception network.
1. Smart Water Affairs and Automated Upgrades of Wastewater Treatment Plants
In the smart transformation projects of municipal and industrial wastewater treatment plants, the core demands are "precise aeration" and "intelligent chemical dosing".
Integration Pain Points: Traditional monitoring instruments are bulky, require reagent consumables, have extremely high maintenance costs, and cannot be easily integrated into the plant-wide Distributed Control System (DCS).
YexSensor Solution: Utilizes reagent-free ultraviolet spectroscopy (UV254) online COD probes, directly submerged into the biochemical tank or water outlet. The equipment supports standard industrial communication protocols. The PLC can directly read register data through polling, forming a closed-loop control between the water quality load and the blower's frequency converter, thereby reducing overall energy consumption.
2. Online Monitoring of Industrial Park Sewage Outfalls (Grid Management)
Environmental regulations require grid-based monitoring of the sewage discharge nodes of various enterprises in industrial parks to prevent illegal or accidental discharges.
Integration Pain Points: The on-site environment is extremely harsh, wiring is difficult, water quality fluctuates violently, and there is often a lack of continuous power supply conditions.
YexSensor Solution: The probe adopts a highly integrated industrial-grade packaging design, possessing extremely strong anti-corrosion and anti-interference capabilities. Combined with RTU (Remote Terminal Unit) or DTU gateways, data is collected directly via the RS485 interface and transparently transmitted to the Environmental Protection Bureau's monitoring cloud platform via 4G/5G/NB-IoT, achieving long-term, stable, unattended operation.
YexSensor Water Quality Monitoring Sensor Selection Guide

Aiming at the stringent demands of system integrators in engineering projects, YexSensor focuses on industrial-grade stability and system compatibility. We do not pursue flashy consumer-grade features, but relentlessly perfect the reliability of core communication, the stability of long-term operation, and the anti-pollution capability in harsh water bodies.
Overview of Typical Industrial Online Water Quality Probe Parameters
| Parameters/Specifications | YexSensor Industrial Online COD Sensor | YexSensor Industrial Multi-parameter Water Quality Probe |
|---|---|---|
| Measurement Principle | COD Sensor" align="center" valign="middle">Ultraviolet absorption method (UV254) dual-wavelength compensation | Fluorescence/Electrochemical/Optical comprehensive integration |
| Measurement Range | COD Sensor" align="center" valign="middle">0~1500 mg/L (Range customizable) | Depends on specific probe modules (e.g., DO: 0-20 mg/L) |
| Power Supply Voltage | 12~24V DC (Wide voltage design, adaptable to industrial cabinets) | 12~24V DC |
| Communication Interface | Pure hardware RS485 | Pure hardware RS485 |
| Communication Protocol | Standard Modbus RTU | Standard Modbus RTU |
| Cable Length | Standard 10 meters (Polyurethane corrosion-resistant outer jacket, customizable) | Standard 10 meters (Customizable extension) |
| Protection Level | IP68 (Supports long-term underwater submersion installation) | IP68 |
| Self-cleaning System | Standard automatic cleaning brush (Prevents biological attachment) | Standard automatic cleaning brush |
| Housing Material | 316L Stainless Steel / POM / Titanium Alloy (Optional) | 316L Stainless Steel / POM |
System Integration and Hardware Connection Precautions
During project implementation, integrators need to pay special attention to the following points to ensure the engineering quality of the system:
Communication Line Isolation: There are numerous strong electromagnetic interference sources in industrial sites, such as frequency converters and high-power water pumps. When laying RS485 communication cables, twisted pair cables with shielding layers must be used, and it must be ensured that the shielding layer is reliably grounded at a single point at the control cabinet end. It is recommended to add an RS485 optoelectronic isolator in front of the PLC or IoT gateway to protect the main control equipment.
Hydrodynamic Considerations for Installation Location: The probe should not be installed in dead water zones or directly above aeration heads with dense bubbles. It should be installed in a flow channel with stable and evenly mixed water flow to ensure data representativeness. For probes with self-cleaning brushes, sufficient cleaning space must be reserved.
Regular Calibration and Cross-Interference Compensation: Although optical sensors are reagent-free, in wastewater containing large amounts of suspended solids (SS) or high color, the UV absorbance method will be interfered with by physical occlusion. YexSensor's COD sensor has a built-in dual-wavelength automatic compensation algorithm for turbidity and color. During initial system commissioning, the integrator needs to cooperate with the national standard laboratory data from the on-site laboratory to perform a two-point or multi-point fitting calibration in the upper computer or inside the probe to lock in the special conversion coefficient for the local wastewater.
Water Quality Monitoring System Integration Frequently Asked Questions (FAQ)
Q1: Why does the data of the online COD sensor show an abnormal surge after the process goes through the iron-carbon micro-electrolysis tank?
A: The iron-carbon micro-electrolysis process releases a large amount of ferrous ions (Fe2+) into the water body. Ferrous ions have strong reducing properties. Since COD is a macroscopic indicator measuring all oxidant-consuming substances in the water, these ferrous ions will be mistaken for high-concentration organic pollutants, leading to higher COD values read by the system. Integrators need to logically filter out this "false exceedance" in algorithms or process flow monitoring.
Q2: In automated control projects, can online COD sensors completely replace BOD monitoring?
A: Alternative monitoring can be realized at the physical hardware level, but they cannot be equated in a biochemical sense. The usual practice is to continuously measure the COD and BOD5 of on-site water samples during the system initialization phase to establish a linear regression model (determine the B/C ratio) for that specific wastewater. Subsequently, the central control system reads the real-time COD data and substitutes it into the algorithm model to calculate the estimated BOD value in real-time, thereby guiding the operation of the biochemical tank.
Q3: What is the underlying communication protocol of YexSensor water quality sensors? Is it easy to integrate into existing DCS systems?
A: YexSensor sensors adopt the most universal and mature RS485 physical interface and Modbus RTU protocol in the industrial field. The internal register addresses of the sensors are open and transparent. Whether you use Siemens or Schneider PLCs, or various domestic IoT gateways, you can easily read data through standard commands to achieve plug-and-play and seamless integration with DCS or SCADA systems.
Q4: What should be paid attention to in online monitoring when facing industrial wastewater with high chloride ion (Cl-) content?
A: In traditional potassium dichromate laboratory tests, chloride ions will consume the oxidant and produce serious positive errors. For online monitoring, if traditional chemical reagent titration online analyzers are used, expensive masking agents (such as mercury sulfate) must be equipped. However, using YexSensor's UV254 optical COD sensor, because the measurement principle is based on the physical absorption of specific ultraviolet wavelengths by organic matter, chloride ions do not produce absorption in this band. Therefore, it directly immunizes against chloride ion interference from the physical base layer, making it very suitable for high-salinity wastewater monitoring.
Q5: What is the approximate engineering maintenance cycle for optical COD probes with self-cleaning brushes?
A: Compared to traditional electrodes or chemical analyzers that require weekly reagent replacement and pipeline cleaning, optical probes with automatic cleaning brushes greatly reduce operation and maintenance costs. In general municipal or industrial wastewater, the probe can achieve 3 to 6 months of operation without manual intervention. The maintenance cycle mainly depends on the degree of highly adhesive oil or calcification scaling in the water body. Routine maintenance only requires wiping the optical window with a dilute acid solution.
Q6: The BOD of some highly toxic industrial wastewater cannot be measured. How should the IoT system establish an early warning mechanism at this time?
A: For wastewater containing heavy metals or highly toxic organic substances (such as cyanides, certain anilines), microorganisms will be poisoned, making BOD5 impossible to measure. At this time, the system should completely abandon the BOD assessment logic and directly use the total COD and characteristic pollutants (such as heavy metal ion concentrations measured by specific electrodes) as the core of monitoring, and link it with emergency shut-off valves. Once an exceedance occurs, the water body is immediately switched to the emergency accident pool to prevent toxic substances from destroying the downstream biochemical system.
Q7: If the upper computer needs to display the concentration value in mg/L and the original analog quantity simultaneously, how should the system be configured?
A: In YexSensor's Modbus RTU protocol register mapping table, both the final concentration value (floating-point data, unit mg/L) after temperature compensation and linear fitting by the probe's internal microprocessor, and the underlying original measurement data are opened. System integrators can freely fetch data from the required addresses for secondary development or direct display according to the depth requirements of the project architecture.
Q8: Can YexSensor probes send data directly to third-party cloud platforms via IoT gateways?
A: Absolutely. As standard lower-machine slave devices, as long as the integrator is equipped with DTU equipment supporting RS485 to 4G/NB-IoT, and configures the baud rate and station number, YexSensor probes can push hexadecimal messages to any third-party private cloud platform or public cloud architecture via MQTT, HTTP, or transparent transmission mode. It possesses absolute openness at the hardware level.
Engineering Summary
In the automated monitoring and treatment engineering of industrial wastewater, COD and BOD, as the two core pollution indicators, not only carry the profound mechanisms of environmental science but also play an irreplaceable role in automated control. BOD indicates the upper limit and process direction of biochemical treatment, while COD, with its rapid and broad-spectrum characteristics, has become the central nerve of industrial IoT real-time closed-loop control.
When system integrators and engineering companies are implementing projects, choosing online water quality sensors like YexSensor, which focuses on industrial stability as the core and adopts open communication protocols, can not only significantly reduce communication costs during the construction and commissioning phase, but also ensure the reliable operation of the project throughout its long lifecycle. We are committed to providing solid underlying data perception support, so that every smart water project and IoT platform can obtain the most authentic and timely data source power.
