Electronics

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

Reusable MATLAB-Generated Fuzzy Inference for Embedded Electronics: Integration in C and C++ — Science Skim