31
Other (Public) / Re: Battery capacitance tester...
« on: January 05, 2011, 04:52:06 PM »
After testing I found that ADC chip works excellent on bidirectional LPT port. Problem is in my old 486 laptop, there’s only unidirectional LPT port.
So I need now to change schematic, add multiplexer and reroute it to status pins of port, and other reroute to data pins. At least now it’ll work on any LPT port.
Next possible problem is with reading voltage...
ADC can read form 0-5V in scale of 0,02V with error +/- 0,02V. Measuring input voltage range 0-15V, scale is set to 0,06V and error +/- 0,06V.
That is not good, if battery is empty - 11,8V, reading will be 11,82V (2,5% full) or if error in reading is used in count: 11,88V (10% full).
Precision of 0,06V is too low for my needs and after calculating I came to conclusion that precision must be in range of 0,02 – 0,03V to get accurate results.
So ideally will be to measure in range from 10-15V. I only know to do that thru bridge of Zener diodes. First diode make input voltage drop, and second sets output range. Both Zener diodes in series make maximum input voltage.
I can’t use 10V diode, because there is about 1,2V nonlinear current after targeted point so in reality range 10-11,2V will be in nonlinear state and results become inaccurate.
With 9,1V Zener diode I get nonlinear range from 9,1V to 10,3V which is acceptable. For second diode I’ll use 6,2V and that in total produce maximal input voltage of 15,3V with maximal output voltage of 6,2V.
However in here I need to install resistor and trimmer potentiometer to get range in 0-5V. Resolution for this reading from 9,1V to 15,3V is 0,024V and fits required range.
Now after modifying schematic I can start to make prototype version for further testing:
So I need now to change schematic, add multiplexer and reroute it to status pins of port, and other reroute to data pins. At least now it’ll work on any LPT port.
Next possible problem is with reading voltage...
ADC can read form 0-5V in scale of 0,02V with error +/- 0,02V. Measuring input voltage range 0-15V, scale is set to 0,06V and error +/- 0,06V.
That is not good, if battery is empty - 11,8V, reading will be 11,82V (2,5% full) or if error in reading is used in count: 11,88V (10% full).
Precision of 0,06V is too low for my needs and after calculating I came to conclusion that precision must be in range of 0,02 – 0,03V to get accurate results.
So ideally will be to measure in range from 10-15V. I only know to do that thru bridge of Zener diodes. First diode make input voltage drop, and second sets output range. Both Zener diodes in series make maximum input voltage.
I can’t use 10V diode, because there is about 1,2V nonlinear current after targeted point so in reality range 10-11,2V will be in nonlinear state and results become inaccurate.
With 9,1V Zener diode I get nonlinear range from 9,1V to 10,3V which is acceptable. For second diode I’ll use 6,2V and that in total produce maximal input voltage of 15,3V with maximal output voltage of 6,2V.
However in here I need to install resistor and trimmer potentiometer to get range in 0-5V. Resolution for this reading from 9,1V to 15,3V is 0,024V and fits required range.
Now after modifying schematic I can start to make prototype version for further testing: