Robot positioning method, robot positioning device and robot

By using any positioning landmark points and multi-resolution Gaussian probability maps in the area, the cleaning robot can be efficiently positioned in multiple areas, solving the problem of positioning loss caused by dependence on charging piles, and improving task execution efficiency and accuracy.

CN118778046APending Publication Date: 2024-10-15KEENON ROBOTICS CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410899122.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-05
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

Existing cleaning robots need to rely on charging piles for repositioning when their positioning is lost, resulting in a waste of time and labor costs, especially when moving to multiple areas and unable to perform tasks normally.

Method used

By using any positioning landmark point in the area for robot positioning, laser scanning data is used to match the preset positioning landmark point reference data, and multi-resolution Gaussian probability maps are used to perform multi-threaded parallel search and iterative screening to determine the target position of the robot. posture, no need to rely on charging piles.

Benefits of technology

It improves the efficiency and accuracy of robot repositioning, reduces repetitive work and incorrect work caused by positioning loss, ensures that the robot can perform tasks more efficiently, and reduces the overall work cost.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118778046A_ABST
    Figure CN118778046A_ABST
Patent Text Reader

Abstract

The invention provides a robot positioning method, a robot positioning device and a robot, and the method comprises the steps: determining the current operation mode of the robot when it is determined that the positioning of the robot is lost, and the current operation mode comprises an automatic mode and a manual mode; when the current operation mode is a manual mode, responding to a repositioning instruction, determining a target landmark point corresponding to the repositioning instruction, and matching sensor data collected by the robot with reference data corresponding to the target landmark point to determine a target pose of the robot, the target landmark point is any one of a plurality of preset positioning landmark points. Through the method and the device, the repositioning efficiency and accuracy of the robot are improved, the robot can be ensured to execute tasks more efficiently, and the conditions of repeated work and wrong work caused by positioning loss of the robot are reduced, so that the overall working efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of robot technology, and in particular to a robot positioning method, a robot positioning device and a robot. Background Art

[0002] With the development of economy and technology, robots have been applied in many fields of life. For example, robots with cleaning functions have been widely used, especially in large scenes such as shopping malls or office buildings. A fixed charging pile is set in the scene where the cleaning robot works, and the cleaning robot uses laser positioning to locate itself.

[0003] When the cleaning robot loses its position, it is often necessary to manually move the cleaning robot to the charging station. Because the location of the charging station is known and fixed, the cleaning robot can recover its position at this time. However, relying entirely on the charging station to complete the positioning and retrieval function often wastes a lot of time and labor costs. In addition, in the manual mode of the cleaning robot, when the user moves the cleaning robot from one area to another, the cleaning robot will also lose its position, causing the cleaning robot to be unable to perform tasks normally. Summary of the invention

[0004] In view of this, the purpose of the present application is to provide a robot positioning method, a robot positioning device and a robot, so as to realize robot positioning by utilizing any positioning landmark point in the area, without relying on charging piles, and can complete positioning and retrieval in multiple areas, thereby improving the efficiency and accuracy of robot repositioning, ensuring that the robot can perform tasks more efficiently, reducing duplication of work and erroneous work caused by loss of robot positioning, thereby improving overall work efficiency.

[0005] In a first aspect, an embodiment of the present application provides a robot positioning method, the robot positioning method comprising:

[0006] When it is determined that the robot positioning is lost, determining a current operation mode of the robot, wherein the current operation mode includes an automatic mode and a manual mode;

[0007] When the current operating mode is manual mode, in response to a repositioning instruction, a target landmark point corresponding to the repositioning instruction is determined, and the sensor data collected by the robot is matched with the reference data corresponding to the target landmark point to determine the target posture of the robot, where the target landmark point is any one of a plurality of preset positioning landmark points.

[0008] Further, the sensor data includes laser scanning data, and before determining that the robot positioning is lost, the robot positioning method further includes:

[0009] A pre-constructed robot map is obtained, and the coordinates of each positioning landmark point in the robot map are stored, wherein the laser scanning data collected by the robot at the positioning landmark point has distinguishing features, and the distinguishing features include right-angled walls.

[0010] Furthermore, the robot positioning method further includes:

[0011] When the current operation mode is the automatic mode, the target position of the robot is determined by matching the laser scanning data collected by the robot with the feature data in the robot map;

[0012] When the laser scanning data collected by the robot fails to match the feature data in the robot map, a positioning loss prompt message and guidance information are generated to enable the user to move the robot to any positioning landmark point to reposition the robot, and the guidance information includes the positioning landmark point.

[0013] Furthermore, the use of sensor data collected by the robot to match reference data corresponding to the target landmark point to determine the target posture of the robot includes:

[0014] Acquire current laser data and a multi-resolution Gaussian probability map collected by the robot, wherein the multi-resolution Gaussian probability map is generated based on the robot map;

[0015] Based on the current laser data, a multi-threaded parallel search is performed in the multi-resolution Gaussian probability map with the position of the target landmark point as the center to determine the candidate poses of the robot in the multi-resolution Gaussian probability map, and the candidate poses are iteratively screened to determine the target pose of the robot.

[0016] Furthermore, the multi-resolution Gaussian probability map includes a low-resolution Gaussian probability map, a medium-resolution Gaussian probability map and a high-resolution Gaussian probability map. Based on the current laser data, a multi-threaded parallel search is performed in the multi-resolution Gaussian probability map with the position of the target landmark point as the center to determine the candidate pose of the robot in the multi-resolution Gaussian probability map, and the candidate poses are iteratively screened to determine the target pose of the robot, including:

[0017] Performing a multi-threaded parallel search in the low-resolution Gaussian probability map with the position of the target landmark point as the center, calculating the matching degree between the current laser data and the laser data corresponding to the first candidate pose in the low-resolution Gaussian probability map, and taking a first set number of first candidate poses with matching degrees greater than or equal to a matching threshold as second candidate poses;

[0018] Performing a multi-threaded parallel search with the second candidate pose in the medium-resolution Gaussian probability map, calculating a matching degree between current laser data corresponding to a third candidate pose and laser data corresponding to the third candidate pose in the medium-resolution Gaussian probability map, and taking a second set number of third candidate poses with matching degrees greater than or equal to a matching threshold as fourth candidate poses;

[0019] A multi-threaded parallel search is performed with the fourth candidate posture in the high-resolution Gaussian probability map to determine a fifth candidate posture of the robot in the high-resolution Gaussian probability map, and the fifth candidate posture that meets the set conditions is used as the target posture of the robot.

[0020] Furthermore, the step of taking the fifth candidate posture that meets the set conditions as the target posture of the robot includes:

[0021] Extracting a first scene feature in the current laser data and a second scene feature of the fifth candidate pose;

[0022] The first scene feature is compared with the second scene feature, and when the feature verification requirement is met, the fifth candidate posture is used as the target posture of the robot.

[0023] Furthermore, after determining the target position and posture of the robot, the robot positioning method further includes:

[0024] Calculating the laser matching degree between the current laser data and the laser data corresponding to the target posture, and calculating the posture correctness probability corresponding to the target posture using the multi-resolution Gaussian probability map;

[0025] Determine whether the laser matching degree is greater than or equal to a laser matching degree threshold, and whether the posture correctness probability is greater than or equal to a probability threshold;

[0026] If not, the process returns to the step of matching the sensor data collected by the robot with the reference data corresponding to the target landmark point to perform repositioning.

[0027] Furthermore, the robot positioning method further includes:

[0028] After the robot is powered on, in response to an initial positioning instruction, an initial landmark point for initial positioning is determined;

[0029] Matching the initial sensor data collected by the robot with the reference data corresponding to the initial landmark point, and if the match is successful, determining the initial position of the robot;

[0030] If the matching is unsuccessful, the robot rotates, and uses the sensor data collected by the robot during the rotation process to match the reference data corresponding to the initial landmark point until the matching is successful.

[0031] In a second aspect, an embodiment of the present application further provides a robot positioning device, the robot positioning device comprising:

[0032] An operation mode determination module, used for determining a current operation mode of the robot when it is determined that the robot positioning is lost, wherein the current operation mode includes an automatic mode and a manual mode;

[0033] The first positioning module is used to respond to a repositioning instruction when the current operating mode is a manual mode, determine a target landmark point corresponding to the repositioning instruction, and use the sensor data collected by the robot to match the reference data corresponding to the target landmark point to determine the target posture of the robot, where the target landmark point is any one of a plurality of preset positioning landmark points.

[0034] In a third aspect, an embodiment of the present application also provides a robot, comprising: a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate through the bus, and when the machine-readable instructions are executed by the processor, the steps of the robot positioning method as described above are performed.

[0035] The embodiments of the present application provide a robot positioning method, a robot positioning device and a robot. When it is determined that the robot positioning is lost, the current operating mode of the robot is determined, and the current operating mode includes an automatic mode and a manual mode. When the current operating mode is the manual mode, in response to a repositioning instruction, a target landmark point corresponding to the repositioning instruction is determined, and the sensor data collected by the robot is matched with the reference data corresponding to the target landmark point to determine the target posture of the robot, and the target landmark point is any one of a plurality of preset positioning landmark points.

[0036] When the robot loses its position, the application first determines the current operating mode of the robot. In manual mode, by matching the target landmark points corresponding to the repositioning instructions with the map data, the robot can be positioned using any landmark point in the area without relying on charging piles. Positioning and retrieval can be completed in multiple areas, which improves the efficiency and accuracy of robot repositioning, ensures that the robot can perform tasks more efficiently, reduces duplication of work and erroneous work caused by robot positioning loss, and thus improves overall work efficiency.

[0037] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0039] Figure 1 A flowchart of a robot positioning method provided in an embodiment of the present application;

[0040] Figure 2 A flowchart of a robot positioning method in an automatic mode provided in an embodiment of the present application;

[0041] Figure 3 A schematic diagram of the structure of a robot positioning device provided in an embodiment of the present application;

[0042] Figure 4 A schematic diagram of the structure of a robot provided in an embodiment of the present application. DETAILED DESCRIPTION

[0043] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. The components of the embodiments of the present application usually described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, each other embodiment obtained by those skilled in the art without making creative work belongs to the scope of protection of the present application.

[0044] First, the application scenarios to which the present application is applicable are introduced. The present application can be applied in the field of robotics technology.

[0045] With the development of economy and technology, robots have been applied in many fields of life. For example, robots with cleaning functions have been widely used, especially in large scenes such as shopping malls or office buildings. A fixed charging pile is set in the scene where the cleaning robot works, and the cleaning robot uses laser positioning to locate itself.

[0046] Research has found that when a cleaning robot loses its position, it is often necessary to manually move the cleaning robot to the charging pile. Because the position of the charging pile is known and fixed, the cleaning robot can restore its position at this time. However, in commercial scenarios, considering the space occupied by charging piles, charging piles and robots are often one-to-one, or there are fewer charging piles than robots. However, for large office buildings or shopping malls with large areas and many floors, relying entirely on charging piles to complete the positioning and retrieval function often wastes a lot of time and labor costs. And in the manual mode of the cleaning robot, when the user moves the cleaning robot from one area to another, such as manually pushing the robot to take the elevator to other floors, the cleaning robot will also lose its position, causing the cleaning robot to be unable to perform tasks normally, such as automatic cleaning tasks, automatic return to the charging pile for charging, etc.

