-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ISO15118 support? #24
Comments
I am writing for the situation mentioned in the last message. I tested it with a 2023 model vehicle and the vehicle supports both dinspec70121 and iso15118. "msgName": "supportedAppProtocolReq", |
@uhi22 By using extension files in the OpenV2Gx file, the main_commandlineinterface.c file was created to support the command line interface of OpenV2Gx. |
Nearly. I propose that after compiling, we have one executable that supports DIN and ISO. So the plan would be to extend the main_commandlineinterface.c in a way that is able to handle both cases. And, because it is already big, create a separate file like commandlineinterface_iso.c, where the decoder- and encoder functions for ISO are living. This is already partly prepared, e.g. in runTheDecoder() we have already the case with decode_iso1ExiDocument() and decode_iso2ExiDocument(), the missing part for the decoder direction is the translation of the structures into JSON, translateDocIso1ToJson() etc. But: We should be aware that this version of ISO is a quite old one, we see in https://github.com/Martin-P/OpenV2G in the change history of 0.9.3: "15118-2-2016 (ISO2) started besides 15118-2-2013 (ISO1) and DIN". So it is not clear how good is the ISO2 (2016) implementation, and for sure it does not contain the features of more recent ISO versions. |
@uhi22 thank you for the answer |
Yes, this confirms the very slow development cycles in automotive industry, I even saw that brand new 2023 car only supports DIN, not even ISO:2013. |
@uhi22 Is there an ISO 15118 protocol document? |
I was not able to find a public copy, and the copy which I have is personalized and with a strict copyright. So no, I cannot share this. There seem to be different conditions from country to country how to purchase this document, and to which price. Also universities may offer free access for their students. (Edit) A part is here, but only the first seven pages: https://cdn.standards.iteh.ai/samples/69114/1ea2bc5fc804423aab1142617a361e9c/ISO-DIS-15118-2.pdf |
@uhi22 Are there any current developments regarding this issue? It seems like it would be better to get support from here and continue. |
Yes, started some ISO related additions to pyPLC (latest is this: 7e86812) and OpenV2Gx. The intermediate goal was to run the complete charging session with ISO1 (aka ISO 2013), when using Clara (https://github.com/uhi22/ccs32clara) as car and pyPLC as charger. This works in the meanwhile on the desk. Nothing tested with real cars or real chargers. The car side of the ISO is not implemented at all in pyPLC and OpenV2Gx. I do not plan updates at the moment into the ISO direction, but would be happy about pull requests for improvements. |
@uhi22 As far as I understand now, fsmevse.py ISO 2013 has some add-ons. |
@uhi22 I ran it in the test environment, but pyPlc.py P S only supported DIN spec. I'm going to test it in a real vehicle right now. I will test the iso 2013 scheme |
Yes, in pevmode the pyPlc only supports DIN at the moment |
iso.txt |
Very good. Using the ISO it runs into PreCharge, this is more than I expected for the first real world test. |
@uhi22 Likewise with the DIN diagram. It does not continue after the Precharge message. The vehicle is waiting for a physical voltage at the CCS DC+ DC- terminals. It reacts the same when I run it with DIN and ISO. When I supply DC voltage with the power module, it will probably switch to the CurrentDemand message. |
Do you have the chance to test this, with both DIN and ISO? |
din.txt |
Did you apply 431V at the CCS inlet? With the correct polarity? |
@uhi22 I did not apply it, I made the target voltage value sent by the vehicle the same as the current voltage value. I tried to move on to the next message but I couldn't succeed. |
The "user action" says that the pyPLC detected that something was pressed on the keyboard. EG button x for exit. I have no clue what xf86mail means. |
Regarding the ISO15118-20 support, cross-linking another exi decoder mentioned here: ChargePoint/wireshark-v2g#56 (comment) |
At the moment, pyPLC/OpenV2Gx only support the DIN protocol.
Is it possible to add support for ISO15118, too?
Some discussion on this:
https://openinverter.org/forum/viewtopic.php?p=50180#p50180
https://openinverter.org/forum/viewtopic.php?p=50183#p50183
https://openinverter.org/forum/viewtopic.php?p=54026#p54026
https://openinverter.org/forum/viewtopic.php?p=54047#p54047
Current conclusion: Yes, "some kind of ISO15118" is doable with the current approach, but not the latest versions of the ISO15118. It is not clear, whether the ISO part of OpenV2G already includes all wished features.
If we want to go this way, the following steps are necessary:
If the latest ISO shall be supported, we would need to search for an actual EXI codec. Maybe looking to everest what they do.
Regarding necessity / motivation: At the moment (2024), the chargers and cars seem to support DIN, and the hope is, that this will be continue for the next years. At least the chargers should support DIN "forever", because there are a lot of cars on the streets which are DIN-only. Maybe new cars omit the DIN and will support ISO only.
Which ISO-only-features would be relevant? Plug-and-charge, yes. This requires also the handling of certificates.
The text was updated successfully, but these errors were encountered: