Robot control method and apparatus, computer readable storage medium and robot

By selecting candidate navigation points in the robot map and determining target navigation points based on positional relationships, the problem of low robot exploration efficiency is solved, more efficient navigation point selection is achieved, and the overall exploration efficiency is improved.

WO2024221532A1PCT designated stage expired Publication Date: 2024-10-31SHENZHEN SILVER STAR INTELLIGENT TECH CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2023/096952
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-04-28
Filing Date
2023-05-29
Publication Date
2024-10-31

AI Technical Summary

Technical Problem

When the robot explores unknown areas, the navigation points are randomly selected, resulting in low exploration efficiency.

Method used

By selecting candidate navigation points from the robot's map, the target navigation point is determined based on the relative positional relationship between the candidate navigation point and the robot, including the obstruction status and distance, the comprehensive weight is calculated, and the navigation points with direct access and close distance are given priority. , and eliminate the gap areas to improve exploration efficiency.

Benefits of technology

It realizes the regular selection of target navigation points, improves the efficiency of robot exploration, and has strong practicability and ease of use.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023096952_31102024_PF_FP_ABST
    Figure CN2023096952_31102024_PF_FP_ABST
Patent Text Reader

Abstract

A robot control method, comprising: selecting candidate navigation points from a map of a robot; determining a target navigation point from the candidate navigation points according to relative position relations between the candidate navigation points and the robot; and controlling the robot to move to the target navigation point. By means of the method, the optimal target navigation point can be determined according to relative position relations between the candidate navigation points and the robot, and regular selection of the target navigation point is achieved, so that the robot exploration efficiency is improved, and high practicability and usability are achieved. Also provided are a robot control apparatus, a computer readable storage medium and a robot.
Need to check novelty before this filing date? Find Prior Art

Description

Robot control method, device, computer-readable storage medium, and robot

[0001] This application claims priority to the prior application with application number 202310487009.9 filed with the State Intellectual Property Office of China on April 28, 2023, and application name “Robot control method, device, computer-readable storage medium and robot”. The contents of the above-mentioned prior application are incorporated into this text by introduction. Technical Field

[0002] The present application relates to the field of robotics technology, and in particular to a robot control method, device, computer-readable storage medium, and robot. Background Art

[0003] With the development of technology, intelligent cleaning robots such as sweepers have entered thousands of households. Before helping people perform various tasks, the robots will move to the corresponding navigation points in the unknown areas on the map to explore the unknown areas and build a complete map.

[0004] However, robots usually select navigation points randomly, resulting in low exploration efficiency.

[0005] Application Contents

[0006] In view of this, the embodiments of the present application provide a robot control method, device, computer-readable storage medium and robot to solve the problem that the robot randomly selects navigation points corresponding to unknown areas during the exploration process, resulting in low exploration efficiency.

[0007] A first aspect of an embodiment of the present application provides a robot control method, which may include:

[0008] Select candidate navigation points from the robot's map;

[0009] Determining a target navigation point from each candidate navigation point according to a relative positional relationship between each candidate navigation point and the robot;

[0010] Control the robot to move to the target navigation point.

[0011] In a specific implementation of the first aspect, the relative position relationship may include a pass / blocking state and a distance;

[0012] Determining the target navigation point from each candidate navigation point according to the relative positional relationship between each candidate navigation point and the robot may include:

[0013] Determine the accessibility and obstruction status between each candidate navigation point and the robot respectively;

[0014] Calculating the distance between each candidate navigation point and the robot respectively;

[0015] A target navigation point is determined from each candidate navigation point according to the accessibility and distance between each candidate navigation point and the robot.

[0016] In a specific implementation of the first aspect, respectively determining the accessibility / obstruction status between each candidate navigation point and the robot may include:

[0017] Constructing a connecting line segment between the current candidate navigation point and the robot; wherein the current candidate navigation point is any candidate navigation point;

[0018] Determining whether the connecting line segment passes through a long-side obstacle in the map;

[0019] If the connecting line segment passes through a long-side obstacle in the map, it is determined that there is a blocking state between the current candidate navigation point and the robot;

[0020] If the connecting line segment does not pass through the long-side obstacle in the map, it is determined that there is a direct connection between the current candidate navigation point and the robot.

[0021] In a specific implementation of the first aspect, determining the target navigation point from each candidate navigation point based on the accessibility and distance between each candidate navigation point and the robot may include:

[0022] Determining a first weight of each candidate navigation point according to a communication or obstruction state between each candidate navigation point and the robot;

[0023] Determining a second weight of each candidate navigation point according to the distance between each candidate navigation point and the robot;

