Page 4 of 7

Re: Unlocking the power/torque of Prius gen 3 drive train?

Posted: Thu Jan 08, 2026 9:07 pm
by Ghia66
tom91 wrote: Thu Jan 08, 2026 6:43 pm Is all the 12V to the inverter via that relay?

If the issues remains like it does need to confirm what inverter Greg has in his rabbit and what firmware was used as a base for testing on it (yes I did write it but its a while ago).
Yes all the 12 volts is via the relay to the inverter.

The two inverters
IMG_2368.jpeg
IMG_2397.jpeg
Greg thinks that it was either version 2.17 or 2.19 with a in between custom release that you sorted out for him.

Thanks Tom

Re: Unlocking the power/torque of Prius gen 3 drive train?

Posted: Fri Jan 09, 2026 7:59 pm
by Ghia66
I sent 2.20A logs and parameters to perplexity.ai to see what advice could be had.
This is what I got…

Is any of it worth trying/following up on?

With a Prius Gen3 inverter and BMW safety box, the fact it ran on 2.15A but not on 2.20A almost certainly points to a configuration / input‑mapping change rather than a hardware fault.​​

What is already working

The logs show opmode reaches 1, DC bus is ~362 V, and the inverter status is on, so the Prius inverter is actually being started by the VCU.

potnom reaches ~100% and dir flips correctly, so the throttle pedal and direction inputs are being read and scaled.

Motor speed changes slightly, so the inverter is producing some torque, just nowhere near enough to move the car.

This means the basic Prius inverter wiring, BMW safety box, and HV contactor control are OK.

Prius‑specific trouble spots with 2.20A

For a Prius + BMW safety box setup, these are the areas most likely to have changed between 2.15A and 2.20A and silently kill torque:

Drive‑enable / HV request input

If you use a 12 V “drive enable” (from the BMW box or ignition) into one of the generic inputs (e.g. HV request, park/drive, brake), confirm that:

The input is still mapped to the same function (HVReq, DriveEnable, etc.).

It actually shows the expected state in the web UI while your foot is on the pedal.

2.20A has slightly stricter logic in some builds: if that input is not in the “drive” state, it will let the inverter run but clamp torque to almost zero.

BMS / shunt configuration and limits

With a BMW safety box, the pack voltage/current may come either from a shunt, BMS over CAN, or be “fixed”. Check that:

ShuntType and BMS_Mode match what you physically have (for a simple BMW box without CAN current, often this wants to be “no shunt / simple BMS”).

CCS_ILim, CCS_SOCLim, SOCFC, BMS_VminLimit/BMS_VmaxLimit and BMS_TminLimit/BMS_TmaxLimit are reasonable so the VCU does not think the pack is out of range.

If 2.20A now expects current or SOC from a different source than 2.15A, it can decide “no valid current / SOC” and reduce traction torque.

Prius “gear” / direction handling

On the Prius connections, there is usually one “direction” line into the inverter and an optional “gear” input or logic inside the VCU.

Check that your dirmode and Gear / GearLvr settings are still consistent with your wiring (for example: forward when your BMW shifter is in D, reverse in R).

If the firmware believes it is in neutral or in a disabled direction state, you will again see potnom move but almost no torque.


Thanks

Re: Unlocking the power/torque of Prius gen 3 drive train?

Posted: Fri Jan 09, 2026 8:14 pm
by tom91
Nope none of this has impact the code reports a torque so that will be sent to the prius inverter.

The issue possibly is in the start up method for the prius Gen 3 inverter. I would not expect this to be released without testing though so no idea why its an issue for you and not others. I believe my changes that Greg tested stayed into V2.20 and beyond.

Re: Unlocking the power/torque of Prius gen 3 drive train?

Posted: Fri Jan 09, 2026 8:58 pm
by Ghia66
tom91 wrote: Fri Jan 09, 2026 8:14 pm Nope none of this has impact the code reports a torque so that will be sent to the prius inverter.

The issue possibly is in the start up method for the prius Gen 3 inverter. I would not expect this to be released without testing though so no idea why its an issue for you and not others. I believe my changes that Greg tested stayed into V2.20 and beyond.
Thanks, Greg suggested that I check if my HSDN wire from the inverter is connected to, he thinks it goes to the Park signal from the transmission safety neutral.

How would I go about checking this out?

Re: Unlocking the power/torque of Prius gen 3 drive train?

Posted: Sat Jan 10, 2026 11:05 am
by Ghia66
IMG_2402.jpeg

It’s quite nippy in the “workshop” today!

Re: Unlocking the power/torque of Prius gen 3 drive train?

Posted: Mon Jan 12, 2026 5:52 pm
by Ghia66
IMG_2409.jpeg


Well I’m back on the road after ST linking back to 2.15A and uploading the old parameters 🙂

Re: Unlocking the power/torque of Prius gen 3 drive train?

Posted: Mon Jan 12, 2026 6:20 pm
by tom91
Please try version 2.17 https://github.com/damienmaguire/Stm32- ... /tag/2.17A

I can spin you a "testing version" that reverts one change made between V2.17A and V2.20A just to review if that helps.

Since you can now use an ST-Link it makes this easier to do without bricking your Zombie.

Re: Unlocking the power/torque of Prius gen 3 drive train?

Posted: Mon Jan 12, 2026 7:00 pm
by Ghia66
Thanks Tom, I will try 2.17A after I charge up my battery pack and revert back! 🙂

Re: Unlocking the power/torque of Prius gen 3 drive train?

Posted: Tue Jan 13, 2026 2:35 pm
by Ghia66
IMG_2426.jpeg

Re: Unlocking the power/torque of Prius gen 3 drive train?

Posted: Tue Jan 13, 2026 3:10 pm
by Ghia66
So I upgraded to 2.17A and it showed up in spot values as 2.20A!
IMG_2422.jpeg
Selected Prius 3 and restarted Zombie.
Selected manual and BMW Sbox… looked like it wanted to run but doesn’t
IMG_2422.jpeg
move.

Re: Unlocking the power/torque of Prius gen 3 drive train?

Posted: Tue Jan 13, 2026 4:59 pm
by tom91
Please try flashing V2.17 with the ST-Link

Re: Unlocking the power/torque of Prius gen 3 drive train?

Posted: Tue Jan 13, 2026 5:04 pm
by Ghia66
Will do, thanks Tom

Re: Unlocking the power/torque of Prius gen 3 drive train?

Posted: Wed Jan 14, 2026 10:03 am
by Ghia66
IMG_2434.jpeg

Used the hex file and uploaded 2.17A.

Changed parameters;
auto to manual, BMW Sbox, Prius 3

It moves! 🙂

Will go for a drive later and get some logs

Re: Unlocking the power/torque of Prius gen 3 drive train?

Posted: Wed Jan 14, 2026 10:47 am
by tom91
Okay let me know how you get on. If it drives as it should I will revert the Prius specific changes in a test branch of the V2.30A release for you to test.

Re: Unlocking the power/torque of Prius gen 3 drive train?

Posted: Wed Jan 14, 2026 12:21 pm
by Ghia66
Thanks Tom.
The car drove well…new top GPS speed 114kph!
Have attached logs and parameters.
log (6).csv
(2.42 KiB) Downloaded 3 times
params (4).json
(1.96 KiB) Downloaded 3 times

Re: Unlocking the power/torque of Prius gen 3 drive train?

Posted: Wed Jan 14, 2026 5:56 pm
by Ghia66
Went for a short drive just using MG2 “doing a Greg” and the acceleration seemed similar, less regen didn’t have enough available road to see how fast it would go.

log MG2 A (1).csv
(2.75 KiB) Downloaded 3 times

Re: Unlocking the power/torque of Prius gen 3 drive train?

Posted: Wed Jan 14, 2026 5:58 pm
by tom91
Your logs are very short so not alot to see beyond you can drive it and command torque.

I will attempt to spin you a special version to remove the V2.20A release changes for the prius and send you a DM about it.

Re: Unlocking the power/torque of Prius gen 3 drive train?

Posted: Wed Jan 14, 2026 7:05 pm
by Ghia66
Thanks very much Tom.

Are there a setting/s to make the log recording longer?
The log screen looks longer when I’m driving but when I stop logging and save they are short.

Look forward to the special version of 2.20A

Re: Unlocking the power/torque of Prius gen 3 drive train?

Posted: Wed Jan 14, 2026 7:26 pm
by tom91
Ghia66 wrote: Wed Jan 14, 2026 7:05 pm Are there a setting/s to make the log recording longer?
Not sure some of your previous logs were longers, have a look at the attached file sizes.

I have sent you a DM with the files.

Re: Unlocking the power/torque of Prius gen 3 drive train?

Posted: Wed Jan 14, 2026 7:42 pm
by Ghia66
Thank you.
I will look at the older logs

Re: Unlocking the power/torque of Prius gen 3 drive train?

Posted: Thu Jan 15, 2026 10:48 am
by Ghia66
Hi Tom, got the bin file but it didn’t upload so I’m going to have to ST link.
Would you please resend the hex file as I couldn’t find it?

Thanks

Re: Unlocking the power/torque of Prius gen 3 drive train?

Posted: Thu Jan 15, 2026 4:47 pm
by Ghia66
tom91 wrote: Wed Jan 14, 2026 7:26 pm Not sure some of your previous logs were longers, have a look at the attached file sizes.

I have sent you a DM with the files.
Went for a drive on V2.17A and plotted this 🙂


IMG_2449.png

Re: Unlocking the power/torque of Prius gen 3 drive train?

Posted: Fri Jan 16, 2026 2:49 pm
by Ghia66
tom91 wrote: Wed Jan 14, 2026 7:26 pm Not sure some of your previous logs were longers, have a look at the attached file sizes.

I have sent you a DM with the files.
IMG_2408.jpeg

Hi Tom, will you please resend the V 2.32.TA HEX file as I don’t seem to be able to find it and I’m bricked again?
Cheers Les

Re: Unlocking the power/torque of Prius gen 3 drive train?

Posted: Mon Jan 19, 2026 3:44 pm
by Ghia66
file.jpeg

Installed and changed parameters Prius G3 and BMW Sbox.

It works! Thanks Tom you are a genius!

It’s raining and my windscreen wipers are not working so it will be tomorrow before I go for a test drive.

Re: Unlocking the power/torque of Prius gen 3 drive train?

Posted: Mon Jan 19, 2026 6:11 pm
by Ghia66
Well I just had to try it out so went to the shops in the rain and traffic.

Drove well…maybe smoother but suddenly noticed that I have very little/none regen! Lucky I fitted 4 pot Wilwood brakes!
log (6) 2.csv
(2.16 KiB) Downloaded 2 times
params (4) 2.json
(2.14 KiB) Downloaded 3 times