A smart water pipes monitoring system using Azure services from the Technical University of Madrid

Published Jun 25 2020 06:39 AM 2,323 Views
Microsoft

UNIVERSIDAD
POLITÉCNICA DE MADRID

UPM IoT Master includes a course on Cloud Computing for IoT applications supported by Azure environment.  

PROGRAM: MÁSTER INTERNET OF THINGS


Topic: EMBEDDED SYSTEMS AND IoT DEVICES

 

Topic: SERVICE ARCHITECTURES AND SECURITY FOR IoT

 

Topic: INFORMATION AND KNOWLEDGE MANAGEMENT IoT

 

Topic: INTELLIGENT APPLICATIONS

 

MASTER THESIS

 

Part of the course is a group based project. Each team propose a challenge and develop all the software to solve the proposed problem.

The following is a review of team project, the team composed of Carlos Medina, Dhama Lancelot Martinez, Mario Refoyo and Patricia Gómez who proposed a Smart Water pipes monitoring solution.

 

A smart water pipes monitoring system using Azure services

Introduction

In the era of high technology, the speed of developing solutions to make our lives easier is increasing exponentially. In this way, a common problem to tackle is water leaks. The need not only to identify where and when exactly the leakage occurred but to also fix it can be a tough task as it often demands two factors that are limited: time and human resources. Following this premise, Internet of Things positions itself as the proper technology to address this issue taking advantage of Cloud computing capabilities. For this purpose, a smart water pipes monitoring system is proposed using Microsoft Azure as its core.


UPMArchitecture.PNG

Figure 1. System architecture


This monitoring system proposes a pipeline sensed by flow meters, which send measures through MQTT to an edge node. The intelligence of the system resides on this node, which computes the difference between consecutive sensors’ measures and detects through a flow difference threshold if there is a water leak and on which segment of the water pipe it is. If it detects one, it sends a command to close the necessary valve.

 

Functionality

The system offers six functionalities through a robust architecture where Azure services have been implemented:

  • Cross-platform components: to resemble real devices, sensors simulators were developed which have been packed into Docker containers so they can be executed in most platforms like Azure virtual machines.
  • Edge computing: as this problem demands quick responses, it was not convenient to delegate the leak detection task to the cloud. In this way, cloud capabilities are brought to the edge by implementing an IoT Edge with two modules using the Azure SDKS in Python, especially the IoT Hub Module Client. In this way, one module is in charge of transferring the incoming MQTT data to the second one, which is responsible for the leak computing task. Additionally, this module sends the alarms and telemetry data to an Azure IoT Hub.
  • Data persistence: like any system, it is necessary to perform data analytics looking for patterns that can point out information like any flaw in the pipe circuitry design. In this way, data arriving at the IoT Hub is routed to an Azure Blob storage, paving the way to Big data techniques at rest.
  • Data visualization: as the saying goes “a picture is worth a thousand words”. Taking advantage of the Azure and PowerBI interoperability, an Azure Stream Analytics job was configured so data arriving on the IoT Hub is redirected to two PowerBI reports. With this tool, the final user can know the number of alarms that were triggered in the last months or the real-time alarms location through a water pipe map.
 

wateralarm.PNG

Figure 2. Water pipe alarms dashboard using PowerBI

  • Remote configuration updates: to provide flexibility, the leak threshold can be modified directly from the cloud using the twin devices feature in the IoT Hub so the Edge node listens for configuration updates.
  • DevOps implementation: the CI/CD practice was implemented using the Azure DevOps tool and GitHub to optimize and automate the project development of the sensors simulators and the IoT Edge modules.

Finally, this project is a demonstration of how Internet of Things technologies can be integrated with the latest Azure services to build smart systems that real scenarios demand.


Resources and next steps 


If you interested in learning more about IoT and Azure we have a set of Microsoft Learn modules which are free modules and hands on labs for educators to utilise as blended learning resources. 

