PLECS 3.7 Online Help

TI C2000 ePWM Type 1 GUI

Purpose

High fidelity model of TI's C2000 ePWM module with Graphical User Interface configuration.

Library

Processor in the Loop / Peripherals / TI C2000 / ePWM

Description

pict

This block efficiently models the behavior of a single TI Type 1 ePWM module with full timing resolution for a fixed PWM period. Beneath the typical PWM generation it also supports the features provided by the Event Trigger and the Deadband submodule. With the Graphical User Interface, the block can simply be configured using combo boxes in the component mask. Under the hood, the resulting register configuration is forwarded to the register based implementation of the TI Type 1 ePWM module. The resulting register configuration further is accessible via the probe signals.

For a detailed description of the supported features and the usage of the block please refer to the detailed documentation Enhance Pulse Width Modulator (ePWM) Type 1.

Parameters

ePWM General

System Clock [Hz]
The system clock of the processor defined in Hz.
TBPRD
Period value of the TB-counter defining the period of the PWM signal.
TBCTL.CLKDIV
Register cell defining a clock prescaler.
TBCTL.HSPCLKDIV
Register cell defining a high speed clock prescaler.
TBCTL.CTRMODE
Register cell for count mode configuration.
CMPCTL.LOADxMODE
Specification of Reload Event for CMPx.
AQSFRC.RLDCSF
Specification of Reload Event for AQCSFRC.

Event-Trigger module

ETSEL.SOCxEN
Enables pulse generation on EPWMSOCx.
ETSEL.SOCxSEL
Selects event source for Event-Trigger counter increment.
ETSEL.SOCxCNT
Sets initial Event-Trigger counter value.
ETSEL.SOCxPRD
Specifies Event-Trigger counter period.

Dead-Band module

DBCTL.HALFCYCLE
Enables clocking of DB-counter with halfed time-base period.
DBCTL.INMODE
Configures input source to the falling-edge and rising-edge delays.
DBCTL.POLSEL
Specifies polarity inversion of the edge delay outputs.
DBCTL.OUTMODE
Selectively enable or bypass the Dead-Band generation.
DBCTL.DBRED
Dead-Band generator rising-edge delay.
DBCTL.DBFED
Dead-Band generator falling-edge delay.

Probe Signals

CMPx
Compare register.
AQCTLx
Action qualifier configuration.
AQCSFRC
Action qualifier software forcing configuration.
EPWMx
EPWM outputs.
EPWMSOCx
EPWM SOC pulse outputs.
TBPRD
Period of PWM counter.
TBCTL
Time-Base control register resulting from mask settings.
CMPCTL
Compare-Control register resulting from mask settings.
AQSFRC
Action-Qualifier software force register resulting from mask settings.
ETSEL
Event-Trigger selection register resulting from mask settings.
ETPS
Event-Trigger prescale register resulting from mask settings.
DBCTL
Dead-Band control register resulting from mask settings.
DBRED
Dead-Band generator rising-edge delay register resulting from mask settings.
DBRED
Dead-Band generator falling-edge delay register resulting from mask settings.