Prius Gen2 adapter board development thread

Topics concerning the Toyota and Lexus inverter drop in boards
User avatar
ZooKeeper
Posts: 507
Joined: Mon Mar 30, 2020 10:23 pm
Location: USA

Re: Prius Gen2 adapter board development thread

Post by ZooKeeper »

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.
Attachments
Screenshot5_2020-07-19 Huebner Inverter Management Console.png
User avatar
imwoody36
Posts: 92
Joined: Fri May 01, 2020 2:20 pm
Location: Scottsburg Indiana
Contact:

Re: Prius Gen2 adapter board development thread

Post by imwoody36 »

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
the priustoric boatcar guy
User avatar
imwoody36
Posts: 92
Joined: Fri May 01, 2020 2:20 pm
Location: Scottsburg Indiana
Contact:

Re: Prius Gen2 adapter board development thread

Post by imwoody36 »

zookeeper, what do you make of this gen 2 setup?
https://openinverter.org/wiki/Configura ... 2_Inverter

I noticed these numbers
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
}
so... we seem to have 3 choices for pwmfrg on the webinterface drop down menu. does this mean that selection 2 is the one?
the priustoric boatcar guy
User avatar
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

Post by johu »

Yes, 4.4kHz.
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
User avatar
imwoody36
Posts: 92
Joined: Fri May 01, 2020 2:20 pm
Location: Scottsburg Indiana
Contact:

Re: Prius Gen2 adapter board development thread

Post by imwoody36 »

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.
Attachments
black box.jpg
the priustoric boatcar guy
User avatar
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

Post by johu »

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
RetroZero
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

Post by RetroZero »

:x has to be someone who does it first.
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 😠.
User avatar
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

Post by johu »

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
User avatar
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

Post by SciroccoEV »

johu wrote: Mon Jul 20, 2020 2:17 pm Might want to invest in a lab power supply instead of powering logic from battery while testing. Wonder how I know?
Or at least put an incandescent light bulb in series as a current limiter/warning indicator.
RetroZero
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

Post by RetroZero »

yup, online order here we go.....
RetroZero
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

Post by RetroZero »

i'm assuming it's the same ref as V3 boards - LED 0603 GN ?
User avatar
imwoody36
Posts: 92
Joined: Fri May 01, 2020 2:20 pm
Location: Scottsburg Indiana
Contact:

Re: Prius Gen2 adapter board development thread

Post by imwoody36 »

20200720_113207.jpg
okay set pole pairs to 1 and it appears to me that there are 6 zero crossings.see the photo
does that mean.....what?
the priustoric boatcar guy
ascii-art
Posts: 9
Joined: Mon Jul 20, 2020 4:38 pm
Location: Sweden

Re: Prius Gen2 adapter board development thread

Post by ascii-art »

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
User avatar
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

Post by johu »

That would mean 6 pole pairs for both polepairs and respolepairs
ascii-art wrote: Mon Jul 20, 2020 4:44 pm This reverse engineering report might be useful. It says 8 poles for both MG1 and MG2 on pg. 10.
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
User avatar
imwoody36
Posts: 92
Joined: Fri May 01, 2020 2:20 pm
Location: Scottsburg Indiana
Contact:

Re: Prius Gen2 adapter board development thread

Post by imwoody36 »

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...
Attachments
20200720_135414.jpg
20200720_135359.jpg
20200720_135349.jpg
the priustoric boatcar guy
ascii-art
Posts: 9
Joined: Mon Jul 20, 2020 4:38 pm
Location: Sweden

Re: Prius Gen2 adapter board development thread

Post by ascii-art »

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
User avatar
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

Post by Jack Bauer »

So this idiot on youtube made a video that might help :

I'm going to need a hacksaw
RetroZero
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

Post by RetroZero »

😁 At least he didn't fry his control unit 😁
Off to electronics shop in next town to see what I can find tomorrow ... Idiot 😠
User avatar
imwoody36
Posts: 92
Joined: Fri May 01, 2020 2:20 pm
Location: Scottsburg Indiana
Contact:

Re: Prius Gen2 adapter board development thread

Post by imwoody36 »

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.)
Attachments
resolver photo.jpg
20200720_184038.jpg
20200720_184026.jpg
the priustoric boatcar guy
User avatar
ZooKeeper
Posts: 507
Joined: Mon Mar 30, 2020 10:23 pm
Location: USA

Re: Prius Gen2 adapter board development thread

Post by ZooKeeper »

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.
RetroZero
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

Post by RetroZero »

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 😠
User avatar
imwoody36
Posts: 92
Joined: Fri May 01, 2020 2:20 pm
Location: Scottsburg Indiana
Contact:

Re: Prius Gen2 adapter board development thread

Post by imwoody36 »

does it produce a web interface and does any" live" data show up?

do you have an oscilloscope?
the priustoric boatcar guy
RetroZero
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

Post by RetroZero »

Yes 'the web interface appears, but no data.
I don't have an oscilloscope however.
User avatar
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

Post by SciroccoEV »

RetroZero wrote: Tue Jul 21, 2020 5:05 pm Yes 'the web interface appears, but no data.
I don't have an oscilloscope however.
Have you selected auto update and refeshed?
RetroZero
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

Post by RetroZero »

No, I'll try. But Led next to smd doesn't light up...
Post Reply