The first constraint formalizes that C
(x,y)
= 1 in the
solely case of the existence of at least one detection
zone of a sensor s that covers the point (x, y), while the
second restricts the coordinates of the sensors within
the deployment area. To eliminate the operators ∃ and
∨ in (2), and transform the MILP into a standard form
that can be handled by solvers, the big-M method can
be used.
3 EXPERIMENTS
We have deployed an experimental PIR-based occu-
pancy detection system to monitor an office and quan-
tify the impact of the sensing-holes on the perfor-
mances of the system. The experiments were per-
formed using the EKMB PIR sensors from Panasonic.
The data acquisition mechanism was implemented on
an nRF51-based hardware platform manufactured by
Nordic Semiconductors featuring a low-power SoC
that embeds an ARM Cortex-M0 MCU, along with
a 2.4 GHz wireless transceiver.
The considered deployment area has a rectangular
shape of size 3.3 × 2.4 m
2
. Most of occupants activ-
ity is concentrated over the office desk that received
greater weights in the matrix Φ. The discretization
step l was fixed to 0.3 m resulting in a grid of 11 × 8
points.
We have tested three deployments scenarios. The
first one corresponds to the optimal solution of the
MPC problem when using one PIR. As shown in Fig.
2(a), this deployment covers nearly 63% of the desk’s
area. Optimal full coverage of this space is ensured
with 3 PIRs, which corresponds to our second deploy-
ment scenario depicted in Fig. 2(b). In the third sce-
nario, a single PIR was placed in a way to put the
largest holes at the desk area as shown in Fig. 2(c).
It shows the real impact of sensing-holes on the per-
formances of the detection system. It is worth noting
that existing solutions, by ignoring the presence of the
sensing-holes, consider such deployment as optimal
since the overall sensing range of a single PIR fully
covers the office area.
The deployed motes actively monitor the state of
the PIR and notify a central base station about any
detection event. The latter maintains a database for
logging the incoming sensory data along with ground
truth presence/absence intervals, which are provided
manually by occupants. The experiments were per-
formed over a period of three days. The obtained re-
sults are depicted in Fig. 3(a) that summarizes, for
the three deployment scenarios, the proportions of all
possible detection cases: true presence (TP), true ab-
sence (TA), false presence (FP), and false absence
(FA). We can clearly see that taking into considera-
tion the presence of sensing-holes helps in reducing
the FA, i.e., the system is able to capture more occu-
pant movements. However, these results represent the
distribution of the raw data collected from PIRs and
can not be used as a reliable indication of absence.
As the PIR signal fluctuates significantly when occu-
pants are moving, detection systems generally imple-
ment a filtering mechanism to smooth the collected
raw data. The filter is based on a timeout mechanism
that is launched when no motion is detected, which
delays the decision about absence detection to over-
come FA.
To evaluate the performance of the system in the
different deployment scenarios and under different
timeout values, we have measured two metrics, (i) the
comfort level, and (ii) the waste in energy usage. The
first metric quantifies the ability of the system to pre-
serve the convenience of users, that is, the ability not
to disturb the occupants by keeping office energy sup-
ply on when they are present in the target area (i.e.,
ability to overcome FA). The second one reflects the
proportion of time the system fails to effectively de-
tect (or react to) the absence of occupants, which im-
plies a missed opportunity to reduce the energy con-
sumption.
Formally, the comfort level C and the energy us-
age waste W are computed as follows:
C =
T
P
T
P
+ F
A
, W =
F
P
F
P
+ T
A
,
where T
P
(respectively F
P
) denotes the total du-
rations of TP (respectively FP), and T
A
(respectively
F
A
) denotes the total durations of TA (respectively
FA).
For every deployment scenario, the value of the
absence timeout has been varied, and C , W have been
measured for every case. Fig. 3(b) shows the varia-
tion of the observed usage waste for different levels
of comfort. We observe that the performances of the
hole-unaware deployment are remarkably lower than
our proposed solution, which means that the presence
of holes significantly affects the waste of energy us-
age, specially when requiring a high level of users’
comfort. In fact, to ensure a high level of comfort in
the presence of sensing-holes, absence decisions need
to be delayed for long periods (high timeout). This
is explained by the fact that these zones hamper the
proper capture of small movements, which increases
the time required to catch such rare events. The con-
sequence of high values of the timeout is that occu-
pants leaving the office are not timely detected (re-
ported), which causes energy waste.
We can also notice from Fig. 3(b) that the perfor-
mances of the optimal solution using only one PIR are
SENSORNETS 2016 - 5th International Conference on Sensor Networks
178