Implementing communication to a car with a greepPhy enabled AC charger via ISO 15118

Development and discussion of fast charging systems eg Chademo , CCS etc
Post Reply
Plop0318
Posts: 1
Joined: Thu Jun 20, 2024 11:30 am
Has thanked: 1 time

Implementing communication to a car with a greepPhy enabled AC charger via ISO 15118

Post by Plop0318 »

Hi :D ,
First time posting here, so we’re not sure if this is under the right topic. We are two electrical engineering students and we’re trying to get an electric car to communicate with/via a charging station in accordance with ISO 15118 as part of an experimental project.
At the moment, however, we are facing a software problem that we have not been able to solve. The problem is that the electric car is sending IPv6 requests that we cannot answer.
The current setup looks like this:
Electric Car <- type 2 adapter -> Charging Controller with Devolo/Codico (QCA7000+LPC1758) module <- Ethernet cable -> <-Ethernet to USB Adapter-> Debian PC <- Ethernet cable -> Router

The Electric Car, Charging Controller and the Debian PC constitute a separate network from the router and Debian PC network
The situation right now:
• Charging control with Devolo/Codico (QCA7000+LPC1758) module, charging via PWM works.
• PLC connection passes everything through, also works with extra DevKit
• PC with USB Ethernet is connected to the charge controller and the ISO15118 Switch-EV implementation is running there (NETWORK_INTERFACE=xxx make run-secc simulation run with make run-evcc working
• PWM is set to 5%
• The car (e-Corsa) now sends Neighbor and Router Solicitation Requests via IPv6
• We can answer the Router Solicitation Requests using the radvd daemon on the PC, but not the Neighbor Solicitation Requests.
• Apart from the neighbor and router solicitation requests, there is currently no other data traffic via PLC.

We are now wondering whether the radvd solution conforms to the standard at all and how we can solve the problem with the neighbor solicitation requests.
User avatar
uhi22
Posts: 1085
Joined: Mon Mar 14, 2022 3:20 pm
Location: Ingolstadt/Germany
Has thanked: 187 times
Been thanked: 606 times

Re: Implementing communication to a car with a greepPhy enabled AC charger via ISO 15118

Post by uhi22 »

Hi and welcome,

your chapter selection makes sense. The intended sequence is described here: https://github.com/uhi22/pyPLC?tab=read ... ample-flow (for DC, but for AC the beginning is the same). Seems you are stuck at checkpoint 200, the SDP request. The car should send this (an UDP broadcast), and the charger should respond to it.
If the car does not send the SDP request, then it is an issue of this car, or the message gets lost somewhere.
For comparision, you could give a try with pyPLC in EvseMode, using a homeplug modem as interface, to see whether it sees more.

[Edit] And if you wanna see a pcap of the communication, with the *real* traffic on the QCA, you could measure on the QCAs SPI, and convert the data, using the tooling described here: https://github.com/uhi22/Ioniq28Investi ... i-analysis This should reveal the guilty side.
dabra
Posts: 3
Joined: Thu Jun 27, 2024 7:28 am
Been thanked: 1 time

Re: Implementing communication to a car with a greepPhy enabled AC charger via ISO 15118

Post by dabra »

Hi,
I'm their supervisor at the university (Hochschule RheinMain in Germany).

I just wanted to leave the information that the problem lies with the codico boards somewhere.
The codico boards (on their eval boards and our custom hardware) connect to each other just fine, they also get some kind of link with the e-Corsa, but not with the ID4 or Kona. I suspect they dont do an correct SLAC sequence, since no car ever sends an SDP paket.

After the frustrating tests I did bring up my custom "low-cost" evse with plc based on the lumissil chip, which was abandoned due to time constraints.
Worked immediately with the aforementioned Corsa, ID4 and Kona and the (Qualcomm) evse Test program from the plc-utils linux package.

Regards,
David Brandt
User avatar
uhi22
Posts: 1085
Joined: Mon Mar 14, 2022 3:20 pm
Location: Ingolstadt/Germany
Has thanked: 187 times
Been thanked: 606 times

Re: Implementing communication to a car with a greepPhy enabled AC charger via ISO 15118

Post by uhi22 »

Great. What is the current state regarding the Lumissil chip? Is it available in small quantities? For a reasonable price (below 10 Euros)? Data sheet still under NDA? Open source driver available? Is it possible to describe your Setup a little bit? (Sorry, just dreaming loudly here:-))
dabra
Posts: 3
Joined: Thu Jun 27, 2024 7:28 am
Been thanked: 1 time

Re: Implementing communication to a car with a greepPhy enabled AC charger via ISO 15118

Post by dabra »

I did use the lumissil chip because it is available: https://www.digikey.de/en/products/deta ... e=octopart
The SPI Driver for Linux was promised as open source and kind of is: https://github.com/phytec-labs/meta-cg5 ... ms-eth2spi
The datasheet is still under NDA though, but as I understood although I signed the NDA I could publish board design files containing the chip.

The board I designed was meant to be a full PLC enabled EVSE with linux.
Its based around an STM32MP13 and the CG5317 and contains:
- SD + eMMC + NAND
- Ethernet
- USB Interfaces
- WIFI using ESP32
- CP/PP control
- control circuit for the FG-R0x residual current sensors
- a small control relay
- connector locking circuit
- 3 LED and 2 Button 12V I/O
- RS232
- RS485 for Modbus Energy Meters (and possibly NFC readers)

It's currently in r0 and the bug list is longer than the feature list, a lot of the stuff is untested or isnt fully working.
But the CP control is proven in other EVSEs and the lumissil as well as the relay works, so its usable for the time being.
dabra
Posts: 3
Joined: Thu Jun 27, 2024 7:28 am
Been thanked: 1 time

Re: Implementing communication to a car with a greepPhy enabled AC charger via ISO 15118

Post by dabra »

Out of curiosity:
Would it be an interesting product if there would be an evse with iso15118 support running Linux that is kind of open, in the sense of open source Software, but closed Hardware (due to NDA)?
Price point should be around 200€

Same goes for an car addon that adds plug n charge capability to older cars?
Post Reply