Lexus GS450H VCU Support Thread

Topics concerning the Toyota and Lexus inverter drop in boards
xp677
Posts: 435
Joined: Sat Jul 27, 2019 10:53 am
Location: UK
Has thanked: 1 time
Been thanked: 13 times

Re: Lexus GS450H VCU Support Thread

Post by xp677 »

catphish wrote: Sat Oct 16, 2021 1:31 am Please correct me if I'm barking up the wrong tree here, but my reading of this leads me to understand that there are two separate clutches, one for each ratio, and only one should be engaged at a time. If this is the case, is it not plausible that one solenoid deactivates the high ratio gear, and the other activates the low ratio gear? If this is the case, the correct procedure is to activate one solenoid ahead of the other, preventing both being simultaneously engaged?

On Monday I will wire up my oil pump and experiment with this on the bench. Hopefully I'll be able to observe the affect of activating each separately at rest and at low speed.
I struggled to follow exactly what happens in each scenario but you may well be correct. I think the best procedure would be:

Set torque to zero
Disengage motors from output shaft (if possible)
Match MG2 speed with new output shaft speed
Engage new gear selection
Reapply torque (ramp up)
catphish wrote: Sat Oct 16, 2021 1:31 am In the first instance I intend to make this a manually activated shift, with only the downshift RPM limit for safety. I may look at automatically triggering it later though, depending on the driving experience.
This makes sense. From experience, the High gear gives plenty of acceleration already, you may find yourself never using the Low gear.
catphish wrote: Sat Oct 16, 2021 1:31 am Agreed. It looks like if we could get 3 points at wide enough intervals, then it would be possible to approximate the simplified B-only curve. However, I can't think of a good way to do this :(
I was thinking about doing it the long way - testing in the winter and then the summer when the ambient temperatures are quite varied (at least, where I love). I looked at the document I linked earlier in a hope of finding out where the temperature sensors are located. Likely the MG1 and 2 sensors are buried in the stator windings can can't simply be removed.
catphish wrote: Sat Oct 16, 2021 1:31 am Edit: I realise the questions about the gearing are a little off topic, and a Ravigneaux gearing is somewhat more complicated than I can wrap my head around at the moment. I will start a new thread about this. I found Damien's presentation on this gearbox. It certainly implies that the sensible thing to do would be to deactivate one clutch (brake) momentarily before activating the other. It also seems plausible that only one should be activated at once (as opposed to neither / both together. I will test when I can.
Yes, it would be good to generate a truth table for the 4 possible states for this. This could maybe be as simple as running MG2 on the bench, applying a small load (gloved hand may be enough) to the output flange to see what's engaged and at what speed, in the various states.
User avatar
catphish
Posts: 954
Joined: Fri Oct 08, 2021 11:02 pm
Location: Dorset, UK
Has thanked: 93 times
Been thanked: 179 times

Re: Lexus GS450H VCU Support Thread

Post by catphish »

xp677 wrote: Sat Oct 16, 2021 11:25 pm This makes sense. From experience, the High gear gives plenty of acceleration already, you may find yourself never using the Low gear.
...
Yes, it would be good to generate a truth table for the 4 possible states for this. This could maybe be as simple as running MG2 on the bench, applying a small load (gloved hand may be enough) to the output flange to see what's engaged and at what speed, in the various states.
I agree entirely on both points. I think implementing the gears may turn out to be an academic exercise, but I think it'll definitely be worth properly understanding how to correctly operate them. As soon as I have my oil pump running, I will test all four states individually.

The main thing that's confusing me is why high ratio seems to be engaged when both solenoids are deactivated, as all the documentation I've seen implies that one of the brakes should be activated for either ratio.

On a totally unrelated note, I have just finished rewriting the web interface for my board, so I should be ready for more bench testing on Monday. Source code always available: https://github.com/catphish/gs450h/

Image
Image
kevpatts
Posts: 67
Joined: Mon Jul 19, 2021 1:55 pm
Location: Dublin, Ireland
Been thanked: 8 times

Re: Lexus GS450H VCU Support Thread

Post by kevpatts »

Looking for a spare 90980-12483 (connector for the oil pump controller) if anyone has one with wires attached? 2nd hand ones only seem to have wires on pins 4 & 5 and new ones don't come with terminals.
xp677
Posts: 435
Joined: Sat Jul 27, 2019 10:53 am
Location: UK
Has thanked: 1 time
Been thanked: 13 times

Re: Lexus GS450H VCU Support Thread

Post by xp677 »

The controller only uses two signal wires (brown and black) and the blue power wire. Pins 4 and 5 sound correct.
kevpatts
Posts: 67
Joined: Mon Jul 19, 2021 1:55 pm
Location: Dublin, Ireland
Been thanked: 8 times

Re: Lexus GS450H VCU Support Thread

Post by kevpatts »

Unfortunately the brown and black wires are pins 6 & 7 (according to this) but the only ones I can find to buy have pins 4 & 5, the HV pins, like this. I'm trying to avoid buying a whole new control unit just for the connector.
xp677
Posts: 435
Joined: Sat Jul 27, 2019 10:53 am
Location: UK
Has thanked: 1 time
Been thanked: 13 times

Re: Lexus GS450H VCU Support Thread

Post by xp677 »

You can always just use generic pins and then fill the cavity with epoxy, then add your own connector.
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: Lexus GS450H VCU Support Thread

Post by Jack Bauer »

Due to an "upgrade" on Olimex wifi modules I can no longer supply them as open networks. By default all charger kits will have SSID : gs450h_vcu PASSWORD : inverter123

If someone could please update the wiki with this would be much appreciated.
I'm going to need a hacksaw
User avatar
steveknox
Posts: 85
Joined: Mon Mar 11, 2019 9:36 am
Location: Bormley, UK
Has thanked: 15 times
Been thanked: 5 times
Contact:

Re: Lexus GS450H VCU Support Thread

Post by steveknox »

Wiki updated.
User avatar
PatrcioEV-ATX
Posts: 181
Joined: Sun Dec 13, 2020 5:25 pm
Location: Austin, TX, USA
Has thanked: 40 times
Been thanked: 53 times

Re: Lexus GS450H VCU Support Thread

Post by PatrcioEV-ATX »

PatrcioEV-ATX wrote: Thu Sep 23, 2021 3:31 pm
celeron55 wrote: Sat Sep 11, 2021 3:09 am
PatrcioEV-ATX wrote: Thu Aug 26, 2021 7:47 pm Since my car doesn't have a CAN network, I'm using the other CAN on the VCU to send a custom message to include MPH (I've added that calc into my VCU software), Sensor.Voltage, Sensor.Amperes, Sensor.KW and mg2_speed. That info is received by a CAN Bus shield and sending it to an Arduino that is then serial and display printing the values.

Everything is working fine, but for some reason mg2speed just does not come through correctly. It's not at all accurate and jumps all over the place. The VCU sends it correctly to the webpage, and my MPH calc is steady and accurate. Any thoughts as to why it won't send over CAN correctly? From what I can tell from Damien's V7, he is using just the value of mg2_speed (other than some logic specific to his BMW).
.....

void Calc_MPH()
{
speedCalc=((abs(mg2_speed/1.9))/diff);
MPH=((speedCalc*60)/tireRpm);
}
mg2_speed is a larger value than what can fit into 8 bits. To keep it simple, just divide it by 100 or 50 when putting it into the message and multiply when receiving.

But you could split it into a low and high byte and go from there if you'd like to have all the resolution. Arduino has the lowByte and highByte functions for this, and for reconstructing the value on the receiving end, you can use word(highbytevariable, lowbytevariable).
Thanks, that is very helpful. What I ended up doing was a reverse calculation to get the RPM from the MPH value that I'm sending, but I'll give your method a try and see if that works. Really, I think either is fine for my needs.
BTW, I was finally able to get mg2_speed to send correctly over CAN by using lowByte and highByte. Took me a while to get the receiving bit right in the code, but works fine now. Thanks!
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/
User avatar
PatrcioEV-ATX
Posts: 181
Joined: Sun Dec 13, 2020 5:25 pm
Location: Austin, TX, USA
Has thanked: 40 times
Been thanked: 53 times

Re: Lexus GS450H VCU Support Thread

Post by PatrcioEV-ATX »

Battery protection in the VCU:

I think most electric cars will limit the available power as you get low on charge and eventually of course go "dead" at a voltage just over what could harm the batteries. I've instituted that in the web friendly V3 software if anyone is interested.

I added these:

#define TurtleVoltage 50
#define DeadVoltage 25
(these values are just for testing with my limited 60 volt bench power supply)

And in get_torque ( ):

if((gear==DRIVE)&&(Sensor.Voltage>TurtleVoltage))
ThrotVal = map(ThrotVal, parameters.Min_throttleVal, parameters.Max_throttleVal, 0, parameters.Max_Drive_Torque);
if((gear==DRIVE)&&(Sensor.Voltage<=TurtleVoltage))
ThrotVal = (map(ThrotVal, parameters.Min_throttleVal, parameters.Max_throttleVal, 0, parameters.Max_Drive_Torque)/2);
if((gear==DRIVE)&&(Sensor.Voltage<DeadVoltage))
ThrotVal = 0;


I am using the ISA shunt. That's where Sensor.Voltage is coming from.

This is ultimately going to get much more sophisticated because I will at some point institute regen and cruise control (based on code from smarter people than me).

Test/demo video: https://www.instagram.com/tv/CVglthXgJB ... copy_link
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/
User avatar
Gigas
Posts: 86
Joined: Mon Nov 09, 2020 6:30 pm

Re: Lexus GS450H VCU Support Thread

Post by Gigas »

Ok I'm slightly confused here - and maybe I just missed it but I plan on wiring up the connector and using the manual lever so I have a mechanical brake BUT these two diagrams are different in the wire schematic. The connector says pin 1 is drive but the but on the colored diagram 3 is drive? P is 3 on the connector and 1 on the colored wire diagram - what am I missing and do I just follow the connector? This is the LAST part of my wire diagram I need to wire and I can finally start testing this thing to get it spinning.
Capture.JPG

also I hooked up the resolvers to the transmission - does it matter which one goes to which on the transmission G and M resolver from the invertor?
What was I doing?
User avatar
catphish
Posts: 954
Joined: Fri Oct 08, 2021 11:02 pm
Location: Dorset, UK
Has thanked: 93 times
Been thanked: 179 times

Re: Lexus GS450H VCU Support Thread

Post by catphish »

For what it's worth, I think it makes more sense to use pins 6 and 9 (FWD and REV) instead or R and D. This way, you can use the momentary "B" position without it dropping into neutral.
User avatar
Gigas
Posts: 86
Joined: Mon Nov 09, 2020 6:30 pm

Re: Lexus GS450H VCU Support Thread

Post by Gigas »

catphish wrote: Fri Oct 29, 2021 6:52 pm For what it's worth, I think it makes more sense to use pins 6 and 9 (FWD and REV) instead or R and D. This way, you can use the momentary "B" position without it dropping into neutral.
do you mean you can just use a momentary push button and hit pin 6 or 9 with 12v for a second and it goes in drive or reverse till you select something else?
What was I doing?
User avatar
catphish
Posts: 954
Joined: Fri Oct 08, 2021 11:02 pm
Location: Dorset, UK
Has thanked: 93 times
Been thanked: 179 times

Re: Lexus GS450H VCU Support Thread

Post by catphish »

Gigas wrote: Fri Oct 29, 2021 8:01 pm do you mean you can just use a momentary push button and hit pin 6 or 9 with 12v for a second and it goes in drive or reverse till you select something else?
No, the gear selector has 5 positions: Park, Reverse, Neutral, Drive, B. "B" is special, unlike the others, it's momentary, when you let go of the lever it goes back to D. It's therefore useful as a switch to do something special, but you *probably* want the inverter to stay in forward more while it's engaged (not neutral).

Each of these 5 positions has wire that goes to 12v when it's selected, but there are 2 extra wires, "FWD" and "REV". FWD goes to 12v when either D or B are selected. REV is just the same as R.

In my project I'll be using FWD to put the inverter into forward, and REV to put the inverter into reverse. I'll be using B either to trigger a gear ratio change, or engage cruise control.

To clarify, this means that while using the momentary "B" position, the "B" and "FWD" wires will still be live, but D will not.
Bryson
Posts: 179
Joined: Sat Jan 25, 2020 6:22 am
Location: California
Has thanked: 1 time
Been thanked: 4 times

Re: Lexus GS450H VCU Support Thread

Post by Bryson »

I used FWD in my car as well, and I use B in my firmware to shift into low gear (it doesn’t have to be momentary if your setup doesn’t have a spring return). Works great
‘70 jag XJ6, GS450h drivetrain, 102s Tesla pack
User avatar
catphish
Posts: 954
Joined: Fri Oct 08, 2021 11:02 pm
Location: Dorset, UK
Has thanked: 93 times
Been thanked: 179 times

Re: Lexus GS450H VCU Support Thread

Post by catphish »

Bryson wrote: Sat Oct 30, 2021 5:22 am I used FWD in my car as well, and I use B in my firmware to shift into low gear (it doesn’t have to be momentary if your setup doesn’t have a spring return). Works great
Do you have the ratio selection working correctly? If so, can you share any specifics? I have an idea of how to do it, but any input would be appreciated.
Bryson
Posts: 179
Joined: Sat Jan 25, 2020 6:22 am
Location: California
Has thanked: 1 time
Been thanked: 4 times

Re: Lexus GS450H VCU Support Thread

Post by Bryson »

I only allow shifts at stop or very low torque, I wouldn’t say it’s ready for prime time. I basically just use it for doing burnouts..
‘70 jag XJ6, GS450h drivetrain, 102s Tesla pack
User avatar
Gigas
Posts: 86
Joined: Mon Nov 09, 2020 6:30 pm

Re: Lexus GS450H VCU Support Thread

Post by Gigas »

Ok I just need to confirm a few things as I finished pinning and wiring up everything - check my wires and put 60v to the invertor and got NOTHING! Very frustrating. I checked and double checked - I even ordered a new pedal and a 5k pot just to test things. When 12v is turned on I here a relay click in the transmission and can switch gear fine but I don't seem to be getting anything from the invertor. Is there a way to make sure my invertor is good? I'm at a loss right now as what to do - Just to make sure can you guys verify I have these labels on the plugs correct?


download (1).jpg
0618212332_2.jpg
What was I doing?
User avatar
PatrcioEV-ATX
Posts: 181
Joined: Sun Dec 13, 2020 5:25 pm
Location: Austin, TX, USA
Has thanked: 40 times
Been thanked: 53 times

Re: Lexus GS450H VCU Support Thread

Post by PatrcioEV-ATX »

Gigas wrote: Mon Nov 01, 2021 12:51 pm Ok I just need to confirm a few things as I finished pinning and wiring up everything - check my wires and put 60v to the invertor and got NOTHING! Very frustrating. I checked and double checked - I even ordered a new pedal and a 5k pot just to test things. When 12v is turned on I here a relay click in the transmission and can switch gear fine but I don't seem to be getting anything from the invertor. Is there a way to make sure my invertor is good? I'm at a loss right now as what to do - Just to make sure can you guys verify I have these labels on the plugs correct?



download (1).jpg0618212332_2.jpg
Those look correct. How are you getting power to those 12v lines? The Inverter Power (B, Pin 6) is for providing a ground to a relay. Also, in Park, the inverter will make no whine. Couple of thoughts:

* You should be able to connect your throttle to the VCU and get readings without being connected to the inverter at all. You can set min/max throttle and verify it's reading correctly.
* Make sure your CLK, REQ, HTM, and MTH connections between VCU and Inverter are correct.
* Make sure your resolver connections to the Inverter are correct.
* Do you have a common ground for Inverter and VCU? I'm not certain this is required, but it seems to resolve a lot of my accessory issues when I'm having problems.
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/
User avatar
Gigas
Posts: 86
Joined: Mon Nov 09, 2020 6:30 pm

Re: Lexus GS450H VCU Support Thread

Post by Gigas »

ground.JPG
That may be my issue as I didn't hook a relay to the B and B2 , as it looks like they where connected together and just connected to positive via the 10amp fuse
- so if I'm reading this right now B and B2 connect together and go to 5(87) on a relay - 2(85) and the relay goes positive via ignition switch - 3(30) goes to positive via 10amp fuze and 1(86) goes to pin 6 on the vcu.

-I'll recheck the throttle via the vcu when the new one comes in a day or so
-i'll double check all the connections
-does it matter where the resolvers are connected as there a gsn and msn and I'm not sure which goes to which on the transmission - also I don't have the temps wired up on the resovlers - not sure if that matters
- I have the ground of the vcu and the two grounds of the invertor connected to the same busbar then the negative of the 12v supply goes to that bussbar
What was I doing?
User avatar
PatrcioEV-ATX
Posts: 181
Joined: Sun Dec 13, 2020 5:25 pm
Location: Austin, TX, USA
Has thanked: 40 times
Been thanked: 53 times

Re: Lexus GS450H VCU Support Thread

Post by PatrcioEV-ATX »

Gigas wrote: Mon Nov 01, 2021 3:29 pm ground.JPGThat may be my issue as I didn't hook a relay to the B and B2 , as it looks like they where connected together and just connected to positive via the 10amp fuse
- so if I'm reading this right now B and B2 connect together and go to 5(87) on a relay - 2(85) and the relay goes positive via ignition switch - 3(30) goes to positive via 10amp fuze and 1(86) goes to pin 6 on the vcu.

-I'll recheck the throttle via the vcu when the new one comes in a day or so
-i'll double check all the connections
-does it matter where the resolvers are connected as there a gsn and msn and I'm not sure which goes to which on the transmission - also I don't have the temps wired up on the resovlers - not sure if that matters
- I have the ground of the vcu and the two grounds of the invertor connected to the same busbar then the negative of the 12v supply goes to that bussbar
I don't know that the relay is required, I was just making sure you weren't using Inverter Power as a positive 12volt. The temp wires go to the VCU and aren't really meaningful anyway (see previous discussion in this thread). They are just informational. Yes, the resolvers need to be right, but I honestly can't recall now how I determined which was which. I confirmed with my setup that switching the resolver connectors on the tranny will still allow the inverter to fire up and drive the motors (it'll just send the wrong values to each).

EDIT: E81 is Generator Resolver (MG1) and E82 is Motor Resolver (MG2)
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/
xp677
Posts: 435
Joined: Sat Jul 27, 2019 10:53 am
Location: UK
Has thanked: 1 time
Been thanked: 13 times

Re: Lexus GS450H VCU Support Thread

Post by xp677 »

The front resolver plug is for the front motor (MG1).
User avatar
Gigas
Posts: 86
Joined: Mon Nov 09, 2020 6:30 pm

Re: Lexus GS450H VCU Support Thread

Post by Gigas »

Looks like I have a dead inverter - I thought I saw somewhere on here that a guy bought a couple, repaired a part in the middle that would go bad, and then have a good unit again. I can't seem to find that post or what part that is. I'm getting no communication from the VCU and the inverter
What was I doing?
User avatar
PatrcioEV-ATX
Posts: 181
Joined: Sun Dec 13, 2020 5:25 pm
Location: Austin, TX, USA
Has thanked: 40 times
Been thanked: 53 times

Re: Lexus GS450H VCU Support Thread

Post by PatrcioEV-ATX »

Gigas wrote: Tue Nov 30, 2021 8:35 pm Looks like I have a dead inverter - I thought I saw somewhere on here that a guy bought a couple, repaired a part in the middle that would go bad, and then have a good unit again. I can't seem to find that post or what part that is. I'm getting no communication from the VCU and the inverter
Where are you? Maybe someone is close enough that they could take your inverter and plug it in to their set up. That would at least tell for sure if it is the inverter. These inverters aren't cheap in the states, so not a great solution to buy another unless you know for sure you need it.
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/
User avatar
Gigas
Posts: 86
Joined: Mon Nov 09, 2020 6:30 pm

Re: Lexus GS450H VCU Support Thread

Post by Gigas »

Im at NC/VA area but I don't see anyone near this area
What was I doing?
Locked