dalathegreat / Battery-Emulator

This software enables EV battery packs to be used for stationary storage in combination with solar inverters.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BMW i3 battery not working

DeadmaroZ-TLOTL opened this issue · comments

When i connect battery in main screen show System status: FAULT, but in Events nothing, when i disconnect pin 9 in events show battery empty and not can communication. What am I doing wrong?
IMG_20240618_142758
IMG_20240618_142852
IMG_20240618_142903

commented

That is not a lot of information. Have you by accident mirrored the pins? Do you have a terminating resistor on the can-bus? How long are the cables? Are the cables properly seated?

No, pins not mirrored. Cable 20cm, all seated properly! Need another resistor on the CAN line? If so, who and where?

I realized what I'm doing wrong, no HV Plug connected! Can't the interlock be bypassed somehow?

commented

A 120Ω resistor over the CAN bus will probably make it more stable = fewer errors in the long run.
You need to short the pins covered by the orange slider on HV port - I do not know of other options. But CAN communication should work nonetheless.
What amps are the battery drawing over 12V? Should be around 0.4 A.

Values sent to inverter: Real SOC%: 61.10 Battery voltage: 387.50 Battery current: 0.00 Wh when full: 30000 Remaining Wh: 22000 Max charge power: 25203 Max discharge power: 56565 Active power: 0 Min temp: 18.00 Max temp: 18.00ERROR: SOC% reported by battery not plausible. Restart battery!
CAN message failed to send within defined time. Contact developers, CPU load might be too high.

Another battery show this, but switching relays.

IMG_20240619_163713
IMG_20240619_163752

Values sent to inverter: Real SOC%: 58.90 Battery voltage: 383.00 Battery current: 0.00 Wh when full: 30000 Remaining Wh: 22000 Max charge power: 0 Max discharge power: 196596 Active power: 0 Min temp: 18.00 Max temp: 17.00ERROR: High amount of corrupted CAN messages detected. Check CAN wire shielding!
CAN message failed to send within defined time. Contact developers, CPU load might be too high.

commented

So, you have a battery that communicates and another one that does not?
Are the battery and the solax inverter on the same can-bus? That might introduce some issues.

HV plug needs to be seated, and the capacitor is also needed on the HV output!

So, you have a battery that communicates and another one that does not? Are the battery and the solax inverter on the same can-bus? That might introduce some issues.

Inverter not connected, only battery! One battery show fault in main screen, but in events screen show nothing, but another battery in main screen show OK, but in events show this >

IMG_20240619_163713
IMG_20240619_163752

HV plug needs to be seated, and the capacitor is also needed on the HV output!

In HV plug I short small plug pins and fault about interlock got lost. Could the can error be due to the unconnected capacitor?

commented

The precharge failure is caused by the missing capacitor. HV contactors won't close without it.
It is recommended to twist the CAN cables to reduce noise, you could try that to avoid the CAN_RX_WARNING. Also, adding a 120Ω resistor across the can cables would probably help.
A single CAN_OVERRUN INFO message is normal.

I set capacitor 940mF and 1000V, all contractors lousing, in HV input yes voltage, but the error does not disappear. info: Battery failed to precharge. Check that capacitor is seated on high voltage output. And cell monitor not show cell info!