Internet Explorer is not a supported browser for TI.com. For the best experience, please use a different browser.
Video Player is loading.
Current Time 0:00
Duration 3:27
Loaded: 4.83%
Stream Type LIVE
Remaining Time 3:27
 
1x
  • Chapters
  • descriptions off, selected
  • en (Main), selected

[AUDIO LOGO]

Hi, and welcome to the first video in our C2000 enhanced pulse-width modulator video series. I'm Peter Long. In this video, I'll be giving you an overview of the ePWM module within our C2000 devices and all of its subcomponents. A brief overview of all the modules within the ePWM module will be given in this video, but each submodule will be explored in greater detail throughout this video series.

The ePWM module is composed of various components referred to as submodules, which are responsible for performing a specific function. In type 4 and type 5 ePWMs, there are a total of eight submodules which make up the module itself. These are time-base, counter compare, action qualifier, dead-band, PWM chopper, event trigger, trip zone, and, finally, digital compare.

To summarize the purpose of each submodule, the time-based module is responsible for configuring the PWM time-based counter frequency and period. It also sets the mode for the time-based counter as well as configures the phase and synchronization. The counter compare submodule specifies the duty cycle of the ePWM outputs A and B as well as the time the switching events occur.

This submodule works really closely with the action qualifier submodule in order to help specify the types of actions that will be taken whenever certain ePWM events occur, such as a time-based match, counter compare match, or a trip zone match. Then there's the dead band submodule, which is responsible for controlling traditional complementary dead band relationships, such as adding a rising or falling edge delay to the pulse outputs.

The PWM chopper is responsible for creating a carrier frequency. The event trigger submodule configures and enables ePWM events that trigger an interrupt to the CPU or act as a start-of-conversion trigger for the ADC. The trip one submodule configures the state of the ePWM outputs whenever there's a trip signal. And then, finally, the digital comparison module, which enables different comparator module outputs and the trip zone signals.

The ePWM module is fully supported within SysConfig, which is C2000's graphical and intuitive tool for configuring the peripherals and modules on C2000 devices. This slide shows what you'll see on the SysConfig tool. As can be seen, each of the ePWM submodules are separated into their own main categories and have dropdown menus for configuring that submodule.

A nice feature within the SysConfig tool is the ability to copy over settings from one ePWM to another. For example, if you've already configured ePWM 1 and you know that ePWM is going to be similar or identical to ePWM 1, then you can simply copy over the settings from ePWM 1 so that you don't have to reconfigure the ePWM module every time. There's also support for global loading.

This is a more advanced topic that's used for specifying [? shadow ?] registered to active register loads for optimized control of multiple ePWM modules. As you can see, all available features of the ePWM module can be configured using the SysConfig tool. More details on SysConfig can be seen in our C2000 SysConfig video series.

That concludes the module overview for the enhanced pulse-width modulators on C2000 devices. There are additional resources supplied by TI that can help build familiarity with this module, which is essential in real-time control systems. Check out C2000 Academy, TI's official resource for learning the foundations of C2000 devices, as well as the various app notes written for the ePWM module.

This video is part of a series