Prius Gen2 adapter board development thread

Topics concerning the Toyota and Lexus inverter drop in boards
User avatar
johu
Site Admin
Posts: 6713
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 368 times
Been thanked: 1541 times
Contact:

Re: Prius Gen2 adapter board development thread

Post by johu »

Done :)

Some changes in pin assignment:
  1. GIVA - to level shifter 1
  2. MIVA - another input to level shifter 1
  3. GIWA - to level shifter 2
  4. MIVA - another input to level shifter 2
  5. VH - udc input
  6. MIVT - tmphs input
  7. MFIV - desat input
  8. CPWM - PWM2_N for charging
  9. MUU - PWM1
  10. MVU - PWM2
  11. MWU - PWM3
  12. GINV and GCNV and GND - ground everything here
  1. Encoder channel B/Resolver S3
  2. GND/Resolver center point S1S4
  3. Encoder channel A or single channel input/Resolver S2
  4. Resover excitation R1
  5. Resover excitation R2
  6. 5V output
  7. Throttle Input (0-3.3V)
  8. 2nd Throttle Input (0-3.3V)
  9. Start input (12V)
  10. Brake Input (12V)
  11. Forward (12V)
  12. Reverse (12V)
  13. Motor Temperature Input -
  14. Motor Temperature Input +
  15. DC contactor output
  16. Precharge Output
  17. CANL
  18. CANH
  19. GND
  20. 12V
I use the TDA2822 in bridge mode now, meaning it can do true bipolar output -> Can generate 9V p-p from 5V supply rail. And that means I could remove the boost converter. I also removed the over current comparator since the Prius HW takes care of that. ABZ encoder is no longer supported, don't know of anyone who ever used it.
The only unknown is the "MFIV" fault output from the inverter. Don't know yet what it outputs as "good" and "bad". Right now I'm assuming it outputs 12V for bad and 0V for good.
Attachments
prius-gen2-v1.0.png
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
User avatar
konstantin8818
Posts: 290
Joined: Sun Jan 19, 2020 2:33 pm
Location: Minsk, Belarus
Has thanked: 2 times
Been thanked: 8 times

Re: Prius Gen2 adapter board development thread

Post by konstantin8818 »

Jack Bauer wrote: Sun Mar 01, 2020 1:15 pm Can never have too many boards:)
...so already have got two and definitely going to buy third one :)
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: Thu Apr 30, 2020 7:06 pm The only unknown is the "MFIV" fault output from the inverter. Don't know yet what it outputs as "good" and "bad". Right now I'm assuming it outputs 12V for bad and 0V for good.
From the Prius manual...
MFIV.JPG
User avatar
johu
Site Admin
Posts: 6713
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 368 times
Been thanked: 1541 times
Contact:

Re: Prius Gen2 adapter board development thread

Post by johu »

SciroccoEV wrote: Thu Apr 30, 2020 7:35 pm From the Prius manual...
So it means
normal - 5.4V to 7.4V
abnormal - 2V to 3V

In other word <3V abnormal ?

Not a very nice logic level...
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: Thu Apr 30, 2020 8:15 pm In other word <3V abnormal ?

Not a very nice logic level...
I've found that the stated voltages don't necessarily match up with reality on the bench.
Perhaps they do when feeding impedance of the OEM ECU.
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 »

johu wrote: Thu Apr 30, 2020 7:06 pm Done :)
<<<<<<< = Much Drooling..... :D
Huebner VCU controlling a Gen2 Prius Inverter powering an MGR
"Talent is equally distributed but opportunity is not." - Leila Janah
RetroZero
Posts: 877
Joined: Tue Oct 29, 2019 2:48 pm
Location: France
Has thanked: 547 times
Been thanked: 53 times
Contact:

Re: Prius Gen2 adapter board development thread

Post by RetroZero »

Yes, much drooling. Awesome job (again) Johu! Will see locally how much to make up 5 (for testing), and delay times?
User avatar
johu
Site Admin
Posts: 6713
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 368 times
Been thanked: 1541 times
Contact:

Re: Prius Gen2 adapter board development thread

Post by johu »

Easy, easy :) will get some made at JLC and test them, then will publish the design.

Did a little testing on my inverter, with just 24V DC voltage. So 25mV per A of phase current is confirmed - measured 64A RMS with the clamp meter and getting 1.7V RMS on the sensor output. You can see it's not quite sinusoidal, I think thats because the inverter behaves weird at low sine amplitudes. Still hoping higher voltages to mitigate this.

MFIV signal is 7.2V indeed but I couldn't provoke over current with my worn out lead batteries ;)
Attachments
PriusCurrent.png
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
User avatar
johu
Site Admin
Posts: 6713
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 368 times
Been thanked: 1541 times
Contact:

Re: Prius Gen2 adapter board development thread

Post by johu »

I am about to order some parts. Can anyone tell me the part number of the 2-pole "inverter 12V power supply connector" (next to 32-pin signal plug):
Image
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
RetroZero
Posts: 877
Joined: Tue Oct 29, 2019 2:48 pm
Location: France
Has thanked: 547 times
Been thanked: 53 times
Contact:

Re: Prius Gen2 adapter board development thread

Post by RetroZero »

Sorry, looked from connecter I have with reference 11717. No luck, will check tomorrow again if no on can come to rescue
arber333
Posts: 3562
Joined: Mon Dec 24, 2018 1:37 pm
Location: Slovenia
Has thanked: 134 times
Been thanked: 335 times
Contact:

Re: Prius Gen2 adapter board development thread

Post by arber333 »

I recommend you search for them, but in the meantime you find some PVC material and cut and file it to shape. Then drill holes for bolts and two centraly positioned holes for two cables you intend to use. You glue/seal DC cables onto this plate by means of black auto glass sealant, of course on the inside. You get nice flat grommet secure from moisture etc.
I have done this many times and it can only be removed intentionally.
User avatar
johu
Site Admin
Posts: 6713
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 368 times
Been thanked: 1541 times
Contact:

Re: Prius Gen2 adapter board development thread

Post by johu »

Ah but you mean for the HV DC bus? I meant the little 12V input.
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 »

It's not exactly an expensive connector to replace, I'd just buy a matching plug and socket.
User avatar
konstantin8818
Posts: 290
Joined: Sun Jan 19, 2020 2:33 pm
Location: Minsk, Belarus
Has thanked: 2 times
Been thanked: 8 times

Re: Prius Gen2 adapter board development thread

Post by konstantin8818 »

SciroccoEV wrote: Fri May 01, 2020 6:57 pm It's not exactly an expensive connector to replace, I'd just buy a matching plug and socket.
My first thought exactly :) Why bother with OEM when you can replace it with any aftermarket. I consider I'm lucky to have piece of OEM harness with sealant.
Anyway I've got number 11717 on my connector, so google shows it correctly: 90980-11717
unnamed.jpg
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 »

post deleted
Huebner VCU controlling a Gen2 Prius Inverter powering an MGR
"Talent is equally distributed but opportunity is not." - Leila Janah
RetroZero
Posts: 877
Joined: Tue Oct 29, 2019 2:48 pm
Location: France
Has thanked: 547 times
Been thanked: 53 times
Contact:

Re: Prius Gen2 adapter board development thread

Post by RetroZero »

Good find Konstantin8818.
RetroZero
Posts: 877
Joined: Tue Oct 29, 2019 2:48 pm
Location: France
Has thanked: 547 times
Been thanked: 53 times
Contact:

Re: Prius Gen2 adapter board development thread

Post by RetroZero »

johu wrote: Fri May 01, 2020 12:47 pm Easy, easy :) will get some made at JLC and test them, then will publish the design.
Will leave you to it then. Just let me know when I too can become a proud member of an openinverter board 😉.. 😁
User avatar
konstantin8818
Posts: 290
Joined: Sun Jan 19, 2020 2:33 pm
Location: Minsk, Belarus
Has thanked: 2 times
Been thanked: 8 times

Re: Prius Gen2 adapter board development thread

Post by konstantin8818 »

johu wrote: Fri May 01, 2020 12:47 pm Easy, easy :) will get some made at JLC and test them, then will publish the design.
It's going to be a loooong waiting. My blue pills ordered from China lie somewhere for over one and a half month already :|
RetroZero
Posts: 877
Joined: Tue Oct 29, 2019 2:48 pm
Location: France
Has thanked: 547 times
Been thanked: 53 times
Contact:

Re: Prius Gen2 adapter board development thread

Post by RetroZero »

I have located another company, in my Town that does prototype pcb's. I know it will be 'expensive' compared with JLC, but I could ask around? However, if Johu prefers to have them built and tested through known channels, I understand too.
User avatar
Jack Bauer
Posts: 3661
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 10 times
Been thanked: 334 times
Contact:

Re: Prius Gen2 adapter board development thread

Post by Jack Bauer »

I have encountered no delays with JLC. about ten days for smd board builds.
I'm going to need a hacksaw
RetroZero
Posts: 877
Joined: Tue Oct 29, 2019 2:48 pm
Location: France
Has thanked: 547 times
Been thanked: 53 times
Contact:

Re: Prius Gen2 adapter board development thread

Post by RetroZero »

Thanks for info. 🙊
User avatar
konstantin8818
Posts: 290
Joined: Sun Jan 19, 2020 2:33 pm
Location: Minsk, Belarus
Has thanked: 2 times
Been thanked: 8 times

Re: Prius Gen2 adapter board development thread

Post by konstantin8818 »

Jack Bauer wrote: Sat May 02, 2020 6:52 am I have encountered no delays with JLC. about ten days for smd board builds.
Oh, that is a good news. We'll hope for the best.
RetroZero
Posts: 877
Joined: Tue Oct 29, 2019 2:48 pm
Location: France
Has thanked: 547 times
Been thanked: 53 times
Contact:

Re: Prius Gen2 adapter board development thread

Post by RetroZero »

I might have to go locking up a planet gear set whilst I await 'the cure'. Will post in the transaxle post as I go....
User avatar
konstantin8818
Posts: 290
Joined: Sun Jan 19, 2020 2:33 pm
Location: Minsk, Belarus
Has thanked: 2 times
Been thanked: 8 times

Re: Prius Gen2 adapter board development thread

Post by konstantin8818 »

RetroZero wrote: Mon May 04, 2020 7:25 am I might have to go locking up a planet gear set whilst I await 'the cure'. Will post in the transaxle post as I go....
"the cure" is a simple chunk of metal produced with the lathe. All you need is do some measurements maybe with a micrometer, and a good lathe operator. Unfortunately, I went by the way of MGR, and have got no free money to purchase prius gearabox to disassmle it. Yet I've got micrometer and a good lathe operator=)
User avatar
johu
Site Admin
Posts: 6713
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 368 times
Been thanked: 1541 times
Contact:

Re: Prius Gen2 adapter board development thread

Post by johu »

Order at JLCPCB placed :)
I have made some small changes: solder jumpers for optional encoder pull-up resistors (thanks Damien) and corrected inverter fault detection.
EDIT: and I created a logo 8-)
Attachments
Screenshot_2020-05-04 PCB Prototype - JLCPCB.png
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
Post Reply