[0024] Calculate the comprehensive weight of each candidate navigation point according to the first weight and the second weight of each candidate navigation point;

[0025] The candidate navigation point with the highest comprehensive weight is determined as the target navigation point.

[0026] In a specific implementation of the first aspect, controlling the robot to move to the target navigation point may include:

[0027] Moving the target navigation point in a direction away from a target boundary to obtain a revised target navigation point; wherein the target boundary is a boundary of an unknown area corresponding to the target navigation point;

[0028] Control the robot to move to the corrected target navigation point.

[0029] In a specific implementation of the first aspect, selecting each candidate navigation point from the robot's map may include:

[0030] Identifying boundary pixels in the map; wherein the boundary pixels are pixels in the known area that are adjacent to pixels in the unknown area;

[0031] Clustering the boundary pixel points to obtain boundary lines;

[0032] The midpoints of each boundary line are selected as candidate navigation points.

[0033] In a specific implementation of the first aspect, before selecting each candidate navigation point from the robot's map, the method further includes:

[0034] Identifying a gap region in the map; wherein the gap region is a region whose entrance width is less than a preset width threshold;

[0035] The gap area is removed from the map.

[0036] A second aspect of the embodiments of the present application provides a robot control device, which may include:

[0037] The candidate navigation point selection module is used to select each candidate navigation point from the robot's map;

[0038] A target navigation point determination module is used to determine a target navigation point from each candidate navigation point according to a relative position relationship between each candidate navigation point and the robot;

[0039] A motion control module is used to control the robot to move to the target navigation point.

[0040] In a specific implementation of the second aspect, the relative position relationship may include a pass / block state and a distance;

[0041] The target navigation point determination module may include:

[0042] A blocking state determining unit, configured to determine the blocking state between each candidate navigation point and the robot;

[0043] A distance calculation unit, configured to calculate the distance between each candidate navigation point and the robot;

[0044] The target navigation point determination unit is used to determine the target navigation point from each candidate navigation point according to the access and obstruction status and distance between each candidate navigation point and the robot.

[0045] In a specific implementation of the second aspect, the on-resistance state determining unit may include:

[0046] A line segment construction subunit, configured to construct a connecting line segment between the current candidate navigation point and the robot; wherein the current candidate navigation point is any candidate navigation point;

[0047] a judging subunit, configured to judge whether the connecting line segment passes through a long-side obstacle in the map;

[0048] a blocking state determining subunit, configured to determine that a blocking state exists between the current candidate navigation point and the robot if the connecting line segment passes through a long-side obstacle in the map;

[0049] The through state determining subunit is configured to determine that a through state exists between the current candidate navigation point and the robot if the connecting line segment does not pass through a long-side obstacle in the map.

[0050] In a specific implementation of the second aspect, the target navigation point determination unit may include:

[0051] A first weight determination subunit is used to determine a first weight of each candidate navigation point according to a communication or obstruction state between each candidate navigation point and the robot;

[0052] a second weight determination subunit, configured to determine a second weight of each candidate navigation point according to a distance between each candidate navigation point and the robot;

[0053] a comprehensive weight calculation subunit, configured to calculate the comprehensive weight of each candidate navigation point according to the first weight and the second weight of each candidate navigation point;

[0054] The target navigation point determination subunit is configured to determine the candidate navigation point with the highest comprehensive weight as the target navigation point.

[0055] In a specific implementation of the second aspect, the motion control module may include:

[0056] A navigation point correction unit, configured to move the target navigation point in a direction away from a target boundary to obtain a corrected target navigation point; wherein the target boundary is a boundary of an unknown area corresponding to the target navigation point;

[0057] A motion control unit is used to control the robot to move to the corrected target navigation point.

[0058] In a specific implementation of the second aspect, the candidate navigation point selection module may include:

[0059] a boundary pixel point identification unit, configured to identify boundary pixel points in the map; wherein the boundary pixel points are known area pixel points adjacent to unknown area pixel points;

[0060] A pixel clustering unit, configured to cluster the boundary pixels to obtain boundary lines;

[0061] The candidate navigation point selection unit is used to select the midpoint of each boundary line as each candidate navigation point.

[0062] In a specific implementation of the second aspect, the robot control device may further include:

[0063] a gap identification module, configured to identify a gap area in the map; wherein the gap area is an area whose entrance width is less than a preset width threshold;

[0064] The gap elimination module is used to eliminate the gap area from the map.

[0065] A third aspect of an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of any one of the above-mentioned robot control methods are implemented.

[0066] The fourth aspect of an embodiment of the present application provides a robot, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of any one of the above-mentioned robot control methods when executing the computer program.

[0067] A fifth aspect of the embodiments of the present application provides a computer program product, which, when run on a robot, enables the robot to execute the steps of any one of the above-mentioned robot control methods.

[0068] Compared with the prior art, the embodiments of the present application have the following advantages: the embodiments of the present application select candidate navigation points from the robot's map; determine a target navigation point from each candidate navigation point based on the relative positional relationship between each candidate navigation point and the robot; and control the robot to move to the target navigation point. Through the embodiments of the present application, the optimal target navigation point can be determined based on the relative positional relationship between each candidate navigation point and the robot, achieving regular selection of target navigation points, improving the efficiency of robot exploration, and having strong practicality and ease of use. BRIEF DESCRIPTION OF THE DRAWINGS

[0069] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the embodiments or descriptions of the prior art. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0070] FIG1 is a flow chart of an embodiment of a robot control method according to an embodiment of the present application;

[0071] Figure 2 is a schematic diagram of a home environment;

[0072] FIG3 is a schematic diagram of removing the gap area;

[0073] FIG4 is a schematic diagram of candidate navigation point selection;

[0074] FIG5 is a schematic flow chart of the candidate navigation point selection process;

[0075] FIG6 is a schematic diagram of the boundary line generation process;

[0076] Figure 7 is a schematic diagram of noise points;

[0077] FIG8 is a schematic flow chart of a target navigation point determination process;

[0078] Figure 9 is a schematic diagram of a long side obstacle;

[0079] FIG10 is a schematic diagram of the connecting line segment between the candidate navigation point and the robot;

[0080] FIG11 is a schematic diagram of correcting the target navigation point;

[0081] FIG12 is a structural diagram of an embodiment of a robot control device according to an embodiment of the present application;

[0082] FIG13 is a schematic block diagram of a robot in an embodiment of the present application. DETAILED DESCRIPTION

[0083] In order to make the purpose, features, and advantages of the invention of this application more obvious and easy to understand, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the embodiments described below are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0084] It will be understood that when used in this specification and the appended claims, the term "comprising" indicates the presence of described features, integers, steps, operations, elements and / or components, but does not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof.

[0085] It should also be understood that the terms used in this specification are for the purpose of describing specific embodiments only and are not intended to limit the present application. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms unless the context clearly indicates otherwise.

[0086] It should be further understood that the term "and / or" used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.

[0087] As used in this specification and the appended claims, the term "if" can be interpreted as "when" or "upon" or "in response to determining" or "in response to detecting," depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "upon determination" or "in response to determining" or "upon detection of [described condition or event]" or "in response to detecting [described condition or event]," depending on the context.

[0088] In addition, in the description of the present application, the terms "first", "second", "third", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.

[0089] With the development of technology, intelligent cleaning robots such as sweepers have entered thousands of households. Before helping people perform various tasks, the robots will move to the corresponding navigation points in the unknown areas on the map to explore the unknown areas and build a complete map.

[0090] However, robots usually select navigation points randomly, resulting in low exploration efficiency.

[0091] In view of this, embodiments of the present application provide a robot control method, apparatus, computer-readable storage medium, and robot to address the problem of low exploration efficiency caused by the robot's random selection of navigation points in unknown areas during exploration. Through embodiments of the present application, the optimal target navigation point can be determined based on the relative positional relationship between each candidate navigation point and the robot, achieving regular selection of the target navigation point, improving the efficiency of the robot's exploration, and having strong practicality and ease of use.

[0092] It should be noted that the executor of the method of the present application may be a robot, including but not limited to sweeping robots, floor washing machines, inspection robots, guiding robots, food delivery robots and other common service robots in the prior art.

[0093] In an embodiment of the present application, the robot can perform preliminary map construction to obtain an initial map. The initial map can contain multiple different areas, which can be divided into known areas, obstacles, and unknown areas based on the specific exploration requirements of each area. Before the robot performs a task, it can explore the unknown areas in the initial map to build a more complete map.

[0094] Specifically, the robot can use a variety of pre-installed sensors to explore the map, including but not limited to lidar, visual sensors, infrared sensors, positioning sensors and other common sensors installed on the robot.

[0095] Referring to FIG1 , an embodiment of a robot control method in an embodiment of the present application may include:

[0096] Step S101: Select candidate navigation points from the robot's map.

[0097] In an embodiment of the present application, various candidate navigation points can be selected from the initial map of the robot, wherein the candidate navigation points are navigation points in unknown areas. Here, the navigation points in various unknown areas can be selected as candidate navigation points.

