Data collection
Weather data acquisition
Historical and real-time weather data were collected using meteorological sensors, weather stations, or access to meteorological databases. Parameters including temperature, humidity, wind speed, solar radiation and precipitation were observed.
Soil moisture monitoring
Soil moisture sensors were Installed at various depths within the root zone to measure soil moisture content. Sensors with high accuracy and reliability were used to collect data continuously.
Crop health monitoring
Remote sensing techniques such as satellite imagery or drones equipped with multispectral or hyperspectral cameras were employed to monitor the health and growth of crops. Spectral indices like NDVI (Normalized Difference Vegetation Index) were used for analysis.
Water flow sensors
Flow sensors in the irrigation system were installed to measure the volume of water applied to the fields accurately.
Crop-specific sensors
Sensors specific to legume crops for tracking relevant parameters like leaf temperature, transpiration rate and growth stage were utilized.
AI-system development
Feature engineering
Relevant features such as temperature, precipitation, soil moisture and crop health indices were identified from the collected data. Domain knowledge is utilized to create meaningful features.
Data preprocessing
Clean and preprocess the data, handling missing values, outliers and normalizing data if necessary.
Machine learning algorithms
An appropriate machine learning algorithms is selected for modelling, such as convolutional neural networks (CNNs), recurrent neural networks (RNNs), or gradient-boosted trees. Implement the AI model architecture.
Training and validation
Split the dataset into training and validation sets. Train the AI model using historical data and validate its performance using a portion of the data not used in training.
Hyperparameter tuning
Optimize hyperparameters to improve model performance. Explore hyperparameter optimization techniques, such as grid search or Bayesian optimization.
Decision support system integration
Real-time data integration
It involves implementation of a real-time data pipeline that continuously collects and feeds data from weather stations, soil sensors and crop health monitors to the AI model. Fig 1 shows the installation of soil moisture meter in the field. The soil moisture meter can collect data on soil moisture in real-time and send it to the control/monitoring system. A few locations near the plant’s stems are selected for the probes’ insertion into the soil. The soil moisture sensor meters are solar powered, IP 68 protection class for water and dust proof with a range of 0 to 100% with 0.1% resolution and ±3% accuracy.
To accurately measure the amount of water sprayed into the fields, water flow sensors have been installed in the irrigation system. Real-time flow measurements are sent to the control and monitoring system by the sensor. The sensor is always mounted at the pump’s outlet. A minimum of two straight pipe sections, measuring 10 x D (the flowmeter’s inner diameter) in front and 5 x D in back, must be placed at the lower end of the horizontal pipeline and in the vertical upward position. Fig 2 presents the appropriate location of water flow sensors. The sensor has a 0.5% accuracy and is powered by 24 or 220 volts.
Model deployment
Deploy the AI model in a cloud or on-premises environment for real-time predictions. Ensure scalability and reliability.
Feedback loop
Establish a feedback loop to continuously update the model based on the most recent data and incorporate machine learning techniques for model adaptation over time.
Experiment design
Peas have been chosen as the legume crop and details about the kind of soil, variety and initial circumstances unique to Uttar Pradesh are provided in the section on experiment design.
Field trials
Conduct controlled field trials with test plots to implement AI-driven precision irrigation. Apply AI-based recommendations to irrigation decisions and compare them with traditional irrigation methods.
Controlled variables
Maintain consistent control of variables in experimental plots, including crop variety, soil type and initial conditions.
Randomization
Randomly assign treatments to experimental plots to minimize bias.
Replication
Replicate experiments across multiple field locations and over multiple growing seasons to ensure statistical robustness.
Data analysis
Statistical tests
Utilize statistical tests such as ANOVA and t-tests to compare the results of AI-driven precision irrigation with traditional methods.
Economic analysis
Calculate the economic benefits of AI-driven precision irrigation by considering water savings, crop yield improvements and operational costs.
Data collection and analysis
Data collection methods
In this study, data collection is carried out through a combination of remote sensing, on-site sensor networks and historical datasets. The following data collection methods were employed:
Remote sensing
Aerial and satellite imagery with high spatial and temporal resolutions were obtained to monitor vegetative indices, soil moisture levels and weather conditions. These remote sensing data sources include.
On-site sensor networks
A network of IoT sensors was strategically deployed within the legume farm to continuously monitor soil moisture, temperature and crop growth parameters. These sensors provide real-time data and are equipped with communication capabilities for data transmission.
Historical datasets
Historical weather data, previous crop yield records and irrigation patterns were collected from the farm’s records for comparative analysis and model training.
Data preprocessing
Raw data collected from various sources were pre-processed to ensure consistency and compatibility for analysis. Data preprocessing involved the following steps:
Data cleaning
Removal of outliers, errors and missing values to ensure data integrity and accuracy.
Normalization
Standardization of data to a common scale for proper integration and model compatibility.
Feature engineering
Creation of relevant features such as the calculation of evapotranspiration rates, growth stage indicators and cumulative water usage.
Data analysis
Data analysis was conducted to extract meaningful insights and patterns. The following analytical techniques were employed:
Descriptive statistics
Summary statistics, including mean, median and standard deviation, were calculated to understand the central tendencies and variations in the dataset.
Time series analysis
Time series analysis was used to examine the temporal trends of soil moisture and crop growth parameters. Seasonal and cyclical patterns were identified.
Machine learning models
Various machine learning algorithms, including random forests, support vector machines and deep neural networks, were trained on the data to predict optimal irrigation schedules based on historical data and real-time sensor inputs.
AI-driven insights
The AI models developed in this study provided valuable insights into optimizing water use efficiency in legume farming:
Irrigation scheduling
The AI models determined precise irrigation schedules based on current soil moisture levels, weather forecasts and crop growth stages. This enabled the reduction of water wastage while maintaining crop health (
Kumar, 2019).
Early detection of stress
AI models were capable of early stress detection in legume crops by analyzing various vegetative indices. This allowed for prompt corrective actions to be taken
(Rahaman et al., 2022).
Resource allocation
AI-driven recommendations aided in the allocation of resources, such as water and energy, to maximize crop yield while minimizing resource usage.
Validation and model performance
The AI models were rigorously validated through cross-validation, using historical data and real-world testing
(Kim et al., 2021). Performance metrics such as mean absolute error (MAE), root mean square error (RMSE) and coefficient of determination (R²) were employed to assess model accuracy and generalization.
Concerning the pea crop, with a focus on its management and production in the Uttar Pradesh study region. provided details on the launch of AI-powered irrigation testing designed especially for peas. A flowchart of methodology is presented in the Fig 3.