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.

TMS320F280049: LLC Converter current sensing cmpss

Part Number: TMS320F280049
Other Parts Discussed in Thread: C2000WARE

I'm planning to sense the current on the secondary side of an LLC converter to generate a PWM signal at the zero crossing points of the current. I intend to utilize the CMPSS functionality for this purpose, but I lack experience in using it. Could you guide me on how to proceed?

  • Hello,

    There is two examples in C2000Ware that will show the basics of using CMPSS and its digital filter and send the output to the EPWM module. You can find them in your C2000ware directory: C2000Ware_5_00_00_00\driverlib\f28004x\examples\cmpss

    To read the negative values of the current, you need to shift the input signal. You can use the DAC module as reference to add offset to your input signal. There is section in PGA chapter explaining how to use combination of PGA module and DAC modules to read the signals with negative values (section 14.10.3 Buffered DAC ). Also, an example is provided in C2000ware that explains how to configure the PGA module. You can find it here: C2000Ware_5_00_00_00\driverlib\f28004x\examples\pga

    Please let me know if you have any questions.

    Regards,

    Hadi