Skip to main content
Article
100%
HD

Imagine a car that can anticipate curves like an expert driver, even when the road changes suddenly. Researchers have built a new controller, called DQN‑AP‑MPC, that merges two advanced techniques: Model Predictive Control (MPC) and Deep Q‑Network (DQN). MPC forecasts the vehicle's future using a time horizon, but a fixed horizon can lose accuracy when speed or curvature vary. To fix this, they introduced an adaptive horizon modeled with a two‑dimensional Gaussian function, which stretches or shrinks in real time based on the car's speed and road twistiness.

The second piece is DQN, a reinforcement‑learning algorithm that dynamically tunes the MPC weight matrix. This lets the car not only predict the path better but also adjust the importance of control variables, boosting stability and convergence speed. Hardware‑in‑the‑loop simulations and real‑vehicle tests showed striking results: on variable‑curvature, high‑speed roads, the maximum lateral error dropped by 76.8% and the average error by 64.4% compared to a standard MPC. In practice, the car stays tighter to its trajectory, even on double‑lane and unpredictable curves, paving the way for safer, more responsive autonomous vehicles.

Bonus
100%
HD

The core of DQN‑AP‑MPC lies in the synergy between model‑based prediction and reinforcement learning. MPC solves a recurring quadratic optimization, minimizing a cost function J = Σ (x_k^T Q x_k + u_k^T R u_k) over a horizon N, where x_k is the state (lateral position, speed, yaw angle) and u_k the control (steering, acceleration). Traditionally, N is fixed, but its choice affects the ability to anticipate rapid dynamics: a small N is fast but less predictive, a large N is more accurate but computationally heavy. The adaptive strategy uses a Gaussian G(v, κ) = exp[-(α(v−v_0)^2 + β(κ−κ_0)^2)], where v is speed and κ road curvature. Parameters α, β tune horizon stretching: on straight, low‑speed roads G is small and N shrinks; on tight, high‑speed curves G grows and N expands, providing more prediction steps.

The DQN, meanwhile, learns a policy π(s) → a that maps the current state s (including tracking errors, curvature changes, speed) to an action a, i.e., a modification of the MPC weight matrices Q and R. The DQN uses a deep neural network to approximate the Q‑function, updating it via Bellman’s rule: Q(s,a)←Q(s,a)+η[r+γ max_a' Q(s',a')−Q(s,a)], where r is a reward based on lateral error reduction. Training occurs in simulation, with replay buffer and target network for stability. The outcome is a dynamic weight matrix that emphasizes lateral error reduction on high curvature sections and favors vehicle smoothness on straight segments. This combination cuts control convergence time from several seconds to a few hundredths, enhancing real‑time response and robustness against external disturbances such as wind or vehicle mass changes.

Ask AI

Explore key aspects of this story with 3 quick insights

Source

Authors:
Yuying Fang
Date Published:
Original Article www.mdpi.com
Fact-check verified on 23/05/2026
Read our Editorial Guidelines & AI Ethics Policy
Creative Commons License CC BY-NC-SA 4.0

Keep exploring

Discover the full archive of science bites or head back to home

Riconnessione al server... Aggiornamento della sessione in corso
Connessione interrotta Impossibile stabilire il collegamento
Sessione aggiornata Ricarica per visualizzare i contenuti