Intelligent obstacle avoidance method and system for inspection robot

The three-dimensional model is generated through dual data acquisition and data preprocessing, and the obstacle avoidance path is calculated by combining Lennard-Jones theory and APFA algorithm, which solves the problems of low data accuracy and computational redundancy in intelligent obstacle avoidance of inspection robots, and achieves more efficiency. Obstacle avoidance path planning.

CN118550304BActive Publication Date: 2024-10-01山东道万电气有限公司
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411017261.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-29
Publication Date
2024-10-01
Estimated Expiration
2044-07-29

AI Technical Summary

Technical Problem

Inspection robots face the problems of false detection and low accuracy caused by the simplicity of data collection in intelligent obstacle avoidance path planning, as well as the problem of continuous global path planning and calculation redundancy caused by the complexity of the environment.

Method used

Using dual data acquisition and data preprocessing methods, a three-dimensional model is generated through the combination of primary and secondary scan data points, standard deviation calculation and point cloud registration, and the obstacle avoidance path is calculated by combining Lennard-Jones theory and APFA algorithm. , correct the path in real time to improve the safety of the obstacle avoidance route.

Benefits of technology

It improves data accuracy, reduces calculation redundancy, and achieves more efficient intelligent obstacle avoidance path planning and shorter calculation time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118550304B_ABST
    Figure CN118550304B_ABST
Patent Text Reader

Abstract

The present invention provides an intelligent obstacle avoidance method and system for an inspection robot, which belongs to the field of obstacle avoidance path planning; the problems of low data accuracy and computational redundancy are solved; the specific methods are as follows: the inspection environment is collected to obtain scanning data points; the scanning data records and the scanning data volume are acquired and calculated to obtain the scanning data standard score; the scanning data standard score is screened to obtain point cloud data and construct a three-dimensional model; the three-dimensional model is read and calculated to obtain the total potential energy; the path coordinate set is acquired and calculated to obtain the total path cost; the cost value is acquired; the cost value, the total potential energy and the three-dimensional model are processed to obtain the obstacle avoidance path; the second environment data is collected and compared with the point cloud data to obtain the data variation range; the obstacle avoidance path is corrected to obtain a safe obstacle avoidance route; the present invention calculates the changes in the acquired three-dimensional point cloud data, reduces the amount of data calculation, and realizes intelligent obstacle avoidance planning.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention discloses an intelligent obstacle avoidance method and system for a patrol robot, and relates to the field of obstacle avoidance path planning. Background Art

[0002] Inspection robots face the problems of single data collection and continuous global path planning in terms of intelligent obstacle avoidance path planning.

[0003] 1. Singleness of data collection: The current technology uses a single sensor to collect data, which has low stability, causing the inspection robot to misdetect online obstacles. At the same time, the single sensor has low accuracy, which affects the specific obstacle avoidance path planning;

[0004] 2. Continuously plan the global path: Due to the complexity of the inspection environment, it is necessary to dynamically obtain the inspection environment to correct the obstacle avoidance path. At the same time, it is necessary to continuously plan the global path and perform a large number of calculations, which increases the obstacle avoidance planning calculation time. Summary of the invention

[0005] In view of the deficiencies in the prior art, the object of the present invention is to provide an intelligent obstacle avoidance method and system for an inspection robot, aiming to solve the problems of low data accuracy and computational redundancy.

[0006] In order to achieve the above object, the present invention is implemented through the following technical solutions: an intelligent obstacle avoidance method and system for a patrol robot comprises:

[0007] An intelligent obstacle avoidance method for an inspection robot, the obstacle avoidance method comprising:

[0008] Step S1: collecting the inspection environment of the inspection robot to obtain the first scanning data point and the second scanning data point; obtaining the scanning data record and the scanning data volume according to the first scanning data point and the second scanning data point;

[0009] The scan data volume and the scan data record are calculated respectively to obtain the scan data standard deviation and the scan data observation difference;

[0010] Step S2: Calculate the scan data observation difference and the scan data standard deviation to obtain the scan data standard score; filter the scan data standard score to obtain point cloud data;

[0011] Step S3: performing point cloud registration and 3D reconstruction on the point cloud data to obtain a 3D model; reading the 3D model to obtain the Euclidean distance and total potential energy from the current position of the inspection robot to the target node;

[0012] Step S4: Acquire and calculate the path coordinate set to obtain the total path cost; calculate the total path cost, total potential energy and the Euclidean distance from the current position of the inspection robot to the target node to obtain the cost value; process the cost value, total potential energy and three-dimensional model to obtain the obstacle avoidance path;

[0013] Step S5: collecting the three-dimensional data of the inspection robot in real time during its operation to obtain second point cloud data; comparing the point cloud data with the second point cloud data to obtain a data variation range;

[0014] The obstacle avoidance path is corrected according to the data change range to obtain a safe obstacle avoidance route.

[0015] Furthermore, the workflow of step S1 is as follows:

[0016] The inspection robot collects data from the inspection environment to obtain the first scan data point T1 (xi, yi, zi) and the second scan data point T2 (xi, yi, zi);

[0017] The first scan data points and the second scan data points are placed in the same coordinate system, and the scan data points with the same coordinate points in the first scan data points and the second scan data points are combined to obtain scan data records;

[0018] The steps for scanning data point combination are as follows:

[0019] The value corresponding to the coordinate point (xi1, yi1, zi1) in the first scan data point is recorded as T1(xi1, yi1, zi1);

[0020] The value corresponding to the coordinate point (xi2, yi2, zi2) in the second scan data point is recorded as T2(xi2, yi2, zi2);

[0021] Combine T1(xi1,yi1,zi1) and T2(xi2,yi2,zi2) corresponding to the coordinate point (xi,yi,zi) to form [T1(xi1,yi1,zi1),T2(xi2,yi2,zi2)], recorded as the scan data record Tf(xi,yi,zi);

[0022] The specific steps for obtaining the scanned data set are as follows:

[0023] The scan data records of different coordinate points in the coordinate system are combined to obtain {[T1(x1, y1, z1), T2(x1, y1, z1)], [T1(x2, y2, z2), T2(x2, y2, z2)]~[T1(xA, yA, zA), T2(xA, yA, zA)]}, which is recorded as the scan data set Tf(xi, yi, zi);

[0024] Sum T1(xi1, yi1, zi1) and T2(xi2, yi2, zi2) to get the total value of the data, recorded as TM;

[0025] ;

[0026] Where Tt(xi, yi, zi) is the general expression of the scanned data points, and t represents the amount of scanned data;

[0027] The total data value and the amount of scanned data are calculated to obtain the mean of the scanned data, which is recorded as ;

[0028] ;

[0029] Calculate the scan data record and the scan data mean to obtain the scan data observation difference TH;

[0030] ;

[0031] For T1(xi1, yi1, zi1), T2(xi2, yi2, zi2) and the mean of the scan data Calculate and obtain the standard deviation TS of the scan data;

[0032] ;

[0033] Proceed to step S2.

[0034] Furthermore, the workflow of step S2 is as follows:

[0035] The standard deviation of the scan data standard deviation and the scan data observation difference is calculated to obtain the scan data standard score TZ;

[0036] ;

[0037] Judge the numerical value of the standard score of the scanned data and determine the interval information of Tt(xi, yi, zi);

[0038] The judgment process is as follows:

[0039] If TZ is greater than 2.58, it means that Tt(xi, yi, zi) is higher than the average value and is an abnormal value; if TZ is in the interval (-2.58, 2.58), it means that Tt(xi, yi, zi) is lower than the average value and is a normal value; if TZ is less than -2.58, it means that Tt(xi, yi, zi) is higher than the average value and is an abnormal value;

[0040] Calculate the scan data standard score and the first threshold TO to obtain a shift coefficient TR;

[0041] ;

[0042] The judgment process is as follows: if the deviation coefficient is greater than or equal to 1, it means that the data point deviates greatly from the average value and is an outlier;

[0043] If the value of the offset coefficient is less than 1, it means that the deviation of the data point from the mean value is small and is not processed;

[0044] According to the interval information and offset coefficient of Tt(xi, yi, zi), the scan data record Tf(xi, yi, zi) is screened and processed to obtain point cloud data, and then proceed to step S3.

[0045] Furthermore, the workflow of step S3 is as follows:

[0046] Use the spatial.transform module of the SciPy library in Python to perform point cloud registration on the point cloud data, rotate and translate the point cloud data, and obtain calibrated point cloud data;

[0047] With the help of the Open3D library in Python and the PyMesh library implemented with high-speed computing hardware, the point cloud data is converted into a three-dimensional surface model using the Delaunay algorithm. The process involves connecting the points scattered in the space with each other using the Delaunay algorithm to form a mesh composed of multiple triangles to obtain a three-dimensional model.

[0048] According to the three-dimensional model, the target node and the current position of the inspection robot are acquired to obtain the target node position Yd(xi1,yi1,zi1) and the current position of the inspection robot Yd(xie,yie,zie);

[0049] e represents the cumulative time of the inspection robot from the start of movement;

[0050] Calculate the target node position and the current position of the inspection robot to obtain the Euclidean distance Ra(xie, yie, zie) from the current position of the inspection robot to the target node;

[0051] ;

[0052] The Lennard-Jones theoretical model in physical chemistry is read to obtain the attractive potential weight Qa and the repulsive potential weight Qb;

[0053] Calculate the attraction potential weight Qa and the Euclidean distance Ra(xie,yie,zie) from the current position of the inspection robot to the target node to obtain the attraction potential Sa(xie,yie,zie);

[0054] ;

[0055] Read the three-dimensional model to obtain the obstacle size Ub;

[0056] Read the three-dimensional model to obtain the distance Db(xie, yie, zie) to the nearest obstacle at the current position of the inspection robot;

[0057] The obstacle size Ub, the repulsion potential weight Qb, and the distance Db(xie, yie, zie) to the nearest obstacle at the current position of the inspection robot are calculated to obtain the repulsion potential Sb(xie, yie, zie);

[0058] ;

[0059] Calculate the attractive potential Sa(xie,yie,zie) and the repulsive potential Sb(xie,yie,zie) to obtain the total potential energy S(xie,yie,zie);

[0060] Go to step S4.

[0061] Furthermore, the workflow of step S4 is as follows:

[0062] The motion path of the inspection robot is acquired through the database to obtain the path coordinate set S;

[0063] The data stored in the database include the inspection robot's motion path data and the inspection robot's initial position data;

[0064] The path coordinate set S is expressed as: {We (xi1, yi1, zi1), We (xi2, yi2, zi2), We (xi3, yi3, zi3) ~ Yd (xie, yie, zie)};

[0065] Among them, We (xi1, yi1, zi1) is the initial position;

[0066] Calculate the two variables in the path coordinate set to get the actual cost between the two coordinate points;

[0067] The actual cost between two coordinate points is as follows:

[0068] Calculate We(xi1,yi1,zi1) and We(xi2,yi2,zi2) to get the actual cost W{We(xi1,yi1,zi1),We(xi2,yi2,zi2)} between the two coordinate points;

[0069] ;

[0070] Taking the initial position as the starting point, the actual cost between two adjacent coordinate points in the path coordinate set is calculated to obtain the total path cost W (xie, yie, zie);

[0071] ;

[0072] Among them, We (xim, yim, zim) is the path coordinate point corresponding to the time point before e, m is the first adjacent coordinate point in the path coordinate set, and m+1 is the second adjacent coordinate point. If m is 2, then m+1 is 3, and the value range of m is 1 to e;

[0073] Calculate the total path cost W (xie, yie, zie), the Euclidean distance Ra (xie, yie, zie) from the current position of the inspection robot to the target node, and the total potential energy S (xie, yie, zie) to obtain the cost value F (xie, yie, zie);

[0074] ;

[0075] The Matplotlib tool is used in combination with the APFA algorithm to process the cost value F (xie, yie, zie), the total potential energy S (xie, yie, zie) and the three-dimensional model to obtain the obstacle avoidance path.

[0076] Furthermore, the workflow of step S5 is as follows:

[0077] The laser pulse is emitted, and the time between the emission of the laser pulse and the reception of the pulse is recorded by a timer to obtain the round trip time Hct of the second pulse;

[0078] The sensor is used to obtain the angle information of the laser beam emission and reception, and obtain the second azimuth angle Hat and the second pitch angle Het;

[0079] Calculate the light speed c and the pulse round trip time to obtain the second physical distance Hdt;

[0080] ;

[0081] Calculate the second physical object distance, the second azimuth angle and the second pitch angle to obtain a second three-dimensional scanning data point Ht (xi, yi, zi);

[0082] ;

[0083] ;

[0084] ;

[0085] Perform a traversal scan of the surrounding environment to obtain second point cloud data;

[0086] The second point cloud data is expressed in the form of [Ht(x1, y1, z1), Ht(x2, y2, z2), Ht(x3, y3, z3)~Ht(xHm, yHm, zHm)];

[0087] Performing point cloud registration and three-dimensional reconstruction on the second point cloud data to obtain a second three-dimensional model;

[0088] Using point cloud registration technology, the point cloud data and the second point cloud data are placed in the same reference coordinate system to obtain the data variation range;

[0089] If the data change range is none, continue to execute the obstacle avoidance path;

[0090] If the data change range exists, obtain the safe obstacle avoidance path.

[0091] Furthermore, the workflow of the safe obstacle avoidance path is as follows:

[0092] Read the data change range to obtain the change point cloud data;

[0093] Performing three-dimensional reconstruction on the changed point cloud data to obtain a second three-dimensional model;

[0094] Using sensors, the global coordinates of the inspection robot are acquired to obtain the current coordinates Pe1 (xie1, yie1, zie1) and the moving speed Pv;

[0095] The inspection robot status is acquired through the database, and the robot reaction time Rt and the robot maximum acceleration Pa are obtained;

[0096] The second three-dimensional model is read, and the coordinates of the first obstacle in the moving direction of the inspection robot are obtained to obtain the first obstacle coordinates Pz1 (xiz1, yiz1, ziz1);

[0097] Obtain the current coordinate Pe1 (xie1, yie1, zie1) and the first obstacle coordinate Pz1 (xiz1, yiz1, ziz1) to obtain the first obstacle distance Pdz1;

[0098] ;

[0099] The moving speed Pv, the robot reaction time Rt and the robot maximum acceleration Pa are calculated to obtain the robot safety distance Pda;

[0100] ;

[0101] Compare the robot's safety distance Pda and the first obstacle distance Pdz1 to obtain the patrol status;

[0102] The patrol status is as follows:

[0103] If the robot safety distance Pda ≥ the first obstacle distance Pdz1, the inspection robot needs to issue an early warning and obtain a safe obstacle avoidance path;

[0104] If the robot safety distance Pda is less than the first obstacle distance Pdz1, the inspection robot continues to move forward;

[0105] According to the three-dimensional change model, the second total potential energy and the second cost value are obtained;

[0106] The Matplotlib tool is used in combination with the APFA algorithm to process the second cost value, the second total potential energy Uc and the second three-dimensional model to obtain a safe obstacle avoidance path.

[0107] An intelligent obstacle avoidance system for an inspection robot includes a collection module, a data processing module, a dynamic data verification module and an obstacle avoidance path acquisition module:

[0108] Acquisition module: collects the inspection environment of the inspection robot to obtain the first scanning data points and the second scanning data points; obtains the motion path of the inspection robot to obtain the path coordinate set S; collects three-dimensional data of the second target entity to obtain the second point cloud data;

[0109] Obtain the global coordinates of the inspection robot to obtain the current coordinates Pe1 (xie1, yie1, zie1) and moving speed Pv;

[0110] Obtain the status of the inspection robot and obtain the robot reaction time Rt and the robot maximum acceleration Pa;

[0111] Data processing module: acquires scanning data records and scanning data volume according to the first scanning data points and the second scanning data points;

[0112] The scan data volume and the scan data record are calculated respectively to obtain the scan data standard deviation and the scan data observation difference;

[0113] The observed difference of the scan data and the standard deviation of the scan data are calculated to obtain the standard score TZ of the scan data; the standard score of the scan data is screened to obtain the point cloud data;

[0114] Dynamic data verification module: compares the point cloud data with the second point cloud data to obtain the data change range; corrects the obstacle avoidance path according to the data change range to obtain a safe obstacle avoidance route;

[0115] Obstacle avoidance path acquisition module: perform point cloud registration and 3D reconstruction on point cloud data to obtain a 3D model; read the 3D model to obtain the Euclidean distance and total potential energy from the current position of the inspection robot to the target node;

[0116] The path coordinate set is obtained and calculated to obtain the total path cost; the total path cost, total potential energy and the Euclidean distance from the current position of the inspection robot to the target node are calculated to obtain the cost value; the cost value, total potential energy Uc and the three-dimensional model are processed to obtain the obstacle avoidance path.

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

[0118] 1. Improved data accuracy: two data collection devices are used to obtain inspection environment data and pre-process the inspection environment data to further increase data accuracy, thereby improving the feasibility and safety of the intelligent obstacle avoidance method;

[0119] 2. Streamline data calculation, realize the calculation of redundant data in the dynamic obstacle avoidance process, calculate the changed parts of the acquired 3D point cloud data, reduce the amount of data calculation, and thus realize intelligent obstacle avoidance planning in a shorter time. BRIEF DESCRIPTION OF THE DRAWINGS

[0120] Other features, objects and advantages of the present invention will become more apparent from the detailed description of non-limiting embodiments made with reference to the following drawings:

[0121] Figure 1 It is a schematic diagram of the process of the present invention;

[0122] Figure 2 It is a schematic diagram of the system of the present invention;

[0123] Figure 3 This is a schematic diagram of data acquisition in the present invention. DETAILED DESCRIPTION

[0124] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and understandable, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0125] See also Figure 1 and Figure 2 , an intelligent obstacle avoidance method for inspection robots, the steps of obtaining a safe obstacle avoidance path are as follows:

[0126] See also Figure 3 , Step S1: Collect the inspection environment of the inspection robot to obtain the first scanning data point and the second scanning data point;

[0127] According to the first scanning data point and the second scanning data point, the scanning data record and the scanning data volume are obtained;

[0128] The scan data volume and the scan data record are calculated respectively to obtain the scan data standard deviation and the scan data observation difference;

[0129] The inspection robot collects data from the inspection environment to obtain the first scan data point T1 (xi, yi, zi) and the second scan data point T2 (xi, yi, zi);

[0130] It should be noted that the inspection environment of the inspection robot needs to be collected through high-precision measurement modules. High-precision measurement modules include: laser 3D scanner, depth camera, three-coordinate measuring machine, handheld 3D scanner, articulated arm 3D scanner, xi represents Figure 3 Where L2 is the x-axis distance from the robot to the target entity.

[0131] It should be noted that Tt(xi, yi, zi) is a general expression of the scanned data points, t represents the amount of scanned data, and the value range of t is: 1 to 2;

[0132] The first scan data points and the second scan data points are placed in the same coordinate system, and the scan data points with the same coordinate points in the first scan data points and the second scan data points are combined to obtain scan data records;

[0133] The steps for scanning data point combination are as follows:

[0134] The value corresponding to the coordinate point (xi1, yi1, zi1) in the first scan data point is recorded as T1(xi1, yi1, zi1);

[0135] The value corresponding to the coordinate point (xi2, yi2, zi2) in the second scan data point is recorded as T2(xi2, yi2, zi2);

[0136] Combine T1(xi1,yi1,zi1) and T2(xi2,yi2,zi2) corresponding to the coordinate point (xi,yi,zi) to form [T1(xi1,yi1,zi1),T2(xi2,yi2,zi2)], recorded as the scan data record Tf(xi,yi,zi);

[0137] It should be noted that i represents the corresponding subscripts of the three dimensions x, y and z, and the value range of i is: 1~A, A is a constant, which represents the number of scan data records;

[0138] The specific steps for obtaining the scanned data set are as follows:

[0139] Combine the scan data records of different coordinate points in the coordinate system to obtain the scan data set Tf(xi, yi, zi);

[0140] The scanned data set is expressed as: {[T1(x1, y1, z1), T2(x1, y1, z1)], [T1(x2, y2, z2), T2(x2, y2, z2)] ~ [T1(xA, yA, zA), T2(xA, yA, zA)]}, denoted as;

[0141] Sum T1(xi1, yi1, zi1) and T2(xi2, yi2, zi2) to get the total value of the data, recorded as TM;

[0142] ;

[0143] The total data value and the amount of scanned data are calculated to obtain the mean of the scanned data, which is recorded as ;

[0144] ;

[0145] Calculate the scan data record and the scan data mean to obtain the scan data observation difference TH;

[0146] ;

[0147] For T1(xi1, yi1, zi1), T2(xi2, yi2, zi2) and the mean of the scan data Calculate and obtain the standard deviation TS of the scan data;

[0148] ;

[0149] Step S2: Calculate the scan data observation difference and the scan data standard deviation to obtain the scan data standard score TZ;

[0150] Screen the standard scores of the scanned data to obtain point cloud data;

[0151] The standard deviation of the scan data standard deviation and the scan data observation difference is calculated to obtain the scan data standard score TZ;

[0152] ;

[0153] Judge the numerical value of the standard score of the scanned data and determine the interval information of Tt(xi, yi, zi);

[0154] The judgment process is as follows:

[0155] If TZ is greater than 2.58, it means that Tt(xi, yi, zi) is higher than the average value and is an abnormal value; if TZ is in the interval (-2.58, 2.58), it means that Tt(xi, yi, zi) is lower than the average value and is a normal value; if TZ is less than -2.58, it means that Tt(xi, yi, zi) is higher than the average value and is an abnormal value;

[0156] It should be noted that the size of the TZ judgment value is based on the confidence interval of the data. The absolute value of 2.58 corresponds to a 99% confidence interval. The range of the confidence interval can be determined by the data processing personnel based on actual conditions.

[0157] Calculate the scan data standard score and the first threshold TO to obtain a shift coefficient TR;

[0158] ;

[0159] It should be noted that the offset coefficient formula in the present invention represents the offset degree of the scan data point based on the first threshold value, and the representation result is an absolute value.

[0160] The judgment process is as follows: if the deviation coefficient is greater than or equal to 1, it means that the data point deviates greatly from the average value and is an outlier;

[0161] If the value of the offset coefficient is less than 1, it means that the deviation of the data point from the mean value is small and is not processed;

[0162] According to the interval information and offset coefficient of Tt(xi,yi,zi), the scan data record Tf(xi,yi,zi) is screened and processed to obtain point cloud data;

[0163] It should be noted that the first threshold mentioned above is only used as a criterion for determining the abnormal value interval, and the first threshold is generally taken as 3; the offset coefficient judgment value of the present invention is 1, which is a definable value; the specific judgment values ​​of the first threshold and the offset coefficient judgment value can be adjusted by the user or system developer according to actual needs.

[0164] Step S3: performing point cloud registration and 3D reconstruction on the point cloud data to obtain a 3D model; reading the 3D model to obtain the Euclidean distance and total potential energy from the current position of the inspection robot to the target node;

[0165] Use the spatial.transform module of the SciPy library in Python to perform point cloud registration on the point cloud data, rotate and translate the point cloud data, and obtain calibrated point cloud data;

[0166] It should be noted that point cloud registration requires the use of high-speed computing hardware, which includes: high-performance CPU / GPU, professional graphics workstation or cloud computing resources;

[0167] It should be noted that the 3D modeling tools include: MeshLab, CloudCompare, Autodesk Forge, Python's Open3D library, etc.

[0168] The process of converting point cloud data into a three-dimensional surface model using the Delaunay algorithm with the help of the Open3D library in Python and the PyMesh library implemented with high-speed computing hardware involves connecting the points scattered in space with the Delaunay algorithm to form a mesh composed of multiple triangles. In this process, the internal angle of each generated triangle is less than 90 degrees. In this way, the originally discrete point cloud data is converted into a continuous, smooth-surfaced three-dimensional model to obtain a three-dimensional model.

[0169] It should be noted that Delaunay triangulation is a method of dividing a set of points into a triangular mesh, where the circumcircle of any triangle does not contain other points. This method can usually generate a relatively uniform mesh and is suitable for surface reconstruction of point cloud data.

[0170] According to the three-dimensional model, the target node and the current position of the inspection robot are acquired to obtain the target node position Yd(xi1,yi1,zi1) and the current position of the inspection robot Yd(xie,yie,zie);

[0171] It should be noted that in the present invention, Yd(xie, yie, zie) represents the coordinate point corresponding to the inspection robot at time point e, which is the current position of the inspection robot. e represents the cumulative time of the inspection robot from the start of movement;

[0172] The Lennard-Jones theoretical model in physical chemistry is read to obtain the attractive potential weight Qa and the repulsive potential weight Qb;

[0173] It should be noted that we can adjust the relative strength of the attractive and repulsive potentials by introducing different constants, namely Qa and Qb. This representation method provides a way to adjust and describe the relative strength of the attractive and repulsive potentials. In practical applications, the same proportionality constant is usually used to maintain the consistency of the model.

[0174] It should be noted that the Lennard-Jones theoretical model in physical chemistry is an existing theoretical model, which is an abstract framework used to describe and explain phenomena, systems or processes. In the present invention, it can be used to describe the attractive potential weight (Qa) and the repulsive potential weight (Qb). The Lennard-Jones theoretical model uses fixed parameters (q = 6, p = 12) to describe the attraction and repulsion between atoms, where q=6 represents the repulsive potential weight (Qb), that is, when two particles are very close, the repulsive force is inversely proportional to the sixth power of the distance. p =12 represents the attractive potential weight (Qa), that is, when the two particles are far apart, the attractive force is inversely proportional to the twelfth power of the distance.

[0175] Calculate the target node position and the current position of the inspection robot to obtain the Euclidean distance Ra(xie, yie, zie) from the current position of the inspection robot to the target node;

[0176] ;

[0177] Calculate the attraction potential weight Qa and the Euclidean distance Ra(xie,yie,zie) from the current position of the inspection robot to the target node to obtain the attraction potential Sa(xie,yie,zie);

[0178] ;

[0179] It should be noted that the attraction potential weight is used to adjust the strength of the attraction potential. It is a custom data range. The specific value can be determined by the user or system developer according to actual needs.

[0180] Read the three-dimensional model to obtain the obstacle size Ub;

[0181] Read the three-dimensional model to obtain the distance Db(xie, yie, zie) to the nearest obstacle at the current position of the inspection robot;

[0182] The obstacle size Ub, the repulsion potential weight Qb, and the distance Db(xie, yie, zie) to the nearest obstacle at the current position of the inspection robot are calculated to obtain the repulsion potential Sb(xie, yie, zie);

[0183] ;

[0184] It should be noted that the repulsive potential weight is used to adjust the strength of the repulsive potential. It is a custom data range and the specific numerical value can be adjusted by the user or system developer according to actual needs.

[0185] Calculate the attractive potential Sa(xie,yie,zie) and the repulsive potential Sb(xie,yie,zie) to obtain the total potential energy S(xie,yie,zie);

[0186] ;

[0187] Step S4: Obtain and calculate the path coordinate set to obtain the total path cost; calculate the total path cost, total potential energy and the Euclidean distance Ra (xie, yie, zie) from the current position of the inspection robot to the target node to obtain the cost value; process the cost value, total potential energy Uc and the three-dimensional model to obtain the obstacle avoidance path;

[0188] The motion path of the inspection robot is acquired through the database to obtain the path coordinate set S;

[0189] The path coordinate set S is expressed as: {We (xi1, yi1, zi1), We (xi2, yi2, zi2), We (xi3, yi3, zi3) ~ Yd (xie, yie, zie)};

[0190] Among them, We (xi1, yi1, zi1) is the initial position, and We (xim, yim, zim) is the path coordinate point corresponding to the time point e;

[0191] Calculate the two variables in the path coordinate set to get the actual cost between the two coordinate points;

[0192] The actual cost between two coordinate points is as follows:

[0193] Calculate We(xi1,yi1,zi1) and We(xi2,yi2,zi2) to get the actual cost W{We(xi1,yi1,zi1),We(xi2,yi2,zi2)} between the two coordinate points;

[0194] ;

[0195] Taking the initial position as the starting point, the actual cost between two adjacent coordinate points in the path coordinate set is calculated to obtain the total path cost W (xie, yie, zie);

[0196] ;

[0197] It should be noted that m is the first adjacent coordinate point in the path coordinate set, and m+1 is the second adjacent coordinate point. If the value of m is 2, the value of m+1 is 3, and the value range of m is 1 to e.

[0198] Calculate the total path cost W (xie, yie, zie), the Euclidean distance Ra (xie, yie, zie) from the current position of the inspection robot to the target node, and the total potential energy S (xie, yie, zie) to obtain the cost value F (xie, yie, zie);

[0199] ;

[0200] Using Matplotlib and APFA algorithm, the cost value F(xie, yie, zie), total potential energy S(xie, yie, zie) and three-dimensional model are processed to obtain the obstacle avoidance path.

[0201] Step S5: Step S5: Collect the three-dimensional data of the inspection robot in real time during its operation to obtain second point cloud data; compare the point cloud data with the second point cloud data to obtain a data variation range;

[0202] The obstacle avoidance path is corrected according to the data change range to obtain a safe obstacle avoidance route;

[0203] The laser pulse is emitted, and the time between the emission of the laser pulse and the reception of the pulse is recorded by a timer to obtain the round trip time Hct of the second pulse;

[0204] The sensor is used to obtain the angle information of the laser beam emission and reception, and obtain the second azimuth angle Hat and the second pitch angle Het;

[0205] Calculate the light speed c and the pulse round trip time to obtain the second physical distance Hdt;

[0206] ;

[0207] It should be noted that the speed of light c is the speed of light propagation in a vacuum. The present invention assumes that the laser speed is the speed of light c, and the second physical distance Hdt is Figure 3 L1 in

[0208] Calculate the second physical object distance, the second azimuth angle and the second pitch angle to obtain a second three-dimensional scanning data point Ht (xi, yi, zi);

[0209] ;

[0210] ;

[0211] ;

[0212] Perform a traversal scan of the surrounding environment to obtain second point cloud data;

[0213] The second point cloud data is expressed in the form of [Ht(x1, y1, z1), Ht(x2, y2, z2), Ht(x3, y3, z3)~Ht(xHm, yHm, zHm)];

[0214] It should be noted that the second three-dimensional scanning data points are traversed and combined to form the second point cloud data, and Hm is the number of point cloud data formed by the combination;

[0215] Performing point cloud registration and three-dimensional reconstruction on the second point cloud data to obtain a second three-dimensional model;

[0216] Using point cloud registration technology, the point cloud data and the second point cloud data are placed in the same reference coordinate system to obtain the data variation range;

[0217] If the data change range is none, continue to execute the obstacle avoidance path;

[0218] If the data change range exists, obtain a safe obstacle avoidance path;

[0219] The steps to obtain a safe obstacle avoidance path are as follows:

[0220] Read the data change range to obtain the change point cloud data;

[0221] Performing three-dimensional reconstruction on the changed point cloud data to obtain a second three-dimensional model;

[0222] Using sensors, the global coordinates of the inspection robot are acquired to obtain the current coordinates Pe1 (xie1, yie1, zie1) and the moving speed Pv;

[0223] The inspection robot status is acquired through the database, and the robot reaction time Rt and the robot maximum acceleration Pa are obtained;

[0224] It should be noted that the database stores data including various status data, hardware indicators and motion paths of the inspection robot.

[0225] The second three-dimensional model is read, and the coordinates of the first obstacle in the moving direction of the inspection robot are obtained to obtain the first obstacle coordinates Pz1 (xiz1, yiz1, ziz1);

[0226] Obtain the current coordinate Pe1 (xie1, yie1, zie1) and the first obstacle coordinate Pz1 (xiz1, yiz1, ziz1) to obtain the first obstacle distance Pdz1;

[0227] ;

[0228] The moving speed Pv, the robot reaction time Rt and the robot maximum acceleration Pa are calculated to obtain the robot safety distance Pda;

[0229] ;

[0230] Compare the robot's safety distance Pda and the first obstacle distance Pdz1 to obtain the patrol status;

[0231] The patrol status is as follows:

[0232] If the robot safety distance Pda ≥ the first obstacle distance Pdz1, the inspection robot needs to issue an early warning and obtain a safe obstacle avoidance path;

[0233] If the robot safety distance Pda is less than the first obstacle distance Pdz1, the inspection robot continues to move forward;

[0234] According to the three-dimensional change model, the second total potential energy and the second cost value are obtained;

[0235] It should be noted that the process of obtaining the second total potential energy and the second cost value is the same as the above-mentioned process of obtaining the total potential energy and the cost value.

[0236] The Matplotlib tool is used in combination with the APFA algorithm to process the second cost value, the second total potential energy Uc and the second three-dimensional model to obtain a safe obstacle avoidance path.

[0237] An intelligent obstacle avoidance system for an inspection robot is applied to an intelligent obstacle avoidance method for an inspection robot, including an acquisition module, a data processing module, a dynamic data verification module and an obstacle avoidance path acquisition module:

[0238] Acquisition module: collects the inspection environment of the inspection robot to obtain the first scanning data points and the second scanning data points; obtains the motion path of the inspection robot to obtain the path coordinate set S; collects three-dimensional data of the second target entity to obtain the second point cloud data;

[0239] Obtain the global coordinates of the inspection robot to obtain the current coordinates Pe1 (xie1, yie1, zie1) and moving speed Pv;

[0240] Obtain the status of the inspection robot and obtain the robot reaction time Rt and the robot maximum acceleration Pa;

[0241] Data processing module: acquires scanning data records and scanning data volume according to the first scanning data points and the second scanning data points;

[0242] The scan data volume and the scan data record are calculated respectively to obtain the scan data standard deviation and the scan data observation difference;

[0243] The observed difference of the scan data and the standard deviation of the scan data are calculated to obtain the standard score TZ of the scan data; the standard score of the scan data is screened to obtain the point cloud data;

[0244] Dynamic data verification module: compares the point cloud data with the second point cloud data to obtain the data change range; corrects the obstacle avoidance path according to the data change range to obtain a safe obstacle avoidance route;

[0245] Obstacle avoidance path acquisition module: perform point cloud registration and 3D reconstruction on point cloud data to obtain a 3D model; read the 3D model to obtain the Euclidean distance and total potential energy from the current position of the inspection robot to the target node;

[0246] The path coordinate set is obtained and calculated to obtain the total path cost; the total path cost, total potential energy and the Euclidean distance from the current position of the inspection robot to the target node are calculated to obtain the cost value; the cost value, total potential energy Uc and the three-dimensional model are processed to obtain the obstacle avoidance path.

[0247] The above formulas are all dimensionless and numerical calculations. The formula is a formula for the most recent real situation obtained by collecting a large amount of data and performing software simulation. The preset parameters in the formula are set by technical personnel in this field according to actual conditions. For example, if there are weight coefficients and proportional coefficients, their set sizes are to quantify each parameter to obtain a specific value, which is convenient for subsequent comparison. Regarding the size of the weight coefficient and the proportional coefficient, it is sufficient as long as it does not affect the proportional relationship between the parameter and the quantized value.

[0248] Finally, it should be noted that the above-described embodiments are only specific implementations of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The protection scope of the present invention is not limited thereto. Although the present invention is described in detail with reference to the above-described embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-described embodiments within the technical scope disclosed by the present invention, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. An intelligent obstacle avoidance method for inspection robots, It is characterized in that The obstacle avoidance method comprises: Step S1: collecting the inspection environment of the inspection robot to obtain the first scanning data point and the second scanning data point; obtaining the scanning data record and the scanning data volume according to the first scanning data point and the second scanning data point; The scan data volume and the scan data record are calculated respectively to obtain the scan data standard deviation and the scan data observation difference; Step S2: Calculate the scan data observation difference and the scan data standard deviation to obtain the scan data standard score; filter the scan data standard score to obtain point cloud data; Step S3: performing point cloud registration and 3D reconstruction on the point cloud data to obtain a 3D model; reading the 3D model to obtain the Euclidean distance and total potential energy from the current position of the inspection robot to the target node; Step S4: Acquire and calculate the path coordinate set to obtain the total path cost; calculate the total path cost, total potential energy and the Euclidean distance from the current position of the inspection robot to the target node to obtain the cost value; process the cost value, total potential energy and three-dimensional model to obtain the obstacle avoidance path; Step S5: collecting the three-dimensional data of the inspection robot in real time during its operation to obtain second point cloud data; comparing the point cloud data with the second point cloud data to obtain a data variation range; The obstacle avoidance path is corrected according to the data change range to obtain a safe obstacle avoidance route.

2. According to claim 1, an intelligent obstacle avoidance method for an inspection robot, It is characterized in that The workflow of step S1 is as follows: The inspection robot collects data from the inspection environment to obtain the first scan data point T1 (xi, yi, zi) and the second scan data point T2 (xi, yi, zi); The first scan data points and the second scan data points are placed in the same coordinate system, and the scan data points with the same coordinate points in the first scan data points and the second scan data points are combined to obtain scan data records; The steps for scanning data point combination are as follows: The value corresponding to the coordinate point (xi1, yi1, zi1) in the first scan data point is recorded as T1(xi1, yi1, zi1); The value corresponding to the coordinate point (xi2, yi2, zi2) in the second scan data point is recorded as T2(xi2, yi2, zi2); Combine T1(xi1,yi1,zi1) and T2(xi2,yi2,zi2) corresponding to the coordinate point (xi,yi,zi) to form [T1(xi1,yi1,zi1),T2(xi2,yi2,zi2)], recorded as the scan data record Tf(xi,yi,zi); The specific steps for obtaining the scanned data set are as follows: The scan data records of different coordinate points in the coordinate system are combined to obtain {[T1(x1, y1, z1), T2(x1, y1, z1)], [T1(x2, y2, z2), T2(x2, y2, z2)]~[T1(xA, yA, zA), T2(xA, yA, zA)]}, which is recorded as the scan data set Tf(xi, yi, zi); Sum T1(xi1, yi1, zi1) and T2(xi2, yi2, zi2) to get the total value of the data, recorded as TM; ; Where Tt(xi, yi, zi) is the general expression of the scanned data points, and t represents the amount of scanned data; The total data value and the amount of scanned data are calculated to obtain the mean of the scanned data, which is recorded as ; ; Calculate the scan data record and the scan data mean to obtain the scan data observation difference TH; ; For T1(xi1, yi1, zi1), T2(xi2, yi2, zi2) and the mean of the scan data Calculate and obtain the standard deviation TS of the scan data; ; Go to step S2.

3. The intelligent obstacle avoidance method for an inspection robot according to claim 2, It is characterized in that The workflow of step S2 is as follows: The standard deviation of the scan data standard deviation and the scan data observation difference is calculated to obtain the scan data standard score TZ; ; Judge the numerical value of the standard score of the scanned data and determine the interval information of Tt(xi, yi, zi); The judgment process is as follows: If TZ is greater than 2.58, it means that Tt(xi, yi, zi) is higher than the average value and is an abnormal value; if TZ is in the interval (-2.58, 2.58), it means that Tt(xi, yi, zi) is lower than the average value and is a normal value; if TZ is less than -2.58, it means that Tt(xi, yi, zi) is higher than the average value and is an abnormal value; Calculate the scan data standard score and the first threshold TO to obtain a shift coefficient TR; ; The judgment process is as follows: if the deviation coefficient is greater than or equal to 1, it means that the data point deviates greatly from the average value and is an outlier; If the value of the offset coefficient is less than 1, it means that the deviation of the data point from the mean value is small and is not processed; According to the interval information and offset coefficient of Tt(xi, yi, zi), the scan data record Tf(xi, yi, zi) is screened and processed to obtain point cloud data, and then proceed to step S3.

4. The intelligent obstacle avoidance method for an inspection robot according to claim 3, It is characterized in that The workflow of step S3 is as follows: Use the spatial.transform module of the SciPy library in Python to perform point cloud registration on the point cloud data, rotate and translate the point cloud data, and obtain calibrated point cloud data; With the help of the Open3D library in Python and the PyMesh library implemented with high-speed computing hardware, the point cloud data is converted into a three-dimensional surface model using the Delaunay algorithm. The process involves connecting the points scattered in the space with each other using the Delaunay algorithm to form a mesh composed of multiple triangles to obtain a three-dimensional model. According to the three-dimensional model, the target node and the current position of the inspection robot are acquired to obtain the target node position Yd(xi1,yi1,zi1) and the current position of the inspection robot Yd(xie,yie,zie); e represents the cumulative time of the inspection robot from the start of movement; Calculate the target node position and the current position of the inspection robot to obtain the Euclidean distance Ra(xie, yie, zie) from the current position of the inspection robot to the target node; ; The Lennard-Jones theoretical model in physical chemistry is read to obtain the attractive potential weight Qa and the repulsive potential weight Qb; Calculate the attraction potential weight Qa and the Euclidean distance Ra(xie,yie,zie) from the current position of the inspection robot to the target node to obtain the attraction potential Sa(xie,yie,zie); ; Read the three-dimensional model to obtain the obstacle size Ub; Read the three-dimensional model to obtain the distance Db(xie, yie, zie) to the nearest obstacle at the current position of the inspection robot; The obstacle size Ub, the repulsion potential weight Qb, and the distance Db(xie, yie, zie) to the nearest obstacle at the current position of the inspection robot are calculated to obtain the repulsion potential Sb(xie, yie, zie); ; Calculate the attractive potential Sa(xie,yie,zie) and the repulsive potential Sb(xie,yie,zie) to obtain the total potential energy S(xie,yie,zie); Go to step S4.

5. The intelligent obstacle avoidance method for an inspection robot according to claim 4, It is characterized in that The workflow of step S4 is as follows: The motion path of the inspection robot is acquired through the database to obtain the path coordinate set S; The data stored in the database include the inspection robot's motion path data and the inspection robot's initial position data; The path coordinate set S is expressed as: {We (xi1, yi1, zi1), We (xi2, yi2, zi2), We (xi3, yi3, zi3) ~ Yd (xie, yie, zie)}; Among them, We (xi1, yi1, zi1) is the initial position; Calculate the two variables in the path coordinate set to get the actual cost between the two coordinate points; The actual cost between two coordinate points is as follows: Calculate We(xi1,yi1,zi1) and We(xi2,yi2,zi2) to get the actual cost W{We(xi1,yi1,zi1),We(xi2,yi2,zi2)} between the two coordinate points; ; Taking the initial position as the starting point, the actual cost between two adjacent coordinate points in the path coordinate set is calculated to obtain the total path cost W (xie, yie, zie); ; Among them, We (xim, yim, zim) is the path coordinate point corresponding to the time point before e, m is the first adjacent coordinate point in the path coordinate set, m+1 is the second adjacent coordinate point, and the value range of m is 1 to e; Calculate the total path cost W (xie, yie, zie), the Euclidean distance Ra (xie, yie, zie) from the current position of the inspection robot to the target node, and the total potential energy S (xie, yie, zie) to obtain the cost value F (xie, yie, zie); ; The Matplotlib tool is used in combination with the APFA algorithm to process the cost value F (xie, yie, zie), the total potential energy S (xie, yie, zie) and the three-dimensional model to obtain the obstacle avoidance path.

6. The intelligent obstacle avoidance method for an inspection robot according to claim 1, It is characterized in that The workflow of step S5 is as follows: The laser pulse is emitted, and the time between the emission of the laser pulse and the reception of the pulse is recorded by a timer to obtain the round trip time Hct of the second pulse; The sensor is used to obtain the angle information of the laser beam emission and reception, and obtain the second azimuth angle Hat and the second pitch angle Het; Calculate the light speed c and the pulse round trip time to obtain the second physical distance Hdt; ; Calculate the second physical object distance, the second azimuth angle and the second pitch angle to obtain a second three-dimensional scanning data point Ht (xi, yi, zi); ; ; ; Perform a traversal scan of the surrounding environment to obtain second point cloud data; The second point cloud data is expressed in the form of [Ht(x1, y1, z1), Ht(x2, y2, z2), Ht(x3, y3, z3)~Ht(xHm, yHm, zHm)]; Performing point cloud registration and three-dimensional reconstruction on the second point cloud data to obtain a second three-dimensional model; Using point cloud registration technology, the point cloud data and the second point cloud data are placed in the same reference coordinate system to obtain the data variation range; If the data change range is none, continue to execute the obstacle avoidance path; If the data change range exists, obtain the safe obstacle avoidance path.

7. The intelligent obstacle avoidance method for an inspection robot according to claim 6, It is characterized in that The workflow of the safe obstacle avoidance path is as follows: Read the data change range to obtain the change point cloud data; Performing three-dimensional reconstruction on the changed point cloud data to obtain a second three-dimensional model; Using sensors, the global coordinates of the inspection robot are acquired to obtain the current coordinates Pe1 (xie1, yie1, zie1) and the moving speed Pv; The inspection robot status is acquired through the database, and the robot reaction time Rt and the robot maximum acceleration Pa are obtained; The second three-dimensional model is read, and the coordinates of the first obstacle in the moving direction of the inspection robot are obtained to obtain the first obstacle coordinates Pz1 (xiz1, yiz1, ziz1); Obtain the current coordinate Pe1 (xie1, yie1, zie1) and the first obstacle coordinate Pz1 (xiz1, yiz1, ziz1) to obtain the first obstacle distance Pdz1; ; The moving speed Pv, the robot reaction time Rt and the robot maximum acceleration Pa are calculated to obtain the robot safety distance Pda; ; Compare the robot's safety distance Pda and the first obstacle distance Pdz1 to obtain the patrol status; The patrol status is as follows: If the robot safety distance Pda ≥ the first obstacle distance Pdz1, the inspection robot needs to issue an early warning and obtain a safe obstacle avoidance path; If the robot safety distance Pda is less than the first obstacle distance Pdz1, the inspection robot continues to move forward; According to the three-dimensional change model, the second total potential energy and the second cost value are obtained; The Matplotlib tool is used in combination with the APFA algorithm to process the second cost value, the second total potential energy Uc and the second three-dimensional model to obtain a safe obstacle avoidance path.

8. An intelligent obstacle avoidance system for an inspection robot, applicable to the intelligent obstacle avoidance method for an inspection robot as claimed in any one of claims 1 to 7, It is characterized in that The obstacle avoidance system includes an acquisition module, a data processing module, a dynamic data verification module, and an obstacle avoidance path acquisition module: Acquisition module: collects the inspection environment of the inspection robot to obtain the first scanning data points and the second scanning data points; obtains the motion path of the inspection robot to obtain the path coordinate set S; collects three-dimensional data of the second target entity to obtain the second point cloud data; Obtain the global coordinates of the inspection robot to obtain the current coordinates Pe1 (xie1, yie1, zie1) and moving speed Pv; Obtain the status of the inspection robot and obtain the robot reaction time Rt and the robot maximum acceleration Pa; Data processing module: acquires scanning data records and scanning data volume according to the first scanning data points and the second scanning data points; The scan data volume and the scan data record are calculated respectively to obtain the scan data standard deviation and the scan data observation difference; The observed difference of the scan data and the standard deviation of the scan data are calculated to obtain the standard score TZ of the scan data; the standard score of the scan data is screened to obtain the point cloud data; Dynamic data verification module: compares the point cloud data with the second point cloud data to obtain the data change range; corrects the obstacle avoidance path according to the data change range to obtain a safe obstacle avoidance route; Obstacle avoidance path acquisition module: performs point cloud registration and 3D reconstruction on point cloud data to obtain a 3D model; Read the three-dimensional model to obtain the Euclidean distance and total potential energy from the current position of the inspection robot to the target node; The path coordinate set is obtained and calculated to obtain the total path cost; the total path cost, total potential energy and the Euclidean distance from the current position of the inspection robot to the target node are calculated to obtain the cost value; the cost value, total potential energy Uc and the three-dimensional model are processed to obtain the obstacle avoidance path.

Citation Information

Cited By

  • Robot obstacle avoidance inspection system based on visual monitoring

    CN119596952A