A Virtual CO2 Sensor for Vehicle Cabins Using Deep Learning and Physics- Based Modelling

dc.contributor.authorMohamed, Abdulrazak Ahmed
dc.contributor.departmentChalmers tekniska högskola / Institutionen för fysiksv
dc.contributor.departmentChalmers University of Technology / Department of Physicsen
dc.contributor.examinerVolpe, Giovanni
dc.contributor.supervisorHariharan, Krishna
dc.date.accessioned2026-06-29T13:46:26Z
dc.date.issued2026
dc.date.submitted
dc.description.abstractThe air quality inside vehicle cabins is an important factor affecting driver alertness, occupant comfort, and occupational health. Among the constituents of cabin air, carbon dioxide (CO2) is of particular interest because it is produced continuously by occupants and accumulates rapidly in the enclosed space of a modern vehicle. Sustained exposure above 1,000 ppm measurably degrades driver alertness and decision-making, creating a clear need to monitor cabin CO2 during operation. Physical CO2 sensors are the conventional approach and are already used in some vehicles to trigger ventilation switching, but they rely on infrared or photo-acoustic measurement principles that are susceptible to drift from temperature and humidity, require periodic recalibration as optics age, and degrade under the vibration and thermal cycling of vehicle operation. These limitations render them unreliable for continuous, fleet scale monitoring. This thesis addresses this gap by developing a virtual CO2 sensor that predicts cabin concentration from signals already available on the vehicle controller area network (CAN) bus, eliminating the dependence on dedicated hardware. Three modelling approaches are developed and compared: a purely data-driven deep learning model, a physics-based mass-balance model, and a hybrid approach in which the physics model output is incorporated as an input feature to the data-driven model. Seven architectures are evaluated, trained, and tested on 445,017 samples corresponding to 123 hours of real-world driving data collected across cold, mild, and warm ambient conditions. The best performing architecture is Hybrid TCN-LSTM, with a mean absolute percentage error of 8.35% using only CAN bus signals. Adding the physics-based equilibrium signal as an input feature reduces this to 7.93%, with consistent improvement seen across all seven architectures and all temperature conditions. The physics signal captures ventilation history in a way that raw CAN bus signals do not directly express, and its contribution shows that the two approaches carry different information. The results establish that CAN bus signals alone are sufficient for accurate cabin CO2 prediction, and that incorporating physical knowledge into the model pushes that accuracy further still.
dc.identifier.coursecodeTIFX05
dc.identifier.urihttps://hdl.handle.net/20.500.12380/311627
dc.language.isoeng
dc.setspec.uppsokPhysicsChemistryMaths
dc.subjectvirtual sensing, cabin air quality, deep learning, hybrid physics-informed model, temporal convolutional network, CAN bus, CO2 prediction.
dc.titleA Virtual CO2 Sensor for Vehicle Cabins Using Deep Learning and Physics- Based Modelling
dc.type.degreeExamensarbete för masterexamensv
dc.type.degreeMaster's Thesisen
dc.type.uppsokH
local.programmeComplex adaptive systems (MPCAS), MSc

Ladda ner

Original bundle

Visar 1 - 1 av 1
Hämtar...
Bild (thumbnail)
Namn:
Abdulrazak Mohamed.pdf
Size:
8.9 MB
Format:
Adobe Portable Document Format

License bundle

Visar 1 - 1 av 1
Hämtar...
Bild (thumbnail)
Namn:
license.txt
Size:
2.35 KB
Format:
Item-specific license agreed upon to submission
Description: