Prius Gen 3 Inverter Logic Board Support Thread

Topics concerning the Toyota and Lexus inverter drop in boards
MattsAwesomeStuff
Posts: 898
Joined: Fri Apr 26, 2019 5:40 pm
Has thanked: 291 times
Been thanked: 177 times

Re: Prius Gen 3 Inverter Logic Board Support Thread

Post by MattsAwesomeStuff »

Lacking any other way to contribute, I at least collected timestamps to help people find sections faster:

Timestamps:
0:00 - Intro
4:00 - Purchasing Choice/Considerations
8:41 - SMT Assembly/Soldering
31:23 - Throughhole Assembly/Soldering
44:05 - Powerup Voltage Checks
46:14 - Software Installation/ST-Link/Wifi Install
49:00 - Inverter External Disassembly
1:03:58 - Damien Uses a Prybar
1:10:25 - Damien Singing to his Inverter
1:13:10 - Topless/Internal Disassembly
1:20:00 - Out With The Old/In With The New
1:27:25 - In The Next Episode

However, this shouldn't be buried 5 pages deep on a support thread. I suggest either a locked, or at least a heavily curated "Manual" thread. Which should link to Damien's webshop, the Github, the wiki page, etc. And which Damien should link back to from those places.
Martin1775
Posts: 43
Joined: Fri Nov 01, 2019 9:39 pm
Location: Ochtrup Germany

Re: Prius Gen 3 Inverter Logic Board Support Thread

Post by Martin1775 »

For the PIN15 issue, I've testing now after I got the motor running and disconnect PIN15. Now it runs. That are good news for building the board because it is realy tricky to connect a wire only on PIN15.
I don't know what in the past was the real problem, because in the meantime I do solder on the STM32 pins and changed the phases for the current measuring.

So Damien thank you very much for the remark.

That's a great video you done, for me it is sometimes a problem to wait for example when open the case for disconnecting of the glue and your video shows nice how to wait.
arber333
Posts: 3265
Joined: Mon Dec 24, 2018 1:37 pm
Location: Slovenia
Has thanked: 80 times
Been thanked: 234 times
Contact:

Re: Prius Gen 3 Inverter Logic Board Support Thread

Post by arber333 »

Whenever you are working to open any glued lids on automotive devices you need to go in between with a wide and thin screwdriver (I grinded one for this task) and twist handle a bit to lift one side and hold for the glue to release on that side. Repeat on each side and only then you can lever the lid. Otherwise you can damage the lid or screwdriver...
User avatar
jnsaff
Posts: 176
Joined: Fri Oct 18, 2019 7:42 am
Location: Tallinn, Estonia
Has thanked: 2 times
Been thanked: 8 times

Re: Prius Gen 3 Inverter Logic Board Support Thread

Post by jnsaff »

Also it helps a lot to have the inverter at room temperature. I tried at first in my garage at slightly above freezing and it was really hard to open it, after being indoors overnight it was much easier.
User avatar
Kevin Sharpe
Posts: 1345
Joined: Fri Dec 14, 2018 9:24 pm
Location: Ireland and US
Been thanked: 4 times

Re: Prius Gen 3 Inverter Logic Board Support Thread

Post by Kevin Sharpe »

Jack Bauer wrote: Fri May 15, 2020 7:31 pm Installation and setup manual part one :
This is fabulous Damien :D
This is a personal post and I disclaim all responsibility for any loss or damage which any person may suffer from reliance on the information and material in this post or any opinion, conclusion or recommendation in the information and material.
User avatar
konstantin8818
Posts: 287
Joined: Sun Jan 19, 2020 2:33 pm
Location: Minsk, Belarus
Been thanked: 5 times

Re: Prius Gen 3 Inverter Logic Board Support Thread

Post by konstantin8818 »

Hello there!
I've got a little question here. There is a deal I've got on my hands - gen 3 invereter for 20 euros, that is "just stopped working"...
I've googled some info about them and have found out that gen 3's IGBTs tend to burn the most of any generation. :? But, there are always photos like this:
1980611s-1920.jpg
And those are boost converter IGBTs.
115941_Power_Electronics.png
So correct me if I'm wrong, but there is no issues for usage of MG1 and MG2 power stages? Right?
User avatar
bobby_come_lately
Posts: 466
Joined: Sun May 03, 2020 5:39 am
Location: Manchester, UK
Has thanked: 37 times
Been thanked: 39 times
Contact:

Re: Prius Gen 3 Inverter Logic Board Support Thread

Post by bobby_come_lately »

arber333 wrote: Sat May 16, 2020 10:59 am Whenever you are working to open any glued lids on automotive devices you need to go in between with a wide and thin screwdriver (I grinded one for this task) and twist handle a bit to lift one side and hold for the glue to release on that side. Repeat on each side and only then you can lever the lid. Otherwise you can damage the lid or screwdriver...
After trying and failing with a few different screwdrivers, I used a broken kitchen knife and that worked perfectly. Obviously not everyone hoards broken stuff, but just sometimes it pays off.
Attachments
IMG_20200508_121547.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: Prius Gen 3 Inverter Logic Board Support Thread

