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.

CCS/UCD3138PFCEVM-026: Could PID coefficients be modified in program?

Part Number: UCD3138PFCEVM-026

Tool/software: Code Composer Studio

We want to reduce THD,

by modify PID coefficients in CCM, in pmbus_topology.h, in PWR026_PFC.

Is this a feasible method?

Hope for your help,thanks.

  • if you want to modify the coefficients, go to pmbus_topology.h, modify the coefficients in line 199, 202, 205 and 208:

    // KP_COEF_1 KP_COEF_0
    #define FILTERKPCOEF0_DEFAULT {500, 1778}

    // KI_COEF_1 KI_COEF_0
    #define FILTERKICOEF0_DEFAULT {100, 20}

    // KD_COEF_1 KD_COEF_0
    #define FILTERKDCOEF0_DEFAULT {1500, -64}

    // researved KD_ALPHA_1 researved KD_ALPHA_0
    #define FILTERKDALPHA_DEFAULT {0, 250, 0, 201}

    the COEF-0 are used for low line input voltage, the COEF_1 are used for high line input voltage