Fuzzy Sugeno Based Temperature and Humidity Control for a Hybrid PLC-ESP32 Based Automatic Chili Drying Machine

Rachmadian Sukhoirine

Abstract

Maintaining stable temperature and relative humidity during chili drying is essential to produce high-quality dried products while reducing moisture content efficiently. This study presents a hybrid PLC–ESP32-based automatic chili drying machine employing a Fuzzy Sugeno controller for simultaneous regulation of temperature and humidity. The proposed system utilizes a Mitsubishi FX3U programmable logic controller (PLC) for real-time actuator control and an ESP32 for executing the Fuzzy Sugeno inference algorithm. Temperature error and relative humidity error are used as the controller inputs, while the outputs consist of PWM signals for the heater and the circulation fan. Communication between the ESP32 and PLC is established through the Modbus RTU protocol, enabling intelligent decision-making while maintaining industrial-grade control reliability. Experimental results demonstrate that the proposed controller successfully maintained the drying chamber temperature at the 60 °C setpoint with a maximum overshoot of 0.1 °C and a steady-state error of approximately ±0.17 °C. Compared with the conventional ON–OFF method, the proposed controller produced a more stable thermal response and improved drying performance. After four hours of drying, the average moisture content of the chili decreased to 2.6% on the upper rack and 1.0% on the lower rack, indicating relatively uniform drying throughout the chamber. Visual comparison with commercially available dried chili also showed that the proposed drying process produced a brighter red color, suggesting better preservation of product appearance under controlled drying conditions. Although no chemical composition analysis was conducted, these observations indicate that maintaining stable drying conditions contributes to improved visual quality. Overall, the proposed hybrid PLC–ESP32 architecture integrated with the Fuzzy Sugeno controller provides an effective solution for intelligent agricultural drying applications. Keywords: Automatic Chili Dryer, Fuzzy Sugeno, PLC-EPS32, Humidity Control, Temperature Control.

Keywords

Automatic Chili Dryer; Fuzzy Sugeno; PLC-ESP32; Humidity Control; Temperature Control

Full Text:

PDF

References

Mujumdar A S 2020 Handbook of Industrial Drying 4th ed (Boca

Raton: CRC Press)

Zadeh L A 1965 Fuzzy sets Information and Control 8 pp 338–353

Sugeno M 1985 Industrial Applications of Fuzzy Control (Amsterdam:

Elsevier Science)

Hosseinpour S and Martynenko A 2022 Application of Fuzzy Logic in

Drying: A Review. Drying Technology 40(5), 797–826.

Elmatsani H M et al. 2024 Global Perspective on Red Chili Drying:

Insights from Two Decades of Research (2004–2023). Frontiers in

Sustainable Food Systems.

Romauli N D M et al. 2021 Effect of Drying Whole and Half Chili

Pods Using a Solar Dryer with CaCl2 Desiccant on Quality of Powder

Chili. International Journal of Food Science.

Saputro A K et al. 2025 Design and Construction of Cocoa Bean

Drying Equipment for Regulating Water Content Using the Fuzzy

Method. JTEIN.

Ghafur M S A 2025 Rancang Bangun Sistem Kontrol Suhu Solar

Dryer Dome Menggunakan Logika Fuzzy Berbasis ESP32 dan HMI.

Mitsubishi Electric Corporation 2018 MELSEC FX3U Series User's

Manual (Tokyo: Mitsubishi Electric)

Espressif Systems 2023 ESP32 Series Datasheet (Shanghai: Espressif

Systems)

Modbus Organization 2018 MODBUS Application Protocol

Specification V1.1b3 (Hopkinton: Modbus Organization)

Sensirion AG 2023 SHT20 Humidity and Temperature Sensor

Datasheet (Stäfa: Sensirion AG)

TE Connectivity 2023 PT100 Platinum Resistance Temperature

Datasheet

Infineon Technologies 2015 BTS7960 NovalithIC Half-Bridge

Datasheet

Xie Y et al. 2025 Effect of Blanching Times and Drying

Temperatures on the Color, Moisture Migrations, Microstructures,

Phytochemicals, and Flavors of Chili Pepper (Capsicum annuum L.) Food

Chemistry 486 144690

Krokida M K et al. 2024 Drying of Red Chili Pepper (Capsicum

annuum L.): Process Kinetics, Color Changes, Carotenoid Content and

Phenolic Profile Foods

Gebrehiwot T et al. 2024 Influence of a Double-Stage Solar Tunnel

Dryer on the Preservation of Quality Characteristics and the Modelling of

Colour Variations in Red Chili Peppers Heliyon 10 e36857

Castillo-Téllez M et al. 2025 Effects of Solar Drying on Color

Change in Chili Pepper (Capsicum annuum L.)

Badan Standardisasi Nasional (BSN). 2023. SNI 3389:2023 Cabai Kering.

DOI

https://doi.org/10.21107/ijseit.v10i2.35919

Metrics

Refbacks

  • There are currently no refbacks.


Copyright (c) 2026 Rachmadian Sukhoirine

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.