Designing a Battery Monitoring Circuit: Questions & Challenges

AI Thread Summary
The discussion revolves around designing a battery monitoring circuit using the MAX4081 current sensor and an Atmega48 microcontroller for a 24 V lead acid battery. Concerns are raised about the effectiveness of integrating current measurements over time to accurately reflect the battery's status, especially with fluctuating current levels. Key points include the need for a functional current sensor despite not requiring high accuracy and the challenge of extracting a charging/discharging curve from the current data. Suggestions include considering the Nyquist limit for sampling frequency, addressing noise in the current sensor, and implementing statistical smoothing techniques like running averages or Kalman filters. Overall, the conversation emphasizes the importance of careful design choices to ensure useful battery monitoring outcomes.
roeb
Messages
98
Reaction score
1
I am currently in the process of designing a battery monitoring circuit. At the moment we are planning to base the circuit around the MAX4081 (bidirectional current sensor) and a microcontroller (atmega48). I am a bit concerned as to whether or not we will actually be able to get anything out of the MAX4081 that will indicate to us the actual status of the battery.

- 24 V lead acid battery
- at times it will be supplying ~10 A

The original plan was to take the current sensor and get the current, we can then integrate with respect to time to get Amp hours. However, I am not convinced that this will actually work.

Say the battery is supplying 10 A and we measure 10 A at an interval of 10 usecs. So yeah we can integrate that and get the amp seconds but does it mean anything? What if the battery is supplying 5 amps at an interval of 10 usecs? We can keep on adding up the small areas but I still fail to see how that would yield anything useful especially if the current is jumping around...

I found a nice article that goes over the basics of this, but unfortunately it still doesn't answer all of my questions... http://focus.ti.com/lit/ml/slyp086/slyp086.pdf


My questions are:

1) Can a current sensor be used for battery monitoring? I'm not going for a terribly high accuracy, but something that is functional would be nice.

2) How do I extract a charging/discharging curve from the current?

I can use the microcontroller just fine for ADC from the current sensor but I am still concerned that we won't be able to get anything useful out of the measured currents...
 
Engineering news on Phys.org
That sounds like an ideal way to measure a battery charge state.
You aren't making any assumptions about the battery (it's volt/amp/capacity curves) you are simply doing current in - current out book-keeping.
How often you sample the current is up to you and depends on how frequently the output current changes in your application, there is a limit to how often it can change based on the resistance and capcitance of the circuit, there is no point sampling faster than this - a sort of Nyquist limit if you like.
Main problem will be noise in the current sensor andthe limits of the cheap ADC in the uC.
You probably want to look at some statistical smoothing technique, either somethign simple like a running average or more complex like a Kalman filter.
Another good feature might be a reset to the integrator when you know the battery is full - perhaps from an external voltage sensor or from measuring a predicted top up current value.
 
Hi all I have some confusion about piezoelectrical sensors combination. If i have three acoustic piezoelectrical sensors (with same receive sensitivity in dB ref V/1uPa) placed at specific distance, these sensors receive acoustic signal from a sound source placed at far field distance (Plane Wave) and from broadside. I receive output of these sensors through individual preamplifiers, add them through hardware like summer circuit adder or in software after digitization and in this way got an...
I have recently moved into a new (rather ancient) house and had a few trips of my Residual Current breaker. I dug out my old Socket tester which tell me the three pins are correct. But then the Red warning light tells me my socket(s) fail the loop test. I never had this before but my last house had an overhead supply with no Earth from the company. The tester said "get this checked" and the man said the (high but not ridiculous) earth resistance was acceptable. I stuck a new copper earth...
Thread 'Beauty of old electrical and measuring things, etc.'
Even as a kid, I saw beauty in old devices. That made me want to understand how they worked. I had lots of old things that I keep and now reviving. Old things need to work to see the beauty. Here's what I've done so far. Two views of the gadgets shelves and my small work space: Here's a close up look at the meters, gauges and other measuring things: This is what I think of as surface-mount electrical components and wiring. The components are very old and shows how...
Back
Top