Autonomous operation method of mobile robot

By integrating the navigation strategy of teaching path following, restricted area/virtual wall identification and full-coverage path planning, the problem of path planning and obstacle handling of mobile robots in complex environments is solved, and efficient and accurate navigation and task execution are achieved, improving improve safety and work efficiency.

CN118689218AActive Publication Date: 2024-09-24HARBIN INST OF TECH AT WEIHAI

Patent Information

Application Number
CN202410710404.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-03
Publication Date
2024-09-24
Estimated Expiration
2044-06-03

AI Technical Summary

Technical Problem

Existing mobile robot path planning technology is difficult to deal with temporary obstacles, restricted areas/virtual walls, and specific areas in complex environments. Moreover, the accuracy of walking along the edge is low and it is unable to dynamically adapt to environmental changes.

Method used

Adopting a navigation strategy that integrates taught path following, restricted area/virtual wall identification and full coverage path planning, combined with high-performance software and hardware platforms, an intelligent automated navigation system is designed to follow the taught path by adjusting speed and steering angle in real time to identify and avoid Drive through obstacles and perform precise control on the boundaries.

Benefits of technology

It achieves efficient and accurate path planning and obstacle avoidance in complex environments, improves the robot's autonomous navigation capabilities and task execution efficiency in complex environments, ensures safety and operating efficiency, and reduces manual intervention and resource waste.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118689218A
    Figure CN118689218A
Patent Text Reader

Abstract

The invention relates to an autonomous operation method for a mobile robot, and solves the technical problem that the path planning and moving process of an existing mobile robot is difficult to effectively deal with complex environments such as temporarily appearing obstacles, forbidden zones / virtual walls and specific areas which must be covered. The method comprises the following steps: firstly, determining a teaching path, secondly, calling a pre-stored teaching path by a controller, controlling a mobile robot to walk according to the teaching path, secondly, acquiring an actual position of the robot in the walking process of the mobile robot, comparing the actual position with a preset position of the teaching path in real time, calculating an error signal, and finally, outputting the error signal. And then the speed and the steering angle of the robot are adjusted according to the error signal, so that the robot accurately follows the teaching path, and obstacle avoidance is implemented when the robot encounters an obstacle in the process of executing the teaching path.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of mobile robots, and in particular to an autonomous operation method of a mobile robot. Background Art

[0002] With the increasing maturity and popularity of robotics technology, mobile robots are playing an increasingly important role in manufacturing, warehousing and logistics, public services, home services, etc. However, in a complex and changing environment, how to achieve efficient path planning, safe obstacle avoidance, and precise task execution is the research direction of technicians in this field.

[0003] Existing mobile robot path planning technologies are often limited to static environments and simple path planning strategies, and are difficult to deal with uncertainties in complex environments, such as temporary obstacles, restricted areas / virtual wall areas that require special treatment, and specific areas that must be covered. In addition, when performing edge walking tasks, existing mobile robots are unable to accurately perceive boundaries or dynamically adapt to boundary changes, which affects the task completion effect. Summary of the invention

[0004] The present invention is intended to solve the technical problems that the existing mobile robot path planning and movement process is difficult to effectively cope with complex environments such as temporary obstacles, restricted areas / virtual walls, specific areas that must be covered, and the walking accuracy along the edges is low. This invention provides a mobile robot autonomous operation method that can effectively and safely cope with complex environments such as temporary obstacles, restricted areas / virtual walls, specific areas that must be covered, etc.

[0005] The present invention proposes a comprehensive solution that integrates teaching path following, restricted area / virtual wall recognition, full coverage path planning, and navigation strategy under edge control to adapt to the diversity and complexity of the environment. This solution makes full use of high-performance software and hardware platforms to design a highly intelligent and automated mobile robot navigation system, aiming to improve the autonomous navigation capability and task execution efficiency of mobile robots in complex environments, while also ensuring their safety in driving in complex environments.

[0006] The present invention provides a mobile robot autonomous operation method, comprising the following steps:

[0007] Step 1, determine the teaching path;

[0008] Step 2: The controller of the mobile robot calls the pre-stored teaching path and controls the mobile robot to walk according to the teaching path;

[0009] Step 3, during the walking process of the mobile robot, the actual position of the robot is obtained, the actual position is compared with the preset position of the teaching path in real time, and an error signal is calculated;

[0010] Step 4: adjust the speed and steering angle of the robot according to the error signal so that the robot can accurately follow the teaching path;

[0011] Step 5: When the robot encounters an obstacle while executing the taught path, it implements obstacle avoidance.

[0012] Preferably, after the teaching path is determined in step 1 of the first step, a restricted area and a virtual wall are set;

[0013] Construct a map, which includes a static layer, an obstacle layer, an expansion layer, and a virtual wall layer. The expansion layer is obtained by expanding the static layer and the obstacle layer. The process of forming the expansion layer is:

[0014] Define the minimum distance required for the robot to operate safely as D_min, and the maximum distance threshold as D_max; establish a collision index P, P = 255 × (1-(d-D_min) / (D_max-D_min)), where d is the distance between the actual obstacle and the robot, when d = D_min, P is equal to 255, when d = D_max, P is equal to 0, when d < D_min or d > D_max, P is between 0 and 255; calculate the expansion radius R, R = r + k × P, where k is the adjustment coefficient and r is the basic expansion radius; increase the original size of the static layer and the obstacle layer by R;

[0015] Set up a new layer and customize the addition of restricted areas or virtual wall areas to the new layer through service communication;

