SlideShare a Scribd company logo
1 of 20
ePWM 101
wrt 0L_sensing.c
Submodules and Signal Connections for an
ePWM Module
Submodule Block Diagram
Time Base (TB) Submodule
● Has a dedicated 16-bit counter along with built-in synchronization logic to allow multiple
ePWM modules to work together as a single system.
● A clock prescaler divides the ePWM clock to the counter.
● A period register is used to control the frequency and period of the generated waveform.
● Counter operates in three modes-- up count, down count, and up/down count
● The up count and down count modes are used to generate asymmetrical waveforms.
● The up/down count mode is used to generate symmetrical waveforms.
Counter Compare (CC) Submodule
● Continuously compares the time-base count value to four counter compare registers--
Compare A, Compare B, Compare C, and Compare D
● Compare event is fed to the action qualifier and event trigger submodules
● All four compare registers can be used to start an ADC conversion or generate an ePWM
interrupt
● For the up count and down count modes, the count matches or occur only once per cycle.
● However, for the up/down count mode, a count match occurs twice per cycle, since there is a
match on the up count and down count.
Action Qualifier (AQ) Submodule
● Responsible for constructing and generating the switched PWM waveforms
● Utilizes match events from the time-base and counter compare submodules for
performing actions on the ePWMxA and ePWMxB output pins
● These actions are do nothing to the pin, clear the pin low, set the pin high, or toggle the
pin based independently on count up and count down time-base match events
● The match events are:
○ time based counter equals zero,
○ the time-base counter equals Compare A,
○ the time-base counter equals Compare B,
○ the time-base counter equals the period register value,
○ or a trigger event T1 and T2 based on a comparator, trip, or synchronization signal
Dead Band (DB) submodule
● Provides a classical approach for delaying the switching action of a power device
● Since power switching devices turn on faster than they turn off, a delay is needed to
prevent having a momentary short circuit path from supply rail to ground
● This submodule supports independently programmable rising edge and falling edge
delays with various options for generating the appropriate signal outputs on ePWMxA
and ePWMxB
PWM Chopper (PC) Submodule
● Modulates a high frequency carrier signal with the PWM waveform that is generated by
the action qualifier and dead band submodules
● Its purpose is to control the power switching elements used with pulse transformer-
based gate drivers.
● The high frequency carrier signal is logically ended with the ePWM outputs
● Programmable options are available to support the magnetic properties and
characteristics of the transformer and associated circuitry
Trip Zone (TZ) Submodule
● Provides a protection mechanism to protect the output pins from abnormalities, such as
overvoltage, overcurrent, and excessive temperature rise
● A fast clock-independent logic mechanism is utilized to quickly handle fault conditions by
forcing the ePWMxA and ePWMxB outputs to a safe state, such as high, low, or high
impedance
● The trip zone signals can be generated externally from any GPIO pin which is mapped
through the input cross-bar, internally from an eQEP error signal, system clock failure, or
emulation stop output from the CPU
● Numerous trip zone source signals can be generated from the digital compare submodule
Digital Compare (DC) Submodule
● Digital compare submodule expands the capabilities of the trip zone submodule by comparing
signals external to the ePWM module, such as a signal from the comparator subsystem analog
comparators, to directly generate PWM events or actions which are then used by the time-
base, event trigger, and trip zone submodules
● These compare events along with the submodules can generate PWM synchronization,
generate an ADC start of conversion, trip the output, or generate a trip interrupt.
● A compare event is generated when one or more of its inputs are either high or low. The signals
can originate from any external GPIO pin which is mapped through the input cross-bar and
from various internal peripherals which are mapped through the ePWM cross-bar.
Event Trigger (ET) Submodule
● Manages the events generated by the time-base, counter compare, and digital compare
submodules for generating an interrupt to the CPU and/or a start of conversion pulse to
the ADC when selected events occur.
● These event triggers can occur when the time-base counter equals
○ Zero,
○ Period,
○ Zero or period,
○ The up or down count match of a Compare A, B, C, or D register.
Code references
EPwm1Regs.TBCTL.bit.CLKDIV = 0;
● The value set to CLKDIV is 1
● TBCLK (Time Base Clock frequency)
= SYSCLKOUT (150 MHz) / 1 x HSPCLKDIV
EPwm1Regs.TBCTL.bit.HSPCLKDIV = 1;
● HSPCLKDIV value set is 2
● Time Base Clock frequency is 150 / 2 x 1 = 75 MHz
EPwm2Regs.TBCTL.bit.CTRMODE = 2;
EPwm2Regs.AQCTLA.bit.CAU = AQ_CLEAR;
EPwm2Regs.AQCTLA.bit.CAD = AQ_SET;
EPwm1Regs.TBPRD = 3750;
● Time Base Period is set to 3750
● This was done in hindsight of the fact that the PWM frequency had to be set to 10KHz
● PWM period = 2 x TBPRD x TBCLK period
● Hence TBPRD for 10 KHz frequency = 75 M/ 2 x 10K = 3750
EPwm1Regs.DBRED = 0;
EPwm1Regs.DBFED = 0;
● Rising Edge delay = DBRED x TBCLK Period = 0
● Falling edge delay = DBFED x TBCLK period = 0
EPwm1Regs.DBCTL.bit.OUT_MODE = 3;
EPwm1Regs.DBCTL.bit.POLSEL = 2;
● Need to invert ePWMxB as it controls the complementary switch in a single leg of the
inverter.
● Closing of both switches in a leg will lead to a short circuit.
EPwm1Regs.DBCTL.bit.IN_MODE = 0;

