WO2022021214A1 - Method and apparatus for controlling unmanned aerial vehicle, and unmanned aerial vehicle and storage medium - Google Patents

Method and apparatus for controlling unmanned aerial vehicle, and unmanned aerial vehicle and storage medium Download PDF

Info

Publication number
WO2022021214A1
WO2022021214A1 PCT/CN2020/105809 CN2020105809W WO2022021214A1 WO 2022021214 A1 WO2022021214 A1 WO 2022021214A1 CN 2020105809 W CN2020105809 W CN 2020105809W WO 2022021214 A1 WO2022021214 A1 WO 2022021214A1
Authority
WO
WIPO (PCT)
Prior art keywords
unmanned aerial
aerial vehicle
preset
environment around
uav
Prior art date
Application number
PCT/CN2020/105809
Other languages
French (fr)
Chinese (zh)
Inventor
耿畅
陈萍萍
Original Assignee
深圳市大疆创新科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市大疆创新科技有限公司 filed Critical 深圳市大疆创新科技有限公司
Priority to PCT/CN2020/105809 priority Critical patent/WO2022021214A1/en
Priority to CN202080032667.3A priority patent/CN113853561A/en
Publication of WO2022021214A1 publication Critical patent/WO2022021214A1/en

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/10Simultaneous control of position or course in three dimensions
    • G05D1/101Simultaneous control of position or course in three dimensions specially adapted for aircraft
    • G05D1/106Change initiated in response to external conditions, e.g. avoidance of elevated terrain or of no-fly zones
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/10Simultaneous control of position or course in three dimensions

Definitions

  • the present invention relates to the technical field of control, and in particular, to a control method, device, unmanned aerial vehicle and storage medium of an unmanned aerial vehicle.
  • the unmanned aerial vehicle When the obstacle avoidance function of the unmanned aerial vehicle is turned on, the unmanned aerial vehicle can automatically implement obstacle avoidance when encountering an obstacle. However, if the user has turned off the obstacle avoidance function of the UAV and the UAV encounters an obstacle, if the user forgets to enable the obstacle avoidance function of the UAV, the UAV may directly hit the obstacle and cannot Ensure the safety of unmanned aerial vehicles.
  • the embodiments of the present application provide a control method, device, unmanned aerial vehicle, and storage medium for an unmanned aerial vehicle, which can effectively improve the safety of the unmanned aerial vehicle.
  • a first aspect of the embodiments of the present application provides a method for controlling an unmanned aerial vehicle, the method comprising:
  • sensing data output by sensors of the unmanned aerial vehicle, and determining whether the complexity of the environment around the unmanned aerial vehicle is higher than a preset complexity threshold according to the sensing data
  • the obstacle avoidance function of the unmanned aerial vehicle is enabled.
  • a second aspect of the embodiments of the present application provides a method for controlling an unmanned aerial vehicle, the method comprising:
  • sensing data output by sensors of the unmanned aerial vehicle, and determining whether the complexity of the environment around the unmanned aerial vehicle is higher than a preset complexity threshold according to the sensing data
  • the maximum flying speed of the unmanned aerial vehicle is reduced.
  • a third aspect of the embodiments of the present application provides a control device for an unmanned aerial vehicle, including a memory and a processor, wherein,
  • the memory for storing program codes
  • the processor calls the program code in the memory, and when the program code is executed, is used to perform the following operations:
  • sensing data output by sensors of the unmanned aerial vehicle, and determining whether the complexity of the environment around the unmanned aerial vehicle is higher than a preset complexity threshold according to the sensing data
  • the obstacle avoidance function of the unmanned aerial vehicle is enabled.
  • a fourth aspect of the embodiments of the present application provides a control device for an unmanned aerial vehicle, including a memory and a processor, wherein,
  • the memory for storing program codes
  • the processor calls the program code in the memory, and when the program code is executed, is used to perform the following operations:
  • sensing data output by sensors of the unmanned aerial vehicle, and determining whether the complexity of the environment around the unmanned aerial vehicle is higher than a preset complexity threshold according to the sensing data
  • the maximum flying speed of the unmanned aerial vehicle is reduced.
  • a fifth aspect of the embodiments of the present application provides a movable platform, and the movable platform includes:
  • a power system mounted on the fuselage, for powering the movable platform
  • a sensor mounted on the fuselage, for outputting sensing data
  • a sixth aspect of the embodiments of the present application provides a movable platform, and the movable platform includes:
  • a power system mounted on the fuselage, for powering the movable platform
  • a sensor mounted on the fuselage, for outputting sensing data
  • a seventh aspect of an embodiment of the present application provides a computer storage medium, where a computer program instruction a is stored in the computer storage medium, and when the computer program instruction is executed by a processor, is used to execute the non-automatic method described in the first aspect. Control method of human aircraft.
  • An eighth aspect of the embodiments of the present application provides a computer storage medium, where computer program instructions are stored in the computer storage medium, and when the computer program instructions are executed by a processor, are used to execute the unmanned aerial vehicle described in the second aspect.
  • the control method of the aircraft is not limited to:
  • the unmanned aerial vehicle can automatically enable the obstacle avoidance of the unmanned aerial vehicle when the obstacle avoidance function of the unmanned aerial vehicle is turned off and the complexity of the environment around the unmanned aerial vehicle is higher than a preset complexity threshold function, so that the unmanned aerial vehicle can automatically implement obstacle avoidance, which can effectively improve the safety of the unmanned aerial vehicle.
  • the UAV can automatically reduce the maximum flight speed of the UAV when the obstacle avoidance function of the UAV is turned off and the complexity of the environment around the UAV is higher than the preset complexity threshold.
  • the human aircraft flies at the reduced maximum flight speed, which can also minimize the impact force generated by the collision between the unmanned aircraft and the obstacle, which can effectively improve the safety of the unmanned aircraft.
  • FIG. 1 is a schematic flowchart of a control method for an unmanned aerial vehicle according to an embodiment of the present application
  • FIG. 2 is a schematic flowchart of another method for controlling an unmanned aerial vehicle according to an embodiment of the present application
  • FIG. 3 is a schematic flowchart of another method for controlling an unmanned aerial vehicle according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of a control device for an unmanned aerial vehicle according to an embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of an unmanned aerial system according to an embodiment of the present application.
  • the control method for an unmanned aerial vehicle can be applied to an unmanned aerial vehicle.
  • the unmanned aerial vehicle may include a sensor, and the sensor may specifically include one or more of a satellite positioning device, a visual sensor, a light sensor, or a timing sensor.
  • the unmanned aerial vehicle can determine whether the complexity of the environment around the unmanned aerial vehicle is higher than a preset complexity threshold through the sensing data output by the above-mentioned sensors.
  • the unmanned aerial vehicle when the unmanned aerial vehicle has an obstacle avoidance function, can obtain the sensing data output by the sensors of the unmanned aerial vehicle, and determine whether the complexity of the environment around the unmanned aerial vehicle is higher than the expected level according to the sensing data. Set the complexity threshold, the UAV can also detect whether the obstacle avoidance function of the UAV is turned off. When the obstacle avoidance function is turned off and the complexity of the environment around the UAV is higher than the preset complexity threshold , the UAV can enable the obstacle avoidance function of the UAV.
  • the obstacle avoidance function of the unmanned aerial vehicle can be automatically turned on, so that the unmanned aerial vehicle can Implement obstacle avoidance when encountering obstacles.
  • UAVs can use the obstacle avoidance function to pass through obstacles or detour, which can avoid collisions between UAVs and obstacles, so as to improve the safety of obstacles without affecting the flight mission of UAVs.
  • the UAV can use the obstacle avoidance function to reduce the maximum flight speed of the UAV.
  • the unmanned aerial vehicle when the unmanned aerial vehicle has an obstacle avoidance function, can obtain the sensing data output by the sensors of the unmanned aerial vehicle, and determine whether the complexity of the environment around the unmanned aerial vehicle is higher than the expected level according to the sensing data. Set the complexity threshold, the UAV can also detect whether the obstacle avoidance function of the UAV is turned off. When the obstacle avoidance function is turned off and the complexity of the environment around the UAV is higher than the preset complexity threshold , the UAV can reduce the maximum flight speed of the UAV.
  • the UAV can reduce the maximum flight speed of the UAV, and minimize the number of UAVs and obstacles.
  • the impact force generated by the collision of objects can effectively improve the safety of the unmanned aerial vehicle without affecting the flight mission of the unmanned aerial vehicle. Assuming that the UAV flies at the reduced maximum flight speed, even if the UAV and the pedestrian collide, the impact force generated by the collision between the UAV and the pedestrian can be minimized to ensure the safety of the UAV and the pedestrian.
  • the unmanned aerial vehicle when the unmanned aerial vehicle does not have the obstacle avoidance function, can obtain the sensing data output by the sensor of the unmanned aerial vehicle, and determine whether the complexity of the environment around the unmanned aerial vehicle is higher than that of the unmanned aerial vehicle according to the sensing data.
  • the preset complexity threshold When the complexity of the environment around the UAV is higher than the preset complexity threshold, the UAV can reduce the maximum flight speed of the UAV and minimize the collision between the UAV and obstacles. The resulting impact can effectively improve the safety of the unmanned aerial vehicle without affecting the flight mission of the unmanned aerial vehicle. Assuming that the UAV flies at the reduced maximum flight speed, even if the UAV and the pedestrian collide, the impact force generated by the collision between the UAV and the pedestrian can be minimized to ensure the safety of the UAV and the pedestrian.
  • FIG. 1 is a schematic flowchart of a control method for an unmanned aerial vehicle proposed by an embodiment of the present application. As shown in FIG. 1 , the method may include:
  • S101 Acquire sensing data output by a sensor of the unmanned aerial vehicle, and determine whether the complexity of the environment around the unmanned aerial vehicle is higher than a preset complexity threshold according to the sensing data.
  • the UAV determines the UAV based on the sensing data Whether the complexity of the surrounding environment is higher than the preset complexity threshold may be as follows: detecting the dimness of the environment around the unmanned aerial vehicle, determining whether the detected dimness is higher than the preset dimness threshold, If the light dim level is higher than the preset light dim level threshold, the UAV can determine that the complexity of the environment around the UAV is higher than the preset complexity level threshold; if the light dim level is lower than or equal to the preset light level If the darkness threshold is set, the unmanned aerial vehicle can determine that the complexity of the environment around the unmanned aerial vehicle is lower than or equal to the preset complexity threshold.
  • sensors other than visual sensors may include time of flight (TOF) ranging devices, radar sensors or ultrasonic sensors, and the like. Since other types of sensors other than vision sensors do not need to rely on the level of light when measuring distance, UAVs can measure obstacles with other types of sensors than vision sensors, even if the UAV is in a dimly lit environment The distance between the UAV and the UAV, and then implement obstacle avoidance based on this distance. Based on this, in the case that the obstacle avoidance function of the UAV is to implement obstacle avoidance for the UAV according to the distance measured by other types of sensors different from the visual sensor, the UAV can detect the environment around the UAV.
  • TOF time of flight
  • the UAV can determine the complexity of the environment around the UAV If the level is higher than the preset complexity threshold, the UAV can also detect whether the obstacle avoidance function of the UAV is turned off. When the obstacle avoidance function is turned off and the complexity of the environment around the UAV is higher than the preset level When the complexity threshold is reached, the UAV can turn on the obstacle avoidance function of the UAV, that is, implement obstacle avoidance for the UAV according to the distance measured by other types of sensors different from the visual sensor.
  • the UAV can determine that the complexity of the environment around the UAV is lower than or equal to the preset complexity threshold, and the UAV can pass the preset threshold. After the time period, the dimness of the environment around the UAV is detected again.
  • the obstacle avoidance function of the unmanned aerial vehicle is to implement obstacle avoidance for the unmanned aerial vehicle according to the distance measured by the visual sensor, then when the obstacle avoidance function is turned off and the environment around the unmanned aerial vehicle is dimly lit
  • the UAV can reduce the maximum flight speed of the UAV when it is higher than the preset dim level threshold.
  • the UAV since the visual sensor needs to depend on the brightness of the light, when the UAV is in a dimly lit environment, the UAV cannot measure the distance between the obstacle and the UAV through the visual sensor. Based on this, when the obstacle avoidance function of the unmanned aerial vehicle is to implement obstacle avoidance for the unmanned aerial vehicle according to the distance measured by the visual sensor, the unmanned aerial vehicle can detect the dimness of the environment around the unmanned aerial vehicle, and determine the detected Whether the light dim level of the UAV is higher than the preset light dim level threshold, if the light dim level is higher than the preset light dim level threshold, the UAV can determine that the complexity of the environment around the UAV is higher than the preset complexity The level threshold, the UAV can also detect whether the obstacle avoidance function of the UAV is turned off. When the obstacle avoidance function is turned off and the complexity of the environment around the UAV is higher than the preset complexity threshold The aircraft can reduce the maximum flight speed of the UAV to improve the safety of the UAV.
  • the unmanned aerial vehicle can detect the dimness of the environment around the unmanned aerial vehicle in the following two ways: 1.
  • the unmanned aerial vehicle can detect the dimness of the light of the environment around the unmanned aerial vehicle through the light sensor; 2.
  • the unmanned aerial vehicle The correspondence between the time interval and the degree of dim light is pre-stored. For example, [0:00, 4:00] corresponds to the first degree of dimness, [4:00, 7:00] corresponds to the second degree of dimness, and [7:00 , 10:00] corresponds to a third degree of dimness of light, wherein the degree of dimness of the first light is higher than that of the second dimness of light, and the degree of dimness of the second light is higher than that of the third dimness of light.
  • the UAV can obtain the current system time, determine the time interval to which the current system time belongs, and then the UAV can obtain the light dimness corresponding to the time interval to which the current system time belongs according to the pre-stored correspondence between the time interval and the light darkness, and then The light dim level corresponding to the time interval to which the current system time belongs is taken as the light dim level of the environment around the UAV.
  • the user can control the UAV to turn on or off the obstacle avoidance function of the UAV by clicking a virtual button or a physical button of the UAV, or by sending voice information to the UAV.
  • the UAV can detect whether the obstacle avoidance function of the UAV is turned off at the current system time.
  • the execution order of S101 and S102 is not limited.
  • the UAV can simultaneously acquire the sensor data output by the sensors of the UAV, and detect whether the obstacle avoidance function of the UAV is turned off.
  • the unmanned aerial vehicle can first obtain the sensor data output by the sensor of the unmanned aerial vehicle, and then detect whether the obstacle avoidance function of the unmanned aerial vehicle is in a disabled state.
  • the unmanned aerial vehicle can first detect whether the obstacle avoidance function of the unmanned aerial vehicle is turned off, and then obtain the sensor data output by the sensors of the unmanned aerial vehicle.
  • the unmanned aerial vehicle may acquire sensing data output by sensors of the unmanned aerial vehicle, and determine whether the complexity of the environment around the unmanned aerial vehicle is higher than a preset complexity threshold according to the sensing data.
  • the UAV further detects whether the obstacle avoidance function of the UAV is turned off.
  • the obstacle avoidance function of the UAV is turned off, the UAV is turned on. obstacle avoidance function.
  • the complexity of the environment around the unmanned aerial vehicle is lower than or equal to the preset complexity threshold, there are few factors that cause the unmanned aerial vehicle to be uncontrollable, and the safety of the unmanned aerial vehicle can be guaranteed.
  • this process can be ended without further checking whether the obstacle avoidance function of the UAV is turned off, which can reduce system resources.
  • the unmanned aerial vehicle can detect whether the obstacle avoidance function of the unmanned aerial vehicle is turned off, and when the obstacle avoidance function of the unmanned aerial vehicle is turned off, the unmanned aerial vehicle can obtain the sensor output of the unmanned aerial vehicle.
  • Data according to the sensor data to determine whether the complexity of the environment around the UAV is higher than the preset complexity threshold, when the complexity of the environment around the UAV is higher than the preset complexity threshold, the UAV is turned on Obstacle avoidance for unmanned aerial vehicles.
  • the obstacle avoidance function of the UAV is turned on, no matter what environment the UAV is in, the UAV can implement the obstacle avoidance function through the obstacle avoidance function. Based on this, the UAV detects the obstacle avoidance of the UAV.
  • this process can be ended without further acquiring the sensor data output by the sensors of the UAV.
  • the sensor data it is determined whether the complexity of the environment around the UAV is higher than the preset complexity threshold. System resources can be reduced.
  • the UAV will turn on the obstacle avoidance function of the UAV only when the obstacle avoidance function is turned off and the complexity of the environment around the UAV is higher than the preset complexity threshold.
  • the UAV will not perform the operation of enabling the obstacle avoidance function of the UAV .
  • the unmanned aerial vehicle can send a prompt message that the obstacle avoidance function has been enabled to the control terminal of the unmanned aerial vehicle, so that the control terminal or the user using the control terminal can know that there is no one
  • the aircraft automatically turns on the obstacle avoidance function.
  • the UAV can determine whether the complexity of the environment around the UAV is lower than a preset complexity threshold according to the sensor data. When the complexity of the environment around the UAV is lower than the preset complexity threshold, the obstacle avoidance function of the UAV is turned off.
  • the unmanned aerial vehicle may periodically acquire sensing data output by the sensors of the unmanned aerial vehicle. After the unmanned aerial vehicle turns on the obstacle avoidance function, the unmanned aerial vehicle obtains the sensing data output by the sensor of the unmanned aerial vehicle in the most recent cycle, and can determine whether the complexity of the environment around the unmanned aerial vehicle is lower than the preset level according to the sensing data When the complexity of the environment around the UAV is lower than the preset complexity threshold, there are fewer factors that cause the UAV to be uncontrollable, so the safety of the UAV can be guaranteed. Based on this, no The human aircraft can turn off the obstacle avoidance function of the unmanned aircraft.
  • the user's original intention is to continuously turn off the obstacle avoidance function of the UAV, but when the obstacle avoidance function is turned off and the complexity of the environment around the UAV is higher than the preset complexity threshold, in order to effectively improve the unmanned aerial vehicle.
  • the UAV automatically turns on the obstacle avoidance function. Then, when the complexity of the environment around the UAV is lower than the preset complexity threshold, the safety of the UAV can be guaranteed.
  • the UAV can automatically turn off the obstacle avoidance function when the complexity of the environment around the UAV is lower than the preset complexity threshold.
  • the obstacle avoidance function of the unmanned aerial vehicle when the obstacle avoidance function of the unmanned aerial vehicle is turned off and the complexity of the environment around the unmanned aerial vehicle is higher than the preset complexity threshold, the obstacle avoidance function of the unmanned aerial vehicle can be automatically turned on. Effectively improve the safety of unmanned aerial vehicles.
  • FIG. 2 is a schematic flowchart of another method for controlling an unmanned aerial vehicle proposed by an embodiment of the present application. As shown in FIG. 2 , the method may include:
  • S201 Acquire sensing data output by sensors of the unmanned aerial vehicle, and determine whether the complexity of the environment around the unmanned aerial vehicle is higher than a preset complexity threshold according to the sensing data.
  • step S202 in this embodiment of the present application reference may be made to the specific description of step S102 in the foregoing embodiment, which is not repeated in this embodiment of the present application.
  • the UAV will only reduce the maximum flight speed of the UAV when the obstacle avoidance function is turned off and the complexity of the environment around the UAV is higher than the preset complexity threshold.
  • the UAV will not perform the operation of reducing the maximum flight speed of the UAV .
  • the unmanned aerial vehicle can determine whether the complexity of the environment around the unmanned aerial vehicle is lower than a preset complexity threshold according to the sensor data. When the complexity of the environment is lower than the preset complexity threshold, restore the maximum flight speed of the UAV.
  • the unmanned aerial vehicle may periodically acquire sensing data output by the sensors of the unmanned aerial vehicle. After the unmanned aerial vehicle reduces the maximum flight speed of the unmanned aerial vehicle, the unmanned aerial vehicle acquires the sensor data output by the sensor of the unmanned aerial vehicle in the most recent period, and can determine whether the complexity of the environment around the unmanned aerial vehicle is complicated according to the sensing data. Below the preset complexity threshold, when the complexity of the environment around the UAV is lower than the preset complexity threshold, there are fewer factors that cause the UAV to be uncontrollable, so the safety of the UAV can be guaranteed. Based on this, the UAV can recover the maximum flight speed of the UAV.
  • the user does not want to continuously reduce the maximum flight speed of the UAV, but when the obstacle avoidance function is turned off and the complexity of the environment around the UAV is higher than the preset complexity threshold, in order to effectively improve the UAV
  • the UAV automatically reduces the maximum flight speed of the UAV. Then, when the complexity of the environment around the UAV is lower than the preset complexity threshold, the safety of the UAV can be guaranteed.
  • the unmanned aerial vehicle can restore the maximum flight speed of the unmanned aerial vehicle when the complexity of the environment around the unmanned aerial vehicle is lower than the preset complexity threshold.
  • the maximum flight speed of the unmanned aerial vehicle is reduced, that is, the upper limit of the flying speed of the unmanned aerial vehicle is lowered.
  • the UAV can fly at a speed lower than or equal to 16m/s before reducing the maximum flight speed of the UAV.
  • the obstacle avoidance function is turned off and the complexity of the environment around the UAV is higher than the preset complexity threshold, the UAV reduces the maximum flight speed of the UAV to 5m/s, then the UAV only Able to fly at speeds less than or equal to 5m/s.
  • the maximum flight speed may include one or more of the maximum ascent speed, the maximum descent speed, and the maximum horizontal flight speed.
  • the unmanned aerial vehicle when the obstacle avoidance function is turned off and the complexity of the environment around the unmanned aerial vehicle is higher than the preset complexity threshold, by reducing the maximum flight speed of the unmanned aerial vehicle, the unmanned aerial vehicle can be effectively improved security.
  • FIG. 3 is a schematic flowchart of another method for controlling an unmanned aerial vehicle proposed by an embodiment of the present application. As shown in FIG. 3 , the method may include:
  • S301 Acquire sensing data output by sensors of the unmanned aerial vehicle, and determine whether the complexity of the environment around the unmanned aerial vehicle is higher than a preset complexity threshold according to the sensing data.
  • the unmanned aerial vehicle can determine whether the complexity of the environment around the unmanned aerial vehicle is lower than a preset complexity threshold according to the sensor data. When the complexity of the environment is lower than the preset complexity threshold, the UAV can resume the maximum flight speed of the UAV.
  • the unmanned aerial vehicle may periodically acquire sensing data output by the sensors of the unmanned aerial vehicle. After the unmanned aerial vehicle reduces the maximum flight speed of the unmanned aerial vehicle, the unmanned aerial vehicle acquires the sensor data output by the sensor of the unmanned aerial vehicle in the most recent period, and can determine whether the complexity of the environment around the unmanned aerial vehicle is complicated according to the sensing data. Below the preset complexity threshold, when the complexity of the environment around the UAV is lower than the preset complexity threshold, there are fewer factors that cause the UAV to be uncontrollable, so the safety of the UAV can be guaranteed. Based on this, the UAV can recover the maximum flight speed of the UAV.
  • the user does not want to continuously reduce the maximum flight speed of the UAV, but when the obstacle avoidance function is turned off and the complexity of the environment around the UAV is higher than the preset complexity threshold, in order to effectively improve the UAV
  • the UAV automatically reduces the maximum flight speed of the UAV. Then, when the complexity of the environment around the UAV is lower than the preset complexity threshold, the safety of the UAV can be guaranteed.
  • the unmanned aerial vehicle can restore the maximum flight speed of the unmanned aerial vehicle when the complexity of the environment around the unmanned aerial vehicle is lower than the preset complexity threshold.
  • the maximum flight speed may include one or more of the maximum ascent speed, the maximum descent speed, and the maximum horizontal flight speed.
  • the UAV does not need to detect whether the UAV has the obstacle avoidance function, or the obstacle avoidance function of the UAV is in the off state or in the open state, as long as the complexity of the environment around the UAV is higher than the preset
  • the complexity threshold of the unmanned aerial vehicle is reduced, and the maximum flight speed of the unmanned aerial vehicle is reduced.
  • the step of detecting whether the obstacle avoidance function of the unmanned aerial vehicle is turned off is reduced, and the control efficiency of the unmanned aerial vehicle is improved. This effectively improves the safety of unmanned aerial vehicles.
  • the unmanned aerial vehicle acquires the sensing data output by the sensors of the unmanned aerial vehicle, and determines whether the complexity of the environment around the unmanned aerial vehicle is higher than the preset complexity according to the sensing data.
  • the method of degree threshold is described in detail.
  • the complexity of the environment may include one or more of the density of buildings, the density of people, the degree of electromagnetic interference, and the degree of dim light in the environment.
  • the manner in which the unmanned aerial vehicle obtains the sensing data output by the sensor of the unmanned aerial vehicle, and determines whether the complexity of the environment around the unmanned aerial vehicle is higher than a preset complexity threshold according to the sensing data may include at least one of the following:
  • the unmanned aerial vehicle can obtain the position output by the satellite positioning device of the unmanned aerial vehicle, and determine whether the building density of the surrounding environment of the unmanned aerial vehicle is higher than the predetermined level according to the position output by the satellite positioning device.
  • the set building density threshold when the building density of the environment around the unmanned aerial vehicle is higher than the preset building density threshold, the unmanned aerial vehicle can determine that the complexity of the environment around the unmanned aerial vehicle is higher than the preset building density threshold.
  • the unmanned aerial vehicle can determine that the complexity of the environment around the unmanned aerial vehicle is lower than or equal to the preset building density threshold.
  • the set complexity threshold when the building density of the environment around the unmanned aerial vehicle is higher than the preset building density threshold, the unmanned aerial vehicle can determine that the complexity of the environment around the unmanned aerial vehicle is higher than the preset building density threshold.
  • the unmanned aerial vehicle can determine whether the crowd density of the environment around the unmanned aircraft is higher than a preset crowd density threshold according to the position output by the satellite positioning device, when the crowd density of the environment around the unmanned aircraft is higher than When the preset crowd density threshold, the unmanned aerial vehicle can determine that the complexity of the environment around the unmanned aircraft is higher than the preset complexity threshold; when the crowd density of the environment around the unmanned aircraft is lower than or equal to the preset When the crowd density threshold is set, the unmanned aerial vehicle can determine that the complexity of the environment around the unmanned aerial vehicle is lower than or equal to the preset complexity threshold.
  • the unmanned aerial vehicle can determine whether the unmanned aerial vehicle is in an urban area according to the position output by the satellite positioning device, and when it is determined that the unmanned aerial vehicle is in the urban area, determine the building density of the environment around the unmanned aerial vehicle higher than the preset building density threshold, when it is determined that the unmanned aerial vehicle is not located in an urban area, the unmanned aerial vehicle can determine that the building density of the environment around the unmanned aerial vehicle is lower than or equal to the preset building density threshold.
  • the unmanned aerial vehicle may determine that the crowd density of the environment around the unmanned aerial vehicle is higher than a preset crowd density threshold, and when it is determined that the unmanned aerial vehicle is not in the urban area
  • the UAV can determine that the crowd density of the environment around the UAV is lower than or equal to the preset crowd density threshold.
  • the UAV can count the locations of each urban area, generate a location set consisting of the locations of all urban areas, and then store the location set corresponding to the urban area in the UAV.
  • the UAV can compare the position output by the satellite positioning device with the position in the position set corresponding to the urban area.
  • the position set corresponding to the urban area includes the position output by the satellite positioning device, then no The human air vehicle can determine that the UAV is in an urban area; when the location set corresponding to the urban area does not include the position output by the satellite positioning device, then the UAV can determine that the UAV is not in the urban area.
  • the unmanned aerial vehicle can also obtain the altitude of the unmanned aerial vehicle, and then determine whether the building density of the environment around the unmanned aerial vehicle is higher than a preset level according to the position output by the satellite positioning device and the altitude of the unmanned aerial vehicle
  • the building density threshold or according to the position output by the satellite positioning device and the height of the UAV, determine whether the crowd density of the environment around the UAV is higher than the preset crowd density threshold.
  • the unmanned aerial vehicle may determine whether the unmanned aerial vehicle is in an urban area according to the position output by the satellite positioning device, and when it is determined that the unmanned aerial vehicle is in the urban area and the height of the unmanned aerial vehicle is less than a preset height threshold, determine whether the unmanned aerial vehicle is in an urban area
  • the building density of the environment around the unmanned aerial vehicle is higher than a preset building density threshold; or, when it is determined that the unmanned aerial vehicle is in an urban area and the height of the unmanned aerial vehicle is less than the preset height threshold, it is determined that the unmanned aerial vehicle
  • the crowd density of the surrounding environment is higher than the preset crowd density threshold.
  • the UAV when the UAV is in an urban area and the height of the UAV is less than the preset height threshold, the probability of the UAV colliding with a building or a pedestrian increases, then the UAV can determine that the UAV The building density of the surrounding environment is higher than the preset building density threshold; or, the UAV may determine that the crowd density of the environment surrounding the UAV is higher than the preset crowd density threshold.
  • the unmanned aerial vehicle can obtain the image output by the visual sensor of the unmanned aerial vehicle, detect the building density of the environment around the unmanned aerial vehicle according to the image, and determine whether the detected building density is high. Based on the preset building density threshold, when the building density of the environment around the unmanned aerial vehicle is higher than the preset building density threshold, the unmanned aerial vehicle can determine that the complexity of the environment around the unmanned aerial vehicle is higher than that of the unmanned aerial vehicle.
  • a preset complexity threshold when the building density of the environment around the unmanned aerial vehicle is lower than or equal to the preset building density threshold, the unmanned aerial vehicle can determine that the complexity of the environment around the unmanned aerial vehicle is lower than or equal to Equal to the preset complexity threshold.
  • the unmanned aerial vehicle can detect the crowd density of the environment around the unmanned aerial vehicle according to the image, and determine whether the detected crowd density is higher than a preset crowd density threshold.
  • the UAV can determine that the complexity of the environment around the UAV is higher than the preset complexity threshold; when the crowd density of the environment around the UAV is lower than or equal to
  • the preset crowd density threshold is set, the unmanned aerial vehicle may determine that the complexity of the environment around the unmanned aerial vehicle is lower than or equal to the preset complexity threshold.
  • the UAV can run a recognition model algorithm on the image to determine the number of buildings in the image, and when the number of buildings in the image is greater than a first preset number threshold, the UAV can determine the detected buildings The density is higher than the preset building density threshold; when the number of buildings in the image is less than or equal to the first preset number threshold, the UAV can determine that the detected building density is lower than or equal to the preset number of buildings Building density threshold.
  • the unmanned aerial vehicle can run the recognition model algorithm on the image to determine the number of people in the image.
  • the unmanned aerial vehicle can determine that the detected density of people is higher than A preset crowd density threshold; when the number of people in the image is less than or equal to the second preset number threshold, the UAV can determine that the detected crowd density is lower than or equal to the preset crowd density threshold.
  • the unmanned aerial vehicle can determine the distance between the control terminal of the unmanned aerial vehicle and the unmanned aerial vehicle, determine the received signal strength of the control signal of the control terminal received by the unmanned aerial vehicle, and determine the unmanned aerial vehicle according to the distance and the received signal strength Whether the electromagnetic interference degree of the surrounding environment is higher than the preset electromagnetic interference degree threshold, when the electromagnetic interference degree of the environment around the unmanned aerial vehicle is higher than the preset electromagnetic interference degree threshold, the unmanned aerial vehicle can determine the electromagnetic interference degree around the unmanned aerial vehicle.
  • the complexity of the environment is higher than the preset complexity threshold; when the electromagnetic interference degree of the environment around the unmanned aerial vehicle is lower than or equal to the preset electromagnetic interference degree threshold, the unmanned aerial vehicle can determine the complexity of the environment around the unmanned aerial vehicle The level is lower than or equal to the preset complexity threshold.
  • the unmanned aerial vehicle can obtain the position information of the control terminal through the positioning module of the control terminal, and obtain the position information of the unmanned aerial vehicle through the positioning module of the unmanned aerial vehicle, and then obtain the position information of the unmanned aerial vehicle according to the position information of the control terminal and the unmanned aerial vehicle.
  • the distance between the control terminal and the UAV is obtained from the position information.
  • the unmanned aerial vehicle can be tested in an environment with less electromagnetic interference (such as an open environment or a good radio environment), and when the distance between the unmanned aerial vehicle and the control terminal is a specified distance, the unmanned aerial vehicle receives the signal. Control the received signal strength of the control signal of the terminal, where the received signal strength is the normal received signal strength.
  • the UAV can establish the corresponding relationship between each distance and the received signal strength, and store each distance and its corresponding received signal strength in a preset database.
  • the unmanned aerial vehicle After the unmanned aerial vehicle determines the distance between the control terminal of the unmanned aerial vehicle and the unmanned aerial vehicle, and the received signal strength of the control signal of the control terminal received by the unmanned aerial vehicle, it can search for the received signal corresponding to the distance in the preset database Strength, compare the received signal strength of the control signal of the control terminal received by the UAV with the found received signal strength, when the received signal strength of the control signal of the control terminal received by the unmanned aerial vehicle and the found received signal When the strengths match, the unmanned aerial vehicle can determine that the electromagnetic interference degree of the environment around the unmanned aerial vehicle is lower than or equal to the preset electromagnetic interference degree threshold; When the received signal strengths of the unmanned aerial vehicles do not match, the unmanned aerial vehicle can determine that the electromagnetic interference degree of the environment around the unmanned aerial vehicle is higher than the preset electromagnetic interference degree threshold.
  • the unmanned aerial vehicle may determine the received signal strength of the control signal of the control terminal received by the unmanned aerial vehicle and find the received signal strength of the control terminal. The received signal strength does not match; otherwise, it matches.
  • the unmanned aerial vehicle may determine the control signal received by the unmanned aerial vehicle. The received signal strength of the control signal of the terminal does not match the found received signal strength; otherwise, it matches.
  • the UAV can detect the dimness of the environment around the UAV, and determine whether the detected dimness is higher than the preset dimness threshold. When the detected dimness is higher than the preset dimness When the level threshold is set, the unmanned aerial vehicle can determine that the complexity of the environment around the unmanned aerial vehicle is higher than the preset complexity threshold; when the detected light dim level is lower than or equal to the preset light dim level threshold, the unmanned aerial vehicle It may be determined that the complexity of the environment around the UAV is lower than or equal to a preset complexity threshold.
  • the above-mentioned various ways of determining whether the complexity of the environment around the unmanned aerial vehicle is higher than the preset complexity threshold can be combined arbitrarily to obtain a new way of determining whether the complexity of the environment around the unmanned aerial vehicle is higher than the preset complexity Degree threshold method.
  • the unmanned aerial vehicle can obtain the position output by the satellite positioning device of the unmanned aerial vehicle, and determine whether the building density of the environment around the unmanned aerial vehicle is higher than a preset building density threshold according to the position output by the satellite positioning device.
  • the unmanned aerial vehicle can also determine the distance between the control terminal of the unmanned aerial vehicle and the unmanned aerial vehicle, determine the received signal strength of the control signal of the control terminal received by the unmanned aerial vehicle, and determine the surrounding area of the unmanned aerial vehicle according to the distance and the received signal strength. Whether the electromagnetic interference level of the environment is higher than the preset electromagnetic interference level threshold. When the building density of the environment around the unmanned aerial vehicle is higher than the preset building density threshold, and the electromagnetic interference degree of the environment around the unmanned aerial vehicle is higher than the preset electromagnetic interference degree threshold, the unmanned aerial vehicle can determine The complexity of the environment around the UAV is higher than the preset complexity threshold. It is not specifically limited by the embodiments of the present application.
  • FIG. 4 is a schematic structural diagram of a control device for an unmanned aerial vehicle provided by an embodiment of the present application.
  • the control device of the unmanned aerial vehicle described in the embodiments of this application includes: a processor 401 , a memory 402 , a communication interface 403 , and a sensor 404 .
  • the above-mentioned processor 401, memory 402, communication interface 403, and sensor 404 are connected through one or more communication buses.
  • the above-mentioned processor 401 may be a CPU, and the processor may also be other general-purpose processors, DSP, ASIC, FPGA or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like.
  • the general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc.
  • the processor 401 is configured to support the UAV to perform the corresponding functions of the UAV in the method described in FIG. 1 .
  • the above-mentioned memory 402 may include read-only memory and random access memory, and provides computer programs and data to the processor 401 .
  • a portion of memory 402 may also include non-volatile random access memory.
  • sensing data output by sensors of the unmanned aerial vehicle, and determining whether the complexity of the environment around the unmanned aerial vehicle is higher than a preset complexity threshold according to the sensing data
  • the obstacle avoidance function of the unmanned aerial vehicle is enabled.
  • the processor 401 is further configured to perform the following operation: sending a prompt message that the obstacle avoidance function has been enabled to the control terminal of the unmanned aerial vehicle.
  • the complexity of the environment includes one or more of the degree of building density, the density of people, the degree of electromagnetic interference, and the degree of dim light in the environment.
  • the processor 401 is acquiring sensing data output by a sensor of the UAV, and determining whether the complexity of the environment around the UAV is higher than a preset level according to the sensing data When the complexity threshold is set, perform the following operations:
  • the satellite positioning device determine whether the building density of the environment around the unmanned aerial vehicle is higher than a preset building density threshold, or whether the crowd density of the environment around the unmanned aerial vehicle is high at the preset crowd density threshold.
  • the processor 401 determines whether the building density of the environment around the UAV is higher than a preset building density threshold according to the position output by the satellite positioning device, or the When the crowd density of the environment around the UAV is higher than the preset crowd density threshold, specifically perform the following operations:
  • the processor 401 is further configured to perform the following operations: obtain the altitude of the UAV;
  • the processor 401 determines whether the building density of the environment around the unmanned aerial vehicle is higher than a preset building density threshold according to the position output by the satellite positioning device, or the environment around the unmanned aerial vehicle. When the density of the personnel is higher than the preset threshold of personnel density, perform the following operations:
  • the unmanned aerial vehicle determines whether the building density of the environment around the unmanned aerial vehicle is higher than the preset building density threshold, or the unmanned aerial vehicle Whether the crowd density of the environment around the human aircraft is higher than the preset crowd density threshold.
  • the processor 401 determines, according to the position output by the satellite positioning device and the height of the unmanned aerial vehicle, whether the building density of the environment around the unmanned aerial vehicle is higher than the predetermined level.
  • the set building density threshold, or whether the crowd density of the environment around the UAV is higher than the preset crowd density threshold specifically perform the following operations:
  • the unmanned aerial vehicle When it is determined that the unmanned aerial vehicle is in an urban area and the height of the unmanned aerial vehicle is less than a preset height threshold, it is determined that the building density of the environment around the unmanned aerial vehicle is higher than the preset building density threshold ;or,
  • the processor 401 when determining whether the complexity of the environment around the UAV is higher than a preset complexity threshold according to the sensing data, the processor 401 specifically performs the following operations:
  • the obstacle avoidance function of the unmanned aerial vehicle is to implement obstacle avoidance for the unmanned aerial vehicle according to the distance measured by other types of sensors different from the visual sensor, and the processor 401 performs obstacle avoidance according to the
  • the sensing data determines whether the complexity of the environment around the UAV is higher than a preset complexity threshold, the following operations are specifically performed:
  • the processor 401 when determining whether the complexity of the environment around the UAV is higher than a preset complexity threshold according to the sensing data, the processor 401 specifically performs the following operations:
  • the electromagnetic interference degree of the environment around the unmanned aerial vehicle is higher than a preset electromagnetic interference degree threshold.
  • the obstacle avoidance function of the unmanned aerial vehicle is to implement obstacle avoidance for the unmanned aerial vehicle according to the distance measured by the visual sensor, and the processor 401 is further configured to perform the following operations:
  • the maximum flight speed of the unmanned aerial vehicle is reduced.
  • processor 401 is further configured to perform the following operations:
  • the obstacle avoidance function of the UAV is turned off.
  • the processor 401 is configured to support the UAV to perform the corresponding functions of the UAV in the method described in FIG. 2 .
  • processor 401 when the processor 401 calls the computer program, it is used to execute:
  • sensing data output by sensors of the unmanned aerial vehicle, and determining whether the complexity of the environment around the unmanned aerial vehicle is higher than a preset complexity threshold according to the sensing data
  • the maximum flying speed of the unmanned aerial vehicle is reduced.
  • the complexity of the environment includes one or more of the degree of building density, the density of people, the degree of electromagnetic interference, and the degree of dim light in the environment.
  • the processor 401 is acquiring sensing data output by a sensor of the UAV, and determining whether the complexity of the environment around the UAV is higher than a preset level according to the sensing data When the complexity threshold is set, perform the following operations:
  • the satellite positioning device determine whether the building density of the environment around the unmanned aerial vehicle is higher than a preset building density threshold, or whether the crowd density of the environment around the unmanned aerial vehicle is high at the preset crowd density threshold.
  • the processor 401 determines whether the building density of the environment around the UAV is higher than a preset building density threshold according to the position output by the satellite positioning device, or the When the crowd density of the environment around the UAV is higher than the preset crowd density threshold, specifically perform the following operations:
  • the processor 401 is further configured to perform the following operations: obtain the altitude of the UAV;
  • the processor 401 determines whether the building density of the environment around the unmanned aerial vehicle is higher than a preset building density threshold according to the position output by the satellite positioning device, or whether the environment around the unmanned aerial vehicle is When the density of the personnel is higher than the preset threshold of personnel density, perform the following operations:
  • the unmanned aerial vehicle According to the position output by the satellite positioning device and the height of the unmanned aerial vehicle, it is determined whether the building density of the environment around the unmanned aerial vehicle is higher than the preset building density threshold, or the unmanned aerial vehicle Whether the crowd density of the environment around the human aircraft is higher than the preset crowd density threshold.
  • the processor 401 determines, according to the position output by the satellite positioning device and the height of the unmanned aerial vehicle, whether the building density of the environment around the unmanned aerial vehicle is higher than the predetermined level.
  • the set building density threshold, or whether the crowd density of the environment around the UAV is higher than the preset crowd density threshold specifically perform the following operations:
  • the unmanned aerial vehicle When it is determined that the unmanned aerial vehicle is in an urban area and the height of the unmanned aerial vehicle is less than a preset height threshold, it is determined that the building density of the environment around the unmanned aerial vehicle is higher than the preset building density threshold ;or,
  • the processor 401 when determining whether the complexity of the environment around the UAV is higher than a preset complexity threshold according to the sensing data, the processor 401 specifically performs the following operations:
  • the processor 401 when determining whether the complexity of the environment around the UAV is higher than a preset complexity threshold according to the sensing data, the processor 401 specifically performs the following operations:
  • the processor 401 when determining whether the complexity of the environment around the UAV is higher than a preset complexity threshold according to the sensing data, the processor 401 specifically performs the following operations:
  • the electromagnetic interference degree of the environment around the unmanned aerial vehicle is higher than a preset electromagnetic interference degree threshold.
  • processor 401 is further configured to perform the following operations:
  • the maximum flying speed of the unmanned aerial vehicle is restored.
  • the processor 401 is configured to support the UAV to perform the corresponding functions of the UAV in the method described in FIG. 3 .
  • processor 401 when the processor 401 calls the computer program, it is used to execute:
  • sensing data output by sensors of the unmanned aerial vehicle, and determining whether the complexity of the environment around the unmanned aerial vehicle is higher than a preset complexity threshold according to the sensing data
  • the maximum flying speed of the unmanned aerial vehicle is reduced.
  • the complexity of the environment includes one or more of the degree of building density, the density of people, the degree of electromagnetic interference, and the degree of dim light in the environment.
  • the processor 401 is acquiring sensing data output by a sensor of the UAV, and determining whether the complexity of the environment around the UAV is higher than a preset level according to the sensing data When the complexity threshold is set, perform the following operations:
  • the satellite positioning device determine whether the building density of the environment around the unmanned aerial vehicle is higher than a preset building density threshold, or whether the crowd density of the environment around the unmanned aerial vehicle is high at the preset crowd density threshold.
  • the processor 401 determines whether the building density of the environment around the UAV is higher than a preset building density threshold according to the position output by the satellite positioning device, or the When the crowd density of the environment around the UAV is higher than the preset crowd density threshold, specifically perform the following operations:
  • the processor 401 is further configured to perform the following operations: obtain the altitude of the UAV;
  • the processor 401 determines whether the building density of the environment around the unmanned aerial vehicle is higher than a preset building density threshold according to the position output by the satellite positioning device, or the environment around the unmanned aerial vehicle. When the density of the personnel is higher than the preset threshold of personnel density, perform the following operations:
  • the unmanned aerial vehicle According to the position output by the satellite positioning device and the height of the unmanned aerial vehicle, it is determined whether the building density of the environment around the unmanned aerial vehicle is higher than the preset building density threshold, or the unmanned aerial vehicle Whether the crowd density of the environment around the human aircraft is higher than the preset crowd density threshold.
  • the processor 401 determines, according to the position output by the satellite positioning device and the height of the unmanned aerial vehicle, whether the building density of the environment around the unmanned aerial vehicle is higher than the predetermined level.
  • the set building density threshold, or whether the crowd density of the environment around the UAV is higher than the preset crowd density threshold specifically perform the following operations:
  • the unmanned aerial vehicle When it is determined that the unmanned aerial vehicle is in an urban area and the height of the unmanned aerial vehicle is less than a preset height threshold, it is determined that the building density of the environment around the unmanned aerial vehicle is higher than the preset building density threshold ;or,
  • the processor 401 when determining whether the complexity of the environment around the UAV is higher than a preset complexity threshold according to the sensing data, the processor 401 specifically performs the following operations:
  • the processor 401 when determining whether the complexity of the environment around the UAV is higher than a preset complexity threshold according to the sensing data, the processor 401 specifically performs the following operations:
  • the processor 401 when determining whether the complexity of the environment around the UAV is higher than a preset complexity threshold according to the sensing data, the processor 401 specifically performs the following operations:
  • the electromagnetic interference degree of the environment around the unmanned aerial vehicle is higher than a preset electromagnetic interference degree threshold.
  • processor 401 is further configured to perform the following operations:
  • the maximum flying speed of the unmanned aerial vehicle is restored.
  • the unmanned aerial system including the unmanned aerial vehicle will be described below with reference to FIG. 5 .
  • This embodiment is described by taking a rotorcraft as an example.
  • Unmanned aerial system 100 may include unmanned aerial vehicle 110, carrier 120, and control equipment.
  • the UAV 110 may include a power system 150 , a flight control system 160 , and a frame 170 .
  • the UAV 110 may communicate wirelessly with the control device.
  • Frame 170 may include a fuselage and legs (also known as landing gear).
  • the fuselage may include a center frame and one or more arms connected to the center frame, the one or more arms extending radially from the center frame.
  • the tripod is connected with the fuselage, and is used for supporting when the UAV 110 is landed.
  • One or more indicator lights may be mounted on the frame 170, such as boom mounted boom lights.
  • the power system 150 may include an electronic governor (referred to as ESC for short) 151, one or more propellers 153, and one or more electric motors 152 corresponding to the one or more propellers 153, wherein the electric motor 152 is connected to the electronic governor Between 151 and the propeller 153, the motor 152 and the propeller 153 are arranged on the corresponding arms; the electronic governor 151 is used to receive the driving signal generated by the flight controller 160, and provide the driving current to the motor 152 according to the driving signal to control the The rotational speed of the motor 152 .
  • the motor 152 is used to drive the propeller to rotate, thereby providing power for the flight of the UAV 110, and the power enables the UAV 110 to achieve one or more degrees of freedom movement.
  • the motor 152 may be a DC motor or an AC motor.
  • the motor 152 may be a brushless motor or a brushed motor.
  • the power system 150 corresponds to the power components in the above-described embodiments.
  • Flight control system 160 may include flight controller 161 and sensing system 162 .
  • Sensing system 162 is used to measure sensory data of the unmanned aerial vehicle.
  • the sensing system 162 may include, for example, at least one of a gyroscope, an electronic compass, an IMU, a visual sensor (eg, a monocular camera or a dual/multi-eye camera, etc.), GPS, a barometer, and a visual inertial navigation odometer.
  • the flight controller 161 is used to control the unmanned aerial vehicle 110 , for example, the unmanned aerial vehicle 110 may be controlled to perform a display work task according to the sensing data measured by the sensing system 162 .
  • Carrier 120 may be used to carry load 180 .
  • the payload 180 may be a photographing device (eg, a camera, a video camera, etc.), and the embodiments of the present application are not limited thereto, for example, the carrier may also be used to carry weapons or other payloads carrying equipment.
  • the load 180 may also be a spray head.
  • Embodiments of the present application further provide an unmanned aerial vehicle, which may include a fuselage; a power system disposed on the fuselage for providing flight power; a sensor installed on the fuselage for outputting transmission power sensory data; and the control device of the unmanned aerial vehicle as described in FIG. 4 in the embodiment of the present application.
  • an unmanned aerial vehicle which may include a fuselage; a power system disposed on the fuselage for providing flight power; a sensor installed on the fuselage for outputting transmission power sensory data; and the control device of the unmanned aerial vehicle as described in FIG. 4 in the embodiment of the present application.
  • the UAV may further include a communication device mounted on the fuselage for interacting with other devices.
  • the senor includes at least one of the following: a satellite positioning device, a visual sensor, and other types of sensors different from the visual sensor.
  • An embodiment of the present application further provides a readable storage medium, where the readable storage medium stores a computer program, and when the computer program is executed by a processor, it can be used to implement the implementations corresponding to FIG. 1 to FIG. 3 in the embodiment of the present application
  • the control method of the unmanned aerial vehicle described in the example will not be repeated here.
  • the computer-readable storage medium may be an internal storage unit of the UAV described in any of the foregoing embodiments, such as a hard disk or a memory.
  • the computer-readable storage medium can also be an external storage device of the UAV, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash memory card ( Flash Card), etc.
  • the computer-readable storage medium may also include both an internal storage unit of the UAV and an external storage device.
  • the computer-readable storage medium is used to store the computer program and other programs and data required by the UAV.
  • the computer-readable storage medium can also be used to temporarily store data that has been or will be output.
  • the processes in the methods of the above embodiments can be implemented by instructing relevant hardware through a computer program, and the program can be stored in a readable storage medium, and the program During execution, the processes of the embodiments of the above-mentioned methods may be included.
  • the storage medium may be a magnetic disk, an optical disk, a ROM or a RAM, and the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)

Abstract

A method and apparatus for controlling an unmanned aerial vehicle, and an unmanned aerial vehicle and a storage medium. The method comprises: acquiring sensing data output by a sensor of an unmanned aerial vehicle, and according to the sensing data, determining whether the complexity of the ambient environment of the unmanned aerial vehicle is greater than a preset complexity threshold (S101); detecting whether an obstacle avoidance function of the unmanned aerial vehicle is in a disabled state (S102); and when the obstacle avoidance function is in the disabled state and the complexity of the ambient environment of the unmanned aerial vehicle is greater than the preset complexity threshold, enabling the obstacle avoidance function of the unmanned aerial vehicle (S103), thus the safety of the unmanned aerial vehicle can be effectively improved.

Description

无人飞行器的控制方法、装置、无人飞行器及存储介质Control method, device, unmanned aerial vehicle and storage medium of unmanned aerial vehicle 技术领域technical field
本发明涉及控制技术领域,尤其涉及无人飞行器的控制方法、装置、无人飞行器及存储介质。The present invention relates to the technical field of control, and in particular, to a control method, device, unmanned aerial vehicle and storage medium of an unmanned aerial vehicle.
背景技术Background technique
在无人飞行器的避障功能处于开启状态的情况下,无人飞行器在遇到障碍物时,可以自动实施避障。但是在用户已经关闭无人飞行器的避障功能,且无人飞行器遇到障碍物的情况下,若用户忘记开启无人飞行器的避障功能,那么无人飞行器可能会直接撞上障碍物,无法确保无人飞行器的安全。When the obstacle avoidance function of the unmanned aerial vehicle is turned on, the unmanned aerial vehicle can automatically implement obstacle avoidance when encountering an obstacle. However, if the user has turned off the obstacle avoidance function of the UAV and the UAV encounters an obstacle, if the user forgets to enable the obstacle avoidance function of the UAV, the UAV may directly hit the obstacle and cannot Ensure the safety of unmanned aerial vehicles.
发明内容SUMMARY OF THE INVENTION
有鉴于此,本申请实施例提供了无人飞行器的控制方法、装置、无人飞行器及存储介质,可有效提升无人飞行器的安全性。In view of this, the embodiments of the present application provide a control method, device, unmanned aerial vehicle, and storage medium for an unmanned aerial vehicle, which can effectively improve the safety of the unmanned aerial vehicle.
本申请实施例第一方面提供了一种无人飞行器的控制方法,所述方法包括:A first aspect of the embodiments of the present application provides a method for controlling an unmanned aerial vehicle, the method comprising:
获取所述无人飞行器的传感器输出的传感数据,根据所述传感数据确定所述无人飞行器周围的环境的复杂程度是否高于预设的复杂程度阈值;acquiring sensing data output by sensors of the unmanned aerial vehicle, and determining whether the complexity of the environment around the unmanned aerial vehicle is higher than a preset complexity threshold according to the sensing data;
检测所述无人飞行器的避障功能是否处于关闭状态;Detecting whether the obstacle avoidance function of the UAV is turned off;
当所述避障功能处于关闭状态且所述无人飞行器周围的环境的复杂程度高于所述预设的复杂程度阈值时,开启所述无人飞行器的避障功能。When the obstacle avoidance function is disabled and the complexity of the environment around the unmanned aerial vehicle is higher than the preset complexity threshold, the obstacle avoidance function of the unmanned aerial vehicle is enabled.
本申请实施例第二方面提供了一种无人飞行器的控制方法,所述方法包括:A second aspect of the embodiments of the present application provides a method for controlling an unmanned aerial vehicle, the method comprising:
获取所述无人飞行器的传感器输出的传感数据,根据所述传感数据确定所述无人飞行器周围的环境的复杂程度是否高于预设的复杂程度阈值;acquiring sensing data output by sensors of the unmanned aerial vehicle, and determining whether the complexity of the environment around the unmanned aerial vehicle is higher than a preset complexity threshold according to the sensing data;
检测所述无人飞行器的避障功能是否处于关闭状态;Detecting whether the obstacle avoidance function of the UAV is turned off;
当所述避障功能处于关闭状态且所述无人飞行器周围的环境的复杂程度高于所述预设的复杂程度阈值时,降低所述无人飞行器的最大飞行速度。When the obstacle avoidance function is turned off and the complexity of the environment around the unmanned aerial vehicle is higher than the preset complexity threshold, the maximum flying speed of the unmanned aerial vehicle is reduced.
本申请实施例第三方面提供了一种无人飞行器的控制装置,包括存储器和处理器,其中,A third aspect of the embodiments of the present application provides a control device for an unmanned aerial vehicle, including a memory and a processor, wherein,
所述存储器,用于存储有程序代码;the memory for storing program codes;
所述处理器,调用存储器中的程序代码,当程序代码被执行时,用于执行如下操作:The processor calls the program code in the memory, and when the program code is executed, is used to perform the following operations:
获取所述无人飞行器的传感器输出的传感数据,根据所述传感数据确定所述无人飞行器周围的环境的复杂程度是否高于预设的复杂程度阈值;acquiring sensing data output by sensors of the unmanned aerial vehicle, and determining whether the complexity of the environment around the unmanned aerial vehicle is higher than a preset complexity threshold according to the sensing data;
检测所述无人飞行器的避障功能是否处于关闭状态;Detecting whether the obstacle avoidance function of the UAV is turned off;
当所述避障功能处于关闭状态且所述无人飞行器周围的环境的复杂程度高于所述预设的复杂程度阈值时,开启所述无人飞行器的避障功能。When the obstacle avoidance function is disabled and the complexity of the environment around the unmanned aerial vehicle is higher than the preset complexity threshold, the obstacle avoidance function of the unmanned aerial vehicle is enabled.
本申请实施例第四方面提供了一种无人飞行器的控制装置,包括存储器和处理器,其中,A fourth aspect of the embodiments of the present application provides a control device for an unmanned aerial vehicle, including a memory and a processor, wherein,
所述存储器,用于存储有程序代码;the memory for storing program codes;
所述处理器,调用存储器中的程序代码,当程序代码被执行时,用于执行如下操作:The processor calls the program code in the memory, and when the program code is executed, is used to perform the following operations:
获取所述无人飞行器的传感器输出的传感数据,根据所述传感数据确定所述无人飞行器周围的环境的复杂程度是否高于预设的复杂程度阈值;acquiring sensing data output by sensors of the unmanned aerial vehicle, and determining whether the complexity of the environment around the unmanned aerial vehicle is higher than a preset complexity threshold according to the sensing data;
检测所述无人飞行器的避障功能是否处于关闭状态;Detecting whether the obstacle avoidance function of the UAV is turned off;
当所述避障功能处于关闭状态且所述无人飞行器周围的环境的复杂程度高于所述预设的复杂程度阈值时,降低所述无人飞行器的最大飞行速度。When the obstacle avoidance function is turned off and the complexity of the environment around the unmanned aerial vehicle is higher than the preset complexity threshold, the maximum flying speed of the unmanned aerial vehicle is reduced.
本申请实施例第五方面提供了一种可移动平台,该可移动平台包括:A fifth aspect of the embodiments of the present application provides a movable platform, and the movable platform includes:
机身;body;
动力系统,安装在所述机身,用于为所述可移动平台提供动力;a power system, mounted on the fuselage, for powering the movable platform;
传感器,安装在所述机身,用于输出传感数据;a sensor, mounted on the fuselage, for outputting sensing data;
以及如第三方面所述的无人飞行器的控制装置。and the control device of the unmanned aerial vehicle according to the third aspect.
本申请实施例第六方面提供了一种可移动平台,该可移动平台包括:A sixth aspect of the embodiments of the present application provides a movable platform, and the movable platform includes:
机身;body;
动力系统,安装在所述机身,用于为所述可移动平台提供动力;a power system, mounted on the fuselage, for powering the movable platform;
传感器,安装在所述机身,用于输出传感数据;a sensor, mounted on the fuselage, for outputting sensing data;
以及如第四方面所述的无人飞行器的控制装置。and the control device of the unmanned aerial vehicle according to the fourth aspect.
本申请实施例第七方面提供了一种计算机存储介质,所述计算机存储介质中存储有计算机程序指令a,所述计算机程序指令被处理器执行时,用于执行如第一方面所述的无人飞行器的控制方法。A seventh aspect of an embodiment of the present application provides a computer storage medium, where a computer program instruction a is stored in the computer storage medium, and when the computer program instruction is executed by a processor, is used to execute the non-automatic method described in the first aspect. Control method of human aircraft.
本申请实施例第八方面提供了一种计算机存储介质,所述计算机存储介质中存储有计算机程序指令,所述计算机程序指令被处理器执行时,用于执行如第二方面所述的无人飞行器的控制方法。An eighth aspect of the embodiments of the present application provides a computer storage medium, where computer program instructions are stored in the computer storage medium, and when the computer program instructions are executed by a processor, are used to execute the unmanned aerial vehicle described in the second aspect. The control method of the aircraft.
在本申请实施例中,无人飞行器可以在无人飞行器的避障功能处于关闭状态且无人飞行器周围的环境的复杂程度高于预设的复杂程度阈值时,自动开启无人飞行器的避障功能,以便无人飞行器自动实施避障,可有效提升无人飞行器的安全性。或者,无人飞行器可以在无人飞行器的避障功能处于关闭状态且无人飞行器周围的环境的复杂程度高于预设的复杂程度阈值时,自动降低无人飞行器的最大飞行速度,那么即使无人飞行器以降低后的最大飞行速度飞行,也可以尽量减少无人飞行器和障碍物相撞所产生的冲击力,可有效提升无人飞行器的安全性。In the embodiment of the present application, the unmanned aerial vehicle can automatically enable the obstacle avoidance of the unmanned aerial vehicle when the obstacle avoidance function of the unmanned aerial vehicle is turned off and the complexity of the environment around the unmanned aerial vehicle is higher than a preset complexity threshold function, so that the unmanned aerial vehicle can automatically implement obstacle avoidance, which can effectively improve the safety of the unmanned aerial vehicle. Alternatively, the UAV can automatically reduce the maximum flight speed of the UAV when the obstacle avoidance function of the UAV is turned off and the complexity of the environment around the UAV is higher than the preset complexity threshold. The human aircraft flies at the reduced maximum flight speed, which can also minimize the impact force generated by the collision between the unmanned aircraft and the obstacle, which can effectively improve the safety of the unmanned aircraft.
附图说明Description of drawings
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the accompanying drawings required in the embodiments will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some of the present invention. In the embodiments, for those of ordinary skill in the art, other drawings can also be obtained according to these drawings without any creative effort.
图1是本申请实施例的一种无人飞行器的控制方法的流程示意图;1 is a schematic flowchart of a control method for an unmanned aerial vehicle according to an embodiment of the present application;
图2是本申请实施例的另一种无人飞行器的控制方法的流程示意图;2 is a schematic flowchart of another method for controlling an unmanned aerial vehicle according to an embodiment of the present application;
图3是本发明实施例的另一种无人飞行器的控制方法的流程示意图;3 is a schematic flowchart of another method for controlling an unmanned aerial vehicle according to an embodiment of the present invention;
图4是本申请实施例的一种无人飞行器的控制装置的结构示意图;4 is a schematic structural diagram of a control device for an unmanned aerial vehicle according to an embodiment of the present application;
图5是本申请实施例的一种无人飞行系统的结构示意图。FIG. 5 is a schematic structural diagram of an unmanned aerial system according to an embodiment of the present application.
具体实施方式detailed description
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.
除非另有定义,本文所使用的所有的技术和科学术语与属于本发明的技术领域的技术人员通常理解的含义相同。本文中在本发明的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在于限制本发明。本文所使用的术语“及/或”包括一个或多个相关的所列项目的任意的和所有的组合。Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terms used herein in the description of the present invention are for the purpose of describing specific embodiments only, and are not intended to limit the present invention. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
下面结合附图,对本发明的一些实施方式作详细说明。在不冲突的情况下,下述的实施例及实施例中的特征可以相互组合。Some embodiments of the present invention will be described in detail below with reference to the accompanying drawings. The embodiments described below and features in the embodiments may be combined with each other without conflict.
本申请实施例提供的无人飞行器的控制方法可以应用在无人飞行器中。无人飞行器可以包括传感器,传感器具体可以包括卫星定位装置、视觉传感器、光传感器或者计时传感器等中的一种或多种。无人飞行器通过上述传感器输出的传感数据,可以确定无人飞行器周围的环境的复杂程度是否高于预设的复杂程度阈值。The control method for an unmanned aerial vehicle provided by the embodiments of the present application can be applied to an unmanned aerial vehicle. The unmanned aerial vehicle may include a sensor, and the sensor may specifically include one or more of a satellite positioning device, a visual sensor, a light sensor, or a timing sensor. The unmanned aerial vehicle can determine whether the complexity of the environment around the unmanned aerial vehicle is higher than a preset complexity threshold through the sensing data output by the above-mentioned sensors.
在一个实施例中,在无人飞行器具备避障功能时,无人飞行器可以获取无人飞行器的传感器输出的传感数据,根据传感数据确定无人飞行器周围的环境的复杂程度是否高于预设的复杂程度阈值,无人飞行器还可以检测无人飞行器的避障功能是否处于关闭状态,当避障功能处于关闭状态且无人飞行器周围的环境的复杂程度高于预设的复杂程度阈值时,无人飞行器可以开启无人飞行器的避障功能。该实施例在无人飞行器周围的环境的复杂程度高于预设的复杂程度阈值,且用户忘记开启无人飞行器的避障功能时,可以自动开启无人飞行器的避障功能,以便无人飞行器在遇到障碍物时实施避障。例如,无人飞行器可以使用避障功能穿越障碍物或者绕行,可避免无人飞行器与障碍物相撞,以提升障碍物的安全性,同时又不影响无人飞行器的飞行任务。又如,无人飞行器可以使用避障功能降低无人飞行器的最大飞行速度,假设无人飞行器以降低后的最大飞行速度飞行,即使无人飞行器和行人相撞,也可以尽量减少无人飞行器和行人相撞所产生的冲击力,以确保无人飞行器和行人的安全,同时又不影响无人飞行器的飞行任务。In one embodiment, when the unmanned aerial vehicle has an obstacle avoidance function, the unmanned aerial vehicle can obtain the sensing data output by the sensors of the unmanned aerial vehicle, and determine whether the complexity of the environment around the unmanned aerial vehicle is higher than the expected level according to the sensing data. Set the complexity threshold, the UAV can also detect whether the obstacle avoidance function of the UAV is turned off. When the obstacle avoidance function is turned off and the complexity of the environment around the UAV is higher than the preset complexity threshold , the UAV can enable the obstacle avoidance function of the UAV. In this embodiment, when the complexity of the environment around the unmanned aerial vehicle is higher than the preset complexity threshold, and the user forgets to enable the obstacle avoidance function of the unmanned aerial vehicle, the obstacle avoidance function of the unmanned aerial vehicle can be automatically turned on, so that the unmanned aerial vehicle can Implement obstacle avoidance when encountering obstacles. For example, UAVs can use the obstacle avoidance function to pass through obstacles or detour, which can avoid collisions between UAVs and obstacles, so as to improve the safety of obstacles without affecting the flight mission of UAVs. For another example, the UAV can use the obstacle avoidance function to reduce the maximum flight speed of the UAV. Assuming that the UAV flies at the reduced maximum flight speed, even if the UAV collides with a pedestrian, it is possible to minimize the risk of the UAV and the pedestrian. The impact force generated by pedestrian collisions to ensure the safety of UAVs and pedestrians, while not affecting the flight mission of UAVs.
在一个实施例中,在无人飞行器具备避障功能时,无人飞行器可以获取无人飞行器的传感器输出的传感数据,根据传感数据确定无人飞行器周围的环境的复杂程度是否高于预设的复杂程度阈值,无人飞行器还可以检测无人飞行器的避障功能是否处于关闭状态,当避障功能处于关闭状态且无人飞行器周围的环境的复杂程度高于预设的复杂程度阈值时,无人飞行器可以降低无人飞行器的最大飞行速度。在该实施例中,如果用户关闭无人飞行 器的避障功能之后,在当前环境中,用户并不是忘记开启无人飞行器的避障功能,而是不想开启无人飞行器的避障功能,那么无人飞行器强行开启无人飞行器的避障功能,将会降低用户体验。基于此,在避障功能处于关闭状态且无人飞行器周围的环境的复杂程度高于预设的复杂程度阈值时,无人飞行器可以降低无人飞行器的最大飞行速度,尽量减少无人飞行器和障碍物相撞所产生的冲击力,可有效提升无人飞行器的安全性,同时又不影响无人飞行器的飞行任务。假设无人飞行器以降低后的最大飞行速度飞行,即使无人飞行器和行人相撞,也可以尽量减少无人飞行器和行人相撞所产生的冲击力,以确保无人飞行器和行人的安全。In one embodiment, when the unmanned aerial vehicle has an obstacle avoidance function, the unmanned aerial vehicle can obtain the sensing data output by the sensors of the unmanned aerial vehicle, and determine whether the complexity of the environment around the unmanned aerial vehicle is higher than the expected level according to the sensing data. Set the complexity threshold, the UAV can also detect whether the obstacle avoidance function of the UAV is turned off. When the obstacle avoidance function is turned off and the complexity of the environment around the UAV is higher than the preset complexity threshold , the UAV can reduce the maximum flight speed of the UAV. In this embodiment, if the user turns off the obstacle avoidance function of the unmanned aerial vehicle, in the current environment, the user does not forget to turn on the obstacle avoidance function of the unmanned aerial vehicle, but does not want to turn on the obstacle avoidance function of the unmanned aerial vehicle, then there is no Forcibly turning on the obstacle avoidance function of the UAV will reduce the user experience. Based on this, when the obstacle avoidance function is turned off and the complexity of the environment around the UAV is higher than the preset complexity threshold, the UAV can reduce the maximum flight speed of the UAV, and minimize the number of UAVs and obstacles. The impact force generated by the collision of objects can effectively improve the safety of the unmanned aerial vehicle without affecting the flight mission of the unmanned aerial vehicle. Assuming that the UAV flies at the reduced maximum flight speed, even if the UAV and the pedestrian collide, the impact force generated by the collision between the UAV and the pedestrian can be minimized to ensure the safety of the UAV and the pedestrian.
在一个实施例中,在无人飞行器不具备避障功能时,无人飞行器可以获取无人飞行器的传感器输出的传感数据,根据传感数据确定无人飞行器周围的环境的复杂程度是否高于预设的复杂程度阈值,当无人飞行器周围的环境的复杂程度高于预设的复杂程度阈值时,无人飞行器可以降低无人飞行器的最大飞行速度,尽量减少无人飞行器和障碍物相撞所产生的冲击力,可有效提升无人飞行器的安全性,同时又不影响无人飞行器的飞行任务。假设无人飞行器以降低后的最大飞行速度飞行,即使无人飞行器和行人相撞,也可以尽量减少无人飞行器和行人相撞所产生的冲击力,以确保无人飞行器和行人的安全。In one embodiment, when the unmanned aerial vehicle does not have the obstacle avoidance function, the unmanned aerial vehicle can obtain the sensing data output by the sensor of the unmanned aerial vehicle, and determine whether the complexity of the environment around the unmanned aerial vehicle is higher than that of the unmanned aerial vehicle according to the sensing data. The preset complexity threshold. When the complexity of the environment around the UAV is higher than the preset complexity threshold, the UAV can reduce the maximum flight speed of the UAV and minimize the collision between the UAV and obstacles. The resulting impact can effectively improve the safety of the unmanned aerial vehicle without affecting the flight mission of the unmanned aerial vehicle. Assuming that the UAV flies at the reduced maximum flight speed, even if the UAV and the pedestrian collide, the impact force generated by the collision between the UAV and the pedestrian can be minimized to ensure the safety of the UAV and the pedestrian.
请参见图1,是本申请实施例提出的一种无人飞行器的控制方法的流程示意图,如图1所示,该方法可包括:Please refer to FIG. 1 , which is a schematic flowchart of a control method for an unmanned aerial vehicle proposed by an embodiment of the present application. As shown in FIG. 1 , the method may include:
S101,获取无人飞行器的传感器输出的传感数据,根据传感数据确定无人飞行器周围的环境的复杂程度是否高于预设的复杂程度阈值。S101: Acquire sensing data output by a sensor of the unmanned aerial vehicle, and determine whether the complexity of the environment around the unmanned aerial vehicle is higher than a preset complexity threshold according to the sensing data.
在一个实施例中,如果无人飞行器的避障功能是根据不同于视觉传感器的其他类型的传感器测量得到的距离来为无人飞行器实施避障,那么无人飞行器根据传感数据确定无人飞行器周围的环境的复杂程度是否高于预设的复杂程度阈值的方式可以为:检测无人飞行器周围的环境的光线昏暗程度,确定检测到的光线昏暗程度是否高于预设的光线昏暗程度阈值,若光线昏暗程度高于预设的光线昏暗程度阈值,则无人飞行器可以确定无人飞行器周围的环境的复杂程度高于预设的复杂程度阈值;若光线昏暗程度低于或等于预设的光线昏暗程度阈值,则无人飞行器可以确定无人飞行器周围的环境的复杂程度低于或等于预设的复杂程度阈值。In one embodiment, if the obstacle avoidance function of the UAV is to implement obstacle avoidance for the UAV based on distances measured by other types of sensors than the visual sensor, the UAV determines the UAV based on the sensing data Whether the complexity of the surrounding environment is higher than the preset complexity threshold may be as follows: detecting the dimness of the environment around the unmanned aerial vehicle, determining whether the detected dimness is higher than the preset dimness threshold, If the light dim level is higher than the preset light dim level threshold, the UAV can determine that the complexity of the environment around the UAV is higher than the preset complexity level threshold; if the light dim level is lower than or equal to the preset light level If the darkness threshold is set, the unmanned aerial vehicle can determine that the complexity of the environment around the unmanned aerial vehicle is lower than or equal to the preset complexity threshold.
示例性的,不同于视觉传感器的其他类型的传感器可以包括飞行时间(Time of flight,TOF)测距装置、雷达传感器或者超声波传感器等。由于不同于视觉传感器的其他类型的传感器在测量距离时无需依赖光线明亮程度,因此,即使无人飞行器处于光线昏暗环境,无人飞行器也可以通过不同于视觉传感器的其他类型的传感器测量得到障碍物和无人飞行器之间的距离,进而基于该距离实施避障。基于此,在无人飞行器的避障功能是根据不同于视觉传感器的其他类型的传感器测量得到的距离来为无人飞行器实施避障的情况下,无人飞行器可以检测无人飞行器周围的环境的光线昏暗程度,确定检测到的光线昏暗程度是否高于预设的光线昏暗程度阈值,若光线昏暗程度高于预设的光线昏暗程度阈值,则无人飞行器可以确定无人飞行器周围的环境的复杂程度高于预设的复杂程度阈值,无人飞行器还可以检测无人飞行器的避障功能是否处于关闭状态,当避障功能处于关闭状态且无人飞 行器周围的环境的复杂程度高于预设的复杂程度阈值时,无人飞行器可以开启无人飞行器的避障功能,即根据不同于视觉传感器的其他类型的传感器测量得到的距离来为无人飞行器实施避障。若光线昏暗程度低于或等于预设的光线昏暗程度阈值,则无人飞行器可以确定无人飞行器周围的环境的复杂程度低于或等于预设的复杂程度阈值,进而无人飞行器可以经过预设时间段后再次检测无人飞行器周围的环境的光线昏暗程度。Exemplarily, other types of sensors other than visual sensors may include time of flight (TOF) ranging devices, radar sensors or ultrasonic sensors, and the like. Since other types of sensors other than vision sensors do not need to rely on the level of light when measuring distance, UAVs can measure obstacles with other types of sensors than vision sensors, even if the UAV is in a dimly lit environment The distance between the UAV and the UAV, and then implement obstacle avoidance based on this distance. Based on this, in the case that the obstacle avoidance function of the UAV is to implement obstacle avoidance for the UAV according to the distance measured by other types of sensors different from the visual sensor, the UAV can detect the environment around the UAV. Dim level of light, to determine whether the detected light dim level is higher than the preset light dim level threshold, if the light dim level is higher than the preset light dim level threshold, the UAV can determine the complexity of the environment around the UAV If the level is higher than the preset complexity threshold, the UAV can also detect whether the obstacle avoidance function of the UAV is turned off. When the obstacle avoidance function is turned off and the complexity of the environment around the UAV is higher than the preset level When the complexity threshold is reached, the UAV can turn on the obstacle avoidance function of the UAV, that is, implement obstacle avoidance for the UAV according to the distance measured by other types of sensors different from the visual sensor. If the dimness of the light is lower than or equal to the preset dimness threshold, the UAV can determine that the complexity of the environment around the UAV is lower than or equal to the preset complexity threshold, and the UAV can pass the preset threshold. After the time period, the dimness of the environment around the UAV is detected again.
在一个实施例中,如果无人飞行器的避障功能是根据视觉传感器测量得到的距离来为无人飞行器实施避障,那么当避障功能处于关闭状态且无人飞行器周围的环境的光线昏暗程度高于预设的光线昏暗程度阈值时,无人飞行器可以降低无人飞行器的最大飞行速度。In one embodiment, if the obstacle avoidance function of the unmanned aerial vehicle is to implement obstacle avoidance for the unmanned aerial vehicle according to the distance measured by the visual sensor, then when the obstacle avoidance function is turned off and the environment around the unmanned aerial vehicle is dimly lit The UAV can reduce the maximum flight speed of the UAV when it is higher than the preset dim level threshold.
在该实施例中,由于视觉传感器需要依赖光线明亮程度,因此,当无人飞行器处于光线昏暗环境时,无人飞行器无法通过视觉传感器测量得到障碍物和无人飞行器之间的距离。基于此,在无人飞行器的避障功能是根据视觉传感器测量得到的距离来为无人飞行器实施避障的情况下,无人飞行器可以检测无人飞行器周围的环境的光线昏暗程度,确定检测到的光线昏暗程度是否高于预设的光线昏暗程度阈值,若光线昏暗程度高于预设的光线昏暗程度阈值,则无人飞行器可以确定无人飞行器周围的环境的复杂程度高于预设的复杂程度阈值,无人飞行器还可以检测无人飞行器的避障功能是否处于关闭状态,当避障功能处于关闭状态且无人飞行器周围的环境的复杂程度高于预设的复杂程度阈值时,无人飞行器可以降低无人飞行器的最大飞行速度,以提升无人飞行器的安全性。In this embodiment, since the visual sensor needs to depend on the brightness of the light, when the UAV is in a dimly lit environment, the UAV cannot measure the distance between the obstacle and the UAV through the visual sensor. Based on this, when the obstacle avoidance function of the unmanned aerial vehicle is to implement obstacle avoidance for the unmanned aerial vehicle according to the distance measured by the visual sensor, the unmanned aerial vehicle can detect the dimness of the environment around the unmanned aerial vehicle, and determine the detected Whether the light dim level of the UAV is higher than the preset light dim level threshold, if the light dim level is higher than the preset light dim level threshold, the UAV can determine that the complexity of the environment around the UAV is higher than the preset complexity The level threshold, the UAV can also detect whether the obstacle avoidance function of the UAV is turned off. When the obstacle avoidance function is turned off and the complexity of the environment around the UAV is higher than the preset complexity threshold The aircraft can reduce the maximum flight speed of the UAV to improve the safety of the UAV.
其中,无人飞行器检测无人飞行器周围的环境的光线昏暗程度的方式可以包括如下两种:一、无人飞行器可以通过光传感器检测无人飞行器周围的环境的光线昏暗程度;二、无人飞行器预先存储有时间区间和光线昏暗程度的对应关系,例如[0:00,4:00]对应第一光线昏暗程度,[4:00,7:00]对应第二光线昏暗程度,[7:00,10:00]对应第三光线昏暗程度,其中第一光线昏暗程度高于第二光线昏暗程度,第二光线昏暗程度高于第三光线昏暗程度。无人飞行器可以获取当前系统时间,确定当前系统时间所属时间区间,然后无人飞行器可以根据预先存储的时间区间和光线昏暗程度的对应关系,获取当前系统时间所属时间区间对应的光线昏暗程度,将当前系统时间所属时间区间对应的光线昏暗程度作为无人飞行器周围的环境的光线昏暗程度。Among them, the unmanned aerial vehicle can detect the dimness of the environment around the unmanned aerial vehicle in the following two ways: 1. The unmanned aerial vehicle can detect the dimness of the light of the environment around the unmanned aerial vehicle through the light sensor; 2. The unmanned aerial vehicle The correspondence between the time interval and the degree of dim light is pre-stored. For example, [0:00, 4:00] corresponds to the first degree of dimness, [4:00, 7:00] corresponds to the second degree of dimness, and [7:00 , 10:00] corresponds to a third degree of dimness of light, wherein the degree of dimness of the first light is higher than that of the second dimness of light, and the degree of dimness of the second light is higher than that of the third dimness of light. The UAV can obtain the current system time, determine the time interval to which the current system time belongs, and then the UAV can obtain the light dimness corresponding to the time interval to which the current system time belongs according to the pre-stored correspondence between the time interval and the light darkness, and then The light dim level corresponding to the time interval to which the current system time belongs is taken as the light dim level of the environment around the UAV.
S102,检测无人飞行器的避障功能是否处于关闭状态。S102, it is detected whether the obstacle avoidance function of the unmanned aerial vehicle is in a closed state.
举例来说,用户可以通过点击无人飞行器的虚拟按键或者物理按键,或者向无人飞行器发送语音信息的方式,控制无人飞行器开启或者关闭无人飞行器的避障功能。无人飞行器可以检测在当前系统时间,无人飞行器的避障功能是否处于关闭状态。For example, the user can control the UAV to turn on or off the obstacle avoidance function of the UAV by clicking a virtual button or a physical button of the UAV, or by sending voice information to the UAV. The UAV can detect whether the obstacle avoidance function of the UAV is turned off at the current system time.
在本申请实施例中,并不限定S101和S102的执行顺序。例如,无人飞行器可以同时获取无人飞行器的传感器输出的传感数据,并检测无人飞行器的避障功能是否处于关闭状态。又如,无人飞行器可以先获取无人飞行器的传感器输出的传感数据,然后检测无人飞行器的避障功能是否处于关闭状态。又如,无人飞行器可以先检测无人飞行器的避障功能是否处于关闭状态,然后获取无人飞行器的传感器输出的传感数据。In this embodiment of the present application, the execution order of S101 and S102 is not limited. For example, the UAV can simultaneously acquire the sensor data output by the sensors of the UAV, and detect whether the obstacle avoidance function of the UAV is turned off. For another example, the unmanned aerial vehicle can first obtain the sensor data output by the sensor of the unmanned aerial vehicle, and then detect whether the obstacle avoidance function of the unmanned aerial vehicle is in a disabled state. For another example, the unmanned aerial vehicle can first detect whether the obstacle avoidance function of the unmanned aerial vehicle is turned off, and then obtain the sensor data output by the sensors of the unmanned aerial vehicle.
在一个实施例中,无人飞行器可以获取无人飞行器的传感器输出的传感数据,根据传感数据确定无人飞行器周围的环境的复杂程度是否高于预设的复杂程度阈值,当无人飞行器周围的环境的复杂程度高于预设的复杂程度阈值时,无人飞行器进一步检测无人飞行器 的避障功能是否处于关闭状态,当无人飞行器的避障功能处于关闭状态时,开启无人飞行器的避障功能。当无人飞行器周围的环境的复杂程度低于或等于预设的复杂程度阈值时,导致无人飞行器不可控的因素较少,那么无人飞行器的安全可以得到保证,基于此,无人飞行器在无人飞行器周围的环境的复杂程度低于或等于预设的复杂程度阈值时,可以结束本次流程,无需进一步检测无人飞行器的避障功能是否处于关闭状态,可减少系统资源。In one embodiment, the unmanned aerial vehicle may acquire sensing data output by sensors of the unmanned aerial vehicle, and determine whether the complexity of the environment around the unmanned aerial vehicle is higher than a preset complexity threshold according to the sensing data. When the complexity of the surrounding environment is higher than the preset complexity threshold, the UAV further detects whether the obstacle avoidance function of the UAV is turned off. When the obstacle avoidance function of the UAV is turned off, the UAV is turned on. obstacle avoidance function. When the complexity of the environment around the unmanned aerial vehicle is lower than or equal to the preset complexity threshold, there are few factors that cause the unmanned aerial vehicle to be uncontrollable, and the safety of the unmanned aerial vehicle can be guaranteed. When the complexity of the environment around the UAV is lower than or equal to the preset complexity threshold, this process can be ended without further checking whether the obstacle avoidance function of the UAV is turned off, which can reduce system resources.
在一个实施例中,无人飞行器可以检测无人飞行器的避障功能是否处于关闭状态,当无人飞行器的避障功能处于关闭状态时,无人飞行器可以获取无人飞行器的传感器输出的传感数据,根据传感数据确定无人飞行器周围的环境的复杂程度是否高于预设的复杂程度阈值,当无人飞行器周围的环境的复杂程度高于预设的复杂程度阈值时,无人飞行器开启无人飞行器的避障功能。当无人飞行器的避障功能处于开启状态时,无论无人飞行器处于何种环境,无人飞行器都可以通过避障功能实施避障,基于此,无人飞行器在检测到无人飞行器的避障功能处于开启状态时,可以结束本次流程,无需进一步获取无人飞行器的传感器输出的传感数据,根据传感数据确定无人飞行器周围的环境的复杂程度是否高于预设的复杂程度阈值,可减少系统资源。In one embodiment, the unmanned aerial vehicle can detect whether the obstacle avoidance function of the unmanned aerial vehicle is turned off, and when the obstacle avoidance function of the unmanned aerial vehicle is turned off, the unmanned aerial vehicle can obtain the sensor output of the unmanned aerial vehicle. Data, according to the sensor data to determine whether the complexity of the environment around the UAV is higher than the preset complexity threshold, when the complexity of the environment around the UAV is higher than the preset complexity threshold, the UAV is turned on Obstacle avoidance for unmanned aerial vehicles. When the obstacle avoidance function of the UAV is turned on, no matter what environment the UAV is in, the UAV can implement the obstacle avoidance function through the obstacle avoidance function. Based on this, the UAV detects the obstacle avoidance of the UAV. When the function is turned on, this process can be ended without further acquiring the sensor data output by the sensors of the UAV. According to the sensor data, it is determined whether the complexity of the environment around the UAV is higher than the preset complexity threshold. System resources can be reduced.
S103,当避障功能处于关闭状态且无人飞行器周围的环境的复杂程度高于预设的复杂程度阈值时,开启无人飞行器的避障功能。S103, when the obstacle avoidance function is turned off and the complexity of the environment around the unmanned aerial vehicle is higher than a preset complexity threshold, enable the obstacle avoidance function of the unmanned aerial vehicle.
无人飞行器只有在避障功能处于关闭状态且无人飞行器周围的环境的复杂程度高于预设的复杂程度阈值时,才会开启无人飞行器的避障功能。当无人飞行器的避障功能处于开启状态,或者无人飞行器周围的环境的复杂程度低于或等于预设的复杂程度阈值时,无人飞行器不会执行开启无人飞行器的避障功能的操作。The UAV will turn on the obstacle avoidance function of the UAV only when the obstacle avoidance function is turned off and the complexity of the environment around the UAV is higher than the preset complexity threshold. When the obstacle avoidance function of the UAV is turned on, or the complexity of the environment around the UAV is lower than or equal to the preset complexity threshold, the UAV will not perform the operation of enabling the obstacle avoidance function of the UAV .
在一个实施例中,无人飞行器开启无人飞行器的避障功能之后,可以向无人飞行器的控制终端发送已经开启避障功能的提示信息,以便控制终端或者使用控制终端的用户可以知悉无人飞行器自动开启了避障功能。In one embodiment, after enabling the obstacle avoidance function of the unmanned aerial vehicle, the unmanned aerial vehicle can send a prompt message that the obstacle avoidance function has been enabled to the control terminal of the unmanned aerial vehicle, so that the control terminal or the user using the control terminal can know that there is no one The aircraft automatically turns on the obstacle avoidance function.
在一个实施例中,在无人飞行器开启无人飞行器的避障功能之后,无人飞行器可以根据传感数据确定无人飞行器周围的环境的复杂程度是否低于预设的复杂程度阈值,当无人飞行器周围的环境的复杂程度低于预设的复杂程度阈值时,关闭无人飞行器的避障功能。In one embodiment, after the UAV turns on the obstacle avoidance function of the UAV, the UAV can determine whether the complexity of the environment around the UAV is lower than a preset complexity threshold according to the sensor data. When the complexity of the environment around the UAV is lower than the preset complexity threshold, the obstacle avoidance function of the UAV is turned off.
在该实施例中,无人飞行器可以周期性获取无人飞行器的传感器输出的传感数据。在无人飞行器开启避障功能之后,无人飞行器在最近周期获取到无人飞行器的传感器输出的传感数据,可以根据该传感数据确定无人飞行器周围的环境的复杂程度是否低于预设的复杂程度阈值,当无人飞行器周围的环境的复杂程度低于预设的复杂程度阈值时,导致无人飞行器不可控的因素较少,那么无人飞行器的安全可以得到保证,基于此,无人飞行器可以关闭无人飞行器的避障功能。或者,用户的本意是想持续关闭无人飞行器的避障功能,但是在避障功能处于关闭状态且无人飞行器周围的环境的复杂程度高于预设的复杂程度阈值时,为了有效提升无人飞行器的安全性,无人飞行器自动开启了避障功能,然后,在无人飞行器周围的环境的复杂程度低于预设的复杂程度阈值时,无人飞行器的安全可以得到保证,为了提升用户体验,无人飞行器可以在无人飞行器周围的环境的复杂程度低于预设的复杂程度阈值时自动关闭避障功能。In this embodiment, the unmanned aerial vehicle may periodically acquire sensing data output by the sensors of the unmanned aerial vehicle. After the unmanned aerial vehicle turns on the obstacle avoidance function, the unmanned aerial vehicle obtains the sensing data output by the sensor of the unmanned aerial vehicle in the most recent cycle, and can determine whether the complexity of the environment around the unmanned aerial vehicle is lower than the preset level according to the sensing data When the complexity of the environment around the UAV is lower than the preset complexity threshold, there are fewer factors that cause the UAV to be uncontrollable, so the safety of the UAV can be guaranteed. Based on this, no The human aircraft can turn off the obstacle avoidance function of the unmanned aircraft. Or, the user's original intention is to continuously turn off the obstacle avoidance function of the UAV, but when the obstacle avoidance function is turned off and the complexity of the environment around the UAV is higher than the preset complexity threshold, in order to effectively improve the unmanned aerial vehicle. For the safety of the aircraft, the UAV automatically turns on the obstacle avoidance function. Then, when the complexity of the environment around the UAV is lower than the preset complexity threshold, the safety of the UAV can be guaranteed. In order to improve the user experience , the UAV can automatically turn off the obstacle avoidance function when the complexity of the environment around the UAV is lower than the preset complexity threshold.
在本申请实施例中,当无人飞行器的避障功能处于关闭状态且无人飞行器周围的环境 的复杂程度高于预设的复杂程度阈值时,通过自动开启无人飞行器的避障功能,可有效提升无人飞行器的安全性。In the embodiment of the present application, when the obstacle avoidance function of the unmanned aerial vehicle is turned off and the complexity of the environment around the unmanned aerial vehicle is higher than the preset complexity threshold, the obstacle avoidance function of the unmanned aerial vehicle can be automatically turned on. Effectively improve the safety of unmanned aerial vehicles.
请参见图2,是本申请实施例提出的另一种无人飞行器的控制方法的流程示意图,如图2所示,该方法可包括:Please refer to FIG. 2 , which is a schematic flowchart of another method for controlling an unmanned aerial vehicle proposed by an embodiment of the present application. As shown in FIG. 2 , the method may include:
S201,获取无人飞行器的传感器输出的传感数据,根据传感数据确定无人飞行器周围的环境的复杂程度是否高于预设的复杂程度阈值。S201: Acquire sensing data output by sensors of the unmanned aerial vehicle, and determine whether the complexity of the environment around the unmanned aerial vehicle is higher than a preset complexity threshold according to the sensing data.
S202,检测无人飞行器的避障功能是否处于关闭状态。S202, it is detected whether the obstacle avoidance function of the unmanned aerial vehicle is turned off.
本申请实施例中的步骤S202可以参见上述实施例中的步骤S102的具体描述,本申请实施例不再赘述。For step S202 in this embodiment of the present application, reference may be made to the specific description of step S102 in the foregoing embodiment, which is not repeated in this embodiment of the present application.
S203,当避障功能处于关闭状态且无人飞行器周围的环境的复杂程度高于预设的复杂程度阈值时,降低无人飞行器的最大飞行速度。S203 , when the obstacle avoidance function is turned off and the complexity of the environment around the unmanned aerial vehicle is higher than a preset complexity threshold, reduce the maximum flight speed of the unmanned aerial vehicle.
无人飞行器只有在避障功能处于关闭状态且无人飞行器周围的环境的复杂程度高于预设的复杂程度阈值时,才会降低无人飞行器的最大飞行速度。当无人飞行器的避障功能处于开启状态,或者无人飞行器周围的环境的复杂程度低于或等于预设的复杂程度阈值时,无人飞行器不会执行降低无人飞行器的最大飞行速度的操作。The UAV will only reduce the maximum flight speed of the UAV when the obstacle avoidance function is turned off and the complexity of the environment around the UAV is higher than the preset complexity threshold. When the obstacle avoidance function of the UAV is turned on, or the complexity of the environment around the UAV is lower than or equal to the preset complexity threshold, the UAV will not perform the operation of reducing the maximum flight speed of the UAV .
在一个实施例中,无人飞行器在降低无人飞行器的最大飞行速度之后,可以根据传感数据确定无人飞行器周围的环境的复杂程度是否低于预设的复杂程度阈值,当无人飞行器周围的环境的复杂程度低于预设的复杂程度阈值时,恢复无人飞行器的最大飞行速度。In one embodiment, after reducing the maximum flight speed of the unmanned aerial vehicle, the unmanned aerial vehicle can determine whether the complexity of the environment around the unmanned aerial vehicle is lower than a preset complexity threshold according to the sensor data. When the complexity of the environment is lower than the preset complexity threshold, restore the maximum flight speed of the UAV.
在该实施例中,无人飞行器可以周期性获取无人飞行器的传感器输出的传感数据。在无人飞行器降低无人飞行器的最大飞行速度之后,无人飞行器在最近周期获取到无人飞行器的传感器输出的传感数据,可以根据该传感数据确定无人飞行器周围的环境的复杂程度是否低于预设的复杂程度阈值,当无人飞行器周围的环境的复杂程度低于预设的复杂程度阈值时,导致无人飞行器不可控的因素较少,那么无人飞行器的安全可以得到保证,基于此,无人飞行器可以恢复无人飞行器的最大飞行速度。或者,用户的本意不想持续降低无人飞行器的最大飞行速度,但是在避障功能处于关闭状态且无人飞行器周围的环境的复杂程度高于预设的复杂程度阈值时,为了有效提升无人飞行器的安全性,无人飞行器自动降低无人飞行器的最大飞行速度,然后,在无人飞行器周围的环境的复杂程度低于预设的复杂程度阈值时,无人飞行器的安全可以得到保证,为了提升用户体验,无人飞行器可以在无人飞行器周围的环境的复杂程度低于预设的复杂程度阈值时恢复无人飞行器的最大飞行速度。In this embodiment, the unmanned aerial vehicle may periodically acquire sensing data output by the sensors of the unmanned aerial vehicle. After the unmanned aerial vehicle reduces the maximum flight speed of the unmanned aerial vehicle, the unmanned aerial vehicle acquires the sensor data output by the sensor of the unmanned aerial vehicle in the most recent period, and can determine whether the complexity of the environment around the unmanned aerial vehicle is complicated according to the sensing data. Below the preset complexity threshold, when the complexity of the environment around the UAV is lower than the preset complexity threshold, there are fewer factors that cause the UAV to be uncontrollable, so the safety of the UAV can be guaranteed. Based on this, the UAV can recover the maximum flight speed of the UAV. Or, the user does not want to continuously reduce the maximum flight speed of the UAV, but when the obstacle avoidance function is turned off and the complexity of the environment around the UAV is higher than the preset complexity threshold, in order to effectively improve the UAV The UAV automatically reduces the maximum flight speed of the UAV. Then, when the complexity of the environment around the UAV is lower than the preset complexity threshold, the safety of the UAV can be guaranteed. In order to improve For user experience, the unmanned aerial vehicle can restore the maximum flight speed of the unmanned aerial vehicle when the complexity of the environment around the unmanned aerial vehicle is lower than the preset complexity threshold.
在该实施例中,降低无人飞行器的最大飞行速度,即降低了无人飞行器的飞行速度上限。例如,无人飞行器的最大飞行速度为16m/s,那么在降低无人飞行器的最大飞行速度之前,无人飞行器可以按照低于或者等于16m/s的速度飞行。若在避障功能处于关闭状态且无人飞行器周围的环境的复杂程度高于预设的复杂程度阈值时,无人飞行器将无人飞行器的最大飞行速度降低至5m/s,那么无人飞行器只能按照低于或等于5m/s的速度飞行。In this embodiment, the maximum flight speed of the unmanned aerial vehicle is reduced, that is, the upper limit of the flying speed of the unmanned aerial vehicle is lowered. For example, if the maximum flight speed of the UAV is 16m/s, the UAV can fly at a speed lower than or equal to 16m/s before reducing the maximum flight speed of the UAV. If the obstacle avoidance function is turned off and the complexity of the environment around the UAV is higher than the preset complexity threshold, the UAV reduces the maximum flight speed of the UAV to 5m/s, then the UAV only Able to fly at speeds less than or equal to 5m/s.
其中,最大飞行速度可以包括最大上升速度,最大下降速度,最大水平飞行速度中的一种或多种。Wherein, the maximum flight speed may include one or more of the maximum ascent speed, the maximum descent speed, and the maximum horizontal flight speed.
在本申请实施例中,当避障功能处于关闭状态且无人飞行器周围的环境的复杂程度高于预设的复杂程度阈值时,通过降低无人飞行器的最大飞行速度,可有效提升无人飞行器的安全性。In the embodiment of the present application, when the obstacle avoidance function is turned off and the complexity of the environment around the unmanned aerial vehicle is higher than the preset complexity threshold, by reducing the maximum flight speed of the unmanned aerial vehicle, the unmanned aerial vehicle can be effectively improved security.
请参见图3,是本申请实施例提出的另一种无人飞行器的控制方法的流程示意图,如图3所示,该方法可包括:Please refer to FIG. 3 , which is a schematic flowchart of another method for controlling an unmanned aerial vehicle proposed by an embodiment of the present application. As shown in FIG. 3 , the method may include:
S301,获取无人飞行器的传感器输出的传感数据,根据传感数据确定无人飞行器周围的环境的复杂程度是否高于预设的复杂程度阈值。S301: Acquire sensing data output by sensors of the unmanned aerial vehicle, and determine whether the complexity of the environment around the unmanned aerial vehicle is higher than a preset complexity threshold according to the sensing data.
S302,当无人飞行器周围的环境的复杂程度高于预设的复杂程度阈值时,降低无人飞行器的最大飞行速度。S302, when the complexity of the environment around the unmanned aerial vehicle is higher than a preset complexity threshold, reduce the maximum flight speed of the unmanned aerial vehicle.
在一个实施例中,无人飞行器在降低无人飞行器的最大飞行速度之后,可以根据传感数据确定无人飞行器周围的环境的复杂程度是否低于预设的复杂程度阈值,当无人飞行器周围的环境的复杂程度低于预设的复杂程度阈值时,无人飞行器可以恢复无人飞行器的最大飞行速度。In one embodiment, after reducing the maximum flight speed of the unmanned aerial vehicle, the unmanned aerial vehicle can determine whether the complexity of the environment around the unmanned aerial vehicle is lower than a preset complexity threshold according to the sensor data. When the complexity of the environment is lower than the preset complexity threshold, the UAV can resume the maximum flight speed of the UAV.
在该实施例中,无人飞行器可以周期性获取无人飞行器的传感器输出的传感数据。在无人飞行器降低无人飞行器的最大飞行速度之后,无人飞行器在最近周期获取到无人飞行器的传感器输出的传感数据,可以根据该传感数据确定无人飞行器周围的环境的复杂程度是否低于预设的复杂程度阈值,当无人飞行器周围的环境的复杂程度低于预设的复杂程度阈值时,导致无人飞行器不可控的因素较少,那么无人飞行器的安全可以得到保证,基于此,无人飞行器可以恢复无人飞行器的最大飞行速度。或者,用户的本意不想持续降低无人飞行器的最大飞行速度,但是在避障功能处于关闭状态且无人飞行器周围的环境的复杂程度高于预设的复杂程度阈值时,为了有效提升无人飞行器的安全性,无人飞行器自动降低无人飞行器的最大飞行速度,然后,在无人飞行器周围的环境的复杂程度低于预设的复杂程度阈值时,无人飞行器的安全可以得到保证,为了提升用户体验,无人飞行器可以在无人飞行器周围的环境的复杂程度低于预设的复杂程度阈值时恢复无人飞行器的最大飞行速度。In this embodiment, the unmanned aerial vehicle may periodically acquire sensing data output by the sensors of the unmanned aerial vehicle. After the unmanned aerial vehicle reduces the maximum flight speed of the unmanned aerial vehicle, the unmanned aerial vehicle acquires the sensor data output by the sensor of the unmanned aerial vehicle in the most recent period, and can determine whether the complexity of the environment around the unmanned aerial vehicle is complicated according to the sensing data. Below the preset complexity threshold, when the complexity of the environment around the UAV is lower than the preset complexity threshold, there are fewer factors that cause the UAV to be uncontrollable, so the safety of the UAV can be guaranteed. Based on this, the UAV can recover the maximum flight speed of the UAV. Or, the user does not want to continuously reduce the maximum flight speed of the UAV, but when the obstacle avoidance function is turned off and the complexity of the environment around the UAV is higher than the preset complexity threshold, in order to effectively improve the UAV The UAV automatically reduces the maximum flight speed of the UAV. Then, when the complexity of the environment around the UAV is lower than the preset complexity threshold, the safety of the UAV can be guaranteed. In order to improve For user experience, the unmanned aerial vehicle can restore the maximum flight speed of the unmanned aerial vehicle when the complexity of the environment around the unmanned aerial vehicle is lower than the preset complexity threshold.
其中,最大飞行速度可以包括最大上升速度,最大下降速度,最大水平飞行速度中的一种或多种。Wherein, the maximum flight speed may include one or more of the maximum ascent speed, the maximum descent speed, and the maximum horizontal flight speed.
在本申请实施例中,无人飞行器无需检测无人飞行器是否具备避障功能,或者无人飞行器的避障功能处于关闭状态或者开启状态,只要无人飞行器周围的环境的复杂程度高于预设的复杂程度阈值,无人飞行器就降低无人飞行器的最大飞行速度,相对上述实施例,减少了检测无人飞行器的避障功能是否处于关闭状态这一步骤,提升了无人飞行器的控制效率,进而有效提升无人飞行器的安全性。In the embodiment of the present application, the UAV does not need to detect whether the UAV has the obstacle avoidance function, or the obstacle avoidance function of the UAV is in the off state or in the open state, as long as the complexity of the environment around the UAV is higher than the preset The complexity threshold of the unmanned aerial vehicle is reduced, and the maximum flight speed of the unmanned aerial vehicle is reduced. Compared with the above-mentioned embodiment, the step of detecting whether the obstacle avoidance function of the unmanned aerial vehicle is turned off is reduced, and the control efficiency of the unmanned aerial vehicle is improved. This effectively improves the safety of unmanned aerial vehicles.
在一个实施例中,基于上述实施例的描述,对无人飞行器获取无人飞行器的传感器输出的传感数据,根据传感数据确定无人飞行器周围的环境的复杂程度是否高于预设的复杂程度阈值的方法进行具体描述。In one embodiment, based on the descriptions of the foregoing embodiments, the unmanned aerial vehicle acquires the sensing data output by the sensors of the unmanned aerial vehicle, and determines whether the complexity of the environment around the unmanned aerial vehicle is higher than the preset complexity according to the sensing data. The method of degree threshold is described in detail.
其中,环境的复杂程度可以包括环境的建筑物密集程度、人员密集程度、电磁干扰程 度、光线昏暗程度中的一种或多种。The complexity of the environment may include one or more of the density of buildings, the density of people, the degree of electromagnetic interference, and the degree of dim light in the environment.
其中,无人飞行器获取无人飞行器的传感器输出的传感数据,根据传感数据确定无人飞行器周围的环境的复杂程度是否高于预设的复杂程度阈值的方式可以包括如下至少一种:The manner in which the unmanned aerial vehicle obtains the sensing data output by the sensor of the unmanned aerial vehicle, and determines whether the complexity of the environment around the unmanned aerial vehicle is higher than a preset complexity threshold according to the sensing data may include at least one of the following:
一、以传感器为卫星定位装置为例,无人飞行器可以获取无人飞行器的卫星定位装置输出的位置,根据卫星定位装置输出的位置确定无人飞行器周围的环境的建筑物密集程度是否高于预设的建筑物密集程度阈值,当无人飞行器周围的环境的建筑物密集程度高于预设的建筑物密集程度阈值时,无人飞行器可以确定无人飞行器周围的环境的复杂程度高于预设的复杂程度阈值;当无人飞行器周围的环境的建筑物密集程度低于或等于预设的建筑物密集程度阈值时,无人飞行器可以确定无人飞行器周围的环境的复杂程度低于或等于预设的复杂程度阈值。可选的,无人飞行器可以根据卫星定位装置输出的位置确定无人飞行器周围的环境的人员密集程度是否高于预设的人员密集程度阈值,当无人飞行器周围的环境的人员密集程度高于预设的人员密集程度阈值时,无人飞行器可以确定无人飞行器周围的环境的复杂程度高于预设的复杂程度阈值;当无人飞行器周围的环境的人员密集程度低于或等于预设的人员密集程度阈值时,无人飞行器可以确定无人飞行器周围的环境的复杂程度低于或等于预设的复杂程度阈值。1. Taking the sensor as the satellite positioning device as an example, the unmanned aerial vehicle can obtain the position output by the satellite positioning device of the unmanned aerial vehicle, and determine whether the building density of the surrounding environment of the unmanned aerial vehicle is higher than the predetermined level according to the position output by the satellite positioning device. The set building density threshold, when the building density of the environment around the unmanned aerial vehicle is higher than the preset building density threshold, the unmanned aerial vehicle can determine that the complexity of the environment around the unmanned aerial vehicle is higher than the preset building density threshold When the building density of the environment around the unmanned aerial vehicle is lower than or equal to the preset building density threshold, the unmanned aerial vehicle can determine that the complexity of the environment around the unmanned aerial vehicle is lower than or equal to the preset building density threshold. The set complexity threshold. Optionally, the unmanned aerial vehicle can determine whether the crowd density of the environment around the unmanned aircraft is higher than a preset crowd density threshold according to the position output by the satellite positioning device, when the crowd density of the environment around the unmanned aircraft is higher than When the preset crowd density threshold, the unmanned aerial vehicle can determine that the complexity of the environment around the unmanned aircraft is higher than the preset complexity threshold; when the crowd density of the environment around the unmanned aircraft is lower than or equal to the preset When the crowd density threshold is set, the unmanned aerial vehicle can determine that the complexity of the environment around the unmanned aerial vehicle is lower than or equal to the preset complexity threshold.
在一个实施例中,无人飞行器可以根据卫星定位装置输出的位置确定无人飞行器是否处于城市区域中,当确定无人飞行器处于城市区域中时,确定无人飞行器周围的环境的建筑物密集程度高于预设的建筑物密集程度阈值,当确定无人飞行器不是处于城市区域中时,无人飞行器可以确定无人飞行器周围的环境的建筑物密集程度低于或者等于预设的建筑物密集程度阈值。可选的,当确定无人飞行器处于城市区域中时,无人飞行器可以确定无人飞行器周围的环境的人员密集程度高于预设的人员密集程度阈值,当确定无人飞行器不是处于城市区域中时,无人飞行器可以确定无人飞行器周围的环境的人员密集程度低于或者等于预设的人员密集程度阈值。In one embodiment, the unmanned aerial vehicle can determine whether the unmanned aerial vehicle is in an urban area according to the position output by the satellite positioning device, and when it is determined that the unmanned aerial vehicle is in the urban area, determine the building density of the environment around the unmanned aerial vehicle higher than the preset building density threshold, when it is determined that the unmanned aerial vehicle is not located in an urban area, the unmanned aerial vehicle can determine that the building density of the environment around the unmanned aerial vehicle is lower than or equal to the preset building density threshold. Optionally, when it is determined that the unmanned aerial vehicle is in an urban area, the unmanned aerial vehicle may determine that the crowd density of the environment around the unmanned aerial vehicle is higher than a preset crowd density threshold, and when it is determined that the unmanned aerial vehicle is not in the urban area When , the UAV can determine that the crowd density of the environment around the UAV is lower than or equal to the preset crowd density threshold.
举例来说,假设存在1000个城市区域,可以统计各个城市区域的位置,生成由所有城市区域的位置组成的位置集合,然后在无人飞行器中存储城市区域对应的位置集合。无人飞行器获取卫星定位装置输出的位置之后,可以将卫星定位装置输出的位置和城市区域对应的位置集合中的位置进行比较,当城市区域对应的位置集合包含卫星定位装置输出的位置,那么无人飞行器可以确定无人飞行器处于城市区域中;当城市区域对应的位置集合不包含卫星定位装置输出的位置,那么无人飞行器可以确定无人飞行器不是处于城市区域中。For example, assuming that there are 1000 urban areas, you can count the locations of each urban area, generate a location set consisting of the locations of all urban areas, and then store the location set corresponding to the urban area in the UAV. After the UAV obtains the position output by the satellite positioning device, it can compare the position output by the satellite positioning device with the position in the position set corresponding to the urban area. When the position set corresponding to the urban area includes the position output by the satellite positioning device, then no The human air vehicle can determine that the UAV is in an urban area; when the location set corresponding to the urban area does not include the position output by the satellite positioning device, then the UAV can determine that the UAV is not in the urban area.
在一个实施例中,无人飞行器还可以获取无人飞行器的高度,然后根据卫星定位装置输出的位置和无人飞行器的高度,确定无人飞行器周围的环境的建筑物密集程度是否高于预设的建筑物密集程度阈值,或者根据卫星定位装置输出的位置和无人飞行器的高度,确定无人飞行器周围的环境的人员密集程度是否高于预设的人员密集程度阈值。In one embodiment, the unmanned aerial vehicle can also obtain the altitude of the unmanned aerial vehicle, and then determine whether the building density of the environment around the unmanned aerial vehicle is higher than a preset level according to the position output by the satellite positioning device and the altitude of the unmanned aerial vehicle The building density threshold, or according to the position output by the satellite positioning device and the height of the UAV, determine whether the crowd density of the environment around the UAV is higher than the preset crowd density threshold.
在一个实施例中,无人飞行器可以根据卫星定位装置输出的位置确定无人飞行器是否处于城市区域中,当确定无人飞行器处于城市区域中且无人飞行器的高度小于预设高度阈值时,确定无人飞行器周围的环境的建筑物密集程度高于预设的建筑物密集程度阈值;或者,当确定无人飞行器处于城市区域中且无人飞行器的高度小于预设高度阈值时,确定无人飞行器周围的环境的人员密集程度高于预设的人员密集程度阈值。In one embodiment, the unmanned aerial vehicle may determine whether the unmanned aerial vehicle is in an urban area according to the position output by the satellite positioning device, and when it is determined that the unmanned aerial vehicle is in the urban area and the height of the unmanned aerial vehicle is less than a preset height threshold, determine whether the unmanned aerial vehicle is in an urban area The building density of the environment around the unmanned aerial vehicle is higher than a preset building density threshold; or, when it is determined that the unmanned aerial vehicle is in an urban area and the height of the unmanned aerial vehicle is less than the preset height threshold, it is determined that the unmanned aerial vehicle The crowd density of the surrounding environment is higher than the preset crowd density threshold.
在该实施例中,当无人飞行器处于城市区域中且无人飞行器的高度小于预设高度阈值时,无人飞行器与建筑物或者行人相撞的几率增加,那么无人飞行器可以确定无人飞行器周围的环境的建筑物密集程度高于预设的建筑物密集程度阈值;或者,无人飞行器可以确定无人飞行器周围的环境的人员密集程度高于预设的人员密集程度阈值。In this embodiment, when the UAV is in an urban area and the height of the UAV is less than the preset height threshold, the probability of the UAV colliding with a building or a pedestrian increases, then the UAV can determine that the UAV The building density of the surrounding environment is higher than the preset building density threshold; or, the UAV may determine that the crowd density of the environment surrounding the UAV is higher than the preset crowd density threshold.
二、以传感器为视觉传感器为例,无人飞行器可以获取无人飞行器的视觉传感器输出的图像,根据图像检测无人飞行器周围的环境的建筑物密集程度,确定检测到的建筑物密集程度是否高于预设的建筑物密集程度阈值,当无人飞行器周围的环境的建筑物密集程度高于预设的建筑物密集程度阈值时,无人飞行器可以确定无人飞行器周围的环境的复杂程度高于预设的复杂程度阈值;当无人飞行器周围的环境的建筑物密集程度低于或等于预设的建筑物密集程度阈值时,无人飞行器可以确定无人飞行器周围的环境的复杂程度低于或等于预设的复杂程度阈值。可选的,无人飞行器可以根据图像检测无人飞行器周围的环境的人员密集程度,确定检测到的人员密集程度是否高于预设的人员密集程度阈值,当无人飞行器周围的环境的人员密集程度高于预设的人员密集程度阈值时,无人飞行器可以确定无人飞行器周围的环境的复杂程度高于预设的复杂程度阈值;当无人飞行器周围的环境的人员密集程度低于或等于预设的人员密集程度阈值时,无人飞行器可以确定无人飞行器周围的环境的复杂程度低于或等于预设的复杂程度阈值。2. Taking the sensor as a visual sensor as an example, the unmanned aerial vehicle can obtain the image output by the visual sensor of the unmanned aerial vehicle, detect the building density of the environment around the unmanned aerial vehicle according to the image, and determine whether the detected building density is high. Based on the preset building density threshold, when the building density of the environment around the unmanned aerial vehicle is higher than the preset building density threshold, the unmanned aerial vehicle can determine that the complexity of the environment around the unmanned aerial vehicle is higher than that of the unmanned aerial vehicle. A preset complexity threshold; when the building density of the environment around the unmanned aerial vehicle is lower than or equal to the preset building density threshold, the unmanned aerial vehicle can determine that the complexity of the environment around the unmanned aerial vehicle is lower than or equal to Equal to the preset complexity threshold. Optionally, the unmanned aerial vehicle can detect the crowd density of the environment around the unmanned aerial vehicle according to the image, and determine whether the detected crowd density is higher than a preset crowd density threshold. When the degree is higher than the preset crowd density threshold, the UAV can determine that the complexity of the environment around the UAV is higher than the preset complexity threshold; when the crowd density of the environment around the UAV is lower than or equal to When the preset crowd density threshold is set, the unmanned aerial vehicle may determine that the complexity of the environment around the unmanned aerial vehicle is lower than or equal to the preset complexity threshold.
举例来说,无人飞行器可以针对图像运行识别模型算法,以确定图像中建筑物的数量,当图像中建筑物的数量大于第一预设数量阈值时,无人飞行器可以确定检测到的建筑物密集程度高于预设的建筑物密集程度阈值;当图像中建筑物的数量小于或等于第一预设数量阈值时,无人飞行器可以确定检测到的建筑物密集程度低于或等于预设的建筑物密集程度阈值。同理,无人飞行器可以针对图像运行识别模型算法,以确定图像中人的数量,当图像中人的数量大于第二预设数量阈值时,无人飞行器可以确定检测到的人员密集程度高于预设的人员密集程度阈值;当图像中人的数量小于或等于第二预设数量阈值时,无人飞行器可以确定检测到的人员密集程度低于或等于预设的人员密集程度阈值。For example, the UAV can run a recognition model algorithm on the image to determine the number of buildings in the image, and when the number of buildings in the image is greater than a first preset number threshold, the UAV can determine the detected buildings The density is higher than the preset building density threshold; when the number of buildings in the image is less than or equal to the first preset number threshold, the UAV can determine that the detected building density is lower than or equal to the preset number of buildings Building density threshold. Similarly, the unmanned aerial vehicle can run the recognition model algorithm on the image to determine the number of people in the image. When the number of people in the image is greater than the second preset number threshold, the unmanned aerial vehicle can determine that the detected density of people is higher than A preset crowd density threshold; when the number of people in the image is less than or equal to the second preset number threshold, the UAV can determine that the detected crowd density is lower than or equal to the preset crowd density threshold.
三、无人飞行器可以确定无人飞行器的控制终端与无人飞行器之间的距离,确定无人飞行器接收到的控制终端的控制信号的接收信号强度,根据距离和接收信号强度,确定无人飞行器周围的环境的电磁干扰程度是否高于预设的电磁干扰程度阈值,当无人飞行器周围的环境的电磁干扰程度高于预设的电磁干扰程度阈值时,无人飞行器可以确定无人飞行器周围的环境的复杂程度高于预设的复杂程度阈值;当无人飞行器周围的环境的电磁干扰程度低于或等于预设的电磁干扰程度阈值时,无人飞行器可以确定无人飞行器周围的环境的复杂程度低于或等于预设的复杂程度阈值。3. The unmanned aerial vehicle can determine the distance between the control terminal of the unmanned aerial vehicle and the unmanned aerial vehicle, determine the received signal strength of the control signal of the control terminal received by the unmanned aerial vehicle, and determine the unmanned aerial vehicle according to the distance and the received signal strength Whether the electromagnetic interference degree of the surrounding environment is higher than the preset electromagnetic interference degree threshold, when the electromagnetic interference degree of the environment around the unmanned aerial vehicle is higher than the preset electromagnetic interference degree threshold, the unmanned aerial vehicle can determine the electromagnetic interference degree around the unmanned aerial vehicle. The complexity of the environment is higher than the preset complexity threshold; when the electromagnetic interference degree of the environment around the unmanned aerial vehicle is lower than or equal to the preset electromagnetic interference degree threshold, the unmanned aerial vehicle can determine the complexity of the environment around the unmanned aerial vehicle The level is lower than or equal to the preset complexity threshold.
在一个实施例中,无人飞行器可以通过控制终端的定位模块获取控制终端的位置信息,并通过无人飞行器的定位模块获取无人飞行器的位置信息,然后根据控制终端的位置信息和无人飞行器的位置信息获取控制终端与无人飞行器之间的距离。In one embodiment, the unmanned aerial vehicle can obtain the position information of the control terminal through the positioning module of the control terminal, and obtain the position information of the unmanned aerial vehicle through the positioning module of the unmanned aerial vehicle, and then obtain the position information of the unmanned aerial vehicle according to the position information of the control terminal and the unmanned aerial vehicle. The distance between the control terminal and the UAV is obtained from the position information.
举例来说,无人飞行器可以在电磁干扰较小的环境(例如空旷环境或者无线电良好的环境)进行测试,得到无人飞行器和控制终端之间的距离为指定距离时,无人飞行器接收到的控制终端的控制信号的接收信号强度,该接收信号强度为正常的接收信号强度。无人飞行器可以建立各个距离和接收信号强度的对应关系,将各个距离及其对应的接收信号强 度存储至预设数据库中。无人飞行器确定无人飞行器的控制终端与无人飞行器之间的距离,以及无人飞行器接收到的控制终端的控制信号的接收信号强度之后,可以在预设数据库中查找该距离对应的接收信号强度,将无人飞行器接收到的控制终端的控制信号的接收信号强度和查找到的接收信号强度进行比较,当无人飞行器接收到的控制终端的控制信号的接收信号强度和查找到的接收信号强度匹配时,无人飞行器可以确定无人飞行器周围的环境的电磁干扰程度低于或等于预设的电磁干扰程度阈值;当无人飞行器接收到的控制终端的控制信号的接收信号强度和查找到的接收信号强度不匹配时,无人飞行器可以确定无人飞行器周围的环境的电磁干扰程度高于预设的电磁干扰程度阈值。例如,当无人飞行器接收到的控制终端的控制信号的接收信号强度小于查找到的接收信号强度时,无人飞行器可以确定无人飞行器接收到的控制终端的控制信号的接收信号强度和查找到的接收信号强度不匹配;反之,则匹配。又如,当无人飞行器接收到的控制终端的控制信号的接收信号强度与查找到的接收信号强度之间的差值大于预设强度阈值时,无人飞行器可以确定无人飞行器接收到的控制终端的控制信号的接收信号强度和查找到的接收信号强度不匹配;反之,则匹配。For example, the unmanned aerial vehicle can be tested in an environment with less electromagnetic interference (such as an open environment or a good radio environment), and when the distance between the unmanned aerial vehicle and the control terminal is a specified distance, the unmanned aerial vehicle receives the signal. Control the received signal strength of the control signal of the terminal, where the received signal strength is the normal received signal strength. The UAV can establish the corresponding relationship between each distance and the received signal strength, and store each distance and its corresponding received signal strength in a preset database. After the unmanned aerial vehicle determines the distance between the control terminal of the unmanned aerial vehicle and the unmanned aerial vehicle, and the received signal strength of the control signal of the control terminal received by the unmanned aerial vehicle, it can search for the received signal corresponding to the distance in the preset database Strength, compare the received signal strength of the control signal of the control terminal received by the UAV with the found received signal strength, when the received signal strength of the control signal of the control terminal received by the unmanned aerial vehicle and the found received signal When the strengths match, the unmanned aerial vehicle can determine that the electromagnetic interference degree of the environment around the unmanned aerial vehicle is lower than or equal to the preset electromagnetic interference degree threshold; When the received signal strengths of the unmanned aerial vehicles do not match, the unmanned aerial vehicle can determine that the electromagnetic interference degree of the environment around the unmanned aerial vehicle is higher than the preset electromagnetic interference degree threshold. For example, when the received signal strength of the control signal of the control terminal received by the unmanned aerial vehicle is less than the found received signal strength, the unmanned aerial vehicle may determine the received signal strength of the control signal of the control terminal received by the unmanned aerial vehicle and find the received signal strength of the control terminal. The received signal strength does not match; otherwise, it matches. For another example, when the difference between the received signal strength of the control signal of the control terminal received by the unmanned aerial vehicle and the found received signal strength is greater than the preset strength threshold, the unmanned aerial vehicle may determine the control signal received by the unmanned aerial vehicle. The received signal strength of the control signal of the terminal does not match the found received signal strength; otherwise, it matches.
四、无人飞行器可以检测无人飞行器周围的环境的光线昏暗程度,确定检测到的光线昏暗程度是否高于预设的光线昏暗程度阈值,当检测到的光线昏暗程度高于预设的光线昏暗程度阈值时,无人飞行器可以确定无人飞行器周围的环境的复杂程度高于预设的复杂程度阈值;当检测到的光线昏暗程度低于或等于预设的光线昏暗程度阈值时,无人飞行器可以确定无人飞行器周围的环境的复杂程度低于或等于预设的复杂程度阈值。4. The UAV can detect the dimness of the environment around the UAV, and determine whether the detected dimness is higher than the preset dimness threshold. When the detected dimness is higher than the preset dimness When the level threshold is set, the unmanned aerial vehicle can determine that the complexity of the environment around the unmanned aerial vehicle is higher than the preset complexity threshold; when the detected light dim level is lower than or equal to the preset light dim level threshold, the unmanned aerial vehicle It may be determined that the complexity of the environment around the UAV is lower than or equal to a preset complexity threshold.
其中,上述多种确定无人飞行器周围的环境的复杂程度是否高于预设的复杂程度阈值的方式可以任意组合,得到新的确定无人飞行器周围的环境的复杂程度是否高于预设的复杂程度阈值的方法。例如,无人飞行器可以获取无人飞行器的卫星定位装置输出的位置,根据卫星定位装置输出的位置确定无人飞行器周围的环境的建筑物密集程度是否高于预设的建筑物密集程度阈值。无人飞行器还可以确定无人飞行器的控制终端与无人飞行器之间的距离,确定无人飞行器接收到的控制终端的控制信号的接收信号强度,根据距离和接收信号强度,确定无人飞行器周围的环境的电磁干扰程度是否高于预设的电磁干扰程度阈值。当无人飞行器周围的环境的建筑物密集程度高于预设的建筑物密集程度阈值,且无人飞行器周围的环境的电磁干扰程度高于预设的电磁干扰程度阈值时,无人飞行器可以确定无人飞行器周围的环境的复杂程度高于预设的复杂程度阈值。具体不受本申请实施例的限定。Wherein, the above-mentioned various ways of determining whether the complexity of the environment around the unmanned aerial vehicle is higher than the preset complexity threshold can be combined arbitrarily to obtain a new way of determining whether the complexity of the environment around the unmanned aerial vehicle is higher than the preset complexity Degree threshold method. For example, the unmanned aerial vehicle can obtain the position output by the satellite positioning device of the unmanned aerial vehicle, and determine whether the building density of the environment around the unmanned aerial vehicle is higher than a preset building density threshold according to the position output by the satellite positioning device. The unmanned aerial vehicle can also determine the distance between the control terminal of the unmanned aerial vehicle and the unmanned aerial vehicle, determine the received signal strength of the control signal of the control terminal received by the unmanned aerial vehicle, and determine the surrounding area of the unmanned aerial vehicle according to the distance and the received signal strength. Whether the electromagnetic interference level of the environment is higher than the preset electromagnetic interference level threshold. When the building density of the environment around the unmanned aerial vehicle is higher than the preset building density threshold, and the electromagnetic interference degree of the environment around the unmanned aerial vehicle is higher than the preset electromagnetic interference degree threshold, the unmanned aerial vehicle can determine The complexity of the environment around the UAV is higher than the preset complexity threshold. It is not specifically limited by the embodiments of the present application.
请参见图4,图4是本申请实施例提供的一种无人飞行器的控制装置的结构示意图。本申请实施例中所描述的无人飞行器的控制装置,包括:处理器401、存储器402、通信接口403、传感器404。上述处理器401、存储器402、通信接口403、传感器404通过一条或多条通信总线连接。Please refer to FIG. 4 , which is a schematic structural diagram of a control device for an unmanned aerial vehicle provided by an embodiment of the present application. The control device of the unmanned aerial vehicle described in the embodiments of this application includes: a processor 401 , a memory 402 , a communication interface 403 , and a sensor 404 . The above-mentioned processor 401, memory 402, communication interface 403, and sensor 404 are connected through one or more communication buses.
上述处理器401可以是CPU,该处理器还可以是其他通用处理器、DSP、ASIC、FPGA或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等,处理器401被配置为支持无人飞行器执行图1所述方法中无人飞行器相应的功能。The above-mentioned processor 401 may be a CPU, and the processor may also be other general-purpose processors, DSP, ASIC, FPGA or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The processor 401 is configured to support the UAV to perform the corresponding functions of the UAV in the method described in FIG. 1 .
上述存储器402可以包括只读存储器和随机存取存储器,并向处理器401提供计算机程序和数据。存储器402的一部分还可以包括非易失性随机存取存储器。其中,所述处理器401调用所述计算机程序时用于执行:The above-mentioned memory 402 may include read-only memory and random access memory, and provides computer programs and data to the processor 401 . A portion of memory 402 may also include non-volatile random access memory. Wherein, when the processor 401 calls the computer program, it is used to execute:
获取所述无人飞行器的传感器输出的传感数据,根据所述传感数据确定所述无人飞行器周围的环境的复杂程度是否高于预设的复杂程度阈值;acquiring sensing data output by sensors of the unmanned aerial vehicle, and determining whether the complexity of the environment around the unmanned aerial vehicle is higher than a preset complexity threshold according to the sensing data;
检测所述无人飞行器的避障功能是否处于关闭状态;Detecting whether the obstacle avoidance function of the UAV is turned off;
当所述避障功能处于关闭状态且所述无人飞行器周围的环境的复杂程度高于所述预设的复杂程度阈值时,开启所述无人飞行器的避障功能。When the obstacle avoidance function is disabled and the complexity of the environment around the unmanned aerial vehicle is higher than the preset complexity threshold, the obstacle avoidance function of the unmanned aerial vehicle is enabled.
在一个实施例中,所述处理器401还用于执行如下操作:向所述无人飞行器的控制终端发送已经开启避障功能的提示信息。In one embodiment, the processor 401 is further configured to perform the following operation: sending a prompt message that the obstacle avoidance function has been enabled to the control terminal of the unmanned aerial vehicle.
在一个实施例中,所述环境的复杂程度包括环境的建筑物密集程度、人员密集程度、电磁干扰程度、光线昏暗程度中的一种或多种。In one embodiment, the complexity of the environment includes one or more of the degree of building density, the density of people, the degree of electromagnetic interference, and the degree of dim light in the environment.
在一个实施例中,所述处理器401在获取所述无人飞行器的传感器输出的传感数据,根据所述传感数据确定所述无人飞行器周围的环境的复杂程度是否高于预设的复杂程度阈值时,具体执行如下操作:In one embodiment, the processor 401 is acquiring sensing data output by a sensor of the UAV, and determining whether the complexity of the environment around the UAV is higher than a preset level according to the sensing data When the complexity threshold is set, perform the following operations:
获取所述无人飞行器的卫星定位装置输出的位置;Obtain the position output by the satellite positioning device of the unmanned aerial vehicle;
根据所述卫星定位装置输出的位置确定所述无人飞行器周围的环境的建筑物密集程度是否高于预设的建筑物密集程度阈值,或者所述无人飞行器周围的环境的人员密集程度是否高于预设的人员密集程度阈值。According to the position output by the satellite positioning device, determine whether the building density of the environment around the unmanned aerial vehicle is higher than a preset building density threshold, or whether the crowd density of the environment around the unmanned aerial vehicle is high at the preset crowd density threshold.
在一个实施例中,所述处理器401在根据所述卫星定位装置输出的位置确定所述无人飞行器周围的环境的建筑物密集程度是否高于预设的建筑物密集程度阈值,或者所述无人飞行器周围的环境的人员密集程度是否高于预设的人员密集程度阈值时,具体执行如下操作:In one embodiment, the processor 401 determines whether the building density of the environment around the UAV is higher than a preset building density threshold according to the position output by the satellite positioning device, or the When the crowd density of the environment around the UAV is higher than the preset crowd density threshold, specifically perform the following operations:
根据所述卫星定位装置输出的位置确定所述无人飞行器是否处于城市区域中;Determine whether the unmanned aerial vehicle is in an urban area according to the position output by the satellite positioning device;
当确定所述无人飞行器处于城市区域中时,确定所述无人飞行器周围的环境的建筑物密集程度高于预设的建筑物密集程度阈值;或者,When it is determined that the unmanned aerial vehicle is in an urban area, it is determined that the building density of the environment around the unmanned aerial vehicle is higher than a preset building density threshold; or,
当确定所述无人飞行器处于城市区域中时,确定所述无人飞行器周围的环境的人员密集程度高于预设的人员密集程度阈值。When it is determined that the UAV is in an urban area, it is determined that the crowd density of the environment around the UAV is higher than a preset crowd density threshold.
在一个实施例中,所述处理器401还用于执行如下操作:获取所述无人飞行器的高度;In one embodiment, the processor 401 is further configured to perform the following operations: obtain the altitude of the UAV;
所述处理器401在根据所述卫星定位装置输出的位置确定所述无人飞行器周围的环境的建筑物密集程度是否高于预设的建筑物密集程度阈值,或者所述无人飞行器周围的环境的人员密集程度是否高于预设的人员密集程度阈值时,具体执行如下操作:The processor 401 determines whether the building density of the environment around the unmanned aerial vehicle is higher than a preset building density threshold according to the position output by the satellite positioning device, or the environment around the unmanned aerial vehicle. When the density of the personnel is higher than the preset threshold of personnel density, perform the following operations:
根据所述卫星定位装置输出的位置和所述无人飞行器的高度,确定所述无人飞行器周围的环境的建筑物密集程度是否高于所述预设的建筑物密集程度阈值,或者所述无人飞行器周围的环境的人员密集程度是否高于所述预设的人员密集程度阈值。According to the position output by the satellite positioning device and the height of the unmanned aerial vehicle, determine whether the building density of the environment around the unmanned aerial vehicle is higher than the preset building density threshold, or the unmanned aerial vehicle Whether the crowd density of the environment around the human aircraft is higher than the preset crowd density threshold.
在一个实施例中,所述处理器401在根据所述卫星定位装置输出的位置和所述无人飞行器的高度,确定所述无人飞行器周围的环境的建筑物密集程度是否高于所述预设的建筑物密集程度阈值,或者所述无人飞行器周围的环境的人员密集程度是否高于所述预设的人 员密集程度阈值时,具体执行如下操作:In one embodiment, the processor 401 determines, according to the position output by the satellite positioning device and the height of the unmanned aerial vehicle, whether the building density of the environment around the unmanned aerial vehicle is higher than the predetermined level. When the set building density threshold, or whether the crowd density of the environment around the UAV is higher than the preset crowd density threshold, specifically perform the following operations:
根据所述卫星定位装置输出的位置确定所述无人飞行器是否处于城市区域中;Determine whether the unmanned aerial vehicle is in an urban area according to the position output by the satellite positioning device;
当确定所述无人飞行器处于城市区域中且所述无人飞行器的高度小于预设高度阈值时,确定所述无人飞行器周围的环境的建筑物密集程度高于预设的建筑物密集程度阈值;或者,When it is determined that the unmanned aerial vehicle is in an urban area and the height of the unmanned aerial vehicle is less than a preset height threshold, it is determined that the building density of the environment around the unmanned aerial vehicle is higher than the preset building density threshold ;or,
当确定所述无人飞行器处于城市区域中且所述无人飞行器的高度小于预设高度阈值时,确定所述无人飞行器周围的环境的人员密集程度高于预设的人员密集程度阈值。When it is determined that the UAV is in an urban area and the height of the UAV is less than a preset height threshold, it is determined that the crowd density of the environment around the UAV is higher than the preset crowd density threshold.
在一个实施例中,所述处理器401在根据所述传感数据确定所述无人飞行器周围的环境的复杂程度是否高于预设的复杂程度阈值时,具体执行如下操作:In one embodiment, when determining whether the complexity of the environment around the UAV is higher than a preset complexity threshold according to the sensing data, the processor 401 specifically performs the following operations:
获取所述无人飞行器的视觉传感器输出的图像;acquiring an image output by a visual sensor of the unmanned aerial vehicle;
根据所述图像检测所述无人飞行器周围的环境的建筑物密集程度;Detecting the building density of the environment around the UAV based on the image;
确定所述检测到的建筑物密集程度是否高于预设的建筑物密集程度阈值;或者,determining whether the detected building density is higher than a preset building density threshold; or,
根据所述图像检测所述无人飞行器周围的环境的人员密集程度;Detecting the crowd density of the environment around the unmanned aerial vehicle according to the image;
确定所述检测到的人员密集程度是否高于预设的人员密集程度阈值。It is determined whether the detected crowd density is higher than a preset crowd density threshold.
在一个实施例中,所述无人飞行器的所述避障功能是根据不同于视觉传感器的其他类型的传感器测量得到的距离来为无人飞行器实施避障,所述处理器401在根据所述传感数据确定所述无人飞行器周围的环境的复杂程度是否高于预设的复杂程度阈值时,具体执行如下操作:In one embodiment, the obstacle avoidance function of the unmanned aerial vehicle is to implement obstacle avoidance for the unmanned aerial vehicle according to the distance measured by other types of sensors different from the visual sensor, and the processor 401 performs obstacle avoidance according to the When the sensing data determines whether the complexity of the environment around the UAV is higher than a preset complexity threshold, the following operations are specifically performed:
检测所述无人飞行器周围的环境的光线昏暗程度;detecting the dimness of the environment around the UAV;
确定所述检测到的光线昏暗程度是否高于预设的光线昏暗程度阈值。It is determined whether the detected light dim level is higher than a preset light dim level threshold.
在一个实施例中,所述处理器401在根据所述传感数据确定所述无人飞行器周围的环境的复杂程度是否高于预设的复杂程度阈值时,具体执行如下操作:In one embodiment, when determining whether the complexity of the environment around the UAV is higher than a preset complexity threshold according to the sensing data, the processor 401 specifically performs the following operations:
确定所述无人飞行器的控制终端与所述无人飞行器之间的距离;determining the distance between the control terminal of the unmanned aerial vehicle and the unmanned aerial vehicle;
确定所述无人飞行器接收到的所述控制终端的控制信号的接收信号强度;determining the received signal strength of the control signal of the control terminal received by the unmanned aerial vehicle;
根据所述距离和所述接收信号强度,确定所述无人飞行器周围的环境的电磁干扰程度是否高于预设的电磁干扰程度阈值。According to the distance and the received signal strength, it is determined whether the electromagnetic interference degree of the environment around the unmanned aerial vehicle is higher than a preset electromagnetic interference degree threshold.
在一个实施例中,所述无人飞行器的所述避障功能是根据视觉传感器测量得到的距离来为所述无人飞行器实施避障,所述处理器401还用于执行如下操作:In one embodiment, the obstacle avoidance function of the unmanned aerial vehicle is to implement obstacle avoidance for the unmanned aerial vehicle according to the distance measured by the visual sensor, and the processor 401 is further configured to perform the following operations:
当所述避障功能处于关闭状态且所述无人飞行器周围的环境的光线昏暗程度高于预设的光线昏暗程度阈值时,降低所述无人飞行器的最大飞行速度。When the obstacle avoidance function is turned off and the dimness of the environment around the unmanned aerial vehicle is higher than a preset dimness threshold, the maximum flight speed of the unmanned aerial vehicle is reduced.
在一个实施例中,所述处理器401还用于执行如下操作:In one embodiment, the processor 401 is further configured to perform the following operations:
在开启所述无人飞行器的避障功能之后,根据所述传感数据确定所述无人飞行器周围的环境的复杂程度是否低于所述预设的复杂程度阈值;After turning on the obstacle avoidance function of the unmanned aerial vehicle, determining whether the complexity of the environment around the unmanned aerial vehicle is lower than the preset complexity threshold according to the sensing data;
当所述无人飞行器周围的环境的复杂程度低于所述预设的复杂程度阈值时,关闭所述无人飞行器的避障功能。When the complexity of the environment around the UAV is lower than the preset complexity threshold, the obstacle avoidance function of the UAV is turned off.
在另一个实施例中,处理器401被配置为支持无人飞行器执行图2所述方法中无人飞行器相应的功能。In another embodiment, the processor 401 is configured to support the UAV to perform the corresponding functions of the UAV in the method described in FIG. 2 .
其中,所述处理器401调用所述计算机程序时用于执行:Wherein, when the processor 401 calls the computer program, it is used to execute:
获取所述无人飞行器的传感器输出的传感数据,根据所述传感数据确定所述无人飞行器周围的环境的复杂程度是否高于预设的复杂程度阈值;acquiring sensing data output by sensors of the unmanned aerial vehicle, and determining whether the complexity of the environment around the unmanned aerial vehicle is higher than a preset complexity threshold according to the sensing data;
检测所述无人飞行器的避障功能是否处于关闭状态;Detecting whether the obstacle avoidance function of the UAV is turned off;
当所述避障功能处于关闭状态且所述无人飞行器周围的环境的复杂程度高于所述预设的复杂程度阈值时,降低所述无人飞行器的最大飞行速度。When the obstacle avoidance function is turned off and the complexity of the environment around the unmanned aerial vehicle is higher than the preset complexity threshold, the maximum flying speed of the unmanned aerial vehicle is reduced.
在一个实施例中,所述环境的复杂程度包括环境的建筑物密集程度、人员密集程度、电磁干扰程度、光线昏暗程度中的一种或多种。In one embodiment, the complexity of the environment includes one or more of the degree of building density, the density of people, the degree of electromagnetic interference, and the degree of dim light in the environment.
在一个实施例中,所述处理器401在获取所述无人飞行器的传感器输出的传感数据,根据所述传感数据确定所述无人飞行器周围的环境的复杂程度是否高于预设的复杂程度阈值时,具体执行如下操作:In one embodiment, the processor 401 is acquiring sensing data output by a sensor of the UAV, and determining whether the complexity of the environment around the UAV is higher than a preset level according to the sensing data When the complexity threshold is set, perform the following operations:
获取所述无人飞行器的卫星定位装置输出的位置;Obtain the position output by the satellite positioning device of the unmanned aerial vehicle;
根据所述卫星定位装置输出的位置确定所述无人飞行器周围的环境的建筑物密集程度是否高于预设的建筑物密集程度阈值,或者所述无人飞行器周围的环境的人员密集程度是否高于预设的人员密集程度阈值。According to the position output by the satellite positioning device, determine whether the building density of the environment around the unmanned aerial vehicle is higher than a preset building density threshold, or whether the crowd density of the environment around the unmanned aerial vehicle is high at the preset crowd density threshold.
在一个实施例中,所述处理器401在根据所述卫星定位装置输出的位置确定所述无人飞行器周围的环境的建筑物密集程度是否高于预设的建筑物密集程度阈值,或者所述无人飞行器周围的环境的人员密集程度是否高于预设的人员密集程度阈值时,具体执行如下操作:In one embodiment, the processor 401 determines whether the building density of the environment around the UAV is higher than a preset building density threshold according to the position output by the satellite positioning device, or the When the crowd density of the environment around the UAV is higher than the preset crowd density threshold, specifically perform the following operations:
根据所述卫星定位装置输出的位置确定所述无人飞行器是否处于城市区域中;Determine whether the unmanned aerial vehicle is in an urban area according to the position output by the satellite positioning device;
当确定所述无人飞行器处于城市区域中时,确定所述无人飞行器周围的环境的建筑物密集程度高于预设的建筑物密集程度阈值;或者,When it is determined that the unmanned aerial vehicle is in an urban area, it is determined that the building density of the environment around the unmanned aerial vehicle is higher than a preset building density threshold; or,
当确定所述无人飞行器处于城市区域中时,确定所述无人飞行器周围的环境的人员密集程度高于预设的人员密集程度阈值。When it is determined that the UAV is in an urban area, it is determined that the crowd density of the environment around the UAV is higher than a preset crowd density threshold.
在一个实施例中,所述处理器401还用于执行如下操作:获取所述无人飞行器的高度;In one embodiment, the processor 401 is further configured to perform the following operations: obtain the altitude of the UAV;
所述处理器401在根据所述卫星定位装置输出的位置确定所述无人飞行器周围的环境的建筑物密集程度是否高于预设的建筑物密集程度阈值,或者所述无人飞行器周围的环境的人员密集程度是否高于预设的人员密集程度阈值时,具体执行如下操作:The processor 401 determines whether the building density of the environment around the unmanned aerial vehicle is higher than a preset building density threshold according to the position output by the satellite positioning device, or whether the environment around the unmanned aerial vehicle is When the density of the personnel is higher than the preset threshold of personnel density, perform the following operations:
根据所述卫星定位装置输出的位置和所述无人飞行器的高度,确定所述无人飞行器周围的环境的建筑物密集程度是否高于所述预设的建筑物密集程度阈值,或者所述无人飞行器周围的环境的人员密集程度是否高于所述预设的人员密集程度阈值。According to the position output by the satellite positioning device and the height of the unmanned aerial vehicle, it is determined whether the building density of the environment around the unmanned aerial vehicle is higher than the preset building density threshold, or the unmanned aerial vehicle Whether the crowd density of the environment around the human aircraft is higher than the preset crowd density threshold.
在一个实施例中,所述处理器401在根据所述卫星定位装置输出的位置和所述无人飞行器的高度,确定所述无人飞行器周围的环境的建筑物密集程度是否高于所述预设的建筑物密集程度阈值,或者所述无人飞行器周围的环境的人员密集程度是否高于所述预设的人员密集程度阈值时,具体执行如下操作:In one embodiment, the processor 401 determines, according to the position output by the satellite positioning device and the height of the unmanned aerial vehicle, whether the building density of the environment around the unmanned aerial vehicle is higher than the predetermined level. When the set building density threshold, or whether the crowd density of the environment around the UAV is higher than the preset crowd density threshold, specifically perform the following operations:
根据所述卫星定位装置输出的位置确定所述无人飞行器是否处于城市区域中;Determine whether the unmanned aerial vehicle is in an urban area according to the position output by the satellite positioning device;
当确定所述无人飞行器处于城市区域中且所述无人飞行器的高度小于预设高度阈值时,确定所述无人飞行器周围的环境的建筑物密集程度高于预设的建筑物密集程度阈值;或者,When it is determined that the unmanned aerial vehicle is in an urban area and the height of the unmanned aerial vehicle is less than a preset height threshold, it is determined that the building density of the environment around the unmanned aerial vehicle is higher than the preset building density threshold ;or,
当确定所述无人飞行器处于城市区域中且所述无人飞行器的高度小于预设高度阈值时, 确定所述无人飞行器周围的环境的人员密集程度高于预设的人员密集程度阈值。When it is determined that the UAV is in an urban area and the height of the UAV is less than a preset height threshold, it is determined that the crowd density of the environment around the UAV is higher than the preset crowd density threshold.
在一个实施例中,所述处理器401在根据所述传感数据确定所述无人飞行器周围的环境的复杂程度是否高于预设的复杂程度阈值时,具体执行如下操作:In one embodiment, when determining whether the complexity of the environment around the UAV is higher than a preset complexity threshold according to the sensing data, the processor 401 specifically performs the following operations:
获取所述无人飞行器的视觉传感器输出的图像;acquiring an image output by a visual sensor of the unmanned aerial vehicle;
根据所述图像检测所述无人飞行器周围的环境的建筑物密集程度;Detecting the building density of the environment around the UAV based on the image;
确定所述检测到的建筑物密集程度是否高于预设的建筑物密集程度阈值;或者,determining whether the detected building density is higher than a preset building density threshold; or,
根据所述图像检测所述无人飞行器周围的环境的人员密集程度;Detecting the crowd density of the environment around the unmanned aerial vehicle according to the image;
确定所述检测到的人员密集程度是否高于预设的人员密集程度阈值。It is determined whether the detected crowd density is higher than a preset crowd density threshold.
在一个实施例中,所述处理器401在根据所述传感数据确定所述无人飞行器周围的环境的复杂程度是否高于预设的复杂程度阈值时,具体执行如下操作:In one embodiment, when determining whether the complexity of the environment around the UAV is higher than a preset complexity threshold according to the sensing data, the processor 401 specifically performs the following operations:
检测所述无人飞行器周围的环境的光线昏暗程度;detecting the dimness of the environment around the UAV;
确定所述检测到的光线昏暗程度是否高于预设的光线昏暗程度阈值。It is determined whether the detected light dim level is higher than a preset light dim level threshold.
在一个实施例中,所述处理器401在根据所述传感数据确定所述无人飞行器周围的环境的复杂程度是否高于预设的复杂程度阈值时,具体执行如下操作:In one embodiment, when determining whether the complexity of the environment around the UAV is higher than a preset complexity threshold according to the sensing data, the processor 401 specifically performs the following operations:
确定所述无人飞行器的控制终端与所述无人飞行器之间的距离;determining the distance between the control terminal of the unmanned aerial vehicle and the unmanned aerial vehicle;
确定所述无人飞行器接收到的所述控制终端的控制信号的接收信号强度;determining the received signal strength of the control signal of the control terminal received by the unmanned aerial vehicle;
根据所述距离和所述接收信号强度,确定所述无人飞行器周围的环境的电磁干扰程度是否高于预设的电磁干扰程度阈值。According to the distance and the received signal strength, it is determined whether the electromagnetic interference degree of the environment around the unmanned aerial vehicle is higher than a preset electromagnetic interference degree threshold.
在一个实施例中,所述处理器401还用于执行如下操作:In one embodiment, the processor 401 is further configured to perform the following operations:
在降低所述无人飞行器的最大飞行速度之后,根据所述传感数据确定所述无人飞行器周围的环境的复杂程度是否低于所述预设的复杂程度阈值;After reducing the maximum flight speed of the unmanned aerial vehicle, determining whether the complexity of the environment around the unmanned aerial vehicle is lower than the preset complexity threshold according to the sensing data;
当所述无人飞行器周围的环境的复杂程度低于所述预设的复杂程度阈值时,恢复所述无人飞行器的最大飞行速度。When the complexity of the environment around the unmanned aerial vehicle is lower than the preset complexity threshold, the maximum flying speed of the unmanned aerial vehicle is restored.
在另一个实施例中,处理器401被配置为支持无人飞行器执行图3所述方法中无人飞行器相应的功能。In another embodiment, the processor 401 is configured to support the UAV to perform the corresponding functions of the UAV in the method described in FIG. 3 .
其中,所述处理器401调用所述计算机程序时用于执行:Wherein, when the processor 401 calls the computer program, it is used to execute:
获取所述无人飞行器的传感器输出的传感数据,根据所述传感数据确定所述无人飞行器周围的环境的复杂程度是否高于预设的复杂程度阈值;acquiring sensing data output by sensors of the unmanned aerial vehicle, and determining whether the complexity of the environment around the unmanned aerial vehicle is higher than a preset complexity threshold according to the sensing data;
当所述无人飞行器周围的环境的复杂程度高于所述预设的复杂程度阈值时,降低所述无人飞行器的最大飞行速度。When the complexity of the environment around the unmanned aerial vehicle is higher than the preset complexity threshold, the maximum flying speed of the unmanned aerial vehicle is reduced.
在一个实施例中,所述环境的复杂程度包括环境的建筑物密集程度、人员密集程度、电磁干扰程度、光线昏暗程度中的一种或多种。In one embodiment, the complexity of the environment includes one or more of the degree of building density, the density of people, the degree of electromagnetic interference, and the degree of dim light in the environment.
在一个实施例中,所述处理器401在获取所述无人飞行器的传感器输出的传感数据,根据所述传感数据确定所述无人飞行器周围的环境的复杂程度是否高于预设的复杂程度阈值时,具体执行如下操作:In one embodiment, the processor 401 is acquiring sensing data output by a sensor of the UAV, and determining whether the complexity of the environment around the UAV is higher than a preset level according to the sensing data When the complexity threshold is set, perform the following operations:
获取所述无人飞行器的卫星定位装置输出的位置;Obtain the position output by the satellite positioning device of the unmanned aerial vehicle;
根据所述卫星定位装置输出的位置确定所述无人飞行器周围的环境的建筑物密集程度 是否高于预设的建筑物密集程度阈值,或者所述无人飞行器周围的环境的人员密集程度是否高于预设的人员密集程度阈值。According to the position output by the satellite positioning device, determine whether the building density of the environment around the unmanned aerial vehicle is higher than a preset building density threshold, or whether the crowd density of the environment around the unmanned aerial vehicle is high at the preset crowd density threshold.
在一个实施例中,所述处理器401在根据所述卫星定位装置输出的位置确定所述无人飞行器周围的环境的建筑物密集程度是否高于预设的建筑物密集程度阈值,或者所述无人飞行器周围的环境的人员密集程度是否高于预设的人员密集程度阈值时,具体执行如下操作:In one embodiment, the processor 401 determines whether the building density of the environment around the UAV is higher than a preset building density threshold according to the position output by the satellite positioning device, or the When the crowd density of the environment around the UAV is higher than the preset crowd density threshold, specifically perform the following operations:
根据所述卫星定位装置输出的位置确定所述无人飞行器是否处于城市区域中;Determine whether the unmanned aerial vehicle is in an urban area according to the position output by the satellite positioning device;
当确定所述无人飞行器处于城市区域中时,确定所述无人飞行器周围的环境的建筑物密集程度高于预设的建筑物密集程度阈值;或者,When it is determined that the unmanned aerial vehicle is in an urban area, it is determined that the building density of the environment around the unmanned aerial vehicle is higher than a preset building density threshold; or,
当确定所述无人飞行器处于城市区域中时,确定所述无人飞行器周围的环境的人员密集程度高于预设的人员密集程度阈值。When it is determined that the UAV is in an urban area, it is determined that the crowd density of the environment around the UAV is higher than a preset crowd density threshold.
在一个实施例中,所述处理器401还用于执行如下操作:获取所述无人飞行器的高度;In one embodiment, the processor 401 is further configured to perform the following operations: obtain the altitude of the UAV;
所述处理器401在根据所述卫星定位装置输出的位置确定所述无人飞行器周围的环境的建筑物密集程度是否高于预设的建筑物密集程度阈值,或者所述无人飞行器周围的环境的人员密集程度是否高于预设的人员密集程度阈值时,具体执行如下操作:The processor 401 determines whether the building density of the environment around the unmanned aerial vehicle is higher than a preset building density threshold according to the position output by the satellite positioning device, or the environment around the unmanned aerial vehicle. When the density of the personnel is higher than the preset threshold of personnel density, perform the following operations:
根据所述卫星定位装置输出的位置和所述无人飞行器的高度,确定所述无人飞行器周围的环境的建筑物密集程度是否高于所述预设的建筑物密集程度阈值,或者所述无人飞行器周围的环境的人员密集程度是否高于所述预设的人员密集程度阈值。According to the position output by the satellite positioning device and the height of the unmanned aerial vehicle, it is determined whether the building density of the environment around the unmanned aerial vehicle is higher than the preset building density threshold, or the unmanned aerial vehicle Whether the crowd density of the environment around the human aircraft is higher than the preset crowd density threshold.
在一个实施例中,所述处理器401在根据所述卫星定位装置输出的位置和所述无人飞行器的高度,确定所述无人飞行器周围的环境的建筑物密集程度是否高于所述预设的建筑物密集程度阈值,或者所述无人飞行器周围的环境的人员密集程度是否高于所述预设的人员密集程度阈值时,具体执行如下操作:In one embodiment, the processor 401 determines, according to the position output by the satellite positioning device and the height of the unmanned aerial vehicle, whether the building density of the environment around the unmanned aerial vehicle is higher than the predetermined level. When the set building density threshold, or whether the crowd density of the environment around the UAV is higher than the preset crowd density threshold, specifically perform the following operations:
根据所述卫星定位装置输出的位置确定所述无人飞行器是否处于城市区域中;Determine whether the unmanned aerial vehicle is in an urban area according to the position output by the satellite positioning device;
当确定所述无人飞行器处于城市区域中且所述无人飞行器的高度小于预设高度阈值时,确定所述无人飞行器周围的环境的建筑物密集程度高于预设的建筑物密集程度阈值;或者,When it is determined that the unmanned aerial vehicle is in an urban area and the height of the unmanned aerial vehicle is less than a preset height threshold, it is determined that the building density of the environment around the unmanned aerial vehicle is higher than the preset building density threshold ;or,
当确定所述无人飞行器处于城市区域中且所述无人飞行器的高度小于预设高度阈值时,确定所述无人飞行器周围的环境的人员密集程度高于预设的人员密集程度阈值。When it is determined that the UAV is in an urban area and the height of the UAV is less than a preset height threshold, it is determined that the crowd density of the environment around the UAV is higher than the preset crowd density threshold.
在一个实施例中,所述处理器401在根据所述传感数据确定所述无人飞行器周围的环境的复杂程度是否高于预设的复杂程度阈值时,具体执行如下操作:In one embodiment, when determining whether the complexity of the environment around the UAV is higher than a preset complexity threshold according to the sensing data, the processor 401 specifically performs the following operations:
获取所述无人飞行器的视觉传感器输出的图像;acquiring an image output by a visual sensor of the unmanned aerial vehicle;
根据所述图像检测所述无人飞行器周围的环境的建筑物密集程度;Detecting the building density of the environment around the UAV based on the image;
确定所述检测到的建筑物密集程度是否高于预设的建筑物密集程度阈值;或者,determining whether the detected building density is higher than a preset building density threshold; or,
根据所述图像检测所述无人飞行器周围的环境的人员密集程度;Detecting the crowd density of the environment around the unmanned aerial vehicle according to the image;
确定所述检测到的人员密集程度是否高于预设的人员密集程度阈值。It is determined whether the detected crowd density is higher than a preset crowd density threshold.
在一个实施例中,所述处理器401在根据所述传感数据确定所述无人飞行器周围的环境的复杂程度是否高于预设的复杂程度阈值时,具体执行如下操作:In one embodiment, when determining whether the complexity of the environment around the UAV is higher than a preset complexity threshold according to the sensing data, the processor 401 specifically performs the following operations:
检测所述无人飞行器周围的环境的光线昏暗程度;detecting the dimness of the environment around the UAV;
确定所述检测到的光线昏暗程度是否高于预设的光线昏暗程度阈值。It is determined whether the detected light dim level is higher than a preset light dim level threshold.
在一个实施例中,所述处理器401在根据所述传感数据确定所述无人飞行器周围的环境的复杂程度是否高于预设的复杂程度阈值时,具体执行如下操作:In one embodiment, when determining whether the complexity of the environment around the UAV is higher than a preset complexity threshold according to the sensing data, the processor 401 specifically performs the following operations:
确定所述无人飞行器的控制终端与所述无人飞行器之间的距离;determining the distance between the control terminal of the unmanned aerial vehicle and the unmanned aerial vehicle;
确定所述无人飞行器接收到的所述控制终端的控制信号的接收信号强度;determining the received signal strength of the control signal of the control terminal received by the unmanned aerial vehicle;
根据所述距离和所述接收信号强度,确定所述无人飞行器周围的环境的电磁干扰程度是否高于预设的电磁干扰程度阈值。According to the distance and the received signal strength, it is determined whether the electromagnetic interference degree of the environment around the unmanned aerial vehicle is higher than a preset electromagnetic interference degree threshold.
在一个实施例中,所述处理器401还用于执行如下操作:In one embodiment, the processor 401 is further configured to perform the following operations:
在降低所述无人飞行器的最大飞行速度之后,根据所述传感数据确定所述无人飞行器周围的环境的复杂程度是否低于所述预设的复杂程度阈值;After reducing the maximum flight speed of the unmanned aerial vehicle, determining whether the complexity of the environment around the unmanned aerial vehicle is lower than the preset complexity threshold according to the sensing data;
当所述无人飞行器周围的环境的复杂程度低于所述预设的复杂程度阈值时,恢复所述无人飞行器的最大飞行速度。When the complexity of the environment around the unmanned aerial vehicle is lower than the preset complexity threshold, the maximum flying speed of the unmanned aerial vehicle is restored.
以下将结合图5对包含无人飞行器的无人飞行系统进行说明。本实施例以旋翼飞行器为例进行说明。The unmanned aerial system including the unmanned aerial vehicle will be described below with reference to FIG. 5 . This embodiment is described by taking a rotorcraft as an example.
无人飞行系统100可以包括无人飞行器110、载体120和控制设备。其中,无人飞行器110可以包括动力系统150、飞行控制系统160、机架170。无人飞行器110可以与控制设备进行无线通信。Unmanned aerial system 100 may include unmanned aerial vehicle 110, carrier 120, and control equipment. The UAV 110 may include a power system 150 , a flight control system 160 , and a frame 170 . The UAV 110 may communicate wirelessly with the control device.
机架170可以包括机身和脚架(也称为起落架)。机身可以包括中心架以及与中心架连接的一个或多个机臂,一个或多个机臂呈辐射状从中心架延伸出。脚架与机身连接,用于在无人飞行器110着陆时起支撑作用。机架170上可以安装一个或多个指示灯,例如安装在机臂上的机臂灯。 Frame 170 may include a fuselage and legs (also known as landing gear). The fuselage may include a center frame and one or more arms connected to the center frame, the one or more arms extending radially from the center frame. The tripod is connected with the fuselage, and is used for supporting when the UAV 110 is landed. One or more indicator lights may be mounted on the frame 170, such as boom mounted boom lights.
动力系统150可以包括电子调速器(简称为电调)151、一个或多个螺旋桨153以及与一个或多个螺旋桨153相对应的一个或多个电机152,其中电机152连接在电子调速器151与螺旋桨153之间,电机152和螺旋桨153设置在对应的机臂上;电子调速器151用于接收飞行控制器160产生的驱动信号,并根据驱动信号提供驱动电流给电机152,以控制电机152的转速。电机152用于驱动螺旋桨旋转,从而为无人飞行器110的飞行提供动力,该动力使得无人飞行器110能够实现一个或多个自由度的运动。应理解,电机152可以是直流电机,也可以交流电机。另外,电机152可以是无刷电机,也可以有刷电机。动力系统150对应上述实施例中的动力部件。The power system 150 may include an electronic governor (referred to as ESC for short) 151, one or more propellers 153, and one or more electric motors 152 corresponding to the one or more propellers 153, wherein the electric motor 152 is connected to the electronic governor Between 151 and the propeller 153, the motor 152 and the propeller 153 are arranged on the corresponding arms; the electronic governor 151 is used to receive the driving signal generated by the flight controller 160, and provide the driving current to the motor 152 according to the driving signal to control the The rotational speed of the motor 152 . The motor 152 is used to drive the propeller to rotate, thereby providing power for the flight of the UAV 110, and the power enables the UAV 110 to achieve one or more degrees of freedom movement. It should be understood that the motor 152 may be a DC motor or an AC motor. In addition, the motor 152 may be a brushless motor or a brushed motor. The power system 150 corresponds to the power components in the above-described embodiments.
飞行控制系统160可以包括飞行控制器161和传感系统162。传感系统162用于测量无人飞行器的传感数据。传感系统162例如可以包括陀螺仪、电子罗盘、IMU、视觉传感器(例如,单目摄像头或双/多目摄像头等)、GPS、气压计和视觉惯导里程计等传感器中的至少一种。飞行控制器161用于控制无人飞行器110,例如,可以根据传感系统162测量的传感数据控制无人飞行器110执行展示工作任务。 Flight control system 160 may include flight controller 161 and sensing system 162 . Sensing system 162 is used to measure sensory data of the unmanned aerial vehicle. The sensing system 162 may include, for example, at least one of a gyroscope, an electronic compass, an IMU, a visual sensor (eg, a monocular camera or a dual/multi-eye camera, etc.), GPS, a barometer, and a visual inertial navigation odometer. The flight controller 161 is used to control the unmanned aerial vehicle 110 , for example, the unmanned aerial vehicle 110 may be controlled to perform a display work task according to the sensing data measured by the sensing system 162 .
载体120可以用来承载负载180。例如,当载体120为云台设备时,负载180可以为拍摄设备(例如,相机、摄像机等),本申请的实施例并不限于此,例如,载体也可以是用于承载武器或其它负载的承载设备。示例性的,负载180还可以为喷头。Carrier 120 may be used to carry load 180 . For example, when the carrier 120 is a pan/tilt device, the payload 180 may be a photographing device (eg, a camera, a video camera, etc.), and the embodiments of the present application are not limited thereto, for example, the carrier may also be used to carry weapons or other payloads carrying equipment. Exemplarily, the load 180 may also be a spray head.
本申请实施例还提供一种无人飞行器,所述无人飞行器可以包括机身;设置在机身上 的动力系统,用于提供飞行动力;传感器,安装在所述机身,用于输出传感数据;以及如本申请实施例图4所述的无人飞行器的控制装置。Embodiments of the present application further provide an unmanned aerial vehicle, which may include a fuselage; a power system disposed on the fuselage for providing flight power; a sensor installed on the fuselage for outputting transmission power sensory data; and the control device of the unmanned aerial vehicle as described in FIG. 4 in the embodiment of the present application.
在一种实现方式中,所述无人飞行器还可以包括通信设备,所述通信设备安装在所述机身,所述通信设备用于与其他设备进行交互。In one implementation, the UAV may further include a communication device mounted on the fuselage for interacting with other devices.
在一种实现方式中,所述传感器至少包括如下的一种:卫星定位装置,视觉传感器,不同于视觉传感器的其他类型的传感器。In an implementation manner, the sensor includes at least one of the following: a satellite positioning device, a visual sensor, and other types of sensors different from the visual sensor.
本申请实施例还提供一种可读存储介质,所述可读存储介质存储有计算机程序,所述计算机程序被处理器执行时,可以用于实现本申请实施例图1至图3所对应实施例中描述的无人飞行器的控制方法,在此不再赘述。An embodiment of the present application further provides a readable storage medium, where the readable storage medium stores a computer program, and when the computer program is executed by a processor, it can be used to implement the implementations corresponding to FIG. 1 to FIG. 3 in the embodiment of the present application The control method of the unmanned aerial vehicle described in the example will not be repeated here.
所述计算机可读存储介质可以是前述任一实施例所述的无人飞行器的内部存储单元,例如硬盘或内存。所述计算机可读存储介质也可以是所述无人飞行器的外部存储设备,例如插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,所述计算机可读存储介质还可以既包括所述无人飞行器的内部存储单元也包括外部存储设备。所述计算机可读存储介质用于存储所述计算机程序以及所述无人飞行器所需的其他程序和数据。所述计算机可读存储介质还可以用于暂时地存储已经输出或者将要输出的数据。The computer-readable storage medium may be an internal storage unit of the UAV described in any of the foregoing embodiments, such as a hard disk or a memory. The computer-readable storage medium can also be an external storage device of the UAV, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash memory card ( Flash Card), etc. Further, the computer-readable storage medium may also include both an internal storage unit of the UAV and an external storage device. The computer-readable storage medium is used to store the computer program and other programs and data required by the UAV. The computer-readable storage medium can also be used to temporarily store data that has been or will be output.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一可读取存储介质中,所述程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、ROM或RAM等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented by instructing relevant hardware through a computer program, and the program can be stored in a readable storage medium, and the program During execution, the processes of the embodiments of the above-mentioned methods may be included. Wherein, the storage medium may be a magnetic disk, an optical disk, a ROM or a RAM, and the like.
以上所揭露的仅为本申请较佳实施例而已,当然不能以此来限定本申请之权利范围,因此依本申请权利要求所作的等同变化,仍属本申请所涵盖的范围。The above disclosures are only the preferred embodiments of the present application, and of course, the scope of the rights of the present application cannot be limited by this. Therefore, equivalent changes made according to the claims of the present application are still within the scope of the present application.

Claims (52)

  1. 一种无人飞行器的控制方法,其特征在于,包括:A control method for an unmanned aerial vehicle, comprising:
    获取所述无人飞行器的传感器输出的传感数据,根据所述传感数据确定所述无人飞行器周围的环境的复杂程度是否高于预设的复杂程度阈值;acquiring sensing data output by sensors of the unmanned aerial vehicle, and determining whether the complexity of the environment around the unmanned aerial vehicle is higher than a preset complexity threshold according to the sensing data;
    检测所述无人飞行器的避障功能是否处于关闭状态;Detecting whether the obstacle avoidance function of the UAV is turned off;
    当所述避障功能处于关闭状态且所述无人飞行器周围的环境的复杂程度高于所述预设的复杂程度阈值时,开启所述无人飞行器的避障功能。When the obstacle avoidance function is disabled and the complexity of the environment around the unmanned aerial vehicle is higher than the preset complexity threshold, the obstacle avoidance function of the unmanned aerial vehicle is enabled.
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:向所述无人飞行器的控制终端发送已经开启避障功能的提示信息。The method according to claim 1, wherein the method further comprises: sending a prompt message that the obstacle avoidance function has been enabled to the control terminal of the unmanned aerial vehicle.
  3. 根据权利要求1或2所述的方法,其特征在于,所述环境的复杂程度包括环境的建筑物密集程度、人员密集程度、电磁干扰程度、光线昏暗程度中的一种或多种。The method according to claim 1 or 2, wherein the complexity of the environment includes one or more of the density of buildings, the density of people, the degree of electromagnetic interference, and the degree of dim light in the environment.
  4. 根据权利要求1所述的方法,其特征在于,所述获取所述无人飞行器的传感器输出的传感数据,根据所述传感数据确定所述无人飞行器周围的环境的复杂程度是否高于预设的复杂程度阈值,包括:The method according to claim 1, wherein the acquiring sensing data output by a sensor of the unmanned aerial vehicle, and determining whether the complexity of the environment around the unmanned aerial vehicle is higher than the complexity of the environment around the unmanned aerial vehicle according to the sensing data Preset complexity thresholds, including:
    获取所述无人飞行器的卫星定位装置输出的位置;Obtain the position output by the satellite positioning device of the unmanned aerial vehicle;
    根据所述卫星定位装置输出的位置确定所述无人飞行器周围的环境的建筑物密集程度是否高于预设的建筑物密集程度阈值,或者所述无人飞行器周围的环境的人员密集程度是否高于预设的人员密集程度阈值。According to the position output by the satellite positioning device, determine whether the building density of the environment around the unmanned aerial vehicle is higher than a preset building density threshold, or whether the crowd density of the environment around the unmanned aerial vehicle is high at the preset crowd density threshold.
  5. 根据权利要求4所述的方法,其特征在于,所述根据所述卫星定位装置输出的位置确定所述无人飞行器周围的环境的建筑物密集程度是否高于预设的建筑物密集程度阈值,或者所述无人飞行器周围的环境的人员密集程度是否高于预设的人员密集程度阈值,包括:The method according to claim 4, wherein determining whether the building density of the environment around the UAV is higher than a preset building density threshold according to the position output by the satellite positioning device, Or whether the crowd density of the environment around the UAV is higher than a preset crowd density threshold, including:
    根据所述卫星定位装置输出的位置确定所述无人飞行器是否处于城市区域中;Determine whether the unmanned aerial vehicle is in an urban area according to the position output by the satellite positioning device;
    当确定所述无人飞行器处于城市区域中时,确定所述无人飞行器周围的环境的建筑物密集程度高于预设的建筑物密集程度阈值;或者,When it is determined that the unmanned aerial vehicle is in an urban area, it is determined that the building density of the environment around the unmanned aerial vehicle is higher than a preset building density threshold; or,
    当确定所述无人飞行器处于城市区域中时,确定所述无人飞行器周围的环境的人员密集程度高于预设的人员密集程度阈值。When it is determined that the UAV is in an urban area, it is determined that the crowd density of the environment around the UAV is higher than a preset crowd density threshold.
  6. 根据权利要求4所述的方法,其特征在于,所述方法还包括:获取所述无人飞行器的高度;The method according to claim 4, wherein the method further comprises: acquiring the altitude of the unmanned aerial vehicle;
    所述根据所述卫星定位装置输出的位置确定所述无人飞行器周围的环境的建筑物密集程度是否高于预设的建筑物密集程度阈值,或者所述无人飞行器周围的环境的人员密集程度是否高于预设的人员密集程度阈值,包括:Determining whether the building density of the environment around the UAV is higher than a preset building density threshold according to the position output by the satellite positioning device, or the crowd density of the environment around the UAV Is it higher than the preset crowd density threshold, including:
    根据所述卫星定位装置输出的位置和所述无人飞行器的高度,确定所述无人飞行器周 围的环境的建筑物密集程度是否高于所述预设的建筑物密集程度阈值,或者所述无人飞行器周围的环境的人员密集程度是否高于所述预设的人员密集程度阈值。According to the position output by the satellite positioning device and the height of the unmanned aerial vehicle, it is determined whether the building density of the environment around the unmanned aerial vehicle is higher than the preset building density threshold, or the unmanned aerial vehicle Whether the crowd density of the environment around the human aircraft is higher than the preset crowd density threshold.
  7. 根据权利要求6所述的方法,其特征在于,所述根据所述卫星定位装置输出的位置和所述无人飞行器的高度,确定所述无人飞行器周围的环境的建筑物密集程度是否高于所述预设的建筑物密集程度阈值,或者所述无人飞行器周围的环境的人员密集程度是否高于所述预设的人员密集程度阈值,包括:The method according to claim 6, wherein, according to the position output by the satellite positioning device and the height of the unmanned aerial vehicle, it is determined whether the density of buildings in the environment around the unmanned aerial vehicle is higher than that of the unmanned aerial vehicle. The preset building density threshold, or whether the crowd density of the environment around the UAV is higher than the preset crowd density threshold, including:
    根据所述卫星定位装置输出的位置确定所述无人飞行器是否处于城市区域中;Determine whether the unmanned aerial vehicle is in an urban area according to the position output by the satellite positioning device;
    当确定所述无人飞行器处于城市区域中且所述无人飞行器的高度小于预设高度阈值时,确定所述无人飞行器周围的环境的建筑物密集程度高于预设的建筑物密集程度阈值;或者,When it is determined that the unmanned aerial vehicle is in an urban area and the height of the unmanned aerial vehicle is less than a preset height threshold, it is determined that the building density of the environment around the unmanned aerial vehicle is higher than the preset building density threshold ;or,
    当确定所述无人飞行器处于城市区域中且所述无人飞行器的高度小于预设高度阈值时,确定所述无人飞行器周围的环境的人员密集程度高于预设的人员密集程度阈值。When it is determined that the UAV is in an urban area and the height of the UAV is less than a preset height threshold, it is determined that the crowd density of the environment around the UAV is higher than the preset crowd density threshold.
  8. 根据权利要求1所述的方法,其特征在于,所述根据所述传感数据确定所述无人飞行器周围的环境的复杂程度是否高于预设的复杂程度阈值,包括:The method according to claim 1, wherein the determining, according to the sensing data, whether the complexity of the environment around the UAV is higher than a preset complexity threshold, comprising:
    获取所述无人飞行器的视觉传感器输出的图像;acquiring an image output by a visual sensor of the unmanned aerial vehicle;
    根据所述图像检测所述无人飞行器周围的环境的建筑物密集程度;Detecting the building density of the environment around the UAV based on the image;
    确定所述检测到的建筑物密集程度是否高于预设的建筑物密集程度阈值;或者,determining whether the detected building density is higher than a preset building density threshold; or,
    根据所述图像检测所述无人飞行器周围的环境的人员密集程度;Detecting the crowd density of the environment around the unmanned aerial vehicle according to the image;
    确定所述检测到的人员密集程度是否高于预设的人员密集程度阈值。It is determined whether the detected crowd density is higher than a preset crowd density threshold.
  9. 根据权利要求1所述的方法,其特征在于,所述无人飞行器的所述避障功能是根据不同于视觉传感器的其他类型的传感器测量得到的距离来为无人飞行器实施避障,所述根据所述传感数据确定所述无人飞行器周围的环境的复杂程度是否高于预设的复杂程度阈值,包括:The method according to claim 1, wherein the obstacle avoidance function of the unmanned aerial vehicle is to implement obstacle avoidance for the unmanned aerial vehicle according to distances measured by other types of sensors different from the visual sensor, and the Determine whether the complexity of the environment around the UAV is higher than a preset complexity threshold according to the sensing data, including:
    检测所述无人飞行器周围的环境的光线昏暗程度;detecting the dimness of the environment around the UAV;
    确定所述检测到的光线昏暗程度是否高于预设的光线昏暗程度阈值。It is determined whether the detected light dim level is higher than a preset light dim level threshold.
  10. 根据权利要求1所述的方法,其特征在于,所述根据所述传感数据确定所述无人飞行器周围的环境的复杂程度是否高于预设的复杂程度阈值,包括:The method according to claim 1, wherein the determining, according to the sensing data, whether the complexity of the environment around the UAV is higher than a preset complexity threshold, comprising:
    确定所述无人飞行器的控制终端与所述无人飞行器之间的距离;determining the distance between the control terminal of the unmanned aerial vehicle and the unmanned aerial vehicle;
    确定所述无人飞行器接收到的所述控制终端的控制信号的接收信号强度;determining the received signal strength of the control signal of the control terminal received by the unmanned aerial vehicle;
    根据所述距离和所述接收信号强度,确定所述无人飞行器周围的环境的电磁干扰程度是否高于预设的电磁干扰程度阈值。According to the distance and the received signal strength, it is determined whether the electromagnetic interference degree of the environment around the unmanned aerial vehicle is higher than a preset electromagnetic interference degree threshold.
  11. 根据权利要求1所述的方法,其特征在于,所述无人飞行器的所述避障功能是根据视觉传感器测量得到的距离来为所述无人飞行器实施避障,所述方法还包括:The method according to claim 1, wherein the obstacle avoidance function of the unmanned aerial vehicle is to implement obstacle avoidance for the unmanned aerial vehicle according to the distance measured by a visual sensor, and the method further comprises:
    当所述避障功能处于关闭状态且所述无人飞行器周围的环境的光线昏暗程度高于预设 的光线昏暗程度阈值时,降低所述无人飞行器的最大飞行速度。When the obstacle avoidance function is turned off and the dimness of the environment around the unmanned aerial vehicle is higher than a preset dimness threshold, the maximum flight speed of the unmanned aerial vehicle is reduced.
  12. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method according to claim 1, wherein the method further comprises:
    在开启所述无人飞行器的避障功能之后,根据所述传感数据确定所述无人飞行器周围的环境的复杂程度是否低于所述预设的复杂程度阈值;After turning on the obstacle avoidance function of the unmanned aerial vehicle, determining whether the complexity of the environment around the unmanned aerial vehicle is lower than the preset complexity threshold according to the sensing data;
    当所述无人飞行器周围的环境的复杂程度低于所述预设的复杂程度阈值时,关闭所述无人飞行器的避障功能。When the complexity of the environment around the UAV is lower than the preset complexity threshold, the obstacle avoidance function of the UAV is turned off.
  13. 一种无人飞行器的控制方法,其特征在于,包括:A control method for an unmanned aerial vehicle, comprising:
    获取所述无人飞行器的传感器输出的传感数据,根据所述传感数据确定所述无人飞行器周围的环境的复杂程度是否高于预设的复杂程度阈值;acquiring sensing data output by sensors of the unmanned aerial vehicle, and determining whether the complexity of the environment around the unmanned aerial vehicle is higher than a preset complexity threshold according to the sensing data;
    检测所述无人飞行器的避障功能是否处于关闭状态;Detecting whether the obstacle avoidance function of the UAV is turned off;
    当所述避障功能处于关闭状态且所述无人飞行器周围的环境的复杂程度高于所述预设的复杂程度阈值时,降低所述无人飞行器的最大飞行速度。When the obstacle avoidance function is turned off and the complexity of the environment around the unmanned aerial vehicle is higher than the preset complexity threshold, the maximum flying speed of the unmanned aerial vehicle is reduced.
  14. 根据权利要求13所述的方法,其特征在于,所述环境的复杂程度包括环境的建筑物密集程度、人员密集程度、电磁干扰程度、光线昏暗程度中的一种或多种。The method according to claim 13, wherein the complexity of the environment includes one or more of the density of buildings, the density of people, the degree of electromagnetic interference, and the degree of dim light in the environment.
  15. 根据权利要求13所述的方法,其特征在于,所述获取所述无人飞行器的传感器输出的传感数据,根据所述传感数据确定所述无人飞行器周围的环境的复杂程度是否高于预设的复杂程度阈值,包括:The method according to claim 13, wherein the acquiring sensing data output by a sensor of the unmanned aerial vehicle, and determining, according to the sensing data, whether the complexity of the environment around the unmanned aerial vehicle is higher than that of the unmanned aerial vehicle. Preset complexity thresholds, including:
    获取所述无人飞行器的卫星定位装置输出的位置;Obtain the position output by the satellite positioning device of the unmanned aerial vehicle;
    根据所述卫星定位装置输出的位置确定所述无人飞行器周围的环境的建筑物密集程度是否高于预设的建筑物密集程度阈值,或者所述无人飞行器周围的环境的人员密集程度是否高于预设的人员密集程度阈值。According to the position output by the satellite positioning device, determine whether the building density of the environment around the unmanned aerial vehicle is higher than a preset building density threshold, or whether the crowd density of the environment around the unmanned aerial vehicle is high at the preset crowd density threshold.
  16. 根据权利要求15所述的方法,其特征在于,所述根据所述卫星定位装置输出的位置确定所述无人飞行器周围的环境的建筑物密集程度是否高于预设的建筑物密集程度阈值,或者所述无人飞行器周围的环境的人员密集程度是否高于预设的人员密集程度阈值,包括:The method according to claim 15, wherein the determining whether the building density of the environment around the UAV is higher than a preset building density threshold according to the position output by the satellite positioning device, Or whether the crowd density of the environment around the UAV is higher than a preset crowd density threshold, including:
    根据所述卫星定位装置输出的位置确定所述无人飞行器是否处于城市区域中;Determine whether the unmanned aerial vehicle is in an urban area according to the position output by the satellite positioning device;
    当确定所述无人飞行器处于城市区域中时,确定所述无人飞行器周围的环境的建筑物密集程度高于预设的建筑物密集程度阈值;或者,When it is determined that the unmanned aerial vehicle is in an urban area, it is determined that the building density of the environment around the unmanned aerial vehicle is higher than a preset building density threshold; or,
    当确定所述无人飞行器处于城市区域中时,确定所述无人飞行器周围的环境的人员密集程度高于预设的人员密集程度阈值。When it is determined that the UAV is in an urban area, it is determined that the crowd density of the environment around the UAV is higher than a preset crowd density threshold.
  17. 根据权利要求15所述的方法,其特征在于,所述方法还包括:获取所述无人飞行器的高度;The method according to claim 15, wherein the method further comprises: obtaining the altitude of the unmanned aerial vehicle;
    所述根据所述卫星定位装置输出的位置确定所述无人飞行器周围的环境的建筑物密集 程度是否高于预设的建筑物密集程度阈值,或者所述无人飞行器周围的环境的人员密集程度是否高于预设的人员密集程度阈值,包括:Determining whether the building density of the environment around the UAV is higher than a preset building density threshold according to the position output by the satellite positioning device, or the crowd density of the environment around the UAV Is it higher than the preset crowd density threshold, including:
    根据所述卫星定位装置输出的位置和所述无人飞行器的高度,确定所述无人飞行器周围的环境的建筑物密集程度是否高于所述预设的建筑物密集程度阈值,或者所述无人飞行器周围的环境的人员密集程度是否高于所述预设的人员密集程度阈值。According to the position output by the satellite positioning device and the height of the unmanned aerial vehicle, it is determined whether the building density of the environment around the unmanned aerial vehicle is higher than the preset building density threshold, or the unmanned aerial vehicle Whether the crowd density of the environment around the human aircraft is higher than the preset crowd density threshold.
  18. 根据权利要求17所述的方法,其特征在于,所述根据所述卫星定位装置输出的位置和所述无人飞行器的高度,确定所述无人飞行器周围的环境的建筑物密集程度是否高于所述预设的建筑物密集程度阈值,或者所述无人飞行器周围的环境的人员密集程度是否高于所述预设的人员密集程度阈值,包括:The method according to claim 17, wherein, according to the position output by the satellite positioning device and the height of the unmanned aerial vehicle, it is determined whether the density of buildings in the environment around the unmanned aerial vehicle is higher than that of the unmanned aerial vehicle. The preset building density threshold, or whether the crowd density of the environment around the UAV is higher than the preset crowd density threshold, including:
    根据所述卫星定位装置输出的位置确定所述无人飞行器是否处于城市区域中;Determine whether the unmanned aerial vehicle is in an urban area according to the position output by the satellite positioning device;
    当确定所述无人飞行器处于城市区域中且所述无人飞行器的高度小于预设高度阈值时,确定所述无人飞行器周围的环境的建筑物密集程度高于预设的建筑物密集程度阈值;或者,When it is determined that the unmanned aerial vehicle is in an urban area and the height of the unmanned aerial vehicle is less than a preset height threshold, it is determined that the building density of the environment around the unmanned aerial vehicle is higher than the preset building density threshold ;or,
    当确定所述无人飞行器处于城市区域中且所述无人飞行器的高度小于预设高度阈值时,确定所述无人飞行器周围的环境的人员密集程度高于预设的人员密集程度阈值。When it is determined that the UAV is in an urban area and the height of the UAV is less than a preset height threshold, it is determined that the crowd density of the environment around the UAV is higher than the preset crowd density threshold.
  19. 根据权利要求13所述的方法,其特征在于,所述根据所述传感数据确定所述无人飞行器周围的环境的复杂程度是否高于预设的复杂程度阈值,包括:The method according to claim 13, wherein the determining, according to the sensing data, whether the complexity of the environment around the UAV is higher than a preset complexity threshold, comprising:
    获取所述无人飞行器的视觉传感器输出的图像;acquiring an image output by a visual sensor of the unmanned aerial vehicle;
    根据所述图像检测所述无人飞行器周围的环境的建筑物密集程度;Detecting the building density of the environment around the UAV based on the image;
    确定所述检测到的建筑物密集程度是否高于预设的建筑物密集程度阈值;或者,determining whether the detected building density is higher than a preset building density threshold; or,
    根据所述图像检测所述无人飞行器周围的环境的人员密集程度;Detecting the crowd density of the environment around the unmanned aerial vehicle according to the image;
    确定所述检测到的人员密集程度是否高于预设的人员密集程度阈值。It is determined whether the detected crowd density is higher than a preset crowd density threshold.
  20. 根据权利要求13所述的方法,其特征在于,所述根据所述传感数据确定所述无人飞行器周围的环境的复杂程度是否高于预设的复杂程度阈值,包括:The method according to claim 13, wherein the determining, according to the sensing data, whether the complexity of the environment around the UAV is higher than a preset complexity threshold, comprising:
    检测所述无人飞行器周围的环境的光线昏暗程度;detecting the dimness of the environment around the UAV;
    确定所述检测到的光线昏暗程度是否高于预设的光线昏暗程度阈值。It is determined whether the detected light dim level is higher than a preset light dim level threshold.
  21. 根据权利要求13所述的方法,其特征在于,所述根据所述传感数据确定所述无人飞行器周围的环境的复杂程度是否高于预设的复杂程度阈值,包括:The method according to claim 13, wherein the determining, according to the sensing data, whether the complexity of the environment around the UAV is higher than a preset complexity threshold, comprising:
    确定所述无人飞行器的控制终端与所述无人飞行器之间的距离;determining the distance between the control terminal of the unmanned aerial vehicle and the unmanned aerial vehicle;
    确定所述无人飞行器接收到的所述控制终端的控制信号的接收信号强度;determining the received signal strength of the control signal of the control terminal received by the unmanned aerial vehicle;
    根据所述距离和所述接收信号强度,确定所述无人飞行器周围的环境的电磁干扰程度是否高于预设的电磁干扰程度阈值。According to the distance and the received signal strength, it is determined whether the electromagnetic interference degree of the environment around the unmanned aerial vehicle is higher than a preset electromagnetic interference degree threshold.
  22. 根据权利要求13所述的方法,其特征在于,所述方法还包括:The method of claim 13, wherein the method further comprises:
    在降低所述无人飞行器的最大飞行速度之后,根据所述传感数据确定所述无人飞行器 周围的环境的复杂程度是否低于所述预设的复杂程度阈值;After reducing the maximum flight speed of the unmanned aerial vehicle, determine whether the complexity of the environment around the unmanned aerial vehicle is lower than the preset complexity threshold according to the sensing data;
    当所述无人飞行器周围的环境的复杂程度低于所述预设的复杂程度阈值时,恢复所述无人飞行器的最大飞行速度。When the complexity of the environment around the unmanned aerial vehicle is lower than the preset complexity threshold, restore the maximum flying speed of the unmanned aerial vehicle.
  23. 一种无人飞行器的控制装置,其特征在于,包括存储器和处理器,其中,A control device for an unmanned aerial vehicle, comprising a memory and a processor, wherein,
    所述存储器,用于存储有程序代码;the memory for storing program codes;
    所述处理器,调用存储器中的程序代码,当程序代码被执行时,用于执行如下操作:The processor calls the program code in the memory, and when the program code is executed, is used to perform the following operations:
    获取所述无人飞行器的传感器输出的传感数据,根据所述传感数据确定所述无人飞行器周围的环境的复杂程度是否高于预设的复杂程度阈值;acquiring sensing data output by sensors of the unmanned aerial vehicle, and determining whether the complexity of the environment around the unmanned aerial vehicle is higher than a preset complexity threshold according to the sensing data;
    检测所述无人飞行器的避障功能是否处于关闭状态;Detecting whether the obstacle avoidance function of the UAV is turned off;
    当所述避障功能处于关闭状态且所述无人飞行器周围的环境的复杂程度高于所述预设的复杂程度阈值时,开启所述无人飞行器的避障功能。When the obstacle avoidance function is disabled and the complexity of the environment around the unmanned aerial vehicle is higher than the preset complexity threshold, the obstacle avoidance function of the unmanned aerial vehicle is enabled.
  24. 根据权利要求23所述的装置,其特征在于,所述处理器还用于执行如下操作:向所述无人飞行器的控制终端发送已经开启避障功能的提示信息。The device according to claim 23, wherein the processor is further configured to perform the following operation: sending a prompt message that the obstacle avoidance function has been enabled to the control terminal of the unmanned aerial vehicle.
  25. 根据权利要求23或24所述的装置,其特征在于,所述环境的复杂程度包括环境的建筑物密集程度、人员密集程度、电磁干扰程度、光线昏暗程度中的一种或多种。The device according to claim 23 or 24, wherein the complexity of the environment includes one or more of the density of buildings, the density of people, the degree of electromagnetic interference, and the degree of dim light in the environment.
  26. 根据权利要求23所述的装置,其特征在于,所述处理器在获取所述无人飞行器的传感器输出的传感数据,根据所述传感数据确定所述无人飞行器周围的环境的复杂程度是否高于预设的复杂程度阈值时,具体执行如下操作:The device according to claim 23, wherein the processor is acquiring sensing data output by a sensor of the unmanned aerial vehicle, and determining the complexity of the environment around the unmanned aerial vehicle according to the sensing data When it is higher than the preset complexity threshold, perform the following operations:
    获取所述无人飞行器的卫星定位装置输出的位置;Obtain the position output by the satellite positioning device of the unmanned aerial vehicle;
    根据所述卫星定位装置输出的位置确定所述无人飞行器周围的环境的建筑物密集程度是否高于预设的建筑物密集程度阈值,或者所述无人飞行器周围的环境的人员密集程度是否高于预设的人员密集程度阈值。According to the position output by the satellite positioning device, determine whether the building density of the environment around the unmanned aerial vehicle is higher than a preset building density threshold, or whether the crowd density of the environment around the unmanned aerial vehicle is high at the preset crowd density threshold.
  27. 根据权利要求26所述的装置,其特征在于,所述处理器在根据所述卫星定位装置输出的位置确定所述无人飞行器周围的环境的建筑物密集程度是否高于预设的建筑物密集程度阈值,或者所述无人飞行器周围的环境的人员密集程度是否高于预设的人员密集程度阈值时,具体执行如下操作:The device according to claim 26, wherein the processor determines whether the building density of the environment around the UAV is higher than a preset building density according to the position output by the satellite positioning device When the degree threshold is set, or whether the crowd density of the environment around the UAV is higher than the preset crowd density threshold, the following operations are specifically performed:
    根据所述卫星定位装置输出的位置确定所述无人飞行器是否处于城市区域中;Determine whether the unmanned aerial vehicle is in an urban area according to the position output by the satellite positioning device;
    当确定所述无人飞行器处于城市区域中时,确定所述无人飞行器周围的环境的建筑物密集程度高于预设的建筑物密集程度阈值;或者,When it is determined that the unmanned aerial vehicle is in an urban area, it is determined that the building density of the environment around the unmanned aerial vehicle is higher than a preset building density threshold; or,
    当确定所述无人飞行器处于城市区域中时,确定所述无人飞行器周围的环境的人员密集程度高于预设的人员密集程度阈值。When it is determined that the UAV is in an urban area, it is determined that the crowd density of the environment around the UAV is higher than a preset crowd density threshold.
  28. 根据权利要求26所述的装置,其特征在于,所述处理器还用于执行如下操作:获 取所述无人飞行器的高度;The device according to claim 26, wherein the processor is further configured to perform the following operations: obtain the altitude of the unmanned aerial vehicle;
    所述处理器在根据所述卫星定位装置输出的位置确定所述无人飞行器周围的环境的建筑物密集程度是否高于预设的建筑物密集程度阈值,或者所述无人飞行器周围的环境的人员密集程度是否高于预设的人员密集程度阈值时,具体执行如下操作:The processor determines, according to the position output by the satellite positioning device, whether the building density of the environment around the UAV is higher than a preset building density threshold, or whether the environment around the UAV is more densely populated. When the crowd density is higher than the preset crowd density threshold, perform the following operations:
    根据所述卫星定位装置输出的位置和所述无人飞行器的高度,确定所述无人飞行器周围的环境的建筑物密集程度是否高于所述预设的建筑物密集程度阈值,或者所述无人飞行器周围的环境的人员密集程度是否高于所述预设的人员密集程度阈值。According to the position output by the satellite positioning device and the height of the unmanned aerial vehicle, it is determined whether the building density of the environment around the unmanned aerial vehicle is higher than the preset building density threshold, or the unmanned aerial vehicle Whether the crowd density of the environment around the human aircraft is higher than the preset crowd density threshold.
  29. 根据权利要求28所述的装置,其特征在于,所述处理器在根据所述卫星定位装置输出的位置和所述无人飞行器的高度,确定所述无人飞行器周围的环境的建筑物密集程度是否高于所述预设的建筑物密集程度阈值,或者所述无人飞行器周围的环境的人员密集程度是否高于所述预设的人员密集程度阈值时,具体执行如下操作:The device according to claim 28, wherein the processor determines the building density of the environment around the UAV according to the position output by the satellite positioning device and the altitude of the UAV When it is higher than the preset building density threshold, or whether the crowd density of the environment around the UAV is higher than the preset crowd density threshold, specifically perform the following operations:
    根据所述卫星定位装置输出的位置确定所述无人飞行器是否处于城市区域中;Determine whether the unmanned aerial vehicle is in an urban area according to the position output by the satellite positioning device;
    当确定所述无人飞行器处于城市区域中且所述无人飞行器的高度小于预设高度阈值时,确定所述无人飞行器周围的环境的建筑物密集程度高于预设的建筑物密集程度阈值;或者,When it is determined that the unmanned aerial vehicle is in an urban area and the height of the unmanned aerial vehicle is less than a preset height threshold, it is determined that the building density of the environment around the unmanned aerial vehicle is higher than the preset building density threshold ;or,
    当确定所述无人飞行器处于城市区域中且所述无人飞行器的高度小于预设高度阈值时,确定所述无人飞行器周围的环境的人员密集程度高于预设的人员密集程度阈值。When it is determined that the UAV is in an urban area and the height of the UAV is less than a preset height threshold, it is determined that the crowd density of the environment around the UAV is higher than the preset crowd density threshold.
  30. 根据权利要求23所述的装置,其特征在于,所述处理器在根据所述传感数据确定所述无人飞行器周围的环境的复杂程度是否高于预设的复杂程度阈值时,具体执行如下操作:The apparatus according to claim 23, wherein when the processor determines whether the complexity of the environment around the UAV is higher than a preset complexity threshold according to the sensing data, the processor specifically performs the following steps: operate:
    获取所述无人飞行器的视觉传感器输出的图像;acquiring an image output by a visual sensor of the unmanned aerial vehicle;
    根据所述图像检测所述无人飞行器周围的环境的建筑物密集程度;Detecting the building density of the environment around the UAV based on the image;
    确定所述检测到的建筑物密集程度是否高于预设的建筑物密集程度阈值;或者,determining whether the detected building density is higher than a preset building density threshold; or,
    根据所述图像检测所述无人飞行器周围的环境的人员密集程度;Detecting the crowd density of the environment around the unmanned aerial vehicle according to the image;
    确定所述检测到的人员密集程度是否高于预设的人员密集程度阈值。It is determined whether the detected crowd density is higher than a preset crowd density threshold.
  31. 根据权利要求23所述的装置,其特征在于,所述无人飞行器的所述避障功能是根据不同于视觉传感器的其他类型的传感器测量得到的距离来为无人飞行器实施避障,所述处理器在根据所述传感数据确定所述无人飞行器周围的环境的复杂程度是否高于预设的复杂程度阈值时,具体执行如下操作:The device according to claim 23, wherein the obstacle avoidance function of the unmanned aerial vehicle is to implement obstacle avoidance for the unmanned aerial vehicle according to the distance measured by other types of sensors different from the visual sensor, and the When determining whether the complexity of the environment around the UAV is higher than a preset complexity threshold according to the sensing data, the processor specifically performs the following operations:
    检测所述无人飞行器周围的环境的光线昏暗程度;detecting the dimness of the environment around the UAV;
    确定所述检测到的光线昏暗程度是否高于预设的光线昏暗程度阈值。It is determined whether the detected light dim level is higher than a preset light dim level threshold.
  32. 根据权利要求23所述的装置,其特征在于,所述处理器在根据所述传感数据确定所述无人飞行器周围的环境的复杂程度是否高于预设的复杂程度阈值时,具体执行如下操作:The apparatus according to claim 23, wherein when the processor determines whether the complexity of the environment around the UAV is higher than a preset complexity threshold according to the sensing data, the processor specifically performs the following steps: operate:
    确定所述无人飞行器的控制终端与所述无人飞行器之间的距离;determining the distance between the control terminal of the unmanned aerial vehicle and the unmanned aerial vehicle;
    确定所述无人飞行器接收到的所述控制终端的控制信号的接收信号强度;determining the received signal strength of the control signal of the control terminal received by the unmanned aerial vehicle;
    根据所述距离和所述接收信号强度,确定所述无人飞行器周围的环境的电磁干扰程度是否高于预设的电磁干扰程度阈值。According to the distance and the received signal strength, it is determined whether the electromagnetic interference degree of the environment around the unmanned aerial vehicle is higher than a preset electromagnetic interference degree threshold.
  33. 根据权利要求23所述的装置,其特征在于,所述无人飞行器的所述避障功能是根据视觉传感器测量得到的距离来为所述无人飞行器实施避障,所述处理器还用于执行如下操作:The device according to claim 23, wherein the obstacle avoidance function of the unmanned aerial vehicle is to implement obstacle avoidance for the unmanned aerial vehicle according to the distance measured by the visual sensor, and the processor is further configured to Do the following:
    当所述避障功能处于关闭状态且所述无人飞行器周围的环境的光线昏暗程度高于预设的光线昏暗程度阈值时,降低所述无人飞行器的最大飞行速度。When the obstacle avoidance function is turned off and the dimness of the environment around the unmanned aerial vehicle is higher than a preset dimness threshold, the maximum flight speed of the unmanned aerial vehicle is reduced.
  34. 根据权利要求23所述的装置,其特征在于,所述处理器还用于执行如下操作:The apparatus according to claim 23, wherein the processor is further configured to perform the following operations:
    在开启所述无人飞行器的避障功能之后,根据所述传感数据确定所述无人飞行器周围的环境的复杂程度是否低于所述预设的复杂程度阈值;After turning on the obstacle avoidance function of the unmanned aerial vehicle, determining whether the complexity of the environment around the unmanned aerial vehicle is lower than the preset complexity threshold according to the sensing data;
    当所述无人飞行器周围的环境的复杂程度低于所述预设的复杂程度阈值时,关闭所述无人飞行器的避障功能。When the complexity of the environment around the UAV is lower than the preset complexity threshold, the obstacle avoidance function of the UAV is turned off.
  35. 一种无人飞行器的控制装置,其特征在于,包括存储器和处理器,其中,A control device for an unmanned aerial vehicle, comprising a memory and a processor, wherein,
    所述存储器,用于存储有程序代码;the memory for storing program codes;
    所述处理器,调用存储器中的程序代码,当程序代码被执行时,用于执行如下操作:The processor calls the program code in the memory, and when the program code is executed, is used to perform the following operations:
    获取所述无人飞行器的传感器输出的传感数据,根据所述传感数据确定所述无人飞行器周围的环境的复杂程度是否高于预设的复杂程度阈值;acquiring sensing data output by sensors of the unmanned aerial vehicle, and determining whether the complexity of the environment around the unmanned aerial vehicle is higher than a preset complexity threshold according to the sensing data;
    检测所述无人飞行器的避障功能是否处于关闭状态;Detecting whether the obstacle avoidance function of the UAV is turned off;
    当所述避障功能处于关闭状态且所述无人飞行器周围的环境的复杂程度高于所述预设的复杂程度阈值时,降低所述无人飞行器的最大飞行速度。When the obstacle avoidance function is turned off and the complexity of the environment around the unmanned aerial vehicle is higher than the preset complexity threshold, the maximum flying speed of the unmanned aerial vehicle is reduced.
  36. 根据权利要求35所述的装置,其特征在于,所述环境的复杂程度包括环境的建筑物密集程度、人员密集程度、电磁干扰程度、光线昏暗程度中的一种或多种。The device according to claim 35, wherein the complexity of the environment includes one or more of the density of buildings, the density of people, the degree of electromagnetic interference, and the degree of dim light in the environment.
  37. 根据权利要求35所述的装置,其特征在于,所述处理器在获取所述无人飞行器的传感器输出的传感数据,根据所述传感数据确定所述无人飞行器周围的环境的复杂程度是否高于预设的复杂程度阈值时,具体执行如下操作:The device according to claim 35, wherein the processor is acquiring sensing data output by a sensor of the unmanned aerial vehicle, and determining the complexity of the environment around the unmanned aerial vehicle according to the sensing data When it is higher than the preset complexity threshold, perform the following operations:
    获取所述无人飞行器的卫星定位装置输出的位置;Obtain the position output by the satellite positioning device of the unmanned aerial vehicle;
    根据所述卫星定位装置输出的位置确定所述无人飞行器周围的环境的建筑物密集程度是否高于预设的建筑物密集程度阈值,或者所述无人飞行器周围的环境的人员密集程度是否高于预设的人员密集程度阈值。According to the position output by the satellite positioning device, determine whether the building density of the environment around the unmanned aerial vehicle is higher than a preset building density threshold, or whether the crowd density of the environment around the unmanned aerial vehicle is high at the preset crowd density threshold.
  38. 根据权利要求37所述的装置,其特征在于,所述处理器在根据所述卫星定位装置输出的位置确定所述无人飞行器周围的环境的建筑物密集程度是否高于预设的建筑物密集 程度阈值,或者所述无人飞行器周围的环境的人员密集程度是否高于预设的人员密集程度阈值时,具体执行如下操作:The device according to claim 37, wherein the processor determines whether the building density of the environment around the UAV is higher than a preset building density according to the position output by the satellite positioning device When the degree threshold is set, or whether the crowd density of the environment around the UAV is higher than the preset crowd density threshold, the following operations are specifically performed:
    根据所述卫星定位装置输出的位置确定所述无人飞行器是否处于城市区域中;Determine whether the unmanned aerial vehicle is in an urban area according to the position output by the satellite positioning device;
    当确定所述无人飞行器处于城市区域中时,确定所述无人飞行器周围的环境的建筑物密集程度高于预设的建筑物密集程度阈值;或者,When it is determined that the unmanned aerial vehicle is in an urban area, it is determined that the building density of the environment around the unmanned aerial vehicle is higher than a preset building density threshold; or,
    当确定所述无人飞行器处于城市区域中时,确定所述无人飞行器周围的环境的人员密集程度高于预设的人员密集程度阈值。When it is determined that the UAV is in an urban area, it is determined that the crowd density of the environment around the UAV is higher than a preset crowd density threshold.
  39. 根据权利要求37所述的装置,其特征在于,所述处理器还用于执行如下操作:获取所述无人飞行器的高度;The apparatus according to claim 37, wherein the processor is further configured to perform the following operations: obtain the altitude of the UAV;
    所述处理器在根据所述卫星定位装置输出的位置确定所述无人飞行器周围的环境的建筑物密集程度是否高于预设的建筑物密集程度阈值,或者所述无人飞行器周围的环境的人员密集程度是否高于预设的人员密集程度阈值时,具体执行如下操作:The processor determines, according to the position output by the satellite positioning device, whether the building density of the environment around the UAV is higher than a preset building density threshold, or whether the environment around the UAV is more densely populated. When the crowd density is higher than the preset crowd density threshold, perform the following operations:
    根据所述卫星定位装置输出的位置和所述无人飞行器的高度,确定所述无人飞行器周围的环境的建筑物密集程度是否高于所述预设的建筑物密集程度阈值,或者所述无人飞行器周围的环境的人员密集程度是否高于所述预设的人员密集程度阈值。According to the position output by the satellite positioning device and the height of the unmanned aerial vehicle, it is determined whether the building density of the environment around the unmanned aerial vehicle is higher than the preset building density threshold, or the unmanned aerial vehicle Whether the crowd density of the environment around the human aircraft is higher than the preset crowd density threshold.
  40. 根据权利要求39所述的装置,其特征在于,所述处理器在根据所述卫星定位装置输出的位置和所述无人飞行器的高度,确定所述无人飞行器周围的环境的建筑物密集程度是否高于所述预设的建筑物密集程度阈值,或者所述无人飞行器周围的环境的人员密集程度是否高于所述预设的人员密集程度阈值时,具体执行如下操作:The device according to claim 39, wherein the processor determines the building density of the environment around the UAV according to the position output by the satellite positioning device and the altitude of the UAV When it is higher than the preset building density threshold, or whether the crowd density of the environment around the UAV is higher than the preset crowd density threshold, specifically perform the following operations:
    根据所述卫星定位装置输出的位置确定所述无人飞行器是否处于城市区域中;Determine whether the UAV is in an urban area according to the position output by the satellite positioning device;
    当确定所述无人飞行器处于城市区域中且所述无人飞行器的高度小于预设高度阈值时,确定所述无人飞行器周围的环境的建筑物密集程度高于预设的建筑物密集程度阈值;或者,When it is determined that the unmanned aerial vehicle is in an urban area and the height of the unmanned aerial vehicle is less than a preset height threshold, it is determined that the building density of the environment around the unmanned aerial vehicle is higher than the preset building density threshold ;or,
    当确定所述无人飞行器处于城市区域中且所述无人飞行器的高度小于预设高度阈值时,确定所述无人飞行器周围的环境的人员密集程度高于预设的人员密集程度阈值。When it is determined that the UAV is in an urban area and the height of the UAV is less than a preset height threshold, it is determined that the crowd density of the environment around the UAV is higher than the preset crowd density threshold.
  41. 根据权利要求35所述的装置,其特征在于,所述处理器在根据所述传感数据确定所述无人飞行器周围的环境的复杂程度是否高于预设的复杂程度阈值时,具体执行如下操作:The device according to claim 35, wherein when the processor determines whether the complexity of the environment around the UAV is higher than a preset complexity threshold according to the sensing data, the processor specifically performs the following steps: operate:
    获取所述无人飞行器的视觉传感器输出的图像;acquiring an image output by a visual sensor of the unmanned aerial vehicle;
    根据所述图像检测所述无人飞行器周围的环境的建筑物密集程度;Detecting the building density of the environment around the UAV based on the image;
    确定所述检测到的建筑物密集程度是否高于预设的建筑物密集程度阈值;或者,determining whether the detected building density is higher than a preset building density threshold; or,
    根据所述图像检测所述无人飞行器周围的环境的人员密集程度;Detecting the crowd density of the environment around the unmanned aerial vehicle according to the image;
    确定所述检测到的人员密集程度是否高于预设的人员密集程度阈值。It is determined whether the detected crowd density is higher than a preset crowd density threshold.
  42. 根据权利要求35所述的装置,其特征在于,所述处理器在根据所述传感数据确定所述无人飞行器周围的环境的复杂程度是否高于预设的复杂程度阈值时,具体执行如下操 作:The device according to claim 35, wherein when the processor determines whether the complexity of the environment around the UAV is higher than a preset complexity threshold according to the sensing data, the processor specifically performs the following steps: operate:
    检测所述无人飞行器周围的环境的光线昏暗程度;detecting the dimness of the environment around the UAV;
    确定所述检测到的光线昏暗程度是否高于预设的光线昏暗程度阈值。It is determined whether the detected light dim level is higher than a preset light dim level threshold.
  43. 根据权利要求35所述的装置,其特征在于,所述处理器在根据所述传感数据确定所述无人飞行器周围的环境的复杂程度是否高于预设的复杂程度阈值时,具体执行如下操作:The device according to claim 35, wherein when the processor determines whether the complexity of the environment around the UAV is higher than a preset complexity threshold according to the sensing data, the processor specifically performs the following steps: operate:
    确定所述无人飞行器的控制终端与所述无人飞行器之间的距离;determining the distance between the control terminal of the unmanned aerial vehicle and the unmanned aerial vehicle;
    确定所述无人飞行器接收到的所述控制终端的控制信号的接收信号强度;determining the received signal strength of the control signal of the control terminal received by the unmanned aerial vehicle;
    根据所述距离和所述接收信号强度,确定所述无人飞行器周围的环境的电磁干扰程度是否高于预设的电磁干扰程度阈值。According to the distance and the received signal strength, it is determined whether the electromagnetic interference degree of the environment around the unmanned aerial vehicle is higher than a preset electromagnetic interference degree threshold.
  44. 根据权利要求35所述的装置,其特征在于,所述处理器还用于执行如下操作:The apparatus according to claim 35, wherein the processor is further configured to perform the following operations:
    在降低所述无人飞行器的最大飞行速度之后,根据所述传感数据确定所述无人飞行器周围的环境的复杂程度是否低于所述预设的复杂程度阈值;After reducing the maximum flight speed of the unmanned aerial vehicle, determine whether the complexity of the environment around the unmanned aerial vehicle is lower than the preset complexity threshold according to the sensing data;
    当所述无人飞行器周围的环境的复杂程度低于所述预设的复杂程度阈值时,恢复所述无人飞行器的最大飞行速度。When the complexity of the environment around the unmanned aerial vehicle is lower than the preset complexity threshold, restore the maximum flying speed of the unmanned aerial vehicle.
  45. 一种无人飞行器,其特征在于,包括:A kind of unmanned aerial vehicle, is characterized in that, comprises:
    机身;body;
    动力系统,安装在所述机身,用于为所述无人飞行器提供动力;a power system, mounted on the fuselage, for powering the unmanned aerial vehicle;
    传感器,安装在所述机身,用于输出传感数据;a sensor, mounted on the fuselage, for outputting sensing data;
    以及如权利要求23-34中任一项所述的无人飞行器的控制装置。and a control device for an unmanned aerial vehicle as claimed in any one of claims 23-34.
  46. 根据权利要求45所述的无人飞行器,其特征在于,所述无人飞行器还包括通信设备,所述通信设备安装在所述机身,所述通信设备用于与其他设备进行交互。The unmanned aerial vehicle of claim 45, wherein the unmanned aerial vehicle further comprises a communication device, the communication device being mounted on the fuselage, the communication device being used to interact with other devices.
  47. 根据权利要求45或46所述的无人飞行器,其特征在于,所述传感器至少包括如下的一种:卫星定位装置,视觉传感器,不同于视觉传感器的其他类型的传感器。The unmanned aerial vehicle according to claim 45 or 46, wherein the sensor includes at least one of the following: a satellite positioning device, a visual sensor, and other types of sensors different from the visual sensor.
  48. 一种无人飞行器,其特征在于,包括:A kind of unmanned aerial vehicle, is characterized in that, comprises:
    机身;body;
    动力系统,安装在所述机身,用于为所述无人飞行器提供动力;a power system, mounted on the fuselage, for powering the unmanned aerial vehicle;
    传感器,安装在所述机身,用于输出传感数据;a sensor, mounted on the fuselage, for outputting sensing data;
    以及如权利要求35-44中任一项所述的无人飞行器的控制装置。and a control device for an unmanned aerial vehicle as claimed in any one of claims 35-44.
  49. 根据权利要求48所述的无人飞行器,其特征在于,所述无人飞行器还包括通信设备,所述通信设备安装在所述机身,所述通信设备用于与其他设备进行交互。The unmanned aerial vehicle of claim 48, wherein the unmanned aerial vehicle further comprises a communication device, the communication device being mounted on the fuselage, the communication device being used to interact with other devices.
  50. 根据权利要求48或49所述的无人飞行器,其特征在于,所述传感器至少包括如下的一种:卫星定位装置,视觉传感器,不同于视觉传感器的其他类型的传感器。The unmanned aerial vehicle according to claim 48 or 49, wherein the sensor includes at least one of the following: a satellite positioning device, a visual sensor, and other types of sensors different from the visual sensor.
  51. 一种计算机存储介质,其特征在于,所述计算机存储介质中存储有计算机程序指令,所述计算机程序指令被处理器执行时,用于执行如权利要求23-34任一项所述的无人飞行器的控制方法。A computer storage medium, wherein computer program instructions are stored in the computer storage medium, and when the computer program instructions are executed by a processor, are used to execute the unmanned aerial vehicle according to any one of claims 23-34. The control method of the aircraft.
  52. 一种计算机存储介质,其特征在于,所述计算机存储介质中存储有计算机程序指令,所述计算机程序指令被处理器执行时,用于执行如权利要求35-44任一项所述的无人飞行器的控制方法。A computer storage medium, characterized in that, computer program instructions are stored in the computer storage medium, and when the computer program instructions are executed by a processor, the computer program instructions are used to execute the unmanned aerial vehicle according to any one of claims 35-44. The control method of the aircraft.
PCT/CN2020/105809 2020-07-30 2020-07-30 Method and apparatus for controlling unmanned aerial vehicle, and unmanned aerial vehicle and storage medium WO2022021214A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2020/105809 WO2022021214A1 (en) 2020-07-30 2020-07-30 Method and apparatus for controlling unmanned aerial vehicle, and unmanned aerial vehicle and storage medium
CN202080032667.3A CN113853561A (en) 2020-07-30 2020-07-30 Control method and device for unmanned aerial vehicle, unmanned aerial vehicle and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/105809 WO2022021214A1 (en) 2020-07-30 2020-07-30 Method and apparatus for controlling unmanned aerial vehicle, and unmanned aerial vehicle and storage medium

Publications (1)

Publication Number Publication Date
WO2022021214A1 true WO2022021214A1 (en) 2022-02-03

Family

ID=78972202

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/105809 WO2022021214A1 (en) 2020-07-30 2020-07-30 Method and apparatus for controlling unmanned aerial vehicle, and unmanned aerial vehicle and storage medium

Country Status (2)

Country Link
CN (1) CN113853561A (en)
WO (1) WO2022021214A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8509965B2 (en) * 2006-12-12 2013-08-13 American Gnc Corporation Integrated collision avoidance system for air vehicle
CN107783548A (en) * 2016-08-25 2018-03-09 大连楼兰科技股份有限公司 Data processing method based on multi-sensor information fusion technology
CN208110389U (en) * 2018-04-20 2018-11-16 东莞理工学院 A kind of UAV Intelligent obstacle avoidance apparatus and unmanned plane
US10155475B1 (en) * 2017-12-04 2018-12-18 Easton Scientific, Inc. Autonomous vehicle dual traffic reflector detector
CN110673638A (en) * 2019-10-15 2020-01-10 中国特种飞行器研究所 Unmanned airship avoiding system and unmanned airship flight control system
CN111197986A (en) * 2019-08-13 2020-05-26 苏州光之翼智能科技有限公司 Real-time early warning and obstacle avoidance method for three-dimensional path of unmanned aerial vehicle

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180095155A1 (en) * 2016-05-09 2018-04-05 Kanishk Soni Systems, methods, and apparatuses for implementing a smart beacon monitoring system
CN106054737A (en) * 2016-07-19 2016-10-26 陈昊 Photosensitive sensor-based unmanned aerial vehicle visual recognition device and using method thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8509965B2 (en) * 2006-12-12 2013-08-13 American Gnc Corporation Integrated collision avoidance system for air vehicle
CN107783548A (en) * 2016-08-25 2018-03-09 大连楼兰科技股份有限公司 Data processing method based on multi-sensor information fusion technology
US10155475B1 (en) * 2017-12-04 2018-12-18 Easton Scientific, Inc. Autonomous vehicle dual traffic reflector detector
CN208110389U (en) * 2018-04-20 2018-11-16 东莞理工学院 A kind of UAV Intelligent obstacle avoidance apparatus and unmanned plane
CN111197986A (en) * 2019-08-13 2020-05-26 苏州光之翼智能科技有限公司 Real-time early warning and obstacle avoidance method for three-dimensional path of unmanned aerial vehicle
CN110673638A (en) * 2019-10-15 2020-01-10 中国特种飞行器研究所 Unmanned airship avoiding system and unmanned airship flight control system

