Trying to create a better range estimator. It's an evolution of my SOC Display project
See also: https://www.openvehicles.com/ who already have a more sophisticated solution.
27 Aug 2020
OK - here's what I have so far:
I'm calculating my range estimate based on;
Putting all that together my Range estimate formula is: km_per_kWh_12months * ((CarGids - Turtle_offset) * Wh_per_Gid)
For my range estimate example: = 6.9 * (Gids - 8) 74.73)
I've been collecting some data to see if my Range is any better than the standard GOM
This seems to indicate that my range estimate is better than the standard GOM, and maybe a little better than the secondary range estimate that the Leaf provides. [If you press the button on the steering wheel blue up arrow inside a blue circle - the center console will show a map with two range estimates; the optimistic GOM number and a more conservative number.] Cars with the cheaper center console won't get this though :(
Now I'm working on an option to display a range estimate graph that provides a dashed line of the range based on my best month, another dashed line indicating the range based on my worst month, and then the actual range as it changes with battery SoC during the current drive. My hope is that this will provide an intuitive indication of (a) the likely upper and lower range possibilities and more importantly (b) how my current drive is tracking compared to those bounds. So if I'm driving 75 km from home to the Otaki fast charger I'll be able to gauge if I'm driving too hard or too easy.
At this stage the graph looks like this:
That's estimated range on the Y axis and km driven on the X axis. Then the top dotted line is the range projections based on my best months efficiency value from 2019. The bottom dotted line is the range projection based on my worst months efficiency value from 2019. And the line between them is based on the 12 month efficiency value from 2019. I'm not using 2020 data because it's wildly a-typical (eg. Covid lockdowns). On top of all that I'll plot the actual Range values as I drive.
Of course - in the ideal world (i.e. a Tesla) the car would use a terrain map to plot how the capacity is going to be utilised along a particular journey. My chart will jut tell me how my current driving compares to the long term average. Then I can use my knowledge of the terrain on my journey to gauge the implications of that.
Once I've used it for a while we'll see if this is actually useful or not.
My prototype display is only 128 x 64 pixels so I'm limited to roughly 1 km per pixel on the X axis.
I'd love to double the resolution - but still fit it inside the dash housing. Other cheap TFT display options:
A weird thing I found whilst working on this is that the Odometer values running along the Car-CAN bus are in Miles, not Kilometers. This is odd because mine is a Japanese Leaf (from late 2011) and Japan runs on the Metric system so I would have expected it to be a metric Odo. Also the Units on the dash are in km. The implications of this is the resolution for my range tracking graph is only 1.6 km :(
2 Sept 2020
More fiddling to get the graph working in a way that is helpful.
Trip Odo top left, my Range estimate top right
The white dot indicates current range vs distance is well below the my projection for this ride (which was over the Wainuiomata hill and back - so that makes sense.)