Linux Leads Self-Driving Car Movement

2606

As Linux continues to gain headway in in-vehicle infotainment (IVI), it’s already finding its way into early designs for self-driving cars. Google’s autonomous car computers run Linux, as do prototypes from GM and Volkswagen. Meanwhile, Cohda Wireless is leading a new wave of vehicle-to-vehicle (V2V) sensor products with its Linux-driven MK2 radio.

The market is potentially huge. On Aug. 21, Navigant Research projected that sales of autonomous vehicles will surpass 95 million units by 2035, representing 75 percent of all light-duty vehicle sales.

Google car wiki commonsGoogle’s Ubuntu-based self-driving Toyota Prius has led the way, logging over 500,000 miles of autonomous driving with no accidents caused by the computer, says Google. A year ago, its success led California to pass a law allowing autonomous cars to operate by 2015, assuming safety certification. Florida and Nevada have also legalized autonomous vehicles for testing, but as with California, only with a human driver present. Other states are also prepping legislation.

This week at the Frankfurt Car Show, Google is expected to announce a partnership with IBM and auto-components manufacturer Continental AG to build autonomous driving systems, according to Frankfurter Allgemeine Zeitung. It’s unclear whether the partners will build an autonomous system that can be added to existing cars, or as Jessica Lessin speculates in her Aug. 23 blog analysis, possibly a self-driving car designed from scratch by Google. Such a vehicle might be considered the Nexus of the automotive world.

Continental has already racked up thousands of miles of testing in Nevada using a VW Passat modified with its own autonomous technology. Strategy Analytics’ Mark Fitzgerald told Linux.com that Continental’s system “likely” uses Linux technology.

Lessin also reported that Google is negotiating on a partnership to provide driverless cars as part of a “robo-taxi” service. The Independent says the plan likely includes Google-funded Uber, which offers a popular taxi-hailing and car-sharing service. In July, Uber announced plans to purchase 2,500 driverless cars from Google.

Automakers Refine Prototypes

Google’s success has accelerated autonomous research at automakers including GM, Mercedes-Benz, Toyota, Volkswagen/Audi, and Volvo. On Aug. 27, Nissan became the first automaker to announce plans for an autonomous car. The company said it will introduce its first autonomous vehicles by 2020, and will offer autonomous functionality across the model range within two vehicle generations.

Like most manufacturers, Nissan is keeping its technology under wraps. Nissan has used Windows Embedded Automotive in its Nissan Leaf IVI system, but the company is also a member of the GENIVI Alliance, which is standardizing IVI technology based on Linux. Its Nissan Research Center Silicon Valley (NRC-SV) is collaborating with Renault, which is working on Android-based IVI systems, as well as research institutions including Stanford University and MIT. Last year, MIT unveiled a Linux-based semi-autonomous driving system built into a Kawasaki Mule.

Volkswagen has had a longer collaboration with Stanford on Linux-based autonomous technology. Their Stanley vehicle won the 2005 DARPA Grand Challenge, followed by Junior, which was a runner up in the 2007 DARPA Urban Challenge. Junior continues to be developed, but Volkswagen is also experimenting with Solaris on a recent Audi-based prototype.

GM and Carnegie-Mellon University have long collaborated on developing tuxified autonomous cars in DARPA events. The GM-CMU Autonomous Driving Collaborative Research Lab has developed a Linux-based SAFER [PDF] fault-tolerant platform that protects against processor and task failures for the numerous distributed embedded systems found in self-driving cars. The system is built into a modified Cadillac SRX, a model that also offers the Linux-based CUE IVI system.

Toyota, meanwhile, is doing self-driving research on a Lexus LS at its TRINA project. The OS was not revealed, but Toyota signed an agreement with Microsoft to work on a Windows Azure platform for next-generation telematics. On the other hand, Toyota is a founding member of the Linux Foundation’s Automotive Grade Linux working group, which is exploring autonomous technologies in addition to IVI. The company also recently unveiled the Toyota Lexus IS, which includes a Linux-based IVI system.

Autonomous vs. V2X

One emerging question is whether self-driving cars will be fully self-sufficient, like the Google car and most other prototypes, or depend in part on vehicle-to-vehicle (V2V) and vehicle-to-infrastructure (V2I) wireless communications. These “V2X” systems, which typically adopt dedicated short-range communication (DSRC) radios that use the 5.9GHz 802.11p standard, offer always-on wireless connections with other cars or wireless road infrastructure to better coordinate driving for accident avoidance and optimized acceleration and braking. The technology can augment either autonomous or semi-autonomous technology, such as the adaptive cruise control that is already appearing in luxury cars.

In January, NXP Semiconductors and Cisco, which has a separate deal with Continental on security for autonomous cars, announced a dual investment in Australian automotive technology firm Cohda Wireless related to V2V. The partnership involves Cohda’s Cohda MK2 WAVE-DSRC Radio, a Linux-based, GPS-equipped 802.11p radio for continual V2X sensing. While V2V requires similar wireless equipment in other cars or road equipment, it offers the advantage of “seeing” around corners, letting the car anticipate interactions at intersections.

Cohda is equipping about half of the vehicles involved in V2V research, “including 1,500 vehicles in the 2,800 vehicle Safety Pilot trial happening in Michigan right now,” Cohda CEO Paul Gray told Linux.com. (The Ann Arbor Safety Pilot trial was recently extended by the National Highway Traffic Safety Administration.)

“V2V can extend the horizon of what the autonomous vehicle is aware of,” Gray added. “Even the Google car will use V2V to supplement their sensors once there are other vehicles on the road fitted with V2V.”

Strategy Analytics’ Fitzgerald, however, is more skeptical about the technology. “Slow V2X implementation and the lack of standards globally will reduce the ability for V2X to help on the self-driving vehicle front,” he told Linux.com.

Challenges to Development

Self-driving technology has come a long way since the DARPA Challenges. The Google technology still costs about $100,000, not counting the Prius itself. The lidar (light detection and ranging) laser range finder – the distinctive bubble atop the Google cars – represents over half the cost. Some prototypes are trying to make do without it, depending solely on less expensive radar which can see farther, but is not as precise. Meanwhile, prices are dropping quickly on other components, including computers, stereo cameras, ultrasonics, and sensors.

Google’s Sergey Brin has predicted self-driving cars would be available “for everyone” by 2017. That’s about three years too early, according to Navigant, which agrees with Nissan’s 2020 projection. Others say that vehicles built from scratch for autonomous operation won’t be available until late in the 2020s.

Availability doesn’t necessarily mean widespread usage, however. The obstacle is not the technology, which is solid enough for California to start testing freeway “autopilot lanes” with 120 mile-an-hour speed limits. According to Navigant, the challenge will be to overcome a wall of “liability and legislation.”

Legislatures, courts, and insurance companies will not only need to know who to blame after a crash – they need to be convinced that driverless cars are as safe as Google claims, i.e. capable of reducing the over 34,000 automotive deaths per year in the U.S. by at least half. Implementation could be further delayed by unions, which are expected to fight hard against the existential threat of the car-bots in commercial fleets.

According to Navigant, the public will adjust more quickly, especially as they grow accustomed to semi-autonomous features. Once consumers realize that most current prototypes allow humans to take the wheel, fears of losing control should diminish.

Car-buyers may also respond to touted advantages including the potential mobilization of elderly handicapped, and intoxicated people, or just normal commuters trying to carve out more productive time. 

Autonomous tech could also reduce traffic and improve fuel efficiency thanks to smarter, more coordinated driving. The latter goal may take a while considering the heavy weight of autonomous vehicles, but more convenient car-sharing services and coordinated driving fleets could also reduce fuel consumption.

Google vs. the Automakers

One of the biggest obstacles to autonomous cars is the automotive industry itself. Google was rebuffed by car manufacturers before it started courting auto-components companies like Continental. In addition to fearing the invasion of Google into their turf — shades of Google TV – automakers have long been resistant to new technologies. Others have suggested that carmakers fear the impact of fewer accidents and easier car-sharing on repairs and car sales.

Even as some U.S. automakers prep autonomous designs of their own, they are already lobbying politicians to limit autonomous technology in favor of semi-autonomous gear. According to The Wall Street Journal, legislation is being proposed that would require a 25-mph speed limit and a foam front bumper for self-driving models.

Strategy Analytics’s Fitzgerald would not speculate on the OS landscape for self-driving cars, but suggested that the technology would evolve out of telematics systems rather than IVI, where Linux is more established. “Self-driving vehicles will use some aspects of an IVI OS, but their safety critical nature will most likely follow OSs that are used in aviation and drones,” said Fitzgerald. This telematics focus, he suggests, means real-time operating systems (RTOSes) like Green Hills Integrity and QNX should have an advantage over Linux and Windows Embedded Automotive.

On the other hand, Google has surprised the automotive industry with the success of a car computer that lacks a fully deterministic, real-time OS. Its Ubuntu build does not even use a real-time Linux kernel, but gets by on SCHED_FIFO and control groups to provide “realtime-ish” response, according to an LWN.net report.

While most of the Linux prototypes have used x86 chips, ARM chip manufacturers are prepping processors aimed at telematics, including Freescale’s recently tipped i.MX6 Next and i.MX8 processors. Combined with Linux’ progress in IVI systems, and the prototypes from Google, GM, and VW, these developments bode well for a major Linux presence in autonomous vehicles.