Multi-fidelity Trajectory Optimization

Most autonomous vehicles exhibit very complex dynamics at high speeds. This project utilizes data-driven approaches to design very fast trajectories, accounting for these factors by optimizing for them during a set of carefully selected experiments.

Learn More

Multi-fidelity Trajectory Optimization

Learning Fast and Agile Trajectories

This project aims to utilize data-driven approaches to generate high-speed trajectory for super-vehicle, such as quadrotor. This is challenging since it requires a precise modeling of the dynamic feasibility constraints which comes from nonlinear aerodynamics, state estimation error, or actuation delay, or battery capacity. Unfortunately, precise modeling of these constraints is only possible through risky real-world experiments. Recently, we made a Bayes-Opt framework to efficiently train a realistic vehicle model by combining multiple information sources such as  analytical approximation, numerical simulation, and real-world flight experiments.

Multi-fidelity Bayesian Optimization

Bayesian optimization is a class of machine learning algorithms that uses for solving optimization problems with unknown functions that are expensive to evaluate. It selects the next evaluation points to maximize the efficiency of modeling unknown functions to minimize the number of experiments required to solve the problem. Multi-fidelity optimization combines different fidelities of evaluations to minimize the cost of risky experiments. For instance, low-fidelity evaluations such as simulation or expert’s opinion can be used to reduce the number of expensive real-world experiments. Combining these two ideas, we could model the quadrotor’s dynamics model accurately with limited amounts of real-world experiments.

An Illustrative Example

For instance, the method can utilize both low-fidelity and high-fidelity simulations to model the (unknown) constraints for the dynamic feasibility of a trajectory. Here is an illustrative example involving a trajectory with two segments. 

Trajectory Optimization Framework

Our trajectory optimization framework, called Bayes-Opt, iteratively builds a surrogate model of feasibility constraints using low-fidelity and high-fidelity samples. In this case, low-fidelity samples may include simulations of various fidelity, while high-fidelity samples correspond to the flight experiments in the laboratory. At each iteration, a new data point and fidelity is selected using the Bayesian optimization method.

A diagram of the trajectory optimization framework.

Autonomous Drone Racing Trajectories

The increasing interest in autonomous drone racing competition highlights the need for time-optimal trajectory that fully exploits the capabilities of the vehicle. The traditional method utilizes the vehicle's ideal dynamics model to generate racing trajectories. This implies if we have a more accurate dynamics model that takes into account real-world phenomena such as nonlinear aerodynamics, state estimation error, or actuation delay, we can generate faster trajectories. Below are some examples of trajectory optimization using our method, showing improvements from the first iteration to the last.

Publications

G. Ryou, E. Tal and S. Karaman, "Multi-Fidelity Black-Box Optimization for Time-Optimal Quadrotor Maneuvers," Robotics: Science and Systems (RSS), 2020

AbstractPaperVideo

Overview of the proposed algorithm that models dynamic feasibility constraints based on simulation and flight data to efficiently find the time-optimal trajectory.

We consider the problem of generating a time-optimal quadrotor trajectory that attains a set of prescribed waypoints. This problem is challenging since the optimal trajectory is located on the boundary of the set of dynamically feasible trajectories. This boundary is hard to model as it involves limitations of the entire system, including hardware and software, in agile high-speed flight. In this work, we propose a multi-fidelity Bayesian optimization framework that models the feasibility constraints based on analytical approximation, numerical simulation, and real-world flight experiments. By combining evaluations at different fidelities, trajectory time is optimized while keeping the number of required costly flight experiments to a minimum. The algorithm is thoroughly evaluated in both simulation and real-world flight experiments at speeds up to 11 m/s. Resulting trajectories were found to be significantly faster than those obtained through minimum-snap trajectory planning.

G. Ryou, E. Tal, and S. Karaman, ‘Multi-fidelity black-box optimization for time-optimal quadrotor maneuvers’, The International Journal of Robotics Research, 40(12–14), pp. 1352–1369. doi: 10.1177/02783649211033317.

AbstractPaperVideo

Overview of the proposed algorithm that models dynamic feasibility constraints based on simulation and flight data to efficiently find the time-optimal trajectory.

We consider the problem of generating a time-optimal quadrotor trajectory for highly maneuverable vehicles, such as quadrotor aircraft. The problem is challenging because the optimal trajectory is located on the boundary of the set of dynamically feasible trajectories. This boundary is hard to model as it involves limitations of the entire system, including complex aerodynamic and electromechanical phenomena, in agile high-speed flight. In this work, we propose a multi-fidelity Bayesian optimization framework that models the feasibility constraints based on analytical approximation, numerical simulation, and real-world flight experiments. By combining evaluations at different fidelities, trajectory time is optimized while the number of costly flight experiments is kept to a minimum. The algorithm is thoroughly evaluated for the trajectory generation problem in two different scenarios: (1) connecting predetermined waypoints; (2) planning in obstacle-rich environments. For each scenario, we conduct both simulation and real-world flight experiments at speeds up to 11 m/s. Resulting trajectories were found to be significantly faster than those obtained through minimum-snap trajectory planning.