WO2021088684A1 - Omnidirectional obstacle avoidance method and unmanned aerial vehicle - Google Patents
Omnidirectional obstacle avoidance method and unmanned aerial vehicle Download PDFInfo
- Publication number
- WO2021088684A1 WO2021088684A1 PCT/CN2020/124059 CN2020124059W WO2021088684A1 WO 2021088684 A1 WO2021088684 A1 WO 2021088684A1 CN 2020124059 W CN2020124059 W CN 2020124059W WO 2021088684 A1 WO2021088684 A1 WO 2021088684A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- image frame
- flight
- frame rate
- unmanned aerial
- aerial vehicle
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 53
- RZVHIXYEVGDQDX-UHFFFAOYSA-N 9,10-anthraquinone Chemical compound C1=CC=C2C(=O)C3=CC=CC=C3C(=O)C2=C1 RZVHIXYEVGDQDX-UHFFFAOYSA-N 0.000 claims description 23
- 238000000605 extraction Methods 0.000 claims description 6
- 230000009467 reduction Effects 0.000 claims description 4
- 238000012545 processing Methods 0.000 abstract description 18
- 230000000007 visual effect Effects 0.000 abstract description 11
- 230000003287 optical effect Effects 0.000 description 23
- 238000003860 storage Methods 0.000 description 15
- 238000010586 diagram Methods 0.000 description 13
- 238000004891 communication Methods 0.000 description 10
- 238000001514 detection method Methods 0.000 description 9
- 238000004590 computer program Methods 0.000 description 8
- 230000008569 process Effects 0.000 description 8
- 238000004422 calculation algorithm Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 5
- 238000004364 calculation method Methods 0.000 description 4
- 230000033001 locomotion Effects 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 3
- 238000006243 chemical reaction Methods 0.000 description 3
- 238000011161 development Methods 0.000 description 3
- 238000005259 measurement Methods 0.000 description 3
- 230000004913 activation Effects 0.000 description 2
- 230000003247 decreasing effect Effects 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- BASFCYQUMIYNBI-UHFFFAOYSA-N platinum Chemical compound [Pt] BASFCYQUMIYNBI-UHFFFAOYSA-N 0.000 description 2
- 239000013598 vector Substances 0.000 description 2
- 208000033748 Device issues Diseases 0.000 description 1
- 230000001174 ascending effect Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 230000014759 maintenance of location Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 229910052697 platinum Inorganic materials 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
- 230000000630 rising effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000001052 transient effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05D—SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- G05D1/00—Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
- G05D1/10—Simultaneous control of position or course in three dimensions
- G05D1/101—Simultaneous control of position or course in three dimensions specially adapted for aircraft
Definitions
- the invention relates to the technical field of unmanned aerial vehicles, in particular to an omnidirectional obstacle avoidance method and an unmanned aerial vehicle.
- Unmanned aerial vehicles With the continuous development of unmanned aerial vehicle aerial photography technology, more and more consumer-grade unmanned aerial vehicles are also being produced and developed. Unmanned aerial vehicles are gradually becoming more and more popular. There are many ways to control unmanned aerial vehicles, such as remote control, mobile phone, computer and other mobile terminals.
- the embodiments of the present invention provide an omnidirectional obstacle avoidance method and an unmanned aerial vehicle that improve the accuracy of long-distance obstacle avoidance of an unmanned aerial vehicle under the condition of certain visual obstacle avoidance processing performance.
- an omnidirectional obstacle avoidance method applied to an unmanned aerial vehicle the unmanned aerial vehicle includes a plurality of cameras in different directions, and the method includes: acquiring the unmanned aerial vehicle Flight speed information of human aircraft;
- the UAV is omnidirectionally avoiding obstacles.
- the adjusting the image frame rate of the cameras in multiple different directions according to the flight speed information includes:
- the flight speed information includes flight speeds corresponding to different directions
- the obtaining the flight direction information of the unmanned aerial vehicle according to the flight speed information includes:
- the flight direction corresponding to the one of the flight speeds is used as the flight direction information.
- the adjusting the image frame rate of the cameras in multiple different directions according to the flight direction information includes:
- the image frame rate of the camera corresponding to other directions is reduced.
- the increasing the image frame rate of the camera corresponding to the current flight direction includes:
- the reducing the image frame rate of the camera corresponding to other directions includes:
- the image frame rate of the camera corresponding to the other direction is reduced to half of the maximum value.
- the increasing the image frame rate of the camera corresponding to the current flight direction includes:
- the reducing the image frame rate of the camera corresponding to other directions includes:
- the image frame rate of the camera corresponding to the other direction is reduced to a minimum.
- an omnidirectional obstacle avoidance device includes: a flight speed information acquisition module for acquiring flight speed information of the unmanned aerial vehicle.
- the image frame rate adjustment module is configured to adjust the image frame rate of the cameras in multiple different directions according to the flight speed information.
- the comprehensive obstacle avoidance control module is used to perform omnidirectional obstacle avoidance on the UAV according to the adjusted image frame rate of the camera.
- the image frame rate adjustment module includes a flight direction information acquisition unit and an image frame rate control unit;
- the flight direction information acquiring unit is configured to obtain flight direction information of the unmanned aerial vehicle according to the flight speed information;
- the graphic frame rate control unit is configured to adjust the image frame rates of the cameras in multiple different directions according to the flight direction information.
- the graphics frame rate control unit includes a current flight direction extraction subunit, an image frame rate increase subunit, and an image frame rate decrease subunit ;
- the current flight direction extraction subunit is used to extract the current flight direction of the unmanned aerial vehicle according to the flight direction information
- the image frame rate increasing subunit is used to increase the image frame rate of the camera corresponding to the current flight direction
- the image frame rate reduction subunit is used to reduce the image frame rate of the camera corresponding to other directions.
- an unmanned aerial vehicle includes:
- An arm connected to the fuselage
- the power device is arranged on the arm and is used to provide power for the unmanned aerial vehicle to fly;
- the group can be used to perform the omnidirectional obstacle avoidance method described above.
- the omnidirectional obstacle avoidance method provided by the embodiment of the present invention can be achieved by first obtaining the flight speed information of the unmanned aerial vehicle, and then adjusting all directions in multiple different directions according to the obtained flight speed information.
- the image frame rate of the camera may further perform omnidirectional obstacle avoidance for the unmanned aerial vehicle according to the adjusted image frame rate of the camera.
- the image frame rate of the camera corresponding to the flight direction information is greatly improved, thereby improving the accuracy of long-distance obstacle avoidance, and the visual obstacle avoidance processing performance is constant. Under the circumstances, the UAV can better avoid obstacles in all directions.
- FIG. 1 is a schematic diagram of an application environment of an embodiment of the present invention
- FIG. 2 is a schematic flowchart of an omnidirectional obstacle avoidance method provided by one of the embodiments of the present invention
- Fig. 3 is a schematic diagram of the flow of S30 in Fig. 2;
- FIG. 4 is a schematic diagram of the flow of S31 in FIG. 3;
- FIG. 5 is a schematic diagram of the flow of S32 in Figure 3;
- Fig. 6 is a structural block diagram of an omnidirectional obstacle avoidance device provided by one of the embodiments of the present invention.
- Fig. 7 is a structural block diagram of an unmanned aerial vehicle provided by one embodiment of the present invention.
- the embodiment of the present invention provides an omnidirectional obstacle avoidance method and an unmanned aerial vehicle, wherein the omnidirectional obstacle avoidance method applied to the unmanned aerial vehicle first obtains the flight speed information of the unmanned aerial vehicle, and then according to the obtained information. According to the flight speed information, the image frame rates of the cameras in multiple different directions are adjusted, and then the UAV can be omnidirectional obstacle avoidance according to the adjusted image frame rates of the cameras.
- the image frame rate of the camera corresponding to the flight direction information is greatly improved, thereby improving the accuracy of long-distance obstacle avoidance, and the visual obstacle avoidance processing performance is constant. Under the circumstances, the UAV can better avoid obstacles in all directions.
- the following examples illustrate the application environment of the omnidirectional obstacle avoidance method.
- FIG. 1 is a schematic diagram of an application environment of an aircraft-free control method provided by an embodiment of the present invention; as shown in FIG. 1, the application scenario includes an unmanned aerial vehicle 10, an infrared wireless network 20, a remote control device 30 and a user 40.
- the user 40 can use the remote control device 30 to control the UAV 10 through the infrared wireless network.
- the unmanned aerial vehicle 10 may be an unmanned aerial vehicle driven by any type of power, including but not limited to a rotary-wing unmanned aerial vehicle, a fixed-wing unmanned aerial vehicle, an umbrella-wing unmanned aerial vehicle, a flapping-wing unmanned aerial vehicle, and a helicopter model.
- the unmanned aerial vehicle 10 may have a corresponding volume or power according to actual needs, so as to provide load capacity, flight speed, and flight range that can meet the needs of use.
- One or more functional modules may be added to the unmanned aerial vehicle 10 to enable the unmanned aerial vehicle 10 to realize corresponding functions.
- the UAV 10 is provided with a battery module, a positioning device, an infrared emitting device, and multiple sets of binocular cameras.
- the battery module can provide the UAV 10 with power.
- the battery module includes a voltage conversion module, a voltage detection module, a current detection module, a temperature detection module, an IO input and output module, a CPU control module, a communication module, a power display module, and an interface circuit.
- the voltage conversion module realizes the conversion of the battery input voltage into the 5V and 3.3V voltages required by the board; the voltage detection module uses a balanced plug to connect to the battery to realize the measurement of the single voltage value and the total voltage value; the battery power output line
- the current detection module can be connected to convert the collected current value into a voltage value and send it to the CPU interface for AD collection; the temperature detection module can realize temperature collection by connecting 1 to 8 platinum resistance sensors; the communication module is used for
- the connection between the board and peripherals can support CAN, RS232, and RS485 interfaces.
- the CPU control module is connected with the voltage detection module, the current detection module and the temperature detection module through the interface circuit to realize the collection of voltage, current, and temperature.
- the positioning device may be a GPS positioning system, and the GPS positioning system is used to obtain real-time geographic location information of the unmanned aerial vehicle.
- the infrared emission device is used to send infrared access information and receive infrared control instructions issued by the remote control device. For example, when the remote control device issues an infrared control instruction, the infrared emission device receives the infrared control instruction, and then makes The unmanned aerial vehicle 10 controls the activation state of the unmanned aerial vehicle 10 according to the infrared control command. After the battery module is connected to the UAV 10, the infrared emitting device can send the infrared access information obtained from the access information of the battery module to the remote control device 30.
- the binocular camera includes a front view camera, a rear view camera, a top view camera, a bottom view camera, a left view camera, and a right view camera.
- the front view camera, the rear view camera, the top view camera, the bottom view camera, and the left view camera The camera and the right-view camera are respectively installed on the front end, the rear end, the upper shell, the lower shell, the left end and the right end of the UAV.
- the above-mentioned cameras can be used to capture image information in corresponding directions respectively, and then the unmanned aerial vehicle
- the aircraft can perform omnidirectional obstacle avoidance based on the graphic information.
- the unmanned aerial vehicle 10 includes at least one flight control module, which serves as the control core for the flight and data transmission of the unmanned aerial vehicle 10, and has the ability to monitor, calculate, and manipulate the flight and mission of the unmanned aerial vehicle.
- the flight control module can also modulate the binary digital signal into an infrared signal in the form of a corresponding light pulse or demodulate the infrared signal in the form of an optical pulse into a binary digital signal.
- the remote control device 30 can be any type of smart device used to establish a communication connection with the UAV 10, such as a mobile phone, a tablet computer, a notebook computer, or other mobile control terminals.
- the remote control device 30 is equipped with an infrared receiving device for receiving infrared access information and sending infrared control instructions for controlling the unmanned aerial vehicle.
- the remote control device 30 may be used to receive infrared access information generated by the UAV 10 when the battery module is normally connected to the UAV.
- the remote control device 30 can also send an infrared control command generated according to the control command of the user 40 to the UAV 10 to control the activation state of the UAV 10.
- the remote control device 30 can also be equipped with an image transmission module for controlling positioning images, pan-tilt shooting images, and aiming images return.
- the image transmission module can also modulate a binary digital signal into an infrared signal in the form of a corresponding optical pulse or demodulate the infrared signal in the form of an optical pulse into a binary digital signal.
- the remote control device 30 may also be equipped with one or more different user 40 interaction devices to collect instructions from the user 40 or display and feedback information to the user 40.
- buttons, display screens, touch screens, speakers, and remote control joysticks are examples of interactive devices.
- the remote control device 30 may be equipped with a touch screen, through which the user 40 receives remote control instructions for the UAV 10.
- the unmanned aerial vehicle 10 and the remote control device 30 can also be integrated with the existing image visual processing technology to further provide more intelligent services.
- the unmanned aerial vehicle 10 may use a dual-lens camera to collect images, and the remote control device 30 may analyze the images, so as to realize the gesture control of the unmanned aerial vehicle 10 by the user 40.
- Fig. 2 is an embodiment of an omnidirectional obstacle avoidance method provided by an embodiment of the present invention. This method can be performed by the unmanned aerial vehicle in FIG. 1. Specifically, referring to Figure 2, the method may include but is not limited to the following steps:
- the flight speed information is flight speed vectors in different directions, including the current unmanned aerial vehicle's forward speed information v x , backward speed information-v x , left to right speed information ⁇ v y , up and down speed information, ⁇ v z .
- the flight speed information can be obtained through the following steps. First obtain the image information, and do the gray-scale processing to obtain the gray-scale image of the image. Among them, the real-time image information of the ground is acquired by the image sensor, and the acquired real-time image information is gray-scaled to obtain continuous image gray-scale images. Then the pyramid optical flow algorithm is used to obtain the optical flow speed, and the flight speed vectors of the unmanned aerial vehicle in different directions are obtained according to the optical flow speed and the height data of the unmanned aerial vehicle, and used as the flight speed information.
- the pyramid optical flow algorithm links the two-dimensional velocity field with the gray level, introduces the optical flow constraint equation, and obtains the basic algorithm for optical flow calculation.
- 1 The gray scale of the moving object remains unchanged in a short interval; 2
- the time is continuous or the movement is small, and the image moves slowly over time.
- the actual middle refers to The ratio of the time change to the motion in the image should be small enough.
- the use of the pyramid optical flow algorithm to calculate the optical flow speed has the following problems: there are certain requirements for the flight speed, image frequency and processor hardware of the UAV, and the speed measurement range is small.
- the flying speed of the aircraft is too fast, and the problem of large errors or even complete errors is prone to occur.
- Increasing the image frequency can solve the error or error problem caused by the flying speed too fast, but at the same time it will bring about the problem of calculation speed.
- Increasing the image frequency will This results in an increase in the amount of processor calculations and higher requirements on the hardware configuration of the processor, making it impossible to achieve low-cost accurate measurements.
- the pyramid algorithm is used to calculate the optical flow speed with higher accuracy and real-time performance.
- the gray image of the image is updated after the flight speed of the unmanned aerial vehicle is obtained, and at the same time, it is judged whether the flight speed is greater than the first threshold. It is assumed that the obtained unmanned aerial vehicle is flying If the speed is greater than the first threshold, the block matching optical flow algorithm is used to obtain the optical flow speed, and the flight speed of the unmanned aerial vehicle is obtained according to the optical flow speed and the height data of the unmanned aerial vehicle; otherwise, the pyramid optical flow algorithm is used to obtain the optical flow speed. Flow speed, and finally obtain the flight speed information of the UAV according to the obtained optical flow speed and the altitude data of the UAV.
- the flight direction information of the unmanned aerial vehicle is obtained according to the flight speed information obtained by the above calculation, and then the image frame rates of the cameras in multiple different directions are adjusted according to the flight direction information.
- the flight speed information includes the current flight speed of the unmanned aerial vehicle in different directions. For example, forward speed v x1 , backward speed v x2 , left to right speed v y , and up and down speed v z . Then, it is determined whether the flight speed in different directions exceeds the preset speed threshold, and then the current flight direction information of the unmanned aerial vehicle can be determined according to the judgment result. Furthermore, according to the flight direction information, the image frame rates of the cameras in multiple different directions are adjusted. For example, the image frame rate of the camera corresponding to the acquired flight direction information is increased, and the image frame rate of the camera corresponding to other directions is decreased.
- the UAV is further provided with a storage device, and the storage device stores the preset speed threshold value.
- the storage device may be flash memory, hard disk memory, micro multimedia card memory, card memory (for example, SD or XD memory), random access memory (RAM), static random access memory (SRAM), Readable memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disks and optical disks.
- flash memory for example, SD or XD memory
- card memory for example, SD or XD memory
- RAM random access memory
- SRAM static random access memory
- ROM Readable memory
- EEPROM electrically erasable programmable read-only memory
- PROM programmable read-only memory
- magnetic memory magnetic disks and optical disks.
- true omnidirectional obstacle avoidance requires support for six directions: front, bottom, rear, left, right, and top.
- the image frame rate of the camera corresponding to the flight direction information is greatly improved, thereby improving the accuracy of long-distance obstacle avoidance.
- the embodiment of the present invention provides an omnidirectional obstacle avoidance method.
- the method first obtains the flight speed information of the unmanned aerial vehicle, and then adjusts the cameras in multiple different directions according to the obtained flight speed information.
- the UAV According to the adjusted image frame rate of the camera, the UAV can be omnidirectionally avoided obstacles.
- the image frame rate of the camera corresponding to the flight direction information is greatly improved, thereby improving the accuracy of long-distance obstacle avoidance, and the visual obstacle avoidance processing performance is constant. Under the circumstances, the UAV can better avoid obstacles in all directions.
- S30 includes the following steps:
- the flight speed information includes the current flight speed of the unmanned aerial vehicle in different directions. For example, forward speed v x1 , backward speed v x2 , left to right speed v y , and up and down speed v z . Then, it is determined whether the flight speed in different directions exceeds the preset speed threshold, and then the current flight direction information of the unmanned aerial vehicle can be determined according to the judgment result.
- the image frame rate of the camera in different directions can be adjusted accordingly.
- the flight direction information is the upward flight direction information
- the flight direction information indicates that the unmanned aircraft is rising, and then the image frame rate of the binocular camera corresponding to the upward direction is increased, and the image frame of the binocular camera corresponding to other directions is increased.
- the rate is reduced.
- the flight direction information is forward flight direction information, it indicates that the unmanned aircraft is flying forward, and then the image frame rate of the binocular camera corresponding to the forward direction is increased, and the image of the binocular camera corresponding to other directions is increased.
- the frame rate is reduced.
- the flight direction information is the backward flight direction information
- the flight direction information indicates that the unmanned aircraft is flying backward, and then the image frame rate of the binocular camera corresponding to the backward direction is increased, and the images of the binocular camera corresponding to other directions
- the frame rate is reduced.
- the flight direction information is leftward flight direction information, it indicates that the unmanned aircraft is flying to the left, and then the image frame rate of the binocular camera corresponding to the left direction is increased, and the images of the binocular camera corresponding to other directions The frame rate is reduced.
- S31 includes the following steps:
- the pre-speed threshold is Is 7.5m/s
- the forward speed v x1 6m/s
- the backward speed v x2 5m/s
- the leftward speed v y1 7m/s
- the rightward speed v y2 8m/s
- the upward speed v z 3m/s
- the flight direction information is rightward flight direction information.
- preset speed thresholds are correspondingly set in different directions, and the preset speed thresholds in different directions may be the same or different. Then, the flight speeds corresponding to different directions are compared with the corresponding preset speed thresholds.
- S32 further includes the following steps:
- S321 Extract the current flight direction of the unmanned aerial vehicle according to the flight direction information.
- flight direction information when the flight direction information is upward flight direction information, it indicates that the unmanned aerial vehicle is ascending, and the current flight direction of the unmanned aerial vehicle is upward flight.
- flight direction information when the flight direction information is forward flight direction information, it indicates that the unmanned aerial vehicle is flying forward, and the current flight direction of the unmanned aerial vehicle is forward flight.
- flight direction information includes both leftward flight direction information and forward direction information, it indicates that the unmanned aerial vehicle is flying in the forward left direction, and the current flight direction of the unmanned aerial vehicle is flying in the forward left direction.
- the current flight direction is the upward direction
- the image frame rate of the binocular camera corresponding to the upward direction is increased, and the image frame rate of the binocular camera corresponding to other directions is reduced.
- the current flight direction is the forward direction
- the image frame rate of the binocular camera corresponding to the forward direction is increased, and the image frame rate of the binocular camera corresponding to other directions is reduced.
- the current flight direction is the backward direction
- the image frame rate of the binocular camera corresponding to the backward direction is increased, and the image frame rate of the binocular camera corresponding to the other directions is reduced. And so on.
- increasing the image frame rate of the camera corresponding to the current flight direction means that the image frame rate of the camera corresponding to the current flight direction can be increased to The maximum value; the reducing the image frame rate of the camera corresponding to other directions refers to reducing the image frame rate of the camera corresponding to other directions to half of the maximum value.
- the embodiments of the present application provide an omnidirectional obstacle avoidance device 70, which is applied to an unmanned aerial vehicle.
- the omnidirectional obstacle avoidance device 70 includes: a flight speed information acquisition module 71, an image frame rate adjustment module 72, and an image frame rate adjustment module 73.
- the flight speed information acquisition module 71 is used to acquire flight speed information of the unmanned aerial vehicle.
- the image frame rate adjustment module 72 is configured to adjust the image frame rates of the cameras in multiple different directions according to the flight speed information.
- the overall obstacle avoidance control module 73 is configured to perform omnidirectional obstacle avoidance on the UAV according to the adjusted image frame rate of the camera.
- the image frame rates of the cameras in different directions can be adjusted accordingly.
- omnidirectional obstacle avoidance is performed on the UAV.
- the image frame rate adjustment module includes a flight direction information acquisition unit and an image frame rate control unit;
- the flight direction information acquiring unit is configured to obtain flight direction information of the unmanned aerial vehicle according to the flight speed information;
- the graphic frame rate control unit is configured to adjust the image frame rates of the cameras in multiple different directions according to the flight direction information.
- the graphics frame rate control unit includes a current flight direction extraction subunit, an image frame rate increase subunit, and an image frame Rate reduction sub-unit;
- the current flight direction extraction subunit is used to extract the current flight direction of the unmanned aerial vehicle according to the flight direction information
- the image frame rate increasing subunit is used to increase the image frame rate of the camera corresponding to the current flight direction
- the image frame rate reduction subunit is used to reduce the image frame rate of the camera corresponding to other directions.
- FIG. 7 is a schematic structural diagram of an unmanned aerial vehicle 10 provided by an embodiment of the present application.
- the unmanned aerial vehicle 10 may be any type of unmanned vehicle and can execute the omnidirectional obstacle avoidance method provided by the corresponding method embodiment above. Or, run the omnidirectional obstacle avoidance device 70 provided by the corresponding device embodiment above.
- the unmanned aerial vehicle includes: a fuselage, an arm, a power unit, an infrared transmitting device, a flight control module 110, a memory 120, and a communication module 130.
- the arm is connected to the fuselage;
- the power device is provided on the arm for providing flight power to the unmanned aerial vehicle;
- the infrared emitting device is provided in the fuselage for Send infrared access information and receive infrared control instructions from the remote control device;
- the flight control module has the ability to monitor, calculate and manipulate the flight and mission of the unmanned aerial vehicle, and includes a set of equipment for controlling the launch and recovery of the unmanned aerial vehicle.
- the flight control module can also modulate the binary digital signal into an infrared signal in the form of a corresponding optical pulse or demodulate the infrared signal in the form of an optical pulse into a binary digital signal.
- the flight control module 110, the memory 120, and the communication module 130 establish a communication connection between any two through a bus.
- the flight control module 110 can be of any type and has one or more processing cores. It can perform single-threaded or multi-threaded operations, and is used to parse instructions to perform operations such as obtaining data, performing logical operation functions, and issuing operation processing results.
- the memory 120 can be used to store non-transitory software programs, non-transitory computer-executable programs, and modules, such as program instructions corresponding to the omnidirectional obstacle avoidance method in the embodiment of the present invention / Module (for example, the flight speed information acquisition module 71, the image frame rate adjustment module 72, and the overall obstacle avoidance control module 73 shown in FIG. 6).
- the flight control module 110 executes various functional applications and data processing of the omnidirectional obstacle avoidance device 70 by running the non-transient software programs, instructions, and modules stored in the memory 120, that is, realizes all of the above-mentioned method embodiments. To the obstacle avoidance method.
- the memory 120 may include a storage program area and a storage data area.
- the storage program area may store an operating system and an application program required by at least one function; the storage data area may store data created according to the use of the omnidirectional obstacle avoidance device 70, etc. .
- the memory 120 may include a high-speed random access memory, and may also include a non-transitory memory, such as at least one magnetic disk storage device, a flash memory device, or other non-transitory solid-state storage devices.
- the storage 120 may optionally include storage remotely provided with respect to the flight control module 110, and these remote storages may be connected to the UAV 10 via a network. Examples of the aforementioned networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
- the memory 120 stores instructions that can be executed by the at least one flight control module 110; the at least one flight control module 110 is used to execute the instructions to implement the omnidirectional obstacle avoidance method in any of the foregoing method embodiments For example, the steps 10, 20, 30, etc. of the method described above are executed to realize the functions of the modules 71-73 in FIG. 6.
- the communication module 130 is a functional module used to establish a communication connection and provide a physical channel.
- the communication module 130 may be any type of wireless or wired communication module 130, including but not limited to a WiFi module or a Bluetooth module.
- the embodiment of the present invention also provides a non-transitory computer-readable storage medium, the non-transitory computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are controlled by one or more flight controllers.
- the execution of the module 110 for example, executed by one of the flight control modules 110 in FIG. 7, can cause the above-mentioned one or more flight control modules 110 to execute the omnidirectional obstacle avoidance method in any of the above-mentioned method embodiments, for example, execute the above description
- the method steps 10, 20, 30, etc. realize the functions of the modules 71-73 in FIG. 6.
- the device embodiments described above are merely illustrative.
- the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in One place, or it can be distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
- each implementation manner can be implemented by means of software plus a general hardware platform, and of course, it can also be implemented by hardware.
- a person of ordinary skill in the art can understand that all or part of the processes in the methods of the foregoing embodiments can be implemented by instructing relevant hardware by a computer program in a computer program product.
- the computer program can be stored in a non-transitory computer.
- the computer program includes program instructions, and when the program instructions are executed by a related device, the related device can execute the flow of the foregoing method embodiments.
- the storage medium may be a magnetic disk, an optical disc, a read-only memory (Read-Only Memory, ROM), or a random access memory (Random Access Memory, RAM), etc.
- the above products can execute the omnidirectional obstacle avoidance method provided by the embodiment of the present invention, and have the corresponding functional modules and beneficial effects for executing the omnidirectional obstacle avoidance method.
- the omnidirectional obstacle avoidance method provided in the embodiment of the present invention.
- These computer program instructions can also be loaded on a computer or other programmable data processing equipment, so that a series of operation steps are executed on the computer or other programmable equipment to produce computer-implemented processing, so that the computer or other programmable equipment is executed
- the instructions provide steps for implementing the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
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
An omnidirectional obstacle avoidance method and an unmanned aerial vehicle (10). The omnidirectional obstacle avoidance method is applied in the unmanned aerial vehicle (10), and comprises: first, acquiring flight speed information of the unmanned aerial vehicle (10) (S10); next, adjusting, according to the acquired flight speed information, image frame rates of multiple cameras in different directions (S20); and performing, according to the adjusted image frame rates of the cameras, omnidirectional obstacle avoidance for the unmanned aerial vehicle (10). In the invention, image frame rates of cameras corresponding to flight direction information are adjusted to significantly increase the image frame rates of the cameras, thereby improving the precision of remote obstacle avoidance, and enabling an unmanned aerial vehicle (10) with limited visual obstacle avoidance processing capacity to have better omnidirectional obstacle avoidance performance.
Description
本申请要求于2019年11月07日提交中国专利局、申请号为201911083405.5、申请名称为“全向避障方法及无人飞行器”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed with the Chinese Patent Office on November 07, 2019, the application number is 201911083405.5, and the application name is "omnidirectional obstacle avoidance method and unmanned aerial vehicle", the entire content of which is incorporated herein by reference Applying.
本发明涉及无人飞行器技术领域,尤其涉及一种全向避障方法及无人飞行器。The invention relates to the technical field of unmanned aerial vehicles, in particular to an omnidirectional obstacle avoidance method and an unmanned aerial vehicle.
随着无人飞行器航拍技术的不断发展,越来越多的消费级无人飞行器也正在生产研制。无人飞行器也逐步日趋普及。操控无人飞行器的方式很较多,比如通过遥控器、手机、电脑等移动终端操控。With the continuous development of unmanned aerial vehicle aerial photography technology, more and more consumer-grade unmanned aerial vehicles are also being produced and developed. Unmanned aerial vehicles are gradually becoming more and more popular. There are many ways to control unmanned aerial vehicles, such as remote control, mobile phone, computer and other mobile terminals.
在实现本发明的过程中,发明人发现相关技术至少存在以下问题:随着无人飞行器技术的发展,真正的全向避障要求支持前方、下方、后方、左方、右方和上方6个方向,远距离避障精确度越高,要求图像的分辨率越大,而分辨率越大,对视觉避障处理性能的要求越高。然而视觉避障处理总体性能是有限的,现有技术无法解决避障镜头过多,视觉避障性能不足的问题。In the process of realizing the present invention, the inventor found that related technologies have at least the following problems: With the development of unmanned aerial vehicle technology, true omnidirectional obstacle avoidance requires support for six front, bottom, rear, left, right and top sides. Direction, the higher the accuracy of long-distance obstacle avoidance, the higher the resolution of the image, and the higher the resolution, the higher the requirement for visual obstacle avoidance processing performance. However, the overall performance of visual obstacle avoidance processing is limited, and the prior art cannot solve the problem of too many obstacle avoidance lenses and insufficient visual obstacle avoidance performance.
【发明内容】[Summary of the invention]
为了解决上述技术问题,本发明实施例提供一种在视觉避障处理性能一定的情况下,提升无人飞行器远距离避障精确度的全向避障避障方法及无人飞行器。In order to solve the above technical problems, the embodiments of the present invention provide an omnidirectional obstacle avoidance method and an unmanned aerial vehicle that improve the accuracy of long-distance obstacle avoidance of an unmanned aerial vehicle under the condition of certain visual obstacle avoidance processing performance.
为解决上述技术问题,本发明实施例提供以下技术方案:一种全向避障方法,应用于无人飞行器,述无人飞行器包括多个不同方向的摄像头,所述方法包括:获取所述无人飞行器的飞行速度信息;In order to solve the above technical problems, the embodiments of the present invention provide the following technical solutions: an omnidirectional obstacle avoidance method applied to an unmanned aerial vehicle, the unmanned aerial vehicle includes a plurality of cameras in different directions, and the method includes: acquiring the unmanned aerial vehicle Flight speed information of human aircraft;
根据所述飞行速度信息,调整多个不同方向的所述摄像头的图像帧率;Adjusting the image frame rates of the cameras in multiple different directions according to the flight speed information;
根据调整后的所述摄像头的图像帧率,对所述无人飞行器进行全向避障。According to the adjusted image frame rate of the camera, the UAV is omnidirectionally avoiding obstacles.
可选地,所述根据所述飞行速度信息,调整多个不同方向的所述摄像头 的图像帧率,包括:Optionally, the adjusting the image frame rate of the cameras in multiple different directions according to the flight speed information includes:
根据所述飞行速度信息,得到所述无人飞行器的飞行方向信息;Obtaining the flight direction information of the unmanned aerial vehicle according to the flight speed information;
根据所述飞行方向信息,调整多个不同方向的所述摄像头的图像帧率。According to the flight direction information, image frame rates of the cameras in multiple different directions are adjusted.
可选地,所述飞行速度信息包括不同方向对应的飞行速度;Optionally, the flight speed information includes flight speeds corresponding to different directions;
所述根据所述飞行速度信息,得到所述无人飞行器的飞行方向信息,包括:The obtaining the flight direction information of the unmanned aerial vehicle according to the flight speed information includes:
将不同方向对应的所述飞行速度与预设速度阈值作对比处理;Comparing the flight speeds corresponding to different directions with a preset speed threshold;
若其中一个飞行速度大于所述预设速度阈值,则将所述其中一个飞行速度对应的飞行方向作为所述飞行方向信息。If one of the flight speeds is greater than the preset speed threshold, the flight direction corresponding to the one of the flight speeds is used as the flight direction information.
可选地,所述无人飞行器的每个飞行方向上设置均设置有若干摄像头;Optionally, several cameras are provided in each flight direction of the unmanned aerial vehicle;
所述根据所述飞行方向信息,调整多个不同方向的所述摄像头的图像帧率,包括:The adjusting the image frame rate of the cameras in multiple different directions according to the flight direction information includes:
根据所述飞行方向信息,提取出无人飞行器的当前飞行方向;According to the flight direction information, extract the current flight direction of the unmanned aerial vehicle;
将与所述当前飞行方向对应的所述摄像头的图像帧率提高;Increasing the image frame rate of the camera corresponding to the current flight direction;
将其他方向对应的所述摄像头的图像帧率降低。The image frame rate of the camera corresponding to other directions is reduced.
可选地,所述将与所述当前飞行方向对应的所述摄像头的图像帧率提高,包括:Optionally, the increasing the image frame rate of the camera corresponding to the current flight direction includes:
将与所述当前飞行方向对应的所述摄像头的图像帧率提高至最大值;Increasing the image frame rate of the camera corresponding to the current flight direction to a maximum value;
所述将其他方向对应的所述摄像头的图像帧率降低,包括:The reducing the image frame rate of the camera corresponding to other directions includes:
将与将其他方向对应的所述摄像头的图像帧率降低至最大值的一半。The image frame rate of the camera corresponding to the other direction is reduced to half of the maximum value.
可选地,所述将与所述当前飞行方向对应的所述摄像头的图像帧率提高,包括:Optionally, the increasing the image frame rate of the camera corresponding to the current flight direction includes:
将与所述当前飞行方向对应的所述摄像头的图像帧率提高至最大值;Increasing the image frame rate of the camera corresponding to the current flight direction to a maximum value;
所述将其他方向对应的所述摄像头的图像帧率降低,包括:The reducing the image frame rate of the camera corresponding to other directions includes:
将与将其他方向对应的所述摄像头的图像帧率降低至最小值。The image frame rate of the camera corresponding to the other direction is reduced to a minimum.
为解决上述技术问题,本发明实施例还提供以下技术方案:一种全向避障装置。所述全向避障装置包括:飞行速度信息获取模块,用于获取所述无人飞行器的飞行速度信息。In order to solve the above technical problems, the embodiments of the present invention also provide the following technical solutions: an omnidirectional obstacle avoidance device. The omnidirectional obstacle avoidance device includes: a flight speed information acquisition module for acquiring flight speed information of the unmanned aerial vehicle.
图像帧率调整模块,用于根据所述飞行速度信息,调整多个不同方向的所述摄像头的图像帧率。The image frame rate adjustment module is configured to adjust the image frame rate of the cameras in multiple different directions according to the flight speed information.
全面避障控制模块,用于根据调整后的所述摄像头的图像帧率,对所述无人飞行器进行全向避障。The comprehensive obstacle avoidance control module is used to perform omnidirectional obstacle avoidance on the UAV according to the adjusted image frame rate of the camera.
可选地,所述图像帧率调整模块包括飞行方向信息获取单元和图像帧率控制单元;Optionally, the image frame rate adjustment module includes a flight direction information acquisition unit and an image frame rate control unit;
所述飞行方向信息获取单元用于根据所述飞行速度信息,得到所述无人飞行器的飞行方向信息;The flight direction information acquiring unit is configured to obtain flight direction information of the unmanned aerial vehicle according to the flight speed information;
所述图形帧率控制单元用于根据所述飞行方向信息,调整多个不同方向的所述摄像头的图像帧率。The graphic frame rate control unit is configured to adjust the image frame rates of the cameras in multiple different directions according to the flight direction information.
可选地,所述无人飞行器的每个飞行方向上设置均设置有若干摄像头;所述图形帧率控制单元包括当前飞行方向提取子单元、图像帧率提高子单元及图像帧率降低子单元;Optionally, a number of cameras are provided in each flight direction of the UAV; the graphics frame rate control unit includes a current flight direction extraction subunit, an image frame rate increase subunit, and an image frame rate decrease subunit ;
所述当前飞行方向提取子单元用于根据所述飞行方向信息,提取出无人飞行器的当前飞行方向;The current flight direction extraction subunit is used to extract the current flight direction of the unmanned aerial vehicle according to the flight direction information;
所述图像帧率提高子单元用于将与所述当前飞行方向对应的所述摄像头的图像帧率提高;The image frame rate increasing subunit is used to increase the image frame rate of the camera corresponding to the current flight direction;
所述图像帧率降低子单元用于将其他方向对应的所述摄像头的图像帧率降低。The image frame rate reduction subunit is used to reduce the image frame rate of the camera corresponding to other directions.
为解决上述技术问题,本发明实施例还提供以下技术方案:一种无人飞行器。所述无人飞行器包括:To solve the above technical problems, the embodiments of the present invention also provide the following technical solutions: an unmanned aerial vehicle. The unmanned aerial vehicle includes:
机身;body;
机臂,与所述机身相连;An arm, connected to the fuselage;
动力装置,设于所述机臂,用于给所述无人飞行器提供飞行的动力;The power device is arranged on the arm and is used to provide power for the unmanned aerial vehicle to fly;
飞控模组;以及Flight control module; and
与所述飞控模组通信连接的存储器;其中,所述存储器存储有可被所述飞控模组执行的指令,所述指令被所述飞控模组执行,以使所述飞控模组能够用于执行如上所述的全向避障方法。A memory communicatively connected with the flight control module; wherein the memory stores instructions that can be executed by the flight control module, and the instructions are executed by the flight control module so that the flight control module The group can be used to perform the omnidirectional obstacle avoidance method described above.
与现有技术相比较,本发明实施例的提供全向避障方法可以通过首先获取所述无人飞行器的飞行速度信息,然后根据获取到的所述飞行速度信息,调整多个不同方向的所述摄像头的图像帧率,进而可根据调整后的所述摄像头的图像帧率,对所述无人飞行器进行全向避障。通过上述调整后的所述摄 像头的图像帧率,使所述飞行方向信息对应的所述摄像头的图像帧率大幅度的提高,进而提升了远距离避障精确度,在视觉避障处理性能一定的情况下,所述无人飞行器能够更好的进行全向避障。Compared with the prior art, the omnidirectional obstacle avoidance method provided by the embodiment of the present invention can be achieved by first obtaining the flight speed information of the unmanned aerial vehicle, and then adjusting all directions in multiple different directions according to the obtained flight speed information. The image frame rate of the camera may further perform omnidirectional obstacle avoidance for the unmanned aerial vehicle according to the adjusted image frame rate of the camera. Through the above-mentioned adjusted image frame rate of the camera, the image frame rate of the camera corresponding to the flight direction information is greatly improved, thereby improving the accuracy of long-distance obstacle avoidance, and the visual obstacle avoidance processing performance is constant. Under the circumstances, the UAV can better avoid obstacles in all directions.
一个或多个实施例通过与之对应的附图中的图片进行示例性说明,这些示例性说明并不构成对实施例的限定,附图中具有相同参考数字标号的元件表示为类似的元件,除非有特别申明,附图中的图不构成比例限制。One or more embodiments are exemplified by the pictures in the corresponding drawings. These exemplified descriptions do not constitute a limitation on the embodiments. The elements with the same reference numerals in the drawings are denoted as similar elements. Unless otherwise stated, the figures in the attached drawings do not constitute a scale limitation.
图1为本发明实施例的应用环境示意图;FIG. 1 is a schematic diagram of an application environment of an embodiment of the present invention;
图2为本发明其中一实施例提供的全向避障方法的流程示意图;2 is a schematic flowchart of an omnidirectional obstacle avoidance method provided by one of the embodiments of the present invention;
图3是图2中S30的流程示意图;Fig. 3 is a schematic diagram of the flow of S30 in Fig. 2;
图4是图3中S31的流程示意图;FIG. 4 is a schematic diagram of the flow of S31 in FIG. 3;
图5是图3中S32的流程示意图;Figure 5 is a schematic diagram of the flow of S32 in Figure 3;
图6本发明其中一实施例提供的全向避障装置的结构框图;Fig. 6 is a structural block diagram of an omnidirectional obstacle avoidance device provided by one of the embodiments of the present invention;
图7本发明其中一实施例提供的无人飞行器的结构框图。Fig. 7 is a structural block diagram of an unmanned aerial vehicle provided by one embodiment of the present invention.
为了便于理解本发明,下面结合附图和具体实施例,对本发明进行更详细的说明。需要说明的是,当元件被表述“固定于”另一个元件,它可以直接在另一个元件上、或者其间可以存在一个或多个居中的元件。当一个元件被表述“连接”另一个元件,它可以是直接连接到另一个元件、或者其间可以存在一个或多个居中的元件。本说明书所使用的术语“上”、“下”、“内”、“外”、“底部”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本发明和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本发明的限制。此外,术语“第一”、“第二”“第三”等仅用于描述目的,而不能理解为指示或暗示相对重要性。In order to facilitate the understanding of the present invention, the present invention will be described in more detail below with reference to the accompanying drawings and specific embodiments. It should be noted that when an element is expressed as being "fixed to" another element, it may be directly on the other element, or there may be one or more elements in between. When an element is said to be "connected" to another element, it can be directly connected to the other element, or there may be one or more intervening elements in between. The terms "upper", "lower", "inner", "outer", "bottom", etc. used in this specification indicate the orientation or positional relationship based on the orientation or positional relationship shown in the drawings, and are only used to facilitate the description of the present invention. The invention and simplified description do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation to the present invention. In addition, the terms "first", "second", "third", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance.
除非另有定义,本说明书所使用的所有的技术和科学术语与属于本发明的技术领域的技术人员通常理解的含义相同。本说明书中在本发明的说明书 中所使用的术语只是为了描述具体的实施例的目的,不是用于限制本发明。本说明书所使用的术语“和/或”包括一个或多个相关的所列项目的任意的和所有的组合。Unless otherwise defined, all technical and scientific terms used in this specification have the same meaning as commonly understood by those skilled in the technical field of the present invention. The terms used in the specification of the present invention in this specification are only for the purpose of describing specific embodiments, and are not used to limit the present invention. The term "and/or" used in this specification includes any and all combinations of one or more related listed items.
此外,下面所描述的本发明不同实施例中所涉及的技术特征只要彼此之间未构成冲突就可以相互结合。In addition, the technical features involved in the different embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
本发明实施例提供了一种全向避障方法及无人飞行器,其中,应用于无人飞行器的全向避障方法通过首先获取所述无人飞行器的飞行速度信息,然后根据获取到的所述飞行速度信息,调整多个不同方向的所述摄像头的图像帧率,进而可根据调整后的所述摄像头的图像帧率,对所述无人飞行器进行全向避障。通过上述调整后的所述摄像头的图像帧率,使所述飞行方向信息对应的所述摄像头的图像帧率大幅度的提高,进而提升了远距离避障精确度,在视觉避障处理性能一定的情况下,所述无人飞行器能够更好的进行全向避障。The embodiment of the present invention provides an omnidirectional obstacle avoidance method and an unmanned aerial vehicle, wherein the omnidirectional obstacle avoidance method applied to the unmanned aerial vehicle first obtains the flight speed information of the unmanned aerial vehicle, and then according to the obtained information. According to the flight speed information, the image frame rates of the cameras in multiple different directions are adjusted, and then the UAV can be omnidirectional obstacle avoidance according to the adjusted image frame rates of the cameras. Through the above-mentioned adjusted image frame rate of the camera, the image frame rate of the camera corresponding to the flight direction information is greatly improved, thereby improving the accuracy of long-distance obstacle avoidance, and the visual obstacle avoidance processing performance is constant. Under the circumstances, the UAV can better avoid obstacles in all directions.
以下举例说明所述全向避障方法的应用环境。The following examples illustrate the application environment of the omnidirectional obstacle avoidance method.
图1是本发明实施例提供的无飞行器的控制方法的应用环境的示意图;如图1所示,所述应用场景包括无人飞行器10、红外无线网路20、遥控装置30及用户40。用户40可利用遥控装置30通过所述红外无线网络控制无人飞行器10。FIG. 1 is a schematic diagram of an application environment of an aircraft-free control method provided by an embodiment of the present invention; as shown in FIG. 1, the application scenario includes an unmanned aerial vehicle 10, an infrared wireless network 20, a remote control device 30 and a user 40. The user 40 can use the remote control device 30 to control the UAV 10 through the infrared wireless network.
无人飞行器10可以是以任何类型的动力驱动的无人飞行载具,包括但不限于旋翼无人飞行器、固定翼无人飞行器、伞翼无人飞行器、扑翼无人飞行器以及直升机模型等。The unmanned aerial vehicle 10 may be an unmanned aerial vehicle driven by any type of power, including but not limited to a rotary-wing unmanned aerial vehicle, a fixed-wing unmanned aerial vehicle, an umbrella-wing unmanned aerial vehicle, a flapping-wing unmanned aerial vehicle, and a helicopter model.
该无人飞行器10可以根据实际情况的需要,具备相应的体积或者动力,从而提供能够满足使用需要的载重能力、飞行速度以及飞行续航里程等。无人飞行器10上还可以添加有一种或者多种功能模块,令无人飞行器10能够实现相应的功能。The unmanned aerial vehicle 10 may have a corresponding volume or power according to actual needs, so as to provide load capacity, flight speed, and flight range that can meet the needs of use. One or more functional modules may be added to the unmanned aerial vehicle 10 to enable the unmanned aerial vehicle 10 to realize corresponding functions.
例如,在本实施例中,该无人飞行器10设置有电池模组、定位装置及红外发射装置及多组双目摄像头。For example, in this embodiment, the UAV 10 is provided with a battery module, a positioning device, an infrared emitting device, and multiple sets of binocular cameras.
当所述电池模组接入所述无人飞行器10后,所述电池模组可为所述无人 飞行器10提供电源。在本实施例中,所述电池模组包括电压转换模块、电压检测模块、电流检测模块、温度检测模块、IO输入与输出模块、CPU控制模块、通讯模块、电量显示模块及接口电路。其中电压转换模块实现将电池输入电压转换为板卡所需要的5V和3.3V电压;电压检测模块采用均衡插头与电池连接,实现对单体电压值和总电压值得测量;将电池的电源输出线接入电流检测模块,可以实现将采集到的电流值转换为电压值,送入CPU接口进行AD采集;温度检测模块通过外接1~8路铂电阻传感器,可以实现温度的采集;通讯模块用于板卡和外设的连接,可以支持CAN、RS232、RS485接口。CPU控制模块通过接口电路与电压检测模块、电流检测模块温度检测模块进行连接,实现对电压、电流、温度的采集。After the battery module is connected to the UAV 10, the battery module can provide the UAV 10 with power. In this embodiment, the battery module includes a voltage conversion module, a voltage detection module, a current detection module, a temperature detection module, an IO input and output module, a CPU control module, a communication module, a power display module, and an interface circuit. Among them, the voltage conversion module realizes the conversion of the battery input voltage into the 5V and 3.3V voltages required by the board; the voltage detection module uses a balanced plug to connect to the battery to realize the measurement of the single voltage value and the total voltage value; the battery power output line The current detection module can be connected to convert the collected current value into a voltage value and send it to the CPU interface for AD collection; the temperature detection module can realize temperature collection by connecting 1 to 8 platinum resistance sensors; the communication module is used for The connection between the board and peripherals can support CAN, RS232, and RS485 interfaces. The CPU control module is connected with the voltage detection module, the current detection module and the temperature detection module through the interface circuit to realize the collection of voltage, current, and temperature.
所述定位装置可为GPS定位系统,所述GPS定位系统用于获取无人飞行器的实时的地理位置信息。The positioning device may be a GPS positioning system, and the GPS positioning system is used to obtain real-time geographic location information of the unmanned aerial vehicle.
所述红外发射装置用于发送红外接入信息并接收遥控装置发出的红外控制指令,例如,当所述遥控装置发出红外控制指令时,所述红外发射装置接收到所述红外控制指令,进而使所述无人飞行器10根据所述红外控制指令控制所述无人飞行器10的启动状态。当所述电池模组接入所述无人飞行器10后,所述红外发射装置可将根据由电池模组的接入信息得到的红外接入信息,发送至所述遥控装置30。The infrared emission device is used to send infrared access information and receive infrared control instructions issued by the remote control device. For example, when the remote control device issues an infrared control instruction, the infrared emission device receives the infrared control instruction, and then makes The unmanned aerial vehicle 10 controls the activation state of the unmanned aerial vehicle 10 according to the infrared control command. After the battery module is connected to the UAV 10, the infrared emitting device can send the infrared access information obtained from the access information of the battery module to the remote control device 30.
所述双目摄像头包括前视摄像头、后视摄像头、上视摄像头、下视摄像头、左视摄像头及右视摄像头,所述前视摄像头、后视摄像头、上视摄像头、下视摄像头、左视摄像头及右视摄像头分别安装于所述无人飞行器的前端、后端、上壳体、下壳体、左端及右端上,上述摄像头可用于分别拍摄对应方向上的图像信息,进而所述无人飞行器可根据所述图形信息,进行全向避障。The binocular camera includes a front view camera, a rear view camera, a top view camera, a bottom view camera, a left view camera, and a right view camera. The front view camera, the rear view camera, the top view camera, the bottom view camera, and the left view camera The camera and the right-view camera are respectively installed on the front end, the rear end, the upper shell, the lower shell, the left end and the right end of the UAV. The above-mentioned cameras can be used to capture image information in corresponding directions respectively, and then the unmanned aerial vehicle The aircraft can perform omnidirectional obstacle avoidance based on the graphic information.
无人飞行器10上包含至少一个飞控模组,作为无人飞行器10飞行和数据传输等的控制核心,具有对无人飞行器飞行和任务进行监控、运算和操纵的能力,在本实施例中,所述飞控模组还可将二进制数字信号调制成相应的光脉冲的形式的红外信号或将光脉冲的形式红外信号解调为二进制数字信号。遥控装置30可以是任何类型,用以与无人飞行器10建立通信连接的智能装 置,例如手机、平板电脑、笔记本电脑或者其他移动操控终端等。The unmanned aerial vehicle 10 includes at least one flight control module, which serves as the control core for the flight and data transmission of the unmanned aerial vehicle 10, and has the ability to monitor, calculate, and manipulate the flight and mission of the unmanned aerial vehicle. In this embodiment, The flight control module can also modulate the binary digital signal into an infrared signal in the form of a corresponding light pulse or demodulate the infrared signal in the form of an optical pulse into a binary digital signal. The remote control device 30 can be any type of smart device used to establish a communication connection with the UAV 10, such as a mobile phone, a tablet computer, a notebook computer, or other mobile control terminals.
该遥控装置30装配有红外接收装置,所述红外接收装置用于接收红外接入信息并发送用于控制无人飞行器的红外控制指令。例如,所述遥控装置30可用于接收所述无人飞行器10当所述电池模组正常接入所述无人飞行器时生成的红外接入信息。所述遥控装置30同时可根据用户40的控制指令生成的红外控制指令发送至所述无人飞行器10,以控制所述无人飞行器10的启动状态。该遥控装置30还可以装配有用于控制定位画面、云台拍摄画面及瞄准画面回传的图传模组。在本实施例中,所述图传模组还可将二进制数字信号调制成相应的光脉冲的形式的红外信号或将光脉冲的形式红外信号解调为二进制数字信号。The remote control device 30 is equipped with an infrared receiving device for receiving infrared access information and sending infrared control instructions for controlling the unmanned aerial vehicle. For example, the remote control device 30 may be used to receive infrared access information generated by the UAV 10 when the battery module is normally connected to the UAV. The remote control device 30 can also send an infrared control command generated according to the control command of the user 40 to the UAV 10 to control the activation state of the UAV 10. The remote control device 30 can also be equipped with an image transmission module for controlling positioning images, pan-tilt shooting images, and aiming images return. In this embodiment, the image transmission module can also modulate a binary digital signal into an infrared signal in the form of a corresponding optical pulse or demodulate the infrared signal in the form of an optical pulse into a binary digital signal.
该遥控装置30还可以装配有一种或者多种不同的用户40交互装置,用以采集用户40指令或者向用户40展示和反馈信息。The remote control device 30 may also be equipped with one or more different user 40 interaction devices to collect instructions from the user 40 or display and feedback information to the user 40.
这些交互装置包括但不限于:按键、显示屏、触摸屏、扬声器以及遥控操作杆。例如,遥控装置30可以装配有触控显示屏,通过该触控显示屏接收用户40对无人飞行器10的遥控指令。These interactive devices include but are not limited to: buttons, display screens, touch screens, speakers, and remote control joysticks. For example, the remote control device 30 may be equipped with a touch screen, through which the user 40 receives remote control instructions for the UAV 10.
在一些实施例中,无人飞行器10与遥控装置30之间还可以融合现有的图像视觉处理技术,进一步的提供更智能化的服务。例如无人飞行器10可以通过双光相机采集图像的方式,由遥控装置30对图像进行解析,从而实现用户40对于无人飞行器10的手势控制。In some embodiments, the unmanned aerial vehicle 10 and the remote control device 30 can also be integrated with the existing image visual processing technology to further provide more intelligent services. For example, the unmanned aerial vehicle 10 may use a dual-lens camera to collect images, and the remote control device 30 may analyze the images, so as to realize the gesture control of the unmanned aerial vehicle 10 by the user 40.
图2为本发明实施例提供的一种全向避障方法的实施例。该方法可以由图1中的无人飞行器执行。具体地,请参阅图2,该方法可以包括但不限于如下步骤:Fig. 2 is an embodiment of an omnidirectional obstacle avoidance method provided by an embodiment of the present invention. This method can be performed by the unmanned aerial vehicle in FIG. 1. Specifically, referring to Figure 2, the method may include but is not limited to the following steps:
S10、获取所述无人飞行器的飞行速度信息。S10. Obtain flight speed information of the unmanned aerial vehicle.
具体地,所述飞行速度信息为不同方向的飞行速度向量,包括当前无人飞行器的前进速度信息v
x、后退速度信息-v
x、左向右速度信息±v
y、上向下速度信息、±v
z。
Specifically, the flight speed information is flight speed vectors in different directions, including the current unmanned aerial vehicle's forward speed information v x , backward speed information-v x , left to right speed information ± v y , up and down speed information, ±v z .
具体地,可通过如下步骤获取所述飞行速度信息。首先获取图像信息, 并做灰度化处理,获取图像灰度图。其中,由图像传感器获取地面的实时图像信息,对获取的实时图像信息作灰度化处理,获取连续的图像灰度图。然后采用金字塔光流算法获取光流速度,根据所述光流速度和无人飞行器的高度数据获取无人飞行器的不同方向的飞行速度向量,并将其作为所述飞行速度信息。Specifically, the flight speed information can be obtained through the following steps. First obtain the image information, and do the gray-scale processing to obtain the gray-scale image of the image. Among them, the real-time image information of the ground is acquired by the image sensor, and the acquired real-time image information is gray-scaled to obtain continuous image gray-scale images. Then the pyramid optical flow algorithm is used to obtain the optical flow speed, and the flight speed vectors of the unmanned aerial vehicle in different directions are obtained according to the optical flow speed and the height data of the unmanned aerial vehicle, and used as the flight speed information.
需要说明的是,金字塔光流算法将二维速度场与灰度相联系,引入光流约束方程,得到光流计算的基本算法。基于物体移动的光学特性提出了两个假设:①运动物体的灰度在很短的间隔时间内保持不变;②时间连续或者运动是小运动,图像随时间的运动比较缓慢,实际中指的是时间变化相对图像中的运动的比例要足够小。基于上述两个假设的前提,使用金字塔光流算法计算光流速度存在以下问题:对无人飞行器的飞行速度、图像频率以及处理器硬件有一定的要求,并且速度测量范围较小,当无人飞行器的飞行速度过快,容易出现误差较大甚至完全错误的问题,而提高图像频率能够解决飞行速度过快时导致的误差或错误问题,但是同时会带来计算速度的问题,提高图像频率将导致处理器计算量增大,对处理器的硬件配置要求较高,无法实现低成本地准确测量。对于小运动,即无人飞行器飞行速度较慢时,使用金字塔算法计算光流速度的准确度较高,实时性较强。It should be noted that the pyramid optical flow algorithm links the two-dimensional velocity field with the gray level, introduces the optical flow constraint equation, and obtains the basic algorithm for optical flow calculation. Based on the optical characteristics of object movement, two hypotheses are proposed: ①The gray scale of the moving object remains unchanged in a short interval; ②The time is continuous or the movement is small, and the image moves slowly over time. The actual middle refers to The ratio of the time change to the motion in the image should be small enough. Based on the premise of the above two assumptions, the use of the pyramid optical flow algorithm to calculate the optical flow speed has the following problems: there are certain requirements for the flight speed, image frequency and processor hardware of the UAV, and the speed measurement range is small. The flying speed of the aircraft is too fast, and the problem of large errors or even complete errors is prone to occur. Increasing the image frequency can solve the error or error problem caused by the flying speed too fast, but at the same time it will bring about the problem of calculation speed. Increasing the image frequency will This results in an increase in the amount of processor calculations and higher requirements on the hardware configuration of the processor, making it impossible to achieve low-cost accurate measurements. For small movements, that is, when the flying speed of the unmanned aerial vehicle is slow, the pyramid algorithm is used to calculate the optical flow speed with higher accuracy and real-time performance.
需要说明的是,当获取无人飞行器的飞行速度后,获取无人飞行器的飞行速度后,更新图像灰度图,并同时判断所述飞行速度是否大于第一阈值,假设获取的无人飞行器飞行速度大于第一阈值,则使用块匹配光流算法获取光流速度,并根据所述光流速度和无人飞行器的高度数据获取无人飞行器的飞行速度;反之,则使用金字塔光流算法获取光流速度,最后根据获取的光流速度和无人飞行器的高度数据获取无人飞行器的飞行速度信息。It should be noted that when the flight speed of the unmanned aerial vehicle is obtained, the gray image of the image is updated after the flight speed of the unmanned aerial vehicle is obtained, and at the same time, it is judged whether the flight speed is greater than the first threshold. It is assumed that the obtained unmanned aerial vehicle is flying If the speed is greater than the first threshold, the block matching optical flow algorithm is used to obtain the optical flow speed, and the flight speed of the unmanned aerial vehicle is obtained according to the optical flow speed and the height data of the unmanned aerial vehicle; otherwise, the pyramid optical flow algorithm is used to obtain the optical flow speed. Flow speed, and finally obtain the flight speed information of the UAV according to the obtained optical flow speed and the altitude data of the UAV.
S20、根据所述飞行速度信息,调整多个不同方向的所述摄像头的图像帧率。S20. Adjust the image frame rates of the cameras in multiple different directions according to the flight speed information.
具体地,根据上述计算得到的所述飞行速度信息,得到所述无人飞行器的飞行方向信息,然后根据所述飞行方向信息,调整多个不同方向的所述摄 像头的图像帧率。Specifically, the flight direction information of the unmanned aerial vehicle is obtained according to the flight speed information obtained by the above calculation, and then the image frame rates of the cameras in multiple different directions are adjusted according to the flight direction information.
具体地,所述飞行速度信息包括不同方向上的当前无人飞行器的飞行速度。例如,前进速度v
x1、后退速度v
x2、左向右速度v
y、上向下速度v
z。然后分别判断不同方向的飞行速度是否超过预设速度阈值,进而可根据判断结果确定当前无人飞行器的飞行方向信息。进而根据所述飞行方向信息,对多个不同方向的所述摄像头的图像帧率进行调整。例如,将与获取到的所述飞行方向信息对应的所述摄像头的图像帧率提高,将其他方向对应的所述摄像头的图像帧率降低。
Specifically, the flight speed information includes the current flight speed of the unmanned aerial vehicle in different directions. For example, forward speed v x1 , backward speed v x2 , left to right speed v y , and up and down speed v z . Then, it is determined whether the flight speed in different directions exceeds the preset speed threshold, and then the current flight direction information of the unmanned aerial vehicle can be determined according to the judgment result. Furthermore, according to the flight direction information, the image frame rates of the cameras in multiple different directions are adjusted. For example, the image frame rate of the camera corresponding to the acquired flight direction information is increased, and the image frame rate of the camera corresponding to other directions is decreased.
进一步地,所述无人飞行器还设置有存储装置,所述存储装置存储有所述预设速度阈值。Further, the UAV is further provided with a storage device, and the storage device stores the preset speed threshold value.
其中,所述所述存储装置可为闪存型存储器、硬盘型存储器、微型多媒体卡型存储器、卡式存储器(例如,SD或XD存储器)、随机存储器(RAM)、静态随机存储器(SRAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、可编程只读存储器(PROM)、磁存储器、磁盘和光盘。Wherein, the storage device may be flash memory, hard disk memory, micro multimedia card memory, card memory (for example, SD or XD memory), random access memory (RAM), static random access memory (SRAM), Readable memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disks and optical disks.
S30、根据调整后的所述摄像头的图像帧率,对所述无人飞行器进行全向避障。S30. Perform omnidirectional obstacle avoidance on the unmanned aerial vehicle according to the adjusted image frame rate of the camera.
具体地,随着无人机技术的发展,真正的全向避障要求支持前方、下方、后方、左方、右方和上方6个方向,通过上述调整后的所述摄像头的图像帧率,使所述飞行方向信息对应的所述摄像头的图像帧率大幅度的提高,进而提升了远距离避障精确度,在视觉避障处理性能一定的情况下,更好的对所述无人飞行器进行全向避障。Specifically, with the development of drone technology, true omnidirectional obstacle avoidance requires support for six directions: front, bottom, rear, left, right, and top. Through the above-mentioned adjusted image frame rate of the camera, The image frame rate of the camera corresponding to the flight direction information is greatly improved, thereby improving the accuracy of long-distance obstacle avoidance. Under the condition of certain visual obstacle avoidance processing performance, it is better for the unmanned aerial vehicle Perform omnidirectional obstacle avoidance.
本发明实施例提供了一种全向避障方法,所述方法通过首先获取所述无人飞行器的飞行速度信息,然后根据获取到的所述飞行速度信息,调整多个不同方向的所述摄像头的图像帧率,进而可根据调整后的所述摄像头的图像帧率,对所述无人飞行器进行全向避障。通过上述调整后的所述摄像头的图像帧率,使所述飞行方向信息对应的所述摄像头的图像帧率大幅度的提高,进而提升了远距离避障精确度,在视觉避障处理性能一定的情况下,所述无人飞行器能够更好的进行全向避障。The embodiment of the present invention provides an omnidirectional obstacle avoidance method. The method first obtains the flight speed information of the unmanned aerial vehicle, and then adjusts the cameras in multiple different directions according to the obtained flight speed information. According to the adjusted image frame rate of the camera, the UAV can be omnidirectionally avoided obstacles. Through the above-mentioned adjusted image frame rate of the camera, the image frame rate of the camera corresponding to the flight direction information is greatly improved, thereby improving the accuracy of long-distance obstacle avoidance, and the visual obstacle avoidance processing performance is constant. Under the circumstances, the UAV can better avoid obstacles in all directions.
为了更好的根据调整后的所述摄像头的图像帧率,对所述无人飞行器进 行全向避障,在一些实施例中,请参阅图3,S30包括如下步骤:In order to better perform omnidirectional obstacle avoidance on the UAV according to the adjusted image frame rate of the camera, in some embodiments, please refer to Fig. 3, S30 includes the following steps:
S31、根据所述飞行速度信息,得到所述无人飞行器的飞行方向信息。S31. Obtain flight direction information of the unmanned aerial vehicle according to the flight speed information.
具体地,所述飞行速度信息包括不同方向上的当前无人飞行器的飞行速度。例如,前进速度v
x1、后退速度v
x2、左向右速度v
y、上向下速度v
z。然后分别判断不同方向的飞行速度是否超过预设速度阈值,进而可根据判断结果确定当前无人飞行器的飞行方向信息。
Specifically, the flight speed information includes the current flight speed of the unmanned aerial vehicle in different directions. For example, forward speed v x1 , backward speed v x2 , left to right speed v y , and up and down speed v z . Then, it is determined whether the flight speed in different directions exceeds the preset speed threshold, and then the current flight direction information of the unmanned aerial vehicle can be determined according to the judgment result.
S32、根据所述飞行方向信息,调整多个不同方向的所述摄像头的图像帧率。S32. Adjust image frame rates of the cameras in multiple different directions according to the flight direction information.
具体地,通过上述获取到的飞行方向信息,进而可对不用方向上的所述摄像头的图像帧率进行相应的调整。Specifically, based on the flight direction information acquired above, the image frame rate of the camera in different directions can be adjusted accordingly.
举例说明,当所述飞行方向信息为向上飞行方向信息时,则表明所无人飞行器正在上升,进而将向上方向对应的双目摄像头的图像帧率提高,其他方向对应的双目摄像头的图像帧率降低。当所述飞行方向信息为向前飞行方向信息时,则表明所无人飞行器正在向前飞行,进而将向前方向对应的双目摄像头的图像帧率提高,其他方向对应的双目摄像头的图像帧率降低。当所述飞行方向信息为向后飞行方向信息时,则表明所无人飞行器正在向后飞行,进而将向后方向对应的双目摄像头的图像帧率提高,其他方向对应的双目摄像头的图像帧率降低。当所述飞行方向信息为向左飞行方向信息时,则表明所无人飞行器正在向左飞行,进而将向左方向对应的双目摄像头的图像帧率提高,其他方向对应的双目摄像头的图像帧率降低。For example, when the flight direction information is the upward flight direction information, it indicates that the unmanned aircraft is rising, and then the image frame rate of the binocular camera corresponding to the upward direction is increased, and the image frame of the binocular camera corresponding to other directions is increased. The rate is reduced. When the flight direction information is forward flight direction information, it indicates that the unmanned aircraft is flying forward, and then the image frame rate of the binocular camera corresponding to the forward direction is increased, and the image of the binocular camera corresponding to other directions is increased. The frame rate is reduced. When the flight direction information is the backward flight direction information, it indicates that the unmanned aircraft is flying backward, and then the image frame rate of the binocular camera corresponding to the backward direction is increased, and the images of the binocular camera corresponding to other directions The frame rate is reduced. When the flight direction information is leftward flight direction information, it indicates that the unmanned aircraft is flying to the left, and then the image frame rate of the binocular camera corresponding to the left direction is increased, and the images of the binocular camera corresponding to other directions The frame rate is reduced.
为了更好的根据所述飞行速度信息,得到所述无人飞行器的飞行方向信息,在一些实施例中,请参阅图4,S31包括如下步骤:In order to better obtain the flight direction information of the UAV based on the flight speed information, in some embodiments, please refer to FIG. 4, S31 includes the following steps:
S311:将不同方向对应的所述飞行速度与预设速度阈值作对比处理。S311: Compare the flight speeds corresponding to different directions with a preset speed threshold.
S312:若其中一个飞行速度大于所述预设速度阈值,则将所述其中一个飞行速度对应的飞行方向作为所述飞行方向信息。S312: If one of the flight speeds is greater than the preset speed threshold, use the flight direction corresponding to the one of the flight speeds as the flight direction information.
举例说明,若前进方向对应的前进速度为v
x1=6m/s,后退方向对应的后退速度为v
x2=5m/s,向左方向对应的向左速度为v
y1=7m/s,向右方向对应的向右速度为v
y2=8m/s,向上方向对应的向上速度为v
z=3m/s,向下方向对应的向下速度为v
z=5m/s,若所述预速度阈值为7.5m/s,将所述前进速度v
x1=6m/s,后 退速度v
x2=5m/s,向左速度v
y1=7m/s,向右速度v
y2=8m/s,向上速度v
z=3m/s,向下速度v
z=5m/s分别与所述预速度阈值为7.5m/s对比,判断判断不同方向的飞行速度6m/s,5m/s,7m/s,8m/s,3m/s,5m/s是否超过预设速度阈值7.5m/s,可以计算得到仅向右速度v
y2=8m/s大于所述预速度阈值为7.5m/s,则可确定所述无人飞行器当前正在向右飞行,则所述飞行方向信息为向右飞行方向信息。
For example, if the forward speed corresponding to the forward direction is v x1 =6m/s, the backward speed corresponding to the backward direction is v x2 =5m/s, and the leftward speed corresponding to the left direction is v y1 =7m/s, and to the right The rightward speed corresponding to the direction is v y2 =8m/s, the upward speed corresponding to the upward direction is v z =3m/s, and the downward speed corresponding to the downward direction is v z =5m/s. If the pre-speed threshold is Is 7.5m/s, the forward speed v x1 =6m/s, the backward speed v x2 =5m/s, the leftward speed v y1 =7m/s, the rightward speed v y2 =8m/s, the upward speed v z = 3m/s, the downward speed v z = 5m/s is compared with the pre-speed threshold value of 7.5m/s respectively, and the flight speed in different directions is judged to be 6m/s, 5m/s, 7m/s, 8m/s. If s, 3m/s, 5m/s exceed the preset speed threshold of 7.5m/s, it can be calculated that only the rightward speed v y2 = 8m/s is greater than the pre-speed threshold of 7.5m/s, then it can be determined If the unmanned aerial vehicle is currently flying to the right, the flight direction information is rightward flight direction information.
又例如,若前进速度v
x1=9m/s,后退速度v
x2=5m/s,向左速度v
y1=7m/s向右速度v
y2=8m/s,向上速度v
z=3m/s,向下速度v
z=5m/s,若所述预速度阈值为7.5m/s,将所述前进速度v
x1=9m/s,后退速度v
x2=5m/s,向左速度v
y1=7m/s,向右速度v
y2=8m/s,向上速度v
z=3m/s,向下速度v
z=5m/s分别与所述预速度阈值为7.5m/s对比,判断判断不同方向的飞行速度9m/s,5m/s,7m/s,8m/s,3m/s,5m/s是否超过预设速度阈值7.5m/s,可以计算得到前进方向9m/s和向右速度v
y2=8m/s大于所述预速度阈值为7.5m/s,则可确定所述无人飞行器当前正在向右前方飞行,则所述飞行方向信息为向右前方飞行方向信息。以此类推。
For another example, if the forward speed v x1 =9m/s, the backward speed v x2 =5m/s, the leftward speed v y1 =7m/s, the rightward speed v y2 =8m/s, the upward speed v z =3m/s, Downward speed v z =5m/s, if the pre-speed threshold is 7.5m/s, set the forward speed v x1 =9m/s, the backward speed v x2 =5m/s, and the leftward speed v y1 =7m /s, rightward velocity v y2 = 8m/s, upward velocity v z = 3m/s, downward velocity v z = 5m/s, respectively, compare with the pre-speed threshold value of 7.5m/s, and judge and judge different directions Whether the flight speed of 9m/s, 5m/s, 7m/s, 8m/s, 3m/s, 5m/s exceeds the preset speed threshold of 7.5m/s, the forward direction 9m/s and the rightward speed v y2 can be calculated = 8m/s is greater than the pre-speed threshold of 7.5m/s, then it can be determined that the UAV is currently flying forward and right, and the flight direction information is flight direction information forward and right. And so on.
在一些实施例中,在不同方向上均对应设置有预设速度阈值,不同方向上的预设速度阈值可以相同也可以不同。然后将不同方向对应的所述飞行速度与对应的预设速度阈值作对比处理。In some embodiments, preset speed thresholds are correspondingly set in different directions, and the preset speed thresholds in different directions may be the same or different. Then, the flight speeds corresponding to different directions are compared with the corresponding preset speed thresholds.
为了更好的根据所述飞行方向信息,调整多个不同方向的所述摄像头的图像帧率,在一些实施例中,请参阅图5,S32还包括如下步骤:In order to better adjust the image frame rate of the cameras in multiple different directions according to the flight direction information, in some embodiments, please refer to FIG. 5, S32 further includes the following steps:
S321:根据所述飞行方向信息,提取出无人飞行器的当前飞行方向。S321: Extract the current flight direction of the unmanned aerial vehicle according to the flight direction information.
举例说明,当所述飞行方向信息为向上飞行方向信息时,则表明所无人飞行器正在上升,所述无人飞行器的当前飞行方向为向上飞行。当所述飞行方向信息为向前飞行方向信息时,则表明所述无人飞行器正在向前飞行,所述无人飞行器的当前飞行方向为向前飞行。当所述飞行方向信息同时包括向左飞行方向信息和向前方向信息时,则表明所述无人飞行器正在向左前方向飞行,则所述无人飞行器的当前飞行方向为左前方向飞行。For example, when the flight direction information is upward flight direction information, it indicates that the unmanned aerial vehicle is ascending, and the current flight direction of the unmanned aerial vehicle is upward flight. When the flight direction information is forward flight direction information, it indicates that the unmanned aerial vehicle is flying forward, and the current flight direction of the unmanned aerial vehicle is forward flight. When the flight direction information includes both leftward flight direction information and forward direction information, it indicates that the unmanned aerial vehicle is flying in the forward left direction, and the current flight direction of the unmanned aerial vehicle is flying in the forward left direction.
S322:将与所述当前飞行方向对应的所述摄像头的图像帧率提高。S322: Increase the image frame rate of the camera corresponding to the current flight direction.
S323:将其他方向对应的所述摄像头的图像帧率降低。S323: Decrease the image frame rate of the camera corresponding to other directions.
举例说明,若当前飞行方向为向上方向飞行,则将向上方向对应的双目摄像头的图像帧率提高,其他方向对应的双目摄像头的图像帧率降低。若当前飞行方向为向前方向飞行,则将向前方向对应的双目摄像头的图像帧率提高,其他方向对应的双目摄像头的图像帧率降低。若当前飞行方向为向后方向飞行,则将向后方向对应的双目摄像头的图像帧率提高,其他方向对应的双目摄像头的图像帧率降低。以此类推。For example, if the current flight direction is the upward direction, the image frame rate of the binocular camera corresponding to the upward direction is increased, and the image frame rate of the binocular camera corresponding to other directions is reduced. If the current flight direction is the forward direction, the image frame rate of the binocular camera corresponding to the forward direction is increased, and the image frame rate of the binocular camera corresponding to other directions is reduced. If the current flight direction is the backward direction, the image frame rate of the binocular camera corresponding to the backward direction is increased, and the image frame rate of the binocular camera corresponding to the other directions is reduced. And so on.
具体地,在一些实施例中,所述将与所述当前飞行方向对应的所述摄像头的图像帧率提高,是指可将与所述当前飞行方向对应的所述摄像头的图像帧率提高至最大值;所述将其他方向对应的所述摄像头的图像帧率降低是指将与将其他方向对应的所述摄像头的图像帧率降低至最大值的一半。Specifically, in some embodiments, increasing the image frame rate of the camera corresponding to the current flight direction means that the image frame rate of the camera corresponding to the current flight direction can be increased to The maximum value; the reducing the image frame rate of the camera corresponding to other directions refers to reducing the image frame rate of the camera corresponding to other directions to half of the maximum value.
在一些实施例中,所述将与所述当前飞行方向对应的所述摄像头的图像帧率提高是指将与所述当前飞行方向对应的所述摄像头的图像帧率提高至最大值;所述将其他方向对应的所述摄像头的图像帧率降低是指将与将其他方向对应的所述摄像头的图像帧率降低至最小值。In some embodiments, increasing the image frame rate of the camera corresponding to the current flight direction refers to increasing the image frame rate of the camera corresponding to the current flight direction to a maximum value; Decreasing the image frame rate of the camera corresponding to other directions refers to reducing the image frame rate of the camera corresponding to other directions to a minimum value.
需要说明的是,在上述各个实施例中,上述各步骤之间并不必然存在一定的先后顺序,本领域普通技术人员,根据本申请实施例的描述可以理解,不同实施例中,上述各步骤可以有不同的执行顺序,亦即,可以并行执行,亦可以交换执行等等。It should be noted that, in the above embodiments, there is not necessarily a certain sequence between the above steps. A person of ordinary skill in the art can understand from the description of the embodiments of the present application that in different embodiments, the above steps There can be different execution orders, that is, they can be executed in parallel, they can be executed interchangeably, and so on.
作为本申请实施例的另一方面,本申请实施例提供一种全向避障装置70,所述全向避障装置应用于无人飞行器。请参阅图6,该全向避障装置70包括:飞行速度信息获取模块71、图像帧率调整模块72以及图像帧率调整模块73。As another aspect of the embodiments of the present application, the embodiments of the present application provide an omnidirectional obstacle avoidance device 70, which is applied to an unmanned aerial vehicle. Please refer to FIG. 6, the omnidirectional obstacle avoidance device 70 includes: a flight speed information acquisition module 71, an image frame rate adjustment module 72, and an image frame rate adjustment module 73.
所述飞行速度信息获取模71块用于获取所述无人飞行器的飞行速度信息。The flight speed information acquisition module 71 is used to acquire flight speed information of the unmanned aerial vehicle.
所述图像帧率调整模块72用于根据所述飞行速度信息,调整多个不同方向的所述摄像头的图像帧率。The image frame rate adjustment module 72 is configured to adjust the image frame rates of the cameras in multiple different directions according to the flight speed information.
所述全面避障控制模块73用于根据调整后的所述摄像头的图像帧率,对所述无人飞行器进行全向避障。The overall obstacle avoidance control module 73 is configured to perform omnidirectional obstacle avoidance on the UAV according to the adjusted image frame rate of the camera.
因此,在本实施例中,通过首先获取所述无人飞行器的飞行速度信息,然后根据获取到的所述飞行速度信息,调整多个不同方向的所述摄像头的图像帧率,进而可根据调整后的所述摄像头的图像帧率,对所述无人飞行器进 行全向避障。通过上述调整后的所述摄像头的图像帧率,使所述飞行方向信息对应的所述摄像头的图像帧率大幅度的提高,进而提升了远距离避障精确度,在视觉避障处理性能一定的情况下,所述无人飞行器能够更好的进行全向避障。Therefore, in this embodiment, by first acquiring the flight speed information of the unmanned aerial vehicle, and then adjusting the image frame rate of the cameras in multiple different directions according to the acquired flight speed information, the image frame rates of the cameras in different directions can be adjusted accordingly. After the image frame rate of the camera, omnidirectional obstacle avoidance is performed on the UAV. Through the above-mentioned adjusted image frame rate of the camera, the image frame rate of the camera corresponding to the flight direction information is greatly improved, thereby improving the accuracy of long-distance obstacle avoidance, and the visual obstacle avoidance processing performance is constant. Under the circumstances, the UAV can better avoid obstacles in all directions.
其中,在一些实施例中,所述图像帧率调整模块包括飞行方向信息获取单元和图像帧率控制单元;Wherein, in some embodiments, the image frame rate adjustment module includes a flight direction information acquisition unit and an image frame rate control unit;
所述飞行方向信息获取单元用于根据所述飞行速度信息,得到所述无人飞行器的飞行方向信息;The flight direction information acquiring unit is configured to obtain flight direction information of the unmanned aerial vehicle according to the flight speed information;
所述图形帧率控制单元用于根据所述飞行方向信息,调整多个不同方向的所述摄像头的图像帧率。The graphic frame rate control unit is configured to adjust the image frame rates of the cameras in multiple different directions according to the flight direction information.
其中,在一些实施例中,所述无人飞行器的每个飞行方向上设置均设置有若干摄像头;所述图形帧率控制单元包括当前飞行方向提取子单元、图像帧率提高子单元及图像帧率降低子单元;Wherein, in some embodiments, a number of cameras are provided in each flight direction of the UAV; the graphics frame rate control unit includes a current flight direction extraction subunit, an image frame rate increase subunit, and an image frame Rate reduction sub-unit;
所述当前飞行方向提取子单元用于根据所述飞行方向信息,提取出无人飞行器的当前飞行方向;The current flight direction extraction subunit is used to extract the current flight direction of the unmanned aerial vehicle according to the flight direction information;
所述图像帧率提高子单元用于将与所述当前飞行方向对应的所述摄像头的图像帧率提高;The image frame rate increasing subunit is used to increase the image frame rate of the camera corresponding to the current flight direction;
所述图像帧率降低子单元用于将其他方向对应的所述摄像头的图像帧率降低。The image frame rate reduction subunit is used to reduce the image frame rate of the camera corresponding to other directions.
图7是本申请实施例提供的一种无人飞行器10的结构示意图,该无人飞行器10可以是任意类型的无人载具,能够执行上述相应的方法实施例提供的全向避障方法,或者,运行上述相应的装置实施例提供的全向避障装置70。所述无人飞行器包括:机身、机臂、动力装置、红外发射装置、飞控模组110、存储器120及通信模块130。FIG. 7 is a schematic structural diagram of an unmanned aerial vehicle 10 provided by an embodiment of the present application. The unmanned aerial vehicle 10 may be any type of unmanned vehicle and can execute the omnidirectional obstacle avoidance method provided by the corresponding method embodiment above. Or, run the omnidirectional obstacle avoidance device 70 provided by the corresponding device embodiment above. The unmanned aerial vehicle includes: a fuselage, an arm, a power unit, an infrared transmitting device, a flight control module 110, a memory 120, and a communication module 130.
所述机臂与所述机身相连;所述动力装置设于所述机臂,用于给所述无人飞行器提供飞行的动力;所述红外发射装置设于所述机身内,用于发送红外接入信息并接收遥控装置发出的红外控制指令;The arm is connected to the fuselage; the power device is provided on the arm for providing flight power to the unmanned aerial vehicle; the infrared emitting device is provided in the fuselage for Send infrared access information and receive infrared control instructions from the remote control device;
所述飞控模组具有对无人飞行器飞行和任务进行监控、运算和操纵的能力,包含对无人飞行器发射和回收控制的一组设备。所述飞控模组还可将二进制数字信号调制成相应的光脉冲的形式的红外信号或将光脉冲的形式红外 信号解调为二进制数字信号。The flight control module has the ability to monitor, calculate and manipulate the flight and mission of the unmanned aerial vehicle, and includes a set of equipment for controlling the launch and recovery of the unmanned aerial vehicle. The flight control module can also modulate the binary digital signal into an infrared signal in the form of a corresponding optical pulse or demodulate the infrared signal in the form of an optical pulse into a binary digital signal.
所述飞控模组110、存储器120以及通信模块130之间通过总线的方式,建立任意两者之间的通信连接。The flight control module 110, the memory 120, and the communication module 130 establish a communication connection between any two through a bus.
飞控模组110可以为任何类型,具备一个或者多个处理核心的飞控模组110。其可以执行单线程或者多线程的操作,用于解析指令以执行获取数据、执行逻辑运算功能以及下发运算处理结果等操作。The flight control module 110 can be of any type and has one or more processing cores. It can perform single-threaded or multi-threaded operations, and is used to parse instructions to perform operations such as obtaining data, performing logical operation functions, and issuing operation processing results.
存储器120作为一种非暂态计算机可读存储介质,可用于存储非暂态软件程序、非暂态性计算机可执行程序以及模块,如本发明实施例中的全向避障方法对应的程序指令/模块(例如,附图6所示的飞行速度信息获取模块71、图像帧率调整模块72以及全面避障控制模块73)。飞控模组110通过运行存储在存储器120中的非暂态软件程序、指令以及模块,从而执行全向避障装置70的各种功能应用以及数据处理,即实现上述任一方法实施例中全向避障方法。As a non-transitory computer-readable storage medium, the memory 120 can be used to store non-transitory software programs, non-transitory computer-executable programs, and modules, such as program instructions corresponding to the omnidirectional obstacle avoidance method in the embodiment of the present invention / Module (for example, the flight speed information acquisition module 71, the image frame rate adjustment module 72, and the overall obstacle avoidance control module 73 shown in FIG. 6). The flight control module 110 executes various functional applications and data processing of the omnidirectional obstacle avoidance device 70 by running the non-transient software programs, instructions, and modules stored in the memory 120, that is, realizes all of the above-mentioned method embodiments. To the obstacle avoidance method.
存储器120可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储根据全向避障装置70的使用所创建的数据等。此外,存储器120可以包括高速随机存取存储器,还可以包括非暂态存储器,例如至少一个磁盘存储器件、闪存器件、或其他非暂态固态存储器件。在一些实施例中,存储器120可选包括相对于飞控模组110远程设置的存储器,这些远程存储器可以通过网络连接至无人飞行器10。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 120 may include a storage program area and a storage data area. The storage program area may store an operating system and an application program required by at least one function; the storage data area may store data created according to the use of the omnidirectional obstacle avoidance device 70, etc. . In addition, the memory 120 may include a high-speed random access memory, and may also include a non-transitory memory, such as at least one magnetic disk storage device, a flash memory device, or other non-transitory solid-state storage devices. In some embodiments, the storage 120 may optionally include storage remotely provided with respect to the flight control module 110, and these remote storages may be connected to the UAV 10 via a network. Examples of the aforementioned networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
所述存储器120存储有可被所述至少一个飞控模组110执行的指令;所述至少一个飞控模组110用于执行所述指令,以实现上述任意方法实施例中全向避障方法,例如,执行以上描述的方法步骤10、20、30等等,实现图6中的模块71-73的功能。The memory 120 stores instructions that can be executed by the at least one flight control module 110; the at least one flight control module 110 is used to execute the instructions to implement the omnidirectional obstacle avoidance method in any of the foregoing method embodiments For example, the steps 10, 20, 30, etc. of the method described above are executed to realize the functions of the modules 71-73 in FIG. 6.
通信模块130是用于建立通信连接,提供物理信道的功能模块。通信模块130以是任何类型的无线或者有线通信模块130,包括但不限于WiFi模块或者蓝牙模块等。The communication module 130 is a functional module used to establish a communication connection and provide a physical channel. The communication module 130 may be any type of wireless or wired communication module 130, including but not limited to a WiFi module or a Bluetooth module.
进一步地,本发明实施例还提供了一种非暂态计算机可读存储介质,所述非暂态计算机可读存储介质存储有计算机可执行指令,该计算机可执行指 令被一个或多个飞控模组110执行,例如,被图7中的一个飞控模组110执行,可使得上述一个或多个飞控模组110执行上述任意方法实施例中全向避障方法,例如,执行以上描述的方法步骤10、20、30等等,实现图6中的模块71-73的功能。Further, the embodiment of the present invention also provides a non-transitory computer-readable storage medium, the non-transitory computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are controlled by one or more flight controllers. The execution of the module 110, for example, executed by one of the flight control modules 110 in FIG. 7, can cause the above-mentioned one or more flight control modules 110 to execute the omnidirectional obstacle avoidance method in any of the above-mentioned method embodiments, for example, execute the above description The method steps 10, 20, 30, etc. realize the functions of the modules 71-73 in FIG. 6.
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in One place, or it can be distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
通过以上的实施方式的描述,本领域普通技术人员可以清楚地了解到各实施方式可借助软件加通用硬件平台的方式来实现,当然也可以通过硬件。本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程是可以通过计算机程序产品中的计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一非暂态计算机可读取存储介质中,该计算机程序包括程序指令,当所述程序指令被相关设备执行时,可使相关设备执行上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。Through the description of the above implementation manners, those of ordinary skill in the art can clearly understand that each implementation manner can be implemented by means of software plus a general hardware platform, and of course, it can also be implemented by hardware. A person of ordinary skill in the art can understand that all or part of the processes in the methods of the foregoing embodiments can be implemented by instructing relevant hardware by a computer program in a computer program product. The computer program can be stored in a non-transitory computer. In the read storage medium, the computer program includes program instructions, and when the program instructions are executed by a related device, the related device can execute the flow of the foregoing method embodiments. Wherein, the storage medium may be a magnetic disk, an optical disc, a read-only memory (Read-Only Memory, ROM), or a random access memory (Random Access Memory, RAM), etc.
上述产品可执行本发明实施例所提供的全向避障方法,具备执行全向避障方法相应的功能模块和有益效果。未在本实施例中详尽描述的技术细节,可参见本发明实施例所提供的全向避障方法。The above products can execute the omnidirectional obstacle avoidance method provided by the embodiment of the present invention, and have the corresponding functional modules and beneficial effects for executing the omnidirectional obstacle avoidance method. For technical details not described in detail in this embodiment, refer to the omnidirectional obstacle avoidance method provided in the embodiment of the present invention.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to flowcharts and/or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and/or block in the flowchart and/or block diagram, and the combination of processes and/or blocks in the flowchart and/or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing equipment to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing equipment are generated It is a device that realizes the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上, 使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing equipment, so that a series of operation steps are executed on the computer or other programmable equipment to produce computer-implemented processing, so that the computer or other programmable equipment is executed The instructions provide steps for implementing the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。The above descriptions are only the preferred embodiments of the present invention and are not intended to limit the present invention. Any modification, equivalent replacement and improvement made within the spirit and principle of the present invention shall be included in the protection of the present invention. Within range.
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;在本发明的思路下,以上实施例或者不同实施例中的技术特征之间也可以进行组合,步骤可以以任意顺序实现,并存在如上所述的本发明的不同方面的许多其它变化,为了简明,它们没有在细节中提供;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, not to limit them; under the idea of the present invention, the technical features of the above embodiments or different embodiments can also be combined. The steps can be implemented in any order, and there are many other variations of the different aspects of the present invention as described above. For the sake of brevity, they are not provided in details; although the present invention has been described in detail with reference to the foregoing embodiments, the ordinary person in the art The skilled person should understand that: they can still modify the technical solutions recorded in the foregoing embodiments, or equivalently replace some of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the implementations of the present invention. Examples of the scope of technical solutions.
Claims (10)
- 一种全向避障方法,应用于无人飞行器,所述无人飞行器包括多个不同方向的摄像头,其特征在于,包括:An omnidirectional obstacle avoidance method applied to an unmanned aerial vehicle, the unmanned aerial vehicle including a plurality of cameras in different directions, characterized in that it includes:获取所述无人飞行器的飞行速度信息;Acquiring flight speed information of the unmanned aerial vehicle;根据所述飞行速度信息,调整多个不同方向的所述摄像头的图像帧率;Adjusting the image frame rates of the cameras in multiple different directions according to the flight speed information;根据调整后的所述摄像头的图像帧率,对所述无人飞行器进行全向避障。According to the adjusted image frame rate of the camera, the UAV is omnidirectionally avoiding obstacles.
- 根据权利要求1所述的方法,其特征在于,所述根据所述飞行速度信息,调整多个不同方向的所述摄像头的图像帧率,包括:The method according to claim 1, wherein the adjusting the image frame rate of the cameras in multiple different directions according to the flight speed information comprises:根据所述飞行速度信息,得到所述无人飞行器的飞行方向信息;Obtaining the flight direction information of the unmanned aerial vehicle according to the flight speed information;根据所述飞行方向信息,调整多个不同方向的所述摄像头的图像帧率。According to the flight direction information, image frame rates of the cameras in multiple different directions are adjusted.
- 根据权利要求2所述的方法,其特征在于,所述飞行速度信息包括不同方向对应的飞行速度;The method according to claim 2, wherein the flight speed information includes flight speeds corresponding to different directions;所述根据所述飞行速度信息,得到所述无人飞行器的飞行方向信息,包括:The obtaining the flight direction information of the unmanned aerial vehicle according to the flight speed information includes:将不同方向对应的所述飞行速度与预设速度阈值作对比处理;Comparing the flight speeds corresponding to different directions with a preset speed threshold;若其中一个飞行速度大于所述预设速度阈值,则将所述其中一个飞行速度对应的飞行方向作为所述飞行方向信息。If one of the flight speeds is greater than the preset speed threshold, the flight direction corresponding to the one of the flight speeds is used as the flight direction information.
- 根据权利要求3所述的方法,其特征在于,所述无人飞行器的每个飞行方向上设置均设置有若干摄像头;The method according to claim 3, wherein a plurality of cameras are arranged in each flight direction of the UAV;所述根据所述飞行方向信息,调整多个不同方向的所述摄像头的图像帧率,包括:The adjusting the image frame rate of the cameras in multiple different directions according to the flight direction information includes:根据所述飞行方向信息,提取出无人飞行器的当前飞行方向;According to the flight direction information, extract the current flight direction of the unmanned aerial vehicle;将与所述当前飞行方向对应的所述摄像头的图像帧率提高;Increasing the image frame rate of the camera corresponding to the current flight direction;将其他方向对应的所述摄像头的图像帧率降低。The image frame rate of the camera corresponding to other directions is reduced.
- 根据权利要求4或5的所述的方法,其特征在于,所述将与所述当前飞行方向对应的所述摄像头的图像帧率提高,包括:The method according to claim 4 or 5, wherein the increasing the image frame rate of the camera corresponding to the current flight direction comprises:将与所述当前飞行方向对应的所述摄像头的图像帧率提高至最大值;Increasing the image frame rate of the camera corresponding to the current flight direction to a maximum value;所述将其他方向对应的所述摄像头的图像帧率降低,包括:The reducing the image frame rate of the camera corresponding to other directions includes:将与将其他方向对应的所述摄像头的图像帧率降低至最大值的一半。The image frame rate of the camera corresponding to the other direction is reduced to half of the maximum value.
- 根据权利要求4或5任一项所述的方法,其特征在于,所述将与所述当前飞行方向对应的所述摄像头的图像帧率提高,包括:The method according to any one of claims 4 or 5, wherein the increasing the image frame rate of the camera corresponding to the current flight direction comprises:将与所述当前飞行方向对应的所述摄像头的图像帧率提高至最大值;Increasing the image frame rate of the camera corresponding to the current flight direction to a maximum value;所述将其他方向对应的所述摄像头的图像帧率降低,包括:The reducing the image frame rate of the camera corresponding to other directions includes:将与将其他方向对应的所述摄像头的图像帧率降低至最小值。The image frame rate of the camera corresponding to the other direction is reduced to a minimum.
- 一种全向避障装置,其特征在于,包括:An omnidirectional obstacle avoidance device, which is characterized in that it comprises:飞行速度信息获取模块,用于获取所述无人飞行器的飞行速度信息;A flight speed information acquisition module for acquiring flight speed information of the unmanned aerial vehicle;图像帧率调整模块,用于根据所述飞行速度信息,调整多个不同方向的所述摄像头的图像帧率;An image frame rate adjustment module, configured to adjust image frame rates of the cameras in multiple different directions according to the flight speed information;全面避障控制模块,用于根据调整后的所述摄像头的图像帧率,对所述无人飞行器进行全向避障。The comprehensive obstacle avoidance control module is used to perform omnidirectional obstacle avoidance on the UAV according to the adjusted image frame rate of the camera.
- 根据权利要求7的所述的装置,其特征在于,所述图像帧率调整模块包括飞行方向信息获取单元和图像帧率控制单元;The device according to claim 7, wherein the image frame rate adjustment module comprises a flight direction information acquisition unit and an image frame rate control unit;所述飞行方向信息获取单元用于根据所述飞行速度信息,得到所述无人飞行器的飞行方向信息;The flight direction information acquiring unit is configured to obtain flight direction information of the unmanned aerial vehicle according to the flight speed information;所述图形帧率控制单元用于根据所述飞行方向信息,调整多个不同方向的所述摄像头的图像帧率。The graphic frame rate control unit is configured to adjust the image frame rates of the cameras in multiple different directions according to the flight direction information.
- 根据权利要求8的所述的装置,其特征在于,所述无人飞行器的每个飞行方向上设置均设置有若干摄像头;所述图形帧率控制单元包括当前飞行方向提取子单元、图像帧率提高子单元及图像帧率降低子单元;The device according to claim 8, wherein a plurality of cameras are arranged in each flight direction of the UAV; the graphic frame rate control unit includes a current flight direction extraction subunit, an image frame rate Increase the sub-unit and image frame rate and reduce the sub-unit;所述当前飞行方向提取子单元用于根据所述飞行方向信息,提取出无人飞行器的当前飞行方向;The current flight direction extraction subunit is used to extract the current flight direction of the unmanned aerial vehicle according to the flight direction information;所述图像帧率提高子单元用于将与所述当前飞行方向对应的所述摄像头的图像帧率提高;The image frame rate increasing subunit is used to increase the image frame rate of the camera corresponding to the current flight direction;所述图像帧率降低子单元用于将其他方向对应的所述摄像头的图像帧率降低。The image frame rate reduction subunit is used to reduce the image frame rate of the camera corresponding to other directions.
- 一种无人飞行器,其特征在于,包括:An unmanned aerial vehicle, characterized in that it comprises:机身;body;机臂,与所述机身相连;An arm, connected to the fuselage;动力装置,设于所述机臂,用于给所述无人飞行器提供飞行的动力;The power device is arranged on the arm and is used to provide power for the unmanned aerial vehicle to fly;飞控模组;以及Flight control module; and与所述飞控模组通信连接的存储器;其中,所述存储器存储有可被所述飞控模组执行的指令,所述指令被所述飞控模组执行,以使所述飞控模组能够用于执行如权利要求1-6任一项所述的全向避障方法。A memory communicatively connected with the flight control module; wherein the memory stores instructions that can be executed by the flight control module, and the instructions are executed by the flight control module so that the flight control module The group can be used to implement the omnidirectional obstacle avoidance method according to any one of claims 1-6.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911083405.5 | 2019-11-07 | ||
CN201911083405.5A CN110673647B (en) | 2019-11-07 | 2019-11-07 | Omnidirectional obstacle avoidance method and unmanned aerial vehicle |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021088684A1 true WO2021088684A1 (en) | 2021-05-14 |
Family
ID=69086358
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2020/124059 WO2021088684A1 (en) | 2019-11-07 | 2020-10-27 | Omnidirectional obstacle avoidance method and unmanned aerial vehicle |
Country Status (2)
Country | Link |
---|---|
CN (2) | CN114995487A (en) |
WO (1) | WO2021088684A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113342055A (en) * | 2021-06-30 | 2021-09-03 | 广州极飞科技股份有限公司 | Unmanned aerial vehicle flight control method and device, electronic equipment and storage medium |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114995487A (en) * | 2019-11-07 | 2022-09-02 | 深圳市道通智能航空技术股份有限公司 | Omnidirectional obstacle avoidance method and unmanned aerial vehicle |
CN112634317A (en) * | 2020-12-15 | 2021-04-09 | 深圳慧源创新科技有限公司 | Binocular omnidirectional obstacle avoidance method based on mechanical holder and optical flow algorithm |
CN113093806B (en) * | 2021-04-07 | 2022-06-14 | 涵涡智航科技(玉溪)有限公司 | Omnidirectional obstacle avoidance method and system for aircraft space |
CN114237274B (en) * | 2021-09-28 | 2024-04-19 | 航天时代飞鸿技术有限公司 | Method and system for quickly sensing environmental obstacle of rotor unmanned aerial vehicle fused with IMU |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106204443A (en) * | 2016-07-01 | 2016-12-07 | 成都通甲优博科技有限责任公司 | A kind of panorama UAS based on the multiplexing of many mesh |
CN205910595U (en) * | 2016-07-27 | 2017-01-25 | 四川迈实通科技有限责任公司 | Unmanned aerial vehicle keeps away barrier system based on machine vision |
CN106681353A (en) * | 2016-11-29 | 2017-05-17 | 南京航空航天大学 | Unmanned aerial vehicle (UAV) obstacle avoidance method and system based on binocular vision and optical flow fusion |
CN106708081A (en) * | 2017-03-17 | 2017-05-24 | 北京思比科微电子技术股份有限公司 | Control system for multi-rotor unmanned aerial vehicle |
CN206202676U (en) * | 2016-12-02 | 2017-05-31 | 国网四川省电力公司电力应急中心 | A kind of four rotor unmanned aircraft obstacle avoidance apparatus of use UWB |
CN107817811A (en) * | 2017-10-26 | 2018-03-20 | 哈尔滨市舍科技有限公司 | The unmanned plane collision prevention device and method of view-based access control model |
CN107977014A (en) * | 2017-11-30 | 2018-05-01 | 广州市华科尔科技股份有限公司 | A kind of unmanned plane hovers method automatically |
US10365644B2 (en) * | 2016-05-31 | 2019-07-30 | Optim Corporation | Application, smart device, drone, server, system method, and program for automatically control drone flight |
CN110119162A (en) * | 2019-06-20 | 2019-08-13 | 亿航智能设备(广州)有限公司 | A kind of unmanned plane avoidance obstacle method, unmanned plane and computer readable storage medium |
CN110673647A (en) * | 2019-11-07 | 2020-01-10 | 深圳市道通智能航空技术有限公司 | Omnidirectional obstacle avoidance method and unmanned aerial vehicle |
Family Cites Families (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE112013004341T5 (en) * | 2013-03-15 | 2015-05-21 | Hitachi, Ltd. | Remote operation system |
WO2015004739A1 (en) * | 2013-07-10 | 2015-01-15 | 株式会社日立製作所 | Monitor system, automated patrol robot, and monitor method |
CN103699236B (en) * | 2013-12-27 | 2017-01-18 | 无锡英斯特微电子有限公司 | Frame rate control method for low-power photoelectric navigation system |
US9098753B1 (en) * | 2014-04-25 | 2015-08-04 | Google Inc. | Methods and systems for object detection using multiple sensors |
CN104683691B (en) * | 2015-02-02 | 2017-11-14 | 上海小蚁科技有限公司 | Image pickup method, device and equipment |
JP2016197795A (en) * | 2015-04-03 | 2016-11-24 | 日立オートモティブシステムズ株式会社 | Imaging device |
JP6358213B2 (en) * | 2015-09-18 | 2018-07-18 | 株式会社ニコン | Imaging device |
CN106558121A (en) * | 2015-09-30 | 2017-04-05 | 中兴通讯股份有限公司 | The method and device of shooting |
CN105554376A (en) * | 2015-12-03 | 2016-05-04 | 北京奇虎科技有限公司 | Vehicle intelligent camera device and shooting frame rate adjusting method thereof |
CN108521807B (en) * | 2017-04-27 | 2022-04-05 | 深圳市大疆创新科技有限公司 | Control method and device of unmanned aerial vehicle and method and device for prompting obstacle |
US11074827B2 (en) * | 2017-08-25 | 2021-07-27 | Aurora Flight Sciences Corporation | Virtual reality system for aerial vehicle |
CN108427435A (en) * | 2018-04-20 | 2018-08-21 | 东莞理工学院 | A kind of intelligent barrier avoiding device and its unmanned plane of application |
CN109660731B (en) * | 2019-01-04 | 2021-04-23 | Oppo广东移动通信有限公司 | Electronic equipment and mobile platform |
CN109819161A (en) * | 2019-01-21 | 2019-05-28 | 北京中竞鸽体育文化发展有限公司 | A kind of method of adjustment of frame per second, device, terminal and readable storage medium storing program for executing |
CN109901625B (en) * | 2019-04-11 | 2022-10-25 | 株洲时代电子技术有限公司 | Bridge inspection system |
-
2019
- 2019-11-07 CN CN202210411053.7A patent/CN114995487A/en active Pending
- 2019-11-07 CN CN201911083405.5A patent/CN110673647B/en active Active
-
2020
- 2020-10-27 WO PCT/CN2020/124059 patent/WO2021088684A1/en active Application Filing
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10365644B2 (en) * | 2016-05-31 | 2019-07-30 | Optim Corporation | Application, smart device, drone, server, system method, and program for automatically control drone flight |
CN106204443A (en) * | 2016-07-01 | 2016-12-07 | 成都通甲优博科技有限责任公司 | A kind of panorama UAS based on the multiplexing of many mesh |
CN205910595U (en) * | 2016-07-27 | 2017-01-25 | 四川迈实通科技有限责任公司 | Unmanned aerial vehicle keeps away barrier system based on machine vision |
CN106681353A (en) * | 2016-11-29 | 2017-05-17 | 南京航空航天大学 | Unmanned aerial vehicle (UAV) obstacle avoidance method and system based on binocular vision and optical flow fusion |
CN206202676U (en) * | 2016-12-02 | 2017-05-31 | 国网四川省电力公司电力应急中心 | A kind of four rotor unmanned aircraft obstacle avoidance apparatus of use UWB |
CN106708081A (en) * | 2017-03-17 | 2017-05-24 | 北京思比科微电子技术股份有限公司 | Control system for multi-rotor unmanned aerial vehicle |
CN107817811A (en) * | 2017-10-26 | 2018-03-20 | 哈尔滨市舍科技有限公司 | The unmanned plane collision prevention device and method of view-based access control model |
CN107977014A (en) * | 2017-11-30 | 2018-05-01 | 广州市华科尔科技股份有限公司 | A kind of unmanned plane hovers method automatically |
CN110119162A (en) * | 2019-06-20 | 2019-08-13 | 亿航智能设备(广州)有限公司 | A kind of unmanned plane avoidance obstacle method, unmanned plane and computer readable storage medium |
CN110673647A (en) * | 2019-11-07 | 2020-01-10 | 深圳市道通智能航空技术有限公司 | Omnidirectional obstacle avoidance method and unmanned aerial vehicle |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113342055A (en) * | 2021-06-30 | 2021-09-03 | 广州极飞科技股份有限公司 | Unmanned aerial vehicle flight control method and device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN110673647B (en) | 2022-05-03 |
CN110673647A (en) | 2020-01-10 |
CN114995487A (en) | 2022-09-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021088684A1 (en) | Omnidirectional obstacle avoidance method and unmanned aerial vehicle | |
US20220091607A1 (en) | Systems and methods for target tracking | |
US11914370B2 (en) | System and method for providing easy-to-use release and auto-positioning for drone applications | |
US11632497B2 (en) | Systems and methods for controlling an image captured by an imaging device | |
US11126182B2 (en) | Unmanned aerial image capture platform | |
JP6811336B2 (en) | Multi gimbal assembly | |
CN110494360B (en) | System and method for providing autonomous photography and photography | |
WO2018214078A1 (en) | Photographing control method and device | |
WO2018086130A1 (en) | Flight trajectory generation method, control device, and unmanned aerial vehicle | |
CN107450573B (en) | Flight shooting control system and method, intelligent mobile communication terminal and aircraft | |
WO2021078003A1 (en) | Obstacle avoidance method and device for unmanned vehicle, and unmanned vehicle | |
WO2021088683A1 (en) | Method for adjusting self-discharge cycle of battery, and unmanned aerial vehicle | |
WO2021135823A1 (en) | Flight control method and device, and unmanned aerial vehicle | |
WO2023025202A1 (en) | Control method and apparatus for direction of gimbal, and terminal | |
WO2023025203A1 (en) | Zoom control method and apparatus for gimbal camera, and terminal | |
WO2021093578A1 (en) | High dynamic range image exposure control method, aerial camera, and unmanned aerial vehicle |
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: 20884242 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: 20884242 Country of ref document: EP Kind code of ref document: A1 |