Map construction method, self-moving robot and storage medium
By acquiring sensing data and collision signals, combined with a variety of ranging sensor data, the autonomous mobile robot can accurately locate and generate a complete obstacle map, solving the problems of detection blind spots and insufficient accuracy, and improving the quality and accuracy of the obstacle map. Walking safety of self-mobile robots.
Patent Information
- Application Number
- CN202111530291.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-14
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2041-12-14
AI Technical Summary
In the existing technology, self-mobile robots have problems with detecting blind spots and insufficient accuracy of obstacle maps when constructing obstacle maps. Especially when obstacles of different heights are detected, it is difficult to accurately locate and generate a complete map.
By acquiring the sensing data and collision signals from the mobile robot in the preset area, and combining the data from multiple ranging sensors, the obstacle map is positioned and generated, including the first obstacle and the second obstacle without collision, to expand Detection range and narrow detection blind area.
It improves the accuracy and completeness of the obstacle map, reduces the possibility of collisions between self-moving robots and low obstacles, and ensures more coordinated and safer walking.
Smart Images

Figure CN114326718B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of intelligent robots, and in particular to a map building method, a self-moving robot and a storage medium. Background Art
[0002] With the development of artificial intelligence technology, various self-moving robots are increasingly being used in various fields, such as service robots, cleaning robots, self-moving vending robots, and so on. Since cleaning robots can perform cleaning work autonomously and free people's hands, they are especially popular among young people. In practice, the use scenarios of cleaning robots have gradually expanded from household scenarios to commercial scenarios, such as large cleaning robots for use in shopping malls. In addition, service robots that provide specific services to users are also commonly seen in scenarios such as banks and restaurants.
[0003] Different types of self-propelled robots need to avoid obstacles while traveling from a starting point to an end point to complete a task. In the prior art, obstacle avoidance can usually be achieved with the help of an obstacle map. Summary of the invention
[0004] The embodiment of the present invention provides a map construction method, a self-propelled robot and a storage medium, which are used to improve the accuracy of an obstacle map.
[0005] In a first aspect, an embodiment of the present invention provides a map construction method, comprising:
[0006] Acquire sensor data collected by the mobile robot during its movement in a preset area;
[0007] In response to a collision between the self-propelled robot and a first obstacle in the preset area, generating a collision signal corresponding to the first obstacle;
[0008] locating the first obstacle according to a collision signal corresponding to the first obstacle;
[0009] Locating a second obstacle in the preset area that has not collided with the self-propelled robot according to the sensing data; a high obstacle
[0010] An obstacle map corresponding to the preset area is generated according to respective positioning information of the first obstacle and the second obstacle.
[0011] In a second aspect, an embodiment of the present invention provides a self-propelled robot, comprising: a processor and a memory; wherein the memory is used to store one or more computer instructions, wherein when the one or more computer instructions are executed by the processor, the following are implemented:
[0012] Acquire sensor data collected by the mobile robot during its movement in a preset area;
[0013] In response to a collision between the self-propelled robot and a first obstacle in the preset area, generating a collision signal corresponding to the first obstacle;
[0014] locating the first obstacle according to a collision signal corresponding to the first obstacle;
[0015] Locating a second obstacle in the preset area that has not collided with the self-propelled robot according to the sensing data;
[0016] An obstacle map corresponding to the preset area is generated according to respective positioning information of the first obstacle and the second obstacle.
[0017] In a third aspect, an embodiment of the present invention provides a self-moving robot, comprising: a body, a plurality of sensors mounted on the body, and a controller;
[0018] The sensor is used to collect sensor data when the self-moving robot moves in a preset area;
[0019] The controller is used to obtain the sensor data; generate a collision signal corresponding to a first obstacle in the preset area in response to a collision between the self-moving robot and the first obstacle; locate the first obstacle according to the collision signal corresponding to the first obstacle; locate a second obstacle in the preset area that has not collided with the self-moving robot according to the sensor data; and generate an obstacle map corresponding to the preset area according to the respective positioning information of the first obstacle and the second obstacle.
[0020] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium storing computer instructions, which, when executed by one or more processors, causes the one or more processors to perform at least the following actions:
[0021] Acquire sensor data collected by the mobile robot during its movement in a preset area;
[0022] In response to a collision between the self-propelled robot and a first obstacle in the preset area, generating a collision signal corresponding to the first obstacle;
[0023] locating the first obstacle according to a collision signal corresponding to the first obstacle;
[0024] Locating a second obstacle in the preset area that has not collided with the self-propelled robot according to the sensing data;
[0025] An obstacle map corresponding to the preset area is generated according to respective positioning information of the first obstacle and the second obstacle.
[0026] In a fifth aspect, an embodiment of the present invention provides a map construction method, wherein a plurality of ranging sensors with different measuring distances are arranged on the body of the self-moving robot, including:
[0027] Acquire target sensing data collected by a target ranging sensor when the self-moving robot moves in a preset area, wherein the target ranging sensor has the longest measurement distance;
[0028] Determining a target distance between an obstacle in a preset area and the self-propelled robot according to the target sensing data;
[0029] According to the target distance, adjusting the switch states of the remaining distance measuring sensors among the multiple distance measuring sensors;
[0030] The obstacle is located according to the sensing data collected by the ranging sensor in the turned-on state to generate an obstacle map corresponding to the preset area.
[0031] In a sixth aspect, an embodiment of the present invention provides a self-propelled robot, comprising: a processor and a memory; wherein the memory is used to store one or more computer instructions, wherein when the one or more computer instructions are executed by the processor, the following are implemented:
[0032] Acquire target sensing data collected by a target ranging sensor when the self-moving robot moves in a preset area, wherein the target ranging sensor has the longest measurement distance;
[0033] Determining a target distance between an obstacle in a preset area and the self-propelled robot according to the target sensing data;
[0034] According to the target distance, adjusting the switch states of the remaining distance measuring sensors among the multiple distance measuring sensors;
[0035] The obstacle is located according to the sensing data collected by the ranging sensor in the turned-on state to generate an obstacle map corresponding to the preset area.
[0036] In a seventh aspect, an embodiment of the present invention provides a self-moving robot, comprising: a body, a plurality of sensors mounted on the body, and a controller;
[0037] The sensor is used to collect target sensor data when the self-moving robot moves in a preset area;
[0038] The controller is used to obtain the target sensing data, wherein the measurement distance of the target ranging sensor is the farthest; determine the target distance between the obstacle in a preset area and the self-propelled robot according to the target sensing data; adjust the switch states of the remaining ranging sensors among the multiple ranging sensors according to the target distance; locate the obstacle according to the sensing data collected by the ranging sensor in the turned-on state, so as to generate an obstacle map corresponding to the preset area.
[0039] In an eighth aspect, an embodiment of the present invention provides a computer-readable storage medium storing computer instructions, which, when executed by one or more processors, causes the one or more processors to perform at least the following actions:
[0040] Acquire target sensing data collected by a target ranging sensor when the self-moving robot moves in a preset area, wherein the target ranging sensor has the longest measurement distance;
[0041] Determining a target distance between an obstacle in a preset area and the self-propelled robot according to the target sensing data;
[0042] According to the target distance, adjusting the switch states of the remaining distance measuring sensors among the multiple distance measuring sensors;
[0043] The obstacle is located according to the sensing data collected by the ranging sensor in the turned-on state to generate an obstacle map corresponding to the preset area.
[0044] In the map construction method provided by the present invention, during the process of traveling in a preset area, the self-moving robot will obtain the sensor data collected in the area, and will also obtain the collision signal generated in the area due to the collision between the self-moving robot and the first obstacle, and locate the first obstacle according to the collision information corresponding to the first obstacle. After that, the second obstacle in the preset area that has not collided with the self-moving robot is located according to the sensor data, so as to generate an obstacle map corresponding to the preset area according to the respective positioning information of different obstacles. It can be seen that in the above scheme, the self-moving robot can locate different obstacles according to a variety of data collected in different ways, so as to expand the detection range of obstacles and reduce the detection blind area, thereby further improving the accuracy of obstacle map generation. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0046] Figure 1 A flowchart of a map construction method provided by an embodiment of the present invention;
[0047] Figure 2 A schematic diagram of the positional relationship between various sensors provided on the self-moving robot provided in an embodiment of the present invention;
[0048] Figure 3 for Figure 1 A flowchart of an optional implementation of step 103 in the map construction method provided in the illustrated embodiment;
[0049] Figure 4 A schematic diagram of the positional relationship between various sensors and collision plates provided for the self-propelled robot provided in an embodiment of the present invention;
[0050] Figure 5 A schematic diagram of a division result corresponding to a preset area provided in an embodiment of the present invention;
[0051] Figure 6 A flowchart of another map construction method provided by an embodiment of the present invention;
[0052] Figure 7 A schematic diagram of the map construction method provided by an embodiment of the present invention applied in a public service scenario;
[0053] Figure 8 A schematic diagram of applying the map construction method provided by an embodiment of the present invention to a home cleaning scenario;
[0054] Fig. 9 A flowchart of another map construction method provided by an embodiment of the present invention;
[0055] Fig.10 For Figure 1 A schematic structural diagram of a self-moving robot corresponding to the map building method provided in the illustrated embodiment;
[0056] Fig.11 For Figure 1 A schematic diagram of the structure of another self-moving robot corresponding to the map building method provided in the illustrated embodiment;
[0057] Fig.12 For Fig. 9 A schematic structural diagram of a self-moving robot corresponding to the map building method provided in the illustrated embodiment;
[0058] Fig.13 For Fig. 9 A schematic structural diagram of another self-moving robot corresponding to the map building method provided in the illustrated embodiment. DETAILED DESCRIPTION
[0059] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0060] The terms used in the embodiments of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The singular forms "a", "the" and "the" used in the embodiments of the present invention and the appended claims are also intended to include plural forms. Unless the context clearly indicates otherwise, "plurality" generally includes at least two.
[0061] As used herein, the words "if" and "if" may be interpreted as "at the time of" or "when" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrases "if it is determined" or "if (stated condition or event) is detected" may be interpreted as "when it is determined" or "in response to determining" or "when detecting (stated condition or event)" or "in response to detecting (stated condition or event)", depending on the context.
[0062] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a product or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such a product or system. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the product or system including the elements.
[0063] In practical applications, common self-moving robots may include service robots, cleaning robots, self-moving vending robots, etc. At the same time, the background technology also describes that different types of self-moving robots can use pre-generated obstacle maps to avoid obstacles and complete corresponding tasks. In order to ensure the quality of task completion, a high-quality obstacle map with complete obstacle information can be constructed according to the map construction method provided in the following embodiments of the present invention.
[0064] The map construction method provided in this article is described in detail below in conjunction with the following embodiments. The sequence of steps in the following method embodiments is only an example and not a strict limitation. In addition, if there is no conflict between the embodiments, the following embodiments and the features in the embodiments can be combined with each other.
[0065] Figure 1 The flowchart of a map construction method provided by an embodiment of the present invention. In practical applications, the map construction method can be executed by a self-moving robot such as a service robot, a sweeping robot, a self-moving vending robot, etc. Figure 1 As shown, the method may include the following steps:
[0066] 101. Acquire sensor data collected by the mobile robot during its movement in a preset area.
[0067] When the self-moving robot moves in a preset area, it can obtain sensor data collected in real time by the sensors installed on itself. Optionally, the sensor can be a variety of types of ranging sensors, such as laser radar, infrared sensor, ultrasonic sensor, visual sensor, etc. And different types of sensors have different detection ranges, such as laser radar is used to detect obstacles on the plane where the laser emits light (i.e., the laser plane). The visual sensor is used to detect obstacles within the corresponding field of view. Infrared sensors and ultrasonic sensors are used to detect obstacles within a certain distance range based on the reflected distance value, and the detection range of the two is usually smaller than that of laser radar.
[0068] It can be seen that the multiple ranging sensors simultaneously arranged on the self-propelled robot can complement each other, so that the self-propelled robot has a larger obstacle detection range.
[0069] Among them, according to the different application scenarios of the self-moving robot, its preset walking area is also different. For example, the corresponding preset area of the cleaning robot used at home is the living room and bedroom waiting to be cleaned area. The corresponding preset area of the cleaning robot used in public places such as shopping malls is the shopping mall lobby, toilet, etc. The corresponding preset area of the server robot used in public places such as banks is the bank lobby, etc.
[0070] 102. In response to a collision between the autonomous robot and a first obstacle in a preset area, generate a collision signal corresponding to the first obstacle.
[0071] 103. Locate the first obstacle according to the collision signal corresponding to the first obstacle.
[0072] In practice, considering the detection ranges of different types of ranging sensors, the self-moving robot may collide with the first obstacle that exceeds the detection range during its movement. The self-moving robot may generate a collision signal corresponding to the first obstacle in response to the collision, and the signal indicates that there is an obstacle in the direction of the self-moving robot's movement.
[0073] Optionally, the current position information of the self-moving robot may be directly determined as the position information of the first obstacle.
[0074] 104. Locate a second obstacle in a preset area that has not collided with the self-moving robot according to the sensing data.
[0075] Optionally, the target distance between the second obstacle in the preset area and the self-propelled robot is determined according to the distance measuring sensor, and the position information of the second obstacle is determined according to the target distance and the position information of the self-propelled robot in the preset area. The second obstacle is usually higher than the first obstacle.
[0076] It can be seen that the collision signal can further supplement the detection blind areas of various ranging sensors, thereby further expanding the detection range of the self-propelled robot for obstacles and reducing the detection blind areas. Optionally, when the self-propelled robot collides with an obstacle, the self-propelled robot will retreat and bypass the obstacle so as to continue to move to other locations in the preset area.
[0077] 105. Generate an obstacle map corresponding to a preset area according to respective positioning information of the first obstacle and the second obstacle.
[0078] Finally, the self-propelled robot can generate an obstacle map corresponding to a preset area according to the positioning information of obstacles at different heights, that is, generate an obstacle map according to data collected in different ways.
[0079] In this embodiment, while traveling in the preset area, the self-moving robot will obtain the sensor data collected in the area, and will also obtain the collision signal corresponding to the first obstacle generated in the area after the self-moving robot collides with the first obstacle. Afterwards, the second obstacle that has not collided with the self-moving robot in the preset area is located according to the sensor data, so as to generate an obstacle map corresponding to the preset area according to the positioning information of the obstacles at different heights. It can be seen that in the above scheme, the self-moving robot can realize the positioning of obstacles based on a variety of data collected in different ways, so as to expand the detection range of obstacles, reduce the detection blind area, and further improve the accuracy and completeness of the obstacle map generation.
[0080] Regarding reducing the detection blind area of the self-moving robot, it can also be understood that: since the body of the self-moving robot is relatively high, and in the prior art, various types of distance measuring sensors are usually installed on the upper part of the body of the self-moving robot, there is a certain detection blind area when using the distance measuring sensor to locate obstacles. The detection blind area is usually located in the lower half of the body, which makes the self-moving robot unable to detect shorter obstacles. However, the first obstacle with a shorter height can be detected with the help of the collision signal, which means that the detection blind area is reduced.
[0081] In order to further reduce the detection blind area of the self-propelled robot, the location of the various types of distance measuring sensors can be optimized. Optionally, the various distance measuring sensors can be specifically arranged at different heights of the self-propelled robot body. An optional implementation method can be as follows Figure 2 As shown. Figure 2 In the figure, the laser radar is located at the top of the fuselage and is used to detect obstacles on the plane where the laser emits light (i.e., the laser plane). The visual sensor is located at the bottom of the laser radar and is used to detect obstacles within the corresponding field of view. The infrared sensor and the ultrasonic sensor are located above the visual sensor and are used to detect obstacles within a certain distance range based on the reflected distance value. Therefore, setting up a variety of ranging sensors at different positions on the fuselage can also further reduce the blind spot of obstacle detection and improve the accuracy and completeness of obstacle map generation.
[0082] Based on the above description, an optional way to construct an obstacle map is also a specific optional implementation of step 104, which can be as follows: Figure 3 Shown:
[0083] 1041. Determine a target distance between a second obstacle in a preset area and the self-moving robot based on the sensing data, and the second obstacle does not collide with the self-moving robot.
[0084] The self-propelled robot can determine the target distance between the second obstacle in the preset area and the self-propelled robot according to the sensing data collected by the distance measuring sensor.
[0085] Optionally, when the ranging sensor is a laser radar, the sensor data collected by it can be specifically point cloud data, and the above-mentioned target distance can be directly calculated based on this point cloud data. When the ranging sensor is a visual sensor, the sensor data collected by it is specifically image data. Optionally, the above-mentioned target distance can be directly calculated based on the image data, or the image data can be converted into point cloud data, and then the above-mentioned target distance can be calculated. When the ranging sensor is an infrared sensor or an ultrasonic sensor, the sensor data collected by it is a returned distance value, which is also the above-mentioned target distance.
[0086] 1042. Determine the position information of the second obstacle according to the target distance and the position information of the self-propelled robot in the preset area.
[0087] Next, calculation is performed based on the target distance and the current position information of the self-moving robot in the preset area to obtain the position information of the first obstacle in the preset area. Optionally, the position information of the self-moving robot can be the coordinate information obtained by mapping the GPS coordinates of the robot to the grid map corresponding to the preset area, and the target distance is also converted into the coordinate information in the grid map, and the difference between the two coordinate information can be determined as the position information of the first obstacle in the grid map.
[0088] Since the second obstacle is detected based on the sensor data, it indicates that the second obstacle is within the detection range of the ranging sensor and Figure 2 The second obstacle is usually an obstacle with a certain height, such as a table, chair, door, cabinet, etc. in a home cleaning scene. In public places such as shopping malls and banks, it can be a consultation desk, cashier counter, etc.
[0089] Accordingly, the first obstacle usually has a lower height, such as waterproof steps in a home cleaning scene, low footstools, etc. Another example is a small step in a public place such as a shopping mall or a bank. Optionally, the second obstacle may also be transparent glass that cannot be detected according to the sensor data.
[0090] based on Figure 1 And in this embodiment, the self-moving robot can use the sensor data to detect the second obstacle with a certain height, and use the collision signal to detect the first obstacle with a shorter height. The sensor data and the collision signal complement each other, and obstacles of different heights can be added to the obstacle map, thereby improving the accuracy and completeness of the obstacle map. At the same time, because the obstacle map contains obstacles detected according to the collision signal, the self-moving robot will not frequently collide with low obstacles in the process of using this obstacle map to avoid obstacles, which reduces the possibility of collision damage to the self-moving robot and makes the walking of the self-moving robot more coordinated.
[0091] Optionally, in practice, the self-moving robot is further provided with a collision plate, and the collision plate may be located below the body of the self-moving robot. Figure 2 The positional relationship between the distance measuring sensors shown in FIG. Figure 4 As shown, the collision plate can be arranged below the infrared sensor or the ultrasonic sensor.
[0092] When the collision plate of the self-moving robot collides with the first obstacle (i.e., a low obstacle), a collision signal is generated. At this time, the position information of the first obstacle can be determined according to the position of the self-moving robot in the preset area and the thickness of the collision plate. Optionally, the thickness of the collision plate can be converted into coordinate information corresponding to the grid map, and the difference between the coordinate information of the self-moving robot in the grid map and the coordinate information corresponding to the thickness of the collision plate is used to determine the position information of the first obstacle in the map.
[0093] At the same time, Figure 1 to Figure 3 Similar to the illustrated embodiment, the self-moving robot can still detect the position information of the second obstacle according to the sensing data collected by each ranging sensor.
[0094] It should be noted that, in practice, if a single sensor data is used for obstacle detection, there will be a large detection blind area, and the larger the size of the self-propelled robot and the higher the height of the body, the larger the detection blind area, which greatly reduces the accuracy and completeness of the obstacle map. In the embodiments provided by the present invention, the collision signal and the sensor data collected by multiple sensors can be used simultaneously to detect obstacles, which can greatly reduce the detection blind area and improve the completeness and accuracy of the obstacle map.
[0095] After the second obstacle is located according to the sensing data in the above manner, in order to further improve the accuracy of the second obstacle location, the second obstacle may also be located with the help of a collision signal.
[0096] In an optional manner, after locating the second obstacle according to the sensor data, the speed of the self-moving robot moving toward the second obstacle can be further controlled according to the target distance between the second obstacle and the self-moving robot, so that the self-moving robot gradually approaches until it collides with the second obstacle. Afterwards, in response to this collision, the self-moving robot can generate a collision signal corresponding to the second obstacle, and finally locate the second obstacle again according to the collision signal. The positioning result obtained according to the sensor data can be corrected according to the positioning result obtained using the collision signal. Optionally, this correction can specifically be that the positioning result obtained using the collision signal directly replaces the positioning result obtained according to the sensor data. At this time, by improving the accuracy of the positioning information of the second obstacle, the accuracy of constructing the obstacle map is indirectly improved.
[0097] Among them, optionally, when the collision signal corresponding to the second obstacle is generated, the current position of the self-moving robot can be determined as the position of the second obstacle. Optionally, the position information of the second obstacle can also be determined according to the position of the self-moving robot in the preset area and the thickness of the collision plate. The specific process can be referred to the relevant content in the above embodiment, which will not be repeated here.
[0098] According to the above description, in order to ensure the integrity and accuracy of the obstacle map construction, the self-moving robot needs to travel to various positions in the preset area and collide with obstacles. Therefore, after obtaining the target distance between itself and the second obstacle, the self-moving robot can also adjust its own travel speed according to the size of this target distance to avoid the self-moving robot colliding with the obstacle at a faster speed and causing damage to the body. Optionally, a specific adjustment strategy can be:
[0099] If the target distance is greater than the first preset distance, indicating that the self-moving robot is far away from the second obstacle, the self-moving robot is controlled to move toward the first obstacle at a first speed.
[0100] If the target distance is less than the first preset distance and greater than the second preset distance, the self-moving robot is controlled to move toward the second obstacle at a second speed, wherein the first preset distance is greater than the second preset distance and the second speed is less than the first speed.
[0101] If the target distance is less than the second preset distance, the self-moving robot is controlled to move toward the second obstacle at a third speed, and the third speed is less than the second speed.
[0102] In practice, optionally, the first speed may be the maximum travel speed of the robot, the second speed may be half of the maximum travel speed, and the third speed may be one quarter of the maximum travel speed.
[0103] The above adjustment strategies can be combined with Figure 5 Understand. That is, when the second obstacle is located outside area B in the preset area, indicating that the second obstacle is far away from the self-moving robot, the self-moving robot is controlled to move toward the second obstacle at a first speed. As the self-moving robot moves, the distance between the second obstacle and the self-moving robot will gradually shorten. When the second obstacle is located in area B, the self-moving robot is controlled to move toward the second obstacle at a second speed. As the distance between the second obstacle and the self-moving robot further shortens, when the obstacle is located in area A, indicating that the distance between the second obstacle and the self-moving robot is already close, the self-moving robot is controlled to move toward the second obstacle at a third speed until it collides with the second obstacle.
[0104] It can be seen that by adjusting the speed, the self-moving robot can gradually and slowly approach and collide with the second obstacle, so as to avoid damage to the self-moving robot caused by a rapid collision with the obstacle.
[0105] Optionally, in practice, if the positioning information of the second obstacle obtained based on the sensor data can be guaranteed to be accurate, then in order to ensure the integrity and accuracy of the obstacle map construction, the self-moving robot may avoid colliding with the second obstacle after obtaining the target distance between itself and the second obstacle, and directly adjust its own travel speed according to the size of this target distance.
[0106] Specifically, if the target distance is less than a first preset distance and greater than a second preset distance, the self-moving robot is controlled to move toward the second obstacle at a second speed, wherein the first preset distance is greater than the second preset distance, and the second speed is less than the first speed.
[0107] If the target distance is less than the second preset distance, the self-moving robot is controlled to move toward the second obstacle at a third speed, and the third speed is less than the second speed.
[0108] If the target distance is less than the third preset distance, it means that the distance between the self-moving robot and the obstacle is small and there is a risk of collision. Since the second obstacle has a certain height, it is very likely to cause damage to the self-moving robot after colliding with it. In this case, the self-moving robot is controlled to bypass the first obstacle, and the third preset distance is less than the second preset distance.
[0109] According to the above speed adjustment method, the self-propelled robot can gradually and slowly approach and bypass the second obstacle, so as to avoid collision with the second obstacle when avoiding the second obstacle due to the high speed. At the same time, since the self-propelled robot will bypass the second obstacle only when it moves to an area close to the second obstacle, it will not miss obstacles in the area close to the second obstacle, thereby ensuring the integrity and accuracy of the obstacle map.
[0110] Figure 1 It has been explained in the illustrated embodiment that a variety of distance measuring sensors are arranged on the body of the self-moving robot, such as a laser radar, an infrared sensor, an ultrasonic sensor, a visual sensor, etc. And each distance measuring sensor is arranged at a different height of the body, and each distance measuring sensor also has a different measuring distance.
[0111] The above description has shown that in the process of using the collision signal to correct the positioning result of the second obstacle, the travel speed of the self-moving robot will be controlled. At this time, the energy consumption of the sensor and the measurement distance of the sensor are comprehensively considered, and the switching status of different ranging sensors can be controlled while controlling the travel speed.
[0112] Specifically, the first distance measuring sensor provided on the robot body is controlled to be in an on state, and the sensor has the longest measuring distance. At this time, the self-propelled robot can obtain the target distance between the self-propelled robot and the second obstacle according to the sensing data collected by the first distance measuring sensor.
[0113] If the target distance is greater than the first preset distance, indicating that the distance between the self-moving robot and the second obstacle is far, the self-moving robot is controlled to move toward the second obstacle at the first speed. At this time, the second obstacle has not yet fallen into the measurement distance of other distance measuring sensors, so other distance measuring sensors are still in a closed state, thereby achieving the effect of saving energy consumption.
[0114] When the self-moving robot is running at the first speed, the target distance will gradually decrease. If the target distance is less than the first preset distance and greater than the second preset distance, it indicates that the second obstacle falls within the measuring distance of the second ranging sensor, and the self-moving robot is controlled to move toward the second obstacle at the second speed. At the same time, the second ranging sensor set on the body is controlled to be turned on, so that the first ranging sensor and the second ranging sensor can jointly detect obstacles, thereby improving the accuracy of locating the second obstacle. Among them, the first preset distance is greater than the second preset distance, and the second speed is less than the first speed. The measuring distance of the second ranging sensor is less than the measuring distance of the first ranging sensor.
[0115] When the self-moving robot is running at the second speed, the target distance between the self-moving robot and the second obstacle will be further reduced. At this time, since the first ranging sensor and the second ranging sensor are both in the on state, the target distance can actually be obtained based on the sensor data collected by the second ranging sensor and the first ranging sensor. If the target distance is less than the second preset distance, indicating that the distance between the second obstacle and the self-moving robot is closer, the self-moving robot is controlled to move toward the first obstacle at a third speed, and the third speed is less than the second speed. Among them, the size relationship between the first speed, the second speed, and the third speed, as well as the commonly used setting sizes, can be found in the above description, and will not be repeated here.
[0116] In the above process, it is possible to determine whether the second obstacle falls within the measurement distance of different distance measuring sensors according to the target distance between the self-moving robot and the second obstacle, thereby gradually controlling different distance measuring sensors to be turned on in sequence. Compared with turning on all the distance measuring sensors at the same time, the above-mentioned gradual turning-on method can reduce the power consumption of the self-moving robot without affecting the accuracy of obstacle positioning.
[0117] As described in the above embodiments, the self-moving robot needs to travel to various positions in the preset area to detect obstacles. Optionally, the preset area can be pre-divided into multiple sub-areas, and the self-moving robot can walk to each sub-area in turn, and generate obstacle maps corresponding to different sub-areas respectively, and then the obstacle maps corresponding to different sub-areas constitute the obstacle map corresponding to the entire preset area.
[0118] For the above-mentioned method of constructing an obstacle map in units of sub-areas, optionally, Figure 6 As shown, the following steps may be specifically included:
[0119] 201. If the mobile robot walks to a first preset position in a first sub-area, an obstacle map corresponding to the first sub-area is generated.
[0120] Each sub-area in the preset area is pre-set with a starting position and an end position, so the self-moving robot can start from the starting point or the end point in the first sub-area. If the self-moving robot moves to the first preset position in the first sub-area, it indicates that the self-moving robot has completed the obstacle detection in the first sub-area, and the self-moving robot can establish an obstacle map corresponding to the first sub-area based on the sensor data and the collision plate signal collected simultaneously during the moving process.
[0121] If the self-moving robot starts to move from the starting point of the first sub-area, the first preset position is the end point of the first sub-area. If the self-moving robot starts to move from the end point of the first sub-area, the first preset position is the starting point of the first sub-area.
[0122] 202. Determine distances between the first preset position and the second preset position and the third preset position in the second sub-region, respectively. The first sub-region and the second sub-region are different sub-regions in the preset region.
[0123] 203. If the distance between the first preset position and the second preset position is smaller than the distance between the first preset position and the third preset position, control the self-moving robot to move from the first preset position to the second preset position to generate an obstacle map corresponding to the second sub-area.
[0124] Next, the self-moving robot calculates the distances between the first preset position, the second preset position, and the third preset position, respectively. And controls itself to move to a preset position in the second sub-area that is closer to the first preset position, and further collects sensor data and collision signals to generate an obstacle map corresponding to the second sub-area. Among them, the second preset position and the third preset position of the second sub-area can be the starting point or the end point of the second sub-area, respectively. And the first sub-area and the second sub-area in this embodiment can be any different areas in the preset area. In practice, the two areas are usually adjacent areas.
[0125] In this embodiment, the preset area is divided into multiple sub-areas to generate obstacle maps corresponding to each sub-area, and finally the obstacle map of the entire preset area is formed by each sub-area. This method can improve the efficiency of map generation.
[0126] It should be noted that the obstacle map corresponding to the preset area can be generated by using the above embodiments, and the self-moving robot can use this obstacle map to avoid obstacles in the preset area while completing the corresponding task. In practice, the position of the obstacles in the preset area may change, so the self-moving robot can still update the obstacle map in real time in the process of walking in the preset area according to the methods provided by the above embodiments, that is, the map construction method provided by the embodiments of the present invention can also be considered as a map update method.
[0127] In practice, during the operation of the autonomous mobile robot, an obstacle may suddenly appear at a certain position in the preset area. It is obviously inappropriate to directly add this suddenly appearing obstacle to the grid map to form an obstacle map. In order to ensure the accuracy of the obstacle map, the autonomous mobile robot can travel multiple times in the preset area. If the autonomous mobile robot detects the existence of an obstacle at this position for a preset number of times during the multiple travels, indicating that the obstacle did not appear suddenly, the obstacle can be added to the grid map to generate an obstacle map.
[0128] For ease of understanding, the specific implementation of the map construction method provided above is illustrated by taking a service robot set up in a shopping mall lobby as an example. Figure 7 Understand. Service robots can provide guidance services to customers in the shopping mall lobby.
[0129] The shopping mall hall in this scenario is the preset area mentioned in the above embodiments. The plan structure diagram of the shopping mall hall is as follows: Figure 7As shown, the area has been pre-divided into multiple sub-areas, namely, the cashier area, rest area 1, and rest area 2, and each area is also preset with a starting point and an end point. The service robot can enter rest area 1 from the starting point A of rest area 1 and move in the area, and finally move to the end point B of rest area 1, and use the sensor data and collision plate signals collected during the movement to generate an obstacle map corresponding to rest area 1. As shown in the figure, the obstacles in rest area 1 include sofas, coffee tables, benches and other obstacles with a certain height. Therefore, in practice, the obstacles in rest area 1 are usually detected based on sensor data.
[0130] When the service robot reaches the end point B, it will further calculate the distance between the end point B of rest area 1 and the starting point C and end point D of rest area 2, as well as the starting point E and end point F of the cashier area. Calculation shows that the distance between end point B and starting point C is the smallest, so the service robot will further move from end point B to starting point C and construct an obstacle map corresponding to the cashier area. Among them, the cashier counter and the cashier's chair in the cashier area are of a certain height, which is obtained based on the data collected by the sensor. There is also a low step in front of the cashier counter, which is detected by the collision signal corresponding to the service robot's collision plate. When the service robot moves from starting point C to end point D, the construction of the obstacle map corresponding to the cashier area is completed.
[0131] Similarly, the distances between the end point D and the starting point E and the end point F are calculated respectively. Based on the calculated distances, the service robot will move from the end point D to the end point F of the rest area 2, and start moving from the end point F to construct an obstacle map corresponding to the rest area 2.
[0132] Finally, the obstacle map of the entire shopping mall hall can be formed by the obstacle maps corresponding to each sub-area.
[0133] It should also be noted that, while the service robot is moving in rest areas 1, 2 and the cashier area and establishing an obstacle map, the self-moving robot can control its own running speed so that it gradually approaches various obstacles in the mall hall until it collides with them.
[0134] Optionally, in the process of locating obstacles, the self-propelled robot can also comprehensively consider the distance between itself and the obstacle and the measured distance between multiple ranging sensors set on the body, control the multiple ranging sensors to be gradually turned on, and save the energy consumption of the self-propelled robot without affecting the positioning accuracy.
[0135] In addition to the above scenarios, for ease of understanding, a household cleaning robot can also be used as an example to illustrate the specific implementation of the map construction method provided above. Figure 8 understand.
[0136] The living room in this scene is the preset area mentioned in the above embodiments. Figure 8 As shown, the area has been pre-divided into multiple sub-areas, namely, sub-area 1 and sub-area 2. Then the cleaning robot can enter sub-area 1 from the starting point A of sub-area 1 and move in the area, and finally move to the end point B of sub-area 1, and use the sensor data and collision plate signals collected during the movement to generate an obstacle map corresponding to sub-area 1. As shown in the figure, sub-area 1 includes obstacles with a certain height such as sofas and chairs. Therefore, in practice, the obstacles in sub-area 1 are usually detected based on sensor data.
[0137] When the cleaning robot reaches the end point B, it will further calculate the distance between the end point B of sub-area 1 and the starting point C and end point D of sub-area 2. Calculation shows that the distance between end point B and starting point C is the smallest, so the service robot will further move from end point B to starting point C and construct an obstacle map corresponding to sub-area 2. In order to improve the comfort of seat 2, a low foot pedal is provided in front of the seat, which can be detected by the collision signal corresponding to the service robot's collision plate. When the service robot moves from starting point C to end point D, the construction of the obstacle map corresponding to sub-area 2 is completed.
[0138] Finally, the obstacle map of the entire shopping mall hall can be formed by the obstacle maps corresponding to each sub-area.
[0139] It should also be noted that when the service robot moves in sub-areas 1 and 2 and establishes an obstacle map, after detecting an obstacle based on sensor data, the self-moving robot can also control its own running speed so that it gradually approaches the various obstacles in the shopping mall hall until it collides with them.
[0140] Optionally, in the process of locating obstacles, the self-propelled robot can also comprehensively consider the distance between itself and the obstacle and the measured distance between multiple ranging sensors set on the body, control the multiple ranging sensors to be gradually turned on, and save the energy consumption of the self-propelled robot without affecting the positioning accuracy.
[0141] It should be noted that, in addition to home cleaning scenarios, cleaning robots can also be used in public places such as shopping malls and banks to provide cleaning services in public places. Figure 8 The embodiments shown are similar and will not be described again here.
[0142] Fig. 9 A flowchart of another map construction method provided by an embodiment of the present invention. In practical applications, the map construction method can be executed by a self-moving robot such as a service robot, a sweeping robot, a self-moving vending robot, etc. Fig. 9 As shown, the method may include the following steps:
[0143] 301. Obtain target sensing data collected by a target ranging sensor of the self-mobile robot when the self-mobile robot moves in a preset area, wherein the measurement distance of the target ranging sensor is the farthest.
[0144] 302. Determine a target distance between an obstacle and the self-propelled robot in a preset area according to the target sensing data.
[0145] 303. According to the target distance, adjust the switch status of the remaining distance measuring sensors among the multiple distance measuring sensors.
[0146] 304. Locate obstacles according to the sensing data collected by the ranging sensor in the turned-on state to generate an obstacle map corresponding to the preset area.
[0147] The self-propelled robot is equipped with a variety of distance measuring sensors with different measuring distances. Since the target distance sensor has the longest measuring distance, the target distance sensor needs to be turned on at the beginning. Then the target distance between the obstacle and the self-propelled robot can be obtained based on the sensor data collected by the target distance sensor.
[0148] As the self-propelled robot moves in the preset area, the target distance between the self-propelled robot and the obstacle will continue to change. At this time, the switch states of the various ranging sensors set on the body can be adjusted according to whether the target distance falls within the measurement distance of a certain ranging sensor, and the obstacle can be located according to the sensor data collected by the ranging sensor in the turned-on state, so as to finally obtain an obstacle map corresponding to the preset area.
[0149] For the contents not described in detail in this embodiment, please refer to the relevant descriptions in the above embodiments, and they will not be described in detail in this step.
[0150] In this embodiment, the distance between the obstacle and the self-propelled robot is calculated based on the target sensor with the longest distance, and then the switch states of other distance measuring sensors on the self-propelled robot are continuously adjusted according to the target distance to achieve obstacle positioning. Compared with turning on all the distance measuring sensors at the same time, the above-mentioned gradual turning on method can reduce the power consumption of the self-propelled robot without affecting the accuracy of obstacle positioning.
[0151] For adjusting the switch states of the remaining distance measuring sensors except the target sensor among the multiple distance measuring sensors, optionally, if the target distance is less than the first preset distance, indicating that the distance between the self-moving robot and the obstacle is close, the remaining distance measuring sensors can be controlled to be turned on. Optionally, all the remaining sensors can be controlled to be turned on, or the second distance measuring sensor among the remaining distance measuring sensors can be controlled to be turned on, wherein the second distance measuring sensor is the sensor with the longest measuring distance among the remaining distance measuring sensors. Optionally, as the self-moving robot moves, the target distance will further decrease, then the third distance measuring sensor among the remaining sensors can be further controlled to be turned on, wherein, among all the distance measuring sensors, the measuring distances of the third distance measuring sensor, the second distance measuring sensor, and the first distance measuring sensor increase in sequence.
[0152] Optionally, the self-moving robot can also control its own travel speed according to the size of the target distance between itself and the obstacle. Optionally, there is a corresponding relationship between the travel speed and the difference between the target distance and the first preset distance. And the smaller the difference between the distances, the slower the travel speed of the self-moving robot, that is, the self-moving robot is controlled to gradually and slowly approach the obstacle so that the obstacle collides with the robot to generate a collision signal. Furthermore, the obstacle can be located according to the collision signal and the sensor data collected by the ranging sensor, thereby improving the positioning accuracy.
[0153] Optionally, a collision plate is provided on the body of the robot, so that the collision between the obstacle and the self-moving robot actually collides with the collision plate provided on the body.
[0154] The following will describe in detail the self-moving robots of one or more embodiments of the present invention. Those skilled in the art will appreciate that these self-moving robots can be configured using commercially available hardware components through the steps taught in this solution.
[0155] The map construction method described above, in one possible design, the self-moving robot can be Fig.10 As shown, the self-propelled robot may include: a processor 21 and a memory 22. The memory 22 is used to store the information that supports the self-propelled robot to execute the aforementioned Figures 1 to 6 The program of the map building method provided in the illustrated embodiment, the processor 21 is configured to execute the program stored in the memory 22 .
[0156] The program includes one or more computer instructions, wherein the one or more computer instructions can implement the following steps when executed by the processor 21:
[0157] Acquire sensor data collected by the mobile robot during its movement in a preset area;
[0158] In response to a collision between the self-propelled robot and a first obstacle in the preset area, generating a collision signal corresponding to the first obstacle;
[0159] locating the first obstacle according to a collision signal corresponding to the first obstacle;
[0160] Locating a second obstacle in the preset area that has not collided with the self-propelled robot according to the sensing data;
[0161] An obstacle map corresponding to the preset area is generated according to respective positioning information of the first obstacle and the second obstacle.
[0162] Optionally, the processor 21 is further configured to execute the aforementioned Figures 1 to 6 All or part of the steps in the illustrated embodiments.
[0163] The structure of the self-propelled robot may further include a communication interface 23 for communicating with other devices or a communication network.
[0164] Fig.11 Schematic diagram of the internal structure of a self-propelled robot provided by an embodiment of the present invention. Fig.10 As shown, the self-moving robot 3 includes: a body 31 , a variety of sensors 32 installed on the body 31 , and a controller 33 .
[0165] The sensor 31 is used to collect sensor data when the self-propelled robot moves in a preset area.
[0166] The controller 32 is used to obtain the sensor data; generate a collision signal corresponding to the first obstacle in the preset area in response to a collision between the self-moving robot and the first obstacle; locate the first obstacle according to the collision signal corresponding to the first obstacle; locate the second obstacle in the preset area that has not collided with the self-moving robot according to the sensor data; and generate an obstacle map corresponding to the preset area according to the respective positioning information of the first obstacle and the second obstacle.
[0167] Optionally, the multiple sensors 32 are arranged at different heights of the body 31 ; and the self-propelled robot further includes: a collision plate 34 .
[0168] The controller 33 is configured to generate the collision signal in response to a collision between the collision plate and the obstacle.
[0169] In addition, an embodiment of the present invention provides a computer-readable storage medium storing computer instructions. When the computer instructions are executed by one or more processors, the one or more processors are caused to perform at least the following actions:
[0170] Acquire sensor data collected by the mobile robot during its movement in a preset area;
[0171] In response to a collision between the self-propelled robot and a first obstacle in the preset area, generating a collision signal corresponding to the first obstacle;
[0172] locating the first obstacle according to a collision signal corresponding to the first obstacle;
[0173] Locating a second obstacle in the preset area that has not collided with the self-propelled robot according to the sensing data;
[0174] An obstacle map corresponding to the preset area is generated according to respective positioning information of the first obstacle and the second obstacle.
[0175] The map construction method described above, in one possible design, the self-moving robot can be Fig.12 As shown, the self-propelled robot may include: a processor 41 and a memory 42. The memory 42 is used to store the information that supports the self-propelled robot to execute the aforementioned Fig. 9 The program of the map building method provided in the illustrated embodiment, the processor 41 is configured to execute the program stored in the memory 42 .
[0176] The program includes one or more computer instructions, wherein the one or more computer instructions can implement the following steps when executed by the processor 41:
[0177] Acquire target sensing data collected by a target ranging sensor when the self-moving robot moves in a preset area, wherein the target ranging sensor has the longest measurement distance;
[0178] Determining a target distance between an obstacle in a preset area and the self-propelled robot according to the target sensing data;
[0179] According to the target distance, adjusting the switch states of the remaining distance measuring sensors among the multiple distance measuring sensors;
[0180] According to the sensing data collected by the ranging sensor in the turned-on state, the obstacle is located to generate an obstacle map corresponding to the preset area. Optionally, the processor 41 is also used to execute the aforementioned Fig. 9 All or part of the steps in the illustrated embodiments.
[0181] The structure of the self-propelled robot may further include a communication interface 43 for communicating with other devices or a communication network.
[0182] Fig.13Schematic diagram of the internal structure of a self-propelled robot provided by an embodiment of the present invention. Fig.13 As shown, the self-moving robot 5 includes: a body 51 , a variety of sensors 52 installed on the body 51 , and a controller 53 .
[0183] The sensor 51 is used to collect target sensing data when the self-propelled robot moves in a preset area.
[0184] The controller 52 is used to obtain the target sensing data, wherein the measurement distance of the target ranging sensor is the farthest; determine the target distance between the obstacle in a preset area and the self-propelled robot according to the target sensing data; adjust the switch status of the remaining ranging sensors among the multiple ranging sensors according to the target distance; locate the obstacle according to the sensing data collected by the ranging sensor in the turned-on state, so as to generate an obstacle map corresponding to the preset area.
[0185] Optionally, the multiple sensors 52 are arranged at different heights of the body 51 ; and the self-propelled robot further includes: a collision plate 54 .
[0186] The controller 53 is configured to generate the collision signal in response to a collision between the collision plate and the obstacle.
[0187] In addition, an embodiment of the present invention provides a computer-readable storage medium storing computer instructions. When the computer instructions are executed by one or more processors, the one or more processors are caused to perform at least the following actions:
[0188] Acquire target sensing data collected by a target ranging sensor when the self-moving robot moves in a preset area, wherein the target ranging sensor has the longest measurement distance;
[0189] Determining a target distance between an obstacle in a preset area and the self-propelled robot according to the target sensing data;
[0190] According to the target distance, adjusting the switch states of the remaining distance measuring sensors among the multiple distance measuring sensors;
[0191] The obstacle is located according to the sensing data collected by the ranging sensor in the turned-on state to generate an obstacle map corresponding to the preset area.
[0192] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by adding a necessary general hardware platform, and of course can also be implemented by combining hardware and software. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a computer product.
[0193] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention 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. However, 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 embodiments of the present invention.
Claims
1. A map construction method, characterized in that: include: Acquiring sensor data collected by the self-moving robot during its movement in a preset area, wherein a ranging sensor for collecting the sensor data is provided on the body of the self-moving robot; In response to a collision between the self-propelled robot and a first obstacle in the preset area, generating a collision signal corresponding to the first obstacle, the first obstacle being beyond the detection range of the ranging sensor; locating the first obstacle according to a collision signal corresponding to the first obstacle; Locating a second obstacle in the preset area that has not collided with the self-propelled robot according to the sensing data; According to a target distance between the second obstacle and the self-propelled robot, controlling the speed at which the self-propelled robot moves toward the second obstacle so that the self-propelled robot approaches and collides with the second obstacle; According to the collision signal generated after the self-moving robot collides with the second obstacle, the positioning information of the second obstacle is corrected; according to the positioning information of the first obstacle and the corrected positioning information of the second obstacle, an obstacle map corresponding to the preset area is generated.
2. The method according to claim 1, characterized in that The locating the first obstacle according to the collision signal corresponding to the first obstacle includes: In response to the generation of a collision signal corresponding to the first obstacle, the first obstacle is located according to the position information of the self-moving robot in the preset area.
3. The method according to claim 2, characterized in that A collision plate is provided on the body of the self-moving robot; The generating of a collision signal in response to a collision between the self-propelled robot and a first obstacle in the preset area comprises: In response to a collision between the collision plate and the first obstacle, generating a collision signal corresponding to the first obstacle; The locating the first obstacle according to the position information of the self-moving robot in the preset area includes: The first obstacle is located according to the position information of the self-propelled robot in the preset area and the thickness of the collision plate.
4. The method according to claim 1, characterized in that: The step of locating the second obstacle in the preset area that has not collided with the self-propelled robot according to the sensing data includes: determining a target distance between the second obstacle and the self-propelled robot according to the sensing data; The second obstacle is located according to the target distance and the position information of the self-propelled robot in the preset area.
5. The method according to claim 1, characterized in that The controlling the speed of the self-propelled robot moving toward the second obstacle according to the target distance between the second obstacle and the self-propelled robot comprises: If the target distance is greater than a first preset distance, controlling the self-propelled robot to move toward the second obstacle at a first speed; If the target distance is less than the first preset distance and greater than a second preset distance, control the self-propelled robot to move toward the second obstacle at a second speed, wherein the first preset distance is greater than the second preset distance, and the second speed is less than the first speed; If the target distance is less than the second preset distance, the self-moving robot is controlled to move toward the second obstacle at a third speed, and the third speed is less than the second speed.
6. The method according to claim 1, characterized in that The body of the self-moving robot is provided with a plurality of distance measuring sensors for collecting the sensing data. The plurality of distance measuring sensors are arranged at different heights of the body and have different measuring distances.
7. The method according to claim 6, characterized in that The first distance measuring sensor on the body is in an on state, and the measuring distance of the first distance measuring sensor is the farthest; The step of controlling the speed of the self-moving robot moving toward the second obstacle according to the target distance includes: If the target distance is greater than a first preset distance, the self-propelled robot is controlled to move toward the second obstacle at a first speed, and the target distance is obtained according to the sensing data collected by the first ranging sensor.
8. The method according to claim 7, characterized in that The step of controlling the speed of the self-moving robot moving toward the second obstacle according to the target distance includes: When the self-propelled robot is running at the first speed, if the target distance is less than the first preset distance and greater than a second preset distance, the self-propelled robot is controlled to move toward the second obstacle at a second speed, wherein the first preset distance is greater than the second preset distance and the second speed is less than the first speed; A second distance measuring sensor disposed on the machine body is controlled to be turned on, wherein the measuring distance of the second distance measuring sensor is smaller than the measuring distance of the first distance measuring sensor.
9. The method according to claim 8, characterized in that The controlling the speed of the self-propelled robot moving toward the second obstacle according to the target distance between the second obstacle and the self-propelled robot comprises: During the operation of the self-moving robot at the second speed, if the target distance is obtained based on the sensor data collected by the second ranging sensor and the first ranging sensor, and the target distance is less than the second preset distance, the self-moving robot is controlled to move towards the first obstacle at a third speed, and the third speed is less than the second speed.
10. The method according to claim 1, characterized in that The method further comprises: If the self-moving robot moves to a first preset position in the first sub-area, an obstacle map corresponding to the first sub-area is generated; Determine the distances between the first preset position and the second preset position and the third preset position in the second sub-region, respectively, where the first sub-region and the second sub-region are different sub-regions in the preset region; If the distance between the first preset position and the second preset position is smaller than the distance between the first preset position and the third preset position, the self-moving robot is controlled to move from the first preset position to the second preset position to generate an obstacle map corresponding to the second sub-area.
11. A map construction method, characterized in that: A variety of distance measuring sensors with different measuring distances are set at different heights of the self-propelled robot body, including: Acquire target sensing data collected by a target ranging sensor when the self-moving robot moves in a preset area, wherein the target ranging sensor has the longest measurement distance; Determining a target distance between an obstacle in a preset area and the self-propelled robot according to the target sensing data; adjusting the switch states of the remaining distance measuring sensors among the multiple distance measuring sensors according to whether the target distance falls within the respective measurement distances of the multiple distance measuring sensors; Locating the obstacle according to the sensing data collected by the ranging sensor in the turned-on state to obtain the positioning information of the obstacle; According to the target distance, controlling the speed at which the self-propelled robot moves toward the obstacle so that the self-propelled robot approaches and collides with the obstacle; Correcting the positioning information of the obstacle according to a collision signal generated after the self-moving robot collides with the obstacle; An obstacle map corresponding to the preset area is generated according to the corrected positioning information of the obstacle.
12. The method according to claim 11, characterized in that The step of adjusting the switch states of the remaining distance measuring sensors among the plurality of distance measuring sensors according to the target distance includes: If the target distance is less than the first preset distance, the remaining distance measuring sensor is controlled to be turned on.
13. The method according to claim 12, characterized in that The method further comprises: According to the target distance, the traveling speed of the self-propelled robot in the preset area is controlled, and there is a corresponding relationship between the difference between the target distance and the first preset distance and the traveling speed.
14. The method according to claim 11, characterized in that The body of the self-propelled robot is provided with a collision plate; the method further comprises: In response to a collision between the collision plate and the obstacle, generating a collision signal corresponding to the obstacle; The step of locating the obstacle according to the sensing data collected by the ranging sensor in the turned-on state includes: The obstacle is located according to the sensing data and a collision signal corresponding to the obstacle.
15. A self-propelled robot, characterized in that: include: A processor and a memory; wherein the memory is used to store one or more computer instructions, wherein the one or more computer instructions, when executed by the processor, implement: Acquiring sensor data collected by the self-moving robot during its movement in a preset area, wherein a ranging sensor for collecting the sensor data is provided on the body of the self-moving robot; In response to a collision between the self-propelled robot and a first obstacle in the preset area, generating a collision signal corresponding to the first obstacle, the first obstacle being beyond the detection range of the ranging sensor; locating the first obstacle according to a collision signal corresponding to the first obstacle; Locating a second obstacle in the preset area that has not collided with the self-propelled robot according to the sensing data; According to the target distance between the second obstacle and the self-propelled robot, controlling the speed of the self-propelled robot moving toward the second obstacle so that the self-propelled robot approaches and collides with the second obstacle; Correcting the positioning information of the second obstacle according to a collision signal generated after the self-moving robot collides with the second obstacle; An obstacle map corresponding to the preset area is generated according to the positioning information of the first obstacle and the corrected positioning information of the second obstacle.
16. A self-propelled robot, characterized in that: include: A machine body, a plurality of sensors mounted on the machine body, and a controller; The sensor is used to collect sensor data when the self-moving robot moves in a preset area, and a ranging sensor for collecting the sensor data is provided on the body of the self-moving robot; The controller is used to obtain the sensor data; generate a collision signal corresponding to a first obstacle in the preset area in response to a collision between the self-moving robot and the first obstacle, the first obstacle being beyond the detection range of the ranging sensor; locate the first obstacle according to the collision signal corresponding to the first obstacle; locate a second obstacle in the preset area that has not collided with the self-moving robot according to the sensor data; control the speed of the self-moving robot toward the second obstacle according to a target distance between the second obstacle and the self-moving robot so that the self-moving robot approaches and collides with the second obstacle; correct the positioning information of the second obstacle according to the collision signal generated after the self-moving robot collides with the second obstacle; and generate an obstacle map corresponding to the preset area according to the positioning information of the first obstacle and the corrected positioning information of the second obstacle.
17. A computer-readable storage medium storing computer instructions, characterized in that: When the computer instructions are executed by one or more processors, the one or more processors are caused to perform at least the following actions: Acquiring sensor data collected by the self-moving robot during its movement in a preset area, wherein a ranging sensor for collecting the sensor data is provided on the body of the self-moving robot; In response to a collision between the self-propelled robot and a first obstacle in the preset area, generating a collision signal corresponding to the first obstacle, the first obstacle being beyond the detection range of the ranging sensor; locating the first obstacle according to a collision signal corresponding to the first obstacle; Locating a second obstacle in the preset area that has not collided with the self-propelled robot according to the sensing data; According to the target distance between the second obstacle and the self-propelled robot, controlling the speed of the self-propelled robot moving toward the second obstacle so that the self-propelled robot approaches and collides with the second obstacle; Correcting the positioning information of the second obstacle according to a collision signal generated after the self-moving robot collides with the second obstacle; An obstacle map corresponding to the preset area is generated according to the positioning information of the first obstacle and the corrected positioning information of the second obstacle.
18. A self-propelled robot, characterized in that: include: A processor and a memory; wherein the memory is used to store one or more computer instructions, wherein the one or more computer instructions, when executed by the processor, implement: Acquire target sensing data collected by a target ranging sensor when the self-moving robot moves in a preset area, wherein a plurality of ranging sensors with different measuring distances are arranged at different heights of the body of the self-moving robot, and the measuring distance of the target ranging sensor is the farthest; Determining a target distance between an obstacle in a preset area and the self-propelled robot according to the target sensing data; adjusting the switch states of the remaining distance measuring sensors among the multiple distance measuring sensors according to whether the target distance falls within the respective measurement distances of the multiple distance measuring sensors; Locating the obstacle according to the sensing data collected by the ranging sensor in the turned-on state to obtain the positioning information of the obstacle; According to the target distance, controlling the speed at which the self-propelled robot moves toward the obstacle so that the self-propelled robot approaches and collides with the obstacle; Correcting the positioning information of the obstacle according to a collision signal generated after the self-moving robot collides with the obstacle; An obstacle map corresponding to the preset area is generated according to the corrected positioning information of the obstacle.
19. A self-propelled robot, characterized in that: include: A machine body, a plurality of distance measuring sensors with different measuring distances installed at different heights of the machine body, and a controller; A target distance measuring sensor among the multiple distance measuring sensors is used to collect target sensing data when the self-moving robot moves in a preset area, and the target distance measuring sensor has the longest measurement distance; The controller is used to obtain the target sensor data; determine the target distance between the obstacle and the self-moving robot in a preset area according to the target sensor data; adjust the switch status of the remaining distance measuring sensors among the multiple distance measuring sensors according to whether the target distance falls within the respective measurement distances of the multiple distance measuring sensors; locate the obstacle according to the sensor data collected by the distance measuring sensors in the turned-on state to obtain the location information of the obstacle; control the speed of the self-moving robot moving toward the obstacle according to the target distance so that the self-moving robot approaches and collides with the obstacle; correct the location information of the obstacle according to the collision signal generated after the self-moving robot collides with the obstacle; and generate an obstacle map corresponding to the preset area according to the corrected location information of the obstacle.
20. A computer-readable storage medium storing computer instructions, characterized in that: When the computer instructions are executed by one or more processors, the one or more processors are caused to perform at least the following actions: Acquire target sensing data collected by a target ranging sensor when the self-moving robot moves in a preset area, wherein a plurality of ranging sensors with different measuring distances are arranged at different heights of the self-moving robot body, and the measuring distance of the target ranging sensor is the farthest; Determining a target distance between an obstacle in a preset area and the self-propelled robot according to the target sensing data; adjusting the switch states of the remaining distance measuring sensors among the multiple distance measuring sensors according to whether the target distance falls within the respective measurement distances of the multiple distance measuring sensors; Locating the obstacle according to the sensing data collected by the ranging sensor in the turned-on state to obtain the positioning information of the obstacle; According to the target distance, controlling the speed at which the self-propelled robot moves toward the obstacle so that the self-propelled robot approaches and collides with the obstacle; Correcting the positioning information of the obstacle according to a collision signal generated after the self-moving robot collides with the obstacle; An obstacle map corresponding to the preset area is generated according to the corrected positioning information of the obstacle.
Citation Information
Patent Citations
Electric distance measuring device
CN103149566A
Method, device and robot for updating environmental map according to obstacles
CN108007452A
Self-moving robot
CN109421056A
Multi-robot cooperative trajectory information processing method adopting discretization method
CN110398967A
Unmanned aerial vehicle autonomous landing runway area obstacle judgment and tracking method
CN110426046A
