Designing learned CO2-based occupancy estimation in smart buildings

Designing learned CO2-based occupancy estimation in smart buildings

For access to this article, please select a purchase option:

Buy article PDF
(plus tax if applicable)
Buy Knowledge Pack
10 articles for £75.00
(plus taxes if applicable)

IET members benefit from discounts to all IET publications and free access to E&T Magazine. If you are an IET member, log in to your account and the discounts will automatically be applied.

Learn more about IET membership 

Recommend Title Publication to library

You must fill out fields marked with: *

Librarian details
Your details
Why are you recommending this title?
Select reason:
IET Wireless Sensor Systems — Recommend this title to your library

Thank you

Your recommendation has been sent to your librarian.

Many applications, such as smart buildings, crowd flow, action recognition, and assisted living, rely on occupancy information. Although the use of smart cameras and computer vision can assist with these tasks and provide accurate occupancy information, it can be cost prohibitive, invasive, and difficult to scale or generalise to different environments. An alternative solution should bring similar accuracy while minimising the listed problems. This work demonstrates that a scalable wireless sensor network with CO2-based estimation is a viable alternative. To support many applications, a solution must be transferable and must handle not knowing the physical system model; instead, it must learn to model CO2 dynamics. This work presents a viable prototype and uses the captured data to train machine learning-based occupancy estimation systems. Models are trained under varying conditions to assess the consequences of design decisions on performance. Four different learning models were compared: gradient boosting, k-nearest neighbours (KNN), linear discriminant analysis, and random forests. With sufficient labelled data, the KNN model produced peak results with a root-mean-square error value of 1.021.


    1. 1)
      • 1. Zanella, A., Bui, N., Castellani, A., et al: ‘Internet of things for smart cities’, IEEE Internet Things J., 2014, 1, pp. 2232.
    2. 2)
      • 2. Zhu, Q., Chen, Z., Soh, Y.: ‘Smartphone-based human activity recognition in buildings using locality-constrained linear coding’. IEEE 10th Conf. on Industrial Electronics and Applications (ICIEA), Auckland, New Zealand, June 2015, pp. 214219.
    3. 3)
      • 3. Biton, R., Katz, G., Shabtai, A.: ‘Sensor-based approach for predicting departure time of smartphone users’. 2nd ACM Int. Conf. on Mobile Software Engineering and Systems, Florence, Italy, May 2015, pp. 146147.
    4. 4)
      • 4. Manley, E., Deogun, J.: ‘Location learning for smart homes’. 21st Int. Conf. on Advanced Information Networking and Applications Workshops AINAW ‘07, Niagara Falls, Canada, May 2007, pp. 787792.
    5. 5)
      • 5. Chen, L., Nugent, C., Wang, H.: ‘A knowledge-driven approach to activity recognition in smart homes’, IEEE Trans. Knowl. Data Eng., 2012, 24, pp. 961974.
    6. 6)
      • 6. Fahad, L., Rajarajan, M.: ‘Anomalies detection in smart-home activities’. IEEE 14th Int. Conf. on Machine Learning and Applications (ICMLA), Miami, Florida, December 2015, pp. 419422.
    7. 7)
      • 7. Schweizer, D., Zehnder, M., Wache, H., et al: ‘Using consumer behaviour data to reduce energy consumption in smart homes: applying machine learning to save energy without lowering comfort of inhabitants’. IEEE 14th Int. Conf. on Machine Learning and Applications (ICMLA), Miami, Florida, December 2015, pp. 11231129.
    8. 8)
      • 8. Lu, J., Sookoor, T., Srinivasan, V., et al: ‘The smart thermostat: using occupancy sensors to save energy in homes’. Proc. of the 8th ACM Conf. on Embedded Networked Sensor Systems (SenSys ‘10), Zurich, Switzerland, November 2010, pp. 211224.
    9. 9)
      • 9. Candanedo, L., Feldheim, V.: ‘Accurate occupancy detection of an office room from light, temperature, humidity and CO2 measurements using statistical learning models’, Energy Build., 2016, 112, pp. 2839.
    10. 10)
      • 10. Spachos, P., Hatzinakos, D.: ‘Real-Time indoor carbon dioxide monitoring through cognitive wireless sensor networks’, IEEE Sens. J., 2016, 16, pp. 506514.
    11. 11)
      • 11. Gadyszewska-Fiedoruk, K.: ‘Correlations of air humidity and carbon dioxide concentration in the kindergarten’, Energy Build., 2013, 62, pp. 4550.
    12. 12)
      • 12. Imanishi, T., Tennekoon, R., Palensky, P., et al: ‘Enhanced building thermal model by using CO2 based occupancy data’. IECON 2015–41st Annual Conf. of the IEEE Industrial Electronics Society, Yokohama, Japan, November 2015, pp. 003116003121.
    13. 13)
      • 13. Oldewurtel, F., Sturzenegger, D., Morari, M.: ‘Importance of occupancy information for building climate control’, Appl. Energy, 2013, 101, pp. 521532.
    14. 14)
      • 14. Weekly, K., Bekiaris-Liberis, N., Jin, M., et al: ‘Modelling and estimation of the humans’ effect on the CO2 dynamics inside a conference room’, IEEE Trans. Control Syst. Technol., 2014, 23, pp. 17701781.
    15. 15)
      • 15. Ebadat, A., Bottegal, G., Varagnolo, D., et al: ‘Regularized deconvolution-based approaches for estimating room occupancies’, IEEE Trans. Autom. Sci. Eng., 2015, 12, pp. 11571168.
    16. 16)
      • 16. Jiang, C., Masood, M., Soh, Y., et al: ‘Indoor occupancy estimation from carbon dioxide concentration’, Energy Build., 2016, 131, pp. 132141.
    17. 17)
      • 17. Han, H., Jang, K., Han, C., et al: ‘Occupancy estimation based on CO2 concentration using dynamic neural network model’. Proc. of the 34th AIVC–3rd TightVent–2nd Cool Roofs’–1st venticool Conf., Athens, Greece, September 2013.
    18. 18)
      • 18. Alam, A.G., Rahman, H., Kim, J.K., et al: ‘Uncertainties in neural network model based on carbon dioxide concentration for occupancy estimation’, J. Mech. Sci. Technol., 2017, 31, pp. 25732580.
    19. 19)
      • 19. Zuraimi, M., Pantazaras, A., Chaturvedi, K., et al: ‘Predicting occupancy counts using physical and statistical CO2-based modelling methodologies’, Build. Environ., 2017, 123, pp. 517528.
    20. 20)
      • 20. ‘K30 CO2 Sensor Module’, Available at, accessed 26 September 2017.
    21. 21)
      • 21. ‘DHT22 Temperature-Humidity Sensor+Extras’, Available at, accessed 18 April 2017.
    22. 22)
      • 22. Nathanson, T.: ‘Indoor Air quality for office buildings’. Health Canada, Cat:H46-2/93-166E, 1993.
    23. 23)
      • 23. ‘Arduino Uno Rev3’, Available at, accessed 25 January 2018.
    24. 24)
      • 24. ‘Raspberry PI 3 Model B’, Available at, accessed 25 January 2018.
    25. 25)
      • 25. Beltran, A., Erickson, V., Cerpa, A.: ‘Thermosense: occupancy thermal based sensing for HVAC control’. Proc. of the 5th ACM Workshop on Embedded Systems For Energy-Efficient Buildings, Roma, Italy, November 2013, pp. 18.
    26. 26)
      • 26. Sangogboye, F., Kjaergaard, M.: ‘PROMT: predicting occupancy presence in multiple resolution with time-shift agnostic classification’, Comput. Sci. Res. Dev., 2017, 33, pp. 105115.

Related content

This is a required field
Please enter a valid email address