The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 Forum for Automation Server/COM and LabVIEW
 LabView algorithm state of charge
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

chyrren

Sweden
1 Posts

Posted - 01/12/2020 :  12:02:55 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hi!

I'm very new to LabView and currently trying to make an algorithm determining state of charge in a battery for one of my classes. Unfortunately I've stumbled upon some obstacles in making the LabView code. For the first time I can't find the solutions anywhere, so you guys are my last resort, hopefully you can help me:(. Here are the things I don't really know how to solve;

1. How to get a percentage value out of voltage measurement where 13.5V equals to 100% and 10.5 equals 0% where there is a linear correlation between these "points". Then depending on what voltage reading I get make it the percentage value.

2. Measuring current multiple times and how to sample these readings and calculate the average value.

3. How to make an equation where I have to integrate the average current over time in the equation.

These points should be connected to get a value of the battery state of charge. All the help I can get is very very welcome!

Chris D

428 Posts

Posted - 07/31/2020 :  09:01:20 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
You'll need to contact National Instruments, the maker of LabView. We do not provide support for LabView.



Thanks,
Chris Drozdowski
Originlab Technical Support
Go to Top of Page

LyonSanks

USA
1 Posts

Posted - 09/08/2020 :  11:30:13 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hello...as per the response from LabView website forum, Integration is really nothing more than adding all of your measurements. The simple method would be to use the Integrate PtByPt VI. But I would probably go the route of using a shift register to keep the count of Coulombs. You just take your current reading (Amps), multiply by the number of seconds between your samples (Amps = Coulombs/sec, therefore A*s = # of Coulombs), and then add to the count in the shift register.
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000