Post by Jack Bauer »

So went to work on the M3 rear drive unit today with the prius inverter and foc firmware. Of course it didnt work as the Prius inverter has current sensors on Phases 1 and 3 not Phases 1 and 2 as required by the foc firmware. Sooo went poking around the firmware and made some changes :

Code: Select all

      if ((Param::GetInt(Param::pinswap) & SWAP_PWM) > 0)
      {
         timer_set_oc_value(PWM_TIMER, TIM_OC1, dc[0]);
         timer_set_oc_value(PWM_TIMER, TIM_OC2, dc[2]);
         timer_set_oc_value(PWM_TIMER, TIM_OC3, dc[1]);
         
Unless I'm missing something somewhere else this should make the pinswap swap phases 2 and 3 not phases 1 and 3. Here goes ....
Attachments
2020-05-21 11.21.23.jpg
2020-05-21 12.10.17.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: Prius Gen 3 Inverter Logic Board Support Thread

Post by Jack Bauer »

Yep that works. I can't seem to upload the bin so will wait for Johannes to do it properly:)
I'm going to need a hacksaw
Martin1775
Posts: 43
Joined: Fri Nov 01, 2019 9:39 pm
Location: Ochtrup Germany

Re: Prius Gen 3 Inverter Logic Board Support Thread

Post by Martin1775 »

The update to 4.85 didn't work for me via wifi, I had to use the stm programmer.
Since Johannes introduced a pinswap "prius" mode in the new software, I removed the intersection in the control, but unfortunately I was too hasty, it didn't work.
So I had to cross the control again so that the motor turns.
I can still manage a simple basic or pascal program, but at c I gave up. So I'm waiting for a finished software solution or continue to use my hardware solution.
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: Prius Gen 3 Inverter Logic Board Support Thread

Post by Jack Bauer »

Try this. Set pinswap to pwm1and3. It actually swaps 2 and 3.
Attachments
stm32_foc_priusg3.zip
(27.65 KiB) Downloaded 156 times
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: Prius Gen 3 Inverter Logic Board Support Thread

Post by Jack Bauer »

I'm going to need a hacksaw
paaa
Posts: 209
Joined: Fri Dec 06, 2019 8:59 pm
Location: Dublin & Kilkenny Ireland
Has thanked: 2 times
Been thanked: 11 times
Contact:

Re: Prius Gen 3 Inverter Logic Board Support Thread

Post by paaa »

Hi Damien I can model up the PCB holder /sealing unit and get it 3d printed this weekend if you send me dimension for the opening in the inverter and PCB. Ironically I bought the printer to make up the high voltage connector to seal around the brass HV lugs on my is300h inverter( I have HV orange filament).
User avatar
celeron55
Posts: 776
Joined: Thu Jul 04, 2019 3:04 pm
Location: Finland
Has thanked: 28 times
Been thanked: 110 times
Contact:

Re: Prius Gen 3 Inverter Logic Board Support Thread

Post by celeron55 »

Is there any need to connect the negative battery cable through the weird hole? I think you only need one brass post there to connect the positive and use Toyota's intended terminal for the negative.
MattsAwesomeStuff
Posts: 898
Joined: Fri Apr 26, 2019 5:40 pm
Has thanked: 291 times
Been thanked: 177 times

Re: Prius Gen 3 Inverter Logic Board Support Thread

Post by MattsAwesomeStuff »

I'm not using a Gen3, I'm using a Gen2, so I don't have quite as much immersion into this and might not make the correct wiki edits. But, trying to contribute, so:

Timestamps / Details / Notes below:

0:00 - Intro, DC/DC 12v overview
4:00 - Voltage limits, resistor swap theory
12:22 - Desoldering resistors
22:52 - Ampseal/Ribbon Adapter Board
33:03 - Installing Ampseal on Inverter
39:52 - Battery Connection
55:00 - Outro

On Resistors:

Replace 2 sets of 4 resistors: old 120kohm with new 210kohm (1%, 0.5W, 0805, Manufacturer part#: ERJP06F2103V Farnell #: 2326773 )

Top side: R629, R627, R625, R623
Bottom side: R630, R628, R626, R624

If you can't do this yourself, call up a mobile phone repair shop in your town and ask them, this is easy work for them to do.

Capacitors? On Auris, they're 350v caps. But on Prius Gen 3, capacitors are 400v. Damien is going to risk using them near 400v. See future videos if this works or not.

29:20 - Damien messed up, silkscreen tells you to put the notch backwards on this V1 version of the board. Notch should be upwards (towards ampseal pins).

49:21 - Battery is not connected to normal battery terminals. Battery terminal measurements. Cap: 20mm diameter across, 6mm head. Shank: Both 16mm diameter, one 30mm long, one 40mm long. Through-hole: 6.5mm diameter. Dimensions not critical, different shank length just to help avoid terminals accidentally shorting.
Alexstarex
Posts: 28
Joined: Mon Jan 13, 2020 1:53 pm
Location: Russia

Re: Prius Gen 3 Inverter Logic Board Support Thread

Post by Alexstarex »

Thank you for the video.
I look forward to every series with impatience. A lot of useful information.
p.s
Inside Aqua invertor - p165j350 and 156J35 capacitors
User avatar
konstantin8818
Posts: 287
Joined: Sun Jan 19, 2020 2:33 pm
Location: Minsk, Belarus
Been thanked: 5 times

Re: Prius Gen 3 Inverter Logic Board Support Thread

Post by konstantin8818 »

In wich format do you guys need a 3D model for a printing?
Снимок экрана (271).png
Снимок экрана (272).png
I believe for this design we gonna need 90 degrees angle ampseal connector and plate placed horizontally.

Attached archive with *.stl file. There is a little mistake on picture, it is corrected in 3D model in archive.
gen3 plate.zip
(17.78 KiB) Downloaded 125 times
User avatar
Kevin Sharpe
Posts: 1345
Joined: Fri Dec 14, 2018 9:24 pm
Location: Ireland and US
Been thanked: 4 times

Re: Prius Gen 3 Inverter Logic Board Support Thread

Post by Kevin Sharpe »

konstantin8818 wrote: Sat May 23, 2020 8:11 am In wich format do you guys need a 3D model for a printing?
Many thanks for sharing :)
This is a personal post and I disclaim all responsibility for any loss or damage which any person may suffer from reliance on the information and material in this post or any opinion, conclusion or recommendation in the information and material.
User avatar
konstantin8818
Posts: 287
Joined: Sun Jan 19, 2020 2:33 pm
Location: Minsk, Belarus
Been thanked: 5 times

Re: Prius Gen 3 Inverter Logic Board Support Thread

Post by konstantin8818 »

Also I want to point out that I might missed the sealant groove dimensions. If anybody who will print it and place a sealant inside, let me know if it is an misalignment. I'll correct it.
User avatar
Bigpie
Posts: 1595
Joined: Wed Apr 10, 2019 8:11 pm
Location: South Yorkshire, UK
Has thanked: 75 times
Been thanked: 304 times

Re: Prius Gen 3 Inverter Logic Board Support Thread

Post by Bigpie »

What's the voltage range with the resistor divider change? I'm assuming the lower threshold is increased?
VW Beetle 2003
Outlander front generator
Prius Gen 3 inverter (EVBMW logic board)
Outlander charger
3x Golf GTE batteries
Chademo Charging
Outlander water heater
User avatar
bobby_come_lately
Posts: 466
Joined: Sun May 03, 2020 5:39 am
Location: Manchester, UK
Has thanked: 37 times
Been thanked: 39 times
Contact:

Re: Prius Gen 3 Inverter Logic Board Support Thread

Post by bobby_come_lately »

Brilliant. Thanks Damien. Resistors ordered, along with a finer tip for my soldering iron, some of that TechSpray braid, and some tweezers.

Konstantin - thanks for that 3D model too - I was planning to do that but you've saved me a job!
User avatar
konstantin8818
Posts: 287
Joined: Sun Jan 19, 2020 2:33 pm
Location: Minsk, Belarus
Been thanked: 5 times

Re: Prius Gen 3 Inverter Logic Board Support Thread

Post by konstantin8818 »

This plate, I've designed is literally a plate of plastic. It can be fabficated with simple drill and dremel. Too bad, I've got no ampseal socket on hand, and If I order one abroad, it will arrive too late for design testing.
User avatar
bobby_come_lately
Posts: 466
Joined: Sun May 03, 2020 5:39 am
Location: Manchester, UK
Has thanked: 37 times
Been thanked: 39 times
Contact:

Re: Prius Gen 3 Inverter Logic Board Support Thread

Post by bobby_come_lately »

konstantin8818 wrote: Sat May 23, 2020 11:42 am This plate, I've designed is literally a plate of plastic. It can be fabficated with simple drill and dremel. Too bad, I've got no ampseal socket on hand, and If I order one abroad, it will arrive too late for design testing.
I have an Ampseal handy. I'll throw it on the printer now and let you know.
User avatar
konstantin8818
Posts: 287
Joined: Sun Jan 19, 2020 2:33 pm
Location: Minsk, Belarus
Been thanked: 5 times

Re: Prius Gen 3 Inverter Logic Board Support Thread

Post by konstantin8818 »

bobby_come_lately wrote: Sat May 23, 2020 12:04 pm I have an Ampseal handy. I'll throw it on the printer now and let you know.
Much appreciated!
User avatar
bobby_come_lately
Posts: 466
Joined: Sun May 03, 2020 5:39 am
Location: Manchester, UK
Has thanked: 37 times
Been thanked: 39 times
Contact:

Re: Prius Gen 3 Inverter Logic Board Support Thread

Post by bobby_come_lately »

Doh! I am, as we say here, a numpty. Printed it out and realised I only have the Ampseal plug - the socket hasn't arrived yet.

Anyway, it looks good in situ (assuming I have it the right way around?) and the plug matches up very well to the hole. As soon as the socket arrives I'll test that.
Attachments
IMG_20200523_162942.jpg
IMG_20200523_162914.jpg
IMG_20200523_162905.jpg
Locked