测试电路如上图
待测电流源最大是10uA,当前测试输入8uA
Rshunt选择2Kohm,精度0.01%
则Vshunt电压范围是:
0uA*2000OHM~10uA*2000OHM :0mV~20mV
CURRENT_LSB =8*Maximum Expected Current/ 2^19=10uA/2^19=0.0000191uA*8=0.0001528uA
ADCRANGE = 1时,SHUNT_CAL 的值必须乘以 4
SHUNT_CAL = 4*13107.2 x 10^6 x CURRENT_LSB x RSHUNT =7552(十进制)=0x1D80(16进制)
ADCRANGE = 0时,SHUNT_CAL 的值不用乘
SHUNT_CAL = 13107.2 x 10^6 x CURRENT_LSB x RSHUNT =1888(十进制)=0x760(16进制)
实测结果如下:current 的结果与实际输入8uA,都几乎变成2倍了,Vshunt的电压值都是准确的
ADCRANGE = 1 |
Vshunt |
2F620 |
194080 |
15.1625mV |
current |
19B0F |
105231 |
16.079uA |
|
ADCRANGE = 0 |
Vshunt |
0BD48 |
48456 |
15.1425mV |
current |
19A15 |
104981 |
16.0410968uA |
补充下,如果断开电流源的输入,实测current也是很小的,只有30+nA,说明没有外部漏电存在。
请帮忙分析下,是哪里错误导致的,谢谢