Malmö University Publications
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Non-invasive occupancy estimation and space utilization in smart buildings: Leveraging machine learning with PIR sensors and booking data
Malmö University, Faculty of Technology and Society (TS), Department of Computer Science and Media Technology (DVMT). Malmö University, Sustainable Digitalisation Research Centre (SDRC).ORCID iD: 0009-0006-2237-3010
Sony Network Communications, Lund, Sweden.
Malmö University, Faculty of Technology and Society (TS), Department of Computer Science and Media Technology (DVMT). Malmö University, Sustainable Digitalisation Research Centre (SDRC).ORCID iD: 0000-0002-2763-8085
Malmö University, Faculty of Technology and Society (TS), Department of Computer Science and Media Technology (DVMT). Malmö University, Sustainable Digitalisation Research Centre (SDRC).ORCID iD: 0000-0002-9471-8405
Show others and affiliations
2025 (English)In: Internet of Things: Engineering Cyber Physical Human Systems, E-ISSN 2542-6605, Vol. 34, article id 101777Article in journal (Refereed) Published
Abstract [en]

Occupancy estimation in smart buildings is essential for optimizing resource usage and enhancing operational efficiency. Existing estimation methods predominantly rely on cameras or advanced sensor fusion techniques, which, while accurate, are often expensive, invasive, and raise privacy concerns. Additionally, these approaches frequently require extra hardware, increasing installation complexity and operational costs. A significant gap in the literature lies in the limited use of existing smart building infrastructure, such as detection systems and booking data, for people counting. This study addresses these limitations by exclusively utilizing two binary PIR sensors (in-door and in-room) and booking data. Since PIR sensors and booking systems are already integrated into most smart building infrastructures, leveraging these existing resources helps reduce costs and simplifies implementation. The primary goal is to estimate the number of people between each in-door sensor trigger using machine learning models by incorporating people counting levels and time thresholds. Among the evaluated machine learning algorithms, the Extra Trees Classifier delivered strong performance, achieving 68.5% accuracy when the estimated occupancy differed from the actual count by at most one person, and 81.56% with a tolerance of two. These results are based on periods when the room was occupied. When both occupied and unoccupied periods were included, the accuracy was 96.10% for ±1 tolerance. Moreover, incorporating booking data enhanced people counting accuracy by 4%. The study also explores the method's ability to identify underutilization and overutilization by comparing estimated occupancy with booking records and seating capacity, thereby supporting enhanced space management in smart buildings.

Place, publisher, year, edition, pages
Elsevier , 2025. Vol. 34, article id 101777
Keywords [en]
Booking information, Machine learning, Occupancy estimation, People counting, PIR sensors, Smart buildings, Space utilization
National Category
Computer and Information Sciences
Identifiers
URN: urn:nbn:se:mau:diva-80013DOI: 10.1016/j.iot.2025.101777ISI: 001587516700001Scopus ID: 2-s2.0-105017464561OAI: oai:DiVA.org:mau-80013DiVA, id: diva2:2006298
Available from: 2025-10-14 Created: 2025-10-14 Last updated: 2025-10-15Bibliographically approved
In thesis
1. Occupancy information and people counting in smart buildings using noninvasive sensors and machine learning
Open this publication in new window or tab >>Occupancy information and people counting in smart buildings using noninvasive sensors and machine learning
2025 (English)Licentiate thesis, comprehensive summary (Other academic)
Abstract [en]

Occupancy information is a fundamental resource in smart building management, as it provides insight into how spaces are used and allows building systems to respond dynamically. It can capture different levels of detail, ranging from simple presence detection to more advanced forms such as activity recognition. Within this hierarchy, people counting represents a critical level of occupancy information, focusing on estimating the number of individuals in a given space. Accurate people counting enables a wide range of applications, including demand-driven Heating, Ventilation, and Air Conditioning (HVAC) control, optimization of space utilization, compliance with safety and security regulations, and the enhancement of occupant comfort and experience. 

Despite its importance, people counting with non-privacy-invasive sensors remains a challenging task.Vision-based and device-tracking approaches often achieve high accuracy but raise concerns over privacy, cost, and scalability, limiting their practical use. While non-privacy-invasive methods have been widely explored, they still lack low-cost and scalable solutions that leverage sensors already embedded in smart buildings. Binary PIR devices, for example, are common in building automation systems for presence detection, yet their potential for multi-person counting remains underexplored. No comprehensive review has mapped the role of binary and signal-based PIR sensors across different levels of occupancy information or examined their integration with machine learning in real-world settings. Previous studies have typically focused on controlled lab setups or dense multi-sensor deployments, which limit generalizability. In addition, contextual booking data has rarely been incorporated directly into occupancy estimation models. Finally, advanced temporal deep learning models such as Transformers, along with systematic analyses of historical window size and feature importance based on environmental data, are still underexplored, leaving open opportunities to optimize both modeling strategies and sensor deployment in real-world smart buildings.

 This thesis addresses these gaps through four studies. First, a systematic literature review synthesizes the role of binary and signal-based PIR sensors across different levels of occupancy information, identifying research gaps and motivating new approaches. Second, an event-based framework demonstrates that reliable occupancy estimates can be achieved using only two binary PIR sensors combined with machine learning. Third, a context-aware extension integrates PIR data with booking records, improving estimation accuracy and exposing patterns of underutilization, overbooking, and mismatches between planned and actual usage. Finally, a fixed-interval time-series framework evaluates advanced deep learning architectures, including RNNs, LSTMs, GRUs, CNN-LSTMs, and Transformers, showing how temporal context length and multimodal feature sets influence performance.

Taken together, these studies advance the state of the art by demonstrating that accurate, scalable, and privacy-preserving people counting does not require invasive or costly infrastructures. By leveraging PIR sensors already present in many buildings, enriched with contextual and environmental data and analyzed through modern machine learning techniques, smart buildings can achieve reliable occupancy estimation. Beyond technical performance, the findings highlight the broader operational value of occupancy information for efficient space management, energy savings, and improved occupant experience, while laying the foundation for next-generation intelligent building systems.

Place, publisher, year, edition, pages
Malmö University Press, 2025. p. 40
Series
Studies in Computer Science ; 38
Keywords
Occupancy estimation, People counting, PIR sensors, Machine learning, Deep learning, Time-series modeling, Data fusion, Smart buildings.
National Category
Computer Sciences
Identifiers
urn:nbn:se:mau:diva-80055 (URN)10.24834/isbn.9789178776788 (DOI)978-91-7877-677-1 (ISBN)978-91-7877-678-8 (ISBN)
Presentation
2025-10-24, C0315,, Niagara, Malmö University, 10:25 (English)
Opponent
Supervisors
Note

Paper IV in dissertation as manuscript and not included in the fulltext online

Available from: 2025-10-15 Created: 2025-10-15 Last updated: 2025-12-04Bibliographically approved

Open Access in DiVA

fulltext(4046 kB)79 downloads
File information
File name FULLTEXT01.pdfFile size 4046 kBChecksum SHA-512
8540e6fa867e2ebaf9351b5bd4508448f7ef6e42d1763d9ec5682cf42d06792f2cac17d82d6d89db8806309fd2da20516200078132a96bea18cf8cd2a32b3488
Type fulltextMimetype application/pdf

Other links

Publisher's full textScopus

Authority records

Shokrollahi, AzadMalekian, RezaPersson, Jan A.Sarkheyli-Hägele, Arezoo

Search in DiVA

By author/editor
Shokrollahi, AzadMalekian, RezaPersson, Jan A.Sarkheyli-Hägele, Arezoo
By organisation
Department of Computer Science and Media Technology (DVMT)Sustainable Digitalisation Research Centre (SDRC)
In the same journal
Internet of Things: Engineering Cyber Physical Human Systems
Computer and Information Sciences

Search outside of DiVA

GoogleGoogle Scholar
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

doi
urn-nbn

Altmetric score

doi
urn-nbn
Total: 1103 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf