cancel
Showing results for 
Search instead for 
Did you mean: 

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

SRedd.5
Senior III

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 discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
SRedd.5
Senior III

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