Embedded control firmware optimization for power electronics
| dc.contributor.author | Shao, Zhuoer | |
| dc.contributor.department | Chalmers tekniska högskola / Institutionen för mikroteknologi och nanovetenskap (MC2) | sv |
| dc.contributor.department | Chalmers University of Technology / Department of Microtechnology and Nanoscience (MC2) | en |
| dc.contributor.examiner | Larsson-Edefors, Per | |
| dc.contributor.supervisor | Peterson, Lena | |
| dc.date.accessioned | 2025-11-10T09:00:45Z | |
| dc.date.issued | 2025 | |
| dc.date.submitted | ||
| dc.description.abstract | Modern power converters face quicker input and load changes. With higher switching frequency and smaller inductors or capacitors, there is less stored energy to smooth disturbances. If the control reacts slowly, voltage or current overshoots or undershoots will take longer to settle, resulting in energy waste and potential damage to the device. Therefore, a faster response is needed in the power electronics system. Embedded control firmware plays a key role in improving closed-loop speed and system stability. In high-frequency DC-DC converters and automotive power electronics, firmware execution performance directly affects control accuracy, energy efficiency, and system robustness. In this thesis, we compare three automotive-grade MCUs—TI F29H85x, TI AM263x, and Infineon AURIX TC4x—under a unified closed-loop control framework. By dividing the control loop into stages such as ADC sampling, PID calculation, and PWM output, and by analyzing differences in interrupt systems, CPU architecture, peripheral interconnect, and compiler optimization, we systematically show their impact on execution delay. Delay is measured using GPIO toggling and interrupt timestamps, and platform-specific optimizations (such as DMA acceleration, early interrupt mode, memory mapping, compiler tuning, and CDSP/PPU offloading) are applied to explore the shortest possible execution time. Results show that all three MCUs achieved significant improvements over their baselines, with F29H85x reaching 710 ns, AM263x 793 ns, and TC4x 750 ns. The contribution of this project is not only to compare real-time performance across MCUs, but also to propose a unified cross-platform analysis method. By linking experimental results with structural differences, we show how interrupt paths, CPU pipelines, and peripheral interconnects determine real-time performance. This approach goes beyond single-platform studies, providing a systematic framework for analysis. It also offers practical guidance for MCU selection and firmware optimization in industrial applications. | |
| dc.identifier.coursecode | MCCX04 | |
| dc.identifier.uri | http://hdl.handle.net/20.500.12380/310730 | |
| dc.language.iso | eng | |
| dc.setspec.uppsok | PhysicsChemistryMaths | |
| dc.subject | embedded control firmware; real-time performance; automotive microcontroller; DC-DC converter | |
| dc.title | Embedded control firmware optimization for power electronics | |
| dc.type.degree | Examensarbete för masterexamen | sv |
| dc.type.degree | Master's Thesis | en |
| dc.type.uppsok | H | |
| local.programme | Embedded electronic system design (MPEES), MSc |
Ladda ner
Original bundle
1 - 1 av 1
Hämtar...
- Namn:
- Embedded Control Firmware Optimization for Power Electronics.pdf
- Storlek:
- 6.16 MB
- Format:
- Adobe Portable Document Format
License bundle
1 - 1 av 1
Hämtar...
- Namn:
- license.txt
- Storlek:
- 2.35 KB
- Format:
- Item-specific license agreed upon to submission
- Beskrivning:
