Solar Agro Savior: Smart Agricultural Monitoring Using Drones and Deep Learning Techniques
Abstract
1. Introduction
2. Literature Review
3. Methodology
3.1. Irrigation Scheduler and Data Processing
3.2. Action on Drones
3.3. Prediction and Manipulation Methodology
3.4. Solar Agro Savior: A Hybrid Combination of LSTM and Attention-Based Model for Healthy Crop Identification and Classification
| Algorithm 1 Proposed Classification Algorithm—SAS |
Input: KaraAgro AI; Total number of edge nodes Output: Trained Global Model
|
Proposed Framework—Solar Agro Savior
- represents the hidden state at time step t;
- and are learnable weight matrices;
- is the bias term;
- denotes the tanh activation function used in LSTM.
- Q, K, and V are the Query, Key, and Value matrices derived from the LSTM hidden states;
- represents the feature dimension;
- A is the attention weight matrix.
- represents the combined representation of the characteristics of both mechanisms;
- is the last hidden state of the LSTM;
- is a learnable fusion coefficient that determines the balance between the LSTM and attention-based mechanisms, with values ranging between 0 and 1.
- represents the pooled feature vector;
- T is the total number of time steps in the sequence.
- represents the predicted probability;
- and are the weight matrix and bias term of the fully connected layer;
- is the pooled feature representation;
- is the sigmoid activation function, which ensures the output is in the range [0, 1].
- is the true label (0 for healthy plants; 1 for infected plants);
- is the predicted probability;
- N is the total number of samples.
3.5. Dataset Overview: Agriculture Segmentation
3.6. Energy Efficient SAS System
4. Performance Metrics and Equations
4.1. Plant Disease Detection (Accuracy)
- TP: true positives (correctly identified diseased plants);
- TN: true negatives (correctly identified healthy plants);
- FP: false positives (healthy plants misclassified as diseased);
- FN: false negatives (diseased plants misclassified as healthy).
4.2. Precision in Irrigation
4.3. Recall
4.4. F1 Score
5. Results
5.1. Preparing Training Set and Classification Results
5.2. Comparative Analysis of Proposed with Other Algorithms
5.2.1. Accuracy
5.2.2. Precision
5.2.3. Recall
5.2.4. F1 Score
6. Discussion
7. Challenges and Future Enhancement
8. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Florina, B.; Bodislav, D.A.; Gombos, S.; Angheluță, S.P. Artificial Intelligence for Sustainable Agribusiness: Innovations and Challenges. Eur. J. Sustain. Dev. 2024, 13, 233. [Google Scholar] [CrossRef]
- Nations, U. Transforming Our World: The 2030 Agenda for Sustainable Development; United Nations, Department of Economic and Social Affairs: New York, NY, USA, 2015; Volume 1, p. 41. [Google Scholar]
- Liakos, K.G.; Busato, P.; Moshou, D.; Pearson, S.; Bochtis, D. Machine learning in agriculture: A review. Sensors 2018, 18, 2674. [Google Scholar] [CrossRef]
- Balta, M.A.; Kulat, M.I. Transforming an irrigation system to a smart irrigation system: A case study from Türkiye (Turkey). Irrig. Drain. 2024, 73, 1799–1811. [Google Scholar] [CrossRef]
- Ledmaoui, Y.; El Maghraoui, A.; El Aroussi, M.; Saadane, R.; Chebak, A.; Chehri, A. Forecasting solar energy production: A comparative study of machine learning algorithms. Energy Rep. 2023, 10, 1004–1012. [Google Scholar] [CrossRef]
- Vennila, C.; Titus, A.; Sudha, T.S.; Sreenivasulu, U.; Reddy, N.P.R.; Jamal, K.; Lakshmaiah, D.; Jagadeesh, P.; Belay, A. Forecasting solar energy production using machine learning. Int. J. Photoenergy 2022, 2022, 7797488. [Google Scholar] [CrossRef]
- Padmavathi, B.; BhagyaLakshmi, A.; Vishnupriya, G.; Datchanamoorthy, K. IoT-based prediction and classification framework for smart farming using adaptive multi-scale deep networks. Expert Syst. Appl. 2024, 254, 124318. [Google Scholar] [CrossRef]
- Mohamed, E.S.; Belal, A.; Abd-Elmabod, S.K.; El-Shirbeny, M.A.; Gad, A.; Zahran, M.B. Smart farming for improving agricultural management. Egypt. J. Remote Sens. Space Sci. 2021, 24, 971–981. [Google Scholar] [CrossRef]
- Noorunnahar, M.; Chowdhury, A.H.; Mila, F.A. A tree based eXtreme Gradient Boosting (XGBoost) machine learning model to forecast the annual rice production in Bangladesh. PLoS ONE 2023, 18, e0283452. [Google Scholar] [CrossRef]
- VanDeventer, W.; Jamei, E.; Thirunavukkarasu, G.S.; Seyedmahmoudian, M.; Soon, T.K.; Horan, B.; Mekhilef, S.; Stojcevski, A. Short-term PV power forecasting using hybrid GASVM technique. Renew. Energy 2019, 140, 367–379. [Google Scholar] [CrossRef]
- Liu, L.; Wang, R.; Xie, C.; Yang, P.; Wang, F.; Sudirman, S.; Liu, W. PestNet: An end-to-end deep learning approach for large-scale multi-class pest detection and classification. IEEE Access 2019, 7, 45301–45312. [Google Scholar] [CrossRef]
- Yulita, I.N.; Rambe, M.F.R.; Sholahuddin, A.; Prabuwono, A.S. A convolutional neural network algorithm for pest detection using GoogleNet. AgriEngineering 2023, 5, 2366–2380. [Google Scholar] [CrossRef]
- Marcillo, G.S.; Martin, N.F.; Diers, B.W.; Da Fonseca Santos, M.; Leles, E.P.; Chigeza, G.; Francischini, J.H. Implementation of a generalized additive model (Gam) for soybean maturity prediction in african environments. Agronomy 2021, 11, 1043. [Google Scholar] [CrossRef]
- Hsu, T.C.; Tsai, Y.H.; Chu, W.C.C.; Chen, S.w.; Tsai, H.L.; Chang, Y.K. Exploration of advanced computer technology to address analytical and noise improvement issues in machine learning. J. Syst. Softw. 2023, 205, 111820. [Google Scholar] [CrossRef]
- Zhu, Z.; Jiang, M.; Dong, J.; Wu, S.; Ma, F. PD-SegNet: Semantic Segmentation of Small Agricultural Targets in Complex Environments. IEEE Access 2023, 11, 90214–90226. [Google Scholar] [CrossRef]
- Asadi, M.; Pourhossein, K.; Mohammadi-Ivatloo, B. GIS-assisted modeling of wind farm site selection based on support vector regression. J. Clean. Prod. 2023, 390, 135993. [Google Scholar] [CrossRef]
- Resti, Y.; Zayanti, D.A.; Dewi, N.R.; Yani, I.; Darmawan, F.; Jimmy. Classification of Corn Diseases and Pests Using Fuzzy Naïve Bayes Method. J. Adv. Res. Appl. Sci. Eng. Technol. 2024, 59, 106–115. [Google Scholar] [CrossRef]
- Aziz, L.; Salam, M.S.B.H.; Sheikh, U.U.; Ayub, S. Exploring deep learning-based architecture, strategies, applications and current trends in generic object detection: A comprehensive review. IEEE Access 2020, 8, 170461–170495. [Google Scholar] [CrossRef]
- Li, M.; Cheng, S.; Cui, J.; Li, C.; Li, Z.; Zhou, C.; Lv, C. High-performance plant pest and disease detection based on model ensemble with inception module and cluster algorithm. Plants 2023, 12, 200. [Google Scholar] [CrossRef] [PubMed]
- Bhattacharyya, D.; Joshua, E.S.N.; Rao, N.T.; Kim, T.h. Hybrid CNN-SVM Classifier Approaches to Process Semi-Structured Data in Sugarcane Yield Forecasting Production. Agronomy 2023, 13, 1169. [Google Scholar] [CrossRef]
- Catala-Roman, P.; Segura-Garcia, J.; Dura, E.; Navarro-Camba, E.A.; Alcaraz-Calero, J.M.; Garcia-Pineda, M. AI-based autonomous UAV swarm system for weed detection and treatment: Enhancing organic orange orchard efficiency with agriculture 5.0. Internet Things 2024, 28, 101418. [Google Scholar] [CrossRef]
- Jawale, D.; Malik, S. MPSARB: Design of an efficient multiple crop pattern prediction system with secure agriculture-record-storage model via reconfigurable blockchains. J. Ambient. Intell. Humaniz. Comput. 2024, 15, 2529–2541. [Google Scholar] [CrossRef]
- Balasubramanian, A.; Elangeswaran, S.V.J. A novel power aware smart agriculture management system based on RNN-LSTM. Electr. Eng. 2025, 107, 2347–2368. [Google Scholar] [CrossRef]
- Wang, H.; Zhang, L.; Zhao, J. Application of a Fusion Attention Mechanism-Based Model Combining Bidirectional Gated Recurrent Units and Recurrent Neural Networks in Soil Nutrient Content Estimation. Agronomy 2023, 13, 2724. [Google Scholar] [CrossRef]
- Awais, M.; Li, W.; Cheema, M.M.; Hussain, S.; Shaheen, A.; Aslam, B.; Liu, C.; Ali, A. Assessment of optimal flying height and timing using high-resolution unmanned aerial vehicle images in precision agriculture. Int. J. Environ. Sci. Technol. 2021, 19, 2703–2720. [Google Scholar] [CrossRef]
- Xie, R.; Hao, K.; Huang, B.; Chen, L.; Cai, X. Data-driven modeling based on two-stream λ gated recurrent unit network with soft sensor application. IEEE Trans. Ind. Electron. 2019, 67, 7034–7043. [Google Scholar] [CrossRef]
- Hochreiter, S.; Schmidhuber, J. Long short-term memory. Neural Comput. 1997, 9, 1735–1780. [Google Scholar] [CrossRef]
- Swapno, S.M.R.; Nobel, S.N.; Islam, M.B.; Bhattacharya, P.; Mattar, E.A. ViT-SENet-Tom: Machine learning-based novel hybrid squeeze–excitation network and vision transformer framework for tomato fruits classification. Neural Comput. Appl. 2025, 37, 6583–6600. [Google Scholar] [CrossRef]
- Iqbal, U.; Li, D.; Du, Z.; Akhter, M.; Mushtaq, Z.; Qureshi, M.F.; Rehman, H.A.U. Augmenting aquaculture efficiency through involutional neural networks and self-attention for oplegnathus punctatus feeding intensity classification from log mel spectrograms. Animals 2024, 14, 1690. [Google Scholar] [CrossRef]
- Li, H.; Tu, B.; Liu, B.; Li, J.; Plaza, A. Adaptive Feature Self-Attention in Spiking Neural Networks for Hyperspectral Classification. IEEE Trans. Geosci. Remote Sens. 2024, 63, 5500915. [Google Scholar] [CrossRef]
- KaraAgroAI. Drone-Based Agricultural Dataset for Crop Yield Estimation. 2023. Available online: https://huggingface.co/datasets/KaraAgroAI/Drone-based-Agricultural-Dataset-for-Crop-Yield-Estimation (accessed on 19 May 2025).
- Martins, A.; Astudillo, R. From softmax to sparsemax: A sparse model of attention and multi-label classification. In Proceedings of the International Conference on Machine Learning, PMLR, New York, NY, USA, 20–22 June 2016; pp. 1614–1623. [Google Scholar]
- Brownlee, J. Sequence classification with lstm recurrent neural networks in python with keras. Deep. Learn. Nat. Lang. Process. Mach. Learn. Mastery 2016. [Google Scholar]
- Zhang, Z.; Sabuncu, M. Generalized cross entropy loss for training deep neural networks with noisy labels. In Proceedings of the Advances in Neural Information Processing Systems, Montreal, QC, Canada, 3–8 December 2018; Volume 31. [Google Scholar]
- Liu, B.; Zhang, Y.; He, D.; Li, Y. Identification of apple leaf diseases based on deep convolutional neural networks. Symmetry 2017, 10, 11. [Google Scholar] [CrossRef]
- Wang, G.; Sun, Y.; Wang, J. Automatic image-based plant disease severity estimation using deep learning. Comput. Intell. Neurosci. 2017, 2017, 2917536. [Google Scholar] [CrossRef]
- Too, E.C.; Yujian, L.; Njuki, S.; Yingchun, L. A comparative study of fine-tuning deep learning models for plant disease identification. Comput. Electron. Agric. 2019, 161, 272–279. [Google Scholar] [CrossRef]
- Akram, N.; Khoshrangbaf, M.; Challenger, M.; Dagdeviren, O. Energy Consumption Modeling and Flight Time Analysis of Micro Drones. IEEE Access 2025, 13, 109854–109866. [Google Scholar] [CrossRef]
- Campos, I.; Brito, M.; De Souza, D.; Santino, A.; Luz, G.; Pera, D. Structuring the problem of an inclusive and sustainable energy transition—A pilot study. J. Clean. Prod. 2022, 365, 132763. [Google Scholar] [CrossRef]
- Lee, S.H.; Goëau, H.; Bonnet, P.; Joly, A. Attention-based recurrent neural network for plant disease classification. Front. Plant Sci. 2020, 11, 601250. [Google Scholar] [CrossRef]
- Li, R.-c.; Wen, C.-k.; Li, S.-y.; Li, R.; Pu, H.-y.; Jiang, Y.; Song, Z.-h. Quality prediction of tractor rotary tillage based on BiConvLSTM with self-attention. Comput. Electron. Agric. 2023, 206, 107643. [Google Scholar] [CrossRef]
- Zhang, J.L.; Su, W.H.; Zhang, H.Y.; Peng, Y. SE-YOLOv5x: An optimized model based on transfer learning and visual attention mechanism for identifying and localizing weeds and vegetables. Agronomy 2022, 12, 2061. [Google Scholar] [CrossRef]











| Ref. | Algorithm | Working Principle | Advantages | Limitations |
|---|---|---|---|---|
| [9] | Extreme Gradient Boosting Algorithm | Gradient Boosting to train an ensemble of decision trees iteratively. | Optimizes solar energy and minimizes errors while preventing overfitting. | Needs hyperparameter tuning and computational intensity increases with large datasets. |
| [10] | Genetic Algorithm-Based Support Vector Machine (GASVM) | An integrated method with genetic algorithm and support vector machine. | Optimizes SVM parameters and handles nonlinear and complex data with adaptability. | Computationally intensive due to iterative nature; less effective for real-time applications. |
| [11] | PestNet | Utilizes multiclass pest detection with three innovative components: channel spatial attention, region proposal network, and positive sensitive score. | Improved detection accuracy and reduced computational complexity. | High computational demands and requires advanced implementation setup. |
| [12] | GoogleNet | GoogleNet is an Inception network based on the CNN principle with additional features from the input layer. | Effective computation with fewer parameters and high scalability. | Requires significant computational resources and may overfit. |
| [13] | Generalized Additive Model (GAM) | Predicts solar energy using linear and nonlinear modeling. | Handles nonlinearity effectively and compatible with medium-sized datasets. | Computationally complex with large datasets and sensitive to dataset variations. |
| [14] | FasterRNN | Specialized architecture designed for parallelization and gating. | Resilient to noise and offers faster inference time with parallelization, enabling efficient processing of complex operations and larger datasets. | Requires more computational resources and hyperparameter tuning. |
| [15] | PD-SEGNET (Powerful Decoder SegFormer Network) | Hybrid architecture with the Mix transformer encoder and MLP-based decoder for semantic segmentation. | Optimizes accuracy and excels in segmenting small agricultural targets. | Challenges in crop instance segmentation due to inherent coherence behavior. |
| [16] | Support Vector Regression | Hyperplane-based method for predicting solar energy production. | Minimizes prediction errors and handles high-dimensional data. | Computationally expensive due to quadratic programming and requires careful parameter tuning. |
| [17] | Fuzzy Naïve Bayesian | Statistical machine learning for classifying diseases and pests in crops. | Combines fuzzy logic and probabilistic output; efficient computation and noise robustness. | Struggles with nonlinear relationships in complex data. |
| [18] | RetinaNet | Uses a two-stage detection approach with a novel focal loss function to improve training on unbalanced positive and negative instances. | Achieves significant improvement in average precision for small objects while maintaining detection speed. | Performance is limited by high computational demands and inefficiency with new models and architectures. |
| [19] | Inception v2 | Utilizes parallel convolution and pooling branches at multiple scales for effective feature extraction and fusion. | Enhances feature capture, improving accuracy in image classification and object detection. | Resource scarcity due to high computational cost. |
| [20] | Hybrid CNN-SVM | Combines Gaussian probabilistic methods, a CNN, and SVM for soil moisture prediction and categorization. | Improves accuracy in crop yield prediction, benefiting farming stakeholders. | Requires substantial digital resources and expert handling for real-time use. |
| [21] | YOLO V10 | Real-time object detection through grid-based prediction of bounding boxes and class probabilities in a single forward pass. | Enhanced accuracy and precision through advanced architecture suitable for high-resolution datasets. | Anchor-based approach for improved detection of small and overlapping objects in complex scenes. |
| [22] | BCNN (Binary-Cascaded Convolutional Neural Network) | Specialized architecture that converts complex multiclass problems into binary classification subproblems using cascading. | High data access capability and excellent scalability for large datasets. | Risk of overfitting and error accumulation due to reliance on previous predictions. |
| [23] | LSTM | A specialized recurrent neural network (RNN) that captures linear patterns, maintains temporal relationships, and predicts future agricultural crop data using historical information. | Effectively improves accuracy in smart agricultural prediction by two-fifths compared to traditional methods. | Faces complications with limited computational resources, causing issues in real-time applications. |
| [24] | Attention-Based RNN | An integrated combination of Bidirectional Gated Recurrent Units (BiGRUs) and an RNN for accurate soil nutrient estimation by capturing essential features and long-term dependencies through the attention mechanism. | Superior prediction accuracy and optimizes fertilizer management and soil fertility. | Requires advanced computational resources and expert implementation for broader smart agriculture adoption. |
| No. of Images | Accuracy (%) | |||
|---|---|---|---|---|
| SAS | Attention-Based | LSTM | YOLO V10 | |
| 100 | 95.3 | 92.1 | 90.4 | 87.2 |
| 200 | 96 | 93 | 91.2 | 88.1 |
| 300 | 96.7 | 93.8 | 92 | 88.7 |
| 400 | 97.2 | 94.4 | 92.7 | 89.4 |
| 500 | 97.6 | 94.9 | 93.2 | 90 |
| 600 | 98 | 95.3 | 93.7 | 90.5 |
| 700 | 98.3 | 95.7 | 94.2 | 91 |
| 800 | 98.6 | 96.1 | 94.6 | 91.4 |
| 900 | 98.8 | 96.4 | 95 | 91.8 |
| 1000 | 99 | 96.7 | 95.3 | 92.2 |
| No. of Images | Precision (%) | |||
|---|---|---|---|---|
| SAS | Attention-Based | LSTM | YOLO V10 | |
| 100 | 93.9 | 90.7 | 88.9 | 85.1 |
| 200 | 94.5 | 91.5 | 89.6 | 85.8 |
| 300 | 95.2 | 92.1 | 90.2 | 86.4 |
| 400 | 95.7 | 92.7 | 90.8 | 87.0 |
| 500 | 96.2 | 93.2 | 91.3 | 87.5 |
| 600 | 96.6 | 93.6 | 91.8 | 88.0 |
| 700 | 96.9 | 93.9 | 92.2 | 88.4 |
| 800 | 97.2 | 97.2 | 92.6 | 88.8 |
| 900 | 97.5 | 97.5 | 93.0 | 89.2 |
| 1000 | 97.8 | 97.8 | 93.3 | 89.5 |
| No. of Images | Recall (%) | |||
|---|---|---|---|---|
| SAS | Attention-Based | LSTM | YOLO V10 | |
| 100 | 94.6 | 91.5 | 89.4 | 86.7 |
| 200 | 95.3 | 92.2 | 90.4 | 87.4 |
| 300 | 95.9 | 92.9 | 91.1 | 88.0 |
| 400 | 96.4 | 93.4 | 91.6 | 88.6 |
| 500 | 96.8 | 93.9 | 92.2 | 89.2 |
| 600 | 97.2 | 94.3 | 92.6 | 89.6 |
| 700 | 97.6 | 94.7 | 93.1 | 90.2 |
| 800 | 97.9 | 95.1 | 93.5 | 90.6 |
| 900 | 98.2 | 95.4 | 93.8 | 91.0 |
| 1000 | 98.4 | 95.7 | 94.1 | 91.4 |
| No. of Images | F1 Score (%) | |||
|---|---|---|---|---|
| SAS | Attention-Based | LSTM | YOLO V10 | |
| 100 | 94.3 | 91.1 | 89.3 | 85.9 |
| 200 | 94.9 | 91.8 | 89.9 | 86.6 |
| 300 | 95.5 | 92.5 | 90.6 | 87.2 |
| 400 | 96.0 | 93.1 | 91.2 | 87.8 |
| 500 | 96.4 | 93.6 | 91.7 | 88.3 |
| 600 | 96.8 | 94.0 | 92.2 | 88.8 |
| 700 | 97.2 | 94.4 | 92.6 | 89.2 |
| 800 | 97.5 | 94.8 | 93.0 | 89.6 |
| 900 | 97.8 | 95.1 | 93.4 | 90.0 |
| 1000 | 98.1 | 95.4 | 93.7 | 90.3 |
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. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Mundappat Ramachandran, M.; Fahad Mon, B.; Hayajneh, M.; Abu Ali, N.; Badidi, E. Solar Agro Savior: Smart Agricultural Monitoring Using Drones and Deep Learning Techniques. Agriculture 2025, 15, 1656. https://doi.org/10.3390/agriculture15151656
Mundappat Ramachandran M, Fahad Mon B, Hayajneh M, Abu Ali N, Badidi E. Solar Agro Savior: Smart Agricultural Monitoring Using Drones and Deep Learning Techniques. Agriculture. 2025; 15(15):1656. https://doi.org/10.3390/agriculture15151656
Chicago/Turabian StyleMundappat Ramachandran, Manu, Bisni Fahad Mon, Mohammad Hayajneh, Najah Abu Ali, and Elarbi Badidi. 2025. "Solar Agro Savior: Smart Agricultural Monitoring Using Drones and Deep Learning Techniques" Agriculture 15, no. 15: 1656. https://doi.org/10.3390/agriculture15151656
APA StyleMundappat Ramachandran, M., Fahad Mon, B., Hayajneh, M., Abu Ali, N., & Badidi, E. (2025). Solar Agro Savior: Smart Agricultural Monitoring Using Drones and Deep Learning Techniques. Agriculture, 15(15), 1656. https://doi.org/10.3390/agriculture15151656

