Wait do you have motors on both front and rear? Was it the motor on the front that locked?
I never use BLDC motors on front wheels unless it has a freewheel. One of the reasons Tesla choice induction motors besides the fact they are cheaper, it that a controller or stator failure does not cause a wheel lock since there are no permanent fields (magnets). There are no elegant solutions around this problem. It happens so quick to is no way to protect against it. The only way to try is to use multiple stators and mutliple controllers per motor such that if only one failed it would not cause the vehicle to lose control. Obviously not practical for our little motors we use on bikes and skateboards and what not. Don't use direct driver hub motors on front wheels people (whether this applies to the original poster or not, just a safety message)! On a skateboard even if the rear locked you still might crash hard, but with the front locking you have no chance at all of biting it hard.
"
Without question any vehicle drivetrain must be safe, and any drivetrain that has individually driven wheels
presents a unique problem in this respect. A key safety goal for Protean’s in-wheel motor design derived
directly from ISO26262 [3] - “no single fault shall prevent the driver from retaining control”. This safety goal,
when applied to an individually electrically driven wheel, essentially boils down to a limit on the wheel
torque error that the electric machine can cause through a single or random fault condition. This safety
goal, along with many others, was defined through following a process defined in ISO26262, which is the
de facto standard for automotive functional safety.
Without question any vehicle drivetrain must be safe, and any drivetrain that has individually driven wheels
presents a unique problem in this respect. A key safety goal for Protean’s in-wheel motor design derived
directly from ISO26262 [3] - “no single fault shall prevent the driver from retaining control”. This safety goal,
when applied to an individually electrically driven wheel, essentially boils down to a limit on the wheel
torque error that the electric machine can cause through a single or random fault condition. This safety
goal, along with many others, was defined through following a process defined in ISO26262, which is the
de facto standard for automotive functional safety."
Too bad we need the torque density of bldc motors to make hub/wheel motors practical. Someone needs to design a super high torque density induction motor. Wouldn't need Chinese neo magnets either so we could make em wherever for cheap