celeron55 wrote: ↑Wed Mar 30, 2022 7:50 pm
I'm going to say if you get that regen issue somehow sorted, it has a high chance of also getting us further with the MGR. I think something about low throttle (= low Iq current) field weakening is broken in the FOC firmware.
Well today was special. We drove some 250km to pick up some solar panels. I think I must have forgotten the new FW software on the inverter. So I was overtaking, meaning full throttle above 6000 rpm with low battery voltage. When I let go the throttle car would accelerate further! Motor heated to 90°C within seconds, likewise the battery from 25 to 40°C. Hope it wasn't damaged too much. Anyway, the brake is always stronger so I could stop safely. After that BMS was confused and gave me 15 kW power limit (reason: CapDrop), otherwise car drove normal again. You guess I stayed away from high revs after that.
It was still amazing to see how much torque this motor can develop even at high revs and within the 900A current limit. Probably shows once again that something is not done correctly in "standard" mode, so celeron must be right.
@arber: kind of thought about your emergency stop button after that
EDIT: anybody spot the difference?
Code: Select all
esum += FP_FROMINT(((ylim - y) * frequency) / ki); //anti windup
Code: Select all
esum += FP_FROMINT((ylim - y) * frequency) / ki; //anti windup
This well meant fix was supposed to further reduce integrator windup. Now FP_FROMINT macro is applied to (ylim - y) * frequency and before it was applied to ((ylim - y) * frequency) / ki. This leads to integer overflow rather quickly. Just surprised it didn't trigger an over current event.
EDIT2: after a nights sleep I thought about this further. So the inverter was basically dumping full amplitude onto the motor but this did not lead to over current (900A) or fuse blow (350A). The only explanation for this is that the battery could not deliver any more current so the closer I came to a halt the more it was basically short-circuited! Thats why it heated up so fast. From experience, does anyone think this one-time event will cause any long term damage? Before this the delta of highest to lowest cell was 10 mV, now it's roughly 20 mV