Large robot Braking system

I have a large robot that can travel 10 MPH. If the motors are going full speed at 10 MPH and I cut power to the robot's motors it will continue rolling for a good 15 feet. How can I put electronic brakes? If I had a motor controller would I slowly PWM fade the electricity in reverse? should I get a relay to stall the motor to itself when power is off?

thank you for your help

Permanent magnet DC motors provide a braking effect when you short them. The higher the speed of the motor, the better is the braking effect (the braking effect is zero when the motor is stationary). Nearly all H-bridge motor controllers have a mode in which they can short the motor to provide a braking force.

A trick I have used with servos for a "panic stop" is to reverse them for 1ms. I've never tried it with general purpose motors, but it should work. It mat stress your systems. The trick: brake command, reverse for 1ms, brake command. You might need more than 1ms and it make skid. Try it.

Permanent magnet DC motors provide a braking effect when you short them.

Yeah, that's the classic solution.

Permanent magnet DC motors provide a braking effect when you short them.

Yeah, that's the classic solution.

I don't think I would want to reverse the motors, even for a short period. A possible
alternative would be to rapidly cut down the PWM duty-cycle to zero over half a second
or so.