[DRIVING] Project RX8 , Prius gen2, Lexus transaxle to rwd

Tell us about the project you do with the open inverter
Richerson
Posts: 17
Joined: Sat May 02, 2020 8:11 am
Location: Oxford
Has thanked: 77 times
Been thanked: 1 time
Contact:

Re: Project RX8 , Prius gen2, Lexus transaxle to rwd

Post by Richerson »

Great solution, and less noise.
User avatar
Ev8
Posts: 801
Joined: Sat Jan 30, 2021 11:05 am
Has thanked: 41 times
Been thanked: 149 times

Re: Project RX8 , Prius gen2, Lexus transaxle to rwd

Post by Ev8 »

I had some doubts about how well it would work, but testing showered me with high pressure atf so seems up to the job
User avatar
Ev8
Posts: 801
Joined: Sat Jan 30, 2021 11:05 am
Has thanked: 41 times
Been thanked: 149 times

Re: Project RX8 , Prius gen2, Lexus transaxle to rwd

Post by Ev8 »

At last i can no longer put off the control electronics!

Will the lack of availability of Modice enclosures and the fact I want to drive both mg1 and mg2 in this inverter I have squeezed 2 gen2 Prius boards into and old vw ecu housing
Attachments
FA17E40D-CBA1-4387-B38F-80842C9DF985.jpeg
46A71076-5C3D-4BF6-BDA3-2C281252898A.jpeg
User avatar
Ev8
Posts: 801
Joined: Sat Jan 30, 2021 11:05 am
Has thanked: 41 times
Been thanked: 149 times

Re: Project RX8 , Prius gen2, Lexus transaxle to rwd

Post by Ev8 »

I have also found resolver pin outs for the rx400 transaxle so that should help take the guesswork out of resolver wiring
Attachments
C60560C0-83F5-4E80-9BA9-E1847BB700E7.png
A12D8EA1-BD31-4924-8BAC-9EA84C7ED06C.png
User avatar
Ev8
Posts: 801
Joined: Sat Jan 30, 2021 11:05 am
Has thanked: 41 times
Been thanked: 149 times

Re: Project RX8 , Prius gen2, Lexus transaxle to rwd

Post by Ev8 »

Well a little testing with bits of inverter and motor on the smallest table possible has confirmed resolver wiring is good
Attachments
CDE2A8BD-B654-40A7-99F5-D51E0FE85146.jpeg
User avatar
Ev8
Posts: 801
Joined: Sat Jan 30, 2021 11:05 am
Has thanked: 41 times
Been thanked: 149 times

Re: Project RX8 , Prius gen2, Lexus transaxle to rwd

Post by Ev8 »

https://youtu.be/7AnE_7L9ZMk

I’ve had time to do most of the car wiring, up to a point where I could test/tune mg2, foc tuning with 2 motors on the same shaft seem more difficult, mg1 is currently disconnected at the phase wires but when performing foc tuning the area range of values between reserve rotation and forward is a lot I get from reverse rotation at 10a at 7000 and forward direction 10a at 14500 everything in between is no movement with 100a so I’ve set it to 10500 and it seems to behave well enough for some low speed testing, a little juddering when first setting off, I will tune further when I have a working cooling loop and power steering, please excuse the Rusty brakes and flat tyres the car has been neglected
User avatar
Ev8
Posts: 801
Joined: Sat Jan 30, 2021 11:05 am
Has thanked: 41 times
Been thanked: 149 times

Re: Project RX8 , Prius gen2, Lexus transaxle to rwd

Post by Ev8 »

A couple of other random pictures of recent things
454B020C-1C29-40BC-8098-FE1EE0712AA8.jpeg
Vacuum pump control circuit squeezed into the vcu case
D92DC2BC-C4B9-4C54-9EAD-002D651907F2.jpeg
Prius power switch for start signal and manual regen pot
User avatar
Ev8
Posts: 801
Joined: Sat Jan 30, 2021 11:05 am
Has thanked: 41 times
Been thanked: 149 times

Re: Project RX8 , Prius gen2, Lexus transaxle to rwd

Post by Ev8 »

