OneEye
100 W
When tolerances go all wrong.
Just for giggles, I plugged in a set of hypothetical voltage divider-zener sets to measure the voltage of a single cell at the end of a 16 cell battery. Then I plugged in the maximum tolerances on a 2% zener and 1% resistors and made them go all the wrong way to cause the maximum measurement error possible within those tolerances. The step-tolerance of a 10 bit A/D converter, and measurement tolerance of the A/D converter were not considered (assumed perfect). It's an extreme scenario, one that will never happen, but the results were interesting.
The desired set-points were 3.65V high, and 2.1V low.
The hypothetical maximum variation in 'actual' cell voltage was:
high setpoint: 1.51V to 5.64V
low setpoint: .80V to 3.41V.
Isn't that funny?
Obviously the chances of that particular set of circumstances occurring are NIL, but it makes for a good thought exercise. Do you handle tolerances by including a programming mode, where you provide a known voltage across the pins and adjust in software? or do you use a trim-pot to physically adjust for the measurement tolerance?
Alternately, it may point the project back to multiple microcontrollers with fewer cells per controller (perhaps as low as 1:1).
Just for giggles, I plugged in a set of hypothetical voltage divider-zener sets to measure the voltage of a single cell at the end of a 16 cell battery. Then I plugged in the maximum tolerances on a 2% zener and 1% resistors and made them go all the wrong way to cause the maximum measurement error possible within those tolerances. The step-tolerance of a 10 bit A/D converter, and measurement tolerance of the A/D converter were not considered (assumed perfect). It's an extreme scenario, one that will never happen, but the results were interesting.
The desired set-points were 3.65V high, and 2.1V low.
The hypothetical maximum variation in 'actual' cell voltage was:
high setpoint: 1.51V to 5.64V
low setpoint: .80V to 3.41V.
Isn't that funny?
Obviously the chances of that particular set of circumstances occurring are NIL, but it makes for a good thought exercise. Do you handle tolerances by including a programming mode, where you provide a known voltage across the pins and adjust in software? or do you use a trim-pot to physically adjust for the measurement tolerance?
Alternately, it may point the project back to multiple microcontrollers with fewer cells per controller (perhaps as low as 1:1).