Prius Gen 3 Inverter Logic Board Support Thread

Topics concerning the Toyota and Lexus inverter drop in boards
Locked
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: Sun Jul 26, 2020 9:13 am Did you see my designs over here Konstantin? This works well.
viewtopic.php?f=14&t=836
Yes, your plate looks like my second design, when I added offset to add up integrity, because flat plate being bent by gasket . I have no 3D printer, yet I've got some 5 mm thick bakelite and textolite, and some instruments 8-)
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 »

Jack Bauer wrote: Fri Jul 24, 2020 6:41 am DO NOT remove the solder blob. I love the way people have such little faith in me. Those 2 pins are meant to be connected.
Will this bridge present on every board you ship? If yes, I'll add picture to wiki for other watchful customers :mrgreen:
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 »

No its fixed now.
I'm going to need a hacksaw
Dylan Witt
Posts: 116
Joined: Sat Apr 18, 2020 4:23 am
Location: Kentucky, USA
Been thanked: 1 time

Re: Prius Gen 3 Inverter Logic Board Support Thread

Post by Dylan Witt »

Does anyone know what everything means on the FOC web interface? Like the description of like tmpm I know this is temperature of the motor, but like the other stuff i can’t really figure out, this would help me tune the motor better. I have no ideal what it means.
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 »

Dylan Witt wrote: Tue Jul 28, 2020 5:36 pm Does anyone know what everything means on the FOC web interface? Like the description of like tmpm I know this is temperature of the motor, but like the other stuff i can’t really figure out, this would help me tune the motor better. I have no ideal what it means.
Not watched the video yet but have you seen this on the Wiki? https://openinverter.org/wiki/Parameters

Between that and the (very short) FOC setup guide it seems to cover the key ones that you might need to change.

Are you getting a clean signal out of your resolver?
Dylan Witt
Posts: 116
Joined: Sat Apr 18, 2020 4:23 am
Location: Kentucky, USA
Been thanked: 1 time

Re: Prius Gen 3 Inverter Logic Board Support Thread

Post by Dylan Witt »

Smooth signal, as far as I can tell, yeah the wiki doesn’t go into detail to better explain things to me, completely new to this, I’ve researched for awhile before even attempting the conversion, then got a hold of a gen three inverter and decided to buy the board for it, although I have a Lexus is300h inverter, plus a gen two inverter to play with, I bought the control board for the gen three because of the availability and plug and play setup
Dylan Witt
Posts: 116
Joined: Sat Apr 18, 2020 4:23 am
Location: Kentucky, USA
Been thanked: 1 time

Re: Prius Gen 3 Inverter Logic Board Support Thread

Post by Dylan Witt »

has anyone ever had one of those moments where you suddenly understand something? well either someone is helping me understand the openinverter software or i have over looked everything on the WIKI motor parameters, now since i know i have several things to change on my motor i should have it responding better to throttle input and not over amp-ing. lets see if this will run. going outside in a moment to try the settings again.
Isaac96
Posts: 656
Joined: Sat Oct 05, 2019 6:50 pm
Location: Northern California, USA
Been thanked: 1 time
Contact:

Re: Prius Gen 3 Inverter Logic Board Support Thread

Post by Isaac96 »

Awesome! Let's hope it works better :)
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 »

Question about flashing the bootloader on the Atmega328P. Just hooked up an Arduino Uno to the board via the ICSP pins and tried burning a bootloader but got an error of 'Invalid Device Signature'.

Do I need to add a specific board profile or should the Nano/Duemilanove board setting (ones with a 328P) work?

Ta.
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 have always struggled with burning bootloaders on non arduino manufactured boards. What I use is an ATMEL ICE programmer and atmel studio to manually set the required fuses then manually burn the bootloader to memory. Pain in the neck but its the only thing that works reliably for me.
I'm going to need a hacksaw
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 »

I've also struggled with the bootloader on Atmega, only have Uno for ISP or USBTinyASP. I've got the nuclear option at the ready with a new chip with the bootloader already on it if all else fails.

Does the ICE programmer use the 12v reset to set the fuses?
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
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 »

OK, I've got a little package from RS components(they send to Belarus :D ) Few connectors and AMPSEAL 35 way socket.
I've soldered it to V1C adapter plate. One thing I didn't get is "notch position". It makes no sense. IDC plug always have first contact at a bottom no matter how you flip it. So all you need is to connect that ribbon cable to IDC plug so it remain straight, not twisted. And IDC connector being at the bottom and AMPSEAL 35 way connector at the top :?:
20200801_174307.jpg
Anyway, there is no room for adapter plate with connectors attached inside the inverter. So anyone who willing to use AMPSEAL connector and install it correctly(so inverter case remain sealed) will need to use adapter plate housing, with outward offset. Because flush housing is "no-go" as well.
Also IDC header on the control board is placed with little offset to the right if you watch at it from outside.
20200801_165335.jpg
To prevent damage of ribbon cable, I've added this right offset to a new housing design.
The only thing you need to do is to grind off two angles 5x5mm on the right side of the adapter plate
20200801_174658.jpg
This is needed to be able to place some silicone gasket to maintain sealing.
Снимок экрана (311).png
Снимок экрана (312).png
As before, design must be checked, but I've got no 3D printer. :|
STL model attached in ZIP file:
gen3 plate V1С.zip
(128.67 KiB) Downloaded 72 times
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 »

This looks really nice but I'm confused! The one I knocked up with a second plate behind it fits perfectly? And you don't need to cut the adaptor plate. You could add some ridges/valleys to that for extra sealing but other than that I don't see the advantage of this design?
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: Sun Aug 02, 2020 9:20 am This looks really nice but I'm confused! The one I knocked up with a second plate behind it fits perfectly? And you don't need to cut the adaptor plate. You could add some ridges/valleys to that for extra sealing but other than that I don't see the advantage of this design?
I've tried to fit it in the middle and ribbon cable was bending sideways, maybe it is because it is too short, if you make it longer and set so it form a loop, it won't bend. As I've said earlier I have got no 3d printer to be 100% sure about this designs.
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 »

konstantin, have you tried adding a bootloader to the ATMEGA yet? Any chance you could document your steps if you do?
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
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 »

Bigpie wrote: Sun Aug 02, 2020 1:29 pm konstantin, have you tried adding a bootloader to the ATMEGA yet? Any chance you could document your steps if you do?
Not yet, is there firmware for charger available already? I'm not interested in charging for now, I need to make motor control work at first. Haven't got much free time for now, need to work to be able to buy lithium ;)
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 »

There's some software by celeron555 for charging, but I've used it as a base for some software to buck/boost as required to enable the DC DC without resistor mod, but I'm struggling with getting a boot loader on there to test it, I only have a 72v pack while I'm playing around.
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 »

konstantin8818 wrote: Sun Aug 02, 2020 11:18 am
bobby_come_lately wrote: Sun Aug 02, 2020 9:20 am This looks really nice but I'm confused! The one I knocked up with a second plate behind it fits perfectly? And you don't need to cut the adaptor plate. You could add some ridges/valleys to that for extra sealing but other than that I don't see the advantage of this design?
I've tried to fit it in the middle and ribbon cable was bending sideways, maybe it is because it is too short, if you make it longer and set so it form a loop, it won't bend. As I've said earlier I have got no 3d printer to be 100% sure about this designs.
Gotcha - my ribbon cable is perhaps too long but does loop nicely so doesn't foul the inside.
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 »

What is normal current consumption for the board itself without any load? That smoked board consumes 1,7A from 11V power supply. It also makes audible whining noise with its capacitors. Is it normal?
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. at 11v it will consume a bit more that at say 14v due to switching psus. Remember you are also running the Toyota gate drive power supplies. when pwm comes on expect about 2amps.
I'm going to need a hacksaw
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 »

Thank you! Now I know why my little lipo battery suddenly died when I tried to start PWM. :mrgreen:
Anyway, I've tested the smoked board and the smoked Inverter with two motors at once, and surprisingly they worked. Expectedly mg1 span weaker then mg2
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 »

Sweet. Seems even blowing up the inverter around it wasnt enough to kill a JLCPCB board:)
I'm going to need a hacksaw
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 »

Jack Bauer wrote: Tue Aug 04, 2020 2:33 pm Sweet. Seems even blowing up the inverter around it wasnt enough to kill a JLCPCB board:)
Honestly, that wasn't smoke that scared me the most, but this moment did:
Снимок экрана (315).png
User avatar
TheSilverBuick
Posts: 187
Joined: Mon Jun 08, 2020 5:01 pm
Location: Nevada, United States
Has thanked: 3 times
Been thanked: 1 time

Re: Prius Gen 3 Inverter Logic Board Support Thread

Post by TheSilverBuick »

LoL, same! Awesome to see it working.
Need to learn. Starting from the basics.
PatrykS
Posts: 38
Joined: Mon Jan 06, 2020 11:22 pm
Been thanked: 1 time

Re: Prius Gen 3 Inverter Logic Board Support Thread

Post by PatrykS »

bobby_come_lately wrote: Sat Jul 18, 2020 5:45 pm Good shout @PatrykS - it is indeed 16MHz in software and 8MHz crystal. Will tweak and test again.

Weird that it worked fine in the test with the same error though.
When error is the same in Arduino and ESP they communicate well with each other, but with half the speed - 250kbps. Problem arises when one of them is trying to communicate with some real 500kbps device :-)
bobby_come_lately wrote: Sat Jul 18, 2020 5:45 pm EDIT: That did it! Thank you.
Great :-)
Locked