How Mainstream CO2 Monitoring Works

Published August 16, 2026 · Revised September 6, 2026

How a mainstream capnography sensor measures CO2 directly at the airway and why adapter, sensor, optics, moisture, and alignment problems can affect the reading

Mainstream CO2 monitoring measures carbon dioxide directly at the patient airway.

Back to Biomed Basics

What This Page Explains

This page covers:

The Simple Version

In mainstream capnography, the patient breathes through an airway adapter positioned in the breathing circuit. An infrared emitter and detector in the sensor measure how much selected infrared energy the carbon dioxide in that gas absorbs. The electronics convert that changing absorption into a capnogram and values such as end-tidal CO2.

Because measurement occurs at the airway, there is no long sampling line or pump delay, but the sensor and adapter add weight and dead space and are exposed to moisture, secretions, damage, and alignment problems. Troubleshoot the complete optical path: correct adapter and sensor, clean windows, secure connection, warm-up or zeroing requirements, cable condition, and verification with the manufacturer's approved CO2 test method.

What Is Mainstream CO2?

Mainstream CO2 places the gas-measurement sensor directly in the breathing circuit.

The sensor is usually attached to an airway adapter between:

or equivalent connection point.

Mainstream vs Sidestream

The biggest difference is where the measurement occurs.

Mainstream

Gas passes directly through sensor adapter.

Sidestream

Gas is pulled through a sample line to a remote analyzer.

This changes the failure modes.

No Sampling Pump

A mainstream system typically does not need:

for the basic CO2 measurement path.

So if you are troubleshooting:

No sample flow

that is generally a sidestream problem, not a mainstream one.

Infrared CO2 Measurement

CO2 absorbs infrared light at specific wavelengths.

The sensor sends infrared energy through the gas in the airway adapter.

The amount absorbed changes with CO2 concentration.

Optical Measurement

Conceptually:

More CO2

More infrared absorption

Less light reaches detector

Calculated CO2 increases

Airway Adapter

The airway adapter creates the optical chamber through which the gas passes.

It usually contains clear windows that allow the sensor to look across the gas path.

The Adapter Is Part of the Measurement System

It is not just a plastic connector.

Its:

can affect measurement.

Dirty Adapter

Contamination on the optical windows may cause:

Inspect the adapter before condemning the sensor.

Moisture

Condensation can collect on the adapter windows.

That can interfere with infrared transmission.

Possible symptoms include:

Secretions

Patient secretions may contaminate the adapter.

This can partially block the optical path.

Replace or clean the adapter according to manufacturer instructions.

Adapter Type Matters

Some systems use:

The internal geometry may differ.

Use the correct compatible adapter.

Sensor Head

The sensor contains the optical and electronic components.

It may include:

Sensor Cable

The sensor usually connects to the monitor through a cable.

The cable may carry:

A cable problem can cause:

Sensor Recognition

Before measuring gas, the host monitor may need to identify the sensor.

If the screen says:

CO2 Sensor Not Detected

that is different from:

No CO2 Detected.

Sensor Not Detected

Think:

Sensor Detected but No Waveform

Now the communication layer is working.

Look at:

Zeroing

Mainstream CO2 sensors often require a zero reference.

The sensor needs to know what:

Zero CO2

looks like optically.

Why Zeroing Matters

If the optical baseline is wrong, all measurements may be offset.

Example:

Actual gas:

0%.

Sensor displays:

2%.

That suggests a zero or contamination problem.

Zero Adapter

Some systems use a special zero adapter or require the sensor to be exposed to room air in a defined way.

Follow the exact manufacturer method.

Do Not Zero Through Exhaled Gas

If CO2 remains in the optical chamber during zeroing, the baseline will be wrong.

Zero Failure

Possible causes include:

Calibration

Some systems support calibration using known gas.

Others rely primarily on factory calibration plus zeroing.

The exact approach varies.

Zero Is Not the Same as Calibration

Zeroing establishes the baseline.

Calibration establishes the relationship between sensor signal and known concentration.

Do not treat them as identical.

Sensor Heating

Some mainstream sensors are heated.

Why?

To help reduce:

The sensor may feel warm during normal operation.

Warm-Up Time

A mainstream sensor may need time to:

A brief startup delay may be normal.

Heater Failure

If the heater fails:

depending on design.

Added Airway Weight

Mainstream sensors are physically attached near the patient airway.

That adds:

This is why smaller adapters and sensors may be used for neonatal or pediatric applications.

Dead Space

The adapter adds some internal volume.

This is a clinical design consideration.

For biomed troubleshooting, make sure the correct adapter type is being used.

Capnogram

The waveform is called a:

Capnogram.

It shows CO2 concentration over time through the respiratory cycle.

ETCO2

End-tidal CO2 is usually taken near the end of exhalation.

The monitor identifies the end-expiratory portion of the waveform and displays a numeric ETCO2 value.

No Capnogram

If the sensor is recognized but no waveform appears, ask:

Flat Zero

A flat line near zero may mean:

High Baseline

If inspiration does not return near baseline:

Possible causes include:

The clinical breathing system may be the problem rather than the CO2 sensor.

Rebreathing Pattern

A raised inspiratory baseline can reflect actual inspired CO2.

That could come from:

Do not automatically calibrate the sensor.

Mainstream Response Time

Because the sensor is at the airway, mainstream systems generally have very little transport delay.

That is one advantage over sidestream sampling.

No Sample-Line Delay

A waveform change occurs almost immediately at the sensor.

If there is a large unexplained delay, investigate processing or display behavior.

Mainstream Sensor Alignment

The sensor must fit the adapter correctly.

If it is:

the optical path may not align.

Mechanical Keying

Many systems are keyed so the sensor only fits correctly one way.

Do not force it.

Loose Sensor

A loose sensor may create:

Adapter Cracks

A cracked adapter may introduce:

Inspect disposable and reusable components carefully.

Circuit Leak

A leak near the airway adapter can affect the respiratory system itself.

The CO2 sensor may correctly report lower ETCO2 because exhaled gas is being diluted.

Dilution

If room air enters near the measurement site, CO2 concentration may drop.

The sensor may not be defective.

Supplemental Gas

Depending on clinical setup, gas introduced near the sensor can also affect readings.

Interpret the measurement in context.

Test Gas

A known CO2 concentration can be used to verify measurement accuracy when the manufacturer specifies it.

Example:

Certified 5% CO2 test gas.

Compare sensor result to acceptable tolerance.

Gas Concentration Matters

Do not use an approximate gas source and expect precise calibration verification.

Use certified test gas when required.

Gas Flow Through Adapter

For bench testing, the test setup must deliver known gas through the adapter correctly.

If room air mixes with the test gas:

Reading will be low.

Example

Certified gas:

5%.

Sensor reads:

3%.

Before calibrating:

Check for leaks or dilution in the test setup.

Test Gas Temperature and Pressure

Gas measurement can be affected by environmental conditions and compensation algorithms.

Use the approved verification setup.

Barometric Compensation

Some CO2 systems compensate for barometric pressure.

Incorrect pressure data may affect calculated concentration or partial pressure.

Units

CO2 may be displayed as:

Make sure you compare the correct units.

Approximate Conversion

A gas containing about:

5% CO2

at normal atmospheric pressure corresponds roughly to an ETCO2 around the upper 30s mmHg.

But use exact test-gas specifications and device limits for verification.

Sensor Accuracy vs Clinical Value

A clinical ETCO2 number can be abnormal because of:

not device failure.

Use known test gas or simulator methods to verify equipment.

Known-Good Sensor

Original sensor:

Not recognized.

Known-good sensor:

Works.

Original sensor fails on another compatible monitor.

Failure follows sensor.

Known-Good Adapter

Original adapter:

Erratic CO2.

New compatible adapter:

Normal.

Original adapter visibly contaminated.

Failure follows adapter.

Failure Stays With Monitor

Two known-good sensors:

Fail to communicate on one monitor.

Both work elsewhere.

Now investigate monitor-side interface.

Intermittent Sensor Cable

Sensor works until cable is moved.

Then:

CO2 Sensor Disconnected.

Strong evidence of cable or strain-relief damage.

Cable Failure vs Optical Failure

If the sensor disappears from the monitor:

Think communication/power.

If sensor remains recognized but CO2 becomes wrong:

Think optical/gas measurement path.

Sensor Self-Test

The sensor may perform internal checks.

A self-test failure may indicate:

Use service documentation for specific codes.

Optical Source Aging

Infrared emitters can degrade.

Possible symptom:

The exact failure mode depends on the sensor design.

Detector Failure

A detector problem may cause:

Again, verify with approved diagnostics.

Contamination vs Electronics

A dirty optical window can produce many of the same symptoms as failing electronics.

Always inspect the simple physical path first.

Reusable Sensor vs Disposable Adapter

In many systems:

Sensor:

Reusable.

Adapter:

Disposable or reusable depending design.

Do not replace an expensive sensor before trying the simple adapter.

Mainstream CO2 on Ventilators

Some ventilators use a mainstream sensor connected directly to the ventilator.

The measured CO2 may feed:

but it usually does not control the basic ventilator gas-delivery system.

Mainstream CO2 on Patient Monitors

Patient monitors may use a dedicated CO2 interface or parameter module.

Now the system has multiple layers:

Sensor → CO2 Module → Host Monitor.

Module Recognition

If the entire CO2 module is missing:

Do not troubleshoot the airway sensor first.

First restore module-host communication.

Sensor Recognized by Module

If module is present and reports sensor-specific fault:

Communication to the module is working.

Move outward to the sensor and adapter.

Capnogram Shape

Waveform shape provides useful clues.

Possible patterns include:

Some patterns may reflect physiology or breathing-circuit behavior rather than sensor failure.

Do Not Diagnose Clinical Conditions From Bench Testing

For equipment troubleshooting, use controlled test methods.

The goal is to determine whether the sensor measures known gas correctly.

Mainstream vs Sidestream Troubleshooting

For mainstream, think:

Sensor + Adapter + Optics

For sidestream, think:

Sample Line + Pump + Water Trap + Analyzer

This distinction avoids a lot of wasted work.

No Pump Noise Is Normal

Do not look for a sampling pump in a mainstream system unless the device also contains a separate sampling function.

Water Trap Is Usually Not Part of Mainstream Measurement

If a troubleshooting guide mentions:

verify whether the device is actually using sidestream technology.

Real-World Example: Sensor Not Recognized

Sensor:

No detection on Monitor A.

Known-good sensor:

Works.

Original sensor:

Not recognized on Monitor B.

Failure follows sensor/cable assembly.

Real-World Example: CO2 Reads Low

Certified 5% gas applied.

Sensor reads 3%.

New airway adapter:

Reads correctly.

Original adapter had moisture film across optical window.

Real-World Example: Repeated Zero Failure

Sensor zero fails.

Adapter replaced.

Still fails.

Sensor works on another monitor.

Monitor interface/CO2 module becomes suspect.

Real-World Example: High Inspiratory Baseline

CO2 waveform does not return to zero during inspiration.

Known test setup shows sensor accuracy is correct.

Breathing system has rebreathing issue.

CO2 monitor is reporting a real condition.

Real-World Example: Intermittent Dropout

Sensor disappears when cable bends near strain relief.

Known-good sensor remains stable.

Cable assembly failure reproduced.

Real-World Example: No Waveform on Test Lung

Sensor recognized.

Adapter clear.

Test lung contains only room air.

No CO2 source connected.

Flat CO2 waveform is exactly what should happen.

The sensor has not failed.

Common Mistakes

Troubleshooting Mainstream CO2 Like Sidestream CO2

There is usually no sample line or pump.

Replacing the Sensor Before Inspecting the Adapter

Optical contamination is common.

Treating “Sensor Not Detected” as a Gas-Measurement Problem

That is usually power/communication first.

Zeroing With CO2 Still in the Adapter

That creates a bad baseline.

Assuming a High Inspiratory Baseline Means Sensor Failure

It may be real rebreathing.

Using Unverified Gas for Accuracy Testing

Use the specified test gas.

Ignoring Cable Movement

Intermittent sensor cables can mimic sensor electronics failure.

A Useful Troubleshooting Framework

For a mainstream CO2 problem, ask:

Is the sensor recognized?

If no:

Check:

If yes:

Is the adapter correct, clean, and fully seated?

Then:

Can the sensor zero successfully?

Then:

Does it read known CO2 gas accurately?

Then:

Does the failure follow the sensor, adapter, module, or host?

That separates the problem into clear layers.

Another Useful Question

Ask:

Is this a sensor-recognition problem, an optical-measurement problem, or a real gas-condition problem?

Those are three very different troubleshooting paths.

What Did You Actually Prove?

If the monitor says:

Mainstream CO2 Sensor Connected

you proved:

The host recognizes the sensor at some level.

You did not prove:

If the sensor successfully zeros and measures certified CO2 test gas within specification using the correct adapter and test setup, you now have much stronger evidence that the mainstream measurement system is working properly.

Final Thoughts for Biomeds

Mainstream CO2 is simpler than sidestream in one important way:

The gas comes directly to the sensor.

There is no long sampling path to troubleshoot.

So think:

Airway Gas → Adapter → Optical Sensor → Cable → Module/Monitor.

If the sensor is missing:

Think communication.

If the sensor is present but reading is wrong:

Think optics, adapter, zero, and test gas.

And if the sensor measures known gas correctly but the clinical waveform looks abnormal:

Consider whether it is reporting a real breathing-system condition.

The goal is to determine:

Is the gas wrong, or is the measurement wrong?

— Jake

Important Note

Mainstream CO2 sensor designs, airway adapters, zeroing procedures, calibration requirements, heating systems, barometric compensation, compatible modules, and accuracy limits vary by manufacturer and model. Follow current manufacturer service documentation, use approved airway adapters and certified test gas when required, and complete all required CO2, alarm, and functional verification before returning equipment to clinical use.

Related Biomed Basics