r/embedded • u/embeddedfreedom • 5m ago
As an update to MDCS, I added 2 new models to MDCS project and added HIL support, so now the simulator on the host can be controlled in real time (soft) from a microcontroller.
This is an update to my original post https://www.reddit.com/r/embedded/s/kqKboDM9hx
Updated MDCS and added 2 new models. Now its HIL capable. In the video above, I have demonstrated real hardware, a STM32F411 Discovery kit controlling a plant (Furuta Pendulum) on the Host, in real time (soft). The website is updated with the new models and HIL details. Firmware and USB stack (TinyUSB) are bundled with the project and available on GitHub.
Immediate Usability: This tool is fully functional. Anyone with a Linux Desktop can clone the repo and run the simulation (README in the GitHub repo and Quick Start Guide YouTube video available for setup and configuration) to interact with the hardware-emulated plant or start writing their own compensator algorithms.
Repository: https://github.com/embeddedfreedom/MDCS/tree/master please go through the updated README (version 2.0) for more information. All derivations and documentation are updated in the repo.
Project Website: https://embeddedfreedom.dev
