dalathegreat / Nissan-LEAF-Battery-Upgrade

Software and guides for upgrading LEAFs to bigger and newer batteries
GNU General Public License v3.0
218 stars 39 forks source link

Control DC charging current (feature) #26

Open malyjaponec opened 3 months ago

malyjaponec commented 3 months ago

There was such feature (overheating prevention) that enables slowing down charging to ~30 and ~20kW on DC. It was controlled with manipulating the HVAC settings. But there is in OVMS feature that allows control car charging speed. I think these 2 things could work together?

I expect it tries to sends some CAN message that is not implemented for LEAF so it fails. Could be CAN bridge programmed to receive such CAN message from OVMS device and reduce charging speed to limit current during translation packets from battery to car, like ancient CAN bridge software did.

I found it very useful (limitation of DC current). The car/battery itself has speed limitation when temperature raise to 56C in two or more steps. This works to prevent baking battery but it is applied too late so when it stops temperature raise between 56-57C it also reduce power. Car is then driving with 40... later 30 and if temperature gets near to 57 it goes to 20kW and shows turtle on dashboard. If the speed reduction is applied from begin of trip on each charging it would never get to the power limitation. There is the price of slower charging but later it does not give you power that has problem to drive up hill.

This current limitation could be designed that must be set on each charging (there is feature in OVMS app that can control it from 8 to 70A, but I hope the app will be soon new and some changes in number to set for example 100A would be possible) and it resets next time. Or other way is to use permanent value controlled byt OVMS settings. I am not expert on OVMS but there are some numbered variables that can be set by app or scripts. Maybe this variable is already there or there are some #x numbers that can be set by app and for example #7 is SOC limitation (if I remember well). Using these someone can set maximum power before trip and do not care each time.

In meantime I am going to try swap to to very ancient CAN bridge sw that controls it via FAN speed because I found that if driving over 300km in row I need definitely slow down DC charging.