[0047] Based on this, an embodiment of the present application provides a robot positioning method, which improves the efficiency and accuracy of robot repositioning, ensures that the robot can perform tasks more efficiently, reduces duplication of work and erroneous work caused by loss of robot positioning, thereby improving overall work efficiency.

[0048] See also Figure 1 , Figure 1 This is a flow chart of a robot positioning method provided in an embodiment of the present application. Figure 1 As shown in , the robot positioning method provided by the embodiment of the present application includes:

[0049] S101, when it is determined that the robot positioning is lost, determining the current operation mode of the robot.

[0050] Specifically, the current operation mode of the robot includes automatic mode and manual mode. Here, the automatic mode refers to the mode in which the robot autonomously navigates and moves. For example, the robot can automatically clean a certain area according to instructions, which can be completed by combining edge cleaning with covering cleaning. For another example, it can also automatically move to a designated area based on a call instruction. In addition, when the robot is low on power, it can also autonomously navigate back to the charging pile to charge. In automatic mode, the robot can be positioned by positioning sensors such as laser radar, visual sensors, etc., collect environmental data and match it with map data to determine its current position. Manual mode refers to a mode in which the robot is pushed to move by manpower. For example, a handrail may be provided on the robot. In manual mode, the user can pull up the handrail and set the cleaning intensity of cleaning components such as side brushes, roller brushes, and mops, thereby pushing the robot to complete the cleaning of the corresponding area. The manual mode facilitates the robot to clean flexibly according to the needs of the user. The robot may be manually pushed to a prohibited area on the map, or manually transferred to other floors by elevator. To facilitate flexible operation, in manual mode, the positioning sensor of the robot may not output positioning results.

[0051] Regarding the above step S101, in a specific implementation, when it is determined that the robot positioning is lost, the current operation mode of the robot is determined.

[0052] S102, when the current operating mode is the manual mode, in response to a repositioning instruction, a target landmark point corresponding to the repositioning instruction is determined, and the target position and posture of the robot are determined by matching the sensor data collected by the robot with the reference data corresponding to the target landmark point.

[0053] It should be noted that the repositioning instruction may be an instruction generated by the robot's software application to instruct the robot to reposition. The target landmark point may be a landmark point selected by the user on the robot's software application for repositioning. Here, the target landmark point is any one of the preset multiple positioning landmark points.

[0054] Sensor data can be laser scanning data obtained by laser radar scanning environmental features, or ceiling features captured by visual sensors, or identification labels, QR codes, etc. Laser scanning data is the data collected by the robot performing laser scanning in the current position.

[0055] With respect to the above step S102, in specific implementation, when it is determined that the current operation mode of the robot is the manual mode, the user moves the robot to the vicinity of any target landmark point among the multiple positioning landmark points. At this time, the user can select the nearest target landmark point through the software application on the robot display screen to generate a repositioning instruction. The robot responds to the repositioning instruction, determines the corresponding target landmark point through the repositioning instruction and performs laser scanning, and uses the sensor data collected by the robot to match the reference data corresponding to the target landmark point to determine the target posture of the robot. Preferably, the reference data corresponding to the target landmark point can be map data within a certain distance range of the target landmark point, and the map data can be generated when the robot builds a map, storing laser scanning data and corresponding robot posture information. Based on the target landmark point, the matching range can be reduced, the position of the robot can be determined efficiently, and the calculation load of the robot can be reduced. The reference data corresponding to the target landmark point can also be all map data, with the target landmark point as the starting point for data matching, to increase the probability of successful rapid matching and ensure the comprehensiveness of matching.

[0056] In this way, according to the above steps S101-S102, when the robot's positioning is lost and is in manual mode, the robot can be positioned through any positioning landmark point in the area without relying on charging piles, and positioning retrieval can be completed in multiple areas, thereby improving the efficiency and accuracy of robot positioning, ensuring that the robot can perform tasks more efficiently, reducing duplication of work and erroneous work caused by loss of robot positioning, thereby improving overall work efficiency.

[0057] As an optional embodiment, the sensor data includes laser scanning data, and before determining that the robot positioning is lost, the robot positioning method further includes:

[0058] A pre-built robot map is obtained, and the coordinates of each positioning landmark point in the robot map are stored.

[0059] For the above steps, in the specific implementation, before positioning the robot, a pre-built robot map is obtained. Building a robot map is an important part of robotics technology, which provides the robot with a detailed understanding and cognition of its working environment. Multiple positioning landmark points can be established during the map building process. The robot determines the position of each positioning landmark point in the robot map and stores the coordinates of each positioning landmark point. When the robot map only includes a single-layer scene, the robot only needs to store the coordinates (x, y) of each positioning landmark point in the robot map in the database for use by the laser retrieval function. Exemplarily, when the robot map includes multiple floors, the floor information of the positioning landmark points can also be stored, which is convenient for recommending landmark points to users, and also convenient for users to quickly select appropriate landmark points according to the floor where the robot is located, and also avoids the presence of positioning landmark points at the same (x, y) position on multiple floors, causing confusion and mis-positioning.

[0060] Here, the laser scanning data collected by the robot at the positioning landmark point can have distinguishing features, including right-angled walls. Here, the location of the positioning landmark point needs to be easy to distinguish, that is, there are obvious distinguishing features near the positioning landmark point. For example, the location of the right-angle wall as a positioning landmark point is more obvious than other environments. For example, a long corridor is not suitable for selection as a positioning landmark point because the features are single and have no distinguishing degree. In other words, with the help of the features in the environment where the robot is operating, selecting locations with many distinguishing features and obvious features as landmark points can improve the success rate of relocation.

