The extent to which AI is used in an autonomous vehicle depends on that vehicle’s level of autonomy. Autonomous vehicles exist on a five-level scale, with L1 describing simple driver assistance capabilities (e.g., cruise control). The driver controls the L1 vehicle at all times. L5 vehicles, in turn, come fully automated and operate independently under any conditions and in any environment.
The highest level of autonomy currently on the market is L3, with Mercedes-Benz being the first to reach this milestone. (Mercedez-Benz is also testing L4 vehicles in Beijing.) L3 cars can drive themselves independently, but only under certain conditions. The driver may have to take control of the vehicle.
In contemporary autonomous vehicles, AI performs three functions: it enables the cars to “see” their surroundings, make decisions with a degree of foresight and control the car's components.
Perception systems
Autonomous vehicles can use multiple technologies to “see” the world around them:
- LiDAR sensors emit laser light, measure the distance they travel before bouncing back.
- Computer vision analyzes real-time camera footage from multiple angles.
- Radar uses radio waves to measure distance to objects.
- Ultrasonics function similarly to radio, using ultrasound instead of radio waves.
Artificial intelligence helps detect objects in 3D representations or via camera footage and assign semantic labels to elements (e.g., pedestrian, road, traffic light). It also enables cars to track the detected entities over time, predict their trajectories, and identify and monitor the vehicle’s position and orientation.
Decision-making and planning
AI for autonomous vehicles doesn’t just analyze the environment using the perception system; it also identifies the most suitable course of action. What’s more, AI helps calculate the best route to the destination, adjusting it, if necessary, according to real-time road conditions.
To make split-second decisions, the AI system is trained to select the safest and most efficient option based on the environment, road conditions and so on.
Control and actuation
Once the model makes a decision on sensory input and predictions, AI in self-driving cars initiates the necessary action. To that end, the system transmits commands to the vehicle’s actuators, which in turn control steering, braking and acceleration.