Professional Documents
Culture Documents
Abstract—Low-cost sensors and ubiquitous wireless enable a consumer to physically and wirelessly interact with
networking is enabling novel ways in which homeowners their furniture.
can interact with their smart homes. Many complementary Second, voice recognition technology has come a long way,
approaches like using voice commands, direct interaction
by using touch or weight, or by using body gestures are and Web-based services augmented with voice-recognition
emerging. This paper shows the design and implementation of devices are commercially available today from multiple ven-
a novel low-power, low-cost, hand-held wireless device called dors that typically allow a homeowner to control Wi-Fi-based
a SensePod. SensePods can be used by a consumer to interact control modules connected to various home appliances using
with a smart home using simple gestures like rubbing, taping or wireless networking. Recently, a voice-based control applica-
rolling the device on any home surface like a dining table. The
device is only 4.5 cm long, forms an ad-hoc wireless network tion using a mobile phone as the primary interface to the
using the ZigBee protocol, and can be easily interfaced to smart home has been designed [2]. However, one limitation
existing home management systems using a universal serial of the voice-based approach is that the required quality of
bus port. The gestures in each device can be programmed to audio input necessitates expensive audio filtering for larger
control various objects of a smart home like smart curtains, and complex spaces. In addition, the homeowner needs to be
for example. Hidden Markov models were used to train the
device to recognize various gestures. The device was tested with close enough to a voice-recognition device, to have multiple
a variety of gestures and has a recognition rate of over 99.7%, voice-recognition devices around the home, or use expen-
and a response time of less than two milliseconds. sive microphone arrays [3] to get full coverage of the home.
Index Terms—Ad-hoc wireless networks, hidden Markov Finally, some voice services today require the input device to
models, home automation, smart homes, user interfaces, ZigBee. be connected to the Internet.
A third way to interact with a smart home is by using
gestures. Systems using gestures can be divided into two
I. I NTRODUCTION categories; visual and sensor-based. For example, some com-
VAILABILITY of low-cost sensors and ubiquity of mercial gaming consoles provide camera-based hardware that
A wireless networking technologies is changing the land-
scape of how consumers interact with their smart homes. There
can track joint positions of a homeowner. Joint positions can
then be used to recognize hand or body gestures that can even-
are at least three ways in which consumers will interact with tually be used to control appliances or actuators in the smart
their smart homes in the near future; 1) tangibly interacting home. Cheap RGB-D cameras have also been used for detect-
with objects in the home through touch or by sitting on, for ing and tracking humans in smart homes [4]. Similarly, deep
example, 2) by communicating with objects within the home neural networks can be used to identify hand-gestures from
using voice commands, and 3) by using body gestures. a video [5]. However, a disadvantage of visual interfaces is
First, sensors are increasingly being embedded within that a person has to be in view of the camera system, and
the smart home and in objects within a home to enable this is impractical in general because such a visual system
tangible and physical interfaces. The use of embedded sen- will require a controller and camera in every primary space
sors allows for a tangible interaction where objects in a home of the home. Alternatively, sensor-based approaches to gesture
detect a consumer’s intent through movement, touch, force, recognition typically employ low-cost sensors like accelerom-
weight, etc. For example, “smart furniture” today utilizes eters, gyroscopes or magnetometers. These sensors can either
force sensors and accelerometers, wireless mesh networking be ambient, based in the environment, or on-body. The on-
(e.g., IEEE 802.14.15), and conductive materials [1] that body sensors are either wearable or embedded in a hand-held
device and can be used to detect gestures and activities of
Manuscript received January 31, 2018; accepted May 23, 2018. Date a homeowner [6]. One advantage of sensor-based approaches
of publication June 7, 2018; date of current version June 28, 2018.
This work was supported by the American University of Sharjah, UAE. to interacting with a smart home is that, unlike vision-based
(Corresponding author: Imran A. Zualkernan.) systems, the sensor-based approaches do not rely on lighting
W. M. Khan is with the Field Support Department, Aker Solutions, conditions etc., or the availability of cameras in a particular
Abu Dhabi 108931, UAE (e-mail: auswkhan@gmail.com).
I. A. Zualkernan is with the Department of Computer Science and location of the smart home.
Engineering, American University of Sharjah, Sharjah 26666, UAE (e-mail: The picture that emerges is that future smart homes will
izualkernan@aus.edu). support a multi-modal interaction involving a host of com-
Color versions of one or more of the figures in this paper are available
online at http://ieeexplore.ieee.org. plementary devices that may include tangible interaction with
Digital Object Identifier 10.1109/TCE.2018.2844729 the smart home through a physical connection with objects
1558-4127 c 2018 IEEE. Personal use is permitted, but republication/redistribution requires IEEE permission.
See http://www.ieee.org/publications_standards/publications/rights/index.html for more information.
146 IEEE TRANSACTIONS ON CONSUMER ELECTRONICS, VOL. 64, NO. 2, MAY 2018
in the home like smart furniture or other smart surfaces. II. BACKGROUND
Secondly, the homeowner may interact with their home using A. ZigBee for Smart Homes
voice commands using built-in voice-systems or through their
Using ZigBee-based remote controllers [9], [10] for a smart
smart phones. Thirdly, homeowners may interact with the
home, and ZigBee wireless network for home automation
home via gestures recognized through a variety of sensors like
was proposed many years ago [11]. Smart home energy man-
accelerometers or cameras.
agement systems based on the ZigBee protocol have also
While smart phones and smart network-enabled watches are
been implemented [12]. ZigBee has also been proposed for
good candidates for implementing gesture-based smart home
home-monitoring [13]. ZigBee is pervasive in commercial
controls, they can be augmented with specialized limited-
home automation systems today. Most such systems support
functionality, low-cost, low-power wireless devices that allow
smart hubs that deploy heterogeneous wireless communica-
a home owner to interact with their smart home using simple
tions including ZigBee, Wi-Fi, and ZWave, etc. ZigBee is
gestures. The primary motivation for using such specialized
typically used to communicate between switches or appli-
devices is convenience and low complexity. For example, if
ances, while Wi-Fi is used to connect to the Internet, or with
one wants to turn up water temperature in their bath tub, one
hand-held mobile phones and laptops. Many current home
could fetch their mobile phone or a smart watch (assuming
automation system support ZigBee-enabled movement, vibra-
it is waterproof), open the smart phone app, access the smart
tion, orientation, leak, and temperature sensors. For example,
tub controller, and raise water temperature using a button or
Byun et al. [14] describe a smart LED Lighting system
a slider, or by using a voice command. Alternatively, one could
that communicates over the ZigBee network. In addition,
simply pick up a small wireless device already located near the
ZigBee-controlled electrical outlets are also available. For
bathtub and tap the device against a wall a few times to raise
smart homes, ZigBee has also been integrated with other home
the temperature. The simple functionality of tapping, rubbing
management protocols like DALI [15].
or rolling the device against a surface also has an advantage
Since RSSI from ZigBee networks has been used to estimate
that younger children and older adults can use such devices
a person’s location in the home [16], a smart home manage-
with ease [7].
ment system can also determine the indoor location of the
This paper presents the design and implementation of such
ZigBee device based on signals from ZigBee enabled outlets
a hand-held small wireless device called a SensePod that
and light switches or other ZigBee-based devices. This capa-
allows a consumer to use simple gestures to interact with their
bility can be used by the smart home to also determine the
smart home. Unlike camera-based gesture systems, this device
context of use of a ZigBee device; if the device is being used
is held in one’s hand, and the user can control various appli-
from the bathroom, living room or the kitchen, for example.
ances and actuators in the smart home by using simple gestures
ZigBee has also been used extensively in specialized
like tapping and rolling this device on any surface. The simpli-
smart applications that cater to the elderly. For example,
fied functionality of the device should make it feasible even for
Clarke et al. [17] have implemented a remote monitoring
individuals who are not able to speak, or have visual impair-
system for frail and elderly based on the ZigBee health
ment; they only need to be able to hold, tap and roll this
care profile. ZigBee-based devices using tri-axial accelerom-
device on any surface of the home. The proposed device uses
eters have also been used to detect falls in the elderly [18].
the ZigBee wireless protocol that is often used in smart homes
Similarly, Chen et al. [19] present a reliable ZigBee-based
and is supported in many existing home management systems
monitoring system that not only detects falls, but also reports
and smart home devices and appliances [8].
the position of a person and their EGC signals. Binary sensors
While some hand-held commercial video game-controllers
on ZigBee network have also been used to detect early onset
and 3D television remote controls also support gesture recog-
of dementia by detecting forgetting behaviors [20]. Finally,
nition, these controllers use proprietary protocols, and are
Tung et al. [21] have implemented a ZigBee gateway to
specifically designed to work with either the game con-
remotely monitor patients.
sole or the television. The unique contribution of the design
In summary, ZigBee remains one of the prevalent protocols
of the SensePod is that it uses an open ad-hoc wireless
for smart homes and indoor spaces, and many applications
networking standard (i.e., ZigBee), and is low-cost, power
catering to the needs of homeowners have been implemented
efficient, extendible, and can support mesh-based scenarios
based on this protocol.
involving multiple controllers. The aforementioned gesture-
based commercially available controllers are limited to using
one-to-one connectivity using either Bluetooth or Wi-Fi. In B. Gesture Recognition
addition, unlike proprietary devices, due to open standards- A number of techniques have been used to build ges-
based design, SensePods can easily be integrated with existing ture classifiers based on 3D accelerometer data. For example,
smart home systems. Kela et al. [22] presented a gesture control device that wire-
The rest of the paper is organized as follows. A short sur- lessly interacts with a primary controller using TCP/IP, and
vey of background work is presented next. This is followed found that users primarily relied on simple 2-D gestures that
by an explanation of the basic concept behind the proposed mostly consisted of moving the device up or down in opposite
system, and a description of the hardware and software design directions at various angles. A program using Hidden Markov
of the proposed device. Evaluation of the proposed system is Machines (HMM) successfully classified these 2-D gestures.
presented next, followed by a conclusion. Wang and Li [23] used Dynamic Time Warping (DTW) to
KHAN AND ZUALKERNAN: SensePods: ZIGBEE-BASED TANGIBLE SMART HOME INTERFACE 147
A. Hardware
construct a mobile-phone based gesture-recognition system. The hardware for the SensePod was designed around
Similarly, Xie and Cao [24] used a pen-based device in con- three chips available in Quad-flat No Lead (QFN) pack-
junction with a Feed Forward Neural Network (FFNN) and aging; a ZigBee Network Controller (ZNC), a three-axis
Similarity Matching (SM) to identify gestures where the accelerometer, and a USB bridge. The ZNC incorporates a low
data was transmitted to the computer using a wired USB power 2.4 GHz radio frequency transceiver and an 8-bit micro-
interface. Most of the aforementioned techniques for ges- controller unit (MCU) into a single LGA package. The 8-bit
ture recognition had similar results in terms of accuracy and onboard MCU contains 60K of flash and 18KB of RAM and
precision. supports the 802.15.4 MAC and ZigBee network stacks. This
While DTW has been used extensively for gesture recog- MCU allows the communications stack and the application
nition, [25] has shown that with increasing size of the code to reside in the same memory. The RF transceiver is an
training data DTW tends to get worse while HMM’s 802.15.4 Standard compliant radio, includes a low noise ampli-
performance becomes better with more data. HMMs have fier, and supports full spread-spectrum encoding and decoding.
also been successfully used with very high dimensioned The nominal power for the RF transceiver is 1mW. The wire-
joint data from camera-based sensors [26]. Accelerometer- less transceiver uses a low-cost chip antenna. The transceiver
based devices carried in various pockets have successfully was tested to have an effective range of 50 meters. The
been used to classify activities like resting, walking, bicy- chip has an operating voltage range of 2V to 3.4V with on-
cling etc. [27]. A similar approach using accelerometer chip voltage regulators, and can tolerate a −40◦ C to +85◦ C
to detect activities in an assisted living context has been temperature range. The system also uses a low power, three-
proposed by [28]. axis analog MEMS accelerometer. This accelerometer has
a maximum resolution of ±6g. Finally, the USB Bridge is
a single-chip USB to UART switch with an integrated USB
III. P ROPOSED S YSTEM transceiver, integrated clock, 1024-Byte EEPROM and an
In order to help the consumers interact with smart homes, on-chip voltage regulator.
this paper proposes the use of a small wireless, hand-held tan- Each SensePod has two Micro-USB ports that can be uti-
gible cylindrical device called a SensePod. As Fig. 1 shows lized for programming and interfacing with additional external
these low-cost devices can be placed in various living spaces devices or a home management system. An additional, I/O
like the bedroom, the living room and even in the bathroom. In Port interface is used to provide four surface mount LEDs,
order to communicate with the smart home, the homeowner four pad switches, and a reset pad switch for each SensePod.
employs gestures like tapping and rolling the SensePod on The LED’s can be optionally programmed to provide addi-
any surface. For example, to raise the curtain, the homeowner tional information like low battery warnings, etc. Additional
can simply tap the curtain twice. Each SensePod can be pro- sensors like an ambient light sensor, for example, can also be
grammed to control a specific appliance or object or a group interfaced through the I/O Port to sense when the light is off
of objects within a space. For example, the same device can and send off a beeping LED signal to allow a homeowner to
be used to control multiple curtains in the living room. The locate the device. Similarly, temperature and gas sensors can
devices form an ad-hoc wireless ZigBee network and commu- be added via the I/O interface to detect unusual events like
nicate with the smart home controller through a coordinating the heat or air-conditioning breaking down, or to detect and
device connected to the home controller via a Universal Serial report a fire.
Bus (USB) interface. The coordinating device forwards an A two-layer PCB board design resulted in overall dimen-
appropriate code (e.g., “raise curtain 234”) for object/appliance sions of 45x20 mm for the main SensePod board. Fig. 2 shows
to the smart home system that takes an appropriate action a prototype SensePod being held in a typical hand. As the fig-
either through a wired (e.g., X10) or wireless interfaces (e.g., ure shows, the prototype is powered with 3 AAA rechargeable
Wi-Fi, ZWave, ZigBee etc.). SensePods can be easily inte- batteries that can be recharged using one of the two onboard
grated with any smart home system because only a USB USB ports.
148 IEEE TRANSACTIONS ON CONSUMER ELECTRONICS, VOL. 64, NO. 2, MAY 2018
Fig. 5. Filtered accelerometer data for one gesture. πi = P{qi = i}, 1 ≤ i ≤ N (3)
[26] I.-J. Ding and Y.-J. Chang, “HMM with improved feature extraction- [39] L. R. Rabiner, “A tutorial on hidden Markov models and selected appli-
based feature parameters for identity recognition of gesture command cations in speech recognition,” Proc. IEEE, vol. 77, no. 2, pp. 257–286,
operators by using a sensed Kinect-data stream,” Neurocomputing, Feb. 1989.
vol. 262, pp. 108–119, Nov. 2017. [40] V. Mantyla, Discrete Hidden Markov Models With Application to
[27] A. M. Khan, Y.-K. Lee, S. Lee, and T.-S. Kim, “Accelerometer’s position Isolated User-Dependent Hand Gesture Recognition, VTT Publications
independent physical activity recognition system for long-term activity 449, Tech. Res. Center Finland, Espoo, Finland, 2001.
monitoring in the elderly,” Med. Biol. Eng. Comput., vol. 48, no. 12, [41] Q.-S. Xu and Y.-Z. Liang, “Monte–Carlo cross validation,”
pp. 1271–1279, Dec. 2010. Chemometrics Intell. Lab. Syst., vol. 56, no. 1, pp. 1–11, Apr. 2001.
[28] X. Fan et al., “Activity recognition as a service for smart home: Ambient
assisted living application via sensing home,” in Proc. IEEE Int. Conf.
AI Mobile Services (AIMS), 2017, pp. 54–61.
[29] G. Krassnig, D. Tantinger, C. Hofmann, T. Wittenberg, and M. Struck,
“User-friendly system for recognition of activities with an accelerom- Waqqas M. Khan received the B.S. degree
eter,” in Proc. 4th Int. Conf. Pervasive Comput. Technol. Healthcare in mechatronics from Air University, Islamabad,
(Pervasive Health), Munich, Germany, 2010, pp. 1–8. Pakistan, in 2007, and the M.S. degree in mecha-
[30] S. Orlandi and L. Bocchi, “Discrimination of fatigue in walk- tronics from the American University of Sharjah,
ing patterns,” in Proc. IFMBE, vol. 25. Munich, Germany, 2009, Sharjah, UAE, in 2015.
pp. 1275–1278. He was a Hardware Design Engineer with
[31] H. A. Rubaiyeat, T.-S. Kim, and M. K. Hasan, “Real-time recognition of Knowledge Platform Inc., Singapore, from 2008 to
daily human activities using a single tri-axial accelerometer,” in Proc. 5th 2010. From 2010 to 2012, he was a Research
Int. Conf. Embedded Multimedia Comput. (EMC), 2010, pp. 1–5. Assistant with the American University of Sharjah.
[32] L. Sun, D. Zhang, B. Li, B. Guo, and S. Li, Activity Recognition He joined Aker Solutions, UAE, as a Field Engineer,
on an Accelerometer Embedded Mobile Phone With Varying Positions in 2012. His research interests are in sensing, instru-
and Orientations [LNCS 6406 (Including Subseries Lecture Notes in mentation, and modeling and simulation of non-linear control systems.
Artificial Intelligence and Lecture Notes in Bioinformatics)]. Heidelberg,
Germany: Springer, 2010, pp. 548–562.
[33] J. Yang, “Toward Physical Activity Diary: Motion Recognition Using
Simple Acceleration Features with Mobile Phones,” in Proc. 1st Int.
Workshop Interact. Multimedia Consum. Electron., Beijing, China, 2009, Imran A. Zualkernan (M’03) received the B.S.
pp. 1–10. (High Distinction) and Ph.D. degrees in com-
[34] T. Schlömer, B. Poppinga, N. Henze, and S. Boll, “Gesture recogni- puter science from the University of Minnesota,
tion with a Wii controller,” in Proc. 2nd Int. Conf. Tangible Embedded Minneapolis, MN, USA, in 1983 and 1991, respec-
Interact. (TEI), Bonn, Germany, 2008, pp. 11–14. tively.
[35] J. Liu, L. Zhong, J. Wickramasuriya, and V. Vasudevan, “uWave: From 1984 to 1990, he was a Research Assistant
Accelerometer-based personalized gesture recognition and its applica- with the Knowledge Systems Laboratory, University
tions,” Pervasive Mobile Comput., vol. 5, no. 6, pp. 657–675, 2009. of Minnesota. He was an Assistant Professor
[36] K. Altun and B. Barshan, Human Activity Recognition Using with the Computer and Electrical Engineering
Inertial/Magnetic Sensor Units [LNCS 6219 (Including Subseries Department, Pennsylvania State University, College
Lecture Notes in Artificial Intelligence and Lecture Notes in Park, from 1992 to 1995. He was a Principal Design
Bioinformatics)], Heidelberg, Germany: Springer, 2010,pp. 38–51. Engineer with AMCS Inc., Chanhassen, MN, USA, from 1995 to 1998.
[37] X. Zhang et al., “Hand gesture recognition and virtual game control He was the Chief Executive Officer with Askari Information Systems from
based on 3D accelerometer and EMG sensors,” in Proc. Int. Conf. Intell. 1998 to 2000, and the Chief Technology Officer for Knowledge Platform, Inc.,
User Interfaces (IUI), 2009, pp. 401–405. Singapore, from 2000 to 2003. In 2003, he joined the American University of
[38] J. Mäntyjärvi, J. Kela, P. Korpipää, and S. Kallio, “Enabling fast and Sharjah, UAE, where he is currently an Associate Professor of computer sci-
effortless customisation in accelerometer based gesture interaction,” in ence and engineering. He has authored over 170 articles. His research interests
Proc. 3rd Int. Conf. Mobile Ubiquitous Multimedia, College Park, MD, include consumer systems, sensor-based Internet applications, Internet of
USA, 2004, pp. 25–31. Things (IoT), and application of big data to IoT.