[0016] In step 2 of the first step mentioned above, the robot avoids restricted areas or virtual walls while walking along the taught path, adopts a sliding window algorithm, sets the window size and step length, extracts path segments and restricted area information within the window at each time point, or extracts path segments and virtual walls within the window, and calculates the optimal path from the current position to the end of the window within the window through the path planning algorithm.

[0017] Preferably, in step 1 of the first step, under the control of the user, the mobile robot is operated to traverse the expected path; during the teaching process, the mobile robot collects a series of continuous path point data sets through sensors, and generates a teaching path according to the series of continuous path point data sets; the teaching path is denoised by digital filtering, and then smoothed; the smoothing process interpolates the path points through a cubic Bezier curve to generate a smooth continuous path, and the cubic Bezier curve requires 4 control points, namely P0, P1, P2, and P3, and the equation of the cubic Bezier curve is defined as follows:

[0018] B(t)=(1-t) 3 P0+3t(1-t) 2 P1+3t2 (1-t)P2+t 3 P3,0≤t≤1.

[0020] Preferably, the teaching path is generated by a full coverage path planning algorithm according to a series of continuous path point data sets, and the specific process is:

[0021] First, a map is constructed, which includes a static layer, an obstacle layer, and an expansion layer. The map has passable areas and obstacles. Next, the entire area covered by the map is divided into several grids through a rasterization method to form a grid map. Each grid is marked as passable, obstacle, or unknown.

[0022] Secondly, determine the starting point, use the Canny edge detection algorithm to identify the edges and corners of the grid map, and select safe edges and corners with enough space to allow the robot to navigate from the identified edges and corners. The specific process is to convert the grid map into an 8-bit single-channel image, use the Canny edge detection algorithm to identify the edges of the grid map, convert the grid map into a 32-bit floating-point image, and then use the Harris corner detection algorithm to identify the corners. After detecting the edges and corners of the grid map, select safe edges and corners with enough space to allow the robot to navigate.

[0023] Then, a path is generated through a full coverage path planning algorithm to cover the traversable area. For the case where the grid map belongs to a regular area, the path is zigzag; for the case where the grid map belongs to an irregular area, the path is in the shape of a U-shaped ...

[0024] Preferably, in step 5, when the robot encounters an obstacle, the robot stays at the original position for a period of time Z. If the obstacle disappears, the robot continues to walk along the preset path. If the obstacle still does not disappear, the robot avoids the obstacle through point-to-point navigation and continues to walk along the preset path.

[0025] Preferably, when the robot is walking along the taught path, the current path point is recorded when the robot is paused, and all path points of the taught path are updated after the robot is pushed away. If the robot is near the path point recorded when paused, the path points of the taught path continue to be executed.

[0026] Preferably, when the robot does not move according to the taught path, the robot is moved along the wall, and the specific process is:

[0027] A single-line laser radar is set on the robot to collect data points. The coverage range of the single-line laser radar is 220 degrees, and the data output of the single-line laser radar is divided into the front area, the left area, and the right area;

[0028] The single-line laser radar detects the front distance Front, the side distance Left, and the side distance Right;

[0029] When the robot moves along the wall, the maximum angular velocity of the robot is w_max, the target value of the lateral distance is Mb, the difference between the lateral distance and the target value Mb is Dd, the difference Dd≤1, and when Dd>1, it is normalized to 1; the reference distance is set to K1, and the coefficient coff is defined, coff=Front / K1; when the wall is on the right side of the robot, the angular velocity ω=Dd*w_max, and the forward speed V=Vmax; when the wall is on the left side of the robot, the angular velocity ω=-Dd*w_max, and the forward speed V=Vmax; if the forward distance Front is less than the too close judgment threshold M, the angular velocity ω=w_max, and the forward speed V=Vmax*coff*0.1; when Dd>2*Mb, the forward speed V=Vmax, the angular velocity ω=Dd*w_max when the wall is on the right side of the robot, and ω=-Dd*w_max when the wall is on the left side of the robot.

[0030] Preferably, the data of the single-line laser radar is divided into the front area, the left area and the right area, which are indicated in the visualization tool: (1) The laser scanning point is i, and the distance corresponding to the scanning point i is L i , L i is the distance from the scanning point i to the origin of the robot coordinate system, the scanning angle of the laser scanning point is α, the laser base offset is p, and the coordinates of the laser scanning point x = L i *cos(α)+p,y=L i *sin(α); (2) Set the front length to f, define half of the robot width to j, define j plus the margin to g, and define L i The minimum value is e, where e is the known nearest front distance. If x>f and |y|<g and (xf)<e, then the front point is set and the coordinates of the front point are (x, y); (3) When the robot navigation direction is right, Ci is the horizontal distance of the scanning point i relative to the center of the robot, side=Ci+j, side is the known nearest side distance side, if x<f and y<-j and (-yj)<side, then the side point is set and the coordinates of the side point are (x, y); (4) When the robot navigation direction is left, if x<f and y>j and (-yj)<side, then the side point is set and the coordinates of the side point are (x, y).

[0031] Preferably, when the robot is moving straight without moving along the wall, when encountering an obstacle in front, when Front ≥ K1, the robot travels at the maximum speed Vmax; when Front < K1, the robot's forward speed V = Vmax*coff; when the front distance Front is less than the too close judgment threshold M or Dd > 2×Mb, the robot's forward speed V is set to Vmax*coff*0.1.

[0032] The beneficial effects of the present invention are as follows: the path planning and robot movement process can effectively and safely deal with complex environments such as temporary obstacles, restricted areas / virtual walls, and specific areas that must be covered. The path planning can be performed efficiently and accurately, the teaching path can be executed accurately, and obstacle avoidance can be achieved safely. The robot can walk along the edge at a precise time, accurately sense the boundary or dynamically adapt to boundary changes to ensure the completion of the task. The robot's operating efficiency is improved, and the autonomous operation of the mobile robot is realized.

[0033] The present invention proposes a comprehensive solution that integrates teaching path following, restricted area / virtual wall recognition, full coverage path planning, and navigation strategy under edge control to adapt to the diversity and complexity of the environment. The combination of teaching path following and restricted area setting provides high adaptability to complex environments. The robot is able to learn and copy the path set by the operator through teaching, while being able to identify and avoid preset restricted areas. This enables the robot to operate effectively in an environment full of obstacles, avoiding damage or entering sensitive areas, thereby improving its practicality and safety in various industrial and commercial environments. Full coverage path planning enables the robot to automatically cover every accessible point in a specified area without human intervention, thereby significantly improving work efficiency. This is particularly useful in situations where frequent or regular cleaning, inspections or material handling are required, such as warehouses, factories or large public areas. Full coverage path planning ensures thoroughness of the operation and reduces duplication of work and omissions. The edge control function allows the robot to move precisely along the edge of the area, which is essential for tasks such as cleaning edge areas, mowing lawn borders or performing crop border processing in agricultural applications. This function ensures high accuracy and consistency of the robot when performing boundary-related tasks, reducing the need for manual adjustment and intervention.

[0034] The path planning and control system provided by the present invention is highly flexible and customizable and can be adjusted according to specific application requirements. Users can directly set the robot's working path through teaching methods, and can also preset restricted areas and boundaries, making the system suitable for a variety of different operating environments and task requirements. This is particularly important for rapidly changing industrial production environments or service industries.

[0035] By reducing reliance on manual operations and improving operational efficiency, the present invention can significantly reduce long-term operating costs. The efficient and precise automatic operation of the robot reduces resource waste and potential error costs while improving asset utilization.

[0036] Further features and aspects of the present invention will be clearly described in the following description of specific embodiments with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 A flow chart of the autonomous operation method of a mobile robot according to the present invention;

[0038] Figure 2 A flow chart of the teaching path following method provided by the present invention;

[0039] Figure 3 A teaching path map generated under user control;

[0040] Figure 4 To set the robot to start the path following mode, read the previously stored teaching path map;

[0041] Figure 5 This is the decision diagram of the robot that encounters obstacles during the teaching process;

[0042] Figure 6 A flow chart of a method for planning a prohibited area for a mobile robot;

[0043] Figure 7 Generate the process of no-go zone and the detour map of mobile robot;

[0044] Figure 8 Flowchart of the robot's full coverage path planning strategy;

[0045] Fig. 9 A zigzag full coverage path map generated for the robot in a specified area;

[0046] Fig.10 Generate a fully covered U-shaped path map for the robot in the specified area;

[0047] Fig.11 A U-shaped full coverage path graph generated by dividing a designated area into completely separated non-connected areas by virtual walls;

[0048] Fig.12 Flowchart for edge control / 1D navigation of mobile robot

[0049] Fig.13 Schematic diagram of the sensor perception area of ​​the mobile robot;

[0050] Fig.14 The distance corresponding to the laser radar scanning point i on the robot is Li ,Schematic diagram of Ci,side;

[0051] Fig.15 This is a flow chart of the robot moving forward to avoid collision with obstacles ahead;

[0052] Fig.16 It is a flow chart of the robot's turning process along the edge;

[0053] Fig.17 It is a flowchart of the expansion of the static layer and obstacle layer of the map;

[0054] Fig.18 It is a flowchart in which the lidar data is divided into three sensing areas and marked in the visualization tool by auxiliary lines;

[0055] Fig.19 It is a flowchart for identifying the edges and corners of a raster map and selecting appropriate edges or corners as starting points.

[0056] Explanation of symbols in the figure:

[0057] 1. Robot, 2. LiDAR, 2-1. Scanning area. DETAILED DESCRIPTION

[0058] The present invention will be further described in detail below with reference to the accompanying drawings by way of specific embodiments.

[0059] The mobile robot involved in the present invention has a laser radar and a camera, or other commonly used sensors.

[0060] Normally, the user controls the mobile robot to walk along the expected path through a handheld teaching pendant (teaching process). During the walking process, a series of continuous path point data sets are obtained through sensors (each path point data set contains information such as position, posture, environment, etc.), and then the teaching path is generated based on a series of continuous path point data sets. The teaching path data is stored in the storage module for easy call by the controller.

[0061] like Figure 1 As shown, the mobile robot autonomous operation method mainly includes the teaching path following method, the navigation strategy based on the restricted area and virtual wall, the full coverage path planning strategy, and the edge control / 1D navigation.

[0062] refer to Figure 2 , the teaching path following method includes the following steps:

[0063] Step 1: Determine the teaching path.

[0064] Under the control of the user, the mobile robot is operated to traverse the expected path; during the teaching process, the mobile robot collects continuous position, posture and environmental information through sensors, records and converts them into a series of continuous path point data sets in real time, and generates a teaching path based on a series of continuous path point data sets; the teaching path is optimized as necessary, including denoising and smoothing to better adapt to the robot's kinematic characteristics, and the optimized teaching path is stored in the storage module of the mobile robot for subsequent calls.

[0065] The denoising process is carried out using digital filtering to eliminate the noise introduced during the path recording process due to sensor errors, external interference or unstable operation, effectively smooth the path data, and reduce mutation points, so that the path is more consistent with the actual motion trajectory.

[0066] The smoothing process interpolates the path points through the Bezier curve to generate a smooth continuous path, which helps to adjust the shape of the path to make it more suitable for the kinematic characteristics of the robot. Using a cubic Bezier curve, 4 control points are required, namely P0 (starting point), P1, P2, and P3 (end point). The curve is defined by the following parametric equation:

[0067] B(t)=(1-t) 3 P0+3t(1-t) 2 P1+3t 2 (1-t)P2+t 3 P3,0≤t≤1

[0068] In the parametric equation, t is a parameter from 0 to 1. By changing the value of t, any point on the curve can be calculated. By gradually calculating B(t) in the process of t changing from 0 to 1, a series of smooth and continuous path points from the starting point to the end point can be obtained. The change of the control parameter t can be adjusted according to the needs of the path. The smaller the step size, the denser the generated path points and the smoother the curve. In practice, it is necessary to connect multiple Bezier curves to approximate the entire path. To ensure continuity, the first-order derivatives of two adjacent Bezier curves at the connection point can be made the same to ensure that the curve transitions smoothly at these points. At the same time, the robot's kinematic characteristics should also be considered. The robot's kinematic model is used to evaluate whether the optimized path meets the robot's motion constraints. If necessary, the spacing and angles between the path points are adjusted, and the intermediate points are introduced to ensure that the robot can move safely and effectively along the path. The optimized path data is stored in the robot storage module in an efficient and compact format to minimize the storage space and speed up the reading speed. The binary format is selected to store in a data format suitable for the robot system, and the path information such as position, posture, and speed is stored in the robot's storage module.

[0069] Step 2: The controller of the mobile robot calls the pre-stored teaching path and controls the mobile robot to walk according to the teaching path.

[0070] No matter where the robot's initial position is, it needs to be able to reach the starting point of the taught path to be executed. In this case, point-to-point navigation is used to achieve this.

[0071] When the robot is walking along the taught path, it can return to the pause point and continue to perform the task after being pushed away after being paused. The current path point is recorded when the robot is paused, and all path points of the taught path are updated after the robot is pushed away. If the robot is near the path point recorded when it was paused (the definition of "near" can be set according to actual conditions, with the position of the robot when it was paused as the center of the circle and the tolerance radius forming a circle), it can continue to execute the path point of the taught path.

[0072] Step 3, during the walking process of the mobile robot, the actual position of the robot is obtained, the actual position is compared with the preset position of the teaching path in real time, and an error signal is calculated;

[0073] Step 4: Adjust the speed and steering angle of the robot according to the error signal so that the robot can accurately follow the taught path.

[0074] Step 5: When the robot encounters an obstacle while executing the teaching path, it implements obstacle avoidance. When the robot encounters an obstacle, it is controlled to stay at the original position for a period of time Z (for example, 5 seconds). After a period of time Z, if the obstacle disappears, it continues to walk along the preset path. If the obstacle still does not disappear, it avoids the obstacle through point-to-point navigation and continues to walk along the preset path.

[0075] After the teaching path is determined in the above step 1, the restricted area and virtual wall can be set.

[0076] The map is constructed through the rviz platform of the robot control system ROS. The map includes static layer, obstacle layer, expansion layer and virtual wall layer. The static layer is the basis, providing the length and resolution of the entire map. The obstacle layer is an obstacle that is updated in real time based on the information collected by the sensor.

[0077] Add different cost information (0-255) to the static layer and obstacle layer to "expand" their original size to obtain the expansion layer. The specific process can be:

[0078] Define the distance threshold. The minimum distance required for the robot to operate safely is D_min, and the maximum distance threshold is D_max.

[0079] Establish a collision index P, P = 255 × (1-(d-D_min) / (D_max-D_min)), where d is the distance between the actual obstacle and the robot, when d = D_min, P is equal to 255, when d = D_max, P is equal to 0, when d < D_min or d > D_max, P is between 0 and 255; the collision index is a linear mapping function;

[0080] Calculate the expansion radius R, R = r + k × P, where k is the adjustment coefficient, and the size of k is set according to actual needs; r is the basic expansion radius, and the specific value is determined according to the size of the robot.

[0081] Increase the original size of static layers and obstacle layers by R.

[0082] Generate prohibited area information through service communication. This work is carried out on the basis of navigation. Rewrite the map boundary update and cost setting as well as the function logic for clearing and modifying prohibited areas. Rewriting the map boundary update and cost setting is to set a new map layer according to the incoming information and set its cost value to the highest. Specifically, set a new layer, and add a restricted area or virtual wall area to the new layer through service communication custom srv. The restricted area can be any shape (the shape of the restricted area is determined by the number of manually entered points), and set the geometric shape corresponding to the restricted area to a specific cost value, and the cost value is set to a maximum of 255.

[0083] Create a new map layer and set virtual walls on the new map layer.

[0084] After setting the restricted area or virtual wall, in the above step 2, the robot will avoid the restricted area or virtual wall while walking along the taught path. In order to achieve good real-time and fast performance, the sliding window algorithm is used to set the window size and step size, extract the path segment and restricted area or virtual wall information in the window at each time point, and calculate the optimal path from the current position to the end of the window in the window through the path planning algorithm, while avoiding the restricted area or virtual wall.

[0085] The robot moves according to the planned teaching path. Every time the robot moves to a new position, the sliding window is updated and the optimal path is calculated within the window.

[0086] In the process of determining the teaching path in the aforementioned step 1, the teaching path can be generated by a complete coverage path planning algorithm (CCPP) according to a series of continuous path point data sets. The specific process is as follows:

[0087] First, a map is constructed through the rviz platform of the robot control system ROS. The map includes a static layer, an obstacle layer, and an expansion layer. The map has passable areas and obstacles. Next, the entire area covered by the map is divided into several grids through the rasterization method to form a grid map. Each grid can be marked as "passable", "obstacle" or "unknown" to indicate whether the robot can pass. This refinement and marking method helps the path planning algorithm to more accurately identify and avoid obstacles, thereby achieving a safe and efficient coverage path.

[0088] Secondly, determine the starting point. Choosing a suitable starting point is crucial to improving path efficiency and reducing completion time. The ideal starting point should be located at the edge or corner of the environment, especially in a rectangular or regularly shaped area, which can maximize the distance of straight-line travel and reduce the need for turning and adjusting directions. The Canny edge detection algorithm is used to identify the edges and corners of the grid map, and the safe edges or corners with enough space to allow the robot to navigate are screened from the identified edges and corners. Fig.19 ,The specific process is to convert the raster map into an 8-bit single-channel image to meet the input requirements of Canny edge detection, and use the Canny edge detection algorithm to identify the edges of the raster map, and the edge image can be displayed using Matplotlib; to detect the corner points of the raster map, the raster map is first converted into a 32-bit floating-point type image, and the Harris corner detection algorithm is used to set the corner area size, the aperture coefficient and the free parameters in the Harris corner detection equation, and finally return the corner detection result image, where each pixel value represents the corner response value at that position, and the corner position is determined by comparing the corner response value with the threshold value (1% of the maximum response value), and the points with response values ​​greater than the threshold value are marked as corner points, and then the Harris focus detection is applied to the raster map to obtain the corner image, and the corner display result is also displayed using Matplotlib. After detecting the edges and corners of the grid map, we filter out safe edges and corners with enough space for the robot to navigate. First, we check whether the area around the given position is safe. We calculate the boundaries around the position to ensure that the boundaries do not exceed the map range and then traverse the area. If any grid value is 1, that is, there is an obstacle, False is returned to indicate that the area is unsafe. Otherwise, True is returned to indicate that the area is safe. Then, we filter out safe edges and corners from the edges and corners and store them separately. For edge detection results, if the edge point at the position has a value of 255 and the area around the position is safe, it is added to the safe edge point list; for corner point detection results, if the position is a corner point and the area around the position is safe, it is added to the safe corner point list. Finally, the coordinate positions of the safe edge and corner points are obtained.

[0089] Then, one or more paths are generated through the full coverage path planning algorithm (CCPP) to cover the traversable area. Assuming that the constructed map is a grid map of 5cm grid, there are two types of area situations. The first is a relatively regular area, assuming it is a rectangle. Assuming that the zigzag coverage effect is better for regular areas, if the zigzag is used to cover the vertical direction of the original grid map to search, the coverage path of such an angle rectangle must be incomplete, so if it is a zigzag, it is necessary to find the long side of the map to rotate it, and then make a resolution subdivision after rotation. Since what is actually covered is not the small grid of each map, but the body model of the robot, for drones, it is the width of the spray gun used for irrigation, and for sweeping robots, it is the width of the row brush. Use a larger resolution to divide the normalized area and then connect it with a certain planned path. When encountering an obstacle, record the grids that have been walked before and then find the uncovered grids. Then interrupt the previous path and search again from a new starting point and search in the zigzag shape as before. If an obstacle is encountered again, search in a similar way so that the zigzag path becomes several paths. The breakpoints can be navigated by point-to-point navigation. The rough search path is directly searched based on a large-scale grid, which is not enough for control. Next, some fitting can be done based on this rough path to make it a smoother curve as the control path. The curve is smoothed using a cubic Bezier curve.

[0090] The second type is irregular areas, such as circular areas, which are more suitable for U-shaped coverage. For irregular areas, the geometric simplification and reconstruction of the area is used to convert it into a regular area, and then a full coverage path planning algorithm is performed. First, it is necessary to obtain accurate area boundary information and then use geometric technology to analyze the shape features, identify key geometric features such as corner points, boundary lines, etc., and adopt a rotation strategy based on the geometric center of the area. The main direction of the area is calculated and then the entire area is rotated around the center point so that the main axis is perpendicular to the horizontal line. The rotated area is then reconstructed into a regular shape to create a uniform grid network covering the entire area, and each grid unit represents a regular sub-area.

[0091] The controller calls the pre-stored teaching path obtained by the full coverage path planning algorithm, and controls the mobile robot to walk along the teaching path. The teaching path consists of several consecutive segments, each of which corresponds to a movement instruction or a series of instructions of the robot. The robot starts to execute the path at the planned starting point and moves step by step according to the path planning. The path planning takes into account the need to cover the entire target area. Therefore, during the execution process, the robot will pass through all areas one by one according to the planned path to ensure that every passable point is covered. When the robot has covered all blocks, it will reach the end position according to the path planning, and the entire area is completely covered.

[0092] In the process of generating the teaching path through the full coverage path planning algorithm (CCPP) mentioned above, obstacles outside the coverage area are not considered. Due to the existence of obstacles, the connectivity of the grid map is first analyzed using a graph algorithm. The entire area is divided into several connected sub-areas based on whether the obstacles run through the entire area. Each sub-area is separated by obstacles to form an independent coverage task area. Two or more paths are planned for each sub-area. If there is an obstacle, it means that there is an obstacle in the full coverage area. Then, each connected sub-area is independently planned for the path. Secondly, according to the shape and position of each sub-area, a zigzag coverage or a round-shaped coverage is used to generate a full coverage path. When the robot is executing the teaching path, the robot executes the path of each sub-area one by one. Then, point-to-point navigation is used to connect these sub-areas to ensure that the robot can traverse all connected sub-areas.

[0093] Example 2

[0094] This embodiment discloses a method for planning edge control of a mobile robot, which allows the robot to move directly along a wall or obstacle without relying on a pre-planned teaching path. The method mainly includes the following steps:

