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.

TMS320F28335: CMPAHR value and PID issue

Part Number: TMS320F28335
Other Parts Discussed in Thread: C2000WARE

Tool/software:

Hi team,

When I use F28335, I have two questions

1. The calculation of CMPAHR register is shown in the figure

So how to write code in CCS to implement this formula?

2.When using DSP28335 as a synchronous buck power supply, it was found that no matter how to adjust the PID parameters, the ripple would oscillate at individual input voltage points. It is unclear whether it is a PID parameter problem or a program problem. Many PID parameters have been repeatedly adjusted, but stability over the entire input range cannot be achieved.

Could you help?

Thanks & Best regards,

Jiahui

  • Hi Jiahui,

    For the first query please see the c2000ware example : device_support\f2833x\examples\hrpwm

    For the second query is PID implemented in the control algorithm written by you ? Did you try to see if your control algorithm is implemented properly ?

    it was found that no matter how to adjust the PID parameters, the ripple would oscillate at individual input voltage points.

    Thanks