A quick question for anyone interested, currently UDC is measured by mg2 vcu and this controls the contactors, mg2 vcu also takes the analog pot feeds which are mapped across can to mg1 vcu, this works fine however if I try to map across udc via can I get nothing.
I was reluctant to connect the vh pin on the inverter to both vcu as it might require some adjustment to the udc gain? But it not possible via can this is the way to go.
User avatar
Ev8
Posts: 801
Joined: Sat Jan 30, 2021 11:05 am
Has thanked: 41 times
Been thanked: 149 times

Re: Project RX8 , Prius gen2, Lexus transaxle to rwd

Post by Ev8 »

Ok interestingly with udc mapped over can from mg2 I can see if I plot udc on mg1 that the data is getting across because at random intervals the plot jumps to battery voltage, instead of the adc -84v the floating pin gives. I wonder if tieing that pin to ground would make a difference?
User avatar
Ev8
Posts: 801
Joined: Sat Jan 30, 2021 11:05 am
Has thanked: 41 times
Been thanked: 149 times

Re: Project RX8 , Prius gen2, Lexus transaxle to rwd

Post by Ev8 »

A little forum digging found the udc answer
https://openinverter.org/forum/viewtopic.php?t=1428
Useful info for anyone else wishing to run 2 boards/motors
I will connect the inverter vh pin to the mg1 vcu as well and report back if I need to rescale anything.
RetroZero
Posts: 702
Joined: Tue Oct 29, 2019 2:48 pm
Location: France
Has thanked: 311 times
Been thanked: 38 times
Contact:

Re: Project RX8 , Prius gen2, Lexus transaxle to rwd

Post by RetroZero »

Hmmm, so if there's no CAN and run the 2vcu's in parralel, there could be gain issues? Will await your findings.. I was thinking of putting diodes to all inputs running in parallel, with 'dummy relays' for precharge and dcsw on 2nd vcu.
User avatar
Ev8
Posts: 801
Joined: Sat Jan 30, 2021 11:05 am
Has thanked: 41 times
Been thanked: 149 times

Re: Project RX8 , Prius gen2, Lexus transaxle to rwd

Post by Ev8 »

Currently my set up is mg2 vcu does contactor control, takes analog pot inputs shares pots over can to mg1 vcu, all +12v logic inputs from the car ie, brake,start,forward,reverse are connected to both vcu, although have since discovered I could have shared this via can also.
I think I’m happy for mg1 vcu to have no influence over the contactors, if there’s an mg1 inverter fault condition it’ll shut down the igbts anyway it’ll be down to me to restart both vcu to reset. But I will let you know how that goes, gen2 inverters are cheap!
User avatar
Ev8
Posts: 801
Joined: Sat Jan 30, 2021 11:05 am
Has thanked: 41 times
Been thanked: 149 times

Re: Project RX8 , Prius gen2, Lexus transaxle to rwd

Post by Ev8 »

Also interesting side note syncof or rx400h mg2 also appears to be 10200 much like oth have found on the Prius
User avatar
Ev8
Posts: 801
Joined: Sat Jan 30, 2021 11:05 am
Has thanked: 41 times
Been thanked: 149 times

Re: Project RX8 , Prius gen2, Lexus transaxle to rwd

Post by Ev8 »

[media] [/media]

Mg2 only still but progress 3rd gear, conservative parameters, fmax300, throtcur3, throtramp10,

Needs further tuning on ramps as I get a lot of driveline clatter at slow speed when transitioning between throttle and regen,
RetroZero
Posts: 702
Joined: Tue Oct 29, 2019 2:48 pm
Location: France
Has thanked: 311 times
Been thanked: 38 times
Contact:

Re: Project RX8 , Prius gen2, Lexus transaxle to rwd

Post by RetroZero »

Nice going. Bravo to get the wheels turning!
User avatar
johu
Site Admin
Posts: 5682
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 153 times
Been thanked: 960 times
Contact:

Re: Project RX8 , Prius gen2, Lexus transaxle to rwd

Post by johu »

Nice! much of vibration was fixed in later firmwares, which one are you running?
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
User avatar
Ev8
Posts: 801
Joined: Sat Jan 30, 2021 11:05 am
Has thanked: 41 times
Been thanked: 149 times

Re: Project RX8 , Prius gen2, Lexus transaxle to rwd

Post by Ev8 »

I just updated to the 5.17 before this test yesterday, I think the issue is with physical slack in the driveline and to aggressive ramps currently, I exprerienced similar harsh chatter before with my dc motor before I got that dialed in better with software
User avatar
Ev8
Posts: 801
Joined: Sat Jan 30, 2021 11:05 am
Has thanked: 41 times
Been thanked: 149 times

Re: Project RX8 , Prius gen2, Lexus transaxle to rwd

Post by Ev8 »

So I’ve had a bit of time to tune mg2, and it’s getting close to drivable, I unfortunately have had one or 2 instances of unwanted regen and accelation, which have mostly been solved with tweaking syncofset (I had a 1000point wide deadband when foc tuning)

I’ve also run into what others have experienced with Prius motors and mgr’s in that torque falls flat past around 2500rpm, no amount of field weakening makes any difference, so I look forward to helping test alternative field weakening strategy
User avatar
Ev8
Posts: 801
Joined: Sat Jan 30, 2021 11:05 am
Has thanked: 41 times
Been thanked: 149 times

Re: Project RX8 , Prius gen2, Lexus transaxle to rwd

Post by Ev8 »

Side note for retro zero I have no issues paralleling the inverter vh pin into both vcu boards, no need to change scaling
RetroZero
Posts: 702
Joined: Tue Oct 29, 2019 2:48 pm
Location: France
Has thanked: 311 times
Been thanked: 38 times
Contact:

Re: Project RX8 , Prius gen2, Lexus transaxle to rwd

Post by RetroZero »

Thanks for that 👌
User avatar
Ev8
Posts: 801
Joined: Sat Jan 30, 2021 11:05 am
Has thanked: 41 times
Been thanked: 149 times

Re: Project RX8 , Prius gen2, Lexus transaxle to rwd

Post by Ev8 »

So I’m order to carry out more testing I needed to get the power steering and dash working without the original engine ecu, having discovered that I couldn’t use can messages straight from the open inverter board thanks to the way it sends 16 but values across 2 bytes being the opposite of what the car wants, I had to build a little arduino board to take messages from the vcu and on one can Id change the byte order and spit them back out on the id’s for the dash and power steering.

I also added a couple of small fets for driving things, such as switching on and off the auxiliary oil pump,

Placed it inside the case from the original ecu,
Attachments
16FBCD1C-AEF0-43C2-B383-375D9B4A2621.jpeg
User avatar
Ev8
Posts: 801
Joined: Sat Jan 30, 2021 11:05 am
Has thanked: 41 times
Been thanked: 149 times

Re: Project RX8 , Prius gen2, Lexus transaxle to rwd

Post by Ev8 »

Ps yes I know the power supply is overkill but I had it in the spares box
User avatar
Ev8
Posts: 801
Joined: Sat Jan 30, 2021 11:05 am
Has thanked: 41 times
Been thanked: 149 times

Re: Project RX8 , Prius gen2, Lexus transaxle to rwd

Post by Ev8 »

Thanks to some other code I found online it also takes can messages from the abs wheel speed sensors and drives the speedo as this function was also done by the engine ecu
RetroZero
Posts: 702
Joined: Tue Oct 29, 2019 2:48 pm
Location: France
Has thanked: 311 times
Been thanked: 38 times
Contact:

Re: Project RX8 , Prius gen2, Lexus transaxle to rwd

Post by RetroZero »

Nice. I got brakes working and bypassed converter. Still flat lines around 2500rpm..... Let's start testing...
User avatar
Ev8
Posts: 801
Joined: Sat Jan 30, 2021 11:05 am
Has thanked: 41 times
Been thanked: 149 times

Re: Project RX8 , Prius gen2, Lexus transaxle to rwd

Post by Ev8 »

Yep I should get to start tuning mg1 in the next week or so, I’ve been super busy at work
Post Reply