+ Post New Thread
Results 1 to 13 of 13

16th February 2017, 13:06 #1
 Join Date
 Dec 2015
 Posts
 171
 Helped
 2 / 2
 Points
 1,085
 Level
 7
Battery Calculations for the Microcontrollers
Hello Guys,
i am Developing the the Project where i have to use the Battery of any capacity.
Application is Like:
Microcontroller will Send signal in every 100ms (Data transmission time would be only 100uS in 100mS)
Transmitting current will be 22mA MAX
Now i want to calculate required battery Capacity for 300 days (Daily circuit will be on for 8 hours)
Regards
Marx

16th February 2017, 13:37 #2
 Join Date
 Oct 2011
 Location
 Tallinn, Estonia
 Posts
 1,368
 Helped
 321 / 321
 Points
 7,668
 Level
 20
Re: Battery Calculations for the Microcontrollers
100uS / 100ms = 0.001
So, basically, your device will operate 0.001 duty cycle in normal mode and 0.999 in idle mode.
Let's imagine, that in idle mode it takes 1uA, and in normal mode 1mA. So, 0.999 * 0.001 + 0.001 * 1 = ~2uA average current. For 300 days = 300d * 24h * 2uA = 15mAH capacity needed.Love me or hate me. All infractions will be ignored.
1 members found this post helpful.

16th February 2017, 13:37

16th February 2017, 15:21 #3
 Join Date
 Dec 2015
 Posts
 171
 Helped
 2 / 2
 Points
 1,085
 Level
 7
Re: Battery Calculations for the Microcontrollers
Thank You..!!
I am using an multiplexer 74HC4067
I want to understand the Current of This Multiplexer when Mux is 100 % Loaded.
What parameter in the datasheet mentioned that current..??
So that i can also calculate the Battery Consumpion for the Multiplexer

16th February 2017, 15:27 #4
 Join Date
 Nov 2012
 Posts
 2,026
 Helped
 453 / 453
 Points
 10,844
 Level
 24
Re: Battery Calculations for the Microcontrollers
You have not specified the idle current. The duty cycle is 0.1%; Avg current for 8 hrs will be 22uA. Add 5uA for the idle state and will be having total avg load 22/3+5=12uA cont for 24 hrs.
365*24*12=105mAH for an year or 86mAH for 300 days. You can safely use a battery with double the capacity with low leakage (selfdischarge current should be low).
1 members found this post helpful.

16th February 2017, 15:40 #5
 Join Date
 Apr 2014
 Posts
 9,146
 Helped
 2198 / 2198
 Points
 44,632
 Level
 51
Re: Battery Calculations for the Microcontrollers
Hi,
I am using an multiplexer 74HC4067
It is a switch, so the power for the load will be supplied by the "transmitter" ... at the other endo fo the switch.
Klaus

16th February 2017, 15:40

16th February 2017, 18:39 #6
 Join Date
 Dec 2015
 Posts
 171
 Helped
 2 / 2
 Points
 1,085
 Level
 7

16th February 2017, 18:39

17th February 2017, 02:51 #7
 Join Date
 Dec 2015
 Posts
 171
 Helped
 2 / 2
 Points
 1,085
 Level
 7

17th February 2017, 08:06 #8
 Join Date
 Dec 2015
 Posts
 171
 Helped
 2 / 2
 Points
 1,085
 Level
 7

17th February 2017, 11:41 #9
 Join Date
 Nov 2012
 Posts
 2,026
 Helped
 453 / 453
 Points
 10,844
 Level
 24
Re: Battery Calculations for the Microcontrollers
Sorry for not being clear enough.
First thing you need to understand that the AH specs does not bother about the voltage. However, we assume that the battery supplies the specified current for the specified duration while the voltage stays within usable limits.
If the av current taken by the circuit is 7mA, you will need a battery of 7mAH capacity to run the same circuit for one hour.
Using the same circuit, you can use for 300 days and 8 hours per day (2400 total hours) if you use a battery of capacity 2400X7 mAH=16800mAH or about 16 AH capacity battery. You can add 1020% margin and round up to a round figure!!
AH says about capacity (basically it is 3600 Coulombs) but the specs are not easy to interpret.
All batteries have leakage current OR selfdischarge current that is being used EVEN IF you are not connecting it to anything. That is the reason battery will not last longer than the shelf life specified.
1 members found this post helpful.

17th February 2017, 14:31 #10
 Join Date
 Dec 2015
 Posts
 171
 Helped
 2 / 2
 Points
 1,085
 Level
 7
Re: Battery Calculations for the Microcontrollers
Thank you..!!

21st February 2017, 05:51 #11
 Join Date
 Dec 2015
 Posts
 171
 Helped
 2 / 2
 Points
 1,085
 Level
 7
Re: Battery Calculations for the Microcontrollers
Not Cleared enough.
What my doubt is that,
by datasheet IC is taking 22 mA (What is this..?? Average current..??)
Now,
by going the straight way calculations,
22mA in 1 second then how much current in 1 uS..??
by using cross multiplication
22mA X1uS=1S x Required current
Therefore, Required current=(22x10^3)x(10^6)/1=220x(10^9)=220nA
Now converting it into the 1 hour
1 hour=60 Min=60x60second=3600 Second
In 1 hour Current required will be,
220nAX3600=792000X10^9=0.79mA
For 8 hours=0.79mAx8=1896mA
For 300 days=1896mAX300=568800mAH
Pls Elaborate your calculation step by step.

21st February 2017, 05:51

21st February 2017, 08:20 #12
 Join Date
 Apr 2014
 Posts
 9,146
 Helped
 2198 / 2198
 Points
 44,632
 Level
 51
Re: Battery Calculations for the Microcontrollers
Hi,
I can't follow your calculations:
(I didn't check if your initial values are correct)
22mA in 1 second then how much current in 1 uS..??
A LED consumes 20mA. In one second, in one hour in one year...and in one us. 20mA when it is ON.
But in your case it is ON only 100us in 100ms. This is 0.001. (No unit, because it is "second/second")
So the average current is 20mA x 0.001 = 0.020mA. (Average ON time current)
If now the LED cosumes 1mA (dim) during OFF time then
The average OFF time current is 1mAx 0.999 = 0.999mA.
The total average current is 0.999mA + 0.020mA = 1.019mA
22mA X1uS=1S x Required current
Therefore, Required current=(22x10^3)x(10^6)/1=220x(10^9)=220nA
(You could calculate charge per us: 22mA x 1us = 22nAs)
220nAX3600=792000X10^9=0.79mA
For 8 hours=0.79mAx8=1896mA
0.792uAh x 8 = 6.3336uAh is about 6.3uAh (per 8 hours)
For 300 days=1896mAX300=568800mAH
Klaus
1 members found this post helpful.

22nd February 2017, 10:06 #13
 Join Date
 Nov 2012
 Posts
 2,026
 Helped
 453 / 453
 Points
 10,844
 Level
 24
Re: Battery Calculations for the Microcontrollers
22mA is 22mA current; rate of flow of charge; it may be for 1 sec or 1 hour (it does not matter).
22mA in 1 sec = 22 mC (ampere X sec = Coulombs)
22mA in 1 us = 22 nC (m X u = n)
If this current is only for 1 us and only once per sec, then we have 22 nC /s or 22 nA (this is avg current)
Over one hour, we shall be having 22 nAH battery capacity is needed; 1 AH = 3600 C
1 members found this post helpful.
+ Post New Thread
Please login