• No results found

Paddy disease identification and vector control system (PADICS)

N/A
N/A
Protected

Academic year: 2021

Share "Paddy disease identification and vector control system (PADICS)"

Copied!
24
0
0

Loading.... (view fulltext now)

Full text

(1)

PADDY DISEASE IDENTIFICATION AND VECTOR CONTROL SYSTEM (PADICS)

YUSNANI B1NTI YUSUF

A report submitted in partial fulfilment of the requirements for the award

of the degree of

Bachelor of Computer Science (Software Engineering)

Faculty of Computer Systems & Software Engineering Universiti Malaysia Pahang

- PER PUSThKAN" UNIVERSI1 MALAYSIA PAHANG No. Peroehan No. Panggilan

0686- 66

Tarkh ° '

(2)

ABSTRACT

Agriculture is important resources in providing food and drink to human society. Paddy is a main sector in national agricultural development. Paddy production in Asian is widely effected by paddy diseases and also attacked by a number of insect pests. The identifications of disease are the difficult task. If the diseases identified timely, the control measures can be applied effectively. The objectives to develop the system are: (1) To apply the rule based an expert system technique for paddy production that covers paddy disease and the best pesticide based on paddy disease and (2) To develop a web-based prototype for paddy disease diagnosis. The system aims to provide a guide to identify the paddy disease and also recommended of disease control related to the disease. The system has been tested and result given by the system has been validated with domain expert. Technique that used in the system is rule-base expert system because the production rules have the uniform IF-Then structure that make the system is easier to develop and the methodology is Rapid Application Development (RAD).

Key words: Agriculture, Expert System, Paddy, Disease, Pesticide

(3)

ABSTRAK

Pertanian adalah sumber penting dalam penyediaan makanan dan minuman untuk manusia. Padi merupakan sektor pertanian yang amat penting di Negara kita. Pengeluaran padi di Asia amat meluas namun seringkali dipengaruhi oleh penyakit padi dan juga diserang oleh serangga perosak. Untuk mengenalpasti penyakit amatlah sukar oleh golongan petani. Namun, jika kita dapat mengenalpasti lebih awal, pelbagai kawalan akan dapat dilaksanakan dengan segera. Sistem Mengenalpasti Penyakit dan Kawalan Vektor Pokok Padi dibangunkan bertujuan untuk membantu para petani mengenalpasti penyakit padi dan serangga perosak serta membantu golongan mi untuk membuat keputusan berkenaan kawalan yang bersesuaian dengan penyakit pokok padi mereka. Objektif pembangunan si stem mi adalah untuk membangunkan Sistem Mengenalpasti Penyakit dan Kawalan Vektor Pokok Padi bagi membantu petani membuat keputusan berkenaan kawalan yang bersesuaian dengan penyakit pokok padi. Selain itu, sistem mi menggunakan teknik 'rule-based expert system' kerana penggunaan struktur IF-THEN mi akan memudahkan proses pembangunan. Bahasa yang digunakan untuk membangunkan sistem mi adalah bahasa pengaturcaraan PHP kerana kebolehanya untuk menyokong pengunaan MySQL sebagai pangkalan data. Manakala, kaedah yang digunakan dalam membangunkan Sistem Mengenalpasti Penyakit dan Kawalan Vektor Pokok Padi adalah 'Rapid Application Development' (RAD).

(4)

TABLE OF CONTENTS

CHAPTER TITLE PAGE

SUPERVISOR'S DECLARATION ii DECLARATION iii DEDICATION iv ACKNOWLEDGEMENT v ABSTRACT vi ABSTRAK vii

TABLE OF CONTENTS viii

LIST OF TABLES xii

LIST OF FIGURES xiii

LIST OF ABBREVIATIONS xv

LIST OF APPENDICES xvi

INTRODUCTION 1 1.1 Introduction 1 1.2 Problem Statement 2 1.3 Objectives 3 1. Scopes 3 1.5 Thesis organization 4 2 LITERATURE REVIEW 5 2.1 Introduction 2.2 Background 2.2.1 Expert in Agriculture 7

2.3 Studies on Existing System 8

(5)

