
Acarbon dioxide sensor orCO2 sensor is an instrument for the measurement ofcarbon dioxide gas. The most common principles for CO2 sensors are infrared gas sensors (NDIR) and chemical gas sensors. Measuring carbon dioxide is important in monitoringindoor air quality,[1] the function of the lungs in the form of acapnograph device, and many industrial processes.

NDIR sensors arespectroscopic sensors to detect CO2 in a gaseous environment by its characteristic absorption. The key components are aninfrared source, alight tube, an interference (wavelength) filter, and an infrared detector. The gas is pumped or diffuses into the light tube, and the electronics measure the absorption of the characteristicwavelength of light. NDIR sensors are most often used for measuring carbon dioxide.[2] The best of these have sensitivities of 20–50PPM.[2] Typical NDIR sensors cost in the (US) $100 to $1000 range. They are used to comply to building standards that focus on wellbeing such as WELL V2. Carbon dioxide sensors such as RoomYou1 are used to comply with building standards that prioritize occupant well-being, such asWELL Building Standard.[3]
NDIR CO2 sensors are also used for dissolved CO2 for applications such as beverage carbonation, pharmaceutical fermentation andCO2 sequestration applications. In this case they are mated to an ATR (attenuated total reflection) optic and measure the gasin situ. New developments include usingmicroelectromechanical systems (MEMS) IR sources to bring down the costs of this sensor and to create smaller devices (for example for use inair conditioning applications).[4]
Another method (Henry's Law) also can be used to measure the amount of dissolved CO2 in a liquid, if the amount of foreign gases is insignificant.[further explanation needed]
CO2 can be measured usingphotoacoustic spectroscopy. Concentration of CO2 can be measured by subjecting a sample to pulses of electromagnetic energy (such as from adistributed feedback laser[5]) that is tuned specifically to the absorption wavelength of CO2. With each pulse of energy, the CO2 molecules within the sample will absorb and generate pressure waves via thephotoacoustic effect. These pressure waves are then detected with an acoustic detector and converted to a usable CO2 reading through a computer or microprocessor.[6]
Chemical CO2 gas sensors with sensitive layers based on polymer- or heteropolysiloxane have the principal advantage of very low energy consumption, and that they can be reduced in size to fit into microelectronic-based systems. On the downside, short and long term drift effects, as well as a rather low overall lifetime, are major obstacles when compared with the NDIR measurement principle.[7] Most CO2 sensors are fully calibrated prior to shipping from the factory. Over time, the zero point of the sensor needs to be calibrated to maintain the long term stability of the sensor.[8]
For indoor environments such as offices or gyms where the principal source of CO2 is humanrespiration, rescaling some easier-to-measure quantities such asvolatile organic compound (VOC) andhydrogen gas (H2) concentrations provides a good-enough estimator of the real CO2 concentration for ventilation and occupancy purposes.[citation needed] Furthermore, inasmuch as ventilation is a factor in the spread of respiratoryviruses,[9] CO2 levels are a rough metric forCOVID-19 risk; the worse the ventilation, the better for viruses andvice versa.[10] Sensors for these substances can be made using cheap (~$20)Microelectromechanical systems (MEMS)metal oxide semiconductor (MOS) technology. The reading they generate is called estimated CO2 (eCO2)[11] or CO2 equivalent (CO2eq).[12] Although the readings tend to be good enough in the long run, introducing non-respiration sources of VOC or CO2, such as peeling fruits or usingperfume, will undermine their reliability. H2-based sensors are less susceptible as they are more specific to human breathing, although the very health conditions thehydrogen breath test is set to diagnose will also disrupt them.[12]