您好!
我最近学习了 UCD3138全桥硬开关开发板固件
我遇到了问题。
int handle_Iout_temp_comp (int Iout_adc_count、int temperature)函数是否为温度补偿算法? 如果是、是否有描述该算法的应用手册? 我不理解函数的含义。R0_23C 、ADC_COUNT_23C 和 Factor,等常量的含义是什么?它们是如何获得它们的值的?
int handle_Iout_temp_comp (int Iout_adc_count、int 温度)
{
instante_reistance = R0_23C -(温度- ADC_COUNT_23C)*系数;//乘以100000
ADC_COUNT_FACT_NEGATIVE =(即时电阻负值<< 10)/ R0_23C;
instante_celse_positive = R0_23C +(温度- ADC_COUNT_23C)*系数;//乘以100000
ADC_COUNT_FACT_POSITIVE_POSITIVE =(即时电阻_正<< 10)/R0_23C;
// instate_阻力= 2720 +(温度- 1041)* 1.22;//乘以100000
返回((Iout_adc_count * adc_count_factor_negative)>>10);
//我们可以稍后切换到多段线性化
}