Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
METHOD FOR CONTROLLING AN UNMANNED AERIAL VEHICLE TO AVOID OBSTACLES
Document Type and Number:
WIPO Patent Application WO/2023/191911
Kind Code:
A1
Abstract:
A computer-implemented method (1000) comprises receiving (1005), by an image processing system, a depth image captured by a stereo camera on an unmanned aerial vehicle (UAV), wherein one or more pixels of the depth image are associated with corresponding depth values indicative of distances of one or more objects to the stereo camera. The image processing system determines (1010) that one or more pixels of the depth image are associated with invalid depth values. The image processing system infers (1015), based on a distribution of the one or more pixels of the depth image that are associated with invalid depth values, a presence of a potential obstacle in an environment of the UAV. The UAV is controlled (1020) based on the inferred presence of the potential obstacle.

Inventors:
SHOEB ALI (US)
Application Number:
PCT/US2022/081233
Publication Date:
October 05, 2023
Filing Date:
December 09, 2022
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
WING AVIATION LLC (US)
International Classes:
G05D1/10; G06V20/00; H04N5/00
Foreign References:
CN107462217B2020-04-14
US20190256210A12019-08-22
US202217710503A2022-03-31
Other References:
MUNOZ DAVID FELIPE TOSSE ET AL: "Power Lines Detection from a Stereo Vision System", 2020 5TH INTERNATIONAL CONFERENCE ON CONTROL AND ROBOTICS ENGINEERING (ICCRE), IEEE, 24 April 2020 (2020-04-24), pages 242 - 245, XP033773347, DOI: 10.1109/ICCRE49379.2020.9096458
Attorney, Agent or Firm:
BAO, YuKai (US)
Download PDF:
Claims:
CLAIMS

What is claimed is:

1. A computer-implemented method comprising: receiving, by an image processing system, a depth image captured by a stereo camera on an unmanned aerial vehicle (UAV), wherein one or more pixels of the depth image are associated with corresponding depth values indicative of distances of one or more objects to the stereo camera; determining, by the image processing system, that one or more pixels of the depth image are associated with invalid depth values; inferring, based on a distribution of the one or more pixels of the depth image that are associated with invalid depth values, a presence of a potential obstacle in an environment of the UAV; and controlling the UAV based on the inferred presence of the potential obstacle.

2. The method according to claim 1, wherein inferring the presence of a potential obstacle in the environment of the UAV comprises: generating, by the image processing system, an invalid pixel mask associated with the depth image, wherein pixels in the invalid pixel mask that are associated with pixels in the depth image having corresponding depth values are set to a first value and pixels in the invalid pixel mask that are associated with pixels in the depth image that do not have corresponding depth values are set to a second value that is different from the first value.

3. The method according to claim 2, wherein inferring the presence of a potential obstacle in the environment of the UAV comprises: detecting, based on the invalid pixel mask, an elongated object in the environment that defines a line in the invalid pixel mask.

4. The method according to claim 3, wherein detecting an elongated object in the environment that defines a line in the invalid pixel mask comprises: detecting, based on the invalid pixel mask and via a Hough transform, an elongated object in the environment that defines a line in the invalid pixel mask.

5. The method according to claim 3, wherein inferring the presence of a potential obstacle in the environment of the UAV comprises: determining that the object will interfere with the deployment operation of the UAV when the line exceeds a first threshold percentage of a diameter of a cone under the UAV.

6. The method according to claim 1, further comprising: detecting, by the image processing system and based on the one or more pixels of the image that do not have corresponding depth values, an object that corresponds to a powerline.

7. The method according to claim 1, wherein controlling the position of the UAV to facilitate the deployment operation comprises: moving the UAV in a lateral direction to avoid the inferred obstacle during a subsequent descent of the UAV.

8. The method according to claim 1, further comprising: causing the UAV to descend to a predetermined altitude above ground level before capturing the image.

9. The method according to claim 8, further comprising: causing the UAV to capture one or more depth images with the stereo camera to infer potential obstacles beneath the UAV while the UAV descends from the predetermined altitude to a second altitude.

10. The method according to claim 1, wherein controlling the position of the UAV to facilitate the deployment operation comprises: controlling a position of the UAV to avoid contact between a tethered payload of the UAV and the detected object; and subsequently causing a tether of the UAV to deliver the tethered payload to a delivery zone.

11. The method according to claim 1, further comprising: storing, to a database, an indication that an object that would interfere with the deployment operation of the UAV is present in a geographic location associated with the UAV.

12. An unmanned aerial vehicle (UAV), comprising: a camera; and a control system configured to perform operations comprising: receiving, by an image processing system, a depth image captured by a stereo camera on an unmanned aerial vehicle (UAV), wherein one or more pixels of the depth image are associated with corresponding depth values indicative of distances of one or more objects to the stereo camera; determining, by the image processing system, that one or more pixels of the depth image are associated with invalid depth values; inferring, based on a distribution of the one or more pixels of the depth image that are associated with invalid depth values, a presence of a potential obstacle in an environment of the UAV; and controlling the UAV based on the inferred presence of the potential obstacle.

13. The UAV according to claim 12, wherein inferring the presence of a potential obstacle in the environment of the UAV comprises: generating, by the image processing system, an invalid pixel mask associated with the depth image, wherein pixels in the invalid pixel mask that are associated with pixels in the depth image having corresponding depth values are set to a first value and pixels in the invalid pixel mask that are associated with pixels in the depth image that do not have corresponding depth values are set to a second value that is different from the first value.

14. The UAV according to claim 13, wherein inferring the presence of a potential obstacle in the environment of the UAV comprises: detecting, based on the invalid pixel mask, an elongated object in the environment that defines a line in the invalid pixel mask.

15. The UAV according to claim 14, wherein detecting an elongated object in the environment that defines a line in the invalid pixel mask comprises: detecting, based on the invalid pixel mask and via a Hough transform, an elongated object in the environment that defines a line in the invalid pixel mask.

16. The UAV according to claim 14, wherein inferring the presence of a potential obstacle in the environment of the UAV comprises: determining that the object will interfere with the deployment operation of the UAV when (i) the line exceeds a first threshold percentage of a diameter of a cone under the UAV and (ii) the cone includes more than a second threshold percentage of valid pixels.

17. The UAV according to claim 12, the operations further comprising: detecting, by the image processing system and based on the one or more pixels of the image that do not have corresponding depth values, an object that corresponds to powerline.

18. The UAV according to claim 12, wherein controlling the position of the UAV to facilitate the deployment operation comprises: moving the UAV in a lateral direction to avoid the inferred obstacle during a subsequent descent of the UAV.

19. The UAV according to claim 12, the operations further comprising: causing the UAV to descend to a predetermined altitude above ground level before capturing the image.

20. A non-transitory computer-readable medium comprising program instructions executable by one or more processors to perform operations, the operations comprising: receiving, by an image processing system, a depth image captured by a stereo camera on an unmanned aerial vehicle (UAV), wherein one or more pixels of the depth image are associated with corresponding depth values indicative of distances of one or more objects to the stereo camera; determining, by the image processing system, that one or more pixels of the depth image are associated with invalid depth values; inferring, based on a distribution of the one or more pixels of the depth image that are associated with invalid depth values, a presence of a potential obstacle in an environment of the UAV; and controlling the UAV based on the inferred presence of the potential obstacle.

Description:
Method for Controlling an Unmanned Aerial Vehicle to Avoid Obstacles

BACKGROUND

[0001] This application claims priority to U.S. Patent Application No. 17/710,503, filed on March 31, 2022, which is incorporated herein by reference in its entirety.

[0002] An unmanned vehicle, which may also be referred to as an autonomous vehicle, is a vehicle capable of travel without a physically-present human operator. An unmanned vehicle may operate in a remote-control mode, in an autonomous mode, or in a partially autonomous mode.

[0003] When an unmanned vehicle operates in a remote-control mode, a pilot or driver that is at a remote location can control the unmanned vehicle via commands that are sent to the unmanned vehicle via a wireless link. When the unmanned vehicle operates in autonomous mode, the unmanned vehicle typically moves based on pre-programmed navigation waypoints, dynamic automation systems, or a combination of these. Further, some unmanned vehicles can operate in both a remote-control mode and an autonomous mode, and in some instances may do so simultaneously. For instance, a remote pilot or driver may wish to leave navigation to an autonomous system while manually performing another task, such as operating a mechanical system for picking up objects, as an example.

[0004] Various types of unmanned vehicles exist for various different environments. For instance, unmanned vehicles exist for operation in the air, on the ground, underwater, and in space. Examples include quad-copters and tail-sitter UAVs, among others. Unmanned vehicles also exist for hybrid operations in which multi-environment operation is possible. Examples of hybrid unmanned vehicles include an amphibious craft that is capable of operation on land as well as on water or a floatplane that is capable of landing on water as well as on land. Other examples are also possible.

SUMMARY

[0005] Disclosed herein are various examples of UAVs and support systems that cooperate to facilitate avoiding obstacles in a delivery zone or other environment of the UAV. In particular, various examples herein utilize a stereo/depth camera that facilitates determining the distance between the UAV and various objects in the delivery zone. Invalid depth data is reported by the stereo camera when the depth of an object cannot be ascertained. The invalid depth data facilitates identifying objects that might interfere with operation of the UAV.

[0006] In a first aspect, a computer-implemented method comprises receiving, by an image processing system, a depth image captured by a stereo camera on an unmanned aerial vehicle (UAV). One or more pixels of the depth image are associated with corresponding depth values indicative of distances of one or more objects to the stereo camera. The image processing system determines that one or more pixels of the depth image are associated with invalid depth values. The image processing system infers, based on a distribution of the one or more pixels of the depth image that are associated with invalid depth values, a presence of a potential obstacle in an environment of the UAV. The UAV is controlled based on the inferred presence of the potential obstacle.

[0007] In a second aspect, an unmanned aerial vehicle (UAV) comprises a camera and a control system. The control system is configured to perform operations comprising receiving, by an image processing system, a depth image captured by a stereo camera on an unmanned aerial vehicle (UAV). One or more pixels of the depth image are associated with corresponding depth values indicative of distances of one or more objects to the stereo camera. The control system determines that one or more pixels of the depth image are associated with invalid depth values. The control system infers, based on a distribution of the one or more pixels of the depth image that are associated with invalid depth values, a presence of a potential obstacle in an environment of the UAV. The control system controls the UAV based on the inferred presence of the potential obstacle.

[0008] In a third aspect, a non-transitory computer-readable medium comprises receiving, by an image processing system, a depth image captured by a stereo camera on an unmanned aerial vehicle (UAV). One or more pixels of the depth image are associated with corresponding depth values indicative of distances of one or more objects to the stereo camera. The image processing system determines that one or more pixels of the depth image are associated with invalid depth values. The image processing system infers, based on a distribution of the one or more pixels of the depth image that are associated with invalid depth values, a presence of a potential obstacle in an environment of the UAV. The UAV is controlled based on the inferred presence of the potential obstacle.

[0009] These, as well as other aspects, advantages, and alternatives, will become apparent to those of ordinary skill in the art by reading the following detailed description with reference where appropriate to the accompanying drawings. Further, it should be understood that the description provided in this summary section and elsewhere in this document is intended to illustrate the claimed subject matter by way of example and not by way of limitation.

BRIEF DESCRIPTION OF THE DRAWINGS

[0010] FIG. 1A is a simplified illustration of an unmanned aerial vehicle, according to example embodiments, in accordance with example embodiments.

[0011] FIG. IB is a simplified illustration of an unmanned aerial vehicle, according to example embodiments, in accordance with example embodiments.

[0012] FIG. 1C is a simplified illustration of an unmanned aerial vehicle, according to example embodiments, in accordance with example embodiments.

[0013] FIG. ID is a simplified illustration of an unmanned aerial vehicle, according to example embodiments, in accordance with example embodiments.

[0014] FIG. IE is a simplified illustration of an unmanned aerial vehicle, according to example embodiments, in accordance with example embodiments. [0015] FIG. 2 is a simplified block diagram illustrating components of an unmanned aerial vehicle, in accordance with example embodiments.

[0016] FIG. 3 is a simplified block diagram illustrating a UAV system, in accordance with example embodiments.

[0017] FIG. 4 illustrates operations performed by one or more devices described herein, in accordance with example embodiments.

[0018] FIG. 5 illustrates an example of a depth image, in accordance with example embodiments.

[0019] FIG. 6 illustrates an example of a portion of a depth mask, in accordance with example embodiments.

[0020] FIG. 7 illustrates an example of an invalid pixel mask, in accordance with example embodiments.

[0021] FIG. 8 illustrates an example of obstacle detection logic, in accordance with example embodiments.

[0022] FIG. 9 illustrates an example of an adjusted delivery zone, in accordance with example embodiments.

[0023] FIG. 10 illustrates operations performed by one or more devices described herein, in accordance with example embodiments.

DETAILED DESCRIPTION

[0024] Exemplary methods and systems are described herein. It should be understood that the word “exemplary” is used herein to mean “serving as an example, instance, or illustration.” Any implementation or feature described herein as “exemplary” or “illustrative” is not necessarily to be construed as preferred or advantageous over other implementations or features. In the figures, similar symbols typically identify similar components, unless context dictates otherwise. The example implementations described herein are not meant to be limiting. It will be readily understood that the aspects of the present disclosure, as generally described herein, and illustrated in the figures, can be arranged, substituted, combined, separated, and designed in a wide variety of different configurations, all of which are contemplated herein.

I. Overview

[0025] As noted above, some UAVs comprise stereo cameras that can be used to ascertain the distance to objects in a delivery zone. However, the distance to some objects, such as powerlines, cannot always be ascertained. Such objects can pose a hazard to the UAV, especially when the UAV is descending to deliver a payload. This and other issues are ameliorated by various examples of UAVs described herein.

[0026] In particular, some examples of UAVs comprise an imaging processing system that is configured to receive a depth image captured by an onboard stereo camera. One or more pixels of the depth image are associated with corresponding depth values indicative of distances of one or more objects to the stereo camera. The image processing system determines pixels of the depth image that are associated with invalid depth values and infers, based on the distribution of the pixels, the presence of a potential obstacle in an environment of the UAV. The UAV is subsequently controlled based on the inferred presence of the potential obstacle (e.g., to avoid the obstacle).

[0027] Some examples of the imaging processing system are configured to generate an invalid pixel mask associated with the depth image. Pixels in the invalid pixel mask that are associated with pixels in the depth image having corresponding depth values are set to a first value and pixels that are associated with pixels in the depth image that do not have corresponding depth values are set to a second value that is different from the first value. In some examples, the invalid pixel mask is evaluated to identify an elongated object in the environment that defines a line (e.g., a powerline). In some examples, this is accomplished via a Hough transform.

[0028] In some examples, the operations above are not performed until after the UAV descends to a first predetermined altitude above ground level. Further, in some examples, the operations cease when the UAV descends to a second/lower predetermined altitude above ground level.

II. Example Unmanned Vehicles

[0029] Herein, the terms “unmanned aerial vehicle” and “UAV” refer to any autonomous or semi- autonomous vehicle that is capable of performing some functions without a physically present human pilot.

[0030] A UAV can take various forms. For example, a UAV may take the form of a fixed-wing aircraft, a glider aircraft, a tail-sitter aircraft, a jet aircraft, a ducted fan aircraft, a lighter-than-air dirigible such as a blimp or steerable balloon, a rotorcraft such as a helicopter or multicopter, and/or an omithopter, among other possibilities. Further, the terms “drone,” “unmanned aerial vehicle system” (UAVS), or “unmanned aerial system” (UAS) may also be used to refer to a UAV.

[0031] FIG. 1A is an isometric view of an example UAV 100. UAV 100 includes wing 102, booms 104, and a fuselage 106. Wings 102 may be stationary and may generate lift based on the wing shape and the UAV’s forward airspeed. For instance, the two wings 102 may have an airfoil-shaped cross section to produce an aerodynamic force on UAV 100. In some embodiments, wing 102 may carry horizontal propulsion units 108, and booms 104 may carry vertical propulsion units 110. In operation, power for the propulsion units may be provided from a battery compartment 112 of fuselage 106. In some embodiments, fuselage 106 also includes an avionics compartment 114, an additional battery compartment (not shown) and/or a delivery unit (not shown, e.g., a winch system) for handling the payload. In some embodiments, fuselage 106 is modular, and two or more compartments (e.g., battery compartment 112, avionics compartment 114, other payload and delivery compartments) are detachable from each other and securable to each other (e.g., mechanically, magnetically, or otherwise) to contiguously form at least a portion of fuselage 106. [0032] In some embodiments, booms 104 terminate in rudders 116 for improved yaw control of UAV 100. Further, wings 102 may terminate in wing tips 117 for improved control of lift of the UAV. [0033] In the illustrated configuration, UAV 100 includes a structural frame. The structural frame may be referred to as a "structural H-frame" or an "H-frame" (not shown) of the UAV. The H-frame may include, within wings 102, a wing spar (not shown) and, within booms 104, boom carriers (not shown). In some embodiments the wing spar and the boom carriers may be made of carbon fiber, hard plastic, aluminum, light metal alloys, or other materials. The wing spar and the boom carriers may be connected with clamps. The wing spar may include pre-drilled holes for horizontal propulsion units 108, and the boom carriers may include pre-drilled holes for vertical propulsion units 110.

