PID Control for Odor

PID odor control with H2S monitoring scrubber biofilter and exhaust fan

PID Control for Odor: First Define What Is Actually Being Measured

Odor control is an important environmental-control function in wastewater treatment plants, pumping stations, sludge handling, food processing, rendering facilities, chemical plants and many other industrial applications.

However, a realistic system is rarely as simple as:

Odor setpoint → Odor sensor → PID → Odor-control device

because “odor” is not one chemical compound and normally is not one universal continuous process variable.

A foul-air stream may contain:

hydrogen sulfide - H₂S,

ammonia - NH₃,

mercaptans,

organic sulfur compounds,

amines,

volatile organic compounds - VOCs.

The odor perceived by a person can result from several compounds acting together.

In a real odor-control plant, the PID process variable is often not “odor”. It may be H₂S concentration, scrubber pH, ORP, airflow, duct pressure, fan speed, biofilter moisture or another measurable process variable.

The general feedback principle is explained in What Is PID?.

H₂S Is Important, but H₂S Is Not the Same as Total Odor

Hydrogen sulfide is one of the most important odorous gases in wastewater and sewer applications and is well known for its rotten-egg odor at low concentrations.

But an H₂S reading does not necessarily describe the complete odor problem.

Other compounds such as:

methyl mercaptan,

dimethyl sulfide,

dimethyl disulfide,

amines,

other VOCs

can contribute strongly to perceived odor.

Therefore:

measured H₂S concentration ≠ total odor concentration

should be kept in mind.

H₂S can be an excellent process indicator in the right application, but it should not automatically be treated as a universal odor sensor.

How Is Odor Measured?

Different measurement methods answer different questions.

An industrial odor-control project may use:

continuous H₂S measurement,

NH₃ monitoring,

VOC measurement,

specific laboratory gas analysis,

electronic-nose technology,

dynamic olfactometry.

Dynamic olfactometry uses human assessors to determine the dilution at which an odor becomes detectable.

This can be useful for environmental performance assessment, but it is not a fast online PV suitable for a conventional PID loop.

Continuous automation therefore normally relies on variables that can be measured repeatedly in real time.

Capture the Odor Before Trying to Treat It

A high-efficiency scrubber does not solve an odor problem if the foul air never reaches the scrubber.

Odor sources may need:

covers,

enclosures,

ducting,

local extraction,

negative-pressure collection.

The first control problem is therefore often source capture.

For example, the extraction system may keep a tank enclosure slightly below surrounding atmospheric pressure so foul air is pulled inward rather than leaking outward.

This naturally connects odor control with pressure control.

VFD Fan Control for Foul-Air Extraction

An extraction fan may be driven by a variable-frequency drive.

The PID loop may regulate:

duct static pressure,

enclosure negative pressure,

airflow.

A simple arrangement is:

Duct pressure SP → Pressure transmitter → PID → VFD → Fan speed

In this case the PID is not directly controlling odor concentration.

It is controlling the ventilation condition needed to contain and transport the foul air.

The drive architecture is related to PID control with VFDs.

More Airflow Is Not Always Better

Increasing fan speed can improve capture at the source, but excessive airflow can also:

increase fan energy consumption,

increase duct pressure loss,

reduce residence time inside a treatment unit,

increase media pressure drop,

reduce treatment efficiency in some systems.

The design target is therefore not simply:

maximum airflow

but:

adequate capture + appropriate treatment flow + adequate contact time.

This is why flow control is an important part of many odor-treatment systems.

Wet Chemical Scrubbers Control Chemistry, Not “Smell” Directly

In a wet scrubber, contaminated air is brought into close contact with a circulating liquid.

Target gases transfer into the liquid phase and may then be neutralized, oxidized or otherwise chemically converted.

Depending on the pollutant and scrubber design, the system may use:

alkaline absorption,

oxidizing chemicals,

multiple chemical stages.

The key PID loops often regulate the scrubbing-liquid chemistry rather than total odor at the stack.

Scrubber pH Control

For an alkaline H₂S scrubber, liquid pH can strongly affect absorption and chemical reaction behaviour.

A practical loop may be:

Scrubber pH SP → pH transmitter → PI/PID → Caustic dosing pump

The controller maintains the chemical environment required by the treatment process.

It does not directly calculate “how unpleasant the air smells”.

Because pH itself is nonlinear and sensitive to mixing, buffering and sensor condition, PID pH control is directly relevant to odor scrubbers.

ORP Can Be Another Important Control Variable

Oxidation Reduction Potential - ORP provides information about the oxidation-reduction condition of a liquid.

In appropriate chemical scrubber applications, an oxidizing chemical may be dosed according to ORP.

Conceptually:

ORP SP → ORP measurement → Chemical dosing demand

can be used.

But ORP and pH interact with the specific scrubber chemistry.

The correct setpoints depend on:

the pollutant,

the treatment chemical,

scrubber design,

manufacturer operating requirements.

Scrubber pH and ORP setpoints are process-design values, not universal PID numbers that can be copied from another odor-control system.

Can Outlet H₂S Be Used as Feedback?

Yes.

Continuous gas measurement can be installed upstream or downstream of the treatment process.

Outlet H₂S may be used for:

performance monitoring,

high-level trim control,

alarm generation,

media-breakthrough detection.

A useful architecture might keep fast scrubber chemistry under pH/ORP loops while using outlet H₂S as a slower supervisory trim.

This is often more realistic than making one H₂S PID directly command every actuator in the plant.

Such layered control is a practical example of feedback, feedforward and supervisory control strategies.

Do Not Use Your Nose as an H₂S Detector

Hydrogen sulfide can be smelled at low concentrations.

That does not make human smell a reliable gas-safety instrument.

With exposure, the ability to smell H₂S can decrease or disappear.

Therefore:

“I cannot smell H₂S anymore” does not mean the atmosphere is safe.

Environmental odor control and personnel gas safety are separate systems. H₂S occupational safety requires suitable gas detection and safety procedures independent of the odor-control PID.

Gas-Sensor Cross-Sensitivity

A gas sensor may respond not only to its target gas but also to other compounds.

This is known as cross-sensitivity.

Sensor performance can also be influenced by:

temperature,

humidity,

condensation,

sensor ageing,

contaminants.

For this reason a gas transmitter requires proper:

selection,

calibration,

zero/span verification,

maintenance.

A correct 4-20 mA scaling does not guarantee that the electrochemical sensing element is still chemically accurate.

Biofilters Are Living Treatment Processes

A biofilter passes contaminated air through a moist porous medium supporting microorganisms.

Odorous compounds transfer from the gas phase into the moist media and can then be biologically degraded.

Biofilter performance can depend on:

media moisture,

media pH,

temperature,

airflow,

loading,

residence time,

microbial condition.

A biofilter is not simply an activated-carbon box. It is a biological process unit.

Biofilter Moisture Control

If biofilter media becomes too dry, biological activity and pollutant transfer can decrease.

If the bed becomes excessively wet, airflow can be restricted and undesirable anaerobic conditions may develop.

Moisture management may use:

inlet-air humidification,

irrigation,

timed operation,

moisture or RH measurement.

This connects odor control directly with PID humidity control.

Pressure Drop Is a Valuable Maintenance Signal

Biofilter and packed-bed systems can change over time.

Media may:

compact,

become excessively wet,

channel,

accumulate solids.

The resulting pressure drop can change.

Monitoring:

fan speed

together with

filter differential pressure

can provide useful maintenance information.

If a VFD has to run faster every month simply to maintain the same airflow, the PID may be hiding increasing media resistance.

A controller should compensate for normal disturbances, not hide a maintenance problem indefinitely.

Residence Time Matters

Scrubbers, carbon adsorbers and biological treatment units all require appropriate contact between foul air and the treatment media or liquid.

Increasing fan airflow reduces the time available for that contact unless the equipment has been designed for the higher loading.

The result can be a difficult compromise:

more extraction improves source capture,

but too much flow may reduce treatment residence time.

Flow PID therefore has to respect the actual design limits of the odor-control unit.

Activated Carbon Is Useful, but It Has Finite Capacity

Activated carbon adsorbs suitable gaseous compounds onto a large internal surface area.

It is commonly used for:

low-concentration odor streams,

polishing after another treatment stage,

selected H₂S and VOC applications.

But the adsorption sites are finite.

As carbon approaches saturation, breakthrough occurs and outlet concentration begins to rise.

A PID controller cannot restore adsorption capacity to exhausted carbon simply by increasing fan or pump command.

Media condition therefore requires separate monitoring and replacement or regeneration planning.

When carbon is exhausted, the problem is media capacity, not PID tuning.

One Treatment Technology Does Not Fit Every Odor Stream

The appropriate treatment depends on foul-air composition, concentration, humidity, temperature, airflow and required removal efficiency.

A plant may use:

chemical scrubbers,

biofilters,

biotrickling filters,

activated carbon,

multiple treatment stages in series.

A strong first stage may remove the bulk load while a carbon stage provides final polishing.

The technology should be selected from the actual gas composition rather than from the generic fact that “the plant smells”.

Feedforward Can Respond Before Outlet Odor Rises

Some odor disturbances are measurable before the outlet gas concentration changes.

Examples include:

wastewater flow,

sludge feed rate,

process loading,

tank level,

foul-air flow.

If a known process operation consistently increases odor loading, a feedforward signal can raise extraction or chemical demand immediately.

The feedback loop then corrects the remaining error.

This can respond faster than waiting for downstream H₂S to increase.

Derivative Is Often Not the First Choice

Gas measurements can contain:

short concentration spikes,

measurement noise,

cross-sensitivity effects.

Derivative action can amplify these fast changes and cause unnecessary motion in:

fan speed,

chemical dosing,

other actuators.

Many odor-control sub-loops therefore work well with PI control.

D should be used only where process testing shows a real benefit.

The general behaviour of the terms is covered in P, I and D components.

