An Artificial Neural Network-Based Pest Identification and Control in Smart Agriculture Using Wireless Sensor Networks

several challenges. suﬀer signiﬁcant losses due to agricultural insect infestation. These losses are primarily the result of inadequate ﬁeld surveillance, crop diseases, and ineﬀective pesticide management. We need cutting-edge technology that is constantly evolving to maintain control over such major concerns responsible for output reductions year after year. Wireless sensor networks address all of these issues; in fact, wireless sensor network technology is quickly becoming the backbone of modern precision agriculture. We propose a strategy for pest monitoring using wireless sensor networks in this study by simply recognizing insect behaviour using various sensors. We proposed a rapid and accurate insect detection and categorization approach based on ﬁve important crops and associated insect pests. This method examines insect behaviour by collecting data from sensors placed in the ﬁeld. The results show that the proposed work improves the accuracy of the existing work by 3.9 percent.


Introduction
India is the world's second-largest agricultural producer. It employs a wide range of households. Because this is such a large industry, increasing overall output is critical. Agriculture employs approximately 67 percent of the workforce, implying that nearly two-thirds of the total population are entirely dependent on agricultural employment for a living. Agriculture methods are not economically beneficial and harmful to the environment due to a lack of adequate irrigation infrastructure and services. Farmers face several challenges, including decreased rainfall, crop loss due to a lack of water and flooding, and low seed quality, resulting in crop failure and the waste of time, money, labour, and other resources [1,2]. Furthermore, crop loss is caused by a lack of cold storage because crops are typically kept out in the open, making them vulnerable to insects, humidity, and wetness, among other things. collection, monitoring harsh environments, accurate irrigation, and fertilizer delivery, and farmers benefit from realtime data collection. Precision farming with WSN aims to increase the overall efficiency of the development system. e result of a distributed sensor network sensing and sequentially monitoring different related parameters over a large area and collecting or displaying this data and assisting farmers in taking appropriate action to manage their farm based on sensed data is an increase in the agriculture sector's efficiency. Precision agriculture, made possible by WSN, enables farmers to focus their efforts on crop pattern selection and the locations that require water, nutrients, and other care, such as pesticide spraying. If such sensor devices are invented and developed, they have the potential to boost the agriculture sector, which is the engine of our economy.

Wireless Sensor Network.
A wireless sensor network is a self-configuring network of tiny sensor nodes that communicate with one another via radio waves and are widely distributed to perceive, monitor, and comprehend the physical environment. Wireless sensor network (WSN) has recently piqued agriculturists' interest [4,5]. Wireless sensor networks are ad hoc networks that allow us to run a wide range of applications, such as tracking a specific task or monitoring a specific region. ese networks, in a nutshell, are used for acquiring, storing, and exchanging sensed data.
Wireless sensor networks (WSN), also known as wireless sensor and actuator networks (WSAN), are networks of partially distributed autonomous sensors that monitor environmental or physical conditions such as sound, temperature, moisture, and pressure. MEMS (microelectromechanical system) technology's rapid advancement has enabled the development of smart sensors [6]. ese new smart sensors outperform previous sensors in several ways, including being smaller, less expensive, and more intelligent. e network is made up of many interconnected nodes, the number of which can range from hundreds to thousands. A radio transceiver with an internal antenna or a connecting space for an external antenna, a microcontroller, an electrical circuit connecting many sensors, and a power supply is part of a sensor network.

Precision Agriculture.
It is the art and science of increasing crop productivity through modern technologies. Wireless sensor networks are an important technology that is propelling precision agriculture forward. Changes in soil and crop factors within a field are monitored and accurately mapped in this style of agriculture, and critical actions are taken as needed.
is concept was developed to increase agricultural yield while decreasing pollution and environmental deterioration [7].

Green House Technology.
Precision agriculture technologies can be used to grow high-quality crops shortly. is section will concentrate on WSN applications for precision agricultural management and greenhouse variable monitoring. Crop production can take place only in an ideal climate, which must be controlled and monitored for success. Crop growth stages, dynamic changes in the target area, soil type, climate, and plant type influence sensor configuration. Several types of plant structures are used in greenhouse technology at various stages of crop development [8,9]. With this app, you can control everything from the water pump to the carton slider to your fans based on what is going on in your greenhouse at the time.

