Table of Contents Author Guidelines Submit a Manuscript
Journal of Sensors
Volume 2017 (2017), Article ID 1480401, 7 pages
Research Article

Automatic Supervision of Temperature, Humidity, and Luminance with an Assistant Personal Robot

INSPIRES Research Center, University of Lleida, Jaume II 69, 25001 Lleida, Spain

Correspondence should be addressed to Jordi Palacín

Received 29 June 2017; Revised 8 September 2017; Accepted 3 October 2017; Published 26 October 2017

Academic Editor: Calogero M. Oddo

Copyright © 2017 Jordi Palacín et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.


Smart environments and Ambient Intelligence (AmI) technologies are defining the future society where energy optimization and intelligent management are essential for a sustainable advance. Mobile robotics is also making an important contribution to this advance with the integration of sensors and intelligent processing algorithms. This paper presents the application of an Assistant Personal Robot (APR) as an autonomous agent for temperature, humidity, and luminance supervision in human-frequented areas. The robot multiagent capabilities allow gathering sensor information while exploring or performing specific tasks and then verifying human comfortability levels. The proposed methodology creates information maps with the distribution of temperature, humidity, and luminance and interprets such information in terms of comfort and warns about corrective actuations if required.

1. Introduction

Human health and comfortability are usually related to the ambient conditions where an individual spends long periods of time during the day. Advances on Ambient Intelligence (AmI) have fostered the implementation of smart environments that are able to detect and react to human presence. The concept of smart environments is usually focused on energy optimization, especially on high-demanding buildings and facilities. One of the objectives of AmI is to maintain an efficient use of the energy resources by dynamically adjusting the behavior of different actuators that control the environmental conditions through the detection and adaptation to human presence. The architecture of such systems is usually based on sensor networks converging into a specialized computational unit that performs a real time analysis of the gathered data, adjusting the behavior of the different actuators located inside the building to match the desired values for each specific situation. The paper [1] presented a case study of energy management in an intelligent building based on the integration of Wireless Sensor Networks (WSN). In this line, having an efficient management of the lighting control system of buildings is essential for energy optimization and it has already been addressed in the literature [2]. In addition, it has been proved that the use of WSN for low-cost energy optimization of green building lighting systems is a viable option to consider [3]. The maintenance of air quality and thermal conditions in buildings is also an important part of the energy consumed due to the high power demand of ventilation and air conditioning units (HVAC). The paper [4] proposed the implementation of a neurofuzzy controller for thermal comfort regulation in an office building in which a predictor model is used in order to keep constant comfort despite the thermal adaptation time required by HVAC systems. Additionally, the implementation of sensor network technologies is also considered on urban scenarios to, for example, monitor the air quality at different urban districts [5] and traffic monitoring [6].

The complexity and size of fixed network sensors are on the rise [7]; this has promoted/encouraged the research for new communication methodologies in an effort to create a common conceptual space among different heterogeneous devices such as sensors, actuators, processing units, storage units, and terminals. The Internet of Things (IoT) concept was born from this need and has allowed an easy integration of multiple/various devices working together within a common intelligent environment [8]. Since the popularization of the AmI technologies, those devices are often used in household domains in order to enable a smart management of comfort, healthcare, security, and energy saving. The resulting implementation of this methodology is popularly known as smart home [9]. The global market actually offers simple smart home solutions for nonexpert users in an effort to reach the general public, encouraging the development of new easy-to-install proposals [10]. Most of such implementations are focused on providing healthcare solutions for elderly people or for people with diseases [11]. These approaches on healthcare smart environments are specifically designed to provide several and different advantages aimed at increasing self-sufficiency and quality of life of their users.

The integration of mobile robots in smart environments is a challenging topic that has as main objective the extension of the concept “smart environment” by means of the integration of physical mobile platforms capable of interacting with users, environments, and other devices. The ENRICHME project [12] is an example concept that combines robotics and other intelligent systems in order to supervise and improve the quality of life of fragile elderly people. The paper [13] presented a smart home which monitors and analyzes the environmental conditions to generate and deliver sets of sequences that are used to control a service robot operating inside the home. The use of service robots for performing healthcare routines is also often proposed in the scientific literature. For example, in [14] a robot uses its computer vision system for fall detection. In the same line, other service robots were proposed for its integration in a smart environment like the Hobbit robot [15] which has multiple implemented assistive services and robust autonomous capabilities. In addition, robot-assistive services for shopping delivery and garbage collection are also addressed and discussed in [16] in which several elderly people were invited to participate in the experiments. As the ambient conditions can vary through different locations inside the same room, one of the main drawbacks of fixed-position sensor networks is establishing the appropriate number of measuring devices, as well as their distribution inside a common space. Embedding sensors onboard mobile robots which are capable of navigating around a predefined operating area is a practical solution to the scalability and redundancy problems of static network sensors. Since the navigation procedures of the robot requires it to be able to identify its position inside the explored area, this information can be also recorded along with the measured values, allowing it to create a link between the lectures and their position inside the map. This methodology provides flexibility when acquiring information about the environment that can be very useful in some applications. For example, in [17] a cloud-based service is proposed for environmental monitoring of data centers by means of performing explorations with autonomous robots. In [18] a mobile robot was proposed as an intelligent firefighting humanoid robot capable of distinguishing fire sources, smoke, and thermal reflections by means of processing images from a thermal infrared camera. Moreover, surveillance and intelligent control of outdoor real environments are addressed in [19] by using multiple sensor-equipped mobile robot agents robustly designed for land patrolling.

This paper proposes the development of an ambient supervision application as a complementary functionality of an Assistant Personal Robot (APR), a humanoid-shaped assistive robot [20]. Assistive robots are often conceived as polyvalent platforms capable of performing different kinds of assistive routines that can be dynamically programmed on demand by using its available and embedded tools. This complementary application is focused on keeping the robot aware of its ambient conditions: temperature, humidity, and luminance when performing conventional tasks. The main objective of the proposed methodology is to provide accurate maps with the ambient information obtained by the mobile robot while performing any task in order to warn about uncomfortable conditions. In the future, the APR will use this information in order to adjust the ambient conditions by performing corrective actions.

2. Assistant Personal Robot

The platform used in this paper is the second prototype of the APR robot (named APR-02). This mobile robot is an improvement of the initial design, focused on providing telepresence services controlled by a human operator [20]. The APR-02 (Figure 1) is designed for the development of full autonomous tasks and is equipped with an improved computational unit, an improved mechanical structure, and an improved motor control board, as well as being compatible with a wider range of sensors. The motion of the mobile robot is defined by a holonomic system composed of three omnidirectional wheels, allowing it to perform complex maneuvers in narrow indoor areas [21]. The mobile robot has a Hokuyo UTM-30LX laser range sensor (LIDAR) with a native resolution of 1 mm which is used for robot localization, mapping, and obstacle avoidance. The main computational unit is a full computer (Intel Core i7-6700 K, 16 GB DDR4, SSD Hard Disk) set up as the main control for all devices. The robot control system is based on a multiagent architecture [22] that enables the robot to execute multiple processes usually required to perform the designed assistive tasks in an effective way. This multiprocess implementation scheme also provides versatility and enables the possibility of managing multiple robot procedures and services at once.

Figure 1: The APR-02 standing.

3. Methodology

The applied methodology for the proposed AmI application is based on the creation of dynamic maps that provide a visual representation of the ambient information measured by onboard mobile robot sensors along the explored area. The APR-02 executes an autonomous navigation procedure that identifies its location inside the map that represents the area of operation; additionally, this procedure also computes the trajectory that the robot must follow to reach its target destination. During the explorations, the robot records the lectures of the desired sensors as well as the location at which each lecture was obtained, allowing the creation of distribution maps for each monitored parameter.

3.1. Navigation

One of the most important features of the APR-02 is its capability to perform complex autonomous tasks. Most of such tasks require information about the physical layout around the robot, as well as a constant access to its current location. The first step to achieve an autonomous navigation system is to build a virtual map of the area of operation; once the map is built, the robot will automatically store it as a reference, allowing it to be loaded every time the robot needs to operate in that specific area. The methodology used for the mapping procedures is based on the Simultaneous Localization and Mapping (SLAM) method which processes laser range data provided by the 2D LIDAR device onboard the robot in order to compute the relative position of the robot while creating a two-dimensional model of the explored area with a resolution of 1 mm. The SLAM method used in this paper is based on the FastSLAM approach [23] with a customized Iterative Closest Point (ICP) algorithm for laser sample alignment [24].

The navigation process is another parallel process running on the control system. This process queries the current position of the robot obtained through the SLAM process and then computes the path to the current destination in the map. The path planning is performed by means of running an informed search algorithm ( algorithm [25] with a Manhattan heuristic) on a node-discretized version of the virtual map. Figure 2 shows an example of virtual map created by the APR in a first exploration. The colored area in this map depicts the navigable nodes along with their associated weights. The weights of the nodes are assigned in relation to its safeness; for this, nodes located near obstacles are penalized with an additional cost. This method ensures that the path planning algorithm will prioritize safety over distance, maintaining the robot as far as possible from walls and other obstacles if possible. In addition, the navigation process is aware of unexpected obstacles detected by the laser range sensor in order to avoid possible collisions.

Figure 2: Virtual map created by the robot and the weighted navigable area.
3.2. Information Maps

This paper proposes the creation and use of information maps for ambient supervision. The proposed methodology is based on the work presented in [26] which was focused on the detection of gas leakages. In this case, the information maps are computed from raw sensor data gathered at 1 Hz constantly by the robot while performing other assistive tasks or during specific ambient supervision explorations. Figure 3 shows a picture of the ARM-based embedded sensor board designed as a module to engage communications with the APR and to provide information of the temperature, humidity, and luminance. This embedded sensor system has been designed as a versatile USB accessory sensor system that can be plugged in different locations of the mobile robot according to the environmental requirements. This sensor system is also designed in order to provide redundant or complementary ambient information, for example, from the front or from the back of the mobile robot.

Figure 3: Embedded ARM-based sensor system capable of sampling temperature, humidity, and luminance.

The data obtained by the embedded sensors are processed and also stored in a custom structure which contains the raw lecture from each sensor along with the current robot coordinates and the timestamp that identifies the time at which the lecture was obtained. The information maps are generated from a combination of the localized sensor samples and the virtual area map built by the SLAM procedure. The sensor samples are integrated into the virtual map according to its relative two-dimensional coordinates with a resolution of 1 mm. At this point, the samples are interpolated by using the biharmonic spline method [27] in order to fill the virtual map boundaries. As a result, these information maps present the ambient information in an effective manner that can be visually presented or automatically processed in order to define inputs for further corrective actuations. The accuracy of this methodology mainly depends on the number of samples gathered by the robot inside the supervised area. Nevertheless, this application does not require a saturated patrolling in order to obtain profitable results. In this paper, the representation of the ambient conditions has been estimated by simply passing once through a corridor. Furthermore, the information maps are segmented in different areas (corridor, hall, office, restroom, etc.) with the different human comfortability levels defined in [28]. It is interesting to note that comfortability ranges are not fixed and may vary by season.

4. Experimentation and Results

