Robot navigation obstacle avoidance method and device

By building a scene map and extending the outline of the obstacle, determining the robot's motion path and the frequency of the obstacle avoidance module, the problem of excessive resource consumption of the robot's obstacle avoidance module is solved, and the optimization and utilization of resources is achieved.

CN119781484BActive Publication Date: 2025-08-08GUANGDONG POLYTECHNIC NORMAL UNIV

Patent Information

Application Number
CN202510033015.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-01-09
Publication Date
2025-08-08
Estimated Expiration
2045-01-09

AI Technical Summary

Technical Problem

The existing robot obstacle avoidance module consumes more resources under limited energy conditions, affecting normal operation.

Method used

By accessing the camera network, obtaining images, building a scene map and extending the outline of the obstacle, determining the robot's motion path and the application frequency of the obstacle avoidance module, and reducing the activation frequency of the obstacle avoidance module.

Benefits of technology

It effectively reduces resource consumption, optimizes the robot's obstacle avoidance process, and reduces the resource consumption of obstacle avoidance modules.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119781484B_ABST
    Figure CN119781484B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of robot obstacle avoidance technology, and specifically discloses a robot navigation obstacle avoidance method and device, the method comprising accessing a camera network of a navigation scene, periodically acquiring images from all cameras, identifying the images, locating obstacle outlines, and constructing a scene map based on the obstacle outlines; arranging the scene maps in chronological order, and extending the obstacle outlines in the scene map at the latest moment; determining the robot's motion path based on the extended scene map, and sending the extended path to the robot as navigation information; determining the application frequency of the robot's obstacle avoidance module based on the extended scene map, and sending the extended path to the robot. The present invention is used in the field of robot control with a limited scene, predetermining the obstacle position based on the camera network, and determining a navigation message that is highly likely not to pass through the obstacle based on the obstacle position. At the same time, the application frequency of the obstacle avoidance module is adjusted based on the determined obstacle position, effectively reducing resource consumption.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of robot obstacle avoidance, and in particular to a robot navigation obstacle avoidance method and device. Background Art

[0002] With the development of random intelligent technology, robots have gradually entered people's production and life, and are used to complete certain tasks; in many occasions, robots are very common.

[0003] One of the basic functions of a robot is obstacle avoidance. The existing obstacle avoidance function is implemented by an obstacle avoidance module built into the robot. The obstacle avoidance module needs to be activated in real time and consumes a lot of resources. Under conditions of limited energy, the obstacle avoidance module consumes more resources, which will affect the normal operation of the robot. How to reduce the resource consumption of the obstacle avoidance module is the technical problem that the technical solution of the present invention aims to solve. Summary of the Invention

[0004] The purpose of the present invention is to provide a robot navigation obstacle avoidance method and device to solve the problems raised in the above background technology.

[0005] To achieve the above object, the present invention provides the following technical solutions:

[0006] A robot navigation and obstacle avoidance method, the method comprising:

[0007] Accessing the camera network of the navigation scene, regularly acquiring images from all cameras, identifying the images, locating obstacle outlines, and constructing a scene map based on the obstacle outlines; the scene map contains a time tag, which is the average of the time tags of the acquired images;

[0008] Arrange the scene map in chronological order and extend the obstacle outline in the scene map at the latest moment. The extension process is the outline expansion process, and the direction and degree of outline expansion are determined by the change of the obstacle outline.

[0009] Determine the robot's motion path based on the extended scene map and send it to the robot as navigation information;

[0010] Determine the application frequency of the robot's obstacle avoidance module based on the extended scene map and send it to the robot;

[0011] After receiving the navigation information and application frequency, the robot controls the movement process based on the navigation information and controls the obstacle avoidance module based on the application frequency.

[0012] As a further solution of the present invention, the steps of accessing the camera network of the navigation scene, periodically acquiring images from all cameras, identifying the images, locating obstacle outlines, and constructing a scene map based on the obstacle outlines include:

[0013] Access the camera network of the navigation scene and regularly obtain images from all cameras; when the cameras send images, they record the shooting position and shooting direction of the images;

[0014] Read the scene outline of the navigation scene and construct a floor plan;

[0015] Determine the mapping area of the image in the plane map according to the shooting position and shooting direction;

[0016] Identify each image, locate the obstacle outline, and insert the obstacle outline into the mapping area;

[0017] After each image is recognized, the planar image containing the obstacle outlines is used as the scene map.

[0018] As a further solution of the present invention, the step of arranging the scene maps in chronological order and extending the obstacle outline in the scene map at the latest moment includes:

