Next Article in Journal
Assessing Handrail-Use Behavior during Stair Ascent or Descent Using Ambient Sensing Technology
Next Article in Special Issue
Exploiting Cooperative Downlink NOMA in D2D Communications
Previous Article in Journal
System Identification Methodology of a Gas Turbine Based on Artificial Recurrent Neural Networks
Previous Article in Special Issue
Health to Eat: A Smart Plate with Food Recognition, Classification, and Weight Measurement for Type-2 Diabetic Mellitus Patients’ Nutrition Control
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Privacy-Preserving Desk Sensor for Monitoring Healthy Movement Breaks in Smart Office Environments with the Internet of Things

1
School of ICT, CoSE, University of Tasmania, Launceston, TAS 7248, Australia
2
Active Work Laboratory, CALE, University of Tasmania, Launceston, TAS 7248, Australia
3
School of Health Sciences, CoHM, University of Tasmania, Launceston, TAS 7248, Australia
*
Author to whom correspondence should be addressed.
Sensors 2023, 23(4), 2229; https://doi.org/10.3390/s23042229
Submission received: 23 December 2022 / Revised: 5 February 2023 / Accepted: 10 February 2023 / Published: 16 February 2023

Abstract

:
Smart workplace Internet of Things (IoT) solutions rely on several sensors deployed efficiently in the workplace environment to collect accurate data to meet system goals. A vital issue for these sensor-based IoT solutions is privacy. Ideally, the occupants must be monitored discreetly, and the strategies for maintaining privacy are dependent on the nature of the data required. This paper proposes a new sensor design approach for IoT solutions in the workplace that protects occupants’ privacy. We focus on a novel sensor that autonomously detects and captures human movements in the office to monitor a person’s sedentary behavior. The sensor guides an eHealth solution that uses continuous feedback about desk behaviors to prompt healthy movement breaks for seated workers. The proposed sensor and its privacy-preserving characteristics can enhance the eHealth solution system’s performance. Compared to self-reporting, intrusive, and other data collection techniques, this sensor can collect the information reliably and timely. We also present the data analysis specific to this new sensor that measures two physical distance parameters in real-time and uses their difference to determine human actions. This architecture aims to collect precise data at the sensor design level rather than to protect privacy during the data analysis phase.

1. Introduction

The Internet of things (IoT) is increasingly being deployed in smart building environments for various applications such as internal ventilation and human activity monitoring. A recent trend in this regard is the monitoring of the sedentary behavior of employees or people for health purposes [1]. The nature of workplace activities and health issues has changed over the last few decades due to advancements in computing and networking technologies. This has resulted in prolonged sitting for employees, which can lead to negative, long-term health impacts [2].
Workplace health intervention mechanisms are designed to improve the health of desk-based workers by increasing their total daily movement, decreasing their net sedentary time, and breaking up prolonged periods of sedentary time. This has become the focus of a significant amount of health prevention research in the 21st century [3]. There is a growing interest in tracking postures and movement in office environments [4,5,6,7,8]. Some of these have been implemented as full-fledged eHealth applications [9].
eHealth solutions can be developed to nudge employees to engage in healthy behavior through prompting reminders on desktops or personal mobile devices. For example, a digital eHealth solution developed in Tasmania, Australia, named ExertimeTM, works by prompting employees to take regular, short-duration, low-intensity movement breaks throughout the workday. These prompts allow employees to choose from a set of office-appropriate exercises and record their performance [10]. These eHealth solutions, when implemented in offices, can become an integral part of the intelligent environment and smart building solutions.
Workplace prompting software (e.g., ExertimeTM) may provide a suitable prevention strategy for desk-based employees to improve their physical health (e.g., decreased blood pressure [11]), and mental health [12]. Putatively, these health improvements are caused by the ExertimeTM prompts changing a person’s desk-based behavior, i.e., the amount and pattern of sedentary behavior and movement while in the workplace. However, no empirical evidence supports this hypothesis, as the employee’s movement and sedentary behavior were not measured objectively. Instead, self-reported measures of adherence to the program were used as a proxy for direct measurements of behavioral change [9,10,13,14,15,16,17]. Many (e.g., [18,19]) have criticized the inaccuracy and bias of self-reported data to recall sedentary behavior in the workplace. Thus, with no quantitative measure of workplace behavior, the cause of improvements in health associated with workplace prompting software (e.g., ExertimeTM) cannot be determined. The observed changes in health may be due to changes in movement patterns during the workday or other confounding factors related to the intervention.
Thus, in this paper, we propose and validate an inconspicuous, low-cost, desk-based sensor to quantitatively measure employees’ on-desk behavior and the initiation of movement breaks prompted by the software. Desk-based behavior is defined as the amount and pattern of time a person is (1) sitting or (2) standing at their desk, and (3) the time spent away from it. The development of these sensors will measure these three desk behaviors to enable “smarter” prompting from the IoT system to the employees. This will allow future, larger-scale studies to quantify the changes in desk-based behavior elicited by eHealth prompting software and relate program adherence and behavioral changes to the observed improvements in health.
The IoT has the ability to collect information from embedded devices in the environment and to process these data to achieve desired goals. Such internet and cloud-connected devices hold great promise for improved smart health care solutions [20]. Here, we propose a novel, specially designed IoT sensor that can be plugged into the user’s monitor and communicates with a server to determine, in real time, user changes in posture, e.g., sitting or standing events, and their presence at their desk. Several prior works have attempted to measure workplace movement [4,6,7,8,21,22,23,24,25,26,27]. These technologies are at different stages of development. However, all have issues that prevent their wide-scale adoption in an eHealth intervention:
  • Scalability issues in terms of cost and range;
  • Collective monitoring which lacks specific user details;
  • Use of an environmental factor that is not guaranteed in all workplace environments;
  • Prohibitive cost;
  • Does not meet the privacy standards of all workplaces.
The critical factor in designing the sensor is privacy, as the application aims to track human behavior in the workplace. Thus, the system cannot capture information that might have legal implications or is unethical. It is assumed that the employees accept the minimal tracking of their movement to ensure proper movement breaks to receive health benefits. However, it must be guaranteed to the employees that no other data, such as conversation or attendance, are also captured.
Privacy-preserving techniques have been widely used for machine learning and data analytics once the data are collected in various applications [28]. Such an approach often relies on the programmatic anonymization of data sets before they can be processed [29]. Other techniques involve data encryption to transmit and store data securely, such as in the case of social media data [30,31]. While this is acceptable and unavoidable in some high-risk applications, we aim to provide a design framework for a device with a data collection strategy that collects minimal data, resulting in smaller, application-specific data sets. This strategy is expected to be vital in making the low-risk application widespread, with a higher user confidence and uptake. Hence, this paper focuses on streamlined data collection at the sensor level that preserves privacy.
The contributions of this paper include a framework for designing privacy-preserving, sensor-based IoT solutions. Several key characteristics of implementing a privacy-preserving sensor can be generalized to multiple applications. The second contribution is the design of a specific, low-cost sensor for the purpose of detecting two specific human movements in the office: standing up and sitting down. This sensor is intended to be used for an eHealth application to identify the actions and prompt when necessary. A detailed discussion of integrating the sensor in a cloud-based platform is also provided.
The paper is organized as follows: Section 2 presents the related work regarding sensing strategies in office environments and time series analysis. Section 3 presents the new, privacy-preserving sensor design framework and the new sensor design and data analysis technique. Section 4 presents the implementation and results of a prototype sensor, followed by results in Section 5 and suggestions for future work (Section 6) and conclusions (Section 7).

2. Related Work

2.1. Human Exercise in an Office Environment

Uninterrupted, prolonged sitting during work hours adversely affects employees’ physical and mental health. While widespread, the adoption of standing desks has been shown to be ineffective in ameliorating this health hazard [32]. Our previous research has suggested that movement breaks away from the desk during the workday can improve physical [15] and mental health [12]. How these healthy movements in the field can be measured is less certain. Naturally, a camera faced at each seated employee could solve this measurement problem. However, the surveillance and privacy concerns of this technology being used during field-based research prevail [33]. Thus, many public health researchers have turned to self-reporting measures (e.g., questionnaires) of sedentary and movement behavior in the workplace. However, the validity and reliability of these tools are less than desirable. For example, although diaries and logs may be more reliant than questionnaires because of their reliance on shorter recall periods, a higher associated cost burden may result in lower uptake and compliance rates [34].
Thus, a better solution is warranted to measure desk occupancy and, more importantly, how often employees interrupt their seated posture with standing to engage in a movement break during the workday. A current meta-analysis [35] suggests that seated employees should stand to take a movement break at least once every two hours during the workday to avoid vascular malfunction.
The existing strategy of the eHealth system is to prompt the user with a reminder to move at specific points in time during office hours. There are specific settings for the gap between the timed prompts, and these are dependent on the user and are set in hours. The current system cannot identify the users’ urgency to complete their work or pay attention to the prompt. Also, the user has to self-report their movement, and the software does not have any way to confirm any activity—neither in response to the prompt nor during the gap before it.
The aim of the proposed system is to keep continuous track of the user’s movement and identify if they moved, i.e., stood up and sat down, even when they were not prompted. If the system can positively identify this action, it can confirm that the movement break has occurred within the time gap. If the system has detected movement but is not 100% certain of the action, it can ask the user to perform the action and monitor it upon prompt.

2.2. Sensing Strategies in Office Environments

An essential characteristic of the eHealth system is that the data collected can be sensitive and must be stored securely and encrypted during transmission [36]. Sensing in an office usually follows two approaches:
  • Use an individual sensor per person in the office. This way, the system can track the individual person in the system and measure their activities. This creates the risk of privacy invasion;
  • Use an environmental approach, in which sensors are placed in a global setting to observe all persons in the office. This approach can collect collective information, and it can be verified whether a certain degree of movement or other activities have happened in the office. It represents the actions of all people but cannot make any decision specific to one person.
A number of sensor modalities are or can be used in the workplace to assess worker movements:
  • Accelerometry
Traditionally, wearable sensors, such as those developed by companies such as PAL Technology and Fitbit, are becoming increasingly popular in the workplace to track and improve individual sedentary behavior. These sensors are typically worn on the wrist or around the waist and use advanced technology to monitor and measure various aspects of an individual’s physical activity, including the time spent seated, standing, and sitting–standing transitions. By providing objective measurements of an individual’s sedentary behavior, these sensors can help to encourage more active lifestyles and reduce the risk of health issues associated with prolonged periods of sitting such as obesity, hypertension, and diabetes. Overall, wearable sensors represent a powerful tool for measuring sedentary behavior and improving well-being in the workplace. However, a systematic review [37] on mobile health intervention solutions revealed several barriers to using wearable technology in field-based research. Two of these studies reported broken or lost devices [38,39], and another two studies indicated a lack of interest by the participants [40,41], as well as several fashion, technical, and usability concerns [41].
  • Camera
Using cameras in the workplace to monitor employee compliance with workplace health interventions is considered a gold standard measurement for researchers [33]. However, employees often express concerns about surveillance and privacy when participating in field-based studies [42,43,44,45]. There are ethical concerns as the camera can record more information than the proposed system.
  • Passive Infrared (PIR) sensors
PIR is commonly used in office environments to determine the presence of a person in the area within view of the sensor. These sensors detect changes in infrared radiation emitted by all objects. When an individual enters a room, their body heat will cause a difference in the infrared radiation, triggering the PIR sensor. This information can then be used for tracking employee presence without recording individual identity [46]. PIR sensors are highly accurate and efficient, making them a popular choice for the workplace [47]. However, a PIR sensor has limitations. It can only detect a person’s presence, and it returns binary data, which are not detailed enough to assess multiple people and movements.
  • Pressure sensor
Pressure sensors could also be attached to chairs to gather information about a person sitting and the number of occupants sitting on chairs with high accuracy usage data [48]. However, when pressure sensors are installed on chairs, there is a significant limitation as a standing employee cannot be detected. Moreover, seat pads are conspicuous during data collection, alerting participants to unwanted and wanted behaviors.
  • Sound sensor
Sound sensors, also known as microphones, detect and measure sound waves. Sound sensors have also been utilized in the field of human behavior recognition [49,50,51]. Acoustic data can be categorized into several behavioral patterns [49]. These may include encouraging regular breaks during meetings or conference calls or encouraging individuals to stand or walk around while using the microphone. However, similar to cameras, microphones can record more information than the minimum requirement causing surveillance concerns.
Researchers have used body-worn sensors and desk/chair-based sensors to measure sedentary behavior at work. However, they are not appropriate for future long-term studies of desk-based behavior due to their limited battery life, the need for participant interaction, and the reactivity of the participant to a conspicuous sensor. The most common body-worn sensor researchers use is the thigh-worn accelerometer, which is taped to the participants’ anterior thigh and is able to both measure the participant’s step count and differentiate between seated and standing postures (e.g., [52]). Seat-based sensors have also been used to quantitatively assess desk-based employees’ movement [48,53,54]. These authors utilized a large, conspicuous, instrumented seat pad to measure and record the temporal aspects of sedentary behavior in the workplace over a typical workday. The body-worn sensor battery life is limited to seven days of recording time, which is negligible compared to a future trial that may last up to a year in duration. Additionally, the body-worn sensor and the seat pad constantly reminded participants that their movements were being measured in the field. This could affect the unwanted (sitting) and wanted (standing for a movement break) behaviors, introducing an unwanted Hawthorne effect.
Thus, this work aims to develop and validate inconspicuous, non-wearable sensors to measure office-based behavior, thereby supporting future studies of desk-based behavior eHealth interventions such as ExertimeTM.

2.3. Time Series Classification

