Claim Missing Document
Check
Articles

Found 1 Documents
Search

Mamdani Fuzzy Control of Coffee Fertigation Duration Using Pore Water Electrical Conductivity and Soil Moisture Alessy Milandra Fahrezi; Gde Saputra Pramana Artha; Fattih Algie Maulana; Christian Leonardo Setiawan; Muhammad Habiburrahman; Wuliddah Tamsil Barokah
Journal of Applied Science, Technology & Humanities Vol. 3 No. 5 (2026): November 2026
Publisher : Batrisya Education

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.62535/5m6qgb35

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.