A patrol method and system for a visual patrol integrated robot used in border defense

Through the high-precision positioning of visual sensors and lidar combined with IMU data, combined with the iterative closest point algorithm and Kalman filtering, efficient positioning and path planning of the automatic patrol system in complex environments are achieved, solving the problem of slow response speed and problem in the existing technology. The problem of insufficient decision-making ability improves the stability and modularity of the system.

CN118392168BInactive Publication Date: 2024-09-27GUANGDONG UNIV OF TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410814122.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-24
Publication Date
2024-09-27
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing automatic patrol system has slow response speed and insufficient decision-making ability in complex environments. It lacks fully autonomous decision-making and intelligent obstacle avoidance capabilities, resulting in insufficient positioning stability, prone to collisions and path planning failures.

Method used

Use visual sensors and lidar to obtain environmental data, combine with IMU data for high-precision positioning, introduce iterative closest point algorithm, iterative extended Kalman filter and Scan Context loopback detection, realize decision-making decoupling and autonomous navigation through behavior trees, and use Dijesus Terra algorithm and proportional controller for path planning and tracking.

Benefits of technology

It improves the positioning accuracy and robustness of the robot in complex environments, ensures the optimization and stability of path planning, enhances the modularity and scalability of the system, and achieves efficient task completion.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118392168B
    Figure CN118392168B
Patent Text Reader

Abstract

The present invention discloses an inspection method and system of a visual patrol integrated robot applied to border defense, including: obtaining an inspection task including an inspection path and inspection indicators, controlling the visual patrol integrated robot to move, and using visual sensors to perceive the environment; obtaining dense point cloud data in the inspection environment through a laser radar, fusing it with IMU data to perform high-precision positioning of the visual patrol integrated robot, performing target detection in the inspection scene according to the inspection indicators, tracking the inspection path through autonomous navigation, obstacle avoidance and speed regulation, decoupling the decisions of different structures of the visual patrol integrated robot through a behavior tree, and controlling the visual patrol integrated robot to perform inspection tasks. The present invention realizes high-precision positioning and environmental perception through the fusion of various sensors, and introduces Scan Context loop detection and re-positioning in positioning to further improve positioning accuracy and robustness.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of visual detection and point cloud positioning, and more specifically, to an inspection method and system of a visual inspection integrated robot applied to border defense. Background Art

[0002] As the border security situation becomes increasingly complex, the demand for border defense is also increasing. Traditional human patrol and monitoring methods have problems such as high cost, low efficiency, and poor safety. With the development of technology, the autonomous inspection method of mobile robots has been greatly developed, which can effectively solve the defects of the above-mentioned manual inspections and is a typical application of autonomous navigation and path planning research. In work scenarios with a high risk factor, the use of visual patrol robots avoids potential personnel dangers and greatly improves work safety, thus becoming more and more a development trend and important equipment in the inspection field.

[0003] Existing automatic patrol systems usually use a single sensor such as lidar or camera for environmental perception. These systems often have problems such as slow response speed and insufficient decision-making ability in complex environments. In addition, most of the current automatic patrol systems are auxiliary systems, lacking the ability to make fully autonomous decisions and intelligent obstacle avoidance in complex environments; and they are deficient in dynamic obstacle handling and obstacle avoidance capabilities, which can easily lead to robot collisions and path planning failures, and insufficient positioning stability in open areas with few feature points and high repetition. Therefore, there is an urgent need for a border defense robot system that can perform high-precision positioning, autonomous navigation, and intelligent decision-making in complex environments. Summary of the invention

[0004] In order to solve the above technical problems, the present invention proposes an inspection method and system of a vision-patrol integrated robot applied to border defense.

[0005] A first aspect of the present invention provides an inspection method of a visual-patrol integrated robot applied to border defense, comprising:

[0006] Obtain an inspection task including an inspection path and inspection indicators, control the integrated vision and inspection robot to move according to the inspection path, and use visual sensors to perceive the environment;

[0007] The dense point cloud data in the inspection environment is obtained by using a laser radar, and the dense point cloud data is fused with the IMU data to perform high-precision positioning of the visual inspection integrated robot, and a re-positioning mechanism is introduced to optimize the positioning matching results;

[0008] Detect targets in the inspection scene according to the inspection indicators, track the inspection path through autonomous navigation and obstacle avoidance based on the positioning data and target detection data, and adaptively adjust the movement speed according to the distance to the target;

[0009] The decision-making of different structures of the integrated vision and patrol robot is decoupled through behavior trees, and the integrated vision and patrol robot is controlled to perform inspection tasks.

[0010] In this solution, visual sensors are used to obtain visual image data during movement, corresponding point cloud templates are retrieved based on the visual image data as source point cloud data, and dense point cloud data in the inspection environment is obtained through laser radar as target point cloud data;

[0011] In the iterative closest point algorithm, singular value decomposition is introduced to obtain the rotation transformation matrix and translation vector of the source point cloud data, so as to minimize the error between the source point cloud data and the target point cloud data;

[0012] Assume the source point cloud data is , Indicates Source point cloud data samples, target point cloud data is , Indicates target point cloud data samples, construct the objective function, minimize the objective function, the objective function The expression is:

[0013] ;

[0014] in represents the rotation matrix, represents the translation vector, Represents the total number of samples.

[0015] In this solution, iterative extended Kalman filtering is used to fuse dense point cloud data with IMU data, specifically:

[0016] The prediction model and the observation model are constructed by using an iterative extended Kalman filter, wherein the state vector of the iterative extended Kalman filter includes position, velocity and attitude;

[0017] The prediction model is updated based on the IMU data, and the observation model is corrected based on the dense point cloud data.

[0018] In this solution, the Scan Context method is used to perform loop detection on the dense point cloud data and convert the dense point cloud data into a two-dimensional descriptor. , Indicates height information. Represents the sector area, Represents the two-dimensional descriptor of the bin corresponding to the i-th ring and the j-th sector of the point cloud;

[0019] The descriptors are used for matching, an N-dimensional vector is extracted from the descriptors of the point cloud to search for a similar key frame in the ikd-tree, and the descriptors of the searched reference frames are compared with the current frame to be matched;

[0020] Get the matching score. If the matching score is less than the preset threshold, it is considered that a loop is detected and the ikd-tree is reconstructed to repair the positioning error. The matching score of the descriptor is:

[0021] ;

[0022] in Represents a reference frame descriptor With the current frame descriptor The distance between them represents the matching score. Indicates the total number of rings and sectors.

[0023] In this solution, a relocation mechanism is introduced to optimize the positioning matching results, specifically:

[0024] The dense point cloud data is divided into grids using normal distribution transformation, the mean and covariance matrix are calculated in each grid, and the point cloud distribution is described by Gaussian distribution;

[0025] Based on the point cloud distribution, the nonlinear iterative closest point algorithm is used for registration to optimize the positioning and matching results.

[0026] In this solution, the inspection path is tracked through autonomous navigation and obstacle avoidance based on positioning data and target detection data, specifically:

[0027] The Dijkstra algorithm is used to plan the global inspection path in the inspection task. According to the target detection and obstacle recognition results in the inspection scene, the global path is refined into specific action instructions to achieve local path tracking.

[0028] The proportional controller is used to adjust the output and add a speed feedforward term. According to the distance from the target position, the speed of the integrated vision and patrol robot is gradually reduced, the maximum value of the speed change is set, and the speed of the integrated vision and patrol robot is controlled.

[0029] In this scheme, when a target in the inspection index is detected in the inspection scene, a response task to the detected target is obtained, and a preset area containing the detected target in the inspection scene is segmented as a task area;

[0030] Determine the sub-area where the specific point of the detection target is located, decouple the decisions of different structures through behavior trees, and adjust the robot behavior according to the task and environment changes.

[0031] The second aspect of the present invention also provides an inspection system of a visual patrol integrated robot applied to border defense, the system comprising: a memory, a processor, an inspection navigation module, an inspection environment perception module, an inspection positioning module and an intelligent decision-making module, the memory and the processor storing and executing an inspection method program of the visual patrol integrated robot applied to border defense;

[0032] The inspection navigation module uses the Dijkstra algorithm to plan the optimal global path based on the starting point and the end point, obtains the inspection path, and uses a proportional controller combined with a speed feedforward term to perform a local path search to achieve smooth path tracking and obstacle avoidance;

[0033] The inspection environment perception module uses visual sensors, laser radars, and inertial measurement units to obtain environmental data and its own data in the inspection scene;

[0034] The inspection positioning module determines the inspection environment based on the visual image data, uses the dense point cloud data provided by the laser radar and the high-frequency attitude information of the inertial measurement unit, and combines loop detection and repositioning to achieve centimeter-level precise positioning;

[0035] The intelligent decision-making module performs target recognition based on inspection tasks, defines response tasks and conditions corresponding to the targets, realizes decision decoupling of different parts of the integrated vision and inspection robot through behavior trees, divides the task area by defining different tasks and conditions, and flexibly controls the behaviors of different parts of the robot.

[0036] Compared with the prior art, the present invention has the following beneficial effects:

[0037] (1) The present invention utilizes the iterative closest point algorithm (ICP), iterative extended Kalman filter (IEKF), ScanContext loop detection and normal distribution transformation + nonlinear ICP relocalization algorithm to ensure the positioning accuracy and robustness of the robot in complex environments.

[0038] (2) The present invention uses the Dijkstra algorithm for global path planning to ensure that the robot can find the optimal path. The local path tracking uses a P controller combined with a velocity feedforward term to ensure that the robot tracks the path smoothly and accurately. The robot speed is gradually adjusted according to the distance to the target position to avoid oscillation and improve the response speed and stability of the system.

[0039] (3) The present invention uses a behavior tree to decouple the decisions of the chassis, gimbal, etc., thereby enhancing the modularity and scalability of the system. The behavior tree flexibly adjusts the robot's behavior according to the task and environmental changes to ensure efficient completion of the task. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1A flow chart showing an inspection method of the visual-patrol integrated robot applied to border defense according to the present invention is shown;

[0041] Figure 2 It shows a flow chart of autonomous navigation of the vision-patrol integrated robot of the present invention;

[0042] Figure 3 A block diagram of an inspection system of a vision-patrol integrated robot applied to border defense according to the present invention is shown. DETAILED DESCRIPTION

[0043] In order to more clearly understand the above-mentioned purpose, features and advantages of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.

[0044] In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention may also be implemented in other ways different from those described herein. Therefore, the protection scope of the present invention is not limited to the specific embodiments disclosed below.

[0045] Figure 1 The flowchart of the inspection method of the vision-patrol integrated robot applied to border defense of the present invention is shown.

[0046] like Figure 1 As shown, the first aspect of the present invention provides an inspection method of a visual patrol integrated robot applied to border defense, comprising:

[0047] S102, obtaining an inspection task including an inspection path and inspection indicators, controlling the integrated vision and inspection robot to move according to the inspection path, and using a visual sensor to perceive the environment;

[0048] S104, acquiring dense point cloud data in the inspection environment through a laser radar, fusing the dense point cloud data with the IMU data to perform high-precision positioning of the visual inspection integrated robot, and introducing a repositioning mechanism to optimize the positioning matching result;

[0049] S106, performing target detection in the inspection scene according to the inspection index, tracking the inspection path through autonomous navigation and obstacle avoidance based on the positioning data and the target detection data, and adaptively adjusting the moving speed according to the distance to the target;

[0050] S108, decoupling the decisions of different structures of the integrated vision and patrol robot through a behavior tree, and controlling the integrated vision and patrol robot to perform the inspection task.

[0051] It should be noted that the visual image data in the moving process is obtained by using the visual sensor, and the corresponding point cloud template is retrieved according to the visual image data as the source point cloud data. The dense point cloud data in the inspection environment is obtained by the laser radar as the target point cloud data. The singular value decomposition is introduced into the iterative closest point algorithm to obtain the rotation transformation matrix and translation vector of the source point cloud data, so as to minimize the error between the source point cloud data and the target point cloud data. Assume that the source point cloud data is , Indicates Source point cloud data samples, target point cloud data is , Indicates target point cloud data samples, construct the objective function, minimize the objective function, the objective function The expression is:

[0052] ;

[0053] in represents the rotation matrix, represents the translation vector, Represents the total number of samples.

[0054] The goal of the iterative closest point algorithm is to solve the transformation matrix , solved by singular value decomposition method, the steps are:

[0055] Calculate the centroid of the source point cloud data The centroid of the target point cloud data :

[0056] ;

[0057] Decentralize the source point cloud data and the target point cloud data: ;

[0058] Compute the covariance matrix: ;

[0059] Decompose the covariance matrix via singular value decomposition: , represents an orthogonal matrix, Represents matrix transpose;

[0060] Calculate the rotation matrix and translation vector: .

[0061] It should be noted that the prediction model and observation model are constructed using iterative extended Kalman filtering to improve positioning accuracy and robustness. The state vector of the iterative extended Kalman filter includes position, velocity and attitude; the prediction model is updated based on IMU data, and the observation model is corrected based on dense point cloud data.

[0062] FAST-LIO2 is used as the basic positioning solution, which uses the dense point cloud data provided by the laser radar and the high-frequency attitude information of the IMU to achieve high-precision positioning. In order to further improve the positioning accuracy and stability, the present invention adds Scan Context loop detection on the basis of the FAST-LIO2 positioning solution, and uses the Scan Context method to perform loop detection on the dense point cloud data. A frame of dense point cloud data is evenly divided into different bins according to the azimuth and radius in the sensor coordinate system. From the azimuth, the point cloud is divided into s sectors, and from the reverse radius, the point cloud is divided into r rings. Each ring can be expanded to obtain a s*r two-dimensional image. Each pixel point is the bin corresponding to the jth sector of the i-th ring. The dense point cloud data is converted into a two-dimensional descriptor. , Indicates height information. Represents the sector area, Represents the two-dimensional descriptor of the bin corresponding to the i-th ring and the j-th sector of the point cloud; uses the descriptor for matching, extracts an N-dimensional vector from the descriptor of the point cloud to search for similar key frames in the ikd-tree, and compares the descriptor of the searched reference frame with the current frame to be matched; obtains the matching score, and if the matching score is less than the preset threshold, it is considered that a loop is detected and the ikd-tree is reconstructed to repair the positioning error, where the matching score of the descriptor is:

[0063] ;

[0064] in Represents a reference frame descriptor With the current frame descriptor The distance between them represents the matching score. Indicates the total number of rings and sectors.

[0065] The ikd-Tree is a dynamic data structure based on the KD tree. It consists of a binary search tree that stores a hyperrectangular region and a point set at each node. Each node has a partition axis and a partition value to divide its child nodes into two subsets. The basic structure of the ikd-Tree includes nodes, partition planes, subtrees, etc. and some incremental operations, including insertion, reinsertion, and deletion. The ikd-Tree uses a recursive algorithm to update nodes and maintains balance by rotating and rebuilding subtrees.

[0066] A new re-positioning algorithm is added to improve the system's ability to recover in the event of positioning loss or initialization. The dense point cloud data is divided into grids using normal distribution transformation, the mean and covariance matrix are calculated in each grid, and the point cloud distribution is described by Gaussian distribution; based on the point cloud distribution, the nonlinear iterative closest point algorithm is used for registration to optimize the positioning matching results.

[0067] Figure 2 A flow chart of autonomous navigation of the vision-patrol integrated robot of the present invention is shown.

[0068] According to an embodiment of the present invention, the autonomous navigation of the integrated vision and patrol robot is specifically as follows:

[0069] S202, using the Dijkstra algorithm to plan the global inspection path in the inspection task, and refining the global path into specific action instructions according to the target detection and obstacle recognition results in the inspection scene to achieve local path tracking;

[0070] S204, using a proportional controller to adjust the output and add a speed feedforward term, gradually reducing the speed of the vision-patrol integrated robot according to the distance from the target position, setting a maximum value of the speed change, and controlling the speed of the vision-patrol integrated robot;

[0071] S206, introduce the recovery plug-in to record the chassis speed direction before getting stuck, execute the first segment of movement in the opposite direction, and then calculate the ray direction with the minimum cost in combination with the planning map, and execute the second segment of movement to achieve autonomous escape of the robot.

[0072] It should be noted that the goal of global path planning is to find the shortest and feasible path for the robot from the starting position to the target position. The Dijkstra algorithm is applicable to graphs with non-negative weights and can effectively calculate the global optimal path. The Dijkstra algorithm is used to plan the global inspection path in the inspection task. According to the target detection and obstacle recognition results in the inspection scene, the global path is refined into specific action instructions to achieve local path tracking; the proportional controller is used to adjust the output so that the robot can smoothly and accurately track the predetermined path. At the same time, a speed feedforward term is added to consider future speed requirements in advance and improve the system response speed and stability.

[0073] In order to improve the stability of the robot during high-speed movement, the speed needs to be reasonably controlled. According to the distance from the target position, the robot speed is gradually reduced to avoid oscillation caused by large deceleration when approaching the target. The maximum value of each speed change of the robot is controlled to prevent instability caused by excessive acceleration. The recovery plug-in is introduced, and the implementation format is defined by move_base_flex, which is used to handle abnormal situations such as jamming encountered by the robot during path planning.

[0074] It should be noted that in complex border defense tasks, the robot system needs to have flexible decision-making capabilities to cope with changing environments and task requirements. When the target in the inspection index is detected in the inspection scene, the response task to the detection target is obtained, and the preset area containing the detection target in the inspection scene is divided as the task area; the sub-area where the specific point of the detection target is located is determined, and the decision decoupling of different structures such as the chassis and gimbal is achieved through the behavior tree, the modularity and scalability of the system are enhanced, and the robot behavior is adjusted according to the task and environmental changes to ensure the efficient completion of the task. The behavior tree is a commonly used decision tree structure. By defining a series of tasks and conditions, the behavior of different parts of the robot can be flexibly controlled to achieve the addition and adjustment of complex functions.

[0075] Figure 3 A block diagram of an inspection system of a vision-patrol integrated robot applied to border defense according to the present invention is shown.

[0076] The second aspect of the present invention further provides an inspection system 3 of a visual patrol integrated robot applied to border defense, the system comprising: a memory 31, a processor 32, an inspection navigation module 33, an inspection environment perception module 34, an inspection positioning module 35 and an intelligent decision-making module 36, the memory 31 and the processor 32 store and execute an inspection method program of the visual patrol integrated robot applied to border defense;

[0077] The inspection navigation module 33 uses the Dijkstra algorithm to plan the optimal global path based on the starting point and the end point, obtains the inspection path, and uses a proportional controller combined with a speed feedforward term to perform a local path search to achieve smooth path tracking and obstacle avoidance;

[0078] The inspection environment perception module 34 uses visual sensors, laser radars, and inertial measurement units to obtain environmental data and its own data in the inspection scene;

[0079] The inspection positioning module 35 determines the inspection environment based on the visual image data, and uses the dense point cloud data provided by the laser radar and the high-frequency attitude information of the inertial measurement unit, combined with loop detection and repositioning to achieve centimeter-level precise positioning;

[0080] The intelligent decision-making module 36 performs target recognition based on the inspection task, defines the response tasks and conditions corresponding to the target, realizes the decision decoupling of different parts of the integrated vision and inspection robot through the behavior tree, divides the task area by defining different tasks and conditions, and flexibly controls the behavior of different parts of the robot.

[0081] The third aspect of the present invention also provides a computer-readable storage medium, which includes a patrol method program for an integrated vision and patrol robot applied to border defense. When the patrol method program for an integrated vision and patrol robot applied to border defense is executed by a processor, the steps of the patrol method for an integrated vision and patrol robot applied to border defense as described in any one of the above items are implemented.

[0082] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.

[0083] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0084] In addition, all functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0085] A person of ordinary skill in the art can understand that: all or part of the steps of implementing the above method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiment; and the aforementioned storage medium includes: a mobile storage device, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes.

[0086] Alternatively, if the above-mentioned integrated unit of the present invention is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present invention can be essentially or partly reflected in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, magnetic disks or optical disks.

[0087] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A patrol method for a visual patrol integrated robot applied to border defense, characterized in that: The following steps are involved: Obtain an inspection task including an inspection path and inspection indicators, control the integrated vision and inspection robot to move according to the inspection path, and use visual sensors to perceive the environment; The dense point cloud data in the inspection environment is obtained by using a laser radar, and the dense point cloud data is fused with the IMU data to perform high-precision positioning of the visual inspection integrated robot, and a re-positioning mechanism is introduced to optimize the positioning matching results; Detect targets in the inspection scene according to the inspection indicators, track the inspection path through autonomous navigation and obstacle avoidance based on the positioning data and target detection data, and adaptively adjust the movement speed according to the distance to the target; Through the behavior tree, the decision-making of different structures of the integrated vision and patrol robot is decoupled, and the integrated vision and patrol robot is controlled to perform inspection tasks; Using a visual sensor to obtain visual image data during movement, retrieving a corresponding point cloud template as source point cloud data based on the visual image data, and obtaining dense point cloud data in the inspection environment as target point cloud data through a laser radar; In the iterative closest point algorithm, singular value decomposition is introduced to obtain the rotation transformation matrix and translation vector of the source point cloud data, so as to minimize the error between the source point cloud data and the target point cloud data; Assume the source point cloud data is , Indicates Source point cloud data samples, target point cloud data is , Indicates target point cloud data samples, construct the objective function, minimize the objective function, the objective function The expression is: , in represents the rotation matrix, represents the translation vector, represents the total number of samples; The Scan Context method is used to perform loop detection on the dense point cloud data, and the dense point cloud data is converted into a two-dimensional descriptor. , Indicates height information. Represents the sector area, Represents the two-dimensional descriptor of the bin corresponding to the i-th ring and the j-th sector of the point cloud; The descriptors are used for matching, an N-dimensional vector is extracted from the descriptors of the point cloud to search for a similar key frame in the ikd-tree, and the descriptors of the searched reference frames are compared with the current frame to be matched; Get the matching score. If the matching score is less than the preset threshold, it is considered that a loop is detected and the ikd-tree is reconstructed to repair the positioning error. The matching score of the descriptor is: , in Represents a reference frame descriptor With the current frame descriptor The distance between them represents the matching score. Indicates the total number of rings and sectors; Introduce a relocation mechanism to optimize the positioning and matching results, specifically: The dense point cloud data is divided into grids using normal distribution transformation, the mean and covariance matrix are calculated in each grid, and the point cloud distribution is described by Gaussian distribution; Based on the point cloud distribution, the nonlinear iterative closest point algorithm is used for registration to optimize the positioning and matching results.

2. The inspection method of the visual and patrol integrated robot applied to border defense according to claim 1, characterized in that: Use iterative extended Kalman filtering to fuse dense point cloud data with IMU data, specifically: The prediction model and the observation model are constructed by using an iterative extended Kalman filter, wherein the state vector of the iterative extended Kalman filter includes position, velocity and attitude; The prediction model is updated based on the IMU data, and the observation model is corrected based on the dense point cloud data.

3. The inspection method of the visual-patrol integrated robot applied to border defense according to claim 1, characterized in that: Based on the positioning data and target detection data, the inspection path is tracked through autonomous navigation and obstacle avoidance, specifically: The Dijkstra algorithm is used to plan the global inspection path in the inspection task. According to the target detection and obstacle recognition results in the inspection scene, the global path is refined into specific action instructions to achieve local path tracking. The proportional controller is used to adjust the output and add a speed feedforward term. According to the distance from the target position, the speed of the integrated vision and patrol robot is gradually reduced, the maximum value of the speed change is set, and the speed of the integrated vision and patrol robot is controlled.

4. The inspection method of the visual-patrol integrated robot applied to border defense according to claim 1, characterized in that: When a target in the inspection index is detected in the inspection scene, a response task to the detected target is obtained, and a preset area containing the detected target in the inspection scene is segmented as a task area; Determine the sub-area where the specific point of the detection target is located, decouple the decisions of different structures through behavior trees, and adjust the robot behavior according to the task and environment changes.

5. A patrol system of an integrated robot for visual inspection used in border defense, characterized in that: Used to execute the inspection method of the visual patrol integrated robot applied to border defense as described in any one of claims 1 to 4, the system comprises: a memory, a processor, an inspection navigation module, an inspection environment perception module, an inspection positioning module and an intelligent decision-making module; The memory and the processor store and execute the inspection method program of the integrated visual inspection robot applied to border defense; The inspection navigation module uses the Dijkstra algorithm to plan the optimal global path based on the starting point and the end point, obtains the inspection path, and uses a proportional controller combined with a speed feedforward term to perform a local path search to achieve smooth path tracking and obstacle avoidance; The inspection environment perception module uses visual sensors, laser radars, and inertial measurement units to obtain environmental data and its own data in the inspection scene; The inspection and positioning module uses the dense point cloud data provided by the laser radar and the high-frequency attitude information of the inertial measurement unit, combined with loop detection and repositioning to achieve centimeter-level precise positioning; The intelligent decision-making module performs target recognition based on inspection tasks, defines response tasks and conditions corresponding to the targets, realizes decision decoupling of different parts of the integrated vision and inspection robot through behavior trees, divides the task area by defining different tasks and conditions, and flexibly controls the behaviors of different parts of the robot.