2.3.1 Expert System For Paddy Production Management 8 2.3.2 Web based Expert System for Diagnosis of Micro 9

Nutrients Deficiencies in Crops

2.3.3 AMRAPAL1KA: An Expert System for the 10 Diagnosis of Pests, Diseases and Disorders in

Indian Mango

2.3.4 Dr. Wheat: A Web-based Expert System for 10 Diagnosis of Diseases and Pests in Pakistani

Wheat

2.3.5 Image Based Rapeseed- Mustard Disease Expert 11 System

2.3.6 An Expert System for diagnosis of disease in 12 Rice Plant

2.4 Study on Techniques 13

2.4.1 Rule - Based Expert System 13

2.4.2 Frame - Based System 14

2.4.3 Model- Based System 14

2.4.4 Hybrid systems 15

2.4.5 Ready-Made System 15

2.4.6 Real Time Expert System 15

2.5 Methodology in Expert System 16

2.5.1 ESTA shell 17

2.5.2 E2gLite shell 17

2.5.3 KROLL shell 17

2.5.4 KADS methodology 18 2.5.5 Generic Task methodology 18 2.6 Expert System Programming Language 19 2.6.1 PROLOG Programming Language 19 2.6.2 LISP Programming Language 20 2.6.3 Web Scripting Programming Language 20

2.7 Conclusion 21

3 METHODOLOGY 22

3.1 Introduction 22

(6)

3.2 Rapid Application Development 23 3.2.1 Planning 24 3.2.2 Iterative Process 25 3.2.3 Document Requirement 25 3.2.4 Design 25 3.2.4.1 System Design 25 3.2.4.2 Interface Design 25 3.2.4.3 Database Design 30

3.2.4.3.1 Disease rule Table 31 3.2.4.3.2 Disease type Table 31 3.2.4.3.3 Pesticide Table 32 3.2.4.3.1 Admin. Table 32

3.2.5 Build 33

3.2.6 Testing 33

3.2.6.1 Black Box Testing 33

3.2.7 User Review 33

3.2.8 Joint Application Design 34

3.2.9 Deploy 34

3.3 Software and Hardware Requirements 35

3.3.1 Software Requirements 35 3.3.2 Hardware Requirements 36 4 IMPLEMENTATION 37 4.1 Introduction 37 4.2 System Implementation 37 4.2.1 Database Architecture 38 4.2.2 Connection to database 38 4.2.3 PADICS Interface 39 4.2.4 Coding Structure 44

4.2.4.1 Connectivity with all interface 45

4.2.4.2 Diagnosis 47

4.2.4.3 Calculate 48

4.2.4.4 Generate Result 50

4.3 Conclusion 53

(7)

xi

5

5.8

6

RESULT AND DISCUSSION 54

5.1 Introduction 54

5.2 Result Analysis 54

5.3 Result of the System 55

5.3.1 Diagnosis Page 55

5.3.2 Generate Result 56

5.4 System Testing 57

5.5 User Acceptance Testing 57

5.6 Validation Testing 57

5.7 Advantages and Disadvantages 58

Future Work 58 5.9 Conclusion 59 CONCLUSION 60 REFERENCES 62 APPENDIX A 66 APPENDIX B 68 APPENDIX C 70 APPENDIX D 97 APPENDIX E 101 APPENDIX F 109

(8)

XII

LIST OF TABLES

TABLE NO. TITLE PAGE

2.1 Paddy Production Target 6

3.1 Data Dictionary for disease rule Table 31

3.2 Data Dictionary for disease_type Table 31

3.3 Data dictionary for pesticide Table 32

3.4 Data dictionary for admin Table 32

3.5 List of the software used in system 35

(9)

LIST OF FIGURES

FIGURE NO. TITLE PAGE

3.1 Rapid Application Developement Model 24 3.2 Activity Diagram for Paddy Disease Identificatin and Vector 26

Control System

3.3 Use Case of Paddy Disease Identificatin and Vector 27 Control System

3.4 Sequence Diagram for Paddy Disease Identificatin and Vector 28 Control System

3.5 Interface of diagnosis in Paddy Disease Identificatin and Vector 29 Control System

