Prius Gen2 adapter board development thread
Re: Prius Gen2 adapter board development thread
I reverted to FOC 4.85.R for testing, no uac and no change, am not getting any output and no errors. If there were some errors, I would be inclined to tear the inverter apart, being there are none, I will try and simplify the wiring and re-try.
Re: Prius Gen2 adapter board development thread
you may reach out to me if you like,
we are on the same hardware and the same software
ive got motor movement, but we seem to have parameters issues.
812-820-5050
we are on the same hardware and the same software
ive got motor movement, but we seem to have parameters issues.
812-820-5050
the priustoric boatcar guy
Re: Prius Gen2 adapter board development thread
zookeeper, what do you make of this gen 2 setup?
https://openinverter.org/wiki/Configura ... 2_Inverter
I noticed these numbers
https://openinverter.org/wiki/Configura ... 2_Inverter
I noticed these numbers
so... we seem to have 3 choices for pwmfrg on the webinterface drop down menu. does this mean that selection 2 is the one?Toyota Prius Gen2 Inverter
Only inverter parameters
{
"pwmfrq": 2,
"pwmpol": 0,
"deadtime": 0,
"ocurlim": 100,
"minpulse": 1000,
"il1gain": 3.18,
"il2gain": 3.18,
"udcgain": 3.78,
"udcofs": 327,
"udclim": 540,
"snshs": 0
}
the priustoric boatcar guy
- johu
- Site Admin
- Posts: 6713
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 368 times
- Been thanked: 1542 times
- Contact:
Re: Prius Gen2 adapter board development thread
Yes, 4.4kHz.
You can see the translation from numbers to string here or by typing the "list" command in custom command
You can see the translation from numbers to string here or by typing the "list" command in custom command
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
Re: Prius Gen2 adapter board development thread
thank you Johu!
is there a link for the revised motor parameters with the version 4.85foc or is there anyone who has it working with a gen 2 prius transmission ( either mg1 or mg2)?
my resolver seems to show the best waveform when plotting angle on the web interface when I select 2 pole pars.
but my motor just jumps and hangs.
it seemed to get worse with the inverter parameters listed a few posts earlier but I left them as they are published by johu
I have tried different current and swapping phases in software.
am using 220 vdc
also..zookeeper I saw your youtube , I suggest something more robust than toyota prismatic cells for the 12volt supply like I have here.
is there a link for the revised motor parameters with the version 4.85foc or is there anyone who has it working with a gen 2 prius transmission ( either mg1 or mg2)?
my resolver seems to show the best waveform when plotting angle on the web interface when I select 2 pole pars.
but my motor just jumps and hangs.
it seemed to get worse with the inverter parameters listed a few posts earlier but I left them as they are published by johu
I have tried different current and swapping phases in software.
am using 220 vdc
also..zookeeper I saw your youtube , I suggest something more robust than toyota prismatic cells for the 12volt supply like I have here.
the priustoric boatcar guy
- johu
- Site Admin
- Posts: 6713
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 368 times
- Been thanked: 1542 times
- Contact:
Re: Prius Gen2 adapter board development thread
You need to be systematic about pole pairs, otherwise you are left with too many variables. Set both polepairs and respolepairs=1 and try to do a full motor revolution while plotting angle. How many times does angle go from 0 to 360?
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
-
- Posts: 880
- Joined: Tue Oct 29, 2019 2:48 pm
- Location: France
- Has thanked: 550 times
- Been thanked: 53 times
- Contact:
Re: Prius Gen2 adapter board development thread

Tried to clean up wiring before rechecking resolver and throttle wiring.
First, preharge wouldn't work anymore, and whilst testing the problem, I touched preharge signal from board to 12v.
Poof, no more Led. Very pissed off with myself. Hope that's 'all' I blew up
- johu
- Site Admin
- Posts: 6713
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 368 times
- Been thanked: 1542 times
- Contact:
Re: Prius Gen2 adapter board development thread
Might want to invest in a lab power supply instead of powering logic from battery while testing. Wonder how I know?
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
- SciroccoEV
- Posts: 370
- Joined: Thu Oct 10, 2019 1:50 pm
- Location: Luton UK
- Been thanked: 15 times
Re: Prius Gen2 adapter board development thread
Or at least put an incandescent light bulb in series as a current limiter/warning indicator.
-
- Posts: 880
- Joined: Tue Oct 29, 2019 2:48 pm
- Location: France
- Has thanked: 550 times
- Been thanked: 53 times
- Contact:
Re: Prius Gen2 adapter board development thread
i'm assuming it's the same ref as V3 boards - LED 0603 GN ?
Re: Prius Gen2 adapter board development thread
does that mean.....what?
the priustoric boatcar guy
Re: Prius Gen2 adapter board development thread
This reverse engineering report might be useful. It says 8 poles for both MG1 and MG2 on pg. 10.
Evaluation of 2004 Toyota Prius Hybrid Electric Drive System. Oak Ridge National Lab
https://info.ornl.gov/sites/publication ... b57399.pdf
Evaluation of 2004 Toyota Prius Hybrid Electric Drive System. Oak Ridge National Lab
https://info.ornl.gov/sites/publication ... b57399.pdf
- johu
- Site Admin
- Posts: 6713
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 368 times
- Been thanked: 1542 times
- Contact:
Re: Prius Gen2 adapter board development thread
That would mean 6 pole pairs for both polepairs and respolepairs

