Hi Guys,
I am having issues with the brakes failing while the motors are really hot (deliberately hot to test functionality) around 90 degrees (thermistors in coils)
And usually only if I have the motor amps set high. Eg above 50A or above.
That flat zone is where the brakes stop working, (-0.1A working). Brakes will fail repeatedly at around 90 degrees but not before.
I can still accelerate normally during the high temperature brake failure, but as soon as I go into any brake, even full brake, I just free roll.
After maybe 15 seconds in this instance,(first image - showing two vesc6 readouts) sometimes longer, they brakes kick in, the whole flat spot was full braking with no effect.
You can see when the brakes finally decided to kick in at the end.
I have tried various temperature settings, tried modifying saturation compensation, tried changing observer gain, not sure what else to do.
It seems it is applying "minium current" of 0.1A from the Motor general advanced tab, but I dont understand why it would not be braking when it can still accelerate (as in second image), you can see accelerating, and brake failing (flat) 5 times in that image.
Thanks in advance for any help and insight
Paul
I changed to and configured different brand motors and reduced the Motor settings - temperature - motor temp cutoff start - limit down to 70 degrees.
The brakes are now failing at the set 70 degrees. So its not the motors and its not the high temp.
I will have a look. It should actually be the other way when the motor gets warm - braking possible, but no acceleration.
Hi Benjamin, thanks alot for having a look.
It seems it is mostly/only when motor amps are high. At 40A per motor the brakes dont seem to fail even if the temps are reaching the "motor temp cutoff start"
I don't believe it is to do with the "acceleration temperature decrease" or the "Motor temp cutoff end" as I pushed them out so they would only kick in after the "motor temp cutoff start"
Seems to happen right near the "motor temp cutoff start" setting.
Could it be that this is related to inverting the motor direction? I have the impression that the "invert motor direction" tickmark has a few bugs. Like in this case, braking would be a positive current and acellerating a negative one. If those are not properly handled compared to the invert motor direction then that would lead to this effect.
Thanks Roger
Any updates Benjamin please?
Not yet, but I will have a look this weekend. If you have invert motor direction activated, can you try deactivating it, switching two phases and see if it makes any difference?
Paul15578 is right. Problem is that when you come into the range where the amps should be reduced by the temperature (not cut off) then only the higher motor max or min will be reduced. The other value will be 0. So when your motor max is higher then motor min the brakes will be shut off.
Problem can be solved by reducing both values in mosfet and motor temperature
Well spotted @Ackmaniac, thanks! Such an obvious mistake. The reason I never noticed it is that I have always used the same acceleration and braking current, which would not trigger the bug. The more difference there is between the acceleration and braking currents, the wider the temperature region where the lower of the two would be set to 0. If this is the only problem, the bug is independent of whether the motor direction is inverted or not.
I went with the following solution:
The reason it is implemented in this was and not how Ackmaniac suggested is that only the highest current magnitude should be decreased, as the amount of heating is not direction dependent. Arguments can be made for the other way as well, but I lean a bit more towards only decreasing the highest magnitude.
I will test this a bit as well as the impact of the direction inversion, and update the firmware and vesc tool.
It seems to be working now. You can update to the latest firmware and vesc tool, where it should be fixed. The build script is running now, the downloads should be updated any minute.
Thanks very much to Benjamin and all here on the forum who helped.
Cheers