Skip to main content
SRedd.5
Senior III
June 9, 2023
Question

Over Current Protection value calculation in B-G431B-ESC1.

  • June 9, 2023
  • 1 reply
  • 1014 views

In the .B-G431B-ESC1 board if i set over current threshold as 45A then i get value of DAC_OCP_Threshold = 4083, Please explain me how this value is achieved.

Few of the calculations i know are

#define CURRENT_CONV_FACTOR (uint16_t)((65536.0 * RSHUNT * AMPLIFICATION_GAIN)/ADC_REFERENCE_VOLTAGE) 544 and

CURRENT_CONV_FACTOR_INV is 0.00183.

If i set the over current sense as 45A then the count is 24480 decimal value. But this value is different from the DAC value set (4083). What are the actual calculations.

This topic has been closed for replies.

1 reply

SRedd.5
SRedd.5Author
Senior III
June 20, 2023

Any help on this? I am not understanding the calculations.