Reusable MATLAB-Generated Fuzzy Inference for Embedded Electronics: Integration in C and C++
Goker Ariyak
Key points
From the paper's conclusion- Target peak stack/heap, corrected-board latency, engineering-hour savings and mobile-to-ESP32 operation remain open measurements.
Abstract
This paper reports engineering integration and validation of MATLAB-generated fuzzy inference routines within embedded C and C++ projects. Archived STM32F469, SAM3X8E, and Raspberry Pi deployments are examined alongside controlled host experiments and matched Cortex-M4 cross-compilation. A source comparison finds that 98 of 107 generated files remain unchanged after line-ending normalization. Host tests reproduce and correct a file reading defect that can omit the final fuzzy rule, qualifying historical target outputs. One unchanged Windows executable completes 1000 tipper–FISMAT–tipper cycles, including 3000 checked loads/evaluations, with balanced instrumented allocations. Each variant in a synthetic 4–128-rule family passes 121-input numerical checks. Measured peak host allocation payload increases from 39,030 to 221,812 bytes with rule count. Preloading reduces mean call latency by 94.88% for the four-rule comparison while retaining more prepared state. Fixed-model and sampling-matched fuzzylite controls characterize host execution costs; matched Cortex-M4 linked images isolate selected Flash and static-RAM costs. These images were not executed on hardware. Target peak stack/heap, corrected-board latency, engineering-hour savings and mobile-to-ESP32 operation remain open measurements. This study’s contribution is a reproducible integration case study with explicit validation boundaries.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- On-Target Embedded Benchmarking of Mamdani and Neural-Network-Tuned Fuzzy Controllers for Automotive Deceleration Command ComputationEng · 2026
- Fine-Tuning Gemma 4 Edge Models for MATLAB Signal-Processing Code with SFT and QLoRA on a Laptop iGPUarXiv · 2026
- Implementation and Experimental Comparison of EFORK3, M2sFRK, and Grünwald–Letnikov on STM32 Microcontrollers with Floating- and Fixed-Point ArithmeticEng · 2026
- Speed Versus Accuracy in Embedded Bio-Inspired Control: PSO-Tuned Fuzzy and PI Controllers on a 48 V Synchronous Boost Converter.Biomimetics (Basel, Switzerland) · 2026
- P4FPID: A Toolbox for Direct and Advanced Interactions With Fuzzy Logic Controllers With an Application to a Ball‐and‐Beam SystemComputer Applications in Engineering Education · 2026
- Benchmarking Large Language Models for Embedded Systems Programming in Microcontroller-Driven IoT ApplicationsFuture Internet · 2026