The invention relates to a cleaning method and system of a cleaning robot. Through the horizontal data detected by an electronic level instrument, it can judge whether the ground of a robot is flat or not. When the robot detects that the number of times that the level of the level data exceeds the presupposed angle in the first preset time is equal to the presupposition value, the robot shows the robot. The area where the focus is needed is encountered, and the robot is at the edge of the region. Then, the position of the preset distance is walking along the cleaning direction of the robot as a spiral origin so that the center of the region can be closer to improve the efficiency of the follow-up robot when walking along the spiral path to clean the area. Finally, a clean cleaning effect can be achieved by clockwise and counterclockwise two spiral trajectories. In addition, the robot can judge and carry out the corresponding key cleaning independently when it meets the area where it needs to be clean, so the robot's intelligence and cleaning efficiency are improved.
【技术实现步骤摘要】
清洁机器人的清洁方法和系统
本专利技术涉及机器人领域,具体涉及一种清洁机器人的清洁方法和系统。
技术介绍
目前,用于地面清洁的自移动机器人,一般是由用户通过遥控装置控制机器人行走至某一位置,或者用手将机器人搬到某一位置,然后再控制机器人针对该区域进行重点清洁。如此,需要用户事先看到了垃圾比较多的区域,然后才能控制机器人对这块区域进行重点清洁。如果没有用户的操控,机器人按常规的弓字型轨迹清洁方式,很难有效地清理干净一些比较脏或者比较难清理的区域。
技术实现思路
为解决上述问题,本专利技术提供了一种清洁机器人的清洁方法和系统,可以提高机器人的智能化、清洁效果和清洁效率。本专利技术的具体技术方案如下:一种清洁机器人的清洁方法,包括如下步骤:基于机器人机体内的电子水平检测模块实时检测到的水平数据,判断所述水平数据在第一预设时间内超过预设角度的次数是否大于或等于预设值;如果否,则继续沿前进方向行走;如果是,则将当前位置标记为续扫点,然后沿机器人的清洁方向行走预设距离后,再以当前位置为螺旋原点;从所述螺旋原点开始沿顺时针螺旋轨迹由内至外行走,至第二预设时间内所述水平数据没有超过预设角度时停止,接着由外至内沿所述顺时针螺旋轨迹原路返回螺旋原点;再从所述螺旋原点开始沿逆时针螺旋轨迹由内至外行走,至第二预设时间内所述水平数据没有超过预设角度时停止,接着由外至内沿所述逆时针螺旋轨迹原路返回螺旋原点;从所述螺旋原点行走至所述续扫点,继续沿所述前进方向行走。进一步地,所述机器人机体内的电子水平检测模块实时检测到的水平数据,包括检测机器人机体的前后水平状况的前后水平数据和检测机器人机体 ...
【技术保护点】
一种清洁机器人的清洁方法,其特征在于,包括如下步骤:基于机器人机体内的电子水平检测模块实时检测到的水平数据,判断所述水平数据在第一预设时间内超过预设角度的次数是否大于或等于预设值;如果否,则继续沿前进方向行走;如果是,则将当前位置标记为续扫点,然后沿机器人的清洁方向行走预设距离后,再以当前位置为螺旋原点;从所述螺旋原点开始沿顺时针螺旋轨迹由内至外行走,至第二预设时间内所述水平数据没有超过预设角度时停止,接着由外至内沿所述顺时针螺旋轨迹原路返回螺旋原点;再从所述螺旋原点开始沿逆时针螺旋轨迹由内至外行走,至第二预设时间内所述水平数据没有超过预设角度时停止,接着由外至内沿所述逆时针螺旋轨迹原路返回螺旋原点;从所述螺旋原点行走至所述续扫点,继续沿所述前进方向行走。
【技术特征摘要】
1.一种清洁机器人的清洁方法,其特征在于,包括如下步骤:基于机器人机体内的电子水平检测模块实时检测到的水平数据,判断所述水平数据在第一预设时间内超过预设角度的次数是否大于或等于预设值;如果否,则继续沿前进方向行走;如果是,则将当前位置标记为续扫点,然后沿机器人的清洁方向行走预设距离后,再以当前位置为螺旋原点;从所述螺旋原点开始沿顺时针螺旋轨迹由内至外行走,至第二预设时间内所述水平数据没有超过预设角度时停止,接着由外至内沿所述顺时针螺旋轨迹原路返回螺旋原点;再从所述螺旋原点开始沿逆时针螺旋轨迹由内至外行走,至第二预设时间内所述水平数据没有超过预设角度时停止,接着由外至内沿所述逆时针螺旋轨迹原路返回螺旋原点;从所述螺旋原点行走至所述续扫点,继续沿所述前进方向行走。2.根据权利要求1所述的方法,其特征在于,所述机器人机体内的电子水平检测模块实时检测到的水平数据,包括检测机器人机体的前后水平状况的前后水平数据和检测机器人机体的左右水平状况的左右水平数据。3.根据权利要求1所述的方法,其特征在于,所述第一预设时间...
【专利技术属性】
技术研发人员:肖刚军,黄泰明,
申请(专利权)人:珠海市一微半导体有限公司,
类型:发明
国别省市:广东,44
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。