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
Passive Infrared Sensor-Based Occupancy Monitoring in Smart Buildings: A Review of Methodologies and Machine Learning Approaches
Malmö University, Faculty of Technology and Society (TS), Department of Computer Science and Media Technology (DVMT). Malmö University, Internet of Things and People (IOTAP).ORCID iD: 0009-0006-2237-3010
Malmö University, Internet of Things and People (IOTAP). Malmö University, Faculty of Technology and Society (TS), Department of Computer Science and Media Technology (DVMT).ORCID iD: 0000-0002-9471-8405
Malmö University, Faculty of Technology and Society (TS), Department of Computer Science and Media Technology (DVMT). Malmö University, Internet of Things and People (IOTAP).ORCID iD: 0000-0002-2763-8085
Malmö University, Faculty of Technology and Society (TS), Department of Computer Science and Media Technology (DVMT). Malmö University, Internet of Things and People (IOTAP).ORCID iD: 0000-0001-6925-0444
Show others and affiliations
2024 (English)In: Sensors, E-ISSN 1424-8220, Vol. 24, no 5, article id 1533Article in journal (Refereed) Published
Abstract [en]

Buildings are rapidly becoming more digitized, largely due to developments in the internet of things (IoT). This provides both opportunities and challenges. One of the central challenges in the process of digitizing buildings is the ability to monitor these buildings' status effectively. This monitoring is essential for services that rely on information about the presence and activities of individuals within different areas of these buildings. Occupancy information (including people counting, occupancy detection, location tracking, and activity detection) plays a vital role in the management of smart buildings. In this article, we primarily focus on the use of passive infrared (PIR) sensors for gathering occupancy information. PIR sensors are among the most widely used sensors for this purpose due to their consideration of privacy concerns, cost-effectiveness, and low processing complexity compared to other sensors. Despite numerous literature reviews in the field of occupancy information, there is currently no literature review dedicated to occupancy information derived specifically from PIR sensors. Therefore, this review analyzes articles that specifically explore the application of PIR sensors for obtaining occupancy information. It provides a comprehensive literature review of PIR sensor technology from 2015 to 2023, focusing on applications in people counting, activity detection, and localization (tracking and location). It consolidates findings from articles that have explored and enhanced the capabilities of PIR sensors in these interconnected domains. This review thoroughly examines the application of various techniques, machine learning algorithms, and configurations for PIR sensors in indoor building environments, emphasizing not only the data processing aspects but also their advantages, limitations, and efficacy in producing accurate occupancy information. These developments are crucial for improving building management systems in terms of energy efficiency, security, and user comfort, among other operational aspects. The article seeks to offer a thorough analysis of the present state and potential future advancements of PIR sensor technology in efficiently monitoring and understanding occupancy information by classifying and analyzing improvements in these domains.

Place, publisher, year, edition, pages
MDPI, 2024. Vol. 24, no 5, article id 1533
Keywords [en]
passive infrared sensors (PIR), smart buildings, IoT (internet of things), occupancy information, people counting, activity detection, machine learning
National Category
Electrical Engineering, Electronic Engineering, Information Engineering
Identifiers
URN: urn:nbn:se:mau:diva-66548DOI: 10.3390/s24051533ISI: 001183072000001PubMedID: 38475069Scopus ID: 2-s2.0-85187481668OAI: oai:DiVA.org:mau-66548DiVA, id: diva2:1847561
Available from: 2024-03-28 Created: 2024-03-28 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(2331 kB)428 downloads
File information
File name FULLTEXT01.pdfFile size 2331 kBChecksum SHA-512
2c5a7af8b8e588a4d2bafc940598b6240164fe1c9c04963195581e1488e661ba765435094dae6bda697465eb13e5d790306f61f5f255771b6f8da3f557e5a9c3
Type fulltextMimetype application/pdf

Other links

Publisher's full textPubMedScopus

Authority records

Shokrollahi, AzadPersson, Jan A.Malekian, RezaSarkheyli-Hägele, Arezoo

Search in DiVA

By author/editor
Shokrollahi, AzadPersson, Jan A.Malekian, RezaSarkheyli-Hägele, Arezoo
By organisation
Department of Computer Science and Media Technology (DVMT)Internet of Things and People (IOTAP)
In the same journal
Sensors
Electrical Engineering, Electronic Engineering, Information Engineering

Search outside of DiVA

GoogleGoogle Scholar
Total: 428 downloads
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
pubmed
urn-nbn

Altmetric score

doi
pubmed
urn-nbn
Total: 486 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