r/FloatwheelTeam • • 12d ago

VESC Tool and Float Control app show different battery %

For example, both read 58v but VT shows battery 58% and FC shows 64%.

Battery is15s2p / Molicel P30B 30A / 6000mAh/60A

Settings:

VT: LIIRON_3_0_4_2 / 15s / 6.000 Ah

FT: No % correction / 15s / 2p / Molicel P45/P30B

Assuming, full 63.75v, nominal 54v, and empty 45v, FC is more accurate.

What do you think is causing this difference?

1 Upvotes

6 comments sorted by

2

u/projct 12d ago

nothing is going to be "accurate" about percent with a basic voltage curve, so just don't expect any of that.

the percentage is "calculated" (read: largely made up) by the app and thats mostly why they differ.

voltage also sags during riding and takes longer than you'd think, to get back up to accurate reading so some of what you are seeing could be that, too.

FutureMotion boards instead have the watt-hours of the battery preprogrammed and they integrate the amount of current drawn +regenned (amps) into the battery capacity to get a percentage that feels much more useful and isn't affected by sag - but that's also part of the cause of the wild "it said 30% and dumped me" stuff that FM boards do.

1

u/Quick_Two_1104 11d ago

My point is, when you have the max and min of a value, there's nothing to make up. Simply convert it to a scale of 1-100 with cross multiplication. Measurements were taken with board idle so sags are not relevant. Again, FC has no problem figuring this out. I'm guessing it is because it allows you to specify the exact cell make and model. Still a mystery...

1

u/projct 11d ago

the voltage curve to percent for specific cells is still largely just kinda hardcoded from the datasheet. but that isn't remotely perfect either cause.

the only way to do this that would feel "correct" is integrating current as I mentioned.

1

u/Quick_Two_1104 11d ago

Got it. FC is linear, VT is non-linear, and the battery consumption is non-linear. Thank you!

FT battery correction is now -5% to account for some of its linear thinking ;)

2

u/Watumbo 10d ago

Float Control isn't linear if you specify what cell type you have in your battery. It has hard-coded look-up-tables for a variety of commonly used cell types, to know which total voltage equals what % of charge. Those look-up-tables contain the discharge curve of that cell, taken right from the datasheet. It might interpolate linearly in between known data points, but the curve itself is usually not strictly linear, and all in all pretty accurate.

Vesc Tool battery percentage is calculated much more rudimentary. I don't actually know if it applies a linear discharge curve or a generic non-linear one. Either way, it's a rough estimate and is known to usually be lower than the actual SOC%.

So you can generally expect your ride app to show the more accurate SOC% than VESC tool, if you've configured it correctly.

I've heard talks of improving VESC tool battery percentage and merging it into the main branch of VESC firmware for a while, but it is a low-priority issue.

1

u/gmillione 9d ago

Vesc tool is just not good at calculating battery percent. It’s better to just go off the voltage or use FC as it’s more accurate