# Proposing a New Approach to Applying Pervasive Computing In Agriculture Environments Mohammadreza Mohammadrezaei , Nima Attarzadeh A Abstract -The resource management in agriculture environments is very important. Using smart controls will be one of the most eminent ways of managing. These resources such as water and plant nutrition. In this paper researcher are going to present a special program in which provide necessary resources for growing plant by using data sensors based on environment conditions. Firstly, it is gained a few data from soil, climate and plant conditions by using sensors and made context by processing all the data. In next stage the presented approach will do its own calculations on the basis of conditions. It can be said that researchers are used fuzzy logic for calculations because of complex data. Then researchers by using actuators can make decision for environment. In this paper, because of injecting nutrition on the basis of its conditions in to soil and plant necessary, plants can frequently use suitable quanta of nutrition and ?, won't be on stress danger. : pervasive computing, agriculture environment , sensor network, fuzzy logic. # I. # INTRODUCTION he technology progress, improves its way whole the world and life. These progresses are affected in the forms of porches, relation with others, mobility from one place to another and other aspect of human life. In fact, human life is improved toward pervasive computing. This kind of calculations make an incredible situation for computers context in which while they are available and usable for people, are concealed and invisible. For gaining this point, computers must be little in accounting tools shape and put them in walls, buildings and furniture's pervasive computing may be defined as the utilization of all the computers power in physical users area, in which are invisible from users viewer. It will be main point, using computers in human life without necessary to their presentation [1] The rate of user's disorder with program and intelligently assist them. The context can be consisting of any information's in which are usable in order to create characters to a Situation/presentation. A presentation can be a person, place or an object in which are depended to relate between user and program in which consist of their owns users and programs. In fact, the pervasive computing on the basis of basic conditions making decision without human's actions. There is needed to sensors and actuator in order to relate system to area. Sensors will be a group of tools in which are able to collect every comprehension from environments conditions and situations. They usually received qualities of environment and convert into digital amounts. Actuator will be a group of tools in which are able to grant all the users wanted on the environment [2]. In this discourse reviewing the annals of research's struggles in pervasive computing on the context and also historical records of using sensors network in agriculture environments in section 2, we present fuzzy logic concepts in section3, then section4 describes methodology. In section5 we present our results and conclusions. # II. # THE ANNALS OF RESEARCHER'S ACTIVITY a) Researchers activity in pervasive computing based on context Sensors, in fact are a part of pervasive computing system based on context, in which will use them in this system in order to collect data and we are able to use this kind of calculations in different ways. In Aware-home project, researchers create an extraordinary home in which understand residents movements and assist them [3], Coal Town project, connected to? company, image a city in the future in which all the people, places, object, furniture, will introduce as the number one citizens of wireless and wire of global communications. In this visionary city, all the services and tools calculations will be context aware and available in communication network global [4]. In pervasive health care projects from Denmark Arouse university, general services will have created in or out available all the patients and physicians wanted, automatically and wisely [5], it can be said that, suggestions have been propounded [6] graphic tools have been designed by human and computers cooperation group of Cornel university by using these tools, attaching text notes from one place to another will be feasible and possible [7]. b) Hystorical records of using sensor networks in agriculture environments Firstly, sensors used in military applications but by time passing, their utilization improved. Sensor network are a group of small sensors in which insist and cooperate together in order to collect information's [8]. III. # FUZZY LOGIC These kinds of network are powerful and organized and also able to guard soil and etc. sensor networks are used in agriculture environments in order to resources management, pest controls and etc. Zhouho.Zhang could develop wireless sensor for golden house monitoring. In this network sensors are used in order to collect soil, wet, and environment temperature [9]. Aline Baggio has presented a design in order to utilize sensor network for controlling pests and used it for potato yield [10]. IV. # THE PROPOSED METHOD Methods having different information from soil will be one of the most important factors in order to make discussion about changing soil characteristics. But enabling to obtain information about cheap and fast characteristics of soil in one of the greatest limitations in agriculture part. In order to solve this problem, researchers will present a new approach for applying pervasive computing context aware in agriculture environments (PCAE). The approach for applying pervasive computing context aware in agriculture environments will be an understanding from soil and water conditions in order to grow plant. In this part, utilizing pervasive computing context aware would be explained. The utilizing pervasive computing context aware in agriculture environment and its architectural are showed in figure2 and fig. 3 In this layer, hardware sensors are placed in to layer in order to create context. It can be said that, researchers need lot of information's about soil, water and plant conditions. For that reason, are classified in three groups. b) A layer for creating context A system pervasive computing context aware needs some information's about context in order to change behavior according to information's, in order to make available context in every time. It can be assume that a compilations as the context manager will be presence by sensors. Context manager will control available situations, time by time and update different context and finally, the present material in environment will provide on intelligent atmosphere and give service more than olden time. This form of communications and calculations will be available in environment in which can be named host. In order to create context, researchers will study and research the kind of plant and climate conditions. In this layer, in which resolution subject will be available, all the calculations most be done on context aware. In this section, because of data intricate, researchers utilize fuzzy logic in order to calculate during process. After creating context, presented plan or context aware and laws, in which have been explained, the rate of necessary materials of plants are calculated and sent to actuator layer. In fact, in this layer a fuzzy logic are placed in which will control the rate of necessary materials in extern and context aware (fig. 4) fuzzy controller , all the conditions will check and select, according to lows and selected lows will calculate the rate of injecting materials in to fuzzy block and send to next layer. Fig3 : fuzzy controller d) Actuators layer and alarm system Actuators layer in which are connected to external environment. In this layer a hardware actuators will be available in which can be use it in order to exert calculations environment. This pare include irrigation systems, spraying systems, injecting chemical fertilizer digital systems. In which will be able to inject nutritive materials in to soil and also on alarm system will find in this layer. Alarm system is used in emergency situations and conditions when plant will be at danger and orders can network harmoniously. When critical conditions threat a plan, alarm system will work and operate. V. # SIMULATION RESULTS The proposal requires the data to simulate real conditions for growing a particular plant. This data is used to grow corn in a laboratory. Table2 [13] shows the corn-fed conditions under which the parameters are defined by fuzzy logic. Fuzzy rules for adjusting the soil nitrogen is presented in Figure 8. In these rules, depending on soil's PH used of three types of fertilizer for regulate the soil nitrogen. If PH is low, the oure is used, but if PH is medium, the nitrate ammonium is used, and if PH is high, the sulfate-ammonium is used. ![Fig1 : views of pervasive computing context aware in agriculture environments](image-2.png "") ![](image-3.png "Table1") 20114![Fig 4 : Phase diagram of nitrogen needed for corn](image-4.png "2011 SeptemberFig 4 :") 65![Fig 6 : Phase diagram for the conductivity of soil](image-5.png "Fig 6 :Fig 5 :") 7![Fig 7 : Fuzzy rules for adjusting the soil nitrogen Simulation results are expressed in Figures 9, 10 and 11. Figures extracted from the simulations are very similar to Figure 5, 6 and 7 showed that the ideal condition, In this case, shows performance the proposed scheme.](image-6.png "Fig 7 :") 8![Fig 8 : Simulation result for nitrogen needed for corn](image-7.png "Fig 8 :") 9![Fig 9 : Simulation result for the conductivity of soil](image-8.png "Fig 9 :") 10![Fig 10 : Simulation result for PH for grow corn](image-9.png "Fig 10 :") 2 © 2011 Global Journals Inc. (US) Global Journal of Computer Science and Technology Volume XI Issue XVI Version I 8 © 2011 Global Journals Inc. (US) ## VI. ## RESULT In this research a new approach has been presented in order to apply pervasive computing context aware in agriculture environments. In this approach sensors are used in order collect data about soil, water, plant and climate conditions and send to layer of creating context and after that send to layer of calculation, then, the rate of injecting materials in to soil are calculated by fuzzy logic and context aware. After that are exerted on environment by actuators in the last projects, researchers have utilized sensors in agriculture environment but in primary form such as designing Drip irrigation in primary sensor networks form. But in this paper approach, sensors are generally used in order to collect data of environment and all the next decisions will be on the basis of collected data. * is critical) and (PH is low) and (CEC is low) then (oure is very high * is critical) and (PH is medium) and (CEC is low) then nitrate ammonium is very-high * is critical) and (PH is high) and (CEC is low) Then (sulfate-ammonium is very high * is critical) and (PH is low) and (CEC is high) then oure is high * Proposing a New Approach to Applying Pervasive Computing In Agriculture Environments © 2011 Global Journals Inc. (US) * Global Journal of Computer Science and Technology Volume XI Issue XVI Version I 10 * is critical) and (PH is medium) and (CEC is high) then (nitrate-ammonium is high * is critical) and (PH is high) and (CEC is high) then (sulfate -ammonium is high * is good) and (PH is low) and (CEC is low) then high * is good) and (PH is medium) and (CEC is low) then (nitrate-ammonium is high * is good) and (PH is high) and (CEC is low) then (sulfate-ammonium is high * is good) and (PH is low) and (CEC is high) is medium * is good) and (PH is medium) and (CEC is high) then (nitrate-ammonium is medium * is good) and (PH is high) and (CEC is high) then (sulfate-ammonium is medium * is bad) and (PH is low) and (CEC is low) medium) * is bad) and (PH is low) and ( EC is high then low * is bad) and (PH is medium) and (CEC is low) then (nitrate -ammonium is medium * is bad) and (PH is medium) and (CEC is high) then (nitrate-ammonium is low * is bad) and (PH is high) and (CEC is low) then (sulfate-ammonium is medium * is bad) and (PH is high) and (CEC is high) then (sulfate-ammonium is low) REFERENCES REFERENCES REFERENCIAS * The Computer for the 21st Century MWeiser Scientific American September 1991 * Interaction design for rural agricultural sensor networks KWalker AKabashi JAbdelnour KNgugi JUnderwood JElmirghani MProdanovic Internal Environmental Modeling and Software society( iEMSs) 2008 * A Context -Aware Decision Engine for Content Adaptation WLun FC MLau IEEE Pervasive Computing 1 3 jul-sep -2002 * Pervasive Computing:A paradigm for 21st Century DSaha AMukherjee * providing contextual Information to Pervasive Computing Applications GJudd Steenkiste Proc, IEEE International Conference on Pervasive Computing IEEE International Conference on Pervasive Computing March 2003 * Pervasive Computing in Sports Technologies EdHChi GBorriello GHunt NDavies IEEE PERVASIVE computing JULY-SEPTEMBER 2005 * E -Graffiti:Evaluation Real-World use of a Context -Aware systwm JBurrell GGay Integrating with Computers : Special Issue on Universal Usability 2003 4 * Wireless sensor networks in precision agriculture ABaggio Proc.ACM Workshop Real-Word Wireless Sensor Network .ACM Workshop Real-Word Wireless Sensor Network 2005 * Context-Aware Pervasive Systems SLoke 2006 Auerbach Publications * an Introduction to Fuzzy logic for practical applications TTanaka 1996 springer vaerlay * Fuzzy multiple criteria decision making RFuller CCarlsson Recent developments, Fuzzy Sets and Systems 1996 78 * Fuzzy integral in multicriteria decision making MGrabisch Fuzzy Sets and System 69 3 1995 13. 2000 Corn starters * Investigation of wireless sensor networks for precision agriculture ZZhang 2004 American Society of Agricultural and Biological Engineers