The automatic water filling process requires high accuracy to ensure that the filled amount meets the specified target. Systems operating at a constant pump speed tend to produce overshoot because the flow rate cannot be adjusted as the target is approached. This study develops an Autofilling system based on weight feedback using Takagi-Sugeno fuzzy logic control to adaptively regulate the pump speed. The system integrates an Arduino Nano, a load cell with an HX711 module, a PWM-controlled DC pump, a solenoid valve, and a Nextion HMI for real-time monitoring. The fuzzy controller uses error and delta error as inputs to determine the pump PWM. Tests were conducted at target weights ranging from 200 to 1000 g by comparing the system without fuzzy control with the Takagi-Sugeno fuzzy-controlled system. The fuzzy controller reduced the average error from 23.24 g to 1.20 g and the percentage error from 5.53% to 0.21%, while increasing the accuracy from 94.47% to 99.79%. The average filling duration was also reduced from 44.61 s to 22.08 s. These results demonstrate that Takagi-Sugeno fuzzy control improves accuracy and reduces overshoot, with a shorter filling duration under the experimental configuration used.
Copyrights © 2026