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.

TMS320F280049C: TIDM-DC-DC-BUCK Converter

Part Number: TMS320F280049C
Other Parts Discussed in Thread: BOOSTXL-BUCKCONV, , SFRA, TIDM-DC-DC-BUCK, POWERSUITE, TMDSEMU110-U, LAUNCHXL-F280049C, SYSCONFIG

Hi, 

Recently I strictly followed the steps described in the user's manual about TIDM-DC-DC-BUCK with the LAUNCHXL-F280049C and the corresponding C2000 Digital Power Buck Converter BoosterPack (BOOSTXL-BUCKCONV).

During the experiment, I encountered some problems that may need your help.

In Lab1, in real-time debug mode, when the duty cycle of the ePWM high-side is set to 0.3, the actual sensed input and output voltages, as well as output current, are far more different from those described in the document, as shown in Figure 1.

Figure 1

There is a similar condition if I write 1 to BUCK_activeLoadEnable and BUCK_activeLoadContEnable, as shown in Figure 2. It seems that all the values are larger than the actual.

Figure 2

Also in Lab 1, after I run the SFRA and compare the result with that shown in the user’s manual, the crossover frequency, gain margin and the phase margin are not the expected values, as shown in Figure 3.

Figure 3

In Lab 2, I run the Compensation Designer, and after I loaded the SFRAData.csv generated in Lab1 and clicked Save COMP, I started a SFRA sweep and found that they are not similar as described in the user’s manual, as shown in Figure 4. I don’t know why this happened.

Figure 4

In Lab 2, I try to reduce the Kdc of structure of ctrlZpk to 4000 and write 1 to ctrlUpdate to test the DCL compensator, but much to my surprise, the overcurrent trip is triggered, as shown in Figure 5. I have to reduce BUCK_vOutSetRef_Volts to 0.0 V and write 1 to BUCK_iOutTripFlagClear to exit the overcurrent trip.

