Clear Filters
Clear Filters

How to use epwm block (embedded support package for TI C2000 processors) for pulse generation when the time period is dynamically changing with controller output?

5 views (last 30 days)
I want to generate code for PID based Voltage Control of Half bridge resonant LLC converter. The control input is switching frequency which changes with output load profile. How can I utilize the ADC, GPIO, epwm blocks of embedded coder hardware support package for hardware implementaion of the controller? Also, How can I check in real-time wheather the ADC block is able to read the output voltage feedback properly or not?

Accepted Answer

Darshan Pandit
Darshan Pandit on 6 Dec 2022
Hi Karthikey,
I've answered a similar question in a post below. Request you to kindly go through it.
Also, it's possible to change switching frequency, just select "specify timer units via" setting to "Input port".
I'd recommend you to try these on oscilloscope separately, understand if it meets your requirements, compared to testing directly on the converter circuits.
For more details, see:

More Answers (0)

Communities

More Answers in the  Power Electronics Control

Products


Release

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!