On-Target Embedded Benchmarking of Mamdani and Neural-Network-Tuned Fuzzy Controllers for Automotive Deceleration Command Computation
Adnan Shaout, Luis E. Castaneda-Trejo
Key points
From the paper's conclusion- This paper presents a same-platform benchmarking framework running a baseline Mamdani fuzzy logic controller and a neural-network-tuned variant on one STM32H723ZG target, sharing a common CAN input, a 27-rule Mamdani inference path, and an on-target Cortex-M7 cycle-counter (DWT) timing method that needs no external hardware.
Abstract
Intelligent braking controllers are usually evaluated in simulation or by vehicle-level performance, but few studies isolate the embedded computational cost of deploying them on the same microcontroller. This paper presents a same-platform benchmarking framework running a baseline Mamdani fuzzy logic controller and a neural-network-tuned variant on one STM32H723ZG target, sharing a common CAN input, a 27-rule Mamdani inference path, and an on-target Cortex-M7 cycle-counter (DWT) timing method that needs no external hardware. The controllers differ only in a compact feedforward network that adjusts three speed and three distance membership-function breakpoints, isolating the tuning layer’s cost. A 450-case zero-tuning test reproduces the baseline exactly, and a 443-vector Colab-to-STM32 campaign confirms the deployed network matches its offline reference to within 2.38 × 10−7. Over nine scenarios and 9000 samples, in an optimization-enabled (–O2) build, the tuning layer added 10.5 µs (6.29%) and under 1% of the 20 ms control period, with no observed controller-execution deadline miss. A Float32 sweep of 886 operating points shows the layer moves the deceleration command by up to 1.332 m/s2, concentrated where the membership functions are unsaturated. The contribution is a reproducible methodology quantifying the on-target execution cost, deployment fidelity and functional authority of a neural-network tuning layer on a high-performance Cortex-M7 embedded microcontroller.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- 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
- Reusable MATLAB-Generated Fuzzy Inference for Embedded Electronics: Integration in C and C++Electronics · 2026
- Implementation and Experimental Comparison of EFORK3, M2sFRK, and Grünwald–Letnikov on STM32 Microcontrollers with Floating- and Fixed-Point ArithmeticEng · 2026
- Is Your AI Fast Enough to Run a Fusion Reactor?arXiv · 2026
- AccelMPC: High-Rate, Low-Power FPGA-Accelerated Model Predictive Control for Tiny DronesarXiv · 2026
- A Stage-Based Framework for Embedded Implementation and Experimental Validation of Fractional-Order PID ControllersAutomation · 2026