Simulate adaptive cruise control using model predictive controller
Model Predictive Control Toolbox / Automated Driving
The Adaptive Cruise Control System block simulates an adaptive cruise control (ACC) system that tracks a set velocity and maintains a safe distance from a lead vehicle by adjusting the longitudinal acceleration of an ego vehicle. The block computes optimal control actions while satisfying safe distance, velocity, and acceleration constraints using model predictive control (MPC).
To customize your controller, for example to use advanced MPC features or modify controller initial conditions, click Create ACC subsystem.