Doing useful things with the Prius Gen2 buck/boost converter
- johu
- Site Admin
- Posts: 6618
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 342 times
- Been thanked: 1485 times
- Contact:
Doing useful things with the Prius Gen2 buck/boost converter
Many hybrid inverters feature a buck/boost converter. It can step down the voltage from the motor to the battery side to charge the battery with a fast spinning motor. And it can boost the voltage from the battery to the motor side to make the motor spin fast from the battery. Battery voltage in hybrids is typically about 200V.
In addition they feature a DC/DC converter from HV to 12V to run the "car" systems. It sits on the battery side of the converter.
The Prius Gen2 inverter features this and due to its not too integrated design we can faff around with it.
First of all, when using the Prius inverter to power an actual EV we will find that the converter is "in the way" as it sits between the battery and motor side and is a bit of a weak link, limiting battery current to about 100A.
Secondly we will find that when using a regular 400V style battery salvaged from a PHEV or EV the voltage exceeds the rated input voltage of the DC/DC converter.
With a simple mod we can fix both these problems We disconnect the positive battery cable from the boost converter input and reconnect it to the boost converter output i.e. the motor side of the converter. This has 2 consequences
1. The inverter bus is now straight connected to our HV battery and can draw as much power as it can handle
2. The DC/DC converter still sits on the buck converter output and by running the latter at, say, 50% duty cycle will feed it with the 200V it expects
With the Gen2 inverter this has a 3rd consequence: in parallel with the DC/DC converter there is an auxiliary inverter. If we replace its output IGBTs with a bridge rectifier and feed 120 or 230V AC to it we will have a rectified DC voltage of 150 to 300V on the boost converter input. So now when we run the boost converter it will feed current into out HV battery - we have created a simple mains charger.
In addition they feature a DC/DC converter from HV to 12V to run the "car" systems. It sits on the battery side of the converter.
The Prius Gen2 inverter features this and due to its not too integrated design we can faff around with it.
First of all, when using the Prius inverter to power an actual EV we will find that the converter is "in the way" as it sits between the battery and motor side and is a bit of a weak link, limiting battery current to about 100A.
Secondly we will find that when using a regular 400V style battery salvaged from a PHEV or EV the voltage exceeds the rated input voltage of the DC/DC converter.
With a simple mod we can fix both these problems We disconnect the positive battery cable from the boost converter input and reconnect it to the boost converter output i.e. the motor side of the converter. This has 2 consequences
1. The inverter bus is now straight connected to our HV battery and can draw as much power as it can handle
2. The DC/DC converter still sits on the buck converter output and by running the latter at, say, 50% duty cycle will feed it with the 200V it expects
With the Gen2 inverter this has a 3rd consequence: in parallel with the DC/DC converter there is an auxiliary inverter. If we replace its output IGBTs with a bridge rectifier and feed 120 or 230V AC to it we will have a rectified DC voltage of 150 to 300V on the boost converter input. So now when we run the boost converter it will feed current into out HV battery - we have created a simple mains charger.
- Attachments
-
prius.odg
- (28.8 KiB) Downloaded 690 times
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
-
- Posts: 701
- Joined: Thu Mar 02, 2023 1:30 pm
- Location: Uk
- Has thanked: 363 times
- Been thanked: 104 times
-
- Posts: 1013
- Joined: Fri Apr 26, 2019 5:40 pm
- Has thanked: 388 times
- Been thanked: 258 times
Re: Doing useful things with the Prius Gen2 buck/boost converter
I have a second inverter with its top off I will try to take pictures of if I can figure out exactly what to do based on your diagram.
Also, does any of what you described require using new pins or telling the buck/boost what to do? Any code or software? Or does it just happen by being connected?
Re: Doing useful things with the Prius Gen2 buck/boost converter
I assume the same can be done with the gs450h inverter? Does it also have the auxiliary inverter to run the same setup as with this?
- johu
- Site Admin
- Posts: 6618
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 342 times
- Been thanked: 1485 times
- Contact:
Re: Doing useful things with the Prius Gen2 buck/boost converter
Sorry, just found this. With the SMT version of the Prius controller this is integrated. In drive mode the "user PWM" pin runs the boost converter at a fixed rate. In charge mode the regular PWM runs it in current control mode.MattsAwesomeStuff wrote: ↑Wed Jan 31, 2024 4:50 am Also, does any of what you described require using new pins or telling the buck/boost what to do? Any code or software? Or does it just happen by being connected?
Here we do indeed need additional hardware: an extra current sensor that measures current delivered by the AC/DC.
There is no replacement logic board for Lexus inverters. I don't know if the buck/boost converter can be controlled with the Serial protocol? And I'm pretty sure it has no aux inverter.
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
Re: Doing useful things with the Prius Gen2 buck/boost converter
Ok thanks. I'll moving forward with the gen2 Prius since it's relatively cheap where I live. I'm thinking of running a 100v 100ah to the boost converter to get anything around 25kw to run the motor. I don't need much power since there's no traffic where I stay and 60kmph top speed is enough. Between running via the boost converter vs direct to inverter I don't know which is best since I can't get a high voltage battery pack here in Africa without importing and that will more than double my costs
- johu
- Site Admin
- Posts: 6618
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 342 times
- Been thanked: 1485 times
- Contact:
Re: Doing useful things with the Prius Gen2 buck/boost converter
The booster is limited to 100A, so this will get you 10 kW
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
-
- Posts: 1013
- Joined: Fri Apr 26, 2019 5:40 pm
- Has thanked: 388 times
- Been thanked: 258 times
Re: Doing useful things with the Prius Gen2 buck/boost converter
Good news, I also bought one of those 2nd hand from someone who went a different way. So I have both hardwares.
Stupid question, how does it know whether it's in charge mode, and is charge mode also what happens during regen?In drive mode the "user PWM" pin runs the boost converter at a fixed rate. In charge mode the regular PWM runs it in current control mode.
Here we do indeed need additional hardware: an extra current sensor that measures current delivered by the AC/DC.
Do I need to install an extra current sensor, or does the SMT board come with a way to interface with one built into the inverter?
- johu
- Site Admin
- Posts: 6618
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 342 times
- Been thanked: 1485 times
- Contact:
Re: Doing useful things with the Prius Gen2 buck/boost converter
Is it version 1.3? Early versions don't have the user PWM connection.MattsAwesomeStuff wrote: ↑Fri Apr 12, 2024 9:45 pm Good news, I also bought one of those 2nd hand from someone who went a different way. So I have both hardwares.
Because you explicitly command charge mode https://openinverter.org/wiki/Battery_ChargingMattsAwesomeStuff wrote: ↑Fri Apr 12, 2024 9:45 pm Stupid question, how does it know whether it's in charge mode, and is charge mode also what happens during regen?
Regen=Drive Mode
Yes. The board has 4 inputs. You use two inputs for ONE inverter power stage and one for the extra sensor. You need to juggle a bit to have the same current to voltage ratio as the built in ones. You could regard the latter as cosmetic. Say the extra sensor outputs 50 mV/A and the built-in ones 25 mv/A it just means you need to command double the charge current.MattsAwesomeStuff wrote: ↑Fri Apr 12, 2024 9:45 pm Do I need to install an extra current sensor, or does the SMT board come with a way to interface with one built into the inverter?
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
-
- Posts: 1013
- Joined: Fri Apr 26, 2019 5:40 pm
- Has thanked: 388 times
- Been thanked: 258 times
Re: Doing useful things with the Prius Gen2 buck/boost converter
*checks*
V1.1
Whelp, nevermind I guess.
- johu
- Site Admin
- Posts: 6618
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 342 times
- Been thanked: 1485 times
- Contact:
Re: Doing useful things with the Prius Gen2 buck/boost converter
So charging feature would work but not powering the dcdc converter while driving.
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
-
- Posts: 1013
- Joined: Fri Apr 26, 2019 5:40 pm
- Has thanked: 388 times
- Been thanked: 258 times
Re: Doing useful things with the Prius Gen2 buck/boost converter
Oh, I misunderstood.
In the video you shared, you say it uses the A/C inverter to do this? I was somewhat planning on using my A/C inverter to run the A/C. Though that said, I also have the A/C off of a Gen3 which only needs PWM fed to it as the inverter is onboard the compressor.
Does the charging feature both buck and boost too? Or is that feature lost on earlier versions?
- johu
- Site Admin
- Posts: 6618
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 342 times
- Been thanked: 1485 times
- Contact:
Re: Doing useful things with the Prius Gen2 buck/boost converter
Via the A/C inverter it will just boost
Via MG1 it will just buck. You need an additional relay to connect the battery to the buck side while charging. At least then you don't need the extra current sensor because it will use the MG1 ones
Via MG1 it will just buck. You need an additional relay to connect the battery to the buck side while charging. At least then you don't need the extra current sensor because it will use the MG1 ones
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
-
- Posts: 1013
- Joined: Fri Apr 26, 2019 5:40 pm
- Has thanked: 388 times
- Been thanked: 258 times
Re: Doing useful things with the Prius Gen2 buck/boost converter
I think I mostly understand this, but not sure I'd apply it correctly.
Could you diagram the change like you did in the first post, so this is idiot(me)-proof?
I'm stepping closer and closer to hooking up a battery and driving here eventually.
-
- Posts: 567
- Joined: Mon Jul 03, 2023 3:17 pm
- Location: CT, central shoreline, USA
- Has thanked: 199 times
- Been thanked: 165 times
Re: Doing useful things with the Prius Gen2 buck/boost converter
So these are the 2004-2009 Prius inverters right?
Has anyone figured out what year / serial the split to v1.3 is?
Could this potentially boost a 48v solar panel (500-2500 watts) up to 400v to directly charge a traction battery?
Edit,
Is it possible with the gen 2 v1.3 to pull 48v out of the 400v battery if needed?
Has anyone figured out what year / serial the split to v1.3 is?
Could this potentially boost a 48v solar panel (500-2500 watts) up to 400v to directly charge a traction battery?
Edit,
Is it possible with the gen 2 v1.3 to pull 48v out of the 400v battery if needed?
- johu
- Site Admin
- Posts: 6618
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 342 times
- Been thanked: 1485 times
- Contact:
Re: Doing useful things with the Prius Gen2 buck/boost converter
Yes and yes. Of course that will loose the DCDC converter because that doesn't run at 48V.
MPP tracking won't be possible as you can measure input or output current.
MPP tracking won't be possible as you can measure input or output current.
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
Re: Doing useful things with the Prius Gen2 buck/boost converter
Im also looking for a diagram for grids charging with the gen2 inverter, and im unclear if it can be stand alone. because my application is a harsh marine environment where there is zero support and in remote locations. target voltage 160 to 220 vdc. but gen 2 inverters are agreeably cheap and rugged. i had difficulty following johu's german language youtube on that even with text enabled.MattsAwesomeStuff wrote: ↑Fri May 24, 2024 5:57 am I think I mostly understand this, but not sure I'd apply it correctly.
Could you diagram the change like you did in the first post, so this is idiot(me)-proof?
I'm stepping closer and closer to hooking up a battery and driving here eventually.
the priustoric boatcar guy