dalathegreat / Battery-Emulator

This software enables EV battery packs to be used for stationary storage in combination with solar inverters.
GNU General Public License v3.0
943 stars 130 forks source link

Renault ZOE 25.2 kw battery to the inverter Deye SUN-15K-SGO1HP3-EU-AM2 #377

Open valentzoe opened 2 months ago

valentzoe commented 2 months ago

Hi, dalathegreat! I have been trying for quite a long time to connect the Renault ZOE 25.2 kw battery to the inverter Deye SUN-15K-SGO1HP3-EU-AM2. I think I have done all the settings in the three files according to your recommendations. Separately checked the CAN signals from the battery and the inverter. In both cases LilyGO responded with flashing green indicator. When trying to communicate with the battery the error F58" BMS_Communication_Fault" appeared. I tried to fulfil all the recommendations related to this error. I'm need your help. Thanks a lot 20240711_141208 IMG_20240710_221706_835 IMG_20240710_221716_004 IMG_20240710_221856_305 IMG_20240711_132321_628

dalathegreat commented 2 months ago

Zoe support is still very untested. We have been discussing and testing things back and forth on the Discord server. Would be interesting to see if all values look OK in the webserver. Could you post all the values you see there (green section)?

Deye inverter guide is here: https://github.com/dalathegreat/Battery-Emulator/wiki/Deye-inverters

But it would be best to get the battery values confirmed working before we add the inverter into the mix!

valentzoe commented 2 months ago

I thank you for your quick response. I am also interested in cooperating on this issue. I will provide further information shortly. Please note that the signal "2AD Traction battery relay control 1" and "2AC Traction battery precharging relay control" require a "-" connection.
I have recorded the CAN_H and CAN_L oscillograms on the batteries. I agree with you that the battery should be checked with the monitor first.
In all connection attempts I did not see any indication that the SSR Relay is on. The circuit of SSR Relay is similar to your circuit. Best regards

dalathegreat commented 2 months ago

SSRs need to be able to trigger with 3.0VDC voltage level. Many cheap SSRs require 3.3V to function. We have listed models that work on the wiki page

I suggest leaving out the SSRs and manually turning on the battery to start with. Can you post all the values shown on the webserver, so we can see if the values make sense?

valentzoe commented 2 months ago

It's not actually about the relay. Of course, I measured the voltage at the relay inputs - it was zero. I wanted to draw your attention to the fact that something is wrong. I also do it manually to turn on the battery. The pictures show the information of the last connection. 20240712_211011 20240712_211138 20240712_200357 20240712_200414 USER_SETTINGS_h.txt

dalathegreat commented 2 months ago

Looks like no CAN messages are coming thru at all from the battery, all values are on default values.

Try checking that CAN-H and CAN-L aren't inverted accidentally!

valentzoe commented 2 months ago

Good evening. No, they are not turned over. If they are turned over, then the LILyGO indicator lights up red. Mine lights up greenThanks.

dalathegreat commented 2 months ago

Can you take a raw CAN log from the battery? See this page for info how: https://github.com/dalathegreat/Battery-Emulator/wiki/CAN-logging

valentzoe commented 2 months ago

All attempts including “TEST_Fake_Battery” Canbus testing end up the same: Fake Battery Clipboard03 Clipboard04 Clipboard05

I tried versions 6.2 6.2.1 6.3. What I noticed. If I do a “Verify” operation before “Uploud”, error messages appear. IMG_20240716_104021_979 IMG_20240716_104034_839 IMG_20240716_105218_293

Once again I would like to draw your attention that the control voltage never appears on I/O 25,32,33 when starting the program. In your opinion, what do you think may be the problem lies in Lilygo, unlike your versions 1.0 I have version 1.1.

dalathegreat commented 2 months ago

The control voltage to IO 25,32,33 wont be applied. Battery control is blocking it: image

Both checkmarks need to be green for automatic control to work (Battery :heavy_check_mark: Inverter :heavy_check_mark: )

What we need is raw CAN logs from your battery, so we can see what goes wrong with value mapping. If no values appear, you have connected the CAN wiring wrong. It looks like all your problems come from no CAN data from battery.

Use "TEST_FAKE_BATTERY", and in the serial you will see massive amounts of CAN messages being printed (Ofcourse wiring needs to be correct)

valentzoe commented 1 month ago

Good afternoon!

Did the following work. It cost me a lot of effort to make sure that the battery from the Renault ZOE car functions without problems. In a professional workshop the battery was installed on RENAULT ZOE Q210. It was checked its performance, the ability to charge and discharge. The battery showed excellent results SOH -96%, then it was dismantled for use as Second-Life-Battery for PV. 1_20240727_SOH

2_20240727_Celle

3_20240727 LBC

4_20240727_LBC2

Lilygo ver. 6.3 mit "Test Fake Battery" the result was extremely negative, no change.

I decided to test the LilyGo module in another way, namely I made an adapter for testing LilyGo and battery with CanZEplus. And, surprisingly, with the help of CanZEplus and LilyGO the data at address 7BB, which are in the LilyGO memory, were read without errors, indicating all the parameters of the battery SOH, 96 Celle, as well as the Firmware version, which also corresponds to the tests carried out in the installed state on the car.

6_20240803_200105 In my opinion battery testing with CanZEplus is worthy of attention.

Please note that it is not about Cap_H and CAN_L, the connection is done correctly, but the data received via Canbus in LilyGO memory are not correctly emulated in BYD and are not reflected in FAKE Battery and Serial Monitor

I worked with the latest version 6.4 and ESP32 ver 3.03. The installation of the program went without errors.

6_20240804

Please help me, without your help I can not solve this problem.