More Related Content

What's hot

COMPENSATION OF REACTIVE POWER
COMPENSATION OF REACTIVE POWERCOMPENSATION OF REACTIVE POWER
COMPENSATION OF REACTIVE POWERST Chowhury
 
Ultrasonic motor
Ultrasonic motorUltrasonic motor
Ultrasonic motorPintu Khan
 
Moct magneto-optic-current-transformer
Moct magneto-optic-current-transformerMoct magneto-optic-current-transformer
Moct magneto-optic-current-transformerLaxmikant Sain
 
Insulation coordination.
Insulation coordination.Insulation coordination.
Insulation coordination.Parth Patel
 
Three Phase Synchonours Generator and AVR
Three Phase Synchonours Generator and AVR Three Phase Synchonours Generator and AVR
Three Phase Synchonours Generator and AVR Emre Öztoklu
 
Wireless charging technology ppt
Wireless charging technology pptWireless charging technology ppt
Wireless charging technology pptAnkit Gupta
 
Measurement of hvac (High Voltage Engineering )
Measurement  of  hvac (High Voltage Engineering )Measurement  of  hvac (High Voltage Engineering )
Measurement of hvac (High Voltage Engineering )Abhishek Choksi
 
Thyristor switched capacitor PPT
Thyristor switched capacitor PPTThyristor switched capacitor PPT
Thyristor switched capacitor PPTKLS' S GIT, BELGAUM
 
Harmonics: Causes and Effects
Harmonics: Causes and EffectsHarmonics: Causes and Effects
Harmonics: Causes and EffectsLeonardo ENERGY
 
TOWNSEND"S (FIRST)PRIMARY & SECONDARY IONIZATION COEFFICIENT|DERIVATION|HIGH ...
TOWNSEND"S (FIRST)PRIMARY & SECONDARY IONIZATION COEFFICIENT|DERIVATION|HIGH ...TOWNSEND"S (FIRST)PRIMARY & SECONDARY IONIZATION COEFFICIENT|DERIVATION|HIGH ...
TOWNSEND"S (FIRST)PRIMARY & SECONDARY IONIZATION COEFFICIENT|DERIVATION|HIGH ...Prasant Kumar
 
Optical Current Transformer (OCT)
Optical Current Transformer (OCT)Optical Current Transformer (OCT)
Optical Current Transformer (OCT)Seminar Links
 
Restricted Earth Fault(REF) Protection.pptx
Restricted Earth Fault(REF) Protection.pptxRestricted Earth Fault(REF) Protection.pptx
Restricted Earth Fault(REF) Protection.pptxRAMESHG901836
 
Micro computer control of dc drive
Micro computer control of dc driveMicro computer control of dc drive
Micro computer control of dc driveraviarmugam
 
