WO2021087702A1 - Sloped terrain prediction method and device, radar, unmanned aerial vehicle, and operation control method - Google Patents

Sloped terrain prediction method and device, radar, unmanned aerial vehicle, and operation control method Download PDF

Info

Publication number
WO2021087702A1
WO2021087702A1 PCT/CN2019/115452 CN2019115452W WO2021087702A1 WO 2021087702 A1 WO2021087702 A1 WO 2021087702A1 CN 2019115452 W CN2019115452 W CN 2019115452W WO 2021087702 A1 WO2021087702 A1 WO 2021087702A1
Authority
WO
WIPO (PCT)
Prior art keywords
radar
scanning area
plane
ground
ground points
Prior art date
Application number
PCT/CN2019/115452
Other languages
French (fr)
Chinese (zh)
Inventor
祝煌剑
王春明
胡文鑫
Original Assignee
深圳市大疆创新科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市大疆创新科技有限公司 filed Critical 深圳市大疆创新科技有限公司
Priority to PCT/CN2019/115452 priority Critical patent/WO2021087702A1/en
Priority to CN201980040205.3A priority patent/CN112368663A/en
Publication of WO2021087702A1 publication Critical patent/WO2021087702A1/en

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course or altitude of land, water, air, or space vehicles, e.g. automatic pilot
    • G05D1/10Simultaneous control of position or course in three dimensions
    • G05D1/101Simultaneous control of position or course in three dimensions specially adapted for aircraft

Definitions

  • This specification relates to the technical field of unmanned aerial vehicles, in particular to a terrain prediction method, device, radar, unmanned aerial vehicle and operation control method for slopes.
  • drones need to fly over uneven terrain, such as sloped ground.
  • uneven terrain such as sloped ground.
  • the UAV can detect the vertical distance to the ground directly below and maintain a certain height difference with the ground directly below, so as to realize ground-like flight such as terrain following.
  • this manual provides a terrain prediction method, device, radar, drone, and operation control method for slopes, which can detect all positions of the drone, such as the front, rear, left, and right ground. More comprehensively predict the terrain of the area where the drone is located.
  • this specification provides a terrain prediction method for slopes, the method includes:
  • the terrain parameter of the omnidirectional scanning area is determined according to the fitting plane, and the terrain parameter includes the slope of the omnidirectional scanning area.
  • the present application provides a terrain prediction device for slopes, the terrain prediction device including a memory and a processor;
  • the memory is used to store a computer program
  • the processor is configured to execute the computer program and, when executing the computer program, implement the following steps:
  • the terrain parameter of the omnidirectional scanning area is determined according to the fitting plane, and the terrain parameter includes the slope of the omnidirectional scanning area.
  • this application provides a radar, the radar including a memory and a processor;
  • the memory is used to store a computer program
  • the processor is configured to execute the computer program and, when executing the computer program, implement the following steps:
  • the terrain parameter of the omnidirectional scanning area is determined according to the fitting plane, and the terrain parameter includes the slope of the omnidirectional scanning area.
  • the present application provides a method for controlling drone operations.
  • the drone is equipped with radar and operates on slopes.
  • the method includes:
  • the terrain parameter of the omnidirectional scanning area Determining the terrain parameter of the omnidirectional scanning area according to the fitting plane, the terrain parameter including the slope of the omnidirectional scanning area;
  • this application provides an unmanned aerial vehicle, the unmanned aerial vehicle including a memory and a processor;
  • the memory is used to store a computer program
  • the processor is configured to execute the computer program and, when executing the computer program, implement the following steps:
  • the terrain parameter of the omnidirectional scanning area Determining the terrain parameter of the omnidirectional scanning area according to the fitting plane, the terrain parameter including the slope of the omnidirectional scanning area;
  • this specification provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, and the computer program can be used by a processor to implement the above-mentioned method.
  • the embodiments of this specification provide a terrain prediction method, device, radar, unmanned aerial vehicle and operation control method, computer-readable storage medium for slope land
  • the fitting plane of the omnidirectional scanning area is fitted according to the detection data; to realize the determination of the terrain parameters of the omnidirectional scanning area according to the fitting plane; and according to the terrain parameters Adjust the flight action of the drone. Since the omnidirectional scanning area includes the different directions of the UAV, the terrain parameters obtained are more global and accurate, so that the flight movements of the UAV can be controlled more safely.
  • FIG. 1 is a schematic flowchart of a method for controlling drone operations according to an embodiment of this specification
  • Figure 2 is a schematic diagram of the structure of an unmanned aerial vehicle according to an embodiment of this specification
  • FIG. 3 is a schematic structural diagram of a radar provided by an embodiment of this specification, in which the housing is not shown;
  • Figure 4 is a cross-sectional view of the radar provided by an embodiment of the specification, in which the housing is not shown;
  • FIG. 5 is a schematic diagram of the intersection of a rotation axis and a preset plane provided by an embodiment of the present application.
  • Fig. 6 is a schematic diagram of the structure of a radar according to an embodiment of the present specification.
  • FIG. 7 is a schematic structural diagram of a terrain prediction device according to an embodiment of this specification.
  • FIG. 8 is a schematic diagram of the radar scanning the omnidirectional scanning area during the rotation process in the embodiment of this specification.
  • Figure 9 is a schematic diagram of radar scanning a ground point to obtain detection data
  • Figure 10 is a schematic diagram of the distribution of several ground points in the geodetic coordinate system in the omnidirectional scanning area
  • FIG. 11 is a schematic diagram of the fitting plane of the omnidirectional scanning area
  • Fig. 12 is a schematic block diagram of an unmanned aerial vehicle according to an embodiment of the present specification.
  • FIG. 1 is a schematic flowchart of a method for controlling drone operations according to an embodiment of this specification.
  • the drone operation control method can be applied to the drone to control the drone's flight actions and other processes according to the terrain.
  • the drone can be a rotary-wing drone, such as a four-rotor drone, a six-rotor drone, an eight-rotor drone, or a fixed-wing drone.
  • Fig. 2 is a schematic diagram of the structure of an unmanned aerial vehicle in an embodiment.
  • the embodiment of this specification takes the rotary wing unmanned aerial vehicle as an example for description.
  • an embodiment of the present application provides an unmanned aerial vehicle 1000.
  • the unmanned aerial vehicle 1000 may include a body 100, a spraying mechanism 220, a power system 300, and a flight control system.
  • the UAV 1000 can communicate with the control terminal wirelessly.
  • the control terminal can display the flight information of the UAV 1000, etc.
  • the control terminal can communicate with the UAV 1000 wirelessly for remote control of the UAV 1000. .
  • the airframe 100 may include a fuselage 110 and a landing gear 120.
  • the fuselage 110 may include a center frame 111 and one or more arms 112 connected to the center frame 111, and the one or more arms 112 extend radially from the center frame 111.
  • the landing frame 120 is connected to the fuselage 110 and is used for supporting the UAV 1000 when it is landed.
  • the spraying mechanism 220 is provided on the body 110, and the spraying mechanism 220 is connected to the containing box 210 for spraying the objects to be sprayed in the containing box 210.
  • the object to be sprayed can be liquid medicine, water or fertilizer.
  • the spraying mechanism 220 includes a water pump and a spray head 221.
  • the accommodating box 210 is used to store liquid medicine or water.
  • the storage box 210 and the water pump are mounted on the body 110.
  • the spray head 221 is mounted on the end of the arm 112.
  • the liquid in the containing box 210 is pumped into the spray head 221 by a water pump, and sprayed out by the spray head 221.
  • the power system 300 can drive the body 100 to move, rotate, turn, etc., so as to drive the spray head 221 to move to different positions or different angles to perform spraying operations in a preset area.
  • the power system 300 may include one or more electronic governors (referred to as ESCs for short), one or more propellers 310, and one or more power motors 320 corresponding to the one or more propellers 310, wherein the power motors 320 are connected Between the electronic governor and the propeller 310, the power motor 320 and the propeller 310 are arranged on the arm 112 of the UAV 1000; the electronic governor is used to receive the driving signal generated by the flight control system and provide a driving current according to the driving signal The power motor 320 is provided to control the speed of the power motor 320.
  • ESCs electronic governors
  • the power motor 320 is used to drive the propeller 310 to rotate, so as to provide power for the flight of the drone 1000, and the power enables the drone 1000 to realize one or more degrees of freedom of movement.
  • the drone 1000 may rotate around one or more rotation axes.
  • the aforementioned rotation axis may include a roll axis (roll axis), a yaw axis (yaw axis), and a pitch axis (pitch axis).
  • the roll axis is the Y axis in FIG. 2
  • the pitch axis is the X axis in FIG. 2
  • the yaw axis is the Z axis in FIG. 2.
  • the power motor 320 may be a DC motor or an AC motor.
  • the power motor 320 may be a brushless motor or a brushed motor.
  • the flight control system may include a flight controller and a sensing system.
  • the sensing system is used to measure the attitude information of the unmanned aerial vehicle 1000, that is, the position information and state information of the unmanned aerial vehicle 1000 in space, such as three-dimensional position, three-dimensional angle, three-dimensional velocity, three-dimensional acceleration, and three-dimensional angular velocity.
  • the sensing system may include, for example, at least one of sensors such as a gyroscope, an ultrasonic sensor, an electronic compass, an inertial measurement unit (IMU), a vision sensor, a global navigation satellite system, and a barometer.
  • the global navigation satellite system may be the Global Positioning System (GPS).
  • the flight controller is used to control the flight of the drone 1000, for example, it can control the flight of the drone 1000 according to the attitude information measured by the sensor system. It should be understood that the flight controller can control the drone 1000 according to pre-programmed program instructions, and can also control the drone 1000 by responding to one or more control instructions from the control terminal.
  • the landing frame 120 of the UAV 1000 is equipped with a radar 400, which can detect objects, such as obstacles.
  • the radar 400 can measure the distance from the object to the launch point of the radar 400, the rate of change of distance, the azimuth, the height, etc., so as to realize functions such as ground scanning.
  • the radar 400 is a millimeter wave radar 400.
  • the radar 400 may also be an over-the-horizon radar 400, a microwave radar 400, a lidar 400, or the like.
  • the radar 400 includes a base 410, an antenna mechanism 420 and a driving mechanism 430.
  • the antenna mechanism 420 can rotate relative to the fuselage 110 around a preset rotation axis R, and is used to detect obstacles on the side of the UAV 1000.
  • the base 410 is mounted on the landing gear 120.
  • the antenna mechanism 420 includes a transmitter (not labeled) and a receiver (not labeled).
  • the transmitter is used to generate and transmit radar signals.
  • the radar signals propagate forward in the transmitted direction and are reflected when they encounter obstacles.
  • the receiver is used to receive the echo signal that is reflected back.
  • the antenna mechanism 420 can rotate around the rotation axis R under the driving of the driving mechanism 430, so that the antenna mechanism 420 can selectively transmit signals in multiple directions and receive echo signals reflected from multiple directions. Therefore, the distance between the drone 1000 and obstacles in multiple directions can be selectively detected by one antenna mechanism 420, and the structure of the drone 1000 is simple.
  • the rotation axis R intersects the preset plane ⁇ , that is, the rotation axis R and the preset plane ⁇ are arranged non-parallel.
  • the preset plane ⁇ is the plane where the pitch axis and roll axis of the drone 1000 are located.
  • the driving mechanism 430 is provided on the base 410.
  • the rotating part of the driving mechanism 430 is connected to the antenna mechanism 420 to drive the antenna mechanism 420 to rotate around the rotation axis R.
  • the driving mechanism 430 includes a motor, and the motor includes a stator 431 and a rotor 432.
  • the rotor 432 is a rotating part of the driving mechanism 430.
  • the rotor 432 can rotate relative to the stator 431 to drive the antenna mechanism 420 to rotate. More specifically, the stator 431 is mounted on the base 410, and the antenna mechanism 420 is mounted on the rotor 432 of the motor.
  • the rotor 432 rotates relative to the base 410, so that the antenna mechanism 420 rotates about the rotation axis R relative to the base 410.
  • the antenna mechanism 420 of the radar 400 is driven by the rotor 432 to rotate in the forward or reverse direction around the rotation axis R based on the nose direction of the drone 1000, and scans a fan-shaped area within an angular range each time.
  • the antenna mechanism 420 rotates one circle, that is, 360°, and can scan a complete circular area with the center of the radar 400 as the center, so as to obtain the detection data of the circular omnidirectional scanning area.
  • the rotor 432 of the motor can rotate forward or backward for at least one turn, thereby driving the antenna mechanism 420 to rotate forward or backward at least 360° in all directions.
  • the rotation angle range of the antenna mechanism 420 around the rotation axis R is greater than or equal to 360°, such as 450°, 540°, 720°, 1020°, etc., to achieve continuous rotation, thereby increasing the data collection points of the antenna mechanism 420 and improving the radar 400 measurement accuracy.
  • the angle ⁇ between the rotation axis R and the preset plane ⁇ is 60°-90°.
  • the included angle ⁇ between the rotation axis R and the preset plane ⁇ may be 60°, 65°, 70°, 80°, 85°, 90°, and any other suitable angles between 60° and 90°.
  • the angle ⁇ between the rotation axis R and the preset plane ⁇ is in the range of 60°-90°, so that the scanning field of view can not only include the front field of vision and the rear field of vision, but also include other side field of vision except the front field of vision and the rear field of vision. , So as to expand the detection angle and detection coverage of UAV 1000 as much as possible, and realize omnidirectional scanning.
  • the rotation axis R roughly coincides with the center line of the fuselage 110 to avoid the problem of unbalanced center of gravity of the UAV 1000 caused by the installation of the radar 400, thereby ensuring the flight reliability of the UAV 1000.
  • substantially coincident means that the angle between the rotation axis R and the center line of the fuselage 110 is 0°-10°, that is, any angle between 0°, 10°, and 0°-10°.
  • the rotation axis R and the yaw axis of the drone 1000 are at an acute angle.
  • the acute angle can be any suitable angle, for example, 0°-30°, that is, any of 0°, 5°, 10°, 15°, 20°, 25°, 30°, and 0°-30° Other suitable angles.
  • the rotation axis R is substantially perpendicular to the preset plane ⁇ , or the rotation axis R is substantially coincident with the yaw axis of the UAV 1000.
  • the omnidirectional scanning area of the radar 400 is a circle centered on the center of the radar 400.
  • the perfect circle is a 360° area surrounding the side of the UAV 1000, which can reflect the ground detection information of the UAV 1000 in different directions.
  • the antenna mechanism 420 can transmit microwave signals to the left, right, front, and rear of the UAV 1000 and receive echo signals reflected by obstacles on the left, right, front, and rear.
  • the radar 400 is available It is used to realize the functions of left scan, right scan, front scan, rear scan, left terrain prediction, right terrain prediction, front terrain prediction, and rear terrain prediction.
  • the intersection of the rotation axis R of the rotor 432 with the plane where the pitch axis and roll axis of the UAV 1000 are located can also be other specific situations, which are not limited here.
  • the omnidirectional scanning area is not a perfect circle, but it is also a circle.
  • the 360° area of the UAV 1000 can reflect the ground detection information of the UAV 1000 in different directions.
  • the above-mentioned rotation axis R may be a real axis or an imaginary axis.
  • the antenna mechanism 420 can rotate relative to the rotation axis R; or, the antenna mechanism 420 rotates along with the rotation axis R.
  • the antenna mechanism 420 is provided on the side of the base 410 away from the fuselage 110, so that the antenna mechanism 420 of the radar 400 is as far away from the sensor provided on the fuselage 110 as possible, and the radar generated by the antenna mechanism 420 is reduced. Signals (such as electromagnetic waves) interfere with sensors on the body 110.
  • the radar 400 further includes a sensing mechanism 440.
  • the sensing mechanism 440 is arranged at an end of the antenna mechanism 420 far away from the base 410 and is used to detect the height of the drone 1000 relative to the ground.
  • the driving mechanism 430 drives the antenna mechanism 420 to rotate
  • the sensing mechanism 440 also rotates together with the antenna mechanism 420.
  • the sensing mechanism 440 includes at least one of a vision sensor, an ultrasonic ranging sensor, a depth camera, a radar antenna structure, and the like.
  • the shape of the antenna mechanism 420 and the sensing mechanism 440 can be designed in any suitable shape according to actual requirements, for example, a plate shape.
  • the antenna mechanism 420 and the sensing mechanism 440 are both substantially plate-shaped, the antenna mechanism 420 and the sensing mechanism 440 are substantially perpendicular.
  • the antenna mechanism 420 is substantially perpendicular to the plane where the pitch axis and the roll axis of the drone 1000 are located.
  • the sensing mechanism 440 is substantially parallel to the plane where the pitch axis and roll axis of the drone 1000 are located.
  • the radar 400 further includes a circuit board 450.
  • the circuit board 450 is disposed on the base 410 opposite to the antenna mechanism 420 for processing the signal of the antenna mechanism 420.
  • the circuit board 450 can process the signal of the antenna mechanism 420, for example, amplify the echo signal; filter the interference signal; convert the echo signal into a radar data signal for the control of the back-end equipment, terminal observation and/or recording Wait.
  • the circuit board 450 has a plate shape, but of course it can also be designed in any other suitable shape. Since the center of gravity of the antenna mechanism 420 deviates from the rotation axis R of the antenna mechanism 420, the center of gravity of the radar 400 will deviate from the rotation axis R of the antenna mechanism 420, thereby causing the center of gravity of the drone 1000 to be unbalanced, making the drone 1000 unreliable in flight. To this end, the circuit board 450 and the antenna mechanism 420 are arranged at opposite ends of the sensing mechanism 440.
  • the circuit board 450 and the antenna mechanism 420 are arranged symmetrically about the rotation axis R, so as to balance the center of the antenna mechanism 420 so that the center of the radar 400 is approximately located
  • the rotation axis R of the antenna mechanism 420 is mounted.
  • the antenna mechanism 420, the sensing mechanism 440, and the circuit board 450 form a “ ⁇ ” structure, and the opening of the “ ⁇ ” structure faces the body 110.
  • the radar 400 further includes a housing 460.
  • the housing 460 cooperates with the base 410 to form an accommodating space.
  • the antenna mechanism 420, the driving mechanism 430, the sensing mechanism 440 and the circuit board 450 are accommodated in the housing.
  • the antenna mechanism 420, the driving mechanism 430, the sensing mechanism 440, and the circuit board 450 are protected from the external environment, so as to avoid interference from the external environment or damage to these components. It is understandable that the signals transmitted or received by the antenna mechanism 420 and the sensing mechanism 440 can be passed through the housing 460, that is, the housing 460 will not affect the normal transmission or reception of signals by the antenna mechanism 420 and the sensing mechanism 440.
  • the antenna mechanism of the radar can rotate around the axis of rotation, the axis of rotation intersects the plane where the pitch axis and the roll axis are located, not only can detect the front and rear vision of the UAV, but also the side vision of the UAV in addition to the front and rear vision
  • the detection is carried out on the side field of view other than the field of view, which expands the detection angle and detection coverage of the UAV, and realizes the omnidirectional scanning of the ground.
  • the operation control method of the drone in this embodiment includes steps S110 to S140.
  • the radar is mounted under the UAV, and the detection data of the circular omnidirectional scanning area with the center of the circle directly under the radar can be obtained.
  • S120 Fit a fitting plane of the omnidirectional scanning area according to the detection data.
  • the detection data includes the azimuth information of several ground points in the omnidirectional scanning area, and the fitting plane of the ground in the omnidirectional scanning area is obtained by fitting, and most of the ground points in the omnidirectional scanning area are located on the fitting plane or The distance to the fitting plane is small.
  • the determined terrain parameters may include the slope.
  • information such as the slope of the omnidirectional scanning area can be determined according to the inclination direction of the fitting plane.
  • the determined terrain parameters may include the flatness.
  • the omnidirectional scanning area is flat according to the number of ground points and the size of the distance with a larger distance from the fitting plane.
  • the aforementioned steps S110 to S130 may be implemented by a drone.
  • the foregoing steps S110 to S130 can be implemented by a radar, that is, the steps of the slope terrain prediction method in the embodiment of this specification.
  • the radar 400 includes a processor 401 and a memory 402.
  • the processor 401 and the memory 402 may be provided on the circuit board 450 of the radar 400.
  • the processor 401 and the memory 402 are connected by a bus 403, and the bus 403 is, for example, an I2C (Inter-integrated Circuit) bus.
  • I2C Inter-integrated Circuit
  • the processor 401 may be a micro-controller unit (MCU), a central processing unit (CPU), a digital signal processor (Digital Signal Processor, DSP), or the like.
  • MCU micro-controller unit
  • CPU central processing unit
  • DSP Digital Signal Processor
  • the memory 402 may be a Flash chip, a read-only memory (ROM, Read-Only Memory) disk, an optical disk, a U disk, or a mobile hard disk.
  • the memory 402 is used to store computer programs
  • the processor 401 is configured to execute the computer program and, when executing the computer program, implement the aforementioned steps S110 to S130, that is, the steps of the slope terrain prediction method in the embodiment of this specification.
  • step S110 to step S130 can be implemented by the terrain prediction device, that is, the steps of the slope terrain prediction method in the embodiment of this specification.
  • the terrain prediction device may be, for example, a server or a terminal.
  • the terminal can be a mobile phone, a tablet computer, a notebook computer, a desktop computer, a personal digital assistant, and other electronic devices;
  • the server can be an independent server or a server cluster.
  • the terrain prediction apparatus 600 includes a processor 601 and a memory 602.
  • the processor 601 and the memory 602 are connected by a bus 603, and the bus 603 is, for example, an I2C (Inter-integrated Circuit) bus.
  • I2C Inter-integrated Circuit
  • the processor 601 may be a micro-controller unit (MCU), a central processing unit (CPU), a digital signal processor (Digital Signal Processor, DSP), or the like.
  • MCU micro-controller unit
  • CPU central processing unit
  • DSP Digital Signal Processor
  • the memory 602 may be a Flash chip, a read-only memory (ROM, Read-Only Memory) disk, an optical disk, a U disk, or a mobile hard disk.
  • the memory 602 is used to store computer programs
  • the processor 601 is configured to execute the computer program and, when executing the computer program, implement the aforementioned steps S110 to S130, that is, the steps of the slope terrain prediction method in the embodiment of this specification.
  • the slope terrain prediction method, device, and radar acquire the detection data of the omnidirectional scan area obtained by the radar during the ground rotation scanning process, and fit the omnidirectional scan area according to the detection data
  • the fitting plane in order to realize the determination of the terrain parameters of the omnidirectional scanning area according to the fitting plane, it can be based on the detection of the UAV's various positions, such as the front, rear, left, and right ground, for a more comprehensive Predict the terrain of the area where the drone is located.
  • the drone may also perform step S140.
  • the drone can obtain terrain parameters from a radar, obtain terrain parameters from a terrain prediction device, or obtain the terrain parameters by the drone through the aforementioned steps S110 to S130.
  • the UAV can adjust the flight actions of the UAV according to the information such as the flatness and slope of the ground, so as to ensure the safe flight of the UAV and the reliable execution of the operation tasks.
  • obtaining the omnidirectional scanning area detection data obtained by the radar during the ground rotation scanning process in step S110 includes: obtaining the radar's return data, and performing spectrum extraction, processing and analysis on the return data , You can calculate the relative spatial position between the radar and the scanning target, such as obstacles.
  • the radar is a continuous wave radar.
  • the detection data can be obtained according to the continuous wave radar ranging and angle measurement algorithm. For example, by processing the radar return data, spectrum extraction and further spectrum refinement are completed, and finally the refined frequency point position is converted into the azimuth information of the ground point.
  • the radar mounted under the drone rotates based on the direction of the drone's nose, and scans a fan-shaped area within an angular range each time.
  • the radar rotates one circle, that is, 360°, it can scan a complete circular area, and obtain the detection data of the circular omnidirectional scanning area with the center of the circle directly below the radar.
  • the rotation direction of the radar can be the same as the vertical direction of the drone.
  • the omnidirectional scanning area is a perfect circle with the center of the radar as the center, which is a 360° area surrounding the drone. It reflects the ground detection information of the UAV in different directions.
  • the omnidirectional scanning area is not a perfect circle, but it is also a 360° area surrounding the drone. It can reflect the ground detection information of the UAV in front, back, left, and right directions.
  • a certain area under the drone is scanned based on a rotating radar to obtain the spatial orientation information of the ground point in the omnidirectional scanning area.
  • the detection data of several ground points in the omni-directional scanning area can also be acquired through a vision sensor, a time of flight (TOF) sensor, or a sensor module with ranging and angle measurement such as a lidar or an ultrasonic module.
  • a vision sensor a time of flight (TOF) sensor
  • a sensor module with ranging and angle measurement such as a lidar or an ultrasonic module.
  • a two-dimensional image of the omnidirectional scanning area is acquired by a vision sensor, and then a three-dimensional point cloud is extracted from the two-dimensional image.
  • the visual sensor has higher requirements for the lighting environment, and is easily affected by the light intensity, the color of the background target, the dust in the environment, and the water mist.
  • the acquiring the omnidirectional scanning area detection data obtained by the radar during the ground rotation scanning process includes: acquiring the detection distances and azimuth angles of several ground points in the omnidirectional scanning area relative to the radar .
  • Figure 9 shows the radar detection target object, such as a schematic diagram of the beam horizontal plane of a certain ground point.
  • the output of the radar is the detection distance r and the azimuth angle ⁇ of the ground point relative to the radar.
  • the detection distance r of the ground point relative to the radar represents the radial distance of the ground point relative to the center of the radar.
  • the method further includes: acquiring the radar rotation angle corresponding to each of the ground points when the radar detects each of the ground points
  • the radar rotation angle Indicates the relative initial position of the radar's radio frequency board at the current frame, such as the rotation angle of the nose.
  • step S110 the coordinate system of several ground points in the omnidirectional scanning area with the radar as the origin can be obtained, which can be called the coordinates on the radar coordinate system.
  • the radar coordinate system can be, for example, a spherical coordinate system, a cylindrical coordinate system, etc. , Of course, it can also be a rectangular coordinate system.
  • the coordinates of the ground point on the rectangular coordinate system with the radar as the origin may be expressed in terms of the distance of the ground point relative to the radar in multiple directions.
  • the spherical coordinate system coordinates, the cylindrical coordinate system coordinates, etc., of the ground point obtained from the radar may be converted to the coordinates on the rectangular coordinate system. It is convenient for plane fitting calculation, the calculation amount is smaller, and the terrain can be judged faster.
  • the acquiring the omnidirectional scanning area detection data obtained by the radar during the ground rotation scanning process further includes: determining each of the ground points according to the radar rotation angle, detection distance, and azimuth angle corresponding to the ground point The distance in multiple directions relative to the radar.
  • the acquiring the detection data of the omnidirectional scanning area obtained by the radar during the ground rotation scanning process may include: acquiring the distances of several ground points in the omnidirectional scanning area relative to the radar in multiple directions .
  • the distances of the ground point relative to the radar in multiple directions include: position coordinates of the ground point in the radar coordinate system of the radar.
  • the radar coordinate system takes the rotation center of the radar as the origin, the first axis direction is directly below the radar, the second axis direction is the front direction of the radar, and is perpendicular to the first axis direction.
  • the direction of the uniaxial direction and the second axis direction is the third axis direction.
  • the position coordinates of the ground point in the radar coordinate system of the radar are represented by ⁇ x, y, z ⁇ A , which is specifically represented by the Cartesian coordinate system of the radar observation system of the ground point, where the subscript A represents the coordinate system
  • the origin of is determined according to the center of the radar, and x, y, and z respectively represent three mutually perpendicular coordinate axes of the Cartesian coordinate system.
  • the spherical coordinate system coordinates of the ground point are Representation
  • the conversion of the ground point position representation from the spherical coordinate system to the Cartesian coordinate system can be accomplished by the following model:
  • step S110 coordinate data of several ground points in the omnidirectional scanning area in the geodetic coordinate system can be acquired.
  • the geodetic coordinate system takes a certain point on the ground as its origin.
  • the origin of the geodetic coordinate system is located directly below the radar. In order to obtain the fitting surface of the omnidirectional scanning area under the radar in subsequent fitting.
  • the geodetic coordinate system takes the true north or true south direction of the geodetic origin as the fourth axis direction, takes the true east or west of the geodetic origin as the fifth axis direction, and is perpendicular to the fourth axis and the direction.
  • the direction of the fifth axis direction is the sixth axis direction.
  • the coordinate data of the ground point in the geodetic coordinate system includes the distance of the ground point in the fourth axis direction, the fifth axis direction, and the sixth axis direction relative to the geodetic origin.
  • the adopted geodetic coordinate system is ENU (East-North-UP coordinate system).
  • X G can be used to indicate the distance of the ground point relative to the origin of the coordinate from the true north
  • y G means the distance of the ground point from the origin of the coordinate to the true east
  • z G the distance of the ground point from the origin of the coordinate in the vertical direction.
  • the radar can convert the coordinates of the ground point on the coordinate system with the radar as the origin to the coordinates on the geodetic coordinate system according to the conversion model between the coordinate system with the radar as the origin and the geodetic coordinate system.
  • the conversion model can be determined based on the attitude of the radar, for example.
  • the UAV can obtain the coordinates of the ground point in the coordinate system with the radar as the origin from the radar, and obtain the attitude of the radar, and then the UAV obtains the ground point in the geodetic coordinate system according to the attitude of the radar. coordinate of.
  • step S120 fitting the fitting plane of the omnidirectional scanning area according to the detection data includes: determining the coordinates of several ground points in the omnidirectional scanning area in the geodetic coordinate system according to the detection data Data; fitting the fitting plane of the omnidirectional scanning area according to the coordinate data of the several ground points.
  • the influence of radar or radar carrier, such as the attitude of the UAV, on the ground observation can be eliminated, and the plane model obtained by the ground fitting is more accurate.
  • the conversion of the coordinates of the ground point on the coordinate system with the radar as the origin to the coordinates on the geodetic coordinate system may be converted by the calculation model of the following formula:
  • the method further includes: acquiring the attitude information of the radar through an inertial measurement unit (IMU) carried by the drone and/or an inertial measurement unit carried by the radar.
  • IMU inertial measurement unit
  • the determining the coordinate data of several ground points in the omnidirectional scanning area in the geodetic coordinate system according to the detection data includes: determining the position of the several ground points according to the attitude information of the radar and the detection data Coordinate data in the geodetic coordinate system.
  • the attitude quaternion ⁇ q 0 , q 0 , q 0 , q 0 ⁇ of the radar is obtained from the inertial measurement unit in real time, and the coordinate system with the radar as the origin and the geodetic coordinate system can be determined according to the attitude quaternion of the radar The homogeneous transformation matrix between.
  • the coordinate data of several ground points in the omnidirectional scanning area in the geodetic coordinate system can be obtained.
  • the ground points can be expressed as ⁇ x G , y G , z G ⁇ .
  • fitting the fitting plane of the omnidirectional scanning area according to the detection data in step S120 includes: fitting the omnidirectional scanning area according to the coordinate data of the several ground points The fitted plane of the scan area.
  • fitting the fitting plane of the omnidirectional scanning area according to the coordinate data of the several ground points in step S120 includes: filtering the coordinate data of the several ground points, and according to the filtering The coordinate data of the subsequent ground point fits the fitting plane of the omnidirectional scanning area.
  • the outlier points and object points existing in the original radar observations will make the assumption that the ground is a flat plane invalid. If the plane fitting is directly performed on the coordinate data of the ground point, the fitting result will have a large deviation from the actual situation.
  • the feature point represents the ground attachment, such as the ground point of a building, which is not the real ground.
  • the DBSCAN clustering algorithm can be used to eliminate outliers and ground feature points in the original observations, and extract effective ground points.
  • the performing cluster analysis on the plurality of ground points according to the coordinate data of the plurality of ground points to determine the ground points that meet the clustering condition includes:
  • KDTREE data structure For example, use the KDTREE data structure to establish a tree structure for all ground points based on the coordinate data of the ground points; then determine a ground point in turn as the point to be clustered, and find all the points in the tree that are less than the preset search Radius of ground points, if the number of ground points within the search radius of the points to be clustered is greater than the preset minimum point cluster threshold, the current points to be clustered are considered as valid points and reserved, otherwise, they are considered as outliers or miscellaneous points. Point elimination; until each ground point in the omnidirectional scanning area is traversed.
  • the coordinate data of several ground points in the omni-directional scanning area can also be screened in other ways to eliminate outliers and noise points in the original observation, for example, through filtering methods such as feature segmentation.
  • the fitting plane of the omnidirectional scanning area is fitted according to the coordinate data of the ground point, and the plane fitting may be performed by a least square method.
  • the fitting plane of the omnidirectional scanning area is fitted by the least square method according to the coordinate data of the filtered ground points.
  • the vertical height z is regarded as the variable with the highest degree of independence, and the plane equation is established:
  • the least square method also known as the least square method, is a mathematical optimization method. It finds the best function match of the data by minimizing the sum of squares of the error.
  • the least square method can be used to easily obtain unknown data, and minimize the sum of squares of errors between the obtained data and the actual data.
  • the "least squares method” is a standard method to obtain approximate solutions for overdetermined equations, that is, equations with more equations than unknowns, by regression analysis. In this entire solution, the least squares method is calculated as the result of each equation, minimizing the sum of the residual sum of squares.
  • the coordinates of the target center point can be based on
  • the coordinates ⁇ x G , y G , z G ⁇ of the ground points participating in the fitting are determined by the average value, Is the coordinates of the ground point ⁇ x G , y G , z G ⁇ minus the target center point
  • the effective points in the original observation can be screened out by the least squares method based on RANSAC, that is, the coordinate data of the several ground points are screened to obtain the coordinate data of the ground points after screening.
  • Random sampling consensus algorithm uses an iterative method to estimate the parameters of the mathematical model from a set of observed data containing outliers.
  • RANSAC Random SAmple Consensus
  • the fitting the fitting plane of the omnidirectional scanning area according to the coordinate data of the several ground points includes: determining at least three ground points from the several ground points, and according to the at least three ground points.
  • Ground points determine a target plane; determine the plane distance from each ground point to the target plane according to the coordinate data of the several ground points; if the plane distance is not greater than the distance threshold, the number of ground points is not less than the preset
  • the number threshold is fitted to obtain the fitted plane of the omnidirectional scanning area according to the ground points whose plane distance is not greater than the distance threshold.
  • the fitting of the fitting plane of the omnidirectional scanning area according to the coordinate data of the several ground points includes the following steps:
  • the second step Calculate the distance between all ground points ⁇ x i , y i , z i ⁇ and the plane established in the first step:
  • the third step if the distance from a certain ground point to the plane is less than a preset threshold, the ground point is considered to be an intra-office point, and the number n of intra-office points corresponding to the plane is counted.
  • Fourth step If the number n of intra-office points is greater than the number N of intra-office points required to establish a credible plane (preset value), use all the intra-office points corresponding to the plane to perform plane fitting to obtain the fitted plane. For example, fitting by the least squares method.
  • the fitting of the fitting plane of the omnidirectional scanning area according to the coordinate data of the several ground points further includes: according to the height value of the interior point, such as z 3 and the intercept D of the fitting plane It is judged whether the fitting plane obtained by fitting the interior points is accurate.
  • the fitting plane obtained by fitting the interior points is accurate, and the fitting result of this time can be retained.
  • the fitting plane fitted this time is discarded. It is possible to return to the determination of at least three ground points from the plurality of ground points, and determine a target plane according to the at least three ground points; determine each ground point to the target according to the coordinate data of the plurality of ground points The plane distance of the plane; if the number of ground points whose plane distance is not greater than the distance threshold is not less than the preset number threshold, the omnidirectional scan area is obtained by fitting the ground points whose plane distance is not greater than the distance threshold The step of combining the plane is continued, and the at least three ground points are different from at least one of the three ground points determined last time.
  • the outliers are eliminated, that is, the number of ground points after screening is less than the number required to establish a credible plane, it is determined that the radar acquired this time has a certain number of omnidirectional scanning areas during the rotation process.
  • the detection data of the ground point is invalid. Can re-acquire and filter, fit.
  • the fitting plane of the omnidirectional scanning area is fitted in step S120 as shown in FIG. 11.
  • the terrain parameters of the omnidirectional scanning area may be determined according to the fitting plane, and the terrain parameters of the omnidirectional scanning area include at least one of the following: the slope of the omnidirectional scanning area, the The flatness of the omnidirectional scanning area, and the height value of the ground directly below the radar.
  • the drone operates on slopes, such as spraying pesticides on terraces, orchards on hillsides. At least part of the terrain has a certain angle relative to the horizontal, that is, the slope.
  • the slope of the area where the drone is located cannot be fully reflected, such as the rear, left, and right sides of the drone.
  • the terrain following effect is poor, and the safety of drone operations is poor.
  • the terrain parameter of the omnidirectional scanning area determined in step S130 according to the fitting plane includes the slope of the omnidirectional scanning area.
  • the determining the terrain parameters of the omnidirectional scanning area according to the fitting plane includes: determining a slope direction; and determining the slope of the fitting plane in the slope direction.
  • the slope of the fitting plane in the slope direction may be determined according to the normal vector of the fitting plane.
  • the direction of the drone nose is the gradient direction; or it may be determined that the flying direction of the drone is the gradient direction.
  • other directions can also be used as the gradient direction, for example, the left, right, and tail directions of the drone fuselage, or the left, right, etc. in the flying direction of the drone are determined as the gradient direction.
  • the attitude of the radar is based on the direction of the nose.
  • the flight direction of the nose is the gradient direction, or although the flying direction of the drone is the gradient direction but the flying direction of the drone is consistent with the nose, then the flight The slope of the direction can be directly determined by the normal vector of the fitted plane get:
  • the gradient of the fitting plane in the gradient direction can be obtained by the following formula :
  • ⁇ V x , V y ⁇ represents the gradient direction, for example, the projection of the flying direction of the drone on the fitting plane.
  • the terrain slope in any direction of the omnidirectional scanning area can be determined according to the fitting plane. , Such as determining the slope of the ground in the flying direction of the drone.
  • the UAV operates on undulating ground.
  • the UAV’s operating ground has appendages, such as trees, water towers, poles, or ponds, potholes, and the like. These terrains are not level enough, which will affect the normal operation of UAVs and even cause safety hazards.
  • the drone needs to maintain a safe height with the ground when operating on uneven ground, or the drone needs to land on a flat ground when landing.
  • the resulting flatness cannot reflect the overall terrain environment where the drone is located.
  • the predicted flatness cannot reflect the unmanned In other positions of the drone, such as the terrain behind, on the left, and on the right, the safety of drone operations is poor.
  • the terrain parameter of the omnidirectional scanning area determined in step S130 according to the fitting plane includes the flatness of the omnidirectional scanning area.
  • the determining the terrain parameters of the omnidirectional scanning area according to the fitting plane includes: determining the coordinates of the multiple ground points to the fitting plane according to the coordinate data of the multiple ground points The average value of the distance is used to determine the flatness of the omnidirectional scanning area according to the average value.
  • the flatness of the omnidirectional scanning area may be determined according to the average value of the distance from the filtered ground point, that is, the coordinate data of the effective ground point to the fitting plane.
  • the average value of the distances from the n ground points to the fitting plane may be used as the flatness of the omnidirectional scanning area. If the average value is larger, it means that the ground in the omnidirectional scanning area is more uneven; if the average value is smaller, it means that the ground is flatter.
  • the flatness may also be determined by the residual of the distance from the ground point to the fitting plane, for example, the square of the residual of the distance from the n ground points to the fitting plane is determined as the flatness.
  • the residual error cannot describe the flatness of the sloped ground well, and the existence of the slope will make the residual error value larger. Therefore, in order to eliminate the influence of the ground slope on the flatness, the ground flatness can be determined by using the mean value of the distance from the effective ground point to the fitting plane.
  • the flatness of the omnidirectional scanning area can be determined according to the fitting plane. It can reflect the leveling of the terrain in different directions from the front, back, left, and right of the drone.
  • the height value of the ground directly below the radar is determined according to the intercept of the fitting plane.
  • the origin of the geodetic coordinate system is directly below the radar, and the intercept of the fitting plane may be equal to the height of the ground directly below the center of the radar.
  • the adjusting the flight motion of the drone according to the terrain parameter in step S140 includes: adjusting at least one of a flight speed, a pitch angle, a roll angle, and a yaw angle according to the slope. .
  • the slope in the flying direction of the drone is large, you can reduce the flight speed and increase the pitch angle; if the slope in the left direction of the drone is small, you can fly to the left by adjusting the yaw angle .
  • the projection of the flying speed direction of the drone on the fitting plane can be used to predict the terrain changes in the flying direction of the drone, and the speed of the drone can be controlled in advance, so that the drone can be used in mountains and other environments.
  • the drone can be used in mountains and other environments.
  • the speed control of the UAV can respond in advance, thereby ensuring the safety of the unmanned UAV operating in the mountains.
  • adjusting the flight motion of the UAV according to the terrain parameters in step S140 includes: adjusting the flight speed, pitch angle, roll angle, and yaw according to the height value of the ground directly below the radar. At least one of the angles.
  • the drone and the operating target need to be maintained. If the distance between the trees is kept within a range, the drone can be better controlled by determining the height of the ground directly below To maintain the distance between job targets.
  • the descending height can be adjusted by adjusting the pitch angle; if the altitude value of the ground directly below the radar changes greatly, the drone can be controlled to reduce the flight speed to ensure flight safety.
  • step S140 adjusting the flight action of the drone according to the terrain parameter includes: adjusting at least one of a flight speed, a pitch angle, a roll angle, and a yaw angle according to the flatness. item.
  • the omnidirectional scanning area is very uneven, you can reduce the flight speed or reduce the pitch angle, roll angle, and yaw angle to ensure flight safety.
  • the adjusting the flying action of the drone according to the terrain parameter includes: adjusting the speed control sense according to the flatness.
  • Sensitivity also becomes sensitivity. If the omnidirectional scanning area is very uneven, you can reduce the sensitivity of the speed control to have more time for obstacle avoidance and error correction.
  • step S140 adjusting the flight motion of the drone according to the terrain parameter includes: judging whether to land in the omnidirectional scanning area according to the flatness, and if so, in the omnidirectional scanning area. Landing towards the scanning area.
  • the omnidirectional scanning area is sufficiently flat according to the flatness, it will land in the omnidirectional scanning area.
  • the determined landing area is safer, and the autonomous landing point selection of the UAV based on the flatness of the ground can be realized.
  • adjusting the flight action of the drone according to the terrain parameter in step S140 includes: determining a flight route according to the terrain parameter; and flying along the flight route.
  • the flight route can be determined based on the slope of the omnidirectional scanning area in different directions, the flatness of the omnidirectional scanning area, the height of the ground and other terrain parameters, and/or the variation amplitude and frequency of the terrain parameters, etc., to achieve a safer Plan the flight route independently.
  • the drone operation control method acquires the detection data of the omnidirectional scanning area obtained by the radar carried by the drone during the ground rotation scanning process, and fits the omnidirectional scanning according to the detection data The fitting plane of the area; to realize the determination of the terrain parameters of the omnidirectional scanning area according to the fitting plane; and adjust the flight action of the drone according to the terrain parameters. Since the omnidirectional scanning area includes different directions of the UAV, the obtained terrain parameters are more global and accurate, so that the flight actions of the UAV can be controlled more safely.
  • FIG. 12 is a schematic block diagram of an unmanned aerial vehicle 700 according to an embodiment of the present specification.
  • the UAV 700 includes an integrated radar, or may be additionally equipped with an independent radar.
  • the drone 700 includes a processor 701 and a memory 702.
  • the processor 701 and the memory 702 are connected by a bus 703, and the bus 703 is, for example, an I2C (Inter-integrated Circuit) bus.
  • I2C Inter-integrated Circuit
  • the processor 701 may be a micro-controller unit (MCU), a central processing unit (CPU), a digital signal processor (Digital Signal Processor, DSP), or the like.
  • MCU micro-controller unit
  • CPU central processing unit
  • DSP Digital Signal Processor
  • the memory 702 may be a Flash chip, a read-only memory (ROM, Read-Only Memory) disk, an optical disk, a U disk, or a mobile hard disk.
  • the processor 701 is configured to run a computer program stored in the memory 702, and implement the aforementioned drone operation control method when the computer program is executed.
  • the processor 701 is configured to run a computer program stored in the memory 702, and implement the following steps when the computer program is executed:
  • the terrain parameter of the omnidirectional scanning area Determining the terrain parameter of the omnidirectional scanning area according to the fitting plane, the terrain parameter including the slope of the omnidirectional scanning area;
  • the embodiments of this specification also provide a computer-readable storage medium, the computer-readable storage medium stores a computer program, the computer program includes program instructions, and the processor executes the program instructions to implement the foregoing implementation The steps of the method provided by the example.
  • the computer-readable storage medium may be the internal storage unit of the radar, the terrain prediction device, or the UAV described in any of the foregoing embodiments, for example, the hard disk or memory of the UAV.
  • the computer-readable storage medium may also be an external storage device of the radar, a terrain prediction device, or a drone, such as a plug-in hard disk or a smart memory card (Smart Media Card, SMC) equipped on the drone, Secure Digital (SD) card, flash card (Flash Card), etc.
  • the UAV and the computer-readable storage medium provided in the above-mentioned embodiments of this specification acquire the detection data of the omnidirectional scanning area obtained by the radar carried by the UAV during the ground rotation scanning process, and fit the detection data according to the detection data.
  • the fitting plane of the omnidirectional scanning area to realize the determination of the terrain parameters of the omnidirectional scanning area according to the fitting plane; and adjusting the flight motion of the drone according to the terrain parameters. Since the omnidirectional scanning area includes the different directions of the UAV, the terrain parameters obtained are more global and accurate, so that the flight movements of the UAV can be controlled more safely.

