Driving sideways to move forward: Stanford engineers show how an autonomous, drifting DeLorean can improve driver safety
Engineers in Stanford’s Dynamic Design Lab are teaching a driverless DeLorean to steer with the agility and precision of a human driver with a goal of improving how autonomous cars handle in hazardous conditions.
As the DeLorean rolled to a stop and the cloud of tire smoke cleared, Jon Goh peeked out the sliver of the passenger-side window to see dozens of gathered spectators cheering and high-fiving the successful test.
The crowd, and anticipation, had built throughout the afternoon, while Goh, a recent mechanical engineering PhD graduate from Stanford, had been outlining a kilometer-long obstacle course in traffic cones at Thunderhill Raceway in Northern California. The sun was setting fast, but Goh and his co-pilot, another grad student named Tushar Goel, couldn’t wait until morning to take a shot at the twisty course. Besides, MARTY, the driver, didn’t need to see the track – it needed only GPS coordinates and the algorithms on Goh’s laptop to chart its path.
MARTY is a 1981 DeLorean that Goh and his colleagues at Stanford’s Dynamic Design Lab converted into an all-electric, autonomous drift car. Four years ago, MARTY drifted – the style of driving where the car moves forward even though it’s pointed sideways – through its first doughnuts with inhuman precision. Since then, Goh and team have been busy welding and coding to prepare MARTY to apply those basic drifting skills to an intense driving course, and unbelievably everything had worked perfectly. MARTY screeched its way through turns and quick zigs and zags in just a few minutes, kicking up smoke and bits of rubber, without nicking a single cone along the course.
As the cheering continued, satisfaction washed over Goh. Completing the “MARTYkhana” course on the first attempt was awesome, but he knew that the one-of-a-kind data gleaned from the run could transform the capabilities of autonomous driving systems found in cars today.
Going beyond the limits to get into control
MARTYkhana – a riff on the “gymkhana” autocross racing format regarded as the master test of a driver’s ability – is hardly a stunt. Conducting research in high-speed, complicated driving conditions like this is a bread-and-butter approach of the Dynamic Design Lab, where mechanical engineer Chris Gerdes and his students steer autonomous cars into challenging driving situations that only the top human drivers can reliably handle. On-board computers measure the car’s response over dozens of runs, and the engineers translate those vehicle dynamics into software that could one day help your car quickly dodge a pedestrian that darts into the road.
Most automated vehicles on the road have been designed to handle simpler cases of driving, such as staying in a lane or maintaining the right distance from other cars.
“We’re trying to develop automated vehicles that can handle emergency maneuvers or slippery surfaces like ice or snow,” Gerdes said. “We’d like to develop automated vehicles that can use all of the friction between the tire and the road to get the car out of harm’s way. We want the car to be able to avoid any accident that’s avoidable within the laws of physics.”
Training an autonomous car to drift is a surprisingly good method for testing a car’s ability to drive evasively. Under typical conditions, a driver points the car where they want to go and uses the accelerator and brake pedals to control the speed. When drifting, whether intentionally or not, this goes out the window.
“Suddenly the car is pointed in a very different direction than where it’s going. Your steering wheel controls the speed, the throttle affects the rotation, and the brakes can impact how quickly you change directions,” Goh said. “You have to understand how to use these familiar inputs in a very different way to control the car, and most drivers just aren’t very good at handling the car when it becomes this unstable.”
Commercial vehicles are outfitted with Electronic Stability Control systems that try to prevent cars from entering these unstable states, but this is where drifters thrive. They harness this instability to maneuver the car in more agile and precise ways that allow them to scorch through a narrow obstacle course without so much as grazing the barriers.
By studying the habits of professional drivers and testing those same control maneuvers in MARTY, the Stanford team has enabled the car to use a greater range of its physical limits to maintain stability through a broader range of conditions, and the mathematics involved could allow autonomous systems to maneuver with the agility of a drift racer in emergencies.
“Through drifting, we’re able to get to extreme examples of driving physics that we wouldn’t otherwise,” Goh said. “If we can conquer how to safely control the car in the most stable and the most unstable scenarios, it becomes easier to connect all the dots in between.”
“We’re really excited to see how this can enable automated vehicles of the future to even exceed expert drivers.”
A ground-up transformation
When Gerdes and Goh set out to build MARTY – which stands for Multiple Actuator Research Test bed for Yaw control – they knew they wanted a car with rear-wheel drive that would allow the freedom for endless upgrades, and they wanted it to have a certain cool factor.
“The way we see it, if you’re going to build a research vehicle, why not do it with some style?” Gerdes likes to say, nodding to the classic line from Back to the Future.