Also Published As

Publication number Publication date
CN113853561A (en) 2021-12-28

Similar Documents

Publication Publication Date Title
US9718544B2 (en) Methods and systems for providing aerial assistance
US10793403B2 (en) Method of actively controlling winch swing via modulated uptake and release
US10106257B2 (en) Mechanisms for lowering a payload to the ground from a UAV
US10345803B2 (en) Multi-part navigation process by an unmanned aerial vehicle for navigation
US20210309364A1 (en) Automatic return method, appratus and unmanned aerial vehicle
US20170336805A1 (en) Method an apparatus for controlling unmanned aerial vehicle to land on landing platform
US9051043B1 (en) Providing emergency medical services using unmanned aerial vehicles
US20160221683A1 (en) Hybrid Power Systems for Vehicle with Hybrid Flight Modes
CN110750769A (en) Identifying and authenticating autonomous vehicles and occupants
JP2020079997A (en) Information processing apparatus, information processing method, and program
US20190283872A1 (en) Medivac drone 1000
WO2023044897A1 (en) Unmanned aerial vehicle control method and apparatus, unmanned aerial vehicle, and storage medium
WO2020014930A1 (en) Unmanned aerial vehicle control method and device and unmanned aerial vehicle
WO2022021214A1 (en) Method and apparatus for controlling unmanned aerial vehicle, and unmanned aerial vehicle and storage medium
CN110799922A (en) Shooting control method and unmanned aerial vehicle
US20230109408A1 (en) Information processing device, method, computer program, and communication system
JP6775981B2 (en) Surveillance system and object detection device
US20200334192A1 (en) Communication method, device, and system
WO2021217350A1 (en) Unmanned aerial vehicle control method, unmanned aerial vehicle, and storage medium
JP7327668B2 (en) POWER SUPPLY INFORMATION DETERMINATION DEVICE, POWER SUPPLY INFORMATION DETERMINATION METHOD, AND PROGRAM
WO2023060467A1 (en) Unmanned aerial vehicle return flight method and apparatus, unmanned aerial vehicle, and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20947606

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20947606

Country of ref document: EP

Kind code of ref document: A1