Need Help: Test Spinning Prius motors with FOC firmware [SOLVED]
Posted: Mon May 22, 2023 10:00 pm
Hello everyone,
I have recently been trying to get MG2 spinning on my Prius transaxle, but have not been successful for awhile and could use some help. I have a gen 3 prius inverter and transaxle, and am currently trying to get MG2 to spin.
I was able to get it spinning with an open loop test using sine firmware, but using foc firmware I can only get it to make a loud whine with no movement or vibration.
I believe my resolver is connected properly; I get less than 5 degrees of jitter, and when I rotate the motor the plot oscillates between 0 and 360 degrees. I have a welded PSD and so can spin MG2 via the ICE shaft on the side of the transaxle. Here are a few plots of my angle during one full rotation of the motor each: (note data points set to 10000 and length set to 100) I have taken the basic parameter values from the FOC programming video and from the inverter section of some values bigpie posted https://openinverter.org/parameters/view.html?id=18.
I have: polpairs: 4,
respolpairs: 2
encomode: resolver,
pwmfrq: 4.4KHz,
pwmpol: ACTHIGH,
deadtime: 130,
snshs: semikron,
il2gain: 3.09 (I also tried 4.56),
il2gain: 3.09 (also tried 4.5),
udcgain 6.15 (alsotried 4.68),
pinswap: pinswap23 In the spot values the hwver value is showing "Rev2" and not "prius", I assume representing the chip on my board. I am not sure if this is abnormal/an issue. I did have an issue flashing my chips, which was resolved when Pete9008 made me some special v5.24-R FOC firmware with a fixed flash size in this thread: viewtopic.php?t=3328&start=25
I have also tried loading v4.90-R firmware, but got the with the same results with the same parameters when trying to spin the motor.
I have noticed the udc displayed in spot values to be about 20v below what I measure my battery pack's voltage to be with a good multimeter, I am not sure if this is due to where the voltage is measured in the inverter or if it may be a sign of an issue.
I have the original wiring that connects the inverter to the two motors, so I am confident that they are connected correctly.
I am a little worried about the size of my test battery; I have two 0.7KWh 40v A123 cell packs wired in series, currently delivering 73 volts. I am not sure if this is big enough, but it did spin the motor in sine mode.
Any advice is appreciated, and I can gather any other applicable data if it might help.
Thank you for the help!
Ember
I have recently been trying to get MG2 spinning on my Prius transaxle, but have not been successful for awhile and could use some help. I have a gen 3 prius inverter and transaxle, and am currently trying to get MG2 to spin.
I was able to get it spinning with an open loop test using sine firmware, but using foc firmware I can only get it to make a loud whine with no movement or vibration.
I believe my resolver is connected properly; I get less than 5 degrees of jitter, and when I rotate the motor the plot oscillates between 0 and 360 degrees. I have a welded PSD and so can spin MG2 via the ICE shaft on the side of the transaxle. Here are a few plots of my angle during one full rotation of the motor each: (note data points set to 10000 and length set to 100) I have taken the basic parameter values from the FOC programming video and from the inverter section of some values bigpie posted https://openinverter.org/parameters/view.html?id=18.
I have: polpairs: 4,
respolpairs: 2
encomode: resolver,
pwmfrq: 4.4KHz,
pwmpol: ACTHIGH,
deadtime: 130,
snshs: semikron,
il2gain: 3.09 (I also tried 4.56),
il2gain: 3.09 (also tried 4.5),
udcgain 6.15 (alsotried 4.68),
pinswap: pinswap23 In the spot values the hwver value is showing "Rev2" and not "prius", I assume representing the chip on my board. I am not sure if this is abnormal/an issue. I did have an issue flashing my chips, which was resolved when Pete9008 made me some special v5.24-R FOC firmware with a fixed flash size in this thread: viewtopic.php?t=3328&start=25
I have also tried loading v4.90-R firmware, but got the with the same results with the same parameters when trying to spin the motor.
I have noticed the udc displayed in spot values to be about 20v below what I measure my battery pack's voltage to be with a good multimeter, I am not sure if this is due to where the voltage is measured in the inverter or if it may be a sign of an issue.
I have the original wiring that connects the inverter to the two motors, so I am confident that they are connected correctly.
I am a little worried about the size of my test battery; I have two 0.7KWh 40v A123 cell packs wired in series, currently delivering 73 volts. I am not sure if this is big enough, but it did spin the motor in sine mode.
Any advice is appreciated, and I can gather any other applicable data if it might help.
Thank you for the help!
Ember