Having run into what sound like the same issues as you, here are some things that I would advise, which worked for me.jeffb wrote: ↑Sun Apr 24, 2022 10:03 pmThank you, that was helpful! I have the web interface coming up now, but I'm having trouble getting the motor to spin. I suspect a sequencing issue with connecting power, and was hoping someone who has gotten this working may be able to spot my error.
When I power up and press 'Display Error Memory', I see the message "[500]: STOP - PRECHARGE". I'm using a 30V, 10A benchtop power supply to provide "high voltage" temporarily so I can attempt to give the motor a test spin. I have connected the power supply to the screws per the wiki (https://openinverter.org/wiki/Toyota_Pr ... Connection). I have a separate 12v wall wart powering the logic board, via the IDC connector pins.
After some research, I figured this was because the 'udcsw' parameter was set to 330v. I changed it to 25v for now. I'm assuming the parameter takes effect immediately, as I saw an affirmative message in the log ("OK Set Ok"). I measured the voltage at the pins with a multimeter and it was indeed 30v, but the power supply reports that zero current is being drawn. I cleared the error messages and pressed 'display error log' and it showed the pre-charge error again again. If I power cycle the 12v to the board, udcsw is set back to 330v.
Q1: Do I need to do anything special after changing udcsw to get it out of the error state?
Q2: Is the "STOP - PRECHARGE" error that I see the second time a stale message from before, or is it failing repeatedly? Is there any way to know if it has precharged successfully?
Q3: How do I get these parameter changes to "stick" after reboot?
I don't have a contactor attached. I tried both powering up 30v before turning on the 12v supply and after. I have seen people using a precharge resistor, but I'm assuming that isn't necessary, since my power supply is current limited.
Under the assumption that the message could be stale, I moved ahead and set fslipspnt to 10 Hz and ampnom to 100%, then pressed the 'start inverter in manual mode' button. I don't have the resolver hooked up (this is with a LEAF motor), but I'm assuming it will at least try to spin in open loop mode. Pressing the 'display error memory' button, I now see the message "[18099]: STOP - OVERCURRENT" As I understand, this is a catch-all message tied to the pin coming off of the Toyota hardware.
Q4: What power supplies are y'all using for testing?
Q5: What sequence do you usually use to apply high voltage?
Q6: Does anyone have any insights as to why this may be failing?
Here's a picture of my setup for reference:
Thanks!
Don't try and ignore an error and move forward. It won't work. You'll need to fix your precharge problem first.
Wire up an ignition and start switch. I used the actual ignition switch from my car. I found I needed to go through a lot of loops making changes, stopping/starting the inverter and seeing what the result was.
As for changing the parameters, any changes you make will be lost on stop/start unless you save them. So, if you set udcsw to 25V, save the params, stop/start the inverter, that should clear your precharge error.
As for the what order to connect the power, 'HV' first, then power on the inverter. When the inverter powers up, it closes the precharge contactor straight away - applying the HV. But since you're not using contactors yet, you'll need to manually apply the 'HV' yourself first. Of course, don't connect a real HV source directly like this or you'll blow the main cap in the inverter.
Good luck
chrskly