Number of Sensor Nodes and Input Variables.
Depending on the size of the greenhouse, sensor nodes and actuators are required. A 35 m × 200 m grid requires approximately 200 nodes (the basic size of the focused area). e three types of nodes are A, B, and C. Two sensor nodes are used in the greenhouse: one for the outside and one for the inside [10,11]. Type "B" sensors are used to monitor climate conditions at 20 to 30 meters. C type sensors are soil sensors that must be used in a specific way in agricultural plantation architecture. Greenhouses are used to regulate the flow of irrigation water. ey are frequently used every two meters. e table below shows the variable ranges for various crop management methods for a general crop. ese data shown in Table 1 are compiled using the crop's datasheet [7].

Parameters and eir Use.
e primary goal of a WSN system for precision farming is to regulate the surrounding circumstances following the crop datasheet [12]. Sensors installed outside capture data on the greenhouse's external environment, such as temperature, light, moisture, pressure, CO 2 , wind speed, and wind direction. is system enables determining the behaviour of controls such as in-out airflow control, protection from direct sunlight, and moisture and temperature management [13].
A general view of a greenhouse is shown in Figure 1.

Climatic Control Problem in a Greenhouse.
Crop development is typically influenced by the climatic conditions of the surrounding habitat and the amount of water and fertilizer delivered by irrigation [14]. A greenhouse is ideal for optimum agricultural development, since it manages fertilizer and climatic conditions, allowing for good crop growth and harvests.

1.7.
Motivation. e primary goal of precision agriculture is to optimize efficiency to flourish properly. Remote sensing can guide farmers' efforts to regions that lack or require water, fertilizers, or other care.
is data may enhance farming efficiency by allowing farmers to get it at the right moment and act on it. e mass production of such gadgets would be extremely beneficial to the agricultural industry. Modern agriculture necessitates tools and processes to improve production efficiency, product quality, and postharvest activities while minimizing their environmental impact. Precision agriculture, often known as precision farming, is a significant contribution made by computerization in agriculture. Precision farming may be defined as using the proper quantity of input such as water, fertilizer, and pesticides at the right location and time to maximize crop yield and quality while also not hurting the environment, making it environmentally friendly. Wireless sensor networks aid in monitoring farms, vineyards, and orchards, allowing farmers to safeguard their crops from harm and increase crop yield [15].

Paper
Organization. Section 1 describes the basic knowledge of pest control and precision agriculture; Section 2 contains the state of the art of exiting work; Section 3 contains the proposed work and parameters used for analysis; and Sections 4 and 5 contain result analysis and conclusions.

