by aetherspawn · 2y ago · 0 comments
Your hypothesis is basically correct. Since the motor is under no load, it will appear to spin out of control even with the smallest torque application, but in reality the torque being applied is very small… probably around 5Nm.
Trust me if it was truly spinning out of control with no load you’d know… it would reach max speed in 0.1 seconds and probably start tearing through the floor.
Most likely what’s happening is that the creep torque is applying a constant small torque and the wheel sensors are reading 0 continuously, so it continues to apply a constant small torque.
I appreciate the insight from someone who's worked on this kind of thing formally, thanks.
> Most likely what’s happening is that the creep torque is applying a constant small torque and the wheel sensors are reading 0 continuously, so it continues to apply a constant small torque.
This was also my hypothesis at the time of the post. Turned out it's less constrained than this, a fully operational car with the drive wheels off the ground will also run away to high rpm (even in Neutral): https://www.projectgus.com/2024/04/unremarkable/#on-car-test...
There's still minimal torque, as you say, so a small press on the car's brake pedal is all it takes to stop. However I think if a driveshaft broke on a real car then it'd be spinning fast for a minute or two... It kind of makes sense that the control loop is tuned for a heavy car with a fixed drive ratio, though.
I am still hopeful there will be a way to stop this behaviour via a control signal (rather than pulling the safety interlock and slamming the contactors open). Have left the problem aside until I have a mechanical brake to use for testing! If that doesn't work out then it's still usable I think, provided any EV conversion is single speed fixed gear just like the Kona.
If you have any other insights on this then I'd be very interested to hear them, though.
If the ABS is properly plugged in it will detect a fault with the sensors (which probably causes the creep to stop) however it won’t detect a mechanical fault with the encoder wheel (such as sensor not bolted to wheel) — such a fault is indistinguishable from the wheel not spinning, thus zero speed.
I think you were emulating the ABS module right? In that case, the spinning out of control is actually probably your fault. If you had not emulated this, the system would realise there is an ABS fault (from the messages not being present) and not use the ABS reported speed. It might even fall back to motor speed automatically.
Re: shaft scenario, if the motor shaft is broken the safety risk is pretty minimal because the torque wont actually cause the car to move.
I guess this is what they arrived to in the FMEA.
That's a reasonable expectation, and this got left out of the follow-up post I linked, but in the "full car with wheels off the ground" tests we actually tried unplugging the brake module of an otherwise working car and it didn't change anything (including the gradual constant rpm increase in Neutral). If anything the behaviour might have gotten a little more aggressive with the brake module missing.
Have now observed similar behaviour for all three of "spoofed brake messages with 0 wheel speeds and emulated checksums", "fully operational car with wheels off the ground", and "car with wheels off the ground and ABS/brake module unplugged". ¯\_(ツ)_/¯
> Re: shaft scenario, if the motor shaft is broken the safety risk is pretty minimal because the torque wont actually cause the car to move. > > I guess this is what they arrived to in the FMEA.
Fair enough, that makes sense. I guess if that's the case then the other behaviour is outside of the scope of what they need to care about.
If the ABS unit getting stuck causes that kind of acceleration then I'm going to point most of the fault at the control logic.
He is spoofing an ABS message from a working vehicle that says “no faults present” on a vehicle that is clearly full of faults.
There should be some sort inertia estimation turning off the motor if the inertia don't include the wheels or whatever.
There should also be some check that output axis speed (abs sensors) and motor speeds match.
The behaviour sounds kinda dangerous and not up to ECU standards.
Tangent: creep is an artifact of how an idling ICE interacts with a torque converter. Simulating it on EVs seems like a mistake to me, serving only to make them feel more familiar to a subset of first-time EV drivers.
Source: My mother's 2024 Subaru that I help set up for her.
Standard/Manual/Stick transmissions don't have creep.