[0098] It is understandable that in an actual home environment, there may be many gaps. For example, as shown in FIG2(a), the robot cannot enter the first area where the entrance width is smaller than its own width. Alternatively, as shown in FIG2(b), the robot cannot enter the second area behind an obstacle. Alternatively, as shown in FIG2(c), curtains cover the glass door, and gaps are formed between the curtains, through which the robot cannot enter the third area.

[0099] Therefore, in an embodiment of the present application, before selecting a candidate navigation point, the gap area can be eliminated to improve the efficiency of map exploration. Specifically, the robot can identify the gap area whose entrance width is less than the preset width threshold from the map. Here, you can refer to Figure 3 (a). When the entrance width d1 of the first unknown area is less than the width threshold (here it can be the robot diameter d2), the first unknown area can be identified as a gap area. At this time, even if the robot navigates to the entrance of the first unknown area, it cannot enter the first unknown area through the entrance of the first unknown area for exploration. Therefore, the first unknown area can be eliminated from the map, eliminating the robot's exploration of the first unknown area, and obtaining a map as shown in Figure 3 (b), wherein the width threshold can be set to a value greater than or equal to the robot's own width according to actual needs.

[0100] It is understood that each unknown area can have a corresponding navigation point. When the robot moves to the navigation point corresponding to the unknown area, it can use the preset sensors to explore the unknown area. For example, referring to Figure 4, the initial map can include three unknown areas, namely the first unknown area, the second unknown area, and the third unknown area. The corresponding navigation points are navigation points A, B, and C. When the robot moves to the navigation point corresponding to the unknown area, it can explore the unknown area at the corresponding navigation point. Here, navigation points A, B, and C can be selected as candidate navigation points.

[0101] Referring to FIG. 5 , the selection of candidate navigation points in step S101 may specifically include the following process:

[0102] Step S1011: Identify boundary pixels in the map.

[0103] In an embodiment of the present application, boundary pixels may be identified in the initial map, wherein the boundary pixels are pixels in the known area that are adjacent to pixels in the unknown area.

[0104] Specifically, the pixels corresponding to the regions in the initial map can be marked according to their specific classification (known regions, obstacles, and unknown regions). Refer to Figure 6(a). If the region is a known region, the corresponding pixel in the initial map can be marked as 0 (denoted as pixel 0); if the region is an obstacle, the corresponding pixel in the initial map can be marked as 1 (denoted as pixel 1); if the region is an unknown region, the corresponding pixel in the initial map can be marked as 2 (denoted as pixel 2).

[0105] After that, we can identify the pixels in the known area adjacent to the unknown area in the initial map. Refer to Figure 6(b), where we can identify pixel 0 adjacent to pixel 2, and obtain the boundary pixels (for ease of display, the boundary pixels are marked with * in the figure).

[0106] Step S1012: cluster the boundary pixels to obtain boundary lines.

[0107] As can be understood, as shown in Figure 7, when a robot uses sensors to explore in a real-world home environment, environmental factors such as moving people, reflections from mirrors, and other strong light sources may create noise points on the generated initial map. If these noise points are interpreted as obstacles at the boundaries of unknown areas, they can easily affect the robot's exploration of the unknown area. Since noise points are typically scattered, image filtering can be used to filter out these scattered points in the map, thereby reducing the noise in the initial map.

[0108] Specifically, in an embodiment of the present application, boundary pixel points can be clustered, and boundary pixel points whose distance is less than a preset distance threshold can be connected. If there is pixel point 1 (obstacle) between any two connected boundary pixel points, the obstacle can be considered as an interference noise point, and the pixel point 1 should actually be a passable area, and the pixel point 1 should also be regarded as a boundary pixel point to obtain various boundary lines.

[0109] Referring to Figure 6(c), boundary pixels whose distance is less than a distance threshold can be connected, and pixel 1 between any two connected boundary pixels is also considered a boundary pixel to obtain a boundary line. The pixels on the boundary line are then considered to be a known, traversable area. The distance threshold can be specifically and contextually set based on actual needs and is not specifically limited in this embodiment of the present application.

[0110] Step S1013: Select the midpoints of the boundary lines as candidate navigation points.

[0111] In an embodiment of the present application, the midpoints of each boundary line can be selected as candidate navigation points. When the robot moves to the candidate navigation point corresponding to the unknown area, the unknown area can be explored.

[0112] It can be understood that the robot can explore the unknown area when it moves to any point on the boundary line. Therefore, in addition to the midpoint of the boundary line as a candidate navigation point, any point on the boundary line can also be used as a candidate navigation point.

