Real-Time Edge Deployment of ANFIS for IoT Energy Optimization
This work presents the real-world deployment of an Adaptive Neuro-Fuzzy Inference System (ANFIS) for intelligent energy control in resource-constrained IoT devices. The proposed system employs a first-order Takagi–Sugeno fuzzy model with three Gaussian membership functions per input: ambient temperature, light intensity, and battery voltage. The model was trained offline using augmented environmental datasets and subsequently translated into optimized embedded C code for execution on an ESP32 microcontroller. The controller dynamically adjusts the node’s deep sleep duration according to environmental conditions, enabling adaptive behavior based solely on local environmental conditions without requiring external connectivity. A 10-day field deployment compared the ANFIS controller with conventional fixed and rule-based strategies. Results show that the ANFIS-based strategy reduced energy consumption by 31.1% relative to the fixed approach while maintaining accurate adaptation to environmental conditions (RMSE = 9.6 s). The inference process required less than 2.5 ms and used under 30 KB of RAM, confirming the feasibility of real-time fuzzy inference on resource-constrained embedded platforms.
Authors
- Koldo Portal-Porras (ORCID: https://orcid.org/0000-0003-4747-963X)
- Daniel Teso-Fz-Betoño (ORCID: https://orcid.org/0000-0002-2740-510X)
- José Manuel López-Guede (ORCID: https://orcid.org/0000-0002-5310-1601)
- Iñigo Aramendia
- Daniel Caballero-Martin
- Jose Antonio Ramos-Hernanz
Institutions
- University of the Basque Country (ES)
- Centro de Tecnologías Aeronauticas (Spain) (ES)
Publication Details
- Journal
- Processes
- Published
- 2026-03-21
- DOI
- https://doi.org/10.3390/pr14061004
- Primary Topic
- Energy Efficiency in Computing
- Type
- article
- Field-Weighted Citation Impact
- 0.00