[0061] For example, an identification device with distinguishing features may be artificially placed in the environment near the positioning landmark point to facilitate accurate positioning. For example, the identification device may be a reflective block with regular concave and convex shapes.

[0062] In this way, according to the above steps, the robot map and the coordinates of each positioning landmark point in the robot map are obtained before the robot is positioned, so that the robot can subsequently position itself according to the position of the positioning landmark point in the robot map.

[0063] As an optional embodiment, with respect to the above step S102, the step of matching the sensor data collected by the robot with the reference data corresponding to the target landmark point to determine the target posture of the robot includes:

[0064] Step 1021, obtaining the current laser data and multi-resolution Gaussian probability map collected by the robot.

[0065] Here, a multi-resolution Gaussian probability map is generated based on the robot map.

[0066] Regarding the above step 1021, during the specific implementation, the current laser data collected by the robot at the current position and the multi-resolution Gaussian probability map generated based on the robot map are obtained.

[0067] Here, specifically, it is necessary to generate a multi-resolution Gaussian probability map according to the robot map, and multiple data sources such as single-frame laser data, sub-graph point cloud data, and sub-graph raster data can be selected. Single-frame laser data refers to the surrounding environment seen by the robot at the time of acquisition. Sub-graph data includes the surrounding environment seen by the robot during historical driving. Sub-graph raster data is another data format of sub-graph data. In the embodiment provided in the present application, a multi-resolution Gaussian probability map is generated using single-frame laser data, because the deployed positioning landmark points have been constrained in the robot map, and the positioning process can be completed quickly using single-frame laser data. Because the sub-graph data includes the historical surrounding environment, it has better stability, but the success rate is relatively low. When the characteristics of the on-site environment are not obvious or change frequently, the use of sub-graph data will be considered to ensure the accuracy of positioning retrieval. Exemplarily, when the multi-resolution Gaussian probability map generated using single-frame laser data fails to retrieve the positioning, the multi-resolution Gaussian probability map generated using sub-graph data is used to try to retrieve the positioning to enhance robustness.

[0068] Step 1022: Based on the current laser data, a multi-threaded parallel search is performed in the multi-resolution Gaussian probability map with the position of the target landmark point as the center to determine the candidate poses of the robot in the multi-resolution Gaussian probability map, and the candidate poses are iteratively screened to determine the target pose of the robot.

[0069] In the specific implementation of step 1022, based on the current laser data collected by the robot, a multi-threaded parallel search is performed in the constructed multi-resolution Gaussian probability map with the position of the target landmark point as the center to determine the candidate pose of the robot in the multi-resolution Gaussian probability map. Then, the determined candidate poses are iteratively screened to determine the target pose of the robot.

[0070] In this way, according to the above steps 1021-1022, by establishing a multi-resolution Gaussian probability map, a multi-threaded parallel search is performed in the multi-resolution Gaussian probability map to determine the candidate poses, and the target pose is screened out from the candidate poses to improve the accuracy and efficiency of the robot positioning.

[0071] Specifically, the multi-resolution Gaussian probability map includes a low-resolution Gaussian probability map, a medium-resolution Gaussian probability map and a high-resolution Gaussian probability map.

[0072] As an optional embodiment, for the above step 1022, based on the current laser data, a multi-threaded parallel search is performed in the multi-resolution Gaussian probability map with the position of the target landmark point as the center to determine the candidate pose of the robot in the multi-resolution Gaussian probability map, and the candidate pose is iteratively screened to determine the target pose of the robot, including:

[0073] Step 10221, perform a multi-threaded parallel search in the low-resolution Gaussian probability map with the position of the target landmark point as the center, calculate the matching degree between the current laser data and the laser data corresponding to the first candidate posture in the low-resolution Gaussian probability map, and use a first set number of first candidate postures whose matching degree is greater than or equal to a matching threshold as the second candidate posture.

[0074] For the above step 10221, when it is specifically implemented, firstly, a multi-threaded parallel search is performed in the low-resolution Gaussian probability map with the position of the target landmark point as the center. Specifically, when performing a multi-threaded parallel search, the position of the target landmark point is taken as the center, and a search is performed upward and downward at the same time within a certain range. For example, a search is performed up and down at the same time within a range of 1 meter to obtain the first candidate posture of the robot in the low-resolution Gaussian probability map. Considering the matching degree between the laser data and the map, the matching degree between the current laser data and the laser data corresponding to the first candidate posture in the low-resolution Gaussian probability map is calculated. In order to improve the positioning and retrieval frequency, the first candidate posture is screened according to certain rules, and the first candidate posture with a matching degree greater than or equal to the matching threshold is used as the second candidate posture. Here, the first set number can be set to 20, and this application does not make specific restrictions. It is also possible to search upward, downward, left, and right at the same time within a certain range with the position of the target landmark point as the center, that is, to search in parallel all around to improve the search efficiency.

[0075] Step 10222, perform a multi-threaded parallel search with the second candidate posture in the medium-resolution Gaussian probability map, calculate the matching degree between the current laser data corresponding to the third candidate posture and the laser data corresponding to the third candidate posture in the medium-resolution Gaussian probability map, and use a second set number of third candidate postures whose matching degree is greater than or equal to the matching threshold as the fourth candidate posture.

[0076] For the above step 10222, in the specific implementation, a multi-threaded parallel search is performed in the medium-resolution Gaussian probability map with the position of the second candidate pose as the center to obtain the third candidate pose of the robot in the medium-resolution Gaussian probability map. Here, the method of performing multi-threaded parallel search is the same as the method described in the above step 10221, and can achieve similar technical effects, which will not be repeated here. Then, the matching degree of the current laser data corresponding to the third candidate pose and the laser data corresponding to the third candidate pose in the medium-resolution Gaussian probability map is calculated, and the third candidate pose of the second set number whose matching degree is greater than or equal to the matching threshold is used as the fourth candidate pose. The second set number can be less than the first set number to improve the subsequent matching efficiency with the high-resolution Gaussian probability map.

[0077] Step 10223, performing a multi-threaded parallel search with the fourth candidate posture in the high-resolution Gaussian probability map, determining the fifth candidate posture of the robot in the high-resolution Gaussian probability map, and taking the fifth candidate posture that meets the set conditions as the target posture of the robot.

[0078] For the above step 10223, in the specific implementation, after the fourth candidate pose is screened out in the medium-resolution Gaussian probability map, a multi-threaded parallel search is performed in the high-resolution Gaussian probability map with the position of the fourth candidate pose as the center to determine the fifth candidate pose of the robot in the high-resolution Gaussian probability map. Here, the method of performing multi-threaded parallel search is the same as the method described in the above step 10221, and similar technical effects can be achieved, which will not be repeated here. The fifth candidate pose is screened, and the fifth candidate pose that meets the set conditions is used as the target pose of the robot.

[0079] Exemplarily, in the high / medium / low resolution Gaussian probability map, multi-threaded parallel search is performed with the corresponding resolution as the step size. Exemplarily, the resolutions may be 10 cm, 5 cm, and 1 cm, respectively.

[0080] Thus, according to the above steps 10221 to 10223, the candidate poses are iteratively screened in the low-resolution Gaussian probability map, the medium-resolution Gaussian probability map, and the high-resolution Gaussian probability map, respectively, and the number of candidate poses is limited according to the set number to improve the efficiency of robot positioning. By setting a multi-resolution map, the load on the robot CPU can be reduced when a large number of matches are required through the low-resolution Gaussian map. After a certain number of candidate poses are screened out, increasing the map resolution can improve the accuracy of the positioning result.

[0081] As an optional embodiment, with respect to the above step 10223, taking the fifth candidate posture that meets the set conditions as the target posture of the robot includes:

[0082] A: Extract the first scene feature in the current laser data and the second scene feature of the fifth candidate pose.

[0083] B: Compare the first scene feature with the second scene feature, and when the feature verification requirements are met, use the fifth candidate posture as the target posture of the robot.

[0084] The scene feature here may be a right-angle feature or a corner point feature, which is not specifically limited in this application.

[0085] For the above steps A-B, in the specific implementation, the first scene feature in the current laser data and the second scene feature of the fifth candidate posture are extracted. Then, the first scene feature is compared with the second scene feature. When the feature verification requirements are met, the fifth candidate posture is used as the target posture of the robot. Exemplarily, if the second scene feature corresponding to the fifth candidate posture includes N corner point features, then the first scene feature includes at least 2N / 3 corner point features, and it is judged that the feature verification requirements are met. Exemplarily, the degree of data matching corresponding to each corner point feature can be further determined. For example, the degree of laser data matching corresponding to each corner point feature can be set to 80%, and then it is determined that the current corner point feature matches. This reduces the occurrence of mismatching, and can also be well compatible with temporary changes in environmental features, thereby improving positioning accuracy.

[0086] In this way, according to the above steps A-B, by extracting and comparing the features of the current laser data and the features of the candidate postures, the interference of dynamic obstacles is avoided through feature verification, the accuracy of the determined target posture is improved, and the robot positioning is made more accurate.

[0087] After determining the target position and posture of the robot, the robot positioning method provided in the embodiment of the present application further includes:

[0088] I: Calculate the laser matching degree between the current laser data and the laser data corresponding to the target posture, and use the multi-resolution Gaussian probability map to calculate the posture correctness probability corresponding to the target posture.

[0089] II: Determine whether the laser matching degree is greater than or equal to the laser matching degree threshold, and whether the correct posture probability is greater than or equal to the probability threshold.

[0090] III: If not, return to execute the step of matching the sensor data collected by the robot with the reference data corresponding to the target landmark point to perform repositioning.

[0091] For the above steps I to III, in the specific implementation, after determining the target posture of the robot, the laser matching degree between the current laser data and the laser data corresponding to the target posture is calculated, and the probability of correct posture corresponding to the target posture is calculated using a multi-resolution Gaussian probability map. For example, the correct posture probability is used to determine whether the robot has stepped on an obstacle, and the Gaussian probability map can be used to calculate the probability that the target posture is correct. When it is judged that the laser matching degree is greater than or equal to the laser matching degree threshold, and the probability of correct posture is greater than or equal to the probability threshold, it means that the current robot has successfully retrieved its position. Exemplarily, the matching threshold can be 80%, and the probability threshold can be 0.9, which is not specifically limited in this application. When it is judged that the laser matching degree is less than the laser matching degree threshold, and / or the probability of correct posture is less than the probability threshold, repositioning is required, and the step of matching the sensor data collected by the robot with the reference data corresponding to the target landmark point in step S102 is returned to perform repositioning. After returning to repositioning, the robot can rotate automatically (in automatic mode) or the user can push the robot to rotate (in manual mode), and new laser scanning data can be collected for repositioning. For example, if the robot successfully finds its position, a map of the robot's surroundings after successful relocation can be displayed on the robot's display screen, so that the user can intuitively confirm whether the relocated position is accurate based on the surrounding map.

[0092] In this way, after determining the target posture of the robot through the above steps I to III, the target posture needs to be verified, and the laser matching degree and the probability of posture correctness are calculated to determine whether the current robot has successfully retrieved its position. When the laser matching degree reaches the matching degree threshold, and the probability of posture correctness reaches the probability threshold, it is considered that the robot has successfully retrieved its position and the target posture is used. If the laser matching degree does not reach the matching degree threshold, and / or the probability of posture correctness does not reach the probability threshold, the robot is repositioned to improve the accuracy of robot positioning.

[0093] See also Figure 2 , Figure 2 This is a flow chart of a robot positioning method in an automatic mode provided by an embodiment of the present application. Figure 2 As shown in , the robot positioning method provided in the embodiment of the present application further includes:

[0094] S201, when the current operation mode is the automatic mode, matching the laser scanning data collected by the robot with the feature data in the robot map to determine the target posture of the robot.

[0095] Regarding the above step S201, in the specific implementation, when the robot loses its positioning and the current operation mode of the robot is the automatic mode, the robot will first perform automatic positioning recovery, using the laser scanning data collected by the robot to match the feature data in the robot map to determine the target position of the robot. If the match fails, the robot can automatically rotate, collect new laser scanning data and match it with the feature data in the robot map, until the match fails after one rotation, it is determined that the automatic positioning recovery has failed.

[0096] S202, when the laser scanning data collected by the robot fails to match the feature data in the robot map, a positioning loss prompt message and a guidance message are generated to enable the user to move the robot to any positioning landmark point to reposition the robot.

[0097] For the above step S202, when the laser scanning data collected by the robot fails to match the feature data in the robot map, that is, the automatic positioning of the robot fails, manual intervention is required at this time, and the robot generates positioning loss prompt information and guidance information. Here, the guidance information may include positioning landmark points displayed by the display screen of the robot. The user can move the robot to any positioning landmark point by viewing the guidance information to reposition the robot. The method of robot positioning here is the same as the method provided in step S102, and the same technical effect can be achieved, which will not be repeated here. Exemplarily, in the automatic mode, when recommending landmark points to the user, the recommended landmark points can be determined based on the most recent positioning results. For example, the three landmark points closest to the last positioning result can be used as recommended landmark points to reduce the time it takes for the user to push the robot to reach the landmark point. For another example, according to the area where the most recent positioning result is located, the landmark point with the highest success rate of re-positioning after losing positioning in the area can be used as a recommended landmark point, and the probability of successful positioning and re-positioning can be increased through historical data.

[0098] Thus, according to the above steps S201-S202, when the current operation mode of the robot is the automatic mode, the robot will first perform automatic positioning, and if the positioning is successful, the robot will continue to operate. If the robot fails to position in the automatic mode, it will enter the positioning lost state and enter the manual positioning process guidance to complete the repositioning of the robot.

[0099] As an optional embodiment, the robot positioning method provided in the embodiment of the present application further includes:

[0100] (1) After the robot is turned on, in response to an initial positioning instruction, an initial landmark point for initial positioning is determined.

[0101] Regarding the above step (1), in the specific implementation, after the robot is turned on in any area, it needs to perform initial positioning. The user moves the robot to the vicinity of the initial landmark point, uses the position of the initial landmark point as the starting position for initial positioning matching, and determines the initial landmark point on the robot's software application to generate an initial positioning instruction. At this time, the robot determines the initial landmark point for initial positioning based on the initial positioning instruction.

[0102] (2) The initial sensor data collected by the robot is matched with the reference data corresponding to the initial landmark point. If the match is successful, the initial position of the robot is determined.

[0103] (3) If the matching is unsuccessful, the robot rotates and uses the sensor data collected by the robot during the rotation process to match the reference data corresponding to the initial landmark point until the matching is successful.

[0104] Regarding the above steps (2) to (3), in the specific implementation, after the robot determines the initial landmark point for initial positioning, the initial sensor data collected by the robot is matched with the reference data corresponding to the initial landmark point. If the scene features are obvious without the robot rotating, the match is successful immediately, and the initial position of the robot is determined. If the match is unsuccessful, the robot will rotate, and the sensor data collected by the robot during the rotation process will be matched with the reference data corresponding to the initial landmark point until the match is successful, so as to determine the initial position of the robot.

[0105] Thus, according to the above steps (1) to (3), when the robot is turned on in any area, the initial positioning of the robot is required. When the environmental features are obvious, the initial sensor data collected when the robot is not rotating successfully matches the reference data corresponding to the initial landmark point, the initial position of the robot can be determined. If the match is unsuccessful, the robot rotates in situ to collect more sensor data and compare it with the reference data corresponding to the initial landmark point until the match is successful, completing the key data matching process to improve the accuracy of the robot's initial positioning and reduce the risk of positioning during startup.

[0106] The robot positioning method provided in an embodiment of the present application determines the current operating mode of the robot when it is determined that the robot positioning is lost, and the current operating mode includes an automatic mode and a manual mode; when the current operating mode is the manual mode, in response to a repositioning instruction, determines the target landmark point corresponding to the repositioning instruction, and uses the sensor data collected by the robot to match the reference data corresponding to the target landmark point to determine the target posture of the robot, and the target landmark point is any one of a plurality of preset positioning landmark points.

[0107] When the robot loses its position, the application first determines the current operating mode of the robot. In manual mode, by matching the target landmark points corresponding to the repositioning instructions with the map data, the robot can be positioned using any landmark point in the area without relying on charging piles. Positioning and retrieval can be completed in multiple areas, which improves the efficiency and accuracy of robot repositioning, ensures that the robot can perform tasks more efficiently, reduces duplication of work and erroneous work caused by robot positioning loss, and thus improves overall work efficiency.

[0108] See also Figure 3 , Figure 3 This is a schematic diagram of the structure of a robot positioning device provided in an embodiment of the present application. Figure 3 As shown in , the robot positioning device 300 includes:

[0109] An operation mode determination module 301 is used to determine the current operation mode of the robot when it is determined that the robot positioning is lost, and the current operation mode includes an automatic mode and a manual mode;

[0110] The first positioning module 302 is used to respond to a repositioning instruction when the current operating mode is a manual mode, determine a target landmark point corresponding to the repositioning instruction, and use the sensor data collected by the robot to match the reference data corresponding to the target landmark point to determine the target posture of the robot, where the target landmark point is any one of a plurality of preset positioning landmark points.

[0111] Furthermore, the robot positioning device 300 further includes a map acquisition module, the sensor data includes laser scanning data, and before determining that the robot positioning is lost, the map acquisition module is used to:

[0112] A pre-constructed robot map is obtained, and the coordinates of each positioning landmark point in the robot map are stored, wherein the laser scanning data collected by the robot at the positioning landmark point has distinguishing features, and the distinguishing features include right-angled walls.

[0113] Furthermore, the robot positioning device 300 further includes a second positioning module, and the second positioning module is used for:

[0114] When the current operation mode is the automatic mode, the target position of the robot is determined by matching the laser scanning data collected by the robot with the feature data in the robot map;

[0115] When the laser scanning data collected by the robot fails to match the feature data in the robot map, a positioning loss prompt message and guidance information are generated to enable the user to move the robot to any positioning landmark point to reposition the robot, and the guidance information includes the positioning landmark point.

[0116] Furthermore, when the first positioning module 302 is used to match the sensor data collected by the robot with the reference data corresponding to the target landmark point to determine the target posture of the robot, the first positioning module 302 is also used to:

[0117] Acquire current laser data and a multi-resolution Gaussian probability map collected by the robot, wherein the multi-resolution Gaussian probability map is generated based on the robot map;

[0118] Based on the current laser data, a multi-threaded parallel search is performed in the multi-resolution Gaussian probability map with the position of the target landmark point as the center to determine the candidate poses of the robot in the multi-resolution Gaussian probability map, and the candidate poses are iteratively screened to determine the target pose of the robot.

[0119] Further, the multi-resolution Gaussian probability map includes a low-resolution Gaussian probability map, a medium-resolution Gaussian probability map and a high-resolution Gaussian probability map. When the first positioning module 302 is used to perform a multi-threaded parallel search based on the current laser data in the multi-resolution Gaussian probability map with the position of the target landmark point as the center, determine the candidate poses of the robot in the multi-resolution Gaussian probability map, and iteratively screen the candidate poses to determine the target pose of the robot, the first positioning module 302 is also used to:

[0120] Performing a multi-threaded parallel search in the low-resolution Gaussian probability map with the position of the target landmark point as the center, calculating the matching degree between the current laser data and the laser data corresponding to the first candidate pose in the low-resolution Gaussian probability map, and taking a first set number of first candidate poses with matching degrees greater than or equal to a matching threshold as second candidate poses;

[0121] Performing a multi-threaded parallel search with the second candidate pose in the medium-resolution Gaussian probability map, calculating a matching degree between current laser data corresponding to a third candidate pose and laser data corresponding to the third candidate pose in the medium-resolution Gaussian probability map, and taking a second set number of third candidate poses with matching degrees greater than or equal to a matching threshold as fourth candidate poses;

[0122] A multi-threaded parallel search is performed with the fourth candidate posture in the high-resolution Gaussian probability map to determine a fifth candidate posture of the robot in the high-resolution Gaussian probability map, and the fifth candidate posture that meets the set conditions is used as the target posture of the robot.

[0123] Furthermore, when the first positioning module 302 is used to use the fifth candidate posture that meets the set conditions as the target posture of the robot, the first positioning module 302 is also used to:

[0124] Extracting a first scene feature in the current laser data and a second scene feature of the fifth candidate pose;

[0125] The first scene feature is compared with the second scene feature, and when the feature verification requirement is met, the fifth candidate posture is used as the target posture of the robot.

[0126] Furthermore, the robot positioning device 300 further includes a posture verification module. After determining the target posture of the robot, the posture verification module is used to:

[0127] Calculating the laser matching degree between the current laser data and the laser data corresponding to the target posture, and calculating the posture correctness probability corresponding to the target posture using the multi-resolution Gaussian probability map;

[0128] Determine whether the laser matching degree is greater than or equal to a laser matching degree threshold, and whether the posture correctness probability is greater than or equal to a probability threshold;

[0129] If not, the process returns to the step of matching the sensor data collected by the robot with the reference data corresponding to the target landmark point to perform repositioning.

[0130] Furthermore, the robot positioning device 300 further includes an initial positioning module, which is used to:

[0131] After the robot is powered on, in response to an initial positioning instruction, an initial landmark point for initial positioning is determined;

[0132] Matching the initial sensor data collected by the robot with the reference data corresponding to the initial landmark point, and if the match is successful, determining the initial position of the robot;

[0133] If the matching is unsuccessful, the robot rotates, and uses the sensor data collected by the robot during the rotation process to match the reference data corresponding to the initial landmark point until the matching is successful.

[0134] See also Figure 4, Figure 4 This is a schematic diagram of the structure of a robot provided in an embodiment of the present application. Figure 4 As shown in , the robot 400 includes a processor 410 , a memory 420 and a bus 430 .

[0135] The memory 420 stores machine-readable instructions executable by the processor 410. When the electronic device 400 is running, the processor 410 communicates with the memory 420 via the bus 430. When the machine-readable instructions are executed by the processor 410, the above-mentioned Figure 1 as well as Figure 2 The steps of the robot positioning method in the method embodiment shown, the specific implementation method can be found in the method embodiment, and will not be repeated here.

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

[0137] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, 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 communication interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.

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

[0139] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0140] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present application can essentially be embodied in the form of a software product, or in other words, the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

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

Claims

1. A robot positioning method, characterized in that: The robot positioning method comprises: When it is determined that the robot positioning is lost, determining a current operation mode of the robot, wherein the current operation mode includes an automatic mode and a manual mode; When the current operating mode is manual mode, in response to a repositioning instruction, a target landmark point corresponding to the repositioning instruction is determined, and the sensor data collected by the robot is matched with the reference data corresponding to the target landmark point to determine the target posture of the robot, where the target landmark point is any one of a plurality of preset positioning landmark points.

2. The robot positioning method according to claim 1, characterized in that: The sensor data includes laser scanning data. Before determining that the robot positioning is lost, the robot positioning method further includes: A pre-constructed robot map is obtained, and the coordinates of each positioning landmark point in the robot map are stored, wherein the laser scanning data collected by the robot at the positioning landmark point has distinguishing features, and the distinguishing features include right-angled walls.

3. The robot positioning method according to claim 2, characterized in that: The robot positioning method also includes: When the current operation mode is the automatic mode, the target position of the robot is determined by matching the laser scanning data collected by the robot with the feature data in the robot map; When the laser scanning data collected by the robot fails to match the feature data in the robot map, a positioning loss prompt message and guidance information are generated to enable the user to move the robot to any positioning landmark point to reposition the robot, and the guidance information includes the positioning landmark point.

4. The robot positioning method according to claim 2, characterized in that: The method of matching the sensor data collected by the robot with the reference data corresponding to the target landmark point to determine the target posture of the robot includes: Acquire current laser data and a multi-resolution Gaussian probability map collected by the robot, wherein the multi-resolution Gaussian probability map is generated based on the robot map; Based on the current laser data, a multi-threaded parallel search is performed in the multi-resolution Gaussian probability map with the position of the target landmark point as the center to determine the candidate poses of the robot in the multi-resolution Gaussian probability map, and the candidate poses are iteratively screened to determine the target pose of the robot.

5. The robot positioning method according to claim 4, characterized in that: The multi-resolution Gaussian probability map includes a low-resolution Gaussian probability map, a medium-resolution Gaussian probability map and a high-resolution Gaussian probability map. Based on the current laser data, a multi-threaded parallel search is performed in the multi-resolution Gaussian probability map with the position of the target landmark point as the center to determine the candidate pose of the robot in the multi-resolution Gaussian probability map, and the candidate poses are iteratively screened to determine the target pose of the robot, including: Performing a multi-threaded parallel search in the low-resolution Gaussian probability map with the position of the target landmark point as the center, calculating the matching degree between the current laser data and the laser data corresponding to the first candidate pose in the low-resolution Gaussian probability map, and taking a first set number of first candidate poses with matching degrees greater than or equal to a matching threshold as second candidate poses; Performing a multi-threaded parallel search with the second candidate pose in the medium-resolution Gaussian probability map, calculating a matching degree between current laser data corresponding to a third candidate pose and laser data corresponding to the third candidate pose in the medium-resolution Gaussian probability map, and taking a second set number of third candidate poses with matching degrees greater than or equal to a matching threshold as fourth candidate poses; A multi-threaded parallel search is performed with the fourth candidate posture in the high-resolution Gaussian probability map to determine a fifth candidate posture of the robot in the high-resolution Gaussian probability map, and the fifth candidate posture that meets the set conditions is used as the target posture of the robot.

6. The robot positioning method according to claim 5, characterized in that: The step of taking the fifth candidate posture that meets the set conditions as the target posture of the robot includes: Extracting a first scene feature in the current laser data and a second scene feature of the fifth candidate pose; The first scene feature is compared with the second scene feature, and when the feature verification requirement is met, the fifth candidate posture is used as the target posture of the robot.

7. The robot positioning method according to claim 4, characterized in that: After determining the target posture of the robot, the robot positioning method further includes: Calculating the laser matching degree between the current laser data and the laser data corresponding to the target posture, and calculating the posture correctness probability corresponding to the target posture using the multi-resolution Gaussian probability map; Determine whether the laser matching degree is greater than or equal to a laser matching degree threshold, and whether the posture correctness probability is greater than or equal to a probability threshold; If not, the process returns to the step of matching the sensor data collected by the robot with the reference data corresponding to the target landmark point to perform repositioning.

8. The robot positioning method according to claim 1, characterized in that: The robot positioning method also includes: After the robot is powered on, in response to an initial positioning instruction, an initial landmark point for initial positioning is determined; Matching the initial sensor data collected by the robot with the reference data corresponding to the initial landmark point, and if the match is successful, determining the initial position of the robot; If the matching is unsuccessful, the robot rotates, and uses the sensor data collected by the robot during the rotation process to match the reference data corresponding to the initial landmark point until the matching is successful.

9. A robot positioning device, characterized in that: The robot positioning device comprises: An operation mode determination module, used for determining a current operation mode of the robot when it is determined that the robot positioning is lost, wherein the current operation mode includes an automatic mode and a manual mode; The first positioning module is used to respond to a repositioning instruction when the current operating mode is a manual mode, determine a target landmark point corresponding to the repositioning instruction, and use the sensor data collected by the robot to match the reference data corresponding to the target landmark point to determine the target posture of the robot, where the target landmark point is any one of a plurality of preset positioning landmark points.

10. A robot, characterized in that: include:A processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate through the bus, and the machine-readable instructions are executed by the processor to execute the steps of the robot positioning method as described in any one of claims 1 to 8.

Citation Information

Cited By

  • Remote manual coordinate repositioning method for indoor robot

    CN120721098A