WIRELESS POWER TRANSMISSION Project
WIRELESS POWER TRANSMISSION ProjectWIRELESS POWER TRANSMISSION Project
WIRELESS POWER TRANSMISSION Projectsagnikchoudhury
 
Ac Potentiometer (EMMI)
Ac Potentiometer (EMMI)Ac Potentiometer (EMMI)
Ac Potentiometer (EMMI)Ravi Anand
 
Condition Monitoring of Transformer
Condition Monitoring of TransformerCondition Monitoring of Transformer
Condition Monitoring of TransformerMakwana Mehul
 
Flexible ac transmission system
Flexible ac transmission systemFlexible ac transmission system
Flexible ac transmission systemUday Wankar
 
Permanent Magnet Moving Coil
Permanent Magnet Moving Coil Permanent Magnet Moving Coil
Permanent Magnet Moving Coil Chandan Singh
 

What's hot (20)

COMPENSATION OF REACTIVE POWER
COMPENSATION OF REACTIVE POWERCOMPENSATION OF REACTIVE POWER
COMPENSATION OF REACTIVE POWER
 
Ultrasonic motor
Ultrasonic motorUltrasonic motor
Ultrasonic motor
 
Moct magneto-optic-current-transformer
Moct magneto-optic-current-transformerMoct magneto-optic-current-transformer
Moct magneto-optic-current-transformer
 
Insulation coordination.
Insulation coordination.Insulation coordination.
Insulation coordination.
 
Three Phase Synchonours Generator and AVR
Three Phase Synchonours Generator and AVR Three Phase Synchonours Generator and AVR
Three Phase Synchonours Generator and AVR
 
Wireless charging technology ppt
Wireless charging technology pptWireless charging technology ppt
Wireless charging technology ppt
 
Phasor Measurement Unit (PMU)
 Phasor Measurement Unit (PMU) Phasor Measurement Unit (PMU)
Phasor Measurement Unit (PMU)
 
Measurement of hvac (High Voltage Engineering )
Measurement  of  hvac (High Voltage Engineering )Measurement  of  hvac (High Voltage Engineering )
Measurement of hvac (High Voltage Engineering )
 
Thyristor switched capacitor PPT
Thyristor switched capacitor PPTThyristor switched capacitor PPT
Thyristor switched capacitor PPT
 
Harmonics: Causes and Effects
Harmonics: Causes and EffectsHarmonics: Causes and Effects
Harmonics: Causes and Effects
 
TOWNSEND"S (FIRST)PRIMARY & SECONDARY IONIZATION COEFFICIENT|DERIVATION|HIGH ...
TOWNSEND"S (FIRST)PRIMARY & SECONDARY IONIZATION COEFFICIENT|DERIVATION|HIGH ...TOWNSEND"S (FIRST)PRIMARY & SECONDARY IONIZATION COEFFICIENT|DERIVATION|HIGH ...
TOWNSEND"S (FIRST)PRIMARY & SECONDARY IONIZATION COEFFICIENT|DERIVATION|HIGH ...
 
Optical Current Transformer (OCT)
Optical Current Transformer (OCT)Optical Current Transformer (OCT)
Optical Current Transformer (OCT)
 
Restricted Earth Fault(REF) Protection.pptx
Restricted Earth Fault(REF) Protection.pptxRestricted Earth Fault(REF) Protection.pptx
Restricted Earth Fault(REF) Protection.pptx
 
Micro computer control of dc drive
Micro computer control of dc driveMicro computer control of dc drive
Micro computer control of dc drive
 
WIRELESS POWER TRANSMISSION Project
WIRELESS POWER TRANSMISSION ProjectWIRELESS POWER TRANSMISSION Project
WIRELESS POWER TRANSMISSION Project
 
Ac Potentiometer (EMMI)
Ac Potentiometer (EMMI)Ac Potentiometer (EMMI)
Ac Potentiometer (EMMI)
 
Condition Monitoring of Transformer
Condition Monitoring of TransformerCondition Monitoring of Transformer
Condition Monitoring of Transformer
 
Solid State Relay
Solid State RelaySolid State Relay
Solid State Relay
 
Flexible ac transmission system
Flexible ac transmission systemFlexible ac transmission system
Flexible ac transmission system
 