The device in the proposed system collects two sets of distance data in real time. This generates two time series. A time series is a set of points accumulated at equal intervals of time. The interval is determined by the sampling rate of the device. Often, time series iare collected in real time and must be processed in real time as well.
Time series analysis and classification involve identifying a sub-sequence of time series that closely matches a known pattern. Time series analysis is used extensively in speech analysis, in which the software tries to match the spoken word in audio to a known pattern of speaking the word.
Several solutions exist for performing this analysis and classification, such as dynamic time warping (DTW) [55,56], BOSS [57], and the time series forest method [58]. Regardless of the time series analysis method, the algorithm uses a cost function (e.g., alignment cost) to determine the similarity between the incoming data and a known pattern of data that reflects the behavior we wish to classify. If the alignment cost exceeds a threshold, then that behavior is recognized. The key challenge to these methods is that the algorithm needs to account for the behavior being performed faster or slower or with varying amplitude when compared to the known data pattern.
A critical decision in choosing a time series classification technique is whether the classification needs to happen in real time with incoming data or offline with prerecorded information. In the proposed application in this paper, we use the DTW method, which can support a high sampling rate of incoming information.

3. Methodology—The Proposed Architecture

This section describes the sensor, its privacy-related issues, and the data analysis strategies used. The method of integrating the sensors with a cloud-based eHealth IoT system is also addressed.

3.1. Privacy Preservation vs. Monitoring

Privacy is an essential issue in every human-related computing system. The level of privacy needed can be easily established if the environment is governed by individuals, such as in smart home systems. The default approach is to use a common sensor for multiple applications, e.g., cameras. However, in smart office systems, the environment does not belong to any single person, and it is virtually impossible to set a universal set of privacy parameters acceptable to everybody.
Any application that uses the IoT as a solution intends to monitor several variable aspects of human operation. The aim is always to identify specific events with respect to time. There is an acceptable threshold between preserving privacy and monitoring the variables of interest. For a system that needs continuous feedback on human actions, it is necessary to not capture information irrelevant to identifying those events.
The keys to implementing a privacy-preserving sensor are:
  • Identifying the exact minimum parameter of the target human actions. This can be accomplished with the specific sensor associated with the parameter. Using cheaper components increases the risk of noisy data. However, modern data analysis and machine learning techniques can mitigate this problem. A vital disadvantage of privacy-preserving sensors is their scalability across multiple applications. With the sensor being highly customized for the application to not capture unnecessary information, it becomes difficult to use the same device for various applications. In a fixed environment, it may be difficult to implement numerous devices per human user;
  • Keeping the device form factor small and low in cost. The devices should have sufficient computing power by themselves to collect the necessary information and put minimal workload on the user’s computer in the office.
In the context of a movement tracking sensor, it is important not to capture additional information aside from the targeted movements. This means the best outcome cannot involve capturing video, audio, or keyboard inputs. These always have additional information that cannot be recorded or processed in most office-based IoT applications.

3.2. Privacy-Preserving Sensing

The features that are typically measured in an office environment are human movements. Sensing for human-related information in an office environment is constrained and influenced by several factors. The following three parameters are vital to designing a privacy-preserving sensor:
i.
Precise Information: In most office environments, individual users must not be identifiable in the overall system using the sensor system. This is a critical requirement as most office workers will not consent for their information, such as video or audio recordings, to be collected and stored. This implies that the sensor system and the corresponding software solution must be privacy-preserving. In many instances, this rules out devices that are most common and can easily monitor the worker, e.g., cameras and microphones;
ii.
Traceable: For proper, automated prompting of an individualized eHealth solution, the software must keep track of individual people in the system for an extended period. Tracking in this context is simply knowing whether a particular person has moved or not. No other activities must be collected. Tracking also enables a direct feedback mechanism. In the proposed system, to prompt the employees in real time, the prompts must be generated according to the individual person’s actions and health behaviors;
iii.
Isolated event detection or managing crowded environments: In crowded environments, which offices typically have, multiple employees will be working within the same environment. In such a case, multiple employees may be close to each other and within the radius of the sensor. The sensor must be able to detect the target person only in this environment. This requirement rules out most PIR sensors as they have a static range that makes it impossible to identify an employee uniquely in order to enable individualized prompts.
Figure 1 shows the relation between the three features. Apart from these key features, a privacy-preserving sensor should have the features following as well:
iv.
Comfort: The devices deployed must not interfere with the work of the people in the office. A critical decision for researchers and developers is to use wearable or non-wearable sensing systems. Wearable sensors work by placing small devices on the employees during office hours. Using wearable sensors can cause distractions, and the data collected by them can be impacted due to improper fittings. The non-wearable sensors, which are privacy-preserving, typically have limitations on how much data they can collect in the office space;
v.
Security: The software solution may pose a cyber security risk if the sensor requires communication with the workers’ computers. Even if the software solution itself is trusted, it becomes an administrative challenge to selectively deploy permissions for the software solutions. This is an issue with tracking keyboards and mouse movement in some office environments;
vi.
Cost: The devices, which must be small and fit within the workspace seamlessly, must have a low cost-per-worker ratio;
vii.
Energy consumption: The devices should be powered easily and have a small power consumption even if they work in real time.
Table 1 presents a detailed comparison of various technologies used to monitor workplace behavior.
While many of the solutions presented here can maintain privacy, they do not collect enough information for traceability or isolated event detection, reducing the overall effectiveness of the devices for long-term health benefits. Our proposed device is in the form of a USB peripheral that can monitor the movements of one person sitting at their desk. The challenge in detecting these movements are:
  • Designating the difference between standing up and sitting at the desk;
  • There is a defined radius in which the system must look for the user as there may be another person in the same room;
  • It must work with modern office work styles. For example, due to an increase in online meetings, people may not use keyboards and mice for extended periods of time, and timeouts cannot be imposed on such input devices;
  • Real-time detection of movement that enables appropriate prompting by the eHealth solution on a timely basis. If the sit–stand action is confirmed within a time period, then there is no prompt or intervention.

3.3. The Sensor Device

The proposed sensing architecture comprises a software client and a physical hardware sensor installed at each individual desk in the office. The physical sensor consists of at least two distance sensors and one tilt sensor. The orientation of the sensors inside the physical device is permanently fixed, but the whole sensor device can be adjusted for each installation. The sensor is attached to the monitor bezel and can be positioned on the top or bottom of the monitor.

3.4. The Differential Distance Design

The proposed differential design architecture is based on continuously measuring two distances (db and da). The distance can be reliably measured with several cost-effective sensors that are readily available off the shelf. Sensor B is placed such that it points just over the edge of the desk into the person’s torso. This distance is db. Typically, due to ergonomics and table sizes, this distance is expected to be
80 cm < db < 100 cm
Sensor A is aligned on top of sensor B, pointing just over the sitting height of the person at the desk. While people are of different heights, there is less variation in height between people while they are seated. The device has an adjustable position of both the sensors in a vertical direction, which alters the angle θ to accommodate a range of a desk and person characteristics. Considering the required ergonomic settings in modern offices, the impact of the angle on the accuracy of detecting movement events would be minimal. However, when installing the device, users can be advised on proper installations regarding the best range of θ for a desk and user.
Figure 2 depicts the device setup. It is assumed that workers typically sit at their desks in the office. The proposed system then calculates the difference in the da and db in real time.
Figure 3 shows the default patterns of time series data obtained from the sensor in two different situations. These data were collected at 10 Hz and presented as filtered, with a moving average of a window size of four. The first position in Figure 3a is when the person is sitting at the desk. Due to natural human upper body movements when seated, there is noise in the data during these periods in db. The da, on the other hand, is at an infinite distance as it is directed above the seated person’s head. In this case, the sensor returns a maximum distance of 8190 mm.
Figure 3b shows the time series data collected from a seated person standing up and then sitting down. The person does not move away from the desk. There is a distinct pattern in db when the person stands up and then sits between 8 and 12 s and 24 and 27 s. The value for da drops to 250 mm as the person remains standing.
A tilt sensor ensures that the da keeps pointing above the head of the user. If, due to any shaking, the sensor’s orientation changes, the tilt sensor will detect that the configuration has altered. This is necessary as the da needs to point at a space that is above human height while seated and within human height when standing.