[0113] Step S102: determining a target navigation point from each candidate navigation point according to the relative position relationship between each candidate navigation point and the robot.

[0114] Among them, the relative position relationship in the embodiment of the present application may include the accessibility status and distance, that is, the target navigation point can be determined from each candidate navigation point based on the accessibility status between each candidate navigation point and the robot and the distance between each candidate navigation point and the robot.

[0115] Please refer to FIG8 , step S102 may specifically include the following process:

[0116] Step S1021: Determine the first weight of each candidate navigation point according to the access / blocking state between each candidate navigation point and the robot.

[0117] In an embodiment of the present application, the accessibility status between each candidate navigation point and the robot can be determined respectively, and the first weight of each candidate navigation point can be determined according to the accessibility status between each candidate navigation point and the robot.

[0118] It is understandable that if the exploration path between the candidate navigation point and the robot needs to bypass long-side obstacles such as walls, it may result in a longer exploration distance and reduce the efficiency of exploration. At this time, the accessibility state between the candidate navigation point and the robot can be set to a blocking state; if the exploration path between the candidate navigation point and the robot does not need to bypass long-side obstacles such as walls, the accessibility state between the candidate navigation point and the robot can be set to a direct state.

[0119] In this embodiment of the present application, candidate navigation points that are directly connected to the robot can be assigned a higher first weight than candidate navigation points that are blocked from the robot, allowing for priority exploration. The value of the first weight can be specific and contextually set based on actual needs and is not specifically limited in this embodiment of the present application.

[0120] For the sake of convenience, the following will take any one of the candidate navigation points (recorded as the current candidate navigation point) as an example to illustrate the access and blockage state determination process in the embodiment of the present application.

[0121] It should be understood that when the robot uses the preset sensors for detection, it can identify long-side obstacles such as walls. A long-side obstacle is one whose projection length on the perpendicular line connecting the candidate navigation point and the robot is greater than a preset length threshold. The value of the length threshold can be specific and contextualized according to actual needs and is not limited in this embodiment of the present application. Referring to Figure 9, since the obstacle's projection length L on the perpendicular line connecting the candidate navigation point and the robot is greater than the preset length threshold, the obstacle can be identified as a long-side obstacle.

[0122] Specifically, in an embodiment of the present application, a connecting line segment can be constructed between the current candidate navigation point and the robot. Afterwards, it can be determined whether the connecting line segment passes through the long side obstacle in the map. If the connecting line segment passes through the long side obstacle in the map, it can be determined that the current candidate navigation point and the robot are in a blocking state; if the connecting line segment does not pass through the long side obstacle in the map, it can be determined that the current candidate navigation point and the robot are in a direct state. As shown in Figure 10, if candidate navigation point A is the current candidate navigation point, at this time, the connecting line segment between point A and the robot passes through the long side obstacle in the map, it can be considered that the robot may need to move around the long side obstacle to navigate to point A. Therefore, the accessibility state between point A and the robot can be set to a blocking state; if candidate navigation point B is the current candidate navigation point, at this time, the connecting line segment between point B and the robot does not pass through the long side obstacle in the map, it can be considered that the robot does not need to move around the long side obstacle to navigate to point B. Therefore, the accessibility state between point B and the robot can be set to a direct state.

[0123] It is understandable that a preset sensor can be used to determine whether the connecting line segment between the current candidate navigation point and the robot passes through a long-side obstacle in the map. For example, the robot's lidar sensor can be used to scan in the direction of the connecting line segment between the current candidate navigation point and the robot to detect whether there is an obstacle. If the lidar cannot reach the current candidate navigation point when scanning in the direction of the connecting line segment, it can be considered that the connecting line segment passes through an obstacle in the map; if the lidar can reach the current candidate navigation point when scanning in the direction of the connecting line segment, it can be considered that the connecting line segment does not pass through an obstacle in the map; if the connecting line segment passes through an obstacle in the map, the lidar can be controlled to scan in both directions of the obstacle to determine the length of the obstacle. Thereafter, whether the obstacle is a long-side obstacle can be determined based on the relationship between the length of the obstacle and the length threshold.

[0124] It can be understood that by traversing each candidate navigation point and performing the above operations, the accessibility status between each candidate navigation point and the robot can be determined, and the first weight can be determined according to the accessibility status.

[0125] Step S1022: Determine the second weight of each candidate navigation point according to the distance between each candidate navigation point and the robot.

[0126] It is understandable that, compared with unknown areas that are farther away, unknown areas that are closer can be explored first to improve the efficiency of robot exploration.