Permanent Magnet Moving Coil
Permanent Magnet Moving Coil Permanent Magnet Moving Coil
Permanent Magnet Moving Coil
 

Similar to Enhanced phase width modulation in TMS320F28335D

Temperature Controller with Atmega16
Temperature Controller with Atmega16Temperature Controller with Atmega16
Temperature Controller with Atmega16Siddhant Jaiswal
 
ie450pp10.ppt
ie450pp10.pptie450pp10.ppt
ie450pp10.pptpouyan6
 
PLC, or Programmable Logic Controller, is a specialized industrial computer u...
PLC, or Programmable Logic Controller, is a specialized industrial computer u...PLC, or Programmable Logic Controller, is a specialized industrial computer u...
PLC, or Programmable Logic Controller, is a specialized industrial computer u...Govindarajv11
 
PLC (PROGRAMMABLE LOGIC CONTROLLER)
PLC (PROGRAMMABLE LOGIC CONTROLLER)PLC (PROGRAMMABLE LOGIC CONTROLLER)
PLC (PROGRAMMABLE LOGIC CONTROLLER)navalip331
 
Development of Digital Controller for DC-DC Buck Converter
Development of Digital Controller for DC-DC Buck ConverterDevelopment of Digital Controller for DC-DC Buck Converter
Development of Digital Controller for DC-DC Buck ConverterIJPEDS-IAES
 

Similar to Enhanced phase width modulation in TMS320F28335D (20)

Unit-III.pptx
Unit-III.pptxUnit-III.pptx
Unit-III.pptx
 
Timers and pwm
Timers and pwmTimers and pwm
Timers and pwm
 
Temperature Controller with Atmega16
Temperature Controller with Atmega16Temperature Controller with Atmega16
Temperature Controller with Atmega16
 
chapter 4
chapter 4chapter 4
chapter 4
 
PLC PPT.ppt
PLC PPT.pptPLC PPT.ppt
PLC PPT.ppt
 
ie450pp10.ppt
ie450pp10.pptie450pp10.ppt
ie450pp10.ppt
 
ie450pp10.ppt
ie450pp10.pptie450pp10.ppt
ie450pp10.ppt
 
PLC.ppt
PLC.pptPLC.ppt
PLC.ppt
 
PLC good.ppt
PLC good.pptPLC good.ppt
PLC good.ppt
 
ie450pp10.ppt
ie450pp10.pptie450pp10.ppt
ie450pp10.ppt
 
ie450pp10.ppt
ie450pp10.pptie450pp10.ppt
ie450pp10.ppt
 
ie450pp10.ppt
ie450pp10.pptie450pp10.ppt
ie450pp10.ppt
 
PLC, or Programmable Logic Controller, is a specialized industrial computer u...
PLC, or Programmable Logic Controller, is a specialized industrial computer u...PLC, or Programmable Logic Controller, is a specialized industrial computer u...
PLC, or Programmable Logic Controller, is a specialized industrial computer u...
 
PLC (PROGRAMMABLE LOGIC CONTROLLER)
PLC (PROGRAMMABLE LOGIC CONTROLLER)PLC (PROGRAMMABLE LOGIC CONTROLLER)
PLC (PROGRAMMABLE LOGIC CONTROLLER)
 
ie450pp10.ppt
ie450pp10.pptie450pp10.ppt
ie450pp10.ppt
 
plc1.ppt
plc1.pptplc1.ppt
plc1.ppt
 
PLC Basics
PLC BasicsPLC Basics
PLC Basics
 
Plc
PlcPlc
Plc
 
PLC.pdf
PLC.pdfPLC.pdf
PLC.pdf
 
Development of Digital Controller for DC-DC Buck Converter
Development of Digital Controller for DC-DC Buck ConverterDevelopment of Digital Controller for DC-DC Buck Converter
Development of Digital Controller for DC-DC Buck Converter
 

More from Satya Sahoo

An affordable 3d printed tracking system for low capacity PV applications
An affordable 3d printed tracking system for low capacity PV applicationsAn affordable 3d printed tracking system for low capacity PV applications
An affordable 3d printed tracking system for low capacity PV applicationsSatya Sahoo
 
Numerical Solution of the navier stokes equations using the finite difference...
Numerical Solution of the navier stokes equations using the finite difference...Numerical Solution of the navier stokes equations using the finite difference...
Numerical Solution of the navier stokes equations using the finite difference...Satya Sahoo
 
Flash Photography and toonification
Flash Photography and toonificationFlash Photography and toonification
Flash Photography and toonificationSatya Sahoo
 
Frequency Control of Power Systems
Frequency Control of Power SystemsFrequency Control of Power Systems
Frequency Control of Power SystemsSatya Sahoo
 
Carbon capture and storage
Carbon capture and storageCarbon capture and storage
Carbon capture and storageSatya Sahoo
 
Protection of inverter based microgrids
Protection of inverter based microgridsProtection of inverter based microgrids
Protection of inverter based microgridsSatya Sahoo
 
Grounding in AC Microgrids
Grounding in AC MicrogridsGrounding in AC Microgrids
Grounding in AC MicrogridsSatya Sahoo
 
Nigeria Emissions and Energy Policies
Nigeria Emissions and Energy PoliciesNigeria Emissions and Energy Policies
Nigeria Emissions and Energy PoliciesSatya Sahoo
 
Nanoparticles in heat transfer applications
Nanoparticles in heat transfer applicationsNanoparticles in heat transfer applications
Nanoparticles in heat transfer applicationsSatya Sahoo
 
Energy Analysis of Nigeria
Energy Analysis of NigeriaEnergy Analysis of Nigeria
Energy Analysis of NigeriaSatya Sahoo
 

More from Satya Sahoo (10)

An affordable 3d printed tracking system for low capacity PV applications
An affordable 3d printed tracking system for low capacity PV applicationsAn affordable 3d printed tracking system for low capacity PV applications
An affordable 3d printed tracking system for low capacity PV applications
 
Numerical Solution of the navier stokes equations using the finite difference...
Numerical Solution of the navier stokes equations using the finite difference...Numerical Solution of the navier stokes equations using the finite difference...
Numerical Solution of the navier stokes equations using the finite difference...
 
Flash Photography and toonification
Flash Photography and toonificationFlash Photography and toonification
Flash Photography and toonification
 
Frequency Control of Power Systems
Frequency Control of Power SystemsFrequency Control of Power Systems
Frequency Control of Power Systems
 
Carbon capture and storage
Carbon capture and storageCarbon capture and storage
Carbon capture and storage
 
Protection of inverter based microgrids
Protection of inverter based microgridsProtection of inverter based microgrids
Protection of inverter based microgrids
 
Grounding in AC Microgrids
Grounding in AC MicrogridsGrounding in AC Microgrids
Grounding in AC Microgrids
 
Nigeria Emissions and Energy Policies
Nigeria Emissions and Energy PoliciesNigeria Emissions and Energy Policies
Nigeria Emissions and Energy Policies
 
Nanoparticles in heat transfer applications
Nanoparticles in heat transfer applicationsNanoparticles in heat transfer applications
Nanoparticles in heat transfer applications
 
Energy Analysis of Nigeria
Energy Analysis of NigeriaEnergy Analysis of Nigeria
Energy Analysis of Nigeria
 

Recently uploaded

VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAbhinavSharma374939
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 

Recently uploaded (20)

VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog Converter
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 

