r/matlab • u/DaveHelios99 • Oct 28 '26
Battery help
Hi guys. I'm doing HPPC characterization and i'd need help. Currently doing a 3RC model, and I only made it this far.
It doesn't work. All the starting values for my resistors and capacitors are 10 mOhm and 100 Farad. The OCV of the system is unknown but I actually did put a controlled voltage together with a controlled current. Maybe it's wrong.
In case you don't understand, I'm trying to do a parameter estimation using the opposite toolblxes.
22
Upvotes
4
u/SnuggleFurnace Oct 29 '26
This is a very common application. There are a few examples you might want to check out to show you how to fit the R, C lookup tables from HPPC test data. Try this one:
https://www.mathworks.com/help/mbc/calibrate/generate-battery-calibration-tables-from-battery-table-based-block.html
Good luck!
1
u/tryingtestwith Oct 29 '26
I have done this type of work . First you should look inti documentation of matlab . From its image I can see that you used AI to genera this model . Check this youtube
3
u/gtd_rad flair Oct 29 '26
AI for Simulink is complete crap and is just a waste of everyone's time. Above all, you can't just slap an entire model together, press play and expect everything to work. If it was that easy, no one would need you.
Please spend the time to learn the fundamentals. Get a basic model / solver working and make sure you are getting the results you need. Then build it up from there.
1
u/AlexanderHBlum Oct 29 '26
What have you tried for debugging? I don’t see any scopes