[0095] A single-line laser radar is set up on the robot and used for data point collection. The coverage range of the single-line laser radar is 220 degrees. The radar can provide high-precision distance measurement and cover most of the area in front and on the sides of the robot. Fig.13 The data output of the LiDAR is divided into three main perception areas (i.e., the front area, the left area, and the right area). Fig.13 , these areas are visualized by auxiliary lines in the RV z, these three areas correspond to the front and sides of the robot respectively, which are used to accurately control the position of the robot relative to the wall or obstacle. The specific process of the lidar data being divided into three perception areas and marked in the visualization tool through auxiliary lines can be: first set the timestamp of the lidar mark to ensure synchronization, specify the mark type as a point set and set the action to add points, that is, add these points to the visualization, and then set the point size (the point size can be 0.2); secondly, process the lidar data, refer to Fig.14 and 18 , (1) During the processing, each scanning point is converted into a Cartesian coordinate system according to its distance and corresponding angle. The laser scanning point is i, and the distance corresponding to the scanning point i is L i , L i is the distance from the scanning point i to the origin of the robot coordinate system, the scanning angle of the laser scanning point is α, the laser base offset is p (p is a constant), and the coordinates of the laser scanning point x = L i *cos(α)+p,y=Li *sin(α); (2) Set the front length to f (this length is an artificial length used to determine whether the obstacle scanned by the laser radar is in front of the robot), define half of the robot width as j, define j plus the margin as g, the margin is the additional safety distance, g is a comprehensive consideration of the robot body and the safety distance to ensure that the considered laser point will not be too close to the side of the robot, define L i The minimum value is e, where e is the known nearest front distance. If x>f and |y|<g and (xf)<e, then the front point is set and the coordinates of the front point are (x, y); (3) When the robot navigation direction is right, Ci is the horizontal distance of the scanning point i relative to the center of the robot, and the nearest side distance is known to be side, side=Ci+j. If x<f and y<-j and (-yj)<side, then the side point is set and the coordinates of the side point are (x, y); (4) When the robot navigation direction is left, if x<f and y>j and (-yj)<side, then the side point is set and the coordinates of the side point are (x, y).

[0096] The single-line LiDAR detects the forward distance and two lateral distances. The lateral distance refers to the lateral distance between the robot and the wall. For example, for the wall on the right, it is calculated based on the LiDAR data on the right.

[0097] According to the forward distance (Front) and two lateral distances (Left, Right) sensed by the single-line laser radar, the controller calculates the required longitudinal (forward speed) and lateral (steering angle) control quantities, which can be achieved through the conventional control algorithm (P link in PID control), adjusting the angular velocity according to the lateral distance deviation and adjusting the forward speed according to the forward distance deviation to maintain an appropriate distance from the wall. The robot adjusts its motion strategy based on real-time data. For example, when encountering a corner or approaching a wall, the system needs to increase the lateral distance or change the forward direction to adapt to environmental changes and avoid collisions. When the robot's lateral distance (Left or Right) is greater than the target value Mb, the system adjusts its rotation in the opposite direction of the obstacle to reduce the distance. Conversely, if the lateral distance (Left or Right) is less than the target value Mb, the system adjusts the robot to turn in the positive direction of the obstacle to increase the distance. The control algorithm adopts an adaptive steering following strategy: when the distance in front of the robot is safe, the system allows the robot to move forward at a higher speed; refer to Fig.15, set the reference distance to K1, define the coefficient coff, coff = Front / K1, when Front ≥ K1, the robot travels at the maximum speed Vmax; when Front < K1, the robot's forward speed V will slow down, forward speed V = Vmax*coff; when the robot detects that the front distance Front is less than the too close judgment threshold M, it is considered that the robot is too close to the front wall, and the robot is controlled to slow down to avoid collision, so that the robot's forward speed V is Vmax*coff*0.1. The condition for the forward speed V to be Vmax*coff*0.1 can also be when Dd>2×Mb.

[0098] When the robot moves along the wall, the robot's maximum angular velocity is w_max, the target value of the lateral distance is Mb, and the difference between the lateral distance (Left or Right) and the target value Mb is Dd. The difference Dd is used to determine whether the robot has deviated from the expected lateral position. The difference Dd is ≤ 1. When Dd> 1, it is normalized to 1. The difference Dd determines whether the robot needs to adjust its direction to the left or right and the degree of adjustment. Fig.16 When the robot is moving along the wall (when the wall is on the right side of the robot, the angular velocity ω=Dd*w_max, and the forward speed V=Vmax; when the wall is on the left side of the robot, the angular velocity ω=-Dd*w_max, and the forward speed V=Vmax), when encountering a corner, if the forward distance Front from the obstacle is less than the too close judgment threshold M, it is considered that a turn is encountered here, and the robot will start to turn and ignore the increase in the lateral distance to allow the robot to bypass the obstacle, that is, the angular velocity ω=w_max, and the forward speed V=Vmax*coff*0.1; when the forward distance Front suddenly increases, that is, when Dd>2*Mb, it is considered that the turn has ended, and the robot is traveling at the maximum speed Vmax (V=Vmax), the angular velocity ω=Dd*w_max when the wall is on the right side of the robot, and ω=-Dd*w_max when the wall is on the left side of the robot.

[0099] It should be noted that a turn may also be determined by the fact that the front distance Front continues to decrease while the lateral distance remains unchanged.

[0100] It can be seen that the above method can integrate algorithms to allow the robot to repeat the taught path, automatically optimize the path and adapt to environmental changes. When encountering a temporary obstacle, the robot will adjust the execution strategy and wait for the obstacle to disappear or automatically adjust the path to avoid the obstacle.

[0101] The robot is highly adaptable to complex environments by setting restricted areas, and is able to identify and avoid preset restricted areas. This allows the robot to operate effectively in environments full of obstacles, avoiding damage or entering sensitive areas, thereby improving its practicality and safety in various industrial and commercial environments.

[0102] Full coverage path planning enables the robot to automatically cover every accessible point in a specified area without human intervention, significantly improving work efficiency. By optimizing path planning, the robot can automatically adjust the coverage strategy (zigzag coverage or zigzag coverage) according to changes in the actual environment. Through multi-sensor fusion and real-time data processing, the robot can dynamically map and update the environment, identify and adapt to new obstacles or environmental changes in real time. This is particularly useful in situations where frequent or regular cleaning, inspections or material handling are required, such as warehouses, factories or large public areas. Full coverage path planning ensures the thoroughness of the operation and reduces duplication of work and omissions.

[0103] The edge control function allows the robot to move precisely along the edge of the area, which is essential for tasks such as cleaning marginal areas, mowing lawn borders, or crop boundary processing in agricultural applications. More accurate environmental perception and boundary detection can be achieved through the fusion of multi-sensor data. This function ensures high accuracy and consistency when the robot performs boundary-related tasks, reducing the need for manual adjustments and intervention.

[0104] The robot has improved its adaptability to the environment through the integration of teaching path following, setting restricted areas / virtual walls, and full coverage paths. The robot can copy the path set by teaching and complete full coverage path planning in the specified area while being able to identify and avoid preset restricted areas. This enables the robot to operate effectively and efficiently in an environment full of obstacles, avoiding damage or entering sensitive areas, thereby improving its practicality and safety in various environments.

[0105] The path planning and control system is highly flexible and customizable, and can be adjusted according to specific application requirements. Users can directly set the robot's working path through teaching, and can also preset restricted areas and boundaries, making the system suitable for a variety of different operating environments and task requirements. This patent not only improves the operating efficiency and safety of the robot in a specific environment, but also provides a cost-effective, easy-to-operate and highly reliable solution through its high customizability and automation functions.

[0106] The above description is only for the preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and changes.

Claims

1. A mobile robot autonomous operation method, characterized in that: The following steps are involved: Step 1, determine the teaching path; Step 2: The controller of the mobile robot calls the pre-stored teaching path and controls the mobile robot to walk according to the teaching path; Step 3, during the walking process of the mobile robot, the actual position of the robot is obtained, the actual position is compared with the preset position of the teaching path in real time, and an error signal is calculated; Step 4: adjust the speed and steering angle of the robot according to the error signal so that the robot can accurately follow the teaching path; Step 5: When the robot encounters an obstacle while executing the taught path, it implements obstacle avoidance.

2. The mobile robot autonomous operation method according to claim 1, characterized in that: After the teaching path is determined in step 1 of the first step, a restricted area and a virtual wall are set; Construct a map, which includes a static layer, an obstacle layer, an expansion layer, and a virtual wall layer. The expansion layer is obtained by expanding the static layer and the obstacle layer. The process of forming the expansion layer is: Define the minimum distance required for the robot to operate safely as D_min, and the maximum distance threshold as D_max; establish a collision index P, P = 255 × (1-(d-D_min) / (D_max-D_min)), where d is the distance between the actual obstacle and the robot, when d = D_min, P is equal to 255, when d = D_max, P is equal to 0, when d < D_min or d > D_max, P is between 0 and 255; calculate the expansion radius R, R = r + k × P, where k is the adjustment coefficient and r is the basic expansion radius; increase the original size of the static layer and the obstacle layer by R; Set up a new layer and customize the addition of restricted areas or virtual wall areas to the new layer through service communication; In step 2 of the first step mentioned above, the robot avoids restricted areas or virtual walls while walking along the taught path, adopts a sliding window algorithm, sets the window size and step length, extracts path segments and restricted area information within the window at each time point, or extracts path segments and virtual walls within the window, and calculates the optimal path from the current position to the end of the window within the window through the path planning algorithm.

3. The mobile robot autonomous operation method according to claim 1, characterized in that: In step 1 of the first step, under the control of a user, the mobile robot is operated to traverse a desired path; During the teaching process, the mobile robot collects a series of continuous waypoint data sets through sensors and generates a teaching path based on the series of continuous waypoint data sets; The teaching path is denoised by digital filtering and then smoothed. The smoothing process interpolates the path points through a cubic Bezier curve to generate a smooth continuous path. The cubic Bezier curve requires four control points, namely P0, P1, P2, and P3. The equation of the cubic Bezier curve is defined as follows: B(t)=(1-t) 3 P0+3t(1-t) 2 P1+3t 2 (1-t)P2+t 3 P3,0≤t≤1。 4. The mobile robot autonomous operation method according to claim 3, characterized in that: The teaching path is generated by a full coverage path planning algorithm based on a series of continuous path point data sets. The specific process is: First, a map is constructed, which includes a static layer, an obstacle layer, and an expansion layer. The map has passable areas and obstacles. Next, the entire area covered by the map is divided into several grids through a rasterization method to form a grid map. Each grid is marked as passable, obstacle, or unknown. Secondly, determine the starting point, use the Canny edge detection algorithm to identify the edges and corners of the grid map, and select safe edges and corners with enough space to allow the robot to navigate from the identified edges and corners. The specific process is to convert the grid map into an 8-bit single-channel image, use the Canny edge detection algorithm to identify the edges of the grid map, convert the grid map into a 32-bit floating-point image, and then use the Harris corner detection algorithm to identify the corners. After detecting the edges and corners of the grid map, select safe edges and corners with enough space to allow the robot to navigate. Then, a path is generated through a full coverage path planning algorithm to cover the traversable area. For the case where the grid map belongs to a regular area, the path is zigzag; for the case where the grid map belongs to an irregular area, the path is in the shape of a U-shaped ...

