Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Development of a free Capacity Predicition, need your help
#1
I'm currently developing a freely usable capacity prediction. 
The usage will be quite simple: 

Input:
  • Internal Resistance measured before charging
  • Voltage before charging
  • Nominal capacity

Output:
  • Predicted Capacity + Standard Deviation

I used Wolf's and my own Database to train 3 different surrogate models. I'm not sure which one will be more suitable, so I did test predictions of ~90 unmeasured cells. I will measure them in the next days and we will see realtime, how good the predictors will perform or not. 


Here you can see the test data and the predictions. I will update the results dayly if measured:
https://docs.google.com/spreadsheets/d/1...sp=sharing

I will do this "real time" test is to see if the model helps me in a real harvesting process or not.

So this leads me to the next question:
If you would use such a model, how would you prefer to do it?
- Maybe as a website script where I put a table of Pre IR/V and nominal capacities and get the predicted Capacity+Deviation
- Or another option would be to define minimum requirement for the cells. Maybe my personal requirement is 80% of original capacity and min. 2000mAh. Then the Tool would give a probability between 0% and 100% that this cell will fit your requirements or not.
Or maybe you have another idea or suggestion? 

When it's done, I'll make the tool available to everyone and hope that it will help you.
Reply
#2
Interesting. Look forward to your results.
Are you using AI and NN to run your simulations or something else?
Proceed with caution. Knowledge is Power! Literally! Cool 
Knowledge is Power; Absolute Knowledge is Absolutely Shocking!
Certified 18650 Cell Reclamation Technician

