Next Article in Journal
Nonlinear Behavior of Cold-Formed Steel Columns: Investigating the Influence of Stiffener on Strength and Buckling Resistance
Previous Article in Journal
A Compact CPW-Fed Textile-Substrate-Based Half-Circula Spike Monopole Antenna
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Proceeding Paper

Internet of Things-Based Fuzzy Logic Controller for Smart Soil Health Monitoring: A Case Study of Semi-Arid Regions of India †

by
Rajan Prasad
1,*,
Rajinder Tiwari
2 and
Adesh Kumar Srivastava
3
1
Department of Computer Science and Engineering, Babu Banarasi Das University, Lucknow 226028, Uttar Pradesh, India
2
Department of Electronics and Communication Engineering, Babu Banarasi Das University, Lucknow 226028, Uttar Pradesh, India
3
School of Management, Babu Banarasi Das University, Lucknow 226028, Uttar Pradesh, India
*
Author to whom correspondence should be addressed.
Presented at the 10th International Electronic Conference on Sensors and Applications (ECSA-10), 15–30 November 2023; Available online: https://ecsa-10.sciforum.net/.
Eng. Proc. 2023, 58(1), 85; https://doi.org/10.3390/ecsa-10-16208
Published: 15 November 2023

Abstract

:
The human population continues to grow, and specific efforts must be made in order to meet foreseeable food demands. In this paper, it is suggested that an IoT-based fuzzy control system be used for smart soil monitoring systems. This study is based on the semi-arid regions of India. A fuzzy classifier is used to categorize the real-time data into three parameters, such as sodium, potassium, and calcium, based on the proposed model, which gets trained from a dataset and then chooses the optimal solution. The real-time data are collected from NPK sensors, which are suitable for sensing the content of nitrogen, phosphorus, and potassium in the territory, which helps in determining the fertility of the soil by facilitating the systematic assessment of the soil condition. With the aid of this system, a farmer would be able to monitor soil health in a real-time environment and also track the growth of their plants. Farmers will be able to enhance productivity while decreasing resource waste with the aid of an IoT-enabled fuzzy system. Experimental data have been collected from Mahoba district, Uttar Pradesh provinces in India, and the results show that the suggested system is a more reliable and precise concept used for precision farming that will certainly enhance the overall production of crops with better quality. These results obtained with the help of the proposed model system have been compared with the existing one with data accuracy that has been improved and well accepted.

1. Introduction

A networked machine ecosystem is a fitting way to define the Internet of Things [1]. This technology has the potential to be widely used in agriculture for crop production improvement and soil health detection. Sensors are frequently employed to monitor soil parameters important for crop development [2]. Farmers receive several forms of data from the sensors, which are processed to improve agricultural productivity [3]. These sensors are managed by software applications designed expressly for this purpose. Sensors are used primarily for monitoring and control, security and warning, and diagnostics and analysis. It moves farming one step closer to self-sufficiency and independence from human involvement [4]. This study covers the IoT technology based on fuzzy logic that is used to monitor soil health in semi-arid locations. To make optimal judgments for precision agricultural activities, the research focuses on sensor technologies for real-time data collection and fuzzy logic controllers (FLCs) [5] for approximate decision-making. This research looks at the uses of various sensors in the agricultural process. These products are for sale in the marketplace. How these sensors are employed in different types of farms and how they benefit farmers, consumers, and the economy [6,7], the materials and procedures used for the testing, the study area, a brief overview of the NPK sensor, fuzzy logic controller, and suggested technique for alert generation system are all included in Section 2 of the paper. Section 3 describes the modeling of various sensor parameters and fuzzy variables. Section 4 details the system’s performance study and comparison with existing systems. Section 5 discusses the conclusion and improvement plan.

2. Materials and Methods

Dry areas with an aridity index of 0.20 to 0.50 are referred to as semi-arid zones [8]. Due to historical land use, semi-arid soils commonly experience degradation, which leads to low levels of soil organic carbon (SOC) and poor structure. Human-caused erosion, salinity, and deterioration pose significant difficulties to semi-arid soils. Our research is centered on the Mahoba district of Uttar Pradesh, India, which is classified as semi-arid. We put up numerous sensors in one area to collect datasets for the construction of fuzzy rules based on the proposed model. We use real-world inputs from a few selected sensors for testing. Figure 1 displays the recommended model’s block diagram, which is made up of five parts. The first section is concerned with the design of NPK sensors, while the second part is concerned with converting the analog signal to a digital signal (obtained from the NPK sensors). The third step is to create the fuzzy logic controller and inference rules based on the acquired dataset. The fourth step is to install the model in a cloud database, and the fifth step is to generate alarm messages.

2.1. NPK Sensor

The NPK sensor [9] setup includes four 10K resistors to detect the nutrients present in the soil while guarding against LED current overload. To determine the nutritional level of the soil solution, LEDs first transmit light into it. The colorimetric principle states that the chemical composition of the soil affects how much light will be reflected from the solution. An LDR absorbs this light (using the concept of photoconductivity), and the amount of light absorbed will be recorded. The quantity of light absorption (A) in the LDR will calculated using the Beer–Lambert equation, in Equation (1).
A = K × l × c
where ‘l’ stands for the length of the light path, ‘c’ is the solution concentration, and ‘K’ stands for the molar absorptivity. Equation (2) states that the resistance level (RL) in a light-diffusing device (LDR) impacts how much light will reflect per unit of area (Lux), and Equation (3) uses this information to compute the output voltage across an LDR.
R L = 500 L u x
V o = I × R L
The voltage that results shows the nitrogen, phosphorus, and potassium concentrations in the test soil along with the data gathered by the sensor.

2.2. Fuzzy Logic Controller (FLC) for Soil Analysis

A mathematical concept called fuzzy logic deals with information that is imprecise. Fuzzy logic, as opposed to conventional binary logic, allows the representation of degrees of truth. A FLC is a decision-making system that interprets and reacts to input data using fuzzy logic concepts. The inference engine infers the correspondence fuzzy value with the aid of pre-defined fuzzy rules available in the knowledge base, and finally, the defuzzification block converts the fuzzy output value to the corresponding crisp value [10]. The fuzzy logic controller’s block design is in Figure 2. It receives input data from an NPK sensor and fuzzify it to translate it into desired language phrases (in Figure 3). The inference engine determines the correspondence fuzzy value using pre-defined fuzzy rules from the knowledge base, which is subsequently translated into a corresponding crisp value by the defuzzification block [10].

2.3. Alert Generation System Using IoT

Analog signals are sensed by an NPK sensor connected to an A-to-D converter [11]. This produces a digital output linked to an Arduino device equipped with a WI-FI networking module to carry out more investigation into the soil’s nutritional insufficiency. After receiving the LDR output voltage, the first step is to run a Python program that employs a fuzzy inference technique to diagnose soil nutrients.
A system with software is uploaded in accordance with the detected value, and it also alerts the field owners about required fertilizer on a regular basis. The best fertilizer for the soil is selected in the second stage using the results of the fuzzy rule system. This process generates fertilizer in text form. The third stage of the program flow links the massage agent and transmits the message about fertilizer over the internet. The sensor value and fuzzy logic system response are saved in the embedded program’s link to the Google Cloud database for later use. The modeling of fuzzy input parameters and their correspondence with fuzzy outputs is shown in Figure 4.

3. Modeling of Sensor and Fuzzy Parameters

The simulation program is used to transport data from the NPK sensor kit to the cloud server and assess performance factors such as throughput, end-to-end latency, and average jitter. It is accomplished by adjusting the network density. Table 1 shows the fuzzy rules created by the fuzzy inference module and the associated output.
The network protocols were implemented in Python3.8, and to assess network performance, several simulated scenarios were developed. For testing the model, we chose ten nodes. Similar setups, including internet servers with 6, 7, 14, 19, 23, and 35 nodes, were used to analyze end-to-end throughput, latency, and jitter [12]. The implemented network performance was tested in terms of scalability. The proposed system can deploy in real time to examine any type of soil in semi-arid lands. The hardware settings for the sensor nodes are shown in Table 2.

4. Results and Performance Analysis

The sensor’s active mode determines how much energy it uses. The proposed system’s sensor has not been used for more than 24 h. Regular soil nutrient monitoring takes two to three days, or roughly 36 h, during the crop’s growth. The crops grown in each agricultural area determine the relatively low sensing frequency and data transfer to the cloud. The proposed system outperformed the mentioned algorithms in the experiment using various machine learning algorithms, as shown in Figure 5 [13,14,15,16,17,18,19,20]. We adjusted the frequency of data transmission of numerous sensors to estimate energy conservation. Each sensor takes less than 0.14 mJ of energy to detect, analyze, and transmit data.
Throughput, or data transport rate through a network, is changed with network density. When analyzing throughput changes, the data transfer frequency is kept constant. Over a node density of 20, the throughput reaches saturation. The average end-to-end latency for every network density is calculated from the latency of the circuit (from the sensor to the server). The average latency increases as node density climbs; as a result, the shared network becomes increasingly congested during data transmission. The average jitter, which varies with node density, is 4 ms. The experimental results show that the suggested system can be deployed in semi-arid agricultural areas to improve soil health and yields. The performance appears to be scalable, viable, and employable. Internet agents (as depicted in Figure 6) send out SMSs about the appropriate fertilizer application depending on the present soil nutrient level in accordance with the system’s output.

5. Conclusions

It is challenging to routinely evaluate soil nutrients in agricultural fields by conventional testing methods. The suggested system notifies the farmer by SMS of the absence of critical soil nutrients, specifically nitrogen, phosphorus, and potassium. It does this through the system’s integrated NPK sensor and fuzzy system. The outcomes of the proposed model performed are to better understand how the built IoT system works and to describe its intended purpose. The experiment shows that the suggested system is an accurate, low-cost, and intelligent Internet of Things (IoT) system that instantly alerts the farmer by SMS about the fertilizer that needs to be applied at the right moment. This system might be a helpful tool for farmers in the agricultural industry.

Author Contributions

Conceptualization, R.P. and A.K.S.; Methodology, R.T. and A.K.S.; Software, R.P.; Validation, R.P. and R.T.; Formal Analysis, A.K.S.; Investigation, R.T.; Resources, R.P.; Data Curation, R.P. and R.T.; Writing Original Draft Preparation, R.P. and R.T.; Writing Review & Editing; R.T.; Visualization, A.K.S.; Supervision, R.P. and R.T.; Project Administration, R.P., R.T. and A.K.S. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Data are contained within the article.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Sankarasubramanian, P.; Ganesh, E.N. IoT Based Prediction for Industrial Ecosystem. Int. J. Eng. Adv. Technol. (IJEAT) 2019, 8, 1544–1548. [Google Scholar]
  2. Young, R. Soil Properties and Behaviour; Elsevier: Amsterdam, The Netherlands, 2012; Volume 5. [Google Scholar]
  3. Kim, H.-J.; Sudduth, K.A.; Hummel, J.W. Soil macronutrient sensing for precision agriculture. J. Environ. Monit. 2009, 11, 1810–1824. [Google Scholar] [CrossRef] [PubMed]
  4. Zhang, Q.; Wu, C.-H.; Tilt, K. Application of fuzzy logic in an irrigation control system. In Proceedings of the IEEE International Conference on Industrial Technology (ICIT’96), Shanghai, China, 2–6 December 1996. [Google Scholar]
  5. Lee, C.-C. Fuzzy logic in control systems: Fuzzy logic controller. I. IEEE Trans. Syst. Man Cybern. 1990, 20, 404–418. [Google Scholar] [CrossRef]
  6. McCulley, R.L.; Jobbágy, E.G.; Pockman, W.T.; Jackson, R.B. Nutrient uptake as a contributing explanation for deep rooting in arid and semi-arid ecosystems. Oecologia 2004, 141, 620–628. [Google Scholar] [CrossRef] [PubMed]
  7. Adham, A.; Riksen, M.; Ouessar, M.; Ritsema, C. Identification of suitable sites for rainwater harvesting structures in arid and semi-arid regions: A review. Int. Soil Water Conserv. Res. 2016, 4, 108–120. [Google Scholar]
  8. Arora, V.K. The use of the aridity index to assess climate change effect on annual runoff. J. Hydrol. 2002, 265, 164–177. [Google Scholar] [CrossRef]
  9. Misbah, K.; Laamrani, A.; Khechba, K.; Dhiba, D.; Chehbouni, A. Multi-sensors remote sensing applications for assessing, monitoring, and mapping NPK content in soil and crops in African agricultural land. Remote Sens. 2021, 14, 81. [Google Scholar] [CrossRef]
  10. Haban, J.J.I.; Puno, J.C.V.; Bandala, A.A.; Billones, R.K.; Dadios, E.P.; Sybingco, E. Soil Fertilizer Recommendation System using Fuzzy Logic. In Proceedings of the 2020 IEEE REGION 10 CONFERENCE (TENCON), Osaka, Japan, 16–19 November 2020. [Google Scholar]
  11. Walden, R.H. Analog-to-digital converter survey and analysis. IEEE J. Sel. Areas Commun. 1999, 17, 539–550. [Google Scholar] [CrossRef]
  12. Iwasaki, A. Detection and estimation satellite attitude jitter using remote sensing imagery. Adv. Spacecr. Technol. 2011, 13, 257–272. [Google Scholar]
  13. Rajeswari, S.; Suthendran, K. C5. 0: Advanced Decision Tree (ADT) classification model for agricultural data analysis on cloud. Comput. Electron. Agric. 2019, 156, 530–539. [Google Scholar] [CrossRef]
  14. Hengl, T.; Heuvelink, G.B.M.; Kempen, B.; Leenaars, J.G.B.; Walsh, M.G.; Shepherd, K.D.; Sila, A.; MacMillan, R.A.; de Jesus, J.M.; Tamene, L.; et al. Mapping soil properties of Africa at 250 m resolution: Random forests significantly improve current predictions. PLoS ONE 2015, 10, e0125814. [Google Scholar] [CrossRef] [PubMed]
  15. Zhang, C.; Chen, X.; Wang, S.; Hu, J.; Wang, C.; Liu, X. Using CatBoost algorithm to identify middle-aged and elderly depression, national health and nutrition examination survey 2011–2018. Psychiatry Res. 2021, 306, 114261. [Google Scholar] [PubMed]
  16. Li, H.; Leng, W.; Zhou, Y.; Chen, F.; Xiu, Z.; Yang, D. Evaluation models for soil nutrient based on support vector machine and artificial neural networks. Sci. World J. 2014, 2014, 478569. [Google Scholar]
  17. Prasad, R.; Shukla, P.K. A Review on the Hybridization of Fuzzy Systems and Machine Learning Techniques. In Computer Vision and Robotics. Algorithms for Intelligent Systems; Bansal, J.C., Engelbrecht, A., Shukla, P.K., Eds.; Springer: Singapore, 2022. [Google Scholar] [CrossRef]
  18. Prasad, R.; Shukla, P.K. Identification of Ischemic Stroke Origin Using Machine Learning Techniques. In Advances in Data-driven Computing and Intelligent Systems. Lecture Notes in Networks and Systems; Das, S., Saha, S., CoelloCoello, C.A., Bansal, J.C., Eds.; Springer: Singapore, 2023; Volume 653. [Google Scholar] [CrossRef]
  19. Prasad, R.; Shukla, P.K. Indeterminacy Handling of Adaptive Neuro-fuzzy Inference System Using Neutrosophic Set Theory: A Case Study for the Classification of Diabetes Mellitus. Int. J. Intell. Syst. Appl. (IJISA) 2023, 15, 1–15. [Google Scholar] [CrossRef]
  20. Prasad, R.; Shukla, P.K. Interpretable Fuzzy System for Early Detection Autism Spectrum Disorder. Int. J. Intell. Syst. Appl. (IJISA) 2023, 15, 26–36. [Google Scholar] [CrossRef]