5. The mobile robot autonomous operation method according to claim 4, characterized in that: In step 5, when the robot encounters an obstacle, the robot stays at the original position for a period of time Z. If the obstacle disappears, the robot continues to walk along the preset path. If the obstacle still does not disappear, the robot avoids the obstacle through point-to-point navigation and continues to walk along the preset path.

6. The mobile robot autonomous operation method according to claim 5, characterized in that: When the robot is walking along the taught path, the current path point is recorded when the robot is paused, and all the path points of the taught path are updated after the robot is pushed away. If the robot is near the path point recorded when it was paused, it continues to execute the path points of the taught path.

7. The mobile robot autonomous operation method according to claim 5, characterized in that: When the robot does not move along the taught path, the specific process is as follows: A single-line laser radar is set on the robot to collect data points. The coverage range of the single-line laser radar is 220 degrees, and the data output of the single-line laser radar is divided into the front area, the left area, and the right area; The single-line laser radar detects the front distance Front, the side distance Left, and the side distance Right; When the robot moves along the wall, the maximum angular velocity of the robot is w_max, the target value of the lateral distance is Mb, the difference between the lateral distance and the target value Mb is Dd, the difference Dd≤1, and when Dd>1, it is normalized to 1; the reference distance is set to K1, and the coefficient coff is defined, coff=Front / K1; when the wall is on the right side of the robot, the angular velocity ω=Dd*w_max, and the forward speed V=Vmax; when the wall is on the left side of the robot, the angular velocity ω=-Dd*w_max, and the forward speed V=Vmax; if the forward distance Front is less than the too close judgment threshold M, the angular velocity ω=w_max, and the forward speed V=Vmax*coff*0.1; when Dd>2*Mb, the forward speed V=Vmax, the angular velocity ω=Dd*w_max when the wall is on the right side of the robot, and ω=-Dd*w_max when the wall is on the left side of the robot.

8. The mobile robot autonomous operation method according to claim 7, characterized in that: The data of a single-line laser radar is divided into the front area, the left area, and the right area, which are marked in the visualization tool: (1) The laser scanning point is i, and the distance corresponding to the scanning point i is L i , L i is the distance from the scanning point i to the origin of the robot coordinate system, the scanning angle of the laser scanning point is α, the laser base offset is p, and the coordinates of the laser scanning point x = L i *cos(α)+p,y=L i *sin(α); (2) Set the front length to f, define half of the robot width to j, define j plus the margin to g, and define L i The minimum value is e, where e is the known nearest front distance. If x>f and |y|<g and (xf)<e, then the front point is set and the coordinates of the front point are (x, y); (3) When the robot navigation direction is right, Ci is the horizontal distance of the scanning point i relative to the center of the robot, side=Ci+j, side is the known nearest side distance side, if x<f and y<-j and (-yj)<side, then the side point is set and the coordinates of the side point are (x, y); (4) When the robot navigation direction is left, if x<f and y>j and (-yj)<side, then the side point is set and the coordinates of the side point are (x, y).

9. The mobile robot autonomous operation method according to claim 8, characterized in that: When the robot is moving straight without moving along the wall, when it encounters an obstacle in front, when Front ≥ K1, the robot travels at the maximum speed Vmax; when Front < K1, the robot's forward speed V = Vmax*coff; when the front distance Front is less than the too close judgment threshold M or Dd > 2×Mb, the robot's forward speed V is set to Vmax*coff*0.

1.

10. The mobile robot autonomous operation method according to claim 5, characterized in that: When the robot does not move along the taught path, the specific process is as follows: A single-line laser radar is set on the robot to collect data points. The coverage range of the single-line laser radar is 220 degrees, and the data output of the single-line laser radar is divided into the front area, the left area, and the right area; The single-line laser radar detects the front distance Front, the side distance Left, and the side distance Right; When the robot moves along the wall, the maximum angular velocity of the robot is w_max, the target value of the lateral distance is Mb, the difference between the lateral distance and the target value Mb is Dd, the difference Dd≤1, and when Dd>1, it is normalized to 1; the reference distance is set to K1, and the coefficient coff is defined, coff=Front / K1; when the wall is on the right side of the robot, the angular velocity ω=Dd*w_max, and the forward speed V=Vmax; when the wall is on the left side of the robot, the angular velocity ω=-Dd*w_max, and the forward speed V=Vmax; if the forward distance Front continues to decrease and the lateral distance remains unchanged, the angular velocity ω=w_max, and the forward speed V=Vmax*coff*0.1; when Dd>2*Mb, the forward speed V=Vmax, the angular velocity ω=Dd*w_max when the wall is on the right side of the robot, and ω=-Dd*w_max when the wall is on the left side of the robot.

Citation Information

Patent Citations

  • Sea route generation method in process of UUV approaching seabed for operation

    CN107168344A

  • Accompanying robot path planning method and system based on obstacle virtual expansion

    CN108775902A

  • Self-adaptive along-wall navigation method based on laser radar

    CN112965082A

  • Differential wheeled robot based on multi-sensor fusion and along-wall navigation method

    CN113273927A

  • Trajectory tracking control method and device and storage medium

    CN113805610A

Cited By

  • Logistics scheduling method, system and equipment for production line and medium

    CN121050383A

  • Underground space pilot fire extinguishing system based on heterogeneous robot cooperation

    CN121846598A

  • Mobile robot, controller, and mobile robot control method

    US12576508B1