Eindhoven University of Technology MASTER Embedded Sensing Platform for Smart Urban Spaces Garza Salas, A

Eindhoven University of Technology MASTER Embedded Sensing Platform for Smart Urban Spaces Garza Salas, A

Eindhoven University of Technology MASTER Embedded sensing platform for smart urban spaces Garza Salas, A. Award date: 2015 Link to publication Disclaimer This document contains a student thesis (bachelor's or master's), as authored by a student at Eindhoven University of Technology. Student theses are made available in the TU/e repository upon obtaining the required degree. The grade received is not published on the document as presented in the repository. The required complexity or quality of research of student theses may vary by program, and the required minimum study period may vary in duration. General rights Copyright and moral rights for the publications made accessible in the public portal are retained by the authors and/or other copyright owners and it is a condition of accessing publications that users recognise and abide by the legal requirements associated with these rights. • Users may download and print one copy of any publication from the public portal for the purpose of private study or research. • You may not further distribute the material or use it for any profit-making activity or commercial gain Embedded Sensing Platform for Smart Urban Spaces Eindhoven University of Technology Faculty of Electrical Engineering Royal Philips N.V. - Research Master Embedded Systems Author: Amado Garza Salas - 0827000 [email protected] Date: 9 January 2015 Supervisors: prof. dr. ir. Gerard de Haan dr. ir. Frank van Heesch ir. Ruben Rajagopalan Acknowledgement I would like to express my gratitude towards prof. dr. ir. Gerard de Haan for providing me with this opportunity, as well as for his involvement, supervision and support during the realization of this project. Furthermore I would also like to thank Dr. ir. Sander Stuijk and ir. Ruben Rajagopalan for their observations and comments throughout the project. Their support was invaluable to help steer my efforts in the right direction I also want to specially thank dr. ir. Frank van Heesch for constantly supporting me. I greatly appreciate the constant feedback, the small meetings and everything he did to make sure I had all the materials and equipment when I needed. All the help, given by him during the different stages of the project, was paramount to reach a successful conclusion on this work. As always in my life, I would like to thank my parents, Wendy Salas C´ardenasand Jos´e Hector Castillo Partida, my sister Nicole, and grandmother Cristina. They have always supported me in all the endeavours I have undertook, without their encouragement and understanding I would not have been capable of doing any of this. Finally I would like to add a special dedication note to my grandfather, Jos´eAnibal Salas Segura, who unfortunately did not have the chance to see the final results of this project, but was always there for me when I needed advice. 1 CONTENTS Garza, A Contents 1 Introduction 5 2 Embedded Platforms and Functionality Evaluation 7 2.1 Single Platform Proposal . .9 2.1.1 RISC Based Platforms . 10 2.1.2 ARM based Platforms . 11 2.2 Module Platform Proposal . 14 2.3 Sensing Functionality Evaluation . 15 2.3.1 Weather . 15 2.3.2 Pollution . 17 3 Hardware Environment 19 3.1 SAMA5D36-EK . 19 3.2 Sensors . 22 4 Software Environment 24 5 Smart Urban Sensing Implementation 26 5.1 Linux Based Solution . 26 5.2 Baremetal Solution . 32 6 Testing and Benchmark Results 36 6.1 Timing Results Comparison . 38 7 Conclusions 44 A Gantt Chart Project Planning 45 B References 46 2 LIST OF FIGURES Garza, A List of Figures 1 Project expected flow chart. .6 2 Schematic of the BF53x family evaluation board obtained from Analog De- vices. .7 3 Block Diagram of the BF53x family obtained from Analog Devices. .8 4 SAMA5D36 Chip Block Diagram [8]. 20 5 SAMA5D36-EK CPU Module Block Diagram [9]. 21 6 SAMA5D36-EK Main Board Annotated Layout [9]. 21 7 Atmel's Home Automation Start Screen [18]. 27 8 Linux Booting Sequence on Atmel's AT91 SAM microprocessors [18]. 29 9 Buildroot interface to configure the build specifications [34]. 29 10 Sample frame obtained with Lumimotion and used for testing. 36 11 Organization and connections for each test . 38 12 Average time per frame and profiling in different versions. 40 13 Comparison of different GCC optimization flags. 41 14 Captured framed from the OV2640 CMOS using ffmpeg. 42 3 LIST OF FIGURES Garza, A Abstract Urban spaces require of technology that can help to use energy more efficiently, but also is capable of providing an extra function. Philip's Lumimotion system achieves the first part of the statement by controlling public luminaries depending on the activity detected on the area. A camera captures images which are then in turn processed by a detection algorithm whose results are used to control the light in- tensity used by the lamps. Unfortunately Lumimotion's current platform has reached the limit of its processing capacity, and it is therefore necessary to find a new suit- able platform for the algorithm. Additionally potential new functions are explored, culminating with a set of requirements for the new platform. Once the platform and functionality are defined the whole applications has to be developed. Utilizing the correct environment is a defining factor in the life time of an application, therefore an special analysis into the differences between developing an application bare-metal or with operating system support is done. Finally the application is developed, together with some extra functionality, then it is tested and compared with the existence tech- nology to verity its functionality and improvement. The results and analysis show the advantages of using a state of the art and future proof, platform, with the right development tools, furthermore it was possible to show the little overhead that is caused by adding data reading from external sensors. 4 Garza, A 1 Introduction Government and institutions have an increasing concern over the efficient use of energy, therefore generating an increase in regulations and goals to reduce power consumption, in- cluding a great range of home and daily life applications. One of the areas for improvement is outdoor lighting; according to the Community Research and Development Information Service of the European Union, a municipality can spend up to 60% of its energy costs on public lighting [38]. The potential energy and financial savings on public lighting can be achieved through the implementation of modern technologies as intelligent control systems or modern LED light bulbs. Several efforts have been made to integrate Intelligent Sensing with public lighting infrastructure. The aim of these systems is to reduce energy consump- tion while still providing the required functionality and safety needed by pedestrians and vehicles. LumiMotion is a Philips developed technology that provides presence detection infor- mation used to adjust lighting in outdoor spaces. The technology is active during dark hours, it provides maximum light intensity when activity is detected, and then turns to very low intensity when there is no recorded activity. Currently there is a need to expand the capabilities of the system as it stands, in order to improve its value and its function- ality. Therefore it is required to find a newer embedded platform that can support the current implementation, plus any additional functions that might be added. The aim of the project is therefore divided in 4 main goals (i) investigate and define a contemporary embedded platform that can provide the computational needs of the whole system, (ii) investigate and develop extra functionality that can be added to the current application, (iii) implement the presence detection algorithm and the added services into the selected embedded platform and, finally, (iv) carry out tests of the final solution to show the performance of the system as compared with the current version. In order to achieve the main goals as described above, one of the first steps consists of defining a range of requirements for the embedded platform. An analysis of the current platform, in conjunction with literature study of similar applications, and an initial char- acterization of the new sensing functions, will be used to derive the requirements. At the same time current market available development platforms will be evaluated to find the best match with the system demands as defined in the previously mentioned step. One of the main contributions of the project will be on providing a future-proof platform for the system. Research on existing technologies and literature can provide knowledge on fields that could be integrated to the system, as environmental measurements or traffic analysis. A conceptual solution would be a luminary transmitting traffic analysis data and environmental CO2 concentrations. An important challenges is to find a feasible and meaningful application, that could be implemented together with the existing detection algorithms. 5 Garza, A The following step would be to implement the current algorithm and extra function- ality, considering the research and decisions made in previous stages. Final testing of the whole solution will be carried out in order to prove its feasibility as a final product, and be able to compare it with the existing version. A graphical representation containing the milestones described previously is presented in Figure 1. An important aspect to consider is that this image does not include previtions in case there is need to do iterations between the different steps. Appendix A shows a rough timing with the activities and milestones expected to be completed during the project. Figure 1: Project expected flow chart. During the course of the next sections different aspects of the project are covered. Section 2 covers the investigation and decisions made in respect of the embedded platform to be used, as well as the extra functionality that could be added to the existing solution.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    51 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us