Cleaning method and device, controller, storage medium and cleaning robot
By obtaining and utilizing information of obstacle-surfing auxiliary devices, controlling the bow shape of the cleaning robot or turning around the edge, the difficulty of obstacle-surfing of the cleaning robot when facing high thresholds is solved, improving the cleaning efficiency and smoothness, and ensuring cleaning effect.
Patent Information
- Application Number
- CN202310524519.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-10
- Publication Date
- 2024-11-12
AI Technical Summary
Existing cleaning robots are difficult to effectively cross when facing thresholds with a height of more than 2cm, resulting in problems such as lateral climbing, oblique climbing, turning on obstacle-surfing auxiliary devices, and frequent reciprocating, affecting the cleaning effect.
By obtaining information about the obstacle-surpassing auxiliary device, using grid maps or sensors to control the cleaning robot to avoid the obstacle-surpassing auxiliary device, and adopting a bow or edge-turning strategy to ensure that the cleaning robot efficiently avoids the obstacle-surpassing auxiliary device and improves cleaning efficiency and smoothness.
Effectively avoid obstacle-surfing auxiliary devices, improve cleaning efficiency and smoothness, reduce wheel suspension and slippage, and improve cleaning effect.
Smart Images

Figure CN118924193A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of robot technology, and in particular to a cleaning method, device and controller, storage medium, and cleaning robot. Background Art
[0002] Thresholds often appear in indoor home environments, and their height is generally less than 2 cm. Household cleaning robots on the market can basically cross them successfully. However, if the height exceeds 2 cm, it is difficult for most robots to cross them directly, which directly limits the use of cleaning robots. To address this problem, the current mainstream approach is to install an obstacle-crossing assist device with a certain slope near the threshold to assist the cleaning robot in climbing over it. However, since the threshold on which the obstacle-crossing assist device is installed has a certain height and slope, the cleaning robot is prone to sideways climbing, oblique climbing, turning around on the obstacle-crossing assist device, and frequent reciprocating movements, which makes the cleaning robot prone to wheel suspension, slipping, and abnormal edge / turning, which in turn affects the subsequent cleaning effect. Summary of the invention
[0003] The present invention aims to solve one of the technical problems in the related art at least to a certain extent. To this end, the first object of the present invention is to provide a cleaning method that can ensure that the cleaning robot can efficiently avoid the obstacle-crossing auxiliary device and improve the cleaning efficiency and fluency.
[0004] A second object of the present invention is to provide a cleaning device.
[0005] The third object of the present invention is to provide a controller.
[0006] A fourth object of the present invention is to provide a computer-readable storage medium.
[0007] A fifth objective of the present invention is to provide a cleaning robot.
[0008] To achieve the above-mentioned purpose, an embodiment of the first aspect of the present invention proposes a cleaning method, which includes: when a cleaning robot cleans an area to be cleaned, obtaining obstacle crossing assistance device information of the area to be cleaned; and controlling the cleaning robot to avoid the corresponding obstacle crossing assistance device according to the obstacle crossing assistance device information.
[0009] According to the cleaning method of the embodiment of the present invention, by controlling the cleaning robot to avoid the corresponding obstacle assisting device according to the obstacle assisting device information, it can ensure that the cleaning robot can efficiently avoid the obstacle assisting device, thereby improving the cleaning efficiency and fluency.
[0010] In addition, the cleaning method of the embodiment of the present invention may also have the following additional technical features:
[0011] According to one embodiment of the present invention, the cleaning of the area to be cleaned by the cleaning robot includes edge cleaning and covering cleaning, wherein when the area to be cleaned is cleaned along the edge, the cleaning robot is controlled to clean along the boundary of the obstacle crossing assistance device according to the obstacle crossing assistance device information; when the area to be cleaned is covered, the cleaning robot is controlled to turn around according to the obstacle crossing assistance device information.
[0012] According to one embodiment of the present invention, obtaining the obstacle crossing assistance device information of the area to be cleaned includes: obtaining a grid map, and obtaining the obstacle crossing assistance device information of the area to be cleaned from the grid map; or, obtaining the obstacle crossing assistance device information of the area to be cleaned through a sensor carried by the cleaning robot.
[0013] According to one embodiment of the present invention, if the obstacle crossing assistance device information is obtained from the grid map, then controlling the cleaning robot to turn around according to the obstacle crossing assistance device information includes: determining a turning point according to the obstacle crossing assistance device information; and when the cleaning robot reaches the turning point, controlling the cleaning robot to turn around.
[0014] According to one embodiment of the present invention, if the obstacle crossing assistance device information is obtained through the sensor, then controlling the cleaning robot to turn around according to the obstacle crossing assistance device information includes: determining the distance between the cleaning robot and the corresponding obstacle crossing assistance device according to the obstacle crossing assistance device information; when the distance is reduced to a preset value, controlling the cleaning robot to turn around.
[0015] According to one embodiment of the present invention, if the obstacle crossing assisting device information is obtained from the grid map, the U-turn of the cleaning robot is controlled to be a bow-shaped U-turn; if the obstacle crossing assisting device information is obtained through the sensor, the U-turn of the cleaning robot is controlled to be an edge-turn.
[0016] According to one embodiment of the present invention, the covering cleaning is performed after the edge cleaning, and an initial cleaning path of the covering cleaning is obtained according to an area determined by the edge cleaning, wherein the initial cleaning path is an arcuate cleaning path.
[0017] According to an embodiment of the present invention, if the obstacle-crossing assistance device information is obtained through the sensor, the grid map is updated according to the obstacle-crossing assistance device information.
[0018] According to one embodiment of the present invention, controlling the cleaning robot to clean along the boundary of the obstacle assisting device according to the obstacle assisting device information includes: determining the boundary position of the obstacle assisting device in the area to be cleaned according to the obstacle assisting device information; and controlling the cleaning robot to clean along the boundary of the obstacle assisting device according to the boundary position.
[0019] To achieve the above-mentioned purpose, the second aspect of the embodiment of the present invention proposes a cleaning device, which includes: an acquisition module, used to obtain obstacle crossing assistance device information of the area to be cleaned when the cleaning robot cleans the area to be cleaned; and a control module, used to control the cleaning robot to avoid the corresponding obstacle crossing assistance device according to the obstacle crossing assistance device information.
[0020] According to the cleaning device of the embodiment of the present invention, by controlling the cleaning robot to avoid the corresponding obstacle assisting device according to the obstacle assisting device information, it is possible to ensure that the cleaning robot can efficiently avoid the obstacle assisting device, thereby improving the cleaning efficiency and fluency.
[0021] To achieve the above-mentioned purpose, a third aspect of the present invention proposes a controller, comprising a memory, a processor and a computer program stored in the memory, wherein when the computer program is executed by the processor, the cleaning method is implemented.
[0022] To achieve the above-mentioned purpose, the fourth aspect of the present invention proposes a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the cleaning method is implemented.
[0023] To achieve the above-mentioned purpose, a fifth aspect of the present invention proposes a cleaning robot, comprising: the cleaning device described above, or the controller described above.
[0024] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 It is a schematic flow chart of a cleaning method according to an embodiment of the present invention;
[0026] Figure 2 is a schematic diagram of a cleaning method according to an embodiment of the present invention;
[0027] Figure 3 is a schematic diagram of a horizontal bow-shaped U-turn from left to right according to an embodiment of the present invention;
[0028] Figure 4 is a schematic diagram of a longitudinal bow-shaped U-turn from left to right according to an embodiment of the present invention;
[0029] Figure 5 is a schematic diagram of a lateral U-turn from left to right along the edge according to an embodiment of the present invention;
[0030] Figure 6 is a schematic diagram of a longitudinal U-turn from left to right along the edge according to an embodiment of the present invention;
[0031] Figure 7 is a schematic structural diagram of a cleaning device according to an embodiment of the present invention;
[0032] Figure 8 It is a schematic diagram of the structure of a controller according to an embodiment of the present invention. DETAILED DESCRIPTION
[0033] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and should not be construed as limiting the present invention.
[0034] Please refer to the following Figure 1-8 The cleaning method, device and controller, storage medium and cleaning robot of the embodiments of the present invention are described.
[0035] Figure 1 FIG. 1 is a flow chart of a cleaning method according to an embodiment of the present invention. Figure 1 As shown, the cleaning method comprises the following steps:
[0036] S101. When the cleaning robot cleans the area to be cleaned, the cleaning robot obtains information about an obstacle-crossing auxiliary device in the area to be cleaned.
[0037] In this example, obtaining the obstacle crossing assistance device information of the area to be cleaned may include: obtaining a grid map and obtaining the obstacle crossing assistance device information of the area to be cleaned from the grid map; or obtaining the obstacle crossing assistance device information of the area to be cleaned through a sensor carried by a cleaning robot.
[0038] Specifically, when the cleaning robot cleans the area to be cleaned, it obtains the obstacle assistance device information of the area to be cleaned, wherein the ramp of the obstacle assistance device is relatively low and difficult to identify, and is different from ordinary obstacles. When the obstacle assistance device information of the area to be cleaned is directly obtained from the grid map by obtaining the grid map in which the obstacle assistance device information is stored, it can be that the obstacle assistance device information of the area to be cleaned in the grid map is obtained by the sensor carried by the cleaning robot body, that is, when the cleaning robot cleans the area to be cleaned for the first time, when the sensor carried by the cleaning robot body recognizes the obstacle assistance device, the processor will save the position, size, etc. of the obstacle assistance device (such as the intersection of the obstacle assistance device and the area to be cleaned is a rectangle, and the position and size of the obstacle assistance device can be represented by the four-point coordinates, diagonal coordinates, etc. of the rectangle) to the grid map, that is, after the obstacle assistance device information is identified, the boundary of the obstacle assistance device is marked at the corresponding position on the grid map.
[0039] It should be noted that if the obstacle assistance device information is obtained through a sensor, the grid map is updated according to the obstacle assistance device information. Specifically, when a cleaning robot equipped with a sensor cleans an area to be cleaned, if the obstacle assistance device information is obtained through a sensor, the grid map is updated according to the obstacle assistance device information, thereby ensuring the accuracy of the obstacle assistance device information by updating the grid map.
[0040] When the obstacle assistance device information of the area to be cleaned is obtained through the sensors carried by the cleaning robot, a guide (such as an infrared lamp) may be pre-set corresponding to the obstacle assistance device, and the size, position, etc. of the obstacle assistance device may be determined based on the detected infrared signal strength. Alternatively, the sweeping robot may be equipped with a visual sensor to directly obtain the size and position of the obstacle assistance device through image recognition.
[0041] S102. Control the cleaning robot to avoid a corresponding obstacle-crossing assisting device according to the obstacle-crossing assisting device information, wherein the obstacle-crossing assisting device is used to assist the cleaning robot to cross obstacles between the area to be cleaned and other cleaning areas.
[0042] When the cleaning robot cleans the area to be cleaned, it will divide and sort the cleaning area according to the obstacle assistance device information. If it is determined that there is an obstacle assistance device in the area to be cleaned, it will specifically treat the area where the obstacle assistance device is located as a rectangular restricted area and determine that the area does not need to be cleaned.
[0043] In this example, the cleaning of the area to be cleaned by the cleaning robot may include edge cleaning and covering cleaning, wherein when the area to be cleaned is edge cleaning, the cleaning robot is controlled to clean along the boundary of the obstacle crossing assisting device according to the obstacle crossing assisting device information; when the area to be cleaned is covered, the cleaning robot is controlled to turn around according to the obstacle crossing assisting device information. In addition, controlling the cleaning robot to clean along the boundary of the obstacle crossing assisting device according to the obstacle crossing assisting device information may include: determining the boundary position of the obstacle crossing assisting device in the area to be cleaned according to the obstacle crossing assisting device information; and controlling the cleaning robot to clean along the boundary of the obstacle crossing assisting device according to the boundary position.
[0044] Specifically, when the cleaning robot is cleaning along the edge of an area to be cleaned (for example, a room), it will determine the boundary position of the obstacle climbing assisting device in the area to be cleaned based on the obstacle climbing assisting device information (which can be obtained from a grid map or through sensor detection information), and judge in real time whether there is an obstacle climbing assisting device in front of the cleaning robot body. If it is judged that there is an obstacle climbing assisting device in front of the body, it will start tracking the boundary position of the obstacle climbing assisting device in the area to be cleaned at a certain distance from the obstacle climbing assisting device mark, and clean along the edge at this time, thereby ensuring that the cleaning robot and the obstacle climbing assisting device do not interfere with each other. When the cleaning robot is performing covering cleaning of the area to be cleaned, it will determine in real time whether there is an obstacle climbing assisting device in front of the cleaning robot body based on the obstacle climbing assisting device information. If it is judged that there is an obstacle climbing assisting device in front of the body, it can make a circular turn in time at a position half the distance of the cleaning robot body from the obstacle climbing assisting device, thereby ensuring that the cleaning robot does not touch the obstacle climbing assisting device during bow cleaning.
[0045] It should be noted that the covering cleaning is performed after the edge cleaning, and the initial cleaning path of the covering cleaning is obtained according to the area determined by the edge cleaning, wherein the initial cleaning path is an arc-shaped cleaning path.
[0046] Specifically, see Figure 2 (1: contour of the area to be cleaned; 2: obstacle crossing assist device; 3: edge track of the contour of the area to be cleaned; 4: navigation track; 5: arc-shaped U-turn track; 6: arc-shaped straight line track). When the cleaning robot cleans the area to be cleaned, it first cleans the entire area to be cleaned along the edge (see Figure 23), during the edge cleaning process, the boundary position of the obstacle assistance device in the area to be cleaned will be determined based on the obstacle assistance device information, and it will be determined in real time whether there is an obstacle assistance device in front of the cleaning robot body. If it is determined that there is an obstacle assistance device in front of the body, it will start tracking the boundary position of the obstacle assistance device in the area to be cleaned at a certain distance from the obstacle assistance device mark, and perform edge cleaning at this time. When the cleaning robot closes the contour of the entire area to be cleaned, the area determined by edge cleaning is obtained, and the initial cleaning path for covering cleaning is determined based on the area determined by edge cleaning, and then the arc covering cleaning is started (see Figure 2 5 and 6). Thus, the cleaning robot is ensured to efficiently avoid obstacle-crossing assist devices throughout the entire process, thereby improving cleaning efficiency and fluency.
[0047] As an example, if the obstacle assistance device information is obtained from a grid map, controlling the cleaning robot to turn around according to the obstacle assistance device information may include: determining a turning point according to the obstacle assistance device information; and controlling the cleaning robot to turn around when the cleaning robot reaches the turning point. If the obstacle assistance device information is obtained from a grid map, the cleaning robot is controlled to turn around in a bow shape.
[0048] Specifically, when the cleaning robot is cleaning the area to be cleaned, if the obstacle assistance device information is obtained from the grid map, the turning point is determined according to the obstacle assistance device information, and when the cleaning robot reaches the turning point, the cleaning robot is controlled to make a bow-shaped turning. The turning point can be in the current moving direction of the cleaning robot, such as in front of the cleaning robot at a certain distance from the obstacle assistance device. For example: Figure 3-4 (1: outline of the area to be cleaned; 2: obstacle assistance device; 5: bow-shaped U-turn trajectory; 6: bow-shaped straight line trajectory; 7: U-turn point). When the cleaning robot cleans the area to be cleaned, if there is information about the obstacle assistance device in the grid map at the beginning, the cleaning robot determines the U-turn point (such as the position of half the fuselage of the obstacle assistance device) according to the information of the obstacle assistance device. When the cleaning robot reaches the U-turn point, the cleaning robot is controlled to make a bow-shaped U-turn to avoid the obstacle assistance device. It should be noted that since the grid map is known in advance and the sensor detection is performed in real time, the U-turn point of the bow-shaped U-turn can be set to be farther away from the obstacle assistance device than the U-turn point of the edge U-turn, so that the bow-shaped U-turn has a higher cleaning efficiency than the edge U-turn.
[0049] As an example, if the obstacle assistance device information is obtained through a sensor, controlling the cleaning robot to turn around according to the obstacle assistance device information may include: determining the distance between the cleaning robot and the corresponding obstacle assistance device according to the obstacle assistance device information; and when the distance decreases to a preset value, controlling the cleaning robot to turn around. Wherein, if the obstacle assistance device information is obtained through a sensor, the cleaning robot is controlled to turn around along the edge.
[0050] Specifically, when the cleaning robot is cleaning the area to be cleaned, if the obstacle assistance device information is obtained through the sensor, the distance between the cleaning robot and the corresponding obstacle assistance device is determined according to the obstacle assistance device information, and when the distance is reduced to a preset value, the cleaning robot is controlled to turn around along the edge. The distance between the cleaning robot and the corresponding obstacle assistance device is the shortest distance, which can be the distance between a straight line drawn in the moving direction of the cleaning robot and the intersection with the obstacle assistance device and the turning point on the straight line. For example: See Figure 5-6 (1: outline of the area to be cleaned; 2: obstacle assistance device; 7: U-turn point; 8: U-turn trajectory along the edge). When the cleaning robot cleans the area to be cleaned, if there is no obstacle assistance device information in the grid map at the beginning, the U-turn point is likely to be on the obstacle assistance device. However, in the process of going to the U-turn point, the cleaning robot can determine the distance between the cleaning robot and the corresponding obstacle assistance device through the sensor. When the distance is reduced to a preset value (such as the position of half the body of the obstacle assistance device), the U-turn along the edge is performed to avoid the obstacle assistance device. It should be noted that when controlling the cleaning robot to turn along the edge, in order to ensure safety, the moving speed of the cleaning robot is slower than that of the bow U-turn.
[0051] To sum up, the cleaning method obtains the obstacle assistance device information through the sensor, and then updates the grid map according to the obstacle assistance device information, and can maintain the position and size of the obstacle assistance device in real time, thereby ensuring the accuracy of the obstacle assistance device information; when the cleaning robot cleans the area to be cleaned, the obstacle assistance device information of the area to be cleaned is obtained, and the cleaning robot is controlled to avoid the corresponding obstacle assistance device according to the obstacle assistance device information. On the premise of accurately identifying the obstacle assistance device, the obstacle assistance device can be specially processed in each link of cleaning (partition / edge / arch, etc.), ensuring that the cleaning robot can efficiently avoid the obstacle assistance device and improve the cleaning efficiency and fluency.
[0052] Figure 7 Schematic diagram of the structure of a cleaning device according to an embodiment of the present invention. Figure 7 As shown, the cleaning device 100 includes an acquisition module 10 and a control module 20 .
[0053] Among them, the acquisition module 10 is used to obtain the obstacle assistance device information of the area to be cleaned when the cleaning robot cleans the area to be cleaned; the control module 20 is used to control the cleaning robot to avoid the corresponding obstacle assistance device according to the obstacle assistance device information.
[0054] In this example, the acquisition module 10 acquires the obstacle crossing assistance device information of the area to be cleaned, which may include: acquiring a grid map and obtaining the obstacle crossing assistance device information of the area to be cleaned from the grid map; or acquiring the obstacle crossing assistance device information of the area to be cleaned through a sensor carried by the cleaning robot.
[0055] Specifically, when the cleaning robot cleans the area to be cleaned, it obtains the obstacle assistance device information of the area to be cleaned, wherein the ramp of the obstacle assistance device is relatively low and difficult to identify, and is different from ordinary obstacles. When the grid map in which the obstacle assistance device information is stored is obtained, and the obstacle assistance device information of the area to be cleaned is obtained from the grid map, the obstacle assistance device information of the area to be cleaned in the grid map can be obtained by the sensor carried by the cleaning robot body, that is, when the cleaning robot cleans the area to be cleaned for the first time, when the sensor carried by the cleaning robot body recognizes the obstacle assistance device, the processor will save the position and size of the obstacle assistance device (such as the rectangular four-point coordinates of the area to be cleaned, diagonal coordinates, etc.) to the grid map, that is, after the obstacle assistance device information is recognized, the boundary of the obstacle assistance device is marked at the corresponding position on the grid map.
[0056] It should be noted that if the obstacle assistance device information is obtained through a sensor, the grid map is updated according to the obstacle assistance device information. Specifically, when a cleaning robot equipped with a sensor cleans an area to be cleaned, if the obstacle assistance device information is obtained through a sensor, the grid map is updated according to the obstacle assistance device information, thereby ensuring the accuracy of the obstacle assistance device information by updating the grid map.
[0057] When the obstacle assistance device information of the area to be cleaned is obtained through the sensors carried by the cleaning robot, a guide (such as an infrared lamp) may be pre-set corresponding to the obstacle assistance device, and the size, position, etc. of the obstacle assistance device may be determined based on the detected infrared signal strength. Alternatively, the sweeping robot may be equipped with a visual sensor to directly obtain the size and position of the obstacle assistance device through image recognition.
[0058] In this example, the control module 20 controls the cleaning robot to avoid the corresponding obstacle-crossing assistance device according to the obstacle-crossing assistance device information, wherein the obstacle-crossing assistance device is used to assist the cleaning robot to cross obstacles between the area to be cleaned and other cleaning areas.
[0059] Specifically, when the cleaning robot cleans the area to be cleaned, it will divide and sort the cleaning area according to the obstacle crossing assistance device information. If it is determined that there is an obstacle crossing assistance device in the area to be cleaned, the area where the obstacle crossing assistance device is located will be treated as a rectangular restricted area and it will be determined that the area does not need to be cleaned.
[0060] In this example, the cleaning of the area to be cleaned by the cleaning robot may include edge cleaning and covering cleaning, wherein when the area to be cleaned is edge cleaning, the cleaning robot is controlled to clean along the boundary of the obstacle crossing assisting device according to the obstacle crossing assisting device information; when the area to be cleaned is covered, the cleaning robot is controlled to turn around according to the obstacle crossing assisting device information. In addition, controlling the cleaning robot to clean along the boundary of the obstacle crossing assisting device according to the obstacle crossing assisting device information may include: determining the boundary position of the obstacle crossing assisting device in the area to be cleaned according to the obstacle crossing assisting device information; and controlling the cleaning robot to clean along the boundary of the obstacle crossing assisting device according to the boundary position.
[0061] Specifically, when the cleaning robot is cleaning along the edge of an area to be cleaned (for example, a room), it will determine the boundary position of the obstacle climbing assisting device in the area to be cleaned based on the obstacle climbing assisting device information, and judge in real time whether there is an obstacle climbing assisting device in front of the cleaning robot body. If it is judged that there is an obstacle climbing assisting device in front of the body, it will start tracking the boundary position of the obstacle climbing assisting device in the area to be cleaned at a certain distance from the obstacle climbing assisting device mark, and clean along the edge at this time, thereby ensuring that the cleaning robot and the obstacle climbing assisting device do not interfere with each other; when the cleaning robot is covering and cleaning the area to be cleaned, it will determine in real time whether there is an obstacle climbing assisting device area in front of the cleaning robot body based on the obstacle climbing assisting device information. If it is judged that there is an obstacle climbing assisting device in front of the body, it can make a circular turn in time at a position half the distance of the cleaning robot body from the obstacle climbing assisting device, thereby ensuring that the cleaning robot does not touch the obstacle climbing assisting device during bow cleaning.
[0062] It should be noted that the covering cleaning is performed after the edge cleaning, and the initial cleaning path of the covering cleaning is obtained according to the area determined by the edge cleaning, wherein the initial cleaning path is an arc-shaped cleaning path.
[0063] Specifically, see Figure 2 (1: contour of the area to be cleaned; 2: obstacle crossing assist device; 3: edge track of the contour of the area to be cleaned; 4: navigation track; 5: arc-shaped U-turn track; 6: arc-shaped straight line track). When the cleaning robot cleans the area to be cleaned, it first cleans the entire area to be cleaned along the edge (see Figure 23), during the edge cleaning process, the boundary position of the obstacle assistance device in the area to be cleaned will be determined based on the obstacle assistance device information, and it will be determined in real time whether there is an obstacle assistance device in front of the cleaning robot body. If it is determined that there is an obstacle assistance device in front of the body, it will start tracking the boundary position of the obstacle assistance device in the area to be cleaned at a certain distance from the obstacle assistance device mark, and perform edge cleaning at this time. When the cleaning robot closes the contour of the entire area to be cleaned, the area determined by edge cleaning is obtained, and the initial cleaning path for covering cleaning is determined based on the area determined by edge cleaning, and then the arc covering cleaning is started (see Figure 2 5 and 6). Thus, the cleaning robot is ensured to efficiently avoid obstacle-crossing assist devices throughout the entire process, thereby improving cleaning efficiency and fluency.
[0064] As an example, if the obstacle assistance device information is obtained from a grid map, controlling the cleaning robot to turn around according to the obstacle assistance device information may include: determining a turning point according to the obstacle assistance device information; and controlling the cleaning robot to turn around when the cleaning robot reaches the turning point. If the obstacle assistance device information is obtained from a grid map, the cleaning robot is controlled to turn around in a bow shape.
[0065] Specifically, when the cleaning robot is cleaning the area to be cleaned, if the obstacle assistance device information is obtained from the grid map, the turning point is determined according to the obstacle assistance device information, and when the cleaning robot reaches the turning point, the cleaning robot is controlled to make a bow-shaped turning. The turning point can be in the current moving direction of the cleaning robot, such as in front of the cleaning robot at a certain distance from the obstacle assistance device. For example: Figure 3-4 (1: outline of the area to be cleaned; 2: obstacle assistance device; 5: bow-shaped U-turn trajectory; 6: bow-shaped straight line trajectory; 7: U-turn point). When the cleaning robot cleans the area to be cleaned, if there is information about the obstacle assistance device in the grid map at the beginning, the cleaning robot determines the U-turn point (such as the position of half the fuselage of the obstacle assistance device) according to the information of the obstacle assistance device. When the cleaning robot reaches the U-turn point, the cleaning robot is controlled to make a bow-shaped U-turn to avoid the obstacle assistance device. It should be noted that since the grid map is known in advance and the U-turn point of the bow-shaped U-turn is earlier than the U-turn point of the U-turn along the edge, the bow-shaped U-turn makes the cleaning efficiency high.
[0066] As an example, if the obstacle assistance device information is obtained through a sensor, controlling the cleaning robot to turn around according to the obstacle assistance device information may include: determining the distance between the cleaning robot and the corresponding obstacle assistance device according to the obstacle assistance device information; and when the distance decreases to a preset value, controlling the cleaning robot to turn around. Wherein, if the obstacle assistance device information is obtained through a sensor, the cleaning robot is controlled to turn around along the edge.
[0067] Specifically, when the cleaning robot is cleaning the area to be cleaned, if the obstacle assistance device information is obtained through the sensor, the distance between the cleaning robot and the corresponding obstacle assistance device is determined according to the obstacle assistance device information, and when the distance is reduced to a preset value, the cleaning robot is controlled to turn around along the edge. The distance between the cleaning robot and the corresponding obstacle assistance device is the shortest distance, which can be the distance between a straight line drawn in the moving direction of the cleaning robot and the intersection with the obstacle assistance device and the turning point on the straight line. For example: See Figure 5-6 (1: outline of the area to be cleaned; 2: obstacle assistance device; 7: U-turn point; 8: U-turn trajectory along the edge). When the cleaning robot cleans the area to be cleaned, if there is no obstacle assistance device information in the grid map at the beginning, the U-turn point is likely to be on the obstacle assistance device. However, in the process of going to the U-turn point, the cleaning robot can determine the distance between the cleaning robot and the corresponding obstacle assistance device through the sensor. When the distance is reduced to a preset value (such as the position of half the body of the obstacle assistance device), the U-turn along the edge is performed to avoid the obstacle assistance device. It should be noted that when controlling the cleaning robot to turn along the edge, in order to ensure safety, the moving speed of the cleaning robot is slower than that of the bow U-turn.
[0068] To sum up, the cleaning device obtains the obstacle climbing assistance device information through the sensor, and updates the grid map according to the obstacle climbing assistance device information, and can maintain the position and size of the obstacle climbing assistance device in real time, thereby ensuring the accuracy of the obstacle climbing assistance device information; when the cleaning robot cleans the area to be cleaned, it obtains the obstacle climbing assistance device information of the area to be cleaned, and controls the cleaning robot to avoid the corresponding obstacle climbing assistance device according to the obstacle climbing assistance device information. On the premise of accurately identifying the obstacle climbing assistance device, the obstacle climbing assistance device can be specially processed in each link of cleaning (partitioning / edge / arc, etc.), to ensure that the cleaning robot can efficiently avoid the obstacle climbing assistance device and improve the cleaning efficiency and fluency.
[0069] Figure 8 FIG. 1 is a schematic diagram of the structure of a controller according to an embodiment of the present invention. Figure 8 As shown, the controller 200 includes a memory 210, a processor 220, and a computer program 230 stored in the memory 210. When the computer program 230 is executed by the processor 220, the above-mentioned cleaning method is implemented.
[0070] According to the controller of an embodiment of the present invention, when the computer program corresponding to the above-mentioned cleaning method stored in its memory is executed, it can ensure the accuracy of the obstacle assistance device information, ensure that the cleaning robot effectively avoids the obstacle assistance device, and improve the cleaning efficiency and fluency.
[0071] The present invention also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the above-mentioned cleaning method is implemented.
[0072] The computer-readable storage medium of an embodiment of the present invention, when the computer program corresponding to the above-mentioned cleaning method stored thereon is executed, can ensure the accuracy of the obstacle assistance device information, ensure that the cleaning robot effectively avoids the obstacle assistance device, and improve the cleaning efficiency and fluency.
[0073] The present invention further provides a cleaning robot, comprising: the cleaning device 100 mentioned above, or the controller 200 mentioned above.
[0074] The cleaning robot of the embodiment of the present invention can ensure the accuracy of the obstacle assistance device information through the above-mentioned cleaning device or the above-mentioned controller, ensure that the cleaning robot effectively avoids the obstacle assistance device, and improve the cleaning efficiency and fluency.
[0075] It should be noted that the logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be specifically implemented in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection portion with one or more wirings (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.
[0076] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0077] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0078] In the description of the present invention, it is to be understood that the terms “center”, “longitudinal”, “lateral”, “length”, “width”, “thickness”, “up”, “down”, “front”, “back”, “left”, “right”, “vertical”, “horizontal”, “top”, “bottom”, “inside”, “outside”, “clockwise”, “counterclockwise”, “axial”, “radial”, “circumferential”, etc., indicating orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as limiting the present invention.
[0079] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0080] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0081] In the present invention, unless otherwise clearly specified and limited, a first feature being "above" or "below" a second feature may mean that the first and second features are in direct contact, or the first and second features are in indirect contact through an intermediate medium. Moreover, a first feature being "above", "above" or "above" a second feature may mean that the first feature is directly above or obliquely above the second feature, or simply means that the first feature is higher in level than the second feature. A first feature being "below", "below" or "below" a second feature may mean that the first feature is directly below or obliquely below the second feature, or simply means that the first feature is lower in level than the second feature.
[0082] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.
Claims
1. A cleaning method, characterized in that: The method comprises: When the cleaning robot cleans the area to be cleaned, the cleaning robot obtains information about the obstacle-crossing auxiliary device of the area to be cleaned; The cleaning robot is controlled to avoid a corresponding obstacle-crossing assisting device according to the obstacle-crossing assisting device information, wherein the obstacle-crossing assisting device is used to assist the cleaning robot to cross obstacles between the area to be cleaned and other cleaning areas.
2. The cleaning method according to claim 1, characterized in that: The cleaning robot cleans the area to be cleaned by edge cleaning and covering cleaning, wherein: When cleaning the area to be cleaned along the edge, controlling the cleaning robot to clean along the boundary of the obstacle-crossing assisting device according to the obstacle-crossing assisting device information; When the area to be cleaned is covered and cleaned, the cleaning robot is controlled to turn around according to the obstacle-crossing auxiliary device information.
3. The cleaning method according to claim 2, characterized in that: The obtaining the obstacle-crossing auxiliary device information of the area to be cleaned includes: Acquire a grid map, and obtain obstacle-crossing assistance device information of the area to be cleaned from the grid map; or, Obstacle-crossing assistance device information of the area to be cleaned is obtained through sensors carried by the cleaning robot.
4. The cleaning method according to claim 3, characterized in that: If the obstacle-crossing assisting device information is obtained from the grid map, then controlling the cleaning robot to turn around according to the obstacle-crossing assisting device information includes: determining a U-turn point according to the obstacle-crossing assistance device information; When the cleaning robot reaches the turning point, the cleaning robot is controlled to turn around.
5. The cleaning method according to claim 3, characterized in that: If the obstacle-crossing assisting device information is obtained through the sensor, then controlling the cleaning robot to turn around according to the obstacle-crossing assisting device information includes: Determine the distance between the cleaning robot and the corresponding obstacle assisting device according to the obstacle assisting device information; When the distance is reduced to a preset value, the cleaning robot is controlled to turn around.
6. The cleaning method according to claim 3, characterized in that: If the obstacle-crossing auxiliary device information is obtained from the grid map, the U-turn of the cleaning robot is controlled to be a bow-shaped U-turn; If the obstacle-crossing assisting device information is obtained through the sensor, the U-turn of the cleaning robot is controlled to be a sideways U-turn.
7. The cleaning method according to claim 2, characterized in that: The covering cleaning is performed after the edge cleaning, and an initial cleaning path of the covering cleaning is obtained according to an area determined by the edge cleaning, wherein the initial cleaning path is an arcuate cleaning path.
8. The cleaning method according to claim 3, characterized in that: If the obstacle-crossing assistance device information is obtained through the sensor, the grid map is updated according to the obstacle-crossing assistance device information.
9. The cleaning method according to claim 2, characterized in that: Controlling the cleaning robot to clean along the boundary of the obstacle-crossing assisting device according to the obstacle-crossing assisting device information includes: Determining a boundary position of the obstacle-crossing assisting device in the area to be cleaned according to the obstacle-crossing assisting device information; The cleaning robot is controlled to clean along the boundary of the obstacle crossing assisting device according to the boundary position.
10. A cleaning device, characterized in that: The device comprises: An acquisition module, used for acquiring obstacle-crossing auxiliary device information of the area to be cleaned when the cleaning robot cleans the area to be cleaned; A control module is used to control the cleaning robot to avoid the corresponding obstacle-crossing assisting device according to the obstacle-crossing assisting device information.
11. A controller, characterized in that: It comprises a memory, a processor and a computer program stored in the memory, and when the computer program is executed by the processor, it implements the cleaning method according to any one of claims 1-9.
12. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the cleaning method according to any one of claims 1 to 9 is implemented.
13. A cleaning robot, characterized in that: include: The cleaning device according to claim 10, or the controller according to claim 11.
