LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabView - Li-Ion battery simulator

I am working on an project using an MyRIO-1900 to simulate an battery.

 

The DAC is Connected to an external Power supply Circuit that will adjust the output iaw the DAC Level.

I also got an current sensor Connected to the ADC. 0v = 0A, 5v = 5A.

 

I want it to simulate battery drain during use iaw current Draw and battery mA capacity.

Have anyone tryed this?

 

If anyone have tryed this some help will be nice to have.

kls
0 Kudos
Message 1 of 4
(2,872 Views)

Hi Kim,

 

The DAC is Connected to an external Power supply Circuit that will adjust the output iaw the DAC Level.

I also got an current sensor Connected to the ADC. 0v = 0A, 5v = 5A.

What is an "output iaw"?

So you have a programmable power supply and a current sensor!?

 

I want it to simulate battery drain during use iaw current Draw and battery mA capacity.

Your myRIO should simulate a battery? What is that "iaw current" now?

 What is a "mA capacity"? Usually battery capacity is measured in Ah (or As or C)

 

Do you want to change the power supply voltage in relation to the current flow (over time)?

Did you write all the needed formulas on a sheet of paper?

Did you try to implement those formulas with LabVIEW? If yes: where are you stuck?

 

Happy New Year!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 4
(2,827 Views)

"output in according to/with".

Yes I want to change the power supply output over time.
The mA capacity of the battery is going to be adjustable.

I am trying to find a formula for battery voltage level in according to used mA.
Only thing I found is 100% = 4.2v and 0% = 3.0v/2.9v.


I have been able to calculate used mA over time with an measurment every 100ms.

kls
0 Kudos
Message 3 of 4
(2,804 Views)

Hi Kim,

 

so you already know how to calculate mAh from measuring mA: fine.

 

What about some books/papers on LiIon battery technology? I prepared something here for you!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 4
(2,800 Views)