[0127] Therefore, in the embodiment of the present application, a higher second weight can be assigned to candidate navigation points that are closer to the robot, and a lower second weight can be assigned to candidate navigation points that are farther from the robot. For example, the candidate navigation points can be sorted in ascending order according to their distance from the robot, and the second weights can be assigned to the candidate navigation points from high to low according to the sorting order.

[0128] Among them, the value of the second weight can be set in a specific and situational manner according to actual needs, and the embodiments of the present application do not make specific limitations on this.

[0129] Step S1023: Calculate the comprehensive weight of each candidate navigation point according to the first weight and the second weight of each candidate navigation point.

[0130] In the embodiment of the present application, the comprehensive weight of each candidate navigation point can be determined by comprehensively considering the accessibility and distance between each candidate navigation point and the robot.

[0131] In a possible embodiment, the first weight and the second weight of each candidate navigation point may be added together to obtain a comprehensive weight of each candidate navigation point.

[0132] In another possible embodiment, a weighted average of the first weight and the second weight of each candidate navigation point may be calculated to obtain a comprehensive weight of each candidate navigation point.

[0133] Step S1024: Determine the candidate navigation point with the highest comprehensive weight as the target navigation point.

[0134] In an embodiment of the present application, the candidate navigation point with the highest comprehensive weight can be considered as the best candidate navigation point at present. Therefore, the candidate navigation point with the highest comprehensive weight can be determined as the target navigation point, and the target navigation point can be moved to explore the unknown area.

[0135] Step S103: Control the robot to move to the target navigation point.

[0136] In an embodiment of the present application, any path planning algorithm in the prior art can be used to plan the exploration path between the robot and the target navigation point, and the robot can be controlled to move to the target navigation point along the exploration path. The specific path planning algorithm may include but is not limited to the best path first search algorithm (Best-First Searching, BFS), depth-first search algorithm (Depth-First Searching, DFS), Dijkstra's algorithm (Dijkstra's), sampling-based motion planning algorithm (Rapidly-exploring Random Trees, RRT) and any other common path planning algorithms in the prior art.

[0137] It is understandable that the sensors used for map exploration will have a certain detection range. Normally, any area within the detection range of the sensor can be explored by the sensor. For example, a lidar sensor can be used for map exploration. Its detection range is a circle with the detection distance as the radius. When the unknown area to be explored is within the detection range, the unknown area can be explored. Therefore, in order to reduce the exploration time and improve the exploration efficiency, the target navigation point can be corrected to obtain a corrected target navigation point to reduce the distance of the exploration path, and the robot can be controlled to move to the corrected target navigation point to explore the unknown area.

[0138] Specifically, the target navigation point can be moved in a direction away from the target boundary to obtain a corrected target point, wherein the target boundary is the boundary of the unknown area corresponding to the target navigation point. For example, referring to Figure 11(a), the detection range of the sensor is a circle with a detection distance m as a radius, and the unknown area is within the detection range of the sensor. At this time, the target navigation point can be moved on the exploration path in a direction away from the target boundary by a preset moving distance to obtain a corrected target navigation point as shown in Figure 11(b). For another example, the target navigation point can be moved in any direction away from the target boundary by a preset moving distance to obtain a corrected target navigation point as shown in Figure 11(c). For another example, the target navigation point can be moved to the center of the geometric shape of the map by a preset moving distance to obtain a corrected target navigation point as shown in Figure 11(d). Among them, the value of the moving distance can be specifically and situationally set according to the detection range and the length of the exploration path, and the embodiments of the present application do not specifically limit this.

[0139] It is understood that after obtaining the revised target navigation point, the robot can be controlled to move to the revised target navigation point to explore the unknown area. Afterwards, the target navigation point can be re-determined according to the above method to explore the unknown area until a complete map is built.

[0140] In summary, the embodiments of the present application select candidate navigation points from the robot's map; determine a target navigation point from each candidate navigation point based on the relative positional relationship between each candidate navigation point and the robot; and control the robot to move to the target navigation point. Through the embodiments of the present application, the optimal target navigation point can be determined based on the relative positional relationship between each candidate navigation point and the robot, achieving regular selection of target navigation points, improving the efficiency of robot exploration, and having strong practicality and ease of use.

[0141] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0142] Corresponding to the robot control method described in the above embodiment, FIG12 shows a structural diagram of an embodiment of a robot control device provided in an embodiment of the present application.

[0143] In this embodiment, a robot control device may include:

[0144] The candidate navigation point selection module 1201 is used to select each candidate navigation point from the robot's map;

[0145] A target navigation point determination module 1202 is configured to determine a target navigation point from each candidate navigation point based on a relative position relationship between each candidate navigation point and the robot;

