Journal of Applied Science, Technology & Humanities
Vol. 3 No. 5 (2026): November 2026

Mamdani Fuzzy Control of Coffee Fertigation Duration Using Pore Water Electrical Conductivity and Soil Moisture

Alessy Milandra Fahrezi (IPB University)
Gde Saputra Pramana Artha (IPB University)
Fattih Algie Maulana (IPB University)
Christian Leonardo Setiawan (IPB University)
Muhammad Habiburrahman (IPB University)
Wuliddah Tamsil Barokah (IPB University)



Article Info

Publish Date
29 Nov 2026

Abstract

Coffee fertigation must respond to both soil nutrient and soil water status, yet low-cost soil sensors report bulk electrical conductivity (EC), which changes with moisture as well as nutrient concentration. This study designs and verifies an ESP32-based Mamdani fuzzy controller that determines fertigation pump duration from pore water EC and volumetric water content (VWC). Bulk EC from an RS485 soil sensor is converted to pore water EC using the Topp and Hilhorst models and expressed as a relative error from an operator-defined setpoint. Membership functions are anchored to FAO-56 soil water thresholds for clay soil and coffee, and to published EC ranges for coffee fertigation. The nine-rule inference was verified by manual calculation, MATLAB simulation, and processor-in-the-loop execution on the ESP32 using 36 systematically designed test vectors and a 21-day synthetic scenario. For the worked case (VWC 33%, error −25%), the analytical centroid was 51.80 s against 52.03 s from 101-point discretization, and the mean absolute difference between MATLAB and ESP32 was 3.55 × 10⁻⁶ s. The scenario showed that dosing stops when the soil enters the water-stress zone even when EC is below target, and resumes after irrigation. The controller offers a verifiable basis for moisture-aware coffee fertigation.

Copyrights © 2026






Journal Info

Abbrev

batrisya

Publisher

Subject

Humanities Computer Science & IT Control & Systems Engineering Economics, Econometrics & Finance Social Sciences

Description

Journal of Applied Science, Technology & Humanities is published by Batrisya Education. Published five times a year, in January, March, June, September, November and already have a registration number ISSN 3032-5765, DOI: https://doi.org/10.62535/jasth. Journal of Applied Science, Technology & ...