ZombieVerter VCU Support

User avatar
Jack Bauer
Posts: 3563
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 1 time
Been thanked: 87 times
Contact:

Re: ZombieVerter VCU Support

Post by Jack Bauer »

et0 wrote: Wed Nov 09, 2022 7:04 pm Damien, great to see the Zombieverter is lurching ahead! We have our GS450H vehicle which has been running around for a few months, on fairly old code, with no real problems.

But I want to update it now, the main things we are missing are:
* Working regen
* Smooth current limiting
* Settable throttle response curve

I also need to add some CANBUS messaging to work with other components on the vehicle. Firstly accepting a current limit from the BMS.

My question: Is the current code available and build-able? I know it wasn't for a spell which is why we held off and worked on other stuff. I'll resume adding to the wiki!

Thank you.
The DM_Work branch on the repo is building and working in my cars. Ignore the master branch as the only thing left working in that is the web interface! I've had reports of jerky throttle response in 450h applications but of course no one has submitted a fix so if it is a sw problem its waiting on me to get the E39 finished and driving so I can diagnose and fix and push an update.
I'm going to need a hacksaw
User avatar
Jack Bauer
Posts: 3563
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 1 time
Been thanked: 87 times
Contact:

Re: ZombieVerter VCU Support

Post by Jack Bauer »

Beemer wrote: Wed Nov 09, 2022 9:36 pm 12v power supply to inverter without the vcu connected20221109_203056.jpg
All data cables reading 2.5v
That all looks sensible. Last question. Can you please take a high res photo of the ICs you fitted to the board.
I'm going to need a hacksaw
Beemer
Posts: 26
Joined: Sun Sep 25, 2022 8:22 pm

Re: ZombieVerter VCU Support

Post by Beemer »

Have tried to attach a short video that's stored in my WhatsApp but it comes up invalid file extension any suggestions what I could do.
User avatar
Jack Bauer
Posts: 3563
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 1 time
Been thanked: 87 times
Contact:

Re: ZombieVerter VCU Support

Post by Jack Bauer »

Just need a few pictures of the ics fitted by yourself.
I'm going to need a hacksaw
Beemer
Posts: 26
Joined: Sun Sep 25, 2022 8:22 pm

Re: ZombieVerter VCU Support

Post by Beemer »

As requested
Attachments
VID-20221027-WA0001_000.jpg
User avatar
Jack Bauer
Posts: 3563
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 1 time
Been thanked: 87 times
Contact:

Re: ZombieVerter VCU Support

Post by Jack Bauer »

Also IC27,29 and 19 please.
I'm going to need a hacksaw
Beemer
Posts: 26
Joined: Sun Sep 25, 2022 8:22 pm

Re: ZombieVerter VCU Support

Post by Beemer »

Last attachment should have been a 30 second video.
Beemer
Posts: 26
Joined: Sun Sep 25, 2022 8:22 pm

Re: ZombieVerter VCU Support

Post by Beemer »

As requested
Attachments
VID-20221027-WA0001_015.jpg
VID-20221027-WA0001_042.jpg
Beemer
Posts: 26
Joined: Sun Sep 25, 2022 8:22 pm

Re: ZombieVerter VCU Support

Post by Beemer »

IC19
Attachments
VID-20221027-WA0001_106.jpg
User avatar
Jack Bauer
Posts: 3563
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 1 time
Been thanked: 87 times
Contact:

Re: ZombieVerter VCU Support

Post by Jack Bauer »

That all looks perfect thanks. There seems to be no obvious reason other than a wiring error to cause this problem. I think next step is to get the board back to me for a deeper look.
I'm going to need a hacksaw
Beemer
Posts: 26
Joined: Sun Sep 25, 2022 8:22 pm

Re: ZombieVerter VCU Support

Post by Beemer »

Can meet up if suits as me and mrs taking short break to castlemartyr from this Wed 16th until Sat 19th
User avatar
Jack Bauer
Posts: 3563
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 1 time
Been thanked: 87 times
Contact:

Re: ZombieVerter VCU Support

Post by Jack Bauer »

No thanks just pop in the post.
I'm going to need a hacksaw
Beemer
Posts: 26
Joined: Sun Sep 25, 2022 8:22 pm

Re: ZombieVerter VCU Support

Post by Beemer »

Ok, can you confirm return address please
User avatar
Jack Bauer
Posts: 3563
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 1 time
Been thanked: 87 times
Contact:

Re: ZombieVerter VCU Support

Post by Jack Bauer »

Sent you an email. Once the board arrives I'll do a diagnosis. A very strange failure mechanism. In other news the E39 is nearing readiness to drive so will now be able to investigate any throttle response problems with the 450h system first hand.
I'm going to need a hacksaw
User avatar
Jack Bauer
Posts: 3563
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 1 time
Been thanked: 87 times
Contact:

Re: ZombieVerter VCU Support

Post by Jack Bauer »

Annnnd yep we got a problem here. Looks like torque scaling is changed as well as direction handling in the toyota module. Doesnt show up on the bench as I only ever run the motors slowly! Investigating now.
Attachments
2022-11-11 11.37.23.jpg
I'm going to need a hacksaw
User avatar
Jack Bauer
Posts: 3563
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 1 time
Been thanked: 87 times
Contact:

Re: ZombieVerter VCU Support

Post by Jack Bauer »

That was epic. Update soon on the repo.

I'm going to need a hacksaw
User avatar
FieroJam
Posts: 21
Joined: Tue Jun 28, 2022 8:00 pm
Location: USA
Been thanked: 3 times

Re: ZombieVerter VCU Support

Post by FieroJam »

Jack Bauer wrote: Fri Nov 11, 2022 3:55 pm That was epic. Update soon on the repo.

Did you make the gauges work with a direct connection to Zom VCU?
User avatar
Jack Bauer
Posts: 3563
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 1 time
Been thanked: 87 times
Contact:

Re: ZombieVerter VCU Support

Post by Jack Bauer »

Can driven from the vcu
I'm going to need a hacksaw
nkiernan
Posts: 505
Joined: Mon Feb 24, 2020 8:59 pm
Location: Ireland
Has thanked: 276 times
Been thanked: 64 times

Re: ZombieVerter VCU Support

Post by nkiernan »

Jack Bauer wrote: Fri Nov 11, 2022 3:55 pm That was epic. Update soon on the repo.
Nice 8-) 8-) 8-)
User avatar
Jack Bauer
Posts: 3563
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 1 time
Been thanked: 87 times
Contact:

Re: ZombieVerter VCU Support

Post by Jack Bauer »

Just pushed an update to the repo :

https://github.com/damienmaguire/Stm32- ... s/tag/1.01

-Update the reported version to 1.01.
-Add use of PWMs as digital o/p. PWM1 use as digital charger enable / disable. PWM2 as digital "Run" mode indication.
-Verify GS450h driving in vehicle

The big ticket item on this release is the Lexus GS450H system control is now verified working in my E39 conversion at full voltage and road speeds. A video will be publicly available in a few days to prove this.
I'm going to need a hacksaw
et0
Posts: 127
Joined: Sun Oct 13, 2019 8:06 pm
Location: Scotland
Has thanked: 14 times
Been thanked: 5 times

Re: ZombieVerter VCU Support

Post by et0 »

Jack Bauer wrote: Thu Nov 10, 2022 9:04 am The DM_Work branch on the repo is building and working in my cars. Ignore the master branch as the only thing left working in that is the web interface!
Awesome, DM_WORK built and loaded OK. Showing version 1.00 A
I've had reports of jerky throttle response in 450h applications but of course no one has submitted a fix so if it is a sw problem its waiting on me to get the E39 finished and driving so I can diagnose and fix and push an update.
Right, I can confirm that it's not really drivable now! Sort of on/off pulses as you accelerate? I can upload a video if you want.

I'll try to debug this, but can you give me a baseline for what should be working:

Regen: I see the new settings for it, but it still doesn't actually do regen. Should it?

Throttle ramp: Still a pretty aggressive and linear ramp, I've played with throtramp and throtramprpm, they seem to have no effect - should they?


Cheers.



Oops, I hadn't refreshed to see your update - I'll try the new new version!

EDIT: starting again, version 1.01 A now!

Unfortunately I still have the same result - intermittent pulses of power. Not like in your video (It was smooth like that previously though).

What am I doing wrong? I attached the parameters.

Final edit: I get the same behaviour with your .hex from the repo.
Attachments
params.json
(1.08 KiB) Downloaded 46 times
User avatar
Jack Bauer
Posts: 3563
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 1 time
Been thanked: 87 times
Contact:

Re: ZombieVerter VCU Support

Post by Jack Bauer »

I got the VCU board back from Beemer. A Fan3121 has been fitted in position IC12 in place of the NCV8461. This kit would have shipped without the NCV8461 in any event as they were not available until about a week ago. This would have fed 12v into the 3v3 line and destroyed the microcontroller as well as most other devices I would imagine. Whoever fitted the parts failed to verify the positions on the schematic and BOM for IC12.

I just verified the BOM and schematic are correct :
https://github.com/damienmaguire/Stm32- ... OM_Rel.ods
I'm going to need a hacksaw
User avatar
Jack Bauer
Posts: 3563
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 1 time
Been thanked: 87 times
Contact:

Re: ZombieVerter VCU Support

Post by Jack Bauer »

et0 wrote: Tue Nov 15, 2022 12:23 pm Awesome, DM_WORK built and loaded OK. Showing version 1.00 A



Right, I can confirm that it's not really drivable now! Sort of on/off pulses as you accelerate? I can upload a video if you want.

I'll try to debug this, but can you give me a baseline for what should be working:

Regen: I see the new settings for it, but it still doesn't actually do regen. Should it?

Throttle ramp: Still a pretty aggressive and linear ramp, I've played with throtramp and throtramprpm, they seem to have no effect - should they?


Cheers.



Oops, I hadn't refreshed to see your update - I'll try the new new version!

EDIT: starting again, version 1.01 A now!

Unfortunately I still have the same result - intermittent pulses of power. Not like in your video (It was smooth like that previously though).

What am I doing wrong? I attached the parameters.

Final edit: I get the same behaviour with your .hex from the repo.
The difficulty I have is I can't replicate that problem. I bench tested this firmware and then built the drivetrain into a car and took it on the road. Not sure what else I can do. This morning I went 40 miles in the E39 with no problems. Car is on charge right now as it happens. I'm in now way saying there is not a problem its simply that I cant see it here and I've exhausted my options for testing. Perhaps someone else could do some diagnostics and help us all out ???
I'm going to need a hacksaw
User avatar
Jack Bauer
Posts: 3563
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 1 time
Been thanked: 87 times
Contact:

Re: ZombieVerter VCU Support

Post by Jack Bauer »

Lets try this : Do a plot of speed and torque. Speed on right and torque on left.
I'm going to need a hacksaw
et0
Posts: 127
Joined: Sun Oct 13, 2019 8:06 pm
Location: Scotland
Has thanked: 14 times
Been thanked: 5 times

Re: ZombieVerter VCU Support

Post by et0 »

Jack Bauer wrote: Tue Nov 15, 2022 1:42 pm Lets try this : Do a plot of speed and torque. Speed on right and torque on left.
Will do this tomorrow (I actually did it today but didn't capture it - it did show roughly the same as your plot above though).

Assuming the .hex on github is the same one you are using, I guess the only difference should be a setting. I am using "none" as the car type for example. I will try to debug it anyway.
Locked