[0034] In some embodiments, fuselage 106 may be removably attached to the H-frame (e.g., attached to the wing spar by clamps, configured with grooves, protrusions or other features to mate with corresponding H-frame features, etc.). In other embodiments, fuselage 106 similarly may be removably attached to wings 102. The removable attachment of fuselage 106 may improve quality and or modularity of UAV 100. For example, electrical/mechanical components and/or subsystems of fuselage 106 may be tested separately from, and before being attached to, the H-frame. Similarly, printed circuit boards (PCBs) 118 may be tested separately from, and before being attached to, the boom carriers, therefore eliminating defective parts/subassemblies prior to completing the UAV. For example, components of fuselage 106 (e.g., avionics, battery unit, delivery units, an additional battery compartment, etc.) may be electrically tested before fuselage 106 is mounted to the H-frame. Furthermore, the motors and the electronics of PCBs 118 may also be electrically tested before the final assembly. Generally, the identification of the defective parts and subassemblies early in the assembly process lowers the overall cost and lead time of the UAV. Furthermore, different types/models of fuselage 106 may be attached to the H-frame, therefore improving the modularity of the design. Such modularity allows these various parts of UAV 100 to be upgraded without a substantial overhaul to the manufacturing process.

[0035] In some embodiments, a wing shell and boom shells may be attached to the H-frame by adhesive elements (e.g., adhesive tape, double-sided adhesive tape, glue, etc.). Therefore, multiple shells may be attached to the H-frame instead of having a monolithic body sprayed onto the H-frame. In some embodiments, the presence of the multiple shells reduces the stresses induced by the coefficient of thermal expansion of the structural frame of the UAV. As a result, the UAV may have better dimensional accuracy and/or improved reliability.

[0036] Moreover, in at least some embodiments, the same H-frame may be used with the wing shell and/or boom shells having different size and/or design, therefore improving the modularity and versatility of the UAV designs. The wing shell and/or the boom shells may be made of relatively light polymers (e.g., closed cell foam) covered by the harder, but relatively thin, plastic skins. [0037] The power and/or control signals from fuselage 106 may be routed to PCBs 118 through cables running through fuselage 106, wings 102, and booms 104. In the illustrated embodiment, UAV 100 has four PCBs, but other numbers of PCBs are also possible. For example, UAV 100 may include two PCBs, one per the boom. The PCBs carry electronic components 119 including, for example, power converters, controllers, memory, passive components, etc. In operation, propulsion units 108 and 110 of UAV 100 are electrically connected to the PCBs.

[0038] Many variations on the illustrated UAV are possible. For instance, fixed-wing UAVs may include more or fewer rotor units (vertical or horizontal), and/or may utilize a ducted fan or multiple ducted fans for propulsion. Further, UAVs with more wings (e.g., an “x-wing” configuration with four wings), are also possible. Although FIG. 1 illustrates two wings 102, two booms 104, two horizontal propulsion units 108, and six vertical propulsion units 110 per boom 104, it should be appreciated that other variants of UAV 100 may be implemented with more or less of these components. For example, UAV 100 may include four wings 102, four booms 104, and more or less propulsion units (horizontal or vertical).

[0039] Similarly, FIG. IB shows another example of a fixed-wing UAV 120. The fixed-wing UAV 120 includes a fuselage 122, two wings 124 with an airfoil-shaped cross section to provide lift for the UAV 120, a vertical stabilizer 126 (or fin) to stabilize the plane's yaw (turn left or right), a horizontal stabilizer 128 (also referred to as an elevator or tailplane) to stabilize pitch (tilt up or down), landing gear 130, and a propulsion unit 132, which can include a motor, shaft, and propeller.

[0040] FIG. 1C shows an example of a UAV 140 with a propeller in a pusher configuration. The term “pusher” refers to the fact that a propulsion unit 142 is mounted at the back of the UAV and “pushes” the vehicle forward, in contrast to the propulsion unit being mounted at the front of the UAV. Similar to the description provided for FIGS. 1A and IB, FIG. 1C depicts common structures used in a pusher plane, including a fuselage 144, two wings 146, vertical stabilizers 148, and the propulsion unit 142, which can include a motor, shaft, and propeller.

[0041] FIG. ID shows an example of a tail-sitter UAV 160. In the illustrated example, the tail-sitter UAV 160 has fixed wings 162 to provide lift and allow the UAV 160 to glide horizontally (e.g., along the x-axis, in a position that is approximately perpendicular to the position shown in FIG. 1 D) . However, the fixed wings 162 also allow the tail-sitter UAV 160 to take off and land vertically on its own.

[0042] For example, at a launch site, the tail-sitter UAV 160 may be positioned vertically (as shown) with its fins 164 and/or wings 162 resting on the ground and stabilizing the UAV 160 in the vertical position. The tail-sitter UAV 160 may then take off by operating its propellers 166 to generate an upward thrust (e.g., a thrust that is generally along the y-axis). Once at a suitable altitude, the tail-sitter UAV 160 may use its flaps 168 to reorient itself in a horizontal position, such that its fuselage 170 is closer to being aligned with the x-axis than the y-axis. Positioned horizontally, the propellers 166 may provide forward thrust so that the tail-sitter UAV 160 can fly in a similar manner as a typical airplane. [0043] Many variations on the illustrated fixed-wing UAVs are possible. For instance, fixed-wing UAVs may include more or fewer propellers, and/or may utilize a ducted fan or multiple ducted fans for propulsion. Further, UAVs with more wings (e.g., an “x-wing” configuration with four wings), with fewer wings, or even with no wings, are also possible.

[0044] As noted above, some embodiments may involve other types of UAVs, in addition to or in the alternative to fixed-wing UAVs. For instance, FIG. IE shows an example of a rotorcraft that is commonly referred to as a multicopter 180. The multicopter 180 may also be referred to as a quadcopter, as it includes four rotors 182. It should be understood that example embodiments may involve a rotorcraft with more or fewer rotors than the multicopter 180. For example, a helicopter typically has two rotors. Other examples with three or more rotors are possible as well. Herein, the term “multicopter” refers to any rotorcraft having more than two rotors, and the term “helicopter” refers to rotorcraft having two rotors.

[0045] Referring to the multicopter 180 in greater detail, the four rotors 182 provide propulsion and maneuverability for the multicopter 180. More specifically, each rotor 182 includes blades that are attached to a motor 184. Configured as such, the rotors 182 may allow the multicopter 180 to take off and land vertically, to maneuver in any direction, and/or to hover. Further, the pitch of the blades may be adjusted as a group and/or differentially, and may allow the multicopter 180 to control its pitch, roll, yaw, and/or altitude.

[0046] It should be understood that references herein to an “unmanned” aerial vehicle or UAV can apply equally to autonomous and semi-autonomous aerial vehicles. In an autonomous implementation, all functionality of the aerial vehicle is automated; e.g., pre-programmed or controlled via real-time computer functionality that responds to input from various sensors and/or pre-determined information. In a semi-autonomous implementation, some functions of an aerial vehicle may be controlled by a human operator, while other functions are carried out autonomously. Further, in some embodiments, a UAV may be configured to allow a remote operator to take over functions that can otherwise be controlled autonomously by the UAV. Yet further, a given type of function may be controlled remotely at one level of abstraction and performed autonomously at another level of abstraction. For example, a remote operator could control high level navigation decisions for a UAV, such as by specifying that the UAV should travel from one location to another (e.g., from a warehouse in a suburban area to a delivery address in a nearby city), while the UAVs navigation system autonomously controls more fine-grained navigation decisions, such as the specific route to take between the two locations, specific flight controls to achieve the route and avoid obstacles while navigating the route, and so on.

[0047] More generally, it should be understood that the example UAVs described herein are not intended to be limiting. Example embodiments may relate to, be implemented within, or take the form of any type of unmanned aerial vehicle. III. Illustrative UAV Components

[0048] FIG. 2 is a simplified block diagram illustrating components of a UAV 200, according to an example embodiment. UAV 200 may take the form of, or be similar in form to, one of the UAVs 100, 120, 140, 160, and 180 described in reference to FIGS. 1A-1E. However, UAV 200 may also take other forms.

[0049] UAV 200 may include various types of sensors, and may include a computing system configured to provide the functionality described herein. In the illustrated embodiment, the sensors of UAV 200 include an inertial measurement unit (IMU) 202, ultrasonic sensor(s) 204, and a GPS 206, among other possible sensors and sensing systems.

[0050] In the illustrated embodiment, UAV 200 also includes one or more processors 208. A processor 208 may be a general-purpose processor or a special purpose processor (e.g., digital signal processors, application specific integrated circuits, etc.). The one or more processors 208 can be configured to execute computer-readable program instructions 212 that are stored in the data storage 210 and are executable to provide the functionality of a UAV described herein.

[0051] The data storage 210 may include or take the form of one or more computer-readable storage media that can be read or accessed by at least one processor 208. The one or more computer-readable storage media can include volatile and/or non-volatile storage components, such as optical, magnetic, organic or other memory or disc storage, which can be integrated in whole or in part with at least one of the one or more processors 208. In some embodiments, the data storage 210 can be implemented using a single physical device (e.g., one optical, magnetic, organic or other memory or disc storage unit), while in other embodiments, the data storage 210 can be implemented using two or more physical devices.

[0052] As noted, the data storage 210 can include computer-readable program instructions 212 and perhaps additional data, such as diagnostic data of the UAV 200. As such, the data storage 210 may include program instructions 212 to perform or facilitate some or all of the UAV functionality described herein. For instance, in the illustrated embodiment, program instructions 212 include a navigation module 214 and a tether control module 216.

A. Sensors

[0053] In an illustrative embodiment, IMU 202 may include both an accelerometer and a gyroscope, which may be used together to determine an orientation of the UAV 200. In particular, the accelerometer can measure the orientation of the vehicle with respect to earth, while the gyroscope measures the rate of rotation around an axis. IMUs are commercially available in low-cost, low-power packages. For instance, an IMU 202 may take the form of or include a miniaturized MicroElectroMechanical System (MEMS) or a NanoElectroMechanical System (NEMS). Other types of IMUs may also be utilized. [0054] An IMU 202 may include other sensors, in addition to accelerometers and gyroscopes, which may help to better determine position and/or help to increase autonomy of the UAV 200. Two examples of such sensors are magnetometers and pressure sensors. In some embodiments, a UAV may include a low-power, digital 3 -axis magnetometer, which can be used to realize an orientation independent electronic compass for accurate heading information. However, other types of magnetometers may be utilized as well. Other examples are also possible. Further, note that a UAV could include some or all of the above-described inertia sensors as separate components from an IMU.

[0055] UAV 200 may also include a pressure sensor or barometer, which can be used to determine the altitude of the UAV 200. Alternatively, other sensors, such as sonic altimeters or radar altimeters, can be used to provide an indication of altitude, which may help to improve the accuracy of and/or prevent drift of an IMU.

[0056] In a further aspect, UAV 200 may include one or more sensors that allow the UAV to sense objects in the environment. For instance, in the illustrated embodiment, UAV 200 includes ultrasonic sensor(s) 204. Ultrasonic sensor(s) 204 can determine the distance to an object by generating sound waves and determining the time interval between transmission of the wave and receiving the corresponding echo off an object. A typical application of an ultrasonic sensor for unmanned vehicles or IMUs is low-level altitude control and obstacle avoidance. An ultrasonic sensor can also be used for vehicles that need to hover at a certain height or need to be capable of detecting obstacles. Other systems can be used to determine, sense the presence of, and/or determine the distance to nearby objects, such as a light detection and ranging (UIDAR) system, laser detection and ranging (UADAR) system, and/or an infrared or forward-looking infrared (FUIR) system, among other possibilities.

[0057] In some embodiments, UAV 200 may also include one or more imaging system(s). For example, one or more still and/or video cameras may be utilized by UAV 200 to capture image data from the UAV's environment. As a specific example, charge-coupled device (CCD) cameras or complementary metal-oxide-semiconductor (CMOS) cameras can be used with unmanned vehicles. Such imaging sensor(s) have numerous possible applications, such as obstacle avoidance, localization techniques, ground tracking for more accurate navigation (e.g., by applying optical flow techniques to images), video feedback, and/or image recognition and processing, among other possibilities.

[0058] UAV 200 may also include a GPS receiver 206. The GPS receiver 206 may be configured to provide data that is typical of well-known GPS systems, such as the GPS coordinates of the UAV 200. Such GPS data may be utilized by the UAV 200 for various functions. As such, the UAV may use its GPS receiver 206 to help navigate to the caller's location, as indicated, at least in part, by the GPS coordinates provided by their mobile device. Other examples are also possible.

B. Navigation and Location Determination

[0059] The navigation module 214 may provide functionality that allows the UAV 200 to, e.g., move about its environment and reach a desired location. To do so, the navigation module 214 may control the altitude and/or direction of flight by controlling the mechanical features of the UAV that affect flight (e.g., its rudder(s), elevator(s), aileron(s), and/or the speed of its propeller(s)).

[0060] In order to navigate the UAV 200 to a target location, the navigation module 214 may implement various navigation techniques, such as map-based navigation and localization-based navigation, for instance. With map-based navigation, the UAV 200 may be provided with a map of its environment, which may then be used to navigate to a particular location on the map. With localizationbased navigation, the UAV 200 may be capable of navigating in an unknown environment using localization. Uocalization-based navigation may involve the UAV 200 building its own map of its environment and calculating its position within the map and/or the position of objects in the environment. For example, as a UAV 200 moves throughout its environment, the UAV 200 may continuously use localization to update its map of the environment. This continuous mapping process may be referred to as simultaneous localization and mapping (SUAM). Other navigation techniques may also be utilized.

[0061] In some embodiments, the navigation module 214 may navigate using a technique that relies on waypoints. In particular, waypoints are sets of coordinates that identify points in physical space. For instance, an air-navigation waypoint may be defined by a certain latitude, longitude, and altitude. Accordingly, navigation module 214 may cause UAV 200 to move from waypoint to waypoint, in order to ultimately travel to a final destination (e.g., a final waypoint in a sequence of waypoints).

[0062] In a further aspect, the navigation module 214 and/or other components and systems of the UAV 200 may be configured for “localization” to more precisely navigate to the scene of a target location. More specifically, it may be desirable in certain situations for a UAV to be within a threshold distance of the target location where a payload 228 is being delivered by a UAV (e.g., within a few feet of the target destination). To this end, a UAV may use a two-tiered approach in which it uses a more- general location-determination technique to navigate to a general area that is associated with the target location, and then use a more-refined location-determination technique to identify and/or navigate to the target location within the general area.