Literature Review
e author of [16] mentions the use of WSN for improved water management and control of other factors. Wireless sensor networks in agricultural water management and rural development are demonstrated therein. is method, aimed at impoverished farmers in rural areas, makes extensive use of information technology. is technique may aid them in storing and utilizing rainwater to increase productivity and reduce farming costs, among other things. Crop waste occurs when crops are exposed and vulnerable to insects, wetness, and moisture due to a lack of cold storage. e document depicts the rice crop cultivation procedure and the various stages of crop growth of a paddy crop. A variety of sensors were used to track soil moisture, water monitoring, insect monitoring, and the e ect of weather change, and each sensor operates on its frequency. is method will help farmers produce higher-quality crops. e publication in [16] provides a comprehensive survey of the current wireless sensor network literature, focusing on recent research areas in this eld. e author also discussed sensor node architecture, which is used for communication between multiple nodes and is classi ed into two types: at architecture and hierarchical architecture. WSN is used in various industries, including agriculture, military, industry, health care, smart homes, and environmental monitoring. It is now widely used in precision agricultural applications, which estimate the amount of fertilizer needed, the amount of pesticide needed, and crop protection from insect pests. Security in a WSN was also discussed and classi ed into two types: operational security and information security. e quality of service provided by a WSN is also prioritized because it ensures the network's overall continuity of operations. WSN provides several options in a wide range of applications, and the technology is rapidly expanding. Several issues arise during processing these materials, necessitating improvement, and they are a current area of research in this sector.
Reference [17] speci es the deployment of wireless sensor networks in agriculture and the dissemination of WSN for precision farming. A WSN comprises intricately dispersed sensor nodes that help with monitoring (sensing), signal processing, embedded operations, and connection. e authors proposed system architecture for use in the agricultural sector. is will help farmers obtain meteorological information, choose the best crop, and communicate with agriculture experts. India's agriculture industry uses antiquated practices, and the entire system needs to be modernized. Precision agriculture helps farmers grow the perfect crop by monitoring various factors such as weather, moisture, and temperature, resulting in higher yields and lower losses.
Another paper [18] focuses on very small but conspicuous insects commonly thought to be crop enemies. at paper contains some hidden facts about many insects and descriptions of both bene cial and harmful insects. It includes nine major insect orders, which are listed in a table. Many insects bene t humans and play a positive role in nature by providing us with various products such as silk, honey bee guts, dyes, beeswax, and royal jelly. Many insects are very important for pollination, and they also help with weed control and many other bene ts that are mentioned in this paper. at paper also discusses the harmful e ects of insects, such as their role in disease transmission. It also includes a description of some household pests and the fact that these insects are harmful to domestic animals. at paper examined insects' harmful and bene cial e ects and concluded that insects are more friendly than their harmful e ects.  e authors of [19] presented the results of a survey conducted in rib areas on diseases, insect pests, and parasitic weeds. It was also suggested that the recorded major pests require research and development and some monitoring strategy needs to be designed to control them. During the survey periods, 11 crops were assessed, including onion, potato, tomato, cabbage, pepper, and others, and it was discovered that these were affected by dozens of diseases and pests. at paper also includes a table of major diseases in various crops and their major pests that must be addressed to be controlled on time. It also states that timely monitoring is required because a minor insect can become a major pest after a certain period. e authors of [20] assessed current insect and pest knowledge in Sri Lanka and management strategies used in recent years. Potential future methods for increasing rice yield and insect management to protect the environment were also discussed. Regarding host plant resilience, natural predators of rice crop pests are also investigated. e focus is on pest control strategies used by Sri Lankan farmers. Some of the most serious issues that crops face due to the onslaught of numerous harmful crop-feeding insect pests are also highlighted. e study also makes recommendations for using new pesticides that are less toxic, require lower doses, and have insect selectivity. e authors suggest that efforts be made in Sri Lanka to establish a rice pest surveillance and forecasting system.
Reference [21] also presented a field investigation conducted in 2011 to calculate the variation in the population of insect pests and predators in corn. It described various dangerous crop-eating insects' corn pests and insect infestation data. Predators of these hazardous insect pests were also mentioned, as they are farmers' friends because they assist in reducing the number of these pests. According to the study's findings, trips are most common in the first five months of the year, and this is also true for a variety of other corn pests. is study also discussed the prevalence of crop predators and a variety of other bug facts. Based on this information, a farmer can manage their fields by applying the appropriate pesticides at the appropriate time to protect their crop.
Reference [22] discussed image processing approaches that continuously monitor crops using "Agri-Robo," which provides the user with a quick, accurate, and automated solution.
is system can monitor crops to identify and monitor illnesses and pesticides; it can also perform automatic pesticide spraying to save the crop from disease. e paper includes the system architecture used for proper system implementation and the algorithm steps for image processing of the diseased leaf. A sprinkler motor sprays insecticides into the desired area. Several strategies for detecting plant disease areas have been described in this study. e agriculture robot diagnoses illnesses by spraying pesticides in a controlled manner onto the affected area.

Proposed Methodology
Pests include insects, diseases, weeds, and vertebrates, which can pose a serious threat to a farmer. ey have the potential to cause crop damage, reduce agricultural yields, and harm crop quality [23].