Please come join in general chit-chat and randomness at Discord Chat (channels: general, 3d-printing, linux&coding, 18650, humor, ...)
(this chat is not directly affiliated with SecondLifeStorage; VALID email req'd)
Reply
#3
(05-06-2019, 12:05 PM)Korishan Wrote: Interesting. Look forward to your results.
Are you using AI and NN to run your simulations or something else?

I thought about using NNs, but I took Kriging models for this. Because it's more transparent and robust than NNs and also the Deviation Prediction is really helpfull. 
The biggest problem for the models will be to differentiate all the different kind of cells. At this moment it's only possible through the nominal capacity/(IR Range).
Korishan likes this post
Reply
#4
(05-06-2019, 11:38 AM)drbacke Wrote: So this leads me to the next question:
If you would use such a model, how would you prefer to do it?
- Maybe as a website script where I put a table of Pre IR/V and nominal capacities and get the predicted Capacity+Deviation
- Or another option would be to define minimum requirement for the cells. Maybe my personal requirement is 80% of original capacity and min. 2000mAh. Then the Tool would give a probability between 0% and 100% that this cell will fit your requirements or not.
Or maybe you have another idea or suggestion? 

When it's done, I'll make the tool available to everyone and hope that it will help you.

As far as prediction of capacity with a Voltage and an IR measurement I'm not sure if that will work. But with some of the Models you are developing maybe.
I did look at your sheet and any cell there over 50mΩ will more than likely not produce good results. But you are probably just adding them for control purposes to add diversity and improve the calculation accuracy. The reason I developed my data is to be somewhat sure the cell will have an acceptable mAh outcome of at least 80% of capacity. I did try the prediction albeit not to the extent of building some models quite as extensive as yours but I failed miserably. I was kind of taking a folded paper plane into a wind tunnel at 700kph and wondering if it would fly.

Probability is more what we/you should be shooting for as I am working on the IR chart of as many manufactures and model numbers with at least 50 cells to establish a baseline of good, mediocre, and bad IR. I am doing this with, as you know, actual real life measurements to establish this info.
Can a model predict the probability of a cell being good by those 2 measurements certainly and I hope we will be able to use the tool in the future. But for a model to work very well it needs a lot and I mean a lot of data.
The only thing that I can think of possibly adding to this is the date of manufacture which may have some influence to the quality of the cell.
There are some key charts that will tell you how to decipher the date code on some of the cells.

On a side note,
Here is a chart that will give you the probability of a ICR18650-26A, C, D, F, FU, and H being at ~80% capacity if you keep your IR <60mΩ. Can you stretch it to 70mΩ the chart seems to indicate that but your results will vary.
That's a sample of ~480 cells

I will follow your work and see what happens and will assist if you need me to.

Wolf

(05-06-2019, 12:19 PM)drbacke Wrote: I thought about using NNs, but I took Kriging models for this. Because it's more transparent and robust than NNs and also the Deviation Prediction is really helpfull. 
The biggest problem for the models will be to differentiate all the different kind of cells. At this moment it's only possible through the nominal capacity/(IR Range).

Yes that is the problem I ran into as there are different battery chemistries all with different IRs.
Most of the Cells we see are either high drain (low IR) Li-manganese and low drain (higher IR) Li-cobalt.
What I found out was that each and every manufacturer has their own little chemistry lab going on in their cells and the lab changes with capacity and type.

Wolf
If 18 X 650 = 2200+mAh then we have power! 
May all your Cells have an IR of 75mΩ or less Smile
Last count as of 5/19/2019
Total Number of Cells                          5263
Cells  >80% of Capacity                      3703
Cells <80% of Capacity                       1535
Cells ≥2200mAh & ≥ 80% & ≤75mΩ    2563
For Info Google Drive
Not your average Wolf       
            Cool



Reply
#5
I ran across this article last weekend while I was hunting datasheets, and I thought it was interesting. It regards using X-ray imaging to quantify the remaining capacity and IR of recovered cells.

https://journals.plos.org/plosone/articl...ne.0185922

I plan to read it in more detail when I get some time.

P.S. if anybody out there works in a facility that uses X-ray imaging equipment, this might be worth some experimentation.
Reply
#6
Shawndoe Wrote:I ran across this article last weekend while I was hunting datasheets, and I thought it was interesting. It regards using X-ray imaging to quantify the remaining capacity and IR of recovered cells.

https://journals.plos.org/plosone/articl...ne.0185922

I plan to read it in more detail when I get some time.

P.S. if anybody out there works in a facility that uses X-ray imaging equipment, this might be worth some experimentation.
Maybe you should start an own thread for this, I think that is to far away from this topic.


(05-06-2019, 01:04 PM)Wolf Wrote: As far as prediction of capacity with a Voltage and an IR measurement I'm not sure if that will work. But with some of the Models you are developing maybe.
I did look at your sheet and any cell there over 50mΩ will more than likely not produce good results. But you are probably just adding them for control purposes to add diversity and improve the calculation accuracy. The reason I developed my data is to be somewhat sure the cell will have an acceptable mAh outcome of at least 80% of capacity. I did try the prediction albeit not to the extent of building some models quite as extensive as yours but I failed miserably. I was kind of taking a folded paper plane into a wind tunnel at 700kph and wondering if it would fly.

Yes I use a very wide range to control different locations in the whole space. Also a "bad location which is far away from any known data or is very noisy, should produce a high deviation. So you are able to controll if the prediction is usefull in this area or not.

(05-06-2019, 01:04 PM)Wolf Wrote: Probability is more what we/you should be shooting for as I am working on the IR chart of as many manufactures and model numbers with at least 50 cells to establish a baseline of good, mediocre, and bad IR. I am doing this with, as you know, actual real life measurements to establish this info.
Can a model predict the probability of a cell being good by those 2 measurements certainly and I hope we will be able to use the tool in the future. But for a model to work very well it needs a lot and I mean a lot of data.
The only thing that I can think of possibly adding to this is the date of manufacture which may have some influence to the quality of the cell.
There are some key charts that will tell you how to decipher the date code on some of the cells.

I also think, that the probability is more usefull and easier to use, because you have several informations in one "handy" value. I dissagree with the amount of data, because this kind of data is really really noisy, due to different kinds of chargers, measurement tools, temperatures etc. and we are only able to measure 2 or 3 useable variables. So about 4000 samples with 2-3 variables are more than enough for a robust kriging model. You won't get much better with more data, the thing you need are more variables like IR,Voltage etc.


(05-06-2019, 01:04 PM)Wolf Wrote: On a side note,
Here is a chart that will give you the probability of a ICR18650-26A, C, D, F, FU, and H being at ~80% capacity if you keep your IR <60mΩ. Can you stretch it to 70mΩ the chart seems to indicate that but your results will vary.
That's a sample of ~480 cells
I will follow your work and see what happens and will assist if you need me to.
Wolf
Thats right and the kind of model I have chosen will model this variation through the predicted deviation. There are limits for doing this (if the deviation function is to complex), but the tests will show how well it actually work. And if the deviation prediction is not suitable we can try a deep gaussian process. This will do it much better, but is not that robust. So I prefer to test the more robust version first.



Of course you can not expect to get perfect results. But I hope to get a tool, which will help you to seperate good cells from bad in a more precise and flexible way as we are doing it till now. But we will see how good it works.
@Wolf: I don't know if such a model will be better than an experienced harvester like you are, but maybe it can be helpfull to other people which don't have that much knowledge and experience like you have. That would be my hope.


------------------------------

I added the first measurements and till now it looks quite well. The Co-Kriging Model seems to be perform better than the other models, which makes sense to me.
At this moment all tested cells have a quite good capacity left, but I'm most interested in the cells which perform bad and the ability to predict those "bad cells" which I want to sort out quite early.
Reply
#7
Ok here are the first results. 
The X-Axis shows the measured results and the Y-Axis the predicted results with the predicted uncertainty as error bars.
The blue line marks the ideal line, if the model wouöd be perfect, all values would lie on this line.
Till now it looks quite promining. But the "extreme" cells will be more interesting, especially the low Capacity cells. 

Reply
#8
@drbacke

Looking good. It will be interesting to see what happens.

I am now using my IR chart exclusively and occasionally I will slip a cell in there just over the marginal mΩ as a control.
You will see that in my sheet. It also allows me to microtune the IR chart.

I am also going straight to the charger/testers with anything ≥2.00V. Anything <2.00V gets charged at 4.2/50mA for however long it takes.
Also anytime I use the SKYRC tester I test the cell at the manufactures standard charge/discharge specifications with the charge cut off mA if know otherwise the default of 80mA is used. By the way the charge cut off mA is incredibly critical in determining the "true" capacity of the cells.
Cells # 5784 to 5827 are from a new batch of cells I just harvested   and they are being tested as we speak. I would say 50 percent of the harvest hasn't made it this far.  I cringe when I put the rejected cells aside but I know they wont produce the numbers I want/need so away they go.


Wolf
If 18 X 650 = 2200+mAh then we have power! 
May all your Cells have an IR of 75mΩ or less Smile
Last count as of 5/19/2019
Total Number of Cells                          5263
Cells  >80% of Capacity                      3703
Cells <80% of Capacity                       1535
Cells ≥2200mAh & ≥ 80% & ≤75mΩ    2563
For Info Google Drive
Not your average Wolf       
            Cool



Reply
#9
Hi,

I had similar idea couple of months back, I will measure temperature, intial IR and voltage while charging @1A and record the data for the first 20-30minutes. Than using simple ML to predict the data, my initial data shows that it is possible. I am also discussing it with some HW colleagues to make some prototypes. I believe that for such a device that can estimate capacity in 30minutes people might be interested...

If someone is interested in helping me out with this, you are welcome. Big help would be with collecting the data - everyone that has a camera, temperature sensor and YR1030 is greatly welcome.
I need:
data for the first 30minut of charging (temperature, voltage, IR) with 1 minute between each measurement, measurement start from completely discharged cell. Also important is to finish with capacity measurement to be able to test the model.

When we have enough data, I can build the model and say for sure if it works. But as I say, my initial measurements say it is possible...
Reply
#10
(05-07-2019, 04:12 PM)Satiriasis Wrote: When we have enough data, I can build the model and say for sure if it works. But as I say, my initial measurements say it is possible...
@Satiriasis

That is interesting combining these 3 parameters into a ML for prediction. I will watch to see how it progresses.
I am more of trying to get the probability of a cell being good and within 80% of rated capacity rather than the prediction of capacity which I tried with several different methods. None with any AI, NN or ML though. I was not successful. Hopefully some of you are.

I do not have the time to do the 30 minute watching and recording these parameters once every minute of the cells though.
I have 11 charger/testers going pretty much 24hrs a day so logisticly that would not be possible without extensive temp, and voltage sensors going to a database. I do have a SKYRC though that records and graphs this info.
There are some questions I have with this though. 
1 IR should not be an issue as all measurements are made with the YR1030 (that is good)
2 Temperature can be certainly an indicator very quickly if a cell is bad but we would have hopefully reduced our chances of having a hot cell with our initial IR reading. I find that most good cell while charging at 1A will reach ~30°C to 35°C within an hour level off and when the amps drop the temp will follow the charging curve. This cell was first discharged at 550mA  and then charged at 2A. Here is the graph.


3 Still on temperature. If using an off the shelf charger such as Liitokala, Opus,Foxnovo, and god forbid a Zanflair there is some heat that is created by the charger/tester itself. The Opus is the only one of the reasonably priced charger/testers that I am aware of (other than the expensive SKYRC) that try to manage heat production with a small fan albeit unsuccessfully. Hence all the mod pages for Opus.
So how would that be taken into account to the Model.
I have a 20p charging board that I use to charge <2V cells at 50mA to see if they are revivable but only if they pass my initial IR test.
The cells that increase in temp very quickly <10min are no good despite the IR can you spot them? We are only looking at a 2°C to 4°C difference.

Compared to a board with all good cells with the same charging parameters.
\

If I have time I will run some control cells through my SKYRC and publish the results on my google drive.
If you give me some cell specs as far as manufacturer, model and IR range that you want me to test I will be more than happy to do that.
I have a lot of cells mostly Sanyo, Samsung, Panasonic and LG. So if you give me the parameters of lets say 20 cells to begin with in this format  ICR18650-30B with ~3.76V and an IR of 48mΩ to 52mΩ. I will see if I can find such cells within those parameters (should be no problem) and run them on my SKYRC and chart the results.

I look forward to your results and may the IR be with you.

Wolf
If 18 X 650 = 2200+mAh then we have power! 
May all your Cells have an IR of 75mΩ or less Smile
Last count as of 5/19/2019
Total Number of Cells                          5263
Cells  >80% of Capacity                      3703
Cells <80% of Capacity                       1535
Cells ≥2200mAh & ≥ 80% & ≤75mΩ    2563
For Info Google Drive
Not your average Wolf       
            Cool



Reply


Who read this thread?
53 User(s) read this thread:
hbpowerwall, daromer, Sean, Korishan, PAF, wim, watts-on, jesusangel, Stefaan De Ridder, Geek, floydR, emerca, ChrisD5710, Oz18650, djuro, BaronVonChickenPants, dwarflundgren, drchips, gpn, thanar, Crimp Daddy, Redpacket, completelycharged, Ibiza, Bubba, Cherry67, Riplash, Jim Jr., Katarn_89, w0067814, HikingGuy42, chuckp, emuland-metroman, Truth, Shawndoe, Wolf, Bastler_Ro, Solardad, kevinjaye, mart1nn, OffGridInTheCity, Satiriasis, fannel, Overmind, ma3006he, winny, 100kwh-hunter, juanjo57, drbacke, gigaz, ben teker, Marrcin, fsalinas

Forum Jump:


Users browsing this thread: 1 Guest(s)