3.5. Data Analysis to Identify Events

The proposed device collects the relevant data. The data are then analyzed to capture the events. The entire system is composed of two components:
  • A device on the user’s desk with a local client software that collects the data;
  • The cloud server where the data is processed.
Any event notification is sent back to the client eHealth software for prompting. The server performs the time series analysis on the data. In the proposed system, we only aim to capture selected events (Table 2):
The data analysis happens in real time in the cloud. This occurs in a window of time equivalent to the time taken by an employee to sit down or stand up, δ. Typically, this is in a few hundred milliseconds for healthy, adult human beings. In the time period δ, the set of time series points that define a sit-down and stand-up event is signified by, yb, based on data from the Sensor B. The set of current, incoming set of distances for sensors A and B are represented by x a δ and x b δ , respectively. The sizes of x a δ and x b δ are limited by δ. This effectively measures the similarity between the expected pattern, yb, and the current distance value, x b δ ,   in the time window δ. If the similarity distance is less than a threshold α, then it is considered to be a match. The value of α depends on the actual environment of the employee—the height of the person, the distance between the monitor and the person, and the angles at which the sensors are pointing.
The x a δ   is monitored for values below or above β, which signify if the user has been detected by Sensor A. The value of the x a δ is normalized between 1 and 0, where 1 represents the maximum expected value of the distance between Sensor A and the person. Any value over this distance is ignored and considered to be a distance of 1 in the normalized form. This is to ensure that only the target user is observed and that no other person behind the target user is selected. The algorithm to determine the event in real time is as follows (Algorithm 1):
Algorithm 1 Cloud-based Data Analysis
Inputs: ya, yb, α, β, x a δ , x b δ
Output: Event code (0, 1, 2)
  • Normalize all the time series so that all time series y and xb have a value between 0 and 1, inclusive.
  • Normalize xa based on the maximum distance expected between the sensor and the user.
  • Calculate DTW alignment cost between yb, xb
  • event = 0
  • if cost(yb, ) < α and   x a δ ¯ < β, then
  •  event = 1
  • else if cost(yb, x b δ ) < α and x a δ ¯ > β, then
  •  event = 2
The client software aims to ensure that the user/employee has made a stand-up and sit-down transition at least once every few hours (T). This is a user-related setting set by the user as per their desires. It has bounded limits for health benefits. The client software receives this event code in real time. It stores the value of an event over a period of time. The client software works by using a timer to keep track of actions and prompts. If the cloud confirms that the stand-up and sit-down actions have taken place, then the client does not prompt the user and simply records the activity and resets the timer. If the timer reaches a value of T and no confirmation is received, this means that the user has been sitting for the entire duration. In this case, the user is prompted to take the action of standing up and sitting down. The device then observes this, records it, and resets the timer.

3.6. Integration with the eHealth System

Figure 4 shows the IoT-based, smart office eHealth system architecture. As described above, the office has multiple desk sensors. The sensors each have a unique ID number. While the sensor can be associated with a desk, it does not identify a person. Each sensor streams the two values for da and db to a a client software installed on the computer. The communication is through USB, which also powers the device. The client software is responsible for prompting the users to move and keeps track of their movements (e.g., sit–stand transitions). It also sends the streaming data to the cloud after cleansing the data with smoothing average techniques.
The eHealth system provides user management features. It stores the following information:
  • Number of times the user is expected to move in a day;
  • Working hours of the employee;
  • Specific values of T, δ and α for the user and desk.

4. Implementations and Results

4.1. The Implementation

The implementation is shown in Figure 5. We used multiple VL53L0X sensors. We used two sets of sensors for A and B. Both sets return the same information and are redundant; however, they were utilized to ensure that appropriate, error-free data are collected for analysis. The device is clamped to the monitor as described in Section 3. An Arduino Nano is used as the microcontroller, which is cabled to the PC as a USB device.
The client software is written in Java and uses Serial communication libraries to collect data from the microcontroller. The client software is connected to the cloud via WebSocket to stream data in real time. The client-side analysis software is written in Python using the required libraries for DTW. DTW is the time series similarity algorithm used for this implementation.
The prototype device (Figure 5) uses sensors less than 1 cm (about 0.39 in) in each dimension. With proper encasing, the device will be small and inconspicuous to the user.

4.2. Testing and Results

The device was tested with a person performing sit–stand transition movements in front of it. The exact movements were recorded manually to establish the ground truth. We tested the device with the following parameters (Table 3):
The first four parameters are static and relate to the person whose data was captured for analysis in this paper. The sampling rate was changed to observe any drop in the accuracy and timing of detection. The values of the final two parameters are the best values, which were found to work to capture the most accurate data for the given person.
In this section, we describe the process from the point of view of the sensor and the client software, which is responsible for generating the movement break prompts. We consider the data being collected in real time, uploaded to the server, and the event codes received in real time.
Figure 6 shows the result of the data analysis algorithm for the detection of events. The data from the two sensors are shown along with the cost(yb, x b δ ), calculated in real time. The calculated DTW cost function value is less than α when the movements occur. All cost values above α are ignored.
Furthermore, the cluster of bursts of the cost values can be tallied with the value of the corresponding x a δ . From the Algorithm 1’s lines 5 and 7, if within the lag, the client software detects x a δ to be low as well, and the stand-up is confirmed. This happens multiple times in Figure 6 before 150 s.
However, if the x a δ is high, then some movement was detected by Sensor B that is similar to standing up, but no change was observed by Sensor A. This means the whole action is not confirmed. This happens at time 370 s in the chart below. The detection of the action is less deterministic when there is a massive, quick change in the value of db and da.
Changing the sampling rate slightly alters the point of time at which the events are detected relative to the actual movement time. In fact, the algorithm detects the movement before the full movement occurs when measured at 10 Hz, most likely due to environmental noise. Figure 6b shows the detection of events with the same data set at 2.5 Hz. Most of the detection events occur at the same time. However, the temporal alignment of the detection with the drop in the value of da is much more accurate in when sampling at 2.5 Hz compared to sampling at 10 Hz. This is seen around the 50 s time in Figure 6. This denotes a difference in time of detection. Figure 7 shows the absolute average difference in time of detection for different frequencies.
Thus, even though data is collected and processed at high speed, the desktop eHealth client software needs to work with a slight lag (e.g., 1 min) in processing the appropriate cost values. There are multiple instances of the cost values in short bursts. These short bursts are mostly times aligned with a drop in the Sensor A value and changes in Sensor B. If the client software observes data from the last 1 min and clusters them, it can identify that stand-up and sit-down action has occurred in the previous minute.
The proposed sensor meets all the criteria of the privacy-preserving feature triad. It collects precise information as it defines movement as two measurable physical distances only. Each desk in the office can be equipped with a unique sensor that can trace the performance of the desk’s occupant employee/worker over time. By selecting a specific value for β, it can ensure that only the occupant of the desk is observed. Any person standing just behind the seated person will not be observed as they will have a higher distance of da than β. This ensures isolated event detection for the same person.

