Skip to content
Lab
research to playground model predictive control · steering dynamics · path tracking

MPC Path Tracking Lab

Two QP-based model predictive controllers steer identical vehicles through identical steering actuators. Case A carries a second-order steering model inside its prediction; Case B assumes the wheels follow the command instantly. Vary speed, horizons, input weight and actuator bandwidth to compare path error, steering oscillation and constraint activity, then check the trend with a speed sweep.

IJAT 15 · 1155–1164 · 2014 Kim, E. · Kim, J. · Sunwoo, M.
Presets
t 0.00 s s 0 / 160 m READY
Bird's-eye view Case A · actuator-aware Case B · vehicle-only reference predicted (Np)
lateral deviation ×10
vx85 km/h
ey A0.0 cm
ey B0.0 cm
δ A / B0.0° / 0.0°
ay A0.00 m/s²
QP A—
QP B—
Telemetry vs. station A B command δcmd actuator limit
Run summary in progress
MetricA · awareB · vehicle-onlyA vs B
RMS lateral error ey — — —
Peak lateral error |ey| — — —
RMS heading error eψ — — —
Mean steering rate |δ̇| — — —
Peak steering rate max |δ̇| — — —
Peak lateral accel. ay — — —
Constrained QP steps share — — —
Hildreth iterations mean — — —
Speed sweep · 20–100 km/h queued

Full-course batch runs with the current Np, Nc, r and actuator. Hollow markers: the vehicle left the path (peak |ey| > 1 m).

Prediction model

A x = [ey, ėy, eψ, ėψ, δ, δ̇]T

δ̈ = ωn2(δcmd − δ) − 2ζωnδ̇

B x = [ey, ėy, eψ, ėψ]T, δ ≡ δcmd

2-DOF bicycle error dynamics, curvature preview κ(s) as a measured disturbance, ZOH at Ts.

Optimal control problem

minΔU Σk=1Np (qyey,k2 + qψeψ,k2) + r Σj=0Nc−1 Δuj2

s.t. |uj| ≤ δmax, |Δuj| ≤ δ̇maxTs

A only: |δk| ≤ δmax, |δ̇k| ≤ δ̇max

Condensed to a dense QP in Nc increments; receding horizon applies Δu0.

Solver & plant

Hildreth's procedure: coordinate ascent on the dual, entered only when the unconstrained optimum violates a bound.

Plant: nonlinear single-track model, m = 1530 kg, tanh tyre saturation (μ = 1.0), actuator angle/rate saturation. Neither controller's model matches it exactly.

Avg. solve — ms per controller step (this browser).

Paper configuration

What the paper validated

The paper integrated an identified second-order steering model with a 2-DOF vehicle model, then formulated QP-based MPC with steering angle and rate constraints. DLC and road-course simulations used Np=20, Nc=8, Ts=10 ms, r=60 as the baseline configuration. The vehicle-only predictor developed increasing oscillation as speed rose.

Np
20
Nc
8
sampling
10 ms
steering BW
3 Hz
Simulation scope

What this browser model reproduces

The controllers follow the paper's structure (2-DOF error model plus second-order steering model, angle and rate constraints, Hildreth QP) and solve a real QP every step. The plant is a nonlinear single-track model with tyre saturation rather than 27-DOF CarSim, and the browser runs at Ts = 20 ms. Read the numbers as trends, not as a reproduction of the paper's figures.

View the publication on About →