scieee AI-readable full text Open interactive document viewer

An IoT Architecture as a means of Optimizing Downy and Powdery Mildew Diseases Recognition in Portuguese Vineyards

Gomes, Bruno Pedrosa

Abstract

The agriculture is a livelihood of an expressively number of people and companies in Portugal, and before covid time surpassed 1.000 Million EUR, so it is an important portion and should be, at least, maintained. A part of this agricultural production is destinated to produce wine, that itself a part of the Portuguese culture, and to help the vineyards health increase this work aims to understand the grape-fruit diseases, his types, and mainly how can be detected as early as possible. A reliable way to disease detection can facilitate treatment and possible cure of the vine, through proper management strategies and can improve productivity. This research aims to propose a new architecture thar can provides a better solution for this disease identification. The proposed architecture is supported on the Internet of Things sensors technologies, that works 24/7 and, nowadays, are not expensive and bring another protection to the vineyards.

Full text

An IoT Architecture as a means of Optimizing Downy and Powdery Mildew Diseases Recognition in Portuguese Vineyards Bruno Pedrosa Gomes Dissertation Proposal report presented as partial requirement for obtaining the master’s degree in Information Management i NOVA Information Management School Instituto Superior de Estatística e Gestão de Informação Universidade Nova de Lisboa AN IOT AND AI ARCHITECTURE AS A MEANS OF OPTIMIZING DOWNY AND POWDERY MILDEW DISEASES RECOGNITION IN PORTUGUESE VINEYARDS by Bruno Pedrosa Gomes Dissertation Proposal presented as partial requirement for obtaining the master’s degree in Information Management, with a specialization in Information Technology System Management Advisor: Vitor Duarte dos Santos July 2021 ii ACKNOWLEDGMENTS I would like to deeply thank God and my family, Renata, Jurema and Romario, I love you and I owe everything I am to you. To my grandparents, wherever they are, I know they're looking out for me. To my girlfriend Marina, for being by my side and always supporting me. And last but not least my advisor Prof. Vitor. Thank you very much to all of you. iii ABSTRACT The agriculture is a livelihood of an expressively number of people and companies in Portugal, and before covid time surpassed 1.000 Million EUR, so it is an important portion and should be, at least, maintained. A part of this agricultural production is destinated to produce wine, that itself a part of the Portuguese culture, and to help the vineyards health increase this work aims to understand the grape-fruit diseases, his types, and mainly how can be detected as early as possible. A reliable way to disease detection can facilitate treatment and possible cure of the vine, through proper management strategies and can improve productivity. This research aims to propose a new architecture thar can provides a better solution for this disease identification. The proposed architecture is supported on the Internet of Things sensors technologies, that works 24/7 and, nowadays, are not expensive and bring another protection to the vineyards. KEYWORDS Internet Of Things; Vineyards; IT Architectures; Disease Recognition; IoT Devices iv INDEX 1. Introduction .................................................................................................................. 1 1.1 Context .................................................................................................................. 1 1.2 Motivation ............................................................................................................. 1 1.3 Study Objectives .................................................................................................... 1 1.4 Document Organization ........................................................................................ 2 2. LIterature Review ......................................................................................................... 3 2.1 Viniculture In Portugal ........................................................................................... 3 Problem Identification .................................................................................... 5 Grapes Varieties in Portugal ........................................................................... 5 Regions ......................................................................................................... 12 Vineyards Diseases and his Types ................................................................ 14 2.2 Technologies for the early detection of diseases in vineyards ........................... 25 2.2.1 Overview ....................................................................................................... 25 2.2.2 Internet of Things ......................................................................................... 25 3. Methodology .............................................................................................................. 26 3.1 Design Science Research Methodology............................................................... 26 3.2 Research Strategy ................................................................................................ 27 4. An architecture for the early detection of diseases in vineyards .............................. 28 4.1 Architecture description ...................................................................................... 28 4.2 Data Flow ............................................................................................................. 30 4.3 Components ........................................................................................................ 30 Raspberry ...................................................................................................... 30 Color Sensor ................................................................................................. 31 Temperature Sensor ..................................................................................... 32 Lab Grade pH ................................................................................................ 33 EZO-HUM™ Humidity Sensor ....................................................................... 34 4.4 Use case ............................................................................................................... 34 5. Conclusion .................................................................................................................. 37 5.1 Synthesis of the developed work ........................................................................ 37 5.2 Limitations ........................................................................................................... 37 5.3 Future Work......................................................................................................... 37 Bibliography..................................................................................................................... 38 v LIST OF FIGURES Figure 1 - Territory of Portugal by Agriculture Field and Cities ................................................. 3 Figure 2 - Last decade agriculture GDP ...................................................................................... 4 Figure 3 - Last 3 years Agriculture GDP ..................................................................................... 4 Figure 4 – Map of types of grapevine per region in Portugal .................................................. 13 Figure 5 – Leaf of grapevine with Downy Mildew disease....................................................... 15 Figure 6 – Berries of grapevine sick by Downy mildew............................................................ 15 Figure 7 – Difference between Downey Mildew and Powdery Mildew .................................. 16 Figure 8 - Powdery mildew on the upper side of a grapevine leaf (left) and downy mildew spores on the underside of a leaf (right). Matt Clark, University of Minnesota .............. 17 Figure 9 - Botrytis bunch rot of grape ...................................................................................... 17 Figure 10 – Trunk infected byeutypa dieback .......................................................................... 18 Figure 11 - Black Rot Leaf. Source ............................................................................................ 19 Figure 12 - Veinbandding symptoms ....................................................................................... 20 Figure 13 - Difference between a health and infected vine leaf ............................................. 20 Figure 14 – Red color leaf with mains veins still green ............................................................ 21 Figure 15 - Leaf with Red Spots ................................................................................................ 22 Figure 16 – A grape not well formed infected by Sour Rot ...................................................... 22 Figure 17 - Crowngall Disease .................................................................................................. 23 Figure 18 – Vine´s leaf infected with phylloxera ...................................................................... 24 Figure 19 - An 1890 comic of phylloxera / getty ..................................................................... 24 Figure 20 - Place of the Reference Model (Ostrowski 2011) in DS .......................................... 26 Figure 21 -MS Azure explanation of IoT Solution Architecture ............................................... 28 Figure 22 - Phisycal architecture .............................................................................................. 28 Figure 23 - IoT Architecture for early detection of Powdery and Downy Mildew diseases .... 29 Figure 24 – Raspberry Pi 4 ........................................................................................................ 30 Figure 25 – Left: Sensor´s cable and body. Right: Lens of Color Sensor .................................. 31 Figure 26 – Color Sensor component ....................................................................................... 31 Figure 27 - Proximity sensing range ~2cm - ~36cm ................................................................. 32 Figure 28 – PT-1000 temperature sensor ................................................................................ 32 Figure 29 - pH Sensor body ...................................................................................................... 33 Figure 30 - pH Sensor ............................................................................................................... 33 Figure 31 - Humidity Sensor body ............................................................................................ 34 Figure 32 - Powdery Mildew better weather condition .......................................................... 35 Figure 33 - Downy Mildew better condition to develop .......................................................... 36 vi LIST OF TABLE Table 1 All Varieties permitted in Portugal (Source: Ministério da Agricultura, DGAV - Direção- Geral de Alimentação e Veterinária) .................................................................................. 5 vii LIST OF ABBREVIATIONS AND ACRONYMS AI Artificial Intelligence CNVV Catálogo Nacional de Variedades de Videira DSR Design Service Research GDP Gross Domestic Product IPM Integrated Pest Management IoT Internet of Things IS Information Systems MS Microsoft 1 1. INTRODUCTION 1.1 CONTEXT Portugal is a country with 40.39% of territory reserved for agriculture activities according with the Trading Economics ("Portugal Agricultural Land Percent Of Land Area", 2019), and a method to at least maintain this crops+, is a good way to prevent any decrease in this production, but can also improve this one. Agriculture in Portugal is a 832.70 EUR Million market, in the fourth quarter of 2018, as it can be seen this very recently data show how important is this sector. Agriculture GDP in Portugal averaged 822.82 EUR Million from 1995 until 2018 ("Statistics Portugal - Web Portal", 2019). With the Portuguese production of grapes to do wines increased 11.29% between 2016 and 2017, that represents 800,738 and 896,089 crops ("Portugal GDP From Agriculture | 2019 | Data", 2019), but in 2018 Vineyards presented a considerable decrease, with 700,000 crops made. The vineyards representing, 12.09% of total crops in all types of agricultural products. 1.2 MOTIVATION In the last year was the lowest wine production in the last two decades, because the resultants weak pollination, phytosanitary problems and the big heat wave in last August. In the specific case of vineyards, the problems extension was quite big, and almost all vineyards regions was affected causing this reduction crops, that was 2 million of hectoliters ("Statistics Portugal - Web Portal", 2019). Because of this system that can help the predictive analyses of this phytosanitary problems probably will increase the harvest and quality of grapes. In Portugal exists, approximately, two thousand wine productors, each of them can really appreciate if a system could identify any threat of production of them. In addition to that this system can really help the country amounts of money exporting to the international wine market. The opinion of some of the most important producers are that this system can help them not only in the early identification of diseases and treat the vineyards but also can improve the understanding about this plantation and help to improve which kind of interactions between the needs of the field and what the producers give them to grow. This study can also extend the knowledge of the oldest way to produce food, agriculture. How was presented, this study has a practical application. 1.3 STUDY OBJECTIVES The main objective of this work is to propose an Internet of Things Information System Architecture for the early detection of diseases in vineyards using sensors, to detect and identify the diseases as soon as possible. But there are some others intermediate objectives which are so important as the big one, as follow: 1. To study grapes varieties in Portugal; 8 Fernão Pires B White «Maria Gomes (PT)» Fernão Pires Rosado R R Ferral T Red Folgasão B White Folgasão Roxo R R Folha de Figueira B White «Dona Branca (PT)» Fonte Cal B White Galego T Red Galego Dourado B White Generosa B White Gonçalo Pires T Red Gouveio B White «Godello (ES)» Gouveio Estimado B White Gouveio Preto T Red Gouveio Real B White Gouveio Roxo R R Grangeal T Red Granho B White Jaen T Red «Mencia (ES)» Jampal B White Labrusco T Red Lameiro B White Larião B White Leira B White Listrão B White Loureiro B White Lourela T Red Lusitano T Red Luzidio B White Malandra T Red Malvarisco T Red Malvasia B White Malvasia Babosa B White Malvasia Branca B White Malvasia Cabral R Red Malvasia Cândida B White «Malvasia di Lipari (IT)» Malvasia Cândida Roxa R Red Malvasia de São Jorge B White Malvasia Fina B White «Bual (PT)», «Boal (PT)»; Malvasia Fina Roxa R Red Malvasia Parda B White «Farinheira (PT)» Malvasia Preta T Red Malvasia Preta Roxa R Red «Pinheira Roxa (PT)» 9 Malvasia Rei B White «Palomino (CY)»;«Listan B (FR)»;«Palomino Fino (ES)»;«Listán Blanco de Canarias (ES)»; Malvoeira B White Manteúdo B White Manteúdo Preto T Red Marquinhas B White Marufo T Red «Mourisco Roxo (PT)» Melhorio T Red Melra T Red Mindelo T Red Monvedro T Red Moreto T Red Moscargo T Red Moscatel de Alcobaça B White Moscatel de Hamburgo T Red «Moscato d'Amburgo (IT)»; «Muscat de Hambourg N (FR)»; «Muškat Hamburg (SI)» Moscatel Galego Branco B White «Muscat á Petits Grains B (FR)» Moscatel Galego Roxo R R «Muscat á Petits Grains Rg (FR)»;«Moscatel Roxo (PT)» Moscatel Galego Tinto T Red Moscatel Graúdo B White «Moscatel de Setúbal (PT)»; «Muscat d'Alexandrie B (FR)»; «Damaszener Muskat (AT)»;; «Müscat of Alexandria (CY)»;; «Moscatel de Alejandria (ES)»;; «Moschato Alexandrias B (EL)»;; «Moscato di Alessandria (MT)»; Moscatel Nunes B White Mourisco T Red Mourisco Branco B White Mourisco de Semente T Red Mourisco de Trevões T Red Mulata T Red Naia B White Negra Mole T Red Nevoeira T Red Padeiro T Red Parreira Matias T Red Patorra T Red Pé Comprido B White Pedral T Red Perrum B White Pexém T Red Pical T Red «Piquepoul Noir (FR)» Pilongo T Red Pintosa B White Praça B White Preto Cardana T Red 10 Preto Martinho T Red Primavera T Red Promissão B White Rabigato B White Rabigato Franco B White Rabigato Moreno B White Rabo de Anho T Red Rabo de Lobo T Red Rabo de Ovelha B White Ramisco T Red Ratinho B White Ricoca T Red Rio Grande B White Roal R R Rodo T Red Roseira T Red Roupeiro Branco B White Roxo Flor R R Roxo Rei R R Rufete T Red «Tinta Pinheira (PT)» Samarrinho B White «Budelho (PT)» Santareno T Red São Mamede B White Sarigo B White Seara Nova B White Sercial B White «Esgana Cão (PT)» Sercialinho B White Sevilhão T Red Sezão T Red Síria B White «Roupeiro (PT)»;«Códega (PT)» Tália B White «Ugni Blanc B (FR)»; «Trebbiano Toscano B (IT)» Tamarez B White «Molinha (PT)» Terrantez B White Terrantez do Pico B White Tinta Aguiar T Red Tinta Aurélio T Red Tinta Barroca T Red Tinta Caiada T Red « Tinta Lameira (PT)»; «Pau Ferro (PT)»; Tinta Carvalha T Red «Carcajolo N (FR)» Tinta da Barca T Red Tinta de Alcobaça T Red «Alcoa (PT)» Tinta de Lisboa T Red «Bastardo Tinto (PT)» Tinta Fontes T Red Tinta Francisca T Red 11 Tinta Gorda T Red Tinta Grossa T Red «Carrega Tinto (PT)» Tinta Martins T Red Tinta Mesquita T Red Tinta Miúda T Red «Graciano (ES)» Tinta Negra T Red «Molar (PT)»;«Morrastel (FR)»:«Saborinho (PT)» Tinta Penajóia T Red Tinta Pereira T Red Tinta Pomar T Red Tinta Tabuaço T Red Tintem T Red Tintinha T Red Tinto Cão T Red Tinto Pegões T Red Touriga Fêmea T Red Touriga Franca T Red Touriga Nacional T Red Trajadura B White «Treixadura (ES)» Transâncora T Red Trigueira R R Trincadeira T Red «Trincadeira Preta (PT)»:«Tinta Amarela (PT)»; Trincadeira Branca B White Trincadeira das Pratas B White Triunfo T Red Uva Cão B White Uva Cavaco B White Valbom T Red Valdosa T Red Varejoa T Red Vencedor B White Verdelho B White Verdelho Roxo R R Verdelho Tinto T Red Verdial Branco B White Verdial Tinto T Red Vinhão T Red «Sousão (PT)» Viosinho B White Vital B White Xara T Red Zé do Telheiro T Red Total 269 12 As it can be seen, the red wines are the majority when compared to the white and roses grape, 131 red vines, 121 white vines and 17 rose wines. Regions According to Wine Tourism Portugal Web Site, although shrouded in many doubts and myths, it is thought that the vine was first cultivated in the Tagus and Sado valleys, around 2000 BC, by the Tartessian. Throughout the Phoenician era, around the 10th century BC, until the 7th century BC, when the Greeks settled in the Iberian Peninsula and developed viticulture, and then the Celts in the 6th century BC, with whom the vineyard was already familiar, brought for the Peninsula the varieties of vines they cultivated. In other words, the history of wines in Portugal is as old as the history of Portugal itself. In a recent period of this history, in the 19th century, a dark season for viticulture set in the phylloxera plague, which first appeared in the Douro region around 1865, spread quickly all over the country, devastating almost all the wineries’ regions. In 1907/1908, the process of official regularization of several other appellations of Portuguese origin began. In addition to the region producing Port Wine and Douro table wines, other regions whose wines were already famous began to demarcate themselves: Madeira, Moscatel de Setúbal, Carcavelos, Dão, Colares and Vinho Verde. Currently, 33 Denominations of Origin and 8 Geographical Indications are recognized and protected throughout the Portuguese territory. All regions In Portugal produces grapes for wines, from north to south, from east to west, and each of them has an specific climate, humidity, temperature and solar exposition. The continental regions are Minho, Trás-os Montes, Douro e Porto, Terras de Cister, Beira, Atlântico, Terras da Beira, Terras do Dão, Tejo, Lisboa, Península de Setúbal, Alentejo and Algarve. And the islands regions are Azores and Madeira, as we can see in the image below. 13 Figure 4 – Map of types of grapevine per region in Portugal. (Source https://www.winesofportugal.com/us/travel-wine/wine-regions/) 14 Vineyards Diseases and his Types As any other type of plant, the Vineyards can be sick, and these diseases are caused by some reasons. It can be a virus, a bacterium, some fungal can cause other disease or some pests can damage a vineyard. In this chapter the disease and his types will be detailed. Accurate and fast identification those diseases in the vineyard is the main action that should be done, to prevent the risk of losses in yield and the quality of grapes. “The first step in an effective pest management program is correct identification of the disease” (Carisse, Bacon, Lasnier, & McFadden-Smith, 2016). 2.1.4.1. Fungal diseases In viticultural environment the fungal diseases are known as rottenness, and they can cause decay of the fruit and/or of the leaves. In Europe some fungal are no rare and are very known, as Downy Mildew (Plasmopara viticola), Powdery Mildew (Erysiphe necator), Gray Mold / Botrytis (Botrytis cinerea), Dead Arm, Black Rot, Phytoplasma (Doman, 2015). Is all about fungus but they differ to each other. In the next pages will be shown more details of those diseases. Downy Mildew Scientific Name: Plasmopara viticola According to Integrated Pest Management (IPM) sector of Ontario Ministry of Agriculture (“Ontario Crop IPM,” n.d.), this disease can be identified analyzing the leaves, shoots, rachis and berries. In the leaves I can be found a roughly circular yellowish discolorations, called “oil spots”, a white fluffy growth primarily on the lower leaf surface, they can also turn brown from the center outward as lesions age, and they can drop when they are severally infected. In the infected shoot can turn into tips curl (“shepherd’s crook”) and covered with white fluffy sporulation. The rachis with severe infections will cause itself a twist like a corkscrew and the entire surface can be covered with sporulation. In the berries, it can happen a white fluffy sporulation when shot size, it may shrivel and drop off, the berries infected when smaller size, 3 to 5 millimeters, will turn color prematurely, those of white cultivars acquire a mottled appearance and they stay hard when healthy berries start to soften at veraison. The cycle of Downy Mildew starts from the end of the summer to autumn the Oospores are formed, from the mycelium inside the leaves, shoots or berries. During the autumn when the leaves and bunch parts fall, the Oospores goes with them and that infected part they hibernate and spread in the soil for 3-5 years (possibly up to 10 years) (Taylor, 2021). 15 Figure 5 – Leaf of grapevine with Downy Mildew disease (Source: https://www.agric.wa.gov.au/table-grapes/downy-mildew-grapevines?page=0%2C1) Figure 6 – Berries of grapevine sick by Downy mildew (Source: http://www.omafra.gov.on.ca/IPM/english/grapes/diseases-and-disorders/downy.html) 16 Figure 7 – Difference between Downey Mildew and Powdery Mildew. (Source: https://plantix.net/en/blog/controlling-downy-mildew) Powdery Mildew Scientific Name: Erysiphe necator (previously Uncinula necator) The identification of powdery mildew turns easier when on all tissues, it looks like a greyish-white (“Ontario Crop - Integrated Pest Control,” n.d.)powder. In the leaves is frequently first found on the undersides, in the other hand on the upper sides of leaves the lesions become visible. In case of the disease is left unchecke, the number and size of leaves can increase. In a fast-growing leaf, infections on the underside may cause the leaves to appear puckered on top, in case of occur in infected leaves may become brittle and drop off. On the shoots a greyish white, develop into brown irregular blotches, they grow up to a few centimeters and indistinct margins and remain visible after shoot hardening. The Rachis can become brittle and clusters can drop easily. The Berries can become covered by conidia, an initial floury can appear and in severe cases can become darker, the berries can dry and drop. 17 Figure 8 - Powdery mildew on the upper side of a grapevine leaf (left) and downy mildew spores on the underside of a leaf (right). Matt Clark, University of Minnesota. (Source: https://americanvineyardmagazine.com/post-harvest-disease-management-for-grapevine-downy- powdery-mildew/) Gray Mold The most common disease phase is the infection of ripe berries and also the most destructive, they become watery and soft. The white grape become shriveled and with a brown color, and the red ones develop a reddish color. Under high humidity weather, the berries usually become with a gray cover growth of fungus mycelium. Not all the berries are always infected, it can one, two, or the entire bunch. In general, when healthy berries touch the infected ones, they will become infected. In the leaf this infection begins as light green patches, commonly surrounded by a vein, this spots quickly turn into rotten tissue (“Ontario Crop - Integrated Pest Control,” n.d.). Figure 9 - Botrytis bunch rot of grape. (Source: https://ohioline.osu.edu/factsheet/plpath-fru-03) 24 Figure 18 – Vine´s leaf infected with phylloxera (Source: https://www.winemag.com/2019/05/02/wines-worst-enemy-phylloxera/) In Portugal, the pest also devastated hectares of vineyards. Below is an illustration from the period of a French newspaper. Figure 19 - An 1890 comic of phylloxera / getty 25 2.2 TECHNOLOGIES FOR THE EARLY DETECTION OF DISEASES IN VINEYARDS 2.2.1 Overview To try to understand in how the disease can be identified and, in the future, how it can be predicted, Internet of Things devices will be used to generate more quality data to be analyzed and used into a Artificial Intelligence algorithms. 2.2.2 Internet of Things By definition, “the Internet of Things is the concept of connecting any device to the Internet and to other connected devices.”(Clark, 2016). The IoT is a network who connect everything that could connect or to be connected respond with a unique identifier, every point may collect and spread data across this net. This data is essentially about the environment around these own devices. For this study it is necessary to understand that the actual agriculture needs on a many of physical measurement. “This is achieved through the use of sensors and IoT networks in farming. Based on this research, sensors in farming are mainly used to measure characteristics in soil, plants, atmosphere, and water.”(Seeds of Silicon: Internet of Things for Smallholder Agriculture MIT D-Lab Comprehensive Initiative on Technology Evaluation Massachusetts Institute of Technology i, n.d.). “The IoT has the purpose of providing an IT-infrastructure facilitating the exchange of “things” in a secure and reliable manner, i.e. its function is to overcome the gap between objects in the physical world and their representation in information systems.” (Weber & Weber, 2010), so it can be applied on almost everything that people do. For example, if the alarm clock is connected in a network, can be programable to trigger an event when is deactivated and send an instruction to a coffee machine, that are also connected, starts make a cappuccino. If there a t-shirt that send an alert to a doctor when the user´s body reach 40ºC, is that another example. 26 3. METHODOLOGY 3.1 DESIGN SCIENCE RESEARCH METHODOLOGY The chosen methodology for this thesis is Design Science Research methodology for IS, that can be interpreted as a way “that seeks to deliver new and innovative artefacts” developed and constructed from knowledge of science itself (Baskerville, Kaul, & Storey, 2018). DSR also “support a pragmatic research paradigm promoting the creation of artifacts to solve real-life problems” (Prat, Comyn- Wattiau, & Akoka, 2014). There exist two laws in DSR according (Horváth, 2007) and (Baskerville et al, 2015): the first one define the utilization of the new knowledge to solve problems, generate new changes or upgrade a solution that already exists. The second, to bring new expertise, perceptions and theorical concise explanations (Pello, 2018). Likewise, Ostrowski et al. (2012) , (Lapão, da Silva, & Gregório, 2017) amd (Peffers, Tuunanen, Rothenberger, & Chatterjee, 2007) detail this methodology in six steps process Model. • Identify Problem & Motivation • Define Objective of a Solution • Design & Development • Demonstration • Evaluation • Communication Figure 20 - Place of the Reference Model (Ostrowski 2011) in DS 27 3.2 RESEARCH STRATEGY Step 1 – Problems & Motivations As sections 2.1.1 and 1.2, that is already explained, the problem and motivation, respectively, this first phase highlights to define and describe the main topics of those two subjects, that detail the ecosystem around the topic (Ostrowski et al., 2012; Schorr & Hvam, 2018). In this case how the viticulture fields can be defeated be a disease and how is the impact in the human survival and economy, as a motivation to this study and help to solve the problem. Step 2 – Objectives & Sub-Objectives Identification The second stage aim to identify clear objectives of this research. It is recommended to identify the sub-objectives, which will help, on reaching the main one, as a step-by-step list. This information is presented in section 1.3. As described the prior objective of this dissertation is to propose an IoT IS Architecture, capable to identify the diseases before they kill the vine. The intermediate objectives which are also part of the thesis scope are (1) to study grapes varieties in Portugal, (2) to study the most common vineyard diseases and his types, (3) to study how these diseases can be detected, (4) to study the most IoT devices. They are all detailed in Chapter 2, and sub-chapter-. Step 3 – Design & Development (of the IS Artefact) The third stage is focused to solve to the problem under analysis, by building the IS artefact. Throughout the literature review, may be possible to understand there is a great concern on the student investigator to detail all the information about vineyards, Portuguese grapes variety and his types, the IoT generalization and all the detail to context the reader. Step 4 – Demonstration of the Artefact In this fourth activity, the artifact was shared and presented to the advisor, all the sensors and what they measure, how they work together, and how the data flows across systems, until the final user access the data, to support their decision. Step 5 – Evaluation of the Artefact The evaluation phase will take place by running some interviews after the demonstration, the last step. During this stage, some activities can be done to improve the proposed architecture, such as the inclusion of the Step 6 – Communication of the Results The object of the last stage is communicate the results of this thesis and of the developed artefact. As known this dissertation can be presented to Nova IMS as a partial requirement for obtaining the Master’s degree in Information Management. 28 4. AN ARCHITECTURE FOR THE EARLY DETECTION OF DISEASES IN VINEYARDS In this chapter is proposed an innovative architecture for the early detection of diseases in vineyards using IoT sensors and AI, to support all seed-to-harvest cycle, to help the increase of grape’s quality, threat early as possible the diseases. 4.1 ARCHITECTURE DESCRIPTION Before describing the proposal architecture, a simple model is presented as an example to an IoT solution architecture. The idea is to explain how IoT devices interact with the IoT Platform by commands and events and, after that, how can integrate with an application. Figure 21 -MS Azure explanation of IoT Solution Architecture Figure 22 - Phisycal architecture 29 Figure 23 - IoT Architecture for early detection of Powdery and Downy Mildew diseases 30 4.2 DATA FLOW The data flow starts in Sensors, IoT devices, goes to raspberry, then a server to store and analyze the collected data. The IoT devices: Color sensor cameras, temperature sensor, pH soil sensor and humidity sensor. That data flows into the vineyard´s IoT Devices to the server. The raspberry collect data from sensor and send execution algorithms on them, after collecting these data, they are sent to the Azure IoT Hub. The Azure IoT Hub sends data through Azure Functions, that follow the data to Azure Data Explorer, in that point the data can follow to Azure Databricks to analyze, classify and update deep learning models. From Azure Data Explorer it can also be connected to a Power BI instance to present the Dashboard to almost real-time statistics graphics. From Azure Functions the operational transactions can be done throw a custom app, that can be access by a user. 4.3 COMPONENTS To detect those plant changes, a list of specialized IoT sensors was proposed to be used. A color sensor, digital temperature sensor, ph soil sensor and humidity sensor. All these sensors are from a environmental robotics company, Atlas Scientific, and are very precise when well calibrated and configured. Raspberry Figure 24 – Raspberry Pi 4 The raspberry will connect all sensor and deliver the data to the cloud part. It is an important phase, to connect the two worlds, it wll be responsible to send the sensors data to a cloud server to 31 continuous the process. It is also responsible, not only to receive the sensors data, but also to execute commands on them. Color Sensor The color sensor will be responsible to detect the color in RGB codes. The purposed sensor model is EXO-RGB, and in the follow images it is possible to see how it is physically arranged, the white leds, that used for illumination, Infrared sensor and, in the center, the sensor itself. Figure 25 – Left: Sensor´s cable and body. Right: Lens of Color Sensor (Source: Atlas Scientific - https://atlas-scientific.com/files/EZO_RGB_Datasheet.pdf) Figure 26 – Color Sensor component (Source: Atlas Scientific - https://atlasscientific.com/files/EZO_RGB_Datasheet.pdf) This sensor is the most important sensor in this architecture, it is responsible to detect the changes of color in a leaf, for example. This sensor has an interesting feature, that can be programmable for color matching, and it can be very useful in a very wide different grapevine. As described in documentation and how can be deducted by the part of the name “RGB”, this sensor can detect colored light in the red, green and blue spectrum. It is at least sensitive to blue light and most 32 sensitive to red light and works form a range from 2cm up to 36 cm distance, and how closer more precise it will be the color detected. Figure 27 - Proximity sensing range ~2cm - ~36cm (Source: Atlas Scientific - https://atlasscientific.com/files/EZO_RGB_Datasheet.pdf) For accuracy data this sensor must be in the range presented, and the producer company strongly advice that his sensor must be mounted in a fixed location to better performance. Temperature Sensor The Temperature Sensor that is used in this use case is the model PT-1000, and it can be used in the soil. It is built for the temperature range from -200ºC to 850ºC, so it fits perfectly to this purpose. The reaction time is 13 seconds, with the accuracy 90% regarding producer. For this study it will be used a 30 second time duration to ensure more effectiveness. Figure 28 – PT-1000 temperature sensor (Source: Atlas Scientific - https://atlasscientific.com/files/PT-1000-probe.pdf) 33 It will be study the temperature proximity of the level ground10 and 20 centimeters above the ground. Lab Grade pH To measure the pH of the soil, it will be consider the generation 2 of Lab Grade pH Probe model, with double junction silver and silver chloride with EXR glass. This equipment range can variety from 0 to 14 value of pH and have a real quick response time of 1 second, delivering a value with 945% of accuracy. Figure 29 - pH Sensor body (Source: Atlas Scientific - https://atlas-scientific.com/files/pH_probe.pdf) Figure 30 - pH Sensor (Source: Atlas Scientific - https://atlas-scientific.com/files/pH_probe.pdf) 40 Ontario Crop Integrate Pest Management (n.d.-b). Retrieved Jun 30, 2021, from http://www.omafra.gov.on.ca/IPM/english/grapes/diseases-and-disorders/downy.html Ostrowski, Lukasz and Helfert, Markus, "Reference Model in Design Science Research to Gather and Model Information" (2012). AMCIS 2012 Proceedings. 3. https://aisel.aisnet.org/amcis2012/proceedings/SystemsAnalysis/3 Pawara, P., Nawale, D., Patil, K., & Mahajan, R. (2018). Early Detection of Pomegranate Disease Using Machine Learning and Internet of Things. 2018 3Rd International Conference For Convergence In Technology (I2CT). Pello, Rauno (2018, October 31). Design science research — a short summary | by Rauno Pello | Medium. Retrieved July 30, 2021, from https://medium.com/@pello/design-science-research-a- summary-bb538a40f669 Peffers, Ken, Tuunanen, Tuure, Rothenberger, Marcus A., & Chatterjee, Samir (2007). A design science research methodology for information systems research. Journal of Management Information Systems, 24(3), 45–77. https://doi.org/10.2753/MIS0742-1222240302 Pests & Diseases | Plantix (n.d.-a). Retrieved Jun 2, 2021, from https://plantix.net/en/library/plantdiseases Pests and Diseases (n.d.). Retrieved July 1, 2021, from https://www.cawg.org/Wine1/Resources/__Pests___Diseases/Shared_Content/Resources/Gro wer_Resources/Pests_and_Diseases.aspx?hkey=bdc924c8-92f9-4c90-a4dd-9e6fbc050657 PORDATA - Main crops area - Vineyard. (2019). Retrieved from https://www.pordata.pt/en/Portugal/Main+crops+area-3352-303481 Portugal GDP From Agriculture | 1995-2020 Data | 2021-2023 Forecast | Historical (2021, March 8). Retrieved March 8, 2021, from https://tradingeconomics.com/portugal/gdp-from-agriculture Portugal Agricultural Land Percent Of Land Area. (2019). Retrieved from https://tradingeconomics.com/portugal/agricultural-land-percent-of-land-area-wb-data.html Powdery Mildew of Grape | Pests & Diseases (n.d.). Retrieved Jun 20, 2021, from https://plantix.net/en/library/plant-diseases/100208/powdery-mildew-of-grape Prat, Nicolas, Comyn-Wattiau, Isabelle, & Akoka, Jacky (2014). ARTIFACT EVALUATION IN INFORMATION SYSTEMS DESIGN-SCIENCE RESEARCH – A HOLISTIC VIEW. PACIS 2014 Proceedings. Retrieved from https://aisel.aisnet.org/pacis2014/23 Press, Jordan (n.d.). Atlas Scientific EZO HUM Datasheet. Retrieved July 8, 2021, from https://atlasscientific.com/files/EZO-HUM-Datasheet.pdf Russel, G.E. (1978). Plant Breeding for Pests and Disease Resitance. Butterworth & Co. Saguez, (Ph.D.) Julien, Olivier, (Ph.D.) Chrystel, Lasnier, Jacques, Hamilton, (Ph.D.) Andy, Stobbs, (Ph.D.) Lorne, & Vincent, (Ph.D.) Charles (2015). logy and integrated management of 41 leafhoppers and phytoplasma diseases in vineyards of eastern Canada. Retrieved Dez 21, 2020, from https://publications.gc.ca/collections/collection_2015/aac-aafc/A59-32-2015-eng.pdf Sankaran, S., Mishra, A., Ehsani, R., & Davis, C. (2010). A review of advanced techniques for detecting plant diseases. Computers And Electronics In Agriculture, 72(1), 1-13. Seeds of Silicon: Internet of Things for Smallholder Agriculture MIT D-Lab Comprehensive Initiative on Technology Evaluation Massachusetts Institute of Technology i (n.d.). Retrieved from www.feedthefuture.gov Statistics Portugal - Web Portal. (2019). Retrieved from https://ine.pt/xportal/xmain?xpid=INE&xpgid=ine_destaques&DESTAQUESdest_boui=31514996 2&DESTAQUESmodo=2 Symptoms | WSU Viticulture and Enology | Washington State University (n.d.). Retrieved July 29, 2021, from http://wine.wsu.edu/extension/grapes-vineyards/grape-diseases/virusdiseases/symptoms/#gld Systems, Australasian Association for Information, McGrath, Michael, & Kerr, Don (2016). Australasian Journal of Information Systems. Australasian Journal of Information Systems, 20. https://doi.org/10.3127/AJIS.V20I0.1482 Taylor, Andrew (2021, May 4). Downy mildew of grapevines | Agriculture and Food. Retrieved July 30, 2021, from https://www.agric.wa.gov.au/table-grapes/downy-mildew- grapevines?nopaging=1 Teixeira, J.G., Patrício, L. and Tuunanen, T. (2019), "Advancing service design research with design science research", Journal of Service Management, Vol. 30 No. 5, pp. 577-592. https://doi.org/10.1108/JOSM-05-2019-0131 Tripathi, M., & Maktedar, D. (2016). Recent machine learning based approaches for disease detection and classification of agricultural products. 2016 International Conference On Computing Communication Control And Automation (ICCUBEA). Understanding Vineyard Pests and Diseases | SevenFifty Daily (n.d.-a). Retrieved May 20, 2021, from https://daily.sevenfifty.com/understanding-vineyard-pests-and-diseases/7 Weber, Rolf H., & Weber, Romana (2010). Internet of things: Legal perspectives. Internet of Things: Legal Perspectives, 1–135. https://doi.org/10.1007/978-3-642-11710-7 Page | i