5. Results Discussion and System Characteristics

The proposed system has the following characteristics:
i.
There is a possibility of a time gap between the matching of Sensors A and B. This is due to the speed at which the user moves at different times of the day. This difference may be used to identify additional employee parameters, such as stress or fatigue;
ii.
This sensory array can detect the on-desk behaviors of sitting down and standing up during work with high accuracy of over 90%. The accuracy improves for longer time gaps (e.g., 5 s for the presented data set). Moreover, in the context of this application, if the device is unsure of the actions, it can ask the user to perform the action and monitor the action upon prompt;
iii.
The non-wearable sensor design does not have limitations with respect to power. The microcontroller in the device can connect to the computer as a peripheral device with a USB cable. The power consumption requirement is not high and can be achieved with 3.3 V distance sensors, consuming less than 10 mA with efficient manufacture;
iv.
This device is low-cost and has a suitable selection of raw components;
v.
This device can be also deployed per person in the office environment to provide individualized feedback. This allows for the personalized measurement of on-desk behaviors;
vi.
The software client takes less than 1% of the CPU as a background process, placing no extra load on the employees’ PCs. Although inefficient, it is possible to package all the analyses within the client software, if needed. In that case, running the client on a PC can consume more than 1% of the CPU (depending on the capacity of the PC) to analyze real-time data locally;
vii.
The proposed architecture has real-time streaming. If this streaming is disrupted, then the detection may have delays or be lost altogether. However, assuming the streaming always works, it requires an extremely low bandwidth of a few bytes per second.

6. Future Work

The proposed system, including the sensor and its use in eHealth, can be enhanced in many ways.

6.1. Future Sensor Integration in eHealth Applications

The non-wearable sensor device proposed in this paper can detect the on-desk behaviors of seated employees, providing a valuable tool for field-based researchers interested in measuring the health outcomes of workplace health interventions that target sedentary behavior. Addressing the limitations of wearable devices to measure desk behaviors, this non-wearable sensor array has no power or storage limitations, has a low cost, and does not require the employee to remember to wear the device. Moreover, wearable solutions present several barriers to researchers regarding employee recruitment and retention [62]. Appropriately placed, non-wearable sensors that measure desk behavior may allow health researchers to improve their sample recruitment numbers without sacrificing their analytical capabilities. We propose that non-wearable sensors are a better option to remain inconspicuous during field-based data collection, allowing health researchers to collect valid behavioral data during work hours.
Whilst the main aim of this device was to measure the on-desk behaviors of a seated employee, other parameters, such as fatigue and stress, may also be detected automatically and in real time. The privacy aspect of such detections and monitoring needs to be addressed separately.

6.2. Future Sensor Solution Developments

The proposed data analysis can detect the standing-up and sit-down actions of a seated employee. It can therefore be deployed ubiquitously in an office with multiple employees. Several factors determine the accuracy of the detection of the event, such as δ, α, β, time lag, and θ. The values for each of these are closely tied to the human and physical environment, e.g., desk height and sensor placement. The process for identifying these values can be improved.
In this paper, we proposed to identify only two actions. This is sufficient for the purposes of well-timed prompting to alter human sedentary behavior. However, it is also possible to identify more actions than just standing up and sitting down, including the engagement in common exercises within the office such as squats or running in place. A range of other aspects, such as fatigue and stress, may also be detected automatically and in real time. The privacy aspect of such detections and monitoring needs to be addressed separately.

7. Conclusions

This paper has proposed a new sensor design for tracking human movement and sedentary behavior in office environments. The system described herein aims to reliably detect the movement of a person seated at a desk. The movements include standing up from a seated position, potentially followed by a time when the person is away from the desk, returning to the desk, and retaking the seat. The assumption is that workers will have their desks, monitor, and computer within a typical office environment. Once the sensor and the client software on their PCs detect the movement, it records the event in the eHealth system. With the use of such a sensor, eHealth systems can more reliably capture human actions based on data captured via the non-wearable sensor. We have shown that this device can detect these actions with a proper time series analysis and may be improved to capture other actions as well. With its privacy-preserving features, it can be widely adopted in various environments.

Author Contributions

Conceptualization, A.M. and S.P.; methodology, A.M., M.S. and S.P.; software, A.M. and A.Y.; validation, A.M.; formal analysis, A.M.; investigation, A.M.; resources, A.M.; data curation, A.M.; writing—original draft preparation, A.M. and A.Y.; writing—review and editing, M.S. and S.P.; visualization, A.M.; supervision, A.M.; project administration, A.M. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Data sharing not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Li, C.; Chen, X.; Bi, X. Wearable activity trackers for promoting physical activity: A systematic meta-analytic review. Int. J. Med. Inform. 2021, 152, 104487. [Google Scholar] [CrossRef] [PubMed]
  2. Van Uffelen, J.G.Z.; Wong, J.; Chau, J.Y.; van der Ploeg, H.P.; Riphagen, I.; Gilson, N.D.; Burton, N.W.; Healy, G.N.; Thorp, A.A.; Clark, B.K.; et al. Occupational Sitting and Health Risks: A Systematic Review. Am. J. Prev. Med. 2010, 39, 379–388. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  3. Shrestha, N.; Kukkonen-Harjula, K.T.; Verbeek, J.H.; Ijaz, S.; Hermans, V.; Pedisic, Z. Workplace interventions for reducing sitting at work. Cochrane Database Syst. Rev. 2018. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  4. Feng, L.; Li, Z.; Liu, C. Are you sitting right? Sitting Posture Recognition Using RF Signals. In Proceedings of the 2019 IEEE Pacific Rim Conference on Communications, Computers and Signal Processing (PACRIM), Victoria, BC, Canada, 21–23 August 2019; pp. 1–6. [Google Scholar] [CrossRef]
  5. Ye, J.F. Design and implementation of sitting posture monitoring system. In Proceedings of the 2020 International Conference on Robots & Intelligent System (ICRIS), Sanya, China, 7–8 November 2020; pp. 261–263. [Google Scholar] [CrossRef]
  6. Sarudin, N.N.; Nordin, N.H.D.; Azmi, N.L. Development of a smart monitoring system for ergonomic sitting position. In Proceedings of the 8th International Conference on Mechatronics Engineering (ICOM 2022), Kuala Lumpur, Malaysia, 9–10 August 2022; Volume 2022, pp. 73–76. [Google Scholar] [CrossRef]
  7. Lim, R.; Sikkandhar, M. Pressure Sensor Substrate for Prolonged Sitting and Posture Monitoring. In Proceedings of the 2021 IEEE 23rd Electronics Packaging Technology Conference (EPTC), Singapore, 7–9 December 2021; pp. 284–287. [Google Scholar] [CrossRef]
  8. Feng, L.; Li, Z.; Liu, C.; Chen, X.; Yin, X.; Fang, D. SitR: Sitting Posture Recognition Using RF Signals. IEEE Internet Things J. 2020, 7, 11492–11504. [Google Scholar] [CrossRef]
  9. Pedersen, S.J.; Cooley, P.D.; Mainsbridge, C. An e-health intervention designed to increase workday energy expenditure by reducing prolonged occupational sitting habits. Work 2014, 49, 289–295. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  10. Mainsbridge, C.P.; Cooley, D.; Fraser, S.P.; Pedersen, S.J. A workplace intervention designed to interrupt prolonged occupational sitting: Self-reported perceptions of health from a cohort of desk-based employees over 26 weeks. Int. J. Workplace Health Manag. 2016, 9, 221–237. [Google Scholar] [CrossRef]
  11. Mainsbridge, C.; Ahuja, K.; Williams, A.; Bird, M.-L.; Cooley, D.; Pedersen, S.J. Blood Pressure Response to Interrupting Workplace Sitting Time With Non-Exercise Physical Activity: Results of a 12-Month Cohort Study. J. Occup. Environ. Med. 2018, 60, 769. [Google Scholar] [CrossRef]
  12. Mainsbridge, C.P.; Cooley, D.; Dawkins, S.; de Salas, K.; Tong, J.; Schmidt, M.W.; Pedersen, S.J. Taking a Stand for Office-Based Workers’ Mental Health: The Return of the Microbreak. Front. Public Health 2020, 8, 215. [Google Scholar] [CrossRef]
  13. Cooley, D.; Pedersen, S. A Pilot Study of Increasing Nonpurposeful Movement Breaks at Work as a Means of Reducing Prolonged Sitting. J. Environ. Public Health 2013, 2013, 128376. [Google Scholar] [CrossRef]
  14. Pedersen, S.J.; Cooley, P.D.; Mainsbridge, C.P.; Cruickshank, V.J. A longitudinal look at habit strength as a measure of success in decreasing prolonged occupational sitting: An evidence-based public health initiative. Open J. Saf. Sci. Technol. 2018, 8, 35–48. [Google Scholar] [CrossRef] [Green Version]
  15. Mainsbridge, C.P.; Cooley, P.D.; Fraser, S.P.; Pedersen, S.J. The effect of an e-health intervention designed to reduce prolonged occupational sitting on mean arterial pressure. J. Occup. Environ. Med. 2014, 56, 1189–1194. [Google Scholar] [CrossRef] [Green Version]
  16. Smith, L.; Pedersen, S.; Cooley, P. The effect of education on compliance to a workplace health and wellbeing intervention: Closing the loop. Univers. J. Public Health 2013, 1, 97–102. [Google Scholar] [CrossRef]
  17. Cooley, D.; Pedersen, S.; Mainsbridge, C. Assessment of the impact of a workplace intervention to reduce prolonged occupational sitting time. Qual. Health Res. 2014, 24, 90–101. [Google Scholar] [CrossRef] [PubMed]
  18. Chastin, S.F.M.; Dontje, M.L.; Skelton, D.A.; Čukić, I.; Shaw, R.J.; Gill, J.M.R.; Greig, C.A.; Gale, C.R.; Deary, I.J.; Der, G.; et al. Systematic comparative validation of self-report measures of sedentary time against an objective measure of postural sitting (activPAL). Int. J. Behav. Nutr. Phys. Act. 2018, 15, 21. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  19. Pedersen, S.J.; Kitic, C.M.; Bird, M.-L.; Mainsbridge, C.P.; Cooley, P.D. Is self-reporting workplace activity worthwhile? Validity and reliability of occupational sitting and physical activity questionnaire in desk-based workers. BMC Public Health 2016, 16, 836. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  20. Minopoulos, G.M.; Memos, V.A.; Stergiou, C.L.; Stergiou, K.D.; Plageras, A.P.; Koidou, M.P.; Psannis, K.E. Exploitation of Emerging Technologies and Advanced Networks for a Smart Healthcare System. Appl. Sci. 2022, 12, 5859. [Google Scholar] [CrossRef]
  21. Obasekore, H.; Ajani, O.S. Using Sedentary Activity Classification Model to Illustrate an Adaptable Freelance Workspace. In Proceedings of the 2019 7th International Japan-Africa Conference on Electronics, Communications, and Computations, (JAC-ECC), Alexandria, Egypt, 15–16 December 2019; pp. 72–75. [Google Scholar] [CrossRef]
  22. Wang, H.; Zhao, J.; Li, J.; Wang, K. The Sitting Posture Monitoring Method Based on Notch Sensor. In Proceedings of the 2019 IEEE International Conference on Industrial Internet (ICII), Orlando, FL, USA, 11–12 November 2019; pp. 301–302. [Google Scholar] [CrossRef]
  23. Cardillo, E.; Li, C.; Caddemi, A. Radar-Based Monitoring of the Worker Activities by Exploiting Range-Doppler and Micro-Doppler Signatures. In Proceedings of the 2021 IEEE International Workshop on Metrology for Industry 4.0 & IoT (MetroInd4.0&IoT), Rome, Italy, 7–9 June 2021; pp. 412–416. [Google Scholar] [CrossRef]
  24. Putri, R.E.; Andriani, W. Design of Sitting Time and Position Detection System Using Flex Sensor. In Proceedings of the 2021 International Conference on Computer Science and Engineering (IC2SE), Padang, Indonesia, 16 November 2021; pp. 1–6. [Google Scholar] [CrossRef]
  25. Cardillo, E.; Caddemi, A. Feasibility Study to Preserve the Health of an Industry 4.0 Worker: A Radar System for Monitoring the Sitting-Time. In Proceedings of the 2019 II Workshop on Metrology for Industry 4.0 and IoT (MetroInd4.0&IoT), Naples, Italy, 4–6 June 2019; pp. 254–258. [Google Scholar] [CrossRef]
  26. Zhu, Y.; Qiu, S.; Li, M.; Chen, G.; Hu, X.; Liu, C.; Qu, X. A Smart Portable Mat That Can Meausre Sitting Plantar Pressure Distribution with a High Resolution. In Proceedings of the 2019 IEEE 6th International Conference on Industrial Engineering and Applications (ICIEA), Tokyo, Japan, 12–15 April 2019; pp. 141–144. [Google Scholar]
  27. Griffith, H.; Hajiaghajani, F.; Biswas, S. Office activity classification using first-reflection ultrasonic echolocation. In Proceedings of the 2017 39th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC), Jeju, Korea, 11–15 July 2017; pp. 4451–4454. [Google Scholar] [CrossRef]
  28. Ram Mohan Rao, P.; Murali Krishna, S.; Siva Kumar, A.P. Privacy preservation techniques in big data analytics: A survey. J. Big Data 2018, 5, 33. [Google Scholar] [CrossRef] [Green Version]
  29. Murthy, S.; Bakar, A.A.; Rahim, F.A.; Ramli, R. A Comparative Study of Data Anonymization Techniques. In Proceedings of the 2019 IEEE 5th Intl Conference on Big Data Security on Cloud (BigDataSecurity), IEEE Intl Conference on High Performance and Smart Computing, (HPSC) and IEEE Intl Conference on Intelligent Data and Security (IDS), Washington, DC, USA, 27–29 May 2019; pp. 306–309. [Google Scholar] [CrossRef]
  30. Cheng, S. Research on data privacy protection technology of social network users based on differential disturbance. Ain Shams Eng. J. 2022, 13, 101745. [Google Scholar] [CrossRef]
  31. Munn, L.; Hristova, T.; Magee, L. Clouded data: Privacy and the promise of encryption. Big Data Soc. 2019, 6, 2053951719848781. [Google Scholar] [CrossRef]
  32. Ryan, C.G.; Dall, P.M.; Granat, M.H.; Grant, P.M. Sitting patterns at work: Objective measurement of adherence to current recommendations. Ergonomics 2011, 54, 531–538. [Google Scholar] [CrossRef] [Green Version]
  33. Teixeira, T.; Dublon, G.; Savvides, A. A survey of human-sensing: Methods for detecting presence, count, location, track, and identity. ACM Comput. Surv. 2010, 5, 59–69. [Google Scholar]
  34. Bakker, E.A.; Hartman, Y.A.W.; Hopman, M.T.E.; Hopkins, N.D.; Graves, L.E.F.; Dunstan, D.W.; Healy, G.N.; Eijsvogels, T.M.H.; Thijssen, D.H.J. Validity and reliability of subjective methods to assess sedentary behaviour in adults: A systematic review and meta-analysis. Int. J. Behav. Nutr. Phys. Act. 2020, 17, 75. [Google Scholar] [CrossRef] [PubMed]
  35. Taylor, F.C.; Pinto, A.J.; Maniar, N.; Dunstan, D.W.; Green, D.J. The Acute Effects of Prolonged Uninterrupted Sitting on Vascular Function: A Systematic Review and Meta-analysis. Med. Sci. Sport. Exerc. 2022, 54, 67–76. [Google Scholar] [CrossRef] [PubMed]
  36. Memos, V.A.; Psannis, K.E.; Goudos, S.K.; Kyriazakos, S. An Enhanced and Secure Cloud Infrastructure for e-Health Data Transmission. Wirel. Pers. Commun. 2021, 117, 109–127. [Google Scholar] [CrossRef]
  37. Buckingham, S.A.; Williams, A.J.; Morrissey, K.; Price, L.; Harrison, J. Mobile health interventions to promote physical activity and reduce sedentary behaviour in the workplace: A systematic review. Digit. Health 2019, 5, 2055207619839883. [Google Scholar] [CrossRef] [Green Version]
  38. Rowe-Roberts, D.; Cercos, R.; Mueller, F. Preliminary results from a study of the impact of digital activity trackers on health risk status. Stud. Health Technol. Inform. 2014, 204, 143–148. [Google Scholar]
  39. Yeung, J.; Mazloomdoost, D.; Crisp, C.C.; Kleeman, S.; Pauls, R.N. Impact of Electronic Feedback and Peer Comparisons on Residents’ Physical Activity Level. J. Grad. Med. Educ. 2017, 9, 527–530. [Google Scholar] [CrossRef] [Green Version]
  40. Schrager, J.D.; Shayne, P.; Wolf, S.; Das, S.; Patzer, R.E.; White, M.; Heron, S. Assessing the Influence of a Fitbit Physical Activity Monitor on the Exercise Practices of Emergency Medicine Residents: A Pilot Study. JMIR Mhealth Uhealth 2017, 5, e2. [Google Scholar] [CrossRef] [Green Version]
  41. Slootmaker, S.M.; Chinapaw, M.J.; Schuit, A.J.; Seidell, J.C.; Van Mechelen, W. Feasibility and effectiveness of online physical activity advice based on a personal activity monitor: Randomized controlled trial. J. Med. Internet Res. 2009, 11, e27. [Google Scholar] [CrossRef]
  42. Alemdar, H.; Ersoy, C. Wireless sensor networks for healthcare: A survey. Comput. Netw. 2010, 54, 2688–2710. [Google Scholar] [CrossRef]
  43. Zhou, Y.; Hua, Y.; Liu, J. Study workplace space occupancy: A review of measures and technologies. J. Facil. Manag. 2021, 20, 350–368. [Google Scholar] [CrossRef]
  44. Sommer, B.B.; Sommer, R. A Practical Guide to Behavioral Research: Tools and Techniques; Oxford University Press: Oxford, UK, 1997. [Google Scholar]
  45. Ball, K. Workplace surveillance: An overview. Labor Hist. 2010, 51, 87–106. [Google Scholar] [CrossRef]
  46. Dong, B.; Andrews, B.; Lam, K.P.; Höynck, M.; Zhang, R.; Chiou, Y.-S.; Benitez, D. An information technology enabled sustainability test-bed (ITEST) for occupancy detection through an environmental sensing network. Energy Build. 2010, 42, 1038–1046. [Google Scholar] [CrossRef]
  47. Dodier, R.H.; Henze, G.P.; Tiller, D.K.; Guo, X. Building occupancy detection through sensor belief networks. Energy Build. 2006, 38, 1033–1043. [Google Scholar] [CrossRef]
  48. Ryde, G.C.; Brown, H.E.; Gilson, N.D.; Brown, W.J. Are We Chained to Our Desks? Describing Desk-Based Sitting Using a Novel Measure of Occupational Sitting. J. Phys. Act. Health 2014, 11, 1318–1323. [Google Scholar] [CrossRef]
  49. Ding, I., Jr.; Liu, J.-T. Three-layered hierarchical scheme with a Kinect sensor microphone array for audio-based human behavior recognition. Comput. Electr. Eng. 2016, 49, 173–183. [Google Scholar] [CrossRef]
  50. Galván-Tejada, C.E.; García-Vázquez, J.P.; Galván-Tejada, J.I.; Delgado-Contreras, J.R.; Brena, R.F. Infrastructure-Less Indoor Localization Using the Microphone, Magnetometer and Light Sensor of a Smartphone. Sensors 2015, 15, 20355–20372. [Google Scholar] [CrossRef] [Green Version]
  51. Guo, X.; Hu, X.; Ye, X.; Hu, C.; Song, C.; Wu, H. Human Activity Recognition Based on Two-Dimensional Acoustic Arrays. In Proceedings of the 2018 IEEE International Ultrasonics Symposium (IUS), Kobe, Japan, 22–25 October 2018; pp. 1–4. [Google Scholar] [CrossRef]
  52. Chastin, S.F.M.; Granat, M.H. Methods for objective measure, quantification and analysis of sedentary behaviour and inactivity. Gait Posture 2010, 31, 82–86. [Google Scholar] [CrossRef]
  53. Ryde, G.C.; Gilson, N.D.; Suppini, A.; Brown, W.J. Validation of a Novel, Objective Measure of Occupational Sitting. Journal of Occup. Health 2012, 54, 383–386. [Google Scholar] [CrossRef] [Green Version]
  54. Ryde, G.C.; Brown, H.E.; Peeters, G.M.E.E.; Gilson, N.D.; Brown, W.J. Desk-Based Occupational Sitting Patterns: Weight-Related Health Outcomes. Am. J. Prev. Med. 2013, 45, 448–452. [Google Scholar] [CrossRef] [Green Version]
  55. Feng, L.; Zhao, X.; Liu, Y.; Yao, Y.; Jin, B. A similarity measure of Jumping Dynamic Time Warping. In Proceedings of the 2010 Seventh International Conference on Fuzzy Systems and Knowledge Discovery, Yantai, China, 10–12 August 2010; pp. 1677–1681. [Google Scholar]
  56. Vlist, R.v.d.; Taal, C.; Heusdens, R. Tracking Recurring Patterns in Time Series Using Dynamic Time Warping. In Proceedings of the 2019 27th European Signal Processing Conference (EUSIPCO), A Coruña, Spain, 2–6 September 2019; pp. 1–5. [Google Scholar]
  57. Schäfer, P. The BOSS is concerned with time series classification in the presence of noise. Data Min. Knowl. Discov. 2015, 29, 1505–1530. [Google Scholar] [CrossRef]
  58. Deng, H.; Runger, G.; Tuv, E.; Vladimir, M. A time series forest for classification and feature extraction. Inf. Sci. 2013, 239, 142–153. [Google Scholar] [CrossRef] [Green Version]
  59. Kelly, P.; Doherty, A.; Berry, E.; Hodges, S.; Batterham, A.M.; Foster, C. Can we use digital life-log images to investigate active and sedentary travel behaviour? Results from a pilot study. Int. J. Behav. Nutr. Phys. Act. 2011, 8, 44. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  60. Moghavvemi, M.; Lu Chin, S. Pyroelectric infrared sensor for intruder detection. In Proceedings of the 2004 IEEE Region 10 Conference TENCON 2004, Chiang Mai, Thailand, 24 November 2004; Volume 654, pp. 656–659. [Google Scholar] [CrossRef]
  61. Labeodan, T.; Zeiler, W.; Boxem, G.; Zhao, Y. Occupancy measurement in commercial office buildings for demand-driven control applications—A survey and detection system evaluation. Energy Build. 2015, 93, 303–314. [Google Scholar] [CrossRef] [Green Version]
  62. Maher, C.; Szeto, K.; Arnold, J. The use of accelerometer-based wearable activity monitors in clinical settings: Current practice, barriers, enablers, and future opportunities. BMC Health Serv. Res. 2021, 21, 1064. [Google Scholar] [CrossRef]
