Page 8 of 37
Re: Prius Gen2 adapter board development thread
Posted: Mon Jun 15, 2020 8:18 am
by Jack Bauer
Great work Johannes. Probably one of the most important developments on here.
Re: Prius Gen2 adapter board development thread
Posted: Mon Jun 15, 2020 9:13 am
by RetroZero
Thanks Johannes and Damien! ORDERED!
Let the games begin

Re: Prius Gen2 adapter board development thread
Posted: Mon Jun 15, 2020 10:35 pm
by Stephen Darbey
Great stuff Johannes.
Serious news indeed. On my hit list within the next few weeks. I really hope this is the beginning of 'mass production of DIY conversions'
Regards
Stephen
Re: Prius Gen2 adapter board development thread
Posted: Tue Jun 16, 2020 2:30 am
by Bassmobile
Where are the design files available for the adventurous and/or indigent?
Re: Prius Gen2 adapter board development thread
Posted: Tue Jun 16, 2020 8:53 am
by johu
Bassmobile wrote: ↑Tue Jun 16, 2020 2:30 am
Where are the design files available for the adventurous and/or indigent?
Patreon

As suggested some new designs will be released for Patrons first and will appear on github with a few months delay.
Re: Prius Gen2 adapter board development thread
Posted: Tue Jun 16, 2020 7:59 pm
by ZooKeeper
Fantastic! A Car and control board in the same week, I wonder which will arrive first?

Re: Prius Gen2 adapter board development thread
Posted: Tue Jun 16, 2020 9:37 pm
by Bassmobile
johu wrote: ↑Tue Jun 16, 2020 8:53 am
Bassmobile wrote: ↑Tue Jun 16, 2020 2:30 am
Where are the design files available for the adventurous and/or indigent?
Patreon

As suggested some new designs will be released for Patrons first and will appear on github with a few months delay.
Thank-you for the reply.
Unfortunate though, as it appears the Patreon platform does not allow a
Patron to support with cryptocurrency?!
For that matter, one can not buy products from the Openinverter webshop with crypto either.
ಠ_ಠ
EDIT: Cash.app supports Bitcoin! I was able to move funds from a ledger, into fiat and onto a virtual debit card to join in supporting. Thought others might find this info useful if they wish to support Openinverter with crypto.
Re: Prius Gen2 adapter board development thread
Posted: Tue Jun 16, 2020 9:48 pm
by Kevin Sharpe
Bassmobile wrote: ↑Tue Jun 16, 2020 9:37 pm
johu wrote: ↑Tue Jun 16, 2020 8:53 am
Bassmobile wrote: ↑Tue Jun 16, 2020 2:30 am
Where are the design files available for the adventurous and/or indigent?
Patreon

As suggested some new designs will be released for Patrons first and will appear on github with a few months delay.
Thank-you for the reply.
Unfortunate though, as it appears the Patreon platform does not allow a
Patron to support with cryptocurrency. For that matter, one can not buy products from your webshop with crypto either.
ಠ_ಠ
This is not difficult... if you want early access to the designs then support the developers on their chosen platforms
Now, bring this thread back on topic!
Re: Prius Gen2 adapter board development thread
Posted: Thu Jun 18, 2020 2:41 pm
by RetroZero
Hi theJohannes. The 2 pin power connector you are talking about is the "famous" additional 2 pin white 12V inverter power connector you were looking for?
Re: Prius Gen2 adapter board development thread
Posted: Thu Jun 18, 2020 4:29 pm
by johu
RetroZero wrote: ↑Thu Jun 18, 2020 2:41 pm
Hi theJohannes. The 2 pin power connector you are talking about is the "famous" additional 2 pin white 12V inverter power connector you were looking for?
Yes. I have now pulled the pins from it and put them into a screw terminal. The offers on the internet may or may not come with pins so I didn't bother.
Now, I fully wired up the inverter to the 12-pole connector with the following results
- Getting good linear DC voltage reading with udcofs=327 and udcgain=3.78
- The current sensors have different gain, the gain of MG2 current sensors is 3.18 and that of the MG1 sensors 6.37. Must somehow be solved in software. Until then the charge input current set point must be doubled.
- I seem to have a faulty buck/boost module. It sings really load when CSDN=12V and the CPWM signal never goes to 15V like the inverter PWM channels. Or am I missing something?
So I couldn't complete my mission to test the battery charging feature. Anyone have a left over buck/boost module (without inductor)? Yes I could just buy another inverter but my space is limited so I'd rather avoid it.
EDIT: whats the temperature curve for the heatsink sensor, anyone got that?
Re: Prius Gen2 adapter board development thread
Posted: Fri Jun 19, 2020 9:14 am
by Jack Bauer
Re: Prius Gen2 adapter board development thread
Posted: Fri Jun 19, 2020 11:29 am
by johu
Ok, I gather from that
- as opposed to the MSDN signal which must be tied to 12V the CSDN signal must be tied to GND
- As opposed the the inverter PWM for the booster wants a push-pull signal. 0V turns lower switch on, 5V means all off, 10V turns upper switch on. And just PWMing between 0 and 10V will probably cycle between the two.
Will try that later.
Re: Prius Gen2 adapter board development thread
Posted: Fri Jun 19, 2020 2:19 pm
by RetroZero
Keep playing, you're sorting out the teething problems

...
Re: Prius Gen2 adapter board development thread
Posted: Fri Jun 19, 2020 4:28 pm
by johu
Alright, I tested and here is what I found:
- CSDN input can be left floating, not sure what it is supposed to do
- CPWM needs a push-pull signal of rather low impedance. I used a 500Ohm resistor to 12 (13.3V) and ended up with 9.8V on CPWM
- When CPWM=0V the top IGBT is on meaning the DC input is connected to the inverter DC bus
- When CPWM >= 5V the bottom IGBT is on meaning the DC input is shorted
- There is no input to CPWM that would turn both IGBTs off really?
- The higher the positive dutycycle, the lower the voltage bucked from DC bus to battery
So switching this via the ULN2003 inverts the duty cycle and we have "more duty cycle -> more output voltage" which is good. But when the ULN is off CPWM is high and thus shorts out the battery input. Bad!
So what could the charge procedure look like?
- Only pull up CPWM when we actually want to charge
- Precharge DC bus to rectified AC, so say 320V for single phase 230V AC
- Set duty cycle to match calculated output voltage to udcsw or udcnom (So say we see 400V and udcsw is 200 we set 50% duty cycle)
- Close AC and DC contactor (can be on same control signal)
- switch over to PI charge controller
- When AC is unplugged the inverter will power down and all contactors open. Same when BMS commands end of charge - which can also happen by setting chargecur to 0 via CAN
Re: Prius Gen2 adapter board development thread
Posted: Fri Jun 19, 2020 8:26 pm
by MattsAwesomeStuff
I actually understood most of that. Great to see progress made.
Re: Prius Gen2 adapter board development thread
Posted: Fri Jun 19, 2020 8:42 pm
by arber333
Well i am using Prius gen2 inductor in my EMW 3phase aircooled charger for long time now. I never figured how to use Prius buck/boost module so i just use Semicron 300A igbt with some big ass caps instead. Works up to 16kW from regular 22kW EVSE. Dont use CP signal yet though... That would be a goot thing to have with buck/boost charger.
Re: Prius Gen2 adapter board development thread
Posted: Fri Jun 19, 2020 8:57 pm
by SciroccoEV
johu wrote: ↑Fri Jun 19, 2020 4:28 pm
CSDN input can be left floating, not sure what it is supposed to do
What happens if you pull it above 5.6v?
Re: Prius Gen2 adapter board development thread
Posted: Fri Jun 19, 2020 9:42 pm
by kiwifiat
Some useful info on the boost converter module here:
https://nicjam.es/projects/how-to-turn- ... er-module/
CSDN is boost converter shutdown.
Re: Prius Gen2 adapter board development thread
Posted: Fri Jun 19, 2020 11:30 pm
by MattsAwesomeStuff
That's the same link Damien just posted from Archive.org.
Re: Prius Gen2 adapter board development thread
Posted: Sat Jun 20, 2020 3:36 am
by kiwifiat
MattsAwesomeStuff wrote: ↑Fri Jun 19, 2020 11:30 pm
That's the same link Damien just posted from Archive.org.
Sure, aside from the photos and schematics in my link that may or may not be of use to some people.
Re: Prius Gen2 adapter board development thread
Posted: Sat Jun 20, 2020 8:21 am
by johu
SciroccoEV wrote: ↑Fri Jun 19, 2020 8:57 pm
What happens if you pull it above 5.6v?
I didn't try 5.6V but I pulled it to 12V which results in the module singing very loud.
Re: Prius Gen2 adapter board development thread
Posted: Fri Jun 26, 2020 6:43 am
by konstantin8818

I'm really embarased to ask, but is there any chanse of less expensive kit to appear at the shop. Maybe, like, just the board itself?
Re: Prius Gen2 adapter board development thread
Posted: Mon Jun 29, 2020 5:20 pm
by RetroZero
Toys arrived this evening. Thanks Johu

Re: Prius Gen2 adapter board development thread
Posted: Mon Jun 29, 2020 8:07 pm
by johu
RetroZero wrote: ↑Mon Jun 29, 2020 5:20 pm
Toys arrived this evening. Thanks Johu
Cool, let us know how it goes
konstantin8818 wrote: ↑Fri Jun 26, 2020 6:43 am

I'm really embarased to ask, but is there any chanse of less expensive kit to appear at the shop. Maybe, like, just the board itself?
I will consider it but probably not. I want to prepack as much as possible and every variation adds extra work.
You will find the design files on Patreon now and in a few weeks also on github. 5 boards from JLCPCB delivered are still cheaper than one complete kit. Just not pre-programmed and a lot messier to use.
Re: Prius Gen2 adapter board development thread
Posted: Wed Jul 01, 2020 9:05 pm
by RetroZero
Got some flashing lights tonight

. However, I now need the password to connect to wifi please..(wasn't with the pinout notice.
Hope to start small and spin the AC compressor from 12V supply.