Architectural Foundations of Autonomous Driving Systems
Architectural Foundations of Autonomous Driving Systems
The integration of perception, planning, and control subsystems into a cohesive real-time system architecture represents one of the most challenging engineering problems in modern autonomous vehicles. Unlike traditional automotive systems where subsystems operate with clear functional boundaries and relaxed timing constraints, autonomous driving demands the simultaneous processing of heterogeneous sensor streams, millisecond-level decision-making under uncertainty, and guaranteed functional safety—all within严格的功耗、散热和成本 envelope. Understanding how to architect this integration is not merely an implementation detail; it is the foundational discipline that determines whether individual technological breakthroughs can translate into a working autonomous system.
This chapter establishes the system-level framework for analyzing and designing autonomous vehicle architectures. We begin with the hierarchical decomposition of the autonomous driving problem, establishing the functional layers that must be implemented and their characteristic time scales. We then examine the data flow architecture that connects these layers, with particular attention to the latency budgets that constrain real-time performance. The architectural choices between centralized and distributed computing topologies receive detailed analysis, followed by an examination of sensor fusion as a critical enabling technology. We then evaluate the compute platform options available to system architects, including GPUs, FPGAs, and dedicated AI accelerators, before concluding with a comprehensive case study dissecting the architecture of a production Level 4 autonomous vehicle platform.
Hierarchical Decomposition of the Autonomous Driving Problem
The autonomous driving problem does not present itself as a monolithic computational challenge; it decomposes naturally into hierarchical layers, each characterized by distinct time horizons, abstraction levels, and computational requirements. Understanding this decomposition is essential for system architecture because it defines the functional boundaries that must be connected, the latency requirements at each level, and the appropriate computational resources for each layer.
Mission Level: Strategic Planning and Route Optimization
At the highest level of abstraction, autonomous vehicles must plan routes from origin to destination while optimizing for multiple objectives including travel time, energy consumption, safety, and passenger comfort. This mission-level planning operates on time horizons measured in minutes to hours and deals with topological representations of the road network rather than geometric detail. The vehicle must select between alternative routes, account for traffic conditions, and adapt to changing circumstances such as road closures or significant incidents.
Mission-level planning does not require real-time computational constraints in the strict sense; a planning latency of several seconds is typically acceptable. However, the planning system must interface with cloud services for map updates, traffic information, and fleet coordination in commercial deployments. The computational requirements at this level are modest—modern embedded systems-on-chip (SoCs) easily handle route planning workloads—but the system must maintain connectivity with backend infrastructure and handle graceful degradation when connectivity is unavailable.
Behavior Level: Tactical Decision-Making and Scenario Selection
Below mission planning sits the behavior level, where the vehicle makes tactical decisions about how to traverse each road segment. This includes selecting appropriate driving modes (highway cruising, urban navigation, parking maneuvers), deciding when to change lanes, determining right-of-way at intersections, and selecting which trajectory to follow among alternatives. The behavior level operates on time horizons of seconds to tens of seconds and must reason about the intentions and likely behaviors of other road users.
The behavior planning function is where the autonomous vehicle must reason about complex social interactions and implicit traffic rules. A vehicle approaching a four-way stop must determine whether other vehicles have arrived first, infer whether a pedestrian is about to cross, and coordinate with other drivers through eye contact or subtle gestures in human-driven traffic. These reasoning requirements push toward sophisticated AI techniques, yet the time constraints—decisions must be made within 1-2 seconds to maintain natural driving behavior—preclude exhaustive search or complex deliberation systems.
Motion Planning Level: Trajectory Generation and Optimization
The motion planning level generates specific trajectories that the vehicle will follow, accounting for kinematic constraints, dynamic limits, and obstacle avoidance. Unlike behavior planning, which selects among discrete tactical options, motion planning operates in continuous space and must produce smooth, dynamically feasible paths. The time horizon at this level spans approximately 1-10 seconds, with trajectory segments updated at rates between 10 Hz and 50 Hz depending on the driving scenario and vehicle speed.
Motion planning must simultaneously satisfy multiple objectives: reaching the goal position while minimizing travel time or energy consumption, maintaining comfortable acceleration and jerk limits for passengers, avoiding obstacles detected by perception, and adhering to road geometry and traffic rules. These objectives frequently conflict, requiring the planning system to optimize over multiple criteria while maintaining real-time performance. The computational complexity of optimal trajectory planning in continuous spaces has led to a variety of approaches, from sampling-based methods like Rapidly-exploring Random Trees (RRT) to optimization-based methods including Model Predictive Control (MPC) and state lattice planning.
Control Level: Actuator Commands and Feedback Loops
The lowest level of the hierarchy translates planned trajectories into actuator commands—steering angle, throttle position, and brake pressure—that execute the desired motion. Control operates on the fastest time scale, with feedback loops running at 100 Hz to 1000 Hz depending on the control algorithm and vehicle dynamics. The control level must compensate for model uncertainties, external disturbances such as wind or road surface variations, and actuation delays from hydraulic or electric systems.
Modern autonomous vehicles implement cascaded control architectures where high-level trajectory tracking controllers generate reference values for lower-level controllers handling specific actuators. A typical architecture might include a lateral controller that computes steering angle commands based on cross-track error and heading error relative to the planned trajectory, with separate longitudinal controllers for speed and acceleration management. The lowest layer consists of motor controllers for electric actuators or electronic throttle and brake controllers for conventional powertrains.
Interface Boundaries and Information Flow
The hierarchical decomposition defines critical interface boundaries where information must be exchanged between layers. These interfaces carry specific types of information: the mission planner provides routing guidance and destination waypoints to the behavior planner; the behavior planner outputs discrete tactical decisions and target states to the motion planner; the motion planner produces trajectory waypoints and velocity profiles for the control layer. Each interface boundary represents a potential point of abstraction leakage where implementation details from one layer might inappropriately constrain another.
A well-designed architecture maintains clean separation between layers while enabling the information flow necessary for coherent system behav