Hyundai IoniQ 2020 HV battery pack

User avatar
projectgus
Posts: 74
Joined: Tue Dec 08, 2020 10:33 am
Location: Castlemaine, Australia
Has thanked: 39 times
Been thanked: 33 times
Contact:

Re: Hyundai IoniQ 2020 HV battery pack

Post by projectgus »

cgalpin wrote: Thu Nov 16, 2023 10:02 pm Sorry @projectgus for the continued derailment of this thread
No need to apologise! I think at the beginning it wasn't clear how different they would be, but now it seems like they're quite different. The moderators should have a function to actually split the thread, but maybe they won't have the time to do this.
JoeSe68
Posts: 4
Joined: Mon Feb 12, 2024 11:53 am

Re: Hyundai IoniQ 2020 HV battery pack

Post by JoeSe68 »

This *might* be interesting for DIY battery with g-EMP battery pack : https://github.com/dalathegreat/Battery-Emulator
cgalpin
Posts: 38
Joined: Thu Sep 24, 2020 8:39 pm
Has thanked: 7 times
Been thanked: 3 times

Re: Hyundai IoniQ 2020 HV battery pack

Post by cgalpin »

If you are talking about the 800V e-GMP battery like in a hyundai ioniq 5 or Kia ev6, yes, but only if you live somewhere you get 3 phase service.

I was initially interested in this, but ran into a couple of hurdles. First, you need hardware that supports CAN-FD to talk to the battery natively, which the current hardware the project is using (LilyGo ESP32 T-CAN485 devboard) does not support. Then the software needs to support it (this can be fixed). But the last straw for me was that I can't find any inverter that can handle this high voltage of a battery on single phase service. I believe there are options with three phase service (like in Europe).
JoeSe68
Posts: 4
Joined: Mon Feb 12, 2024 11:53 am

Re: Hyundai IoniQ 2020 HV battery pack

Post by JoeSe68 »

Guess I was just hopeful as they note that the support for e-GMP is in progress.
The Solax X1-HYBRID-G4 is single phased, and so should do the trick for you :)
But overall I have found it hard to find hybrid inverters w. support for HV batteries - and a lot of those only support up to 400-600 - not 800 (or more).
Anyway I'm walking around the christemastree waiting for my e-GMP (77kWh) and a Solax X3. Getting very impatient here *G*
cgalpin
Posts: 38
Joined: Thu Sep 24, 2020 8:39 pm
Has thanked: 7 times
Been thanked: 3 times

Re: Hyundai IoniQ 2020 HV battery pack

Post by cgalpin »

Looking at their website, https://www.solaxpower.com/x1-hybrid-g4/ , the Solax X1-HYBRID-G4 only supports a battery in the 80-480V range.
User avatar
projectgus
Posts: 74
Joined: Tue Dec 08, 2020 10:33 am
Location: Castlemaine, Australia
Has thanked: 39 times
Been thanked: 33 times
Contact:

Re: Hyundai IoniQ 2020 HV battery pack

Post by projectgus »

cgalpin wrote: Tue Feb 13, 2024 10:41 pm First, you need hardware that supports CAN-FD to talk to the battery natively, which the current hardware the project is using (LilyGo ESP32 T-CAN485 devboard) does not support.
I don't have data either way, but are you certain about this requirement? CAN-FD is backwards compatible with CAN 2.0, and most automotive applications that I've seen only use the "bitrate switch" high speed CAN-FD frames for certain operations like firmware updates where they need to send a lot of data quickly. So it might be possible to do normal BMS operations over "CAN classic"?

The classic controller in the ESP32 will put an error on the bus if it sees a "bitrate switch" frame, but if there aren't any during normal operation then it will interact normally.
cgalpin
Posts: 38
Joined: Thu Sep 24, 2020 8:39 pm
Has thanked: 7 times
Been thanked: 3 times

Re: Hyundai IoniQ 2020 HV battery pack

Post by cgalpin »

You know what, let me try again. Originally I had problems and could get no messages at all until I switched to CAN-FD, but in retrospect I did have some bad hardware. Maybe that was it. Will try test later today.

Thinking about it, i wasn't the only one not able to communicate with it until using CAN-FD, but will test again anyway.
JoeSe68
Posts: 4
Joined: Mon Feb 12, 2024 11:53 am

Re: Hyundai IoniQ 2020 HV battery pack

Post by JoeSe68 »

cgalpin wrote: Thu Feb 15, 2024 5:46 pm You know what, let me try again. Originally I had problems and could get no messages at all until I switched to CAN-FD, but in retrospect I did have some bad hardware. Maybe that was it. Will try test later today.

Thinking about it, i wasn't the only one not able to communicate with it until using CAN-FD, but will test again anyway.
Quite looking forward to the result - thou I have a feeling it will be negative .... :)
cgalpin
Posts: 38
Joined: Thu Sep 24, 2020 8:39 pm
Has thanked: 7 times
Been thanked: 3 times

Re: Hyundai IoniQ 2020 HV battery pack

Post by cgalpin »

Yeah I couldn't get it to work. I don't have the exact same setup as before, and have not had time to try methodically verify, although so far the only thing that gets me any CAN messages at all, is using a canable v2 which supports CAN-FD, and a recent version of SavvyCAN which has mods to support CAN-FD on a Lawicel device
JoeSe68
Posts: 4
Joined: Mon Feb 12, 2024 11:53 am

Re: Hyundai IoniQ 2020 HV battery pack

Post by JoeSe68 »

cgalpin wrote: Fri Feb 23, 2024 4:38 pm Yeah I couldn't get it to work. I don't have the exact same setup as before, and have not had time to try methodically verify, although so far the only thing that gets me any CAN messages at all, is using a canable v2 which supports CAN-FD, and a recent version of SavvyCAN which has mods to support CAN-FD on a Lawicel device
Roger that - thank you for checkking Cgalpin :)
evz
Posts: 6
Joined: Tue Jan 30, 2024 7:34 pm
Has thanked: 2 times

Re: Hyundai IoniQ 2020 HV battery pack

Post by evz »

Hi guys! I want to confirm we can connect the BMS with CAN-FD, it's UDS frames, 11-bit, 2M Bit-Rate FD, the requests looks like typical OBD2 communication:
03 22 01 01 AA AA AA AA

The problem we faced is that we can get SOC and SOH only once at the very beginning of powering system up, then these signals do not change regardless if we charge or discharge battery. Also the cumulative signals (Cumulative Charge Current, Cumulative Discharge Current, Cumulative Energy Charged, Cumulative Energy Discharged) are always zero value. But on the video from this topic I see all these signals. Any ideas why it happens?
User avatar
uhi22
Posts: 1113
Joined: Mon Mar 14, 2022 3:20 pm
Location: Ingolstadt/Germany
Has thanked: 204 times
Been thanked: 609 times

Re: Hyundai IoniQ 2020 HV battery pack

Post by uhi22 »

A log file of the CAN communication could help. Indeed, the 03 22 01 01 is a usual UDS request.
03 = length in byte
22 = ReadDataByIdentifier
0101 = Identifier
(AA...) fill pattern without meaning.
This should give a positive response (len, 62, data). It would be really great to create an overview which IDs are containing which data.
It is surprising that they use CANFD. In my 2018 Ioniq at least the PCAN is classic CAN. Not sure whether the battery is on the same CAN.

I would hope that the UDS messages on the battery and on the OBD socket are identical. The interpretation of the UDS messages is available "somewhere" for the TorquePro app. Found for the Ioniq28kWh: https://github.com/JejuSoul/OBD-PIDs-fo ... 0-%2028kWh Guessing the Ioniq38kWh is not much different.

Edit: Just noticed, that the link was already at the beginning of this thread. And noticed, that we got confusion with three different cars in one thread. The title is about the Ioniq38kWh (model year 2022), I was talking that the older 28kWh may be similar, and Ioniq 5 with 800V and CAN-FD is also discussed. Confused ;-)
evz
Posts: 6
Joined: Tue Jan 30, 2024 7:34 pm
Has thanked: 2 times

Re: Hyundai IoniQ 2020 HV battery pack

Post by evz »

Yep, my request messages are exactly the same but I used this source:
https://github.com/Esprit1st/Hyundai-Io ... D77kWh.csv

In the video from first page of topic I see that all the signals (including my missed signals) are shown in the CarScanner app, so I'm thinking does this app work somehow differently? Does this app send request in a different but correct way? I have now ideas...
User avatar
projectgus
Posts: 74
Joined: Tue Dec 08, 2020 10:33 am
Location: Castlemaine, Australia
Has thanked: 39 times
Been thanked: 33 times
Contact:

Re: Hyundai IoniQ 2020 HV battery pack

Post by projectgus »

evz wrote: Fri Oct 18, 2024 12:57 pm Yep, my request messages are exactly the same but I used this source:
https://github.com/Esprit1st/Hyundai-Io ... D77kWh.csv

In the video from first page of topic I see that all the signals (including my missed signals) are shown in the CarScanner app, so I'm thinking does this app work somehow differently? Does this app send request in a different but correct way? I have now ideas...
As uhi says, if your battery is from an Ioniq 5 then it's a totally different car to the original "classic" Ioniq. So nothing in the first post necessarily matches it. They're a completely different vehicle platform. This thread is confusingly mixed up between the two different Ioniqs.

You might find Dala's battery emulator software interesting as they've added support for battery packs from the "E-GMP" platform (Hyundai's name for the vehicle platform used in the Ioniq 5.) They have a pretty helpful Discord that's available to Dala's patreon subscribers.
User avatar
uhi22
Posts: 1113
Joined: Mon Mar 14, 2022 3:20 pm
Location: Ingolstadt/Germany
Has thanked: 204 times
Been thanked: 609 times

Re: Hyundai IoniQ 2020 HV battery pack

Post by uhi22 »

And if guessing does not help, it is usually a good idea to record a CAN log and share it. Together with a short description which contains the car type, the steps which have been performed, the things which worked and the things which did not work.
evz
Posts: 6
Joined: Tue Jan 30, 2024 7:34 pm
Has thanked: 2 times

Re: Hyundai IoniQ 2020 HV battery pack

Post by evz »

projectgus wrote: Mon Oct 21, 2024 12:02 am As uhi says, if your battery is from an Ioniq 5 then it's a totally different car to the original "classic" Ioniq. So nothing in the first post necessarily matches it. They're a completely different vehicle platform. This thread is confusingly mixed up between the two different Ioniqs.

You might find Dala's battery emulator software interesting as they've added support for battery packs from the "E-GMP" platform (Hyundai's name for the vehicle platform used in the Ioniq 5.) They have a pretty helpful Discord that's available to Dala's patreon subscribers.
Yeah, my BMS is the Ioniq5 BMS. Thank you for the info, it's definitely helpful!
Post Reply