A pH sensor measures how acidic or alkaline a liquid is by generating a tiny voltage that changes with the hydrogen-ion activity in the fluid. In oil and gas it is the workhorse of produced-water and treatment monitoring, watching that water leaving a facility sits in the right range for corrosion control, chemical dosing, and discharge limits. This guide explains the glass and reference electrode pair, why buffer calibration is essential, and why pH probes drift and need care.
pH Sensor in one line: A pH sensor is an electrochemical probe that measures the acidity or alkalinity of a solution on the pH scale. It uses a glass measuring electrode that develops a small voltage proportional to hydrogen-ion activity, referenced against a stable reference electrode, and an analyzer converts that millivolt signal into a pH reading after calibration with known buffer solutions.
A conventional pH sensor is really two electrodes working together, often built into one combination probe. The measuring electrode ends in a thin, ion-sensitive glass bulb. When that bulb is immersed in a solution, a small voltage develops across the glass that depends on the hydrogen-ion activity of the liquid, which is what pH expresses. That voltage is only meaningful compared against a stable point, so a second electrode, the reference electrode, provides a fixed potential through a porous junction that keeps electrical contact with the solution. The analyzer measures the millivolt difference between the two electrodes and converts it to pH, using the fact that the signal changes by a predictable amount for each pH unit.
The glass bulb is delicate and the whole measurement is a small, high-impedance voltage, so pH sensing is more demanding than a simple sensor. Temperature affects the reading, so quality pH sensors include a temperature element and the analyzer applies automatic temperature compensation. The reference junction is the part that most often causes trouble: it can clog, get coated, or have its internal fill contaminated by the process, which shifts the reference potential and corrupts the reading. Much of pH maintenance is really reference-junction and glass-bulb care.
Because it responds to hydrogen-ion activity directly, a properly working pH sensor is fast and continuous, giving a live reading an analyzer can trend, alarm on, and use to control chemical dosing. But it is fundamentally a wet-chemistry electrode, not a rugged solid-state device, and that shapes both how it is used and how much attention it needs.
A pH sensor cannot be trusted without calibration, because the exact voltage each probe produces varies and changes over its life. Calibration is done with buffer solutions, standard liquids of precisely known pH. The technician immerses the probe in two (sometimes three) buffers that bracket the process range, and the analyzer records the millivolt reading at each, establishing the slope and offset that map voltage to pH. A common practice is a two-point calibration around the neutral and one acidic or alkaline buffer, matched to the range the sensor will see in service.
Even after calibration, pH sensors drift. The glass bulb ages and its response slope gradually flattens, the reference junction slowly gets fouled or its fill depletes, and coatings from the process build on the bulb. All of these push the reading away from truth over weeks and months, which is why pH sensors are recalibrated on a schedule rather than installed and forgotten. How fast a probe drifts depends heavily on the service: clean water is gentle, while dirty, oily, or high-solids produced water is hard on the glass and junction and shortens the interval between calibrations.
This maintenance burden is the practical reality of pH measurement. Operators plan for periodic buffer calibration, keep spare probes because the glass and junction are consumables, and choose sensor designs, such as pressurized or refillable references and cleaning provisions, that suit the dirtiness of the stream. Getting this discipline right is the difference between a pH loop that reliably controls dosing and one that quietly reads wrong.
In oil and gas, pH sensors sit throughout produced-water handling and water treatment. They monitor produced and disposal water where pH influences corrosion, scaling tendency, and chemical-treatment effectiveness, they watch the water entering and leaving treatment steps, and they help control acid or caustic dosing to hold water in a target band. Because pH ties directly to corrosion control and to discharge or reinjection limits, a drifting or out-of-range pH is something operations wants to know about quickly.
The pH analyzer outputs the reading as a 4-20 mA signal or a digital value into a PLC, RTU, or controller, where it becomes a process tag alongside flow, level, and dosing-pump status. A cloud SCADA platform such as Merobix reads that pH tag over Modbus, DNP3, or OPC UA, so operators can trend water pH across a facility, alarm on excursions, and correlate pH against chemical injection rates from any browser. On remote and unmanned water sites, that remote visibility catches a treatment upset or a dosing failure that no one would otherwise see until the next visit.
Trending pH over time is also how the sensor's own health becomes visible. A reading that slowly walks in one direction, becomes sluggish to respond, or grows noisy is a classic signature of a fouling reference junction or an aging glass bulb, and seeing that pattern remotely lets a technician schedule a cleaning or calibration before the loop is controlling on a bad number. Pairing a well-maintained pH sensor with remote trending turns a fragile wet-chemistry measurement into a dependable operational signal.
Each pH probe produces a slightly different voltage for a given pH, and that response changes as the glass and reference age, so the analyzer has to be told the true relationship between voltage and pH. Buffer solutions are liquids of precisely known pH, and immersing the probe in two or three of them lets the analyzer set the slope and offset that convert the millivolt signal to an accurate reading. Without this calibration the pH value cannot be trusted.
The glass measuring bulb ages and its response gradually flattens, the reference junction slowly clogs or its internal fill depletes, and process coatings build on the bulb, all of which shift the reading away from truth. Dirty, oily, or high-solids water like produced water is especially hard on the electrodes and speeds up drift. Because of this, pH sensors are recalibrated on a schedule and the electrodes are treated as consumables that need periodic replacement.
It monitors and helps control the pH of produced water, disposal water, and treatment streams, where acidity affects corrosion, scaling, and how well treatment chemicals work. pH readings guide acid or caustic dosing to keep water in a target range and help confirm water meets discharge or reinjection limits. Because pH ties directly to corrosion control and to compliance, out-of-range readings are alarmed and trended so operators can respond quickly.
This page references the protocol specifications published by the organizations below. Editions, product capabilities, and documentation change over time - confirm current requirements and specifications directly with the source.
Last reviewed: July 27, 2026. Merobix is not affiliated with, endorsed by, or sponsored by these organizations; their names are used only to identify the standards and products discussed.
Merobix reads your field devices into a cloud SCADA - the real thing behind these terms, live in days from any browser.