Previous in Forum: Burning of Fuses of a DC Drive 95KW   Next in Forum: Another Attempt to Distribute Energy the Tesla Way
Close
Close
Close
38 comments
Rate Comments: Nested
Member

Join Date: Jan 2011
Posts: 8

Power Calculation from Current Waveform

06/16/2014 8:51 AM

I have the above waveform for my load current consumed with time in mS.The same is taken from a battery of 12V.How to calculate the useful power in the waveform?.My intention is to find out within what time 12V,50Ah battery will get drained.

Register to Reply
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.

"Almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, vote them!
Guru
United Kingdom - Member - Indeterminate Engineering Fields - Control Engineering - New Member

Join Date: Jan 2007
Location: In the bothy, 7 chains down the line from Dodman's Lane level crossing, in the nation formerly known as Great Britain. Kettle's on.
Posts: 32175
Good Answers: 839
#1

Re: Power calculation from current waveform

06/16/2014 9:05 AM

The simple answer is to measure the area under the line, however, as a battery discharges, its terminal voltage falls, which tends to complicate matters. As a first approximation, though, this figure will prove sufficient for determining the minimum battery size and multiplying by the voltage gives the approximatee power stored.

Of course, providing a capacity in excess of the theoretical requirements will avoid embarrassment.

__________________
"Did you get my e-mail?" - "The biggest problem in communication is the illusion that it has taken place" - George Bernard Shaw, 1856
Register to Reply
Guru

Join Date: Oct 2008
Posts: 42355
Good Answers: 1693
#2

Re: Power Calculation from Current Waveform

06/16/2014 5:35 PM

Get a stop watch and time it.

Register to Reply
Power-User

Join Date: Sep 2011
Posts: 267
Good Answers: 7
#3

Re: Power Calculation from Current Waveform

06/16/2014 10:53 PM

Well, the area under the curve divided by the time will give you average current.

You could do it with a ruler. You have a few triangles and squares.

For a first approximation, you can assume that the voltage of the battery doesn't drop, but you can do voltage the same way.

Multiply them together and BINGO! - Power.

Register to Reply
Member

Join Date: Jan 2011
Posts: 8
#8
In reply to #3

Re: Power Calculation from Current Waveform

06/17/2014 12:42 AM

Thank You.I had imported the load current measurement data points to excel and plotted a graph of current versus time which is approximately coming in the above fashion.

Considering supply voltage to be constant 12V(to get maximum case),what I was thinking was to multiply each current data point with corresponding voltage point to get the power waveform.

Then to find the rms power take the root of mean of the squares of the points ....Should I use time in mS or the no.of data points?..I'm not sure if I'm in right direction.

Register to Reply
Guru

Join Date: Jul 2007
Location: Commissariat de Police, Nouvions, occupied France, 1942.
Posts: 2599
Good Answers: 77
#10
In reply to #8

Re: Power Calculation from Current Waveform

06/17/2014 2:37 AM

As it comes from a battery, the concept of RMS is the same as "smooth DC". Don't try to make it too complicated, Eric.

__________________
Good moaning!
Register to Reply Score 1 for Good Answer
Power-User

Join Date: Sep 2011
Posts: 267
Good Answers: 7
#4

Re: Power Calculation from Current Waveform

06/16/2014 10:56 PM

I forgot to add. Everything has to be in the right units: Amps, Volts, Seconds.

You can't edit immediately after submitting even though I clicked the button.

Register to Reply
Active Contributor

Join Date: Aug 2009
Posts: 15
#5

Re: Power Calculation from Current Waveform

06/16/2014 11:56 PM

Just a few queries before we get to a solution.

1) What are the periods for which the current rises to 40A, stays flat and fall back to 2A?

2) What is the period for the final drop off to zero current?

3) Does the current immediately rise or is there a wait duration after which this waveform repeats?

4) What is the type of load -> resistive, inductive, capacitive?

and finally 5) Is the load a controlled current sink, meaning if the voltage from the battery dropped does the current waveform remain the same or is there a proportional drop?

Register to Reply
Guru

Join Date: Oct 2008
Posts: 42355
Good Answers: 1693
#6
In reply to #5

Re: Power Calculation from Current Waveform

06/17/2014 12:03 AM

"What is the period for the final drop off to zero current?"

With no external intervention, infinity.

Register to Reply
Member

Join Date: Jan 2011
Posts: 8
#7
In reply to #5

Re: Power Calculation from Current Waveform

