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.

TIDA-010062: PFC part of TIDA-010062

Part Number: TIDA-010062

Tool/software:

In the PFC section of TIDA-010062, the absolute value is taken for the output value of the PID, and if the PID output value is negative, the absolute value is taken for the negative value. Is that a positive feedback, that's not going to be a problem; for example, in the abnormal state, the current doesn't immediately climb up, this time for the sub-tube, D should be increased, but D is reduced by taking the absolute value.

DutyPWMReg = (uint32_t)((float32_t)(TTPLPFC_PFC_PWM_PERIOD) / 2.0f) * fabsf(duty));