Insects in Agriculture.
Pests include insects, diseases, weeds, and vertebrates, which can pose a serious threat to a farmer. ey have the potential to cause crop damage, reduce agricultural yields, and harm crop quality [23]. An insect is considered a nuisance if it harms both a valuable resource and human health. Pest control is often accomplished by eradicating the pest with a poisonous chemical, but it can also be accomplished by studying insect behaviour. Traditional farmers use synthetic pesticides to combat various pests that harm their crops; however, due to a lack of understanding the amount of pesticide required to kill the bacterium, the farmers frequently spray the pesticides in greater quantities than necessary. is excess pesticide seeps into the ground, contaminating the water we drink, and the plants suffer due to the unnecessary pesticide application. ese herbicides also have some negative side effects. Insecticide resistance can develop, necessitating a modified or stronger chemical treatment. Furthermore, these heavily sprayed insecticides have the potential to harm beneficial insects and natural predators.
Natural predators are regarded as farmers' allies because they attack and destroy various hazardous pests of various crops by eating them, reducing the number of dangerous insect pests. ese natural predators are imprisoned in fields using pheromones, and, when necessary, they are released from farm traps, and a pheromone switch is activated to catch them again.
ey are drawn to these pheromones because of their fragrance and are enticed to use them again in the future. One example is ladybird versus aphid; the ladybird is a natural predator, but aphids are devastating pests of many important crops. Ladybirds eat these aphids and kill them, protecting the crop and reducing pest populations [24].
Some beneficial insects in the fields are required for an agricultural farm because they aid in pollination, and some aid in fertilization; one of these insects is the earthworm. ese insects provide a variety of essential items in our daily lives, such as honey, silk, guts, colours, and royal jelly [25]. ey aid in the natural fertilization of soil and increase the system's overall productivity.
is allows pests to thrive, while crops that rely on insects for pollination fail to bear fruit.
Manipulation of insect behaviour to protect crops is an entirely new concept. We can help farmers apply pesticides in the right amounts to protect crop quality while also protecting the environment if we understand how insects behave. e behaviour category includes the colour of several insects, the noise they make, the material released by several insects to communicate among their society, their speed of walking or flying, size, their respective host plants, and whether they are beneficial or harmful to crops. e amount of insecticide required to be sprayed can be easily calculated based on the behaviour of a specific insect. An intelligent monitoring system is developed based on data obtained by analyzing the characteristics of many pests of key crops such as wheat, rice, maize, potato, tomato, and many other vegetables [26]. Based on MATLAB data processing, this method enables a farmer to preserve their crop while avoiding beneficial insects intelligently. As a result, this paper will discuss the hazardous and useful insects of key crops (as previously mentioned), which must be managed reasonably to be both safe for human health and environmentally friendly.
Most farmers do not understand how much pesticide is needed to control the insect pest in their fields, so they spray excessive pesticides on their fields. is additional spray kills the insects that are harmful to their crop, as well as the beneficial ones, and the chemicals infiltrate the earth and change the water we drink and the nutritional content of the crop. If the behaviour of insects can be easily observed, the amount of insecticide required to control them can be precisely calculated. Furthermore, farmers can increase crop productivity and quality by deploying a slew of sensors in the field.

Behavioural Classification.
ere are three major keys to a behavioural manipulation method: (i) e behaviour of the pest (ii) A procedure that enables manipulation of the behaviour appropriately (iii) A method that employs behavioural manipulation to preserve a resource from pests.
Farmers can also categorize insects based on how they behave on the farm. Many insects harm crops, while others have a good impact. Other insects can also be present, but they have neutral impacts, meaning that they have neither negative nor positive benefits. As a result, knowing the type of insect feeding on the crop is critical because not all insects are pests.
(1) Insect pest-negative behaviour. An organism is deemed a pest only if it negatively impacts the crop, that is, if it begins to harm the crops and results in lower yields. (2) Beneficial insects-positive behaviour. Some insects are extremely valuable to farmers, since they are natural adversaries of many crop-feeding insects and natural predators. ese natural predators prey on crop-feeding insects, which are insect pests, and hence assist in reducing pest populations. Ladybird beetles, for example, attack and devour aphids, diminishing their number. is type of pest includes thrips and spider mites. As a result, the leaf takes on a silvery or bronze hue.

Harmful Insect Pests of Some Major Crops.
In India, agriculture sector faces huge loss due to several insects that feed on the crops and damage them. So, it is necessary to know the major pest of these insects so that, by knowing the behaviour of these pests, we can easily monitor them and hence take necessary actions. In our research, we are taking five major crops and will discuss their major harmful pests and diseases caused by them. Five major crops are discussed here: potato, corn, tomato, rice, and wheat.

Insect Pest of the Potato Crop.
According to the United Nations, potatoes are the most significant food crop in the world. India has the third-highest quantity of potatoes produced in the world. For nearly 300 years, the potato has been grown in the country. It has become one of the most popular crops for vegetables. Potatoes are a low-cost dietary source of energy for humans. e problem is that this essential crop is infested by an army of insects that eat its leaves and roots, causing the plant to die and its productivity to decline. Consequently, farmers suffer enormous losses each year due to these pests, which are shown in Table 2.

Insect Pests of Wheat.
Wheat is an imperative grain crop with more than 600 MT yearly worldwide. It is a regular food crop that fulfils the daily requirements of many populations. It is also responsible for supporting the economy of India through the agriculture sector. Wheat creating zones are experienced by either sucking or piercing pests or plant tissue sustaining bugs. ese pests damage the wheat crop badly, resulting in reduced yield and a huge loss. So, here, we will discuss some major pests of the wheat crop. If proper use of pesticides is done with a limited amount as required, then these harmful bugs can be controlled, and also it will not affect the environment. ese insects' behaviour will help develop an intelligent monitoring system that enables the user to inform the farmer about suitable action that can be taken to control these insect pests of major crops shown in Table 3.

Insect Pest of Rice.
Rice is an imperative crop that fulfils people's daily food requirements, and rice cultivation plays a crucial role in enhancing the economic growth of the country. It is a basic food crop for a huge part of the world's population, and it is gaining much attention in the current practices to improvise the world's food condition. It is heavily cultivated in the north-eastern areas of Madhya Pradesh, including Rewa district. In current agriculture, high yielding rice varieties are generally cultivated using manures and fertilizers. But there are many severe enemies of this crop which damage the crop and reduce the yield. Hence, these pests' behaviour and feeding must be understood so that preventive measures can be taken against them to protect the plant from the damage demonstrated in Table 4.

Insect Pest of Corn.
Corn is one of the important cereal crops cultivated for food and its feed values, and it is imperative cash crop that grants calories to the consumers and the income for the traders. It is an imperative cereal crop of Pakistan which is continuously gaining a good position in crop farming; the reason behind this is its larger yield potential and less development duration, as well as being a rich resource of food and fodder. But this crop is highly vulnerable to the pest's intrusion both on the farm and in the storage area. So, farmers have to bear a huge loss each year because of these insects, so proper knowledge of these pests is necessary for the farmers to save their crops and increase their yield; the insects' damage is shown in Table 5.

Insect Pest of Tomato.
Tomato, one of the most imperative vegetable crops globally, is used as a food source and as research material. It ranks second after potato in the vegetable crops and plays a crucial role in the country's economy. It has been cultivated to upgrade fruit quality, productivity, and resistance to biotic and abiotic stresses. It has been extensively used as a food and as research material. Production of tomatoes has increased a lot in recent years with the introduction of new hybrid varieties. A wide range of insect pests shown in Table 6 and Figure 2 attack this crop resulting in a huge loss and reduction in the yield.
Still, this technology is not sufficient for controlling all kinds of insects as we have a limited number of pheromones available on the market. Hence this field needs more research to have full command of control of insect pests in all crops that are cultivated in India. In our paper, we propose an intelligent monitoring system which is based on the behaviour of insects and reads the behaviour of feeding insects according to the collected data, and the exact amount of pesticide required is calculated and informed to the farmers; this will help in reducing the pesticide amount, and it will focus on a specific area making it safe for the land and environment shown in Figure 3.

Pest Control Methods. Pest control methods are divided into three main categories.
To control these insect pests to save the crops from being damaged, farmers use several techniques as discussed above. Heavy use of pesticides affects underground water and us humans as we benefit from these crops in our daily lives, and the pesticides are also not environmentally friendly. Since farmers do not know the proper amount of pesticide  Journal of Food Quality required in an area to kill these harmful organisms, they simply spray the pesticides over the entire area where its requirement is not necessary, and hence it is dangerous. is lack of knowledge also kills some beneficial insects that help pollinate plants. If these insecticides are used in a limited amount, they will not be harmful. If the behaviour of insects can be monitored, which easily distinguishes between the harmful and beneficial organisms, then these beneficial organisms can be saved. So here we implement an intelligent monitoring system that reads out insects' behaviour, such as their colour, sound produced by them, chemical they release, and flying or crawling speed, and, based on this behaviour, we can classify insects as beneficial or harmful, and also the amount of pesticide needed can be calculated depending on the category of insect: whether it is more or less harmful. is system is implemented along with WSN sensors which calculate the temperature, soil moisture, water level, and so forth to form a complete monitoring system.

Rice bug
Dead hearts or drying of the central tiller is produced during the vegetative stage, while whiteheads are produced during the reproductive stage. Eating florets and sucking sap from developing rice grains can help reduce tough rice production.

Rice water weevil
Leave small longitudinal scars parallel to the midrib of the leaf on the top surface of rice leaves.

Rice case worm
To build leaf casings, they might chop off the tips of the leaves. Cut leaves at an angle like a pair of scissors with their feeding harm. Rice leaf roller/leaf folder Infested plants are less able to compete with weeds because of the damage caused by leaf miners.
Rice thrips Plant growth is slowed down, vigour is reduced, and the damaged plants become less competitive with weeds. ey feed on the rice crop's leaves, producing damage such as leaf bending and discolouration.

Gall midge
At the base of the tiller, the gall midge creates a tubular gall known as an onion leaf or silver shoot.

White-backed planthopper
Planthopper damage results in yellowing and rust-reding of the plants, which spreads from the leaf tips to the rest of the plants. European corn borer Young larvae's tassels, whorls, and leaf sheath tissue are their primary source of food; they also mine the midribs and ingest pollen that accumulates behind the sheath. Corn earworm Take care during feeding, as an injury to half of an animal's ear might occur before larval growth is finished.

Fall armyworms
As a general rule, larvae prefer to eat vegetation, although they can also feed on maize ears amid strong infestations.

Cutworms
Larvae prefer foliage as a food source, although they may also feed on maize ears when heavy infestation occurs. e stems of immature plants can be gnawed at or near the soil surface.
Corn root webworm ese animals may also chew on plant stems that are slightly above or below ground level. Deformed plants are common as a result of this.
Corn flea beetle Feeds by slicing off the leaf's uppermost layer of plant tissue. As a result of this process, the leaf's surface is etched with grey to brown lines or "tracks." Western corn rootworm Feeds primarily on root hairs and outer root tissue; root tips will appear brown and are often tunnelled into and chewed back to the base of the plant.

Spotted cucumber beetle
Large, deep-rooted plants are less vulnerable to damage than smaller ones.
Corn leaf aphids e sooty residue is left behind by honeybees after suckling on honeydew, which is black and sticky. ose maize leaves that are severely damaged have swollen, yellow discolourations on them.
Seedcorn maggot Before sprouting, remove the germs from the seeds by digging into them. Damaged seeds may sprout, but their nutritional supplies are depleted; therefore, the plant will not be able to thrive. For this purpose, we have collected the behaviour patterns of several insects of major crops such as wheat, potato, tomato, corn, and rice; in this research, we mention the features of 28 insects. Image sensors are employed in the elds that timely capture images of crops, and when any insect pest is detected, it is sent to the base station for further processing through an arti cial neural network [28]. e features on which research was done include insects' behaviour such as colour, sound made by them, their host plant, chemical released by them, their speed of ying/ crawling, their size, and their category: whether they are harmful or bene cial. Based on these data, it is easier for an expert to di erentiate between various pests. ese data are further processed by using software, and we use MATLAB processing tool in our research. is software calculates the exact amount of pesticide required for each insect with the help of programming and a matrix table.

