In this paper, we present the development and deployment of an embedded optimal control strategy for autonomous driving applications on a Ford Focus road vehicle. Non-linear model predictive control (NMPC) is designed and deployed on a system with hard real-time constraints. We show the properties of sequential quadratic programming (SQP) optimization solvers that are suitable for driving tasks. Importantly, the designed algorithms are validated based on a standard automotive development cycle: model-in-the-loop (MiL) with high fidelity vehicle dynamics, hardware-in-theloop (HiL) with vehicle actuation and embedded platform, and vehicle-hardware-in-the-loop (VeHiL) testing using a full vehicle. The autonomous driving environment contains both virtual simulation and physical proving ground tracks. Throughout the process, NMPC algorithms and optimal control problem (OCP) formulation are fine-tuned using a deployable C code via code generation compatible with the target embedded toolchains. Finally, the developed systems are applied to autonomous collision avoidance, trajectory tracking and lane change at high speed on city/highway and low speed at a parking environment.
Summary
This paper presents PolyMPC, an open‐source C++ library for pseudospectral‐based real‐time predictive control of nonlinear systems. It provides a necessary background on the computational aspects of the pseudospectral approximation of optimal control problems and explains how various model predictive control and parameter estimation algorithms can be implemented using the software. We discuss the key algorithmic modules and architectural features of the PolyMPC library. The workflow of a path following controller design for a highly nonlinear mechatronic system is demonstrated in a tutorial example. Another example illustrates how the core functionality might be used to approximate and solve a custom optimal control problem.
In this paper, we present the development and deployment of an embedded optimal control strategy for autonomous driving applications on a Ford Focus road vehicle. Non-linear model predictive control (NMPC) is designed and deployed on a system with hard real-time constraints. We show the properties of sequential quadratic programming (SQP) optimization solvers that are suitable for driving tasks. Importantly, the designed algorithms are validated based on a standard automotive development cycle: model-in-the-loop (MiL) with high fidelity vehicle dynamics, hardware-in-theloop (HiL) with vehicle actuation and embedded platform, and vehicle-hardware-in-the-loop (VeHiL) testing using a full vehicle. The autonomous driving environment contains both virtual simulation and physical proving ground tracks. Throughout the process, NMPC algorithms and optimal control problem (OCP) formulation are fine-tuned using a deployable C code via code generation compatible with the target embedded toolchains. Finally, the developed systems are applied to autonomous collision avoidance, trajectory tracking and lane change at high speed on city/highway and low speed at a parking environment.
Recent advances in Model Predictive Control (MPC) algorithms and methodologies, combined with the surge of computational power of available embedded platforms, allows the use of real-time optimization-based control of fast mechatronic systems. This paper presents an implementation of an optimal guidance, navigation and control (GNC) system for the motion control of a small-scale electric prototype of a thrust-vectored rocket. The aim of this prototype is to provide an inexpensive platform to explore GNC algorithms for automatic landing of sounding rockets. The guidance and trajectory tracking are formulated as continuous-time optimal control problems and are solved in real-time on embedded hardware using the PolyMPC library. An Extended Kalman Filter (EKF) is designed to estimate external disturbances and actuators offsets. Finally, indoor and outdoor flight experiments are performed to validate the architecture.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.