johu wrote: ↑Wed Nov 25, 2020 9:56 pm
Ok, definitely no resolver
They mention various feedback devices
I think we found out it is in fact a UVW encoder and all 3 phase leads were fed through one hall effect current sensor in the original inverter for that motor. Encoder has 3 signal wires that seem to produce 4 pulses each per full motor revolution although it seems pulses start and end at different motor positions with each signal wire. Is a software solution (or signal conversion) even possible for such an encoder with openinverter?
Well Crap!!!!!!!!!
Openinverter FOC Tuning. i have drove my self crazy.
i hate guess work. wrote down wiring connections for the Prius Gen 3 to the P314 transmission for my electric mazda, now after finding the exciter wiring and resolver wiring, i now have tried over 16 different combinations for the resolver winding, anyways i keep getting a crazy 180-260 degree jump on the angle sensor of the open inverter gen three prius board, now my question, has anyone figured this wiring mess out?
Dylan Witt wrote: ↑Sun Nov 29, 2020 6:11 am
Well Crap!!!!!!!!!
Openinverter FOC Tuning. i have drove my self crazy.
i hate guess work. wrote down wiring connections for the Prius Gen 3 to the P314 transmission for my electric mazda, now after finding the exciter wiring and resolver wiring, i now have tried over 16 different combinations for the resolver winding, anyways i keep getting a crazy 180-260 degree jump on the angle sensor of the open inverter gen three prius board, now my question, has anyone figured this wiring mess out?
Have you watched Damien's video carefully? After you identify exciter windings (lower resistance ones) you only got 4 possible combinations left.
Dylan Witt wrote: ↑Sun Nov 29, 2020 6:11 am
Well Crap!!!!!!!!!
Openinverter FOC Tuning. i have drove my self crazy.
i hate guess work. wrote down wiring connections for the Prius Gen 3 to the P314 transmission for my electric mazda, now after finding the exciter wiring and resolver wiring, i now have tried over 16 different combinations for the resolver winding, anyways i keep getting a crazy 180-260 degree jump on the angle sensor of the open inverter gen three prius board, now my question, has anyone figured this wiring mess out?
At the first I would be check resolver polpair in your inverter settings. (Hint: polpair=1 )
Is anybody try to start MG1 and MG2 power stages in parallel with six jumpers SJ1-6?
How connect three phases outputs? If I connect in parallel to regular outputs, then MG2 current will be measured with regular current sensors, but MG1 current sensors connect to Arduino and MG1 current stay not measured.
Is this problem may be fixed with MG2 current sensors calibration?
UStas wrote: ↑Wed Dec 02, 2020 11:22 pm
Is anybody try to start MG1 and MG2 power stages in parallel with six jumpers SJ1-6?
How connect three phases outputs? If I connect in parallel to regular outputs, then MG2 current will be measured with regular current sensors, but MG1 current sensors connect to Arduino and MG1 current stay not measured.
Is this problem may be fixed with MG2 current sensors calibration?
Konstantin8818 had both MG1 and MG2 running at the same time, he posted youtube video about it. Maybe he could advise you?
Anybody knows if there is some sort of firmware to run DCDC converter on the gen 3 Prius inverter? There is a section 'Charger' in the web interface. What is it for? Thanks
m.art.y wrote: ↑Sun Dec 06, 2020 9:06 pm
Konstantin8818 had both MG1 and MG2 running at the same time, he posted youtube video about it. Maybe he could advise you?
Sorry, but there are an AC motors, and I need control MGR (IPM motor) here need FOC and current sensor. Because a question is.
I've been struggling to get my motor to rotate the last few days, after it previously working, same settings as before so I've re-run through the FOC video.
Resolver looks good.
Same arrangement as before, I've gone with combination 3.
Lightbulb is bypassed after pre-charge.
Setting syncofs back to 0 and entering 3 amps in manualid, a bit of squealing, same for 6,9, 10.
I tried syncofs 10000, 20000, 30000, 40000, 50000, 6000 with the same result.
Also tried setting manualid to 0.1 and manualiq to 3 at both syncofs 0 and 46550 (which I previously got through the procedure)
Also tried the other motor, same problem and I've tried switching back to sine firmware to run in manual mode and no longer starts to turn?
Any pointers as to where to look and what I could have messed up?
BMW E91 2006
ZombieVerter
GS450h
Outlander Charger DC/DC
Renault Kangoo 36kWh battery
FOCCCI CCS
All other parameters are from the file you posted a few posts up. There's some current flowing, if I turn lightbulb back on it gets progressively brighter with more current.
BMW E91 2006
ZombieVerter
GS450h
Outlander Charger DC/DC
Renault Kangoo 36kWh battery
FOCCCI CCS
disconnect the motor windings and test again. does the bulb glow? it shouldnt. Watch the tmphs. if it gets too high Johannes will limit current. If it gets higher the Toyota engineers will limit current. Lots of little gotchas in this stuff.
Jack Bauer wrote: ↑Fri Dec 11, 2020 9:36 am
disconnect the motor windings and test again. does the bulb glow? it shouldnt. Watch the tmphs. if it gets too high Johannes will limit current. If it gets higher the Toyota engineers will limit current. Lots of little gotchas in this stuff.
The bulb doesn't glow with the motor phase wires disconnected. Temperature doesn't see to be an issue, though I'm pretty confident it's not reading the temperature correctly.
If I set syncofs to a value of 36000, previously a manualid of 3 would have it spinning clockwise according to my notes from tuning, it now doesn't with either motor.
With a syncofs of 46550, previously a manualid 0.1 and manualiq of 3 would have the motor spinning, again it now doesn't with either motor.
With some current flowing I cannot turn the shaft by hand.
BMW E91 2006
ZombieVerter
GS450h
Outlander Charger DC/DC
Renault Kangoo 36kWh battery
FOCCCI CCS
So in this case we need to backtrack to something that works. go to sine firmware, disconnect resolver, set enc mode to single and do a manual run to check the inverter hardware, motor and wiring.
Although my notes says I had combination 3, I thought what the hell, combination 4 graph looks ok too. I wired up in that combination and it's spinning again.
Top tip, make accurate notes
Thanks for the help
BMW E91 2006
ZombieVerter
GS450h
Outlander Charger DC/DC
Renault Kangoo 36kWh battery
FOCCCI CCS
johu wrote: ↑Wed Nov 25, 2020 1:06 pm
You may be better off mounting a Melexis sin/cos chip instead.
This is what I have mounted:
I get a reading now but it is not full 360 degrees but varies from around 120 to 240 when I spin the motor. Is the signal voltage wrong and how would I solve this?
Does it matter if when you've found what appears to be a good syncofs value that the motor spins anti clockwise with a manualid of 0.1 and manualq of 3 or does it need to spin clockwise for the signal of a good syncods?
BMW E91 2006
ZombieVerter
GS450h
Outlander Charger DC/DC
Renault Kangoo 36kWh battery
FOCCCI CCS
Just had a fun moment setting my inverter up. Was following the FOC instructions so started inverter in manual mode and started to rotate the spindle to check angle. To my great surprise the motor started spinning. Before I could shut it down, there was then a pop and some magic smoke came out of my junction box (BMW S-Box). Pre-charge resistor has gone bye-bye. Thankfully everything else looks fine.
Clearly the main contactor wasn't closed and it was drawing current through the pre-charge relay. But manualiq and manualid were both zero and I can't work out why it was even trying to spin?
It was freshly flashed firmware, and I had uploaded @Bigpie's parameters from the database. But other than that, hadn't done anything other than hit 'Start in Manual Mode' and opened up the plot to check angle.
Working around it and have a replacement resistor on the way, but interested if anyone knows what I did wrong.
So foc is always looking to control current. Kinda it's one true mission in life. I'm guessing you didnt have the resolver offset setup? Anyway as you rotated the motor the mini Johannes brain said : hmmm...motor turning I'd better send some current into the stator in response to this. But as the resolver offset was wrong the current went into the wrong place which started pulling the rotor around, causing the mini brain to inject more current and so on:)
Jack Bauer wrote: ↑Thu Jan 14, 2021 5:48 pm
So foc is always looking to control current. Kinda it's one true mission in life. I'm guessing you didnt have the resolver offset setup? Anyway as you rotated the motor the mini Johannes brain said : hmmm...motor turning I'd better send some current into the stator in response to this. But as the resolver offset was wrong the current went into the wrong place which started pulling the rotor around, causing the mini brain to inject more current and so on:)
I'm having an issue with one of the MG1 current sensors. The Atmega pin A5 is held at 5v when no current, where as A4 is at around 2.5v as expected. Unplugging the current sensor sees A5 dropping to 0v. I get the same behaviour with the current sensor from another gen3 inverter plugged in.
Anyone able to offer a suggestion as to what else to look at?
BMW E91 2006
ZombieVerter
GS450h
Outlander Charger DC/DC
Renault Kangoo 36kWh battery
FOCCCI CCS