Prius Gen2 adapter board development thread
-
- Posts: 936
- Joined: Fri Apr 26, 2019 5:40 pm
- Has thanked: 343 times
- Been thanked: 204 times
Re: Prius Gen2 adapter board development thread
I vote inside, I like to have nice and tidy builds because I never actually put the effort into doing that myself.
However, this isn't a democracy, it's a do-ocracy and my vote shouldn't matter because I'm not the one doing the work :p
However, this isn't a democracy, it's a do-ocracy and my vote shouldn't matter because I'm not the one doing the work :p
- 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
I wonder how complicated and expensive is to make a DC-DC power source for main board, to power it from HV system?
Like it is made in Curtis or PowerWatcher. You dont need a 12V system at all. I know it is mondatory for EVs, but if something went wrong with it, 12V battery is dead, but HV is good and you need to go. Without 12V main board won't start and Inverter's DC-DC converter will not either. But if both powered by HV system, it is not an issue.
Like it is made in Curtis or PowerWatcher. You dont need a 12V system at all. I know it is mondatory for EVs, but if something went wrong with it, 12V battery is dead, but HV is good and you need to go. Without 12V main board won't start and Inverter's DC-DC converter will not either. But if both powered by HV system, it is not an issue.
- 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
Any off the shelf switch mode power supply with a wide input range would do the job. Marginally better performance can be gained by bypassing the input bridge rectifier.konstantin8818 wrote: ↑Tue Apr 21, 2020 5:56 am I wonder how complicated and expensive is to make a DC-DC power source for main board, to power it from HV system?
Like it is made in Curtis or PowerWatcher. You dont need a 12V system at all. I know it is mondatory for EVs, but if something went wrong with it, 12V battery is dead, but HV is good and you need to go. Without 12V main board won't start and Inverter's DC-DC converter will not either. But if both powered by HV system, it is not an issue.
The General Motors EV1 was unique amongst production EVs in copying the 'bootsrap' system that some amateur converters were using. It had a push button under the dash that would bypass the relays feeding power to the DC/DC and get you 12v DC even if you'd flattened the aux. battery.
-
- Posts: 827
- Joined: Tue Oct 29, 2019 2:48 pm
- Location: France
- Has thanked: 428 times
- Been thanked: 44 times
- Contact:
Re: Prius Gen2 adapter board development thread
Don't know what happened to my post, but to be short..If it's mandatory, stick with it. Regulations will only get tighter in the future, so I suggest running as much OEM units as intended. This is a critical safety item for the automotive world(ABS and warnig/hazard lights), and changing it can open a very nice can of worms on inspection day
- 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
Yup, about strict regulations... You definitely don't know how things done here in Belarus...RetroZero wrote: ↑Tue Apr 21, 2020 7:52 am Don't know what happened to my post, but to be short..If it's mandatory, stick with it. Regulations will only get tighter in the future, so I suggest running as much OEM units as intended. This is a critical safety item for the automotive world(ABS and warnig/hazard lights), and changing it can open a very nice can of worms on inspection day
For today there are only ~400 EVs registered here... Few engineers know how to deal with them.
And I didn't say that I need to remove 12V system, the idea of bypassing it when needed is pretty cool.
- johu
- Site Admin
- Posts: 6227
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 228 times
- Been thanked: 1272 times
- Contact:
Re: Prius Gen2 adapter board development thread
I think it is past the scope of the Prius control board. If you want something like this, do like SciroccoEV says and deploy an SMPS somewhere in the car
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
- Kevin Sharpe
- Posts: 1345
- Joined: Fri Dec 14, 2018 9:24 pm
- Location: Ireland and US
- Been thanked: 7 times
Re: Prius Gen2 adapter board development thread
This is a very good point. If you make the unit external we are more likely to get it approved for use in commercial applications going forward
I would also suggest you treat this as a VCU not just an inverter controller. The easier we can make conversions for people the more likely we are to see lots vehicles on the road
This is a personal post and I disclaim all responsibility for any loss or damage which any person may suffer from reliance on the information and material in this post or any opinion, conclusion or recommendation in the information and material.
- konstantin8818
- Posts: 290
- Joined: Sun Jan 19, 2020 2:33 pm
- Location: Minsk, Belarus
- Has thanked: 2 times
- Been thanked: 8 times
-
- Posts: 827
- Joined: Tue Oct 29, 2019 2:48 pm
- Location: France
- Has thanked: 428 times
- Been thanked: 44 times
- Contact:
Re: Prius Gen2 adapter board development thread
kiwifiat wrote:
"Anyone starting from scratch and lacking the required electronics skills has the option of the rev3 board as it has everything already onboard to run both induction and pmsm's"
Would it be hasty to go out and order the rev3 board and stripboard kit? I think I could manage a simple adapter circuit if there are schematics. Reason being, whilst this awesome Adapter board/VCU is being created, I would like to get my transaxle spinning. Once 'done', I can focus on dismantle of transaxle for Mg1&Mg2 lock-up 'kit'. I fear the 'Damien weld solution' will not pass certification here, so will have something made up that could then be used by others.
"Anyone starting from scratch and lacking the required electronics skills has the option of the rev3 board as it has everything already onboard to run both induction and pmsm's"
Would it be hasty to go out and order the rev3 board and stripboard kit? I think I could manage a simple adapter circuit if there are schematics. Reason being, whilst this awesome Adapter board/VCU is being created, I would like to get my transaxle spinning. Once 'done', I can focus on dismantle of transaxle for Mg1&Mg2 lock-up 'kit'. I fear the 'Damien weld solution' will not pass certification here, so will have something made up that could then be used by others.
-
- Posts: 827
- Joined: Tue Oct 29, 2019 2:48 pm
- Location: France
- Has thanked: 428 times
- Been thanked: 44 times
- Contact:
Re: Prius Gen2 adapter board development thread
Johu wrote: "Final question: does anyone feel like making a ModICE compatible adapter board in KiCAD? I can draw the schematic if needed."
Is there anyone that could do this, or is Johu still working on how to incorporate all the functions?
Getting a bit confusing again, with following Gen2 Inverter Controller link at the same time. I understand that Brainboard V3 is compatible for motor spin only, BUT adapter board would allow for charging via Mg1 AND DC/DC for 12v auxillary circuits.
in short - if I want to get motor spin, only need Brainboard V3. If I want charging and DC/DC as well, wait for new baord (2mm narrower) with adapter board. Yes?
Is there anyone that could do this, or is Johu still working on how to incorporate all the functions?
Getting a bit confusing again, with following Gen2 Inverter Controller link at the same time. I understand that Brainboard V3 is compatible for motor spin only, BUT adapter board would allow for charging via Mg1 AND DC/DC for 12v auxillary circuits.
in short - if I want to get motor spin, only need Brainboard V3. If I want charging and DC/DC as well, wait for new baord (2mm narrower) with adapter board. Yes?
- johu
- Site Admin
- Posts: 6227
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 228 times
- Been thanked: 1272 times
- Contact:
Re: Prius Gen2 adapter board development thread
Well you can't run the Prius inverter off a V3 main board as is.
1. At the very least you need 3 NPN transistors that operate the 12V PWM signals.
2. Next you need to convert the bipolar -15V to +15V current feedback signals to 0-3.3V. A circuit has been posted earlier. You need MG2 current feedback for running FOC.
3. You need the blended in MG1 current feedback for charge mode (measure AC input current).
4. Then you can map one of the low side PWM signals, again via an NPN transistor, to the buck converter to allow HV battery charging.
The DC/DC converter, as in HV to 12V, will not be connected to the adapter board. It just needs a 12V control signal.
So 1. is enough for controlling an asynchronous motor with sine firmware
2. Is enough for controlling a synchronous motor with FOC firmware
3. and 4. are needed for charging.
1. At the very least you need 3 NPN transistors that operate the 12V PWM signals.
2. Next you need to convert the bipolar -15V to +15V current feedback signals to 0-3.3V. A circuit has been posted earlier. You need MG2 current feedback for running FOC.
3. You need the blended in MG1 current feedback for charge mode (measure AC input current).
4. Then you can map one of the low side PWM signals, again via an NPN transistor, to the buck converter to allow HV battery charging.
The DC/DC converter, as in HV to 12V, will not be connected to the adapter board. It just needs a 12V control signal.
So 1. is enough for controlling an asynchronous motor with sine firmware
2. Is enough for controlling a synchronous motor with FOC firmware
3. and 4. are needed for charging.
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
-
- Posts: 827
- Joined: Tue Oct 29, 2019 2:48 pm
- Location: France
- Has thanked: 428 times
- Been thanked: 44 times
- Contact:
Re: Prius Gen2 adapter board development thread
Thanks Johu, as I am trying to use Gen 2 transaxle, will need 2. I would like to spin motor for a presentation, so is it possible to have schematics from somewhere for 3 and 4 that I could build with strip board kit and order the Brainboard V3? I am trying to get funding from my region council to promote this setup as viable solution, so would like to know easiest /quickest way forward. Thanks for reply
- 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
Aha! So that is where those components, I've bought to build Damien's board will come in handyjohu wrote: ↑Thu Apr 23, 2020 5:17 pm Well you can't run the Prius inverter off a V3 main board as is.
1. At the very least you need 3 NPN transistors that operate the 12V PWM signals.
2. Next you need to convert the bipolar -15V to +15V current feedback signals to 0-3.3V. A circuit has been posted earlier. You need MG2 current feedback for running FOC.
3. You need the blended in MG1 current feedback for charge mode (measure AC input current).
4. Then you can map one of the low side PWM signals, again via an NPN transistor, to the buck converter to allow HV battery charging.
-
- Posts: 936
- Joined: Fri Apr 26, 2019 5:40 pm
- Has thanked: 343 times
- Been thanked: 204 times
Re: Prius Gen2 adapter board development thread
That's a great breakdown. I didn't have that all in my head yet.
Re: Prius Gen2 adapter board development thread
post deleted
Huebner VCU controlling a Gen2 Prius Inverter powering an MGR
"Talent is equally distributed but opportunity is not." - Leila Janah
"Talent is equally distributed but opportunity is not." - Leila Janah
-
- Posts: 3403
- Joined: Mon Dec 24, 2018 1:37 pm
- Location: Slovenia
- Has thanked: 96 times
- Been thanked: 287 times
- Contact:
Re: Prius Gen2 adapter board development thread
You can use SN74LS06N inverter chip and supply the chip with 12V source. There are 6 ports, 3 of them we use to run IGBTs and rest as we please. Pullups or whatever...johu wrote: ↑Thu Apr 23, 2020 5:17 pm
The DC/DC converter, as in HV to 12V, will not be connected to the adapter board. It just needs a 12V control signal.
So 1. is enough for controlling an asynchronous motor with sine firmware
2. Is enough for controlling a synchronous motor with FOC firmware
3. and 4. are needed for charging.
For 3. and 4. I would suggest you use Melexis sensor fixed on the DC rail inside Prius Gen2 inverter. That way you cen have true buck output control from 3phase or boost whatever you need. No need to complicate with MG1 sensor signal conversion. My 5c.
-
- Posts: 827
- Joined: Tue Oct 29, 2019 2:48 pm
- Location: France
- Has thanked: 428 times
- Been thanked: 44 times
- Contact:
Re: Prius Gen2 adapter board development thread
Ok, this clears up more of the 'grey areas'. Can I update the wiki for Gen 2 board with this information? I think we're onto something that could serve as a good source before diving into a build.
- 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
I believe to prevent confusion it should be a separate thread on wiki for the adapter board.
-
- Posts: 827
- Joined: Tue Oct 29, 2019 2:48 pm
- Location: France
- Has thanked: 428 times
- Been thanked: 44 times
- Contact:
Re: Prius Gen2 adapter board development thread
How about updating V3 mainboard with additional info?
exemple - " If V3 mainboard is used with Prius Gen2 inverter, additional circuits are required." Adapter board currently in design stage (April 2020)
1. At the very least you need 3 NPN transistors that operate the 12V PWM signals.
2. Next you need to convert the bipolar -15V to +15V current feedback signals to 0-3.3V. You need MG2 current feedback for running FOC.
3. You need the blended in MG1 current feedback for charge mode (measure AC input current).
4. Then you can map one of the low side PWM signals, again via an NPN transistor, to the buck converter to allow HV battery charging.
I also updated Johu's diagram, but don't know how, and did not want to risk updating his wiki page. Could some one check and if OK, can it be updated pls? It is to have clarity on Pin outputs for us non EE people.
exemple - " If V3 mainboard is used with Prius Gen2 inverter, additional circuits are required." Adapter board currently in design stage (April 2020)
1. At the very least you need 3 NPN transistors that operate the 12V PWM signals.
2. Next you need to convert the bipolar -15V to +15V current feedback signals to 0-3.3V. You need MG2 current feedback for running FOC.
3. You need the blended in MG1 current feedback for charge mode (measure AC input current).
4. Then you can map one of the low side PWM signals, again via an NPN transistor, to the buck converter to allow HV battery charging.
I also updated Johu's diagram, but don't know how, and did not want to risk updating his wiki page. Could some one check and if OK, can it be updated pls? It is to have clarity on Pin outputs for us non EE people.
-
- Posts: 3403
- Joined: Mon Dec 24, 2018 1:37 pm
- Location: Slovenia
- Has thanked: 96 times
- Been thanked: 287 times
- Contact:
Re: Prius Gen2 adapter board development thread
Maybe Johannes could just update Rev3 board with SN74LS06D SOIC version and add 1K resistors to its Y pins.
Then you can use 3x pins to drive IGBTs and couple of pins to drive Buck-Boost. Remaining pin you can use to trigger Fault state by pulling MPROT/FAULT pin low etc...
Sensor pins only need conversion to 3V3 level.
Then you can use 3x pins to drive IGBTs and couple of pins to drive Buck-Boost. Remaining pin you can use to trigger Fault state by pulling MPROT/FAULT pin low etc...
Sensor pins only need conversion to 3V3 level.
- johu
- Site Admin
- Posts: 6227
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 228 times
- Been thanked: 1272 times
- Contact:
Re: Prius Gen2 adapter board development thread
I've been successful using the ULN2003 chip. All we need is open collector, no push pull logic needed.arber333 wrote: ↑Fri Apr 24, 2020 4:40 am You can use SN74LS06N inverter chip and supply the chip with 12V source. There are 6 ports, 3 of them we use to run IGBTs and rest as we please. Pullups or whatever...
For 3. and 4. I would suggest you use Melexis sensor fixed on the DC rail inside Prius Gen2 inverter. That way you cen have true buck output control from 3phase or boost whatever you need. No need to complicate with MG1 sensor signal conversion. My 5c.
Current sensor wise I thought using the existing sensors would ease the installation. Also when using an external Melexis sensor I would need to add an additional analog input to sample it. I don't think it matters whether the control loop is based on input our output current as they are coupled by a fixed factor anyways (when talking RMS values). When configuring the charger you only have to keep in mind what battery current will result. Say you configure 10A 3-phase (380V) input current it will result in roughly 19A battery current for a 200V battery.
Aha, so we need to support about 600V for rectified 3-phase, thus a 1:2 divider is needed.
I currently wonder if an adapter board is the way forward or whether a bespoke Prius board would be better. After all it just means copy and pasting the V3 design and adding some components around it. Manufacturing-wise the adapter board needs to be made separately anyway.
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
- Kevin Sharpe
- Posts: 1345
- Joined: Fri Dec 14, 2018 9:24 pm
- Location: Ireland and US
- Been thanked: 7 times
Re: Prius Gen2 adapter board development thread
My vote is for a dedicated board. An adaptor board only makes sense in high volumes and has all the issues related to board-to-board connector reliability in an automotive environment.johu wrote: ↑Fri Apr 24, 2020 11:04 amI currently wonder if an adapter board is the way forward or whether a bespoke Prius board would be better. After all it just means copy and pasting the V3 design and adding some components around it. Manufacturing-wise the adapter board needs to be made separately anyway.
Having a mechanism for identifying the board type in software could be useful going forward
This is a personal post and I disclaim all responsibility for any loss or damage which any person may suffer from reliance on the information and material in this post or any opinion, conclusion or recommendation in the information and material.
- jnsaff
- Posts: 177
- Joined: Fri Oct 18, 2019 7:42 am
- Location: Tallinn, Estonia
- Has thanked: 3 times
- Been thanked: 8 times
Re: Prius Gen2 adapter board development thread
Any way this could be incorporated as a universal board that can run both Gen2 and Gen3 inverters (not at the same time ofc)? I know the Gen3 board is meant to go inside the case and there are differences between Prius and Auris/Yaris versions but if the differences are small and Gen2 support can be squeezed onto the Gen3 board that would greatly simplify supply chain. There could also be a case for a split BoM where Gen2 components are not populated if only Gen3 is needed.johu wrote: ↑Fri Apr 24, 2020 11:04 am I currently wonder if an adapter board is the way forward or whether a bespoke Prius board would be better. After all it just means copy and pasting the V3 design and adding some components around it. Manufacturing-wise the adapter board needs to be made separately anyway.
-
- Posts: 3403
- Joined: Mon Dec 24, 2018 1:37 pm
- Location: Slovenia
- Has thanked: 96 times
- Been thanked: 287 times
- Contact:
Re: Prius Gen2 adapter board development thread
You could do it with existing Rev3 boards, but you would have to make a different adapter for Gen2 and Gen3 since inputs are not similar at all.jnsaff wrote: ↑Fri Apr 24, 2020 11:43 am Any way this could be incorporated as a universal board that can run both Gen2 and Gen3 inverters (not at the same time ofc)? I know the Gen3 board is meant to go inside the case and there are differences between Prius and Auris/Yaris versions but if the differences are small and Gen2 support can be squeezed onto the Gen3 board that would greatly simplify supply chain. There could also be a case for a split BoM where Gen2 components are not populated if only Gen3 is needed.
Hm... You know what? It is not such a bad idea! Considering we would have to make Gen3 board to one size fit all Gen3.
Then vertical space is enough to house one Rev3 board on top of fake Prius master board. Also that board could include Arduino chip to control charger function of Buck boost, keep MG1 transistors down, current sensors signal converter, some small relays and 12V DCDC. Board size can be extended around small connector as i demonstrated before.
Gen2 would require totaly different board which would fit in a separate box, but could still be Rev3 on top of an adapter board. Or maybe just expand Rev3 board to house all sensor inputs... What would be easier.
I have just been informed my prototype boards from HK are delayed in DHL warehouse. Why they dont say... COVID? Maybe would be a good idea to get some local sourced adapter boards. Who knows how long that situation would remain...
-
- Posts: 827
- Joined: Tue Oct 29, 2019 2:48 pm
- Location: France
- Has thanked: 428 times
- Been thanked: 44 times
- Contact:
Re: Prius Gen2 adapter board development thread
Yes current Covid does pose problems, but gives me time to focus on having a bench running Gen 2 transaxle and converter. Since transport is practically at a stand still, I was hoping to use readily available local sourced adapter add ons, as designing the additional circuits are above my knowledge level at the moment. But even readily available add ons are a mystery to me.... I'll keep google-ing away and learning all your terminologies. Hope you can put up with my dumb questions along the way... Sorry in avance . By the way, anything Gen 2 and Gen 3 compatible would open up huge potential for kit configurations