[0019] Read the time tags in the scene map and determine the time sequence based on the time tags;

[0020] Arranging the scene maps based on the time sequence;

[0021] Read the scene map at the latest moment, and for any obstacle outline in it, locate the same obstacle outline in the scene map at the previous moment;

[0022] Determine the changes based on the same obstacle outline located;

[0023] Extending the obstacle outline in the scene map at the latest moment according to the changes;

[0024] Among them, the number of scene maps at the previous moment includes:

[0025] Where, Indicates the number of scene maps, After arranging the scene maps in the time order, the first The area of the image, After arranging the scene maps in the time order, the first The area of the image; is the preset threshold; is the preset minimum quantity;

[0026] The process for determining changes is:

[0027] Among the acquired scene maps, select the scene map at the earliest moment and the scene map at the latest moment;

[0028] Determine the centroid of the same obstacle outline in the scene map at the earliest moment and the scene map at the latest moment, connect the centroids, and obtain a change vector; the modulus of the change vector is the distance to the centroid, and the direction of the change vector is from the centroid at the previous moment to the centroid at the next moment;

[0029] The extension direction and the extension length are determined based on the change vector, and the obstacle contour is extended based on the extension direction and the extension length; the extension width adopts the width of the obstacle contour.

[0030] As a further solution of the present invention, the step of determining the movement path of the robot based on the extended scene map and sending the navigation information to the robot includes:

[0031] Query the robot's movement starting point and end point in the extended scene map;

[0032] Randomly generate a preset number of motion paths from the starting point to the end point;

[0033] Calculate the movement difficulty of each movement path, select the final movement path according to the movement difficulty, and send it to the robot as navigation information;

[0034] The exercise difficulty is determined by both the path distance and the path resistance. The path resistance is determined by reading the ground type on the exercise path and querying the path resistance in a preset resistance table according to the ground type.

[0035] As a further solution of the present invention, the step of randomly generating a preset number of motion paths from the motion starting point to the motion end point includes:

[0036] Create a target selection circle with the starting point of the movement as the center and the preset distance as the radius;

[0037] Eliminate the area corresponding to the obstacle outline in the target selection circle, and randomly select a point on the edge of the target selection circle after eliminating the area as the target point;

[0038] Use the target point as the new starting point of movement and select the next target point;

[0039] The loop is executed until the target selection circle contains the end point of the movement;

[0040] Connect the movement starting point, all target points and the movement end point to obtain the movement path.

[0041] As a further solution of the present invention: the step of determining the application frequency of the robot's obstacle avoidance module based on the extended scene map and sending the frequency to the robot includes:

[0042] Calculate the shortest distance between each position in the navigation information and each obstacle outline;

[0043] Select the minimum value among all the closest distances;

[0044] The application frequency is determined by the inverse ratio of the minimum value and sent to the robot.

[0045] The technical solution of the present invention also provides a robot navigation and obstacle avoidance device, the device comprising:

[0046] A scene map construction module is used to access the camera network of the navigation scene, regularly acquire images from all cameras, identify the images, locate obstacle outlines, and construct a scene map based on the obstacle outlines; the scene map contains a time tag, which is the average of the time tags of the acquired images;

[0047] The contour extension module is used to arrange the scene map in chronological order and extend the obstacle contours in the scene map at the latest moment. The extension process is a contour expansion process, and the direction and degree of contour expansion are determined by the changes in the obstacle contour.

[0048] A navigation information sending module is used to determine the robot's motion path based on the extended scene map and send it to the robot as navigation information;

[0049] An application frequency sending module is used to determine the application frequency of the robot's obstacle avoidance module based on the extended scene map and send it to the robot;

[0050] After receiving the navigation information and application frequency, the robot controls the movement process based on the navigation information and controls the obstacle avoidance module based on the application frequency.

[0051] As a further solution of the present invention: the scene map construction module includes:

[0052] An image acquisition unit, configured to access the camera network of the navigation scene and regularly acquire images from all cameras; when the cameras send images, they record the shooting position and direction of the images;

[0053] A plan view construction unit, configured to read the scene outline of the navigation scene and construct a plan view;

[0054] an area mapping unit, configured to determine a mapping area of the image in the plan view according to a shooting position and a shooting direction;

[0055] A contour insertion unit is used to identify each image, locate the obstacle contour, and insert the obstacle contour into the mapping area;

[0056] The map output unit is used to generate a planar map containing obstacle outlines as a scene map after each image is recognized.

[0057] As a further solution of the present invention: the contour extension module includes:

[0058] A sequence determination unit, configured to read time tags in the scene map and determine a time sequence based on the time tags;

[0059] a map arrangement unit, configured to arrange scene maps based on the time sequence;

[0060] The contour positioning unit is used to read the scene map at the latest moment and locate the same obstacle contour in the scene map at the previous moment for any obstacle contour therein;

[0061] a change situation determining unit, configured to determine a change situation based on the located same obstacle outline;

[0062] An extension execution unit, configured to extend the obstacle outline in the scene map at the latest moment according to the change;

[0063] Among them, the number of scene maps at the previous moment includes:

[0064] Where, Indicates the number of scene maps, After arranging the scene maps in the time order, the first The area of the image, After arranging the scene maps in the time order, the first The area of the image; is the preset threshold; is the preset minimum quantity;

[0065] The process for determining changes is:

[0066] Among the acquired scene maps, select the scene map at the earliest moment and the scene map at the latest moment;

[0067] Determine the centroid of the same obstacle outline in the scene map at the earliest moment and the scene map at the latest moment, connect the centroids, and obtain a change vector; the modulus of the change vector is the distance to the centroid, and the direction of the change vector is from the centroid at the previous moment to the centroid at the next moment;

[0068] The extension direction and the extension length are determined based on the change vector, and the obstacle contour is extended based on the extension direction and the extension length; the extension width adopts the width of the obstacle contour.

[0069] As a further solution of the present invention: the navigation information sending module includes:

[0070] The starting and ending point query unit is used to query the robot's movement starting point and end point in the extended scene map;

[0071] A path generating unit, configured to randomly generate a preset number of motion paths from a motion starting point to a motion end point;

[0072] A selection unit is used to calculate the movement difficulty of each movement path, select the final movement path according to the movement difficulty, and send it to the robot as navigation information;

[0073] The exercise difficulty is determined by both the path distance and the path resistance. The path resistance is determined by reading the ground type on the exercise path and querying the path resistance in a preset resistance table according to the ground type.

[0074] Compared with the prior art, the beneficial effects of the present invention are as follows: the present invention is used in the field of robot control in limited scenes, pre-determines the obstacle position based on the camera network, and determines a navigation information that is highly likely not to pass through the obstacle according to the obstacle position. At the same time, the application frequency of the obstacle avoidance module is adjusted according to the determined obstacle position, effectively reducing resource consumption. BRIEF DESCRIPTION OF THE DRAWINGS

[0075] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present invention.

[0076] Figure 1 Flow chart of the robot navigation and obstacle avoidance method.

[0077] Figure 2 This is the first sub-flow diagram of the robot navigation and obstacle avoidance method.

[0078] Figure 3 This is the second sub-process flowchart of the robot navigation and obstacle avoidance method.

[0079] Figure 4 This is the third sub-process flowchart of the robot navigation and obstacle avoidance method.

[0080] Figure 5 This is the fourth sub-process flowchart of the robot navigation and obstacle avoidance method.

[0081] Figure 6 This is the structural block diagram of the robot navigation and obstacle avoidance system. DETAILED DESCRIPTION

[0082] In order to make the technical problems, technical solutions and beneficial effects to be solved by the present invention more clearly understood, the present invention is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0083] Figure 1 This is a flowchart of a robot navigation and obstacle avoidance method. In an embodiment of the present invention, a robot navigation and obstacle avoidance method includes:

[0084] Step S100: Accessing the camera network of the navigation scene, periodically acquiring images from all cameras, identifying the images, locating obstacle outlines, and constructing a scene map based on the obstacle outlines; the scene map contains a time tag, which is the average of the time tags of the acquired images;

[0085] The navigation scene is the working scene of the robot. In the existing working scenes using robots, multiple video acquisition devices are generally installed, collectively referred to as a camera network. The camera network is a collection of cameras. The images of all cameras are obtained at a preset frequency and recognized to locate obstacles and determine their obstacle contours. All obstacle contours are counted to construct a scene map. The accuracy of the scene map does not need to be too high, it only needs to be able to display the obstacle contours. In addition, since the scene map is obtained based on images containing time, the scene map also contains time information. Since the process of obtaining images from all cameras is timed, the time difference of all images is very small. There will only be some time differences caused by the instruction transmission process. The average of all times is calculated as a unified result.

[0086] Step S200: Arrange the scene map in chronological order and extend the obstacle outline in the scene map at the latest moment; the extension process is an outline expansion process, and the direction and degree of outline expansion are determined by the change of the obstacle outline;

[0087] The scene maps are arranged in chronological order. Each scene map contains obstacle outlines. Obstacles include both static objects and animals. Regardless of the type of obstacle, its shape will not change significantly in a short period of time. Therefore, in the arranged scene maps, it is very easy to locate the outline corresponding to the same obstacle and then determine its changes. Based on the changes, each obstacle outline can be extended.

[0088] Step S300: Determine the robot's motion path based on the extended scene map and send it to the robot as navigation information;

[0089] The extension process is equivalent to expanding the obstacle outline in the scene map to obtain multiple obstacle areas. The robot's motion path is determined based on the obstacle areas and sent to the robot as navigation information. This process is actually based on the camera network to determine a motion path that will hardly touch obstacles from a macro perspective.

[0090] Step S400: determining the application frequency of the robot's obstacle avoidance module based on the extended scene map and sending it to the robot;

[0091] On the basis of determining the motion path, the application frequency of the robot's obstacle avoidance module is determined based on the extended scene map. The ultimate goal of this application is to minimize the application frequency of the robot's obstacle avoidance module. Since the determined motion path itself will not pass through too many obstacles, on this basis, the application frequency of the obstacle avoidance module can be adjusted according to the actual distance between the robot and the contours of each obstacle. The application frequency of the obstacle avoidance module will be pre-set to a minimum value to prevent emergencies and send the application frequency to the robot.

[0092] On the robot side, after receiving the navigation information and application frequency, the robot controls the movement process based on the navigation information, mainly controlling the movement direction. The movement speed is the speed pre-set by the robot, which is generally a uniform movement speed. The obstacle avoidance module is controlled based on the application frequency. The application frequency indicates how often the robot-based obstacle avoidance behavior is performed. The obstacle avoidance module is generally some distance sensors used to detect whether there are obstacles nearby.

[0093] Figure 2 This is a flowchart of the first sub-process of the robot navigation and obstacle avoidance method. The steps of accessing the camera network of the navigation scene, regularly acquiring images from all cameras, identifying the images, locating obstacle outlines, and constructing a scene map based on the obstacle outlines include:

[0094] Step S101: Accessing the camera network of the navigation scene and regularly acquiring images from all cameras; when the cameras send images, recording the shooting position and shooting direction of the images;

[0095] Step S102: reading the scene outline of the navigation scene and constructing a plan view;

[0096] Step S103: determining a mapping area of the image in the plan view according to the shooting position and shooting direction;

[0097] Step S104: Identify each image, locate the obstacle outline, and insert the obstacle outline into the mapping area;

[0098] Step S105: After each image is identified, the plan view containing the obstacle outline is used as the scene map.

[0099] In an example of the technical solution of the present invention, the process of constructing the scene map is specifically limited. The camera network of the navigation scene is connected, and images of all cameras are obtained at regular intervals. When the camera obtains the image, the shooting position and shooting direction are recorded. When the camera uploads the image, the recorded shooting position and shooting direction are uploaded together.

[0100] Furthermore, the boundary of the navigation scene is read, called the scene outline (usually a bird's-eye view), and a plan view is constructed. Based on the shooting position and shooting direction, it can be determined which area in the plan view the shooting image corresponds to (the intersection of the acquisition range in the plan view), which is called the mapping area. Then, each image is identified, the obstacle outline is located, and the obstacle outline is inserted into the mapping area. The located obstacle outline is a collection of outline point positions. After each image is identified, the plan view containing the obstacle outline is used as the scene map.

[0101] Figure 3 This is a second sub-flow diagram of the robot navigation and obstacle avoidance method, wherein the step of arranging the scene map in chronological order and extending the obstacle outline in the scene map at the latest moment includes:

[0102] Step S201: Read the time tags in the scene map and determine the time sequence according to the time tags;

[0103] Step S202: Arranging scene maps based on the time sequence;

[0104] Step S203: Read the scene map at the latest moment, and for any obstacle outline therein, locate the same obstacle outline in the scene map at the previous moment;

[0105] Step S204: determining the change according to the outline of the same obstacle located;

[0106] Step S205: Extend the obstacle outline in the scene map at the latest moment according to the change.

[0107] In an example of the technical solution of the present invention, the extension process of the obstacle contour is described in detail. The time tag in the scene map is read, the time sequence is determined according to the time tag, the scene map is arranged based on the time sequence, the scene map at the latest moment is read, and for any obstacle contour therein, the same obstacle contour is located in the scene map at the previous moment according to the shape of the contour. The same obstacle refers to the obstacle contour corresponding to the same obstacle in different images. By comparing the same obstacle contour at different moments, the change situation can be determined, and the obstacle contour in the scene map at the latest moment is extended according to the change situation.

[0108] Among them, the number of scene maps at the previous moment includes:

[0109] Where, Indicates the number of scene maps, After arranging the scene maps in the time order, the first The area of the image, After arranging the scene maps in the time order, the first The area of the image; is the preset threshold; The preset minimum quantity.

[0110] As for step S203, its purpose is to select some scene images for calculating the change. The number of selected images is dynamic. This is a unique solution of this application. Its principle is to start from the scene image at the latest moment, continuously acquire scene images, compare the difference between the same obstacle outline in the two scene images, and if the difference is large, continue to acquire scene images and analyze them at the same time. If the difference is not large, the number of scene images that have been acquired is output as the final number; wherein, It limits the number of scene images to be acquired at least. The value can be five or ten.

[0111] The process for determining changes is:

[0112] Among the acquired scene maps, select the scene map at the earliest moment and the scene map at the latest moment;

[0113] Determine the centroid of the same obstacle outline in the scene map at the earliest moment and the scene map at the latest moment, connect the centroids, and obtain a change vector; the modulus of the change vector is the distance to the centroid, and the direction of the change vector is from the centroid at the previous moment to the centroid at the next moment;

[0114] The extension direction and the extension length are determined based on the change vector, and the obstacle contour is extended based on the extension direction and the extension length; the extension width adopts the width of the obstacle contour.

[0115] Furthermore, regarding the extension process, for any obstacle contour, after processing, it has a corresponding number of scene maps. Among the acquired scene maps, the scene map at the earliest moment and the scene map at the latest moment are selected, and the centroid is determined based on the same centroid calculation scheme (conventional mathematical means). The centroids are connected to obtain a vector, called the change vector; the obstacle contour is extended on the change vector; the extension direction is the same as the direction of the change vector, and the extension length is proportional to the modulus of the change vector; in addition, regarding the extension width, a direction perpendicular to the extension direction is generally determined as the width direction, and the maximum value of the obstacle contour in the width direction is queried as the extension width.

[0116] Figure 4 This is a block diagram of the third sub-process of the robot navigation and obstacle avoidance method. The step of determining the robot's motion path based on the extended scene map and sending it to the robot as navigation information includes:

[0117] Step S301: Query the robot's movement starting point and movement end point in the extended scene map;

[0118] Step S302: randomly generating a preset number of motion paths from the starting point to the end point;

[0119] Step S303: Calculate the movement difficulty of each movement path, select the final movement path according to the movement difficulty, and send it to the robot as navigation information.

[0120] In an example of the technical solution of the present invention, the process of generating and selecting the motion path is described in detail. First, regardless of which robot, the starting point and end point of its working process are known, and the robot's motion starting point and motion end point are queried in the extended scene map; then, a preset number of motion paths pointing from the motion starting point to the motion end point are randomly generated. Since the number of generated motion paths is not unique, a selection process is required to calculate the motion difficulty of each motion path, and the final motion path is selected according to the motion difficulty, and sent to the robot as navigation information.

[0121] Specifically, the movement difficulty is a special term of the present invention, and the movement difficulty is determined by the path distance and the path resistance. The process of determining the path resistance is to read the ground type on the movement path and query the path resistance in a preset resistance table according to the ground type; the longer the path distance, the higher the movement difficulty, and the greater the path resistance, the higher the movement difficulty. Regarding the specific mapping relationship, a direct proportional function, an exponential function or a logarithmic function is generally used, which have different derivative characteristics. Of course, some combinations can also be made, as long as the correlation that the longer the path distance, the higher the movement difficulty, the greater the path resistance, and the higher the movement difficulty is satisfied is satisfied.

[0122] Furthermore, the step of randomly generating a preset number of motion paths from the motion starting point to the motion end point includes:

[0123] Create a target selection circle with the starting point of the movement as the center and the preset distance as the radius;

[0124] Eliminate the area corresponding to the obstacle outline in the target selection circle, and randomly select a point on the edge of the target selection circle after eliminating the area as the target point;

[0125] Use the target point as the new starting point of movement and select the next target point;

[0126] The loop is executed until the target selection circle contains the end point of the movement;

[0127] Connect the movement starting point, all target points and the movement end point to obtain the movement path.

[0128] The above content provides a specific description of the generation process of any motion path. It is a process of continuously selecting the next point, which is equivalent to starting from the starting point of the motion and continuously selecting waypoints until the motion end point is reached; specifically, each time the next waypoint is selected, the distance between the next waypoint and the current position should be fixed, that is, the radius in the above content; with the starting point of the motion as the center and the preset distance as the radius, a target selection circle is established, and the area corresponding to the obstacle outline is eliminated in the target selection circle, so that obstacles can be avoided. A point is randomly selected on the edge of the target selection circle after the area is eliminated as the target point, that is, the waypoint; the target point is used as the new starting point of the motion, and the next target point is selected. The cycle is executed until the target selection circle contains the motion end point. Finally, the motion starting point, all target points and the motion end point are connected to obtain the motion path.

[0129] The above motion path generation process is executed multiple times to obtain a preset number of motion paths.

[0130] Figure 5 This is a fourth sub-flow diagram of the robot navigation and obstacle avoidance method. The step of determining the application frequency of the robot's obstacle avoidance module based on the extended scene map and sending it to the robot includes:

[0131] Step S401: Calculating the shortest distance between each position in the navigation information and each obstacle outline;

[0132] Step S402: Select the minimum value among all the closest distances;

[0133] Step S403: Determine the application frequency according to the inverse ratio of the minimum value and send it to the robot.

[0134] In the technical solution of the present invention, the navigation information is the motion path finally selected. The closest distance between each position in the navigation information and the outline of each obstacle is calculated, and the minimum value is selected among all the closest distances. The minimum value indicates how far the obstacle is from the current position. The application frequency is determined according to the inverse proportion of the minimum value and sent to the robot; that is, the larger the minimum value, the farther away from the obstacle, and the smaller the application frequency.

[0135] Figure 6 The following is a structural block diagram of a robot navigation and obstacle avoidance system. In an embodiment of the present invention, a robot navigation and obstacle avoidance device 10 includes:

[0136] A scene map construction module 11 is used to access the camera network of the navigation scene, regularly acquire images from all cameras, identify the images, locate obstacle outlines, and construct a scene map based on the obstacle outlines; the scene map contains a time tag, which is the average of the time tags of the acquired images;

[0137] The contour extension module 12 is used to arrange the scene map in chronological order and extend the obstacle contour in the scene map at the latest moment; the extension process is a contour expansion process, and the direction and degree of contour expansion are determined by the change of the obstacle contour;

[0138] A navigation information sending module 13 is used to determine the movement path of the robot based on the extended scene map and send it to the robot as navigation information;

[0139] An application frequency sending module 14 is used to determine the application frequency of the robot's obstacle avoidance module based on the extended scene map and send it to the robot;

[0140] After receiving the navigation information and application frequency, the robot controls the movement process based on the navigation information and controls the obstacle avoidance module based on the application frequency.

[0141] Furthermore, the scene map construction module 11 includes:

[0142] An image acquisition unit, configured to access the camera network of the navigation scene and regularly acquire images from all cameras; when the cameras send images, they record the shooting position and direction of the images;

[0143] A plan view construction unit, configured to read the scene outline of the navigation scene and construct a plan view;

[0144] an area mapping unit, configured to determine a mapping area of the image in the plan view according to a shooting position and a shooting direction;

[0145] A contour insertion unit is used to identify each image, locate the obstacle contour, and insert the obstacle contour into the mapping area;

[0146] The map output unit is used to generate a planar map containing obstacle outlines as a scene map after each image is recognized.

[0147] Specifically, the contour extension module 12 includes:

[0148] A sequence determination unit, configured to read time tags in the scene map and determine a time sequence based on the time tags;

[0149] a map arrangement unit, configured to arrange scene maps based on the time sequence;

[0150] The contour positioning unit is used to read the scene map at the latest moment and locate the same obstacle contour in the scene map at the previous moment for any obstacle contour therein;

[0151] a change situation determining unit, configured to determine a change situation based on the located same obstacle outline;

[0152] An extension execution unit, configured to extend the obstacle outline in the scene map at the latest moment according to the change;

[0153] Among them, the number of scene maps at the previous moment includes:

[0154] Where, Indicates the number of scene maps, After arranging the scene maps in the time order, the first The area of the image, After arranging the scene maps in the time order, the first The area of the image; is the preset threshold; is a preset minimum quantity;

[0155] The process for determining changes is:

[0156] Among the acquired scene maps, select the scene map at the earliest moment and the scene map at the latest moment;

[0157] Determine the centroid of the same obstacle outline in the scene map at the earliest moment and the scene map at the latest moment, connect the centroids, and obtain a change vector; the modulus of the change vector is the distance to the centroid, and the direction of the change vector is from the centroid at the previous moment to the centroid at the next moment;

[0158] The extension direction and the extension length are determined based on the change vector, and the obstacle contour is extended based on the extension direction and the extension length; the extension width adopts the width of the obstacle contour.

[0159] Furthermore, the navigation information sending module 13 includes:

[0160] The starting and ending point query unit is used to query the robot's movement starting point and end point in the extended scene map;

[0161] A path generating unit, configured to randomly generate a preset number of motion paths from a motion starting point to a motion end point;

[0162] A selection unit is used to calculate the movement difficulty of each movement path, select the final movement path according to the movement difficulty, and send it to the robot as navigation information;

[0163] The exercise difficulty is determined by both the path distance and the path resistance. The path resistance is determined by reading the ground type on the exercise path and querying the path resistance in a preset resistance table according to the ground type.

[0164] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A robot navigation and obstacle avoidance method, characterized in that: The method comprises: Accessing the camera network of the navigation scene, regularly acquiring images from all cameras, identifying the images, locating obstacle outlines, and constructing a scene map based on the obstacle outlines; the scene map contains a time tag, which is the average of the time tags of the acquired images; Arrange the scene map in chronological order and extend the obstacle outline in the scene map at the latest moment. The extension process is the outline expansion process, and the direction and degree of outline expansion are determined by the change of the obstacle outline. Determine the robot's motion path based on the extended scene map and send it to the robot as navigation information; Determine the application frequency of the robot's obstacle avoidance module based on the extended scene map and send it to the robot; After receiving the navigation information and application frequency, the robot controls the movement process based on the navigation information and controls the obstacle avoidance module based on the application frequency; The step of arranging the scene maps in chronological order and extending the obstacle outline in the scene map at the latest moment includes: Read the time tags in the scene map and determine the time sequence based on the time tags; Arranging the scene maps based on the time sequence; Read the scene map at the latest moment, and for any obstacle outline in it, locate the same obstacle outline in the scene map at the previous moment; Determine the changes based on the same obstacle outline located; Extending the obstacle outline in the scene map at the latest moment according to the changes; The process for determining changes is: Among the acquired scene maps, select the scene map at the earliest moment and the scene map at the latest moment; Determine the centroid of the same obstacle outline in the scene map at the earliest moment and the scene map at the latest moment, connect the centroids, and obtain a change vector; the modulus of the change vector is the distance to the centroid, and the direction of the change vector is from the centroid at the previous moment to the centroid at the next moment; The extension direction and the extension length are determined based on the change vector, and the obstacle contour is extended based on the extension direction and the extension length; the extension width adopts the width of the obstacle contour.

2. The robot navigation and obstacle avoidance method according to claim 1, characterized in that: The steps of accessing the camera network of the navigation scene, regularly acquiring images from all cameras, identifying the images, locating obstacle outlines, and constructing a scene map based on the obstacle outlines include: Access the camera network of the navigation scene and regularly obtain images from all cameras; when the cameras send images, they record the shooting position and shooting direction of the images; Read the scene outline of the navigation scene and construct a floor plan; Determine the mapping area of the image in the plane map according to the shooting position and shooting direction; Identify each image, locate the obstacle outline, and insert the obstacle outline into the mapping area; After each image is recognized, the planar image containing the obstacle outlines is used as the scene map.

3. The robot navigation and obstacle avoidance method according to claim 1, characterized in that: The number of scene maps at the previous moment includes: Where, Indicates the number of scene maps, After arranging the scene maps in the time order, the first The area of the image, After arranging the scene maps in the time order, the first The area of the image; is the preset threshold; The minimum quantity is preset.

4. The robot navigation obstacle avoidance method according to claim 1, characterized in that: The step of determining the robot's motion path based on the extended scene map and sending the navigation information to the robot includes: Query the robot's movement starting point and end point in the extended scene map; Randomly generate a preset number of motion paths from the starting point to the end point; Calculate the movement difficulty of each movement path, select the final movement path according to the movement difficulty, and send it to the robot as navigation information; The exercise difficulty is determined by both the path distance and the path resistance. The path resistance is determined by reading the ground type on the exercise path and querying the path resistance in a preset resistance table according to the ground type.

5. The robot navigation and obstacle avoidance method according to claim 4, characterized in that: The step of randomly generating a preset number of motion paths from the motion starting point to the motion end point comprises: Create a target selection circle with the starting point of the movement as the center and the preset distance as the radius; Eliminate the area corresponding to the obstacle outline in the target selection circle, and randomly select a point on the edge of the target selection circle after eliminating the area as the target point; Use the target point as the new starting point of movement and select the next target point; The loop is executed until the target selection circle contains the end point of the movement; Connect the movement starting point, all target points and the movement end point to obtain the movement path.

6. The robot navigation and obstacle avoidance method according to claim 1, characterized in that: The step of determining the application frequency of the robot's obstacle avoidance module based on the extended scene map and sending the frequency to the robot includes: Calculate the shortest distance between each position in the navigation information and each obstacle outline; Select the minimum value among all the closest distances; The application frequency is determined by the inverse ratio of the minimum value and sent to the robot.

7. A robot navigation and obstacle avoidance device, characterized in that: The device comprises: A scene map construction module is used to access the camera network of the navigation scene, regularly acquire images from all cameras, identify the images, locate obstacle outlines, and construct a scene map based on the obstacle outlines; the scene map contains a time tag, which is the average of the time tags of the acquired images; The contour extension module is used to arrange the scene map in chronological order and extend the obstacle contours in the scene map at the latest moment. The extension process is a contour expansion process, and the direction and degree of contour expansion are determined by the changes in the obstacle contour. A navigation information sending module is used to determine the robot's motion path based on the extended scene map and send it to the robot as navigation information; An application frequency sending module is used to determine the application frequency of the robot's obstacle avoidance module based on the extended scene map and send it to the robot; After receiving the navigation information and application frequency, the robot controls the movement process based on the navigation information and controls the obstacle avoidance module based on the application frequency; The contour extension module includes: A sequence determination unit, configured to read time tags in the scene map and determine a time sequence based on the time tags; a map arrangement unit, configured to arrange scene maps based on the time sequence; The contour positioning unit is used to read the scene map at the latest moment and locate the same obstacle contour in the scene map at the previous moment for any obstacle contour therein; a change situation determining unit, configured to determine a change situation based on the located same obstacle outline; An extension execution unit, configured to extend the obstacle outline in the scene map at the latest moment according to the change; The process for determining changes is: Among the acquired scene maps, select the scene map at the earliest moment and the scene map at the latest moment; Determine the centroid of the same obstacle outline in the scene map at the earliest moment and the scene map at the latest moment, connect the centroids, and obtain a change vector; the modulus of the change vector is the distance to the centroid, and the direction of the change vector is from the centroid at the previous moment to the centroid at the next moment; The extension direction and the extension length are determined based on the change vector, and the obstacle contour is extended based on the extension direction and the extension length; the extension width adopts the width of the obstacle contour.

8. The robot navigation and obstacle avoidance device according to claim 7, characterized in that: The scene map construction module includes: An image acquisition unit, configured to access the camera network of the navigation scene and regularly acquire images from all cameras; when the cameras send images, they record the shooting position and direction of the images; A plan view construction unit, configured to read the scene outline of the navigation scene and construct a plan view; an area mapping unit, configured to determine a mapping area of the image in the plan view according to a shooting position and a shooting direction; A contour insertion unit is used to identify each image, locate the obstacle contour, and insert the obstacle contour into the mapping area; The map output unit is used to generate a planar map containing obstacle outlines as a scene map after each image is recognized.

9. The robot navigation and obstacle avoidance device according to claim 7, characterized in that: The number of scene maps at the previous moment includes: Where, Indicates the number of scene maps, After arranging the scene maps in the time order, the first The area of the image, After arranging the scene maps in the time order, the first The area of the image; is the preset threshold; The preset minimum quantity.

10. The robot navigation and obstacle avoidance device according to claim 7, characterized in that: The navigation information sending module includes: The starting and ending point query unit is used to query the robot's movement starting point and end point in the extended scene map; A path generating unit, configured to randomly generate a preset number of motion paths from a motion starting point to a motion end point; A selection unit is used to calculate the movement difficulty of each movement path, select the final movement path according to the movement difficulty, and send it to the robot as navigation information; The exercise difficulty is determined by both the path distance and the path resistance. The path resistance is determined by reading the ground type on the exercise path and querying the path resistance in a preset resistance table according to the ground type.

Citation Information

Patent Citations

  • Obstacle avoidance method and device of robot, medium and terminal

    CN110936383A

  • Obstacle classification and obstacle avoidance control system based on TOF camera

    CN112415998A

Cited By

  • Obstacle avoidance navigation method and system for service robot based on spatial topology cognition

    CN122526257A