Neural Network.
Inspired by the human learning technique, neural networks are based on the human brain nervous system. An ANN's network structure is constructed in a manner comparable to that of the nervous system in humans. As an example-based system, the learning process takes place. e structure of the neurons in the neural network is dispersed. Both neurons and spikes contain a great deal of information. At the highest level, both calculations and plasticity are on display.
To put it another way, weight in the brain corresponds to the number of synapses. When something has a lot of weight in a neural network, it is being utilized to store information there.   Plants get stunted, and their leaves become covered in yellow triangles ("hopper burn"). Tomato psyllid To remove the surplus water and sugar, psyllids inject stylets into the plant and suck the sap out of the plant. Tomato russet mite Remove the contents of the cells in the leaves, stems, and fruit that you have harvested. Leaves become golden in hue and eventually perish.

Journal of Food Quality
Initially, random values are used to set the weights, and then the new weight, bias, and neuron are discovered using the prior weights. e input to the transfer function is the sum of the input and the bias. With the aid of the activation function, the output is obtained using the transfer function. e weight and behaviour of the activation function are critical to the overall processing of neural networks. How active a cell is is entirely determined by the function that activates it in the first place. ere is an activation function for every layer.

Neurofuzzy Approach.
It is a hybrid approach in which two technologies are merged or one can be used after another. is approach can be implemented with the help of multilayer feedforward neural networks. In this paper, sequential hybrid system has been used as it makes use of technologies in a pipeline manner. us the output of one technology becomes the input of another technology. is is considered the weakest form of hybridization as the integrated form of technologies is not present. Similarly the output of a different kind of project risk is given as the input to the neural network for detecting the overall risk in the software project. e output of the partially integrated technologies is the overall predicted risk probability between low and high, which is between 0 and 1.

Software Implementation.
Pests play a crucial role in the agriculture field; some insects are useful for crops, whereas others harm the crops. New technology was introduced, that is, through the MATLAB tool, which is an image processing tool. is image processing tool gives us the feature of neural network monitoring for the detection of various pests and solutions to control them. It does so by simply extracting the various features of crop feeding insects which are recorded with the help of different sensors available on the market for the detection of insects. With these sensors, data are recorded and sent to the base station for further processing in MATLAB using a neural network, as shown in Table 7.
Step 1: Load the main function by typing "nftool" in the command window of the MATLAB toolbox.
Step 2: Click next, and validation and test data window will open. Choose validation, training, and testing according to the requirement.
Step 3: Now train the network by clicking on the "Train" tab.
Step 4: Train neural network and provide learning Figure 4 shows the neural network tanning for mean, accuracy computation. Figure 5 shows that training stopped when the validation error increased for six iterations, which occurred at iteration 10.

Analysis of Result.
If you c1ick Performance in the training window, a plot of the training errors, va1idation errors, and test errors appears. In this, the result is reasonable because of the following considerations:   In Figure 6, the regression plots display the network outputs concerning targets for training, validation, and test sets. For a perfect t, the data should fall along a 45-degree 1ine, where the network outputs are equal to the targets. For this problem, the t is reasonably good for all datasets, with R values in each case of 0.15 or above. If even more accurate results were required, you could retrain the network by clicking Retrain in nftool. is will changes the initial weights and biases of the network and may improve the network after retraining.

Conclusion and Future Work
e ndings of this study demonstrated the viability of automatic insect pest monitoring in the agricultural eld using wireless sensor networking. Our main goal is to create a pest monitoring and control system that uses WSN to monitor the insects early and notify the farmer about the location where the infestation is occurring, reducing the farmer's labour of inspecting every part of their eld. To identify the pest based on sensory data collected in the eld, an automatic detection and classi cation technique based on an arti cial neural network was presented. e presented system is simple and e ective to use. In the future, we can create hardware for the proposed sensor circuitry to be used in agriculture. Along with this, GPS and GSM technology can be combined with hardware circuitry to pinpoint the exact location of the infestation, and an emergency message can be sent to the farmer to notify them of the location in their field, allowing them to take the necessary steps to protect the crop and increase productivity.

Data Availability
e data used to support the findings of this study are available from the corresponding author upon request.

Conflicts of Interest
e authors declare no conflicts of interest.