%3CLINGO-SUB%20id%3D%22lingo-sub-1488984%22%20slang%3D%22en-US%22%3EA%20smart%20water%20pipes%20monitoring%20system%20using%20Azure%20services%20from%20the%20Technical%20University%20of%20Madrid%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1488984%22%20slang%3D%22en-US%22%3E%3CH1%20id%3D%22toc-hId-474007826%22%20id%3D%22toc-hId-474007826%22%3EUNIVERSIDAD%3CBR%20%2F%3EPOLIT%C3%89CNICA%20DE%20MADRID%3C%2FH1%3E%0A%3CP%3E-ERR%3AREF-NOT-FOUND-UPM%20IoT%20Master%20includes%20a%20course%20on%20Cloud%20Computing%20for%20IoT%20applications%20supported%20by%20Azure%20environment.%26nbsp%3B%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-1164569300%22%20id%3D%22toc-hId-1164569300%22%3E%3CSPAN%20class%3D%22vcex-heading-inner%20clr%22%3E%3CSTRONG%3EPROGRAM%3A%26nbsp%3B%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22vcex-module%20vcex-heading%20vcex-heading-plain%20vc_custom_1590051361854%20wpex-responsive-txt%22%20data-max-font-size%3D%2236%22%20data-min-font-size%3D%2240%22%3E%3CSPAN%20class%3D%22vcex-heading-inner%20clr%22%3EM%C3%81STER%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3EINTERNET%20OF%20THINGS%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FH2%3E%0A%3CDIV%20class%3D%22wpb_text_column%20has-custom-color%20wpb_content_element%20%20vc_custom_1518272156420%20titmateria%22%3E%0A%3CDIV%20class%3D%22wpb_wrapper%22%3E%0A%3CP%3E%3CBR%20%2F%3ETopic%3A%26nbsp%3B%3CSTRONG%3E%3CSTRONG%3EEMBEDDED%20SYSTEMS%20AND%20IoT%20DEVICES%3C%2FSTRONG%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20class%3D%22wpb_text_column%20wpb_content_element%20%22%3E%0A%3CDIV%20class%3D%22wpb_wrapper%22%3E%0A%3CDIV%20id%3D%22tablepress-7_wrapper%22%20class%3D%22dataTables_wrapper%20no-footer%22%3E%0A%3CTABLE%20id%3D%22tablepress-7%22%20class%3D%22tablepress%20tablepress-id-7%20tablepress-responsive%20dataTable%20no-footer%22%20role%3D%22grid%22%3E%0A%3CTHEAD%3E%0A%3CTR%20class%3D%22row-1%22%20role%3D%22row%22%3E%0A%3CTH%20class%3D%22column-1%20sorting_disabled%22%20colspan%3D%221%22%20rowspan%3D%221%22%3ECourse%3C%2FTH%3E%0A%3CTH%20class%3D%22column-2%20sorting_disabled%22%20colspan%3D%221%22%20rowspan%3D%221%22%3ESemester%3C%2FTH%3E%0A%3CTH%20class%3D%22column-3%20sorting_disabled%22%20colspan%3D%221%22%20rowspan%3D%221%22%3EECTS%3C%2FTH%3E%0A%3C%2FTR%3E%0A%3C%2FTHEAD%3E%0A%3CTBODY%3E%0A%3CTR%20class%3D%22row-2%22%20role%3D%22row%22%3E%0A%3CTD%20class%3D%22column-1%22%3EEmbedded%20platforms%20and%20communications%20for%20IoT%3C%2FTD%3E%0A%3CTD%20class%3D%22column-2%22%3E1%3C%2FTD%3E%0A%3CTD%20class%3D%22column-3%22%3E4.5%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%20class%3D%22row-3%22%20role%3D%22row%22%3E%0A%3CTD%20class%3D%22column-1%22%3EMobile%20Devices%20Programming%3C%2FTD%3E%0A%3CTD%20class%3D%22column-2%22%3E1%3C%2FTD%3E%0A%3CTD%20class%3D%22column-3%22%3E4.5%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%20class%3D%22row-4%22%20role%3D%22row%22%3E%0A%3CTD%20class%3D%22column-1%22%3ESensor%20Networks%3C%2FTD%3E%0A%3CTD%20class%3D%22column-2%22%3E1%3C%2FTD%3E%0A%3CTD%20class%3D%22column-3%22%3E4.5%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%20class%3D%22row-5%22%20role%3D%22row%22%3E%0A%3CTD%20class%3D%22column-1%22%3ECyberphsical%20systems%20modelling%3C%2FTD%3E%0A%3CTD%20class%3D%22column-2%22%3E1%3C%2FTD%3E%0A%3CTD%20class%3D%22column-3%22%3E4.5%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3C%2FTBODY%3E%0A%3C%2FTABLE%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20class%3D%22vc_empty_space%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%20class%3D%22wpb_text_column%20has-custom-color%20wpb_content_element%20%20vc_custom_1518272225001%20titmateria%22%3E%0A%3CDIV%20class%3D%22wpb_wrapper%22%3E%0A%3CP%3ETopic%3A%26nbsp%3B%3CSTRONG%3ESERVICE%20ARCHITECTURES%20AND%20SECURITY%20FOR%20IoT%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20class%3D%22wpb_text_column%20wpb_content_element%20%22%3E%0A%3CDIV%20class%3D%22wpb_wrapper%22%3E%0A%3CDIV%20id%3D%22tablepress-8_wrapper%22%20class%3D%22dataTables_wrapper%20no-footer%22%3E%0A%3CTABLE%20id%3D%22tablepress-8%22%20class%3D%22tablepress%20tablepress-id-8%20tablepress-responsive%20dataTable%20no-footer%22%20role%3D%22grid%22%3E%0A%3CTHEAD%3E%0A%3CTR%20class%3D%22row-1%22%20role%3D%22row%22%3E%0A%3CTH%20class%3D%22column-1%20sorting_disabled%22%20colspan%3D%221%22%20rowspan%3D%221%22%3ECourse%3C%2FTH%3E%0A%3CTH%20class%3D%22column-2%20sorting_disabled%22%20colspan%3D%221%22%20rowspan%3D%221%22%3ESemester%3C%2FTH%3E%0A%3CTH%20class%3D%22column-3%20sorting_disabled%22%20colspan%3D%221%22%20rowspan%3D%221%22%3EECTS%3C%2FTH%3E%0A%3C%2FTR%3E%0A%3C%2FTHEAD%3E%0A%3CTBODY%3E%0A%3CTR%20class%3D%22row-2%22%20role%3D%22row%22%3E%0A%3CTD%20class%3D%22column-1%22%3EDistributed%20Systems%20for%20IoT%3C%2FTD%3E%0A%3CTD%20class%3D%22column-2%22%3E1%3C%2FTD%3E%0A%3CTD%20class%3D%22column-3%22%3E4.5%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%20class%3D%22row-3%22%20role%3D%22row%22%3E%0A%3CTD%20class%3D%22column-1%22%3EArchitectures%20and%20service%20platforms%3C%2FTD%3E%0A%3CTD%20class%3D%22column-2%22%3E1%3C%2FTD%3E%0A%3CTD%20class%3D%22column-3%22%3E4.5%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%20class%3D%22row-4%22%20role%3D%22row%22%3E%0A%3CTD%20class%3D%22column-1%22%3EInformation%20Models%3C%2FTD%3E%0A%3CTD%20class%3D%22column-2%22%3E1%3C%2FTD%3E%0A%3CTD%20class%3D%22column-3%22%3E3%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%20class%3D%22row-5%22%20role%3D%22row%22%3E%0A%3CTD%20class%3D%22column-1%22%3ESecurity%20for%20IoT%20Applications%3C%2FTD%3E%0A%3CTD%20class%3D%22column-2%22%3E2%3C%2FTD%3E%0A%3CTD%20class%3D%22column-3%22%3E4.5%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3C%2FTBODY%3E%0A%3C%2FTABLE%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20class%3D%22vc_empty_space%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%20class%3D%22wpb_text_column%20has-custom-color%20wpb_content_element%20%20vc_custom_1518272269983%20titmateria%22%3E%0A%3CDIV%20class%3D%22wpb_wrapper%22%3E%0A%3CP%3ETopic%3A%26nbsp%3B%3CSTRONG%3EINFORMATION%20AND%20KNOWLEDGE%20MANAGEMENT%20IoT%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20class%3D%22wpb_text_column%20wpb_content_element%20%22%3E%0A%3CDIV%20class%3D%22wpb_wrapper%22%3E%0A%3CDIV%20id%3D%22tablepress-9_wrapper%22%20class%3D%22dataTables_wrapper%20no-footer%22%3E%0A%3CTABLE%20id%3D%22tablepress-9%22%20class%3D%22tablepress%20tablepress-id-9%20tablepress-responsive%20dataTable%20no-footer%22%20role%3D%22grid%22%3E%0A%3CTHEAD%3E%0A%3CTR%20class%3D%22row-1%22%20role%3D%22row%22%3E%0A%3CTH%20class%3D%22column-1%20sorting_disabled%22%20colspan%3D%221%22%20rowspan%3D%221%22%3ECourse%3C%2FTH%3E%0A%3CTH%20class%3D%22column-2%20sorting_disabled%22%20colspan%3D%221%22%20rowspan%3D%221%22%3ESemester%3C%2FTH%3E%0A%3CTH%20class%3D%22column-3%20sorting_disabled%22%20colspan%3D%221%22%20rowspan%3D%221%22%3EECTS%3C%2FTH%3E%0A%3C%2FTR%3E%0A%3C%2FTHEAD%3E%0A%3CTBODY%3E%0A%3CTR%20class%3D%22row-2%22%20role%3D%22row%22%3E%0A%3CTD%20class%3D%22column-1%22%3EBig%20Data%20Applications%3C%2FTD%3E%0A%3CTD%20class%3D%22column-2%22%3E2%3C%2FTD%3E%0A%3CTD%20class%3D%22column-3%22%3E4.5%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%20class%3D%22row-3%22%20role%3D%22row%22%3E%0A%3CTD%20class%3D%22column-1%22%3ECloud%20computing%20for%20IoT%3C%2FTD%3E%0A%3CTD%20class%3D%22column-2%22%3E2%3C%2FTD%3E%0A%3CTD%20class%3D%22column-3%22%3E4.5%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3C%2FTBODY%3E%0A%3C%2FTABLE%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20class%3D%22vc_empty_space%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%20class%3D%22wpb_text_column%20has-custom-color%20wpb_content_element%20%20vc_custom_1518272402876%20titmateria%22%3E%0A%3CDIV%20class%3D%22wpb_wrapper%22%3E%0A%3CP%3ETopic%3A%26nbsp%3B%3CSTRONG%3EINTELLIGENT%20APPLICATIONS%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20class%3D%22wpb_text_column%20wpb_content_element%20%22%3E%0A%3CDIV%20class%3D%22wpb_wrapper%22%3E%0A%3CDIV%20id%3D%22tablepress-10_wrapper%22%20class%3D%22dataTables_wrapper%20no-footer%22%3E%0A%3CTABLE%20id%3D%22tablepress-10%22%20class%3D%22tablepress%20tablepress-id-10%20tablepress-responsive%20dataTable%20no-footer%22%20role%3D%22grid%22%3E%0A%3CTHEAD%3E%0A%3CTR%20class%3D%22row-1%22%20role%3D%22row%22%3E%0A%3CTH%20class%3D%22column-1%20sorting_disabled%22%20colspan%3D%221%22%20rowspan%3D%221%22%3ECourse%3C%2FTH%3E%0A%3CTH%20class%3D%22column-2%20sorting_disabled%22%20colspan%3D%221%22%20rowspan%3D%221%22%3ESemester%3C%2FTH%3E%0A%3CTH%20class%3D%22column-3%20sorting_disabled%22%20colspan%3D%221%22%20rowspan%3D%221%22%3EECTS%3C%2FTH%3E%0A%3C%2FTR%3E%0A%3C%2FTHEAD%3E%0A%3CTBODY%3E%0A%3CTR%20class%3D%22row-2%22%20role%3D%22row%22%3E%0A%3CTD%20class%3D%22column-1%22%3EIntelligent%20IoT%20Applications%3C%2FTD%3E%0A%3CTD%20class%3D%22column-2%22%3E2%3C%2FTD%3E%0A%3CTD%20class%3D%22column-3%22%3E4.5%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3C%2FTBODY%3E%0A%3C%2FTABLE%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20class%3D%22vc_empty_space%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%20class%3D%22wpb_text_column%20has-custom-color%20wpb_content_element%20%20vc_custom_1518272456773%20titmateria%22%3E%0A%3CDIV%20class%3D%22wpb_wrapper%22%3E%0A%3CP%3E%3CSTRONG%3EMASTER%20THESIS%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20class%3D%22wpb_text_column%20wpb_content_element%20%22%3E%0A%3CDIV%20class%3D%22wpb_wrapper%22%3E%0A%3CDIV%20id%3D%22tablepress-11_wrapper%22%20class%3D%22dataTables_wrapper%20no-footer%22%3E%0A%3CTABLE%20id%3D%22tablepress-11%22%20class%3D%22tablepress%20tablepress-id-11%20tablepress-responsive%20dataTable%20no-footer%22%20role%3D%22grid%22%3E%0A%3CTHEAD%3E%0A%3CTR%20class%3D%22row-1%22%20role%3D%22row%22%3E%0A%3CTH%20class%3D%22column-1%20sorting_disabled%22%20colspan%3D%221%22%20rowspan%3D%221%22%3E%26nbsp%3B%3C%2FTH%3E%0A%3CTH%20class%3D%22column-2%20sorting_disabled%22%20colspan%3D%221%22%20rowspan%3D%221%22%3ESemester%3C%2FTH%3E%0A%3CTH%20class%3D%22column-3%20sorting_disabled%22%20colspan%3D%221%22%20rowspan%3D%221%22%3EECTS%3C%2FTH%3E%0A%3C%2FTR%3E%0A%3C%2FTHEAD%3E%0A%3CTBODY%3E%0A%3CTR%20class%3D%22row-2%22%20role%3D%22row%22%3E%0A%3CTD%20class%3D%22column-1%22%3EMaster%20Thesis%3C%2FTD%3E%0A%3CTD%20class%3D%22column-2%22%3E2%3C%2FTD%3E%0A%3CTD%20class%3D%22column-3%22%3E12%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3C%2FTBODY%3E%0A%3C%2FTABLE%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EPart%20of%20the%20course%20is%20a%20group%20based%20project.%20Each%20team%20propose%20a%20challenge%20and%20develop%20all%20the%20software%20to%20solve%20the%20proposed%20problem.%3CBR%20%2F%3E%3CBR%20%2F%3EThe%20following%20is%20a%20review%20of%20team%20project%2C%20the%20team%20composed%20of%20Carlos%20Medina%2C%20Dhama%20Lancelot%20Martinez%2C%20Mario%20Refoyo%20and%20Patricia%20G%C3%B3mez%20who%20proposed%20a%20Smart%20Water%20pipes%20monitoring%20solution.%3C%2FP%3E%0A%3CDIV%20id%3D%22tinyMceEditorLee%20Stott_0%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CH2%20id%3D%22toc-hId--642885163%22%20id%3D%22toc-hId--642885163%22%3E%3CSTRONG%3EA%20smart%20water%20pipes%20monitoring%20system%20using%20Azure%20services%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FSTRONG%3E%3CSTRONG%3EIntroduction%3C%2FSTRONG%3E%3CBR%20%2F%3E%3C%2FH2%3E%0A%3CP%3EIn%20the%20era%20of%20high%20technology%2C%20the%20speed%20of%20developing%20solutions%20to%20make%20our%20lives%20easier%20is%20increasing%20exponentially.%20In%20this%20way%2C%20a%20common%20problem%20to%20tackle%20is%20water%20leaks.%20The%20need%20not%20only%20to%20identify%20where%20and%20when%20exactly%20the%20leakage%20occurred%20but%20to%20also%20fix%20it%20can%20be%20a%20tough%20task%20as%20it%20often%20demands%20two%20factors%20that%20are%20limited%3A%20time%20and%20human%20resources.%20Following%20this%20premise%2C%20Internet%20of%20Things%20positions%20itself%20as%20the%20proper%20technology%20to%20address%20this%20issue%20taking%20advantage%20of%20Cloud%20computing%20capabilities.%20For%20this%20purpose%2C%20a%20smart%20water%20pipes%20monitoring%20system%20is%20proposed%20using%20Microsoft%20Azure%20as%20its%20core.%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22UPMArchitecture.PNG%22%20style%3D%22width%3A%20534px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F201009i88B9978591CA75A4%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22UPMArchitecture.PNG%22%20alt%3D%22UPMArchitecture.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EFigure%20%3C%2FSPAN%3E%3CSPAN%3E1%3C%2FSPAN%3E%3CSPAN%3E.%20System%20architecture%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3EThis%20monitoring%20system%20proposes%20a%20pipeline%20sensed%20by%20flow%20meters%2C%20which%20send%20measures%20through%20MQTT%20to%20an%20edge%20node.%20The%20intelligence%20of%20the%20system%20resides%20on%20this%20node%2C%20which%20computes%20the%20difference%20between%20consecutive%20sensors%E2%80%99%20measures%20and%20detects%20through%20a%20flow%20difference%20threshold%20if%20there%20is%20a%20water%20leak%20and%20on%20which%20segment%20of%20the%20water%20pipe%20it%20is.%20If%20it%20detects%20one%2C%20it%20sends%20a%20command%20to%20close%20the%20necessary%20valve.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-1844627670%22%20id%3D%22toc-hId-1844627670%22%3E%3CSTRONG%3EFunctionality%20%3C%2FSTRONG%3E%3C%2FH2%3E%0A%3CP%3EThe%20system%20offers%20six%20functionalities%20through%20a%20robust%20architecture%20where%20Azure%20services%20have%20been%20implemented%3A%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CSTRONG%3ECross-platform%20components%3C%2FSTRONG%3E%3A%20to%20resemble%20real%20devices%2C%20sensors%20simulators%20were%20developed%20which%20have%20been%20packed%20into%20Docker%20containers%20so%20they%20can%20be%20executed%20in%20most%20platforms%20like%20Azure%20virtual%20machines.%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3EEdge%20computing%3C%2FSTRONG%3E%3A%20as%20this%20problem%20demands%20quick%20responses%2C%20it%20was%20not%20convenient%20to%20delegate%20the%20leak%20detection%20task%20to%20the%20cloud.%20In%20this%20way%2C%20cloud%20capabilities%20are%20brought%20to%20the%20edge%20by%20implementing%20an%20IoT%20Edge%20with%20two%20modules%20using%20the%20Azure%20SDKS%20in%20Python%2C%20especially%20the%20IoT%20Hub%20Module%20Client.%20In%20this%20way%2C%20one%20module%20is%20in%20charge%20of%20transferring%20the%20incoming%20MQTT%20data%20to%20the%20second%20one%2C%20which%20is%20responsible%20for%20the%20leak%20computing%20task.%20Additionally%2C%20this%20module%20sends%20the%20alarms%20and%20telemetry%20data%20to%20an%20Azure%20IoT%20Hub.%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3EData%20persistence%3A%20%3C%2FSTRONG%3Elike%20any%20system%2C%20it%20is%20necessary%20to%20perform%20data%20analytics%20looking%20for%20patterns%20that%20can%20point%20out%20information%20like%20any%20flaw%20in%20the%20pipe%20circuitry%20design.%20In%20this%20way%2C%20data%20arriving%20at%20the%20IoT%20Hub%20is%20routed%20to%20an%20Azure%20Blob%20storage%2C%20paving%20the%20way%20to%20Big%20data%20techniques%20at%20rest.%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3EData%20visualization%3A%20%3C%2FSTRONG%3Eas%20the%20saying%20goes%20%E2%80%9Ca%20picture%20is%20worth%20a%20thousand%20words%E2%80%9D.%20Taking%20advantage%20of%20the%20Azure%20and%20PowerBI%20interoperability%2C%20an%20Azure%20Stream%20Analytics%20job%20was%20configured%20so%20data%20arriving%20on%20the%20IoT%20Hub%20is%20redirected%20to%20two%20PowerBI%20reports.%20With%20this%20tool%2C%20the%20final%20user%20can%20know%20the%20number%20of%20alarms%20that%20were%20triggered%20in%20the%20last%20months%20or%20the%20real-time%20alarms%20location%20through%20a%20water%20pipe%20map.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CDIV%20id%3D%22tinyMceEditorLee%20Stott_5%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22wateralarm.PNG%22%20style%3D%22width%3A%20700px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F201010iF4A0584866FF2460%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22wateralarm.PNG%22%20alt%3D%22wateralarm.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EFigure%202.%20Water%20pipe%20alarms%20dashboard%20using%20PowerBI%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CSTRONG%3ERemote%20configuration%20updates%3A%20%3C%2FSTRONG%3Eto%20provide%20flexibility%2C%20the%20leak%20threshold%20can%20be%20modified%20directly%20from%20the%20cloud%20using%20the%20twin%20devices%20feature%20in%20the%20IoT%20Hub%20so%20the%20Edge%20node%20listens%20for%20configuration%20updates.%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3EDevOps%20implementation%3A%20%3C%2FSTRONG%3Ethe%20CI%2FCD%20practice%20was%20implemented%20using%20the%20Azure%20DevOps%20tool%20and%20GitHub%20to%20optimize%20and%20automate%20the%20project%20development%20of%20the%20sensors%20simulators%20and%20the%20IoT%20Edge%20modules.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EFinally%2C%20this%20project%20is%20a%20demonstration%20of%20how%20Internet%20of%20Things%20technologies%20can%20be%20integrated%20with%20the%20latest%20Azure%20services%20to%20build%20smart%20systems%20that%20real%20scenarios%20demand.%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-37173207%22%20id%3D%22toc-hId-37173207%22%3E%3CBR%20%2F%3EResources%20and%20next%20steps%26nbsp%3B%3C%2FH2%3E%0A%3CP%3E%3CBR%20%2F%3EIf%20you%20interested%20in%20learning%20more%20about%20IoT%20and%20Azure%20we%20have%20a%20set%20of%20-ERR%3AREF-NOT-FOUND-Microsoft%20Learn%20modules%20which%20are%20free%20modules%20and%20hands%20on%20labs%20for%20educators%20to%20utilise%20as%20blended%20learning%20resources.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-1488984%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%3ETechnical%20University%20of%20Madrid%20ranks%20as%20the%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3Etop%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3Btechnical%20university%20in%20Spain%2C%3C%2FSPAN%3E%3CSPAN%3E.%20The%20majority%20of%20its%20Engineering%20Schools%20are%20consistently%20ranked%20as%20leading%20academic%20institutions%20in%20Spain%20in%20their%20fields%2C%20and%20among%20the%20very%20best%20in%20Europe.%20UPM%20have%20developed%20a%20new%20Masters%20in%20IOT%20program.%20See%20how%20their%20Master%20students%20get%20hands%20on%20with%20Azure%20and%20Internet%20of%20Things.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1488984%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Efaculty%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EIoT%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPowerBi%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Estudent%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Version history
Last update:
‎Jun 25 2020 06:43 AM
Updated by: