CN117502976A - Self-moving cleaning equipment and control method thereof - Google Patents
Self-moving cleaning equipment and control method thereof Download PDFInfo
- Publication number
- CN117502976A CN117502976A CN202311634649.4A CN202311634649A CN117502976A CN 117502976 A CN117502976 A CN 117502976A CN 202311634649 A CN202311634649 A CN 202311634649A CN 117502976 A CN117502976 A CN 117502976A
- Authority
- CN
- China
- Prior art keywords
- optical sensor
- self
- target
- current detection
- detection
- 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.)
- Pending
Links
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/28—Floor-scrubbing machines, motor-driven
- A47L11/284—Floor-scrubbing machines, motor-driven having reciprocating tools
-
- 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
- A47L11/282—Floor-scrubbing machines, motor-driven having rotary tools
-
- 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/4002—Installations of electric equipment
-
- 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/4036—Parts or details of the surface treating tools
-
- 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/4036—Parts or details of the surface treating tools
- A47L11/4041—Roll shaped surface treating tools
-
- 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/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/408—Means for supplying cleaning or surface treating agents
- A47L11/4083—Liquid supply reservoirs; Preparation of the agents, e.g. mixing devices
-
- 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/408—Means for supplying cleaning or surface treating agents
- A47L11/4088—Supply pumps; Spraying devices; Supply conduits
Landscapes
- Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)
Abstract
本发明实施例公开了一种自移动清洁设备及其控制方法,获取待清洁区域中所有安全区域的位置;当自移动清洁设备行进至任意一个安全区域时,获取自移动清洁设备的光学传感器的当前检测参数;将光学传感器的当前检测参数调整为目标检测参数;基于目标检测参数,判断安全区域是否存在悬崖,若是,则执行避让策略,若否,则完成安全区域对应的任务,这样能够避免光学传感器将安全区域误判为悬崖的情况发生,并且光学传感器仍具有一定的检测能力,从而降低自移动清洁设备在安全区域中因悬崖而跌落的几率;当自移动清洁设备移出安全区域时,将目标校准检测参数调整为当前检测参数,以恢复光学光感器的检测精度,保证光学传感器在其他区域检测的准确性。
Embodiments of the present invention disclose a self-moving cleaning equipment and a control method thereof, which obtain the positions of all safe areas in the area to be cleaned; when the self-moving cleaning equipment travels to any safe area, the position of the optical sensor of the self-moving cleaning equipment is obtained. Current detection parameters; adjust the current detection parameters of the optical sensor to the target detection parameters; based on the target detection parameters, determine whether there is a cliff in the safe area. If so, execute the avoidance strategy. If not, complete the tasks corresponding to the safe area. This can avoid It happens that the optical sensor misjudges the safe area as a cliff, and the optical sensor still has certain detection capabilities, thereby reducing the probability of the self-mobile cleaning equipment falling due to the cliff in the safe area; when the self-mobile cleaning equipment moves out of the safe area, Adjust the target calibration detection parameters to the current detection parameters to restore the detection accuracy of the optical sensor and ensure the detection accuracy of the optical sensor in other areas.
Description
技术领域Technical field
本发明涉及智能家居技术领域,具体而言涉及一种自移动清洁设备及其控制方法。The present invention relates to the field of smart home technology, and specifically to a self-moving cleaning equipment and a control method thereof.
背景技术Background technique
随着智能清洁技术的发展,自移动清洁设备(如扫地机器人)走进越来越多的家庭,这在很大程度上减轻了人们进行房屋清扫的负担。在自移动清洁设备进行清洁作业的过程时,可能会遇到有台阶、楼梯或者高度落差的区域,由此需要自移动清洁设备在行进的过程中,能够准确检测到悬崖,并做出避让策略,以避免自移动清洁设备发生跌落。With the development of smart cleaning technology, self-mobile cleaning equipment (such as sweeping robots) has entered more and more households, which has greatly reduced people's burden of house cleaning. During the cleaning operation of the self-mobile cleaning equipment, you may encounter areas with steps, stairs or height differences. Therefore, the self-mobile cleaning equipment needs to be able to accurately detect cliffs and make avoidance strategies while traveling. , to prevent the mobile cleaning equipment from falling.
目前,通常利用安装在自移动清洁设备的光学传感器来探测待清洁区域是否存在悬崖。但是,当自移动清洁设备因翻越障碍物(如门槛等)而产生倾斜,或者遇到深色毛毯等吸光区域时,均会使光学传感器将上述区域误判为悬崖,从而导致自移动清洁设备执行避让策略,使其无法完成翻越障碍物或清洁深色毛毯等吸光区域的任务,进而不利于用户对自移动清洁设备的使用。Currently, optical sensors installed on self-moving cleaning equipment are usually used to detect whether there is a cliff in the area to be cleaned. However, when the self-moving cleaning equipment tilts due to climbing over obstacles (such as thresholds, etc.), or encounters light-absorbing areas such as dark carpets, the optical sensor will misjudge the above area as a cliff, causing the self-moving cleaning equipment to Implementing an avoidance strategy makes it impossible to complete the task of climbing over obstacles or cleaning light-absorbing areas such as dark carpets, which in turn is not conducive to the user's use of self-mobile cleaning equipment.
发明内容Contents of the invention
在发明内容部分中引入了一系列简化形式的概念,这将在具体实施方式部分中进一步详细说明。本发明的发明内容部分并不意味着要试图限定出所要求保护的技术方案的关键特征和必要技术特征,更不意味着试图确定所要求保护的技术方案的保护范围。This summary introduces a series of concepts in a simplified form that are further described in detail in the detailed description. The summary of the present invention is not intended to limit the key features and necessary technical features of the claimed technical solution, nor is it intended to determine the protection scope of the claimed technical solution.
第一方面,本发明实施例提供了一种自移动清洁设备的控制方法,包括:In a first aspect, embodiments of the present invention provide a control method for self-moving cleaning equipment, including:
获取待清洁区域中所有安全区域的位置;Get the locations of all safe areas in the area to be cleaned;
当自移动清洁设备行进至任意一个所述安全区域时,获取所述自移动清洁设备的光学传感器的当前检测参数;When the self-mobile cleaning equipment travels to any of the safety areas, obtain the current detection parameters of the optical sensor of the self-mobile cleaning equipment;
将所述光学传感器的当前检测参数调整为目标检测参数,以降低所述光学传感器的检测精度;Adjust the current detection parameters of the optical sensor to the target detection parameters to reduce the detection accuracy of the optical sensor;
基于所述目标检测参数,判断所述安全区域是否存在悬崖,若是,则执行避让策略,若否,则完成所述安全区域对应的任务;Based on the target detection parameters, determine whether there is a cliff in the safe area. If so, execute an avoidance strategy. If not, complete the task corresponding to the safe area;
当所述自移动清洁设备移出所述安全区域时,将所述目标校准检测参数调整为所述当前检测参数,以恢复所述光学光感器的检测精度。When the self-mobile cleaning equipment moves out of the safe area, the target calibration detection parameters are adjusted to the current detection parameters to restore the detection accuracy of the optical light sensor.
可选地,所述当前检测参数包括当前检测阈值。Optionally, the current detection parameters include current detection thresholds.
可选地,所述将所述光学传感器的当前检测参数调整为目标检测参数,以降低所述光学传感器的检测精度,包括:Optionally, adjusting the current detection parameters of the optical sensor to the target detection parameters to reduce the detection accuracy of the optical sensor includes:
获取所述当前检测阈值对应的第一权重值;Obtain the first weight value corresponding to the current detection threshold;
基于所述当前检测阈值及所述第一权重值,计算得到初始校准阈值;Based on the current detection threshold and the first weight value, calculate an initial calibration threshold;
判断所述初始校准阈值是否小于预设阈值,若是,则将所述预设阈值确定为目标校准阈值,若否,则将所述初始校准阈值确定为目标校准阈值;Determine whether the initial calibration threshold is less than a preset threshold; if so, determine the preset threshold as the target calibration threshold; if not, determine the initial calibration threshold as the target calibration threshold;
将所述当前检测阈值调整为所述目标校准阈值,以降低所述光学传感器的检测精度。The current detection threshold is adjusted to the target calibration threshold to reduce the detection accuracy of the optical sensor.
可选地,所述将所述光学传感器的当前检测参数调整为目标检测参数,以降低所述光学传感器的检测精度,包括:Optionally, adjusting the current detection parameters of the optical sensor to the target detection parameters to reduce the detection accuracy of the optical sensor includes:
获取各预设的检测阈值区间及各第二权重值的对应关系;Obtain the corresponding relationship between each preset detection threshold interval and each second weight value;
在所述各预设的检测阈值区间及各第二权重值的对应关系中,查找到所述当前检测阈值所对应的第二权重值;In the corresponding relationship between each preset detection threshold interval and each second weight value, find the second weight value corresponding to the current detection threshold;
基于所述当前检测阈值以及对应的第二权重值,计算得到目标校准阈值;Based on the current detection threshold and the corresponding second weight value, calculate the target calibration threshold;
将所述当前检测阈值调整为所述目标校准阈值,以降低所述光学传感器的检测精度。The current detection threshold is adjusted to the target calibration threshold to reduce the detection accuracy of the optical sensor.
可选地,所述基于所述目标检测参数,判断所述安全区域是否存在悬崖,包括:Optionally, determining whether there is a cliff in the safe area based on the target detection parameters includes:
获取所述光学传感器当前接收光强值;Obtain the current received light intensity value of the optical sensor;
判断所述当前接收光强值是否大于或等于所述目标校准阈值,若是,则确定所述安全区域不存在悬崖,若否,则确定所述安全区域存在悬崖。Determine whether the current received light intensity value is greater than or equal to the target calibration threshold. If so, it is determined that there is no cliff in the safe area. If not, it is determined that there is a cliff in the safe area.
可选地,当所述自移动清洁设备移出所述安全区域时,将所述目标校准检测参数调整为当前检测参数,以恢复所述光学光感器的检测精度,包括:Optionally, when the self-moving cleaning equipment moves out of the safe area, adjusting the target calibration detection parameters to the current detection parameters to restore the detection accuracy of the optical light sensor includes:
当所述自移动清洁设备移出所述安全区域时,将所述目标校准阈值调整为所述当前检测阈值,以恢复所述光学光感器的检测精度。When the self-mobile cleaning equipment moves out of the safe area, the target calibration threshold is adjusted to the current detection threshold to restore the detection accuracy of the optical light sensor.
可选地,所述当前检测参数包括当前接收光强值。Optionally, the current detection parameters include current received light intensity values.
可选地,所述将所述光学传感器的当前检测参数调整为目标检测参数,以降低所述光学传感器的检测精度,包括:Optionally, adjusting the current detection parameters of the optical sensor to the target detection parameters to reduce the detection accuracy of the optical sensor includes:
获取所述当前接收光强值对应的第三权重值;Obtain the third weight value corresponding to the current received light intensity value;
基于所述当前接收光强值及对应的第三权重值,计算得到目标接收光强值;Based on the current received light intensity value and the corresponding third weight value, calculate the target received light intensity value;
将所述当前接收光强值调整为所述目标接收光强值,以降低所述光学传感器的检测精度。The current received light intensity value is adjusted to the target received light intensity value to reduce the detection accuracy of the optical sensor.
可选地,所述基于所述目标检测参数,判断所述安全区域是否存在悬崖,包括:Optionally, determining whether there is a cliff in the safe area based on the target detection parameters includes:
获取所述光学传感器接收的当前检测阈值;Obtain the current detection threshold received by the optical sensor;
判断所述目标接收光强值是否大于或等于所述当前检测阈值,若是,则确定所述安全区域不存在悬崖,若否,则确定所述安全区域存在悬崖。Determine whether the target received light intensity value is greater than or equal to the current detection threshold. If so, it is determined that there is no cliff in the safe area. If not, it is determined that there is a cliff in the safe area.
可选地,所述当所述自移动清洁设备移出所述安全区域时,将所述光目标校准检测参数调整为所述当前检测参数,以恢复所述光学光感器的检测精度,包括:Optionally, when the self-mobile cleaning equipment moves out of the safe area, adjusting the light target calibration detection parameters to the current detection parameters to restore the detection accuracy of the optical light sensor includes:
当所述自移动清洁设备移出所述安全区域时,将所述目标接收光强值调整至当前接收光强值,以恢复所述光学光感器的检测精度。When the self-moving cleaning equipment moves out of the safe area, the target received light intensity value is adjusted to the current received light intensity value to restore the detection accuracy of the optical light sensor.
可选地,在所述待清洁区域中,距悬崖预设距离的范围内为非安全区域。Optionally, in the area to be cleaned, a preset distance from the cliff is a non-safety area.
可选地,所述当所述自移动清洁设备移出所述安全区域时,将所述目标检测参数调整为所述当前检测参数,以恢复所述光学光感器的检测精度之后,包括:Optionally, after adjusting the target detection parameters to the current detection parameters to restore the detection accuracy of the optical light sensor when the self-mobile cleaning equipment moves out of the safe area, the method includes:
当所述待清洁区域更新时,消除所有所述安全区域。When the area to be cleaned is updated, all the safe areas are eliminated.
第二方面,本发明实施例提供了一种自移动清洁设备,包括主体,所述主体上设有光学传感器及控制器,所述光学传感器包括光发射部及光接收部;In a second aspect, embodiments of the present invention provide a self-moving cleaning equipment, including a main body, the main body is provided with an optical sensor and a controller, and the optical sensor includes a light emitting part and a light receiving part;
其中,光发射部用于向待清洁区域发射出射光线;光接收部用于接收至少部分反射光,反射光为光发射部的出射光线经由待清洁区域的表面反射所形成的光线;所述控制器用于执行上述自移动清洁设备的控制方法。Wherein, the light emitting part is used to emit outgoing light to the area to be cleaned; the light receiving part is used to receive at least part of the reflected light, and the reflected light is the light formed by the outgoing light of the light emitting part reflecting through the surface of the area to be cleaned; the control The device is used to perform the above control method of the self-moving cleaning equipment.
根据本发明实施例所提供的一种自移动清洁设备及其控制方法,当自移动清洁设备行进至安全区域时,将自移动清洁设备的光学传感器的当前检测参数调整为目标检测参数,以降低光学传感器的检测精度,这样一方面能够避免光学传感器将安全区域误判为悬崖的情况发生,从而使自移动清洁设备在安全区域顺利的执行相应的任务(如翻越障碍物或清洁深色地毯等),以利于用户对自移动清洁设备的使用,另一方面光学传感器仍具有一定的检测能力,这样在光学传感器检测到安全区域存在悬崖时,控制自移动清洁设备执行避让策略,从而降低自移动清洁设备在安全区域中因悬崖而跌落的几率,进而提高了自移动清洁设备在安全区域作业的可靠性。另外,当自移动清洁设备移出安全区域时,将目标校准检测参数调整为当前检测参数,以恢复光学光感器的检测精度,从而保证光学传感器在其他区域检测的准确性。According to a self-moving cleaning equipment and a control method thereof provided by an embodiment of the present invention, when the self-moving cleaning equipment travels to a safe area, the current detection parameters of the optical sensor of the self-moving cleaning equipment are adjusted to the target detection parameters to reduce The detection accuracy of the optical sensor can, on the one hand, prevent the optical sensor from misjudging the safe area as a cliff, so that the self-mobile cleaning equipment can smoothly perform corresponding tasks in the safe area (such as climbing over obstacles or cleaning dark carpets, etc. ), to facilitate the user's use of self-moving cleaning equipment. On the other hand, the optical sensor still has a certain detection capability. In this way, when the optical sensor detects that there is a cliff in the safe area, the self-moving cleaning equipment is controlled to execute an avoidance strategy, thereby reducing self-moving The probability of the cleaning equipment falling due to the cliff in the safe area thus improves the reliability of the self-mobile cleaning equipment operating in the safe area. In addition, when the mobile cleaning equipment moves out of the safe area, the target calibration detection parameters are adjusted to the current detection parameters to restore the detection accuracy of the optical sensor, thereby ensuring the accuracy of the optical sensor detection in other areas.
附图说明Description of drawings
本发明的下列附图在此作为本发明实施例的一部分用于理解本发明。附图中示出了本发明的实施例及其描述,用来解释本发明的原理。The following drawings of the invention are hereby included as part of the embodiments of the invention for the understanding of the invention. The drawings illustrate embodiments of the invention and their descriptions serve to explain the principles of the invention.
附图中:In the attached picture:
图1为根据本发明的一个可选实施例的扫地机器人的立体图;Figure 1 is a perspective view of a sweeping robot according to an optional embodiment of the present invention;
图2为图1的仰视图;Figure 2 is a bottom view of Figure 1;
图3为根据本发明的一个可选实施例的湿式清洁系统的立体图;Figure 3 is a perspective view of a wet cleaning system according to an optional embodiment of the present invention;
图4为根据本发明的一个可选实施例的光学传感器对待清洁区域检测的原理图;Figure 4 is a schematic diagram of an optical sensor detecting an area to be cleaned according to an optional embodiment of the present invention;
图5为根据本发明的一个可选实施例的自移动清洁设备的控制方法的流程图;Figure 5 is a flow chart of a control method of a self-moving cleaning device according to an optional embodiment of the present invention;
图6为根据本发明的一个可选实施例的步骤S103的流程图;Figure 6 is a flow chart of step S103 according to an optional embodiment of the present invention;
图7为根据本发明的另一个可选实施例的步骤S103的流程图;Figure 7 is a flow chart of step S103 according to another optional embodiment of the present invention;
图8为根据本发明的一个可选实施例的步骤S104的流程图;Figure 8 is a flow chart of step S104 according to an optional embodiment of the present invention;
图9为根据本发明的又一个可选实施例的步骤S103的流程图;Figure 9 is a flow chart of step S103 according to yet another optional embodiment of the present invention;
图10为根据本发明的一个可选实施例的步骤S104的流程图。Figure 10 is a flow chart of step S104 according to an optional embodiment of the present invention.
附图标记:Reference signs:
10-扫地机器人,110-主体,111-前向部分,112-后向部分,120-感知模块,121位置确定传感器,122-前撞结构,130-人机交互模块,140-左轮,141-右轮,142-从动轮,150-清洁系统,151-干式清洁系统,152-边刷,153-湿式清洁系统,1531-清洁头,1532-驱动单元,1533-驱动平台,1534-支撑平台,20-光学传感器,210-光发射部,220-光接收部,230-第一凸透镜,240-第二凸透镜,250-隔板,30-待清洁区域。10-Sweeping robot, 110-main body, 111-forward part, 112-rear part, 120-perception module, 121 position determination sensor, 122-forward collision structure, 130-human-computer interaction module, 140-revolver, 141- Right wheel, 142-driven wheel, 150-cleaning system, 151-dry cleaning system, 152-side brush, 153-wet cleaning system, 1531-cleaning head, 1532-driving unit, 1533-driving platform, 1534-supporting platform , 20-optical sensor, 210-light emitting part, 220-light receiving part, 230-first convex lens, 240-second convex lens, 250-partition, 30-area to be cleaned.
具体实施方式Detailed ways
在下文的描述中,给出了大量具体的细节以便提供对本发明更为彻底的理解。然而,对于本领域技术人员而言显而易见的是,本发明可以无需一个或至少三个这些细节而得以实施。在其他的例子中,为了避免与本发明发生混淆,对于本领域公知的一些技术特征未进行描述。In the following description, numerous specific details are given in order to provide a more thorough understanding of the invention. However, it will be obvious to a person skilled in the art that the invention may be practiced without one or at least three of these details. In other examples, some technical features that are well known in the art are not described in order to avoid confusion with the present invention.
应予以注意的是,这里所使用的术语仅是为了描述具体实施例,而非意图限制根据本发明的示例性实施例。如在这里所使用的,除非上下文另外明确指出,否则单数形式也意图包括复数形式。此外,还应当理解的是,当在本说明书中使用术语“包含”和/或“包括”时,其指明存在特征、整体、步骤、操作、元件和/或组件,但不排除存在或附加一个或至少三个其他特征、整体、步骤、操作、元件、组件和/或它们的组合。It should be noted that the terminology used herein is for the purpose of describing specific embodiments only and is not intended to limit the exemplary embodiments according to the present invention. As used herein, the singular forms are intended to include the plural forms as well, unless the context clearly indicates otherwise. Furthermore, it should also be understood that when the terms "comprising" and/or "includes" are used in this specification, they indicate the presence of features, integers, steps, operations, elements and/or components but do not exclude the presence or addition of a or at least three other features, integers, steps, operations, elements, components and/or combinations thereof.
现在,将参照附图更详细地描述根据本发明的示例性实施例。然而,这些示例性实施例可以多种不同的形式来实施,并且不应当被解释为只限于这里所阐述的实施例。应当理解的是,提供这些实施例是为了使得本发明的公开彻底且完整,并且将这些示例性实施例的构思充分传达给本领域普通技术人员。Now, exemplary embodiments according to the present invention will be described in more detail with reference to the accompanying drawings. These exemplary embodiments may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. It should be understood that these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concepts of these exemplary embodiments to those skilled in the art.
本发明实施例提供的一种光学传感器20可应用于自移动清洁设备上,具体地,该光学传感器20可作为悬崖传感器来进行使用。其中,自移动清洁设备为自动在待清洁区域30行进并自动进行清洁作业的设备,如扫地机器人、拖地机器人、地面抛光机器人或除草机器人。为了便于描述,本实施例以扫地机器人10为例来描述本公开的技术方案。The optical sensor 20 provided by the embodiment of the present invention can be applied to self-moving cleaning equipment. Specifically, the optical sensor 20 can be used as a cliff sensor. Among them, self-mobile cleaning equipment is equipment that automatically travels in the area 30 to be cleaned and automatically performs cleaning operations, such as sweeping robots, mopping robots, floor polishing robots or weeding robots. For ease of description, this embodiment takes the sweeping robot 10 as an example to describe the technical solution of the present disclosure.
进一步地,如图1和图2所示,扫地机器人10包括主体110、感知模块120、控制器、驱动模块、清洁系统150、能源系统和人机交互模块130。其中,如图1所示,主体110包括前向部分111和后向部分112,具有近似圆形形状(前后都为圆形),也可具有其他形状,包括但不限于前方后圆的近似D形形状及前方后方的矩形或正方形形状。Further, as shown in FIGS. 1 and 2 , the sweeping robot 10 includes a main body 110 , a sensing module 120 , a controller, a driving module, a cleaning system 150 , an energy system and a human-computer interaction module 130 . As shown in Figure 1, the main body 110 includes a forward portion 111 and a rearward portion 112, and has an approximately circular shape (both front and rear are circular), and can also have other shapes, including but not limited to an approximate D of a front and rear circle. shape and a rectangular or square shape at the front and rear.
如图1所示,感知模块120包括位于主体110上的位置确定装置121、设置于主体110的前向部分111的前撞结构122上的碰撞传感器、位于机器侧边的近距离传感器(wallsensor),设置于主体110下部的悬崖传感器,以及设置于主体110内部的磁力计、加速度计、陀螺仪、里程计等传感装置,用于向控制器提供机器的各种位置信息和运动状态信息。位置确定装置121包括但不限于摄像头、激光测距装置(LDS,全称Laser Distance Sensor)。在一些较优的实现方式中,位置确定装置121(如摄像头、激光学传感器20)位于主体110的前侧,也就是前向部分111的最前端,以能够更加准确的感测扫地机器人前方的环境,实现精准定位。控制器还用于执行本申请所提供的自移动清洁设备的控制方法。As shown in FIG. 1 , the sensing module 120 includes a position determining device 121 located on the main body 110 , a collision sensor provided on the forward collision structure 122 of the forward portion 111 of the main body 110 , and a proximity sensor (wall sensor) located on the side of the machine. , the cliff sensor provided at the lower part of the main body 110, and the magnetometer, accelerometer, gyroscope, odometer and other sensing devices provided inside the main body 110, are used to provide various position information and motion status information of the machine to the controller. The position determining device 121 includes but is not limited to a camera and a laser distance measuring device (LDS, full name: Laser Distance Sensor). In some preferred implementations, the position determining device 121 (such as a camera, laser sensor 20) is located on the front side of the main body 110, that is, the front end of the forward portion 111, so as to more accurately sense the position in front of the sweeping robot. environment to achieve precise positioning. The controller is also used to execute the control method of the self-moving cleaning equipment provided by this application.
如图1所示,主体110的前向部分111可承载前撞结构122,在清洁过程中驱动轮模块141推进扫地机器人10在地面行走时,前撞结构122经由设置在其上的传感器系统,例如碰撞传感器或接近度传感器(红外传感器),检测扫地机器人10的行驶路径中的一个或多个事件,扫地机器人10可通过由前撞结构122检测到的事件,例如障碍物、墙壁,而控制驱动模块使扫地机器人10来对事件做出响应,例如远离障碍物执行避障操作等。As shown in Figure 1, the forward portion 111 of the main body 110 can carry the forward collision structure 122. When the driving wheel module 141 propels the sweeping robot 10 to walk on the ground during the cleaning process, the forward collision structure 122 passes through the sensor system provided on it. For example, a collision sensor or a proximity sensor (infrared sensor) detects one or more events in the driving path of the sweeping robot 10. The sweeping robot 10 can be controlled by events detected by the front collision structure 122, such as obstacles and walls. The driving module enables the sweeping robot 10 to respond to events, such as performing obstacle avoidance operations away from obstacles.
控制器设置在主体110内的电路主板上,包括与非暂时性存储器,例如硬盘、快闪存储器、随机存取存储器,通信的计算处理器,例如中央处理单元、应用处理器,应用处理器根据激光测距装置反馈的障碍物信息利用定位算法,例如即时定位与地图构建(SLAM,全称Simultaneous Localization And Mapping),绘制扫地机器人10所在环境中的即时地图。并且结合前撞结构122上所设置的传感器、悬崖传感器123、磁力计、加速度计、陀螺仪、里程计等传感装置反馈的距离信息、速度信息综合判断扫地机器人10当前处于何种工作状态、位于何位置,以及扫地机器人10当前位姿等,如过门槛,上地毯,位于悬崖处,上方或者下方被卡住,尘盒满,被拿起等等,还会针对不同情况给出具体的下一步动作策略,使得扫地机器人10有更好的清扫性能和用户体验。The controller is disposed on the circuit motherboard in the main body 110 and includes a computing processor, such as a central processing unit and an application processor, communicating with non-transitory memory, such as a hard disk, flash memory, and random access memory. The application processor is configured according to The obstacle information fed back by the laser ranging device uses positioning algorithms, such as Simultaneous Localization and Mapping (SLAM, full name: Simultaneous Localization And Mapping), to draw a real-time map of the environment where the sweeping robot 10 is located. And combined with the distance information and speed information fed back by the sensors provided on the front collision structure 122, the cliff sensor 123, the magnetometer, the accelerometer, the gyroscope, the odometer and other sensing devices, the current working state of the sweeping robot 10 is comprehensively determined. Where it is, as well as the current posture of the sweeping robot 10, etc., such as crossing a threshold, getting on the carpet, being on a cliff, being stuck above or below, being full of dust bins, being picked up, etc. Specific instructions will also be given for different situations. The next action strategy enables the sweeping robot 10 to have better cleaning performance and user experience.
如图2所示,驱动模块可基于具有距离和角度信息的驱动命令而操纵主体110跨越地面行驶。驱动模块包含主驱动轮模块,主驱动轮模块可以控制左轮140和右轮141,为了更为精确地控制机器的运动,优选主驱动轮模块分别包括左驱动轮模块和右驱动轮模块。左、右驱动轮模块沿着由主体110界定的横向轴设置。为了扫地机器人10能够在地面上更为稳定地运动或者更强的运动能力,扫地机器人10可以包括一个或者多个从动轮142,从动轮142包括但不限于万向轮。主驱动轮模块包括驱动马达以及控制驱动马达的控制电路,主驱动轮模块还可以连接测量驱动电流的电路和里程计。并且左轮140及右轮141可具有偏置下落式悬挂系统,以可移动方式紧固,例如以可旋转方式附接到主体110,且接收向下及远离主体110偏置的弹簧偏置。弹簧偏置允许驱动轮以一定的着地力维持与地面的接触及牵引,同时扫地机器人10的清洁元件也以一定的压力接触地面。As shown in FIG. 2 , the driving module may maneuver the body 110 to travel across the ground based on a driving command with distance and angle information. The driving module includes a main driving wheel module, which can control the left wheel 140 and the right wheel 141. In order to control the movement of the machine more accurately, it is preferred that the main driving wheel module includes a left driving wheel module and a right driving wheel module respectively. The left and right drive wheel modules are arranged along the transverse axis defined by the body 110 . In order for the sweeping robot 10 to move more stably on the ground or to have stronger movement ability, the sweeping robot 10 may include one or more driven wheels 142 , and the driven wheels 142 include but are not limited to universal wheels. The main drive wheel module includes a drive motor and a control circuit that controls the drive motor. The main drive wheel module can also be connected to a circuit that measures drive current and an odometer. And the left wheel 140 and the right wheel 141 may have a biased drop suspension system, movably fastened, such as rotatably attached to the body 110, and receive a spring bias biased downwardly and away from the body 110. The spring bias allows the driving wheel to maintain contact and traction with the ground with a certain grounding force, and at the same time, the cleaning element of the sweeping robot 10 also contacts the ground with a certain pressure.
能源系统包括充电电池,例如镍氢电池和锂电池。充电电池可以连接有充电控制电路、电池组充电温度检测电路和电池欠压监测电路,充电控制电路、电池组充电温度检测电路、电池欠压监测电路再与单片机控制电路相连。主机通过设置在机身侧方或者下方的充电电极160与充电桩连接进行充电。Energy systems include rechargeable batteries such as nickel metal hydride and lithium batteries. The rechargeable battery can be connected to a charging control circuit, a battery pack charging temperature detection circuit and a battery under-voltage monitoring circuit. The charging control circuit, battery pack charging temperature detection circuit, and battery under-voltage monitoring circuit are then connected to the microcontroller control circuit. The host is charged by connecting to the charging pile through the charging electrode 160 provided on the side or below of the fuselage.
人机交互模块130包括主机面板上的按键,按键供用户进行功能选择;还可以包括显示屏和/或指示灯和/或喇叭,显示屏、指示灯和喇叭向用户展示当前机器所处模式或者功能选择项;还可以包括手机客户端程序。对于路径导航型扫地机器人10,在手机客户端可以向用户展示设备所在环境的地图,以及机器所处位置,可以向用户提供更为丰富和人性化的功能项。具体地,扫地机器人10具有多种模式,例如工作模式、自清洁模式等。其中,工作模式是指扫地机器人10进行自动清洁作业的模式,自清洁模式是指扫地机器人10在基座上去除滚刷及边刷152上的脏物,并自动收集脏物,和/或自动清洗及烘干拖布的模式。The human-computer interaction module 130 includes buttons on the host panel, which allow the user to select functions; it may also include a display screen and/or indicator lights and/or a speaker. The display screen, indicator lights, and speaker show the user the current mode or mode of the machine. Function options; can also include mobile client programs. For the path navigation type sweeping robot 10, the mobile client can show the user a map of the environment where the device is located, as well as the location of the machine, and can provide the user with richer and more user-friendly functions. Specifically, the sweeping robot 10 has multiple modes, such as a working mode, a self-cleaning mode, and so on. Among them, the working mode refers to the mode in which the sweeping robot 10 performs automatic cleaning operations, and the self-cleaning mode refers to the sweeping robot 10 removing dirt on the roller brush and side brush 152 on the base, and automatically collecting the dirt, and/or automatically Mode for cleaning and drying mops.
清洁系统150可为干式清洁系统151和/或湿式清洁系统153。The cleaning system 150 may be a dry cleaning system 151 and/or a wet cleaning system 153 .
如图2所示,本公开实施例所提供的干式清洁系统151可以包括滚刷、尘盒、风机、出风口。与地面具有一定干涉的滚刷将地面上的垃圾扫起并卷带到滚刷与尘盒之间的吸尘口前方,然后被风机产生并经过尘盒的有吸力的气体吸入尘盒。干式清洁系统151还可包括具有旋转轴的边刷152,旋转轴相对于地面成一定角度,以用于将碎屑移动到清洁系统150的滚刷区域中。As shown in FIG. 2 , the dry cleaning system 151 provided by the embodiment of the present disclosure may include a roller brush, a dust box, a fan, and an air outlet. The roller brush that has a certain interference with the ground sweeps up the garbage on the ground and carries it to the front of the suction port between the roller brush and the dust box, and then is sucked into the dust box by the suction gas generated by the fan and passing through the dust box. The dry cleaning system 151 may also include a side brush 152 having an axis of rotation angled relative to the floor for moving debris into the roller brush area of the cleaning system 150 .
如图2和图3所示,本公开实施例所提供的湿式清洁系统153可以包括:清洁头1531、驱动单元1532、送水机构、储液箱等。其中,清洁头1531可以设置于储液箱下方,储液箱内部的清洁液通过送水机构传输至清洁头1531,以使清洁头1531对待清洁平面进行湿式清洁。在本公开其他实施例中,储液箱内部的清洁液也可以直接喷洒至待清洁平面,清洁头1531通过将清洁液涂抹均匀实现对平面的清洁。As shown in Figures 2 and 3, the wet cleaning system 153 provided by the embodiment of the present disclosure may include: a cleaning head 1531, a driving unit 1532, a water supply mechanism, a liquid storage tank, etc. Among them, the cleaning head 1531 can be disposed below the liquid storage tank, and the cleaning liquid inside the liquid storage tank is transmitted to the cleaning head 1531 through the water supply mechanism, so that the cleaning head 1531 performs wet cleaning on the surface to be cleaned. In other embodiments of the present disclosure, the cleaning liquid inside the liquid storage tank can also be directly sprayed onto the surface to be cleaned, and the cleaning head 1531 achieves cleaning of the surface by evenly applying the cleaning liquid.
其中,清洁头1531用于清洁待清洁表面,驱动单元1532用于驱动清洁头1531沿着目标面基本上往复运动的,目标面为待清洁表面的一部分。清洁头1531沿待清洁表面做往复运动,清洁头1531与待清洁表面的接触面表面设有拖布,通过驱动单元1532带动清洁头1531的拖布往复运动与待清洁表面产生高频摩擦,从而去除待清洁表面上的污渍;或拖布可浮动地设置,在清洁过程中始终保持与清洁表面的接触,而不需驱动单元1532驱动其往复运动。The cleaning head 1531 is used to clean the surface to be cleaned, and the driving unit 1532 is used to drive the cleaning head 1531 to substantially reciprocate along the target surface, and the target surface is a part of the surface to be cleaned. The cleaning head 1531 reciprocates along the surface to be cleaned. A mop is provided on the contact surface between the cleaning head 1531 and the surface to be cleaned. The driving unit 1532 drives the mop of the cleaning head 1531 to reciprocate and generate high-frequency friction with the surface to be cleaned, thereby removing the mop to be cleaned. Clean stains on the surface; or the mop can be provided in a floating manner and always maintain contact with the cleaning surface during the cleaning process without the need for the driving unit 1532 to drive its reciprocating motion.
如图3所示,驱动单元1532还可以包括驱动平台1533和支撑平台1534,驱动平台1533连接于主体110底面,用于提供驱动力,支撑平台1534可拆卸的连接于驱动平台1533,用于支撑清洁头1531,且可以在驱动平台1533的驱动下实现升降。As shown in Figure 3, the driving unit 1532 may also include a driving platform 1533 and a supporting platform 1534. The driving platform 1533 is connected to the bottom surface of the main body 110 for providing driving force. The supporting platform 1534 is detachably connected to the driving platform 1533 for supporting. The cleaning head 1531 can be lifted and lowered driven by the driving platform 1533 .
其中,湿式清洁系统153可以通过主动式升降模组与主体110相连接。当湿式清洁系统153暂时不参与工作,例如,扫地机器人自移动清洁设备10停靠基站对湿式清洁系统153的清洁头1531进行清洗、对储液箱进行注水;或者遇到无法采用湿式清洁系统153进行清洁的待清洁表面时,通过主动式升降模组将湿式清洁系统153升起。Among them, the wet cleaning system 153 can be connected to the main body 110 through an active lifting module. When the wet cleaning system 153 is temporarily not involved in the work, for example, the sweeping robot stops at the base station from the mobile cleaning device 10 to clean the cleaning head 1531 of the wet cleaning system 153 and fill the liquid storage tank; or when the wet cleaning system 153 cannot be used to perform the work, When the surface to be cleaned is cleaned, the wet cleaning system 153 is raised through the active lifting module.
下面对自移动清洁设备上的光学传感器20进行详细描述。如图4所示,光学传感器20包括光发射部210及光接收部220。其中,光发射部210用于向待清洁区域30发射出射光线;光接收部220用于接收至少部分反射光,反射光为光发射部210的出射光线经由待清洁区域30的表面反射所形成的光线。The optical sensor 20 on the self-moving cleaning device is described in detail below. As shown in FIG. 4 , the optical sensor 20 includes a light emitting part 210 and a light receiving part 220 . The light emitting part 210 is used to emit outgoing light to the area to be cleaned 30; the light receiving part 220 is used to receive at least part of the reflected light. The reflected light is formed by the outgoing light of the light emitting part 210 being reflected by the surface of the area to be cleaned 30. light.
其中,待清洁区域30为自移动清洁设备需进行清洁作业的区域,该区域可由用户进行设置,在本申请中,光发射部210对整个待清洁区域30都发射出射光线,也就是说光发射部210对待清洁区域30中的安全区域发射出射光线,也对待清洁区域中的其他区域(即非安全区域)发射出射光线。Among them, the area to be cleaned 30 is an area where the mobile cleaning equipment needs to perform cleaning operations. This area can be set by the user. In this application, the light emitting part 210 emits outgoing light to the entire area 30 to be cleaned, that is to say, the light emits The part 210 emits outgoing light to the safe area in the area to be cleaned 30 and also emits outgoing light to other areas (ie, non-safety areas) in the area to be cleaned.
进一步地,如图4所示,光发射部210的发射光路上设有第一凸透镜230,第一凸透镜230用于将光发射部210发射的出射光线转换为近似平行的平行光。光接收部220的接收光路上设有第二凸透镜240设置,第二凸透镜240用于将射向光接收部220的光线转换为汇聚光线。进一步地,光发射部210与光接收部220之间设有隔板250,隔板250的材质为不透光材质,从而防止从光发射部210所发出的出射光线未经过自移动清洁设备的待清洁区域30的表面反射就直接被光接收部220接收。Further, as shown in FIG. 4 , a first convex lens 230 is provided on the emission light path of the light emitting part 210 . The first convex lens 230 is used to convert the outgoing light emitted by the light emitting part 210 into approximately parallel parallel light. A second convex lens 240 is provided on the receiving light path of the light receiving part 220. The second convex lens 240 is used to convert the light rays directed to the light receiving part 220 into converged light rays. Further, a partition 250 is provided between the light emitting part 210 and the light receiving part 220. The partition 250 is made of an opaque material, thereby preventing the light emitted from the light emitting part 210 from not passing through the mobile cleaning equipment. The surface reflection of the area to be cleaned 30 is directly received by the light receiving part 220 .
如图4所示,当光学传感器20工作时,光发射部210发射出射光线,出射光线经由第一凸透镜230转换为近似平行的平行光,该平行光被自移动清洁设备的待清洁区域30的表面反射,形成近似平行的反射光,然后至少部分反射光再经过第二凸透镜240转换为汇聚光线,被光接收部220接收,控制器根据光接收部220所接收到的反射光的光强值,判断待清洁区域30是否存在悬崖,即如果光接收部220所接收到的反射光的光强值大于或等于光强阈值,则确定待清洁区域30不存在悬崖;如果光接收部220所接收到的反射光的光强值小于光强阈值,则确定待清洁区域30存在悬崖。As shown in FIG. 4 , when the optical sensor 20 is working, the light emitting part 210 emits outgoing light, and the outgoing light is converted into approximately parallel parallel light through the first convex lens 230 , and the parallel light is emitted from the area to be cleaned 30 of the mobile cleaning device. The surface reflects to form approximately parallel reflected light, and then at least part of the reflected light is converted into condensed light through the second convex lens 240 and is received by the light receiving part 220. The controller determines the intensity value of the reflected light received by the light receiving part 220. , determine whether there is a cliff in the area to be cleaned 30, that is, if the light intensity value of the reflected light received by the light receiving part 220 is greater than or equal to the light intensity threshold, it is determined that there is no cliff in the area to be cleaned 30; if the light intensity value received by the light receiving part 220 If the intensity value of the reflected light is less than the light intensity threshold, it is determined that there is a cliff in the area 30 to be cleaned.
下面对本发明实施例提供的一种自移动清洁设备的控制方法进行详细描述。具体地,如图4及图5所示,本发明实施例提供了一种自移动清洁设备的控制方法,包括:A control method for a self-moving cleaning equipment provided by an embodiment of the present invention will be described in detail below. Specifically, as shown in Figures 4 and 5, embodiments of the present invention provide a control method for self-moving cleaning equipment, including:
步骤S101:获取待清洁区域30中所有安全区域的位置。Step S101: Obtain the positions of all safe areas in the area to be cleaned 30.
安全区域为易使光学传感器20产生误判的区域,例如,高于待检测区域表面的障碍物,例如门石、门槛等,或者深色地毯等吸光区域。安全区域可由用户在待清洁区域30中进行设置,例如将门石、门槛、深色地毯所在的区域设置为安全区域。安全区域的数量可由用户根据实际情况自行确定,本实施例不做严格限定。The safe area is an area where the optical sensor 20 is prone to misjudgment, for example, obstacles higher than the surface of the area to be detected, such as door stones, thresholds, etc., or light-absorbing areas such as dark carpets. The safety area can be set by the user in the area to be cleaned 30 , for example, the area where door stones, thresholds, and dark carpets are located is set as a safe area. The number of safe areas can be determined by the user according to the actual situation, and is not strictly limited in this embodiment.
步骤S102:当自移动清洁设备行进至任意一个安全区域时,获取自移动清洁设备的光学传感器20的当前检测参数。Step S102: When the mobile cleaning equipment travels to any safe area, obtain the current detection parameters of the optical sensor 20 of the mobile cleaning equipment.
步骤S103:将光学传感器20的当前检测参数调整为目标检测参数,以降低光学传感器20的检测精度。Step S103: Adjust the current detection parameters of the optical sensor 20 to the target detection parameters to reduce the detection accuracy of the optical sensor 20.
在安全区域降低光学传感器20的检测精度,可避免光学传感器20将安全区域误判为悬崖的情况发生,从而使自移动清洁设备在安全区域顺利的执行相应的任务(如翻越障碍物或清洁深色地毯等),以利于用户对自移动清洁设备的使用,并且降低检测精度的光学传感器20仍具有一定的检测能力,这样在光学传感器20检测到安全区域存在悬崖时,控制自移动清洁设备执行避让策略,从而降低自移动清洁设备在安全区域中因悬崖而跌落的几率,进而提高了自移动清洁设备在安全区域作业的可靠性。Reducing the detection accuracy of the optical sensor 20 in the safe area can avoid the optical sensor 20 misjudging the safe area as a cliff, so that the self-mobile cleaning equipment can smoothly perform corresponding tasks in the safe area (such as climbing over obstacles or cleaning deep areas). colored carpets, etc.) to facilitate the user's use of the self-moving cleaning equipment, and the optical sensor 20 that reduces the detection accuracy still has a certain detection capability, so that when the optical sensor 20 detects the presence of a cliff in the safe area, the self-moving cleaning equipment is controlled to execute avoidance strategy, thereby reducing the probability of self-mobile cleaning equipment falling due to cliffs in safe areas, thereby improving the reliability of self-mobile cleaning equipment operating in safe areas.
步骤S104:基于目标检测参数,判断安全区域是否存在悬崖,若是,则执行步骤S105;若否,则执行步骤S106。Step S104: Based on the target detection parameters, determine whether there is a cliff in the safe area. If yes, execute step S105; if not, execute step S106.
步骤S105:执行避让策略。Step S105: Execute avoidance strategy.
在光学传感器20判定安全区域存在悬崖时,控制自移动清洁设备执行避让策略,从而避免自移动清洁设备因悬崖跌落而造成损坏。When the optical sensor 20 determines that there is a cliff in the safe area, the self-mobile cleaning equipment is controlled to execute an avoidance strategy, thereby avoiding damage to the self-mobile cleaning equipment caused by falling off the cliff.
避让策略可以为控制自移动清洁设备后退的策略,当然也可以采用其他避让策略,本实施例不做严格限定。The avoidance strategy may be a strategy for controlling the retreat from the mobile cleaning equipment. Of course, other avoidance strategies may also be adopted, which are not strictly limited in this embodiment.
步骤S106:完成安全区域对应的任务。Step S106: Complete the tasks corresponding to the safe area.
在光学传感器20判定安全区域不存在悬崖时,控制自移动清洁设备完成安全区域对应的任务,例如,翻越门石、门槛等障碍物,或者清理深色地毯等。When the optical sensor 20 determines that there is no cliff in the safe area, the autonomous mobile cleaning equipment is controlled to complete tasks corresponding to the safe area, such as climbing over obstacles such as door stones and thresholds, or cleaning dark carpets.
步骤S107:当自移动清洁设备移出安全区域时,将目标校准检测参数调整为当前检测参数,以恢复光学光感器的检测精度。Step S107: When the mobile cleaning equipment moves out of the safe area, adjust the target calibration detection parameters to the current detection parameters to restore the detection accuracy of the optical photoreceptor.
当自移动清洁设备移出安全区域时,将目标校准检测参数调整为当前检测参数,以恢复光学光感器的检测精度,从而保证光学传感器20在其他区域检测的准确性。When the mobile cleaning equipment moves out of the safe area, the target calibration detection parameters are adjusted to the current detection parameters to restore the detection accuracy of the optical sensor, thereby ensuring the detection accuracy of the optical sensor 20 in other areas.
在具体应用中,针对不同的当前检测参数,相应的降低光学传感器20的检测精度的方式也不相同。In specific applications, for different current detection parameters, the corresponding ways of reducing the detection accuracy of the optical sensor 20 are also different.
在一些实施例中,当前检测参数包括当前检测阈值,当前检测阈值用于与光接收部220所接收的反射光的光强值进行比对,从而确定待作业区域中除去安全区域的其他区域(即非安全区域)是否存在悬崖。当前检测阈值可由工作人员根据实际情况自行设置,本实施例不做严格限定。In some embodiments, the current detection parameters include a current detection threshold, and the current detection threshold is used to compare with the light intensity value of the reflected light received by the light receiving part 220, thereby determining other areas in the area to be worked excluding the safe area ( That is, non-safety area) whether there is a cliff. The current detection threshold can be set by the staff according to the actual situation, and is not strictly limited in this embodiment.
在当前检测参数包括当前检测阈值的情况下,在一种实现方式中,如图6所示,步骤S103包括:In the case where the current detection parameters include the current detection threshold, in one implementation, as shown in Figure 6, step S103 includes:
步骤S1031a:获取当前检测阈值对应的第一权重值。Step S1031a: Obtain the first weight value corresponding to the current detection threshold.
当前检测阈值对应的第一权重值可由工作人员自行设置,本实施例不做严格限定。不同的当前检测阈值对应的第一权重值可以相同,从而降低了工作人员的工作量。The first weight value corresponding to the current detection threshold can be set by the staff themselves, and is not strictly limited in this embodiment. The first weight values corresponding to different current detection thresholds can be the same, thereby reducing the workload of the staff.
步骤S1032a:基于当前检测阈值及第一权重值,计算得到初始校准阈值。Step S1032a: Calculate the initial calibration threshold based on the current detection threshold and the first weight value.
具体地,通过当前检测阈值以及第一权重值的乘积,就能够得到初始校准阈值。示例性的,假设当前检测阈值为90,第一权重值为0.5,那么初始校准阈值为90*0.5=45。Specifically, the initial calibration threshold can be obtained by multiplying the current detection threshold and the first weight value. For example, assuming that the current detection threshold is 90 and the first weight value is 0.5, then the initial calibration threshold is 90*0.5=45.
步骤S1033a:判断初始校准阈值是否小于预设阈值,若是,则执行步骤S1034a,若否,则执行步骤S1035a。Step S1033a: Determine whether the initial calibration threshold is less than the preset threshold. If yes, execute step S1034a. If not, execute step S1035a.
预设阈值可由工作人员自行设置,本实施例不做严格限定。将初始校准阈值与预设阈值进行比较,根据比较结果来确定目标校准阈值,使得目标校准阈值不会过低,从而避免了目标校准阈值过小而导致光学传感器20精测精度过低,无法检测出安全区域的悬崖的情况发生,进而能够保证光学传感器20仍具有一定的检测精度。The preset threshold can be set by the staff themselves, and is not strictly limited in this embodiment. Compare the initial calibration threshold with the preset threshold, and determine the target calibration threshold based on the comparison result, so that the target calibration threshold is not too low, thereby avoiding the target calibration threshold being too small, resulting in the optical sensor 20 having too low precision and being unable to detect The situation of exiting the cliff of the safe area occurs, thereby ensuring that the optical sensor 20 still has a certain detection accuracy.
步骤S1034a:将预设阈值确定为目标校准阈值。Step S1034a: Determine the preset threshold as the target calibration threshold.
示例性的,假设预设阈值为20,初始校准阈值为18,初始校准阈值小于预设阈值,那么目标校准阈值为20。For example, assuming that the preset threshold is 20, the initial calibration threshold is 18, and the initial calibration threshold is less than the preset threshold, then the target calibration threshold is 20.
步骤S1035a:将初始校准阈值确定为目标校准阈值。Step S1035a: Determine the initial calibration threshold as the target calibration threshold.
示例性的,假设预设阈值为20,初始校准阈值为50,初始校准阈值大于预设阈值,那么目标校准阈值为50。For example, assuming that the preset threshold is 20, the initial calibration threshold is 50, and the initial calibration threshold is greater than the preset threshold, then the target calibration threshold is 50.
步骤S1036a:将当前检测阈值调整为目标校准阈值,以降低光学传感器20的检测精度。Step S1036a: Adjust the current detection threshold to the target calibration threshold to reduce the detection accuracy of the optical sensor 20 .
将当前检测阈值调整为目标校准阈值,也就是说降低当前检测阈值,从而达到降低光学传感器20的检测精度的目的,这样当自移动清洁设备在安全区域执行相应任务而导致光学传感器20接收到的反射光的光强值,也就是当前接收光强值减小时,利用光学传感器20所得到的检测结果仍是安全区域无悬崖,从而使自移动清洁设备不会执行避让策略,以保证相应任务的顺利进行。The current detection threshold is adjusted to the target calibration threshold, that is to say, the current detection threshold is lowered, thereby achieving the purpose of reducing the detection accuracy of the optical sensor 20. In this way, when the autonomous mobile cleaning equipment performs corresponding tasks in the safe area, the optical sensor 20 receives The light intensity value of the reflected light, that is, when the current received light intensity value decreases, the detection result obtained by the optical sensor 20 is still that there is no cliff in the safe area, so that the self-moving cleaning equipment will not execute the avoidance strategy to ensure the completion of the corresponding task. Goes smoothly.
示例性的,在现有技术中,当自移动清洁设备翻越安全区域的障碍物时,自移动清洁设备的主体会产生倾斜,从而导致光学传感器20的光发射部210所发出的出射光发生大量扩散,导致光学传感器20的光接收部220所接收到的反射光的光强值大大降低,例如,由120降低为55,那么假设当前检测阈值为90,这样在自移动清洁设备翻越障碍物时,光接收部220所接收到的反射光的光强值55小于当前检测阈值90,这样光学传感器20的检测结果为存在悬崖,导致自移动清洁设备执行避让策略,从而中断执行翻越障碍物的任务,使自移动清洁设备无法顺利的翻越障碍物。For example, in the prior art, when a self-mobile cleaning device climbs over an obstacle in a safe area, the main body of the self-mobile cleaning device will tilt, causing a large amount of outgoing light emitted by the light emitting part 210 of the optical sensor 20 to change. Diffusion causes the light intensity value of the reflected light received by the light receiving part 220 of the optical sensor 20 to be greatly reduced, for example, from 120 to 55. Then assuming that the current detection threshold is 90, when the mobile cleaning equipment climbs over the obstacle , the light intensity value 55 of the reflected light received by the light receiving part 220 is less than the current detection threshold 90, so the detection result of the optical sensor 20 is that there is a cliff, causing the mobile cleaning equipment to execute an avoidance strategy, thus interrupting the task of climbing over the obstacle. , making it impossible for the self-mobile cleaning equipment to successfully climb over obstacles.
而在本申请中,将当前检测阈值90调整至目标校准阈值45,这样当自移动清洁设备翻越安全区域的障碍物时,导致光学传感器20的光接收部220所接收到的反射光的光强值由120降低为55,光接收部220所接收到的反射光的光强值55仍大于目标校准阈值45,从而使得光学传感器20的检测结果为不存在悬崖,由此自移动清洁设备不会执行避让策略,也就是说自移动清洁设备仍能继续翻越障碍物。In this application, the current detection threshold 90 is adjusted to the target calibration threshold 45, so that when the mobile cleaning equipment climbs over the obstacles in the safe area, the intensity of the reflected light received by the light receiving part 220 of the optical sensor 20 will The value is reduced from 120 to 55. The light intensity value 55 of the reflected light received by the light receiving part 220 is still greater than the target calibration threshold 45, so that the detection result of the optical sensor 20 is that there is no cliff, and the self-moving cleaning equipment will not An avoidance strategy is implemented, which means that the self-moving cleaning device can still continue to climb over obstacles.
另一个例子,在现有技术中,当自移动清洁设备行进至铺设有深色地毯的安全区域时,由于深色地毯的吸光性,导致光学传感器20的光接收部220所接收到的反射光的光强值大大降低,例如,由120降低为60,那么假设当前检测阈值为90,这样光接收部220所接收到的反射光的光强值60小于当前检测阈值90,这样光学传感器20的检测结果为存在悬崖,导致自移动清洁设备执行避让策略,从而中断清洁深色地毯的任务,使自移动清洁设备无法顺利的清洁深色地毯。For another example, in the prior art, when the mobile cleaning equipment travels to a safe area covered with dark carpet, due to the light absorption of the dark carpet, the light receiving part 220 of the optical sensor 20 receives reflected light. The light intensity value of The detection result is that there is a cliff, which causes the self-mobile cleaning equipment to perform an avoidance strategy, thereby interrupting the task of cleaning dark carpets, making it impossible for the self-mobile cleaning equipment to clean dark carpets smoothly.
而在本申请中,将当前检测阈值90调整至目标校准阈值45,这样当自移动清洁设备清洁深色地毯时,导致光学传感器20的光接收部220所接收到的反射光的光强值由120降低为60,光接收部220所接收到的反射光的光强值60仍大于目标校准阈值45,从而使得光学传感器20的检测结果为不存在悬崖,由此自移动清洁设备不会执行避让策略,也就是说自移动清洁设备仍能继续对深色地毯进行清洁。In this application, the current detection threshold 90 is adjusted to the target calibration threshold 45, so that when the dark carpet is cleaned by the mobile cleaning equipment, the light intensity value of the reflected light received by the light receiving part 220 of the optical sensor 20 is: 120 is reduced to 60, and the light intensity value 60 of the reflected light received by the light receiving part 220 is still greater than the target calibration threshold 45, so that the detection result of the optical sensor 20 is that there is no cliff, and the self-moving cleaning equipment will not perform avoidance. strategy, which means that the self-mobile cleaning equipment can still continue to clean dark carpets.
在另一种实现方式中,如图7所示,步骤S103包括:In another implementation, as shown in Figure 7, step S103 includes:
步骤S1031b:获取各预设的检测阈值区间及各第二权重值的对应关系。Step S1031b: Obtain the corresponding relationship between each preset detection threshold interval and each second weight value.
各个检测阈值区间及对应的第二权重值,可由工作人员进行设置,本实施例不做严格限定。各个检测阈值区间对应的第二权重值可以部分相同,也可以全都不同,在一些实施例中,第二权重值随着检测阈值区间的数值的降低而增加,以避免后续得到的目标校准阈值过小,而导致光学传感器20精测精度过低,无法检测出安全区域的悬崖的情况发生,从而使光学传感器20仍具有一定的检测精度。例如,针对80-100检测阈值区间,其对应的第二权重值为0.5;针30-50检测阈值区间,其对应的第二权重值为0.7。Each detection threshold interval and the corresponding second weight value can be set by the staff, and are not strictly limited in this embodiment. The second weight values corresponding to each detection threshold interval may be partially the same or all different. In some embodiments, the second weight value increases as the value of the detection threshold interval decreases to avoid the subsequent target calibration threshold being exceeded. Small, the precision of the optical sensor 20 is too low, and the cliff in the safe area cannot be detected, so that the optical sensor 20 still has a certain detection accuracy. For example, for the detection threshold interval of 80-100, the corresponding second weight value is 0.5; for the detection threshold interval of 30-50, the corresponding second weight value is 0.7.
步骤S1032b:在各预设的检测阈值区间及各第二权重值的对应关系中,查找到当前检测阈值所对应的第二权重值。Step S1032b: Find the second weight value corresponding to the current detection threshold in the corresponding relationship between each preset detection threshold interval and each second weight value.
示例性的,假设当前检测阈值为35,如果检测阈值区间30-50所对应的第二权重值为0.7,那么当前检测阈值所35对应的第二权重阈值为0.7。For example, assuming that the current detection threshold is 35, if the second weight value corresponding to the detection threshold interval 30-50 is 0.7, then the second weight threshold corresponding to the current detection threshold 35 is 0.7.
步骤S1033b:基于当前检测阈值以及对应的第二权重值,计算得到目标校准阈值。Step S1033b: Calculate the target calibration threshold based on the current detection threshold and the corresponding second weight value.
具体地,通过当前检测阈值以及第二权重值的乘积,就能够得到初始校准阈值。示例性的,假设当前检测阈值为35,第一权重值为0.7,那么初始校准阈值为35*0.7=22.5。Specifically, the initial calibration threshold can be obtained by multiplying the current detection threshold and the second weight value. For example, assuming that the current detection threshold is 35 and the first weight value is 0.7, then the initial calibration threshold is 35*0.7=22.5.
步骤S1034b:将当前检测阈值调整为目标校准阈值,以降低光学传感器20的检测精度。Step S1034b: Adjust the current detection threshold to the target calibration threshold to reduce the detection accuracy of the optical sensor 20 .
在本实施例中,通过设置不同的检测阈值区间,从而能够准确的匹配到当前检测阈值所对应的第二权重值,进而能够直接得到目标校准阈值,提高了处理效率,也提高了目标校准阈值的准确性。In this embodiment, by setting different detection threshold intervals, the second weight value corresponding to the current detection threshold can be accurately matched, and the target calibration threshold can be obtained directly, which improves the processing efficiency and also improves the target calibration threshold. accuracy.
如图8所示,步骤S104中基于目标检测参数,判断安全区域是否存在悬崖,包括:As shown in Figure 8, in step S104, based on the target detection parameters, it is determined whether there is a cliff in the safe area, including:
步骤S1041a:获取光学传感器20当前接收光强值。Step S1041a: Obtain the current received light intensity value of the optical sensor 20.
光学传感器20的当前接收光强值为光学传感器20的光接受部所接收到的反射光的当前光强值。The current received light intensity value of the optical sensor 20 is the current light intensity value of the reflected light received by the light receiving part of the optical sensor 20 .
步骤S1042a:判断当前接收光强值是否大于或等于目标校准阈值,若是,则执行步骤S1043a,若否,则执行步骤S1044a。Step S1042a: Determine whether the current received light intensity value is greater than or equal to the target calibration threshold. If yes, execute step S1043a. If not, execute step S1044a.
步骤S1043a:确定安全区域不存在悬崖。Step S1043a: Determine that there is no cliff in the safe area.
步骤S1044a:确定安全区域存在悬崖。Step S1044a: Determine that there is a cliff in the safe area.
示例性的,假设目标校准阈值为45,如果当前接收光强值为60,即当前接收光强值大于目标校准阈值,那么就标识安全区域不存在悬崖,自移动清洁设备可继续完成其在安全区域的任务。For example, assuming that the target calibration threshold is 45, if the current received light intensity value is 60, that is, the current received light intensity value is greater than the target calibration threshold, then it is identified that there is no cliff in the safe area, and the self-mobile cleaning equipment can continue to complete its work in safety. regional tasks.
而如果当前接收光强值为30,即当前接收光强值小于目标校准阈值,那么就标识安全区域存在悬崖,自移动清洁设备执行避让策略,以避免跌落悬崖而造成损害。And if the current received light intensity value is 30, that is, the current received light intensity value is less than the target calibration threshold, then it is identified that there is a cliff in the safe area, and the mobile cleaning equipment implements an avoidance strategy to avoid damage caused by falling off the cliff.
在本实施例中,通过当前接收光强值与目标检测阈值的比对结果,确定安全区域是否存在悬崖,既能避免了由于自移动清洁设备翻越障碍物或者深色地毯等原因而引起光学传感器20器误判的情况发生,又能够保证降低检测精度的光学传感器20仍具有一定的检测能力,这样在光学传感器20检测到安全区域存在悬崖时,控制自移动清洁设备执行避让策略,从而降低自移动清洁设备在安全区域中因悬崖而跌落的几率,进而提高了自移动清洁设备在安全区域作业的可靠性。In this embodiment, by comparing the current received light intensity value with the target detection threshold, it is determined whether there is a cliff in the safe area, which can avoid the optical sensor being damaged due to the mobile cleaning equipment climbing over obstacles or dark carpets. When misjudgment occurs, the optical sensor 20 which can ensure that the detection accuracy is reduced still has a certain detection capability. In this way, when the optical sensor 20 detects that there is a cliff in the safe area, the self-moving cleaning equipment is controlled to execute an avoidance strategy, thereby reducing the risk of accidents. The probability of mobile cleaning equipment falling due to cliffs in safe areas thus improves the reliability of self-mobile cleaning equipment operating in safe areas.
进一步地,在上述实施例中,步骤S107包括:Further, in the above embodiment, step S107 includes:
当自移动清洁设备移出安全区域时,将目标校准阈值调整为当前检测阈值,以恢复光学光感器的检测精度。When the mobile cleaning equipment moves out of the safe area, the target calibration threshold is adjusted to the current detection threshold to restore the detection accuracy of the optical light sensor.
当自移动清洁设备移出安全区域时,将目标校准阈值调整为当前检测阈值,以恢复光学光感器的检测精度,也就是说,当自移动清洁设备移出安全区域时,光学传感器20所接收到的反射光的光强值与当前检测阈值进行比对,来确定是否存在悬崖,从而保证光学传感器20在其他区域检测的准确性。When the self-mobile cleaning equipment moves out of the safe area, the target calibration threshold is adjusted to the current detection threshold to restore the detection accuracy of the optical light sensor. That is to say, when the self-mobile cleaning equipment moves out of the safe area, the optical sensor 20 receives The intensity value of the reflected light is compared with the current detection threshold to determine whether there is a cliff, thereby ensuring the accuracy of detection by the optical sensor 20 in other areas.
在一些实施例中,当前检测参数包括当前接收光强值,即光接收部220接收到的反射光的当前光强值。In some embodiments, the current detection parameter includes the current received light intensity value, that is, the current light intensity value of the reflected light received by the light receiving part 220 .
在前检测参数包括当前接收光强值的情况下,如图9所示,步骤S103包括:In the case where the previous detection parameter includes the current received light intensity value, as shown in Figure 9, step S103 includes:
步骤S1031c:获取当前接收光强值对应的第三权重值。Step S1031c: Obtain the third weight value corresponding to the current received light intensity value.
第三权重值可由工作人员自行设置,本实施例不做严格限定。The third weight value can be set by the staff themselves, and is not strictly limited in this embodiment.
步骤S1032c:基于当前接收光强值及对应的第三权重值,计算得到目标接收光强值。Step S1032c: Calculate the target received light intensity value based on the current received light intensity value and the corresponding third weight value.
具体地,通过当前接收光强值以及第三权重值的乘积,就能够目标接收光强值。示例性的,假设当前接收光强值为30,第三权重值为2,那么初始校准阈值为30*2=60。Specifically, by multiplying the current received light intensity value and the third weight value, the target received light intensity value can be obtained. For example, assuming that the current received light intensity value is 30 and the third weight value is 2, then the initial calibration threshold is 30*2=60.
步骤S1033c:将当前接收光强值调整为目标接收光强值,以降低光学传感器20的检测精度。Step S1033c: Adjust the current received light intensity value to the target received light intensity value to reduce the detection accuracy of the optical sensor 20 .
将当前接收光强值调整为目标接收光强,也就是说降低当前检测阈值,从而达到降低光学传感器20的检测精度的目的,这样当自移动清洁设备在安全区域执行相应任务而导致光学传感器20接收到的反射光的光强值,也就是当前接收光强值减小时,利用光学传感器20所得到的检测结果仍是安全区域无悬崖,从而使自移动清洁设备不会执行避让策略,以保证相应任务的顺利进行。Adjust the current received light intensity value to the target received light intensity, that is to say, reduce the current detection threshold, thereby achieving the purpose of reducing the detection accuracy of the optical sensor 20. In this way, when the autonomous mobile cleaning equipment performs corresponding tasks in the safe area, the optical sensor 20 The light intensity value of the received reflected light, that is, when the current received light intensity value decreases, the detection result obtained by the optical sensor 20 is still that there is no cliff in the safe area, so that the self-moving cleaning equipment will not execute the avoidance strategy to ensure The corresponding tasks are carried out smoothly.
示例性的,在现有技术中,当自移动清洁设备翻越安全区域的障碍物时,自移动清洁设备的主体会产生倾斜,从而导致光学传感器20的光发射部210所发出的出射光发生大量扩散,导致光学传感器20的光接收部220所接收到的反射光的当前光强值(即当前接收光强值)大大降低,例如,由120降低为60,那么假设当前检测阈值为90,这样在自移动清洁设备翻越障碍物时,当前接收光强值60小于当前检测阈值90,这样光学传感器20的检测结果为存在悬崖,导致自移动清洁设备执行避让策略,从而中断执行翻越障碍物的任务,使自移动清洁设备无法顺利的翻越障碍物。For example, in the prior art, when a self-mobile cleaning device climbs over an obstacle in a safe area, the main body of the self-mobile cleaning device will tilt, causing a large amount of outgoing light emitted by the light emitting part 210 of the optical sensor 20 to change. Diffusion causes the current light intensity value of the reflected light received by the light receiving part 220 of the optical sensor 20 to be greatly reduced, for example, from 120 to 60, then assuming that the current detection threshold is 90, so When the self-mobile cleaning equipment climbs over an obstacle, the current received light intensity value 60 is less than the current detection threshold 90, so the detection result of the optical sensor 20 is that there is a cliff, causing the self-mobile cleaning equipment to execute an avoidance strategy, thus interrupting the task of climbing over the obstacle. , making it impossible for the self-mobile cleaning equipment to successfully climb over obstacles.
而在本申请中,当前接收光强值为60,通过其与第三权重值2的乘积,计算得到目标接收光强值为120,这样当自移动清洁设备翻越安全区域的障碍物时,将目标接收光强值120与当前检测阈值90作比较,目标接收光强值大于当前检测阈值,从而使得光学传感器20的检测结果为不存在悬崖,由此自移动清洁设备不会执行避让策略,也就是说自移动清洁设备仍能继续翻越障碍物。In this application, the current received light intensity value is 60. By multiplying it with the third weight value 2, the target received light intensity value is calculated to be 120. In this way, when the mobile cleaning equipment climbs over the obstacles in the safe area, it will The target received light intensity value 120 is compared with the current detection threshold 90. The target received light intensity value is greater than the current detection threshold, so that the detection result of the optical sensor 20 is that there is no cliff. Therefore, the mobile cleaning equipment will not execute the avoidance strategy, and This means that the self-moving cleaning equipment can still continue to climb over obstacles.
另一个例子,在现有技术中,当自移动清洁设备行进至铺设有深色地毯的安全区域时,由于深色地毯的吸光性,导致光学传感器20的光接收部220所接收到的反射光的光强值(即当前接收光强值)大大降低,例如,由100降低为50,那么假设当前检测阈值为90,这样当前接收光强值50小于当前检测阈值90,这样光学传感器20的检测结果为存在悬崖,导致自移动清洁设备执行避让策略,从而中断清洁深色地毯的任务,使自移动清洁设备无法顺利的清洁深色地毯。For another example, in the prior art, when the mobile cleaning equipment travels to a safe area covered with dark carpet, due to the light absorption of the dark carpet, the light receiving part 220 of the optical sensor 20 receives reflected light. The light intensity value (i.e., the current received light intensity value) is greatly reduced, for example, from 100 to 50, then assume that the current detection threshold is 90, so that the current received light intensity value of 50 is less than the current detection threshold of 90, so that the detection of the optical sensor 20 The result is that there is a cliff, which causes the self-mobile cleaning equipment to perform an avoidance strategy, thereby interrupting the task of cleaning dark carpets, making it impossible for the self-mobile cleaning equipment to clean dark carpets smoothly.
而在本申请中,当前接收光强值为50,通过其与第三权重值2的乘积,计算得到目标接收光强值为100,这样将目标接收光强值100与当前检测阈值90作比较,目标接收光强值大于当前检测阈值,从而使得光学传感器20的检测结果为不存在悬崖,由此自移动清洁设备不会执行避让策略,也就是说自移动清洁设备仍能继续对深色地毯进行清洁。In this application, the current received light intensity value is 50. By multiplying it with the third weight value 2, the target received light intensity value is calculated to be 100. In this way, the target received light intensity value of 100 is compared with the current detection threshold of 90. , the target received light intensity value is greater than the current detection threshold, so that the detection result of the optical sensor 20 is that there is no cliff, so the self-moving cleaning equipment will not execute the avoidance strategy, that is to say, the self-moving cleaning equipment can still continue to deal with dark carpets. Perform cleaning.
如图10所示,步骤S104中基于目标检测参数,判断安全区域是否存在悬崖,包括:As shown in Figure 10, in step S104, based on the target detection parameters, it is determined whether there is a cliff in the safe area, including:
步骤S1041b:获取光学传感器20接收的当前检测阈值。Step S1041b: Obtain the current detection threshold value received by the optical sensor 20 .
步骤S1042b:判断目标接收光强值是否大于或等于当前检测阈值,若是,则执行步骤S1043b,若否,则执行步骤S1044b。Step S1042b: Determine whether the target received light intensity value is greater than or equal to the current detection threshold. If yes, execute step S1043b. If not, execute step S1044b.
步骤S1043b:确定安全区域不存在悬崖。Step S1043b: Determine that there is no cliff in the safe area.
步骤S1044b:确定安全区域存在悬崖。Step S1044b: Determine that there is a cliff in the safe area.
示例性的,假设当前校准阈值为90,如果目标接收光强值为100,即当前接收光强值大于目标校准阈值,那么就标识安全区域不存在悬崖,自移动清洁设备可继续完成其在安全区域的任务。For example, assuming that the current calibration threshold is 90, if the target received light intensity value is 100, that is, the current received light intensity value is greater than the target calibration threshold, then it is identified that there is no cliff in the safe area, and the self-moving cleaning equipment can continue to complete its work in safety. regional tasks.
而如果当前接收光强值为70,即当前接收光强值小于目标校准阈值,那么就标识安全区域存在悬崖,自移动清洁设备执行避让策略,以避免跌落悬崖而造成损害。And if the current received light intensity value is 70, that is, the current received light intensity value is less than the target calibration threshold, then it is identified that there is a cliff in the safe area, and the mobile cleaning equipment implements an avoidance strategy to avoid damage caused by falling off the cliff.
在本实施例中,通过目标接收光强值与当前检测阈值的比对结果,确定安全区域是否存在悬崖,既能避免了由于自移动清洁设备翻越障碍物或者深色地毯等原因而引起光学传感器20器误判的情况发生,又能够保证降低检测精度的光学传感器20仍具有一定的检测能力,这样在光学传感器20检测到安全区域存在悬崖时,控制自移动清洁设备执行避让策略,从而降低自移动清洁设备在安全区域中因悬崖而跌落的几率,进而提高了自移动清洁设备在安全区域作业的可靠性。In this embodiment, by comparing the target received light intensity value with the current detection threshold, it is determined whether there is a cliff in the safe area, which can avoid the optical sensor being damaged due to the mobile cleaning equipment climbing over obstacles or dark carpets. When misjudgment occurs, the optical sensor 20 which can ensure that the detection accuracy is reduced still has a certain detection capability. In this way, when the optical sensor 20 detects that there is a cliff in the safe area, the self-moving cleaning equipment is controlled to execute an avoidance strategy, thereby reducing the risk of accidents. The probability of mobile cleaning equipment falling due to cliffs in safe areas thus improves the reliability of self-mobile cleaning equipment operating in safe areas.
进一步地,在上述实施例中,步骤S107包括:Further, in the above embodiment, step S107 includes:
当自移动清洁设备移出安全区域时,将目标接收光强值调整至当前接收光强值,以恢复光学光感器的检测精度。When the mobile cleaning equipment moves out of the safe area, the target received light intensity value is adjusted to the current received light intensity value to restore the detection accuracy of the optical light sensor.
当自移动清洁设备移出安全区域时,将目标接收光强值调整为当前接收光强值,以恢复光学光感器的检测精度,也就是说,当自移动清洁设备移出安全区域时,光学传感器20所接收到的反射光的当前光强值与当前检测阈值进行比对,来确定是否存在悬崖,从而保证光学传感器20在其他区域检测的准确性。When the self-mobile cleaning equipment moves out of the safe area, the target received light intensity value is adjusted to the current received light intensity value to restore the detection accuracy of the optical light sensor. That is to say, when the self-mobile cleaning equipment moves out of the safe area, the optical sensor The current intensity value of the reflected light received by 20 is compared with the current detection threshold to determine whether there is a cliff, thereby ensuring the accuracy of detection by the optical sensor 20 in other areas.
进一步地,在待清洁区域30中,距悬崖预设距离的范围内为非安全区域,由此光学传感器20不能在该区域降低检测精度,从而避免光学传感器20在台阶等悬崖及其附近的区域降低检测精度而无法检测出由如台阶形成的悬崖的情况发生。Furthermore, in the area to be cleaned 30, the preset distance from the cliff is a non-safety area, so the optical sensor 20 cannot reduce the detection accuracy in this area, thereby preventing the optical sensor 20 from being used in areas such as steps and cliffs and their vicinity. It may happen that the detection accuracy is reduced and a cliff formed by steps such as steps cannot be detected.
其中,预设距离可由工作人员进行设置,本实施不做严格限定。在一些实施例中,预设距离为1m。Among them, the preset distance can be set by the staff and is not strictly limited in this implementation. In some embodiments, the preset distance is 1 m.
进一步地,在上述实施例中,步骤S107之后包括:Further, in the above embodiment, step S107 includes:
当待清洁区域30更新时,消除所有安全区域。When the area to be cleaned 30 is updated, all safe areas are eliminated.
在待清洁区域30更新的情况下,原来的安全区域也被消除,也就是说用户需要在新的待清洁区域30中设置新的安全区域,从而使得安全区域随着待清洁区域30的改变而改变。When the area to be cleaned 30 is updated, the original safety area is also eliminated, which means that the user needs to set a new safety area in the new area 30 to be cleaned, so that the safety area changes as the area 30 to be cleaned changes. Change.
本发明已经通过上述实施例进行了说明,但应当理解的是,上述实施例只是用于举例和说明的目的,而非意在将本发明限制于所描述的实施例范围内。此外本领域技术人员可以理解的是,本发明并不局限于上述实施例,根据本发明的教导还可以做出更多种的变型和修改,这些变型和修改均落在本发明所要求保护的范围以内。本发明的保护范围由附属的权利要求书及其等效范围所界定。The present invention has been described through the above-mentioned embodiments, but it should be understood that the above-mentioned embodiments are only for the purpose of illustration and illustration, and are not intended to limit the present invention to the scope of the described embodiments. In addition, those skilled in the art can understand that the present invention is not limited to the above embodiments, and more variations and modifications can be made according to the teachings of the present invention. These variations and modifications all fall within the scope of the protection claimed by the present invention. within range. The protection scope of the present invention is defined by the appended claims and their equivalent scope.
Claims (13)
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202311634649.4A CN117502976A (en) | 2023-12-01 | 2023-12-01 | Self-moving cleaning equipment and control method thereof |
| PCT/CN2025/074317 WO2025113721A1 (en) | 2023-12-01 | 2025-01-23 | Self-moving cleaning device and control method therefor |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202311634649.4A CN117502976A (en) | 2023-12-01 | 2023-12-01 | Self-moving cleaning equipment and control method thereof |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN117502976A true CN117502976A (en) | 2024-02-06 |
Family
ID=89745456
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202311634649.4A Pending CN117502976A (en) | 2023-12-01 | 2023-12-01 | Self-moving cleaning equipment and control method thereof |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN117502976A (en) |
| WO (1) | WO2025113721A1 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2025113721A1 (en) * | 2023-12-01 | 2025-06-05 | 北京石头世纪科技股份有限公司 | Self-moving cleaning device and control method therefor |
Family Cites Families (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100585707B1 (en) * | 2004-12-04 | 2006-06-07 | 엘지전자 주식회사 | Device and method for cleaning area of robot cleaner |
| TWI653964B (en) * | 2016-05-17 | 2019-03-21 | Lg Electronics Inc. | Mobile robot and its control method |
| CN107775640B (en) * | 2017-12-05 | 2024-06-18 | 深圳银星智能集团股份有限公司 | move robot |
| CN109497889B (en) * | 2018-09-30 | 2020-11-17 | 深圳市银星智能科技股份有限公司 | Cliff detection method, device, equipment and robot |
| CN116058724A (en) * | 2021-10-29 | 2023-05-05 | 追觅创新科技(苏州)有限公司 | Cleaning robot operation control method, device and storage medium |
| CN116360461A (en) * | 2023-04-25 | 2023-06-30 | 北京石头世纪科技股份有限公司 | Self-moving device travel control method, device and self-moving device |
| CN116869431A (en) * | 2023-06-30 | 2023-10-13 | 深圳银星智能集团股份有限公司 | Drop threshold calibration method of cleaning robot and cleaning robot |
| CN117502976A (en) * | 2023-12-01 | 2024-02-06 | 北京石头世纪科技股份有限公司 | Self-moving cleaning equipment and control method thereof |
-
2023
- 2023-12-01 CN CN202311634649.4A patent/CN117502976A/en active Pending
-
2025
- 2025-01-23 WO PCT/CN2025/074317 patent/WO2025113721A1/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2025113721A1 (en) * | 2023-12-01 | 2025-06-05 | 北京石头世纪科技股份有限公司 | Self-moving cleaning device and control method therefor |
Also Published As
| Publication number | Publication date |
|---|---|
| WO2025113721A1 (en) | 2025-06-05 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20250089966A1 (en) | Method for controlling robot cleaner, electronic device and robot cleaner | |
| CN108873879B (en) | Autonomous mobile robot and its pile finding method, control device and intelligent cleaning system | |
| KR101930870B1 (en) | Moving robot and controlling method thereof | |
| US9474427B2 (en) | Robot cleaner and method for controlling the same | |
| EP3690591B1 (en) | Autonomous mobile robot and charging station seeking method therefor, control apparatus and smart cleaning system | |
| CN113261878A (en) | Docking station for autonomous floor cleaner | |
| EP4505927A1 (en) | Automatic cleaning devices, control method and storage medium | |
| US20250216867A1 (en) | Cleaning robot, and method and apparatuses for controlling cleaning robot to return to base and move out of base | |
| KR20230010575A (en) | Method for controlling traveling of self-cleaning device, device, system, and storage medium | |
| EP4191360A1 (en) | Distance measurement device and robotic vacuum cleaner | |
| CN114601399B (en) | Control method and device of cleaning equipment, cleaning equipment and storage medium | |
| AU2024274624A1 (en) | Distance detection apparatus and self-propelled device | |
| CN117502976A (en) | Self-moving cleaning equipment and control method thereof | |
| US20230081449A1 (en) | Mobile robot and control method therefor | |
| CN115590408B (en) | Surface inspection device and cleaning robot for work area | |
| CN219021025U (en) | Work area surface detection device and cleaning robot | |
| CN113854900B (en) | Self-moving robot | |
| CN216167276U (en) | Self-moving robot | |
| JP2026503986A (en) | Obstacle avoidance method and device for self-propelled equipment based on line laser, equipment and medium | |
| EP4537726A1 (en) | Cliff sensor and self-moving device | |
| CN117406296A (en) | Cliff detection device and method, self-moving equipment | |
| TWM677238U (en) | Autonomous mobile device and cleaning system | |
| CN117426709A (en) | A self-moving device and its ranging method | |
| CN120859345A (en) | Cliff detection method, cliff detection device, self-mobile device, storage medium, and program product |
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 |