Search found 128 matches

by Kelju
Wed Feb 23, 2022 7:56 pm
Forum: Projects
Topic: [DRIVING] RX8 with Leaf EM57 motor and Gen3 Inverter
Replies: 20
Views: 7603

[DRIVING] RX8 with Leaf EM57 motor and Gen3 Inverter

My conversion project car is a 2005 high power version Mazda RX8. Let me first start with a few (too many) words about how I came to start this project. I used to own a second generation RX7 from the 80's. It was a fun car to drive especially in the winter time as it did not have enough power to go ...
by Kelju
Thu Feb 03, 2022 9:29 pm
Forum: Hyundai/Kia
Topic: 800V Hyundai Ioniq 5 Battery
Replies: 14
Views: 9557

800V Hyundai Ioniq 5 Battery

Interesting read and a quite good video:
https://insideevs-com.cdn.ampproject.or ... pened/amp/

Does anybody have further details on the BMS on this battery?
Are there slave units in the modules and if so, what ASICs might there be?
by Kelju
Fri Jan 07, 2022 7:32 pm
Forum: Vehicle Control (VCU)
Topic: ZombieVerter VCU Support
Replies: 915
Views: 563393

Re: ZombieVerter VCU Support

I figured out another route to implement the precharge based on delta voltage. In the Utils, I am tampering with the reading from the parameters. I have my battery voltage in udc2. At least based on initial testing, this seems to work. s32fp udcsw = MAX(Param::Get(Param::udcsw), (udc2-10)); Param::S...
by Kelju
Fri Jan 07, 2022 4:32 pm
Forum: Vehicle Control (VCU)
Topic: ZombieVerter VCU Support
Replies: 915
Views: 563393

Re: ZombieVerter VCU Support

I modified the code in a way that I now have deltaV showing the difference between battery and DC-link and I verified it to work via testing. The problem is that I cannot seem to get the main contactor to obey. In the "MODE CONTROL SECTION" as snipped into my previous message, if I write: ...
by Kelju
Fri Jan 07, 2022 2:41 pm
Forum: Vehicle Control (VCU)
Topic: ZombieVerter VCU Support
Replies: 915
Views: 563393

Re: ZombieVerter VCU Support

Never mind, I think I found what I was looking for: ////////////////////////////////////////////////// // MODE CONTROL SECTION // ////////////////////////////////////////////////// s32fp udc = utils::ProcessUdc(oldTime, GetInt(Param::speed)); stt |= Param::GetInt(Param::potnom) <= 0 ? STAT_NONE : ST...
by Kelju
Fri Jan 07, 2022 2:39 pm
Forum: Vehicle Control (VCU)
Topic: ZombieVerter VCU Support
Replies: 915
Views: 563393

Re: ZombieVerter VCU Support

Currently the precharge works in the way that DC-link voltage has to rise upto Udcsw and then the main contactor closes. I think this is sub optimal because the delta voltage between battery and DC-link upon contactor closing will vary depending on SOC. It would be more reasonable to measure the dif...
by Kelju
Fri Jan 07, 2022 2:26 pm
Forum: Vehicle Control (VCU)
Topic: ZombieVerter VCU Support
Replies: 915
Views: 563393

Re: ZombieVerter VCU Support

In the mean time I also made my own implementation of the solution. In the utils, I check a counter that it is below value 3 before updating Udc. Whenever the CAN message for new value of Udc is received, I clear the counter back to zero. If the counter rises too high, I set Udc to zero. Seems to wo...
by Kelju
Fri Jan 07, 2022 1:06 pm
Forum: Vehicle Control (VCU)
Topic: ZombieVerter VCU Support
Replies: 915
Views: 563393

Re: ZombieVerter VCU Support

Until now I have been doing DC-link precharge manually on my test bench, but today I added some contactors and started testing. I noticed one vulnerability in the code. First of all, I thought that you only need to apply the start signal momentarily like in my daily (Th!nk City EV), but it turns out...
by Kelju
Thu Dec 02, 2021 6:29 pm
Forum: Vehicle Control (VCU)
Topic: ZombieVerter VCU Support
Replies: 915
Views: 563393

Re: ZombieVerter VCU Support

I'm guessing you ran out of user messages. I fixed that on the refactoring branch. For testing you can increase MAX_USER_MESSAGES in stm32_can.h. Unfortunately there is something else going on. I increased the MAX_USER_MESSAGE to 20 with no luck. Also tried 12 because I was not sure if 20 is abit t...
by Kelju
Thu Dec 02, 2021 11:43 am
Forum: Vehicle Control (VCU)
Topic: ZombieVerter VCU Support
Replies: 915
Views: 563393

Re: ZombieVerter VCU Support

I'm guessing you ran out of user messages. I fixed that on the refactoring branch. For testing you can increase MAX_USER_MESSAGES in stm32_can.h. Unfortunately there is something else going on. I increased the MAX_USER_MESSAGE to 20 with no luck. Also tried 12 because I was not sure if 20 is abit t...
by Kelju
Thu Dec 02, 2021 11:40 am
Forum: Vehicle Control (VCU)
Topic: ZombieVerter VCU Support
Replies: 915
Views: 563393

Re: ZombieVerter VCU Support

Throtle pedal question: I bought a VW Polo diesel throtle pedal, I opended it and found that it looks like it is just two potentiometers. Will this work? That should work just fine. You need to figure out which ones of the pins are the center taps of the potentiometer. Then just wire 5V and GND to ...
by Kelju
Wed Dec 01, 2021 4:56 pm
Forum: Vehicle Control (VCU)
Topic: ZombieVerter VCU Support
Replies: 915
Views: 563393

Re: ZombieVerter VCU Support

My next order of business is to get the Zombie to read the battery current value (and other parameters to follow) from CAN messages other than send by the ISA shunt. I've been banging my head against the wall for a few days already, but I cannot get the Zombie to process the newly introduced CAN id....
by Kelju
Sun Nov 28, 2021 5:22 pm
Forum: Vehicle Control (VCU)
Topic: ZombieVerter VCU Support
Replies: 915
Views: 563393

Re: ZombieVerter VCU Support

Today I cross checked the PDM output CAN message 390h content and the values that the Zombie is expecting to receive after wake-up by PDM output mesage 679h. Turns out my Gen2 PDM is not outputting the same PlugStat values. I did the following modifications and now my PDM is charging happily with th...
by Kelju
Sat Nov 27, 2021 3:02 pm
Forum: Vehicle Control (VCU)
Topic: ZombieVerter VCU Support
Replies: 915
Views: 563393

Re: ZombieVerter VCU Support

I made some measurements. First picture shows how applying steady 12V to CP line results in 9V as supposed. Then the PDU apparently wakes the Zombie up as the Zombie momentarily drives the PDU T15 supply up as can be seen from channel 2 on the oscilloscope (yellow). Only for the aforementioned 6ms, ...
by Kelju
Fri Nov 26, 2021 7:26 pm
Forum: Vehicle Control (VCU)
Topic: ZombieVerter VCU Support
Replies: 915
Views: 563393

Re: ZombieVerter VCU Support

I got my Leaf Gen3 inverter and motor spinning with the ZombieVerter and started to play with my Leaf Gen2 PDM. I do not have an actual Type2 vehicle inlet nor an actual Type2 charging cable with the fancy relay box with control signaling. Instead I am trying to spoof the PDM to think that there is....
by Kelju
Mon Nov 22, 2021 9:01 pm
Forum: Nissan
Topic: Nissan Leaf Gen3 inverter
Replies: 246
Views: 91570

Re: Nissan Leaf Gen3 inverter

Today I continued to test the KL30 (or T30 as in "terminal 30") current consumption. I left the KL30 on for over an hour and sure enough the consumption stayed around 450mA the whole time. Should this thing be commanded to sleep via CAN? @Jack Bauer, if you still have your setup available,...
by Kelju
Sun Nov 21, 2021 7:49 pm
Forum: Nissan
Topic: Nissan Leaf Gen3 inverter
Replies: 246
Views: 91570

Re: Nissan Leaf Gen3 inverter

Has anyone measured the quiescent current (or rather the sleep current) consumption of the Gen3 inverter? As soon as the inverter is supplied with KL30 supply (permanent 12V on pins 1 and 6), the inverter spits out a couple of CAN messages and the input current settles around 450mA and stays there w...
by Kelju
Fri Nov 19, 2021 10:13 am
Forum: Vehicle Control (VCU)
Topic: ZombieVerter VCU Support
Replies: 915
Views: 563393

Re: ZombieVerter VCU Support

IC14 looks like it is the 2004AE SN 141 8PT I have this same issue. IC14 should be TJA1020, but what I have has got the same markings as stated above. I cannot find anywhere the information whether this really is the correct part. Maybe some kind of second source? Google picture search suggests tha...
by Kelju
Fri Nov 19, 2021 8:36 am
Forum: Vehicle Control (VCU)
Topic: ZombieVerter VCU Support
Replies: 915
Views: 563393

Re: ZombieVerter VCU Support

I've had my ZombieVerter sitting on the shelf for a couple of weeks, but now I got around to start working on it. I see in Damien's assembly tutorial video that the bottom pads of the connector are clear of solder mask. However, the board I got has the mask extending over the pads. The top side is t...
by Kelju
Sat Nov 13, 2021 2:22 pm
Forum: Nissan
Topic: Nissan Leaf Gen3 inverter
Replies: 246
Views: 91570

Re: Nissan Leaf Gen3 inverter

Early forum release, thanks :) You can pull more than 225A short term. I've also tuned my inverter to about 120 kW (with the openinverter board) and ran it on the 24 kWh pack. Even went full throttle for a few minutes doing a speed not allowed in Finland ;) This is great news! Did you do this with ...
by Kelju
Fri Jul 02, 2021 10:12 am
Forum: Nissan
Topic: Nissan Leaf Gen3 inverter
Replies: 246
Views: 91570

Re: Nissan Leaf Gen3 inverter

I can share the code.
What is the easiest way to do this?
I do not have a Github repository.

I am just waiting for my Leaf PDM to arrive.
The plan is to try and get it working with OEM CAN.
Some logs of the start and stop of charging process would be handy.
by Kelju
Wed Jun 30, 2021 6:18 pm
Forum: Nissan
Topic: Nissan Leaf Gen3 inverter
Replies: 246
Views: 91570

Re: Nissan Leaf Gen3 inverter

I did some custom code for the Arduino CANBed following the instructions from Celeron55. I used a potentiometer on one of the analog inputs to set the torque request.
by Kelju
Tue Jun 22, 2021 1:53 pm
Forum: Nissan
Topic: Nissan Leaf Gen3 inverter
Replies: 246
Views: 91570

Re: Nissan Leaf Gen3 inverter

celeron55 wrote: Tue Jun 22, 2021 12:35 pm Wait, are you saying the gen3 inverter directly accepts the gen1 and gen2 CANbus messages?
That is exactly what I am saying.
Next order of business is to start interpreting 0x1DA and 0x55A to check if they are also the same as before.
by Kelju
Tue Jun 22, 2021 8:14 am
Forum: Nissan
Topic: Nissan Leaf Gen3 inverter
Replies: 246
Views: 91570

Re: Nissan Leaf Gen3 inverter

Great news! I got the motor and inverter running with the OEM brain board. I implemented the control as per instructions from Celeron55 for the earlier inverter versions. Nothing else was needed. The RPM does not stay exactly steady, but oscillates a bit. I am guessing it is due to the fact that the...
by Kelju
Fri Feb 12, 2021 8:04 am
Forum: Nissan
Topic: Nissan Leaf Gen3 inverter
Replies: 246
Views: 91570

Re: Nissan Leaf Gen3 inverter

I'll be trying to run this via can Sounds good. I have had the same intention after facing serious issues with running the motor with the V3 mainboard, just have not got around to it. Anyway, here is the pinout as far as my reverse engineering is correct: NISSAN LEAF 2018- INVERTER CONTROL PINOUT.J...