Académique Documents
Professionnel Documents
Culture Documents
2, FEBRUARY 2015
Abstract— This paper presents the development of a compact infrared sensor (NDIR) for CO2 measurements, having the
battery-powered system that monitors the carbon dioxide level, lowest power consumption on the market. The temperature
temperature, relative humidity, absolute pressure, and intensity of and relative humidity sensor has a power consumption that is
light in indoor spaces, and that sends the measurement data using
the existent wireless infrastructure based on the IEEE 802.11 b/g comparable to the one of the gas sensor (1 mA), while the
standards. The resulted device’s characteristics and performance other attached sensors, measuring pressure and light intensity,
are comparable with the ones provided by recognized solutions, are less power hungry than these, consuming 5 µA and
such as ZigBee-based sensor nodes. By combining Wi-Fi con- 0.24 mA, respectively. Moreover, a Wi-Fi module with an
nectivity with ambient sensors, this solution can be used for the advanced API software, named WiFly, which allows efficient
remote gathering and further processing of measurement data.
Testing revealed that the system can operate continuously for up power management, was chosen for data transmission. These,
to three years on a single 3 V small battery. combined with suitable power saving strategies, and depending
on preset measurement rates, lead to the achievement of a
Index Terms— Sensor systems, wireless sensor networks, recon-
figurable architectures, Internet. battery life between one month and several years. Although the
acquired ambient data can be displayed locally on the attached
LCD, for testing the most probable usage scenario, they were
I. I NTRODUCTION visualised using a commercial solution, provided by Xively,
offers enough memory for implementing the application. The a small PCB, encased in a plastic box: a capacitive humidity
program occupies 62% of flash memory and 3.5% of SRAM. sensor, a 10 kohms thermistor as the temperature transducer
and a small package microcontroller, STM8S103F3, used for
D. Wireless Module signal processing. This sensor’s accuracy is acceptable in many
applications with values of ±2 % (with a maximum of ±5 %)
A standalone embedded wireless 802.11 b/g networking
for humidity and of ±0.5 °C for temperature. The power
module, the RN-131C/G Wireless LAN Module from Roving
consumption value is 1 mA in active mode and 40 µA in
Networks, was chosen for sending measurement data through
sleep mode. This high value during sleep mode is one of the
UDP to a specific IP address [9]. The transmission mechanism
reasons for implementing a separate power supply for sensors,
along with the message format will be presented in Section III.
which can be switched off by the central processing unit. The
The sensor’s Wi-Fi communication capability makes use of
temperature and humidity ranges are given by the CO2 sensor’s
the existent wireless infrastructure and provides high transfer
specifications, its operation conditions allowing temperatures
rates even when encryption is employed (WPA2), but it also
between 0°C and 50°C and relative humidities between 0%
limits the battery lifetime because of the increased power
and 95% (non-condensing).
consumption. This effect was countered by the use of several
mechanisms for reducing the power consumption of the entire
system. F. Absolute Pressure and Light Sensors
An absolute pressure sensor, MPL115A2, with an I2 C
E. CO2 , Temperature and Humidity Sensors interface, was chosen for measuring the atmospheric pressure
The ultra low power CozirTM CO2 Ambient Sensor, spe- and for compensating the CO2 deviation, if required. The
cially developed for battery powered applications, was selected initial accuracy is of ±1 kPa, which translates to an error
for measuring the carbon dioxide level in the air. It can of approximately 100 m in altitude. The absolute pressure
measure CO2 concentrations between 0 and 2000 ppm. Its range of this sensor is between 50 kPa and 115 kPa. The
average power consumption is less than 3.5 mW, but the power power consumption is 5 µA in active mode and only 1 µA in
supply of the measurement system must generate a peak of shutdown mode.
33 mA for a short period of time. The noise is higher than The light sensor, TSL2561, which also communicates
±50 ppm, but by activating the digital filter, so that an average through an I2 C interface, was chosen for determining the light
between 2 . . . 32 instant measurements is computed, its value intensity. In this case, the power consumption is 0.24 mA in
can be attenuated. There is also a drawback to this action, active mode and 3.2 µA in power down mode. The need for
the filter value affecting the warm-up period of the sensor, polling the sensor can be removed by programming it with
3 to 32 seconds being necessary for allowing the response an interrupt function. The sensor outputs a digital value from
to reach a final value. This period has an impact over the which illuminance, or the ambient light level, in lux is derived
overall power consumption profile and the user must carefully using an empirical formula to approximate the human eye
choose an appropriate filter value. The atmospheric pressure response.
is one of the factors affecting CO2 monitoring and altitude
compensation is required. It can be set manually in the system G. Sensors Power Supply and Reverse Battery Protection
configuration step or it can be computed depending on the The power consumption in sleep mode for all the sensors
information given by the absolute pressure sensor. does not allow a long battery utilization period. This is why
Another important issue that has to be addressed is the a separate power supply was developed and included in the
auto-calibration routine because carbon-dioxide sensors are design. The chip used offers an output disconnected from the
widely used as part of demand-control ventilation (DCV) input, high efficiency while using small amounts of power, a
systems. Therefore, the performance of the CO2 sensors can range up to 140 mA at +3.3 V, from an 1.8 V input, and
significantly affect energy use as well as indoor air quality in a current consumption in shutdown mode, which is lower
these cases. Overestimation of the CO2 concentration leads to than 1 µA. All these characteristics maximize the lifetime
increased outdoor air usage and increased energy costs, while of the battery in mobile applications. A CR123A 3 V lithium
underestimation may lead to poor IAQ and SBS [10]. Fresh air battery represents the main power supply. A reverse protection
calibration is implemented by the core microcontroller, since is implemented for accomplishing safe operation even when
the CO2 sensor is powered down after each reading. This is changing the battery. This type of battery has a capacity of
performed at intervals specified by the user in the measurement 1500 mAh and is only slightly influenced by temperature
system configuration phase, and can also be disabled if desired. variations and by loads [11].
The operating environment in which the system operates is
of great importance also, because testing revealed that the
carbon dioxide sensing component is very sensitive to the H. PCB
dew point, where the digital output can decrease down to The device’s PCB (Fig. 3) is double sided, all components
zero. being populated on the top layer; the bottom layer is used
The temperature and relative humidity values are acquired only for traces and for the ground plane. The components
by a very low cost digital temperature and humidity sensor, that make up the user interface and that can be accessed
the DHT22. It consists of several electronic components on by the users, namely the LCD, the buttons and the LED,
FOLEA AND MOIS: LOW-POWER WIRELESS SENSOR FOR ONLINE AMBIENT MONITORING 745
A. Usage Scenarios
Every ambiental sensor is associated to an AP and can
measure the received signal strength indicator (RSSI) for
determining if the network is proper for communication with
Fig. 4. Software application flow diagram. low energy costs. It is possible that from time to time the
sensor scans the network, trying to determine whether an AP
is closer than the one to which it is associated. If the result
are accessible from outside. Special attention was paid to is favourable, the sensor will associate to a closer AP in case
creating a PCB as compact as possible, ensuring that all of it has the required security data stored in the EEPROM. This
the sensors are exposed correctly and that ease of access for scenario also applies when the sensor tries to associate to an
connecting programming and configuration cables is provided. AP for a predetermined number of times and fails, leading to
the conclusion that the access point is no longer active
One of the most common applications employing wireless
III. S OFTWARE A RCHITECTURE
sensors is represented by wireless sensor networks (WSNs).
The block diagram of the main routines that make up the These consist of a large number of sensor nodes, commu-
wireless sensor firmware is presented in Figure 4. nicating in a wireless fashion among each other or to an
Its main component is represented by the main loop, where external base-station [12]. The first field where they had
all the sensors are powered up and read, and data messages been used and where the potential is huge is represented by
are sent using UDP. When it is first used, the wireless environmental monitoring, this being the primary purpose of
sensor needs to be configured. This action is initiated by deploying sensor networks [12]. Other domains include, but
powering up or resetting the device with the button on the are not limited to military, health, home and other commercial
746 IEEE SENSORS JOURNAL, VOL. 15, NO. 2, FEBRUARY 2015
server and are sent to the Xively web-site. For being correctly
interpreted by the web-site, the data have to be bundled
into an EEML (Extended Environments Markup Language)
script. The advantage of using an application running on a
PC consists in the ability to read data from multiple devices
and to send a reduced number of packets to the Internet
without performing a large number of accesses. For a low cost
solution, the server and the application that runs on the server
can be omitted, including the enclosing of the data in an proper
Fig. 6. Data visualization using web application.
format into the sensor. This scenario has a major disadvantage,
the use of the TCP/IP protocol, which leads to an increase in
the overall power consumption. An advantage of the solution
applications [13], [14]. By satisfying the requirements for presented in Figure 7 is the fact that data preprocessing takes
use in WSNs, namely low cost, low power consumption, place in the application, the firmware being simplified, and the
multifunctionality, small dimensions and wireless communica- connections with the Internet being reduced.
tion capabilities, the sensor presented in this paper represents
a wireless sensor node (Fig. 5).
Recently, a new generation of digital systems, called cyber- B. Data Transmission
physical systems (CPSs) [15], emerged. These use a wide The Wi-Fi standard was chosen for communication because
range of sensors for collecting information about the physical the number of sensors used in the scenario of indoor envi-
world and exploit the information collected by WSNs to bridge ronmental monitoring is not large and there is no need for
real and cyber spaces [16]. Furthermore, the vision of Internet complex routing protocols. The access point, or the router,
of Things calls for connectivity not only to consumer electron- covers, in this case, the entire area of the house and the
ics and home appliances, but also to small battery powered wireless sensor nodes can associate and send messages directly
devices which cannot be recharged [17]. The device presented to it. Furthermore, environmental sensors do not have critical
in this paper can operate as an active component in CPSs or real time constraints which can be met only by protocols
in the IoT. In this direction and for validating the proposed such as ISA100 or WirelessHART. The major advantage of
solution, an application running on a personal computer was using Wi-Fi technology consists in the use of the existing
developed. This gets data from the device and sends them to infrastructure, which can be found in almost every home,
a web application server for public display (Fig. 6). where Internet connectivity or digital television is present.
The site presenting the measured data is www.xively.com, The major disadvantage lies in the increased power con-
a “Public Cloud for the Internet of Things,” which displays sumption, which directly influences the node lifetime. How-
data from sensors connected to the Internet from around the ever, as the next section will show, this drawback can be
world [3]. The software for displaying the data is unchained, overcome.
residing on the Internet. The data from the sensors are The protocol chosen for data transmission is UDP, instead
processed by a LabVIEWTM application running on a PC or a of TCP/IP, offering lower package sizes, increased speeds, low
FOLEA AND MOIS: LOW-POWER WIRELESS SENSOR FOR ONLINE AMBIENT MONITORING 747
TABLE I
M ESSAGE C OMPONENTS
[4] H. Yang, Y. Qin, G. Feng, and H. Ci, “Online monitoring of geological [18] C.-S. Lee, D.-H. Kim, and J.-D. Kim, “An energy efficient active RFID
CO2 storage and leakage based on wireless sensor networks,” IEEE protocol to avoid overhearing problem,” IEEE Sensors J., vol. 14, no. 1,
Sensors J., vol. 13, no. 2, pp. 556–562, Feb. 2013. pp. 15–24, Jan. 2014.
[5] PointSix. WiFi 2000 ppm CO2 and Temperature Transmitter [19] A. Pandharipande and S. Li, “Light-harvesting wireless sensors
3008-40-V6. Point Six Wireless, Data Sheet. [Online]. Available: for indoor lighting control,” IEEE Sensors J., vol. 13, no. 12,
http://www.pointsix.com/PDFs/3008-40-V6.pdf pp. 4599–4606, Dec. 2013.
[6] Enocean Alliance. Self-Powered CO2 Sensor Moves Into Volume
Production. [Online]. Available: http://www.enocean-alliance.org/
en/gss-seamless-sensing-co2-sensor-moves-into-volume-production/
[7] V. Jelicic, M. Magno, D. Brunelli, G. Paci, and L. Benini, “Context-
adaptive multimodal wireless sensor network for energy-efficient gas
monitoring,” IEEE Sensors J., vol. 13, no. 1, pp. 328–338, Jan. 2013.
[8] Cypress Semiconductor. (May 21, 2014). Programmable System-on-
Chip (PSoC). PSoC® 3: CY8C32 Family Data Sheet, document 001- Silviu C. Folea (M’08) received the degree in
56955. [Online]. Available: http://www.cypress.com/?docID=49257 control systems and the Ph.D. degree from the
[9] Roving Networks. (2012). RN-131G & RN-131C 802.11 b/g Wireless Technical University of Cluj-Napoca (TUC-N),
LAN Module. [Online]. Available: http://www.rovingnetworks.com Cluj-Napoca, Romania, in 1995 and 2005, respec-
[10] S. S. Shrestha, “Performance evaluation of carbon-dioxide sensors tively. He is currently an Associate Professor
used in building HVAC applications,” Ph.D. dissertation, Dept. Mech. with the Department of Automation, TUC-N.
Eng., Iowa State Univ., Ames, IA, USA, 2009. [Online]. Available: His research interests include hardware and soft-
http://lib.dr.iastate.edu/etd/10507 ware embedded systems, reconfigurable systems,
[11] S. Folea, G. Mois, L. Miclea, and D. Ursutiu, “Battery lifetime testing data acquisition, wireless networks, and low-power
using LabVIEW,” in Proc. 9th Int. Conf. Remote Eng. Virtual Instrum. sensors.
(REV), Jul. 2012, pp. 1–6. He has authored nine books and book chapters,
[12] D. Larios, J. Barbancho, G. Rodríguez, J. Sevillano, F. Molina, and edited one book, and authored about 84 conference and journal publications;
C. León, “Energy efficient wireless sensor network communications he was involved in over 33 research contracts, and two U.S. patents resulted
based on computational intelligent data fusion for environmental moni- from the research contracts he participated in.
toring,” IET Commun., vol. 6, no. 14, pp. 2189–2197, Sep. 2012.
[13] J. Ko, C. Lu, M. B. Srivastava, J. A. Stankovic, A. Terzis, and M. Welsh,
“Wireless sensor networks for healthcare,” Proc. IEEE, vol. 98, no. 11,
pp. 1947–1960, Nov. 2010.
[14] C. H. See, K. V. Horoshenkov, R. A. Abd-Alhameed, Y. F. Hu, and
S. Tait, “A low power wireless sensor network for gully pot monitoring
in urban catchments,” IEEE Sensors J., vol. 12, no. 5, pp. 1545–1553,
George Mois (M’14) received the Degree in control
May 2012.
systems and the Ph.D. degree from the Technical
[15] T. Sanislav and L. Miclea, “An agent-oriented approach for cyber-
University of Cluj-Napoca (TUC-N), Cluj-Napoca,
physical system with dependability features,” in Proc. IEEE Int. Conf.
Romania, in 2008 and 2011, respectively.
Autom. Quality Testing Robot. (AQTR), May 2012, pp. 356–361.
He is currently a Lecturer with the Department of
[16] F.-J. Wu, Y.-F. Kao, and Y.-C. Tseng, “From wireless sensor networks
Automation, TUC-N. His research interests include
towards cyber physical systems,” Pervasive Mobile Comput., vol. 7,
embedded system design, digital design, Field-
no. 4, pp. 397–413, 2011.
Programmable Gate Array (FPGA)-based systems,
[17] S. Tozlu, M. Senel, W. Mao, and A. Keshavarzian, “Wi-Fi enabled
and fault-tolerant and error-tolerant systems.
sensors for internet of things: A practical approach,” IEEE Commun.
Mag., vol. 50, no. 6, pp. 134–143, Jun. 2012.