Prius Gen 3 Inverter Logic Board Support Thread
-
- Posts: 1013
- Joined: Fri Apr 26, 2019 5:40 pm
- Has thanked: 390 times
- Been thanked: 258 times
Re: Prius Gen 3 Inverter Logic Board Support Thread
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.
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.
-
- Posts: 43
- Joined: Fri Nov 01, 2019 9:39 pm
- Location: Ochtrup Germany
Re: Prius Gen 3 Inverter Logic Board Support Thread
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.
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.
-
- Posts: 3554
- Joined: Mon Dec 24, 2018 1:37 pm
- Location: Slovenia
- Has thanked: 131 times
- Been thanked: 330 times
- Contact:
Re: Prius Gen 3 Inverter Logic Board Support Thread
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...
- jnsaff
- Posts: 179
- Joined: Fri Oct 18, 2019 7:42 am
- Location: Tallinn, Estonia
- Has thanked: 3 times
- Been thanked: 8 times
Re: Prius Gen 3 Inverter Logic Board Support Thread
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.
- Kevin Sharpe
- Posts: 1345
- Joined: Fri Dec 14, 2018 9:24 pm
- Location: Ireland and US
- Been thanked: 8 times
Re: Prius Gen 3 Inverter Logic Board Support Thread
This is fabulous Damien

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.
- konstantin8818
- Posts: 290
- Joined: Sun Jan 19, 2020 2:33 pm
- Location: Minsk, Belarus
- Has thanked: 2 times
- Been thanked: 8 times
Re: Prius Gen 3 Inverter Logic Board Support Thread
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:
And those are boost converter IGBTs.
So correct me if I'm wrong, but there is no issues for usage of MG1 and MG2 power stages? Right?
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.

- bobby_come_lately
- Posts: 467
- Joined: Sun May 03, 2020 5:39 am
- Location: Manchester, UK
- Has thanked: 41 times
- Been thanked: 40 times
- Contact:
Re: Prius Gen 3 Inverter Logic Board Support Thread
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.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...
- Jack Bauer
- Posts: 3639
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 9 times
- Been thanked: 274 times
- Contact:
Re: Prius Gen 3 Inverter Logic Board Support Thread
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 :
Unless I'm missing something somewhere else this should make the pinswap swap phases 2 and 3 not phases 1 and 3. Here goes ....
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]);
I'm going to need a hacksaw
- Jack Bauer
- Posts: 3639
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 9 times
- Been thanked: 274 times
- Contact:
Re: Prius Gen 3 Inverter Logic Board Support Thread
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
-
- Posts: 43
- Joined: Fri Nov 01, 2019 9:39 pm
- Location: Ochtrup Germany
Re: Prius Gen 3 Inverter Logic Board Support Thread
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.
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.
- Jack Bauer
- Posts: 3639
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 9 times
- Been thanked: 274 times
- Contact:
Re: Prius Gen 3 Inverter Logic Board Support Thread
Try this. Set pinswap to pwm1and3. It actually swaps 2 and 3.
- Attachments
-
- stm32_foc_priusg3.zip
- (27.65 KiB) Downloaded 372 times
I'm going to need a hacksaw
- Jack Bauer
- Posts: 3639
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 9 times
- Been thanked: 274 times
- Contact:
-
- Posts: 210
- Joined: Fri Dec 06, 2019 8:59 pm
- Location: Dublin & Kilkenny Ireland
- Has thanked: 2 times
- Been thanked: 13 times
- Contact:
Re: Prius Gen 3 Inverter Logic Board Support Thread
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).
- celeron55
- Posts: 803
- Joined: Thu Jul 04, 2019 3:04 pm
- Location: Finland
- Has thanked: 38 times
- Been thanked: 135 times
- Contact:
Re: Prius Gen 3 Inverter Logic Board Support Thread
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.
-
- Posts: 1013
- Joined: Fri Apr 26, 2019 5:40 pm
- Has thanked: 390 times
- Been thanked: 258 times
Re: Prius Gen 3 Inverter Logic Board Support Thread
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.
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.
-
- Posts: 28
- Joined: Mon Jan 13, 2020 1:53 pm
- Location: Russia
Re: Prius Gen 3 Inverter Logic Board Support Thread
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
I look forward to every series with impatience. A lot of useful information.
p.s
Inside Aqua invertor - p165j350 and 156J35 capacitors
- konstantin8818
- Posts: 290
- Joined: Sun Jan 19, 2020 2:33 pm
- Location: Minsk, Belarus
- Has thanked: 2 times
- Been thanked: 8 times
Re: Prius Gen 3 Inverter Logic Board Support Thread
In wich format do you guys need a 3D model for a printing?
Attached archive with *.stl file. There is a little mistake on picture, it is corrected in 3D model in archive.
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.
- Kevin Sharpe
- Posts: 1345
- Joined: Fri Dec 14, 2018 9:24 pm
- Location: Ireland and US
- Been thanked: 8 times
Re: Prius Gen 3 Inverter Logic Board Support Thread
Many thanks for sharingkonstantin8818 wrote: ↑Sat May 23, 2020 8:11 am In wich format do you guys need a 3D model for a printing?

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.
- konstantin8818
- Posts: 290
- Joined: Sun Jan 19, 2020 2:33 pm
- Location: Minsk, Belarus
- Has thanked: 2 times
- Been thanked: 8 times
Re: Prius Gen 3 Inverter Logic Board Support Thread
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.
- Bigpie
- Posts: 1757
- Joined: Wed Apr 10, 2019 8:11 pm
- Location: South Yorkshire, UK
- Has thanked: 80 times
- Been thanked: 410 times
Re: Prius Gen 3 Inverter Logic Board Support Thread
What's the voltage range with the resistor divider change? I'm assuming the lower threshold is increased?
BMW E91 2006
ZombieVerter
GS450h
Outlander Charger DC/DC
Renault Kangoo 36kWh battery
FOCCCI CCS
ZombieVerter
GS450h
Outlander Charger DC/DC
Renault Kangoo 36kWh battery
FOCCCI CCS
- bobby_come_lately
- Posts: 467
- Joined: Sun May 03, 2020 5:39 am
- Location: Manchester, UK
- Has thanked: 41 times
- Been thanked: 40 times
- Contact:
Re: Prius Gen 3 Inverter Logic Board Support Thread
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!
Konstantin - thanks for that 3D model too - I was planning to do that but you've saved me a job!
- konstantin8818
- Posts: 290
- Joined: Sun Jan 19, 2020 2:33 pm
- Location: Minsk, Belarus
- Has thanked: 2 times
- Been thanked: 8 times
Re: Prius Gen 3 Inverter Logic Board Support Thread
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.
- bobby_come_lately
- Posts: 467
- Joined: Sun May 03, 2020 5:39 am
- Location: Manchester, UK
- Has thanked: 41 times
- Been thanked: 40 times
- Contact:
Re: Prius Gen 3 Inverter Logic Board Support Thread
I have an Ampseal handy. I'll throw it on the printer now and let you know.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.
- konstantin8818
- Posts: 290
- Joined: Sun Jan 19, 2020 2:33 pm
- Location: Minsk, Belarus
- Has thanked: 2 times
- Been thanked: 8 times
Re: Prius Gen 3 Inverter Logic Board Support Thread
Much appreciated!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.
- bobby_come_lately
- Posts: 467
- Joined: Sun May 03, 2020 5:39 am
- Location: Manchester, UK
- Has thanked: 41 times
- Been thanked: 40 times
- Contact:
Re: Prius Gen 3 Inverter Logic Board Support Thread
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.
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.