Figure 1. The privacy-preserving triad of features.
Figure 1. The privacy-preserving triad of features.
Sensors 23 02229 g001
Figure 2. The sensor design and installation are set up (a) when the person is seated and (b) when the person is standing.
Figure 2. The sensor design and installation are set up (a) when the person is seated and (b) when the person is standing.
Sensors 23 02229 g002
Figure 3. The typical raw time series data from da and db in real-time. The expected data pattern when sitting down and standing up is shown in (b). (a) Displays the data when the person is sitting continuously.
Figure 3. The typical raw time series data from da and db in real-time. The expected data pattern when sitting down and standing up is shown in (b). (a) Displays the data when the person is sitting continuously.
Sensors 23 02229 g003
Figure 4. The cloud-based eHealth architecture with multiple users.
Figure 4. The cloud-based eHealth architecture with multiple users.
Sensors 23 02229 g004
Figure 5. The prototype device deployed on a desk. The two arrows show the orientation of the sensor towards the position of the person.
Figure 5. The prototype device deployed on a desk. The two arrows show the orientation of the sensor towards the position of the person.
Sensors 23 02229 g005
Figure 6. The time series analysis to identify the sit-down and stand-up actions at (a) 10 Hz and (b) 2.5 Hz. For the cost(yb, x b δ ), only the values less than 0.2 are plotted; the values above 0.2 are ignored for easy visual understanding.
Figure 6. The time series analysis to identify the sit-down and stand-up actions at (a) 10 Hz and (b) 2.5 Hz. For the cost(yb, x b δ ), only the values less than 0.2 are plotted; the values above 0.2 are ignored for easy visual understanding.
Sensors 23 02229 g006
Figure 7. The average time difference for different frequencies of data collection.
Figure 7. The average time difference for different frequencies of data collection.
Sensors 23 02229 g007
Table 1. Comparison of Sensor technologies.
Table 1. Comparison of Sensor technologies.
Accelerometer [38,39,40]Camera [59]PIR [60]Pressure Sensor [61]Sound Sensor [49,50,51]
Precise InformationMedium:
Can identify individual identity.
Low:
Can identify individual identity and record content.
High:
Unobtrusive.
Medium:
Can identify individual identity.
Low:
Can identify individual identity and record content.
TraceableMedium:
Tracks movement information.
High:
Tracks presence, identity, location information.
Medium:
Tracks presence information.
Medium:
Tracks presence, identity information.
Medium:
Tracks presence, identity information.
Isolated Event DetectionHigh:
Data binding to individual identity.
High:
Accurately identifies individual data.
Low:
Cannot isolate individuals from the group.
High:
Data binding to individual identity.
Medium:
Depends on feature extraction.
SecurityHigh:
Local data process.
Low:
Cloud data process.
High:
Local data process.
High:
Local data process.
Low:
Cloud data process.
ComfortLow:
Must attach to body physically all the time.
High:
Non-intrusive, unobtrusive.
High:
Non-intrusive, unobtrusive.
Medium:
Attached to body, unobtrusive.
High:
Non-intrusive, unobtrusive.
CostMediumHighLowLowLow
EnergyMedium energy consumption.
Attaches to a small battery.
High energy consumption.
Attaches to a small battery.
Medium energy consumption.
Attaches to a stable power source.
Low energy consumption.
Attaches to a large battery.
Medium energy consumption.
Attaches to a stable power source.
Table 2. Event Codes.
Table 2. Event Codes.
Event CodeEvent
0Sitting position
1Standing up
2Unknown
Table 3. Test Parameters.
Table 3. Test Parameters.
ParameterValue
1Approximate sitting down and standing up time (δ)300 ms
2Height of the person (standing)183 cm
3Height of the person (sitting)120 cm
4Dataset size4500 points (450 s)
5Sampling rate10 Hz, 5 Hz, 3.3 Hz, and 2.5 Hz
6Rolling average window size4
7α DTW cost function threshold1.6
8β individual distance threshold0.2
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Maiti, A.; Ye, A.; Schmidt, M.; Pedersen, S. A Privacy-Preserving Desk Sensor for Monitoring Healthy Movement Breaks in Smart Office Environments with the Internet of Things. Sensors 2023, 23, 2229. https://doi.org/10.3390/s23042229

AMA Style

Maiti A, Ye A, Schmidt M, Pedersen S. A Privacy-Preserving Desk Sensor for Monitoring Healthy Movement Breaks in Smart Office Environments with the Internet of Things. Sensors. 2023; 23(4):2229. https://doi.org/10.3390/s23042229

Chicago/Turabian Style

Maiti, Ananda, Anjia Ye, Matthew Schmidt, and Scott Pedersen. 2023. "A Privacy-Preserving Desk Sensor for Monitoring Healthy Movement Breaks in Smart Office Environments with the Internet of Things" Sensors 23, no. 4: 2229. https://doi.org/10.3390/s23042229

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop