Sign in to save

Bookmark this page so you can find it later.

Sign in to save

Bookmark this page so you can find it later.

A drone avoids obstacles by sensing what is around it, estimating where objects are, and changing its flight path before a collision happens. This matters because drones often fly near trees, walls, people, wires, and the ground. Safe obstacle avoidance helps camera drones, delivery drones, rescue drones, and racing drones move through real environments.

The basic idea is to turn sensor data into a decision about speed, direction, and height.

Key Facts

  • Distance from speed and time: d = vt
  • Stopping distance depends on reaction time and braking: d_stop = v t_react + v^2/(2a)
  • Ultrasonic sensors estimate distance using sound echoes: d = vt/2
  • A camera can help detect obstacles by comparing how objects move between video frames.
  • A drone avoids an object by choosing a new path that keeps a safety margin around it.
  • Hovering means holding position, while obstacle avoidance while moving requires predicting where the drone and obstacle will be soon.

Vocabulary

Sensor
A sensor is a device that measures information from the environment, such as distance, light, motion, or sound.
Ultrasonic sensor
An ultrasonic sensor measures distance by sending out high frequency sound waves and timing how long the echo takes to return.
Obstacle avoidance
Obstacle avoidance is the process of detecting objects and changing motion to prevent a collision.
Flight path
A flight path is the route a drone follows through the air from one position to another.
Hover
To hover means to stay nearly still in the air by balancing lift, weight, and small corrections.

Common Mistakes to Avoid

  • Assuming one sensor sees everything, because cameras, ultrasonic sensors, and other sensors each have blind spots and limits.
  • Forgetting that detection takes time, because a fast drone may travel a significant distance before it finishes sensing, computing, and turning.
  • Treating hovering and moving avoidance as the same task, because a moving drone must predict future positions while a hovering drone mainly holds one location.
  • Ignoring the safety margin, because avoiding only the exact edge of an obstacle can still cause a crash due to wind, sensor error, or turning limits.

Practice Questions

  1. 1 A drone flies at 4 m/s and its obstacle system takes 0.5 s to detect and begin avoiding a wall. How far does the drone travel during that time?
  2. 2 An ultrasonic sensor sends a sound pulse that returns after 0.020 s. If the speed of sound is 340 m/s, how far away is the obstacle?
  3. 3 A drone has a front camera and a downward camera. Explain why it might still need to slow down when flying toward a tree in dim light.