Products IN-STOCK ready to Ship Next Day for orders placed by 2pm EST. Use Code SENSE for 10% OFF.


How does an NDIR CO2 Sensor Work?

How does an NDIR CO2 Sensor Work?

What is the principle of non-dispersive infrared?

NDIR is an industry term for nondispersive infrared and is the most common type of sensor used to measure carbon dioxide (CO2).

The NDIR sensors work by using an infrared (IR) lamp to direct waves of light through a tube filled with a sample of air. This air moves toward an optical filter in front of an IR light detector. The IR light detector measures the amount of IR light that passes through the optical filter.

In an NDIR CO2 sensor, the band of IR radiation also produced by the lamp is very close to the 4.26-micron absorption band of CO2. Because the IR spectrum of CO2 is unique, matching the light source wavelength serves as a signature or "fingerprint" to identify the CO2 molecule.

As the IR light passes through the sample tube of air, the CO2 gas molecules absorb the specific band of IR light while letting other wavelengths of light pass through. At the detector end, the remaining light hits an optical filter that absorbs every wavelength of light except the wavelength absorbed by CO2 molecules in the sample tube.

Finally, an IR detector reads the remaining amount of light that was not absorbed by the CO2 molecules or the optical filter.

NDIR CO2 Sensor

What are the components of an NDIR sensor?

An NDIR CO2 sensor typically consists of several components that work together to measure carbon dioxide concentrations in the most accurate means. While the design and components may vary dependent upon the manufacturer, below we highlight the most common components:

  1. Light Source: The NDIR sensor uses a light source that emits infrared radiation at specific wavelengths. Common light sources include infrared LEDs or IR lamps. These light sources provides the energy needed for the subsequent interactions with the CO2 molecules in the gas sample.

  2. Gas Sample Cell: The gas sample cell is a chamber through which the gas to be analyzed (the sample gas) passes. It allows the infrared light to interact with the CO2 molecules in the gas. The sample cell is typically made of materials that allow the infrared light to pass through without significant absorption.

  3. Optical Filters: Optical filters are used to select specific wavelengths of infrared light that are known to be absorbed by CO2 molecules. By using the appropriate filters, the sensor can ensure that only the relevant wavelengths are detected by the detector, enhancing overall measurement accuracy.

  4. Detector: The detector is a crucial component of the NDIR sensor. It measures the amount of infrared light that passes through the gas sample after interacting with CO2 molecules. The detector's signal provides information about the concentration of CO2 in the sample.

  5. Reference Channel: Many NDIR CO2 sensors include a reference channel. This channel measures the amount of infrared light that passes through the sample without being absorbed by CO2. The reference channel serves as a baseline, allowing the sensor to compensate for variations in the light source's intensity and environmental conditions, leading to much more accurate measurements.

  6. Signal Processing and Electronics: The detector's output signal and the reference channel signal are processed by electronics within the sensor. These electronics often include compensation algorithms that take into account factors like temperature, humidity, and other variables that could influence the measurements at any given time.

  7. Housing: The components of the NDIR sensor are housed within a protective enclosure. This housing provides physical protection, facilitates gas flow into the sample cell, and helps maintain a stable environment for accurate measurements.

How is the CO2 level calculated?

The difference between the amount of light radiated by the IR lamp and the amount of IR light received by the detector is measured. Since the difference is the result of the light being absorbed by the CO2 molecules in the air inside the tube, it is directly proportional to the number of CO2 molecules in the air sample tube.

All measurements start out as analog micro-voltages. While some sensors output this as an analog voltage or 4-20mA signal, some also include an analog to digital converter on the sensor PCB that converts the voltages into serial or RS-485 output. Serial output is especially useful for using NDIR CO2 sensors with Arduino or Raspberry Pi microcontrollers.

Early carbon dioxide sensor technologies

Since Joseph Black, a Scottish chemist and physician first identified carbon dioxide in the 1750s, scientists have looked for a way to measure this common gas. One of the earliest CO2 measurement devices was a mercury manometer. Manometers use a U-shaped glass tube filled with mercury to measure gas pressure. If temperature, pressure, and volume of a dry gas sample containing CO2 molecules are known, the moles of CO2 can be calculated using the Ideal gas law (PV=nRT).

While mercury manometers can be very accurate, the procedure for measuring CO2 levels in air samples can take hours. That’s why when Charles Keeling was asked by the US Weather Bureau to begin taking hourly atmospheric CO2 measurements at the Mauna Loa volcano in Hawaii he used an early infrared (IR) gas analyzer calibrated against his manometer. The original Applied Physics Corp. Infrared Gas Analyzer operated on Mauna Loa from 1958 until 2006.

Like every IR gas sensor, the analyzer at Mauna Loa used the same basic principle for measuring CO2. It has an infrared light radiation source at one end of a gas sample tube and an IR detector at the other. The band of infrared radiation is very close to the absorption band of CO2. As a result, the amount of light radiation that is absorbed by the CO2 molecules is proportional to the amount of carbon dioxide in the gas sample. However, since low levels of CO2 do not absorb much light, a long tube is needed before the effect can be measured.

While the original IR gas analyzer was accurate, it was bulky. The sample tube alone was 40cm (16 inches) long.

The challenge is getting the right balance. Engineers use a longer optical path to measure lower levels of CO2 more accurately - which means a larger gas sample chamber. On the other hand, in ambient air environments - such as schools, offices, and homes - the demand is for ever-smaller sensors to fit neatly inside compact devices.

Small NDIR CO2 sensor breakthrough

SenseAir CO2 sensor

An engineering breakthrough occurred in 1993 when SenseAir AB patented a design for small-footprint CO2 sensors. These sensors solved the size problem by using folded optics and metalized molded plastic to reflect the light through a curved shape (referred to as a 'waveguide') that was longer than the footprint of the sensor module. The highly reflective coating ensured that the CO2 molecules inside the gas sample chamber would absorb the same amount of light as traditional straight-path design.

By using advanced optics, new waveguide designs allowed for progressively smaller sensors with increased sensitivity. For example, in 2003 SenseAir's K20 CO2 sensor (shown above) used a "banana" waveguide design. This sensor was used for many years in OEM consumer safety products. 

Modern NDIR CO2 sensors

Today's newest generation of CO2 sensors have even more optimized waveguides, allowing a longer optical light path to be folded into an even smaller

8 mm x 33 mm x 20 mm footprint.

In addition to a smaller size, new mid-range infrared light-emitting diode (LED) light sources have been developed that allow NDIR sensors to operate at much lower power levels. Combined with a photo-diode light detector, these solid-state sensors also provide a much longer life-span.

For example, many modern day sensors now consume only 3mW of power, while typical incandescent IR sensors consume 50 to 200mW. This low power consumption makes the new generation of NDIR CO2 sensors capable of running for months on battery or solar power alone.

View CO2Meter CO2 Sensors

How NDIR CO2 sensors are made

The fabrication of CO2 sensors resembles that of smartphones or any other state-of-the-art electronics. High-speed robotic assembly takes place in specially designed clean rooms. The modules are then batch-tested and calibrated before shipment. SenseAir AB has a promotional video where you can see sensors being assembled at their factory in Sweden here.

CO2 sensors in the future

What is in store for the future? For years, high-end gas analyzers have been produced based on photoacoustic spectroscopy, or PAS. PAS is was discovered by Alexander Graham Bell in the 1880s. He noted that strobed sunlight shown on different materials produced an audible sound. Since PAS systems do not rely on the length of the waveguide, an even smaller CO2 sensor using a pulsed MEMS (Micro Electro Mechanical System) mirror and MEMs microphone are theoretically possible. When they go into production, we'll tell you about them here.

For more information on CO2 sensing technologies or to speak to a CO2Meter expert, contact us at or 877-678-4259

Older Post