A Fuzzy Logic-Based Greenhouse Smart System for Sustainable Tomato Production in Algeria
Received: 8 March 2025 | Revised: 2 April 2025 | Accepted: 19 April 2025 | Online: 2 June 2025
Corresponding author: Omrane Bouketir
Abstract
This paper presents a fuzzy logic-based farming system to help farmers cultivate tomatoes (Solanum lycopersicum) in a greenhouse in Algeria. To achieve high quality and a large crop, various climatic parameters in the greenhouse must be carefully maintained. These parameters are mainly the soil and environmental humidity, the amount of light, and the air temperature. The amount of irrigation water is also an important factor. In the proposed system, these parameters are intelligently controlled using fuzzy logic. The inputs to the developed fuzzy logic controller are the humidity and temperature of the air, the light intensity in the greenhouse, and the humidity of the soil, in addition to the level of water in the irrigation reservoir. The effect of these factors on the growth of the plant was modeled using a fuzzy logic controller developed using MATLAB. Sensors were used to read the values of these parameters and feed them to the inference engine of the system, which was an Arduino UNO card with an Atmega328 processor. The outputs of the system were the speed of the ventilation fan, light intensity, and water flow from the irrigation pump. The membership intervals for these variables were defined, and the system was tested with varying inputs. The simulation results showed that the proposed system intelligently automates the process of irrigation, ventilation, and lighting of the greenhouse.
Keywords:
Arduino, greenhouse, irrigation, membership function, smart sensorDownloads
References
E. A. Dumitru et al., "Climate Change Impacts on Vegetable Crops: A Systematic Review," Agriculture, vol. 13, no. 10, Sep. 2023, Art. no. 1891. DOI: https://doi.org/10.3390/agriculture13101891
O. Bouketir, "An automatic irrigation system for water optimization in the Algerian agricultural sector," Agricultural Science and Technology, vol. 11, no. 2, pp. 133–137, Jun. 2019. DOI: https://doi.org/10.15547/ast.2019.02.021
A. Fecih, M. Habi, and B. Morsli, "Development of the Saver Irrigation in the Northwest of the Algeria: the Case of the Tlemcen Department," The International Journal Of Engineering And Science, vol. 5, no. 2, pp. 93–98, 2016.
F. S. Mohammad, H. M. Al-Ghobari, and M. S. A. El Marazky, "Adoption of an intelligent irrigation scheduling technique and its effect on water use efficiency for tomato crops in arid regions," Australian Journal of Crop Science, vol. 7, no. 3, pp. 305–313, Mar. 2013.
S. Wolfert, L. Ge, C. Verdouw, and M. J. Bogaardt, "Big Data in Smart Farming – A review," Agricultural Systems, vol. 153, pp. 69–80, May 2017. DOI: https://doi.org/10.1016/j.agsy.2017.01.023
M. Korenko et al., "Formation of Crop Yields of Energy Crops Depending on the Soil and Weather Conditions," Acta Technologica Agriculturae, vol. 24, no. 1, pp. 41–47, Mar. 2021. DOI: https://doi.org/10.2478/ata-2021-0007
T. D. Akpenpuun and Y. Mijinyawa, "Evaluation of a Greenhouse under Tropical Conditions Using Irish Potato (Solanum Tuberosum) as the Test Crop," Acta Technologica Agriculturae, vol. 21, no. 2, pp. 56–62, Jun. 2018. DOI: https://doi.org/10.2478/ata-2018-0011
R. Shamshiri and W. I. W. Ismail, "A review of greenhouse climate control and automation systems in tropical regions," Journal of Agricultural Science and Applications, vol. 2, no. 3, pp. 176–183, 2013.
I. Laktionov, O. Vovna, I. Getman, A. Maryna, and V. Lebediev, "Results of Experimental Research on Computerized Intellectual Monitoring Means of Effective Greenhouse Illumination," International Journal on Smart Sensing and Intelligent Systems, vol. 12, no. 1, pp. 1–19, Jan. 2019. DOI: https://doi.org/10.21307/ijssis-2018-030
Ö. Aydın, U. Kıraç, C. A. Kandemir, and F. Dalkılıç, "An irrigation system supported by the internet of things (iot) and artifical intelligence," presented at the 3rd International Conference on Engineering Technology and Applied Sciences, 2018.
R. S. Krishnan et al., "Fuzzy Logic based Smart Irrigation System using Internet of Things," Journal of Cleaner Production, vol. 252, Apr. 2020, Art. no. 119902. DOI: https://doi.org/10.1016/j.jclepro.2019.119902
K. Jha, A. Doshi, and P. Patel, "Intelligent irrigation system using artificial intelligence and machine learning: a comprehensive review," International Journal of Advanced Research, vol. 6, no. 10, pp. 1493–1502, 2018. DOI: https://doi.org/10.21474/IJAR01/7959
E. S. Mohamed, Aa. Belal, S. Kotb Abd-Elmabod, M. A. El-Shirbeny, A. Gad, and M. B. Zahran, "Smart farming for improving agricultural management," The Egyptian Journal of Remote Sensing and Space Science, vol. 24, no. 3, pp. 971–981, Dec. 2021. DOI: https://doi.org/10.1016/j.ejrs.2021.08.007
A. Castañeda-Miranda and V. M. Castaño-Meneses, "Internet of things for smart farming and frost intelligent control in greenhouses," Computers and Electronics in Agriculture, vol. 176, Sep. 2020, Art. no. 105614. DOI: https://doi.org/10.1016/j.compag.2020.105614
S. Zhang, C. Zhang, C. Yang, and B. Liu, "Editorial: Artificial intelligence and Internet of Things for smart agriculture," Frontiers in Plant Science, vol. 15, Oct. 2024, Art. no. 1494279. DOI: https://doi.org/10.3389/fpls.2024.1494279
F. Fazel, A. Golmohammadi, G. Shahgholi, and E. Ahmadi, "Predictions of the Apple Bruise Volume on the Basis of Impact Energy or Maximum Contact Force Using Adaptive Neuro-Fuzzy Inference System (ANFIS)," Acta Technologica Agriculturae, vol. 23, no. 3, pp. 118–125, Sep. 2020. DOI: https://doi.org/10.2478/ata-2020-0019
M. K. Sinha and R. K. Tiwary, "Utilizing Fuzzy Logic in Precision Agriculture: Techniques for Disease Detection and Management," Journal of Statistics and Mathematical Engineering, vol. 10, no. 1, pp. 35–40, 2024. DOI: https://doi.org/10.46610/JOSME.2024.v10i01.005
D. Cavaliere, S. Senatore, and V. Loia, "Crop health assessment through hierarchical fuzzy rule-based status maps," Knowledge and Information Systems, vol. 66, no. 11, pp. 7109–7136, Nov. 2024. DOI: https://doi.org/10.1007/s10115-024-02180-w
O. Bouketir and Y. Boukazoul, "A multi-sensor farming prototype system for growing tomato in Algeria," in 2022 19th International Multi-Conference on Systems, Signals & Devices (SSD), Sétif, Algeria, May 2022, pp. 1929–1935. DOI: https://doi.org/10.1109/SSD54932.2022.9955729
Y. Akkem, S. K. Biswas, and A. Varanasi, "Smart farming using artificial intelligence: A review," Engineering Applications of Artificial Intelligence, vol. 120, Apr. 2023, Art. no. 105899. DOI: https://doi.org/10.1016/j.engappai.2023.105899
J. Rane, Ö. Kaya, S. K. Mallick, and N. L. Rane, "Smart farming using artificial intelligence, machine learning, deep learning, and ChatGPT: Applications, opportunities, challenges, and future directions," in Generative Artificial Intelligence in Agriculture, Education, and Business, Deep Science Publishing, 2024. DOI: https://doi.org/10.70593/978-81-981271-7-4_6
D. Deepalakshmi and B. Pushpa, "Cognitive Fish Swarm Optimization for Multi-Objective Routing in IoT-based Wireless Sensor Networks utilized in Greenhouse Agriculture," Engineering, Technology & Applied Science Research, vol. 15, no. 1, pp. 19472–19477, Feb. 2025. DOI: https://doi.org/10.48084/etasr.9203
R. R. Shamshiri, J. W. Jones, K. R. Thorp, D. Ahmad, H. C. Man, and S. Taheri, "Review of optimum temperature, humidity, and vapour pressure deficit for microclimate evaluation and control in greenhouse cultivation of tomato: a review," International Agrophysics, vol. 32, no. 2, pp. 287–302, Apr. 2018. DOI: https://doi.org/10.1515/intag-2017-0005
I. Petrović et al., "Fruit quality of cherry and large fruited tomato genotypes as influenced by water deficit," Zemdirbyste-Agriculture, vol. 106, no. 2, pp. 123–128, May 2019. DOI: https://doi.org/10.13080/z-a.2019.106.016
S. Adams, K. E. Cockshull, and C. R. J. Cave "Effect of Temperature on the Growth and Development of Tomato Fruits," Annals of Botany, vol. 88, no. 5, pp. 869–877, Nov. 2001. DOI: https://doi.org/10.1006/anbo.2001.1524
K. Verkerk, "Temperature, light and the tomato," Ph.D. dissertation, H. Veenman & Zonen, Netherlands, 1955.
Downloads
How to Cite
License
Copyright (c) 2025 Omrane Bouketir, Abderahim Saib, Alaeddine Fenni

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain the copyright and grant the journal the right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) after its publication in ETASR with an acknowledgement of its initial publication in this journal.
