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.

Digital power UCD3138 LLCHBFirmware-1.2

1. In pmbus_topology.h

#define VOUT_0     (6144)
#define VOUT_OV_FAULT_LIMIT (7168)
#define VOUT_OV_WARN_LIMIT  (6656)
#define VOUT_UV_FAULT_LIMIT (1536)
#define VOUT_UV_WARN_LIMIT  (5632)

What are the numbers 6144, 7168, 6656, 1536, 5632?

2. If I want to change the converter setting such as output voltage 12V, but don't use the GUI

how can I do?

In pmbus_topology.h line 183 => #define VOUT_0     (6144) ?

In system_defines.h line 61 => #define VOUT (12.0)  ?

3.Where is the DAC setting of VO 12V

If the resistor divider is modified (549ohm//549ohm//549ohm+10kohm+1kohm), how can I set the VO to 12V?

  • Hello,

    The #define VOUT (12.0) in system_defines.h is not used.

    Vout 12V is defined in pmbus_topology.h line 183. It is Linear mode as defined in PMBus specification for VOUT_COMMAND, the exponent is set as 9, therefore:

    12V = 12<<9 = 6144

    Similarly,

    7168 mean 14V

    6656 means 13V

    1536 means 3V

    5632 means 11V

    To change the Vout from code, you need to change #define VOUT_0     (6144)

    If voltage divider changed, go to system_defines.h, line 126, change:

    #define DAC_VALUE_SCALER (912)

    The new value = (voltage divider ratio / 1.6) *1024 *16

    Regards,

    Bosheng

  • 1.Can I change the exponent of VOUT_COMMAND? Go to system_defines.h, line 125  #define VOUT_MODE_EXP  (9)?

    2.Go to system_defines.h, line 124, Can you explain this line in detail // 912 = 16 * Round(1.065 / (12 * 1.6) * (1 << 10))

    3.If I want to change the resonent tank spec., How can I set the Key frequencies such as fmin(avoid core saturation), fr(set the max. on time of SR to avoid SR reversed energy) , f(PWM mode) and fmax of this converter.  are there in system_defines.h, line 43~50?

    4.Why some parameters are set in pmbus_topology.h, such as VO, VOOV, VOUV...,Instead of in system_defines.h

  • Hello,

    her answers to your questions:

    1, yes

    2, it is the same as what I said before:(voltage divider ratio / 1.6) *1024 *16. 1.065/12 was the voltage divider ratio in the original schematic, then the ratio was changed a little bit in the final version

    3, yes

    4, this is just the author's preference, you can put them together if you want.

    Regards,

    Bosheng