Figure 5

 

 

  • Hi,

    Are you working with newly acquired hardware or has the launchpad and boosterpack been used previously? Additionally, can you provide the revision number for each of your boards that you are using? A picture of setup would also be helpful

    We recently made adjustments to the BOOSTXL-BUCKCONV board in order to improve the converter performance. Do you have the updated hardware? We have not updated the design guide to reflect this change, though 

    Regards,

    Peter

  • Hi Peter,

    Thank you very much.

    The followings are the hardware information.

    By the way, what's the U2 used for? To debug and program the TMS320F280049C MCU or for UART communication?

    It seems that the LaunchPad along with the BoosterPack is used for test purpose to get familiar with Digital Power development by using powerSuite. If I want to develop a new project based on the TIDM-DC-DC-BUCK by using different MCU, can I still use the SFRA and Compensation Designer to test the stability and performance of my design?  How do I program the MCU and debug my project? Do you have dedicated tool for this purpose as used on the LaunchPad? 

    Best regards,

    Power

  • Hi Peter,

    As to the TIDM-DC-DC-BUCK converter project, do you have the source code version in which I can directly configure the registers needed rather than using library function which often nests so many levels that it takes me a long time to finally find the register configured?

    Best regards,

    Power

  • Hi,

    Thank you for providing your board pictures. After reviewing your pictures, yes it looks like the version of the BOOSTXL-BUCKCONV that you have is the updated version. The most notable change is a that we depopulated C9 and used a different capacitor with different ESR for C8; this was done to improve the control loop performance. I don't currently have access to an updated board, please allow me some time to consult with colleagues to get access to the new board or to order a board from our TI store, so that I can test the project on my end.

    Regarding your questions:

    By the way, what's the U2 used for?

    U2 is the embedded onboard XDS110 debugger which allows for debugging your C2000 project without an external debug device.

    If I want to develop a new project based on the TIDM-DC-DC-BUCK by using different MCU

    What MCU are you hoping to target? Can you provide more details on your application? Typically we recommend customers to refer to a specific reference design depending on the topology they are hoping to implement, such as TIDM-DC-DC-BUCK for buck/buck-boost topologies, TIDA-10062 for LLC topologies, etc. SFRA and compensation designer are device agnostic, you will just have to use the compiled libraries for the new device.

    How do I program the MCU and debug my project? Do you have dedicated tool for this purpose as used on the LaunchPad? 

    That is the purpose of the MCU432/TM4C on the device. If you are wanting to debug a custom board, you can refer to using something like the TMDSEMU110-U debug probe.

    As to the TIDM-DC-DC-BUCK converter project, do you have the source code version in which I can directly configure the registers

    For TIDM-DC-DC-BUCK, we only release the DriverLib project, and in fact all of our latest reference designs utilize these DriverLib APIs to make programming the device easier. For adapting the project for your specific application, you should merely need to change the hal.c/hal.h files and the settings.h and user_settings.h files

    Regards,

    Peter

  • Hi Peter,

    Thank you very much for your detailed information.

    Recently I test the PCMC open loop of the DC-DC-BUCK, and there is a function that I can't understand, as shown in Figure1.

    It seems that it is used to configure the positive input of the high comparator, but I can't understand which pin or signal is used as the input signal of the comparator.  From the key signal connections shown in Figure 2, it is ADCINA2 that is used to sense the inductor current filtered.

    I look up the technical reference manual, and still don't know how the external pin is configured as the positive input of the comparator.

    I'm looking forward to hearing from you.

    Best Regards,

    Power

    Figure 1

    Figure 2

    Figure 3

  • Hi,

    The ADC and CMPSS are different analog peripherals and are hence independent from each other. You can see that on the LAUNCHXL-F280049C device, A2/B6/PGA1_OF contains CMP1_HP0, which means that that pin has the MUX input 0 to CMPSS1. 

    If you are using SysConfig, then you can check it in the CMPSS module like below

    If you are looking through the datasheet, you can see it like below

    So you will want to configure it as 

    ASysCtl_selectCMPHPMux(ASYSCTL_CMPHPMUX_SELECT_1,0U);
    where the first parameter is the CMPSS module number and the second parameter is the mux value corresponding to the pin that the analog signal is coming from
    Regards,
    Peter
  • Hi Peter,

    Thank you very much.

    I found that the second parameter in the source code is a macro whose definition is shown below.

    #define BUCK_PCMC_CMPSS_ASYSCTRL_MUX_VALUE ((uint16_t)3)

    ASysCtl_selectCMPHPMux(BUCK_PCMC_CMPSS_ASYSCTRL_CMPMUX, BUCK_PCMC_CMPSS_ASYSCTRL_MUX_VALUE);

    So the actual value of the second parameter is 3 rather than 0, which confuses me.

    According to your description, the second parameter should be 0 if CMP1_HP0/ADC-A Input 2 is the source analog signal.

    I examined the source code carefully and found at last that the over current CMPSS trip and the PCMC CMPSS trip share the same analog signal, that is ADC-A Input 3/CMP1_HP3, as shown in Figure 1, which can explain why the second parameter of  function ASysCtl_selectCMPHPMux is 3.

    You are right and thank you again.

    Best Regards,

    Power

  • Hi,

    I was highlighting the signal located on boosterpack pin 64 ADCINA2 which you highlighted for the ILFB_AVG. This is the inductor current with filtering used to enable measurement by the ADC.

    But you are correct, for the peak current mode control, we are using ILFB signal which is routed to BoosterPack pin 69 (ADCINA3 pin). And this is connected to MUX3 like you said

    Regards,

    Peter

  • Hi Peter,

    Thank you.

    Yes, you are correct. The signal you highlighted is used by ADC module for measuring filtered IL feedback.

    I have another question that needs your help.

    I got an application report about a BUCK converter from TI, and the link is below.

    Designing a TMS320F280x Based Digitally Controlled DC-DC Switching Power Supply (ti.com)

    https://www.ti.com/lit/an/spraab3/spraab3.pdf?ts=1716282132165

    I can understand the small signal power stage model of the buck converter in s-domain described on page 4, but how is the Gc1(s) derived on page 5?  Could you please give me detailed steps as to how this transfer function is derived?

    Thank you and I'm looking forward to hearing from you.

    Best Regards,

    Power

  • Hi,

    Allow me to reach out to the engineer that authored that report as they are still on the team here at TI. I will follow up with additional information once I get that

    Regards,

    Peter

  • Hi,

    Apologies for the delay, I am still awaiting a response from the expert, I have reached out once again

    Regards,

    Peter