[0146] The motion control module 1203 is used to control the robot to move to the target navigation point.

[0147] In a specific implementation of the embodiment of the present application, the relative position relationship may include a pass / block state and a distance;

[0148] The target navigation point determination module may include:

[0149] A blocking state determining unit, configured to determine the blocking state between each candidate navigation point and the robot;

[0150] A distance calculation unit, configured to calculate the distance between each candidate navigation point and the robot;

[0151] The target navigation point determination unit is used to determine the target navigation point from each candidate navigation point according to the access and obstruction status and distance between each candidate navigation point and the robot.

[0152] In a specific implementation of the embodiment of the present application, the blocking state determining unit may include:

[0153] A line segment construction subunit, configured to construct a connecting line segment between the current candidate navigation point and the robot; wherein the current candidate navigation point is any candidate navigation point;

[0154] a judging subunit, configured to judge whether the connecting line segment passes through a long-side obstacle in the map;

[0155] a blocking state determining subunit, configured to determine that a blocking state exists between the current candidate navigation point and the robot if the connecting line segment passes through a long-side obstacle in the map;

[0156] The through state determining subunit is configured to determine that a through state exists between the current candidate navigation point and the robot if the connecting line segment does not pass through a long-side obstacle in the map.

[0157] In a specific implementation of the embodiment of the present application, the target navigation point determination unit may include:

[0158] A first weight determination subunit is used to determine a first weight of each candidate navigation point according to a communication or obstruction state between each candidate navigation point and the robot;

[0159] a second weight determination subunit, configured to determine a second weight of each candidate navigation point according to a distance between each candidate navigation point and the robot;

[0160] a comprehensive weight calculation subunit, configured to calculate the comprehensive weight of each candidate navigation point according to the first weight and the second weight of each candidate navigation point;

[0161] The target navigation point determination subunit is configured to determine the candidate navigation point with the highest comprehensive weight as the target navigation point.

[0162] In a specific implementation of the embodiment of the present application, the motion control module may include:

[0163] A navigation point correction unit, configured to move the target navigation point in a direction away from a target boundary to obtain a corrected target navigation point; wherein the target boundary is a boundary of an unknown area corresponding to the target navigation point;

[0164] A motion control unit is used to control the robot to move to the corrected target navigation point.

[0165] In a specific implementation of the embodiment of the present application, the candidate navigation point selection module may include:

[0166] a boundary pixel point identification unit, configured to identify boundary pixel points in the map; wherein the boundary pixel points are known area pixel points adjacent to unknown area pixel points;

[0167] A pixel clustering unit, configured to cluster the boundary pixels to obtain boundary lines;

[0168] The candidate navigation point selection unit is used to select the midpoint of each boundary line as each candidate navigation point.

[0169] In a specific implementation of the embodiment of the present application, the robot control device may further include:

[0170] a gap identification module, configured to identify a gap area in the map; wherein the gap area is an area whose entrance width is less than a preset width threshold;

[0171] The gap elimination module is used to eliminate the gap area from the map.

[0172] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices, modules and units can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0173] In the above embodiments, the description of each embodiment has its own focus. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant description of other embodiments.

[0174] Figure 13 shows a schematic block diagram of a robot provided in an embodiment of the present application. For ease of explanation, only the parts related to the embodiment of the present application are shown.

[0175] As shown in FIG13 , the robot 13 of this embodiment includes a processor 130, a memory 131, and a computer program 132 stored in the memory 131 and executable on the processor 130. When the processor 130 executes the computer program 132, it implements the steps described in the various robot control method embodiments, such as steps S101 to S103 shown in FIG1 . Alternatively, when the processor 130 executes the computer program 132, it implements the functions of the modules / units in the various device embodiments described above, such as the functions of modules 1201 to 1203 shown in FIG12 .

[0176] For example, the computer program 132 may be divided into one or more modules / units, which are stored in the memory 131 and executed by the processor 130 to implement the present application. The one or more modules / units may be a series of computer program instruction segments capable of performing specific functions, and the instruction segments are used to describe the execution process of the computer program 132 in the robot 13.

[0177] Those skilled in the art will understand that Figure 13 is merely an example of the robot 13 and does not constitute a limitation on the robot 13. The robot 13 may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the robot 13 may also include input and output devices, network access devices, buses, etc.

[0178] The processor 130 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor.

