Prius Gen 3 Inverter Logic Board Support Thread
- TheSilverBuick
- Posts: 187
- Joined: Mon Jun 08, 2020 5:01 pm
- Location: Nevada, United States
- Has thanked: 3 times
- Been thanked: 2 times
Re: Prius Gen 3 Inverter Logic Board Support Thread
The motor whisperer.
Need to learn. Starting from the basics.
- 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
Success! FOC firmware working and have (some) throttle control.
Think it's just a tuning issue now, though some of this may also be connected to lack of juice. Motor doesn't spin until throttle depressed quite a way, and then starts to slow once it goes past about half way.
Anyway, this isn't a Gen3 inverter issue but thought I'd share that it's all working.
Think it's just a tuning issue now, though some of this may also be connected to lack of juice. Motor doesn't spin until throttle depressed quite a way, and then starts to slow once it goes past about half way.
Anyway, this isn't a Gen3 inverter issue but thought I'd share that it's all working.
-
- 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
is it normal to only have throttle input when the HV battery is connected? also after finally getting throttle input the motor still over currents, even after adding the updated firmware to change the current sensors.
- Jack Bauer
- Posts: 3644
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 9 times
- Been thanked: 288 times
- Contact:
Re: Prius Gen 3 Inverter Logic Board Support Thread
You need to follow the tuning process : https://openinverter.org/wiki/Using_FOC_Software
I'm going to need a hacksaw
-
- Posts: 116
- Joined: Sat Apr 18, 2020 4:23 am
- Location: Kentucky, USA
- Been thanked: 1 time
- 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
Been through this loop a few times now. End up with roughly the same values but still the same result. Maybe because of the lack of cooling? Or current limits? Not sure.Jack Bauer wrote: ↑Fri Jul 17, 2020 6:28 am You need to follow the tuning process : https://openinverter.org/wiki/Using_FOC_Software
Will keep playing.
- 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
Question on CANbus communication: looks like the termination resistor is on the board from the schematic. It doesn't need anything additional does it?
I have communication working between an Arduino and an ESP8266, both with MCP2515s. But when I disconnect one and hook it up to the inverter I don't get anything. I've tested for bad connections, configured the baud rate in the web interface, and mapped udc to CAN per the instructions on the wiki.
EDIT: Checked the resistance across high and low and got 80ohms with my (nearly) 120ohm resistor connected so guessing there is no resistor missing. Also tried sending it messages, which errored out.
I have communication working between an Arduino and an ESP8266, both with MCP2515s. But when I disconnect one and hook it up to the inverter I don't get anything. I've tested for bad connections, configured the baud rate in the web interface, and mapped udc to CAN per the instructions on the wiki.
EDIT: Checked the resistance across high and low and got 80ohms with my (nearly) 120ohm resistor connected so guessing there is no resistor missing. Also tried sending it messages, which errored out.
- Jack Bauer
- Posts: 3644
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 9 times
- Been thanked: 288 times
- Contact:
Re: Prius Gen 3 Inverter Logic Board Support Thread
Is the crystal for MCP2515 matching the software? 8 and 16MHz CAN modules are popular.bobby_come_lately wrote: ↑Sat Jul 18, 2020 1:12 pm Question on CANbus communication: looks like the termination resistor is on the board from the schematic. It doesn't need anything additional does it?
I have communication working between an Arduino and an ESP8266, both with MCP2515s. But when I disconnect one and hook it up to the inverter I don't get anything. I've tested for bad connections, configured the baud rate in the web interface, and mapped udc to CAN per the instructions on the wiki.
EDIT: Checked the resistance across high and low and got 80ohms with my (nearly) 120ohm resistor connected so guessing there is no resistor missing. Also tried sending it messages, which errored out.
- 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
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.
EDIT: That did it! Thank you.
Weird that it worked fine in the test with the same error though.
EDIT: That did it! Thank you.
- 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
Thoroughly enjoyed that. Interesting to see it topping out at around 50kw even in the acceleration burst on joining the motorway. Gives me faith my 60kw motor should be fine in a much smaller car.
-
- 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
Well here we go again, throttle, reads, started trying to tune the motor and once I started to turn the motor, wheels by hand the throttle pot jumped up and down, now I’ve double checked my wiring and I’m confused. I have no ideal what is going on.
-
- Posts: 1013
- Joined: Fri Apr 26, 2019 5:40 pm
- Has thanked: 392 times
- Been thanked: 258 times
Re: Prius Gen 3 Inverter Logic Board Support Thread
Take a video. post it, link it. Can do an unlisted video if you don't want it to mess up your youtube channel.Dylan Witt wrote: ↑Tue Jul 21, 2020 2:46 am Well here we go again, throttle, reads, started trying to tune the motor and once I started to turn the motor, wheels by hand the throttle pot jumped up and down, now I’ve double checked my wiring and I’m confused. I have no ideal what is going on.
If nothing else, the things you're not saying might be important or obvious.
And if not that, well, the rest of us can entertain ourselves by watching your failure. :p
-
- 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
So after getting some error I can’t explain and only setting Tmpm temp error, here is what I have.
-
- Posts: 1013
- Joined: Fri Apr 26, 2019 5:40 pm
- Has thanked: 392 times
- Been thanked: 258 times
Re: Prius Gen 3 Inverter Logic Board Support Thread
Hmm...
So, your throttle pot seems to be behaving correctly, but your potnom is erratic and just looks like background noise. I'm not sure what that means.
So, your throttle pot seems to be behaving correctly, but your potnom is erratic and just looks like background noise. I'm not sure what that means.
- 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
Board is equipped with socket for interlocks(two of them on the inverter). Is it mondatory those interlocks to be engaged for inverter operation?
-
- Posts: 1013
- Joined: Fri Apr 26, 2019 5:40 pm
- Has thanked: 392 times
- Been thanked: 258 times
Re: Prius Gen 3 Inverter Logic Board Support Thread
I believe so, yes, that's the point of them.konstantin8818 wrote: ↑Wed Jul 22, 2020 12:15 pm Board is equipped with socket for interlocks(two of them on the inverter). Is it mondatory those interlocks to be engaged for inverter operation?
Does Damien's board have them also?
-
- 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
I’m going to reinstall the connector and add electrical grease, then try again. This seems to be my only problem at the moment, other than tuning the motorkonstantin8818 wrote: ↑Wed Jul 22, 2020 12:15 pm Board is equipped with socket for interlocks(two of them on the inverter). Is it mondatory those interlocks to be engaged for inverter operation?
- 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
Well, this thread is about Damien's board, so my question was about it. It has socket, where interlock wires go, so I was wondering if board require those to be engaged to operate. For now I can't do anything about Inverter: job first, hobby secondMattsAwesomeStuff wrote: ↑Wed Jul 22, 2020 4:47 pmI believe so, yes, that's the point of them.konstantin8818 wrote: ↑Wed Jul 22, 2020 12:15 pm Board is equipped with socket for interlocks(two of them on the inverter). Is it mondatory those interlocks to be engaged for inverter operation?
Does Damien's board have them also?

-
- 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
I may have to check the interlocks and make sure they are all engaged
-
- 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
I updated the firmware, once again, and seems to have corrected all my problems, now I have a over current problem, smooth motor movement, but about five seconds of testing with software the motor wiring gets warm, and the inverter power wiring gets really warm, I would say a good hot summer day temperature, it warms my coolant up fast, software says motor phase one is 290amps, that’s just for five seconds of testing, what do I need to be changing? Uploading a video tomorrow to show what’s going on, low quality due to slow internet.
- 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
OK, finally got time to find schematics - this socket is not connected anywhere, so no need of it.konstantin8818 wrote: ↑Wed Jul 22, 2020 12:15 pm Board is equipped with socket for interlocks(two of them on the inverter). Is it mondatory those interlocks to be engaged for inverter operation?
Also a little question: this is a photo of STM on that famous smoked board: Two pins are bridged, is it OK, or I need to risk it with soldering iron to remove bridge?
-
- Posts: 656
- Joined: Sat Oct 05, 2019 6:50 pm
- Location: Northern California, USA
- Been thanked: 2 times
- Contact:
Re: Prius Gen 3 Inverter Logic Board Support Thread
If my pin1 reading is correct then you have bridged PA0 and PA1.
On the Rev2 board (Johannes' hardware) PA0 is the UVLO (or DESAT, can't tell which) and PA1 is the OC detect.
This board may or may not be the same. In any case bridges should usually come off anyways.
-Isaac
On the Rev2 board (Johannes' hardware) PA0 is the UVLO (or DESAT, can't tell which) and PA1 is the OC detect.
This board may or may not be the same. In any case bridges should usually come off anyways.
-Isaac
-
- 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
The same two pins on mine is bridged to, should I remove it before something happens? Remove the solder and see if that fixes any of my problems
- 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
On Damien's board PA1 is not used, and PA0 is MG2_UVLO_IN. And we all know that Damien's board is operational, so I guess it is not a problem.