Figure 1. Study location of Mahoba district, Uttar Pradesh provinces in India (credit to Google map of geo-tagged image).
Figure 1. Study location of Mahoba district, Uttar Pradesh provinces in India (credit to Google map of geo-tagged image).
Engproc 58 00085 g001
Figure 2. Proposed structure of FLC.
Figure 2. Proposed structure of FLC.
Engproc 58 00085 g002
Figure 3. Schematic flow of IoT-based soil health-monitoring module.
Figure 3. Schematic flow of IoT-based soil health-monitoring module.
Engproc 58 00085 g003
Figure 4. Modeling of the input and output linguistic parameters.
Figure 4. Modeling of the input and output linguistic parameters.
Engproc 58 00085 g004
Figure 5. Comparative performance analysis of proposed system.
Figure 5. Comparative performance analysis of proposed system.
Engproc 58 00085 g005
Figure 6. Alert message received by the land owner.
Figure 6. Alert message received by the land owner.
Engproc 58 00085 g006
Table 1. Fuzzy inference rules generated by the system.
Table 1. Fuzzy inference rules generated by the system.
If N is Low and P is Low and K is Low then Health is Low
If N is High and P is Low and K is Low then Health is Medium
If N is Low and P is High and K is High then Health is High
Table 2. Simulation parameters.
Table 2. Simulation parameters.
Sl. No.ParametersValues
1Time of Simulation300 s
2Area Covered1500 m × 1500 m
3Frequency of Channel2.4 GHz
4Path LossFree space
5Propagation Limit−111 dBm
6Transmission power15 dBm
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Prasad, R.; Tiwari, R.; Srivastava, A.K. Internet of Things-Based Fuzzy Logic Controller for Smart Soil Health Monitoring: A Case Study of Semi-Arid Regions of India. Eng. Proc. 2023, 58, 85. https://doi.org/10.3390/ecsa-10-16208

AMA Style

Prasad R, Tiwari R, Srivastava AK. Internet of Things-Based Fuzzy Logic Controller for Smart Soil Health Monitoring: A Case Study of Semi-Arid Regions of India. Engineering Proceedings. 2023; 58(1):85. https://doi.org/10.3390/ecsa-10-16208

Chicago/Turabian Style

Prasad, Rajan, Rajinder Tiwari, and Adesh Kumar Srivastava. 2023. "Internet of Things-Based Fuzzy Logic Controller for Smart Soil Health Monitoring: A Case Study of Semi-Arid Regions of India" Engineering Proceedings 58, no. 1: 85. https://doi.org/10.3390/ecsa-10-16208

Article Metrics

Back to TopTop