And that would mean 4. Now what

Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
Re: Prius Gen2 adapter board development thread
I tried 4 and 6 , motor does try to spin, does hum, and does not jump off the table.
im using under 10 and usually under 3 for the manualID.
guess i can try 8...
im using under 10 and usually under 3 for the manualID.
guess i can try 8...
the priustoric boatcar guy
Re: Prius Gen2 adapter board development thread
Here's a detailed disassembly report that includes pictures of the rotor - Figures 4 &9. Looks like 8 magnets / 4 pole pairs.
REPORT ON TOYOTA/PRIUS MOTOR DESIGN AND MANUFACTURING ASSESSMENT. Oak Ridge National Lab 2004
https://info.ornl.gov/sites/publication ... b57348.pdf
REPORT ON TOYOTA/PRIUS MOTOR DESIGN AND MANUFACTURING ASSESSMENT. Oak Ridge National Lab 2004
https://info.ornl.gov/sites/publication ... b57348.pdf
- Jack Bauer
- Posts: 3661
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 10 times
- Been thanked: 335 times
- Contact:
Re: Prius Gen2 adapter board development thread
So this idiot on youtube made a video that might help :
I'm going to need a hacksaw
-
- Posts: 880
- Joined: Tue Oct 29, 2019 2:48 pm
- Location: France
- Has thanked: 550 times
- Been thanked: 53 times
- Contact:
Re: Prius Gen2 adapter board development thread
Off to electronics shop in next town to see what I can find tomorrow ... Idiot
Re: Prius Gen2 adapter board development thread
I notice that my angle plot is a modulated sine with 6 zero crossings in one revolution, but in Damiens youtube video at time 17:23 his is a nice sawtooth.
most information including the oak ridge report linked above and the youtube comments seem to agree there are 4 pole pairs for the prius mg2.
but I believe I saw damiens pole pairs was set to 2 and resolver set to 1 at time 21:37
these photos show that mg1 and mg2 resolvers are the same. I have just taken apart a gen2 transmission.
and you can also see there are 48 sections to the motor and 14 sections ( slots) to the resolver.
im wondering how 6 goes into 14....but both are divisible by 2 ( his pole pair setting.)
most information including the oak ridge report linked above and the youtube comments seem to agree there are 4 pole pairs for the prius mg2.
but I believe I saw damiens pole pairs was set to 2 and resolver set to 1 at time 21:37
these photos show that mg1 and mg2 resolvers are the same. I have just taken apart a gen2 transmission.
and you can also see there are 48 sections to the motor and 14 sections ( slots) to the resolver.
im wondering how 6 goes into 14....but both are divisible by 2 ( his pole pair setting.)
the priustoric boatcar guy
Re: Prius Gen2 adapter board development thread
Is there any way to validate PWM output from the VCU using typical tools like resistors, LED, lamps, multi-meters, etc? After my melting insulation event, my motor has not turned or even tried. While I see and smell no evidence of damage to any component of the inverter or VCU, there is no measurable output on the 3ph wires as I had before.
Need to figure out which side is not working, or both. With the inverter and VCU connected as designed; a LED connected between 12v and MVU thru a resistor results in it being on, but dimly with no change in brightness regardless of VCU settings.
Need to figure out which side is not working, or both. With the inverter and VCU connected as designed; a LED connected between 12v and MVU thru a resistor results in it being on, but dimly with no change in brightness regardless of VCU settings.
-
- Posts: 880
- Joined: Tue Oct 29, 2019 2:48 pm
- Location: France
- Has thanked: 550 times
- Been thanked: 53 times
- Contact:
Re: Prius Gen2 adapter board development thread
If anyone has nothing better to do than play with their new boards, I'm trying to narrow down what I fried. Since Johannes is on holiday, I am hoping to localise the problem and repair it myself....
I have PWR led on permanently and was hoping to test 'though hole points' in the first instance. Maybe it would narrow down my fault....
The 2 through holes next to 'stm' led have 0volts when powered up.
I have 0,3v on led point closest to R32 and zero the other side.
I really hope I haven't damaged STM
I have PWR led on permanently and was hoping to test 'though hole points' in the first instance. Maybe it would narrow down my fault....
The 2 through holes next to 'stm' led have 0volts when powered up.
I have 0,3v on led point closest to R32 and zero the other side.
I really hope I haven't damaged STM
Re: Prius Gen2 adapter board development thread
does it produce a web interface and does any" live" data show up?
do you have an oscilloscope?
do you have an oscilloscope?
the priustoric boatcar guy
-
- Posts: 880
- Joined: Tue Oct 29, 2019 2:48 pm
- Location: France
- Has thanked: 550 times
- Been thanked: 53 times
- Contact:
Re: Prius Gen2 adapter board development thread
Yes 'the web interface appears, but no data.
I don't have an oscilloscope however.
I don't have an oscilloscope however.
- SciroccoEV
- Posts: 370
- Joined: Thu Oct 10, 2019 1:50 pm
- Location: Luton UK
- Been thanked: 15 times
-
- Posts: 880
- Joined: Tue Oct 29, 2019 2:48 pm
- Location: France
- Has thanked: 550 times
- Been thanked: 53 times
- Contact:
Re: Prius Gen2 adapter board development thread
No, I'll try. But Led next to smd doesn't light up...