The experimental stage of this work is carried out in the 2nd floor of the Polytechnic School of the University of Lleida. The mobile robot was programed to perform an ambient control routine patrol in this floor. The virtual map of the scenario was previously built and available for its use on each robot mission inside this area. The robot navigation planning can be defined by setting a list of key nodes that the robot must visit in the specified order before returning to its initial position to conclude its exploration. In this experiment, the robot performs a predefined cyclic exploration which starts in a base position in one laboratory; then the robot must leave the laboratory, reach the emergency exit at the end of the hallway, visit the hall entrance, and return to its starting point inside the laboratory. Figure 4 shows the trajectory of the APR in the virtual map of the scenario of the proposed experiment. The mobile robot spends 760.8 seconds in this exploration, gathers a total of 1692 samples, and travels a total of 98.08 meters.

Figure 4: Path followed by the APR during the ambient supervision experiment.

Depending on the application planned, the information maps with temperature, humidity, and luminance can be computed online or after finishing the ambient supervision mission. The results from the trajectory described are shown in Figures 5, 6, and 7 in which the colors of the mesh are relative to the maximum and minimum measured values during the whole exploration. These maps provide accurate information of the ambient conditions that can be stored, processed, or compared in further analysis.

Figure 5: Temperature information map from the experimentation area.
Figure 6: Humidity information map from the experimentation area.
Figure 7: Luminance information map from the experimentation area.

The mesh and colors represent value variations along the explored and measured area. This information can be also processed in order to provide specific information of the human comfortability ranges in the different areas explored. As a result, this segmented information maps are easy to interpret as the color directly warns about the necessity to implement corrective actuations. Figure 8 shows the results of the comfortability segmentation procedure proposed in which green areas depict an adequate ambient condition. Reddish colored zones in temperature and humidity maps identify the areas with values over the recommended comfort levels, while bluish colored zones identify areas with lectures below the recommended ranges. In the case of the luminance map a reddish color depicts areas with low lighting levels.

Figure 8: Segmented information maps by human comfortability levels: (a) temperature, (b) humidity, and (c) luminance.

Finally, the information map of Figure 8(c) showed that the luminance levels of the corridor of the facility were not adequate according to predefined comfort levels. In this case, the exploration was performed in an afternoon during a stormy day just in the moment in which the natural illumination provided by the sun was clearly insufficient for a public facility. In this case, a further interconnection of the APR with the main systems of the building can be used to automatically correct this situation by automatically turning on and off the illumination of the corridor of the facility.

5. Conclusions

This work presents an AmI application based on the use of an Assistant Personal Robot for the supervision of the temperature, humidity, and luminance conditions. This application is conceived as a complementary function for an intelligent assistant mobile robot capable of developing autonomous tasks in indoor environments. Intelligent robots such as the one used for this paper provide high computational capabilities and enough resources to enable a multiagent control system capable of setting up different robot processes simultaneously. This methodology allows the robot to work on its main assistive tasks while executing an ambient supervision routine which is constantly gathering and processing additional sensor data. This method enables the creation of information maps combining sensor data and the virtual map of the experimental area based on the application of an ICP-based SLAM procedure. The information maps provide detailed and localized ambient data that can be segmented according to comfortability levels. The presented AmI system can be connected to a main control unit that manages the functionalities of multiple actuators (dimmable lights, air conditioning systems, ventilation, blinds control, etc.) to perform the corresponding corrective actions to maintain the comfortability levels inside the recommended range.

Future work will be focused on the implementation of a robust AmI framework conforming with the presented methodology in order to build embedded intelligent control systems. Results from information maps should also be interpreted by the AmI system in order to detect ambient disconformities and to maintain a constant ambient supervision. Future work will also consider the combination of multiple robots working in the same or in different floors of the same building, studying the possibility of creating a multiagent system that manages the ambience conditions of an entire building.

Conflicts of Interest

The authors declare that they have no conflicts of interest.


This study was conducted with the support of the Government of Catalonia (Comissionat per a Universitats i Recerca, Departament d’Innovació, Universitats i Empresa) and the European Social Fund.


  1. H. Grindvoll, O. Vermesan, T. Crosbie, R. Bahr, N. Dawood, and G. M. Revel, “A wireless sensor network for intelligent building energy managementbased on multi communication standards-A case study,” Electronic Journal of Information Technology in Construction, vol. 17, pp. 43–62, 2012. View at Google Scholar · View at Scopus
  2. A. Pandharipande and D. Caicedo, “Smart indoor lighting systems with luminaire-based sensing: A review of lighting control approaches,” Energy and Buildings, vol. 104, pp. 369–377, 2015. View at Publisher · View at Google Scholar · View at Scopus
  3. M. Magno, T. Polonelli, L. Benini, and E. Popovici, “A low cost, highly scalable wireless sensor network solution to achieve smart LED light control for green buildings,” IEEE Sensors Journal, vol. 15, no. 5, pp. 2963–2973, 2015. View at Publisher · View at Google Scholar · View at Scopus
  4. A. Marvuglia, A. Messineo, and G. Nicolosi, “Coupling a neural network temperature predictor and a fuzzy logic controller to perform thermal comfort regulation in an office building,” Building and Environment, vol. 72, pp. 287–299, 2014. View at Publisher · View at Google Scholar · View at Scopus
  5. Q. Jiang, F. Kresin, A. K. Bregt et al., “Citizen Sensing for Improved Urban Environmental Monitoring,” Journal of Sensors, vol. 2016, Article ID 5656245, 2016. View at Publisher · View at Google Scholar · View at Scopus
  6. R. Du, C. Chen, B. Yang, N. Lu, X. Guan, and X. Shen, “Effective urban traffic monitoring by vehicular sensor networks,” IEEE Transactions on Vehicular Technology, vol. 64, no. 1, pp. 273–286, 2015. View at Publisher · View at Google Scholar · View at Scopus
  7. A. Rayes and S. Samer, “IoT devices connected by 2020 – beyond the hype and into reality,” 2016,
  8. L. Mainetti, L. Patrono, and A. Vilei, “Evolution of wireless sensor networks towards the Internet of Things: a survey,” in Proceedings of the 19th International Conference on Software, Telecommunications and Computer Networks (SoftCOM '11), pp. 16–21, September 2011. View at Scopus
  9. M. R. Alam, M. B. I. Reaz, and M. A. M. Ali, “A review of smart homes—past, present, and future,” IEEE Transactions on Systems, Man, and Cybernetics, Part C: Applications and Reviews, vol. 42, no. 6, pp. 1190–1203, 2012. View at Publisher · View at Google Scholar · View at Scopus
  10. D. J. Cook, A. S. Crandall, B. L. Thomas, and N. C. Krishnan, “CASAS: A smart home in a box,” The Computer Journal, vol. 46, no. 7, Article ID 6313586, pp. 62–69, 2013. View at Publisher · View at Google Scholar · View at Scopus
  11. N. Agoulmine, M. J. Deen, J. Lee, and M. Meyyappan, “U-health smart home,” IEEE Nanotechnology Magazine, vol. 5, no. 3, pp. 6–11, 2011. View at Publisher · View at Google Scholar
  12. N. Bellotto, M. Fernandez-Carmona, and S. Cosar, ENRICHME Integration of Ambient Intelligence and Robotics for AAL, AAAI, 2017.
  13. C.-H. Chen, A. Liu, and P.-C. Zhou, “Controlling a service robot in a smart home with behavior planning and learning,” in Proceedings of the 2014 IEEE International Conference on Systems, Man, and Cybernetics, SMC 2014, pp. 2821–2826, usa, October 2014. View at Publisher · View at Google Scholar · View at Scopus
  14. L.-H. Juang and M.-N. Wu, “Fall Down Detection Under Smart Home System,” Journal of Medical Systems, vol. 39, no. 10, article no. 107, 2015. View at Publisher · View at Google Scholar · View at Scopus
  15. D. Fischinger, P. Einramhof, K. Papoutsakis et al., “Hobbit, a care robot supporting independent living at home: First prototype and lessons learned,” Robotics and Autonomous Systems, vol. 75, pp. 60–78, 2016. View at Publisher · View at Google Scholar · View at Scopus
  16. F. Cavallo, R. Limosani, A. Manzi et al., “Development of a Socially Believable Multi-Robot Solution from Town to Home,” Cognitive Computation, vol. 6, no. 4, pp. 954–967, 2014. View at Publisher · View at Google Scholar · View at Scopus
  17. L. O. Russo, S. Rosa, M. Maggiora, and B. Bona, “A novel cloud-based service robotics application to data center environmental monitoring,” Sensors, vol. 16, no. 8, article no. 1255, 2016. View at Publisher · View at Google Scholar · View at Scopus
  18. J.-H. Kim, S. Jo, and B. Y. Lattimer, “Feature Selection for Intelligent Firefighting Robot Classification of Fire, Smoke, and Thermal Reflections Using Thermal Infrared Images,” Journal of Sensors, vol. 2016, Article ID 8410731, 2016. View at Publisher · View at Google Scholar · View at Scopus
  19. A. Rodić, D. Katić, and G. Mester, “Ambient intelligent robot-sensor networks for environmental surveillance and remote sensing,” in Proceedings of the SISY 2009 - 7th International Symposium on Intelligent Systems and Informatics, pp. 39–44, srb, September 2009. View at Publisher · View at Google Scholar · View at Scopus
  20. E. Clotet, D. Martínez, J. Moreno, M. Tresanchez, and J. Palacín, “Assistant personal robot (APR): Conception and application of a tele-operated assisted living robot,” Sensors, vol. 16, no. 5, article no. 610, 2016. View at Publisher · View at Google Scholar · View at Scopus
  21. J. Moreno, E. Clotet, R. Lupiañez et al., “Design, implementation and validation of the three-wheel holonomic motion system of the assistant personal robot (APR),” Sensors, vol. 16, no. 10, article no. 1658, 2016. View at Publisher · View at Google Scholar · View at Scopus
  22. D. Martínez, E. Clotet, J. Moreno, M. Tresanchez, and J. Palacín, “A proposal of a multi-agent system implementation for the control of an Assistant Personal Robot,” Advances in Intelligent Systems and Computing, vol. 473, pp. 171–179, 2016. View at Publisher · View at Google Scholar · View at Scopus
  23. F.-J. Pei, H.-Y. Li, and Y.-H. Cheng, “An improved FastSLAM system based on distributed structure for autonomous robot navigation,” Journal of Sensors, vol. 2014, Article ID 456289, 9 pages, 2014. View at Publisher · View at Google Scholar
  24. S. Rusinkiewicz and M. Levoy, “Efficient variants of the ICP algorithm,” in Proceedings of the 3rd International Conference on 3-D Digital Imaging and Modeling (3DIM '01), pp. 145–152, Quebec City, Canada, June 2001. View at Publisher · View at Google Scholar · View at Scopus
  25. P. E. Hart, N. J. Nilsson, and B. Raphael, “A formal basis for the heuristic determination of minimum cost paths,” IEEE Transactions on Systems, Man, and Cybernetics, vol. 4, no. 2, pp. 100–107, 1968. View at Publisher · View at Google Scholar
  26. D. Martínez, J. Moreno, M. Tresanchez et al., “Measuring gas concentration and wind intensity in a turbulent wind tunnel with a mobile robot,” Journal of Sensors, vol. 2016, Article ID 7184980, 8 pages, 2016. View at Publisher · View at Google Scholar · View at Scopus
  27. D. T. Sandwell, “Biharmonic spline interpolation of GEOS-3 and Seasat altimeter data,” Geophysical Research Letters, vol. 14, no. 2, pp. 139–142, 1987. View at Publisher · View at Google Scholar · View at Scopus
  28. Ashrae, Thermal Environmental Conditions for Human Occupancy, Atlanta GA, American Society of Heating, Refrigerating and Air Conditioning Engineers, 2013, (ANSI/ASHRAE Standard 55-2013).