Sim2real: learning real-time guidance for drones that reach moving targets

6 minute read

Background

In 2023, a drone controlled by a neural network beat human world champions in drone racing (Kaufmann et al., 2023). The network was trained entirely in simulation, through millions of attempts that would have taken years, and broken a lot of drones, in the real world. It then worked on the real drone, but only because the researchers took great care to close the reality gap: the difference between the simulator and the real world, such as unmodelled aerodynamics, time delays, sensor noise and battery voltage. Bridging this gap, known as sim-to-real or sim2real transfer, is one of the key challenges in robot learning today (Zhao et al., 2020).

This project applies sim2real to terminal guidance: the last seconds of a drone’s approach to a moving target, where the target may manoeuvre, measurements are noisy and delayed, and there is no time for a second attempt. There are many applications:

  • Removing unauthorized drones near airports, prisons, public events or critical infrastructure, by catching them with a net carried by another drone, rather than shooting them down. RF-based detection of such drones is the topic of our Counter-UAS proposal.
  • Landing on moving platforms, such as ships, vehicles or other drones, see e.g. our proposal on navigation using Bluetooth direction finding.
  • Catching objects in the air, such as a rocket under a parachute (see our rocket recovery proposal), or a ball towed by a drone, as in the MBZIRC 2020 robotics competition (Vrba et al., 2022).
A fixed-wing drone flying towards a blue landing net mounted on a barge on a calm fjord
The final seconds of a fixed-wing drone's approach to a landing net on a barge (video). In the last seconds, small errors decide between a hit and a miss, and with a moving target, the margins are even smaller.

Classical guidance laws, such as pure pursuit, proportional navigation and line-of-sight guidance, are simple and well understood, but they assume idealized dynamics and measurements. Optimization-based methods like model predictive control (MPC) handle constraints well, but can be too slow to run on board at high rates. A neural network trained in simulation can, once trained, run in microseconds on small hardware, and can learn to exploit the full agility of the drone (Song et al., 2023). But will it work on a real drone, with real sensors?

Scope

This project is about finding out. You will train guidance policies for a multirotor drone in simulation, transfer them to real drones from the NTNU UAVlab, and test them in flight against a moving target. Sim2real is a new research direction for our group, so you will have a large say in shaping it, and you will build competence that we expect to be in high demand.

All flight tests are done safely: the “target” can be a virtual point that moves with, but is offset from, a real target drone, so that the drones never come close to each other until the method is mature.

Possible directions, to be adapted to your interests:

  • Learning the guidance policy: train a policy with reinforcement learning (RL) in a massively parallel simulator such as Aerial Gym (Kulkarni et al., 2025), developed at NTNU, or Isaac Lab. Alternatively, use imitation learning to teach the network to mimic a slow but optimal MPC “expert”.
  • Closing the reality gap: identify the dynamics of our drones from flight data, and make the policy robust to what the simulator gets wrong, using e.g. domain randomization of dynamics, delays and noise (Tobin et al., 2017; Peng et al., 2018; Molchanov et al., 2019), or learned residual models of the aerodynamics (Bauersfeld et al., 2021). Which of the differences between simulator and reality actually matter?
  • Realistic measurements: start with the target’s position from GNSS, then move towards what a real sensor provides, such as noisy, delayed bearings from a phased-array radio, a camera or a radar. How much does the policy degrade, and can it learn to manoeuvre so that the target becomes easier to observe?
  • Benchmarking: compare the learned policy against classical guidance laws and MPC, in simulation and in flight, on e.g. miss distance, time to reach the target, robustness to target manoeuvres, and computational load.

The long-term goal is to integrate the guidance with detection and tracking from RF (QuadRF), radar, cameras and/or acoustics, into a complete system that can find, follow and catch drones that should not be there.

Proposed tasks

The tasks will be adapted to the interests of the student, but the following steps are common:

  • Perform a literature study on sim2real transfer for drones, learning-based control and guidance, and classical guidance laws for reaching moving targets
  • Set up a simulation environment for training and evaluating guidance policies, and implement one or more classical guidance laws as baselines
  • Train a guidance policy in simulation, and evaluate it against the baselines
  • Identify the most important sources of the reality gap for our drones, using flight data, and address them in the training
  • Deploy the policy on a real drone, running in real time (e.g. through the offboard interface of PX4 or ArduPilot), and carry out flight tests with a real or virtual moving target
  • Discuss the results with a critical eye, and conclude the work in a written report

Who We Are Looking For

You are curious about machine learning, but want to see it work on real hardware, not only in simulation. You may have trained an RL agent to play a game, built or flown FPV drones, or wondered how a drone can fly faster than a human pilot. The list below shows recommended background, more to signal what the project involves than to be used as a filter on candidates:

When you contact us, tell us which direction appeals to you and why, and briefly describe a project (from a course, a hobby or a job) that you are proud of.

What You Will Learn

  • Reinforcement learning and imitation learning for control, using GPU-accelerated, massively parallel simulators
  • Sim2real transfer: system identification, domain randomization and how to find what the simulator gets wrong
  • Guidance laws for reaching moving targets, from classical proportional navigation to model predictive control
  • Deploying neural networks on drones, running in real time
  • Planning and executing flight tests with real drones

Contact

Contact supervisor .

References

Updated: