Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HMI SoC is inaccurate on 45/55kwh ID.3 #50

Open
tolnaiz opened this issue Feb 10, 2022 · 2 comments
Open

HMI SoC is inaccurate on 45/55kwh ID.3 #50

tolnaiz opened this issue Feb 10, 2022 · 2 comments

Comments

@tolnaiz
Copy link

tolnaiz commented Feb 10, 2022

This calculation seems to be inaccurate on the pure models.

liveData->params.socPerc = liveData->params.socPercBms * 51 / 46 - 6.4; // SOC HMI

Also, batModuleTempCount is 16 and cellCount is 96 on the pure model.
Basically vw just removed one battery module from the 58/62kwh version.

@spot2000
Copy link
Collaborator

spot2000 commented Dec 1, 2022

In what span is it inaccurate? Please provide examples, I updated the formula today with a better formula, at least for 58 and 77 kWh MEB cars.

@tolnaiz
Copy link
Author

tolnaiz commented Dec 1, 2022

The biggest differences are above 50%.

This is what I see in the car with OBD:
Car reports 100%, battery BMS SoC is at 86,4% with EvDash's new formula it's 89,38%
At 76%, BMS is at 69,2% when evDash would be: 70,3
At 51%, BMS is at 50%, evDash: 49,11%
At 18%, BMS is at 22,8%, evDash: 19,02%
The lowest SoC I was able to record with OBD is 11% when the BMS SoC was at 16%, evDash: 11,5

Unfortunately these numbers doesn't even fit on a line:
https://www.wolframalpha.com/input?i=plot+points%5B%2816%2C+11%29%2C+%2822.8%2C+18%29%2C+%2850%2C+51%29%2C+%2869.2%2C+76%29%2C+%2886.4%2C+100%29%5D

I measured these numbers at very different time, so maybe temperature, SoH or other factors could affect the calculation.

The best formula I was able to figure out is this: y = x * 0,505-9,0947
This fits better, but still not perfect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants