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.

UCD3138: UCD3138 CLA coefficient calculation

Part Number: UCD3138

Hi UCD expert,

Currently I'm trying to tuning loop parameter through GUI, but found some of the parameter calculated in GUI can't match the value calculated in mathcad. Can you please do me a favour on figuring out what the root cause is?

1. I refer to the "UCD3138 Control Theory" documentation, I take the equations in Table 18(please see the right table in below picture), and write the same equations in mathcad to calculate KP, KI, KD, alpha, and found that the value calculated in mathcad are:

KP = 15.954 ,

KI = 1690,

Kd = error( this is due to unit error in mathcad),

alpha = -255.746.

This is not match the result from GUI, for the same condition( fs = 250Khz, K = 1, fz1 = 1khz, fz2 = 1khz, fp = 10Khz), the GUI calculation results are:

// Coefficient set A(0)

Filter0Regs.FILTERKPCOEF0.bit.KP_COEF_0 = 7969;
Filter0Regs.FILTERKICOEF0.bit.KI_COEF_0 = 53;
Filter0Regs.FILTERKDCOEF0.bit.KD_COEF_0 = 30181;
Filter0Regs.FILTERKDALPHA.bit.KD_ALPHA_0 = 199;

- Mathcad Calculation:

- The calculation result in GUI, please see below picture, and I upload the gui project here:CLA_PARAM_CALCUALTION_DC-DC HSFB @ Address 88d Project.zip