06/17/2014 12:20 AM

1) What are the periods for which the current rises to 40A, stays flat and fall back to 2A?

It's 5ms to 40A,10mS at 40,again 5mS to 2A

2) What is the period for the final drop off to zero current?

It's 20mS

3) Does the current immediately rise or is there a wait duration after which this waveform repeats?

There's a 150mS wait duration between pulses

4) What is the type of load -> resistive, inductive, capacitive?

It's a motor load

and finally 5) Is the load a controlled current sink, meaning if the voltage from the battery dropped does the current waveform remain the same or is there a proportional drop?

There will be proportional drop.

Thanks

Register to Reply
Guru

Join Date: May 2006
Location: Placerville, CA (38° 45N, 120° 47'W)
Posts: 6215
Good Answers: 248
#13
In reply to #7

Re: Power Calculation from Current Waveform

06/17/2014 10:14 AM

From my point of view, your first step should be to draw an accurate scale drawing. Otherwise the drawing will likely mislead you. Here is your drawing followed by one made using your numbers:

Second, again in my point of view, that's NOT your waveform. to show a repetitive waveform, you MUST show at least 2 complete repetitions:

Again, without viewing at least a couple of repetitions, you don't get an accurate mental picture.

Third, I'm amazed that no one has said this sure looks like homework!

__________________
Teaching is a great experience, but there is no better teacher than experience.
Register to Reply
Guru

Join Date: Jun 2013
Location: Central Canada
Posts: 677
Good Answers: 28
#14
In reply to #13

Re: Power Calculation from Current Waveform

06/17/2014 10:19 AM

You apparently missed it, too. Look closely at op drawing the current drops to 2A not 25. time for a redraw - -

Typical ratings for battries in AH are considered to be a 2 amp drain.

In other words a 50AH battery should be expected to supply 2A for 50 hours before voltage is depleted to the minimum battery voltage allowed ( discharged level ).

Drainages are not guaranteed to be linear so do not expect the same battery to provide 4A for 25 hours.

__________________
Smart as a post and twice as fast.
Register to Reply Score 1 for Good Answer
Guru

Join Date: May 2006
Location: Placerville, CA (38° 45N, 120° 47'W)
Posts: 6215
Good Answers: 248
#15
In reply to #14

Re: Power Calculation from Current Waveform

06/17/2014 10:55 AM

OOPS! Coming Shortly...

__________________
Teaching is a great experience, but there is no better teacher than experience.
Register to Reply
Guru
Popular Science - Weaponology - New Member Safety - ESD - New Member Hobbies - Fishing - New Member

Join Date: Sep 2006
Location: Near Frankfurt am Main, Germany. 50.390866N, 8.884827E
Posts: 17996
Good Answers: 200
#17
In reply to #14

Re: Power Calculation from Current Waveform

06/17/2014 11:00 AM

Wrong!!! Where did you get that idea from?

50 hours at one amp.....that is why its called 50 amp/hours Battery....

Theoretically or 50 amps for one hour!!! Is the same....

At 2 amps, the battery should last 25 hours.....

You are too LongintheTooth to remember!!!

__________________
"What others say about you reveals more about them, than it does you." Anon.
Register to Reply Score 1 for Off Topic
Guru

Join Date: Jun 2013
Location: Central Canada
Posts: 677
Good Answers: 28
#22
In reply to #17

Re: Power Calculation from Current Waveform

06/17/2014 2:20 PM

True, I correctd one mistake and made another of my own LOL.

If you look at some Gel, LA, and deep discharge RV battery specs though, you will see typical drain rates for AH ratings are done at 2A.

Check out the Trojan site and those are typical. I'm not sure why the industry has chosen 2A drain rates; other than to cause math errors.

In any case, you are correct that 50AH is the implied duration for 1A.

In my haste to post I got rate and capacity confused.

I stand corrected thanks.

__________________
Smart as a post and twice as fast.
Register to Reply
Guru
Popular Science - Weaponology - New Member Safety - ESD - New Member Hobbies - Fishing - New Member

Join Date: Sep 2006
Location: Near Frankfurt am Main, Germany. 50.390866N, 8.884827E
Posts: 17996
Good Answers: 200
#24
In reply to #22

Re: Power Calculation from Current Waveform

06/17/2014 4:01 PM

You wrote:-

If you look at some Gel, LA, and deep discharge RV battery specs though, you will see typical drain rates for AH ratings are done at 2A.

You can actually do the drain tests at any current you wish, in fact the capacity may actually "peak" at a particular current draw.....that was not what I was being picky about!! It was your appalling math!!

__________________
"What others say about you reveals more about them, than it does you." Anon.
Register to Reply
Anonymous Poster #1
#25
In reply to #24

Re: Power Calculation from Current Waveform

06/17/2014 4:05 PM

yes being picky for sure. I be good from now on, massa.

Register to Reply Off Topic (Score 5)
Guru
Popular Science - Weaponology - New Member Safety - ESD - New Member Hobbies - Fishing - New Member

Join Date: Sep 2006
Location: Near Frankfurt am Main, Germany. 50.390866N, 8.884827E
Posts: 17996
Good Answers: 200
#26
In reply to #25

Re: Power Calculation from Current Waveform

06/17/2014 4:09 PM

Hardly anonymous!!!

__________________
"What others say about you reveals more about them, than it does you." Anon.
Register to Reply Off Topic (Score 5)
Anonymous Poster #1
#27
In reply to #26

Re: Power Calculation from Current Waveform

06/17/2014 4:12 PM

of course. there are more than one reason to post anon.

Register to Reply Off Topic (Score 5)
Anonymous Poster #2
#30
In reply to #27

Re: Power Calculation from Current Waveform

06/18/2014 5:14 AM

More laughable posts, many thanks!!!

Now you MUST know who this is..... AD is a hint? But why?

Register to Reply Off Topic (Score 5)
Guru

Join Date: May 2006
Location: Placerville, CA (38° 45N, 120° 47'W)
Posts: 6215
Good Answers: 248
#28
In reply to #24

Re: Power Calculation from Current Waveform

06/17/2014 4:34 PM

Interesting manual, but limited to LA and NiCd batteries. (I did not read the entire thing...) Have you found anything equivalent for today's Li & other batteries?

__________________
Teaching is a great experience, but there is no better teacher than experience.
Register to Reply
Guru
Popular Science - Weaponology - New Member Safety - ESD - New Member Hobbies - Fishing - New Member

Join Date: Sep 2006
Location: Near Frankfurt am Main, Germany. 50.390866N, 8.884827E
Posts: 17996
Good Answers: 200
#29
In reply to #28

Re: Power Calculation from Current Waveform

06/18/2014 5:12 AM

For others I go to the Battery University....mostly good I find.

__________________
"What others say about you reveals more about them, than it does you." Anon.
Register to Reply
Member

Join Date: Jan 2011
Posts: 8
#33
In reply to #24

Re: Power Calculation from Current Waveform

06/18/2014 9:33 AM

Thank You for the document Andy.

Register to Reply
Guru
Popular Science - Weaponology - New Member Safety - ESD - New Member Hobbies - Fishing - New Member

Join Date: Sep 2006
Location: Near Frankfurt am Main, Germany. 50.390866N, 8.884827E
Posts: 17996
Good Answers: 200
#36
In reply to #33

Re: Power Calculation from Current Waveform

06/18/2014 12:14 PM

I hope it proves helpful.....

__________________
"What others say about you reveals more about them, than it does you." Anon.
Register to Reply
Guru

Join Date: May 2006
Location: Placerville, CA (38° 45N, 120° 47'W)
Posts: 6215
Good Answers: 248
#18
In reply to #14

Re: Power Calculation from Current Waveform

06/17/2014 11:09 AM

Thanks for looking closely enough to see my errors. Try these:

__________________
Teaching is a great experience, but there is no better teacher than experience.
Register to Reply
Member

Join Date: Jan 2011
Posts: 8
#20
In reply to #18

Re: Power Calculation from Current Waveform

06/17/2014 11:17 AM

Thanks for the figures,these are the ones that I meant...

Register to Reply
Power-User

Join Date: Sep 2011
Posts: 267
Good Answers: 7
#9

Re: Power Calculation from Current Waveform

06/17/2014 1:16 AM

Root - sqrt()

Mean = Average

Square = ^2

That said all your I's are positive and all of you V's are positive, so V*I is power.

I is wierd, so you need the calculus definition of Average which is basically area under curve/period.

Volts, Power and Amps need everything in terms of Volts Amps and seconds.

Register to Reply Score 1 for Good Answer
Guru
Popular Science - Weaponology - New Member Safety - ESD - New Member Hobbies - Fishing - New Member

Join Date: Sep 2006
Location: Near Frankfurt am Main, Germany. 50.390866N, 8.884827E
Posts: 17996
Good Answers: 200
#11

Re: Power Calculation from Current Waveform

06/17/2014 6:27 AM

So you have a 50A 12 volt battery. There are many types of LA battery around, you did not mention which. That makes a difference.....

If it is a normal car battery type, then these are very easily damaged if left at less than 12.6 volts for any length of time....assuming an average battery, but manufacturers data should be used. They start to sulphate.

In a car, the engine runs after starting (usually!) and recharges the battery immediately, before any real damage is done.....

The type/style of charger/charging used also plays a big role in battery life and capacity.......even some good expensive chargers can ruin a battery within a very short time when incorrectly used, wrong type of battery or charger cycle or if you simply don't know what you are doing with it!!!same/same/same!!

Best of luck!

__________________
"What others say about you reveals more about them, than it does you." Anon.
Register to Reply
Guru

Join Date: Jun 2006
Location: Ottawa Canada
Posts: 1975
Good Answers: 117
#12

Re: Power Calculation from Current Waveform

06/17/2014 7:50 AM

Can you not calculate a root mean square from those crisp triangles? The RMS should be a good (useful) indication of power output over the duty cycle.

__________________
If it was easy anybody could do it.
Register to Reply
Active Contributor

Join Date: Aug 2009
Posts: 15
#16

Re: Power Calculation from Current Waveform

06/17/2014 10:56 AM

Following up on the queries for the current waveform timings and the responses got till now, here is a list of clarifications:

1) Root mean square is unnecessary as it it only DC current - there is no current going below zero in the given cycle: so average is enough - infact for DC RMS value is the same as average.

2) Drop off period cannot be infinity - that means there is only one cycle of the waveform and there is no further discharge. So, we still need drop off period and period from end of one cycle to the next to solve this.

3) Considering it is motor load, is this only the starting current or is it running current under nominal loads.

4) Is there any variations in the load over time - a typical application would be a pressure pump which draws low current when there is no pressure in the tank and builds up as the tank pressure increases. Constant load examples could be a water pump lifting water to a (open) tank at a fixed height form the ground.

5) Lastly, the battery voltage will keep dropping as it discharges and complicates the calculation, but we can get at the first approximation for this and then tackle that issue as the next step.

Awaiting your replies........

Register to Reply Score 1 for Good Answer
Member

Join Date: Jan 2011
Posts: 8
#19
In reply to #16

Re: Power Calculation from Current Waveform

06/17/2014 11:12 AM

Thanks for the reply.

Regarding the load, this is the current waveform for a motor that stretches a spring(the exact waveform is a smooth curve) and releases the same .The first part is the inrush current(motor runs free) and the second part(2A) is the load current when the spring starts stretching.Full cycle is made to repeat at an interval of 150ms.

Register to Reply
Guru

Join Date: May 2006
Location: Placerville, CA (38° 45N, 120° 47'W)
Posts: 6215
Good Answers: 248
#23
In reply to #19

Re: Power Calculation from Current Waveform

06/17/2014 3:43 PM

"...waveform for a motor that stretches a spring..."

If you had said that in the original post, I would have been Somewhat less likely to make the homework comment.

"Full cycle is made to repeat at an interval of 150ms."

... not according to your previous posts. It's not very clear, but I read 154 ms at the end of the main up-slope of your drawing, and you stated in post #7 that it takes 20 ms for the current to drop to zero, and that there was a 150 ms delay before the next cycle. That's a total of 324 ms before the end of the first cycle.

Now you have stated that the initial pulse is the inrush at startup. It is not at all clear whether the motor stops at the end of each pulse, or continues to run. Based on your numbers, and assuming the 2 Amps is the idling current of the motor, it takes almost twice as much energy to start the motor from scratch as it does to keep it running for 150ms idling time

Now on the other hand, you stated that the current drops to zero, indicating a full stop.

Of course we have no idea what kind of mechanism you are using to convert the rotary motion of the motor to the (presumably) linear motion of the spring (you did say 'stretch', not 'twist' or 'bend'). A cam is the first thing that comes to mind, but there are LOTS of other possibilities.

Whenever a load is suddenly removed from a motor, as may occur when your spring is released, the motor will temporarily overspin, in which case the current will not only drop rapidly to zero, but may well go negative while the motor acts as a generator.

We need much more detail before there is any hope of predicting your battery life!

My current best guess is that you want something like one or the other of these waveforms:

__________________
Teaching is a great experience, but there is no better teacher than experience.
Register to Reply
Member

Join Date: Jan 2011
Posts: 8
#31
In reply to #23

Re: Power Calculation from Current Waveform

06/18/2014 9:21 AM

Thanks.Uploading a sketch with time and currents updated;sorry for the poor clarity in paint.

Register to Reply
Guru

Join Date: May 2006
Location: Placerville, CA (38° 45N, 120° 47'W)
Posts: 6215
Good Answers: 248
#35
In reply to #31

Re: Power Calculation from Current Waveform

06/18/2014 11:49 AM

Is that a logarithmic scale on the vertical axis? It should be linear to correctly illustrate the power. 2A should be 1/20 of the way to 40A, and 25A should be only a little past half way...

Again, some information on the mechanism used would be helpful. Your graphs show quite a large amount of energy expended in getting the motor up to speed, and this one makes it clear that you are currently shutting the motor off between cycles.

A redesign of the mechanism could probably allow continuous run of the motor, saving much of the inrush energy.

__________________
Teaching is a great experience, but there is no better teacher than experience.
Register to Reply
Active Contributor

Join Date: Aug 2009
Posts: 15
#21

Re: Power Calculation from Current Waveform

06/17/2014 11:45 AM

Continuing further on the queries:

1) Does the original waveform reflect the current values at start of spring loading or the end of spring loading, or is it in the middle of the "spring cycle"?

2) Refer to reply number 14 of this thread from dkwarner. Consider the second waveform:

2a: what is the period from the top of the triangle falling to the point where the current becomes zero?

2b. what is the period between two cycles? If this cannot be defined then we may have to calculate energy required for one "spring cycle" and define battery capacity as "number of spring cycles" and not duration.

We are almost there - though my next access to the internet is couple of hours away.

Register to Reply
Member

Join Date: Jan 2011
Posts: 8
#32
In reply to #21

Re: Power Calculation from Current Waveform

06/18/2014 9:27 AM

ThankYou

1) Does the original waveform reflect the current values at start of spring loading or the end of spring loading, or is it in the middle of the "spring cycle"?

The waveform uploaded recently shows one spring stretch(150mS) followed by rest period

2) Refer to reply number 14 of this thread from dkwarner. Consider the second waveform:

2a: what is the period from the top of the triangle falling to the point where the current becomes zero?

20mS

2b. what is the period between two cycles? If this cannot be defined then we may have to calculate energy required for one "spring cycle" and define battery capacity as "number of spring cycles" and not duration.

It is approximately 150mS if we neglect the 0.1A dip .For the energy calculation mentioned,is the method V*I*t?

Register to Reply
Active Contributor

Join Date: Aug 2009
Posts: 15
#34

Re: Power Calculation from Current Waveform

06/18/2014 11:17 AM

I can send this excel file if there is an email list relevant to this case. Kind of worked this off with the information collected over the past few postings.

Register to Reply
Active Contributor

Join Date: Aug 2009
Posts: 15
#37

Re: Power Calculation from Current Waveform

06/18/2014 1:01 PM

Here is the updated calculations. Goofed on the last one with respect formula for trapezoid. Can email the file if interested.

Register to Reply Score 1 for Good Answer
Guru

Join Date: Oct 2012
Location: 100 miles North from the World Center
Posts: 879
Good Answers: 42
#38

Re: Power Calculation from Current Waveform

06/22/2014 10:51 AM

I don't think the voltage drop is important since the OP wants to know in how time the battery will get drained and not the "power "produced [or wasted].

If we divide the under curve surface in geometric figures-as triangles and rectangles -we shall get 2340 A*ms per a cycle of 150+150=300 ms=0.3 sec that means 2.34/0.3=7.8 A*sec/1 sec=7.8 A.h/1 h. Then the 50 A.h will be drained in 50/7.8=6.41 hours.

__________________
Julius
Register to Reply Score 1 for Good Answer
Register to Reply 38 comments

"Almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, vote them!
Copy to Clipboard

Users who posted comments:

7anoter4 (1); Andy Germany (6); Anonymous Poster (3); arukr (7); cjanand (5); Crabtree (1); dkwarner (6); KeepItSimpleStupid (3); LongintheTooth (2); lyn (2); PWSlack (1); Yusef1 (1)

Previous in Forum: Burning of Fuses of a DC Drive 95KW   Next in Forum: Another Attempt to Distribute Energy the Tesla Way

Advertisement