Engineering Papers⌕ Search

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

BibTeXRIS

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.

KEEP EXPLORING

Related reports

Mechanical, Electrochemical & Thermal Modeling of Electric Vehicle Batteries for Crash Simulation (CRADA CRD-19-00811 Final Report)

Under the proposed effort in partnership with Hyundai Motor Company (HMC), the National Laboratory of the Rockies (NLR) will cooperate with HMC to develop mathematical models for battery cells and modules for simulating abuse response in batteries subject to the type of mechanical crushing that can occur in a full motor vehicle crash.

33 ADVANCED PROPULSION SYSTEMS↗

Toyota Highlander FCHV (CRADA CRD-12-00469 Final Report)

This project relates to the loan of four Toyota Mirai FCEV-adv vehicles to NLR to provide a load (vehicles to fill with hydrogen) to our fueling station research facility to study hydrogen fueling infrastructure performance using 700 bar precooled hydrogen at ESIF’s Hydrogen Infrastructure Testing and Research Facility (HITRF) facility.

33 ADVANCED PROPULSION SYSTEMS↗

Mechanical, Electrochemical & Thermal Models - Training (CRADA CRD-19-00798 Final Report)

Under the proposed effort in partnership with Hyundai Motor Company (HMC), the National Renewable Energy Laboratory (NLR) will host Dr. Jaeyoung Lim from HMC for a period of one year to jointly develop mathematical models for battery cells and modules subject to mechanical crush. NLR will assist with the development of mathematical models that Dr. Lim will incorporate into his research effort on new concepts of mobility with electric vehicles.

33 ADVANCED PROPULSION SYSTEMS↗