Enhanced phase width modulation in TMS320F28335D

  • 2. Submodules and Signal Connections for an ePWM Module
  • 4. Time Base (TB) Submodule ● Has a dedicated 16-bit counter along with built-in synchronization logic to allow multiple ePWM modules to work together as a single system. ● A clock prescaler divides the ePWM clock to the counter. ● A period register is used to control the frequency and period of the generated waveform. ● Counter operates in three modes-- up count, down count, and up/down count ● The up count and down count modes are used to generate asymmetrical waveforms. ● The up/down count mode is used to generate symmetrical waveforms.
  • 5. Counter Compare (CC) Submodule ● Continuously compares the time-base count value to four counter compare registers-- Compare A, Compare B, Compare C, and Compare D ● Compare event is fed to the action qualifier and event trigger submodules ● All four compare registers can be used to start an ADC conversion or generate an ePWM interrupt ● For the up count and down count modes, the count matches or occur only once per cycle. ● However, for the up/down count mode, a count match occurs twice per cycle, since there is a match on the up count and down count.
  • 6. Action Qualifier (AQ) Submodule ● Responsible for constructing and generating the switched PWM waveforms ● Utilizes match events from the time-base and counter compare submodules for performing actions on the ePWMxA and ePWMxB output pins ● These actions are do nothing to the pin, clear the pin low, set the pin high, or toggle the pin based independently on count up and count down time-base match events ● The match events are: ○ time based counter equals zero, ○ the time-base counter equals Compare A, ○ the time-base counter equals Compare B, ○ the time-base counter equals the period register value, ○ or a trigger event T1 and T2 based on a comparator, trip, or synchronization signal
  • 7. Dead Band (DB) submodule ● Provides a classical approach for delaying the switching action of a power device ● Since power switching devices turn on faster than they turn off, a delay is needed to prevent having a momentary short circuit path from supply rail to ground ● This submodule supports independently programmable rising edge and falling edge delays with various options for generating the appropriate signal outputs on ePWMxA and ePWMxB
  • 8. PWM Chopper (PC) Submodule ● Modulates a high frequency carrier signal with the PWM waveform that is generated by the action qualifier and dead band submodules ● Its purpose is to control the power switching elements used with pulse transformer- based gate drivers. ● The high frequency carrier signal is logically ended with the ePWM outputs ● Programmable options are available to support the magnetic properties and characteristics of the transformer and associated circuitry
  • 9. Trip Zone (TZ) Submodule ● Provides a protection mechanism to protect the output pins from abnormalities, such as overvoltage, overcurrent, and excessive temperature rise ● A fast clock-independent logic mechanism is utilized to quickly handle fault conditions by forcing the ePWMxA and ePWMxB outputs to a safe state, such as high, low, or high impedance ● The trip zone signals can be generated externally from any GPIO pin which is mapped through the input cross-bar, internally from an eQEP error signal, system clock failure, or emulation stop output from the CPU ● Numerous trip zone source signals can be generated from the digital compare submodule
  • 10. Digital Compare (DC) Submodule ● Digital compare submodule expands the capabilities of the trip zone submodule by comparing signals external to the ePWM module, such as a signal from the comparator subsystem analog comparators, to directly generate PWM events or actions which are then used by the time- base, event trigger, and trip zone submodules ● These compare events along with the submodules can generate PWM synchronization, generate an ADC start of conversion, trip the output, or generate a trip interrupt. ● A compare event is generated when one or more of its inputs are either high or low. The signals can originate from any external GPIO pin which is mapped through the input cross-bar and from various internal peripherals which are mapped through the ePWM cross-bar.
  • 11. Event Trigger (ET) Submodule ● Manages the events generated by the time-base, counter compare, and digital compare submodules for generating an interrupt to the CPU and/or a start of conversion pulse to the ADC when selected events occur. ● These event triggers can occur when the time-base counter equals ○ Zero, ○ Period, ○ Zero or period, ○ The up or down count match of a Compare A, B, C, or D register.
  • 13. EPwm1Regs.TBCTL.bit.CLKDIV = 0; ● The value set to CLKDIV is 1 ● TBCLK (Time Base Clock frequency) = SYSCLKOUT (150 MHz) / 1 x HSPCLKDIV
  • 14. EPwm1Regs.TBCTL.bit.HSPCLKDIV = 1; ● HSPCLKDIV value set is 2 ● Time Base Clock frequency is 150 / 2 x 1 = 75 MHz
  • 17. EPwm1Regs.TBPRD = 3750; ● Time Base Period is set to 3750 ● This was done in hindsight of the fact that the PWM frequency had to be set to 10KHz ● PWM period = 2 x TBPRD x TBCLK period ● Hence TBPRD for 10 KHz frequency = 75 M/ 2 x 10K = 3750 EPwm1Regs.DBRED = 0; EPwm1Regs.DBFED = 0; ● Rising Edge delay = DBRED x TBCLK Period = 0 ● Falling edge delay = DBFED x TBCLK period = 0
  • 19. EPwm1Regs.DBCTL.bit.POLSEL = 2; ● Need to invert ePWMxB as it controls the complementary switch in a single leg of the inverter. ● Closing of both switches in a leg will lead to a short circuit.