{'fraction_non_alphanumeric': 0.028169014084507043, 'fraction_numerical': 0.0076824583866837385, 'mean_word_length': 5.0347490347490345, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Compensating Altered Sensitivity of Duty-Cycled MOX Gas Sensors with Machine Learning

Popular low-cost air quality sensors embedded into IoT and mobile devices are based on metal oxides (MOX) that change their electrical resistance in response to ambient pollutants emitted as gases. Operating MOX sensors continuously is expensive, since it requires to heat up and maintain a hotplate at several hundred degrees. To save energy, sensors are commonly duty cycled with short on-times and long off-times. However, doing so adversely affects the sensor’s chemical reactions, which have slower transients as the off-time increases. As a result, sensor sensitivity to various gases deviates from a continuously powered sensor. In this paper, we show that it is possible to recover accurate continuous-sensor measurements from transient responses obtained from a duty cycled sensor and compensate for an altered multi-gas cross-sensitivity profile using machine learning methods. On a test set, we achieve a mean absolute error (MAE) of 24ppb between continuous ground-truth measurements and obtained model predictions of tVOC. This results in estimating 86.6% of Indoor Air Quality (IAQ) levels correctly compared to 68.1% if no correction is used. Our models are invariant to minor baseline shifts and work for both tVOC and CO2-eq signals provided by the sensor. Thanks to our models, 98.5% of the energy consumption can be reduced while maintaining high accuracy. This optimization enables energy-harvesting-based operation of IAQ sensors in indoor IoT scenarios.