Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Buck Converter Emulation using the TMS320F28379D
Hot & New
New
Rating: 5.0 out of 5(2 ratings)
20 students

Buck Converter Emulation using the TMS320F28379D

Emulating power electronic converters with the LAUNCHXL-F28379D development kit
Created byShivkumar Iyer
Last updated 11/2026
English
English [Auto],

What you'll learn

  • Concept and need for emulation or Hardware-in-loop (HIL) simulation
  • Formulating HIL simulations for a power converter using the buck converter as an example
  • Configuring the DAC module of the TMS320F28379D microcontroller
  • Implementing the buck converter in HIL simulation
  • Optimising the HIL system for real-time performance
  • Verifying HIL systems

Course content

6 sections • 28 lectures • 3h 58m total length
  • Welcome to the course9:04
  • Target audience of the course7:46

Requirements

  • Basic microcontroller course: TI TMS320F28379D Microcontroller for Power Electronics
  • Basic simulation course (optional): Simulating dc-dc converters with QSPICE

Description

Hardware-in-the-loop (HIL) simulation and real-time emulation are increasingly used in power electronics to test controllers without requiring a complete hardware prototype. Commercial HIL platforms provide powerful simulation capabilities, but their cost can make them inaccessible to universities, independent engineers, and start-ups. This course demonstrates how a low-cost real-time power-electronics emulator can be developed using the TMS320F28379D microcontroller on the LAUNCHXL-F28379D development board.

The buck converter is used as a practical example throughout the course. Starting from the electrical circuit, the course develops a mathematical model of the converter from first principles and translates the resulting differential equations into a real-time numerical model suitable for execution on a microcontroller.

The course then examines how the requirements of the mathematical model translate into embedded-hardware requirements. Students learn how to configure the microcontroller's timers, GPIOs, and DAC peripherals, and how to use the DAC to expose the simulated converter variables as physical analog signals that can be observed with laboratory equipment.

A major focus of the course is the challenge of achieving real-time execution. The mathematical model must be solved within a fixed simulation time step while maintaining sufficient numerical accuracy. The course demonstrates how to measure execution time, select an appropriate simulation time step, identify computational bottlenecks, and optimize the implementation so that the model can execute within the available time budget.

The completed emulator generates simulated inductor-current and capacitor-voltage waveforms through the TMS320F28379D DAC outputs. These waveforms are compared against an independent QSPICE simulation to verify the accuracy of the real-time implementation.

The course also explores practical issues encountered when implementing real-time power-electronics models on microcontrollers, including the relationship between simulation time step and switching frequency, numerical integration accuracy, timer configuration, interrupt execution time, and the trade-off between simulation resolution and available computational resources.

By the end of the course, students will have built a functioning low-cost real-time buck-converter emulator using the TMS320F28379D and will understand the process of taking a power-electronics mathematical model and implementing it as a time-constrained embedded application.

Who this course is for:

  • Electrical engineering students
  • Junior engineers in the power industry
  • Test/automation engineers