A method and system for constructing a three-dimensional model of an unmanned aerial vehicle using laser point cloud scanning technology
Through laser point cloud scanning technology and SLAM algorithm, combined with lidar, inertial measurement unit and GPS data, real-time three-dimensional modeling of UAVs is realized, which solves the problem of inability to obtain UAV flight status in real time in the existing technology and improves ensure the accuracy and reliability of monitoring.
Patent Information
- Application Number
- CN202410511588.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-26
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2044-04-26
AI Technical Summary
Existing technology is difficult to achieve real-time three-dimensional modeling of UAVs and cannot obtain the flight status of UAVs in real time. In particular, it does not have real-time monitoring capabilities for air rescue in natural disasters or emergencies.
Using laser point cloud scanning technology, the laser point cloud data of the drone is collected through lidar equipment, and the attitude data is collected by the inertial measurement unit. Combined with the GPS position data, coordinate system conversion and clock synchronization are performed, and the SLAM algorithm is used to build and update the unmanned aerial vehicle. Real-time 3D model of the machine.
It realizes real-time three-dimensional modeling of UAVs, ensures data time consistency, improves the accuracy and reliability of real-time modeling of UAVs, and can monitor the flight status and environmental information of UAVs in real time.
Smart Images

Figure CN118261982B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of three-dimensional modeling, and in particular to a method and system for constructing a three-dimensional model of an unmanned aerial vehicle using laser point cloud scanning technology. Background Art
[0002] In drone rescue operations for natural disasters and emergencies, it is usually necessary to know the real-time flight status of the drone so that the current rescue situation can be grasped in real time. However, the current technology for 3D modeling of drones mainly realizes static 3D modeling of drones, which is not suitable for scenarios where the real-time flight status of drones needs to be obtained.
[0003] Therefore, how to realize real-time three-dimensional modeling of UAVs to obtain the real-time flight status of UAVs is an urgent problem to be solved. Summary of the invention
[0004] In view of this, the purpose of the present invention is to provide a method and system for constructing a three-dimensional model of a drone using laser point cloud scanning technology, which can perform real-time three-dimensional modeling of the drone and obtain the current flight status of the drone in a timely and accurate manner.
[0005] The first aspect of the present invention discloses a method for constructing a three-dimensional model of an unmanned aerial vehicle using laser point cloud scanning technology, the method comprising:
[0006] Collecting first laser point cloud data of the target UAV, wherein the first laser point cloud data is established in a laser radar coordinate system;
[0007] Collecting attitude data of the target UAV, converting the first laser point cloud data from the laser radar coordinate system to the UAV coordinate system according to the attitude data, and using the laser point cloud data converted to the UAV coordinate system as the second laser point cloud data;
[0008] Acquire the GPS position data of the target UAV, convert the second laser point cloud data from the UAV coordinate system to the earth coordinate system according to the attitude data and GPS position data of the target UAV, and use the laser point cloud data converted to the earth coordinate system as the third laser point cloud data;
[0009] The target UAV is modeled in real time in three dimensions according to the third laser point cloud data.
[0010] Furthermore, the first laser point cloud data of the target UAV is collected by a laser radar device, and the laser radar device is mounted on the target UAV in conjunction with a shock absorbing device.
[0011] Furthermore, the attitude data of the target UAV is collected by an inertial measurement unit, and the attitude data includes roll, pitch, yaw, angular velocity and linear acceleration of the target UAV.
[0012] Furthermore, when collecting the first laser point cloud data, the attitude data and the GPS position data of the target UAV, the target UAV flies within the preset area according to the preset route.
[0013] Furthermore, the first laser point cloud data, posture data and GPS position data are all added with timestamp information;
[0014] Before determining to start data collection, the laser radar device, the inertial measurement unit, and the GPS module used to obtain the GPS position data of the target drone perform clock initial synchronization calibration according to the clock initial synchronization instruction;
[0015] The laser radar device, inertial measurement unit and GPS module perform data collection after completing the initial clock synchronization calibration, and perform regular clock synchronization calibration according to the regular clock synchronization instruction;
[0016] Set up a time synchronization monitoring mechanism to monitor the time synchronization status of the lidar device, inertial measurement unit, and GPS module;
[0017] Among them, the time synchronization status includes timestamp deviation, setting a reference clock, judging whether the timestamp deviation between the clock of the monitored lidar device, inertial measurement unit and GPS module and the reference clock is greater than a preset timestamp threshold, and if it is judged to be yes, executing the automatic clock adjustment mechanism.
[0018] Furthermore, converting the first laser point cloud data from a laser radar coordinate system to a drone coordinate system according to the posture data specifically includes:
[0019] Constructing a first rotation matrix according to the roll, pitch, and yaw data in the target UAV attitude data, wherein the first rotation matrix represents the rotation from the laser radar coordinate system to the UAV coordinate system;
[0020] An angular velocity vector is obtained according to the angular velocity in the attitude data of the target UAV, a change rate of the rotation matrix is obtained by multiplying the skew-symmetric matrix of the angular velocity vector with the rotation matrix, and the first rotation matrix is updated according to the change rate of the rotation matrix to obtain a first updated rotation matrix;
[0021] Calculate the speed change of the target UAV according to the linear acceleration in the target UAV attitude data, and set the translation vector according to the speed change of the target UAV;
[0022] The first laser point cloud data in the laser radar coordinate system is multiplied by the first updated rotation matrix, and the multiplication result is added to the translation vector to obtain the laser point cloud data in the drone coordinate system.
[0023] Furthermore, the converting of the second laser point cloud data from the drone coordinate system to the earth coordinate system according to the attitude data and GPS position data of the target drone specifically includes:
[0024] Constructing a second rotation matrix according to the roll, pitch, and yaw data in the target UAV attitude data, wherein the second rotation matrix represents the rotation from the UAV coordinate system to the earth coordinate system;
[0025] An angular velocity vector is obtained according to the angular velocity data in the attitude data of the target UAV, a change rate of the second rotation matrix is obtained by multiplying the skew-symmetric matrix of the angular velocity vector by the second rotation matrix, and the second rotation matrix is updated according to the change rate of the second rotation matrix to obtain a second updated rotation matrix;
[0026] A position vector is constructed according to the GPS position data of the target UAV, the second laser point cloud data in the UAV coordinate system is multiplied by the second updated rotation matrix, and the multiplication result is added to the position vector to obtain the laser point cloud data in the earth coordinate system.
[0027] Furthermore, the method further includes, by mounting a camera device on the target UAV, and collecting an environmental image of a preset area when the target UAV flies in the preset area through the camera device;
[0028] The real-time three-dimensional modeling of the target UAV according to the third laser point cloud data specifically includes:
[0029] Performing normal estimation on each coordinate point data in the third laser point cloud data, wherein the normal estimation vector of each coordinate point is obtained by calculating the average normal of the neighboring points of the coordinate point, and after calculating the normal estimation vector of each coordinate point data in the third laser point cloud data, establishing the normal field of the third laser point cloud data according to the normal estimation vector of each coordinate point data in the third laser point cloud data;
[0030] Reconstructing the surface of the target UAV using the Poisson equation according to the normal field of the third laser point cloud data to obtain an initial three-dimensional model of the target UAV;
[0031] Extract features from the environment image of the preset area through the SLAM algorithm to obtain first environment image features, and establish a motion model of the target UAV according to the first environment image features, posture data, and GPS location data, wherein the timestamp information of the first environment image features, posture data, and GPS location data is consistent;
[0032] The initial three-dimensional model of the target UAV is updated in real time through the motion model to achieve real-time three-dimensional modeling of the target UAV. The real-time three-dimensional model of the target UAV includes the real-time posture of the target UAV and the real-time flight environment information of the target UAV under the real-time posture.
[0033] Furthermore, the method also includes visualizing the real-time three-dimensional model of the target UAV, setting a first visualization area for displaying the real-time flight status of the target UAV combined with a preset flight area environment, and setting a second visualization area for displaying the real-time flight status of the target UAV, the preset flight area environment and the map.
[0034] The second aspect of the present invention discloses a system for constructing a three-dimensional model of a drone using laser point cloud scanning technology, the system comprising a data processing unit and a central processing unit, wherein the data processing unit comprises a first acquisition subunit, a second acquisition subunit, an acquisition subunit, and a conversion subunit;
[0035] The first acquisition subunit is used to acquire first laser point cloud data of the target UAV, where the first laser point cloud data is established in a laser radar coordinate system;
[0036] The second acquisition subunit is used to acquire the attitude data of the target UAV, and the conversion subunit is used to convert the first laser point cloud data from the laser radar coordinate system to the UAV coordinate system according to the attitude data, and use the laser point cloud data converted to the UAV coordinate system as the second laser point cloud data;
[0037] The acquisition subunit is used to acquire the GPS position data of the target UAV, and the conversion subunit is used to convert the second laser point cloud data from the UAV coordinate system to the earth coordinate system according to the attitude data and GPS position data of the target UAV, and use the laser point cloud data converted to the earth coordinate system as the third laser point cloud data;
[0038] The central processing unit is used to receive the third laser point cloud data and perform real-time three-dimensional modeling of the target UAV according to the third laser point cloud data.
[0039] Compared with the prior art, the present invention has the following beneficial effects:
[0040] The present invention collects laser point cloud data, attitude data and GPS position data of the target flying UAV, and fuses the attitude data and GPS data with the laser point cloud data to obtain the laser point cloud data of the geodetic coordinate system, establishes the initial three-dimensional model of the target UAV according to the laser point cloud data, and further uses the image data obtained by the camera device to construct a motion model, and updates the initial three-dimensional model of the target UAV in real time through the motion model, thereby realizing real-time three-dimensional modeling of the target UAV. In addition, the present invention fully guarantees the time consistency of each data through the clock automatic synchronization mechanism during the data acquisition and data processing process, and further improves the accuracy of the real-time modeling of the UAV. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] The drawings described herein are used to provide a further understanding of the embodiments of the present invention, constitute a part of this application, and do not constitute a limitation of the embodiments of the present invention. In the drawings:
[0042] Figure 1 A schematic diagram of a process for constructing a three-dimensional model of a drone using laser point cloud scanning technology disclosed in an embodiment of the present invention;
[0043] Figure 2 A schematic diagram of the structure of a system for constructing a three-dimensional model of an unmanned aerial vehicle using laser point cloud scanning technology disclosed in yet another embodiment of the present invention. DETAILED DESCRIPTION
[0044] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments.
[0045] Embodiment 1
[0046] See also Figure 1 , Figure 1 1 is a flow chart of a method for constructing a three-dimensional model of a drone using laser point cloud scanning technology disclosed in an embodiment of the present invention, the method comprising:
[0047] Collecting first laser point cloud data of the target UAV, where the first laser point cloud data is established in a laser radar coordinate system;
[0048] Collecting the attitude data of the target UAV, converting the first laser point cloud data from the laser radar coordinate system to the UAV coordinate system according to the attitude data, and using the laser point cloud data converted to the UAV coordinate system as the second laser point cloud data;
[0049] Obtaining the GPS position data of the target UAV, converting the second laser point cloud data from the UAV coordinate system to the earth coordinate system according to the attitude data and the GPS position data of the target UAV, and using the laser point cloud data converted to the earth coordinate system as the third laser point cloud data;
[0050] Real-time 3D modeling of the target UAV is performed based on the third laser point cloud data.
[0051] Furthermore, first laser point cloud data of the target UAV is collected by a laser radar device, wherein the laser radar device is mounted on the target UAV in conjunction with a shock absorbing device.
[0052] Specifically, in an embodiment of the present invention, a laser radar device with high resolution, wide measurement range and high scanning speed is used to perform laser scanning on the drone. The laser radar device generates first laser point cloud data by emitting a laser beam to the drone and measuring its return time.
[0053] In order to adapt to the multi-angle changes during drone flight, the installation location of the lidar device needs to ensure that the position and orientation of the device can provide comprehensive coverage to capture all details outside the drone. The installation location of the lidar device is determined through multiple tests before the drone takes off.
[0054] In addition, compared with a static state, a UAV may vibrate during flight. Therefore, in this embodiment, a shock absorbing device is installed at the installation position of the laser radar equipment to obtain stable and accurate laser point cloud data.
[0055] Furthermore, the attitude data of the target UAV is collected by an inertial measurement unit, and the attitude data includes the roll, pitch, yaw, angular velocity and linear acceleration of the target UAV. The attitude data provides real-time information of the flight attitude and movement of the UAV. In this embodiment, the attitude data information of the UAV is mainly used to locate the first laser point cloud data in the coordinate system of the UAV.
[0056] The laser radar coordinate system in the embodiment of the present invention is the local coordinate system of the laser radar device, and the first laser point cloud data is the original data collected by the laser radar device, which is established with the laser radar device as the reference object. The drone coordinate system is a coordinate system with the drone as the reference object. Usually, the position of the drone is defined as the center of the drone coordinate system. The geodetic coordinate system is also called the geographic coordinate system, which is used to describe the position on the earth. It takes the center of the earth as the origin and determines a point on the earth by longitude, latitude, and altitude.
[0057] Furthermore, when collecting the first laser point cloud data, attitude data and GPS position data of the target drone, the target drone flies in a preset area according to a preset route. To ensure safety, the drone in the embodiment of the present invention flies based on a preset flight route and a preset area.
[0058] Furthermore, timestamp information is added to the first laser point cloud data, the posture data and the GPS position data.
[0059] In an embodiment of the present invention, real-time three-dimensional modeling of the target UAV is performed by converting the first laser point cloud data, attitude data and GPS position data at the same time into the third laser point cloud data of the geodetic coordinate system. Therefore, the time of the first laser point cloud data, attitude data and GPS position data should be consistent. Timestamp information is added to the first laser point cloud data, attitude data and GPS position data to ensure the time consistency of the first laser point cloud data, attitude data and GPS position data.
[0060] Before determining to start data collection, the laser radar device, the inertial measurement unit, and the GPS module used to obtain the GPS location data of the target drone perform initial clock synchronization calibration according to the clock initial synchronization instruction. After the laser radar device, the inertial measurement unit, and the GPS module complete the initial clock synchronization calibration, they perform data collection and perform regular clock synchronization calibration according to the regular clock synchronization instruction.
[0061] In an embodiment of the present invention, the third laser point cloud data is processed by the central processing unit to complete the three-dimensional modeling of the UAV. Further optionally, the laser radar device, the inertial measurement unit and the GPS module are integrated in the data acquisition system, wherein the inertial measurement unit and the GPS module are both installed on the target UAV, and the specific installation location is not limited by the present invention. The central processing unit is connected to the data acquisition system in communication, and the user sends relevant instructions to the control center of the data acquisition system through the central processing unit to control the laser radar device, the inertial measurement unit and the GPS module in the data acquisition system to execute relevant instructions.
[0062] Furthermore, a time synchronization monitoring mechanism is set up to monitor the time synchronization status of the laser radar device, the inertial measurement unit and the GPS module. The time synchronization status includes a timestamp deviation. By setting a reference clock, it is determined whether the timestamp deviation between the clock of the monitored laser radar device, the inertial measurement unit and the GPS module and the reference clock is greater than a preset timestamp threshold. If it is determined to be yes, the automatic clock adjustment mechanism is executed.
[0063] As a preferred implementation of the embodiment of the present invention, the adjustment value of the clock whose timestamp deviation is greater than the preset timestamp threshold is calculated by the PID control algorithm. Furthermore, the adaptive mechanism is introduced to enable the PID control algorithm parameters to be dynamically adjusted according to the environment and system to adapt to different flight conditions and environmental changes. In addition, the prediction model is set by the MPC algorithm, a time series model is established according to the historical clock drift data, and the future drift of the clock is predicted. The MPC algorithm can predict the drift trend and make adjustments in advance.
[0064] Furthermore, a clock synchronization network is constructed, through which the LiDAR device, the inertial measurement unit, and the GPS module communicate and share time information. Through network synchronization, the LiDAR device, the inertial measurement unit, and the GPS module can update accurate clock synchronization based on each other's timestamp information, reducing the clock drift of the overall system.
[0065] Further, converting the first laser point cloud data from the laser radar coordinate system to the drone coordinate system according to the posture data specifically includes:
[0066] A first rotation matrix is constructed according to the roll, pitch, and yaw data in the target UAV attitude data. The first rotation matrix represents the rotation from the laser radar coordinate system to the UAV coordinate system.
[0067] An angular velocity vector is obtained according to the angular velocity in the target UAV attitude data, and the rate of change of the rotation matrix is obtained by multiplying the skew-symmetric matrix of the angular velocity vector with the rotation matrix. The first rotation matrix is updated according to the rate of change of the rotation matrix to obtain a first updated rotation matrix.
[0068] The velocity change of the target UAV is calculated based on the linear acceleration in the target UAV attitude data, and the translation vector is set according to the velocity change of the target UAV.
[0069] The first laser point cloud data in the laser radar coordinate system is multiplied by the first updated rotation matrix, and the multiplication result is added to the translation vector to obtain the laser point cloud data in the drone coordinate system.
[0070] Further, converting the second laser point cloud data from the drone coordinate system to the earth coordinate system according to the attitude data and GPS position data of the target drone specifically includes:
[0071] A second rotation matrix is constructed according to the roll, pitch, and yaw data in the target UAV attitude data, and the second rotation matrix represents the rotation from the UAV coordinate system to the earth coordinate system.
[0072] An angular velocity vector is obtained according to the angular velocity data in the target UAV attitude data, and the change rate of the second rotation matrix is obtained by multiplying the skew-symmetric matrix of the angular velocity vector with the second rotation matrix. The second rotation matrix is updated according to the change rate of the second rotation matrix to obtain a second updated rotation matrix.
[0073] A position vector is constructed according to the GPS position data of the target UAV, the second laser point cloud data in the UAV coordinate system is multiplied by the second updated rotation matrix, and the multiplication result is added to the position vector to obtain the laser point cloud data in the earth coordinate system.
[0074] Furthermore, a camera device is mounted on the target UAV, and the camera device is used to collect an environmental image of a preset area when the target UAV flies in the preset area.
[0075] In this embodiment, the preset area environment image is an image including the target UAV and combined with the flight environment.
[0076] The real-time three-dimensional modeling of the target UAV according to the third laser point cloud data specifically includes:
[0077] A normal line is estimated for each coordinate point data in the third laser point cloud data, wherein a normal line estimation vector for each coordinate point is obtained by calculating an average normal line of neighboring points of the coordinate point, and after the normal line estimation vector for each coordinate point data in the third laser point cloud data is calculated, a normal field for the third laser point cloud data is established according to the normal line estimation vector for each coordinate point data in the third laser point cloud data.
[0078] The surface of the target UAV is reconstructed using the Poisson equation according to the normal field of the third laser point cloud data to obtain an initial three-dimensional model of the target UAV.
[0079] The SLAM algorithm is used to extract features of the preset area environment image to obtain the first environment image features, and a motion model of the target UAV is established based on the first environment image features, posture data and GPS position data, wherein the timestamp information of the first environment image features, posture data and GPS position data is consistent.
[0080] The initial three-dimensional model of the target UAV is updated in real time through the motion model to realize real-time three-dimensional modeling of the target UAV. The real-time three-dimensional model of the target UAV includes the real-time posture of the target UAV and the real-time flight environment information of the target UAV under the real-time posture.
[0081] It can be understood that the initial three-dimensional model of the target UAV in the embodiment of the present invention is a three-dimensional model of the UAV that is relatively stationary in the flight state. The first environmental image feature, attitude data and GPS position data used to construct the motion model are real-time data, and the motion model is constructed using data with consistent timestamp information. The motion model is constructed by real-time data including the real-time attitude and real-time position of the target UAV, and environmental information in the real-time flight state, wherein the coordinate system of the real-time position is the same as the coordinate system of the real-time position of the environmental information in the real-time flight state, so as to achieve the fusion of the target UAV and the flight environment, and the initial three-dimensional model of the target UAV is updated with this motion model, so as to obtain a real-time three-dimensional model of the target UAV.
[0082] Furthermore, the embodiment of the present invention also visualizes the real-time three-dimensional model of the target UAV through the UI interface, and sets a first visualization area on the UI interface for displaying the real-time flight status of the target UAV combined with the preset flight area environment, and sets a second visualization area for displaying the real-time flight status of the target UAV, the preset flight area environment and the map.
[0083] Embodiment 2
[0084] The second aspect of the present invention discloses a system for constructing a three-dimensional model of a drone using laser point cloud scanning technology, see Figure 2 , Figure 2 It is a structural schematic diagram of a system for constructing a three-dimensional model of a drone using laser point cloud scanning technology disclosed in another embodiment of the present invention. The system includes a data processing unit and a central processing unit, wherein the data processing unit includes a first acquisition subunit, a second acquisition subunit, an acquisition subunit, and a conversion subunit;
[0085] The first acquisition subunit is used to acquire first laser point cloud data of the target UAV, where the first laser point cloud data is established in a laser radar coordinate system;
[0086] The second acquisition subunit is used to acquire the attitude data of the target UAV, and the conversion subunit is used to convert the first laser point cloud data from the laser radar coordinate system to the UAV coordinate system according to the attitude data, and use the laser point cloud data converted to the UAV coordinate system as the second laser point cloud data;
[0087] The acquisition subunit is used to acquire the GPS position data of the target UAV, and the conversion subunit is used to convert the second laser point cloud data from the UAV coordinate system to the earth coordinate system according to the attitude data and GPS position data of the target UAV, and use the laser point cloud data converted to the earth coordinate system as the third laser point cloud data;
[0088] The central processing unit is used to receive the third laser point cloud data and perform real-time three-dimensional modeling of the target UAV according to the third laser point cloud data.
[0089] Furthermore, the first laser point cloud data of the target UAV is collected by using a laser radar device as a first collection subunit, and the laser radar device is mounted on the target UAV in conjunction with a shock absorbing device.
[0090] Furthermore, the inertial measurement unit is used as the second acquisition subunit to collect attitude data of the target UAV, and the attitude data includes roll, pitch, yaw, angular velocity and linear acceleration of the target UAV.
[0091] Furthermore, when collecting the first laser point cloud data, the attitude data and the GPS position data of the target UAV, the target UAV flies within the preset area according to the preset route.
[0092] Furthermore, timestamp information is added to the first laser point cloud data, the posture data and the GPS position data;
[0093] The central processing unit is also used to send data collection instructions, clock initial synchronization instructions and clock periodic synchronization instructions to the data processing unit;
[0094] The data processing unit is also provided with a judgment subunit. Before the judgment subunit judges to start data collection, the laser radar device, the inertial measurement unit and the GPS module for obtaining the GPS position data of the target drone perform clock initial synchronization calibration according to the clock initial synchronization instruction;
[0095] The laser radar device, inertial measurement unit and GPS module perform data collection after completing the initial clock synchronization calibration, and perform regular clock synchronization calibration according to the regular clock synchronization instruction;
[0096] Setting a time synchronization monitoring mechanism to monitor the time synchronization status of the laser radar device, the inertial measurement unit and the GPS module;
[0097] Among them, the time synchronization status includes timestamp deviation, setting the reference clock, judging whether the timestamp deviation between the clock of the monitored lidar device, inertial measurement unit and GPS module and the reference clock is greater than the preset timestamp threshold. If it is judged to be yes, the automatic clock adjustment mechanism is executed.
[0098] Furthermore, the conversion subunit converts the first laser point cloud data from the laser radar coordinate system to the drone coordinate system according to the posture data, specifically including:
[0099] Constructing a first rotation matrix according to the roll, pitch, and yaw data in the target UAV attitude data, wherein the first rotation matrix represents the rotation from the laser radar coordinate system to the UAV coordinate system;
[0100] An angular velocity vector is obtained according to the angular velocity in the attitude data of the target UAV, a change rate of the rotation matrix is obtained by multiplying the skew-symmetric matrix of the angular velocity vector with the rotation matrix, and the first rotation matrix is updated according to the change rate of the rotation matrix to obtain a first updated rotation matrix;
[0101] Calculate the speed change of the target UAV according to the linear acceleration in the target UAV attitude data, and set the translation vector according to the speed change of the target UAV;
[0102] The first laser point cloud data in the laser radar coordinate system is multiplied by the first updated rotation matrix, and the multiplication result is added to the translation vector to obtain the laser point cloud data in the drone coordinate system.
[0103] Furthermore, the conversion subunit converts the second laser point cloud data from the drone coordinate system to the earth coordinate system according to the attitude data and GPS position data of the target drone, specifically including:
[0104] Constructing a second rotation matrix according to the roll, pitch, and yaw data in the target UAV attitude data, wherein the second rotation matrix represents the rotation from the UAV coordinate system to the earth coordinate system;
[0105] An angular velocity vector is obtained according to the angular velocity data in the attitude data of the target UAV, a change rate of the second rotation matrix is obtained by multiplying the skew-symmetric matrix of the angular velocity vector by the second rotation matrix, and the second rotation matrix is updated according to the change rate of the second rotation matrix to obtain a second updated rotation matrix;
[0106] A position vector is constructed according to the GPS position data of the target UAV, the second laser point cloud data in the UAV coordinate system is multiplied by the second updated rotation matrix, and the multiplication result is added to the position vector to obtain the laser point cloud data in the earth coordinate system.
[0107] Furthermore, the system further includes, by carrying a camera device on the target UAV, and collecting an environmental image of a preset area when the target UAV flies in the preset area through the camera device;
[0108] The central processing unit performs real-time three-dimensional modeling of the target UAV according to the third laser point cloud data, specifically comprising:
[0109] Performing normal estimation on each coordinate point data in the third laser point cloud data, wherein the normal estimation vector of each coordinate point is obtained by calculating the average normal of the neighboring points of the coordinate point, and after calculating the normal estimation vector of each coordinate point data in the third laser point cloud data, establishing the normal field of the third laser point cloud data according to the normal estimation vector of each coordinate point data in the third laser point cloud data;
[0110] Reconstructing the surface of the target UAV using the Poisson equation according to the normal field of the third laser point cloud data to obtain an initial three-dimensional model of the target UAV;
[0111] Extract features from the environment image of the preset area through the SLAM algorithm to obtain first environment image features, and establish a motion model of the target UAV according to the first environment image features, posture data, and GPS location data, wherein the timestamp information of the first environment image features, posture data, and GPS location data is consistent;
[0112] The initial three-dimensional model of the target UAV is updated in real time through the motion model to achieve real-time three-dimensional modeling of the target UAV. The real-time three-dimensional model of the target UAV includes the real-time posture of the target UAV and the real-time flight environment information of the target UAV under the real-time posture.
[0113] Furthermore, the system also includes a display unit, which is used to visualize the real-time three-dimensional model of the target UAV, set a first visualization area for displaying the real-time flight status of the target UAV combined with a preset flight area environment, and set a second visualization area for displaying the real-time flight status of the target UAV, the preset flight area environment and the map.
[0114] It should be noted that the specific implementation process of the second embodiment is similar to that of the first embodiment and will not be repeated in the second embodiment.
[0115] Finally, it should be noted that the method and system for constructing a three-dimensional model of a drone using laser point cloud scanning technology disclosed in the embodiment of the present invention only disclose the preferred embodiments of the present invention, which are only used to illustrate the technical solution of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, it should be understood by those skilled in the art that the technical solutions described in the aforementioned embodiments can still be modified, or some of the technical features therein can be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention.
Claims
1. A method for constructing a three-dimensional model of an unmanned aerial vehicle using laser point cloud scanning technology, characterized in that: The method comprises: Collecting first laser point cloud data of the target UAV, wherein the first laser point cloud data is established in a laser radar coordinate system; Collecting attitude data of the target UAV, converting the first laser point cloud data from the laser radar coordinate system to the UAV coordinate system according to the attitude data, and using the laser point cloud data converted to the UAV coordinate system as the second laser point cloud data; Acquire the GPS position data of the target UAV, convert the second laser point cloud data from the UAV coordinate system to the earth coordinate system according to the attitude data and GPS position data of the target UAV, and use the laser point cloud data converted to the earth coordinate system as the third laser point cloud data; Performing real-time three-dimensional modeling of the target UAV according to the third laser point cloud data; The converting the first laser point cloud data from the laser radar coordinate system to the drone coordinate system according to the posture data specifically includes: Constructing a first rotation matrix according to the roll, pitch, and yaw data in the target UAV attitude data, wherein the first rotation matrix represents the rotation from the laser radar coordinate system to the UAV coordinate system; An angular velocity vector is obtained according to the angular velocity in the attitude data of the target UAV, a change rate of the first rotation matrix is obtained by multiplying the skew-symmetric matrix of the angular velocity vector by the first rotation matrix, and the first rotation matrix is updated according to the change rate of the first rotation matrix to obtain a first updated rotation matrix; Calculate the speed change of the target UAV according to the linear acceleration in the target UAV attitude data, and set the translation vector according to the speed change of the target UAV; The first laser point cloud data in the laser radar coordinate system is multiplied by the first updated rotation matrix, and the result of the multiplication is added to the translation vector to obtain the laser point cloud data in the drone coordinate system; The step of converting the second laser point cloud data from the drone coordinate system to the earth coordinate system according to the attitude data and GPS position data of the target drone specifically includes: Constructing a second rotation matrix according to the roll, pitch, and yaw data in the target UAV attitude data, wherein the second rotation matrix represents the rotation from the UAV coordinate system to the earth coordinate system; An angular velocity vector is obtained according to the angular velocity data in the attitude data of the target UAV, a change rate of the second rotation matrix is obtained by multiplying the skew-symmetric matrix of the angular velocity vector by the second rotation matrix, and the second rotation matrix is updated according to the change rate of the second rotation matrix to obtain a second updated rotation matrix; A position vector is constructed according to the GPS position data of the target UAV, the second laser point cloud data in the UAV coordinate system is multiplied by the second updated rotation matrix, and the result of the multiplication is added to the position vector to obtain the laser point cloud data in the earth coordinate system; The method further includes mounting a camera device on the target UAV and collecting an image of the environment of the preset area when the target UAV flies in the preset area through the camera device; The real-time three-dimensional modeling of the target UAV according to the third laser point cloud data specifically includes: Performing normal estimation on each coordinate point data in the third laser point cloud data, wherein the normal estimation vector of each coordinate point is obtained by calculating the average normal of the neighboring points of the coordinate point, and after calculating the normal estimation vector of each coordinate point data in the third laser point cloud data, establishing the normal field of the third laser point cloud data according to the normal estimation vector of each coordinate point data in the third laser point cloud data; Reconstructing the surface of the target UAV using the Poisson equation according to the normal field of the third laser point cloud data to obtain an initial three-dimensional model of the target UAV; Extract features from the environment image of the preset area through the SLAM algorithm to obtain first environment image features, and establish a motion model of the target UAV according to the first environment image features, posture data, and GPS location data, wherein the timestamp information of the first environment image features, posture data, and GPS location data is consistent; The initial three-dimensional model of the target UAV is updated in real time through the motion model to achieve real-time three-dimensional modeling of the target UAV. The real-time three-dimensional model of the target UAV includes the real-time posture of the target UAV and the real-time flight environment information of the target UAV under the real-time posture.
2. The method for constructing a three-dimensional model of an unmanned aerial vehicle using laser point cloud scanning technology according to claim 1, characterized in that: The first laser point cloud data of the target UAV is collected by a laser radar device, and the laser radar device is mounted on the target UAV in conjunction with a shock absorbing device.
3. The method for constructing a three-dimensional model of an unmanned aerial vehicle using laser point cloud scanning technology according to claim 2, characterized in that: The inertial measurement unit is used to collect the attitude data of the target UAV, and the attitude data includes the roll, pitch, yaw, angular velocity and linear acceleration of the target UAV.
4. The method for constructing a three-dimensional model of an unmanned aerial vehicle using laser point cloud scanning technology according to claim 3, characterized in that: When collecting the first laser point cloud data, attitude data and GPS position data of the target UAV, the target UAV flies within a preset area according to a preset route.
5. The method for constructing a three-dimensional model of an unmanned aerial vehicle using laser point cloud scanning technology according to claim 4, characterized in that: Timestamp information is added to the first laser point cloud data, posture data and GPS position data; Before determining to start data collection, the laser radar device, the inertial measurement unit, and the GPS module used to obtain the GPS position data of the target drone perform clock initial synchronization calibration according to the clock initial synchronization instruction; The laser radar device, inertial measurement unit and GPS module perform data collection after completing the initial clock synchronization calibration, and perform regular clock synchronization calibration according to the regular clock synchronization instruction; Set up a time synchronization monitoring mechanism to monitor the time synchronization status of the lidar device, inertial measurement unit, and GPS module; Among them, the time synchronization status includes timestamp deviation, setting a reference clock, judging whether the timestamp deviation between the clock of the monitored lidar device, inertial measurement unit and GPS module and the reference clock is greater than a preset timestamp threshold, and if it is judged to be yes, executing the automatic clock adjustment mechanism.
6. The method for constructing a three-dimensional model of an unmanned aerial vehicle using laser point cloud scanning technology according to claim 5, characterized in that: The method also includes visualizing the real-time three-dimensional model of the target UAV, setting a first visualization area for displaying the real-time flight status of the target UAV combined with a preset flight area environment, and setting a second visualization area for displaying the real-time flight status of the target UAV, the preset flight area environment, and a map.
7. A system for constructing a three-dimensional model of an unmanned aerial vehicle using laser point cloud scanning technology, the system being based on the method for constructing a three-dimensional model of an unmanned aerial vehicle using laser point cloud scanning technology as claimed in any one of claims 1 to 6, characterized in that: The system comprises a data processing unit and a central processing unit, wherein the data processing unit comprises a first acquisition subunit, a second acquisition subunit, an acquisition subunit, and a conversion subunit; The first acquisition subunit is used to acquire first laser point cloud data of the target UAV, where the first laser point cloud data is established in a laser radar coordinate system; The second acquisition subunit is used to acquire the attitude data of the target UAV, and the conversion subunit is used to convert the first laser point cloud data from the laser radar coordinate system to the UAV coordinate system according to the attitude data, and use the laser point cloud data converted to the UAV coordinate system as the second laser point cloud data; The acquisition subunit is used to acquire the GPS position data of the target UAV, and the conversion subunit is used to convert the second laser point cloud data from the UAV coordinate system to the earth coordinate system according to the attitude data and GPS position data of the target UAV, and use the laser point cloud data converted to the earth coordinate system as the third laser point cloud data; The central processing unit is used to receive the third laser point cloud data and perform real-time three-dimensional modeling of the target UAV according to the third laser point cloud data.