Time Delay Can Exist Between Process Action and Gas Measurement

An odor-control loop can include delay caused by:

duct transport,

scrubber residence time,

gas-analyzer sample lines,

sensor response,

biological reaction.

A controller that reacts aggressively before the previous correction reaches the analyzer can create unnecessary cycling.

This makes time delay and process dynamics important in gas-treatment control.

Output Saturation Exists in Odor Control Too

The extraction fan can already be at maximum speed.

The caustic pump can already be at maximum flow.

The oxidant system can be at maximum dosing capacity.

The biofilter can be above its design loading.

At that point, demanding more PID output does not create additional treatment capacity.

If integral action continues building, integral windup can make recovery worse after process load returns to normal.

This is why physical capacity must be separated from PID tuning and troubleshooting.

What Can a PLC Control?

A PLC can coordinate several odor-treatment loops at the same time:

H₂S/NH₃/VOC transmitter acquisition,

scrubber pH control,

ORP control,

chemical dosing,

fan VFD control,

airflow and pressure monitoring,

biofilter humidification,

filter pressure-drop alarms.

Each of these loops has its own process dynamics.

A single “master odor PID” is therefore rarely the best description of the real control architecture.

The broader automation structure is covered in PID control with PLCs.

What Should SCADA Record?

A useful SCADA odor-control trend can include:

Inlet H₂S

Outlet H₂S

NH₃ or other target-gas values

Scrubber pH

Scrubber ORP

Chemical dosing rate

Fan speed

Airflow

Duct static pressure

Filter differential pressure

Biofilter moisture-related values

Alarm and fault states

This allows the engineer to move beyond:

“odor became worse”

and answer:

“why did treatment performance become worse?”

Common Odor-Control Problems

Outlet H₂S rises while scrubber pH looks normal: inspect ORP, reagent supply, airflow, contact conditions and analyzer accuracy.

Chemical consumption is excessive: review pH/ORP targets, chemical concentration, airflow and real inlet loading.

The fan is at 100% but odor still escapes around the tank: inspect covers, duct leakage, source-capture geometry and fan capacity.

H₂S is low but odor complaints remain: investigate other sulfur compounds, amines, VOCs and the overall odor profile.

Biofilter performance deteriorates gradually: inspect moisture, pH, pressure drop, airflow distribution and biological media condition.

Carbon media breaks through too quickly: inlet loading may exceed design conditions or upstream treatment may be inadequate.

The gas signal is unstable: check calibration, cross-sensitivity, condensation, sampling system and sensor ageing.

Fan speed hunts continuously: inspect pressure-sensor location, duct dynamics, gain settings and VFD minimum speed.

Odor increases during one specific production operation: process-load feedforward may be useful.

Odor Control and Worker Gas Safety Are Separate Objectives

Environmental odor control is primarily concerned with reducing nuisance or regulated emissions to the surrounding environment.

Occupational gas safety is concerned with protecting workers from dangerous exposure.

This distinction is especially important in:

sewers,

pumping stations,

covered tanks,

confined spaces

where H₂S may accumulate.

Good scrubber outlet performance does not prove that every work area is safe.

Dedicated gas detection and the required occupational-safety procedures remain separate from the normal PID and SCADA system.

Odor-Control Commissioning Check

1. Which compounds are actually responsible for the odor problem?

2. Does H₂S represent the complete odor profile or only one part of it?

3. Are odor sources enclosed and captured effectively?

4. Is extraction airflow and negative pressure adequate?

5. Is airflow inside the treatment unit within its design range?

6. Is adequate contact or residence time maintained?

7. Are gas sensors selected for the correct compounds and range?

8. Are calibration and cross-sensitivity understood?

9. If a wet scrubber is used, is pH measurement reliable?

10. Is ORP or another chemistry variable required?

11. Are chemical-dosing actuators reaching their limits?

12. If a biofilter is used, are moisture, pH, airflow and pressure drop acceptable?

13. If activated carbon is used, is breakthrough being monitored?

14. Can process loading be used for feedforward?

15. Are environmental odor monitoring and personnel gas safety kept separate?

16. Has inlet/outlet performance been verified at realistic maximum plant loading?

Related PID, Gas and Odor-Control Topics

PID fundamentals: What Is PID? - P, I and D Components - PID Gain and Tuning - PID Limitations

Air capture and ventilation: Variable-Frequency Drives - PID with VFDs - PID Flow Control - PID Pressure Control

Scrubber and biological treatment: PID pH Control - PID Humidity Control - Time Delay and System Dynamics

Measurement and automation: Analog Signals - 0-10 V and 4-20 mA - PID with PLCs - PID with SCADA

Advanced control and diagnostics: PID and Other Control Strategies - PID Troubleshooting

A robust odor-control system is normally built from several coordinated loops rather than one universal “odor PID”. Source capture, airflow and pressure, gas measurements, scrubber chemistry, biological-media conditions, adsorption capacity and outlet performance should each be measured and controlled according to the physical process involved.