Sevenstax / FreeV2G

Python based Host MPU Application for the use with 8DEVICES WHITE-BEET Embedded ISO15118 Module modules to realize IEC/ISO15118 and DIN70121 conform charging communication between electric vehicles (PEV) and elevtric vehicle supply equipment (EVSE). FreeV2G can e.g. been used with a Raspberry Pi.
Other
52 stars 26 forks source link

Interoperability: DIN SPEC 70121 support? #19

Closed zacharyalutz closed 2 years ago

zacharyalutz commented 2 years ago

It seems that Whitebeet struggles to communicate by way of DIN SPEC 70121. We have tested with and without our power electronics system, both with and without a real EV in the mix and cannot seem to get past the ServiceDiscoveryReq/ServiceDiscoveryRes message pair. As far as I can tell from your documentation, DIN SPEC 70121:2012 is supported and ServiceDiscoveryReq is handled by the Whitebeet EI application, without a direct response required from the host. Why would Whitebeet send “ResponseCode=FAILED” in ServiceDiscoveryRes? Does the Whitebeet-EI firmware support DIN SPEC 70121?

For your reference, I have attached an archive din70121-fail.zip which contains the following:

I configure whitebeet just as done in the FreeV2G application, and this same behavior was observed running on our real system with a real EV, running on our real system with an EV emulator platform, and running with FreeV2G python application driving Whitebeet to EV emulator. The data I captured was running v01_01_02 firmware, but I have updated to v01_01_05 and observed the same results. I noticed someone with similar issues posted to the FreeV2G GitHub Issues forum and made an attempt at port mirroring for sniffing the QCA700x traffic, but the result code 0x02 indicated that the Sub ID was not recognized (see port_mirror_fail.pcapng). I eagerly await your response, and thanks again for your help.

V2G Message Sequencing

image

EV Emulator Trace (Keysight Charging Discover System)

image

jpo-stx commented 2 years ago

Hi @zacharyalutz ,

the problem seems to be the selection of the energy transfer modes. When DIN70121 is set to supported you can only set the energy transfer modes to the following combinations:

I will add this as a note to the user manual and will come back to regarding the problem with the port mirror.

BR Jan

jpo-stx commented 2 years ago

Hi @zacharyalutz ,

the port mirror feature is currently only available in the EV firmware. I'll add a note in the user manual. We are planning to release this feature in the next EVSE firmware.

BR Jan

zacharyalutz commented 2 years ago

Great, thanks for the speedy response. Tested this today where instead of configuring energy transfer modes as all DC types, i.e. {0,1,2,3}, I configured solely for DC Extended {1}, which absolutely works. Also thanks for the info re: port mirroring.

image

Curious if you are able to share which EVs (make/model) Whitebeet has been tested for ISO 15118 and which for DIN SPEC 70121?