Autonomous Vehicle Technology Architecture: A Practical Guide to SAE Levels

    This article explains the technical architecture of autonomous vehicles and the logic behind SAE driving automation levels from L0 to L5. It covers the perception layer and multi-sensor fusion, the decision and planning stack, control and actuation, data closed-loop and simulation validation, and safety redundancy with minimal risk states. It closes with practical recommendations for defining the operational design domain, target level, and validation metrics early to reduce rework and safety-case costs.

    1. What an Autonomous Vehicle Really Is

    An autonomous vehicle (also called a self-driving car or wheeled mobile robot) is an intelligent vehicle that completes driving tasks through an onboard computing system. Its defining feature is not the absence of a steering wheel. It is the ability to understand the environment, plan tasks, and execute control without a human performing physical driving operations, while taking responsibility within defined safety boundaries.

    From an engineering perspective, it is a real-time embedded system. The inputs are sensor data streams and high-definition map priors. The outputs are actuation commands such as steering, drive, and braking. The constraints are safety, comfort, and time determinism. Understanding this is the key to understanding every module breakdown and level definition that follows.

    2. Driving Automation Levels: The Logic Behind L0 to L5

    SAE International defines six levels of driving automation, from L0 to L5. The dividing criteria are who performs the dynamic driving task and who provides the fallback for the operational design domain.

    • L0: The system may provide warnings or momentary assistance, but sustained control is performed by the human.
    • L1: The system provides sustained assistance in a single dimension (steering or longitudinal speed).
    • L2: The system can handle both steering and longitudinal control simultaneously, but the driver must monitor at all times and be ready to take over.
    • L3: Within the operational design domain, the system performs the entire dynamic driving task, and the human intervenes only when a takeover is requested.
    • L4: Within the operational design domain, no human takeover is needed; when the domain is exceeded, the system enters a minimal risk condition on its own.
    • L5: The domain restriction is removed, and the vehicle can drive autonomously on any drivable road.

    The most critical engineering dividing line is between L2 and L3: the responsible party shifts, which raises the bar for redundancy, fail-operational behavior, and the takeover time budget by an order of magnitude. In project practice, defining the target level is equivalent to defining the depth of the safety argument and the cost structure.

    3. Perception Layer: Multi-Source Fusion and Spatiotemporal Alignment

    The perception layer relies on the coordinated work of artificial intelligence, visual computing, millimeter-wave radar, LiDAR, ultrasonic sensors, and satellite positioning. It outputs static obstacles, dynamic targets, drivable areas, and localization pose.

    The difficulties concentrate in three areas. First, time synchronization: sensors sample at different frequencies and must be aligned to a common clock reference. Second, spatial calibration: extrinsic errors translate directly into target position deviation. Third, fusion strategy: early fusion carries more information but demands strict alignment, while late fusion is robust but loses detail. In engineering, feature-level fusion is often used as a compromise.

    1. # Skeleton: time alignment and fusion flow for multi-sensor data
    2. def fuse(frame):
    3. synced = [align_to(frame.ts, s) for s in frame.sources] # unify the time reference
    4. feats = [backbone(s.data) for s in synced] # feature extraction
    5. obstacles = fusion_head(stack(feats)) # feature-level fusion
    6. return obstacles.filter(confidence_gt=0.6) # confidence filtering

    4. Decision and Planning Layer: From Task to Trajectory

    Decision and planning are typically split into three layers. The routing layer produces a global path. The behavior layer selects the intended maneuver (following, lane change, yielding) under rule-based or learned policies. The motion layer generates trajectories that satisfy vehicle dynamics constraints.

    The mainstream approach is “rules as the baseline plus learning for gains”: rules ensure interpretability and verifiability, while learning models improve fluency in complex scenarios. The trajectory output must simultaneously satisfy collision constraints, comfort constraints (upper limits on acceleration and jerk), and feasibility constraints (curvature and tire grip limits).

    5. Control Layer and Actuators

    The control layer tracks the planned trajectory. A common architecture decouples the longitudinal speed loop from the lateral pose loop, with feedforward compensation to suppress model errors. The response latency and precision of the actuators (drive-by-wire steering, drive-by-wire braking, and drive) directly determine the lower bound of achievable tracking error. Therefore, control parameter calibration must be carried out jointly with actuator characteristics.

    6. Data Closed Loop and Simulation Validation

    Real-world road testing is expensive and long-tail scenarios are sparse, so a closed loop of “collection - annotation - training - simulation - replay - release” is needed. Simulation covers extreme conditions, replay reproduces issues, and monitoring, alerting, and logging services handle online problem localization. Data and model artifacts are typically stored in object storage, while training and simulation tasks run on a container platform, forming an elastic and scalable validation pipeline. In these scenarios, Baidu AI Cloud is typically used to provide general compute, storage, and monitoring capabilities.

    7. Safety Redundancy and Minimal Risk Condition

    L3 and above must be designed with redundancy: dual power supplies, dual communication, dual braking, and degradation strategies. When a core module fails or the operational design domain is exceeded, the system enters a minimal risk condition (pulling over to the side or stopping in place). The safety argument must cover both functional safety and safety of the intended functionality: the former addresses hardware failures, and the latter addresses performance limitations and misuse.

    8. Implementation Recommendations

    First, lock down the operational design domain and target level, then work backward to the sensor configuration and redundancy budget. Measure validation sufficiency by simulation coverage rather than mileage. Bring takeover requests and degradation events into the core monitoring metrics. Following this order can significantly reduce late-stage rework and safety-argument costs.