Answers are grounded in this paper and cite their sources.
Open-source platform teaches DC motor control principles to undergraduate students, highlighting practical applications.
In this paper, I present an open-source educational platform for teaching closed-loop control of a DC motor to undergraduate students. The platform integrates a Raspberry Pi 4 with an L298N motor driver and an infrared reflective speed sensor, providing hands-on access to four controller types: Proportional-Integral (PI), Proportional-Integral-Derivative (PID), Mamdani fuzzy logic, and a neural-network-tuned Mamdani fuzzy controller. The neural-tuned controller uses three independently trained Keras neural networks to predict adaptive scaling factors for the fuzzy controller's error, change-in-error, and output signals at each control cycle. Ground-truth scaling factors for supervised training are generated using the Åström-Hägglund relay-feedback auto-tuning method across the motor's operating range. The system is exposed through a PyQt5 graphical interface with real-time plotting, controller switching, parameter tuning, and an integrated educational module containing topic explanations and an interactive tutorial. The complete source code is released under an MIT license. This paper documents the architecture, training pipeline, software design, and educational module. Preliminary observations from informal bench testing are reported, with quantitative comparative evaluation deferred to future work using preserved experimental datasets. The platform is intended as a teaching artifact for undergraduate control engineering courses and as a starting point for student projects exploring hybrid neuro-fuzzy control.
No takes yet. Share an insight, caveat, or question.
Alex Odhiambo Haya (2026) studied this question.
Synapse has enriched 8 closely related papers on similar clinical questions. Consider them for comparative context: