DOE OSTI · 2571946
Multi-Core Microcontroller Hardware In the Loop System for Electric Machine Control
Abstract
Hardware in the Loop (HIL) is a simulation technique used to reduce the software development cycle and test control systems in a non-destructive environment. This work describes a cost effective HIL simulator on a dual core microcontroller in which one core acts as a controller and the other emulates the system under control. The emulator runs one step per Pulse Width Modulation (PWM) period in real time. To handle the computational burden and prioritize execution of simulation and control tasks, an interrupt-based software architecture with task prioritization has been developed. As a demonstration, the HIL has been implemented on a Texas Instruments TMS320F28379D dual core microcontroller, which emulates a Permanent Magnet Synchronous Machine (PMSM) with resolver feedback. Hardware peripherals are developed and tested concurrently with the control system, providing higher confidence in the software. By using the peripherals in the HIL development, the controller exercises either the HIL emulation or a pin compatible PMSM testbench. To quantify performance and validate the processor based emulator, the HIL results are compared to the preexisting testbench for accuracy benchmarking at no-load and under load for a range of operating points.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Krause, Nicholas, Di Gioia, Antonio, Brown, Ian P.. 2021-10-10. Multi-Core Microcontroller Hardware In the Loop System for Electric Machine Control. https://doi.org/10.1109/ecce47101.2021.9594933
Cite the original work for its findings. Save a collection to share your selection of sources.