Oznog
Active Member
I would like to measure my RV's secondary battery accurately through columetry, amp-hrs in versus amp-hrs out. I also want to have a bypass around one of the diodes in the inverter, so it will boost the voltage (and therefore the charging current) by at least 0.7V to the deep cycle battery when it needs bulk charging.
It will all be managed by a microcontroller system, one under the hood, and another managing an LCD & user interface inside.
I have a 50 mV @ 200 amp shunt that will of course go on the high side. I was interested in Hall-effect devices, but they can't detect the low current loads accurately, and the current surges from the power inverted would likely cause permanent magnetization inaccuracies.
So here's my problems. I'd like a resolution of 25nV, easy to get with the right ADC. But no ADC will accept a common mode voltage of 15+ volts, generally it's all 5V. A resistive voltage divider is completely out of the question due to the low amplitude of the differential signal. i.e. a 1% error between the two sides would mean an error of 50mV, or 200 amps in the reading!
The other option was a differential low-offset chopper op-amp, but I've got similar problems with resistor inaccuracies, and the "absolute maximum voltage" of the choppers I know is only 16V, generally too close for comfort.
The only thing I could see was to ground the adc and/or amp at one of the shunt terminals and charge pump a potential +5v above the positive terminal voltage. This is, however, incompatible with the negative ground on the interface inside the cabin.
How can I pull this off? Mainly I think it's a level conversion issue for the digital signals, probably a SPI which I'd like to run at a high speed. Is there a chip which can pull that off within these voltage differences? The positive terminal is also not a constant voltage, it could drop to 9V when the inverter loads in heavily, and this can't be allowed to corrupt the data, so it'd have to be differential. Is this a case for an optoisolator? Can I get an optoisolator to run at high speeds, like 2MHz?
It will all be managed by a microcontroller system, one under the hood, and another managing an LCD & user interface inside.
I have a 50 mV @ 200 amp shunt that will of course go on the high side. I was interested in Hall-effect devices, but they can't detect the low current loads accurately, and the current surges from the power inverted would likely cause permanent magnetization inaccuracies.
So here's my problems. I'd like a resolution of 25nV, easy to get with the right ADC. But no ADC will accept a common mode voltage of 15+ volts, generally it's all 5V. A resistive voltage divider is completely out of the question due to the low amplitude of the differential signal. i.e. a 1% error between the two sides would mean an error of 50mV, or 200 amps in the reading!
The other option was a differential low-offset chopper op-amp, but I've got similar problems with resistor inaccuracies, and the "absolute maximum voltage" of the choppers I know is only 16V, generally too close for comfort.
The only thing I could see was to ground the adc and/or amp at one of the shunt terminals and charge pump a potential +5v above the positive terminal voltage. This is, however, incompatible with the negative ground on the interface inside the cabin.
How can I pull this off? Mainly I think it's a level conversion issue for the digital signals, probably a SPI which I'd like to run at a high speed. Is there a chip which can pull that off within these voltage differences? The positive terminal is also not a constant voltage, it could drop to 9V when the inverter loads in heavily, and this can't be allowed to corrupt the data, so it'd have to be differential. Is this a case for an optoisolator? Can I get an optoisolator to run at high speeds, like 2MHz?