LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to find the area under the graph .... cant solve !!!

Hello everyone. I am a year 3 student of EE and i am doing a final year project about state of charge of lithium ion battery.

Now i want to know the capacity of battery discharged so i develop a program and a current adjust button to adjust the dischrage current.

 

But here is a problem. I dont know how to find the area of the graph under the dischage current against time.

 

Can anyone help me plz ??

 

 

 

Download All
0 Kudos
Message 1 of 6
(3,181 Views)

You would just integrate your data, there's a VI for that. 🙂

 

What is the datatype of your curve (array, waveform, dynamic, etc.)?

 

Can you attach a simplified version of your actual VI and some data?

0 Kudos
Message 2 of 6
(3,164 Views)

actually i use GPIB card to link the load and the computer together, so i cant give a simplified verison for u.

But the full version is still easy to read .

 

 

I use a bundle to combine the the two readings together.

0 Kudos
Message 3 of 6
(3,152 Views)

Hi,

 

as the plots looks like a bar plot you may simply use the formula "sum(I*dt)" (which is a simplified form of integration).

But as a "year 3 student of EE" you should have heard that before Smiley Wink

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 4 of 6
(3,144 Views)

yes i know i * dt but as the discharge current changes, i dont want the time to accumulate with the previous discharge current time. That 's why it annoy me a lot and i dont know how to use those integration vi  as those need a waveform input but in my program the waveform is just a bundle of current and voltage. Can i still use the vi  to do that ?? 

0 Kudos
Message 5 of 6
(3,116 Views)

Hi there,

 

        You can split the data into several parts, and bundle the data to waveform datatype and use integral vis in LV to fulfill the job.

 

NISH AE

Fortune

0 Kudos
Message 6 of 6
(3,045 Views)