This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/TMS320F28388D: ePWM synchronous buck converter

Part Number: TMS320F28388D
Other Parts Discussed in Thread: BOOSTXL-BUCKCONV

Tool/software: Code Composer Studio

Hi TI

I am making a control for a synchronous buck converter. Therefore i will need a ePWM with a dead time.

I am using ePWM1A/B where B is the inverted of A and there will be a dead time between A and B so the circuit will not short..

Do you have some examples or info how to set a PWM for that? 

I have a hard time figurering out how to make the dead time. Can you help me there?

and at last, would it be possible to use the CLA to run the PWM for the buck control?

Regards

Asbjørn Schram Anneberg.

  • With minimal change you can use this:

    It's for F2837xD, it should be 99% the same for F2838x.

  • Asbjørn Schram Anneberg,

    In additional to the example that Nima pointed to, there is also a Buck Converter (TIDM-DC-DC-BUCK) example that is released through the Digital Power SDK for a more comprehensive reference.

    The next release (estimated 2-3 weeks) will include some supporting infrastructure for CLA.

    -Tommy

  • Hi Nima

    Thanks for the example. i got it working with the F28388D.

    I am thought having some trouble understang all the functions.

    I am not sure what this one does:

    EPWM_setTimeBaseCounter(uint32_t base, uint16_t count)

    Does it set the start value of the counter? or?
    Im not sure of what "This function sets the 16 bit counter value of the time base counter" means.

    I understand that:

    EPWM_setTimeBasePeriod, sets the period of a cycle. it is 16 bit so 2^16-1. Means that the max value is 65535. 
    This the a parameter to destermend the frequency.

  • Hi Tommy

    Is it possible to do simulations on this code without having a board connected? or just with a board in open loop with no converter connected?

    I have the F28388D control card, is it possible to use this code on that?

    Regards Asbjørn

  • Asbjørn,

    No, TI does not have any tools for simulating this without hardware.  The buck converter uses BoosterPack headers to interface with the controller so a LaunchPad would be required for mechanical compatibility.  I suppose it is possible to manually wire the controller signals from a controlCARD dock to the BoosterPack headers.

    I think Mathworks had ported the example to their environment, but I am not familiar with simulation capabilities.

    -Tommy

  • Hi Asbjørn,

    There is a related video with models available on the MathWorks website at this link.

    "This example shows how to design a DC/DC Buck Converter controller with the Embedded Coder Support Package for TI® C2000 Processors and run it on the TI® F28377S Launchpad (LAUNCHXL-F28377S) connected to the C2000 DPS BoosterPack (BOOSTXL-BUCKCONV). You can monitor signal and tune parameters using the provided host model running on your host computer."

    Best,

    John