Prius Gen 2 inverter with Gen 2 transaxle no test spin  [SOLVED]

Post Reply
Bagheera
Posts: 14
Joined: Sun Jun 05, 2022 7:14 am
Location: Sweden 🇸🇪
Has thanked: 1 time
Been thanked: 4 times
Contact:

Prius Gen 2 inverter with Gen 2 transaxle no test spin

Post by Bagheera »

Hi, I have purchased the Toyota Prius™ Gen2 inverter controller:
https://openinverter.org/shop/index.php ... duct_id=63

I have Prius Gen 2 inverter and Gen 2 transaxle/gearbox.

I am now in the process of getting my first spin.
In this guide:
https://openinverter.org/wiki/Toyota_Pr ... Controller
It says:
"Step 9 : Web Interface Basic parameters ( stm32_sine. bin) set up - to confirm PWM outputs : Full boost (curki= 20000 min) with 12v supply, default forward, ampnom @ 70%, and fslipspnt @1 Hz. Select - "Start Inverter in Manual Mode" Confirm flashing lights."
My problem is that I don't have ampnom or fslipspnt parameters. Under "Testing" I have manualiq and manualid. All the guides I find talk about ampnom and fslipspnt. I am not sure what to do.
Under version it says "version 5.14.R-foc".
This is all new stuff for me, challenging to understand everything, but I am doing my best.

I have connected all the wires 19-27 on the open inverter ECU.
https://openinverter.org/wiki/images/a/ ... 2_v1.1.png
How can I get a test spin on my setup?
Bagheera
Posts: 14
Joined: Sun Jun 05, 2022 7:14 am
Location: Sweden 🇸🇪
Has thanked: 1 time
Been thanked: 4 times
Contact:

Re: Prius Gen 2 inverter with Gen 2 transaxle no test spin

Post by Bagheera »

I uploaded a new parameter file from here:
https://github.com/jsphuebner/stm32-sine/releases
So right now I have version 5.27.R-sine and now I have the fslipspnt and ampnom parameters, but still nothing happens when I put in values there.
Must I change more parameters or connect more wires to get my motor spinning?
RetroZero
Posts: 731
Joined: Tue Oct 29, 2019 2:48 pm
Location: France
Has thanked: 329 times
Been thanked: 44 times
Contact:

Re: Prius Gen 2 inverter with Gen 2 transaxle no test spin

Post by RetroZero »

Do you have the 55watt light bulbs set up and getting any signal when they are in the delta connection setup as per the wiki link?
Bagheera
Posts: 14
Joined: Sun Jun 05, 2022 7:14 am
Location: Sweden 🇸🇪
Has thanked: 1 time
Been thanked: 4 times
Contact:

Re: Prius Gen 2 inverter with Gen 2 transaxle no test spin

Post by Bagheera »

I tried with the MG1 motor, didn't get any voltage to the MG2 output. Here are some pictures of my setup, 3 lead acid batteries in series with a 230v lightbulb that never lights up, but I could read 36v at the rails, slowly declining when batteries are disconnect so I would guess that capacitors was charged.
Forgot to mention that I did put something in the safety thing for the lid, so it's not that.
Attachments
IMG_20230807_171559.jpg
IMG_20230807_171618.jpg
IMG_20230807_171622.jpg
IMG_20230807_171602.jpg
IMG_20230807_171553.jpg
IMG_20230807_171606.jpg
RetroZero
Posts: 731
Joined: Tue Oct 29, 2019 2:48 pm
Location: France
Has thanked: 329 times
Been thanked: 44 times
Contact:

Re: Prius Gen 2 inverter with Gen 2 transaxle no test spin

Post by RetroZero »

Is there a way you can make up a light bulb setup as per download/file.php?id=4273&mode=view?

Let's focus on getting signals out of MG2
Bagheera
Posts: 14
Joined: Sun Jun 05, 2022 7:14 am
Location: Sweden 🇸🇪
Has thanked: 1 time
Been thanked: 4 times
Contact:

Re: Prius Gen 2 inverter with Gen 2 transaxle no test spin

Post by Bagheera »

RetroZero wrote: Tue Aug 08, 2023 6:23 am Is there a way you can make up a light bulb setup as per download/file.php?id=4273&mode=view?

Let's focus on getting signals out of MG2
I can attempt the lightbulb setup, just to clarify I have always used the MG2 output, I just used MG1 motor since it doesn't have a barking break that can interfere.
Bagheera
Posts: 14
Joined: Sun Jun 05, 2022 7:14 am
Location: Sweden 🇸🇪
Has thanked: 1 time
Been thanked: 4 times
Contact:

Re: Prius Gen 2 inverter with Gen 2 transaxle no test spin

Post by Bagheera »

I have the lightbulbs in delta configuration and started the inverter but I have no light. There is only one 12v battery as HV now.
12.6V at the rails in the inverter.
Attachments
IMG_20230808_095402.jpg
IMG_20230808_095409.jpg
RetroZero
Posts: 731
Joined: Tue Oct 29, 2019 2:48 pm
Location: France
Has thanked: 329 times
Been thanked: 44 times
Contact:

Re: Prius Gen 2 inverter with Gen 2 transaxle no test spin

Post by RetroZero »

I think manualstart needs to be ON
Bagheera
Posts: 14
Joined: Sun Jun 05, 2022 7:14 am
Location: Sweden 🇸🇪
Has thanked: 1 time
Been thanked: 4 times
Contact:

Re: Prius Gen 2 inverter with Gen 2 transaxle no test spin

Post by Bagheera »

RetroZero wrote: Tue Aug 08, 2023 2:59 pm I think manualstart needs to be ON
I didn't notice any difference with it on or off.
Attachments
IMG_20230808_193330.jpg
RetroZero
Posts: 731
Joined: Tue Oct 29, 2019 2:48 pm
Location: France
Has thanked: 329 times
Been thanked: 44 times
Contact:

Re: Prius Gen 2 inverter with Gen 2 transaxle no test spin

Post by RetroZero »

Going backthrough some of my threads - So connected 2 independant 12 volt supplies - Inverter 'High voltage' and Adapter Board 'Low voltage'
Direction parameter in Permanent Forward, MSDN to Main 12 volt contacter, fslipspnt - 11, ampnom - 75%, and Run Inverter in Manual Mode - Motor spinning - Hope this helps
MattsAwesomeStuff
Posts: 898
Joined: Fri Apr 26, 2019 5:40 pm
Has thanked: 291 times
Been thanked: 177 times

Re: Prius Gen 2 inverter with Gen 2 transaxle no test spin

Post by MattsAwesomeStuff »

I'd strip down your setup to just the bare essentials, to make sure it works. Get rid of the contactors, etc.

When in manual mode it overrides those anyways.

Keep the "HV" low if you're not using lightbulbs. Mine spun just fine on a 12v battery.

I'm not as (at all) familiar with the openinverter Gen2 board, but I'm moderately familiar with the Sine interface and the inverter itself.

At some point you can scope the lines (or a poor man's version, just measure the voltage).

I'm not really sure where to start the troubleshooting from or I'd try to be of more use.
Bagheera
Posts: 14
Joined: Sun Jun 05, 2022 7:14 am
Location: Sweden 🇸🇪
Has thanked: 1 time
Been thanked: 4 times
Contact:

Re: Prius Gen 2 inverter with Gen 2 transaxle no test spin

Post by Bagheera »

RetroZero wrote: Tue Aug 08, 2023 8:28 pm Going backthrough some of my threads - So connected 2 independant 12 volt supplies - Inverter 'High voltage' and Adapter Board 'Low voltage'
Direction parameter in Permanent Forward, MSDN to Main 12 volt contacter, fslipspnt - 11, ampnom - 75%, and Run Inverter in Manual Mode - Motor spinning - Hope this helps
I have the same setup regarding the 12 supply, 12v car battery as HV, 12v variable power supply for the low voltage.
I tried changing the direction parameter to default forward.
I tried with different values with fslipspnt & ampnom.
I don't have any contactors.

MattsAwesomeStuff wrote: Tue Aug 08, 2023 10:44 pm I'd strip down your setup to just the bare essentials, to make sure it works. Get rid of the contactors, etc.

When in manual mode it overrides those anyways.

Keep the "HV" low if you're not using lightbulbs. Mine spun just fine on a 12v battery.

I'm not as (at all) familiar with the openinverter Gen2 board, but I'm moderately familiar with the Sine interface and the inverter itself.

At some point you can scope the lines (or a poor man's version, just measure the voltage).

I'm not really sure where to start the troubleshooting from or I'd try to be of more use.
I don't think I can strip my setup down anymore I already have.
I have lightbulbs as the "motor" in delta configuration, tried with motor before but no difference. Also a 240v lightbulb from 12v HW in series with inverter.
I have tried several times measuring the voltage from the output of MG2 with a multimeter, but it's always 0.
I double-checked all my wires from the PCB to the inverter, they are all correct. All pins going to inverter has a cable, pins looks fine, they are in the correct place according to the wiki.

My inverter seems dead, the only life sign I have ever seen from it is that the capacitors takes a charge, if I plug in the 12v HW without a lamp in series I do get sparks.
The only thing I have done to the inverter is to remove the cover, connect my connectors and the HW cables. There are loose wires in it that the scrapyard unplugged. Those seem to be to unrelated stuff anyway, like the dc-dc & ac compressor.
I can't see any signs of damage or brunt components. There was nothing stated by the scrapyard about the inverter being in bad condition or not working.
I guess I could buy another PCB and Prius inverter and test those, but I am not eager to do that.

Thank you for the responses and the ideas.
User avatar
johu
Site Admin
Posts: 5791
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 157 times
Been thanked: 1023 times
Contact:

Re: Prius Gen 2 inverter with Gen 2 transaxle no test spin

Post by johu »

can you download http://192.168.4.1/cmd?cmd=json and upload here as a text file? All that while attempting to light up the bulbs.

I'm assuming you have MSDN (pin 25, for MG2) or GSDN (pin 20, for MG1) connected to 12V? What's the current draw of the idle inverter on the 2-pole power inlet next to the 32 pole control inlet?
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
Bagheera
Posts: 14
Joined: Sun Jun 05, 2022 7:14 am
Location: Sweden 🇸🇪
Has thanked: 1 time
Been thanked: 4 times
Contact:

Re: Prius Gen 2 inverter with Gen 2 transaxle no test spin

Post by Bagheera »

After writing my last post, it does sound like the lid switch is the issue. I took a closer look at it. 2 cables goes from it, red and black, and the red one goes to a connector that is not connected to anything. The first picture is a screenshot from a video from Damien Maguire, the second picture is my inverter. Should this red wire have + LW or + HW? I would guess LW (12v) but I am not sure, the black cable goes down and is hard to follow without taking stuff apart.
Attachments
Skärmklipp 2023-08-09 10.43.00.png
IMG_20230809_103921.jpg
User avatar
johu
Site Admin
Posts: 5791
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 157 times
Been thanked: 1023 times
Contact:

Re: Prius Gen 2 inverter with Gen 2 transaxle no test spin

Post by johu »

The lid switch is optional. When the lid is closed it just connects the case GND to the red wire. So if you expect to get GND from the red wire, two preconditions must be met: case grounded and lid switch closed.

Normally while bench testing you don't run anything via this red wire.
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
Bagheera
Posts: 14
Joined: Sun Jun 05, 2022 7:14 am
Location: Sweden 🇸🇪
Has thanked: 1 time
Been thanked: 4 times
Contact:

Re: Prius Gen 2 inverter with Gen 2 transaxle no test spin

Post by Bagheera »

johu wrote: Wed Aug 09, 2023 8:49 am can you download http://192.168.4.1/cmd?cmd=json and upload here as a text file? All that while attempting to light up the bulbs.

I'm assuming you have MSDN (pin 25, for MG2) or GSDN (pin 20, for MG1) connected to 12V? What's the current draw of the idle inverter on the 2-pole power inlet next to the 32 pole control inlet?
MSDN (pin 25, for MG2) is connected to 12 LW
The 2-pole power inlet next to the 32 pole control inlet is taking 0-0.01A

With inverter running and ampnom @ 70%, and fslipspnt @1 Hz. Now I am ignoring the lid switch if doesn't matter.
Code here:
{
"boost": {"unit":"dig","id":1,"value":1700.00,"isparam":true,"minimum":0.00,"maximum":37813.00,"default":1700.00,"category":"Motor","i":0},
"fweak": {"unit":"Hz","id":2,"value":90.00,"isparam":true,"minimum":0.00,"maximum":1000.00,"default":90.00,"category":"Motor","i":1},
"fweakstrt": {"unit":"Hz","id":134,"value":400.00,"isparam":true,"minimum":0.00,"maximum":1000.00,"default":400.00,"category":"Motor","i":2},
"fconst": {"unit":"Hz","id":99,"value":180.00,"isparam":true,"minimum":0.00,"maximum":1000.00,"default":180.00,"category":"Motor","i":3},
"udcnom": {"unit":"V","id":78,"value":0.00,"isparam":true,"minimum":0.00,"maximum":1000.00,"default":0.00,"category":"Motor","i":4},
"fslipmin": {"unit":"Hz","id":37,"value":1.00,"isparam":true,"minimum":0.28,"maximum":10.00,"default":1.00,"category":"Motor","i":5},
"fslipmax": {"unit":"Hz","id":33,"value":3.00,"isparam":true,"minimum":0.28,"maximum":10.00,"default":3.00,"category":"Motor","i":6},
"fslipconstmax": {"unit":"Hz","id":100,"value":5.00,"isparam":true,"minimum":0.00,"maximum":10.00,"default":5.00,"category":"Motor","i":7},
"polepairs": {"unit":"","id":32,"value":4.00,"isparam":true,"minimum":1.00,"maximum":16.00,"default":2.00,"category":"Motor","i":8},
"respolepairs": {"unit":"","id":93,"value":2.00,"isparam":true,"minimum":1.00,"maximum":16.00,"default":1.00,"category":"Motor","i":9},
"sincosofs": {"unit":"dig","id":131,"value":2048.00,"isparam":true,"minimum":1.00,"maximum":4096.00,"default":2048.00,"category":"Motor","i":10},
"encmode": {"unit":"0=Single, 1=AB, 2=ABZ, 3=SPI, 4=Resolver, 5=SinCos","id":75,"value":4.00,"isparam":true,"minimum":0.00,"maximum":5.00,"default":0.00,"category":"Motor","i":11},
"fmax": {"unit":"Hz","id":9,"value":200.00,"isparam":true,"minimum":21.00,"maximum":1000.00,"default":200.00,"category":"Motor","i":12},
"numimp": {"unit":"ppr","id":15,"value":64.00,"isparam":true,"minimum":8.00,"maximum":8192.00,"default":60.00,"category":"Motor","i":13},
"dirchrpm": {"unit":"rpm","id":87,"value":100.00,"isparam":true,"minimum":0.00,"maximum":20000.00,"default":100.00,"category":"Motor","i":14},
"dirmode": {"unit":"0=Button, 1=Switch, 2=ButtonReversed, 3=SwitchReversed, 4=DefaultForward","id":95,"value":1.00,"isparam":true,"minimum":0.00,"maximum":4.00,"default":1.00,"category":"Motor","i":15},
"snsm": {"unit":"12=KTY83-110, 13=KTY84-130, 14=Leaf, 15=KTY81-110, 16=Toyota, 21=OutlanderFront, 22=EpcosB57861-S, 23=ToyotaGen2","id":46,"value":13.00,"isparam":true,"minimum":12.00,"maximum":23.00,"default":12.00,"category":"Motor","i":16},
"pwmfrq": {"unit":"0=17.6kHz, 1=8.8kHz, 2=4.4KHz","id":13,"value":2.00,"isparam":true,"minimum":0.00,"maximum":2.00,"default":1.00,"category":"Inverter","i":17},
"il1gain": {"unit":"dig/A","id":27,"value":3.18,"isparam":true,"minimum":-100.00,"maximum":100.00,"default":4.68,"category":"Inverter","i":21},
"il2gain": {"unit":"dig/A","id":28,"value":3.18,"isparam":true,"minimum":-100.00,"maximum":100.00,"default":4.68,"category":"Inverter","i":22},
"udcgain": {"unit":"dig/V","id":29,"value":3.78,"isparam":true,"minimum":0.00,"maximum":4095.00,"default":6.15,"category":"Inverter","i":23},
"udcofs": {"unit":"dig","id":77,"value":327.00,"isparam":true,"minimum":0.00,"maximum":4095.00,"default":0.00,"category":"Inverter","i":24},
"udclim": {"unit":"V","id":48,"value":540.00,"isparam":true,"minimum":0.00,"maximum":1000.00,"default":540.00,"category":"Inverter","i":25},
"snshs": {"unit":"0=JCurve, 1=Semikron, 2=MBB600, 3=KTY81, 4=PT1000, 5=NTCK45_2k2, 6=Leaf, 7=BMW-i3","id":45,"value":0.00,"isparam":true,"minimum":0.00,"maximum":7.00,"default":0.00,"category":"Inverter","i":26},
"potmin": {"unit":"dig","id":17,"value":0.00,"isparam":true,"minimum":0.00,"maximum":4095.00,"default":0.00,"category":"Throttle","i":27},
"potmax": {"unit":"dig","id":18,"value":4095.00,"isparam":true,"minimum":0.00,"maximum":4095.00,"default":4095.00,"category":"Throttle","i":28},
"pot2min": {"unit":"dig","id":63,"value":4095.00,"isparam":true,"minimum":0.00,"maximum":4095.00,"default":4095.00,"category":"Throttle","i":29},
"pot2max": {"unit":"dig","id":64,"value":4095.00,"isparam":true,"minimum":0.00,"maximum":4095.00,"default":4095.00,"category":"Throttle","i":30},
"potmode": {"unit":"0=SingleRegen, 1=DualChannel, 2=CAN, 3=CANDual, 4=BiDir, 6=CANBiDir","id":82,"value":0.00,"isparam":true,"minimum":0.00,"maximum":6.00,"default":0.00,"category":"Throttle","i":31},
"throtramp": {"unit":"%/10ms","id":81,"value":100.00,"isparam":true,"minimum":0.09,"maximum":100.00,"default":100.00,"category":"Throttle","i":32},
"throtramprpm": {"unit":"rpm","id":85,"value":20000.00,"isparam":true,"minimum":0.00,"maximum":20000.00,"default":20000.00,"category":"Throttle","i":33},
"ampmin": {"unit":"%","id":4,"value":10.00,"isparam":true,"minimum":0.00,"maximum":100.00,"default":10.00,"category":"Throttle","i":34},
"slipstart": {"unit":"%","id":90,"value":50.00,"isparam":true,"minimum":10.00,"maximum":100.00,"default":50.00,"category":"Throttle","i":35},
"sinecurve": {"unit":"0=VoltageSlip, 1=Simultaneous","id":146,"value":0.00,"isparam":true,"minimum":0.00,"maximum":1.00,"default":0.00,"category":"Throttle","i":36},
"throtfilter": {"unit":"dig","id":147,"value":4.00,"isparam":true,"minimum":0.00,"maximum":10.00,"default":4.00,"category":"Throttle","i":37},
"brakeregen": {"unit":"%","id":38,"value":-50.00,"isparam":true,"minimum":-100.00,"maximum":0.00,"default":-50.00,"category":"Regen","i":38},
"regenramp": {"unit":"%/10ms","id":68,"value":100.00,"isparam":true,"minimum":0.09,"maximum":100.00,"default":100.00,"category":"Regen","i":39},
"regentravel": {"unit":"%","id":19,"value":30.00,"isparam":true,"minimum":0.00,"maximum":100.00,"default":30.00,"category":"Regen","i":40},
"offthrotregen": {"unit":"%","id":49,"value":-30.00,"isparam":true,"minimum":-100.00,"maximum":0.00,"default":-30.00,"category":"Regen","i":41},
"cruiseregen": {"unit":"%","id":124,"value":-30.00,"isparam":true,"minimum":-100.00,"maximum":0.00,"default":-30.00,"category":"Regen","i":42},
"regenrampstr": {"unit":"Hz","id":39,"value":10.00,"isparam":true,"minimum":0.00,"maximum":400.00,"default":10.00,"category":"Regen","i":43},
"brklightout": {"unit":"%","id":67,"value":-50.00,"isparam":true,"minimum":-100.00,"maximum":-1.00,"default":-50.00,"category":"Regen","i":44},
"bmslimhigh": {"unit":"%","id":55,"value":50.00,"isparam":true,"minimum":0.00,"maximum":100.00,"default":50.00,"category":"Derating","i":45},
"bmslimlow": {"unit":"%","id":56,"value":-1.00,"isparam":true,"minimum":-100.00,"maximum":0.00,"default":-1.00,"category":"Derating","i":46},
"udcmin": {"unit":"V","id":42,"value":0.00,"isparam":true,"minimum":0.00,"maximum":1000.00,"default":450.00,"category":"Derating","i":47},
"udcmax": {"unit":"V","id":43,"value":520.00,"isparam":true,"minimum":0.00,"maximum":1000.00,"default":520.00,"category":"Derating","i":48},
"idcmax": {"unit":"A","id":96,"value":5000.00,"isparam":true,"minimum":0.00,"maximum":5000.00,"default":5000.00,"category":"Derating","i":49},
"idcmin": {"unit":"A","id":98,"value":-5000.00,"isparam":true,"minimum":-5000.00,"maximum":0.00,"default":-5000.00,"category":"Derating","i":50},
"idckp": {"unit":"dig","id":130,"value":2.00,"isparam":true,"minimum":0.09,"maximum":20.00,"default":2.00,"category":"Derating","i":51},
"idcflt": {"unit":"dig","id":132,"value":9.00,"isparam":true,"minimum":0.00,"maximum":11.00,"default":9.00,"category":"Derating","i":52},
"tmphsmax": {"unit":"°C","id":125,"value":150.00,"isparam":true,"minimum":50.00,"maximum":150.00,"default":85.00,"category":"Derating","i":53},
"tmpmmax": {"unit":"°C","id":127,"value":300.00,"isparam":true,"minimum":70.00,"maximum":300.00,"default":300.00,"category":"Derating","i":54},
"throtmax": {"unit":"%","id":97,"value":100.00,"isparam":true,"minimum":0.00,"maximum":100.00,"default":100.00,"category":"Derating","i":55},
"throtmin": {"unit":"%","id":119,"value":-100.00,"isparam":true,"minimum":-100.00,"maximum":0.00,"default":-100.00,"category":"Derating","i":56},
"iacmax": {"unit":"A","id":89,"value":5000.00,"isparam":true,"minimum":0.00,"maximum":5000.00,"default":5000.00,"category":"Derating","i":57},
"ifltrise": {"unit":"dig","id":91,"value":10.00,"isparam":true,"minimum":0.00,"maximum":32.00,"default":10.00,"category":"Derating","i":58},
"ifltfall": {"unit":"dig","id":92,"value":3.00,"isparam":true,"minimum":0.00,"maximum":32.00,"default":3.00,"category":"Derating","i":59},
"chargemode": {"unit":"0=Off, 3=Boost, 4=Buck","id":74,"value":0.00,"isparam":true,"minimum":0.00,"maximum":4.00,"default":0.00,"category":"Charger","i":60},
"chargecur": {"unit":"A","id":71,"value":0.00,"isparam":true,"minimum":0.00,"maximum":50.00,"default":0.00,"category":"Charger","i":61},
"chargekp": {"unit":"dig","id":72,"value":80.00,"isparam":true,"minimum":-100.00,"maximum":100.00,"default":80.00,"category":"Charger","i":62},
"chargeki": {"unit":"dig","id":126,"value":10.00,"isparam":true,"minimum":-100.00,"maximum":100.00,"default":10.00,"category":"Charger","i":63},
"chargeflt": {"unit":"dig","id":73,"value":8.00,"isparam":true,"minimum":0.00,"maximum":10.00,"default":8.00,"category":"Charger","i":64},
"chargepwmin": {"unit":"%","id":128,"value":0.00,"isparam":true,"minimum":0.00,"maximum":99.00,"default":0.00,"category":"Charger","i":65},
"chargepwmax": {"unit":"%","id":79,"value":90.00,"isparam":true,"minimum":0.00,"maximum":99.00,"default":90.00,"category":"Charger","i":66},
"idlespeed": {"unit":"rpm","id":54,"value":-100.00,"isparam":true,"minimum":-100.00,"maximum":10000.00,"default":-100.00,"category":"Automation","i":67},
"idlethrotlim": {"unit":"%","id":65,"value":50.00,"isparam":true,"minimum":0.00,"maximum":100.00,"default":50.00,"category":"Automation","i":68},
"idlemode": {"unit":"0=Always, 1=NoBrake, 2=Cruise, 3=Off, 4=HillHold","id":66,"value":3.00,"isparam":true,"minimum":0.00,"maximum":4.00,"default":3.00,"category":"Automation","i":69},
"holdkp": {"unit":"","id":138,"value":-0.25,"isparam":true,"minimum":-100.00,"maximum":0.00,"default":-0.25,"category":"Automation","i":70},
"speedkp": {"unit":"","id":53,"value":0.25,"isparam":true,"minimum":0.00,"maximum":100.00,"default":0.25,"category":"Automation","i":71},
"speedflt": {"unit":"","id":57,"value":5.00,"isparam":true,"minimum":0.00,"maximum":16.00,"default":5.00,"category":"Automation","i":72},
"cruisemode": {"unit":"0=Button, 1=Switch, 2=CAN, 3=ThrottlePot","id":62,"value":0.00,"isparam":true,"minimum":0.00,"maximum":3.00,"default":0.00,"category":"Automation","i":73},
"udcsw": {"unit":"V","id":20,"value":330.00,"isparam":true,"minimum":0.00,"maximum":1000.00,"default":330.00,"category":"Contactor Control","i":74},
"udcswbuck": {"unit":"V","id":80,"value":540.00,"isparam":true,"minimum":0.00,"maximum":1000.00,"default":540.00,"category":"Contactor Control","i":75},
"tripmode": {"unit":"0=AllOff, 1=DcSwOn, 2=PrechargeOn, 3=AutoResume","id":86,"value":0.00,"isparam":true,"minimum":0.00,"maximum":3.00,"default":0.00,"category":"Contactor Control","i":76},
"bootprec": {"unit":"0=Off, 1=On, 2=na","id":135,"value":0.00,"isparam":true,"minimum":0.00,"maximum":1.00,"default":0.00,"category":"Contactor Control","i":77},
"pwmfunc": {"unit":"0=tmpm, 1=tmphs, 2=speed, 3=speedfrq","id":58,"value":0.00,"isparam":true,"minimum":0.00,"maximum":3.00,"default":0.00,"category":"Aux PWM","i":78},
"pwmgain": {"unit":"","id":40,"value":100.00,"isparam":true,"minimum":-100000.00,"maximum":100000.00,"default":100.00,"category":"Aux PWM","i":79},
"pwmofs": {"unit":"dig","id":41,"value":0.00,"isparam":true,"minimum":-65535.00,"maximum":65535.00,"default":0.00,"category":"Aux PWM","i":80},
"canspeed": {"unit":"0=125k, 1=250k, 2=500k, 3=800k, 4=1M","id":83,"value":1.00,"isparam":true,"minimum":0.00,"maximum":4.00,"default":2.00,"category":"Communication","i":81},
"canperiod": {"unit":"0=100ms, 1=10ms","id":88,"value":0.00,"isparam":true,"minimum":0.00,"maximum":1.00,"default":0.00,"category":"Communication","i":82},
"nodeid": {"unit":"","id":129,"value":1.00,"isparam":true,"minimum":1.00,"maximum":63.00,"default":1.00,"category":"Communication","i":83},
"manualstart": {"unit":"0=Off, 1=On, 2=na","id":150,"value":0.00,"isparam":true,"minimum":0.00,"maximum":1.00,"default":0.00,"category":"Testing","i":84},
"fslipspnt": {"unit":"Hz","id":151,"value":1.00,"isparam":true,"minimum":-100.00,"maximum":1000.00,"default":0.00,"category":"Testing","i":85},
"ampnom": {"unit":"%","id":152,"value":66.25,"isparam":true,"minimum":0.00,"maximum":100.00,"default":0.00,"category":"Testing","i":86},
"version": {"unit":"4=5.27.R-sine","id":2039,"value":4.00,"isparam":false},
"hwver": {"unit":"0=Rev1, 1=Rev2, 2=Rev3, 3=Tesla, 4=BluePill, 5=Prius","id":2036,"value":5.00,"isparam":false},
"opmode": {"unit":"0=Off, 1=Run, 2=ManualRun, 3=Boost, 4=Buck, 5=Sine, 6=AcHeat","id":2000,"value":0.00,"isparam":false},
"lasterr": {"unit":"0=NONE, 1=OVERCURRENT, 2=THROTTLE1, 3=THROTTLE2, 4=CANTIMEOUT, 5=EMCYSTOP, 6=MPROT, 7=DESAT, 8=OVERVOLTAGE, 9=ENCODER, 10=PRECHARGE, 11=TMPHSMAX, 12=CURRENTLIMIT, 13=PWMSTUCK, 14=HICUROFS1, 15=HICUROFS2, 16=HIRESOFS, 17=LORESAMP, 18=TMPMMAX,","id":2038,"value":7.00,"isparam":false},
"status": {"unit":"0=None, 1=UdcLow, 2=UdcHigh, 4=UdcBelowUdcSw, 8=UdcLim, 16=EmcyStop, 32=MProt, 64=PotPressed, 128=TmpHs, 256=WaitStart","id":2044,"value":4.00,"isparam":false},
"udc": {"unit":"V","id":2001,"value":-84.87,"isparam":false},
"idc": {"unit":"A","id":2002,"value":0.00,"isparam":false},
"il1": {"unit":"A","id":2003,"value":-0.31,"isparam":false},
"il2": {"unit":"A","id":2004,"value":0.62,"isparam":false},
"ilmax": {"unit":"A","id":2005,"value":0.59,"isparam":false},
"uac": {"unit":"V","id":2006,"value":-1.87,"isparam":false},
"il1rms": {"unit":"A","id":2007,"value":0.00,"isparam":false},
"il2rms": {"unit":"A","id":2008,"value":0.00,"isparam":false},
"boostcalc": {"unit":"dig","id":2009,"value":1700.00,"isparam":false},
"fweakcalc": {"unit":"Hz","id":2010,"value":400.00,"isparam":false},
"fstat": {"unit":"Hz","id":2011,"value":1.00,"isparam":false},
"speed": {"unit":"rpm","id":2012,"value":0.00,"isparam":false},
"cruisespeed": {"unit":"rpm","id":2041,"value":-1.00,"isparam":false},
"turns": {"unit":"","id":2037,"value":13.00,"isparam":false},
"amp": {"unit":"dig","id":2013,"value":1185.00,"isparam":false},
"angle": {"unit":"°","id":2014,"value":72.81,"isparam":false},
"pot": {"unit":"dig","id":2015,"value":34.00,"isparam":false},
"pot2": {"unit":"dig","id":2016,"value":18.00,"isparam":false},
"regenpreset": {"unit":"%","id":2051,"value":100.00,"isparam":false},
"potnom": {"unit":"%","id":2017,"value":0.00,"isparam":false},
"dir": {"unit":"-1=Reverse, 0=Neutral, 1=Forward","id":2018,"value":0.00,"isparam":false},
"tmphs": {"unit":"°C","id":2019,"value":166.28,"isparam":false},
"tmpm": {"unit":"°C","id":2020,"value":300.00,"isparam":false},
"uaux": {"unit":"V","id":2021,"value":13.09,"isparam":false},
"pwmio": {"unit":"","id":2045,"value":0.00,"isparam":false},
"canio": {"unit":"1=Cruise, 2=Start, 4=Brake, 8=Fwd, 16=Rev, 32=Bms","id":2022,"value":0.00,"isparam":false},
"din_cruise": {"unit":"0=Off, 1=On, 2=na","id":2023,"value":0.00,"isparam":false},
"din_start": {"unit":"0=Off, 1=On, 2=na","id":2024,"value":0.00,"isparam":false},
"din_brake": {"unit":"0=Off, 1=On, 2=na","id":2025,"value":0.00,"isparam":false},
"din_mprot": {"unit":"0=Error, 1=Ok, 2=na","id":2026,"value":1.00,"isparam":false},
"din_forward": {"unit":"0=Off, 1=On, 2=na","id":2027,"value":0.00,"isparam":false},
"din_reverse": {"unit":"0=Off, 1=On, 2=na","id":2028,"value":0.00,"isparam":false},
"din_emcystop": {"unit":"0=Error, 1=Ok, 2=na","id":2029,"value":1.00,"isparam":false},
"din_ocur": {"unit":"0=Error, 1=Ok, 2=na","id":2030,"value":1.00,"isparam":false},
"din_desat": {"unit":"0=Error, 1=Ok, 2=na","id":2031,"value":0.00,"isparam":false},
"din_bms": {"unit":"0=Off, 1=On, 2=na","id":2032,"value":0.00,"isparam":false},
"cpuload": {"unit":"%","id":2035,"value":3.28,"isparam":false},
"serial": {"unit":"","value":"67044107","isparam":false}
}
RetroZero
Posts: 731
Joined: Tue Oct 29, 2019 2:48 pm
Location: France
Has thanked: 329 times
Been thanked: 44 times
Contact:

Re: Prius Gen 2 inverter with Gen 2 transaxle no test spin

Post by RetroZero »

Can't really read the values, except Boost is at 1700. Should be 20000-30000
Bagheera
Posts: 14
Joined: Sun Jun 05, 2022 7:14 am
Location: Sweden 🇸🇪
Has thanked: 1 time
Been thanked: 4 times
Contact:

Re: Prius Gen 2 inverter with Gen 2 transaxle no test spin

Post by Bagheera »

RetroZero wrote: Wed Aug 09, 2023 11:32 am Can't really read the values, except Boost is at 1700. Should be 20000-30000
That is true, I changed it to 20000 but no difference.
Bagheera
Posts: 14
Joined: Sun Jun 05, 2022 7:14 am
Location: Sweden 🇸🇪
Has thanked: 1 time
Been thanked: 4 times
Contact:

Re: Prius Gen 2 inverter with Gen 2 transaxle no test spin  [SOLVED]

Post by Bagheera »

Good news, everyone, I have spin!
Minimum settings needed for spin or lights from default (version 5.27.R-sine) are the following:
0 boost 20000
15 dirmode DefaultForward
85 fslipspnt 1
86 ampnom 70

There was an issue with low voltage (12v) supply to the inverter for me, when I fixed it the power draw went up to 1,2A for the inverter and Openinverter PCB together.
But still the lights wouldn't light up, once I changed dirmode to DefaultForward I could hear noise from the inverter, first real life sign it has made for me, then I knew I was getting close. The "high voltage" (12v feed) was 1v at the rails, so I put a 5A fuse in parallel with the 230v lightbulb, then I got lights blinking.
When it tried the MG1 motor the 5A fuse blew, but with a 25A fuse everything worked great, had to increase the fslipspnt to 10 to get smooth rotation of MG1, MG2 doesn't want to rotate because of the parking break I would guess.

Thanks for the input from everyone who posted on my thread, it would have been even harder without help.

I hope this helps someone else trying to get their first spin.
Attachments
IMG_20230809_195133.jpg
MattsAwesomeStuff
Posts: 898
Joined: Fri Apr 26, 2019 5:40 pm
Has thanked: 291 times
Been thanked: 177 times

Re: Prius Gen 2 inverter with Gen 2 transaxle no test spin

Post by MattsAwesomeStuff »

Bagheera wrote: Wed Aug 09, 2023 6:19 pmThere was an issue with low voltage (12v) supply to the inverter for me
I never really figured out what fixed the problem (or caused it the second time, or re-fixed it), but I had my suspicions it was something to do with this too.

Also, the boost. IIRC whatever instructions I was following didn't tell me to crank the boost, and that was essential to getting it to do anything.
arber333
Posts: 3265
Joined: Mon Dec 24, 2018 1:37 pm
Location: Slovenia
Has thanked: 80 times
Been thanked: 234 times
Contact:

Re: Prius Gen 2 inverter with Gen 2 transaxle no test spin

Post by arber333 »

Bagheera wrote: Wed Aug 09, 2023 6:19 pm Good news, everyone, I have spin!
Minimum settings needed for spin or lights from default (version 5.27.R-sine) are the following:
0 boost 20000
15 dirmode DefaultForward
85 fslipspnt 1
86 ampnom 70
........

Thanks for the input from everyone who posted on my thread, it would have been even harder without help.

I hope this helps someone else trying to get their first spin.
That boost should be proportional to the HV voltage. If you have 120vdc you need 10x less boost to move motor than at 12v. Still i recommend at least 24vdc for testing with inverter. I need to use 48v since internal logic of GM Volt inverter is awake then...

I also remember from early attempts with acim motors in v/hz mode i would have to set ampnom at 75% because voltage boost would require some amps to start the field from 0.
Post Reply