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.

TMS320F2800157: Average current sense in peak current control

Part Number: TMS320F2800157
Other Parts Discussed in Thread: TIDM-DC-DC-BUCK

Dear c2000 experts,

Rencently, i am developing a peak current control buck converter, using c2000 mcu cmpss to monitor current and disable driver though Cmpss->ePWM DC->T1 event->ePWM AQ.

In average current mode, we usually begin ADC in Ton/2 to get average current information, but in peak current control, the Ton time is determined by T1 event, we can not know the actual CTR value, i hope ti c2000 experts could provide a effective method to get accurate average current information. or can i know the epwm.ctr value when T1 event come?

Thanks,

Best Regards,

Suiyang

  • Hi Suiyang,

    Thank you for your patience over the holiday season and happy new year.

    I think it will be very helpful to refer to TIDM-DC-DC-BUCK which employs PCMC on a buck converter design, you can view the design guide which has very detailed guidance.

    For your purposes, it is possible to route the CMPSS signal to the ePWM Event Trigger module. Event Trigger can generate SOCA signal event based on DCxEVT1 signal. You should be able to use this SOCA to sample the current sensing ADC. 

    You won't be able to use this CMPSS to generate an ISR interrupt, but you can use an ADC interrupt for this purpose to read the current sensing information 

    Regards,

    Peter

  • Hi Peter,

    Thanks for your advise, I will check the TIDM-DC-DC-BUCK design.

    As your advise, using DCxEVT1 to generate SOCA signal, I was concerned about this signal aslo disable PWM driver, which will cause current decrease fastly, do you think these is a risk that we would get a not so accurate current information based DCxEVT1 SOCA signal?

    Happy new year!

    Best Regards,

    Suiyang

  • Hi Suiyang,

    How long have you configured your ADC sampling and hold time for? Additionally, the T1 AQ signal has a 3 CLK cycle qualification period before it shuts off the PWM signal. I believe you can try tuning your ACQPS values and checking your current sensing readings if you have access to your hardware. We should be following a similar approach in the TIDM-DC-DC-BUCK (refer to EPWM6/EPWM1: the DRV PWM signal)

    Regards,

    Peter