Abstract

A sloped terrain prediction method and device, a radar, an unmanned aerial vehicle, and an operation control method. The unmanned aerial vehicle is equipped with a radar. The method comprises: acquiring detection data of an omnidirectionally scanned region obtained by a process of a radar rotationally scanning the ground (S110); performing, according to the detection data, fitting to obtain a fitting plane of the omnidirectionally scanned region (S120); determining, according to the fitting plane, a terrain parameter of the omnidirectionally scanned region (S130); and adjusting, according to the terrain parameter, a maneuver of an unmanned aerial vehicle (S140).

Description

坡地的地形预测方法、装置、雷达、无人机和作业控制方法Terrain prediction method, device, radar, unmanned aerial vehicle and operation control method of slope 技术领域Technical field
本说明书涉及无人机技术领域,尤其涉及一种坡地的地形预测方法、装置、雷达、无人机和作业控制方法。This specification relates to the technical field of unmanned aerial vehicles, in particular to a terrain prediction method, device, radar, unmanned aerial vehicle and operation control method for slopes.
背景技术Background technique
在一些作业场景中,无人机需要在一些不平坦的地形,如存在坡度的地面上方飞行。例如在山地作业过程中,无人机可以通过检测相对正下方地面的垂直距离,并与正下方地面保持一定的高度差,从而实现仿地飞行例如进行地形跟随。In some operating scenarios, drones need to fly over uneven terrain, such as sloped ground. For example, in the process of mountain operations, the UAV can detect the vertical distance to the ground directly below and maintain a certain height difference with the ground directly below, so as to realize ground-like flight such as terrain following.
但是通过检测无人机与正下方地面的高度差,再调整飞行高度,这种方法属于一种后反馈,地形跟随响应慢,当无人机飞行速度较快或者地势起伏剧烈的区域,对飞行安全产生巨大威胁。However, by detecting the height difference between the drone and the ground directly below, and then adjusting the flying height, this method is a kind of post feedback, and the terrain following response is slow. Security poses a huge threat.
发明内容Summary of the invention
基于此,本说明书提供了一种坡地的地形预测方法、装置、雷达、无人机和作业控制方法,可以根据对无人机各方位,如前方、后方、左侧、右侧地面的探测,更全面的预测无人机所处区域的地形。Based on this, this manual provides a terrain prediction method, device, radar, drone, and operation control method for slopes, which can detect all positions of the drone, such as the front, rear, left, and right ground. More comprehensively predict the terrain of the area where the drone is located.
第一方面,本说明书提供了一种坡地的地形预测方法,所述方法包括:In the first aspect, this specification provides a terrain prediction method for slopes, the method includes:
获取雷达在对地旋转扫描过程获得的全向扫描区域探测数据;Obtain the detection data of the omnidirectional scanning area obtained by the radar during the ground rotation scanning process;
根据所述探测数据拟合出所述全向扫描区域的拟合平面;Fitting a fitting plane of the omnidirectional scanning area according to the detection data;
根据所述拟合平面确定所述全向扫描区域的地形参数,所述地形参数包括所述全向扫描区域的坡度。The terrain parameter of the omnidirectional scanning area is determined according to the fitting plane, and the terrain parameter includes the slope of the omnidirectional scanning area.
第二方面,本申请提供了一种坡地的地形预测装置,所述地形预测装置包括存储器和处理器;In a second aspect, the present application provides a terrain prediction device for slopes, the terrain prediction device including a memory and a processor;
所述存储器用于存储计算机程序;The memory is used to store a computer program;
所述处理器,用于执行所述计算机程序并在执行所述计算机程序时,实现如下步骤:The processor is configured to execute the computer program and, when executing the computer program, implement the following steps:
获取雷达在对地旋转扫描过程获得的全向扫描区域探测数据;Obtain the detection data of the omnidirectional scanning area obtained by the radar during the ground rotation scanning process;
根据所述探测数据拟合出所述全向扫描区域的拟合平面;Fitting a fitting plane of the omnidirectional scanning area according to the detection data;
根据所述拟合平面确定所述全向扫描区域的地形参数,所述地形参数包括所述全向扫描区域的坡度。The terrain parameter of the omnidirectional scanning area is determined according to the fitting plane, and the terrain parameter includes the slope of the omnidirectional scanning area.
第三方面,本申请提供了一种雷达,所述雷达包括存储器和处理器;In a third aspect, this application provides a radar, the radar including a memory and a processor;
所述存储器用于存储计算机程序;The memory is used to store a computer program;
所述处理器,用于执行所述计算机程序并在执行所述计算机程序时,实现如下步骤:The processor is configured to execute the computer program and, when executing the computer program, implement the following steps:
获取雷达在对地旋转扫描过程获得的全向扫描区域探测数据;Obtain the detection data of the omnidirectional scanning area obtained by the radar during the ground rotation scanning process;
根据所述探测数据拟合出所述全向扫描区域的拟合平面;Fitting a fitting plane of the omnidirectional scanning area according to the detection data;
根据所述拟合平面确定所述全向扫描区域的地形参数,所述地形参数包括所述全向扫描区域的坡度。The terrain parameter of the omnidirectional scanning area is determined according to the fitting plane, and the terrain parameter includes the slope of the omnidirectional scanning area.
第四方面,本申请提供了一种无人机作业控制方法,所述无人机搭载雷达,在坡地作业,所述方法包括:In a fourth aspect, the present application provides a method for controlling drone operations. The drone is equipped with radar and operates on slopes. The method includes:
获取所述雷达在对地旋转扫描过程获得的全向扫描区域探测数据;Acquiring the omnidirectional scanning area detection data obtained by the radar during the ground rotation scanning process;
根据所述探测数据拟合出所述全向扫描区域的拟合平面;Fitting a fitting plane of the omnidirectional scanning area according to the detection data;
根据所述拟合平面确定所述全向扫描区域的地形参数,所述地形参数包括所述全向扫描区域的坡度;Determining the terrain parameter of the omnidirectional scanning area according to the fitting plane, the terrain parameter including the slope of the omnidirectional scanning area;
根据所述地形参数调整所述无人机的飞行动作。Adjust the flight action of the drone according to the terrain parameter.
第五方面,本申请提供了一种无人机,所述无人机包括存储器和处理器;In a fifth aspect, this application provides an unmanned aerial vehicle, the unmanned aerial vehicle including a memory and a processor;
所述存储器用于存储计算机程序;The memory is used to store a computer program;
所述处理器,用于执行所述计算机程序并在执行所述计算机程序时,实现如下步骤:The processor is configured to execute the computer program and, when executing the computer program, implement the following steps:
获取所述雷达在对地旋转扫描过程获得的全向扫描区域探测数据;Acquiring the omnidirectional scanning area detection data obtained by the radar during the ground rotation scanning process;
根据所述探测数据拟合出所述全向扫描区域的拟合平面;Fitting a fitting plane of the omnidirectional scanning area according to the detection data;
根据所述拟合平面确定所述全向扫描区域的地形参数,所述地形参数包括所述全向扫描区域的坡度;Determining the terrain parameter of the omnidirectional scanning area according to the fitting plane, the terrain parameter including the slope of the omnidirectional scanning area;
根据所述地形参数调整所述无人机的飞行动作。Adjust the flight action of the drone according to the terrain parameter.
第六方面,本说明书提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序可被处理器以实现上述的方法。In the sixth aspect, this specification provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, and the computer program can be used by a processor to implement the above-mentioned method.
本说明书实施例提供了一种坡地的地形预测方法、装置、雷达、无人机和作业控制方法、计算机可读存储介质,通过获取无人机搭载的雷达在对地旋转扫描过程获得的全向扫描区域的探测数据,根据所述探测数据拟合出所述全向扫描区域的拟合平面;以实现根据所述拟合平面确定所述全向扫描区域的地形参数;并根据所述地形参数调整所述无人机的飞行动作。由于全向扫描区域包括了无人机前后左右不同方向,得到的地形参数更全局化和准确,从而可以更安全的控制无人机的飞行动作。The embodiments of this specification provide a terrain prediction method, device, radar, unmanned aerial vehicle and operation control method, computer-readable storage medium for slope land According to the detection data of the scanning area, the fitting plane of the omnidirectional scanning area is fitted according to the detection data; to realize the determination of the terrain parameters of the omnidirectional scanning area according to the fitting plane; and according to the terrain parameters Adjust the flight action of the drone. Since the omnidirectional scanning area includes the different directions of the UAV, the terrain parameters obtained are more global and accurate, so that the flight movements of the UAV can be controlled more safely.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本说明书的公开内容。It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the disclosure of this specification.
附图说明Description of the drawings
为了更清楚地说明本说明书实施例技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本说明书的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solutions of the embodiments of this specification more clearly, the following will briefly introduce the drawings used in the description of the embodiments. Obviously, the drawings in the following description are some embodiments of this specification. Ordinary technicians can obtain other drawings based on these drawings without creative work.
图1是本说明书一实施例提供的一种无人机作业控制方法的流程示意图;FIG. 1 is a schematic flowchart of a method for controlling drone operations according to an embodiment of this specification;
图2是本说明书实施例一种无人机的结构示意图;Figure 2 is a schematic diagram of the structure of an unmanned aerial vehicle according to an embodiment of this specification;
图3是本说明书实施例提供的雷达的结构示意图,其中壳体未示出;Figure 3 is a schematic structural diagram of a radar provided by an embodiment of this specification, in which the housing is not shown;
图4是本说明书实施例提供的雷达的剖视图,其中壳体未示出;Figure 4 is a cross-sectional view of the radar provided by an embodiment of the specification, in which the housing is not shown;
图5是是本申请实施例提供的转轴与预设平面相交的示意图;FIG. 5 is a schematic diagram of the intersection of a rotation axis and a preset plane provided by an embodiment of the present application; FIG.
图6是本说明书实施例一种雷达的结构示意图;Fig. 6 is a schematic diagram of the structure of a radar according to an embodiment of the present specification;
图7是本说明书实施例一种地形预测装置的结构示意图;FIG. 7 is a schematic structural diagram of a terrain prediction device according to an embodiment of this specification;
图8是本说明书实施例中雷达在旋转过程中对全向扫描区域进行扫描的示意图;FIG. 8 is a schematic diagram of the radar scanning the omnidirectional scanning area during the rotation process in the embodiment of this specification;
图9是雷达扫描一地面点获取探测数据的示意图;Figure 9 is a schematic diagram of radar scanning a ground point to obtain detection data;
图10是全向扫描区域内若干地面点在大地坐标系上的分布示意图;Figure 10 is a schematic diagram of the distribution of several ground points in the geodetic coordinate system in the omnidirectional scanning area;
图11是全向扫描区域的拟合平面的示意图;FIG. 11 is a schematic diagram of the fitting plane of the omnidirectional scanning area;
图12是本说明书一实施例提供的一种无人机的示意性框图。Fig. 12 is a schematic block diagram of an unmanned aerial vehicle according to an embodiment of the present specification.
具体实施方式Detailed ways
下面将结合本说明书实施例中的附图,对本说明书实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本说明书一部分实施例,而不是全部的实施例。基于本说明书中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本说明书保护的范围。The technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are part of the embodiments of this specification, not all of the embodiments. Based on the embodiments in this specification, all other embodiments obtained by a person of ordinary skill in the art without creative work shall fall within the protection scope of this specification.
附图中所示的流程图仅是示例说明,不是必须包括所有的内容和操作/步骤,也不是必须按所描述的顺序执行。例如,有的操作/步骤还可以分解、组合或部分合并,因此实际执行的顺序有可能根据实际情况改变。The flowchart shown in the drawings is only an example, and does not necessarily include all contents and operations/steps, nor does it have to be executed in the described order. For example, some operations/steps can also be decomposed, combined or partially combined, so the actual execution order may be changed according to actual conditions.
下面结合附图,对本说明书的一些实施方式作详细说明。在不冲突的情况下,下述的实施例及实施例中的特征可以相互组合。Hereinafter, some embodiments of this specification will be described in detail with reference to the accompanying drawings. In the case of no conflict, the following embodiments and features in the embodiments can be combined with each other.
请参阅图1,图1是本说明书一实施例提供的一种无人机作业控制方法的流程示意图。Please refer to FIG. 1. FIG. 1 is a schematic flowchart of a method for controlling drone operations according to an embodiment of this specification.
所述无人机作业控制方法可以应用在无人机中,用于根据地形控制无人机的飞行动作等过程。其中无人机可以为旋翼型无人机,例如四旋翼无人机、六旋翼无人机、八旋翼无人机,也可以是固定翼无人机。The drone operation control method can be applied to the drone to control the drone's flight actions and other processes according to the terrain. Among them, the drone can be a rotary-wing drone, such as a four-rotor drone, a six-rotor drone, an eight-rotor drone, or a fixed-wing drone.
如图2所示为一实施方式中无人机的结构示意图。本说明书实施例以旋翼无人无人机为例进行说明。Fig. 2 is a schematic diagram of the structure of an unmanned aerial vehicle in an embodiment. The embodiment of this specification takes the rotary wing unmanned aerial vehicle as an example for description.
请参阅图2,本申请的实施例提供了一种无人机1000,该无人机1000可以包括机体100、喷洒机构220、动力系统300和飞行控制系统。无人机1000可以与控制终端进行无线通信,该控制终端可以显示无人机1000的飞行信息等,控制终端可以通过无线方式与无人机1000进行通信,用于对无人机1000进行远程操纵。Referring to FIG. 2, an embodiment of the present application provides an unmanned aerial vehicle 1000. The unmanned aerial vehicle 1000 may include a body 100, a spraying mechanism 220, a power system 300, and a flight control system. The UAV 1000 can communicate with the control terminal wirelessly. The control terminal can display the flight information of the UAV 1000, etc. The control terminal can communicate with the UAV 1000 wirelessly for remote control of the UAV 1000. .
其中,机体100可以包括机身110和着陆架120。机身110可以包括中心架111以及与中心架111连接的一个或多个机臂112,一个或多个机臂112呈辐射状从中心架111延伸出。着陆架120与机身110连接,用于在无人机1000着陆时起支撑作用。Wherein, the airframe 100 may include a fuselage 110 and a landing gear 120. The fuselage 110 may include a center frame 111 and one or more arms 112 connected to the center frame 111, and the one or more arms 112 extend radially from the center frame 111. The landing frame 120 is connected to the fuselage 110 and is used for supporting the UAV 1000 when it is landed.
在一些实施例中,喷洒机构220设于机身110上,且喷洒机构220与容纳 箱210连接,用于将容纳箱210内的待喷洒物体喷出。待喷洒物体可以为药液、水或肥料等。具体地,请再次参阅图2,喷洒机构220包括水泵和喷头221。容纳箱210用于存储药液或者水。容纳箱210和水泵搭载于机身110上。喷头221搭载于机臂112的末端。容纳箱210中的液体通过水泵泵入至喷头221,由喷头221喷洒出去。动力系统300可以驱动机体100移动、转动、翻转等动作,从而带动喷头221运动到不同的位置或者不同的角度以在预设区域内进行喷洒作业。In some embodiments, the spraying mechanism 220 is provided on the body 110, and the spraying mechanism 220 is connected to the containing box 210 for spraying the objects to be sprayed in the containing box 210. The object to be sprayed can be liquid medicine, water or fertilizer. Specifically, referring to FIG. 2 again, the spraying mechanism 220 includes a water pump and a spray head 221. The accommodating box 210 is used to store liquid medicine or water. The storage box 210 and the water pump are mounted on the body 110. The spray head 221 is mounted on the end of the arm 112. The liquid in the containing box 210 is pumped into the spray head 221 by a water pump, and sprayed out by the spray head 221. The power system 300 can drive the body 100 to move, rotate, turn, etc., so as to drive the spray head 221 to move to different positions or different angles to perform spraying operations in a preset area.
动力系统300可以包括一个或多个电子调速器(简称为电调)、一个或多个螺旋桨310以及与一个或多个螺旋桨310相对应的一个或多个动力电机320,其中动力电机320连接在电子调速器与螺旋桨310之间,动力电机320和螺旋桨310设置在无人机1000的机臂112上;电子调速器用于接收飞行控制系统产生的驱动信号,并根据驱动信号提供驱动电流给动力电机320,以控制动力电机320的转速。动力电机320用于驱动螺旋桨310旋转,从而为无人机1000的飞行提供动力,该动力使得无人机1000能够实现一个或多个自由度的运动。在某些实施例中,无人机1000可以围绕一个或多个旋转轴旋转。例如,上述旋转轴可以包括横滚轴(roll轴)、航向轴(yaw轴)和俯仰轴(pitch轴)。在一些实施例中,横滚轴为图2中的Y轴,俯仰轴为图2中的X轴,航向轴为图2中的Z轴。应理解,动力电机320可以是直流电机,也可以交流电机。另外,动力电机320可以是无刷电机,也可以是有刷电机。The power system 300 may include one or more electronic governors (referred to as ESCs for short), one or more propellers 310, and one or more power motors 320 corresponding to the one or more propellers 310, wherein the power motors 320 are connected Between the electronic governor and the propeller 310, the power motor 320 and the propeller 310 are arranged on the arm 112 of the UAV 1000; the electronic governor is used to receive the driving signal generated by the flight control system and provide a driving current according to the driving signal The power motor 320 is provided to control the speed of the power motor 320. The power motor 320 is used to drive the propeller 310 to rotate, so as to provide power for the flight of the drone 1000, and the power enables the drone 1000 to realize one or more degrees of freedom of movement. In some embodiments, the drone 1000 may rotate around one or more rotation axes. For example, the aforementioned rotation axis may include a roll axis (roll axis), a yaw axis (yaw axis), and a pitch axis (pitch axis). In some embodiments, the roll axis is the Y axis in FIG. 2, the pitch axis is the X axis in FIG. 2, and the yaw axis is the Z axis in FIG. 2. It should be understood that the power motor 320 may be a DC motor or an AC motor. In addition, the power motor 320 may be a brushless motor or a brushed motor.
飞行控制系统可以包括飞行控制器和传感系统。传感系统用于测量无人无人机1000的姿态信息,即无人机1000在空间的位置信息和状态信息,例如,三维位置、三维角度、三维速度、三维加速度和三维角速度等。传感系统例如可以包括陀螺仪、超声传感器、电子罗盘、惯性测量单元(Inertial Measurement Unit,IMU)、视觉传感器、全球导航卫星系统和气压计等传感器中的至少一种。例如,全球导航卫星系统可以是全球定位系统(Global Positioning System,GPS)。飞行控制器用于控制无人机1000的飞行,例如,可以根据传感系统测量的姿态信息控制无人机1000的飞行。应理解,飞行控制器可以按照预先编好的程序指令对无人机1000进行控制,也可以通过响应来自控制终端的一个或多个控制指令对无人机1000进行控制。The flight control system may include a flight controller and a sensing system. The sensing system is used to measure the attitude information of the unmanned aerial vehicle 1000, that is, the position information and state information of the unmanned aerial vehicle 1000 in space, such as three-dimensional position, three-dimensional angle, three-dimensional velocity, three-dimensional acceleration, and three-dimensional angular velocity. The sensing system may include, for example, at least one of sensors such as a gyroscope, an ultrasonic sensor, an electronic compass, an inertial measurement unit (IMU), a vision sensor, a global navigation satellite system, and a barometer. For example, the global navigation satellite system may be the Global Positioning System (GPS). The flight controller is used to control the flight of the drone 1000, for example, it can control the flight of the drone 1000 according to the attitude information measured by the sensor system. It should be understood that the flight controller can control the drone 1000 according to pre-programmed program instructions, and can also control the drone 1000 by responding to one or more control instructions from the control terminal.
如图2所示,无人机1000的着陆架120上搭载雷达400,该雷达400可以 探测物体,例如障碍物等。具体地,雷达400可以测量物体至雷达400的发射点的距离、距离变化率、方位、高度等,从而实现对地扫描等功能。在一些实施例中,雷达400为毫米波雷达400。当然,在其他实施例中,雷达400也可以为超视距雷达400、微波雷达400或激光雷达400等。As shown in Fig. 2, the landing frame 120 of the UAV 1000 is equipped with a radar 400, which can detect objects, such as obstacles. Specifically, the radar 400 can measure the distance from the object to the launch point of the radar 400, the rate of change of distance, the azimuth, the height, etc., so as to realize functions such as ground scanning. In some embodiments, the radar 400 is a millimeter wave radar 400. Of course, in other embodiments, the radar 400 may also be an over-the-horizon radar 400, a microwave radar 400, a lidar 400, or the like.
请参阅图3和图4,其中,雷达400包括底座410、天线机构420和驱动机构430。天线机构420能够相对机身110绕预设转轴R旋转,用于探测无人机1000侧面的障碍物。Please refer to FIG. 3 and FIG. 4, where the radar 400 includes a base 410, an antenna mechanism 420 and a driving mechanism 430. The antenna mechanism 420 can rotate relative to the fuselage 110 around a preset rotation axis R, and is used to detect obstacles on the side of the UAV 1000.
在一些实施例中,底座410安装于着陆架120上。天线机构420包括发射器(未标示)和接收器(未标示)。发射器用于产生雷达信号并发射雷达信号,雷达信号沿被发射的方向向前传播,在遇到障碍物时被反射。接收器用于接收被反射回的回波信号。In some embodiments, the base 410 is mounted on the landing gear 120. The antenna mechanism 420 includes a transmitter (not labeled) and a receiver (not labeled). The transmitter is used to generate and transmit radar signals. The radar signals propagate forward in the transmitted direction and are reflected when they encounter obstacles. The receiver is used to receive the echo signal that is reflected back.
天线机构420能够在驱动机构430的驱动下绕转轴R转动,以使得天线机构420能够可选择地朝向多个方向发射信号并接收从多个方向反射回的回波信号。因而,通过一个天线机构420就能够选择性地检测无人机1000与多个方向上的障碍物的距离,无人机1000的结构简单。The antenna mechanism 420 can rotate around the rotation axis R under the driving of the driving mechanism 430, so that the antenna mechanism 420 can selectively transmit signals in multiple directions and receive echo signals reflected from multiple directions. Therefore, the distance between the drone 1000 and obstacles in multiple directions can be selectively detected by one antenna mechanism 420, and the structure of the drone 1000 is simple.
在一些实施例中,转轴R与预设平面ω相交,即该转轴R与预设平面ω非平行设置。预设平面ω为无人机1000的俯仰轴和横滚轴所在的平面。由此,雷达400不仅能够探测无人机1000的前方视野和后方视野而实现扫描前方和后方,而且能够对无人机1000除了前方视野和后方视野以外的其他侧面视野进行探测,扩大了无人机1000的探测角度和探测覆盖范围,保证了扫描的全向性。In some embodiments, the rotation axis R intersects the preset plane ω, that is, the rotation axis R and the preset plane ω are arranged non-parallel. The preset plane ω is the plane where the pitch axis and roll axis of the drone 1000 are located. As a result, the radar 400 can not only detect the front and rear fields of view of the UAV 1000 to scan the front and rear, but also can detect other side fields of view of the UAV 1000 in addition to the front field of view and the rear field of view, expanding the unmanned field. The detection angle and detection coverage of the machine 1000 ensure the omnidirectionality of scanning.
在一些实施例中,驱动机构430设于底座410上。驱动机构430的转动部件连接于天线机构420,以驱动天线机构420绕转轴R转动。具体地,驱动机构430包括电机,电机包括定子431和转子432,该转子432即为驱动机构430的转动部件,转子432能够相对定子431转动,从而驱动天线机构420转动。更为具体地,定子431安装于底座410上,天线机构420安装于电机的转子432上,转子432相对于底座410旋转,使得天线机构420相对底座410绕转轴R旋转。In some embodiments, the driving mechanism 430 is provided on the base 410. The rotating part of the driving mechanism 430 is connected to the antenna mechanism 420 to drive the antenna mechanism 420 to rotate around the rotation axis R. Specifically, the driving mechanism 430 includes a motor, and the motor includes a stator 431 and a rotor 432. The rotor 432 is a rotating part of the driving mechanism 430. The rotor 432 can rotate relative to the stator 431 to drive the antenna mechanism 420 to rotate. More specifically, the stator 431 is mounted on the base 410, and the antenna mechanism 420 is mounted on the rotor 432 of the motor. The rotor 432 rotates relative to the base 410, so that the antenna mechanism 420 rotates about the rotation axis R relative to the base 410.
具体地,雷达400的天线机构420在转子432的带动下以无人机1000的机头方向为基准绕转轴R正向或逆向旋转,每次扫描一个角度范围内的一个扇形区域。天线机构420旋转一圈即360°,可以扫描一个以雷达400中心为圆心 的完整的圆形区域,从而得到圆形的全向扫描区域的探测数据。Specifically, the antenna mechanism 420 of the radar 400 is driven by the rotor 432 to rotate in the forward or reverse direction around the rotation axis R based on the nose direction of the drone 1000, and scans a fan-shaped area within an angular range each time. The antenna mechanism 420 rotates one circle, that is, 360°, and can scan a complete circular area with the center of the radar 400 as the center, so as to obtain the detection data of the circular omnidirectional scanning area.
在一些实施例中,电机的转子432能够正向或逆向旋转至少一圈,从而带动天线机构420正向或逆向全向旋转至少360°。具体地,天线机构420绕转轴R的旋转角度范围大于或等于360°,例如450°、540°、720°、1020°等,实现连续地旋转,从而增加天线机构420的数据采集点,提高雷达400的测量精度。In some embodiments, the rotor 432 of the motor can rotate forward or backward for at least one turn, thereby driving the antenna mechanism 420 to rotate forward or backward at least 360° in all directions. Specifically, the rotation angle range of the antenna mechanism 420 around the rotation axis R is greater than or equal to 360°, such as 450°, 540°, 720°, 1020°, etc., to achieve continuous rotation, thereby increasing the data collection points of the antenna mechanism 420 and improving the radar 400 measurement accuracy.
在一些实施例中,请参阅图5,转轴R与预设平面ω之间的夹角α为60°-90°。具体地,转轴R与预设平面ω之间的夹角α可以为60°、65°、70°、80°、85°、90°以及60°至90°之间任意合适的其他角度。转轴R与预设平面ω之间的夹角α在60°-90°范围内,使得扫描视野既能够包括前方视野和后方视野,又能够尽可能包括除前方视野和后方视野以外的其他侧面视野,从而尽可能扩大无人机1000的探测角度和探测覆盖范围,实现全向扫描。In some embodiments, please refer to FIG. 5, the angle α between the rotation axis R and the preset plane ω is 60°-90°. Specifically, the included angle α between the rotation axis R and the preset plane ω may be 60°, 65°, 70°, 80°, 85°, 90°, and any other suitable angles between 60° and 90°. The angle α between the rotation axis R and the preset plane ω is in the range of 60°-90°, so that the scanning field of view can not only include the front field of vision and the rear field of vision, but also include other side field of vision except the front field of vision and the rear field of vision. , So as to expand the detection angle and detection coverage of UAV 1000 as much as possible, and realize omnidirectional scanning.
在一些实施例中,转轴R与机身110的中心线大致重合,避免由于装设雷达400而造成无人机1000重心不平衡的问题,从而保证无人机1000飞行的可靠性。其中,大致重合是指转轴R与机身110的中心线之间的夹角为0°-10°,即0°、10°以及0°-10°之间的任一角度。In some embodiments, the rotation axis R roughly coincides with the center line of the fuselage 110 to avoid the problem of unbalanced center of gravity of the UAV 1000 caused by the installation of the radar 400, thereby ensuring the flight reliability of the UAV 1000. Wherein, substantially coincident means that the angle between the rotation axis R and the center line of the fuselage 110 is 0°-10°, that is, any angle between 0°, 10°, and 0°-10°.
在一些实施例中,转轴R与无人机1000的航向轴呈锐角。其中,该锐角可以为任意合适的角度,例如为0°-30°,即0°、5°、10°、15°、20°、25°、30°以及0°至30°之间的任意其他合适角度。In some embodiments, the rotation axis R and the yaw axis of the drone 1000 are at an acute angle. Wherein, the acute angle can be any suitable angle, for example, 0°-30°, that is, any of 0°, 5°, 10°, 15°, 20°, 25°, 30°, and 0°-30° Other suitable angles.
在一些实施例中,转轴R与预设平面ω大致垂直,或者,转轴R与无人机1000的航向轴大致重合,此时雷达400的全向扫描区域是一个以雷达400的中心为圆心的正圆形,是一个围绕无人机1000侧面的360°的区域,可以体现无人机1000前后左右不同方位的地面探测信息。In some embodiments, the rotation axis R is substantially perpendicular to the preset plane ω, or the rotation axis R is substantially coincident with the yaw axis of the UAV 1000. At this time, the omnidirectional scanning area of the radar 400 is a circle centered on the center of the radar 400. The perfect circle is a 360° area surrounding the side of the UAV 1000, which can reflect the ground detection information of the UAV 1000 in different directions.
当驱动机构430的转子432的转轴R与预设平面ω垂直时,即转子432的转轴R与无人机1000的俯仰轴和横滚轴所在平面垂直时,通过调整天线机构420转动的角度,天线机构420可向无人机1000的左侧、右侧、前方、后方发射微波信号并接收被左侧、右侧、前方、后方的障碍物反射回的回波信号,此时,雷达400可用于实现左侧扫描、右侧扫描、前方扫描、后方扫描、左侧地形预测、右侧地形预测、前方地形预测、后方地形预测等功能。当然,转子432的转轴R与无人机1000的俯仰轴和横滚轴所在的平面相交还可以是其他具体情 形,在此不作限定。When the rotation axis R of the rotor 432 of the driving mechanism 430 is perpendicular to the preset plane ω, that is, when the rotation axis R of the rotor 432 is perpendicular to the plane where the pitch and roll axes of the drone 1000 are located, by adjusting the rotation angle of the antenna mechanism 420, The antenna mechanism 420 can transmit microwave signals to the left, right, front, and rear of the UAV 1000 and receive echo signals reflected by obstacles on the left, right, front, and rear. At this time, the radar 400 is available It is used to realize the functions of left scan, right scan, front scan, rear scan, left terrain prediction, right terrain prediction, front terrain prediction, and rear terrain prediction. Of course, the intersection of the rotation axis R of the rotor 432 with the plane where the pitch axis and roll axis of the UAV 1000 are located can also be other specific situations, which are not limited here.
可以理解的,转轴R与预设平面ω之间存在预设的夹角,或者,转轴R与无人机1000的航向轴呈锐角时,全向扫描区域不是一个正圆形,但也是一个围绕无人机1000的360°的区域,可以体现无人机1000前后左右不同方位的地面探测信息。It is understandable that there is a preset angle between the rotation axis R and the preset plane ω, or when the rotation axis R and the yaw axis of the UAV 1000 are at an acute angle, the omnidirectional scanning area is not a perfect circle, but it is also a circle. The 360° area of the UAV 1000 can reflect the ground detection information of the UAV 1000 in different directions.
需要说明的是,上述转轴R可以为实轴,也可以为虚轴。当该转轴R为实轴时,天线机构420可相对于该转轴R旋转;或者,天线机构420跟随该转轴R一起旋转。It should be noted that the above-mentioned rotation axis R may be a real axis or an imaginary axis. When the rotation axis R is a real axis, the antenna mechanism 420 can rotate relative to the rotation axis R; or, the antenna mechanism 420 rotates along with the rotation axis R.
在一些实施例中,天线机构420设于底座410背离机身110的一侧,以使得雷达400的天线机构420最大程度地远离设置在机身110上的传感器,减少天线机构420所产生的雷达信号(例如电磁波)对机身110上的传感器的干扰。In some embodiments, the antenna mechanism 420 is provided on the side of the base 410 away from the fuselage 110, so that the antenna mechanism 420 of the radar 400 is as far away from the sensor provided on the fuselage 110 as possible, and the radar generated by the antenna mechanism 420 is reduced. Signals (such as electromagnetic waves) interfere with sensors on the body 110.
请参阅图3和图4,在一些实施例中,雷达400还包括感测机构440。该感测机构440设于天线机构420远离底座410的一端,用于检测无人机1000相对地面的高度。当驱动机构430驱动天线机构420旋转时,感测机构440也与天线机构420一起旋转。其中,感测机构440包括视觉传感器、超声波测距传感器、深度摄像头、雷达天线结构等中的至少一种。Please refer to FIG. 3 and FIG. 4. In some embodiments, the radar 400 further includes a sensing mechanism 440. The sensing mechanism 440 is arranged at an end of the antenna mechanism 420 far away from the base 410 and is used to detect the height of the drone 1000 relative to the ground. When the driving mechanism 430 drives the antenna mechanism 420 to rotate, the sensing mechanism 440 also rotates together with the antenna mechanism 420. The sensing mechanism 440 includes at least one of a vision sensor, an ultrasonic ranging sensor, a depth camera, a radar antenna structure, and the like.
可以理解的,天线机构420和感测机构440的形状可以根据实际需求设计为任意合适的形状,例如为板状。示例性的,天线机构420和感测机构440均大致呈板状时,天线机构420与感测机构440大致垂直。具体地,天线机构420大致垂直于无人机1000的俯仰轴和横滚轴所在的平面。感测机构440大致平行于无人机1000的俯仰轴和横滚轴所在的平面。It can be understood that the shape of the antenna mechanism 420 and the sensing mechanism 440 can be designed in any suitable shape according to actual requirements, for example, a plate shape. Exemplarily, when the antenna mechanism 420 and the sensing mechanism 440 are both substantially plate-shaped, the antenna mechanism 420 and the sensing mechanism 440 are substantially perpendicular. Specifically, the antenna mechanism 420 is substantially perpendicular to the plane where the pitch axis and the roll axis of the drone 1000 are located. The sensing mechanism 440 is substantially parallel to the plane where the pitch axis and roll axis of the drone 1000 are located.
请参阅图3和图4,在一些实施例中,雷达400还包括电路板450。该电路板450与天线机构420相对设置在底座410上,用于处理天线机构420的信号。具体地,电路板450可以对天线机构420的信号进行处理,例如放大回波信号;过滤干扰信号;将回波信号转换成雷达数据信号,用于后端设备的控制、终端观测和/或记录等。Please refer to FIG. 3 and FIG. 4. In some embodiments, the radar 400 further includes a circuit board 450. The circuit board 450 is disposed on the base 410 opposite to the antenna mechanism 420 for processing the signal of the antenna mechanism 420. Specifically, the circuit board 450 can process the signal of the antenna mechanism 420, for example, amplify the echo signal; filter the interference signal; convert the echo signal into a radar data signal for the control of the back-end equipment, terminal observation and/or recording Wait.
在一些实施例中,电路板450呈板状,当然也可以设计为其他任意合适的形状。由于天线机构420的重心偏离天线机构420的转轴R,由此会造成雷达400的重心偏离天线机构420的转轴R,进而导致无人机1000的重心不平衡,使得无人机1000飞行不可靠。为此,将电路板450与天线机构420相对设置于 感测机构440的两端,电路板450与天线机构420关于转轴R对称设置,从而平衡天线机构420的中心,使得雷达400的中心大致位于天线机构420的转轴R上。具体地,天线机构420、感测机构440和电路板450形成“Π”结构,该“Π”结构的开口朝向机身110。In some embodiments, the circuit board 450 has a plate shape, but of course it can also be designed in any other suitable shape. Since the center of gravity of the antenna mechanism 420 deviates from the rotation axis R of the antenna mechanism 420, the center of gravity of the radar 400 will deviate from the rotation axis R of the antenna mechanism 420, thereby causing the center of gravity of the drone 1000 to be unbalanced, making the drone 1000 unreliable in flight. To this end, the circuit board 450 and the antenna mechanism 420 are arranged at opposite ends of the sensing mechanism 440. The circuit board 450 and the antenna mechanism 420 are arranged symmetrically about the rotation axis R, so as to balance the center of the antenna mechanism 420 so that the center of the radar 400 is approximately located The rotation axis R of the antenna mechanism 420 is mounted. Specifically, the antenna mechanism 420, the sensing mechanism 440, and the circuit board 450 form a “Π” structure, and the opening of the “Π” structure faces the body 110.
请再次参阅图2,在一些实施例中,雷达400还包括壳体460,壳体460与底座410配合形成容纳空间,天线机构420、驱动机构430、感测机构440和电路板450容纳于容纳空间内,以保护天线机构420、驱动机构430、感测机构440和电路板450不受外界环境的影响,避免外界环境干扰或损坏这些部件。可以理解的,天线机构420和感测机构440发射或接收的信号可以穿设该壳体460,即该壳体460不会影响天线机构420和感测机构440正常发射或接收信号。Please refer to FIG. 2 again. In some embodiments, the radar 400 further includes a housing 460. The housing 460 cooperates with the base 410 to form an accommodating space. The antenna mechanism 420, the driving mechanism 430, the sensing mechanism 440 and the circuit board 450 are accommodated in the housing. In the space, the antenna mechanism 420, the driving mechanism 430, the sensing mechanism 440, and the circuit board 450 are protected from the external environment, so as to avoid interference from the external environment or damage to these components. It is understandable that the signals transmitted or received by the antenna mechanism 420 and the sensing mechanism 440 can be passed through the housing 460, that is, the housing 460 will not affect the normal transmission or reception of signals by the antenna mechanism 420 and the sensing mechanism 440.
由于雷达的天线机构能够绕转轴旋转,该转轴与俯仰轴和横滚轴所在的平面相交,不仅能够探测无人机的前方视野和后方视野,而且能够对无人机侧面视野除了前方视野和后方视野以外的其他侧面视野进行探测,扩大了无人机的探测角度和探测覆盖范围,实现了对地的全向扫描。Because the antenna mechanism of the radar can rotate around the axis of rotation, the axis of rotation intersects the plane where the pitch axis and the roll axis are located, not only can detect the front and rear vision of the UAV, but also the side vision of the UAV in addition to the front and rear vision The detection is carried out on the side field of view other than the field of view, which expands the detection angle and detection coverage of the UAV, and realizes the omnidirectional scanning of the ground.
可以理解的,上述对于无人机各组成部分的命名仅是出于标识的目的,并不应理解为对本说明书的实施例的限制。It is understandable that the above-mentioned naming of the components of the drone is only for identification purposes, and should not be understood as a limitation to the embodiments of this specification.
如图1所示,本实施例无人机作业控制方法包括步骤S110至步骤S140。As shown in Fig. 1, the operation control method of the drone in this embodiment includes steps S110 to S140.
S110、获取所述雷达在对地旋转扫描过程获得的全向扫描区域探测数据。S110. Obtain the detection data of the omnidirectional scanning area obtained by the radar during the ground rotation scanning process.
示例性的,雷达搭载在无人机的下方,可以获取以雷达正下方为圆心的圆形的全向扫描区域的探测数据。Exemplarily, the radar is mounted under the UAV, and the detection data of the circular omnidirectional scanning area with the center of the circle directly under the radar can be obtained.
S120、根据所述探测数据拟合出所述全向扫描区域的拟合平面。S120: Fit a fitting plane of the omnidirectional scanning area according to the detection data.
示例性的,探测数据包括全向扫描区域内若干地面点的方位信息,通过拟合得到全向扫描区域地面的拟合平面,全向扫描区域中大部分的地面点都位于拟合平面上或者和拟合平面之间的距离较小。Exemplarily, the detection data includes the azimuth information of several ground points in the omnidirectional scanning area, and the fitting plane of the ground in the omnidirectional scanning area is obtained by fitting, and most of the ground points in the omnidirectional scanning area are located on the fitting plane or The distance to the fitting plane is small.
S130、根据所述拟合平面确定所述全向扫描区域的地形参数。S130. Determine the terrain parameter of the omnidirectional scanning area according to the fitting plane.
示例性的,无人机在坡地作业时,更需要关注全向扫描区域的坡度,所以确定的地形参数可以包括坡度。Exemplarily, when the drone is operating on a slope, it is more necessary to pay attention to the slope of the omnidirectional scanning area, so the determined terrain parameters may include the slope.
示例性的,根据拟合平面的倾斜方向可以确定全向扫描区域的坡度等信息。Exemplarily, information such as the slope of the omnidirectional scanning area can be determined according to the inclination direction of the fitting plane.
示例性的,无人机在起伏地面作业时,更需要关注全向扫描区域的平整度,所以确定的地形参数可以包括平整度。Exemplarily, when the drone is operating on undulating ground, it is more necessary to pay attention to the flatness of the omnidirectional scanning area, so the determined terrain parameters may include the flatness.
示例性的,根据和拟合平面距离较大的地面点的数量和距离的大小,可以确定全向扫描区域是否平整。Exemplarily, it can be determined whether the omnidirectional scanning area is flat according to the number of ground points and the size of the distance with a larger distance from the fitting plane.
可以理解的,在一些实施方式中,可以由无人机实现前述步骤S110至步骤S130。It is understandable that, in some embodiments, the aforementioned steps S110 to S130 may be implemented by a drone.
可以理解的,在一些实施方式中,可以由雷达实现前述步骤S110至步骤S130,即本说明书实施例的坡地的地形预测方法的步骤。It is understandable that, in some implementations, the foregoing steps S110 to S130 can be implemented by a radar, that is, the steps of the slope terrain prediction method in the embodiment of this specification.
示例性的,如图6所示,雷达400包括处理器401和存储器402。Exemplarily, as shown in FIG. 6, the radar 400 includes a processor 401 and a memory 402.
例如,请参阅图3和图4,处理器401和存储器402可以设置在雷达400的电路板450上。For example, referring to FIGS. 3 and 4, the processor 401 and the memory 402 may be provided on the circuit board 450 of the radar 400.
示例性的,处理器401和存储器402通过总线403连接,该总线403比如为I2C(Inter-integrated Circuit)总线。Exemplarily, the processor 401 and the memory 402 are connected by a bus 403, and the bus 403 is, for example, an I2C (Inter-integrated Circuit) bus.
具体地,处理器401可以是微控制单元(Micro-controller Unit,MCU)、中央处理单元(Central Processing Unit,CPU)或数字信号处理器(Digital Signal Processor,DSP)等。Specifically, the processor 401 may be a micro-controller unit (MCU), a central processing unit (CPU), a digital signal processor (Digital Signal Processor, DSP), or the like.
具体地,存储器402可以是Flash芯片、只读存储器(ROM,Read-Only Memory)磁盘、光盘、U盘或移动硬盘等。Specifically, the memory 402 may be a Flash chip, a read-only memory (ROM, Read-Only Memory) disk, an optical disk, a U disk, or a mobile hard disk.
所述存储器402用于存储计算机程序;The memory 402 is used to store computer programs;
所述处理器401,用于执行所述计算机程序并在执行所述计算机程序时,实现前述步骤S110至步骤S130,即本说明书实施例的坡地的地形预测方法的步骤。The processor 401 is configured to execute the computer program and, when executing the computer program, implement the aforementioned steps S110 to S130, that is, the steps of the slope terrain prediction method in the embodiment of this specification.
可以理解的,在一些实施方式中,可以由地形预测装置实现前述步骤S110至步骤S130,即本说明书实施例的坡地的地形预测方法的步骤。It is understandable that, in some embodiments, the aforementioned step S110 to step S130 can be implemented by the terrain prediction device, that is, the steps of the slope terrain prediction method in the embodiment of this specification.
地形预测装置例如可以为服务器或者终端。其中,终端可以是手机、平板电脑、笔记本电脑、台式电脑、个人数字助理等电子设备;服务器可以为独立的服务器,也可以为服务器集群。The terrain prediction device may be, for example, a server or a terminal. Among them, the terminal can be a mobile phone, a tablet computer, a notebook computer, a desktop computer, a personal digital assistant, and other electronic devices; the server can be an independent server or a server cluster.
示例性的,如图7所示,地形预测装置600包括处理器601和存储器602。Exemplarily, as shown in FIG. 7, the terrain prediction apparatus 600 includes a processor 601 and a memory 602.
示例性的,处理器601和存储器602通过总线603连接,该总线603比如为I2C(Inter-integrated Circuit)总线。Exemplarily, the processor 601 and the memory 602 are connected by a bus 603, and the bus 603 is, for example, an I2C (Inter-integrated Circuit) bus.
具体地,处理器601可以是微控制单元(Micro-controller Unit,MCU)、中央处理单元(Central Processing Unit,CPU)或数字信号处理器(Digital  Signal Processor,DSP)等。Specifically, the processor 601 may be a micro-controller unit (MCU), a central processing unit (CPU), a digital signal processor (Digital Signal Processor, DSP), or the like.
具体地,存储器602可以是Flash芯片、只读存储器(ROM,Read-Only Memory)磁盘、光盘、U盘或移动硬盘等。Specifically, the memory 602 may be a Flash chip, a read-only memory (ROM, Read-Only Memory) disk, an optical disk, a U disk, or a mobile hard disk.
所述存储器602用于存储计算机程序;The memory 602 is used to store computer programs;
所述处理器601,用于执行所述计算机程序并在执行所述计算机程序时,实现前述步骤S110至步骤S130,即本说明书实施例的坡地的地形预测方法的步骤。The processor 601 is configured to execute the computer program and, when executing the computer program, implement the aforementioned steps S110 to S130, that is, the steps of the slope terrain prediction method in the embodiment of this specification.
本说明书上述实施例提供的坡地的地形预测方法、装置、雷达,通过获取雷达在对地旋转扫描过程获得的全向扫描区域的探测数据,根据所述探测数据拟合出所述全向扫描区域的拟合平面;以实现根据所述拟合平面确定所述全向扫描区域的地形参数,可以根据对无人机各方位,如前方、后方、左侧、右侧地面的探测,更全面的预测无人机所处区域的地形。The slope terrain prediction method, device, and radar provided in the above-mentioned embodiments of this specification acquire the detection data of the omnidirectional scan area obtained by the radar during the ground rotation scanning process, and fit the omnidirectional scan area according to the detection data The fitting plane; in order to realize the determination of the terrain parameters of the omnidirectional scanning area according to the fitting plane, it can be based on the detection of the UAV's various positions, such as the front, rear, left, and right ground, for a more comprehensive Predict the terrain of the area where the drone is located.
在一些实施方式中,无人机还可以执行步骤S140。In some embodiments, the drone may also perform step S140.
S140、根据所述地形参数调整所述无人机的飞行动作。S140. Adjust the flying action of the drone according to the terrain parameter.
例如,无人机可以从雷达获取地形参数、从地形预测装置获取地形参数,或者由无人机实现前述步骤S110至步骤S130得到地形参数。For example, the drone can obtain terrain parameters from a radar, obtain terrain parameters from a terrain prediction device, or obtain the terrain parameters by the drone through the aforementioned steps S110 to S130.
示例性的,无人机根据地面的平整度、坡度等信息可以调整无人机的飞行动作,保障无人机的安全飞行和作业任务的可靠执行。Exemplarily, the UAV can adjust the flight actions of the UAV according to the information such as the flatness and slope of the ground, so as to ensure the safe flight of the UAV and the reliable execution of the operation tasks.
在一些实施方式中,步骤S110中获取所述雷达在对地旋转扫描过程获得的全向扫描区域探测数据,包括:获取所述雷达的回传数据,对回传数据进行频谱提取、处理和分析,可以计算得到雷达与扫描目标,如障碍物之间的相对空间位置。In some embodiments, obtaining the omnidirectional scanning area detection data obtained by the radar during the ground rotation scanning process in step S110 includes: obtaining the radar's return data, and performing spectrum extraction, processing and analysis on the return data , You can calculate the relative spatial position between the radar and the scanning target, such as obstacles.
示例性的,所述雷达为连续波雷达。可以根据连续波雷达测距测角算法获取探测数据。例如通过对雷达的回传数据进行处理,完成频谱提取以及进一步的频谱细化,最后将细化得到的频点位置转化为地面点的方位信息。Exemplarily, the radar is a continuous wave radar. The detection data can be obtained according to the continuous wave radar ranging and angle measurement algorithm. For example, by processing the radar return data, spectrum extraction and further spectrum refinement are completed, and finally the refined frequency point position is converted into the azimuth information of the ground point.
示例性的,如图8所示,搭载在无人机下方的雷达以无人机的机头方向为基准旋转,每次扫描一个角度范围内的一个扇形区域。雷达旋转一圈即360°,可以扫描一个完整的圆形区域,得到以雷达正下方为圆心的圆形的全向扫描区域的探测数据。Exemplarily, as shown in FIG. 8, the radar mounted under the drone rotates based on the direction of the drone's nose, and scans a fan-shaped area within an angular range each time. The radar rotates one circle, that is, 360°, it can scan a complete circular area, and obtain the detection data of the circular omnidirectional scanning area with the center of the circle directly below the radar.
示例性的,雷达的旋转方向可以和无人机的上下方向相同,此时全向扫描 区域是一个以雷达正下方为圆心的正圆形,是一个围绕无人机的360°的区域,可以体现无人机前后左右不同方位的地面探测信息。Exemplarily, the rotation direction of the radar can be the same as the vertical direction of the drone. At this time, the omnidirectional scanning area is a perfect circle with the center of the radar as the center, which is a 360° area surrounding the drone. It reflects the ground detection information of the UAV in different directions.
示例性的,雷达的旋转方向也可以和无人机的上下方向之间存在预设的角度,此时全向扫描区域不是一个正圆形,但也是一个围绕无人机的360°的区域,可以体现无人机前后左右不同方位的地面探测信息。Exemplarily, there may be a preset angle between the rotation direction of the radar and the vertical direction of the drone. At this time, the omnidirectional scanning area is not a perfect circle, but it is also a 360° area surrounding the drone. It can reflect the ground detection information of the UAV in front, back, left, and right directions.
在本实施方式中,基于旋转雷达对无人机下方的一定区域进行扫描,得到全向扫描区域中地面点的空间方位信息。In this embodiment, a certain area under the drone is scanned based on a rotating radar to obtain the spatial orientation information of the ground point in the omnidirectional scanning area.
在一些实施方式中,也可以通过视觉传感器、飞行时间(Time of Flight,TOF)传感器、或者激光雷达、超声波模块等具有测距测角的传感器模块获取全向扫描区域若干地面点的探测数据。例如通过视觉传感器获取全向扫描区域的二维图像,然后从二维图像中提取出三维点云。但是视觉传感器对于光照环境有较高的要求,易受光线强度、背景目标颜色、环境中灰尘、水雾等影响。In some embodiments, the detection data of several ground points in the omni-directional scanning area can also be acquired through a vision sensor, a time of flight (TOF) sensor, or a sensor module with ranging and angle measurement such as a lidar or an ultrasonic module. For example, a two-dimensional image of the omnidirectional scanning area is acquired by a vision sensor, and then a three-dimensional point cloud is extracted from the two-dimensional image. However, the visual sensor has higher requirements for the lighting environment, and is easily affected by the light intensity, the color of the background target, the dust in the environment, and the water mist.
在一些实施方式中,所述获取所述雷达在对地旋转扫描过程获得的全向扫描区域探测数据,包括:获取所述全向扫描区域若干地面点相对于所述雷达的探测距离和方位角。In some implementation manners, the acquiring the omnidirectional scanning area detection data obtained by the radar during the ground rotation scanning process includes: acquiring the detection distances and azimuth angles of several ground points in the omnidirectional scanning area relative to the radar .
如图9所示为雷达检测目标物体,如某一地面点的波束水平面示意图。示例性的,雷达输出的是地面点相对雷达的探测距离r和方位角θ。Figure 9 shows the radar detection target object, such as a schematic diagram of the beam horizontal plane of a certain ground point. Exemplarily, the output of the radar is the detection distance r and the azimuth angle θ of the ground point relative to the radar.
具体的,地面点相对于所述雷达的探测距离r表示地面点相对于雷达中心的径向距离。Specifically, the detection distance r of the ground point relative to the radar represents the radial distance of the ground point relative to the center of the radar.
示例性的,所述方法还包括:获取所述雷达在探测各所述地面点时对应的雷达旋转角度
Figure PCTCN2019115452-appb-000001
例如雷达旋转角度
Figure PCTCN2019115452-appb-000002
表示当前帧时雷达的射频板相对初始位置,如机头方向的旋转角度。
Exemplarily, the method further includes: acquiring the radar rotation angle corresponding to each of the ground points when the radar detects each of the ground points
Figure PCTCN2019115452-appb-000001
For example, the radar rotation angle
Figure PCTCN2019115452-appb-000002
Indicates the relative initial position of the radar's radio frequency board at the current frame, such as the rotation angle of the nose.
可以理解的,步骤S110中可以获取全向扫描区域中若干地面点在以雷达为原点的坐标系,可称为雷达坐标系上的坐标,雷达坐标系例如可以为球坐标系、柱坐标系等,当然也可以为直角坐标系。It can be understood that in step S110, the coordinate system of several ground points in the omnidirectional scanning area with the radar as the origin can be obtained, which can be called the coordinates on the radar coordinate system. The radar coordinate system can be, for example, a spherical coordinate system, a cylindrical coordinate system, etc. , Of course, it can also be a rectangular coordinate system.
地面点在以雷达为原点的直角坐标系上的坐标可以以地面点相对于所述雷达在多个方向上的距离表示。The coordinates of the ground point on the rectangular coordinate system with the radar as the origin may be expressed in terms of the distance of the ground point relative to the radar in multiple directions.
示例性的,可以将从雷达获取的地面点的球坐标系坐标、柱坐标系坐标等转换至直角坐标系上的坐标。便于进行平面拟合计算,计算量更小,实现更快度的对地形进行判断。Exemplarily, the spherical coordinate system coordinates, the cylindrical coordinate system coordinates, etc., of the ground point obtained from the radar may be converted to the coordinates on the rectangular coordinate system. It is convenient for plane fitting calculation, the calculation amount is smaller, and the terrain can be judged faster.
示例性的,所述获取所述雷达在对地旋转扫描过程获得的全向扫描区域探测数据,还包括:根据所述地面点对应的雷达旋转角度、探测距离和方位角确定各所述地面点相对于所述雷达在多个方向上的距离。Exemplarily, the acquiring the omnidirectional scanning area detection data obtained by the radar during the ground rotation scanning process further includes: determining each of the ground points according to the radar rotation angle, detection distance, and azimuth angle corresponding to the ground point The distance in multiple directions relative to the radar.
可以理解的,所述获取所述雷达在对地旋转扫描过程获得的全向扫描区域探测数据,可以包括:获取所述全向扫描区域若干地面点相对于所述雷达在多个方向上的距离。It is understandable that the acquiring the detection data of the omnidirectional scanning area obtained by the radar during the ground rotation scanning process may include: acquiring the distances of several ground points in the omnidirectional scanning area relative to the radar in multiple directions .
具体的,所述地面点相对于所述雷达在多个方向上的距离,包括:所述地面点在所述雷达的雷达坐标系下的位置坐标。Specifically, the distances of the ground point relative to the radar in multiple directions include: position coordinates of the ground point in the radar coordinate system of the radar.
其中,所述雷达坐标系以所述雷达的旋转中心为原点,以所述雷达的正下方为第一轴方向,以所述雷达的正前方向为第二轴方向,以垂直于所述第一轴方向和所述第二轴方向的方向为第三轴方向。Wherein, the radar coordinate system takes the rotation center of the radar as the origin, the first axis direction is directly below the radar, the second axis direction is the front direction of the radar, and is perpendicular to the first axis direction. The direction of the uniaxial direction and the second axis direction is the third axis direction.
示例性的,地面点在所述雷达的雷达坐标系下的位置坐标以{x,y,z} A表示,具体为地面点的雷达观测系笛卡尔坐标系表示,其中下标A表示坐标系的原点根据雷达的中心确定,x、y、z分别表示笛卡尔坐标系的三个相互垂直的坐标轴。 Exemplarily, the position coordinates of the ground point in the radar coordinate system of the radar are represented by {x, y, z} A , which is specifically represented by the Cartesian coordinate system of the radar observation system of the ground point, where the subscript A represents the coordinate system The origin of is determined according to the center of the radar, and x, y, and z respectively represent three mutually perpendicular coordinate axes of the Cartesian coordinate system.
示例性的,地面点的球坐标系坐标以
Figure PCTCN2019115452-appb-000003
表示,则将地面点位置表示由球坐标系转换至笛卡尔坐标系可以通过以下模型完成:
Exemplarily, the spherical coordinate system coordinates of the ground point are
Figure PCTCN2019115452-appb-000003
Representation, the conversion of the ground point position representation from the spherical coordinate system to the Cartesian coordinate system can be accomplished by the following model:
Figure PCTCN2019115452-appb-000004
Figure PCTCN2019115452-appb-000004
在一些实施方式中,步骤S110中可以获取全向扫描区域中若干地面点在大地坐标系下的坐标数据。In some embodiments, in step S110, coordinate data of several ground points in the omnidirectional scanning area in the geodetic coordinate system can be acquired.
具体的,大地坐标系以地面上的某一点为原点。例如大地坐标系的原点位于所述雷达的正下方。以便后续拟合得到雷达下方的全向扫描区域的拟合曲面。Specifically, the geodetic coordinate system takes a certain point on the ground as its origin. For example, the origin of the geodetic coordinate system is located directly below the radar. In order to obtain the fitting surface of the omnidirectional scanning area under the radar in subsequent fitting.
所述大地坐标系以大地原点的正北方向或正南方向为第四轴方向,以大地原点的正东方向或正西方向为第五轴方向,以垂直于所述第四轴方向和所述第五轴方向的方向为第六轴方向。The geodetic coordinate system takes the true north or true south direction of the geodetic origin as the fourth axis direction, takes the true east or west of the geodetic origin as the fifth axis direction, and is perpendicular to the fourth axis and the direction. The direction of the fifth axis direction is the sixth axis direction.
示例性的,所述地面点在所述大地坐标系下的坐标数据包括所述地面点相对于所述大地原点在所述第四轴方向、第五轴方向、第六轴方向上的距离。Exemplarily, the coordinate data of the ground point in the geodetic coordinate system includes the distance of the ground point in the fourth axis direction, the fifth axis direction, and the sixth axis direction relative to the geodetic origin.
示例性的,采用的大地坐标系为ENU(East-North-UP coordinate system, 东北天坐标系)。可以以x G表示地面点相对于坐标原点正北方向上的距离,y G表示地面点相对于坐标原点正东方向上的距离,z G表示地面点相对于坐标原点垂直方向上的距离。 Exemplarily, the adopted geodetic coordinate system is ENU (East-North-UP coordinate system). X G can be used to indicate the distance of the ground point relative to the origin of the coordinate from the true north, y G means the distance of the ground point from the origin of the coordinate to the true east, and z G the distance of the ground point from the origin of the coordinate in the vertical direction.
具体的,雷达可以根据以雷达为原点的坐标系和大地坐标系之间的转换模型,将地面点在以雷达为原点的坐标系上的坐标转换为在大地坐标系上的坐标。转换模型例如可以根据雷达的姿态确定。Specifically, the radar can convert the coordinates of the ground point on the coordinate system with the radar as the origin to the coordinates on the geodetic coordinate system according to the conversion model between the coordinate system with the radar as the origin and the geodetic coordinate system. The conversion model can be determined based on the attitude of the radar, for example.
在一些实施方式中,无人机可以从雷达获取地面点在以雷达为原点的坐标系上的坐标,以及获取雷达的姿态,然后由无人机根据雷达的姿态得到地面点在大地坐标系上的坐标。In some embodiments, the UAV can obtain the coordinates of the ground point in the coordinate system with the radar as the origin from the radar, and obtain the attitude of the radar, and then the UAV obtains the ground point in the geodetic coordinate system according to the attitude of the radar. coordinate of.
示例性的,步骤S120根据所述探测数据拟合出所述全向扫描区域的拟合平面,包括:根据所述探测数据确定所述全向扫描区域中若干地面点在大地坐标系下的坐标数据;根据所述若干地面点的坐标数据拟合出所述全向扫描区域的拟合平面。Exemplarily, step S120 fitting the fitting plane of the omnidirectional scanning area according to the detection data includes: determining the coordinates of several ground points in the omnidirectional scanning area in the geodetic coordinate system according to the detection data Data; fitting the fitting plane of the omnidirectional scanning area according to the coordinate data of the several ground points.
通过将地面点从雷达观测系转换到大地坐标系下,可以消除雷达、或者是雷达载体,如无人机的姿态对地面观测的影响,对地面拟合得到的平面模型更准确。By converting the ground point from the radar observation system to the geodetic coordinate system, the influence of radar or radar carrier, such as the attitude of the UAV, on the ground observation can be eliminated, and the plane model obtained by the ground fitting is more accurate.
示例性的,所述将地面点在以雷达为原点的坐标系上的坐标转换为在大地坐标系上的坐标,可以通过下式的计算模型转换:Exemplarily, the conversion of the coordinates of the ground point on the coordinate system with the radar as the origin to the coordinates on the geodetic coordinate system may be converted by the calculation model of the following formula:
Figure PCTCN2019115452-appb-000005
Figure PCTCN2019115452-appb-000005
其中,
Figure PCTCN2019115452-appb-000006
表示以雷达为原点的坐标系和大地坐标系之间的齐次变换矩阵,G表示大地坐标系。
among them,
Figure PCTCN2019115452-appb-000006
Represents the homogeneous transformation matrix between the coordinate system with the radar as the origin and the geodetic coordinate system, and G represents the geodetic coordinate system.
在一些实施方式中,所述方法还包括:通过所述无人机搭载的惯性测量单元(IMU)和/或所述雷达搭载的惯性测量单元获取所述雷达的姿态信息。In some embodiments, the method further includes: acquiring the attitude information of the radar through an inertial measurement unit (IMU) carried by the drone and/or an inertial measurement unit carried by the radar.
示例性的,所述根据所述探测数据确定所述全向扫描区域中若干地面点在大地坐标系下的坐标数据,包括:根据所述雷达的姿态信息和所述探测数据确定若干地面点在大地坐标系下的坐标数据。Exemplarily, the determining the coordinate data of several ground points in the omnidirectional scanning area in the geodetic coordinate system according to the detection data includes: determining the position of the several ground points according to the attitude information of the radar and the detection data Coordinate data in the geodetic coordinate system.
示例性的,实时从惯性测量单元获取雷达的姿态四元数{q 0,q 0,q 0,q 0}, 根据雷达的姿态四元数可以确定以雷达为原点的坐标系和大地坐标系之间的齐次变换矩阵。 Exemplarily, the attitude quaternion {q 0 , q 0 , q 0 , q 0 } of the radar is obtained from the inertial measurement unit in real time, and the coordinate system with the radar as the origin and the geodetic coordinate system can be determined according to the attitude quaternion of the radar The homogeneous transformation matrix between.
示例性的,有:Exemplary, there are:
Figure PCTCN2019115452-appb-000007
Figure PCTCN2019115452-appb-000007
其中,
Figure PCTCN2019115452-appb-000008
是根据雷达的姿态四元数确定的旋转矩阵,
Figure PCTCN2019115452-appb-000009
Figure PCTCN2019115452-appb-000010
为常数向量。
among them,
Figure PCTCN2019115452-appb-000008
Is the rotation matrix determined according to the attitude quaternion of the radar,
Figure PCTCN2019115452-appb-000009
Figure PCTCN2019115452-appb-000010
Is a constant vector.
通过上述预处理可以得到全向扫描区域内若干地面点在大地坐标系上的坐标数据,如图10所示,各地面点可以表示为{x G,y G,z G}。 Through the above preprocessing, the coordinate data of several ground points in the omnidirectional scanning area in the geodetic coordinate system can be obtained. As shown in Figure 10, the ground points can be expressed as {x G , y G , z G }.
在一些实施方式中,步骤S120中所述根据所述探测数据拟合出所述全向扫描区域的拟合平面,包括:所述根据所述若干地面点的坐标数据拟合出所述全向扫描区域的拟合平面。In some embodiments, fitting the fitting plane of the omnidirectional scanning area according to the detection data in step S120 includes: fitting the omnidirectional scanning area according to the coordinate data of the several ground points The fitted plane of the scan area.
在一些实施方式中,步骤S120中所述根据所述若干地面点的坐标数据拟合出所述全向扫描区域的拟合平面,包括:对所述若干地面点的坐标数据进行筛选,根据筛选后的地面点的坐标数据拟合出所述全向扫描区域的拟合平面。In some embodiments, fitting the fitting plane of the omnidirectional scanning area according to the coordinate data of the several ground points in step S120 includes: filtering the coordinate data of the several ground points, and according to the filtering The coordinate data of the subsequent ground point fits the fitting plane of the omnidirectional scanning area.
由于雷达内部、外部环境的干扰,会导致雷达测量到的距离中存在野值。例如:对于同一测距点,实际上该测距点与雷达之间的距离较大,但由于雷达受到干扰,从而导致测距获得的数据较小,进而会导致拟合的平面以及预测的地形参数存在较大误差。尤其是在诸如农田、茶山等复杂应用场景中,野值的存在会导致地形预测不准确。Due to the interference of the internal and external environments of the radar, there will be outliers in the distance measured by the radar. For example: For the same ranging point, the distance between the ranging point and the radar is actually relatively large, but the radar is interfered, resulting in smaller data obtained from the ranging, which in turn will lead to the fitted plane and the predicted terrain There is a large error in the parameters. Especially in complex application scenarios such as farmland and tea mountains, the presence of outliers will lead to inaccurate terrain predictions.
雷达原始观测中存在的野值点以及地物点会使得地面作为平整平面的假设不成立。如果直接对地面点的坐标数据进行平面拟合,拟合结果与实际有较大偏差。The outlier points and object points existing in the original radar observations will make the assumption that the ground is a flat plane invalid. If the plane fitting is directly performed on the coordinate data of the ground point, the fitting result will have a large deviation from the actual situation.
为了使得全向扫描区域的拟合平面更贴近实际平面,在进行平面拟合之前可以先将野值点和地物点剔除。其中地物点表示地面附属物,如建筑的地面点,不是真正的地面。In order to make the fitting plane of the omnidirectional scanning area closer to the actual plane, outliers and ground object points can be eliminated before plane fitting. Among them, the feature point represents the ground attachment, such as the ground point of a building, which is not the real ground.
因此可以通过剔除野值点以及非地面点,然后根据未剔除的地面点的坐标数据拟合出所述全向扫描区域的拟合平面,实现对地面进行准确估计。Therefore, by eliminating outliers and non-ground points, and then fitting the fitting plane of the omnidirectional scanning area according to the coordinate data of the unremoved ground points, accurate ground estimation can be achieved.
在一些实施方式中,先根据所述若干地面点的坐标数据对所述若干地面点进行聚类分析,确定满足聚类条件的地面点;然后根据满足聚类条件的地面点 的坐标数据拟合出所述全向扫描区域的拟合平面。In some embodiments, first perform a cluster analysis on the several ground points according to the coordinate data of the several ground points to determine the ground points that meet the clustering conditions; and then fit the ground points according to the coordinate data of the ground points that meet the clustering conditions The fitting plane of the omnidirectional scanning area is obtained.
示例性的,可以通过DBSCAN的聚类算法,剔除原始观测中的野值点和地物点,提取有效的地面点。Exemplarily, the DBSCAN clustering algorithm can be used to eliminate outliers and ground feature points in the original observations, and extract effective ground points.
示例性的,所述根据所述若干地面点的坐标数据对所述若干地面点进行聚类分析,确定满足聚类条件的地面点,包括:Exemplarily, the performing cluster analysis on the plurality of ground points according to the coordinate data of the plurality of ground points to determine the ground points that meet the clustering condition includes:
循环执行以下步骤,直至所述若干地面点均被确定为待聚类点时停止循环:确定一所述地面点为待聚类点,确定所述待聚类点的搜索范围内地面点的个数,若所述个数不大于预设的聚类阈值则剔除所述待聚类点;若停止循环则确定未剔除的待聚类点为满足所述聚类条件的地面点。Repeat the following steps until the several ground points are determined as points to be clustered: determine one of the ground points as points to be clustered, and determine the number of ground points within the search range of the points to be clustered If the number is not greater than the preset clustering threshold, the points to be clustered are eliminated; if the loop is stopped, it is determined that the unremoved points to be clustered are ground points that meet the clustering condition.
例如,使用KDTREE数据结构,根据地面点的坐标数据对所有地面点的建立树结构;然后依次确定一个地面点为待聚类点,找出树中所有与该待聚类点相距小于预设搜索半径的地面点,如果该待聚类点搜索半径内的地面点的个数大于预设最小点簇阈值,则认为当前的待聚类点为有效点保留,反之认为是野值点或者是杂点剔除;直至遍历全向扫描区域内的每一个地面点。For example, use the KDTREE data structure to establish a tree structure for all ground points based on the coordinate data of the ground points; then determine a ground point in turn as the point to be clustered, and find all the points in the tree that are less than the preset search Radius of ground points, if the number of ground points within the search radius of the points to be clustered is greater than the preset minimum point cluster threshold, the current points to be clustered are considered as valid points and reserved, otherwise, they are considered as outliers or miscellaneous points. Point elimination; until each ground point in the omnidirectional scanning area is traversed.
可以理解的,也可以通过其他方式对全向扫描区域的若干地面点的坐标数据进行筛选以剔除原始观测中的野值点和杂点,例如通过特征分割等滤波方式。It is understandable that the coordinate data of several ground points in the omni-directional scanning area can also be screened in other ways to eliminate outliers and noise points in the original observation, for example, through filtering methods such as feature segmentation.
在一些实施方式中,所述根据地面点的坐标数据拟合出所述全向扫描区域的拟合平面,可以通过最小二乘法进行平面拟合。例如通过最小二乘法根据筛选后的地面点的坐标数据拟合出所述全向扫描区域的拟合平面。In some embodiments, the fitting plane of the omnidirectional scanning area is fitted according to the coordinate data of the ground point, and the plane fitting may be performed by a least square method. For example, the fitting plane of the omnidirectional scanning area is fitted by the least square method according to the coordinate data of the filtered ground points.
示例性的,以垂直方向高度z视为独立程度最高的变量,建立平面方程:Exemplarily, the vertical height z is regarded as the variable with the highest degree of independence, and the plane equation is established:
Z=aX+bY+cZ=aX+bY+c
然后可以采用最小二乘法拟合地面点的坐标数据。最小二乘法,又称最小平方法,是一种数学优化方法。它通过最小化误差的平方和寻找数据的最佳函数匹配。利用最小二乘法可以简便地求得未知的数据,并使得这些求得的数据与实际数据之间误差的平方和为最小。“最小二乘法”是对超定方程组,即方程个数比未知数更多的方程组,以回归分析求得近似解的标准方法。在这整个解决方案中,最小二乘法演算为每一方程式的结果中,将残差平方和的总和最小化。Then the coordinate data of the ground point can be fitted by the least square method. The least square method, also known as the least square method, is a mathematical optimization method. It finds the best function match of the data by minimizing the sum of squares of the error. The least square method can be used to easily obtain unknown data, and minimize the sum of squares of errors between the obtained data and the actual data. The "least squares method" is a standard method to obtain approximate solutions for overdetermined equations, that is, equations with more equations than unknowns, by regression analysis. In this entire solution, the least squares method is calculated as the result of each equation, minimizing the sum of the residual sum of squares.
例如利用克莱姆法则确定平面方程的参数:For example, using Cramer's rule to determine the parameters of the plane equation:
Figure PCTCN2019115452-appb-000011
Figure PCTCN2019115452-appb-000011
Figure PCTCN2019115452-appb-000012
Figure PCTCN2019115452-appb-000012
Figure PCTCN2019115452-appb-000013
Figure PCTCN2019115452-appb-000013
其中,目标中心点的坐标可以根据
Figure PCTCN2019115452-appb-000014
参加拟合的地面点的坐标{x G,y G,z G}的平均值确定,
Figure PCTCN2019115452-appb-000015
为地面点的坐标{x G,y G,z G}减去目标中心点
Figure PCTCN2019115452-appb-000016
得到的归一化结果。
Among them, the coordinates of the target center point can be based on
Figure PCTCN2019115452-appb-000014
The coordinates {x G , y G , z G } of the ground points participating in the fitting are determined by the average value,
Figure PCTCN2019115452-appb-000015
Is the coordinates of the ground point {x G , y G , z G } minus the target center point
Figure PCTCN2019115452-appb-000016
The normalized result obtained.
由此可以根据地面点的坐标数据拟合出所述全向扫描区域的拟合平面Z=aX+bY+c。Therefore, the fitting plane Z=aX+bY+c of the omnidirectional scanning area can be fitted according to the coordinate data of the ground point.
在另一些实施方式中,可以通过基于RANSAC的最小二乘法,筛选出原始观测中的有效点,即对所述若干地面点的坐标数据进行筛选,得到筛选后的地面点的坐标数据。In other embodiments, the effective points in the original observation can be screened out by the least squares method based on RANSAC, that is, the coordinate data of the several ground points are screened to obtain the coordinate data of the ground points after screening.
随机抽样一致算法(RANdom SAmple Consensus,RANSAC)采用迭代的方式从一组包含离群的被观测数据中估算出数学模型的参数。RANSAC是一个非确定性算法,在某种意义上说,它会产生一个在一定概率下合理的结果,而更多次的迭代会使这一概率增加。Random sampling consensus algorithm (RANdom SAmple Consensus, RANSAC) uses an iterative method to estimate the parameters of the mathematical model from a set of observed data containing outliers. RANSAC is a non-deterministic algorithm. In a sense, it will produce a reasonable result with a certain probability, and more iterations will increase this probability.
示例性的,所述根据所述若干地面点的坐标数据拟合出所述全向扫描区域的拟合平面,包括:从所述若干地面点中确定至少三个地面点,根据所述至少三个地面点确定一目标平面;根据所述若干地面点的坐标数据确定各所述地面点到所述目标平面的平面距离;若平面距离不大于距离阈值的地面点的个数不小于预设的个数阈值,根据所述平面距离不大于距离阈值的地面点拟合得到所述全向扫描区域的拟合平面。Exemplarily, the fitting the fitting plane of the omnidirectional scanning area according to the coordinate data of the several ground points includes: determining at least three ground points from the several ground points, and according to the at least three ground points. Ground points determine a target plane; determine the plane distance from each ground point to the target plane according to the coordinate data of the several ground points; if the plane distance is not greater than the distance threshold, the number of ground points is not less than the preset The number threshold is fitted to obtain the fitted plane of the omnidirectional scanning area according to the ground points whose plane distance is not greater than the distance threshold.
示例性的,所述根据所述若干地面点的坐标数据拟合出所述全向扫描区域的拟合平面,包括以下步骤:Exemplarily, the fitting of the fitting plane of the omnidirectional scanning area according to the coordinate data of the several ground points includes the following steps:
第一步骤:从全向扫描区域中的所有地面点中任意选取至少三个不共线的地面点(x 1,y 1,z 1)、(x 2,y 2,z 2)、(x 3,y 3,z 3);并建立经过所述至少三点的平面,例如为:aX+bY+Cz+D=0,其中: The first step: randomly select at least three non-collinear ground points (x 1 ,y 1 ,z 1 ), (x 2 ,y 2 ,z 2 ), (x 3 ,y 3 ,z 3 ); and establish a plane passing through the at least three points, for example: aX+bY+Cz+D=0, where:
a=(y 2-y 1)×(z 3-z 1)-(y 3-y 1)×(z 2-z 1); a=(y 2 -y 1 )×(z 3 -z 1 )-(y 3 -y 1 )×(z 2 -z 1 );
b=(z 2-z 1)×(x 3-x 1)-(z 3-z 1)×(x 2-x 1); b=(z 2 -z 1 )×(x 3 -x 1 )-(z 3 -z 1 )×(x 2 -x 1 );
c=(x 2-x 1)×(y 3-y 1)-(x 3-x 1)×(y 2-y 1); c=(x 2 -x 1 )×(y 3 -y 1 )-(x 3 -x 1 )×(y 2 -y 1 );
D=a×x 1-b×y 1-c×z 1D=a×x 1 -b×y 1 -c×z 1 .
第二步骤:计算所有地面点{x i,y i,z i}到第一步骤建立的平面之间的距离: The second step: Calculate the distance between all ground points {x i , y i , z i } and the plane established in the first step:
Figure PCTCN2019115452-appb-000017
Figure PCTCN2019115452-appb-000017
第三步骤:如果某个地面点到平面的距离小于预先设置的阈值,则认为该地面点是局内点,统计该平面对应的局内点的个数n。The third step: if the distance from a certain ground point to the plane is less than a preset threshold, the ground point is considered to be an intra-office point, and the number n of intra-office points corresponding to the plane is counted.
第四步骤:如果局内点的个数n大于建立一块可信的平面所需的局内点个数N(预设值),则使用该平面对应的所有局内点进行平面拟合得到拟合平面,例如通过最小二乘法拟合。Fourth step: If the number n of intra-office points is greater than the number N of intra-office points required to establish a credible plane (preset value), use all the intra-office points corresponding to the plane to perform plane fitting to obtain the fitted plane. For example, fitting by the least squares method.
示例性的,所述根据所述若干地面点的坐标数据拟合出所述全向扫描区域的拟合平面,还包括:根据局内点的高度值,如z 3和拟合平面的截距D判断所述局内点拟合得到的拟合平面是否准确。 Exemplarily, the fitting of the fitting plane of the omnidirectional scanning area according to the coordinate data of the several ground points further includes: according to the height value of the interior point, such as z 3 and the intercept D of the fitting plane It is judged whether the fitting plane obtained by fitting the interior points is accurate.
示例性的,如果拟合平面的截距D与所有局内点的高度值的差值小于预先设置的阈值,则所述局内点拟合得到的拟合平面准确,可以保留这次拟合结果。Exemplarily, if the difference between the intercept D of the fitting plane and the height values of all interior points is less than a preset threshold, the fitting plane obtained by fitting the interior points is accurate, and the fitting result of this time can be retained.
示例性的,如果拟合平面的截距D与所有局内点的高度值的差值不小于预先设置的阈值,则舍弃这次拟合的拟合平面。可以返回所述从所述若干地面点中确定至少三个地面点,根据所述至少三个地面点确定一目标平面;根据所述若干地面点的坐标数据确定各所述地面点到所述目标平面的平面距离;若平面距离不大于距离阈值的地面点的个数不小于预设的个数阈值,根据所述平面距离不大于距离阈值的地面点拟合得到所述全向扫描区域的拟合平面的步骤继续执行,所述至少三个地面点与上一次确定的三个地面点中至少一个不同。Exemplarily, if the difference between the intercept D of the fitting plane and the height values of all interior points is not less than a preset threshold, then the fitting plane fitted this time is discarded. It is possible to return to the determination of at least three ground points from the plurality of ground points, and determine a target plane according to the at least three ground points; determine each ground point to the target according to the coordinate data of the plurality of ground points The plane distance of the plane; if the number of ground points whose plane distance is not greater than the distance threshold is not less than the preset number threshold, the omnidirectional scan area is obtained by fitting the ground points whose plane distance is not greater than the distance threshold The step of combining the plane is continued, and the at least three ground points are different from at least one of the three ground points determined last time.
示例性的,若剔除完野值,即筛选后的地面点的个数小于建立一块可信的平面所需的数目,则判定本次获取的所述雷达在旋转过程中对全向扫描区域若干地面点的探测数据无效。可以重新获取和筛选、拟合。Exemplarily, if the outliers are eliminated, that is, the number of ground points after screening is less than the number required to establish a credible plane, it is determined that the radar acquired this time has a certain number of omnidirectional scanning areas during the rotation process. The detection data of the ground point is invalid. Can re-acquire and filter, fit.
示例性的,步骤S120拟合出所述全向扫描区域的拟合平面如图11所示。Exemplarily, the fitting plane of the omnidirectional scanning area is fitted in step S120 as shown in FIG. 11.
在一些实施方式中,可以根据所述拟合平面确定所述全向扫描区域的地形 参数,所述全向扫描区域的地形参数包括如下至少一种:所述全向扫描区域的坡度、所述全向扫描区域的平整度、所述雷达正下方地面的高度值。In some embodiments, the terrain parameters of the omnidirectional scanning area may be determined according to the fitting plane, and the terrain parameters of the omnidirectional scanning area include at least one of the following: the slope of the omnidirectional scanning area, the The flatness of the omnidirectional scanning area, and the height value of the ground directly below the radar.
在一些实施方式中,无人机在坡地进行作业,例如在梯田、山坡的果园等处进行喷洒农药等作业。这些地形的至少部分区域相对于水平面存在着一定的角度,即坡度。In some embodiments, the drone operates on slopes, such as spraying pesticides on terraces, orchards on hillsides. At least part of the terrain has a certain angle relative to the horizontal, that is, the slope.
在这一场景中,如果仅通过无人机机头前方的探测数据预测机头前方地形的变化,则无法全面的体现无人机所处区域的坡度,例如无人机后方、左侧、右侧的地形,地形跟随效果较差,无人机作业的安全性较差。In this scenario, if only the detection data in front of the drone's nose is used to predict the changes in the terrain in front of the nose, the slope of the area where the drone is located cannot be fully reflected, such as the rear, left, and right sides of the drone. For the terrain on the side, the terrain following effect is poor, and the safety of drone operations is poor.
示例性的,步骤S130根据所述拟合平面确定的全向扫描区域的地形参数包括所述全向扫描区域的坡度。Exemplarily, the terrain parameter of the omnidirectional scanning area determined in step S130 according to the fitting plane includes the slope of the omnidirectional scanning area.
示例性的,所述根据所述拟合平面确定所述全向扫描区域的地形参数,包括:确定坡度方向;确定所述拟合平面在所述坡度方向上的坡度。Exemplarily, the determining the terrain parameters of the omnidirectional scanning area according to the fitting plane includes: determining a slope direction; and determining the slope of the fitting plane in the slope direction.
例如,可以根据所述拟合平面的法向量确定所述拟合平面在所述坡度方向上的坡度。For example, the slope of the fitting plane in the slope direction may be determined according to the normal vector of the fitting plane.
示例性的,可以确定无人机机头的方向为所述坡度方向;或者可以确定所述无人机的飞行方向为所述坡度方向。当然也可以以其他方向作为坡度方向,例如确定无人机机身的左侧、右侧、机尾方向,或者无人机飞行方向上的左侧、右侧等为所述坡度方向。Exemplarily, it may be determined that the direction of the drone nose is the gradient direction; or it may be determined that the flying direction of the drone is the gradient direction. Of course, other directions can also be used as the gradient direction, for example, the left, right, and tail directions of the drone fuselage, or the left, right, etc. in the flying direction of the drone are determined as the gradient direction.
示例性的,雷达的姿态,如旋转角度以机头的方向为基准。Exemplarily, the attitude of the radar, such as the rotation angle, is based on the direction of the nose.
示例性的,如图11所示,如果以机头的方向为所述坡度方向,或者虽然以无人机的飞行方向为所述坡度方向但无人机的飞行方向与机头一致,则飞行方向的坡度可直接由拟合平面的法向量
Figure PCTCN2019115452-appb-000018
得到:
Exemplarily, as shown in FIG. 11, if the direction of the nose is the gradient direction, or although the flying direction of the drone is the gradient direction but the flying direction of the drone is consistent with the nose, then the flight The slope of the direction can be directly determined by the normal vector of the fitted plane
Figure PCTCN2019115452-appb-000018
get:
Figure PCTCN2019115452-appb-000019
Figure PCTCN2019115452-appb-000019
示例性的,若确定的坡度方向,如确定无人机的飞行方向为坡度方向,且坡度方向与机头存在一定角度,则所述拟合平面在所述坡度方向上的坡度可由下式得到:Exemplarily, if the determined gradient direction, for example, it is determined that the flying direction of the drone is the gradient direction, and the gradient direction is at a certain angle with the nose, the gradient of the fitting plane in the gradient direction can be obtained by the following formula :
Figure PCTCN2019115452-appb-000020
Figure PCTCN2019115452-appb-000020
其中,{V x,V y}表示坡度方向,例如为无人机飞行方向在拟合平面的投影。 Among them, {V x , V y } represents the gradient direction, for example, the projection of the flying direction of the drone on the fitting plane.
可以理解的,通过获取全向扫描区域若干地面点的探测数据,并根据探测数据确定全向扫描区域的拟合平面,以实现可以根据拟合平面确定全向扫描区域的任意方向上的地形坡度,例如确定无人机飞行方向上的地面坡度。It is understandable that by acquiring the detection data of several ground points in the omnidirectional scanning area, and determining the fitting plane of the omnidirectional scanning area according to the detection data, the terrain slope in any direction of the omnidirectional scanning area can be determined according to the fitting plane. , Such as determining the slope of the ground in the flying direction of the drone.
在一些实施方式中,无人机在起伏地面进行作业,例如无人机的作业地面具有附属物,如果树木、水塔、杆塔、或者具有水塘、坑洼等。这些地形不够平整,会对无人机的正常作业造成影响甚至安全隐患。例如无人机在不平坦的地面作业时需要和地面保持安全的高度,或者无人机在降落时需要在平整的地面降落。In some embodiments, the UAV operates on undulating ground. For example, the UAV’s operating ground has appendages, such as trees, water towers, poles, or ponds, potholes, and the like. These terrains are not level enough, which will affect the normal operation of UAVs and even cause safety hazards. For example, the drone needs to maintain a safe height with the ground when operating on uneven ground, or the drone needs to land on a flat ground when landing.
在这一场景中,如果只根据无人机机头前方的地形数据预测地面平整度,得到的平整度无法体现无人机所处位置的全局的地形环境,例如预测的平整度无法体现无人机其他方位,如后方、左侧、右侧的地形,无人机作业的安全性较差。In this scenario, if the ground flatness is predicted only based on the terrain data in front of the drone's nose, the resulting flatness cannot reflect the overall terrain environment where the drone is located. For example, the predicted flatness cannot reflect the unmanned In other positions of the drone, such as the terrain behind, on the left, and on the right, the safety of drone operations is poor.
示例性的,步骤S130根据所述拟合平面确定的全向扫描区域的地形参数包括所述全向扫描区域的平整度。Exemplarily, the terrain parameter of the omnidirectional scanning area determined in step S130 according to the fitting plane includes the flatness of the omnidirectional scanning area.
示例性的,所述根据所述拟合平面确定所述全向扫描区域的地形参数,包括:根据多个所述地面点的坐标数据,确定多个所述地面点到所述拟合平面的距离的均值,根据所述均值确定所述全向扫描区域的平整度。Exemplarily, the determining the terrain parameters of the omnidirectional scanning area according to the fitting plane includes: determining the coordinates of the multiple ground points to the fitting plane according to the coordinate data of the multiple ground points The average value of the distance is used to determine the flatness of the omnidirectional scanning area according to the average value.
示例性的,可以根据经过筛选后的地面点,即有效的地面点的坐标数据到所述拟合平面的距离的均值确定所述全向扫描区域的平整度。Exemplarily, the flatness of the omnidirectional scanning area may be determined according to the average value of the distance from the filtered ground point, that is, the coordinate data of the effective ground point to the fitting plane.
示例性的,计算地面点{x i,y i,z i}到拟合平面的直线距离: Exemplarily, calculate the straight-line distance from the ground point {x i , y i , z i} to the fitting plane:
Figure PCTCN2019115452-appb-000021
Figure PCTCN2019115452-appb-000021
然后计算各地面点,例如n个地面点到所述拟合平面的距离的均值:Then calculate the average of the distances from ground points, for example, n ground points to the fitting plane:
Figure PCTCN2019115452-appb-000022
Figure PCTCN2019115452-appb-000022
例如,可以将n个地面点到所述拟合平面的距离的均值作为全向扫描区域的平整度。如果该均值越大,说明全向扫描区域的地面越不平整;如果该均值 越小,说明地面越平整。For example, the average value of the distances from the n ground points to the fitting plane may be used as the flatness of the omnidirectional scanning area. If the average value is larger, it means that the ground in the omnidirectional scanning area is more uneven; if the average value is smaller, it means that the ground is flatter.
可以理解的,也可以用地面点到所述拟合平面的距离的残差来确定平整度,例如将n个地面点到所述拟合平面的距离的残差的平方和确定为平整度。但是残差无法很好的刻画存在坡度的地面的平整度,坡度的存在会使得残差值变大。因此,为了消除地面坡度对平整度的影响,可以通过使用有效的地面点到拟合平面的距离的均值来确定地面平整度。It is understandable that the flatness may also be determined by the residual of the distance from the ground point to the fitting plane, for example, the square of the residual of the distance from the n ground points to the fitting plane is determined as the flatness. However, the residual error cannot describe the flatness of the sloped ground well, and the existence of the slope will make the residual error value larger. Therefore, in order to eliminate the influence of the ground slope on the flatness, the ground flatness can be determined by using the mean value of the distance from the effective ground point to the fitting plane.
可以理解的,通过获取全向扫描区域若干地面点的探测数据,并根据探测数据确定全向扫描区域的拟合平面,以实现可以根据拟合平面确定全向扫描区域的平整度,该平整度可以体现无人机前后左右不同方向的地形平整情况。It is understandable that by acquiring the detection data of several ground points in the omnidirectional scanning area, and determining the fitting plane of the omnidirectional scanning area according to the detection data, the flatness of the omnidirectional scanning area can be determined according to the fitting plane. It can reflect the leveling of the terrain in different directions from the front, back, left, and right of the drone.
示例性的,根据所述拟合平面的截距确定所述雷达正下方地面的高度值。Exemplarily, the height value of the ground directly below the radar is determined according to the intercept of the fitting plane.
示例性的,大地坐标系的原点在雷达的正下方,拟合平面的截距可以等于雷达中心正下方的地面的高度。Exemplarily, the origin of the geodetic coordinate system is directly below the radar, and the intercept of the fitting plane may be equal to the height of the ground directly below the center of the radar.
在一些实施方式中,步骤S140中所述根据所述地形参数调整所述无人机的飞行动作,包括:根据所述坡度调整飞行速度、俯仰角、滚转角、偏航角中的至少一项。In some embodiments, the adjusting the flight motion of the drone according to the terrain parameter in step S140 includes: adjusting at least one of a flight speed, a pitch angle, a roll angle, and a yaw angle according to the slope. .
例如,若无人机飞行方向上的坡度较大,则可以降低飞行速度,将俯仰角调高;若无人机左侧方向上的坡度较小,则可以通过调整偏航角向左侧飞行。For example, if the slope in the flying direction of the drone is large, you can reduce the flight speed and increase the pitch angle; if the slope in the left direction of the drone is small, you can fly to the left by adjusting the yaw angle .
示例性的,可以利用无人机飞行速度方向在拟合平面的投影,预测无人机飞行方向上地形的变化,提前进行无人机速度的控制,使得无人机能够在山地等环境下,沿着任意方向,安全快速的仿地作业。能够解决无人机在山地作业时只能沿着坡度上升/下降方向飞行的问题,可以实时检测任意方向,如相对当前飞行方向的地势起伏变化情况,使得无人机在山地中可以沿着任意方向仿地飞行。Exemplarily, the projection of the flying speed direction of the drone on the fitting plane can be used to predict the terrain changes in the flying direction of the drone, and the speed of the drone can be controlled in advance, so that the drone can be used in mountains and other environments. Follow any direction, safely and quickly imitate the ground operation. It can solve the problem that the drone can only fly along the slope ascending/descending direction when operating in mountainous areas. It can detect any direction in real time, such as the topographical fluctuations relative to the current flying direction, so that the drone can travel along any direction in the mountains. Fly in the same direction.
示例性的,通过预测飞行方向的地形起伏变化,使得无人机速度控制提前响应,从而保证无人无人机在山地作业的安全性。Exemplarily, by predicting the terrain undulations in the flight direction, the speed control of the UAV can respond in advance, thereby ensuring the safety of the unmanned UAV operating in the mountains.
在一些实施方式中,步骤S140中所述根据所述地形参数调整所述无人机的飞行动作,包括:根据所述雷达正下方地面的高度值调整飞行速度、俯仰角、滚转角、偏航角中的至少一项。In some embodiments, adjusting the flight motion of the UAV according to the terrain parameters in step S140 includes: adjusting the flight speed, pitch angle, roll angle, and yaw according to the height value of the ground directly below the radar. At least one of the angles.
示例性的,在某些作业场景,如喷农药时需要保持无人机和作业目标如果树之间的距离保持在一个距离范围,通过确定正下方地面的高度值可以更好的 控制无人机以保持作业目标之间的距离。Exemplarily, in certain operating scenarios, such as spraying pesticides, the drone and the operating target need to be maintained. If the distance between the trees is kept within a range, the drone can be better controlled by determining the height of the ground directly below To maintain the distance between job targets.
例如,雷达正下方地面的高度值降低时,可以通过调整俯仰角等下降高度;如果雷达正下方地面的高度值变化较大时,可以控制无人机降低飞行速度以保证飞行安全。For example, when the altitude value of the ground directly below the radar decreases, the descending height can be adjusted by adjusting the pitch angle; if the altitude value of the ground directly below the radar changes greatly, the drone can be controlled to reduce the flight speed to ensure flight safety.
在一些实施方式中,步骤S140中所述根据所述地形参数调整所述无人机的飞行动作,包括:根据所述平整度调整飞行速度、俯仰角、滚转角、偏航角中的至少一项。In some embodiments, in step S140, adjusting the flight action of the drone according to the terrain parameter includes: adjusting at least one of a flight speed, a pitch angle, a roll angle, and a yaw angle according to the flatness. item.
例如,如果全向扫描区域很不平整,则可以降低飞行速度或者降低俯仰角、滚转角、偏航角的动作幅度以保证飞行安全。For example, if the omnidirectional scanning area is very uneven, you can reduce the flight speed or reduce the pitch angle, roll angle, and yaw angle to ensure flight safety.
示例性的,所述根据所述地形参数调整所述无人机的飞行动作,包括:根据所述平整度调整速度控制感量。Exemplarily, the adjusting the flying action of the drone according to the terrain parameter includes: adjusting the speed control sense according to the flatness.
感量也成为灵敏度,如果全向扫描区域很不平整,可以调低速度控制的感量,以便有更多时间进行避障、纠错等动作。Sensitivity also becomes sensitivity. If the omnidirectional scanning area is very uneven, you can reduce the sensitivity of the speed control to have more time for obstacle avoidance and error correction.
在一些实施方式中,步骤S140中所述根据所述地形参数调整所述无人机的飞行动作,包括:根据所述平整度判断是否在所述全向扫描区域降落,若是则在所述全向扫描区域降落。In some embodiments, in step S140, adjusting the flight motion of the drone according to the terrain parameter includes: judging whether to land in the omnidirectional scanning area according to the flatness, and if so, in the omnidirectional scanning area. Landing towards the scanning area.
例如,若根据平整度判断全向扫描区域足够平整,则在所述全向扫描区域降落。For example, if it is judged that the omnidirectional scanning area is sufficiently flat according to the flatness, it will land in the omnidirectional scanning area.
由于平整度可以体现无人机前后左右不同方向的地形平整情况,因此确定的降落区域更安全,可以实现基于地面平整度的无人机自主降落落点选择。Since the flatness can reflect the terrain flatness of the UAV in different directions, the determined landing area is safer, and the autonomous landing point selection of the UAV based on the flatness of the ground can be realized.
在一些实施方式中,步骤S140中所述根据所述地形参数调整所述无人机的飞行动作,包括:根据所述地形参数确定飞行航线;沿着所述飞行航线飞行。In some embodiments, adjusting the flight action of the drone according to the terrain parameter in step S140 includes: determining a flight route according to the terrain parameter; and flying along the flight route.
示例性的,可以根据全向扫描区域不同方向上的坡度、全向扫描区域的平整度、地面的高度等地形参数和/或地形参数的变化幅度、频率等信息确定飞行航线,实现更安全的自主规划航线飞行。Exemplarily, the flight route can be determined based on the slope of the omnidirectional scanning area in different directions, the flatness of the omnidirectional scanning area, the height of the ground and other terrain parameters, and/or the variation amplitude and frequency of the terrain parameters, etc., to achieve a safer Plan the flight route independently.
本说明书实施例提供的无人机作业控制方法,通过获取无人机搭载的雷达在对地旋转扫描过程获得的全向扫描区域的探测数据,根据所述探测数据拟合出所述全向扫描区域的拟合平面;以实现根据所述拟合平面确定所述全向扫描区域的地形参数;并根据所述地形参数调整所述无人机的飞行动作。由于全向扫描区域包括了无人机前后左右不同方向,得到的地形参数更全局化和准确, 从而可以更安全的控制无人机的飞行动作。The drone operation control method provided by the embodiment of this specification acquires the detection data of the omnidirectional scanning area obtained by the radar carried by the drone during the ground rotation scanning process, and fits the omnidirectional scanning according to the detection data The fitting plane of the area; to realize the determination of the terrain parameters of the omnidirectional scanning area according to the fitting plane; and adjust the flight action of the drone according to the terrain parameters. Since the omnidirectional scanning area includes different directions of the UAV, the obtained terrain parameters are more global and accurate, so that the flight actions of the UAV can be controlled more safely.
请参阅图12,图12是本说明书一实施例提供的无人机700的示意性框图。无人机700包括一体设置的雷达,或者可以额外搭载独立的雷达。Please refer to FIG. 12, which is a schematic block diagram of an unmanned aerial vehicle 700 according to an embodiment of the present specification. The UAV 700 includes an integrated radar, or may be additionally equipped with an independent radar.
该无人机700包括处理器701和存储器702。The drone 700 includes a processor 701 and a memory 702.
示例性的,处理器701和存储器702通过总线703连接,该总线703比如为I2C(Inter-integrated Circuit)总线。Exemplarily, the processor 701 and the memory 702 are connected by a bus 703, and the bus 703 is, for example, an I2C (Inter-integrated Circuit) bus.
具体地,处理器701可以是微控制单元(Micro-controller Unit,MCU)、中央处理单元(Central Processing Unit,CPU)或数字信号处理器(Digital Signal Processor,DSP)等。Specifically, the processor 701 may be a micro-controller unit (MCU), a central processing unit (CPU), a digital signal processor (Digital Signal Processor, DSP), or the like.
具体地,存储器702可以是Flash芯片、只读存储器(ROM,Read-Only Memory)磁盘、光盘、U盘或移动硬盘等。Specifically, the memory 702 may be a Flash chip, a read-only memory (ROM, Read-Only Memory) disk, an optical disk, a U disk, or a mobile hard disk.
其中,所述处理器701用于运行存储在存储器702中的计算机程序,并在执行所述计算机程序时实现前述的无人机作业控制方法。Wherein, the processor 701 is configured to run a computer program stored in the memory 702, and implement the aforementioned drone operation control method when the computer program is executed.
示例性的,所述处理器701用于运行存储在存储器702中的计算机程序,并在执行所述计算机程序时实现如下步骤:Exemplarily, the processor 701 is configured to run a computer program stored in the memory 702, and implement the following steps when the computer program is executed:
获取所述雷达在对地旋转扫描过程获得的全向扫描区域探测数据;Acquiring the omnidirectional scanning area detection data obtained by the radar during the ground rotation scanning process;
根据所述探测数据拟合出所述全向扫描区域的拟合平面;Fitting a fitting plane of the omnidirectional scanning area according to the detection data;
根据所述拟合平面确定所述全向扫描区域的地形参数,所述地形参数包括所述全向扫描区域的坡度;Determining the terrain parameter of the omnidirectional scanning area according to the fitting plane, the terrain parameter including the slope of the omnidirectional scanning area;
根据所述地形参数调整所述无人机的飞行动作。Adjust the flight action of the drone according to the terrain parameter.
本说明书实施例提供的无人机的具体原理和实现方式均与前述实施例的无人机作业控制方法类似,此处不再赘述。The specific principles and implementation methods of the drone provided in the embodiment of this specification are similar to the drone operation control method of the foregoing embodiment, and will not be repeated here.
本说明书的实施例中还提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序中包括程序指令,所述处理器执行所述程序指令,实现上述实施例提供的方法的步骤。The embodiments of this specification also provide a computer-readable storage medium, the computer-readable storage medium stores a computer program, the computer program includes program instructions, and the processor executes the program instructions to implement the foregoing implementation The steps of the method provided by the example.
其中,所述计算机可读存储介质可以是前述任一实施例所述的雷达、地形预测装置、无人机的内部存储单元,例如是所述无人机的硬盘或内存。所述计算机可读存储介质也可以是所述雷达、地形预测装置、无人机的外部存储设备,例如所述无人机上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。Wherein, the computer-readable storage medium may be the internal storage unit of the radar, the terrain prediction device, or the UAV described in any of the foregoing embodiments, for example, the hard disk or memory of the UAV. The computer-readable storage medium may also be an external storage device of the radar, a terrain prediction device, or a drone, such as a plug-in hard disk or a smart memory card (Smart Media Card, SMC) equipped on the drone, Secure Digital (SD) card, flash card (Flash Card), etc.
本说明书上述实施例提供的无人机和计算机可读存储介质,通过获取无人机搭载的雷达在对地旋转扫描过程获得的全向扫描区域的探测数据,根据所述探测数据拟合出所述全向扫描区域的拟合平面;以实现根据所述拟合平面确定所述全向扫描区域的地形参数;以及根据所述地形参数调整所述无人机的飞行动作。由于全向扫描区域包括了无人机前后左右不同方向,得到的地形参数更全局化和准确,从而可以更安全的控制无人机的飞行动作。The UAV and the computer-readable storage medium provided in the above-mentioned embodiments of this specification acquire the detection data of the omnidirectional scanning area obtained by the radar carried by the UAV during the ground rotation scanning process, and fit the detection data according to the detection data. The fitting plane of the omnidirectional scanning area; to realize the determination of the terrain parameters of the omnidirectional scanning area according to the fitting plane; and adjusting the flight motion of the drone according to the terrain parameters. Since the omnidirectional scanning area includes the different directions of the UAV, the terrain parameters obtained are more global and accurate, so that the flight movements of the UAV can be controlled more safely.
应当理解,在此本说明书中所使用的术语仅仅是出于描述特定实施例的目的而并不意在限制本说明书。It should be understood that the terms used in this specification are only for the purpose of describing specific embodiments and are not intended to limit the specification.
还应当理解,在本说明书和所附权利要求书中使用的术语“和/或”是指相关联列出的项中的一个或多个的任何组合以及所有可能组合,并且包括这些组合。It should also be understood that the term "and/or" used in this specification and the appended claims refers to any combination of one or more of the associated listed items and all possible combinations, and includes these combinations.
以上所述,仅为本说明书的具体实施方式,但本说明书的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本说明书揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本说明书的保护范围之内。因此,本说明书的保护范围应以权利要求的保护范围为准。The above are only specific implementations of this specification, but the protection scope of this specification is not limited to this. Any person skilled in the art can easily think of various equivalents within the technical scope disclosed in this specification. Modifications or replacements, these modifications or replacements shall be covered within the protection scope of this manual. Therefore, the protection scope of this specification should be subject to the protection scope of the claims.

Claims (66)

  1. 一种坡地的地形预测方法,其特征在于,所述方法包括:A terrain prediction method for slopes, characterized in that the method includes:
    获取雷达在对地旋转扫描过程获得的全向扫描区域探测数据;Obtain the detection data of the omnidirectional scanning area obtained by the radar during the ground rotation scanning process;
    根据所述探测数据拟合出所述全向扫描区域的拟合平面;Fitting a fitting plane of the omnidirectional scanning area according to the detection data;
    根据所述拟合平面确定所述全向扫描区域的地形参数,所述地形参数包括所述全向扫描区域的坡度。The terrain parameter of the omnidirectional scanning area is determined according to the fitting plane, and the terrain parameter includes the slope of the omnidirectional scanning area.
  2. 根据权利要求1所述的方法,其特征在于,所述全向扫描区域的地形参数还包括如下至少一种:The method according to claim 1, wherein the terrain parameter of the omnidirectional scanning area further comprises at least one of the following:
    所述全向扫描区域的平整度、所述雷达正下方地面的高度值。The flatness of the omnidirectional scanning area and the height value of the ground directly below the radar.
  3. 根据权利要求1所述的方法,其特征在于,所述获取所述雷达在对地旋转扫描过程获得的全向扫描区域探测数据,包括:The method according to claim 1, wherein said acquiring the detection data of the omnidirectional scanning area obtained by the radar during the scanning of the ground rotation comprises:
    获取所述全向扫描区域若干地面点相对于所述雷达的探测距离和方位角。Obtain the detection range and azimuth angle of several ground points in the omnidirectional scanning area relative to the radar.
  4. 根据权利要求3所述的方法,其特征在于,所述方法还包括:The method according to claim 3, wherein the method further comprises:
    获取所述雷达在探测各所述地面点时对应的雷达旋转角度。Obtain the corresponding radar rotation angle when the radar detects each of the ground points.
  5. 根据权利要求4所述的方法,其特征在于,所述获取所述雷达在对地旋转扫描过程获得的全向扫描区域探测数据,还包括:The method according to claim 4, wherein said acquiring the detection data of the omnidirectional scanning area obtained by the radar during the scanning process of the ground rotation further comprises:
    根据所述地面点对应的雷达旋转角度、探测距离和方位角确定各所述地面点相对于所述雷达在多个方向上的距离。The distance of each ground point relative to the radar in multiple directions is determined according to the radar rotation angle, detection distance, and azimuth angle corresponding to the ground point.
  6. 根据权利要求1所述的方法,其特征在于,所述获取所述雷达在对地旋转扫描过程获得的全向扫描区域探测数据,包括:The method according to claim 1, wherein said acquiring the detection data of the omnidirectional scanning area obtained by the radar during the scanning of the ground rotation comprises:
    获取所述全向扫描区域若干地面点相对于所述雷达在多个方向上的距离。Obtain the distances of several ground points in the omnidirectional scanning area relative to the radar in multiple directions.
  7. 根据权利要求6所述的方法,其特征在于,所述地面点相对于所述雷达在多个方向上的距离,包括:The method according to claim 6, wherein the distance of the ground point relative to the radar in multiple directions comprises:
    所述地面点在所述雷达的雷达坐标系下的位置坐标;The position coordinates of the ground point in the radar coordinate system of the radar;
    所述雷达坐标系以所述雷达的旋转中心为原点,以所述雷达的正下方为第一轴方向,以所述雷达的正前方向为第二轴方向,以垂直于所述第一轴方向和所述第二轴方向的方向为第三轴方向。The radar coordinate system takes the rotation center of the radar as the origin, the first axis direction is directly below the radar, the second axis direction is the front direction of the radar, and is perpendicular to the first axis. The direction between the direction and the second axis direction is the third axis direction.
  8. 根据权利要求1-7中任一项所述的方法,其特征在于,所述根据所述探 测数据拟合出所述全向扫描区域的拟合平面,包括:The method according to any one of claims 1-7, wherein the fitting a fitting plane of the omnidirectional scanning area according to the detection data comprises:
    根据所述探测数据确定所述全向扫描区域中若干地面点在大地坐标系下的坐标数据;Determining, according to the detection data, coordinate data of several ground points in the omnidirectional scanning area in a geodetic coordinate system;
    根据所述若干所述地面点的坐标数据拟合出所述全向扫描区域的拟合平面。Fitting the fitting plane of the omnidirectional scanning area according to the coordinate data of the several ground points.
  9. 根据权利要求8所述的方法,其特征在于,所述方法还包括:The method according to claim 8, wherein the method further comprises:
    通过无人机搭载的惯性测量单元和/或所述雷达搭载的惯性测量单元获取所述雷达的姿态信息。The attitude information of the radar is acquired through the inertial measurement unit carried by the drone and/or the inertial measurement unit carried by the radar.
  10. 根据权利要求9所述的方法,其特征在于,所述根据所述探测数据确定所述全向扫描区域中各所述地面点在大地坐标系下的坐标数据,包括:The method according to claim 9, wherein the determining the coordinate data of each of the ground points in the omnidirectional scanning area in the geodetic coordinate system according to the detection data comprises:
    根据所述雷达的姿态信息和所述探测数据确定各所述地面点在大地坐标系下的坐标数据。The coordinate data of each of the ground points in the geodetic coordinate system is determined according to the attitude information of the radar and the detection data.
  11. 根据权利要求8所述的方法,其特征在于,所述大地坐标系的原点位于所述雷达的正下方,所述大地坐标系以大地原点的正北方向或正南方向为第四轴方向,以大地原点的正东方向或正西方向为第五轴方向,以垂直于所述第四轴方向和所述第五轴方向的方向为第六轴方向;The method according to claim 8, wherein the origin of the geodetic coordinate system is located directly below the radar, and the geodetic coordinate system uses the true north direction or the true south direction of the geodetic origin as the fourth axis direction, Taking the true east direction or the true west direction of the earth origin as the fifth axis direction, and taking the direction perpendicular to the fourth axis direction and the fifth axis direction as the sixth axis direction;
    所述地面点在所述大地坐标系下的坐标数据包括所述地面点相对于所述大地原点在所述第四轴方向、第五轴方向、第六轴方向上的距离。The coordinate data of the ground point in the geodetic coordinate system includes the distance of the ground point in the fourth axis direction, the fifth axis direction, and the sixth axis direction relative to the geodetic origin.
  12. 根据权利要求8所述的方法,其特征在于,所述根据所述若干地面点的坐标数据拟合出所述全向扫描区域的拟合平面,包括:The method according to claim 8, wherein the fitting a fitting plane of the omnidirectional scanning area according to the coordinate data of the several ground points comprises:
    对所述若干地面点的坐标数据进行筛选,根据筛选后的地面点的坐标数据拟合出所述全向扫描区域的拟合平面。The coordinate data of the several ground points are screened, and the fitting plane of the omnidirectional scanning area is fitted according to the screened coordinate data of the ground points.
  13. 根据权利要求12所述的方法,其特征在于,所述对所述若干地面点的坐标数据进行筛选,根据筛选后的地面点的坐标数据拟合出所述全向扫描区域的拟合平面,包括:The method according to claim 12, wherein the screening of the coordinate data of the several ground points, and fitting the fitting plane of the omnidirectional scanning area according to the coordinate data of the filtered ground points, include:
    根据所述若干地面点的坐标数据对所述若干地面点进行聚类分析,确定满足聚类条件的地面点;Performing a cluster analysis on the plurality of ground points according to the coordinate data of the plurality of ground points, and determine the ground points that meet the clustering condition;
    根据满足聚类条件的地面点的坐标数据拟合出所述全向扫描区域的拟合平面。Fitting the fitting plane of the omnidirectional scanning area according to the coordinate data of the ground points that meet the clustering condition.
  14. 根据权利要求13所述的方法,其特征在于,所述根据所述若干地面点的坐标数据对所述若干地面点进行聚类分析,确定满足聚类条件的地面点,包 括:The method according to claim 13, wherein the clustering analysis of the plurality of ground points according to the coordinate data of the plurality of ground points to determine the ground points that meet the clustering condition comprises:
    循环执行:确定一所述地面点为待聚类点,确定所述待聚类点的搜索范围内地面点的个数,若所述个数不大于预设的聚类阈值则剔除所述待聚类点;Cyclic execution: Determine one of the ground points as the points to be clustered, determine the number of ground points in the search range of the points to be clustered, and remove the points to be clustered if the number is not greater than the preset clustering threshold. Cluster points
    直至所述若干地面点均被确定为待聚类点;Until the several ground points are determined as points to be clustered;
    确定未剔除的待聚类点为满足所述聚类条件的地面点。It is determined that the unremoved points to be clustered are ground points that meet the clustering condition.
  15. 根据权利要求8所述的方法,其特征在于,所述根据所述若干地面点的坐标数据拟合出所述全向扫描区域的拟合平面,包括:The method according to claim 8, wherein the fitting a fitting plane of the omnidirectional scanning area according to the coordinate data of the several ground points comprises:
    从所述若干地面点中确定至少三个地面点,根据所述至少三个地面点确定一目标平面;Determining at least three ground points from the plurality of ground points, and determining a target plane according to the at least three ground points;
    根据所述若干地面点的坐标数据确定各所述地面点到所述目标平面的平面距离;Determining the plane distance from each of the ground points to the target plane according to the coordinate data of the several ground points;
    若平面距离不大于距离阈值的地面点的个数不小于预设的个数阈值,根据所述平面距离不大于距离阈值的地面点拟合得到所述全向扫描区域的拟合平面。If the number of ground points whose plane distance is not greater than the distance threshold is not less than a preset number threshold, the fitting plane of the omnidirectional scanning area is obtained by fitting the ground points whose plane distance is not greater than the distance threshold.
  16. 根据权利要求15所述的方法,其特征在于,所述根据所述若干地面点的坐标数据拟合出所述全向扫描区域的拟合平面,还包括:The method according to claim 15, wherein the fitting a fitting plane of the omnidirectional scanning area according to the coordinate data of the several ground points further comprises:
    如果拟合平面的截距与所有局内点的高度值的差值不小于预先设置的阈值,返回所述从所述若干地面点中确定至少三个地面点,根据所述至少三个地面点确定一目标平面;根据所述若干地面点的坐标数据确定各所述地面点到所述目标平面的平面距离;若平面距离不大于距离阈值的地面点的个数不小于预设的个数阈值,根据所述平面距离不大于距离阈值的地面点拟合得到所述全向扫描区域的拟合平面的步骤继续执行,所述至少三个地面点与上一次确定的三个地面点中至少一个不同。If the difference between the intercept of the fitted plane and the height values of all interior points is not less than the preset threshold value, return to the determination of at least three ground points from the plurality of ground points, and determine according to the at least three ground points A target plane; determine the plane distance from each of the ground points to the target plane according to the coordinate data of the several ground points; if the plane distance is not greater than the distance threshold, the number of ground points is not less than the preset number threshold, The step of obtaining the fitted plane of the omnidirectional scanning area by fitting the ground points whose plane distance is not greater than the distance threshold is continued, and the at least three ground points are different from at least one of the three ground points determined last time .
  17. 根据权利要求8所述的方法,其特征在于,所述根据所述拟合平面确定所述全向扫描区域的地形参数,包括:The method according to claim 8, wherein the determining the terrain parameters of the omnidirectional scanning area according to the fitting plane comprises:
    根据多个所述地面点的坐标数据,确定多个所述地面点到所述拟合平面的距离的均值,根据所述均值确定所述全向扫描区域的平整度。According to the coordinate data of the multiple ground points, an average value of the distances from the multiple ground points to the fitting plane is determined, and the flatness of the omnidirectional scanning area is determined according to the average value.
  18. 根据权利要求2所述的方法,其特征在于,所述根据所述拟合平面确定所述全向扫描区域的地形参数,包括:The method according to claim 2, wherein the determining the terrain parameters of the omnidirectional scanning area according to the fitting plane comprises:
    确定坡度方向;Determine the direction of the slope;
    确定所述拟合平面在所述坡度方向上的坡度。Determine the slope of the fitting plane in the slope direction.
  19. 根据权利要求18所述的方法,其特征在于,所述确定坡度方向,包括:The method according to claim 18, wherein the determining the slope direction comprises:
    确定搭载所述雷达的无人机的飞行方向为所述坡度方向。It is determined that the flying direction of the drone equipped with the radar is the gradient direction.
  20. 根据权利要求18所述的方法,其特征在于,所述确定所述拟合平面在所述坡度方向上的坡度,包括:The method according to claim 18, wherein the determining the slope of the fitting plane in the slope direction comprises:
    根据所述拟合平面的法向量确定所述拟合平面在所述坡度方向上的坡度。The slope of the fitting plane in the slope direction is determined according to the normal vector of the fitting plane.
  21. 根据权利要求2所述的方法,其特征在于,所述根据所述拟合平面确定所述全向扫描区域的地形参数,包括:The method according to claim 2, wherein the determining the terrain parameters of the omnidirectional scanning area according to the fitting plane comprises:
    根据所述拟合平面的截距确定所述雷达正下方地面的高度值。The height value of the ground directly below the radar is determined according to the intercept of the fitting plane.
  22. 根据权利要求1-7中任一项所述的方法,其特征在于,所述雷达搭载于无人机,所述雷达包括天线机构,所述天线机构能够相对所述无人机的机身绕预设转轴旋转,用于探测所述无人机侧面的障碍物;所述雷达位于所述机身的底部下方,且所述转轴与预设平面相交,所述预设平面为所述无人机的俯仰轴和横滚轴所在的平面。The method according to any one of claims 1-7, wherein the radar is mounted on an unmanned aerial vehicle, the radar includes an antenna mechanism, and the antenna mechanism is capable of circling around the fuselage of the drone The preset rotation axis rotates to detect obstacles on the side of the drone; the radar is located under the bottom of the fuselage, and the rotation axis intersects a preset plane, which is the unmanned plane. The plane where the pitch axis and roll axis of the aircraft are located.
  23. 根据权利要求22所述的方法,其特征在于,所述转轴与所述预设平面之间的夹角为60°-90°。The method according to claim 22, wherein the angle between the rotation axis and the preset plane is 60°-90°.
  24. 根据权利要求23所述的方法,其特征在于,所述转轴与所述预设平面大致垂直;和/或,所述转轴与所述机身的中心线大致重合。The method according to claim 23, wherein the rotation axis is substantially perpendicular to the preset plane; and/or, the rotation axis is substantially coincident with the center line of the fuselage.
  25. 根据权利要求23所述的方法,其特征在于,所述雷达通过安装结构安装在所述无人机的着陆架上,所述安装结构位于所述雷达与所述机身之间。The method according to claim 23, wherein the radar is installed on the landing frame of the drone through a mounting structure, and the mounting structure is located between the radar and the fuselage.
  26. 根据权利要求22所述的方法,其特征在于,所述转轴与所述无人机的航向轴呈锐角。The method according to claim 22, wherein the rotation axis and the yaw axis of the drone are at an acute angle.
  27. 根据权利要求26所述的方法,其特征在于,所述锐角为0°-30°。The method according to claim 26, wherein the acute angle is 0°-30°.
  28. 根据权利要求22所述的方法,其特征在于,所述天线机构绕所述转轴的旋转角度范围大于或等于360°。The method according to claim 22, wherein the rotation angle range of the antenna mechanism around the rotating shaft is greater than or equal to 360°.
  29. 根据权利要求1-7中任一项所述的方法,其特征在于,所述雷达为连续波雷达。The method according to any one of claims 1-7, wherein the radar is a continuous wave radar.
  30. 一种坡地的地形预测装置,其特征在于,所述地形预测装置包括存储器和处理器;A terrain prediction device for slopes, characterized in that the terrain prediction device includes a memory and a processor;
    所述存储器用于存储计算机程序;The memory is used to store a computer program;
    所述处理器,用于执行所述计算机程序并在执行所述计算机程序时,实现 如下步骤:The processor is configured to execute the computer program and, when executing the computer program, implement the following steps:
    获取雷达在对地旋转扫描过程获得的全向扫描区域探测数据;Obtain the detection data of the omnidirectional scanning area obtained by the radar during the ground rotation scanning process;
    根据所述探测数据拟合出所述全向扫描区域的拟合平面;Fitting a fitting plane of the omnidirectional scanning area according to the detection data;
    根据所述拟合平面确定所述全向扫描区域的地形参数,所述地形参数包括所述全向扫描区域的坡度。The terrain parameter of the omnidirectional scanning area is determined according to the fitting plane, and the terrain parameter includes the slope of the omnidirectional scanning area.
  31. 一种雷达,其特征在于,所述雷达包括存储器和处理器;A radar, characterized in that the radar includes a memory and a processor;
    所述存储器用于存储计算机程序;The memory is used to store a computer program;
    所述处理器,用于执行所述计算机程序并在执行所述计算机程序时,实现如下步骤:The processor is configured to execute the computer program and, when executing the computer program, implement the following steps:
    获取雷达在对地旋转扫描过程获得的全向扫描区域探测数据;Obtain the detection data of the omnidirectional scanning area obtained by the radar during the ground rotation scanning process;
    根据所述探测数据拟合出所述全向扫描区域的拟合平面;Fitting a fitting plane of the omnidirectional scanning area according to the detection data;
    根据所述拟合平面确定所述全向扫描区域的地形参数,所述地形参数包括所述全向扫描区域的坡度。The terrain parameter of the omnidirectional scanning area is determined according to the fitting plane, and the terrain parameter includes the slope of the omnidirectional scanning area.
  32. 一种无人机作业控制方法,所述无人机搭载雷达,在坡地作业,其特征在于,所述方法包括:An unmanned aerial vehicle operation control method, the unmanned aerial vehicle is equipped with radar and operates on slopes, characterized in that the method includes:
    获取所述雷达在对地旋转扫描过程获得的全向扫描区域探测数据;Acquiring the omnidirectional scanning area detection data obtained by the radar during the ground rotation scanning process;
    根据所述探测数据拟合出所述全向扫描区域的拟合平面;Fitting a fitting plane of the omnidirectional scanning area according to the detection data;
    根据所述拟合平面确定所述全向扫描区域的地形参数,所述地形参数包括所述全向扫描区域的坡度;Determining the terrain parameter of the omnidirectional scanning area according to the fitting plane, the terrain parameter including the slope of the omnidirectional scanning area;
    根据所述地形参数调整所述无人机的飞行动作。Adjust the flight action of the drone according to the terrain parameter.
  33. 根据权利要求32所述的方法,其特征在于,所述全向扫描区域的地形参数还包括如下至少一种:The method according to claim 32, wherein the terrain parameter of the omnidirectional scanning area further comprises at least one of the following:
    所述全向扫描区域的平整度、所述雷达正下方地面的高度值。The flatness of the omnidirectional scanning area and the height value of the ground directly below the radar.
  34. 根据权利要求32所述的方法,其特征在于,所述获取所述雷达在对地旋转扫描过程获得的全向扫描区域探测数据,包括:The method according to claim 32, wherein said acquiring the detection data of the omnidirectional scanning area obtained by the radar during the ground rotation scanning process comprises:
    获取所述全向扫描区域若干地面点相对于所述雷达的探测距离和方位角。Obtain the detection range and azimuth angle of several ground points in the omnidirectional scanning area relative to the radar.
  35. 根据权利要求34所述的方法,其特征在于,所述方法还包括:The method according to claim 34, wherein the method further comprises:
    获取所述雷达在探测各所述地面点时对应的雷达旋转角度。Obtain the corresponding radar rotation angle when the radar detects each of the ground points.
  36. 根据权利要求35所述的方法,其特征在于,所述获取所述雷达在对地旋转扫描过程获得的全向扫描区域探测数据,还包括:The method according to claim 35, wherein said acquiring the detection data of the omnidirectional scanning area obtained by the radar during the ground rotation scanning process further comprises:
    根据所述地面点对应的雷达旋转角度、探测距离和方位角确定各所述地面点相对于所述雷达在多个方向上的距离。The distance of each ground point relative to the radar in multiple directions is determined according to the radar rotation angle, detection distance, and azimuth angle corresponding to the ground point.
  37. 根据权利要求32所述的方法,其特征在于,所述获取所述雷达在对地旋转扫描过程获得的全向扫描区域探测数据,包括:The method according to claim 32, wherein said acquiring the detection data of the omnidirectional scanning area obtained by the radar during the ground rotation scanning process comprises:
    获取所述全向扫描区域若干地面点相对于所述雷达在多个方向上的距离。Obtain the distances of several ground points in the omnidirectional scanning area relative to the radar in multiple directions.
  38. 根据权利要求37所述的方法,其特征在于,所述地面点相对于所述雷达在多个方向上的距离,包括:The method according to claim 37, wherein the distance of the ground point relative to the radar in multiple directions comprises:
    所述地面点在所述雷达的雷达坐标系下的位置坐标;The position coordinates of the ground point in the radar coordinate system of the radar;
    所述雷达坐标系以所述雷达的旋转中心为原点,以所述雷达的正下方为第一轴方向,以所述雷达的正前方向为第二轴方向,以垂直于所述第一轴方向和所述第二轴方向的方向为第三轴方向。The radar coordinate system takes the rotation center of the radar as the origin, the first axis direction is directly below the radar, the second axis direction is the front direction of the radar, and is perpendicular to the first axis. The direction between the direction and the second axis direction is the third axis direction.
  39. 根据权利要求32-38中任一项所述的方法,其特征在于,所述根据所述探测数据拟合出所述全向扫描区域的拟合平面,包括:The method according to any one of claims 32-38, wherein the fitting a fitting plane of the omnidirectional scanning area according to the detection data comprises:
    根据所述探测数据确定所述全向扫描区域中若干地面点在大地坐标系下的坐标数据;Determining, according to the detection data, coordinate data of several ground points in the omnidirectional scanning area in a geodetic coordinate system;
    根据所述若干地面点的坐标数据拟合出所述全向扫描区域的拟合平面。Fitting the fitting plane of the omnidirectional scanning area according to the coordinate data of the several ground points.
  40. 根据权利要求39所述的方法,其特征在于,所述方法还包括:The method according to claim 39, wherein the method further comprises:
    通过所述无人机搭载的惯性测量单元和/或所述雷达搭载的惯性测量单元获取所述雷达的姿态信息。The attitude information of the radar is acquired through the inertial measurement unit carried by the unmanned aerial vehicle and/or the inertial measurement unit carried by the radar.
  41. 根据权利要求40所述的方法,其特征在于,所述根据所述探测数据确定所述全向扫描区域中若干地面点在大地坐标系下的坐标数据,包括:The method according to claim 40, wherein the determining, according to the detection data, the coordinate data of several ground points in the omnidirectional scanning area in a geodetic coordinate system comprises:
    根据所述雷达的姿态信息和所述探测数据确定若干地面点在大地坐标系下的坐标数据。The coordinate data of several ground points in the geodetic coordinate system is determined according to the attitude information of the radar and the detection data.
  42. 根据权利要求39所述的方法,其特征在于,所述大地坐标系的原点位于所述雷达的正下方,所述大地坐标系以大地原点的正北方向或正南方向为第四轴方向,以大地原点的正东方向或正西方向为第五轴方向,以垂直于所述第四轴方向和所述第五轴方向的方向为第六轴方向;The method according to claim 39, wherein the origin of the geodetic coordinate system is located directly below the radar, and the geodetic coordinate system takes the true north or true south direction of the geodetic origin as the fourth axis direction, Taking the true east direction or the true west direction of the earth origin as the fifth axis direction, and taking the direction perpendicular to the fourth axis direction and the fifth axis direction as the sixth axis direction;
    所述地面点在所述大地坐标系下的坐标数据包括所述地面点相对于所述大地原点在所述第四轴方向、第五轴方向、第六轴方向上的距离。The coordinate data of the ground point in the geodetic coordinate system includes the distance of the ground point in the fourth axis direction, the fifth axis direction, and the sixth axis direction relative to the geodetic origin.
  43. 根据权利要求39所述的方法,其特征在于,所述根据所述若干地面点 的坐标数据拟合出所述全向扫描区域的拟合平面,包括:The method according to claim 39, wherein the fitting a fitting plane of the omnidirectional scanning area according to the coordinate data of the several ground points comprises:
    对所述若干地面点的坐标数据进行筛选,根据筛选后的地面点的坐标数据拟合出所述全向扫描区域的拟合平面。The coordinate data of the several ground points are screened, and the fitting plane of the omnidirectional scanning area is fitted according to the screened coordinate data of the ground points.
  44. 根据权利要求43所述的方法,其特征在于,所述对所述若干地面点的坐标数据进行筛选,根据筛选后的地面点的坐标数据拟合出所述全向扫描区域的拟合平面,包括:The method according to claim 43, wherein the screening of the coordinate data of the several ground points, and fitting the fitting plane of the omnidirectional scanning area according to the coordinate data of the filtered ground points, include:
    根据所述若干地面点的坐标数据对所述若干地面点进行聚类分析,确定满足聚类条件的地面点;Performing a cluster analysis on the plurality of ground points according to the coordinate data of the plurality of ground points, and determine the ground points that meet the clustering condition;
    根据满足聚类条件的地面点的坐标数据拟合出所述全向扫描区域的拟合平面。Fitting the fitting plane of the omnidirectional scanning area according to the coordinate data of the ground points that meet the clustering condition.
  45. 根据权利要求44所述的方法,其特征在于,所述根据所述若干地面点的坐标数据对所述若干地面点进行聚类分析,确定满足聚类条件的地面点,包括:The method according to claim 44, wherein the performing cluster analysis on the plurality of ground points according to the coordinate data of the plurality of ground points to determine the ground points that meet the clustering condition comprises:
    循环执行:确定一所述地面点为待聚类点,确定所述待聚类点的搜索范围内地面点的个数,若所述个数不大于预设的聚类阈值则剔除所述待聚类点;Cyclic execution: Determine one of the ground points as the points to be clustered, determine the number of ground points in the search range of the points to be clustered, and remove the points to be clustered if the number is not greater than the preset clustering threshold. Cluster points
    直至所述若干地面点均被确定为待聚类点;Until the several ground points are determined as points to be clustered;
    确定未剔除的待聚类点为满足所述聚类条件的地面点。It is determined that the unremoved points to be clustered are ground points that meet the clustering condition.
  46. 根据权利要求39所述的方法,其特征在于,所述根据所述若干地面点的坐标数据拟合出所述全向扫描区域的拟合平面,包括:The method according to claim 39, wherein the fitting a fitting plane of the omnidirectional scanning area according to the coordinate data of the several ground points comprises:
    从所述若干地面点中确定至少三个地面点,根据所述至少三个地面点确定一目标平面;Determining at least three ground points from the plurality of ground points, and determining a target plane according to the at least three ground points;
    根据所述若干地面点的坐标数据确定各所述地面点到所述目标平面的平面距离;Determining the plane distance from each of the ground points to the target plane according to the coordinate data of the several ground points;
    若平面距离不大于距离阈值的地面点的个数不小于预设的个数阈值,根据所述平面距离不大于距离阈值的地面点拟合得到所述全向扫描区域的拟合平面。If the number of ground points whose plane distance is not greater than the distance threshold is not less than a preset number threshold, the fitting plane of the omnidirectional scanning area is obtained by fitting the ground points whose plane distance is not greater than the distance threshold.
  47. 根据权利要求46所述的方法,其特征在于,所述根据所述若干地面点的坐标数据拟合出所述全向扫描区域的拟合平面,还包括:The method according to claim 46, wherein the fitting of the fitting plane of the omnidirectional scanning area according to the coordinate data of the several ground points further comprises:
    如果拟合平面的截距与所有局内点的高度值的差值不小于预先设置的阈值,返回所述从所述若干地面点中确定至少三个地面点,根据所述至少三个地面点确定一目标平面;根据所述若干地面点的坐标数据确定各所述地面点到所述目 标平面的平面距离;若平面距离不大于距离阈值的地面点的个数不小于预设的个数阈值,根据所述平面距离不大于距离阈值的地面点拟合得到所述全向扫描区域的拟合平面的步骤继续执行,所述至少三个地面点与上一次确定的三个地面点中至少一个不同。If the difference between the intercept of the fitted plane and the height values of all interior points is not less than the preset threshold value, return to the determination of at least three ground points from the plurality of ground points, and determine according to the at least three ground points A target plane; determine the plane distance from each of the ground points to the target plane according to the coordinate data of the several ground points; if the plane distance is not greater than the distance threshold, the number of ground points is not less than the preset number threshold, The step of obtaining the fitted plane of the omnidirectional scanning area by fitting the ground points whose plane distance is not greater than the distance threshold is continued, and the at least three ground points are different from at least one of the three ground points determined last time .
  48. 根据权利要求39所述的方法,其特征在于,所述根据所述拟合平面确定所述全向扫描区域的地形参数,包括:The method according to claim 39, wherein the determining the terrain parameters of the omnidirectional scanning area according to the fitting plane comprises:
    根据多个所述地面点的坐标数据,确定多个所述地面点到所述拟合平面的距离的均值,根据所述均值确定所述全向扫描区域的平整度。According to the coordinate data of the multiple ground points, an average value of the distances from the multiple ground points to the fitting plane is determined, and the flatness of the omnidirectional scanning area is determined according to the average value.
  49. 根据权利要求32-38中任一项所述的方法,其特征在于,所述根据所述拟合平面确定所述全向扫描区域的地形参数,包括:The method according to any one of claims 32-38, wherein the determining the terrain parameters of the omnidirectional scanning area according to the fitting plane comprises:
    确定坡度方向;Determine the direction of the slope;
    确定所述拟合平面在所述坡度方向上的坡度。Determine the slope of the fitting plane in the slope direction.
  50. 根据权利要求49所述的方法,其特征在于,所述确定坡度方向,包括:The method according to claim 49, wherein the determining the slope direction comprises:
    确定所述无人机的飞行方向为所述坡度方向。It is determined that the flying direction of the drone is the gradient direction.
  51. 根据权利要求49所述的方法,其特征在于,所述确定所述拟合平面在所述坡度方向上的坡度,包括:The method according to claim 49, wherein the determining the slope of the fitting plane in the slope direction comprises:
    根据所述拟合平面的法向量确定所述拟合平面在所述坡度方向上的坡度。The slope of the fitting plane in the slope direction is determined according to the normal vector of the fitting plane.
  52. 根据权利要求33所述的方法,其特征在于,所述根据所述拟合平面确定所述全向扫描区域的地形参数,包括:The method according to claim 33, wherein the determining the terrain parameters of the omnidirectional scanning area according to the fitting plane comprises:
    根据所述拟合平面的截距确定所述雷达正下方地面的高度值。The height value of the ground directly below the radar is determined according to the intercept of the fitting plane.
  53. 根据权利要求32-38中任一项中任一项所述的方法,其特征在于,所述根据所述地形参数调整所述无人机的飞行动作,包括:The method according to any one of claims 32-38, wherein the adjusting the flight action of the drone according to the terrain parameter comprises:
    根据所述坡度调整飞行速度、俯仰角、滚转角、偏航角中的至少一项。Adjust at least one of flight speed, pitch angle, roll angle, and yaw angle according to the slope.
  54. 根据权利要求33或52所述的方法,其特征在于,所述根据所述地形参数调整所述无人机的飞行动作,包括:The method according to claim 33 or 52, wherein the adjusting the flight action of the drone according to the terrain parameter comprises:
    根据所述雷达正下方地面的高度值调整飞行速度、俯仰角、滚转角、偏航角中的至少一项。Adjust at least one of the flight speed, pitch angle, roll angle, and yaw angle according to the altitude value of the ground directly below the radar.
  55. 根据权利要求39所述的方法,其特征在于,所述根据所述地形参数调整所述无人机的飞行动作,包括:The method according to claim 39, wherein the adjusting the flight action of the drone according to the terrain parameter comprises:
    根据所述全向扫描区域的平整度调整飞行速度、俯仰角、滚转角、偏航角 中的至少一项;和/或Adjust at least one of the flight speed, pitch angle, roll angle, and yaw angle according to the flatness of the omnidirectional scanning area; and/or
    根据所述平整度调整速度控制感量;和/或Adjust the sense of speed control according to the flatness; and/or
    根据所述平整度判断是否在所述全向扫描区域降落,若是则在所述全向扫描区域降落。Determine whether to land in the omnidirectional scan area according to the flatness, and if so, land in the omnidirectional scan area.
  56. 根据权利要求33或52所述的方法,其特征在于,所述根据所述地形参数调整所述无人机的飞行动作,包括:The method according to claim 33 or 52, wherein the adjusting the flight action of the drone according to the terrain parameter comprises:
    根据所述地形参数确定飞行航线;Determine the flight route according to the terrain parameters;
    沿着所述飞行航线飞行。Fly along the flight path.
  57. 根据权利要求32-38中任一项所述的方法,其特征在于,所述雷达搭载于无人机,所述雷达包括天线机构,所述天线机构能够相对所述无人机的机身绕预设转轴旋转,用于探测所述无人机侧面的障碍物;所述雷达位于所述机身的底部下方,且所述转轴与预设平面相交,所述预设平面为所述无人机的俯仰轴和横滚轴所在的平面。The method according to any one of claims 32-38, wherein the radar is mounted on an unmanned aerial vehicle, the radar includes an antenna mechanism, and the antenna mechanism is capable of circling around the fuselage of the unmanned aerial vehicle. The preset rotation axis rotates to detect obstacles on the side of the drone; the radar is located under the bottom of the fuselage, and the rotation axis intersects a preset plane, which is the unmanned plane. The plane where the pitch axis and roll axis of the aircraft are located.
  58. 根据权利要求57所述的方法,其特征在于,所述转轴与所述预设平面之间的夹角为60°-90°。The method according to claim 57, wherein the angle between the rotation axis and the preset plane is 60°-90°.
  59. 根据权利要求58所述的方法,其特征在于,所述转轴与所述预设平面大致垂直;和/或,所述转轴与所述机身的中心线大致重合。The method according to claim 58, wherein the rotation axis is substantially perpendicular to the preset plane; and/or, the rotation axis is substantially coincident with the center line of the fuselage.
  60. 根据权利要求58所述的方法,其特征在于,所述雷达通过安装结构安装在所述无人机的着陆架上,所述安装结构位于所述雷达与所述机身之间。The method according to claim 58, wherein the radar is installed on the landing frame of the drone through a mounting structure, and the mounting structure is located between the radar and the fuselage.
  61. 根据权利要求57所述的方法,其特征在于,所述转轴与所述无人机的航向轴呈锐角。The method according to claim 57, wherein the rotation axis and the yaw axis of the drone are at an acute angle.
  62. 根据权利要求61所述的方法,其特征在于,所述锐角为0°-30°。The method according to claim 61, wherein the acute angle is 0°-30°.
  63. 根据权利要求57所述的方法,其特征在于,所述天线机构绕所述转轴的旋转角度范围大于或等于360°。The method according to claim 57, wherein the rotation angle range of the antenna mechanism around the rotating shaft is greater than or equal to 360°.
  64. 根据权利要求32-38中任一项所述的方法,其特征在于,所述雷达为连续波雷达。The method according to any one of claims 32-38, wherein the radar is a continuous wave radar.
  65. 一种无人机,所述无人机搭载雷达,其特征在于,所述无人机包括存储器和处理器;An unmanned aerial vehicle equipped with radar, characterized in that the unmanned aerial vehicle includes a memory and a processor;
    所述存储器用于存储计算机程序;The memory is used to store a computer program;
    所述处理器,用于执行所述计算机程序并在执行所述计算机程序时,实现 如下步骤:The processor is configured to execute the computer program and, when executing the computer program, implement the following steps:
    获取所述雷达在对地旋转扫描过程获得的全向扫描区域探测数据;Acquiring the omnidirectional scanning area detection data obtained by the radar during the ground rotation scanning process;
    根据所述探测数据拟合出所述全向扫描区域的拟合平面;Fitting a fitting plane of the omnidirectional scanning area according to the detection data;
    根据所述拟合平面确定所述全向扫描区域的地形参数,所述地形参数包括所述全向扫描区域的坡度;Determining the terrain parameter of the omnidirectional scanning area according to the fitting plane, the terrain parameter including the slope of the omnidirectional scanning area;
    根据所述地形参数调整所述无人机的飞行动作。Adjust the flight action of the drone according to the terrain parameter.
  66. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时使所述处理器实现:A computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor realizes:
    如权利要求1-29中任一项所述的方法;和/或The method of any one of claims 1-29; and/or
    如权利要求32-64中任一项所述的方法。The method of any one of claims 32-64.
PCT/CN2019/115452 2019-11-04 2019-11-04 Sloped terrain prediction method and device, radar, unmanned aerial vehicle, and operation control method WO2021087702A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2019/115452 WO2021087702A1 (en) 2019-11-04 2019-11-04 Sloped terrain prediction method and device, radar, unmanned aerial vehicle, and operation control method
CN201980040205.3A CN112368663A (en) 2019-11-04 2019-11-04 Terrain prediction method and device for sloping field, radar, unmanned aerial vehicle and operation control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/115452 WO2021087702A1 (en) 2019-11-04 2019-11-04 Sloped terrain prediction method and device, radar, unmanned aerial vehicle, and operation control method

Publications (1)

Publication Number Publication Date
WO2021087702A1 true WO2021087702A1 (en) 2021-05-14

Family

ID=74516845

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/115452 WO2021087702A1 (en) 2019-11-04 2019-11-04 Sloped terrain prediction method and device, radar, unmanned aerial vehicle, and operation control method

Country Status (2)

Country Link
CN (1) CN112368663A (en)
WO (1) WO2021087702A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113534066B (en) * 2021-06-23 2023-06-20 北京遥感设备研究所 Method and system for eliminating landing measurement radar altitude multi-reflection wild value
CN116088559B (en) * 2021-11-05 2024-03-26 北京三快在线科技有限公司 Unmanned aerial vehicle control system and method and unmanned aerial vehicle
CN117651883A (en) * 2021-11-15 2024-03-05 深圳市大疆创新科技有限公司 Unmanned aerial vehicle control method, unmanned aerial vehicle and storage medium
CN116902220B (en) * 2023-09-11 2023-12-22 农业农村部南京农业机械化研究所 Agricultural unmanned plane ground-imitating flight detection method and detection equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106338736A (en) * 2016-08-31 2017-01-18 东南大学 Full-3D occupation volume element landform modeling method based on laser radar
CN108535736A (en) * 2017-03-05 2018-09-14 苏州中德睿博智能科技有限公司 Three dimensional point cloud acquisition methods and acquisition system
CN109073744A (en) * 2017-12-18 2018-12-21 深圳市大疆创新科技有限公司 Landform prediction technique, equipment, system and unmanned plane

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11455565B2 (en) * 2017-08-31 2022-09-27 Ford Global Technologies, Llc Augmenting real sensor recordings with simulated sensor data
JP2021504790A (en) * 2017-12-18 2021-02-15 エスゼット ディージェイアイ テクノロジー カンパニー リミテッドSz Dji Technology Co.,Ltd Control method for unmanned aerial vehicles or agricultural unmanned aerial vehicles, and control devices for unmanned aerial vehicles
CN109238240B (en) * 2018-10-22 2021-01-08 武汉大势智慧科技有限公司 Unmanned aerial vehicle oblique photography method considering terrain and photography system thereof
CN109738910A (en) * 2019-01-28 2019-05-10 重庆邮电大学 A kind of curb detection method based on three-dimensional laser radar

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106338736A (en) * 2016-08-31 2017-01-18 东南大学 Full-3D occupation volume element landform modeling method based on laser radar
CN108535736A (en) * 2017-03-05 2018-09-14 苏州中德睿博智能科技有限公司 Three dimensional point cloud acquisition methods and acquisition system
CN109073744A (en) * 2017-12-18 2018-12-21 深圳市大疆创新科技有限公司 Landform prediction technique, equipment, system and unmanned plane

Also Published As

Publication number Publication date
CN112368663A (en) 2021-02-12

Similar Documents

Publication Publication Date Title
WO2021087701A1 (en) Terrain prediction method and apparatus for undulating ground, and radar, unmanned aerial vehicle and operating control method
WO2021087702A1 (en) Sloped terrain prediction method and device, radar, unmanned aerial vehicle, and operation control method
AU2021204188B2 (en) A backup navigation system for unmanned aerial vehicles
JP6700482B2 (en) Stereo distance information determination using an imager integrated into the propeller blades
US11380995B2 (en) Two-dimensional antenna system and method and device for positioning a target
US9759809B2 (en) LIDAR-based shipboard tracking and state estimation for autonomous landing
JP6029446B2 (en) Autonomous flying robot
US20200265730A1 (en) Terrain prediction method, device and system, and unmanned aerial vehicle
JP6664162B2 (en) Autonomous flying robot
WO2018086133A1 (en) Methods and systems for selective sensor fusion
US20180350086A1 (en) System And Method Of Dynamically Filtering Depth Estimates To Generate A Volumetric Map Of A Three-Dimensional Environment Having An Adjustable Maximum Depth
WO2018094583A1 (en) Unmanned aerial vehicle obstacle-avoidance control method, flight controller and unmanned aerial vehicle
US9639088B2 (en) Autonomous long-range landing using sensor data
WO2020103049A1 (en) Terrain prediction method and device of rotary microwave radar, and system and unmanned aerial vehicle
WO2018094626A1 (en) Unmanned aerial vehicle obstacle-avoidance control method and unmanned aerial vehicle
US20220198793A1 (en) Target state estimation method and apparatus, and unmanned aerial vehicle
WO2018094576A1 (en) Unmanned aerial vehicle control method, flight controller, and unmanned aerial vehicle
JP2016173709A (en) Autonomous mobile robot
JP6469492B2 (en) Autonomous mobile robot
CN113820709B (en) Through-wall radar detection system and detection method based on unmanned aerial vehicle
US20210199798A1 (en) Continuous wave radar terrain prediction method, device, system, and unmanned aerial vehicle
WO2021087785A1 (en) Terrain detection method, movable platform, control device and system, and storage medium
WO2022094962A1 (en) Hovering method for unmanned aerial vehicle, unmanned aerial vehicle and storage medium
WO2022126559A1 (en) Target detection method and device, platform, and computer-readable storage medium
WO2022095061A1 (en) Spraying assessment method and device based on radar, and storage medium

Legal Events

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

Ref document number: 19951255

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: 19951255

Country of ref document: EP

Kind code of ref document: A1