Lexus GS450H VCU Support Thread
- celeron55
- Posts: 794
- Joined: Thu Jul 04, 2019 3:04 pm
- Location: Finland
- Has thanked: 36 times
- Been thanked: 130 times
- Contact:
Re: Lexus GS450H VCU Support Thread
The gs450h vcu firmware is really barebones and buggy so you kind of want to rewrite half of it for a road worthy vehicle in my opinion. Not the same for Zombie.
- catphish
- Posts: 956
- Joined: Fri Oct 08, 2021 11:02 pm
- Location: Dorset, UK
- Has thanked: 95 times
- Been thanked: 183 times
Re: Lexus GS450H VCU Support Thread
There are quite a few firmwares for the GS450H now. It would be nice if we could do some testing, come to an accord and merge them! I'm happy with mine, however it needs a working vehicle to do more testing and finish the gear ratio change functionality.
Ultimately though, it doesn't really make sense to maintain both forever, so if Zombieverter does the same and more, the work should probably focus there.
- ggeter
- Posts: 133
- Joined: Wed Nov 18, 2020 1:56 pm
- Location: Houston, TX
- Has thanked: 4 times
- Been thanked: 15 times
Re: Lexus GS450H VCU Support Thread
I've had zero problems with the user version of the firmware. What are you experiencing?
Houston, Texas, USA
EV Newbie
1979 MG Midget + GS450h = "Mexus?"
IT Consultant
EV Newbie
1979 MG Midget + GS450h = "Mexus?"
IT Consultant
- catphish
- Posts: 956
- Joined: Fri Oct 08, 2021 11:02 pm
- Location: Dorset, UK
- Has thanked: 95 times
- Been thanked: 183 times
Re: Lexus GS450H VCU Support Thread
It' definitely primitive, but I wouldn't say buggy either. The only bug I found while rewriting it was this buffer overflow vulnerability: https://github.com/damienmaguire/Lexus- ... 7.ino#L341
Otherwise as far as I can tell, it's simple and reliable. I added a web interface and lots of code comments, but can't complain much about the original.
- ggeter
- Posts: 133
- Joined: Wed Nov 18, 2020 1:56 pm
- Location: Houston, TX
- Has thanked: 4 times
- Been thanked: 15 times
Re: Lexus GS450H VCU Support Thread
I'll admit the only problem that I had was setting the the max torque too low. When the max torque is less than a thousand, the motor will hitch and start and not accelerate very well at all. I had to set the max torque to maximum 3200 and everything has worked out fine since.catphish wrote: ↑Sat Jun 04, 2022 5:08 pmIt' definitely primitive, but I wouldn't say buggy either. The only bug I found while rewriting it was this buffer overflow vulnerability: https://github.com/damienmaguire/Lexus- ... 7.ino#L341
Otherwise as far as I can tell, it's simple and reliable. I added a web interface and lots of code comments, but can't complain much about the original.
Houston, Texas, USA
EV Newbie
1979 MG Midget + GS450h = "Mexus?"
IT Consultant
EV Newbie
1979 MG Midget + GS450h = "Mexus?"
IT Consultant
- celeron55
- Posts: 794
- Joined: Thu Jul 04, 2019 3:04 pm
- Location: Finland
- Has thanked: 36 times
- Been thanked: 130 times
- Contact:
Re: Lexus GS450H VCU Support Thread
I guess the "buggy" part is mostly me as a software engineer not trusting the code at all after reading it. But when bench testing, the motors occasionally kick very hard, in a way that seems like full torque is being applied for a split second, when I have the torque configured down to very little.
Of course in an actual vehicle application, full torque for a split second is probably almost undetectable and assuming it stays at that duration it's not unsafe either. But it does not give me the confidence I need for my project. For me, this does not matter, as I will in any case rewrite most of the code to heavily integrate with the rest of the vehicle. But it might to someone who isn't going to touch the code.
Of course in an actual vehicle application, full torque for a split second is probably almost undetectable and assuming it stays at that duration it's not unsafe either. But it does not give me the confidence I need for my project. For me, this does not matter, as I will in any case rewrite most of the code to heavily integrate with the rest of the vehicle. But it might to someone who isn't going to touch the code.
- catphish
- Posts: 956
- Joined: Fri Oct 08, 2021 11:02 pm
- Location: Dorset, UK
- Has thanked: 95 times
- Been thanked: 183 times
Re: Lexus GS450H VCU Support Thread
That's interesting, I had a couple of issues during my rewrite where I accidentally cast a signed int to unsigned, causing a -1 torque to become 0x7FFFFFFF torque (which is quite dramatic), but I'm not aware of any such errors in the original code. Ultimately, there really isn't much that can go wrong, all we do is send a pair of integers to the inverter to request an amount of torque.celeron55 wrote: ↑Sat Jun 04, 2022 7:52 pm I guess the "buggy" part is mostly me as a software engineer not trusting the code at all after reading it. But when bench testing, the motors occasionally kick very hard, in a way that seems like full torque is being applied for a split second, when I have the torque configured down to very little.
- Jack Bauer
- Posts: 3564
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 1 time
- Been thanked: 93 times
- Contact:
Re: Lexus GS450H VCU Support Thread
If there is a problem or bug in the code then please identify it and submit on github so it can be remedied. I'm not a software engineer by any measure and the assistance of someone who is would be invaluable in this and other projects.
I'm going to need a hacksaw
- catphish
- Posts: 956
- Joined: Fri Oct 08, 2021 11:02 pm
- Location: Dorset, UK
- Has thanked: 95 times
- Been thanked: 183 times
Re: Lexus GS450H VCU Support Thread
Absolutely this! Unfortunately, my fork is too large for a pull request (it's basically a rewrite), but I'd seriously encourage people to do pull requests where at all possible for small fixes.Jack Bauer wrote: ↑Sun Jun 05, 2022 9:48 am If there is a problem or bug in the code then please identify it and submit on github so it can be remedied. I'm not a software engineer by any measure and the assistance of someone who is would be invaluable in this and other projects.
- PatrcioEV-ATX
- Posts: 192
- Joined: Sun Dec 13, 2020 5:25 pm
- Location: Austin, TX, USA
- Has thanked: 42 times
- Been thanked: 66 times
Re: Lexus GS450H VCU Support Thread
Check out Catphish's code on his github (it's in this thread somewhere). You can pick and choose what parts of it you want to use, but his code is super clean. I rewrote the User version along the same lines as his code. At this point, I think most of us are using our own particular code based on the User code.celeron55 wrote: ↑Sat Jun 04, 2022 7:52 pm I guess the "buggy" part is mostly me as a software engineer not trusting the code at all after reading it. But when bench testing, the motors occasionally kick very hard, in a way that seems like full torque is being applied for a split second, when I have the torque configured down to very little.
Of course in an actual vehicle application, full torque for a split second is probably almost undetectable and assuming it stays at that duration it's not unsafe either. But it does not give me the confidence I need for my project. For me, this does not matter, as I will in any case rewrite most of the code to heavily integrate with the rest of the vehicle. But it might to someone who isn't going to touch the code.
1998 Ford ZX2 - DC EV conversion(sold) http://evalbum.com/2093
2012 Nissan Leaf (sold)
2016 Mercedes B250e (sold)
2023 Volvo C40
Current: 1964 Rambler Classic 660 w/ GS450h set up. 36kwh Tesla batteries from B250e.
https://www.instagram.com/rambler_660e/
2012 Nissan Leaf (sold)
2016 Mercedes B250e (sold)
2023 Volvo C40
Current: 1964 Rambler Classic 660 w/ GS450h set up. 36kwh Tesla batteries from B250e.
https://www.instagram.com/rambler_660e/
- catphish
- Posts: 956
- Joined: Fri Oct 08, 2021 11:02 pm
- Location: Dorset, UK
- Has thanked: 95 times
- Been thanked: 183 times
Re: Lexus GS450H VCU Support Thread
Thanks! Here's the link again: https://github.com/catphish/gs450hPatrcioEV-ATX wrote: ↑Mon Jun 06, 2022 1:16 pm Check out Catphish's code on his github (it's in this thread somewhere). You can pick and choose what parts of it you want to use, but his code is super clean. I rewrote the User version along the same lines as his code. At this point, I think most of us are using our own particular code based on the User code.
I can't claim that it's any better than any other version but it has some interesting features including web interface, and hopefully it's easy to read and understand.
- celeron55
- Posts: 794
- Joined: Thu Jul 04, 2019 3:04 pm
- Location: Finland
- Has thanked: 36 times
- Been thanked: 130 times
- Contact:
Re: Lexus GS450H VCU Support Thread
I agree catphish's version looks very readable. I'll try it out once I have the time.
-
- Posts: 149
- Joined: Tue Jun 15, 2021 5:44 pm
- Location: Finland
- Has thanked: 35 times
- Been thanked: 7 times
Re: Lexus GS450H VCU Support Thread
Just a small caution if anyone uses due_can library with this board..
I got long debugging session for some weird behavior, during that I found out due_can library does use enable pins and one is by default same as GS450h board uses for OUT1:
#define CAN0_EN 50 //these enable pins match most all recent EVTV boards (EVTVDue, CAN Due 2.0)
I did not check code more, at least on initialization it does set this pin HIGH. On my case it was HV+ contactor, not so good. As enable pins of CAN transcievers are not used on gs450h board, you may remove digitalWrite lines from library as I did. After doing this there was one mystery less for me, yippee!
I got long debugging session for some weird behavior, during that I found out due_can library does use enable pins and one is by default same as GS450h board uses for OUT1:
#define CAN0_EN 50 //these enable pins match most all recent EVTV boards (EVTVDue, CAN Due 2.0)
I did not check code more, at least on initialization it does set this pin HIGH. On my case it was HV+ contactor, not so good. As enable pins of CAN transcievers are not used on gs450h board, you may remove digitalWrite lines from library as I did. After doing this there was one mystery less for me, yippee!
- Gregski
- Posts: 2469
- Joined: Tue Sep 14, 2021 10:28 am
- Location: Sacramento, California
- Has thanked: 420 times
- Been thanked: 700 times
- Contact:
Re: Lexus GS450H VCU Support Thread
for those of us who prefer to listen to the Beatles on vinyl and control our GS450hayches using the [ahem] Classic controller I just got word that the Cinch 40 Pin Header Connector Part# 5810140011 is back in stock at Digi-Key by popular demand
"I don't need to understand how it works, I just need to understand how to make it work!" ~ EV Greg
Re: Lexus GS450H VCU Support Thread
Hi Damien,
Just wondering if you realize that the pin numbers on the drawing of the Toyota 40-pin header are not the same as the numbers on the back of the header? On my header (on a 2010 Toyota Crown hybrid inverter, part number G9200-30070) pin 1 is where you have pin 32 and vice versa.
Please correct me if I'm wrong. It was doing my head in when buzzing out that internal loom!
I needed to buzz it out to check that the Crown inverter 40-pin header wiring was the same as that on the GS450h inverter.
As it happens, it is!
So with the internal looms and 40-pin header being identical, and the logic board part numbers of F1759-30010-01 being the same, can one assume that everything's going to work?
Also, pin 8 of the 32-pin connector on the GS450h inverter/converter internal connections drawing is missing its GND label.
ie. should read MG2 SINE GND.
Ian
Just wondering if you realize that the pin numbers on the drawing of the Toyota 40-pin header are not the same as the numbers on the back of the header? On my header (on a 2010 Toyota Crown hybrid inverter, part number G9200-30070) pin 1 is where you have pin 32 and vice versa.
Please correct me if I'm wrong. It was doing my head in when buzzing out that internal loom!
I needed to buzz it out to check that the Crown inverter 40-pin header wiring was the same as that on the GS450h inverter.
As it happens, it is!
So with the internal looms and 40-pin header being identical, and the logic board part numbers of F1759-30010-01 being the same, can one assume that everything's going to work?
Also, pin 8 of the 32-pin connector on the GS450h inverter/converter internal connections drawing is missing its GND label.
ie. should read MG2 SINE GND.
Ian
Re: Lexus GS450H VCU Support Thread
On my build the capacitors in the Lexus inverter are not discharging and even after 24 hours they are HOLDING HV VOLTAGE almost to the level of the battery pack i.e. 400 Volts. If I take a voltage reading, with the HV battery completly disconnected, at the terminals of the inverter I have just short of 395Volts.
As I understand it the inverter capacitors are supposed to discharge through the MG1 and MG2 connections to the GS450H Transmission.
Obviously not a great state of affairs!!!
I hope no one else has experienced this issue.
Any guidance regarding this would be really appreciated.
As I understand it the inverter capacitors are supposed to discharge through the MG1 and MG2 connections to the GS450H Transmission.
Obviously not a great state of affairs!!!
I hope no one else has experienced this issue.
Any guidance regarding this would be really appreciated.
- Romale
- Posts: 478
- Joined: Fri May 20, 2022 4:16 pm
- Location: Romania
- Has thanked: 253 times
- Been thanked: 60 times
Re: Lexus GS450H VCU Support Thread
there should be a ceramic resistor at 15 kohm or so current connected at + and - high voltage. its purpose is to smoothly discharge the capacitor after disconnecting the battery. it's probably missing or not connected to you.
mg1 and mg2 motors are not involved here
evil neodymium
Re: Lexus GS450H VCU Support Thread
Hi Romale,
Thanks for the reply.
Is this the sort of thing you mean?
https://uk.farnell.com/ohmite/45f15ke/r ... dp/2448950
Thanks again
Thanks for the reply.
Is this the sort of thing you mean?
https://uk.farnell.com/ohmite/45f15ke/r ... dp/2448950
Thanks again
- Romale
- Posts: 478
- Joined: Fri May 20, 2022 4:16 pm
- Location: Romania
- Has thanked: 253 times
- Been thanked: 60 times
Re: Lexus GS450H VCU Support Thread
hello. the link doesn't open for me. here is a photo for example, this is in the Nissan em61 inverter, but the same detail is in all high-voltage inverters of Toyota, Lexus, Tesla and others. one end of it is connected to the + and the other to the - high-voltage input in the inverter. when the main contactor is turned off, the voltage of the conductors will discharge to this resistor.dadiowe wrote: ↑Tue Oct 25, 2022 1:10 pm Hi Romale,
Thanks for the reply.
Is this the sort of thing you mean?
https://uk.farnell.com/ohmite/45f15ke/r ... dp/2448950
Thanks again
evil neodymium
-
- Posts: 436
- Joined: Sat Jul 27, 2019 10:53 am
- Location: UK
- Has thanked: 1 time
- Been thanked: 13 times
Re: Lexus GS450H VCU Support Thread
No, it doesn't discharge through MG1 or MG2. There is no mechanism for that. There is instead a ceramic bleed resistor inside the converter housing.dadiowe wrote: ↑Tue Oct 25, 2022 10:56 am On my build the capacitors in the Lexus inverter are not discharging and even after 24 hours they are HOLDING HV VOLTAGE almost to the level of the battery pack i.e. 400 Volts. If I take a voltage reading, with the HV battery completly disconnected, at the terminals of the inverter I have just short of 395Volts.
As I understand it the inverter capacitors are supposed to discharge through the MG1 and MG2 connections to the GS450H Transmission.
Obviously not a great state of affairs!!!
I hope no one else has experienced this issue.
Any guidance regarding this would be really appreciated.
Re: Lexus GS450H VCU Support Thread
Thanks Romale that sorted my inverter discharge problemRomale wrote: ↑Tue Oct 25, 2022 1:16 pm hello. the link doesn't open for me. here is a photo for example, this is in the Nissan em61 inverter, but the same detail is in all high-voltage inverters of Toyota, Lexus, Tesla and others. one end of it is connected to the + and the other to the - high-voltage input in the inverter. when the main contactor is turned off, the voltage of the conductors will discharge to this resistor.
IMG_20221025_161226_1.jpg
Re: Lexus GS450H VCU Support Thread
Hey guys, first post here. Been lurking a while and wanted to share the pinout I'm using for the Molex replacement inverter connector, I didn't see this documented anywhere so apologies if this has been covered before. If it looks good I'll add it to the wiki.
Re: Lexus GS450H VCU Support Thread
Hi all, apologies for probably too simple a question. I am a mechanical engineer way out of my comfort zone with all this talk of coding, and I do not have capabilities to write my own code.
I have the "classic" VCU (ver2). In a video about a year ago ( ) Damien mentioned that the SW developed for the zombieverter would be able to be back ported onto the gs450h VCU. And from memory that this would include some more user friendly config setup and features etc. For us non electrical/software engineers.
Does anybody know if this has already happened or is still planned to happen?
Thanks
Dan
I have the "classic" VCU (ver2). In a video about a year ago ( ) Damien mentioned that the SW developed for the zombieverter would be able to be back ported onto the gs450h VCU. And from memory that this would include some more user friendly config setup and features etc. For us non electrical/software engineers.
Does anybody know if this has already happened or is still planned to happen?
Thanks
Dan
- crasbe
- Posts: 270
- Joined: Mon Jul 08, 2019 5:18 pm
- Location: Germany
- Has thanked: 45 times
- Been thanked: 126 times
Re: Lexus GS450H VCU Support Thread
Unfortunately I think that at the moment it's not very high on the priorities list. HOWEVER it shouldn't be impossible to adapt the ZombieVerter code to run on the old VCU because libopencm3 supports the SAM3X8E.
For the time being I'd recommend sticking with the serial configuration interface of the old VCU, it's not terrible to use, just not as fancy as the web interface.
- johu
- Site Admin
- Posts: 6087
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 215 times
- Been thanked: 1214 times
- Contact:
Re: Lexus GS450H VCU Support Thread
I'm closing this support thread as it has become too long to be useful. Please describe new issues in a new thread with a descriptive title (I NEED HELP is not descriptive!). Do not put unrelated issues into existing threads that describe a different topic.
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9