CN107456173B - Obstacle crossing method and device - Google Patents
Obstacle crossing method and device Download PDFInfo
- Publication number
- CN107456173B CN107456173B CN201610394236.7A CN201610394236A CN107456173B CN 107456173 B CN107456173 B CN 107456173B CN 201610394236 A CN201610394236 A CN 201610394236A CN 107456173 B CN107456173 B CN 107456173B
- Authority
- CN
- China
- Prior art keywords
- cleaning robot
- obstacle
- state
- axis
- driving wheel
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- A—HUMAN NECESSITIES
- A47—FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
- A47L—DOMESTIC WASHING OR CLEANING; SUCTION CLEANERS IN GENERAL
- A47L11/00—Machines for cleaning floors, carpets, furniture, walls, or wall coverings
- A47L11/40—Parts or details of machines not provided for in groups A47L11/02 - A47L11/38, or not restricted to one of these groups, e.g. handles, arrangements of switches, skirts, buffers, levers
- A47L11/4061—Steering means; Means for avoiding obstacles; Details related to the place where the driver is accommodated
-
- A—HUMAN NECESSITIES
- A47—FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
- A47L—DOMESTIC WASHING OR CLEANING; SUCTION CLEANERS IN GENERAL
- A47L11/00—Machines for cleaning floors, carpets, furniture, walls, or wall coverings
- A47L11/24—Floor-sweeping machines, motor-driven
-
- A—HUMAN NECESSITIES
- A47—FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
- A47L—DOMESTIC WASHING OR CLEANING; SUCTION CLEANERS IN GENERAL
- A47L11/00—Machines for cleaning floors, carpets, furniture, walls, or wall coverings
- A47L11/28—Floor-scrubbing machines, motor-driven
-
- A—HUMAN NECESSITIES
- A47—FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
- A47L—DOMESTIC WASHING OR CLEANING; SUCTION CLEANERS IN GENERAL
- A47L11/00—Machines for cleaning floors, carpets, furniture, walls, or wall coverings
- A47L11/40—Parts or details of machines not provided for in groups A47L11/02 - A47L11/38, or not restricted to one of these groups, e.g. handles, arrangements of switches, skirts, buffers, levers
- A47L11/4011—Regulation of the cleaning machine by electric means; Control systems and remote control systems therefor
-
- A—HUMAN NECESSITIES
- A47—FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
- A47L—DOMESTIC WASHING OR CLEANING; SUCTION CLEANERS IN GENERAL
- A47L11/00—Machines for cleaning floors, carpets, furniture, walls, or wall coverings
- A47L11/40—Parts or details of machines not provided for in groups A47L11/02 - A47L11/38, or not restricted to one of these groups, e.g. handles, arrangements of switches, skirts, buffers, levers
- A47L11/4063—Driving means; Transmission means therefor
-
- A—HUMAN NECESSITIES
- A47—FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
- A47L—DOMESTIC WASHING OR CLEANING; SUCTION CLEANERS IN GENERAL
- A47L11/00—Machines for cleaning floors, carpets, furniture, walls, or wall coverings
- A47L11/40—Parts or details of machines not provided for in groups A47L11/02 - A47L11/38, or not restricted to one of these groups, e.g. handles, arrangements of switches, skirts, buffers, levers
- A47L11/4072—Arrangement of castors or wheels
-
- A—HUMAN NECESSITIES
- A47—FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
- A47L—DOMESTIC WASHING OR CLEANING; SUCTION CLEANERS IN GENERAL
- A47L2201/00—Robotic cleaning machines, i.e. with automatic control of the travelling movement or the cleaning operation
- A47L2201/04—Automatic control of the travelling movement; Automatic obstacle detection
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02E—REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02E10/00—Energy generation through renewable energy sources
- Y02E10/50—Photovoltaic [PV] energy
Landscapes
- Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)
- Manipulator (AREA)
- Electric Vacuum Cleaner (AREA)
Abstract
Description
技术领域technical field
本公开涉及自动清洁技术领域,特别涉及一种障碍物跨越方法及装置。The present disclosure relates to the technical field of automatic cleaning, and in particular, to a method and device for crossing obstacles.
背景技术Background technique
随着经济和科技的发展,诸如扫地机器人、拖地机器人之类的清洁机器人,越来越广泛地被使用于日常生活中,给人们的生活带来了许多便利。With the development of economy and technology, cleaning robots such as sweeping robots and mopping robots are more and more widely used in daily life, bringing a lot of convenience to people's lives.
然而,在清洁机器人的工作环境中可能会有多种障碍物,比如相邻房间之间的过门石、地面上的电线和凳子,清洁机器人在工作过程中容易被这些障碍物所阻碍,当清洁机器人被卡住后,会向用户发出求救信号来让用户干预,给用户带来不便。比如:用户在早上外出之前启动清洁机器人对房屋进行清洁,在用户外出一段时间后,清洁机器人被地面上的电线卡住无法完成清洁任务,用户晚上回来后,发现房屋依然是未被清洁的状态,需要重新进行清洁,耗费了用户额外的时间。However, there may be various obstacles in the working environment of the cleaning robot, such as crossing stones between adjacent rooms, wires and stools on the ground, and the cleaning robot is easily hindered by these obstacles during the working process. After the robot is stuck, it will send a distress signal to the user to let the user intervene, causing inconvenience to the user. For example: the user starts the cleaning robot to clean the house before going out in the morning. After the user goes out for a period of time, the cleaning robot is stuck by the wires on the ground and cannot complete the cleaning task. When the user comes back at night, he finds that the house is still not cleaned. , it needs to be cleaned again, which consumes extra time for the user.
发明内容SUMMARY OF THE INVENTION
为了解决清洁机器人在运行过程中因为障碍物的阻碍无法继续清洁任务,需要外界的帮助才能继续清洁任务的问题,本发明实施例提供了一种清洁机器人及障碍物跨越方法。该技术方案如下:In order to solve the problem that the cleaning robot cannot continue the cleaning task due to obstacles during operation and needs outside help to continue the cleaning task, the embodiment of the present invention provides a cleaning robot and a method for crossing obstacles. The technical solution is as follows:
根据本公开实施例的第一方面,提供一种清洁机器人,该清洁机器人包括:清洁单元、驱动单元、检测单元、计算单元和控制单元,According to a first aspect of the embodiments of the present disclosure, there is provided a cleaning robot, the cleaning robot includes: a cleaning unit, a driving unit, a detection unit, a calculation unit, and a control unit,
在驱动单元驱动清洁机器人行进时,通过检测单元检测清洁机器人是否处于障碍物阻碍状态;When the driving unit drives the cleaning robot to travel, it is detected by the detection unit whether the cleaning robot is in a state of obstruction by obstacles;
若检测单元检测到清洁机器人处于障碍物阻碍状态,则通过计算单元获取清洁机器人的倾斜角度;If the detection unit detects that the cleaning robot is in a state of being obstructed by an obstacle, the calculation unit obtains the inclination angle of the cleaning robot;
若倾斜角度小于预定角度,则控制单元控制清洁机器人对障碍物进行跨越。If the inclination angle is smaller than the predetermined angle, the control unit controls the cleaning robot to straddle the obstacle.
可选的,驱动单元包括驱动轮;Optionally, the drive unit includes a drive wheel;
通过检测单元检测清洁机器人是否处于障碍物阻碍状态,包括:Detect whether the cleaning robot is in the state of obstruction by the detection unit, including:
通过检测单元检测驱动轮是否处于打滑状态;打滑状态是驱动轮以滑动方式在接触面上转动的状态;Whether the driving wheel is in a slipping state is detected by the detection unit; the slipping state is the state in which the driving wheel rotates on the contact surface in a sliding manner;
若驱动轮处于打滑状态,则确定清洁机器人处于障碍物阻碍状态。If the driving wheel is in a slipping state, it is determined that the cleaning robot is in an obstacle blocking state.
可选的,驱动单元包括驱动轮;Optionally, the drive unit includes a drive wheel;
通过检测单元检测清洁机器人是否处于障碍物阻碍状态,包括:Detect whether the cleaning robot is in the state of obstruction by the detection unit, including:
通过检测单元检测驱动轮是否处于卡死状态;卡死状态是驱动轮在转动过程中被外力停止转动的状态;The detection unit detects whether the drive wheel is in a stuck state; the stuck state is the state in which the drive wheel is stopped by an external force during the rotation process;
若驱动轮处于卡死状态,则确定清洁机器人处于障碍物阻碍状态。If the driving wheel is in a stuck state, it is determined that the cleaning robot is in a state of being blocked by an obstacle.
可选的,驱动单元包括驱动轮;Optionally, the drive unit includes a drive wheel;
通过检测单元检测清洁机器人是否处于障碍物阻碍状态,包括:Detect whether the cleaning robot is in the state of obstruction by the detection unit, including:
检测单元获取驱动轮的行驶里程和清洁机器人的位置;The detection unit obtains the driving mileage of the driving wheel and the position of the cleaning robot;
若行驶里程的变化值超过预定范围,且位置未发生变化,则确定清洁机器人处于障碍物阻碍状态。If the change value of the mileage exceeds the predetermined range and the position does not change, it is determined that the cleaning robot is in a state of being blocked by an obstacle.
可选的,驱动单元包括驱动轮;Optionally, the drive unit includes a drive wheel;
通过检测单元检测清洁机器人是否处于障碍物阻碍状态,包括:Detect whether the cleaning robot is in the state of obstruction by the detection unit, including:
检测单元检测驱动单元的驱动电流是否大于预定电流值;The detection unit detects whether the driving current of the driving unit is greater than a predetermined current value;
若驱动电流大于预定电流值,则确定清洁机器人处于障碍物阻碍状态。If the driving current is greater than the predetermined current value, it is determined that the cleaning robot is in an obstacle blocking state.
可选的,通过检测单元检测清洁机器人是否处于障碍物阻碍状态,包括:Optionally, use the detection unit to detect whether the cleaning robot is in a state of being obstructed by obstacles, including:
检测单元检测清洁机器人是否发生倾斜;The detection unit detects whether the cleaning robot is inclined;
若清洁机器人发生倾斜,则确定清洁机器人处于障碍物阻碍状态。If the cleaning robot is tilted, it is determined that the cleaning robot is in a state of being obstructed by an obstacle.
可选的,检测单元检测清洁机器人是否发生倾斜,包括:Optionally, the detection unit detects whether the cleaning robot is tilted, including:
通过三轴加速度计获取清洁机器人在X轴上的平均加速度分量;检测平均加速度分量是否大于第一预定阈值;若平均加速度分量大于第一预定阈值,则确定清洁机器人发生倾斜;Obtain the average acceleration component of the cleaning robot on the X-axis through a three-axis accelerometer; detect whether the average acceleration component is greater than the first predetermined threshold; if the average acceleration component is greater than the first predetermined threshold, it is determined that the cleaning robot is tilted;
或,or,
通过陀螺仪获取清洁机器人在Y轴上的瞬时角速度分量;检测瞬时角速度分量是否大于第二阈值;若瞬时角速度分量大于第二阈值,则确定清洁机器人发生倾斜;Obtain the instantaneous angular velocity component of the cleaning robot on the Y-axis through a gyroscope; detect whether the instantaneous angular velocity component is greater than the second threshold; if the instantaneous angular velocity component is greater than the second threshold, determine that the cleaning robot is tilted;
其中,设坐标系的原点为清洁机器人的中心点,坐标系的X轴平行于清洁机器人的机体的前后轴,坐标系的Y轴平行于清洁机器人的机体的横向轴,坐标系的Z轴平行于清洁机器人的机体的竖直轴,X轴和Y轴和Z轴三者中的任意两个互相垂直。The origin of the coordinate system is set as the center point of the cleaning robot, the X axis of the coordinate system is parallel to the front and rear axes of the cleaning robot body, the Y axis of the coordinate system is parallel to the lateral axis of the cleaning robot body, and the Z axis of the coordinate system is parallel. Regarding the vertical axis of the body of the cleaning robot, any two of the X axis, the Y axis and the Z axis are perpendicular to each other.
可选的,通过计算单元获取清洁机器人的倾斜角度,包括:Optionally, obtain the inclination angle of the cleaning robot through the computing unit, including:
通过三轴加速度计获取清洁机器人在X轴上的平均加速度分量;Obtain the average acceleration component of the cleaning robot on the X-axis through a three-axis accelerometer;
通过预先存储的平均加速度分量与倾斜角度的对应关系,确定倾斜角度。The inclination angle is determined by the pre-stored correspondence between the average acceleration component and the inclination angle.
可选的,通过计算单元确定清洁机器人的倾斜角度,包括:Optionally, the inclination angle of the cleaning robot is determined by the computing unit, including:
通过六轴陀螺仪获取清洁机器人的倾斜角度;六轴陀螺仪同时具有三轴加速度计的功能和三轴陀螺仪的功能。The inclination angle of the cleaning robot is obtained through a six-axis gyroscope; the six-axis gyroscope has the functions of a three-axis accelerometer and a three-axis gyroscope at the same time.
可选的,驱动单元包括两个并列的驱动轮;Optionally, the drive unit includes two parallel drive wheels;
控制单元控制清洁机器人对障碍物进行跨越,包括:The control unit controls the cleaning robot to cross obstacles, including:
控制单元先控制一个驱动轮对障碍物进行跨越,再控制另一个驱动轮对障碍物进行跨越。The control unit first controls one driving wheel to cross the obstacle, and then controls the other driving wheel to cross the obstacle.
根据本公开实施例的第二方面,提供一种障碍物跨越方法,该方法应用于包括有驱动轮的清洁机器人中,方法包括:According to a second aspect of the embodiments of the present disclosure, there is provided a method for crossing obstacles, the method being applied to a cleaning robot including a driving wheel, the method comprising:
在清洁机器人行进时,检测清洁机器人是否处于障碍物阻碍状态;When the cleaning robot is traveling, it is detected whether the cleaning robot is in a state of obstruction;
若清洁机器人处于障碍物阻碍状态,则获取清洁机器人的倾斜角度;If the cleaning robot is in the obstruction state, obtain the inclination angle of the cleaning robot;
若倾斜角度小于预定角度,则控制清洁机器人对障碍物进行跨越。If the inclination angle is smaller than the predetermined angle, the cleaning robot is controlled to straddle the obstacle.
可选的,检测清洁机器人是否处于障碍物阻碍状态,包括:Optionally, detect whether the cleaning robot is in a state of obstruction, including:
检测驱动轮是否处于打滑状态;打滑状态是驱动轮以滑动方式在接触面上转动的状态;Detect whether the driving wheel is in a slipping state; the slipping state is the state in which the driving wheel rotates on the contact surface in a sliding manner;
若驱动轮处于打滑状态,则确定清洁机器人处于障碍物阻碍状态。If the driving wheel is in a slipping state, it is determined that the cleaning robot is in an obstacle blocking state.
可选的,检测清洁机器人是否处于障碍物阻碍状态,包括:Optionally, detect whether the cleaning robot is in a state of obstruction, including:
检测驱动轮是否处于卡死状态;卡死状态是驱动轮在转动过程中被外力停止转动的状态;Detect whether the drive wheel is in a stuck state; the stuck state is the state in which the drive wheel is stopped by an external force during rotation;
若驱动轮处于卡死状态,则确定清洁机器人处于障碍物阻碍状态。If the driving wheel is in a stuck state, it is determined that the cleaning robot is in a state of being blocked by an obstacle.
可选的,检测清洁机器人是否处于障碍物阻碍状态,包括:Optionally, detect whether the cleaning robot is in a state of obstruction, including:
获取驱动轮的行驶里程和清洁机器人的位置;Get the mileage of the drive wheel and the location of the cleaning robot;
若行驶里程的变化值超过预定范围,且位置未发生变化,则确定清洁机器人处于障碍物阻碍状态。If the change value of the mileage exceeds the predetermined range and the position does not change, it is determined that the cleaning robot is in a state of being blocked by an obstacle.
可选的,检测清洁机器人是否处于障碍物阻碍状态,包括:Optionally, detect whether the cleaning robot is in a state of obstruction, including:
检测驱动电流是否大于预定电流值;Detecting whether the drive current is greater than a predetermined current value;
若驱动电流大于预定电流值,则确定清洁机器人处于障碍物阻碍状态。If the driving current is greater than the predetermined current value, it is determined that the cleaning robot is in an obstacle blocking state.
可选的,检测清洁机器人是否处于障碍物阻碍状态,包括:Optionally, detect whether the cleaning robot is in a state of obstruction, including:
检测清洁机器人是否发生倾斜;Detect whether the cleaning robot is tilted;
若清洁机器人发生倾斜,则确定清洁机器人处于障碍物阻碍状态。If the cleaning robot is tilted, it is determined that the cleaning robot is in a state of being obstructed by an obstacle.
可选的,检测清洁机器人是否发生倾斜,包括:Optionally, detect whether the cleaning robot is tilted, including:
通过三轴加速度计获取清洁机器人在X轴上的平均加速度分量;检测平均加速度分量是否大于第一预定阈值;若平均加速度分量大于第一预定阈值,则确定清洁机器人发生倾斜;Obtain the average acceleration component of the cleaning robot on the X-axis through a three-axis accelerometer; detect whether the average acceleration component is greater than the first predetermined threshold; if the average acceleration component is greater than the first predetermined threshold, it is determined that the cleaning robot is tilted;
或,or,
通过陀螺仪获取清洁机器人在Y轴上的瞬时角速度分量;检测瞬时角速度分量是否大于第二阈值;若瞬时角速度分量大于第二阈值,则确定清洁机器人发生倾斜;Obtain the instantaneous angular velocity component of the cleaning robot on the Y-axis through a gyroscope; detect whether the instantaneous angular velocity component is greater than the second threshold; if the instantaneous angular velocity component is greater than the second threshold, determine that the cleaning robot is tilted;
其中,设坐标系的原点为清洁机器人的中心点,坐标系的X轴平行于清洁机器人的机体的前后轴,坐标系的Y轴平行于清洁机器人的机体的横向轴,坐标系的Z轴平行于清洁机器人的机体的竖直轴,X轴和Y轴和Z轴三者中的任意两个互相垂直。The origin of the coordinate system is set as the center point of the cleaning robot, the X axis of the coordinate system is parallel to the front and rear axes of the cleaning robot body, the Y axis of the coordinate system is parallel to the lateral axis of the cleaning robot body, and the Z axis of the coordinate system is parallel. Regarding the vertical axis of the body of the cleaning robot, any two of the X axis, the Y axis and the Z axis are perpendicular to each other.
可选的,获取清洁机器人的倾斜角度,包括:Optionally, obtain the inclination angle of the cleaning robot, including:
通过三轴加速度计获取清洁机器人在X轴上的平均加速度分量;Obtain the average acceleration component of the cleaning robot on the X-axis through a three-axis accelerometer;
通过预先存储的平均加速度分量与倾斜角度的对应关系,确定倾斜角度。The inclination angle is determined by the pre-stored correspondence between the average acceleration component and the inclination angle.
可选的,获取清洁机器人的倾斜角度,包括:Optionally, obtain the inclination angle of the cleaning robot, including:
通过六轴陀螺仪获取清洁机器人的倾斜角度;六轴陀螺仪同时具有三轴加速度计的功能和三轴陀螺仪的功能。The inclination angle of the cleaning robot is obtained through a six-axis gyroscope; the six-axis gyroscope has the functions of a three-axis accelerometer and a three-axis gyroscope at the same time.
可选的,清洁机器人包括两个并列的驱动轮;Optionally, the cleaning robot includes two parallel drive wheels;
控制清洁机器人对障碍物进行跨越,包括:Control the cleaning robot to cross obstacles, including:
先控制一个驱动轮对障碍物进行跨越,再控制另一个驱动轮对障碍物进行跨越。Control one driving wheel to cross the obstacle first, and then control the other driving wheel to cross the obstacle.
本发明实施例提供的技术方案带来的有益效果是:The beneficial effects brought by the technical solutions provided in the embodiments of the present invention are:
通过在清洁机器人沿前进方向行进时,检测清洁机器人是否处于障碍物阻碍状态,在清洁机器人处于障碍物阻碍状态时,清洁机器人发生倾斜,获取清洁机器人的倾斜角度,当倾斜角度小于预定角度时,控制清洁机器人对障碍物进行跨越,解决了清洁机器人在运行过程中因为障碍物的阻碍无法继续清洁任务,需要外界的帮助才能继续清洁任务的问题,使得清洁机器人能够独立地完成脱困和对障碍物的跨越,提高了清洁机器人的工作适应能力。本发明的清洁机器人能够对自身状态进行感知,并根据该状态自行判断是越障继续前进还是返回,使得清洁机器人在各种复杂环境中都能自动继续进行工作,而不必请求人工干预,大大增强了清洁机器人的全自动化。By detecting whether the cleaning robot is in an obstacle blocking state when the cleaning robot travels in the forward direction, when the cleaning robot is in an obstacle blocking state, the cleaning robot is inclined, and the inclination angle of the cleaning robot is obtained. When the inclination angle is smaller than the predetermined angle, Controlling the cleaning robot to cross obstacles, solves the problem that the cleaning robot cannot continue the cleaning task due to obstacles in the operation process, and needs outside help to continue the cleaning task, so that the cleaning robot can independently complete the escape and the obstacle. The leap forward has improved the work adaptability of cleaning robots. The cleaning robot of the present invention can perceive its own state, and according to the state, judge by itself whether to go ahead or return after crossing the obstacle, so that the cleaning robot can automatically continue to work in various complex environments without requiring manual intervention, which greatly enhances the Full automation of cleaning robots.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性的,并不能限制本公开。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
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions in the embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings used in the description of the embodiments. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained from these drawings without creative effort.
图1是本公开各个实施例涉及的一种清洁机器人的结构示意图;FIG. 1 is a schematic structural diagram of a cleaning robot involved in various embodiments of the present disclosure;
图2是本公开各个实施例涉及的一种清洁机器人的结构示意图;2 is a schematic structural diagram of a cleaning robot involved in various embodiments of the present disclosure;
图3是本公开各个实施例涉及的一种清洁机器人的结构方框图;3 is a structural block diagram of a cleaning robot involved in various embodiments of the present disclosure;
图4是本公开实施例提供的一种坐标系;FIG. 4 is a coordinate system provided by an embodiment of the present disclosure;
图5A是根据一示例性实施例示出的一种障碍物跨越方法的流程图;FIG. 5A is a flowchart of a method for crossing obstacles according to an exemplary embodiment;
图5B是根据一示例性实施例示出的一种障碍物阻碍状态的示意图;Fig. 5B is a schematic diagram showing an obstacle blocking state according to an exemplary embodiment;
图6是根据另一示例性实施例示出的一种障碍物跨越方法的流程图;FIG. 6 is a flowchart of a method for crossing obstacles according to another exemplary embodiment;
图7A是根据一示例性实施例示出的一种障碍物跨越方法的实施示意图;FIG. 7A is a schematic diagram illustrating the implementation of an obstacle crossing method according to an exemplary embodiment;
图7B是根据一示例性实施例示出的一种障碍物跨越方法的实施示意图;FIG. 7B is a schematic diagram illustrating the implementation of an obstacle crossing method according to an exemplary embodiment;
图7C是根据一示例性实施例示出的一种障碍物跨越方法的实施示意图;FIG. 7C is a schematic diagram illustrating the implementation of an obstacle crossing method according to an exemplary embodiment;
图7D是根据一示例性实施例示出的一种障碍物跨越方法的实施示意图;FIG. 7D is a schematic diagram illustrating the implementation of an obstacle crossing method according to an exemplary embodiment;
图7E是根据一示例性实施例示出的一种障碍物跨越方法的实施示意图;FIG. 7E is a schematic diagram illustrating the implementation of an obstacle crossing method according to an exemplary embodiment;
图7F是根据一示例性实施例示出的一种障碍物跨越方法的实施示意图;FIG. 7F is a schematic diagram illustrating the implementation of an obstacle crossing method according to an exemplary embodiment;
图8A是根据另一示例性实施例示出的一种获取倾斜角度的实施示意图;FIG. 8A is a schematic diagram of an implementation of acquiring an inclination angle according to another exemplary embodiment;
图8B是根据另一示例性实施例示出的一种获取倾斜角度的实施示意图;FIG. 8B is a schematic diagram of an implementation of acquiring an inclination angle according to another exemplary embodiment;
图8C是根据另一示例性实施例示出的一种获取倾斜角度的实施示意图。FIG. 8C is a schematic diagram illustrating an implementation of acquiring an inclination angle according to another exemplary embodiment.
具体实施方式Detailed ways
为使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明实施方式作进一步地详细描述。In order to make the objectives, technical solutions and advantages of the present invention clearer, the embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。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示例性的示出了清洁机器人10的俯视示意图,图2示例性的示出了该清洁机器人10的仰视示意图。如图1和图2所示,该清洁机器人10包括:机体110、检测组件120、左轮131、与左轮131连接的电机(图中未示出)、右轮132、与右轮132连接的电机(图中未示出)、和主刷140。1 and 2 are schematic diagrams of a cleaning robot involved in various embodiments of the present disclosure. FIG. 1 exemplarily shows a schematic top view of the cleaning
机体110形成清洁机器人的外壳,并且容纳其它部件。The
可选的,机体110呈扁平的圆柱形。Optionally, the
检测组件120用于对清洁机器人的周测环境进行测量,从而发现障碍物、墙面、台阶等环境物体;检测组件120还可对清洁机器人自身的运动状态进行判断。检测组件120可包括里程计、LDS(Laser Distance Sensor,激光测距传感器)、悬崖传感器、三轴加速度计、陀螺仪、碰撞传感器。可选的,检测组件120还可包括红外传感器、超声波传感器、摄像头、霍尔传感器等。The
本实施例对检测组件120的个数及所在位置不作限定。This embodiment does not limit the number and location of the
在清洁机器人机体110的左侧安装有左轮131,在清洁机器人机体110的右侧安装有右轮132,左轮131和右轮132并列安装在清洁机器人机体110的左右两侧。左轮131和右轮132分别受与各自连接的电机的控制。The
在清洁机器人机体110的左侧还安装有与左轮131连接的电机,与左轮131连接的电机的驱动电路与清洁机器人的控制单元相连,控制单元向电机的驱动电路发送对应于不同占空比的第一控制信号,电机的驱动电路根据第一控制信号产生相应的驱动电流使电机转动,从而控制左轮131的驱动方向和转动速度;其中,占空比是指脉冲信号的通电时间与通电周期的比值,占空比越大,左轮131的转动速度越大,占空比越小,左轮132的转动速度越小。比如:与左轮131连接的电机的驱动电路接收到控制单元发送的对应于占空比是1/2的第一控制信号,根据第一控制信号产生相应的驱动电流,在驱动电流的作用下,与左轮131连接的电机控制左轮131的驱动方向为前进方向,转动速度为50转/分钟。A motor connected to the
在清洁机器人机体110的右侧还安装有与右轮132连接的电机,与右轮132连接的电机的驱动电路与清洁机器人的控制单元相连,控制单元向电机的驱动电路发送对应于不同占空比的第二控制信号,电机的驱动电路根据第二控制信号产生相应的驱动电流使电机转动,从而控制右轮132的驱动方向和转动速度。比如:与右轮132连接的电机的驱动电路接收到控制单元发送的对应于占空比是1/2的第二控制信号,根据第二控制信号产生相应的驱动电流,在驱动电流的作用下,与右轮132连接的电机控制右轮132的驱动方向为前进方向,转动速度为50转/分钟。A motor connected to the
清洁机器人10的左轮131、与左轮131连接的电机、右轮132、和与右轮132连接的电机构成了清洁机器人10的驱动单元。The
可选地,该清洁机器人10还包括设置在机体110前部的导向轮133,导向轮133用于改变清洁机器人在行进过程中的行驶方向。Optionally, the cleaning
主刷140安装在机体110底部。可选地,主刷140是以滚轮型相对于接触面转动的鼓形转刷。The
需要说明的是,清洁机器人还可以包括其他模块或组件,或者,仅包括上述部分模块或组件,本实施例对此不作限定,仅以上述清洁机器人为例进行说明。It should be noted that, the cleaning robot may also include other modules or components, or only include some of the above modules or components, which is not limited in this embodiment, and only the above cleaning robot is used as an example for description.
图3是根据一示例性实施例提供的清洁机器人的结构方框图。清洁机器人包括控制单元310、存储单元320、检测单元330、计算单元340、驱动单元350和清洁单元360。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 storage unit 320 , a detection unit 330 , a calculation unit 340 , a driving unit 350 and a cleaning unit 360 .
控制单元310用于控制清洁机器人的总体操作。在接收到清洁命令时,控制单元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 travel in a forward direction or a backward direction according to 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. In this embodiment, other instructions received by the control unit 310 from the user are not described again.
存储单元320用于存储至少一个指令,这些指令包括用于执行预定的行进模式和行进路径的指令、用于进行清洁的指令、用于检测是否处于障碍物阻碍状态的指令、用于计算倾斜角度的指令、用于检测倾斜角度是否大于预定角度指令等等。存储单元320还用于存储清洁机器人在行进过程中的自身位置数据、在行进过程中的行驶速度、行驶里程、与障碍物有关的数据等。The storage unit 320 is used to store at least one instruction, which includes an instruction for executing a predetermined travel mode and a travel path, an instruction for cleaning, an instruction for detecting whether an obstacle obstructs a state, an instruction for calculating an inclination angle The command used to detect whether the tilt angle is greater than the predetermined angle command and so on. The storage unit 320 is also used to store the self-position data of the cleaning robot during the traveling process, the traveling speed, the traveling mileage, and the data related to the obstacles during the traveling process.
检测单元330用于检测清洁机器人在行进区域中的障碍物和清洁机器人的行进状态,障碍物可以是家具、家电、办公设备、砖墙墙体、木板墙体、地面上的电线、房间之间的过门石等。The detection unit 330 is used to detect the obstacles in the traveling area of the cleaning robot and the traveling state of the cleaning robot. The obstacles can be furniture, home appliances, office equipment, brick walls, wooden walls, wires on the ground, and between rooms. The gate stone and so on.
计算单元340用于在清洁机器人处于障碍物阻碍状态时计算清洁机器人的倾斜角度,和清洁机器人在行进区域中距离障碍物的距离。比如,计算单元340通过三轴加速度计计算清洁机器人的倾斜角度,或者,计算单元340通过陀螺仪计算清洁机器人的倾斜角度,或者,计算单元340通过六轴陀螺仪获取清洁机器人的倾斜角度,或者,计算单元340通过清洁机器人距离障碍物的距离或清洁机器人的行进距离计算出清洁机器人的倾斜角度。The calculation unit 340 is used to calculate the inclination angle of the cleaning robot and the distance from the obstacle in the travel area of the cleaning robot when the cleaning robot is in the obstacle blocking state. For example, the calculation unit 340 calculates the inclination angle of the cleaning robot through a three-axis accelerometer, or the calculation unit 340 calculates the inclination angle of the cleaning robot through a gyroscope, or the calculation unit 340 obtains the inclination angle of the cleaning robot through a six-axis gyroscope, or , the calculation unit 340 calculates the inclination angle of the cleaning robot according to the distance of the cleaning robot from the obstacle or the traveling distance of the cleaning robot.
驱动单元350用于根据控制单元310的第一控制信号控制第一驱动轮的驱动方向和转动速度,或者根据控制单元310的第二控制信号控制第二驱动轮的驱动方向和转动速度。The driving unit 350 is used to control the driving direction and rotation speed of the first driving wheel according to the first control signal of the control unit 310 , or control the driving direction and rotation speed of the second driving wheel according to the second control signal of the control unit 310 .
清洁单元360用于在接收到清洁命令,控制单元310控制清洁机器人按照预设逻辑沿前进方向或沿后退方向行进时,在行进过程中控制清洁机器人底部的主刷以滚动的方式清洁与主刷接触的接触面。The cleaning unit 360 is used to control the main brush at the bottom of the cleaning robot to clean the main brush in a rolling manner during the traveling process when the cleaning command is received and the control unit 310 controls the cleaning robot to travel in the forward direction or the backward direction according to the preset logic. contact surface.
在示例性实施例中,控制单元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还被配置为:Optionally, the control unit 310 is further configured to:
在驱动单元350驱动清洁机器人行进时,通过检测单元330检测清洁机器人是否处于障碍物阻碍状态;When the driving unit 350 drives the cleaning robot to travel, the detection unit 330 detects whether the cleaning robot is in a state of being obstructed by an obstacle;
若检测单元330检测到清洁机器人处于障碍物阻碍状态,则获取通过计算单元340获取清洁机器人的倾斜角度;If the detection unit 330 detects that the cleaning robot is in a state of being obstructed by an obstacle, the calculation unit 340 obtains the inclination angle of the cleaning robot;
若倾斜角度小于预定角度,则控制单元310控制清洁机器人对障碍物进行跨越。If the inclination angle is smaller than the predetermined angle, the control unit 310 controls the cleaning robot to straddle the obstacle.
可选的,驱动单元350包括驱动轮;Optionally, the driving unit 350 includes a driving wheel;
通过检测单元330检测清洁机器人是否处于障碍物阻碍状态,包括:The detection unit 330 detects whether the cleaning robot is in an obstacle blocking state, including:
通过检测单元330检测驱动轮是否处于打滑状态;打滑状态是驱动轮以滑动方式在接触面上转动的状态;Whether the driving wheel is in a slipping state is detected by the detection unit 330; the slipping state is a state in which the driving wheel rotates on the contact surface in a sliding manner;
若驱动轮处于打滑状态,则确定清洁机器人处于障碍物阻碍状态。If the driving wheel is in a slipping state, it is determined that the cleaning robot is in an obstacle blocking state.
可选的,驱动单元350包括驱动轮;Optionally, the driving unit 350 includes a driving wheel;
通过检测单元330检测清洁机器人是否处于障碍物阻碍状态,包括:The detection unit 330 detects whether the cleaning robot is in an obstacle blocking state, including:
通过检测单元330检测驱动轮是否处于卡死状态;卡死状态是驱动轮在转动过程中被外力停止转动的状态;Whether the driving wheel is in a stuck state is detected by the detection unit 330; the stuck state is a state in which the driving wheel is stopped by an external force during the rotation process;
若驱动轮处于卡死状态,则确定清洁机器人处于障碍物阻碍状态。If the driving wheel is in a stuck state, it is determined that the cleaning robot is in a state of being blocked by an obstacle.
可选的,驱动单元350包括驱动轮;Optionally, the driving unit 350 includes a driving wheel;
通过检测单元330检测清洁机器人是否处于障碍物阻碍状态,包括:The detection unit 330 detects whether the cleaning robot is in an obstacle blocking state, including:
检测单元330获取驱动轮的行驶里程和清洁机器人的位置;The detection unit 330 obtains the driving distance of the driving wheel and the position of the cleaning robot;
若行驶里程的变化值超过预定范围,且位置未发生变化,则确定清洁机器人处于障碍物阻碍状态。可选的,驱动单元包括驱动轮;If the change value of the mileage exceeds the predetermined range and the position does not change, it is determined that the cleaning robot is in a state of being blocked by an obstacle. Optionally, the drive unit includes a drive wheel;
通过检测单元330检测清洁机器人是否处于障碍物阻碍状态,包括:The detection unit 330 detects whether the cleaning robot is in an obstacle blocking state, including:
检测单元330检测驱动单元350的驱动电流是否大于预定电流值;The detection unit 330 detects whether the driving current of the driving unit 350 is greater than a predetermined current value;
若驱动电流大于预定电流值,则确定清洁机器人处于障碍物阻碍状态。If the driving current is greater than the predetermined current value, it is determined that the cleaning robot is in an obstacle blocking state.
可选的,通过检测单元330检测清洁机器人是否处于障碍物阻碍状态,包括:Optionally, the detection unit 330 detects whether the cleaning robot is in an obstacle blocking state, including:
检测单元330检测清洁机器人是否发生倾斜;The detection unit 330 detects whether the cleaning robot is tilted;
若清洁机器人发生倾斜,则确定清洁机器人处于障碍物阻碍状态。If the cleaning robot is tilted, it is determined that the cleaning robot is in a state of being obstructed by an obstacle.
可选的,检测单元330检测清洁机器人是否发生倾斜,包括:Optionally, the detection unit 330 detects whether the cleaning robot is tilted, including:
通过三轴加速度计获取清洁机器人在X轴上的平均加速度分量;检测平均加速度分量是否大于第一预定阈值;若平均加速度分量大于第一预定阈值,则确定清洁机器人发生倾斜;Obtain the average acceleration component of the cleaning robot on the X-axis through a three-axis accelerometer; detect whether the average acceleration component is greater than the first predetermined threshold; if the average acceleration component is greater than the first predetermined threshold, it is determined that the cleaning robot is tilted;
或,or,
通过陀螺仪获取清洁机器人在Y轴上的瞬时角速度分量;检测瞬时角速度分量是否大于第二阈值;若瞬时角速度分量大于第二阈值,则确定清洁机器人发生倾斜;Obtain the instantaneous angular velocity component of the cleaning robot on the Y-axis through a gyroscope; detect whether the instantaneous angular velocity component is greater than the second threshold; if the instantaneous angular velocity component is greater than the second threshold, determine that the cleaning robot is tilted;
其中,设坐标系的原点为清洁机器人的中心点,坐标系的X轴平行于清洁机器人的机体的前后轴,坐标系的Y轴平行于清洁机器人的机体的横向轴,坐标系的Z轴平行于清洁机器人的机体的竖直轴,X轴和Y轴和Z轴三者中的任意两个互相垂直。The origin of the coordinate system is set as the center point of the cleaning robot, the X axis of the coordinate system is parallel to the front and rear axes of the cleaning robot body, the Y axis of the coordinate system is parallel to the lateral axis of the cleaning robot body, and the Z axis of the coordinate system is parallel. Regarding the vertical axis of the body of the cleaning robot, any two of the X axis, the Y axis and the Z axis are perpendicular to each other.
可选的,通过计算单元340获取清洁机器人的倾斜角度,包括:Optionally, the inclination angle of the cleaning robot is obtained through the computing unit 340, including:
通过三轴加速度计获取清洁机器人在X轴上的平均加速度分量;Obtain the average acceleration component of the cleaning robot on the X-axis through a three-axis accelerometer;
通过中预先存储的平均加速度分量与倾斜角度的对应关系,确定倾斜角度。The inclination angle is determined by the pre-stored correspondence between the average acceleration component and the inclination angle.
可选的,通过计算单元340确定清洁机器人的倾斜角度,包括:Optionally, the inclination angle of the cleaning robot is determined by the computing unit 340, including:
通过六轴陀螺仪获取清洁机器人的倾斜角度;六轴陀螺仪同时具有三轴加速度计的功能和三轴陀螺仪的功能。The inclination angle of the cleaning robot is obtained through a six-axis gyroscope; the six-axis gyroscope has the functions of a three-axis accelerometer and a three-axis gyroscope at the same time.
可选的,清洁机器人包括两个并列的驱动轮;控制单元310控制清洁机器人对障碍物进行跨越,包括:Optionally, the cleaning robot includes two parallel drive wheels; the control unit 310 controls the cleaning robot to cross obstacles, including:
控制单元310先控制一个驱动轮对障碍物进行跨越,再控制另一个驱动轮对障碍物进行跨越。The control unit 310 first controls one driving wheel to straddle the obstacle, and then controls the other driving wheel to straddle the obstacle.
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储单元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 storage unit 320 including instructions, and the instructions can be executed by the control unit 310 to complete the cleaning robot in the above-described embodiments of the present disclosure. Control Method. For example, the non-transitory computer-readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.
在下述实施例中,将清洁机器人的左轮确定为第一驱动轮,将清洁机器人的右轮确定为第二驱动轮。在其他可能的实施例中,也可以将清洁机器人的右轮确定为第一驱动轮,将清洁机器人的左轮确定为第二驱动轮,本公开实施例对此不做限定。In the following embodiments, the left wheel of the cleaning robot is determined as the first driving wheel, and the right wheel of the cleaning robot is determined as the second driving wheel. In other possible embodiments, the right wheel of the cleaning robot may also be determined as the first driving wheel, and the left wheel of the cleaning robot may be determined as the second driving wheel, which is not limited in this embodiment of the present disclosure.
为方便描述清洁机器人的行为,如图4所示,建立一个基于清洁机器人的坐标系,该坐标系包括X轴、Y轴和Z轴,坐标系的原点为清洁机器人的中心点,X轴和Y轴和Z轴三者中的任意两个互相垂直;X轴和Y轴在同一个平面,X轴平行于清洁机器人的机体的前后轴,坐标系的Y轴平行于清洁机器人的机体的横向轴;Z轴垂直于X轴和Y轴确定的平面,坐标系的Z轴平行于清洁机器人的机体的竖直轴。其中,沿X轴向前的驱动方向为前进方向,沿X轴向后的驱动方向为后退方向。In order to describe the behavior of the cleaning robot conveniently, as shown in Figure 4, a coordinate system based on the cleaning robot is established. The coordinate system includes the X axis, the Y axis and the Z axis. The origin of the coordinate system is the center point of the cleaning robot. Any two of the Y axis and the Z axis are perpendicular to each other; the X axis and the Y axis are in the same plane, the X axis is parallel to the front and rear axes of the cleaning robot body, and the Y axis of the coordinate system is parallel to the lateral direction of the cleaning robot body axis; the Z axis is perpendicular to the plane determined by the X axis and the Y axis, and the Z axis of the coordinate system is parallel to the vertical axis of the body of the cleaning robot. The forward driving direction along the X-axis is the forward direction, and the rearward driving direction along the X-axis is the backward direction.
本公开实施例将基于上述清洁机器人来阐述其障碍物跨越方法,但本公开实施例不限定清洁机器人的类型。The embodiments of the present disclosure will describe the obstacle crossing method based on the above-mentioned cleaning robot, but the embodiments of the present disclosure do not limit the type of the cleaning robot.
请参考图5A,其示出了一示例性实施例示出的障碍物跨越方法的流程图。该障碍物跨越方法包括如下步骤:Please refer to FIG. 5A , which shows a flowchart of an obstacle crossing method according to an exemplary embodiment. The obstacle crossing method includes the following steps:
在步骤501中,在清洁机器人行进时,检测清洁机器人是否处于障碍物阻碍状态。In
可选的,清洁机器人行进可以是清洁机器人沿前进方向行进,也可以是清洁机器人沿后退方向行进。Optionally, the cleaning robot may travel in a forward direction, or the cleaning robot may travel in a backward direction.
可选的,障碍物是有一定硬度且高度较小的条状物,比如相邻房间之间的过门石,或者,障碍物是柔软易形变的线状物,比如电线。Optionally, the obstacle is a bar with a certain hardness and a small height, such as a door stone between adjacent rooms, or the obstacle is a soft and deformable wire, such as a wire.
可选的,清洁机器人包括两个并列的驱动轮。Optionally, the cleaning robot includes two side-by-side drive wheels.
清洁机器人处于障碍物阻碍状态是指清洁机器人的驱动轮未跨越障碍物,清洁机器人的机身处于倾斜的状态。如图5B所示,其示出了清洁机器人51在经过两个房间时,被过门石52阻碍,左轮和右轮未跨越过门石52,清洁机器人51的机身处于倾斜状态。The fact that the cleaning robot is in an obstacle blocking state means that the driving wheel of the cleaning robot does not cross the obstacle, and the body of the cleaning robot is in a tilted state. As shown in FIG. 5B , it shows that the cleaning
在步骤502中,若清洁机器人处于障碍物阻碍状态,则获取清洁机器人的倾斜角度。In step 502, if the cleaning robot is in an obstacle blocking state, the inclination angle of the cleaning robot is acquired.
在步骤503中,若倾斜角度小于预定角度,则控制清洁机器人对障碍物进行跨越。In
可选的,当倾斜角度大于预定角度时,控制清洁机器人沿与处于障碍物阻碍状态之前的行进方向相反的方向行进。Optionally, when the inclination angle is greater than the predetermined angle, the cleaning robot is controlled to travel in a direction opposite to the travel direction before being in the obstacle blocking state.
可选的,预定角度是在一般情况下,清洁机器人处于障碍物阻碍状态且该障碍物能够被跨越时,清洁机器人的机身倾斜的角度。可选的,预定角度是清洁机器人处于障碍物阻碍状态且该障碍物能够被跨越时,清洁机器人的机身倾斜的最大角度,比如:清洁机器人最大能够跨越高度为两厘米的障碍物,当清洁机器人被高度为两厘米的障碍物阻碍时机身发生倾斜,倾斜角度为5度,也即预定角度为5度。Optionally, the predetermined angle is an angle at which the body of the cleaning robot is inclined when the cleaning robot is in an obstacle blocking state and the obstacle can be crossed under normal circumstances. Optionally, the predetermined angle is the maximum angle at which the body of the cleaning robot is tilted when the cleaning robot is in a state of being obstructed by an obstacle and the obstacle can be crossed. When the robot is blocked by an obstacle with a height of two centimeters, the body tilts, and the tilt angle is 5 degrees, that is, the predetermined angle is 5 degrees.
综上所述,本公开实施例提供的障碍物跨越方法,通过在清洁机器人行进时,检测清洁机器人是否处于障碍物阻碍状态,在清洁机器人处于障碍物阻碍状态时,清洁机器人发生倾斜,获取清洁机器人的倾斜角度,当倾斜角度小于预定角度时,控制清洁机器人对障碍物进行跨越,解决了清洁机器人在运行过程中因为障碍物的阻碍无法继续清洁任务,需要外界的帮助才能继续清洁任务的问题,使得清洁机器人能够独立地完成对障碍物的跨越,提高了清洁机器人的工作适应能力。To sum up, the obstacle crossing method provided by the embodiments of the present disclosure detects whether the cleaning robot is in an obstacle blocking state when the cleaning robot travels, and when the cleaning robot is in an obstacle blocking state, the cleaning robot tilts to obtain clean The inclination angle of the robot. When the inclination angle is less than the predetermined angle, the cleaning robot is controlled to cross the obstacles, which solves the problem that the cleaning robot cannot continue the cleaning task due to obstacles during operation, and needs outside help to continue the cleaning task. , so that the cleaning robot can independently complete the crossing of obstacles, and the work adaptability of the cleaning robot is improved.
请参考图6,其示出了另一示例性实施例示出的障碍物跨越方法的流程图。该障碍物跨越方法包括如下步骤:Please refer to FIG. 6 , which shows a flowchart of an obstacle crossing method according to another exemplary embodiment. The obstacle crossing method includes the following steps:
在步骤601中,在清洁机器人行进时,检测清洁机器人是否处于障碍物阻碍状态。In
检测清洁机器人是否处于障碍物阻碍状态,有如下几种方法:There are several ways to detect whether the cleaning robot is in the state of obstruction:
一、根据清洁机器人的驱动轮的状态判断清洁机器人是否处于障碍物阻碍状态,如图7A所示:1. According to the state of the driving wheel of the cleaning robot, determine whether the cleaning robot is in a state of obstruction, as shown in Figure 7A:
在步骤701a中,检测驱动轮是否处于打滑状态。In
打滑状态是驱动轮以滑动方式在接触面上转动的状态;其中,接触面是机器人进行清洁任务的平面,比如地面或桌面。The slipping state is the state in which the drive wheel rotates in a sliding manner on the contact surface; where the contact surface is the surface on which the robot performs the cleaning task, such as a floor or a table top.
在步骤702a中,若驱动轮处于打滑状态,则确定清洁机器人处于障碍物阻碍状态。In
二、根据清洁机器人的驱动轮的状态判断清洁机器人是否处于障碍物阻碍状态,如图7B所示:2. According to the state of the driving wheel of the cleaning robot, determine whether the cleaning robot is in a state of obstruction, as shown in Figure 7B:
在步骤701b中,检测驱动轮是否处于卡死状态。In
卡死状态是驱动轮在转动过程中被外力停止转动的状态。The stuck state is the state in which the drive wheel is stopped by an external force during the rotation.
在步骤702b中,若驱动轮处于卡死状态,则确定清洁机器人处于障碍物阻碍状态。In
三、根据清洁机器人的驱动轮的状态和清洁机器人的位置变化,判断清洁机器人是否出于障碍物阻碍状态,如图7C所示:3. According to the state of the driving wheel of the cleaning robot and the position change of the cleaning robot, determine whether the cleaning robot is in a state of obstruction by obstacles, as shown in Figure 7C:
在步骤701c中,获取驱动轮的行驶里程和清洁机器人的位置。In
可选的,通过清洁机器人机身中的里程计获取驱动轮的行驶里程。Optionally, the driving mileage of the driving wheel is obtained through the odometer in the cleaning robot body.
可选的,通过清洁机器人中的定位系统确定清洁机器人的位置,或者通过LDS(Laser Distance Sensor,激光测距传感器)测量距离前方障碍物的位置信息来确定清洁机器人的位置。Optionally, the position of the cleaning robot is determined by a positioning system in the cleaning robot, or the position of the cleaning robot is determined by measuring the position information from an obstacle in front of the cleaning robot by using an LDS (Laser Distance Sensor, laser distance sensor).
在步骤702c中,若行驶里程的变化值超过预定范围,且位置未发生变化,则确定清洁机器人处于障碍物阻碍状态。In
本方法是检测驱动轮的打滑状态的一种实现方法,还可以根据轮子打滑行为的运动特点、电学特性设计其他实现方法。The method is an implementation method for detecting the slip state of the driving wheel, and other implementation methods can also be designed according to the motion characteristics and electrical characteristics of the slip behavior of the wheel.
可选的,预定范围是清洁机器人在出厂时由生成厂家设置的。行驶里程的变化范围为在预定范围之内说明清洁机器人的位置未发生变化。Optionally, the predetermined range is set by the manufacturer when the cleaning robot leaves the factory. The variation range of the mileage is within the predetermined range, indicating that the position of the cleaning robot has not changed.
当清洁机器人处于打滑状态时,驱动轮转动,驱动轮的行驶里程发生变化,当驱动轮的行驶里程超过预定范围时,清洁机器人的位置应该发生改变,而实际上清洁机器人的位置并未发生变化,由此可以确定清洁机器人处于障碍物阻碍状态。When the cleaning robot is in a slipping state, the driving wheel rotates, and the mileage of the driving wheel changes. When the driving mileage of the driving wheel exceeds the predetermined range, the position of the cleaning robot should change, but in fact the position of the cleaning robot does not change. , so that it can be determined that the cleaning robot is in a state of obstruction by obstacles.
如图7D所示,清洁机器人的驱动轮71在转动,但清洁机器人的LDS72测量距离前方障碍物73的距离L未发生变化,驱动轮71的行驶里程的变化值超过预定范围,但距离L未发生变化,则确定清洁机器人处于障碍物阻碍状态。As shown in FIG. 7D , the
四、根据清洁机器人的驱动电流判断清洁机器人是否出于障碍物阻碍状态,如图7E所示:4. According to the driving current of the cleaning robot, determine whether the cleaning robot is in a state of obstruction, as shown in Figure 7E:
在步骤701e中,检测驱动电流是否大于预定电流值。In
获取与驱动轮连接的电机的驱动电流,检测驱动电流是否大于预定电流值。Obtain the drive current of the motor connected to the drive wheel, and detect whether the drive current is greater than a predetermined current value.
本方法是检测驱动轮的卡死状态的一种实现方法,还可以根据轮子卡死行为的运动特点、电学特性设计其他实现方法。The method is an implementation method for detecting the stuck state of the driving wheel, and other implementation methods can also be designed according to the motion characteristics and electrical characteristics of the stuck behavior of the wheel.
可选的,预定电流值是清洁机器人在打滑时设定的阈值,可选的,预定电流值是大于清洁机器人在正常行进过程中的最大电流值的取值。Optionally, the predetermined current value is a threshold value set by the cleaning robot when it slips, and optionally, the predetermined current value is a value greater than the maximum current value of the cleaning robot during normal travel.
可选的,预定电流值是驱动轮在转动过程中被外力停止转动时电流的阈值,可选的,预定电流值是驱动轮在转动过程中被外力停止转动时的最小电流值。Optionally, the predetermined current value is a threshold value of the current when the driving wheel is stopped by an external force during the rotation process. Optionally, the predetermined current value is the minimum current value when the driving wheel is stopped by an external force during the rotation process.
在步骤702e中,若驱动电流大于预定电流值,则确定清洁机器人处于障碍物阻碍状态。In
五、根据清洁机器人的机身状态判断清洁机器人是否出于障碍物阻碍状态,如图7F所示:5. According to the body state of the cleaning robot, determine whether the cleaning robot is in a state of obstruction, as shown in Figure 7F:
在步骤701f中,检测清洁机器人是否发生倾斜。In
检测清洁机器人是否发生倾斜有如下两种方法:There are two ways to detect whether the cleaning robot is tilted:
(一)通过三轴加速度计获取清洁机器人在X轴上的平均加速度分量;检测平均加速度分量是否大于第一预定阈值;若平均加速度分量大于第一预定阈值,则确定清洁机器人发生倾斜。(1) Obtain the average acceleration component of the cleaning robot on the X-axis through a three-axis accelerometer; detect whether the average acceleration component is greater than the first predetermined threshold; if the average acceleration component is greater than the first predetermined threshold, it is determined that the cleaning robot is tilted.
当清洁机器人未发生倾斜时,在X轴上的平均加速度分量为零。可选的,第一预定阈值为零。When the cleaning robot is not tilted, the average acceleration component on the X axis is zero. Optionally, the first predetermined threshold is zero.
(二)通过陀螺仪获取清洁机器人在Y轴上的瞬时角速度分量;检测瞬时角速度分量是否大于第二阈值;若瞬时角速度分量大于第二阈值,则确定清洁机器人发生倾斜。(2) Obtain the instantaneous angular velocity component of the cleaning robot on the Y-axis through the gyroscope; detect whether the instantaneous angular velocity component is greater than the second threshold; if the instantaneous angular velocity component is greater than the second threshold, determine that the cleaning robot is tilted.
当清洁机器人未发生倾斜时,在Y轴上的瞬时角速度分量为零。可选的,第二预定阈值为零。When the cleaning robot is not tilted, the instantaneous angular velocity component on the Y axis is zero. Optionally, the second predetermined threshold is zero.
在步骤702f中,若清洁机器人发生倾斜,则确定清洁机器人处于障碍物阻碍状态。In
需要说明的是,本公开实施例中提及的“一”、“二”、“三”等序数词,除非根据上下文其确实表达顺之意,应当理解为仅仅是起区分之用。It should be noted that the ordinal numbers such as "one", "two", and "three" mentioned in the embodiments of the present disclosure should be understood as only for distinction unless they really express the meaning of conformity according to the context.
在步骤602中,若清洁机器人处于障碍物阻碍状态,则获取清洁机器人的倾斜角度。In step 602, if the cleaning robot is in an obstacle blocking state, the inclination angle of the cleaning robot is acquired.
获取清洁机器人的倾斜角度有如下几种方法:There are several ways to obtain the tilt angle of the cleaning robot:
一、通过三轴加速度计获取清洁机器人在X轴上的平均加速度分量;再通过预先存储的平均加速度分量与倾斜角度的对应关系,确定倾斜角度。1. Obtain the average acceleration component of the cleaning robot on the X-axis through a three-axis accelerometer; and then determine the inclination angle through the pre-stored correspondence between the average acceleration component and the inclination angle.
清洁机器人的存储单元中存储有X轴上的平均加速度分量和倾斜角度的一一对应关系,清洁机器人的计算单元获取到X轴上的平均加速度分量后,确定与之对应的倾斜角度。The storage unit of the cleaning robot stores a one-to-one correspondence between the average acceleration component on the X axis and the tilt angle. After the computing unit of the cleaning robot obtains the average acceleration component on the X axis, it determines the corresponding tilt angle.
二、通过六轴陀螺仪获取清洁机器人的倾斜角度。2. Obtain the inclination angle of the cleaning robot through a six-axis gyroscope.
六轴陀螺仪是同时具有三轴加速度计功能和三轴陀螺仪功能的设备,清洁机器人的计算单元通过六轴陀螺仪获取清洁机器人的欧拉角,也即得到清洁机器人的倾斜角度。The six-axis gyroscope is a device with both three-axis accelerometer functions and three-axis gyroscope functions. The computing unit of the cleaning robot obtains the Euler angle of the cleaning robot through the six-axis gyroscope, that is, the inclination angle of the cleaning robot.
三、通过三轴加速度计获取的加速度分量计算倾斜角度:3. Calculate the tilt angle through the acceleration component obtained by the three-axis accelerometer:
(1)通过三轴加速度计获取清洁机器人在X轴上的第一加速度分量和清洁机器人在Z轴上的第二加速度分量。(1) Obtain the first acceleration component of the cleaning robot on the X-axis and the second acceleration component of the cleaning robot on the Z-axis through a three-axis accelerometer.
(2)利用第一加速度分量和第二加速度分量之间的三角函数关系计算出倾斜角度。(2) The tilt angle is calculated using the trigonometric function relationship between the first acceleration component and the second acceleration component.
如图8A所示,通过三轴加速度计获取清洁机器人在X轴方向上的第一加速度分量Rx,在Z轴方向上的第二加速度分量Rz。As shown in FIG. 8A , the first acceleration component R x in the X-axis direction and the second acceleration component R z in the Z-axis direction of the cleaning robot are acquired through a three-axis accelerometer.
利用公式一,得到倾斜机器人的倾斜角度θ;Using formula 1, the inclination angle θ of the inclined robot is obtained;
θ=arctan(Rx/Rz) (公式一)。θ=arctan(R x /R z ) (Formula 1).
四、通过陀螺仪获取瞬时角速度,对瞬时角速度进行积分计算出倾斜角度:4. Obtain the instantaneous angular velocity through the gyroscope, and integrate the instantaneous angular velocity to calculate the inclination angle:
(1)通过陀螺仪获取清洁机器人从第一时间点到第二时间点的时间段内,根据预定时间间隔获取的瞬时角速度。(1) Obtain the instantaneous angular velocity of the cleaning robot according to a predetermined time interval in the time period from the first time point to the second time point by using the gyroscope.
其中,第一时间点是清洁机器人在处于障碍物阻碍状态时的时间点,第二时间点是清洁机器人在处于障碍物障碍状态之前的最近时间点。Wherein, the first time point is the time point when the cleaning robot is in the obstacle blocking state, and the second time point is the latest time point before the cleaning robot is in the obstacle obstacle state.
可选的,预定时间间隔为采样时间间隔。Optionally, the predetermined time interval is a sampling time interval.
从第一时间点到第二时间点的时间段内,根据预定时间间隔,获取各个时间点的瞬时角速度。In the time period from the first time point to the second time point, the instantaneous angular velocity of each time point is acquired according to a predetermined time interval.
(2)对瞬时角速度和时间段进行积分,计算出倾斜角度。(2) Integrate the instantaneous angular velocity and the time period to calculate the inclination angle.
利用公式二,对获取到的瞬时角速度和时间段进行积分,计算出倾斜角度计算倾斜角度θ;Using formula 2, the obtained instantaneous angular velocity and time period are integrated to calculate the inclination angle to calculate the inclination angle θ;
其中,wn为瞬时角速度,T为从正常运行时到处于障碍物阻碍状态的一段时间。Among them, w n is the instantaneous angular velocity, and T is the period of time from the normal operation to the obstacle blocking state.
五、利用三轴加速度计和陀螺仪联合计算出倾斜角度:Fifth, use the three-axis accelerometer and gyroscope to jointly calculate the tilt angle:
(1)通过陀螺仪获取清洁机器人从第一时间点到第二时间点的时间段内,根据预定时间间隔获取的瞬时角速度。(1) Obtain the instantaneous angular velocity of the cleaning robot according to a predetermined time interval in the time period from the first time point to the second time point by using the gyroscope.
其中,第一时间点是清洁机器人在处于障碍物阻碍状态时的时间点,第二时间点是清洁机器人在处于障碍物障碍状态之前的最近时间点。Wherein, the first time point is the time point when the cleaning robot is in the obstacle blocking state, and the second time point is the latest time point before the cleaning robot is in the obstacle obstacle state.
该步骤在方法四中已经详细阐述,这里不再赘述。This step has been described in detail in Method 4, and will not be repeated here.
(2)对瞬时角速度和时间端进行积分,计算出第一倾斜角度。(2) Integrate the instantaneous angular velocity and the time end to calculate the first tilt angle.
该步骤在方法四中已经详细阐述,这里不再赘述。This step has been described in detail in Method 4, and will not be repeated here.
(3)通过加速度计计算出陀螺仪的偏移值。(3) Calculate the offset value of the gyroscope through the accelerometer.
可选的,根据特定的融合算法计算出陀螺仪的偏移值。Optionally, the offset value of the gyroscope is calculated according to a specific fusion algorithm.
(4)利用偏移值对第一倾斜角度进行校准,得到第二倾斜角度。(4) Use the offset value to calibrate the first inclination angle to obtain the second inclination angle.
可选的,根据特定的融合算法利用偏移值对第一倾斜角度进行校准,得到第二倾斜角度。Optionally, the offset value is used to calibrate the first tilt angle according to a specific fusion algorithm to obtain the second tilt angle.
六、通过LDS对前方障碍物的距离测量值的变化规律计算倾斜角度:6. Calculate the inclination angle through the change law of the distance measurement value of the obstacle in front of the LDS:
(1)通过LDS获取清洁机器人在第一时间点距离前方障碍物的第一距离值,获取清洁机器人在第二时间点距离前方障碍物的第二距离值。(1) Obtain the first distance value of the cleaning robot from the front obstacle at the first time point through LDS, and obtain the second distance value of the cleaning robot from the front obstacle at the second time point.
其中,第一时间点是清洁机器人在处于障碍物阻碍状态时的时间点,第二时间点是清洁机器人在处于障碍物障碍状态之前的最近时间点。Wherein, the first time point is the time point when the cleaning robot is in the obstacle blocking state, and the second time point is the latest time point before the cleaning robot is in the obstacle obstacle state.
可选的,前方障碍物不是令清洁机器人处于障碍物阻碍状态的障碍物。比如:令清洁机器人处于障碍物阻碍状态的障碍物是电线,前方障碍物是电线前方的墙壁。Optionally, the obstacle ahead is not an obstacle that makes the cleaning robot in an obstacle blocking state. For example: the obstacle that makes the cleaning robot in the obstacle blocking state is the wire, and the obstacle in front is the wall in front of the wire.
可选的,在计算倾斜角度时,作为参照物的前方障碍物是同一个障碍物。Optionally, when calculating the inclination angle, the front obstacle as the reference object is the same obstacle.
(2)利用第一距离值和第二距离值之间的三函数形关系计算出倾斜角度。(2) The inclination angle is calculated using the trifunctional relationship between the first distance value and the second distance value.
利用第二距离值,第二时间点和第一时间点之前的时间差值,以及清洁机器人在正常行进时的速度,计算出清洁机器人在第一时间点距离前方障碍物的理论距离值。Using the second distance value, the time difference between the second time point and the first time point, and the speed of the cleaning robot during normal travel, the theoretical distance value of the cleaning robot from the obstacle ahead at the first time point is calculated.
比如,如图8B所示,在第一时间点T1测得距离前方障碍物的第一距离值L1=15,在第二时间点T2测得距离前方障碍物的第二距离值L2=10;再利用第一时间点T1和第二时间点T2之间相差的时间间隔,清洁机器人在正常行进时的速度,计算出在第二时间点T2距离前方障碍物的理论距离值为L3=4;根据公式三计算倾斜角度:For example, as shown in FIG. 8B, the first distance value L1=15 from the obstacle in front is measured at the first time point T1, and the second distance value L2=10 from the obstacle in front is measured at the second time point T2; Then use the time interval of the difference between the first time point T1 and the second time point T2, the speed of the cleaning robot during normal travel, and calculate the theoretical distance value L3=4 from the obstacle in front of the second time point T2; Calculate the tilt angle according to formula 3:
θ=arccos(L3/L2) 公式三θ=arccos(L 3 /L 2 ) Formula 3
七、通过悬崖传感器获取清洁机器人在不同时间点距离地面的距离来计算倾斜角度:7. Obtain the distance of the cleaning robot from the ground at different time points through the cliff sensor to calculate the tilt angle:
(1)通过悬崖传感器获取清洁机器人在第一时间点距离接触面的第三距离值,清洁机器人在第二时间点距离接触面的第四距离值,获取清洁机器人在第一时间点的位置和第二时间点的位置之间的直线距离。(1) Obtain the third distance value of the cleaning robot from the contact surface at the first time point through the cliff sensor, the fourth distance value of the cleaning robot from the contact surface at the second time point, and obtain the position and the position of the cleaning robot at the first time point and the contact surface. The straight-line distance between the positions of the second time point.
其中,接触面是机器人进行清洁任务的平面,通常是地面,或桌面。第一时间点是清洁机器人在处于障碍物阻碍状态时的时间点,第二时间点是清洁机器人在处于障碍物障碍状态之前的最近时间点。Among them, the contact surface is the plane on which the robot performs the cleaning task, usually the ground, or the table top. The first time point is the time point when the cleaning robot is in the obstacle blocking state, and the second time point is the closest time point before the cleaning robot is in the obstacle blocking state.
(2)根据第三距离值、第四距离值和直线距离之间的三角形关系计算出倾斜角度。(2) Calculate the inclination angle according to the triangular relationship between the third distance value, the fourth distance value and the straight-line distance.
比如,如图8C所示,图中上半部分示出了在时间点T3测得的距离L4,在时间点T4测得的距离L5,以及清洁机器人在时间点T3和T4处相距的直线距离L6,图中下半部分示出了L4、L5、L6之间的三角关系,根据公式四得到倾斜角度θ:For example, as shown in Figure 8C, the upper part of the figure shows the distance L4 measured at time point T3, the distance L5 measured at time point T4, and the straight-line distance between the cleaning robots at time points T3 and T4 L6, the lower part of the figure shows the triangular relationship between L4, L5, and L6, and the inclination angle θ is obtained according to formula 4:
θ=arctan(L6/(L5-L4)) 公式四θ=arctan(L 6 /(L 5 -L 4 )) Formula 4
需要说明的是,本公开实施例中提及的“一”、“二”、“三”等序数词,除非根据上下文其确实表达顺之意,应当理解为仅仅是起区分之用。It should be noted that the ordinal numbers such as "one", "two", and "three" mentioned in the embodiments of the present disclosure should be understood as only for distinction unless they really express the meaning of conformity according to the context.
在步骤603中,若倾斜角度小于预定角度,则先控制一个驱动轮对障碍物进行跨越,再控制另一个驱动轮对障碍物进行跨越。In
可选的,当倾斜角度大于预定角度时,控制清洁机器人沿第一方向行进,第一方向与第二方向相反,第二方向是清洁机器人处于障碍物阻碍状态之前的行进方向。Optionally, when the inclination angle is greater than the predetermined angle, the cleaning robot is controlled to travel in a first direction, the first direction is opposite to the second direction, and the second direction is the travel direction of the cleaning robot before the obstacle is blocked.
可选的,预定角度是在一般情况下,清洁机器人处于障碍物阻碍状态且该障碍物能够被跨越时,清洁机器人的机身倾斜的角度。Optionally, the predetermined angle is an angle at which the body of the cleaning robot is inclined when the cleaning robot is in an obstacle blocking state and the obstacle can be crossed under normal circumstances.
可选的,预定角度是清洁机器人处于障碍物阻碍状态且该障碍物能够被跨越时,清洁机器人的机身倾斜的最大角度,比如:清洁机器人最大能够跨越高度为两厘米的障碍物,当清洁机器人被高度为两厘米的障碍物阻碍时机身发生倾斜,倾斜角度为5度,也即预定角度为5度。Optionally, the predetermined angle is the maximum angle at which the body of the cleaning robot is tilted when the cleaning robot is in a state of being obstructed by an obstacle and the obstacle can be crossed. When the robot is blocked by an obstacle with a height of two centimeters, the body tilts, and the tilt angle is 5 degrees, that is, the predetermined angle is 5 degrees.
可选的,当清洁机器人处于障碍物阻碍状态,且倾斜角度趋近于零时,清洁机器人可能受到在行进路线中的在竖直方向上的缓变的障碍物的阻碍,此时,控制清洁机器人以与处于障碍物阻碍状态之前的行进方向相反的行进方向行进。比如:清洁机器人受到前方墙壁的阻碍,则控制清洁机器人沿后退方向行进。Optionally, when the cleaning robot is in an obstacle blocking state and the inclination angle is close to zero, the cleaning robot may be hindered by a slowly changing obstacle in the vertical direction in the travel route. At this time, the cleaning robot is controlled to clean. The robot travels in a travel direction opposite to the travel direction before being in the obstacle blocking state. For example, if the cleaning robot is obstructed by the wall in front, the cleaning robot is controlled to travel in the backward direction.
可选的,清洁机器人包括两个并列的驱动轮,控制其中一个驱动轮对障碍物进行跨越的实现方式可以有如下几种:Optionally, the cleaning robot includes two parallel driving wheels, and the implementation of controlling one of the driving wheels to span the obstacles can be as follows:
一、控制一个驱动轮沿第一方向行进,控制另一个驱动轮沿第二方向行进,其中,第一方向与第二方向相反。1. Control one driving wheel to travel in a first direction, and control the other driving wheel to travel in a second direction, wherein the first direction is opposite to the second direction.
其中,第一方向是清洁机器人处于障碍物阻碍状态之前的行进方向。Wherein, the first direction is the traveling direction of the cleaning robot before the obstacle is blocked.
二、控制一个驱动轮的以第一速度沿第一方向行进,控制另一个驱动轮以第二速度沿第一方向行进,第一速度大于第二速度。2. Control one driving wheel to travel in a first direction at a first speed, and control the other driving wheel to travel in a first direction at a second speed, and the first speed is greater than the second speed.
三、控制一个驱动轮沿第一方向行进,控制另一个驱动轮保持静止。3. Control one driving wheel to travel in the first direction, and control the other driving wheel to remain stationary.
需要说明的是,本公开实施例中提及的“一”、“二”、“三”等序数词,除非根据上下文其确实表达顺之意,应当理解为仅仅是起区分之用。It should be noted that the ordinal numbers such as "one", "two", and "three" mentioned in the embodiments of the present disclosure should be understood as only for distinction unless they really express the meaning of conformity according to the context.
综上所述,本公开实施例提供的障碍物跨越方法,通过在清洁机器人沿前进方向行进时,检测清洁机器人是否处于障碍物阻碍状态,在清洁机器人处于障碍物阻碍状态时,清洁机器人发生倾斜,获取清洁机器人的倾斜角度,当倾斜角度小于预定角度时,控制清洁机器人对障碍物进行跨越,解决了清洁机器人在运行过程中因为障碍物的阻碍无法继续清洁任务,需要外界的帮助才能继续清洁任务的问题,使得清洁机器人能够独立地完成脱困和对障碍物的跨越,提高了清洁机器人的工作适应能力。本发明的清洁机器人能够对自身状态进行感知,并根据该状态自行判断是越障继续前进还是返回,使得清洁机器人在各种复杂环境中都能自动继续进行工作,而不必请求人工干预,大大增强了清洁机器人的全自动化。To sum up, the obstacle crossing method provided by the embodiments of the present disclosure detects whether the cleaning robot is in the obstacle blocking state when the cleaning robot travels in the forward direction, and when the cleaning robot is in the obstacle blocking state, the cleaning robot tilts , get the inclination angle of the cleaning robot, when the inclination angle is less than the predetermined angle, control the cleaning robot to cross the obstacle, which solves the problem that the cleaning robot cannot continue the cleaning task due to obstacles during operation, and needs outside help to continue cleaning. The problem of the task enables the cleaning robot to independently complete the escape and overcome obstacles, which improves the work adaptability of the cleaning robot. The cleaning robot of the present invention can perceive its own state, and according to the state, judge by itself whether to go ahead or return after crossing the obstacle, so that the cleaning robot can automatically continue to work in various complex environments without requiring manual intervention, which greatly enhances the Full automation of cleaning robots.
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。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.
Claims (18)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610394236.7A CN107456173B (en) | 2016-06-06 | 2016-06-06 | Obstacle crossing method and device |
CN202011273298.5A CN112617698B (en) | 2016-06-06 | 2016-06-06 | Obstacle crossing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610394236.7A CN107456173B (en) | 2016-06-06 | 2016-06-06 | Obstacle crossing method and device |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011273298.5A Division CN112617698B (en) | 2016-06-06 | 2016-06-06 | Obstacle crossing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107456173A CN107456173A (en) | 2017-12-12 |
CN107456173B true CN107456173B (en) | 2020-12-04 |
Family
ID=60545315
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011273298.5A Active CN112617698B (en) | 2016-06-06 | 2016-06-06 | Obstacle crossing method and device |
CN201610394236.7A Active CN107456173B (en) | 2016-06-06 | 2016-06-06 | Obstacle crossing method and device |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011273298.5A Active CN112617698B (en) | 2016-06-06 | 2016-06-06 | Obstacle crossing method and device |
Country Status (1)
Country | Link |
---|---|
CN (2) | CN112617698B (en) |
Families Citing this family (26)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108113583B (en) * | 2017-12-30 | 2020-07-14 | 珠海市一微半导体有限公司 | Cleaning method and system of cleaning robot |
CN108427411A (en) * | 2018-02-28 | 2018-08-21 | 北京奇虎科技有限公司 | A kind for the treatment of method and apparatus of getting rid of poverty of robot |
CN108681325B (en) * | 2018-05-14 | 2021-02-23 | 珠海市一微半导体有限公司 | Elevation angle detection method based on accelerometer for robot and stuck detection and stuck-out method |
CN108628312B (en) * | 2018-05-14 | 2021-11-19 | 珠海一微半导体股份有限公司 | Method for detecting stuck robot, method for controlling stuck robot and chip |
CN108613656B (en) * | 2018-05-14 | 2020-12-15 | 珠海市一微半导体有限公司 | Method for detecting stuck robot based on six-axis gyroscope |
CN110936370A (en) * | 2018-09-25 | 2020-03-31 | 格力电器(武汉)有限公司 | Cleaning robot control method and device |
CN111240311B (en) * | 2018-11-29 | 2024-08-23 | 北京奇虎科技有限公司 | Obstacle meeting processing method, device and equipment of sweeping robot and readable storage medium |
CN111358350B (en) * | 2018-12-25 | 2022-04-15 | 美智纵横科技有限责任公司 | Mobile device, detection method, and storage medium |
CN109512342B (en) * | 2018-12-25 | 2022-03-25 | 深圳市云鼠科技开发有限公司 | Sweeping robot based on gyroscope and attitude detection and escaping method |
CN109674391A (en) * | 2018-12-28 | 2019-04-26 | 上海石猴智能科技有限公司 | A kind of glass-cleaning robot obstacle detector and detection method |
CN109772841B (en) | 2019-01-23 | 2021-09-03 | 合肥仁洁智能科技有限公司 | Photovoltaic module cleaning robot and obstacle crossing control method and device thereof |
CN111700543B (en) * | 2019-03-18 | 2022-12-02 | 北京奇虎科技有限公司 | Obstacle handling method, device, equipment and computer readable storage medium |
CN110244743B (en) * | 2019-07-03 | 2022-02-01 | 浙江大学 | Mobile robot autonomous escaping method fusing multi-sensor information |
CN110427023A (en) * | 2019-07-10 | 2019-11-08 | 北京云迹科技有限公司 | The control method for movement of robot |
KR102811450B1 (en) | 2019-07-31 | 2025-05-21 | 엘지전자 주식회사 | AI Robot Cleaner And Robot system having the same |
CN110495825B (en) * | 2019-08-16 | 2021-06-22 | 云鲸智能科技(东莞)有限公司 | Obstacle crossing method for cleaning robot, and storage medium |
CN110477820B (en) * | 2019-08-16 | 2021-11-16 | 云鲸智能科技(东莞)有限公司 | Obstacle following cleaning method for cleaning robot, and storage medium |
CN110502014A (en) * | 2019-08-22 | 2019-11-26 | 深圳乐动机器人有限公司 | A kind of method and robot of robot obstacle-avoiding |
CN112690710B (en) * | 2020-12-29 | 2021-10-26 | 深圳市云视机器人有限公司 | Obstacle trafficability judging method, obstacle trafficability judging device, computer device, and storage medium |
CN112641390A (en) * | 2021-01-14 | 2021-04-13 | 深圳信息职业技术学院 | Method for getting rid of difficulties of sweeping robot |
CN113303705B (en) * | 2021-06-18 | 2023-01-10 | 云鲸智能(深圳)有限公司 | Control method and device for cleaning robot, cleaning robot and storage medium |
CN113633222B (en) * | 2021-07-14 | 2022-11-01 | 湖南格兰博智能科技有限责任公司 | Obstacle crossing algorithm suitable for sweeper |
CN114098540B (en) * | 2021-12-07 | 2023-02-21 | 湖南格兰博智能科技有限责任公司 | Obstacle crossing method for sweeping robot |
CN116407040A (en) * | 2021-12-31 | 2023-07-11 | 追觅创新科技(苏州)有限公司 | Traveling method and system of cleaning robot and cleaning robot |
CN115349775A (en) * | 2022-09-20 | 2022-11-18 | 杭州景吾智能科技有限公司 | Method and system for real-time adjustment of cleaning track of cleaning robot |
CN115373406B (en) * | 2022-10-24 | 2023-01-20 | 深圳市捷牛智能装备有限公司 | Obstacle crossing method and system for crawling robot |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101196744A (en) * | 2006-12-06 | 2008-06-11 | 三星光州电子株式会社 | Robot cleaner system and control method thereof |
KR20100104621A (en) * | 2009-03-18 | 2010-09-29 | 에이스전자(주) | robotic vacuum |
CN102121828A (en) * | 2010-12-21 | 2011-07-13 | 浙江大学 | Method for estimating body posture angle of humanoid robot in real time |
CN102849138A (en) * | 2011-06-28 | 2013-01-02 | 三星电子株式会社 | Step climbing device for moving robots |
CN103142234A (en) * | 2013-01-25 | 2013-06-12 | 中国科学院深圳先进技术研究院 | Sensor system and method for judging body falldown and body protection device |
JP2014061375A (en) * | 2012-09-19 | 2014-04-10 | Vorwerk & Co Interholding Gmbh | Automatically traveling floor cleaner, and operation method for the same |
CN104000541A (en) * | 2014-06-16 | 2014-08-27 | 成都北斗群星智能科技有限公司 | Floor sweeping robot with threshold detection function and threshold detection method thereof |
CN205247205U (en) * | 2015-03-18 | 2016-05-18 | 美国iRobot公司 | Autonomic robot |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101812021B1 (en) * | 2011-09-30 | 2017-12-27 | 삼성전자주식회사 | Robot cleaner |
KR102093177B1 (en) * | 2013-10-31 | 2020-03-25 | 엘지전자 주식회사 | Moving Robot and operating method |
US9480380B2 (en) * | 2013-12-04 | 2016-11-01 | Samsung Electronics Co., Ltd. | Cleaning robot and control method thereof |
KR102072387B1 (en) * | 2014-03-20 | 2020-02-03 | 삼성전자주식회사 | Robot cleaner and method for controlling the same |
CN104002880B (en) * | 2014-06-03 | 2016-03-23 | 东南大学 | A control method for a crawler-type mobile robot with a guide arm to go up and down stairs autonomously |
US9993129B2 (en) * | 2015-02-13 | 2018-06-12 | Irobot Corporation | Mobile floor-cleaning robot with floor-type detection |
CN105365483B (en) * | 2015-12-23 | 2019-06-25 | 联想(北京)有限公司 | Obstacle detouring castor assembly and wheeled apparatus including the obstacle detouring castor assembly |
-
2016
- 2016-06-06 CN CN202011273298.5A patent/CN112617698B/en active Active
- 2016-06-06 CN CN201610394236.7A patent/CN107456173B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101196744A (en) * | 2006-12-06 | 2008-06-11 | 三星光州电子株式会社 | Robot cleaner system and control method thereof |
KR20100104621A (en) * | 2009-03-18 | 2010-09-29 | 에이스전자(주) | robotic vacuum |
CN102121828A (en) * | 2010-12-21 | 2011-07-13 | 浙江大学 | Method for estimating body posture angle of humanoid robot in real time |
CN102849138A (en) * | 2011-06-28 | 2013-01-02 | 三星电子株式会社 | Step climbing device for moving robots |
JP2014061375A (en) * | 2012-09-19 | 2014-04-10 | Vorwerk & Co Interholding Gmbh | Automatically traveling floor cleaner, and operation method for the same |
CN103142234A (en) * | 2013-01-25 | 2013-06-12 | 中国科学院深圳先进技术研究院 | Sensor system and method for judging body falldown and body protection device |
CN104000541A (en) * | 2014-06-16 | 2014-08-27 | 成都北斗群星智能科技有限公司 | Floor sweeping robot with threshold detection function and threshold detection method thereof |
CN205247205U (en) * | 2015-03-18 | 2016-05-18 | 美国iRobot公司 | Autonomic robot |
Also Published As
Publication number | Publication date |
---|---|
CN112617698B (en) | 2023-03-14 |
CN112617698A (en) | 2021-04-09 |
CN107456173A (en) | 2017-12-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107456173B (en) | Obstacle crossing method and device | |
CN107456172B (en) | Cleaning robot and obstacle crossing method | |
CN107092260B (en) | Mobile robot and method for crossing obstacles | |
US10124490B2 (en) | Autonomous mobile robot | |
EP2677386B1 (en) | Robot cleaner and obstacle detection control method of the same | |
US9278690B2 (en) | Autonomous mobile robot | |
JP2020509500A (en) | Control method of autonomous mobile robot | |
JP2016131888A (en) | Robot cleaner and method for controlling robot cleaner | |
CN109506652B (en) | Optical flow data fusion method based on carpet migration and cleaning robot | |
US11986137B2 (en) | Mobile robot | |
JP2020511193A (en) | Estimating the wheel slip of a robot cleaning device | |
KR20170121768A (en) | Wall climbing robot with multi joint legs to handle obstacles | |
JP2023011493A (en) | AUTONOMOUS CLEANING DEVICE RUNNING CONTROL METHOD, DEVICE, SYSTEM AND MEDIUM | |
KR20050010591A (en) | The control Methode of cleaning path for cleaning robot | |
KR20080041890A (en) | External force sensing method of robot cleaner, recording medium recording the same and robot cleaner using the same | |
JP2005346477A (en) | Autonomous vehicle | |
JPH02235114A (en) | Moving vehicle | |
JP2024101125A (en) | Traveling map generation device, autonomous traveling robot, traveling map generation method, and program | |
JPH04266734A (en) | Running robot | |
KR20230092551A (en) | Robot Cleaner And Robot system having the same |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | 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 | ||
CB02 | Change of applicant information |
Address after: 100085 Huarun Qingcai Street 68, Haidian District, Beijing, two stage, 9 floor, 01 rooms. Applicant after: BEIJING XIAOMI MOBILE SOFTWARE Co.,Ltd. Applicant after: Beijing Roborock Technology Co.,Ltd. Address before: 100085 Huarun Qingcai Street 68, Haidian District, Beijing, two stage, 9 floor, 01 rooms. Applicant before: BEIJING XIAOMI MOBILE SOFTWARE Co.,Ltd. Applicant before: Beijing Roborock Technology Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |