















技术领域technical field
本公开涉及自动化控制领域,特别涉及一种清洁机器人及其控制方法。The present disclosure relates to the field of automation control, in particular to a cleaning robot and a control method thereof.
背景技术Background technique
清洁机器人是在无使用者操作的情况下,在某一待清洁区域自动行进的同时,进行清洁操作的机器人。A cleaning robot is a robot that performs cleaning operations while automatically traveling in a certain area to be cleaned without user operation.
在申请号为201010202812.6的中国发明专利《机器人清洁器及其控制方法》中,提供了一种控制机器人行进的方法,该方法提供了一种之字形行进方法,清洁机器人在之字形行进中碰到障碍物,会跟随该障碍物行进,如果在跟随障碍物过程中与原行进路线之间的横向间隔达到了指定间隔,则进入邻行清洁;如果在跟随障碍物过程中重新走到了原行进路线,则继续在原行进路线清洁。但是,该方法在一些场景中会导致清洁机器人在绕障碍物的过程中走较长的重复路线,影响清洁机器人的清洁效率。比如,该发明专利的附图11中,清洁机器人会在3’路线上重复行走。普通家居环境中通常有较多的障碍物,重复绕障碍物使得清洁覆盖效率大大降低。且从附图11中机器人的清洁路径也可以看出,机器人有时左侧边沿障碍物行进,有时右侧边沿障碍物行进,这就要求机器双侧都支持沿边清洁,沿边清洁要求配备边刷,沿边检测组件(例如红外模组),以及相应的控制电路等,成本较高。In the Chinese invention patent "Robot Cleaner and its control method" with the application number of 201010202812.6, a method for controlling the movement of a robot is provided, and the method provides a zigzag travelling method. The cleaning robot encounters a zigzag travelling method. Obstacle, it will follow the obstacle. If the horizontal interval between the original travel route and the obstacle reaches the specified interval, it will enter the adjacent row to clean; , continue to clean on the original travel route. However, in some scenarios, this method will cause the cleaning robot to take a long and repeated route in the process of going around obstacles, which affects the cleaning efficiency of the cleaning robot. For example, in Figure 11 of the invention patent, the cleaning robot will repeatedly walk on the 3' route. There are usually many obstacles in an ordinary home environment. Repeatedly circumnavigating the obstacles greatly reduces the cleaning and coverage efficiency. It can also be seen from the cleaning path of the robot in Figure 11 that the robot sometimes travels along obstacles on the left side and sometimes on the right side. This requires that both sides of the machine support edge cleaning, and edge cleaning requires edge brushes. Edge detection components (such as infrared modules), and corresponding control circuits, etc., are expensive.
发明内容SUMMARY OF THE INVENTION
为了解决相关技术在一些场景中会导致清洁机器人走较长的重复路线,影响清洁机器人的清洁效率的问题,本公开提供一种清洁机器人控制方法及清洁机器人。所述技术方案如下:In order to solve the problem that the related art may cause the cleaning robot to take a long and repetitive route in some scenarios, which affects the cleaning efficiency of the cleaning robot, the present disclosure provides a cleaning robot control method and a cleaning robot. The technical solution is as follows:
根据本公开实施例的第一方面,提供了一种清洁机器人,该清洁机器人包括:According to a first aspect of the embodiments of the present disclosure, a cleaning robot is provided, and the cleaning robot includes:
控制单元;control unit;
与控制单元电性相连的障碍物感应单元和行进驱动单元;The obstacle sensing unit and the traveling drive unit electrically connected with the control unit;
控制单元被配置为:The control unit is configured to:
控制行进驱动单元进行之字形行进,之字形行进包括第一行进和第二行进,第一行进使清洁机器人沿区块中的第一方向前进,第二行进使清洁机器人沿区块中的第二方向前进,第一方向和第二方向平行且相反;Controlling the travel drive unit for zigzag travel, the zigzag travel includes a first travel and a second travel, the first travel causes the cleaning robot to advance in the first direction in the block, and the second travel causes the cleaning robot to move along the second direction in the block The direction is forward, the first direction and the second direction are parallel and opposite;
在障碍物感应单元在之字形行进过程中感应到障碍物时,控制行进驱动单元绕障碍物的周边行进一周;When the obstacle sensing unit senses an obstacle during the zigzag traveling process, the traveling drive unit is controlled to travel around the circumference of the obstacle for a circle;
在绕障碍物的周边一周后,确定目标未清洁行;After making a circle around the perimeter of the obstacle, it is determined that the target is not clean;
控制行进驱动单元在目标未清洁行上继续进行之字形行进,若清洁机器人的所在位置不对应目标未清洁行的端点,则识别在目标未清洁行上离所在位置最近的端点,控制行进驱动单元向最近的端点行进,并从最近的端点返回清洁目标未清洁行,并继续进行之字形行进。Control the traveling drive unit to continue zigzag traveling on the target uncleaned line. If the position of the cleaning robot does not correspond to the end point of the target uncleaned line, identify the end point on the target uncleaned line that is closest to the location, and control the traveling drive unit Proceed to the nearest endpoint and return clean target unclean lines from the nearest endpoint and continue zig-zag.
在一个可能的实施例中,控制单元,还被配置为:In a possible embodiment, the control unit is further configured to:
控制行进驱动单元进行沿边清洁,沿区块的周边和障碍物的周边所组成的组合周边行进一周。The traveling drive unit is controlled to clean along the edge, and travel around the combined perimeter composed of the perimeter of the block and the perimeter of the obstacle.
在一个可能的实施例中,控制单元,还被配置为:In a possible embodiment, the control unit is further configured to:
在沿边过程中再次到达已清洁点,再次到达已清洁点的行进方向和已清洁点的首次清洁行进方向小于一定角度,和/或,从开始沿边清洁到再次到达已清洁点的过程中清洁机器人的行进方向经历过所有象限,则确定已经绕组合周边行进一周。The cleaned point is reached again during the edgewise process, the travel direction of the cleaned point again is less than a certain angle from the first cleaning travel direction of the cleaned point, and/or the cleaning robot is in the process from starting edge cleaning to reaching the cleaned point again The direction of travel has passed through all quadrants, and it is determined that it has traveled around the combined perimeter once.
在一个可能的实施例中,控制单元,还被配置为:In a possible embodiment, the control unit is further configured to:
在绕障碍物的周边行进的过程中,若首次感应到区块的周边,则控制行进驱动单元进行沿边清洁。In the process of traveling around the periphery of the obstacle, if the periphery of the block is sensed for the first time, the traveling driving unit is controlled to perform edge cleaning.
在一个可能的实施例中,控制单元识别在目标未清洁行上离所在位置最近的端点,控制行进驱动单元向最近的端点行进,并从最近的端点返回清洁目标未清洁行的过程中,还被配置为:In a possible embodiment, the control unit identifies the end point on the target uncleaned line that is closest to the location, controls the traveling driving unit to travel to the closest end point, and returns from the closest end point to the process of cleaning the target uncleaned line, and further is configured as:
若清洁机器人的所在位置不对应目标未清洁行的端点,则识别在目标未清洁行上由所在位置出发的短边路径和长边路径,控制行进驱动单元向短边路径行进;If the position of the cleaning robot does not correspond to the end point of the target uncleaned line, identify the short-side path and the long-side path starting from the location on the target uncleaned line, and control the traveling drive unit to travel to the short-side path;
在短边路径行进完毕后,控制行进驱动单元从短边路径返回至长边路径进行之字形行进。After the short-side path travels, the traveling driving unit is controlled to return from the short-side path to the long-side path for zigzag travel.
在一个可能的实施例中,控制单元在绕障碍物的周边一周后,确定目标未清洁行的过程中,还被配置为:In a possible embodiment, the control unit is further configured to: during the process of determining the target uncleaned row after making a circle around the periphery of the obstacle:
寻找最近一个未清洁行,将最近一个未清洁行确定为目标未清洁行。Find the last uncleaned row, and determine the last uncleaned row as the target uncleaned row.
在一个可能的实施例中,控制单元寻找最近一个未清洁行之前,还被配置为:In a possible embodiment, before the control unit searches for the latest uncleaned row, it is further configured to:
在绕障碍物的周边行进一周后,寻找附近未清洁角落所在行;After traveling around the perimeter of the obstacle, look for a nearby uncleaned corner;
若存在附近未清洁角落所在行,则控制行进驱动单元行进至附近未清洁角落所在行,并将附近未清洁角落所在行确定为目标未清洁行;If there is a row with a nearby uncleaned corner, control the traveling drive unit to travel to the row with the nearby uncleaned corner, and determine the row with the nearby uncleaned corner as the target uncleaned row;
若不存在附近未清洁角落所在行,则执行寻找最近一个未清洁行的步骤。If there is no nearby uncleaned corner row, perform the steps of finding the nearest uncleaned row.
在一个可能的实施例中,控制单元控制行进驱动单元进行之字形行进之前,还被配置为:In a possible embodiment, the control unit is further configured to:
从启动位置寻找最近一个障碍物;Find the nearest obstacle from the starting position;
控制行进驱动单元向最近一个障碍物行进;Control the travel drive unit to travel to the nearest obstacle;
在感应到最近一个障碍物时,控制行进驱动单元绕最近一个障碍物的周边行进一周。When the nearest obstacle is sensed, the traveling driving unit is controlled to travel around the periphery of the nearest obstacle.
在一个可能的实施例中,控制单元,还被配置为:In a possible embodiment, the control unit is further configured to:
在绕最近一个障碍物的周边行进一周后,寻找附近未清洁角落所在行;After circling the perimeter of the nearest obstacle, look for a nearby uncleaned corner;
控制行进驱动单元行进至附近未清洁角落所在行后,执行控制行进驱动单元进行之字形行进的步骤。After the traveling driving unit is controlled to travel to the row where the nearby uncleaned corner is located, the step of controlling the traveling driving unit to travel in a zigzag manner is performed.
在一个可能的实施例中,控制单元,还被配置为:In a possible embodiment, the control unit is further configured to:
以自身所在位置为依据构建区块;Build blocks based on their own location;
或,or,
以一定范围内的墙体为边界构建区块;Build blocks with walls within a certain range as boundaries;
或,or,
参考已有区块的边界构建已有区块的相邻区块。Construct adjacent blocks of existing blocks with reference to the boundaries of existing blocks.
在一个可能的实施例中,控制单元,还被配置为:In a possible embodiment, the control unit is further configured to:
以机体的边刷一侧为内侧绕障碍物的周边行进一周。Take the side brush side of the body as the inner side and travel around the periphery of the obstacle.
在一个可能的实施例中,第一行进与第二行进之间的间距小于或等于清洁机器人的机身半径。In a possible embodiment, the distance between the first travel and the second travel is less than or equal to the body radius of the cleaning robot.
在一个可能的实施例中,第一方向和第二方向均与区块的长边平行。In a possible embodiment, both the first direction and the second direction are parallel to the long side of the block.
根据本公开的第二方面,提供了一种清洁机器人控制方法,方法包括:According to a second aspect of the present disclosure, there is provided a cleaning robot control method, the method comprising:
进行之字形行进,之字形行进包括第一行进和第二行进,第一行进使清洁机器人沿区块中的第一方向前进,第二行进使清洁机器人沿区块中的第二方向前进,第一方向和第二方向平行且相反;Make a zigzag travel, the zigzag travel includes a first travel and a second travel, the first travel makes the cleaning robot advance in the first direction in the block, the second travel makes the cleaning robot advance in the second direction in the block, the second travel One direction and the second direction are parallel and opposite;
在之字形行进过程中感应到障碍物时,绕障碍物的周边行进一周;When an obstacle is sensed during the zigzag travel, travel around the circumference of the obstacle;
在绕障碍物的周边行进一周后,寻找目标未清洁行;After traveling around the perimeter of the obstacle, look for the target unclean line;
在目标未清洁行上继续进行之字形行进,若清洁机器人的所在位置不对应目标未清洁行的端点,则识别在目标未清洁行上离所在位置最近的端点,向最近的端点行进,并从最近的端点返回清洁目标未清洁行,并继续进行之字形行进。Continue to zigzag on the target uncleaned line. If the position of the cleaning robot does not correspond to the end point of the target uncleaned line, identify the end point on the target uncleaned line that is closest to the position, travel to the nearest end point, and start from The closest endpoint returns the clean target uncleaned row and continues the zig-zag.
在一个可能的实施例中,绕障碍物的周边行进一周,包括:In one possible embodiment, traveling around the perimeter of the obstacle includes:
控制行进驱动单元进行沿边清洁,沿区块的周边和障碍物的周边所组成的组合周边行进一周。The traveling drive unit is controlled to clean along the edge, and travel around the combined perimeter composed of the perimeter of the block and the perimeter of the obstacle.
在一个可能的实施例中,该方法还包括:In a possible embodiment, the method further includes:
若在沿边过程中再次到达已清洁点,再次到达已清洁点的行进方向和已清洁点的首次清洁行进方向小于一定角度,和/或,从开始沿边清洁到再次到达已清洁点的过程中清洁机器人的行进方向经历过所有象限,则确定已经绕组合周边行进一周。If the cleaned point is reached again during the edgewise process, the travel direction of the cleaned point again and the travel direction of the first cleaning of the cleaned point are less than a certain angle, and/or, from the beginning of edge cleaning to the cleaning process of reaching the cleaned point again If the travel direction of the robot has gone through all quadrants, it is determined that it has traveled around the combined perimeter once.
在一个可能的实施例中,控制行进驱动单元进行沿边清洁,包括:In a possible embodiment, controlling the traveling drive unit to perform edgewise cleaning includes:
在绕障碍物的周边行进的过程中,若首次感应到区块的周边,则控制行进驱动单元进行沿边清洁。In the process of traveling around the periphery of the obstacle, if the periphery of the block is sensed for the first time, the traveling driving unit is controlled to perform edge cleaning.
在一个可能的实施例中,识别在目标未清洁行上离所在位置最近的端点,向最近的端点行进,并从最近的端点返回清洁目标未清洁行,包括:In one possible embodiment, identifying an endpoint on the target uncleaned line that is closest to the location, traveling to the closest endpoint, and returning from the closest endpoint to clean the target uncleaned line, comprising:
若清洁机器人的所在位置不对应目标未清洁行的端点,则识别在目标未清洁行上由所在位置出发的短边路径和长边路径,控制行进驱动单元向短边路径行进;If the position of the cleaning robot does not correspond to the end point of the target uncleaned line, identify the short-side path and the long-side path starting from the location on the target uncleaned line, and control the traveling drive unit to travel to the short-side path;
在短边路径行进完毕后,从短边路径返回至长边路径进行之字形行进。After the short-side path travels, return from the short-side path to the long-side path for zigzag travel.
在一个可能的实施例中,在绕障碍物的周边一周后,确定目标未清洁行,包括:In a possible embodiment, after making a circle around the perimeter of the obstacle, determining the target uncleaned row includes:
寻找最近一个未清洁行,将最近一个未清洁行确定为目标未清洁行。Find the last uncleaned row, and determine the last uncleaned row as the target uncleaned row.
在一个可能的实施例中,寻找最近一个未清洁行之前,还包括:In a possible embodiment, before searching for the most recent uncleaned row, the method further includes:
在绕障碍物的周边行进一周后,寻找附近未清洁角落所在行;After traveling around the perimeter of the obstacle, look for a nearby uncleaned corner;
若存在附近未清洁角落所在行,则控制行进驱动单元行进至附近未清洁角落所在行,并将附近未清洁角落所在行确定为目标未清洁行;If there is a row with a nearby uncleaned corner, control the traveling drive unit to travel to the row with the nearby uncleaned corner, and determine the row with the nearby uncleaned corner as the target uncleaned row;
若不存在附近未清洁角落所在行,则执行寻找最近一个未清洁行的步骤。If there is no nearby uncleaned corner row, perform the steps of finding the nearest uncleaned row.
在一个可能的实施例中,进行之字形行进之前,还包括:In a possible embodiment, before performing the zigzag travel, it also includes:
从启动位置寻找最近一个障碍物;Find the nearest obstacle from the starting position;
控制行进驱动单元向最近一个障碍物行进;Control the travel drive unit to travel to the nearest obstacle;
在感应到最近一个障碍物时,控制行进驱动单元绕最近一个障碍物的周边行进一周。When the nearest obstacle is sensed, the traveling driving unit is controlled to travel around the periphery of the nearest obstacle.
在一个可能的实施例中,该方法还包括:In a possible embodiment, the method further includes:
在绕最近一个障碍物的周边行进一周后,寻找附近未清洁角落所在行;After circling the perimeter of the nearest obstacle, look for a nearby uncleaned corner;
控制行进驱动单元行进至附近未清洁角落所在行后,执行控制行进驱动单元进行之字形行进的步骤。After the traveling driving unit is controlled to travel to the row where the nearby uncleaned corner is located, the step of controlling the traveling driving unit to travel in a zigzag manner is performed.
在一个可能的实施例中,该方法,还包括:In a possible embodiment, the method further includes:
以自身所在位置为依据构建区块;Build blocks based on their own location;
或,or,
以一定范围内的墙体为边界构建区块;Build blocks with walls within a certain range as boundaries;
或,or,
参考已有区块的边界构建已有区块的相邻区块。Construct adjacent blocks of existing blocks with reference to the boundaries of existing blocks.
在一个可能的实施例中,该方法还包括:In a possible embodiment, the method further includes:
以机体的边刷一侧为内侧绕障碍物的周边行进一周。Take the side brush side of the body as the inner side and travel around the periphery of the obstacle.
在一个可能的实施例中,第一行进与第二行进之间的间距小于或等于清洁机器人的机身半径。In a possible embodiment, the distance between the first travel and the second travel is less than or equal to the body radius of the cleaning robot.
在一个可能的实施例中,第一方向和第二方向均与区块的长边平行。In a possible embodiment, both the first direction and the second direction are parallel to the long side of the block.
本公开的实施例提供的技术方案可以包括以下有益效果:The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects:
通过让清洁机器人在感应到障碍物时,绕障碍物的周边行进一周,然后再寻找目标未清洁行进行清洁,并在清洁机器人的所在位置不对应目标未清洁行的端点时,则识别在目标未清洁行上离所在位置最近的端点,向最近的端点行进,并从最近的端点返回清洁目标未清洁行;解决了相关技术在一些场景中会导致清洁机器人绕障碍物走较长的重复路线,影响清洁机器人的清洁效率的问题,达到了清洁机器人基本不用绕障碍物走重复路线,提高清洁机器人的清洁效率的效果。When the cleaning robot senses an obstacle, it travels around the circumference of the obstacle, and then finds the target uncleaned line for cleaning, and when the location of the cleaning robot does not correspond to the endpoint of the target uncleaned line, it recognizes that the target is not cleaned. The endpoint on the uncleaned line that is closest to the location, travels to the nearest endpoint, and returns to the clean target uncleaned line from the nearest endpoint; solves the problem that the related technology will cause the cleaning robot to take a long repeated route around the obstacle in some scenarios , which affects the cleaning efficiency of the cleaning robot, and achieves the effect that the cleaning robot basically does not need to take repeated routes around obstacles, and the cleaning efficiency of the cleaning robot is improved.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性的,并不能限制本公开。It is to be understood that the foregoing general description and the following detailed description are exemplary only and do not limit the present disclosure.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并于说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure, and together with the description serve to explain the principles of the disclosure.
图1是根据一示例性实施例示出的清洁机器人的俯视示意图;1 is a schematic top view of a cleaning robot according to an exemplary embodiment;
图2是根据一示例性实施例示出的清洁机器人的仰视示意图;2 is a schematic bottom view of a cleaning robot according to an exemplary embodiment;
图3是根据另一示例性实施例示出的清洁机器人的结构方框图;3 is a structural block diagram of a cleaning robot according to another exemplary embodiment;
图4是根据一示例性实施例示出的清洁机器人控制方法的方法流程图;Fig. 4 is a method flow chart of a method for controlling a cleaning robot according to an exemplary embodiment;
图5是图4所示实施例示出的清洁机器人控制方法的实施示意图;5 is a schematic diagram of the implementation of the cleaning robot control method shown in the embodiment shown in FIG. 4;
图6是根据另一示例性实施例示出的清洁机器人控制方法的方法流程图;Fig. 6 is a method flow chart of a method for controlling a cleaning robot according to another exemplary embodiment;
图7A至图7E是图5所示清洁机器人控制方法的实施示意图;7A to 7E are schematic implementation diagrams of the cleaning robot control method shown in FIG. 5;
图8A是根据一示例性实施例示出的清洁机器人控制方法的子步骤流程图;FIG. 8A is a flow chart of sub-steps of a method for controlling a cleaning robot according to an exemplary embodiment;
图8B和图8C是根据图8A所示实施例示出的清洁机器人控制方法的子步骤实施示意图;Fig. 8B and Fig. 8C are schematic diagrams of implementing sub-steps of the cleaning robot control method shown in the embodiment shown in Fig. 8A;
图9是根据一示例性实施示出的清洁机器人的实施示意图;FIG. 9 is an implementation schematic diagram of a cleaning robot shown according to an exemplary implementation;
图10A和图10B是根据另一示例性实施示出的清洁机器人的实施示意图;10A and 10B are schematic implementation diagrams of a cleaning robot shown according to another exemplary implementation;
图11A至图11D是根据另一示例性实施示出的清洁机器人的实施示意图。11A to 11D are schematic implementation diagrams of a cleaning robot shown according to another exemplary implementation.
具体实施方式Detailed ways
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. Where the following description refers to the drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the illustrative examples below are not intended to represent all implementations consistent with this disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as recited in the appended claims.
图1和图2分别是根据一示例性实施例示出的清洁机器人的俯视示意图和仰视示意图。如图1和图2所示,清洁机器人包括:机体10、测距模块20、驱动模块30、沿边模块40和主刷50。1 and 2 are a schematic plan view and a schematic bottom view of a cleaning robot according to an exemplary embodiment, respectively. As shown in FIGS. 1 and 2 , the cleaning robot includes: a
机体10形成清洁机器人的外壳,并且容纳其它部件。The
测距模块20用于感测清洁机器人的周侧环境。可选地,测距模块20为红外测距传感器、超声波测距传感器、LDS(Laser Distance Sensor,激光测距传感器)、摄像头、接触传感器、霍尔传感器等。测距模块20用于对清洁机器人的环境进行测量,从而发现障碍物、墙面、台阶等环境物体。The ranging
驱动模块30用于驱动清洁机器人的前进,可选地,驱动模块30包括一对安装在机体10底部的中间两侧的驱动轮31和32,驱动轮31和32用于驱动清洁机器人前进或后退。驱动模块30还包括设置在机体10前部的导向轮33,导向轮33用于改变清洁机器人在行进过程中的行驶方向。The driving
沿边模块40安装在机体10底部的前方两侧或者前方一侧,由于本公开实施例提供的清洁机器人行进方法的特性,沿边模块40可以仅有一个,安装在机体10底部的前方右侧,或者,安装在机体10底部的前方左侧。沿边模块40包括边刷和沿边感测组件。沿边感测组件可以为红外模组,或者超声传感器。The
主刷50安装在机体10底部。可选地,主刷50是以滚轮型相对于地面转动的鼓形转刷。The
图3是根据一示例性实施例提供的清洁机器人的结构方框图。清洁机器人包括:控制单元310、存储单元320、输入单元330、障碍物感应单元340、行进距离检测单元350、行进方向检测单元360、行进驱动单元370和刷驱动单元380。FIG. 3 is a structural block diagram of a cleaning robot provided according to an exemplary embodiment. The cleaning robot includes: a control unit 310 , a
控制单元310用于控制清洁机器人的总体操作。在接收到清洁命令时,控制单元310能够控制清洁机器人按照预设逻辑向前行进并且在行进过程中进行清洁。在接收到行进命令时,控制单元310控制清洁机器人以预定的行进模式在行进路径行进。The control unit 310 is used to control the overall operation of the cleaning robot. When receiving the cleaning command, the control unit 310 can control the cleaning robot to move forward according to a preset logic and perform cleaning during the travel. Upon receiving the travel command, the control unit 310 controls the cleaning robot to travel on a travel path in a predetermined travel mode.
存储单元320用于存储至少一个指令,这些指令包括用于执行预定的行进模式和行进路径的指令、用于进行清洁的指令、用于根据障碍物感应单元340感应到的障碍物数据绘制清洁地图的指令、用于在清洁地图上规划之字形行进的清洁行的指令、用于寻找最近一个未清洁行的指令等等。存储单元320还可以用于存储清洁机器人在行进过程中障碍物感应单元感应到的自身位置数据、障碍物数据以及墙体数据。The
输入单元330包括至少一个设置在机体10上部或遥控器(图中未示出)上或终端应用(例如app)上的按钮,以接收使用者输入的行进命令或清洁命令。The
障碍物感应单元340用于感应位于清洁机器人行进区域中的障碍物,比如家具、家电、办公设备、砖墙墙体、木板墙体等。障碍物感应单元340包括上述的测距装置20。本公开实施例对障碍物感应单元340的实现形式不做限定。The
行进距离检测单元350用于检测清洁机器人的行进距离。比如,行进距离检测单元350通过编码器测量驱动轮31和32的转动圈数,进而检测清洁机器人的行进距离。也可以通过加速度计来检测清洁机器人的行进距离。The travel
行进方向检测单元360用于检测清洁机器人的转动角度。比如,行进方向检测单元350通过陀螺仪传感器来检测清洁机器人的转动角度。The traveling
行进驱动单元370用于根据控制单元310的第一控制信号,驱动安装在清洁机器人的机体10底部的驱动轮31和32前进,行进驱动单元370可以是马达。The traveling
刷驱动单元380用于根据控制单元310的第二控制信号,驱动边刷40和主刷50在待清洁区块的地面上进行清洁。The
在示例性实施例中,控制单元310可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行本公开实施例中的清洁机器人控制方法。In an exemplary embodiment, control unit 310 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A programming gate array (FPGA), a controller, a microcontroller, a microprocessor or other electronic components are implemented for implementing the cleaning robot control method in the embodiments of the present disclosure.
上述控制单元310被配置为:The above-mentioned control unit 310 is configured to:
控制行进驱动单元370进行之字形行进,之字形行进包括第一行进和第二行进,第一行进使清洁机器人沿区块中的第一方向前进,第二行进使清洁机器人沿区块中的第二方向前进,第一方向和第二方向平行且相反;The traveling
在障碍物感应单元340在之字形行进过程中感应到障碍物时,控制行进驱动单元绕障碍物的周边行进一周;When the
在绕障碍物的周边行进一周后,寻找目标未清洁行;After traveling around the perimeter of the obstacle, look for the target unclean line;
控制行进驱动单元370在目标未清洁行上继续进行之字形行进,若清洁机器人的所在位置不对应目标未清洁行的端点,则识别在目标未清洁行上离所在位置最近的端点,控制行进驱动单元370向最近的端点行进,并从最近的端点返回清洁目标未清洁行,并继续进行之字形行进。Control the traveling
可选地,控制单元310,还被配置为:Optionally, the control unit 310 is further configured to:
控制行进驱动单元进行沿边清洁,沿区块的周边和障碍物的周边所组成的组合周边行进一周。The traveling drive unit is controlled to clean along the edge, and travel around the combined perimeter composed of the perimeter of the block and the perimeter of the obstacle.
可选地,控制单元310,还被配置为:Optionally, the control unit 310 is further configured to:
在沿边过程中再次到达已清洁点,再次到达已清洁点的行进方向和已清洁点的首次清洁行进方向小于一定角度,和/或,从开始沿边清洁到再次到达已清洁点的过程中机器人的行进方向经历过所有象限,则确定已经完成绕墙体的周边或组合周边行进一周。The cleaned point is reached again during the edgewise process, and the travel direction of the cleaned point again is less than a certain angle from the first cleaning travel direction of the cleaned point, and/or, the robot's movement during the process from starting edgewise cleaning to reaching the cleaned point again If the direction of travel passes through all quadrants, it is determined that one round of travel around the perimeter or combined perimeter of the wall has been completed.
可选地,控制单元310,还被配置为:Optionally, the control unit 310 is further configured to:
在绕障碍物的周边行进的过程中,若首次感应到区块的周边,则控制行进驱动单元370进行沿边清洁。In the process of traveling around the periphery of the obstacle, if the periphery of the block is sensed for the first time, the traveling
可选地,控制单元310识别在目标未清洁行上离所在位置最近的端点,控制行进驱动单元向最近的端点行进,并从最近的端点返回清洁目标未清洁行的过程中,还被配置为:Optionally, the control unit 310 identifies the end point closest to the location on the target uncleaned line, controls the traveling drive unit to travel to the closest end point, and returns from the closest end point to the process of cleaning the target uncleaned line, and is also configured as: :
若清洁机器人的所在位置不对应目标未清洁行的端点,则识别在目标未清洁行上由所在位置出发的短边路径和长边路径,控制行进驱动单元370向短边路径行进;If the location of the cleaning robot does not correspond to the endpoint of the target uncleaned line, then identify the short-side path and the long-side path starting from the location on the target uncleaned line, and control the traveling
在短边路径行进完毕后,控制行进驱动单元370从短边路径返回至长边路径进行之字形行进。After the short-side path travels, the traveling
可选地,控制单元310在绕障碍物的周边一周后,确定目标未清洁行的过程中,还被配置为:Optionally, the control unit 310 is further configured to: during the process of determining the target uncleaned row after making a circle around the periphery of the obstacle:
寻找最近一个未清洁行,将最近一个未清洁行确定为目标未清洁行。Find the last uncleaned row, and determine the last uncleaned row as the target uncleaned row.
可选地,控制单元310寻找最近一个未清洁行之前,还被配置为:Optionally, before the control unit 310 searches for the latest uncleaned row, it is further configured to:
在绕障碍物的周边行进一周后,寻找附近未清洁角落所在行;After traveling around the perimeter of the obstacle, look for a nearby uncleaned corner;
若存在附近未清洁角落所在行,则控制行进驱动单元370行进至附近未清洁角落所在行,并将附近未清洁角落所在行确定为目标未清洁行;If there is a row where the nearby uncleaned corner is located, the traveling
若不存在附近未清洁角落所在行,则执行寻找最近一个未清洁行的步骤。If there is no nearby uncleaned corner row, perform the steps of finding the nearest uncleaned row.
可选地,控制单元310控制行进驱动单元370进行之字形行进之前,还被配置为:Optionally, before the control unit 310 controls the traveling
从启动位置寻找最近一个障碍物;Find the nearest obstacle from the starting position;
控制行进驱动单元370向最近一个障碍物行进;control the
在感应到最近一个障碍物时,控制行进驱动单元370绕最近一个障碍物的周边行进一周;When sensing the nearest obstacle, control the traveling
在绕最近一个障碍物的周边行进一周后,执行控制行进驱动单元370进行之字形行进的步骤。After traveling around the perimeter of the nearest obstacle, the step of controlling the traveling
可选地,控制单元310,还被配置为:Optionally, the control unit 310 is further configured to:
在绕最近一个障碍物的周边行进一周后,寻找附近未清洁角落所在行;After circling the perimeter of the nearest obstacle, look for a nearby uncleaned corner;
控制行进驱动单元370行进至附近未清洁角落所在行后,执行控制行进驱动单元进行之字形行进的步骤。After the traveling
可选地,控制单元310,还被配置为:Optionally, the control unit 310 is further configured to:
以自身所在位置为依据构建区块;或,以一定范围内的墙体为边界构建区块;或,参考已有区块的边界构建已有区块的相邻区块。The block is constructed based on its own location; or, the block is constructed with the wall within a certain range as the boundary; or the adjacent block of the existing block is constructed with reference to the boundary of the existing block.
可选地,控制单元310,还被配置为:Optionally, the control unit 310 is further configured to:
以机体的边刷40一侧为内侧绕障碍物的周边行进一周。It travels around the periphery of the obstacle with the side of the
可选地,第一行进与第二行进之间的间距小于或等于清洁机器人的机身半径。Optionally, the distance between the first travel and the second travel is less than or equal to the radius of the body of the cleaning robot.
可选地,第一方向和第二方向均与区块的长边平行。Optionally, both the first direction and the second direction are parallel to the long side of the block.
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储单元320,上述指令可由控制单元310执行以完成上述本公开实施例中的清洁机器人控制方法。例如,非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, for example, a
以下实施例将基于上述清洁机器人来阐述控制其行进的方法,但本公开实施例不限定清洁机器人的类型。The following embodiments will describe the method for controlling the movement of the cleaning robot based on the above-mentioned cleaning robot, but the embodiment of the present disclosure does not limit the type of the cleaning robot.
图4是根据一示例性实施例示出的清洁机器人控制方法的流程图。该清洁机器人控制方法包括如下步骤。Fig. 4 is a flowchart of a method for controlling a cleaning robot according to an exemplary embodiment. The cleaning robot control method includes the following steps.
在步骤401中,进行之字形行进,之字形行进包括第一行进和第二行进,第一行进使清洁机器人沿区块中的第一方向前进,第二行进使清洁机器人沿区块中的第二方向前进,第一方向和第二方向平行且相反;In step 401, a zigzag travel is performed, and the zigzag travel includes a first travel and a second travel, the first travel makes the cleaning robot move along the first direction in the block, and the second travel causes the cleaning robot to move along the first direction in the block. Advance in two directions, the first direction and the second direction are parallel and opposite;
之字形行进又称蛇形行进,是周期性进行第一行进和第二行进的一种行进方式。Zigzag marching, also known as serpentine marching, is a way of travelling that periodically performs the first march and the second march.
通常,清洁机器人在区块中进行之字形行进。区块是清洁机器人打扫时的单位区域。Typically, cleaning robots zigzag through blocks. A block is a unit area that a cleaning robot cleans.
可选地,若区块为矩形区块,则第一方向和第二方向均与区块的长边平行。如此,可以大幅度减少清洁机器人在之字形行进中需要调头的次数。Optionally, if the block is a rectangular block, both the first direction and the second direction are parallel to the long side of the block. In this way, the number of times the cleaning robot needs to turn around in the zigzag travel can be greatly reduced.
在步骤402中,若在之字形行进过程中感应到障碍物,则绕障碍物的周边行进一周;In
在步骤403中,在绕障碍物的周边行进一周后,寻找目标未清洁行;In
在一般策略中,目标未清洁行即为离清洁机器人当前所在位置的最近一个未清洁行。In the general strategy, the target uncleaned row is the nearest uncleaned row to the current location of the cleaning robot.
在步骤404中,在目标未清洁行上继续进行之字形行进,若清洁机器人的所在位置不对应目标未清洁行的端点,则识别在目标未清洁行上离所在位置最近的端点,向最近的端点行进,并从最近的端点返回清洁目标未清洁行,再继续进行之字形行进。In
综上所述,本实施例提供的清洁机器人控制方法,通过让清洁机器人在感应到障碍物时,绕障碍物的周边行进一周,然后再寻找目标未清洁行进行清洁,并在清洁机器人的所在位置不对应目标未清洁行的端点时,则识别在目标未清洁行上离所在位置最近的端点,向最近的端点行进,并从最近的端点返回清洁最近一个未清洁行;解决了相关技术在一些场景中会导致清洁机器人走较长的重复路线,影响清洁机器人的清洁效率的问题;达到了清洁机器人基本不用走重复路线,提高清洁机器人的清洁效率的效果。To sum up, the cleaning robot control method provided by this embodiment allows the cleaning robot to travel around the periphery of the obstacle when sensing an obstacle, and then searches for the target uncleaned row for cleaning, and then cleans it at the location of the cleaning robot. When the position does not correspond to the endpoint of the target uncleaned line, identify the endpoint that is closest to the location on the target uncleaned line, travel to the nearest endpoint, and return from the nearest endpoint to clean the nearest uncleaned line; solve the problem of related technologies in In some scenarios, the cleaning robot will take a long repeated route, which will affect the cleaning efficiency of the cleaning robot; the cleaning robot basically does not need to take the repetitive route, and the cleaning efficiency of the cleaning robot is improved.
由于清洁机器人绕障碍物的周边总选择有沿边模块(比如边刷)的一侧沿边行进,即可覆盖所有的障碍物,也即解决了所有的贴边问题;又不需要在清洁机器人的两侧都设置沿边模块,从而达到了降低成本的效果。Since the cleaning robot always chooses the side of the edge module (such as a side brush) around the obstacles to travel along the edge, it can cover all obstacles, that is, solve all the welt problems; Edge modules are installed on both sides, thus achieving the effect of reducing costs.
下面结合一个实际的场景示意图。对上述图4所示出的清洁机器人控制方法进行示例性说明。为了简化描述,下述实施例的清洁机器人均以右侧为边刷一侧来举例说明。也即,清洁机器人的右侧设置有边刷,左侧没有设置边刷。The following is combined with a schematic diagram of an actual scene. The control method of the cleaning robot shown in the above-mentioned FIG. 4 is exemplified. In order to simplify the description, the cleaning robots in the following embodiments are all illustrated with the right side as the side brush side. That is, the right side of the cleaning robot is provided with a side brush, and the left side is not provided with a side brush.
图5是根据一示例性实施例示出的一种清洁机器人控制方法的实施示意图。图5示出了一个区块50,该区块50的四条边为虚拟边,区块50中有一个不规则的障碍物51且该区块50中不再包含其它障碍物。若清洁机器人在该区块50的中心位置开始进行之字形行进后,清洁机器人会在前方遇到障碍物51,然后清洁机器人沿障碍物51的外周边绕行一周。在绕行一周后,清洁机器人将障碍物51所在的区域标记为已清洁区域。Fig. 5 is a schematic diagram illustrating the implementation of a method for controlling a cleaning robot according to an exemplary embodiment. FIG. 5 shows a
清洁机器人从绕行前的原始位置查找最近一个未清洁行52,开始继续进行之字形行进。清洁机器人沿该最近一个未清洁行52开始之字形行进,在该最近一个未清洁行52的末端,清洁机器人前方为区块的边缘,左右两侧均为未清洁行,此时清洁机器人随机向左切换或向右切换,或者,清洁机器人按照预定的向左切换,或者,清洁机器人按照预定的向右切换继续之字形行进。图中所示为随机向左转举例说明,进入未清洁行53。The cleaning robot searches for the nearest uncleaned row 52 from the original position before the detour, and starts to continue the zigzag travel. The cleaning robot starts to move in a zigzag manner along the last uncleaned row 52. At the end of the last uncleaned row 52, the front of the cleaning robot is the edge of the block, and the left and right sides are both uncleaned rows. At this time, the cleaning robot runs in random directions. Switch left or switch right, or, the cleaning robot switches to the left according to a predetermined, or, the cleaning robot continues to zigzag according to the predetermined switch to the right. An example of a random left turn is shown, entering
当然,由于清洁机器人并不总是能保证不偏离当前清洁行,若在查找最近一个未清洁行时左右两侧均为未清洁行,而清洁机器人的行驶轨迹是偏左的,则确定左侧的未清洁行是最近一个未清洁行;若行驶轨迹是偏右的,则确定右侧的未清洁行是最近一个未清洁行。Of course, since the cleaning robot cannot always guarantee that it does not deviate from the current cleaning line, if the left and right sides are uncleaned lines when searching for the latest uncleaned line, and the driving trajectory of the cleaning robot is to the left, then the left side is determined. The uncleaned row of is the latest uncleaned row; if the driving trajectory is to the right, it is determined that the uncleaned row on the right is the latest uncleaned row.
在行进至未清洁行53的中部时,由于前方是清洁机器人已经清洁过的区域,则寻找到最近一个未清洁行54,清洁机器人行进至最近一个未清洁行54,由于此时清洁机器人的所在位置不对应最近一个未清洁行54的端点时,则清洁机器人识别在最近一个未清洁行54上离所在位置最近的端点,向最近的端点行进,并从最近的端点返回清洁最近一个未清洁行54;之后,按照正常的之字形行进将整个区块打扫完毕。When traveling to the middle of the
图6是根据另一示例性实施例示出的清洁机器人控制方法的流程图。该清洁机器人控制方法包括如下步骤。FIG. 6 is a flowchart of a method for controlling a cleaning robot according to another exemplary embodiment. The cleaning robot control method includes the following steps.
在步骤601中,构建区块。In
由于待清洁区域可能非常大,清洁机器人可以以区块为单位来进行清洁。可选地,每个区块是矩形或正方形,比如4m*4m的正方形。Since the area to be cleaned can be very large, the cleaning robot can clean in blocks. Optionally, each block is rectangular or square, such as a 4m*4m square.
在构建区块时,一种可能的实现方式是:清洁机器人以自身所在位置为依据构建区块,优选以自身所在位置为中心构建区块,可选地,以自身所在位置作为区块的一个角来构建区块。另一种可能的实现方式是:清洁机器人以一定范围内的墙为边界构建区块,比如:以一面墙作为区块的一个边构建区块;以互相垂直的两面墙作为区块的两个相邻边构建区块等等。再一种可能的实现方式是:参考已有区块的边界构建已有区块的相邻区块。比如:已经构建有区块1时,根据区块1的边界并列构建相邻区块2。When building blocks, a possible implementation method is: the cleaning robot builds blocks based on its own location, preferably builds blocks with its own location as the center, optionally, uses its own location as one of the blocks Angular to build blocks. Another possible implementation is: the cleaning robot constructs blocks with walls within a certain range as the boundary, for example: one wall is used as one side of the block to construct blocks; two perpendicular walls are used as two blocks of the block. Adjacent edges build blocks and so on. Another possible implementation is to construct adjacent blocks of the existing block with reference to the boundary of the existing block. For example: when block 1 has been constructed, adjacent block 2 is constructed in parallel according to the boundary of block 1.
在单次清洁过程中,清洁机器人仅在该区块内进行清洁。完成一个区块的清洁之后,进入其它区块进行清洁。该区块的四周可以包括墙体,也可以不包括墙体。可选地,清洁机器人也可以从初始位置出发,在一定范围内熟悉环境后,按照一定的策略来选择合适的区块划分方法,例如:划分尽量少的区块数量来覆盖一定范围;又例如:划分尽量少的不规则区块。During a single cleaning process, the cleaning robot only cleans within that block. After completing the cleaning of one block, enter other blocks for cleaning. The perimeter of the block may or may not include walls. Optionally, the cleaning robot can also start from the initial position, and after familiarizing itself with the environment within a certain range, select an appropriate block division method according to a certain strategy, for example: divide the number of blocks as small as possible to cover a certain range; another example : Divide as few irregular blocks as possible.
清洁机器人还可以在区块中划分出多条并列的清洁行,并在初始阶段将全部清洁行都标记为未清洁行。所有清洁行与区块的某一个边平行,优选长边,从而减少清洁机器人调头的次数。The cleaning robot can also divide multiple parallel cleaning rows in the block, and mark all the cleaning rows as uncleaned rows in the initial stage. All cleaning rows are parallel to one side of the block, preferably the long side, so as to reduce the number of turns of the cleaning robot.
通常,两两清洁行之间还间隔固定间距,该固定间距小于或等于清洁机器人的机身半径。比如,清洁机器人的机身半径是15厘米,则第一行进和第二行进之间的间距小于或等于15厘米。当然,两两清洁行之间的间距也可以不是固定间距,只需要小于或等于清洁机器人的机身半径即可。Usually, a fixed distance is also spaced between two cleaning rows, and the fixed distance is less than or equal to the body radius of the cleaning robot. For example, if the body radius of the cleaning robot is 15 cm, the distance between the first travel and the second travel is less than or equal to 15 cm. Of course, the distance between the two cleaning rows may not be a fixed distance, and it only needs to be less than or equal to the body radius of the cleaning robot.
通常,之字形行走时的第一方向和第二方向与区块的长边是平行的。Typically, the first and second directions of zigzag walking are parallel to the long sides of the blocks.
在步骤602中,从启动位置寻找最近一个障碍物。In
清洁机器人在启动进入清洁模式后,通过障碍物感应单元寻找区块中的最近一个障碍物。After the cleaning robot starts to enter the cleaning mode, it searches for the nearest obstacle in the block through the obstacle sensing unit.
在步骤603中,向最近一个障碍物行进。In
清洁机器人可以沿最短路径向最近一个障碍物行进。The cleaning robot can follow the shortest path to the nearest obstacle.
在步骤604中,在感应到最近一个障碍物时,绕最近一个障碍物的周边行进一周。In
在感应到最近一个障碍物时,清洁机器人进行沿边清洁,也即控制机体的边刷一侧绕最近一个障碍物的周边行进一周。也即,若边刷位于机体的左侧,则清洁机器人控制机体的左侧绕最近一个障碍物的周边行进一周;若边刷位于机体的右侧,则清洁机器人控制机体的右侧绕最近一个障碍物的周边行进一周。When the nearest obstacle is sensed, the cleaning robot performs edge cleaning, that is, controls the side brush side of the body to travel around the perimeter of the nearest obstacle. That is, if the side brush is located on the left side of the body, the cleaning robot controls the left side of the body to travel around the nearest obstacle; if the side brush is located on the right side of the body, the cleaning robot controls the right side of the body to circle the nearest obstacle. Travel around the obstacle for a week.
比如,障碍物是地板上的一个水桶70,则绕该水桶70的外周边行进一周,比如图7A所示。For example, if the obstacle is a
需要说明的是,若清洁机器人绕行障碍物一周,则清洁机器人将该障碍物所在的区域标记为障碍物区域,将已经绕行一周的环边区域标记为已清洁区域。正常情况下,清洁机器人在下次感应到该已清洁区域时会进行避让,以免重复清洁。It should be noted that, if the cleaning robot goes around the obstacle once, the cleaning robot marks the area where the obstacle is located as the obstacle area, and marks the area around the edge that has gone around once as the cleaned area. Under normal circumstances, the cleaning robot will evade the next time it senses the cleaned area to avoid repeated cleaning.
在步骤605中,在绕最近一个障碍物的周边行进一周后,寻找附近未清洁角落所在行;In
在步骤606中,行进至附近未清洁角落所在行,进行之字形行进;In
在绕最近的一个障碍物的周边行进一周后,清洁机器人寻找附近未清洁角落所在行。行进至附近未清洁角落所在行后再开始之字形行进可以避免之字形行进结束后再进行角落处的补扫,可以提高清洁覆盖效率。After traveling around the perimeter of the nearest obstacle, the cleaning robot looks for a nearby uncleaned corner. After traveling to the row where the uncleaned corner is located nearby, starting the zigzag traveling can avoid the zigzag traveling and then performing the supplementary sweeping at the corner, which can improve the cleaning coverage efficiency.
之字形行进包括周期性进行的第一行进和第二行进,第一行进使清洁机器人沿区块中的第一方向前进,第二行进使清洁机器人沿区块中的第二方向前进,第一方向和第二方向平行且相反。通常,第一行进和第二行进之间的间距为固定间距,但也可以不是固定间距。The zigzag travel includes a first travel that advances the cleaning robot in a first direction in the block and a second travel that advances the cleaning robot in a second direction in the block, the first travel The direction and the second direction are parallel and opposite. Typically, the spacing between the first run and the second run is a fixed spacing, but may not be a fixed spacing.
第一行进切换至第二行进的切换条件包括:在当前行的障碍物的相同一侧感应不到未清洁区域(也即该障碍物的周边为已清洁区域),或,在当前行上感应到区块的周边。The switching conditions for switching from the first travel to the second travel include: the uncleaned area cannot be sensed on the same side of the obstacle in the current line (that is, the periphery of the obstacle is the cleaned area), or, the current line is sensed to the perimeter of the block.
类似地,第二行进切换至第一行进的切换条件包括:在当前行的障碍物的相同一侧感应不到未清洁区域(也即该障碍物的周边为已清洁区域),或,在当前行上感应到区块的周边。Similarly, the switching conditions for switching from the second travel to the first travel include: no uncleaned area is sensed on the same side of the obstacle in the current line (that is, the periphery of the obstacle is a cleaned area), or, in the current line The perimeter of the block is sensed on the line.
在之字形行进中,第一行进切换至第二行进,或者,第二行进切换至第一行进,通常是向最近一个未清洁行切换。In a zigzag run, the first run is switched to the second run, or the second run is switched to the first run, usually to the most recent uncleaned row.
需要说明的是,步骤602至步骤606是可选步骤,清洁机器人也可以直接在区块中开始之字形行进。或者,清洁机器人在寻找不到最近一个障碍物时,直接在区块中开始之字形行进。或者,清洁机器人在绕最近一个障碍物后,直接从所在位置寻找最近一个未清洁行开始之字形行进。It should be noted that
在步骤607中,若在之字形行进过程中感应到障碍物,则绕障碍物的周边行进一周。In
由于待清洁区域中可能存在多个障碍物,在之字形行进过程中,清洁机器人会感应到障碍物。Since there may be multiple obstacles in the area to be cleaned, the cleaning robot will sense obstacles during zigzag travel.
在感应到障碍物时,清洁机器人控制机体的边刷一侧绕障碍物的周边行进一周。也即,若边刷位于机体的左侧,则清洁机器人控制机体的左侧绕障碍物的周边行进一周;若边刷位于机体的右侧,则清洁机器人控制机体的右侧绕障碍物的周边行进一周。When an obstacle is sensed, the cleaning robot controls the side brush side of the body to travel around the circumference of the obstacle. That is, if the side brush is located on the left side of the body, the cleaning robot controls the left side of the body to travel around the periphery of the obstacle; if the side brush is located on the right side of the body, the cleaning robot controls the right side of the body to go around the periphery of the obstacle Go for a week.
需要说明的是,对于已经绕行一周的障碍物,因为该障碍物所在的区域被标记为障碍物区域,将已经绕行一周的环边区域标记为已清洁区域。清洁机器人再次靠近该障碍物时,认为前方是已清洁区域,进行避让后继续进行之字形行进。It should be noted that, for an obstacle that has been detoured once, because the area where the obstacle is located is marked as an obstacle area, the ring edge area that has been detoured once is marked as a cleaned area. When the cleaning robot approaches the obstacle again, it considers that the area ahead is already cleaned, evades and continues to zigzag.
还需要说明的是,清洁机器人判断是否绕障碍物行进一周的方式包括:在沿边过程中再次到达已清洁点,再次到达已清洁点的行进方向和已清洁点的首次清洁行进方向小于一定角度,和/或,从开始沿边清洁到再次到达已清洁点的过程中机器人的行进方向经历过所有象限,则确定已经完成绕障碍物的周边行进一周。It should also be noted that the way for the cleaning robot to determine whether to travel around the obstacle includes: reaching the cleaned point again during the edge-edge process, and the travel direction of reaching the cleaned point again and the first cleaning travel direction of the cleaned point are less than a certain angle, And/or, if the travel direction of the robot has gone through all quadrants during the process from starting edge cleaning to reaching the cleaned point again, it is determined that one revolution around the periphery of the obstacle has been completed.
在步骤608中,在绕障碍物的周边行进一周后,寻找附近未清洁角落所在行;In
附近未清洁角落是以附近未清洁区域所形成的图案中的角落。附近未清洁区域并不包括已清洁区域,附近未清洁区域有可能是不规则的区域。Nearby uncleaned corners are corners in a pattern formed by nearby uncleaned areas. Nearby uncleaned areas do not include cleaned areas, and nearby uncleaned areas may be irregular areas.
通常,清洁机器人在绕障碍物一周后,自身所处的位置即为未清洁角落。但是由于惯性等原因,清洁机器人的停留位置很有可能并不是开始绕行时的原始位置。所以,在绕障碍物的周边行进一周后,清洁机器人寻找附近未清洁角落所在行。Usually, after the cleaning robot circles around the obstacle, its position is the uncleaned corner. However, due to inertia and other reasons, the stopping position of the cleaning robot is very likely not the original position when it starts to circle. So, after traveling around the perimeter of the obstacle, the cleaning robot looks for the row of nearby uncleaned corners.
需要说明的是,本领域技术人员可以对附近未清洁角落做不同定义,也可以对附近未清洁角落所在行的寻找方式做不同的实现方式,本公开实施例不限定附近未清洁角落所在行的寻找方式。It should be noted that, those skilled in the art can define different nearby uncleaned corners, and can also implement different ways of finding the row where the nearby uncleaned corner is located. The embodiment of the present disclosure does not limit the row where the nearby uncleaned corner is located Find a way.
若存在附近未清洁角落所在行,则进入步骤609。If there is a row with a nearby uncleaned corner, go to step 609 .
若不存在附近未清洁角落所在行,则进入步骤610。If there is no nearby uncleaned corner row, go to step 610 .
在步骤609中,若存在附近未清洁角落所在行,则行进至附近未清洁角落所在行,并将附近未清洁角落所在行确定为目标未清洁行;In
在步骤610中,若不存在附近未清洁角落所在行,则寻找最近一个未清洁行,将最近一个未清洁行确定为目标未清洁行;In
若不存在附近未清洁角落所在行,清洁机器人根据当前所在位置,寻找最近一个未清洁行。If there is no nearby uncleaned corner row, the cleaning robot searches for the nearest uncleaned row based on the current location.
可选地,清洁机器人可以以当前所在位置为起始位置,计算出最近一个未清洁行。若同时有两个距离相等的最近的未清洁行,可以优先选择靠近前进方向上的最近一个未清洁行。Optionally, the cleaning robot may take the current position as the starting position, and calculate the latest uncleaned row. If there are two nearest uncleaned rows with equal distances at the same time, the nearest uncleaned row close to the forward direction can be selected first.
需要说明的是,步骤608和609是可选步骤,在绕行障碍物一周后,清洁机器人可以略过步骤608和步骤609,直接执行步骤610。也即,清洁机器人在绕行障碍物一周后,在当前所在位置直接寻找最近一个未清洁行作为目标未清洁行。It should be noted that
在步骤611中,在目标未清洁行上继续进行之字形行进。In
目标未清洁行也可以理解为“下一未清洁行”。The target uncleaned row can also be understood as "the next uncleaned row".
在正常的之字形行进中,若当前行是已清洁行,则目标未清洁行是最近一条未清洁行。In normal zig-zag travel, if the current line is a cleaned line, the target uncleaned line is the most recent uncleaned line.
若存在较多障碍物,则重复上述步骤607至步骤611即可完成该区块的清洁。If there are many obstacles, repeat the
当然,由于区块中还存在一些障碍物与区块的边界相交,比如墙体、或者被区块的周边所切割的家具腿,所以步骤607,还可能包括如下两个子步骤:Of course, since there are some obstacles in the block that intersect the boundary of the block, such as walls or furniture legs cut by the periphery of the block, step 607 may also include the following two sub-steps:
第一子步骤,在绕障碍物的周边行进的过程中,若感应到区块的周边,则进行沿边清洁,沿区块的周边和障碍物的周边所组成的组合周边行进一周。In the first sub-step, in the process of traveling around the periphery of the obstacle, if the periphery of the block is sensed, the edge cleaning is performed, and the combined periphery of the block and the periphery of the obstacle is traveled for one round.
在绕障碍物的周边行进的过程中,可能会存在尚未绕行完毕,就遇到区块的周边的情况,若首次在绕行过程中感应到区块的周边,则清洁机器人进行沿边清洁,沿区块的周边和障碍物的周边所组成的组合周边行进一周。In the process of traveling around the periphery of the obstacle, there may be situations where the periphery of the block is encountered before the detour is completed. If the periphery of the block is sensed during the detour process for the first time, the cleaning robot will clean along the edge. Travel around the combined perimeter of the block's perimeter and the obstacle's perimeter.
比如,区块72的四周均为障碍物74,则清洁机器人绕四个障碍物74的周边行进一周,比如图7B所示。For example, if the
又比如,区块72的上边和右边为障碍物75,则清洁机器人在绕该障碍物75的周边进行绕行,在绕行障碍物75的过程中碰到区块72的周边,则清洁机器人绕区块72的周边(左虚拟边和下虚拟边)和障碍物75的周边所围合形成的组合周边行进一周,如图7C所示。For another example, the upper and right sides of the
再比如,区块72的一边设置有圆形的障碍物76,该障碍物76被区块72的周边所切割,则清洁机器人绕障碍物76位于区块72中的周边,以及区块72的周边所围合形成的组合周边行进一周,如图7D所示。For another example, a
又比如,区块72的一边设置有圆形的障碍物77,另一边设置有不规则的障碍物78,该障碍物77和障碍物78被区块72的周边所切割,则清洁机器人绕障碍物77位于区块72中的周边,障碍物78位于区块72中的周边、以及区块72的周边所围合形成的组合周边行进一周,如图7E所示。For another example, one side of the
需要说明的是,在一个区块中,绕组合周边行进一周的绕行过程通常只执行一次,也即,清洁机器人在绕行障碍物过程中首次碰到区块72的周边时执行一次。It should be noted that, in a block, the detour process of traveling around the combined periphery is usually performed only once, that is, when the cleaning robot encounters the periphery of the
需要说明的是,清洁机器人判断是否绕组合周边行进一周的方式包括:在沿边过程中再次到达已清洁点,再次到达已清洁点的行进方向和已清洁点的首次清洁行进方向小于一定角度,和/或,从开始沿边清洁到再次到达已清洁点的过程中机器人的行进方向经历过所有象限,则确定已经完成绕组合周边行进一周。It should be noted that the way for the cleaning robot to determine whether to travel around the combined periphery includes: reaching the cleaned point again during the edge-edge process, and the travel direction of the cleaned point again and the first cleaning travel direction of the cleaned point are less than a certain angle, and /or, if the travel direction of the robot has gone through all quadrants from the start of edge cleaning to reaching the cleaned point again, it is determined that one round of the combined perimeter has been completed.
第二子步骤,在绕组合周边行进一周后,寻找目标未清洁行。In the second sub-step, after traveling around the perimeter of the combination, look for the target uncleaned row.
在找到目标未清洁行后,再次进入步骤611。After the target uncleaned row is found,
需要补充说明的一点是,步骤604可以采用类似于第一子步骤和第二子步骤的策略。A point that needs to be supplemented is that
另外需要补充说明的一点是,由于清洁机器人从已清洁行行进至目标未清洁行后继续进行之字形行进时,当前所在位置很可能不是目标未清洁行的端点,而是位于目标未清洁行的中间位置。此时,清洁机器人识别在目标未清洁行上离所在位置最近的端点,控制行进驱动单元向最近的端点行进,并从最近的端点返回清洁目标未清洁行。Another point that needs to be added is that when the cleaning robot continues to zigzag travel from the cleaned travel to the target uncleaned line, the current position is probably not the endpoint of the target uncleaned line, but at the target uncleaned line. in the middle. At this time, the cleaning robot identifies the end point on the target uncleaned line that is closest to the location, controls the traveling drive unit to travel to the closest end point, and returns to clean the target uncleaned line from the closest end point.
也即,步骤611可选包括如下步骤,如图8A所示。优选地:That is,
611a,清洁机器人在进入目标未清洁行开始清洁时,检测所在位置是否为目标未清洁行的端点;611a, when the cleaning robot enters the target uncleaned row to start cleaning, it detects whether the location is the endpoint of the target uncleaned row;
611b,若所在位置对应目标未清洁行的端点,则清洁机器人从该端点开始沿目标未清洁行行进。611b, if the location corresponds to the endpoint of the target uncleaned line, the cleaning robot starts to travel along the target uncleaned line from the endpoint.
比如,在正常的之字形行进中,清洁机器人在打扫完一个清洁行后,会沿区块的周边行进至目标未清洁行的端点,继续进行之字形行进。For example, in normal zigzag travel, after cleaning a cleaning line, the cleaning robot will travel along the perimeter of the block to the endpoint of the target uncleaned line, and continue zigzag travel.
611c,若所在位置不对应目标未清洁行的端点,则识别在目标未清洁行上由所在位置出发的短边路径和长边路径,向短边路径行进。611c, if the location does not correspond to the endpoint of the target uncleaned line, identify the short-side path and the long-side path starting from the location on the target uncleaned line, and proceed to the short-side path.
也即,当清洁机器人沿已清洁区域(比如障碍物)的周边行进至该目标未清洁行时,有可能位于目标未清洁行的中间位置,或者,位于目标未清洁行的外侧附近位置。That is, when the cleaning robot travels along the periphery of the cleaned area (such as an obstacle) to the target uncleaned line, it may be located in the middle of the target uncleaned line, or at a position near the outer side of the target uncleaned line.
611d,在短边路径行进完毕后,从短边路径返回至长边路径进行之字形行进。611d, after the short-side path is completed, return from the short-side path to the long-side path to perform zigzag travel.
比如,如图8B所示,清洁机器人在障碍物80一侧进行之字形行走,在越过障碍物后,查找出目标未清洁行82,并识别出目标未清洁行82的短边路径a和长边路径b。然后清洁机器人先从当前所在位置沿最短路径行进至目标未清洁行82,沿在目标未清洁行82中的短边路径a行进。在短边路径a行进完毕后,从短边路径a返回至长边路径b进行之字形清洁。For example, as shown in FIG. 8B , the cleaning robot walks in a zigzag manner on the side of the
又比如,出于缩短行走路径的考虑,做出如图8C所示的变形,清洁机器人在障碍物80一侧进行之字形行走,在越过障碍物后,查找出目标未清洁行82,并识别出目标未清洁行82的最近的端点A和较远的端点B。然后清洁机器人沿最短路径或者较短路径从当前所在位置直接向最近的端点A行进(并未严格之字形行进),在抵达最近的端点A后,从最近的端点A开始清洁目标未清洁行82,并在后续进行之字形清洁。For another example, in order to shorten the walking path, a deformation as shown in FIG. 8C is made, and the cleaning robot walks zigzag on the side of the
也即,清洁机器人向目标未清洁行82的最近的端点A行进时,可以按照严格的之字形行进,沿目标未清洁行82上的短边路径a行进;也可以按照最短路径或较短路径直接向最近的端点A行进,本实施例对此不加以限定。That is, when the cleaning robot travels to the nearest endpoint A of the target
综上所述,本实施例提供的清洁机器人控制方法,通过让清洁机器人在感应到障碍物时,绕障碍物的周边行进一周,然后再寻找目标未清洁行进行清洁,并在清洁机器人的所在位置不对应目标未清洁行的端点时,则识别在目标未清洁行上离所在位置最近的端点,向最近的端点行进,并从最近的端点返回清洁目标未清洁行;解决了相关技术在一些场景中会导致清洁机器人走较长的重复路线,影响清洁机器人的清洁效率的问题;达到了清洁机器人基本不用走重复路线,提高清洁机器人的清洁效率的效果。To sum up, the cleaning robot control method provided by this embodiment allows the cleaning robot to travel around the periphery of the obstacle when sensing an obstacle, and then searches for the target uncleaned row for cleaning, and then cleans it at the location of the cleaning robot. When the position does not correspond to the endpoint of the target uncleaned line, identify the endpoint on the target uncleaned line that is closest to the location, travel to the nearest endpoint, and return from the nearest endpoint to clean the target uncleaned line; In the scene, the cleaning robot will take a long repeated route, which will affect the cleaning efficiency of the cleaning robot; the cleaning robot basically does not need to take the repetitive route, and the cleaning efficiency of the cleaning robot is improved.
本实施例提供的清洁机器人控制方法,通过绕障碍物的周边行进一周,既能够将障碍物周围清洁干净,又能够将障碍物区域在清洁地图上进行标记,从而简化清洁机器人的行进路线。The cleaning robot control method provided in this embodiment can not only clean the surroundings of the obstacle, but also mark the obstacle area on the cleaning map by traveling around the periphery of the obstacle, thereby simplifying the traveling route of the cleaning robot.
本实施例提供的清洁机器人控制方法,还通过在进行之字形行进之前,先寻找最近一个障碍物绕行一周,能够在大部分情况下,使清洁机器人行进至区块的一个边或区块中远离中心的位置开始进行之字形行进,从而使得清洁机器人的之字形行进从区块的一侧开始进行,而避免从区块的中心开始进行之字形行进,减少需要补扫的区域的形成。In the cleaning robot control method provided by this embodiment, the cleaning robot can be made to travel to an edge or a block in most cases by finding the nearest obstacle to make a circle before zigzag travel. The zigzag travel starts from a position away from the center, so that the zigzag travel of the cleaning robot starts from one side of the block, while avoiding the zigzag travel from the center of the block, reducing the formation of areas that need to be supplemented.
本实施例提供的清洁机器人控制方法,还通过在进行之字形行进之前,先寻找障碍物绕行一周后,寻找附近未清洁角落所在行,能够在大部分情况下,使清洁机器人行进至附近未清洁角落所在行开始进行之字形行进,从而减少需要补扫的区域的形成。In the cleaning robot control method provided by this embodiment, before zigzag traveling, the cleaning robot can be made to travel to the nearby uncleaned corners by searching for obstacles and detouring for a circle, in most cases. The row of cleaning corners begins to zigzag, thereby reducing the formation of areas that need to be rescanned.
本实施例提供的清洁机器人控制方法,还通过在所在位置不是目标未清洁行的端点时,优先向最近的端点行进,能够尽可能减少清洁机器人所行走的重复路径。In the cleaning robot control method provided by this embodiment, when the location is not the end point of the target uncleaned line, it preferentially travels to the nearest end point, so as to reduce the repeated paths traveled by the cleaning robot as much as possible.
本实施例提供的清洁机器人控制方法,还通过使得第一方向和第二方向与区块的长边平行,较少了清洁机器人需要调头的次数。The cleaning robot control method provided in this embodiment also reduces the number of times the cleaning robot needs to turn around by making the first direction and the second direction parallel to the long side of the block.
下面结合几个实际的场景示意图。对上述图5所示出的清洁机器人控制方法进行示例性说明。为了简化描述,下述实施例的清洁机器人均以右侧为边刷一侧来举例说明。也即,清洁机器人的右侧设置有边刷,左侧没有设置边刷。The following is a combination of several actual scene diagrams. The control method of the cleaning robot shown in the above-mentioned FIG. 5 is exemplified. In order to simplify the description, the cleaning robots in the following embodiments are all illustrated with the right side as the side brush side. That is, the right side of the cleaning robot is provided with a side brush, and the left side is not provided with a side brush.
图9是根据一示例性实施例示出的一种清洁机器人控制方法的实施示意图。作为一个特殊的例子,图9示出了一个区块90,该区块90的一个边包括障碍物91,其它三条边为虚拟边,且该区块90中不再包含其它障碍物。若清洁机器人在该区块90的中心位置开始清洁后,清洁机器人首先找到最近一个障碍物91,则清洁机器人沿障碍物91绕行一周,在绕行障碍物91的途中,会遇到区块90的周边,从而清洁机器人进行沿边清洁,沿障碍物91和区块90的另外三条周边所组成的组合周边绕行一周。在绕行一周后,清洁机器人将区块90的四周标记为已清洁区域。Fig. 9 is a schematic diagram illustrating the implementation of a method for controlling a cleaning robot according to an exemplary embodiment. As a special example, FIG. 9 shows a block 90 , one edge of the block 90 includes an obstacle 91 , the other three edges are virtual edges, and the block 90 does not contain other obstacles. If the cleaning robot starts cleaning at the center of the block 90 , and the cleaning robot first finds the nearest obstacle 91 , the cleaning robot will detour along the obstacle 91 once, and on the way around the obstacle 91 , it will encounter a block 91 . 90, so that the cleaning robot performs edge cleaning, and makes a circle around the combined perimeter composed of the obstacle 91 and the other three peripheries of the block 90. After one detour, the cleaning robot marks the surrounding area of block 90 as a cleaned area.
在绕行一周后,清洁机器人从绕行前的原始位置92查找附近未清洁角落所在行,也即左下角落所在的最下面一个未清洁行,然后行进至左下角落所在的最下面一个未清洁行,并开始之字形行进直至将整个区块打扫完毕。After one round of detours, the cleaning robot searches for the row of the uncleaned corner nearby from the original position 92 before the detour, that is, the lowest uncleaned row where the lower left corner is located, and then travels to the lowermost uncleaned row where the lower left corner is located. , and start zigzag until the entire block is cleaned.
图10A和图10B是根据另一示例性实施例示出的一种清洁机器人控制方法的实施示意图。图10A和图10B示出了一个区块100,该区块100的四条边为虚拟边,区块100中有一个不规则的障碍物101且该区块100中不再包含其它障碍物。若清洁机器人在该区块100的中心位置开始清洁后,清洁机器人首先寻找到最近一个障碍物,也即障碍物101,则清洁机器人以最短路径向障碍物101行进,然后清洁机器人沿障碍物101的外周边绕行一周。在绕行一周后,清洁机器人将障碍物101所在的区域标记为已清洁区域。10A and 10B are schematic implementation diagrams of a cleaning robot control method according to another exemplary embodiment. FIG. 10A and FIG. 10B show a
清洁机器人从绕行前的原始位置102查找附近未清洁角落所在行,也即右上角落所在的最上面一个未清洁行。然后,清洁机器人行进至右上角落所在的最上面一个未清洁行后,开始进行之字形行进。From the
按照正常的之字形行进至左下角落后,如图10B的中间一副状态图所示,清洁机器人会寻找到最近一个未清洁行位于左中区域,然后从下往上直接行驶至左中区域,继续进行之字形行进,从而将整个区块100清洁完毕。After traveling to the lower left corner in a normal zigzag shape, as shown in the state diagram in the middle of Figure 10B, the cleaning robot will find the nearest uncleaned row in the middle left area, and then drive directly to the middle left area from bottom to top. Continue to zigzag so that the
图11A至图11D是根据另一示例性实施例示出的一种清洁机器人控制方法的实施示意图。请结合参考图11A至图11D,图11A至图11D示出了一个区块110,该区块110的两条边包括障碍物111。该区块110中还存在障碍物112、114、116、117和118。其中,障碍物112和114是紧靠障碍物111的障碍物。障碍物116、117和118是分散存在于区块110中的三个呈三角形的障碍物。11A to 11D are schematic implementation diagrams of a cleaning robot control method according to another exemplary embodiment. Please refer to FIG. 11A to FIG. 11D together. FIGS. 11A to 11D illustrate a
如图11A所示,在开启清洁模式后,清洁机器人从区块110的中央位置,先寻找最近一个障碍物,假设最近一个障碍物是障碍物117,清洁机器人以最短路径行进至障碍物117,然后将机体右侧沿障碍物117的外周边绕行一周。在沿障碍物117的外周边绕行一周后,清洁机器人查找附近未清洁角落所在行,由于附近未清洁角落是右下角落,则清洁机器人行进至最下面一条未清洁行开始按照之字形行进方式向右清洁。然后向右之字形行进过程中,清洁机器人感应到障碍物111,此时,清洁机器人绕障碍物111进行绕行,在绕行到左上角落时,清洁机器人感应到区块110的周边,所以清洁机器人将机体右侧绕障碍物111的内周边和区块110的下虚拟边和右虚拟边组成组合周边绕行一周后,回到绕行前的原始位置,也即右下角落的位置。As shown in FIG. 11A, after the cleaning mode is turned on, the cleaning robot first searches for the nearest obstacle from the central position of the
需要注意的是,在绕行组合周边时,清洁机器人会感应到障碍物112和障碍物114,清洁机器人将障碍物112和障碍物114视为是组合周边的一部分进行绕行。It should be noted that the cleaning robot will sense
如图11B所示,在绕行障碍物111结束后,清洁机器人查找附近未清洁角落所在行,也即从下往上数的第二行,清洁机器人将该第二行作为目标未清洁行继续进行之字形行进,在行进至障碍物118时,清洁机器人绕障碍物118绕行一周。也即,清洁机器人将机体右侧紧贴障碍物118进行绕行,在绕行障碍物118一圈以后,清洁机器人查找附近未清洁角落所在行,也即障碍物118和障碍物117之间的一个行,则清洁机器人行进至该行,继续进行之字形行进。As shown in FIG. 11B , after detouring around the
在行进至障碍物116时,清洁机器人绕障碍物116绕行一周。也即,清洁机器人将机体右侧紧贴障碍物116进行绕行。When traveling to the
如图11C所示,在绕行障碍物116一圈以后,清洁机器人查找附近未清洁角落所在行,也即障碍物116左侧的一个行,则清洁机器人行进至该行,继续进行之字形行进。As shown in FIG. 11C , after making a circle around the
清洁机器人在之字形行进过程中,会行进至目标未清洁行119,由于清洁机器人的所在位置不对应目标未清洁行119的端点,则清洁机器人先行进至目标未清洁行119的短边路径,然后返回清洁长边路径继续清洁目标未清洁行119.During the zigzag traveling process, the cleaning robot will travel to the target
然后,在正常的之字形行进至左上角落后,清洁机器人查找最近一个未清洁行作为目标未清洁行,此时最近一个未清洁行是位于障碍物118左侧区域的一个行,则清洁机器人从上往下行驶至该行,继续之字形行进将该障碍物118左侧区域打扫干净。Then, after the normal zigzag travel to the upper left corner, the cleaning robot finds the latest uncleaned line as the target uncleaned line. At this time, the last uncleaned line is a line located in the left area of the
如图11D所示,清洁机器人在障碍物118左侧区域清洁完毕后,查找最近一个未清洁行作为目标未清洁行,此时最近一个未清洁行是位于障碍物117右侧的一个行,然后清洁机器人绕过障碍物118以最短路径行进至该行,继续之字形行进将该障碍物117右侧区域打扫干净。As shown in FIG. 11D , after cleaning the area on the left side of the
清洁机器人在障碍物117右侧区域清洁完毕后,查找最近一个未清洁行作为目标未清洁行,此时最近一个未清洁行是位于障碍物116右侧的一个行,然后清洁机器人以最短路径行进至该行,继续之字形行进将该障碍物116右侧区域打扫干净,从而将整个区块打扫完毕。After the cleaning robot finishes cleaning the area on the right side of the
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Other embodiments of the present disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or techniques in the technical field not disclosed by the present disclosure . The specification and examples are to be regarded as exemplary only, with the true scope and spirit of the disclosure being indicated by the following claims.
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It is to be understood that the present disclosure is not limited to the precise structures described above and illustrated in the accompanying drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510587773.9ACN106527423B (en) | 2015-09-15 | 2015-09-15 | Cleaning robot and control method thereof |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510587773.9ACN106527423B (en) | 2015-09-15 | 2015-09-15 | Cleaning robot and control method thereof |
| Publication Number | Publication Date |
|---|---|
| CN106527423A CN106527423A (en) | 2017-03-22 |
| CN106527423Btrue CN106527423B (en) | 2020-01-21 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201510587773.9AActiveCN106527423B (en) | 2015-09-15 | 2015-09-15 | Cleaning robot and control method thereof |
| Country | Link |
|---|---|
| CN (1) | CN106527423B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2018187944A1 (en)* | 2017-04-11 | 2018-10-18 | 珠海市一微半导体有限公司 | Method for controlling motion of robot based on map prediction |
| CN106974593A (en)* | 2017-05-12 | 2017-07-25 | 深圳星鸿云科技有限公司 | A kind of clean robot obstacle avoidance system and method |
| CN107328419A (en)* | 2017-06-21 | 2017-11-07 | 上海斐讯数据通信技术有限公司 | The planing method and sweeping robot in a kind of cleaning path of sweeping robot |
| CN107491069B (en)* | 2017-08-31 | 2020-09-15 | 珠海市一微半导体有限公司 | Processing method and chip for robot encountering barrier |
| CN108078498A (en)* | 2017-10-30 | 2018-05-29 | 苏州花坞信息科技有限公司 | A kind of stair face cleaning method of intelligent stair clean robot |
| CN109984678B (en)* | 2017-12-29 | 2021-08-06 | 速感科技(北京)有限公司 | Cleaning robot and cleaning method thereof |
| CN108447572B (en)* | 2018-01-16 | 2020-10-27 | 深圳市智能机器人研究院 | Automatic detection system and method for hollowing of steel lining of containment vessel of nuclear reactor |
| CN108784544B (en)* | 2018-07-16 | 2020-11-27 | 广州俊德信息科技有限公司 | Cruise cleaning method, system, apparatus and storable medium for cleaning appliances |
| CN110801180B (en)* | 2018-08-03 | 2022-02-22 | 速感科技(北京)有限公司 | Operation method and device of cleaning robot |
| CN109276191B (en)* | 2018-11-01 | 2020-06-05 | 珠海市一微半导体有限公司 | Path cleaning method, system and chip of cleaning robot |
| CN109582015B (en)* | 2018-11-07 | 2020-11-20 | 深圳乐动机器人有限公司 | Indoor cleaning planning method and device and robot |
| CN111493749B (en)* | 2019-01-31 | 2023-10-03 | 北京奇虎科技有限公司 | Sweeping method and device based on sweeping robot, electronic equipment and storage medium |
| CN111766852A (en)* | 2019-03-12 | 2020-10-13 | 北京奇虎科技有限公司 | A cleaning control method and device for a sweeping robot |
| CN109984685B (en)* | 2019-04-11 | 2021-08-06 | 云鲸智能科技(东莞)有限公司 | Cleaning control method, cleaning control device, cleaning robot and storage medium |
| CN110477820B (en)* | 2019-08-16 | 2021-11-16 | 云鲸智能科技(东莞)有限公司 | Obstacle following cleaning method for cleaning robot, and storage medium |
| CN110680253A (en)* | 2019-09-25 | 2020-01-14 | 深圳乐动机器人有限公司 | Robot edge cleaning method and robot |
| CN110712204B (en)* | 2019-09-27 | 2021-07-23 | 深圳乐动机器人有限公司 | Robot working method and robot |
| CN112987716A (en)* | 2019-12-17 | 2021-06-18 | 科沃斯机器人股份有限公司 | Operation control method, device and system and robot |
| CN111123932A (en)* | 2019-12-24 | 2020-05-08 | 深圳乐动机器人有限公司 | Robot cleaning method and robot |
| CN111538330B (en) | 2020-04-09 | 2022-03-04 | 北京石头世纪科技股份有限公司 | A kind of image selection method, self-propelled equipment and computer storage medium |
| CN111596662B (en)* | 2020-05-26 | 2023-03-10 | 珠海一微半导体股份有限公司 | Method for judging one circle along global working area, chip and visual robot |
| CN111906779B (en)* | 2020-06-30 | 2022-05-10 | 珠海一微半导体股份有限公司 | Obstacle crossing end judgment method, obstacle crossing control method, chip and robot |
| CN111513626A (en)* | 2020-06-30 | 2020-08-11 | 北京欣奕华数字科技有限公司 | Obstacle avoidance method of mobile equipment and mobile equipment |
| CN111897335A (en)* | 2020-08-02 | 2020-11-06 | 珠海市一微半导体有限公司 | An obstacle avoidance control method and control system for a robot when walking in a bow shape |
| CN111857155B (en)* | 2020-08-02 | 2024-06-18 | 珠海一微半导体股份有限公司 | Robot control method |
| CN112006611B (en)* | 2020-08-19 | 2025-07-15 | 尚科宁家(中国)科技有限公司 | Cleaning Robot |
| CN112540611A (en)* | 2020-09-23 | 2021-03-23 | 深圳市银星智能科技股份有限公司 | Path planning method of robot, robot and master control chip |
| CN112947408B (en)* | 2021-01-19 | 2021-12-03 | 佛山市顺德区一拓电气有限公司 | Control method and device for cleaning equipment |
| CN113110445B (en)* | 2021-04-13 | 2024-07-16 | 上海高仙自动化科技发展有限公司 | Robot path planning method and device, robot and storage medium |
| CN112987755A (en)* | 2021-04-19 | 2021-06-18 | 浙江欣奕华智能科技有限公司 | Obstacle avoidance method and device of sweeping robot |
| CN113759907A (en)* | 2021-08-30 | 2021-12-07 | 武汉理工大学 | A sub-region full coverage path planning method, device, equipment and storage medium |
| CN115191890B (en)* | 2022-07-22 | 2023-06-20 | 云鲸智能(深圳)有限公司 | Control method of cleaning robot, cleaning robot and storage medium |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1365647A (en)* | 2001-01-15 | 2002-08-28 | 泰怡凯电器(苏州)有限公司 | Method for recognizing cleanable region and barrier region of automatic duster |
| CN1535646A (en)* | 2003-03-17 | 2004-10-13 | ������������ʽ���� | Self-propelled cleaning machine and its operation method |
| CN102138769A (en)* | 2010-01-28 | 2011-08-03 | 深圳先进技术研究院 | Cleaning robot and cleaning method thereby |
| CN104188598A (en)* | 2014-09-15 | 2014-12-10 | 湖南格兰博智能科技有限责任公司 | Automatic ground cleaning robot |
| CN104765369A (en)* | 2015-04-10 | 2015-07-08 | 长春理工大学 | Sweeping device and sweeping method using sweeping device |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| FR2861855B1 (en)* | 2003-11-03 | 2006-06-30 | Wany Sa | METHOD AND DEVICE FOR SCANNING A SURFACE STATISTICALLY |
| US20050273967A1 (en)* | 2004-03-11 | 2005-12-15 | Taylor Charles E | Robot vacuum with boundary cones |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1365647A (en)* | 2001-01-15 | 2002-08-28 | 泰怡凯电器(苏州)有限公司 | Method for recognizing cleanable region and barrier region of automatic duster |
| CN1535646A (en)* | 2003-03-17 | 2004-10-13 | ������������ʽ���� | Self-propelled cleaning machine and its operation method |
| CN102138769A (en)* | 2010-01-28 | 2011-08-03 | 深圳先进技术研究院 | Cleaning robot and cleaning method thereby |
| CN104188598A (en)* | 2014-09-15 | 2014-12-10 | 湖南格兰博智能科技有限责任公司 | Automatic ground cleaning robot |
| CN104765369A (en)* | 2015-04-10 | 2015-07-08 | 长春理工大学 | Sweeping device and sweeping method using sweeping device |
| Publication number | Publication date |
|---|---|
| CN106527423A (en) | 2017-03-22 |
| Publication | Publication Date | Title |
|---|---|---|
| CN106527423B (en) | Cleaning robot and control method thereof | |
| US11774980B2 (en) | Method for controlling cleaning of robot, chip, and robot cleaner | |
| JP7374547B2 (en) | Exploration methods, devices, mobile robots and storage media | |
| CN112137529B (en) | A cleaning control method based on dense obstacles | |
| CN103099583B (en) | Robot cleaner and its control method | |
| EP2870513B1 (en) | Autonomous mobile robot and method for operating the same | |
| CN110362079B (en) | Traversal control method and chip of robot and cleaning robot | |
| CN106970623B (en) | Intelligent cleaning device and grid path operation method thereof | |
| JP6947826B2 (en) | Intelligent robot route planning method | |
| CN101923351B (en) | Robot cleaner and control method thereof | |
| KR101641237B1 (en) | Robot cleaner and controlling method of the same | |
| EP2540203B1 (en) | Robot cleaner and control method thereof | |
| CN110338715B (en) | Method and chip for cleaning floor by intelligent robot and cleaning robot | |
| CN107678429B (en) | Robot control method and chip | |
| CN107405034B (en) | Robot cleaning apparatus and method of controlling the same | |
| JP2021515349A (en) | Control method of running along the edge of an autonomous mobile robot | |
| WO2014135008A1 (en) | Edge-to-center cleaning method used by robot cleaner | |
| US9599987B2 (en) | Autonomous mobile robot and method for operating the same | |
| JP2004275468A (en) | Self-propelled vacuum cleaner and operating method thereof | |
| JP2007213236A (en) | Route planning method for autonomous traveling robot and autonomous traveling robot | |
| WO2014089922A1 (en) | Covering method of map self-established by mobile platform in unknown region | |
| TW201334747A (en) | Control method for cleaning robots | |
| KR101970191B1 (en) | Apparatus and method for controlling cleaning function and robotic cleaner with the apparatus | |
| KR101412582B1 (en) | Robot cleaner and controlling method of the same | |
| KR102521940B1 (en) | Robot cleaner and method for controlling the same |
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| CB02 | Change of applicant information | Address after:100085 Beijing Haidian District Qinghe middle street 68 Huarun colorful shopping mall two phase 13 level. Applicant after:Xiaomi Technology Co.,Ltd. Applicant after:Beijing Roborock Technology Co.,Ltd. Address before:100085 Beijing Haidian District Qinghe middle street 68 Huarun colorful shopping mall two phase 13 level. Applicant before:Xiaomi Technology Co.,Ltd. Applicant before:Beijing Roborock Technology Co.,Ltd. | |
| CB02 | Change of applicant information | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |