Prius Gen2 bench test

Topics concerning the Toyota and Lexus inverter drop in boards
Post Reply
kon
Posts: 28
Joined: Sat Mar 20, 2021 7:54 pm

Prius Gen2 bench test

Post by kon »

Hi,
I have a prius gen 2 board wired up and ready for a test on real hardware (inverter).
Before doing that I want to verify that everything is working correctly.
I have it on the bench, powered with a 12V PSU. See parameters attached. I can start the inverter in manual mode, however get opmode returns 1 and in the Spot Values I can see opmode is run and not manual run.

I probed all pins of the 12pin connector, and none have a PWM signal.
Is there anything I am missing?

Thanks!
Attachments
Screenshot_20210626_185825.png
params.json
(1.37 KiB) Downloaded 146 times
User avatar
ZooKeeper
Posts: 507
Joined: Mon Mar 30, 2020 10:23 pm
Location: USA

Re: Prius Gen2 bench test

Post by ZooKeeper »

Which board (VCU) are you using?
Huebner VCU controlling a Gen2 Prius Inverter powering an MGR
"Talent is equally distributed but opportunity is not." - Leila Janah
kon
Posts: 28
Joined: Sat Mar 20, 2021 7:54 pm

Re: Prius Gen2 bench test

Post by kon »

Gen 2 SMD version
User avatar
johu
Site Admin
Posts: 6619
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 343 times
Been thanked: 1485 times
Contact:

Re: Prius Gen2 bench test

Post by johu »

start pin constantly high? Also set udcnom=0 for testing.
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
kon
Posts: 28
Joined: Sat Mar 20, 2021 7:54 pm

Re: Prius Gen2 bench test

Post by kon »

20pin connector only has +12 and GND connected, I can see that my opmode switches to RUN when touching +12 to the start pin.
I'm getting the following error msg:
[97950]: DERATE - TMPHSMAX
thmphsmax is already maxed out to 150°C , but tmphs is at 166.28°C
kon
Posts: 28
Joined: Sat Mar 20, 2021 7:54 pm

Re: Prius Gen2 bench test

Post by kon »

Got around the tmphsmax by hard coding it to a random value within limits and recompiling the FW.
I still can't start the inverter in manual mode.
error memory shows
STOP - DESAT
I can get opmode to 1.0 by holding start pin high, but still no PWM out. Starting inverter in manual mode won't change opmode (stays 0)
User avatar
johu
Site Admin
Posts: 6619
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 343 times
Been thanked: 1485 times
Contact:

Re: Prius Gen2 bench test

Post by johu »

Have you connected ALL inverter pins on the 12 pin connector? That will give you a valid temperature and remove the DESAT error
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
kon
Posts: 28
Joined: Sat Mar 20, 2021 7:54 pm

Re: Prius Gen2 bench test

Post by kon »

This test was board only (no inverter connected). I wanted to verify the output on the bench first, before connecting it to the inverter.
I was hoping that there is a way of testing outputs without inverter, but I guess it's easier to test with the board connected to the inverter ...
User avatar
johu
Site Admin
Posts: 6619
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 343 times
Been thanked: 1485 times
Contact:

Re: Prius Gen2 bench test

Post by johu »

oh ok. Well then connect a the desat input (MFIV) to 6V or more.
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
kon
Posts: 28
Joined: Sat Mar 20, 2021 7:54 pm

Re: Prius Gen2 bench test

Post by kon »

Thanks Johannes! I got it hooked up to the inverter, and was able to spin the motor in manual mode.
I'm using a kollmorgen kbm motor, and a 12V PSU.
The motor itself does not have an encoder, but I could buy one if needed.
Next step is hooking up a TPS (I have a spare e46m3 pedal) and run it in non-manual mode. Do I need an encoder for this to work, or should it work without? This is just for an on-the-bench test setup, I'm planing on using a leaf motor with encoder in the final install.
thanks
kon
Posts: 28
Joined: Sat Mar 20, 2021 7:54 pm

Re: Prius Gen2 bench test

Post by kon »

I got it all running, using a 48V battery, leaf motor/resolver and FOC firmware. only issue I'm having is that the motor won't stop spinning once it started (after throttle input)
LRBen
Posts: 561
Joined: Thu Jul 04, 2019 6:35 pm
Location: Somerset, UK
Has thanked: 75 times
Been thanked: 212 times

Re: Prius Gen2 bench test

Post by LRBen »

kon wrote: Fri Jul 09, 2021 5:49 am I got it all running, using a 48V battery, leaf motor/resolver and FOC firmware. only issue I'm having is that the motor won't stop spinning once it started (after throttle input)
Sounds like the resolver wires are not in the right combination. The FOC tuning video goes over that pretty well. I had the exact same thing when I was setting mine up.
User avatar
ZooKeeper
Posts: 507
Joined: Mon Mar 30, 2020 10:23 pm
Location: USA

Re: Prius Gen2 bench test

Post by ZooKeeper »

kon wrote: Fri Jul 09, 2021 5:49 am I got it all running, using a 48V battery, leaf motor/resolver and FOC firmware. only issue I'm having is that the motor won't stop spinning once it started (after throttle input)
Yea, been there, done that :O

That condition is due to syncoffs not being correct (FOC tuning performed) PRIOR to utilizing the throttle input.

Fortunately there is a FOC tuning video now that does an excellent job of walking one thru the process.
Huebner VCU controlling a Gen2 Prius Inverter powering an MGR
"Talent is equally distributed but opportunity is not." - Leila Janah
kon
Posts: 28
Joined: Sat Mar 20, 2021 7:54 pm

Re: Prius Gen2 bench test

Post by kon »

thank you, got it tuned and it runs like clockwork now!
Post Reply