[0179] The memory 131 may be an internal storage unit of the robot 13, such as a hard drive or memory of the robot 13. The memory 131 may also be an external storage device of the robot 13, such as a plug-in hard drive, a Smart Media Card (SMC), a Secure Digital (SD) card, a flash memory card, etc. equipped on the robot 13. Furthermore, the memory 131 may include both an internal storage unit of the robot 13 and an external storage device. The memory 131 is used to store the computer program and other programs and data required by the robot 13. The memory 131 may also be used to temporarily store data that has been output or is about to be output.

[0180] Those skilled in the art can clearly understand that, for the convenience and brevity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0181] In the above embodiments, the description of each embodiment has its own focus. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant description of other embodiments.

[0182] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0183] In the embodiments provided in this application, it should be understood that the disclosed devices / robots and methods can be implemented in other ways. For example, the device / robot embodiments described above are merely schematic. For example, the division of the modules or units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0184] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.

[0185] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.

[0186] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the process in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and when the computer program is executed by the processor, it can implement the steps of the above-mentioned various method embodiments. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable storage medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable storage medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable storage media do not include electric carrier signals and telecommunication signals.

[0187] The above-described embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present application, and should all be included in the scope of protection of the present application.

Claims

1. A robot control method, characterized in that: include: Select each candidate navigation point from the robot's map; Determine a target navigation point from each candidate navigation point according to a relative position relationship between each candidate navigation point and the robot; Control the robot to move to the target navigation point.

2. The robot control method according to claim 1, characterized in that: The relative position relationship includes the pass / block state and the distance; Determining the target navigation point from each candidate navigation point according to the relative position relationship between each candidate navigation point and the robot includes: Determine the access and obstruction status between each candidate navigation point and the robot respectively; Calculating the distance between each candidate navigation point and the robot respectively; According to the accessibility status and distance between each candidate navigation point and the robot, a target navigation point is determined from each candidate navigation point.

3. The robot control method according to claim 2, characterized in that: The respectively determining the access and obstruction status between each candidate navigation point and the robot comprises: Constructing a connecting line segment between the current candidate navigation point and the robot; wherein the current candidate navigation point is any candidate navigation point; Determining whether the connecting line segment passes through a long-side obstacle in the map; If the connecting line segment passes through a long-side obstacle in the map, it is determined that there is a blocking state between the current candidate navigation point and the robot; If the connecting line segment does not pass through the long side obstacle in the map, it is determined that there is a direct connection between the current candidate navigation point and the robot.

4. The robot control method according to claim 2, characterized in that: Determining the target navigation point from each candidate navigation point according to the access and obstruction state and distance between each candidate navigation point and the robot includes: Determine the first weight of each candidate navigation point according to the access and obstruction status between each candidate navigation point and the robot; Determining a second weight of each candidate navigation point according to the distance between each candidate navigation point and the robot; Calculate the comprehensive weight of each candidate navigation point according to the first weight and the second weight of each candidate navigation point; The candidate navigation point with the highest comprehensive weight is determined as the target navigation point.

5. The robot control method according to claim 1, characterized in that: The controlling the robot to move to the target navigation point comprises: The target navigation point is moved in a direction away from a target boundary to obtain a modified target navigation point; wherein the target boundary is a boundary of an unknown area corresponding to the target navigation point; Control the robot to move to the corrected target navigation point.

6. The robot control method according to claim 1, characterized in that: The step of selecting each candidate navigation point from the robot's map includes: Identifying boundary pixels in the map; wherein the boundary pixels are pixels in the known area that are adjacent to pixels in the unknown area; Clustering the boundary pixel points to obtain boundary lines; The midpoints of each boundary line are selected as candidate navigation points.

7. The robot control method according to any one of claims 1 to 6, characterized in that: Before selecting each candidate navigation point from the robot's map, it also includes: Identifying a gap region in the map; wherein the gap region is a region whose entrance width is less than a preset width threshold; The gap area is removed from the map.

8. A robot control device, characterized in that: include: A candidate navigation point selection module is used to select each candidate navigation point from the robot's map; A target navigation point determination module is used to determine the target navigation point from each candidate navigation point according to the relative position relationship between each candidate navigation point and the robot; A motion control module is used to control the robot to move to the target navigation point.

9. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the robot control method according to any one of claims 1 to 7 are implemented.

10. A robot comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the steps of the robot control method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Navigation target position determination method and device, readable storage medium and robot

    CN111854751A

  • Sweeping robot, control method of sweeping robot and storage medium

    CN112155487A

  • Method and system for navigating and dividing cleaning region, mobile robot, and cleaning robot

    CN112867424A

  • Robot cleaning method, robot and storage medium

    CN114343490A

  • Map exploration method and device, map use method and device, robot and storage medium

    CN114812539A