3.6 Entity Relationship Diagram Paddy Disease Identificatin and 30 Vector Control System

4.1 SQL Command to connect to "esdap" database for PADICS 38 4.2 SQL Command to include function connection into web page 39 4.3 Main Page for Paddy Disease Identificatin and Vector 39

Control System

4.4 Interface for paddy phase 40

4.5 Iterface for "Tampng Phase: symptom 41 4.6 Result interface for the "Tampang Phase" symptom 41

4.7 Interface for Disease Info 42

4.8 Interface for Disease Control Info

4.9 Interface for Admin 43

4.10 Interface for Admin edit data 44

4.11 Main template 45

4.12 Example coding of index.php 46

(10)

4.13 Script for diagnosis in index.php 47 4.14 Script to display question in test.php 48 4.15 Script to calculate score for diagnosis 49

4.16 Script to get diagnosis score 50

4.17 Sample script to find biggest score 51 4.18 Sample script to match the diagnosis code with disease name, 52

scientific name, image, active ingredient, treatment

5.1 Homepage of PADICS 55

5.2 Generate result testing 56

(11)

LIST OF ABBREVIATIONS

PADIC - Paddy Disease Identification and Vector Control System ESTA - Expert System for Text Animation

KROL - Knowledge Representation Object Oriented Language KADS - Knowledge Analysis and Design Structuring

RAD - Rapid Application Development GUT - Graphical User Interface

GT - Generic Task

(12)

LIST OF APPENDICES

APPENDIX TITLE PAGE

A Gantt Chart 66

B List of Vector Attacked 68

C Implementation Rule Based in the System 70

D System Testing 97

E User Acceptance Test Plan 101

F Expert Acceptance Test Plan 109

(13)

CHAPTER 1

INTRODUCTION

1.1 Introduction

Agricultural production is a complex problem that involves many parameters and requires very complicated optimization and modeling steps. The overall production management problems involve, among other aspects, land preparation, water and fertilizers requirements, pest control, and variety selection. The crop production management problem also includes the lack of enough experts to support the agricultural growers, and the heavy dependence upon the experiences of these experts. This makes the choice of the expert system approach for the solution of this problem a suitable one (Edrees, et al., 2000).

Paddy Disease Identification and Vector Control System (PADICS) has been developed in consideration towards agricultural domain. This expert system gives the best disease control suggestion for farmers in Malaysia to improve Paddy productivity. The system contains two main parts namely as paddy disease and disease control part. The Paddy disease part is developed to diagnoses the problems that occurs during Paddy growing season and gives suggestion about how to control those problems. The disease control gives the suggestion on the best pesticides for the problems that occurs.

(14)

2

This system is in the collaboration work with Pahang Agricultural Department. The knowledge engineering methodology is used in the system development where the information and knowledge on Paddy diseases and pesticides are acquired from group of experts in Pahang Agricultural Department. The expert knowledge is gathered and represented in the form of production rules and frames.

1.2 Problem Statements

Around 300 paddy farmers in two areas around Simpang Empat, Kangar are afraid that their field has been the victim of a white worm disease, since more than a month ago. Nearly 60 hectares of paddy in the village was attacked by a disease not only affects the production of rice, but also fear the impact on the income of farmers this season. Pleted and the worm attacks the war not only resulted in a white rice plants died, but new trees will not grow when exposed to the two diseases (www.bharian.com.my, 2010).

From the problem statement, PADICS is proposed to solve the problem by investigating on these two questions:

L What kinds of paddy diseases?

ii. What are the best disease controls to cure the paddy disease?

So, these are some way to help the farmers to know about the paddy diseases at once could help them in the appropriate use of pesticides.

(15)

3

1.3 Objectives

The objectives of this project are:

i. To apply the rule based an expert system technique for paddy production that covers paddy disease and the best pesticide based on paddy disease

ii. To develop a web-based prototype for paddy disease diagnosis.

1.4 Scope

The scopes of the project that have been identified are:

L The system is developed for Pahang Agricultural Department

ii. The users of the system are farmers, Pahang Agricultural Department officers,

system administrators and researchers.

iii. The information of the paddy will be gathered from Pahang Agricultural Department.

iv. The system is developed for diagnosis the paddy disease.

V. The system is developed for recommendation of disease control that will be

(16)

4

1.5 Thesis Organization

This thesis consists of six chapters. Chapter one is explanation of introduction to system and research. This chapter will discuss about introduction, objectives, problem statements, and scope of the project.

Chapter two will discuss about the research for project that has been chosen. The researches divide into two that are for Current system or case study and research for technique that will be used to develop current system.

For Chapter three will be discuss on approach and overall work load to develop this system. The content consists of the approach and framework for the project that used in this system.

Implementation of process that is involved during development of this system is explained in detail in Chapter four.

The result that obtained from the implementation of the system is discussed thoroughly in Chapter five. The constraints of this project are also stated clearly in Chapter five.

2.l

Last chapter in this thesis is a conclusion which describe summary on the overall system.

(17)

CHAPTER 2

LITERATURE REVIEW

2.1 Introduction

This chapter will discuss about knowledge and understanding in project background. In addition, it also explains the researches that had been related with the existing system. Some reviews of the techniques used are also discussed in this chapter.

2.2 Background

Agriculture is important resources in providing food and drink to human society. Paddy is the main staple food for most people in Asia, especially the people of ASEAN. The scientific name of paddy is Oryza sativa. Paddy is the food that produces rice which contains nutrients and adequate enforcement of the human body, because it contained material that easily transformed into energy.

According to Collin Clark Papanek, the nutrient required by every adult is 1821 calories. When the growth is accompanied by rice, the rice is needed every day of 0.88kg. Rice contains many nutrients needed by the body, such as: carbohydrates, protein, fat, crude fiber, ash and vitamins. In addition, rice also contains several mineral elements, including calsium, magnesium sodium, etc. flispor (http://pkukmweb.ukm.my ).

(18)

Paddy sector is a main sector in national agricultural development. Average paddy production of the country at this time is 3:54 matric ton per hectare higher than Cambodia (2.05 tons matrix / ha), Thailand (2:57 matnc tons / ha), Vietnam (4.80 tons matrix / ha), Indonesia (4.52tan matrix / ha) and the Philippines at 3:55 matric tons / ha). The objective of Paddy and Rice Industry Development is to improve rice production SSL from 72.37 percent in 2005 to 90.58 percent in 2010 (httD://www.moa.gov.my). The data will show as below:

Table 2.1: Paddy production target (http:/Iwww.moa.gov.mv)

SSL paddy production target by year

Year Paddy production (million mt) SSL Target (%)

2005 2.400 72.37 2006 2.460 73.11 2007 2.610 76.28 2008 2.770 79.99 2009 2.990 85.08 2010 3.233 90.58

Paddy production in Asian is widely effected by paddy diseases like Rhizoctonia solani, Ustilaginoide virens, Zanthomonas oryzicola, Cercospora oryzae, Pyricularia oryzae, Helmintthos porium oryzae. The paddy plant is also attacked by a number of insect pests including Nephotettix Impiciticeps Ishihera, Scotinophara Coartata Thunbg, Leptocorisa acuta Thunbg, Nilaparvata lugens Stal, S podoptera maurita Boisd, Cnaphalocrocis medinalis Boisd, Nymphula depuntalis Guenee (http://pkukmweb.ukm.my ).

(19)

7

In any agricultural production system, accumulation and integration of related knowledge and information from many diverse Sources play important role. Agriculture specialists and raw experiences are the common sources to provide information that the different stakeholders require for decision making to improve agricultural production. Agricultural specialists' assistance is not always available when the need arises for their help. In recent years, tools, technologies and applications of information technologies have emerged as efficient and effective measures for up gradation of the whole agricultural fields, ranging from scientific studies to farmers help. Integration of expert system as a powerful tool for the stakeholders of agricultural production has extensive potential

tp://www.cscjournalS.Org).

2.1.1 Expert System in Agriculture

The expert system for diagnosis in general architecture domains is already being explored in several works. The applications of expert system are rapidly increasing. Such applications are very affective in situations when the domain expert is not readily available. In agriculture, applications of expert system are mainly found in the area of diseases diagnosis and pest controls. Many domain specific expert systems are being used at different levels. "AMRAPALIKA: An expert system for the diagnosis of pests, diseases and disorders in Indian mango" is an application of expert system in the agriculture domain. In this system, the expert system is developed with rule-based expert system, using ESTA (R. Prasad, et at., 2006). Another expert system "Dr. Wheat: A Web-based Expert System for Diagnosis of Diseases and Pests in Pakistani Wheat," is also an expert system. The system is for the purpose of pest and disease control of Pakistani wheat. They had developed the system with web-based expert system using e2gLite shell (F.S.Khan Khan, et al., 2008). "Web based Expert System for Diagnosis of Micro Nutrients Deficiencies in Crops" also describes application of expert system in agriculture particularly in the area of nutrient deficiencies in crops. The system is a web based system using the ServCLIPS tool (S.S.Patil, et al., 2009).

(20)

2.3 Studies on Existing System

There are an existing system related to this project that will help to understand about the expert system concept, selected technique, diagnosis concept and the benefit of the existing systems such as:

1. Expert System for Paddy Production Management

ii. Web based Expert System for Diagnosis of Micro Nutrients Deficiencies in Crops

iii. AMRAPALIKA: An expert system for the diagnosis of pests, diseases and disorders in Indian mango

iv. Dr. Wheat: A Web-based Expert System for Diagnosis of Diseases and Pests in Pakistani Wheat

V. Image Based Rapeseed-Mustard Disease Expert System: An Effective

Extension Tool (R-MDI&M)

vi. An Expert System for diagnosis of diseases in Rice Plant

2.3.1 Expert System for Paddy Production Management

Expert System for Paddy Production Management (Soliman, et at., 2000) is an expert system for diagnosis of the disease for paddy plants. It's has been gained a considerable experience in developing expert systems in agricultural domain. This knowledge based systems cover different agricultural production management problems and applied for different crops (Rafea, M, et at., 1997). The objective of this expert system is to present an expert system for paddy production that covers the tactic and strategic knowledge based systems (S. Edrees et al., 1999). The strategic part consists of variety selection, land Preparation, irrigation, and, fertilization subsystems. The tactic part consists of disorders diagnosis and treatment subsystems.

Expert system concept has been used during the development of this system. CommonlC&tS methodology (B. J. Wielinga, 1994) is used to represent the knowledge. The Paddy expert system was implemented using Knowledge Representation Object Oriented Language (KROL) shell under Windows 98 (Shaalan, et al., 1998). The benefit of this system

(21)

is giving strategic advice, which enable paddy growers to apply the right operation at the specific time. This enables users to avoid the problems that may occur during growing season. The system also solves tactic problems that may occur during growing season. It diagnoses the problems and advises users how to control these problems either by agricultural operations or chemical operations

2.3.2 Web based Expert System for Diagnosis of Micro Nutrients Deficiencies in Crops

Web based Expert System for Diagnosis of Micro Nutrients Deficiencies in Crops (S.S.Patil, et al., 2009) is a system that provides a guide to identify essential and functional plant nutrient disorders. The diagnosis process involves giving support to identify the deficiency of nutrient in the deficient part of plants. Diagnosis identification can be in leaf, stem or root.

This virtual diagnosis framework was developed using the ServCLIPS tool to support the building and the running of the expert system by web. The ServCL1PS uses the inference engine and the programming language of the CLIPS to develop the expert system. The knowledge base of this system contains production rules derived from a decision tree. This tree was generated from literature and interviews with experts in the area and the researchers. The structure and organization of the knowledge was modified in the form of the decision tree, the methods to process this knowledge were defined along with the software tool to use in the implementation of the system. The Production rules were generated from the decision tree and the experts system was implemented based on production rules (IF <effects> THEN <causes>) (S.S.Patjl, et at., 2009).

(22)

2.3.3 AMRAILI: An expert system for the diagnosis of pests, diseases and disorders in Indian mango

AMRAPALIKA (R. Prasad, et al., 2006) is an expert system for diagnosis of the most common diseases occurring in Indian mango. The objective of developing of this system is to provide computer-based support for agricultural specialists or farmers.

Expert system concept has been used during the development of this system. This system applied ruled-based expert system which used prolog based Expert System Shell for Text Animation (ESTA). The knowledge base of this system contains knowledge about symptoms and remedies of 14 diseases of Indian mango tree appearing during fruiting season and non-fruiting season. The knowledge is represented in the form of IF-THEN rules which reasoning by backward chaining. This system will make diagnosis based on the responses of the user made against queries related to particular disease symptoms. There are few steps to be followed to develop this system using ESTA which are problem identification, knowledge acquisition and knowledge representation in accordance with the syntax of ESTA (R. Prasad, et al., 2006).

2.3.4 Dr. Wheat: A Web-based Expert System for Diagnosis of Diseases and Pests in Pakistani Wheat

Dr. Wheat: A Web-based Expert System for Diagnosis of Diseases and Pests in Pakistani Wheat (F.S.Khan Khan, et al., 2008) is a web-based expert system for wheat crop in Pakistan. This system covers the main problems such as disease and pests. The expert system is intended to help the farmers, researchers and students and provides an efficient and goal-oriented approach for solving common problems of wheat. This system also constructed using e2gLiteTM expert system shell. It's allows a JAVA interface to process its input and Output sets. The system can act as a powerful tool with extensive potential in agriculture especially in situations where agriculture specialist assistance is not readily available when

(23)

11

The knowledge base for e2glite expert system shell consists of simple if-then rules. The rules are usually fired on the basis of internal logic of inference engine. Forward chaining and backward chaining techniques represent the fundamental reasoning approaches implemented in rule-based expert systems. Forward chaining is data driven whereas backward chaining is goal driven (F.S. Khan, et al., 2008).

2.3.5 Image Based Rapeseed-Mustard Disease Expert System: An Effective Extension Tool (R-MDI&M)

R-MDI&M (V. Kumar, et al., 2008) is a computerized expert tool image based Rapeseed-Mustard disease. This expert system was developed to help extension personals, researchers and farmers in identification and management of these diseases. User can easily identify the disease on the bases of photos of symptoms and text description of disease. The objective of this research is to collect information on various aspects of rapeseed-mustard diseases, preparation of knowledge base, development of an initial version of 'R-MDI&M' software and updating with new features to derive the final version.

This system is stand-alone and PC-based which uses a hierarchical classification and a mix of the text description, photographs and artistic pictures (G. Andujar, et al., 2006). The system is supported by a database containing information about 8 diseases of rapeseed-mustard and 40 color images of various symptoms. The system involves two main sub-tasks, namely, diagnosis and management. Diagnose sub-task finds out the disease and their cause on the bases of photos and clips of diseases symptoms appears on plant. Management sub-task provides a management plan for the diseases. The user-friendly software designed and developed using Visual Basic as front-end and Microsoft Access-2000 as back-end (V. Kumar, et al., 2008).

(24)

12

2.3.6 An Expert System for diagnosis of diseases in Rice Plant

An Expert System for diagnosis of diseases in Rice Plant is an application of expert system in agriculture domain. This system is developed with rule based expert system using the shell ESTA (Expert System for Text Animation). ESTA programming is based on logic programming approach in this system. This system is useful for those farmers who are not getting the agricultural specialists at any time for their help to control the problems in their rice plant.

The designed is intended for the diagnosis of common diseases occurring in the rice plant. The system integrates a structured knowledge base that contains knowledge about symptoms and remedies of diseases in the rice plant appearing during their life span. For making decision support more interactive, an image database is also integrated with the system. The intelligent system module prompts these with the interface based on rule based decision making algorithm and the picture related to disease symptoms are stored in the picture database. The results given by the system have been validated with domain experts after tested with domain dataset. The knowledge is represented in the form of IF-THEN rules which reasoning by backward chaining. It contains the logical rules that direct the expert system how to solve problem, actions to perform such as giving advice, going to other sections, calling to routines etc (http:I/www.cscjournals.or).

References

Related documents