[0063] For example, the UAV 200 may navigate to the general area of a target destination where a payload 228 is being delivered using waypoints and/or map-based navigation. The UAV may then switch to a mode in which it utilizes a localization process to locate and travel to a more specific location. For instance, if the UAV 200 is to deliver a payload to a user's home, the UAV 200 may need to be substantially close to the target location in order to avoid delivery of the payload to undesired areas (e.g., onto a roof, into a pool, onto a neighbor's property, etc.). However, a GPS signal may only get the UAV 200 so far (e.g., within a block of the user's home). A more precise location-determination technique may then be used to find the specific target location.

[0064] Various types of location-determination techniques may be used to accomplish localization of the target delivery location once the UAV 200 has navigated to the general area of the target delivery location. For instance, the UAV 200 may be equipped with one or more sensory systems, such as, for example, ultrasonic sensors 204, infrared sensors (not shown), and/or other sensors, which may provide input that the navigation module 214 utilizes to navigate autonomously or semi-autonomously to the specific target location.

[0065] As another example, once the UAV 200 reaches the general area of the target delivery location (or of a moving subject such as a person or their mobile device), the UAV 200 may switch to a “fly-by-wire” mode where it is controlled, at least in part, by a remote operator, who can navigate the UAV 200 to the specific target location. To this end, sensory data from the UAV 200 may be sent to the remote operator to assist them in navigating the UAV 200 to the specific location.

[0066] As yet another example, the UAV 200 may include a module that is able to signal to a passerby for assistance in either reaching the specific target delivery location; for example, the UAV 200 may display a visual message requesting such assistance in a graphic display, play an audio message or tone through speakers to indicate the need for such assistance, among other possibilities. Such a visual or audio message might indicate that assistance is needed in delivering the UAV 200 to a particular person or a particular location, and might provide information to assist the passer-by in delivering the UAV 200 to the person or location (e.g., a description or picture of the person or location, and/or the person or location's name), among other possibilities. Such a feature can be useful in a scenario in which the UAV is unable to use sensory functions or another location-determination technique to reach the specific target location. However, this feature is not limited to such scenarios.

[0067] In some embodiments, once the UAV 200 arrives at the general area of a target delivery location, the UAV 200 may utilize a beacon from a user's remote device (e.g., the user's mobile phone) to locate the person. Such a beacon may take various forms. As an example, consider the scenario where a remote device, such as the mobile phone of a person who requested a UAV delivery, is able to send out directional signals (e.g., via an RF signal, a light signal and/or an audio signal). In this scenario, the UAV 200 may be configured to navigate by “sourcing” such directional signals — in other words, by determining where the signal is strongest and navigating accordingly. As another example, a mobile device can emit a frequency, either in the human range or outside the human range, and the UAV 200 can listen forthat frequency and navigate accordingly. As a related example, if the UAV 200 is listening for spoken commands, then the UAV 200 could utilize spoken statements, such as “I'm over here!” to source the specific location of the person requesting delivery of a payload.

[0068] In an alternative arrangement, a navigation module may be implemented at a remote computing device, which communicates wirelessly with the UAV 200. The remote computing device may receive data indicating the operational state of the UAV 200, sensor data from the UAV 200 that allows it to assess the environmental conditions being experienced by the UAV 200, and/or location information for the UAV 200. Provided with such information, the remote computing device may determine latitudinal and/or directional adjustments that should be made by the UAV 200 and/or may determine how the UAV 200 should adjust its mechanical features (e.g., its rudder(s), elevator(s), aileron(s), and/or the speed of its propeller(s)) in order to effectuate such movements. The remote computing system may then communicate such adjustments to the UAV 200 so it can move in the determined manner.

C. Communication Systems

[0069] In a further aspect, the UAV 200 includes one or more communication systems 218. The communications systems 218 may include one or more wireless interfaces and/or one or more wireline interfaces, which allow the UAV 200 to communicate via one or more networks. Such wireless interfaces may provide for communication under one or more wireless communication protocols, such as Bluetooth, WiFi (e.g., an IEEE 802.11 protocol), Long-Term Evolution (LTE), WiMAX (e.g., an IEEE 802.16 standard), a radio-frequency ID (RFID) protocol, near-field communication (NFC), and/or other wireless communication protocols. Such wireline interfaces may include an Ethernet interface, a Universal Serial Bus (USB) interface, or similar interface to communicate via a wire, a twisted pair of wires, a coaxial cable, an optical link, a fiber-optic link, or other physical connection to a wireline network.

[0070] In some embodiments, a UAV 200 may include communication systems 218 that allow for both short-range communication and long-range communication. For example, the UAV 200 may be configured for short-range communications using Bluetooth and for long-range communications under a CDMA protocol. In such an embodiment, the UAV 200 may be configured to function as a “hot spot;” or in other words, as a gateway or proxy between a remote support device and one or more data networks, such as a cellular network and/or the Internet. Configured as such, the UAV 200 may facilitate data communications that the remote support device would otherwise be unable to perform by itself.

[0071] For example, the UAV 200 may provide a WiFi connection to a remote device, and serve as a proxy or gateway to a cellular service provider's data network, which the UAV might connect to under an LTE or a 3G protocol, for instance. The UAV 200 could also serve as a proxy or gateway to a high- altitude balloon network, a satellite network, or a combination of these networks, among others, which a remote device might not be able to otherwise access.

D. Power Systems

[0072] In a further aspect, the UAV 200 may include power system(s) 220. The power system 220 may include one or more batteries for providing power to the UAV 200. In one example, the one or more batteries may be rechargeable and each battery may be recharged via a wired connection between the battery and a power supply and/or via a wireless charging system, such as an inductive charging system that applies an external time-varying magnetic field to an internal battery. E. Payload Delivery

[0073] The UAV 200 may employ various systems and configurations in order to transport and deliver a payload 228. In some implementations, the payload 228 of a given UAV 200 may include or take the form of a “package” designed to transport various goods to a target delivery location. For example, the UAV 200 can include a compartment, in which an item or items may be transported. Such a package may include one or more food items, purchased goods, medical items, or any other object(s) having a size and weight suitable to be transported between two locations by the UAV. In other embodiments, a payload 228 may simply be the one or more items that are being delivered (e.g., without any package housing the items).

[0074] In some embodiments, the payload 228 may be attached to the UAV and located substantially outside of the UAV during some or all of a flight by the UAV. For example, the package may be tethered or otherwise releasably attached below the UAV during flight to a target location. In some embodiments, the package may include various features that protect its contents from the environment, reduce aerodynamic drag on the system, and prevent the contents of the package from shifting during UAV flight. In other embodiments, the package may be a standard shipping package that is not specifically tailored for UAV flight.

[0075] In order to deliver the payload, the UAV may include a winch system 221 controlled by the tether control module 216 in order to lower the payload 228 to the ground while the UAV hovers above. As shown in FIG. 2, the winch system 221 may include a tether 224, and the tether 224 may be coupled to the payload 228 by a payload retriever 226. The tether 224 may be wound on a spool that is coupled to a motor 222 of the UAV. The motor 222 may take the form of a DC motor (e.g., a servo motor) that can be actively controlled by a speed controller. The tether control module 216 can control the speed controller to cause the motor 222 to rotate the spool, thereby unwinding or retracting the tether 224 and lowering or raising the payload retriever 226. In practice, the speed controller may output a desired operating rate (e.g., a desired RPM) for the spool, which may correspond to the speed at which the tether 224 and payload 228 should be lowered towards the ground. The motor 222 may then rotate the spool so that it maintains the desired operating rate.

[0076] In order to control the motor 222 via the speed controller, the tether control module 216 may receive data from a speed sensor (e.g., an encoder) configured to convert a mechanical position to a representative analog or digital signal. In particular, the speed sensor may include a rotary encoder that may provide information related to rotary position (and/or rotary movement) of a shaft of the motor or the spool coupled to the motor, among other possibilities. Moreover, the speed sensor may take the form of an absolute encoder and/or an incremental encoder, among others. So in an example implementation, as the motor 222 causes rotation of the spool, a rotary encoder may be used to measure this rotation. In doing so, the rotary encoder may be used to convert a rotary position to an analog or digital electronic signal used by the tether control module 216 to determine the amount of rotation of the spool from a fixed reference angle and/or to an analog or digital electronic signal that is representative of a new rotary position, among other options. Other examples are also possible.

[0077] Based on the data from the speed sensor, the tether control module 216 may determine a rotational speed of the motor 222 and/or the spool and responsively control the motor 222 (e.g., by increasing or decreasing an electrical current supplied to the motor 222) to cause the rotational speed of the motor 222 to match a desired speed. When adjusting the motor current, the magnitude of the current adjustment may be based on a proportional-integral-derivative (PID) calculation using the determined and desired speeds of the motor 222. For instance, the magnitude of the current adjustment may be based on a present difference, a past difference (based on accumulated error over time), and a future difference (based on current rates of change) between the determined and desired speeds of the spool.

[0078] In some embodiments, the tether control module 216 may vary the rate at which the tether 224 and payload 228 are lowered to the ground. For example, the speed controller may change the desired operating rate according to a variable deployment-rate profile and/or in response to other factors in order to change the rate at which the payload 228 descends toward the ground. To do so, the tether control module 216 may adjust an amount of braking or an amount of friction that is applied to the tether 224. For example, to vary the tether deployment rate, the UAV 200 may include friction pads that can apply a variable amount of pressure to the tether 224. As another example, the UAV 200 can include a motorized braking system that varies the rate at which the spool lets out the tether 224. Such a braking system may take the form of an electromechanical system in which the motor 222 operates to slow the rate at which the spool lets out the tether 224. Further, the motor 222 may vary the amount by which it adjusts the speed (e.g., the RPM) of the spool, and thus may vary the deployment rate of the tether 224. Other examples are also possible.

[0079] In some embodiments, the tether control module 216 may be configured to limit the motor current supplied to the motor 222 to a maximum value. With such a limit placed on the motor current, there may be situations where the motor 222 cannot operate at the desired operation specified by the speed controller. For instance, as discussed in more detail below, there may be situations where the speed controller specifies a desired operating rate at which the motor 222 should retract the tether 224 toward the UAV 200, but the motor current may be limited such that a large enough downward force on the tether 224 would counteract the retracting force of the motor 222 and cause the tether 224 to unwind instead. And as further discussed below, a limit on the motor current may be imposed and/or altered depending on an operational state of the UAV 200.

[0080] In some embodiments, the tether control module 216 may be configured to determine a status of the tether 224 and/or the payload 228 based on the amount of current supplied to the motor 222. For instance, if a downward force is applied to the tether 224 (e.g., if the payload 228 is attached to the tether 224 or if the tether 224 gets snagged on an object when retracting toward the UAV 200), the tether control module 216 may need to increase the motor current in order to cause the determined rotational speed of the motor 222 and/or spool to match the desired speed. Similarly, when the downward force is removed from the tether 224 (e.g., upon delivery of the payload 228 or removal of a tether snag), the tether control module 216 may need to decrease the motor current in order to cause the determined rotational speed of the motor 222 and/or spool to match the desired speed. As such, the tether control module 216 may be configured to monitor the current supplied to the motor 222. For instance, the tether control module 216 could determine the motor current based on sensor data received from a current sensor of the motor or a current sensor of the power system 220. In any case, based on the current supplied to the motor 222, determine if the payload 228 is attached to the tether 224, if someone or something is pulling on the tether 224, and/or if the payload retriever 226 is pressing against the UAV 200 after retracting the tether 224. Other examples are possible as well.

[0081] During delivery of the payload 228, the payload retriever 226 can be configured to secure the payload 228 while being lowered from the UAV by the tether 224, and can be further configured to release the payload 228 upon reaching ground level. The payload retriever 226 can then be retracted to the UAV by reeling in the tether 224 using the motor 222.

[0082] In some implementations, the payload 228 may be passively released once it is lowered to the ground. For example, a passive release mechanism may include one or more swing arms adapted to retract into and extend from a housing. An extended swing arm may form a hook on which the payload 228 may be attached. Upon lowering the release mechanism and the payload 228 to the ground via a tether, a gravitational force as well as a downward inertial force on the release mechanism may cause the payload 228 to detach from the hook allowing the release mechanism to be raised upwards toward the UAV. The release mechanism may further include a spring mechanism that biases the swing arm to retract into the housing when there are no other external forces on the swing arm. For instance, a spring may exert a force on the swing arm that pushes or pulls the swing arm toward the housing such that the swing arm retracts into the housing once the weight of the payload 228 no longer forces the swing arm to extend from the housing. Retracting the swing arm into the housing may reduce the likelihood of the release mechanism snagging the payload 228 or other nearby objects when raising the release mechanism toward the UAV upon delivery of the payload 228.

[0083] Active payload release mechanisms are also possible. For example, sensors such as a barometric pressure based altimeter and/or accelerometers may help to detect the position of the release mechanism (and the payload) relative to the ground. Data from the sensors can be communicated back to the UAV and/or a control system over a wireless link and used to help in determining when the release mechanism has reached ground level (e.g., by detecting a measurement with the accelerometer that is characteristic of ground impact). In other examples, the UAV may determine that the payload has reached the ground based on a weight sensor detecting a threshold low downward force on the tether and/or based on a threshold low measurement of power drawn by the winch when lowering the payload. [0084] Other systems and techniques for delivering a payload, in addition or in the alternative to a tethered delivery system are also possible. For example, a UAV 200 could include an air-bag drop system or a parachute drop system. Alternatively, a UAV 200 carrying a payload could simply land on the ground at a delivery location. Other examples are also possible.

IV. Illustrative UAV Deployment Systems

[0085] UAV systems may be implemented in order to provide various UAV-related services. In particular, UAVs may be provided at a number of different launch sites that may be in communication with regional and/or central control systems. Such a distributed UAV system may allow UAVs to be quickly deployed to provide services across a large geographic area (e.g., that is much larger than the flight range of any single UAV). For example, UAVs capable of carrying payloads may be distributed at a number of launch sites across a large geographic area (possibly even throughout an entire country, or even worldwide), in order to provide on-demand transport of various items to locations throughout the geographic area. FIG. 3 is a simplified block diagram illustrating a distributed UAV system 300, according to an example embodiment.

[0086] In the illustrative UAV system 300, an access system 302 may allow for interaction with, control of, and/or utilization of a network of UAVs 304. In some embodiments, an access system 302 may be a computing system that allows for human-controlled dispatch of UAVs 304. As such, the control system may include or otherwise provide a user interface through which a user can access and/or control the UAVs 304.

[0087] In some embodiments, dispatch of the UAVs 304 may additionally or alternatively be accomplished via one or more automated processes. For instance, the access system 302 may dispatch one of the UAVs 304 to transport a payload to a target location, and the UAV may autonomously navigate to the target location by utilizing various on-board sensors, such as a GPS receiver and/or other various navigational sensors.

[0088] Further, the access system 302 may provide for remote operation of a UAV. For instance, the access system 302 may allow an operator to control the flight of a UAV via its user interface. As a specific example, an operator may use the access system 302 to dispatch a UAV 304 to a target location. The UAV 304 may then autonomously navigate to the general area of the target location. At this point, the operator may use the access system 302 to take control of the UAV 304 and navigate the UAV to the target location (e.g., to a particular person to whom a payload is being transported). Other examples of remote operation of a UAV are also possible.

[0089] In an illustrative embodiment, the UAVs 304 may take various forms. For example, each of the UAVs 304 may be a UAV such as those illustrated in FIGS. 1A-1E. However, UAV system 300 may also utilize other types of UAVs without departing from the scope of the invention. In some implementations, all of the UAVs 304 may be of the same or a similar configuration. However, in other implementations, the UAVs 304 may include a number of different types of UAVs. For instance, the UAVs 304 may include a number of types of UAVs, with each type of UAV being configured for a different type or types of payload delivery capabilities.

[0090] The UAV system 300 may further include a remote device 306, which may take various forms. Generally, the remote device 306 may be any device through which a direct or indirect request to dispatch a UAV can be made. (Note that an indirect request may involve any communication that may be responded to by dispatching a UAV, such as requesting a package delivery). In an example embodiment, the remote device 306 may be a mobile phone, tablet computer, laptop computer, personal computer, or any network-connected computing device. Further, in some instances, the remote device 306 may not be a computing device. As an example, a standard telephone, which allows for communication via plain old telephone service (POTS), may serve as the remote device 306. Other types of remote devices are also possible.

[0091] Further, the remote device 306 may be configured to communicate with access system 302 via one or more types of communication network(s) 308. For example, the remote device 306 may communicate with the access system 302 (or a human operator of the access system 302) by communicating over a POTS network, a cellular network, and/or a data network such as the Internet. Other types of networks may also be utilized.

[0092] In some embodiments, the remote device 306 may be configured to allow a user to request delivery of one or more items to a desired location. For example, a user could request UAV delivery of a package to their home via their mobile phone, tablet, or laptop. As another example, a user could request dynamic delivery to wherever they are located at the time of delivery. To provide such dynamic delivery, the UAV system 300 may receive location information (e.g., GPS coordinates, etc.) from the user's mobile phone, or any other device on the user's person, such that a UAV can navigate to the user's location (as indicated by their mobile phone).

[0093] In an illustrative arrangement, the central dispatch system 310 may be a server or group of servers, which is configured to receive dispatch messages requests and/or dispatch instructions from the access system 302. Such dispatch messages may request or instruct the central dispatch system 310 to coordinate the deployment of UAVs to various target locations. The central dispatch system 310 may be further configured to route such requests or instructions to one or more local dispatch systems 312. To provide such functionality, the central dispatch system 310 may communicate with the access system 302 via a data network, such as the Internet or a private network that is established for communications between access systems and automated dispatch systems.

[0094] In the illustrated configuration, the central dispatch system 310 may be configured to coordinate the dispatch of UAVs 304 from a number of different local dispatch systems 312. As such, the central dispatch system 310 may keep track of which UAVs 304 are located at which local dispatch systems 312, which UAVs 304 are currently available for deployment, and/or which services or operations each of the UAVs 304 is configured for (in the event that a UAV fleet includes multiple types of UAVs configured for different services and/or operations). Additionally or alternatively, each local dispatch system 312 may be configured to track which of its associated UAVs 304 are currently available for deployment and/or are currently in the midst of item transport.

[0095] In some cases, when the central dispatch system 310 receives a request for UAV-related service (e.g., transport of an item) from the access system 302, the central dispatch system 310 may select a specific UAV 304 to dispatch. The central dispatch system 310 may accordingly instruct the local dispatch system 312 that is associated with the selected UAV to dispatch the selected UAV. The local dispatch system 312 may then operate its associated deployment system 314 to launch the selected UAV. In other cases, the central dispatch system 310 may forward a request for a UAV-related service to a local dispatch system 312 that is near the location where the support is requested and leave the selection of a particular UAV 304 to the local dispatch system 312.

[0096] In an example configuration, the local dispatch system 312 may be implemented as a computing system at the same location as the deployment system(s) 314 that it controls. For example, the local dispatch system 312 may be implemented by a computing system installed at a building, such as a warehouse, where the deployment system(s) 314 and UAV(s) 304 that are associated with the particular local dispatch system 312 are also located. In other embodiments, the local dispatch system 312 may be implemented at a location that is remote to its associated deployment system(s) 314 and UAV(s) 304.

[0097] Numerous variations on and alternatives to the illustrated configuration of the UAV system 300 are possible. For example, in some embodiments, a user of the remote device 306 could request delivery of a package directly from the central dispatch system 310. To do so, an application may be implemented on the remote device 306 that allows the user to provide information regarding a requested delivery, and generate and send a data message to request that the UAV system 300 provide the delivery. In such an embodiment, the central dispatch system 310 may include automated functionality to handle requests that are generated by such an application, evaluate such requests, and, if appropriate, coordinate with an appropriate local dispatch system 312 to deploy a UAV.

[0098] Further, some or all of the functionality that is attributed herein to the central dispatch system 310, the local dispatch system(s) 312, the access system 302, and/or the deployment system(s) 314 may be combined in a single system, implemented in a more complex system, and/or redistributed among the central dispatch system 310, the local dispatch system(s) 312, the access system 302, and/or the deployment system(s) 314 in various ways.

[0099] Yet further, while each local dispatch system 312 is shown as having two associated deployment systems 314, a given local dispatch system 312 may alternatively have more or fewer associated deployment systems 314. Similarly, while the central dispatch system 310 is shown as being in communication with two local dispatch systems 312, the central dispatch system 310 may alternatively be in communication with more or fewer local dispatch systems 312. [0100] In a further aspect, the deployment systems 314 may take various forms. In general, the deployment systems 314 may take the form of or include systems for physically launching one or more of the UAVs 304. Such launch systems may include features that provide for an automated UAV launch and/or features that allow for a human-assisted UAV launch. Further, the deployment systems 314 may each be configured to launch one particular UAV 304, or to launch multiple UAVs 304.

[0101] The deployment systems 314 may further be configured to provide additional functions, including for example, diagnostic-related functions such as verifying system functionality of the UAV, verifying functionality of devices that are housed within a UAV (e.g., a payload delivery apparatus), and/or maintaining devices or other items that are housed in the UAV (e.g., by monitoring a status of a payload such as its temperature, weight, etc.).

[0102] In some embodiments, the deployment systems 314 and their corresponding UAVs 304 (and possibly associated local dispatch systems 312) may be strategically distributed throughout an area such as a city. For example, the deployment systems 314 may be strategically distributed such that each deployment system 314 is proximate to one or more payload pickup locations (e.g., near a restaurant, store, or warehouse). However, the deployment systems 314 (and possibly the local dispatch systems 312) may be distributed in other ways, depending upon the particular implementation. As an additional example, kiosks that allow users to transport packages via UAVs may be installed in various locations. Such kiosks may include UAV launch systems, and may allow a user to provide their package for loading onto a UAV and pay for UAV shipping services, among other possibilities. Other examples are also possible.

[0103] In a further aspect, the UAV system 300 may include or have access to a user-account database 316. The user-account database 316 may include data for a number of user accounts, and which are each associated with one or more persons. For a given user account, the user-account database 316 may include data related to or useful in providing UAV-related services. Typically, the user data associated with each user account is optionally provided by an associated user and/or is collected with the associated user's permission.

[0104] Further, in some embodiments, a person may be required to register for a user account with the UAV system 300, if they wish to be provided with UAV-related services by the UAVs 304 from UAV system 300. As such, the user-account database 316 may include authorization information for a given user account (e.g., a username and password), and/or other information that may be used to authorize access to a user account.

[0105] In some embodiments, a person may associate one or more of their devices with their user account, such that they can access the services of UAV system 300. For example, when a person uses an associated mobile phone, e.g., to place a call to an operator of the access system 302 or send a message requesting a UAV-related service to a dispatch system, the phone may be identified via a unique device identification number, and the call or message may then be attributed to the associated user account. Other examples are also possible.

V. Example Systems and Methods for Controlling the UAV to Avoid Obstacles

[0106] FIG. 4 illustrates examples of operations 400 performed by some examples of the devices described above (e.g., the UAV, the deployment systems 314, local dispatch systems 312, central dispatch system 310, etc.) while the UAV is traveling (e.g., traveling to deliver a package). In some examples, one or more of these operations are implemented via instruction code, stored in corresponding data storage of these devices. Execution of the instruction code by corresponding processors of the devices causes these devices to perform these operations 400 alone or in combination with other devices. The operations 400 of FIG. 4 are more clearly understood with reference to FIGs. 5-10.

[0107] The operations at block 405 involve executing a UAV descent operation. For instance, after the UAV arrives at a destination, the UAV starts to descend towards a delivery zone.

[0108] The operations at block 410 involve capturing a depth image. FIG. 5 illustrates an example of a depth image 500. As noted above, some examples of the UAV comprise a camera that facilitates capturing an image that depicts features 505 of the environment below the UAV. For instance, some examples of the image depict driveways 505A, structures 505B, foliage 505C, fences 505D, vehicles 505E, powerlines 505F, 505G, etc., in the area below the UAV.

[0109] Some examples of the camera correspond to a stereo/depth camera that facilitates capturing a stereo image. In this regard, some examples of the stereo camera comprise a pair of imagers spaced adjacent to one another that are configured to simultaneously capture side-by-side images of the environment below the UAV. The relative distances between corresponding pixels in the side-by-side images associated with a particular object (e.g., driveways, structures, foliage, fences, vehicles, powerlines, etc.) facilitate determining the distance of an object from the depth camera. This, in turn, facilitates determining the distance or depth of an object relative to the UAV.

[0110] Some examples of the stereo camera generate a depth mask associated with the captured image. FIG. 6 illustrates an example of a portion of a depth mask 600. Some examples of the depth mask 600 have the same dimensions (e.g., width and height in pixels) as the depth image 500. In some examples, pixels of the depth mask 600 are associated with corresponding depths of objects depicted in the depth image 500 (e.g., distances of corresponding objects to the depth camera.).

[OHl] Some examples of the depth mask 600 comprise valid pixel depths 605 and invalid pixel depths 610. The valid pixel depths 605 correspond with pixels of the depth image 500, for which the stereo camera was able to determine a depth or distance to the stereo camera. The invalid pixel depths 610 correspond with pixels of the depth image 500, for which the stereo camera was unable to determine a depth or distance to the stereo camera. In some examples, valid pixel depths 605 are represented as positive integer values (e.g., n > 0 representing a relative distance), and invalid pixel depths 610 are represented as a negative value (e.g., n=-l). In some instances, whether the depth for particular pixels that are associated with a particular object can be determined depends on the corresponding size (e.g., in pixels) of the object. For instance, in some examples, depths for objects that are greater than, for example, 10 pixels wide and/or 10 pixels high (e.g., structures, vehicles, etc.) can be determined, and depths for objects that are fewer than 10 pixels wide and/or 10 pixels high (e.g., powerlines, tree branches, etc.) cannot be determined.

[0112] The operations at block 415 involve generating an invalid pixel mask. FIG. 7 illustrates an example of an invalid pixel mask 700 that corresponds with the depth image 500 of FIG. 5. Some examples of the invalid pixel mask 700 represent the invalid pixels 610 from the depth mask 600. In this regard, some examples of the invalid pixel mask 700 have the same dimensions (e.g., width and height in pixels) as the depth mask 600. In some examples, invalid pixels 610 are represented by a particular value (e.g., one), and valid pixels 605 are represented by a different value (e.g., zero). The invalid pixel mask 700 of FIG. 7 illustrates a pair of lines 705A and 705B. The first line 705A and the second line 705B correspond respectively with the first powerline 505F and the second powerline 505G depicted in the depth image 500. This indicates that valid pixel depths could not be ascertained for the first powerline 505F and the second powerline 505G.

[0113] Some examples of the invalid pixel mask 700 are generated by the processor or other hardware of the UAV. Some examples of the invalid pixel mask 700 are generated by a ground control station (e.g., the deployment systems 314, local dispatch systems 312, central dispatch system 310). For instance, in some examples, the UAV communicates the depth image 500 to the ground control station, and the ground control station generates and communicates the invalid pixel mask 700 to the UAV.

[0114] The operations at block 420 involve detecting obstacles that could interfere with the delivery of a payload based on the distribution of the invalid pixels 610 as represented by the invalid pixel mask 700. FIG. 8 illustrates an example of obstacle detection logic 805 that facilitates making this determination. Some examples of the obstacle detection logic 805 are configured to detect objects that are associated with pixels in the invalid pixel mask 700 that define a line and to output an indication 810 as to whether such objects correspond to obstacles that will interfere with the delivery of a payload. In this regard, some examples of the obstacle detection logic 805 implement a Hough transform. The invalid pixel mask 700 is input into the Hough transform, and the Hough transform outputs an indication of whether a line has been detected in the invalid pixel mask 700.

[0115] Some examples of obstacle detection logic 805 determine there to be an obstacle when a line is detected in any region of the invalid pixel mask 700. For instance, some examples of the obstacle detection logic 805 determine there to be an obstacle upon detection of either one of the first line 705A or the second line 705B in the invalid pixel mask 700.

[0116] Some examples of obstacle detection logic 805 determine there to be an obstacle only when a line is detected in a region of the invalid pixel mask 700 corresponding to a delivery zone. For instance, some examples of the obstacle detection logic 805 determine there to be an obstacle upon detection of the first line 705A in the invalid pixel mask 700, which passes through a cone under the UAV that corresponds to the delivery zone, but not the second line 705B in the invalid pixel mask 700. In this regard, some examples of the obstacle detection logic 805 determine there to be an obstacle when the line exceeds a first threshold percentage (e.g., > 85%) of the diameter of the cone under the UAV that corresponds to the delivery zone. In further examples, determining that there is an object may also depend on determining that greater than a second threshold percentage of pixels within the cone in the depth image are valid pixels (e.g. > 85%). This second threshold may ensure that the depth image is sufficiently reliable in order to confidently identify a potential obstacle through invalid pixels. The cone may be a relatively narrow cone (e.g., 200 pixel radius) underneath the UAV.

[0117] Some examples of the obstacle detection logic 805 determine there to be an obstacle when the line extends at least from a first edge of the cone under the UAV that corresponds to the delivery zone to a second edge of the cone under the UAV. For example, a line that only extends halfway within the delivery zone may not be determined to be an obstacle.

[0118] In some examples, if an obstacle is determined at a particular delivery zone, an indication that an obstacle is present at the delivery zone is stored in a database. In this regard, some examples of the UAV store this information locally and/or communicate this indication to a ground control system in communication with the UAV.

[0119] Some examples of the UAV implement the obstacle detection logic 805. Additionally, or alternatively, some examples of ground control stations are configured to implement the obstacle detection logic 805 and communicate the detection result to the UAV.

[0120] The operations at block 424 involve determining whether an obstacle was detected. If an obstacle is not detected, the operations repeat from block 405. If an obstacle is detected, the operations at block 430 are performed.

[0121] The operations at block 430 involve controlling the UAV to avoid the obstacle. In some examples, the UAV is controlled to move in a lateral direction to avoid the obstacle during descent. For example, as illustrated in FIG. 9, the delivery zone is adjusted to avoid the obstacle (e.g., powerline 505F). Some examples of the UAV and/or ground control station determine the amount of lateral movement required to avoid the obstacle based in part on how far the obstacle extends within the delivery zone. Once a suitable delivery zone has been determined, the operations repeat from block 405. In some examples, the position of the UAV is controlled to avoid contact between a tethered payload of the UAV and the obstacle. After changing the UAV position, the tether of the UAV is controlled to deliver a tethered payload to the delivery zone.

[0122] In some examples, the operations 400 of FIG. 4 do not start until after the UAV has descended to a predetermined altitude above ground level (e.g., 500 ft). In some examples, the operations 400 of FIG. 5 do not start until after the UAV has descended to a first predetermined altitude above ground level (e.g., 500 ft), and the operations 400 end when the UAV has descended to a second/lower predetermined altitude above ground level (e.g., 50 ft).

[0123] FIG. 10 illustrates examples of operations 1000 performed by some examples of the devices described above (e.g., the UAV, the deployment systems 314, local dispatch systems 312, central dispatch system 310, etc.) while the UAV is traveling (e.g., traveling to deliver a package). In some examples, one or more of these operations are implemented via instruction code, stored in corresponding data storage of these devices. Execution of the instruction code by corresponding processors of the devices causes these devices to perform these operations 400 alone or in combination with other devices.

[0124] The operations at block 1005 involve receiving, by an image processing system, a depth image captured by a stereo camera on an unmanned aerial vehicle (UAV). One or more pixels of the depth image are associated with corresponding depth values indicative of distances of one or more objects to the stereo camera. The operations at block 1010 involve determining, by the image processing system, that one or more pixels of the depth image are associated with invalid depth values. The operations at block 1015 involve inferring, based on a distribution of the one or more pixels of the depth image that are associated with invalid depth values, a presence of a potential obstacle in an environment of the UAV. The operations at block 1020 involve controlling the UAV based on the inferred presence of the potential obstacle.

[0125] Some examples of the operations further involve generating, by the image processing system, an invalid pixel mask associated with the depth image. Pixels in the invalid pixel mask that are associated with pixels in the depth image having corresponding depth values are set to a first value, and pixels in the invalid pixel mask that are associated with pixels in the depth image that do not have corresponding depth values are set to a second value that is different from the first value.

[0126] Some examples of the operations further involve detecting, based on the invalid pixel mask, an elongated object in the environment that defines a line in the invalid pixel mask. Some examples of the operations further detecting, based on the invalid pixel mask and via a Hough transform, an elongated object in the environment that defines a line in the invalid pixel mask. Some examples of the operations further involve determining that the object will interfere with the deployment operation of the UAV when the line exceeds a first threshold percentage of a diameter of a cone under the UAV. [0127] Some examples of the operations further involve detecting, by the image processing system and based on the one or more pixels of the image that do not have corresponding depth values, an object that corresponds to a powerline.

[0128] Some examples of the operations further involve determining a delivery zone portion of the image. The delivery zone portion of the image is associated with a delivery zone of the UAV. These operations involve detecting, based on one or more pixels of the delivery zone portion of the image that do not have corresponding depth values, an object that would interfere with a deployment operation of the UAV. Some examples of the operations further involve determining that the detected object will interfere with the deployment operation when the detected object extends from a first edge of the delivery zone to a second edge of the delivery zone.

[0129] Some examples of the operations further involve moving the UAV in a lateral direction to avoid the inferred obstacle during a subsequent descent of the UAV. Some examples of the operations further involve controlling a position of the UAV to avoid contact between a tethered payload of the UAV and the detected object and subsequently causing a tether of the UAV to deliver the tethered payload to a delivery zone.

[0130] Some examples of the operations further involve causing the UAV to descend to a predetermined altitude above ground level before capturing the image. Some examples of the operations further involve causing the UAV to capture one or more depth images with the stereo camera to infer potential obstacles beneath the UAV while the UAV descends from the first altitude to a second altitude.

[0131] Some examples of the operations further involve storing, to a database, an indication that an object that would interfere with the deployment operation of the UAV is present in a geographic location associated with the UAV.

VI. Conclusion

[0132] The present disclosure is not to be limited in terms of the particular embodiments described in this application, which are intended as illustrations of various aspects. Many modifications and variations can be made without departing from its spirit and scope, as will be apparent to those skilled in the art. Functionally equivalent methods and apparatuses within the scope of the disclosure, in addition to those enumerated herein, will be apparent to those skilled in the art from the foregoing descriptions. Such modifications and variations are intended to fall within the scope of the appended claims.

[0133] The above -detailed description describes various features and functions of the disclosed systems, devices, and methods with reference to the accompanying figures. In the figures, similar symbols typically identify similar components unless context dictates otherwise. The example embodiments described herein and in the figures are not meant to be limiting. Other embodiments can be utilized, and other changes can be made without departing from the spirit or scope of the subject mater presented herein. It will be readily understood that the aspects of the present disclosure, as generally described herein, and illustrated in the figures, can be arranged, substituted, combined, separated, and designed in a wide variety of different configurations, all of which are explicitly contemplated herein.

[0134] A block that represents a processing of information may correspond to circuitry that can be configured to perform the specific logical functions of a herein-described method or technique. Alternatively or additionally, a block that represents a processing of information may correspond to a module, a segment, or a portion of program code (including related data). The program code may include one or more instructions executable by a processor for implementing specific logical functions or actions in the method or technique. The program code or related data may be stored on any type of computer-readable medium such as a storage device including a disk or hard drive or other storage medium.

[0135] The computer-readable medium may also include non-transitory computer-readable media such as computer-readable media that stores data for short periods of time like register memory, processor cache, and random access memory (RAM). The computer-readable media may also include non-transitory computer-readable media that stores program code or data for longer periods of time, such as secondary or persistent long-term storage, like read-only memory (ROM), optical or magnetic disks, compact-disc read-only memory (CD-ROM), for example. The computer-readable media may also be any other volatile or non-volatile storage systems. A computer-readable medium may be considered a computer-readable storage medium, for example, or a tangible storage device.

[0136] Moreover, a block that represents one or more information transmissions may correspond to information transmissions between software or hardware modules in the same physical device. However, other information transmissions may be between software modules or hardware modules in different physical devices.

[0137] The particular arrangements shown in the figures should not be viewed as limiting. It should be understood that other embodiments can include more or less of each element shown in a given figure. Further, some of the illustrated elements can be combined or omited. Yet further, an example embodiment can include elements that are not illustrated in the figures.

[0138] While various aspects and embodiments have been disclosed herein, other aspects and embodiments will be apparent to those skilled in the art. The various aspects and embodiments disclosed herein are for purposes of illustration and are not intended to be limiting, with the true scope being indicated by the following claims.