05-14-2012 02:01 PM
I would like to write program to discharge batteries voltage (Vbat=3.2V), at first I input 100 ohm and step 5 second. Then I compare if voltage 2.6V<=V>=4V then End. If voltage still in the 3.2V range then I input current for 0.0005 Amp.I would like to calculate the Amp Hour , if Amp hour at 0.013 the program stop running. I am not sure the way I calculate the Amp Hour correct? Please Help. I would mlike to attachment my program for input. Thank you very much. John Hoang
05-14-2012 03:24 PM
I am not sure the way I calculate the Amp Hour correct?
You could integrate the current and convert from A*sec to A*h
05-14-2012 03:40 PM
I could not see the way you calculate the amp hour. Could you write again. Thank you
05-14-2012 04:19 PM
When you load a battery with a fixed resistor, the current varies over time as the battery voltage drops. The capacity of a battery, expressed in ampere-hours, is a measure of the stored charge. Charge, in coulombs, is the product of current (amperes) and time (seconds). The mathematical process of integrating the (time varying) current over time will give the total charge. This is what crossrulz is suggesting. If your dt (sampling period) is measured in seconds, you need to conver the result to hours to get battery capacity in ampere-hours.
Lynn
05-14-2012 04:29 PM
That's going to depend on the AH rating of the battery you are using. Take its rating and divide by the current draw.
Ex. If you have a 7AH battery, you can draw 7AH / 20 hour test cycle = 0.375A over a 20 hour period before the battery is dicharged. So, if our battery is drawing 0.5A, then 7AH / 0.5 = 14 hours. This is how long I could expect this battery to last before discharge. Word of note: You should not drain your battery below the 50% mark unless you are doing some sort of distructive testing.
05-14-2012 04:33 PM
An amp-hour is a measurement of current over time, or charge.
A "perfect" battery that can provide exactly 1 amp of current for exactly one hour then dies has a capacity of one amp-hour.
2 amps for half an hour is still 1 amp-hour.
If you're plotting current on a graph, the area under that curve is your charge capacity.
05-14-2012 07:37 PM
I am new in LabView, could you please to help me in this part. Thank you
05-15-2012 07:44 AM
Simple integration from t1 to t2. Use the integration tools under the Integration and Differentiation pallete.