WO2021043287A1 - Carpet detection method and apparatus, sweeping robot and computer storage medium - Google Patents

Carpet detection method and apparatus, sweeping robot and computer storage medium Download PDF

Info

Publication number
WO2021043287A1
WO2021043287A1 PCT/CN2020/113586 CN2020113586W WO2021043287A1 WO 2021043287 A1 WO2021043287 A1 WO 2021043287A1 CN 2020113586 W CN2020113586 W CN 2020113586W WO 2021043287 A1 WO2021043287 A1 WO 2021043287A1
Authority
WO
WIPO (PCT)
Prior art keywords
carpet
regression coefficient
sweeping robot
probability value
detection data
Prior art date
Application number
PCT/CN2020/113586
Other languages
French (fr)
Chinese (zh)
Inventor
杨勇
吴泽晓
罗治佳
Original Assignee
深圳市杉川机器人有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 深圳市杉川机器人有限公司 filed Critical 深圳市杉川机器人有限公司
Publication of WO2021043287A1 publication Critical patent/WO2021043287A1/en

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47LDOMESTIC WASHING OR CLEANING; SUCTION CLEANERS IN GENERAL
    • A47L11/00Machines for cleaning floors, carpets, furniture, walls, or wall coverings
    • A47L11/24Floor-sweeping machines, motor-driven
    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47LDOMESTIC WASHING OR CLEANING; SUCTION CLEANERS IN GENERAL
    • A47L11/00Machines for cleaning floors, carpets, furniture, walls, or wall coverings
    • A47L11/40Parts 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/4011Regulation of the cleaning machine by electric means; Control systems and remote control systems therefor

Definitions

  • the present disclosure relates to the field of sweeping robots, and in particular to a carpet detection method, device, sweeping robot, and computer storage medium.
  • the present disclosure provides a carpet detection method, device, sweeping robot, and computer storage medium to improve the reliability of carpet detection, ensure the accuracy of carpet detection, and increase the speed of carpet detection.
  • a carpet detection method, applied to a sweeping robot includes:
  • the sensor includes an optical flow image sensor, and the ground detection data includes optical flow image quality;
  • the "inputting the ground detection data into the corresponding pre-established regression coefficient model to obtain at least one regression coefficient” includes:
  • optical flow image quality is smoothed and then input into a pre-established optical flow image regression coefficient model to obtain the optical flow regression coefficient.
  • the sensor includes an infrared sensor, and the ground detection data further includes an infrared signal;
  • the "inputting the ground detection data into the corresponding pre-established regression coefficient model to obtain at least one regression coefficient” also includes:
  • the infrared signal is oversampled to obtain the infrared signal sampling value and then input into the pre-established infrared regression coefficient model to obtain the infrared regression coefficient.
  • the carpet detection method further includes:
  • the working motor includes a rolling brush motor, a walking motor, and a side brush motor
  • the regression coefficient model includes a rolling brush current regression coefficient model, a walking current regression coefficient model, and a side brush current regression coefficient model.
  • the "using the at least one regression coefficient to perform an operation according to a preset algorithm to obtain a carpet probability value" includes:
  • the probability value of the corresponding weight of the regression coefficient is obtained
  • the probability value of each weight obtained is added to obtain the probability value of the carpet.
  • the carpet detection method further includes:
  • the suction power of the vacuum cleaner of the sweeping robot is increased.
  • the carpet detection method further includes:
  • control the sweeping robot When it is determined that the sweeping robot is located on the carpet and it is determined that the sweeping robot is in the mopping mode, control the sweeping robot to retreat from the carpet area, mark the carpet area and/or send the location of the carpet area to the customer end.
  • the present disclosure also provides a carpet detection device, which is applied to the sweeping robot, and includes:
  • the detection data acquisition module is configured to acquire ground detection data detected by at least one sensor
  • a regression coefficient calculation module configured to input the ground detection data into a corresponding pre-established regression coefficient model to obtain at least one regression coefficient
  • the carpet probability calculation module is configured to use the at least one regression coefficient to perform calculations according to a preset algorithm to obtain a carpet probability value
  • the carpet detection and determination module is configured to determine that the cleaning robot is located on the carpet when it is determined that the probability value of the carpet is greater than or equal to the preset probability value.
  • the present disclosure also provides a sweeping robot, including a memory, a processor, an optical flow image sensor, and an infrared sensor.
  • the memory is configured to store a computer program, and the processor runs the computer program to make the sweeping robot execute the The carpet detection method.
  • the present disclosure also provides a computer storage medium, which stores the computer program used in the sweeping robot.
  • the present disclosure provides a carpet detection method, which is applied to a sweeping robot, including: acquiring ground detection data detected by at least one sensor; inputting the ground detection data into a corresponding pre-established regression coefficient model to obtain at least one Regression coefficient; using the at least one regression coefficient to perform operations according to a preset algorithm to obtain a carpet probability value; when it is determined that the carpet probability value is greater than or equal to the preset probability value, it is determined that the sweeping robot is located on the carpet.
  • the carpet detection method of the present disclosure can simultaneously obtain ground detection data by using multiple sensors, and obtain multiple regression coefficients through the regression coefficient model for carpet detection, thereby improving the reliability of carpet detection and ensuring the accuracy of carpet detection. And improve the speed of carpet detection.
  • FIG. 1 is a flowchart of a carpet detection method provided in Embodiment 1 of the present disclosure
  • FIG. 2 is a flowchart of a carpet detection method provided in Embodiment 2 of the present disclosure
  • FIG. 3 is a flowchart of a carpet detection method provided in Embodiment 3 of the present disclosure.
  • FIG. 4 is a schematic structural diagram of a carpet detection device provided in Embodiment 4 of the present disclosure.
  • Fig. 1 is a flowchart of a carpet detection method provided in Embodiment 1 of the present disclosure, and the method includes the following steps:
  • Step S11 Obtain ground detection data detected by at least one sensor.
  • various sensors may be provided in the sweeping robot, for example, current sensors including infrared sensors, ultrasonic sensors, and various motors.
  • current sensors including infrared sensors, ultrasonic sensors, and various motors.
  • multiple sensors can be used to perform ground detection at the same time, and ground detection data from multiple sensors can be obtained and analyzed.
  • the above-mentioned ground detection data includes at least one of optical flow image quality and infrared signals
  • the sweeping robot includes at least one sensor such as a streamer sensor and an infrared sensor, and the sweeping robot is Automatically turn on the above-mentioned sensors when working and obtain various ground detection data.
  • Step S12 Input the ground detection data into the corresponding pre-established regression coefficient model to obtain at least one regression coefficient.
  • various ground data can be input into the corresponding regression coefficient model to obtain the output of the corresponding regression coefficient model.
  • the sensor includes an optical flow image sensor
  • the ground detection data includes optical flow image quality
  • obtaining the regression coefficient includes: smoothing the optical flow image quality and inputting it into a pre-established optical flow image regression coefficient model, Obtain the optical flow regression coefficient.
  • the above-mentioned sensor further includes an infrared sensor, and the ground detection data also includes an infrared signal.
  • the regression coefficient includes: over-sampling the infrared signal to obtain an infrared signal sample value and then input it to a pre-established infrared regression In the coefficient model, the infrared regression coefficient is obtained.
  • the sweeping robot be analyzed by the sensor whether it is on the carpet, but also the carpet detection can be carried out by the current of the working motor.
  • the specific principle is that the resistance received by the sweeping robot on the carpet is greater than the smooth floor, so the working motor is The current will increase significantly, so the above step of obtaining the regression coefficient may further include: obtaining the current value of at least one working motor, and inputting the current value of the working motor into the corresponding pre-established regression coefficient model to obtain For at least one regression coefficient; wherein the working motor includes a rolling brush motor, a walking motor, and a side brush motor, and the regression coefficient model includes a rolling brush current regression coefficient model, a walking current regression coefficient model, and a side brush current regression coefficient model.
  • the above-mentioned regression coefficient models established in advance in the sweeping robot are based on a large amount of test data, that is, a large amount of detection data can be obtained after carpet detection with corresponding sensors, and generated based on a large amount of detection data.
  • a machine learning module can also be provided in the sweeping robot, and a regression coefficient model corresponding to the sensor is generated through machine learning when the sweeping robot is working.
  • Step S13 Use the at least one regression coefficient to perform calculations according to a preset algorithm to obtain a carpet probability value.
  • each regression coefficient model can generate a corresponding regression coefficient according to the input ground detection data, and compare the regression coefficient with the corresponding coefficient range stored in advance.
  • the method includes: obtaining the probability value of the corresponding weight of the regression coefficient when determining that the regression coefficient is within the corresponding preset regression coefficient range; adding the obtained probability values of the weights to obtain the carpet probability value.
  • the carpet probability value is obtained as described above
  • the process includes: determining that the optical flow regression coefficient is within the preset optical flow coefficient range, obtaining the corresponding probability value of the first weight; and/or determining that the rolling brush current regression coefficient is within the preset rolling brush current
  • the coefficient is within the range, obtain the probability value of the corresponding second weight; and/or when it is determined that the walking current regression coefficient is within the preset walking current coefficient range, obtain the probability value of the corresponding third weight; and/or determine
  • the side brush current regression coefficient is within the preset side brush current coefficient range, obtain the corresponding probability value of the fourth weight; and/or when it is determined that the infrared regression coefficient is within the preset infrared coefficient range, obtain the corresponding The probability value of the fifth weight of, and the probability value of each weight obtained
  • the probability values of the weights corresponding to the various regression coefficients mentioned above are also the reliability of detecting the carpet based on the regression coefficients.
  • the sweeping robot mainly uses optical flow image sensors to detect carpets, the probability of the first weight can be set to 50%, and the probability values of the second weight, the third weight, the fourth weight, and the fifth weight can be set to It is 20%, 10%, 10%, and 10%.
  • the probability value of the carpet obtained is 70%. Among them, when the regression coefficient is not in the corresponding coefficient range, the preset probability value of the corresponding weight will not be obtained.
  • Step S14 When it is determined that the probability value of the carpet is greater than or equal to the preset probability value, it is determined that the sweeping robot is located on the carpet.
  • a preset probability value is also set in the cleaning robot, which is configured to judge with the carpet probability value, so as to determine whether the cleaning robot is located on the carpet.
  • the preset probability value can be set to 50%, that is, when the carpet probability value is higher than 50%, it can be determined that the sweeping robot is located on the carpet.
  • multiple sensors can be used to obtain ground detection data at the same time, and multiple regression coefficients with different weights can be obtained through the regression coefficient model for carpet detection, thereby improving the reliability of detection and ensuring the accuracy of carpet detection , And improve the speed of carpet detection.
  • Fig. 2 is a flowchart of a carpet detection method provided in Embodiment 2 of the present disclosure, and the method includes the following steps:
  • Step S21 Obtain ground detection data detected by at least one sensor.
  • Step S22 Input the ground detection data into the corresponding pre-established regression coefficient model to obtain at least one regression coefficient.
  • Step S23 Use the at least one regression coefficient to perform calculations according to a preset algorithm to obtain a carpet probability value.
  • Step S24 When it is determined that the probability value of the carpet is greater than or equal to the preset probability value, it is determined that the sweeping robot is located on the carpet.
  • Step S25 When it is determined that the cleaning robot is located on the carpet, and it is determined that the cleaning robot is in the cleaning mode, increase the suction power of the vacuum cleaner of the cleaning robot.
  • the vacuum cleaner of the sweeping robot can be controlled to increase the suction power of the vacuum cleaner to effectively clean the carpet.
  • Some cleaning robots equipped with a carpet cleaning mode can switch to the carpet cleaning mode.
  • FIG. 3 is a flowchart of a carpet detection method provided in Embodiment 3 of the present disclosure, and the method includes the following steps:
  • Step S31 Obtain ground detection data detected by at least one sensor.
  • Step S32 Input the ground detection data into the corresponding pre-established regression coefficient model to obtain at least one regression coefficient.
  • Step S33 Use the at least one regression coefficient to perform calculations according to a preset algorithm to obtain a carpet probability value.
  • Step S34 When it is determined that the probability value of the carpet is greater than or equal to the preset probability value, it is determined that the sweeping robot is located on the carpet.
  • Step S35 When it is determined that the sweeping robot is located on the carpet and it is determined that the sweeping robot is in the mopping mode, control the sweeping robot to retreat from the carpet area, and mark the carpet area and/or move the carpet area The location is sent to the client.
  • the sweeping robot is located on the carpet, and when the sweeping robot is in the mopping mode, the sweeping robot can retreat from the carpet area in the opposite direction, and at the same time can mark the area where the carpet is detected It is a virtual carpet, it can automatically avoid this area when it is in mopping mode next time, and when it is in normal cleaning mode, it can enter this area after increasing the suction power of the vacuum cleaner in advance.
  • the sweeping robot can also send the location information of the area where the carpet is detected to the client, so that the user can clear the corresponding virtual carpet mark in the sweeping robot through the client after removing the carpet.
  • FIG. 4 is a schematic structural diagram of a carpet detection device provided in Embodiment 4 of the present disclosure.
  • the carpet detection device 400 includes:
  • the detection data acquisition module 410 is configured to acquire ground detection data detected by at least one sensor
  • the regression coefficient calculation module 420 is configured to input the ground detection data into a corresponding pre-established regression coefficient model to obtain at least one regression coefficient
  • the carpet probability calculation module 430 is configured to use the at least one regression coefficient to perform calculations according to a preset algorithm to obtain a carpet probability value
  • the carpet detection and determination module 440 is configured to determine that the sweeping robot is located on the carpet when it is determined that the probability value of the carpet is greater than or equal to the preset probability value.
  • the present disclosure also provides a cleaning robot.
  • the cleaning robot includes a memory, a processor, an optical flow image sensor, and an infrared sensor.
  • the memory can be configured to store a computer program.
  • the processor runs the computer program to make the cleaning robot Perform the above method or the function of each module in the above carpet detection device.
  • the memory may include a storage program area and a storage data area.
  • the storage program area may store an operating system, an application program required by at least one function (such as a sound playback function or an image playback function, etc.), etc.; the storage data area may store according to the sweeping robot Use the created data (such as audio data or phone book, etc.) and so on.
  • the memory may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • This embodiment also provides a computer storage medium configured to store the computer program used in the above-mentioned sweeping robot.
  • each block in the flowchart or block diagram may represent a module, program segment, or part of code, and the module, program segment, or part of code includes one or more Executable instructions.
  • the functions marked in the block may also occur in a different order from the order marked in the drawings.
  • each block in the structure diagram and/or flowchart, and the combination of the blocks in the structure diagram and/or flowchart can be used as a dedicated hardware-based system that performs specified functions or actions. , Or can be realized by a combination of dedicated hardware and computer instructions.
  • the functional modules or units in the various embodiments of the present disclosure may be integrated together to form an independent part, or each module may exist alone, or two or more modules may be integrated to form an independent part.
  • the function is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer readable storage medium.
  • the technical solution of the present disclosure essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a smart phone, a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present disclosure.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disks or optical disks and other media that can store program codes. .

Landscapes

  • Electric Vacuum Cleaner (AREA)
  • Manipulator (AREA)

Abstract

A carpet detection method and apparatus, a sweeping robot, and a computer storage medium. The carpet detection method comprises: acquiring ground detection data detected by at least one sensor; inputting the ground detection data into a corresponding pre-established regression coefficient model to obtain at least one regression coefficient; using the at least one regression coefficient to perform calculations in accordance with a preset algorithm to obtain a carpet probability value; and when it is determined that the carpet probability value is greater than or equal to a preset probability value, determining that a sweeping robot is located on a carpet. The carpet detection method may use a plurality of sensors to concurrently obtain ground detection data, and by means of the regression coefficient model, obtain a plurality of regression coefficients for carpet detection, which may thus improve the reliability of detection, ensure the accuracy of carpet detection, and increase the speed of carpet detection.

Description

地毯检测方法、装置、扫地机器人和计算机存储介质Carpet detection method, device, sweeping robot and computer storage medium
相关申请的交叉引用Cross-references to related applications
本公开要求于2019年09月05日提交中国专利局的申请号为CN201910838509.6、名称为“地毯检测方法、装置、扫地机器人和计算机存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本公开中。This disclosure claims the priority of a Chinese patent application filed with the Chinese Patent Office on September 5, 2019, with the application number CN201910838509.6, titled "Carpet Inspection Method, Device, Sweeping Robot, and Computer Storage Medium", the entire content of which is approved Reference is incorporated in this disclosure.
技术领域Technical field
本公开涉及扫地机器人领域,具体而言,涉及一种地毯检测方法、装置、扫地机器人和计算机存储介质。The present disclosure relates to the field of sweeping robots, and in particular to a carpet detection method, device, sweeping robot, and computer storage medium.
背景技术Background technique
随着计算机技术与人工智能技术的飞速发展,智能机器人技术逐渐成为现代机器人研究领域的热点。其中,扫地机器人作为智能机器人中最实用化的一种,可以凭借其人工智能完成地面的清理工作。With the rapid development of computer technology and artificial intelligence technology, intelligent robotics technology has gradually become a hot spot in the field of modern robotics research. Among them, the sweeping robot, as the most practical one of the intelligent robots, can use its artificial intelligence to complete the ground cleaning work.
目前的智能扫地机器人,一般采用刷扫和真空方式,将地面杂物吸入自身的尘盒,从而完成地面清理的功能。但是,一般的扫地机器人,受限于内置的传感器及处理算法,无法检测房间里的地毯等特殊物品,对于地毯也像常规地面一样进行清扫,无法有效地清除地毯上的垃圾和杂物,或者用单一传感器的简单判定方式,其地毯检测的精确度较低,而容易发生误检,并且判断速度较慢,容易对地毯进行错误清扫操作。Current intelligent sweeping robots generally use brush sweeping and vacuum methods to suck ground debris into their own dust box, thereby completing the function of ground cleaning. However, the general sweeping robot is limited by the built-in sensors and processing algorithms, and cannot detect special items such as carpets in the room. It also cleans the carpets like regular floors, and cannot effectively remove the garbage and debris on the carpets, or With a simple judgment method using a single sensor, the accuracy of carpet detection is low, and false detection is prone to occur, and the judgment speed is slow, and it is easy to perform wrong cleaning operations on the carpet.
发明内容Summary of the invention
鉴于上述问题,本公开提供了一种地毯检测方法、装置、扫地机器人和计算机存储介质,以提高地毯检测的可信度,保证地毯检测的精准度,并且提高地毯检测的速度。In view of the foregoing problems, the present disclosure provides a carpet detection method, device, sweeping robot, and computer storage medium to improve the reliability of carpet detection, ensure the accuracy of carpet detection, and increase the speed of carpet detection.
为了实现上述目的,本公开采用如下的技术方案:In order to achieve the above objectives, the present disclosure adopts the following technical solutions:
一种地毯检测方法,应用于扫地机器人,包括:A carpet detection method, applied to a sweeping robot, includes:
获取至少一种传感器检测到的地面检测数据;Acquiring ground detection data detected by at least one sensor;
将所述地面检测数据输入至对应的预先建立的回归系数模型中,获得对至少一个回归系数;Input the ground detection data into the corresponding pre-established regression coefficient model to obtain at least one regression coefficient;
利用所述至少一个回归系数按照预设算法进行运算,获得地毯概率值;Using the at least one regression coefficient to perform operations according to a preset algorithm to obtain a carpet probability value;
当确定所述地毯概率值大于或等于预设概率值时,确定扫地机器人位于地毯上。When it is determined that the probability value of the carpet is greater than or equal to the preset probability value, it is determined that the sweeping robot is located on the carpet.
优选地,所述的地毯检测方法中,所述传感器包括光流图像传感器,所述地面检测数据包括光流图像质量;Preferably, in the carpet detection method, the sensor includes an optical flow image sensor, and the ground detection data includes optical flow image quality;
所述“将所述地面检测数据输入至对应的预先建立的回归系数模型中,获得对至少一个回归系数”包括:The "inputting the ground detection data into the corresponding pre-established regression coefficient model to obtain at least one regression coefficient" includes:
将所述光流图像质量经过平滑处理后输入至预先建立的光流图像回归系数模型中,获得光流回归系数。The optical flow image quality is smoothed and then input into a pre-established optical flow image regression coefficient model to obtain the optical flow regression coefficient.
优选地,所述的地毯检测方法中,所述传感器包括红外传感器,所述地面检测数据还包括红外信号;Preferably, in the carpet detection method, the sensor includes an infrared sensor, and the ground detection data further includes an infrared signal;
所述“将所述地面检测数据输入至对应的预先建立的回归系数模型中,获得对至少一个回归系数”还包括:The "inputting the ground detection data into the corresponding pre-established regression coefficient model to obtain at least one regression coefficient" also includes:
将所述红外信号进过采样获得红外信号采样值后输入至预先建立的红外回归系数模型中,获得红外回归系数。The infrared signal is oversampled to obtain the infrared signal sampling value and then input into the pre-established infrared regression coefficient model to obtain the infrared regression coefficient.
优选地,所述的地毯检测方法中,还包括:Preferably, the carpet detection method further includes:
获取至少一种工作电机的电流值,将所述工作电机的电流值输入至对应的预先建立的回归系数模型中,获得对至少一个回归系数;Acquiring the current value of at least one working motor, inputting the current value of the working motor into a corresponding pre-established regression coefficient model to obtain at least one regression coefficient;
其中,所述工作电机包括滚刷电机、行走电机以及边刷电机,所述回归系数模型包括滚刷电流回归系数模型、行走电流回归系数模型以及边刷电流回归系数模型。Wherein, the working motor includes a rolling brush motor, a walking motor, and a side brush motor, and the regression coefficient model includes a rolling brush current regression coefficient model, a walking current regression coefficient model, and a side brush current regression coefficient model.
优选地,所述的地毯检测方法中,所述“利用所述至少一个回归系数按照预设算法进行运算,获得地毯概率值”包括:Preferably, in the carpet detection method, the "using the at least one regression coefficient to perform an operation according to a preset algorithm to obtain a carpet probability value" includes:
确定所述回归系数在相应预设的回归系数范围内时,获得所述回归系数相应权重的概率值;When it is determined that the regression coefficient is within the corresponding preset regression coefficient range, the probability value of the corresponding weight of the regression coefficient is obtained;
将获得的各权重的概率值相加,获得所述地毯概率值。The probability value of each weight obtained is added to obtain the probability value of the carpet.
优选地,所述的地毯检测方法中,还包括:Preferably, the carpet detection method further includes:
在确定所述扫地机器人位于地毯上,并确定所述扫地机器人处于清扫模式时,增大所述扫地机器人吸尘器的吸力。When it is determined that the sweeping robot is located on the carpet and it is determined that the sweeping robot is in the cleaning mode, the suction power of the vacuum cleaner of the sweeping robot is increased.
优选地,所述的地毯检测方法中,还包括:Preferably, the carpet detection method further includes:
在确定所述扫地机器人位于地毯上,并确定所述扫地机器人处于拖地模式时,控制所述扫地机器人退离地毯区域,并标记所述地毯区域和/或将所述地毯区域位置发送至客户端。When it is determined that the sweeping robot is located on the carpet and it is determined that the sweeping robot is in the mopping mode, control the sweeping robot to retreat from the carpet area, mark the carpet area and/or send the location of the carpet area to the customer end.
本公开还提供一种地毯检测装置,应用于扫地机器人,包括:The present disclosure also provides a carpet detection device, which is applied to the sweeping robot, and includes:
检测数据获取模块,配置成获取至少一种传感器检测到的地面检测数据;The detection data acquisition module is configured to acquire ground detection data detected by at least one sensor;
回归系数计算模块,配置成将所述地面检测数据输入至对应的预先建立的回归系数模型中,获得对至少一个回归系数;A regression coefficient calculation module, configured to input the ground detection data into a corresponding pre-established regression coefficient model to obtain at least one regression coefficient;
地毯概率计算模块,配置成利用所述至少一个回归系数按照预设算法进行运算,获得地毯概率值;The carpet probability calculation module is configured to use the at least one regression coefficient to perform calculations according to a preset algorithm to obtain a carpet probability value;
地毯检测确定模块,配置成当确定所述地毯概率值大于或等于预设概率值时,确定扫 地机器人位于地毯上。The carpet detection and determination module is configured to determine that the cleaning robot is located on the carpet when it is determined that the probability value of the carpet is greater than or equal to the preset probability value.
本公开还提供一种扫地机器人,包括存储器、处理器、光流图像传感器以及红外传感器,所述存储器配置成存储计算机程序,所述处理器运行所述计算机程序以使所述扫地机器人执行所述的地毯检测方法。The present disclosure also provides a sweeping robot, including a memory, a processor, an optical flow image sensor, and an infrared sensor. The memory is configured to store a computer program, and the processor runs the computer program to make the sweeping robot execute the The carpet detection method.
本公开还提供一种计算机存储介质,其存储有所述的扫地机器人中所使用的计算机程序。The present disclosure also provides a computer storage medium, which stores the computer program used in the sweeping robot.
本公开提供一种地毯检测方法,应用于扫地机器人,包括:获取至少一种传感器检测到的地面检测数据;将所述地面检测数据输入至对应的预先建立的回归系数模型中,获得对至少一个回归系数;利用所述至少一个回归系数按照预设算法进行运算,获得地毯概率值;当确定所述地毯概率值大于或等于预设概率值时,确定扫地机器人位于地毯上。本公开的地毯检测方法,可以利用多种传感器同时获取地面检测数据,并通过回归系数模型获得多个回归系数进行地毯的检测,从而可以提高地毯检测的可信度,保证地毯检测的精准度,并且提高地毯检测的速度。The present disclosure provides a carpet detection method, which is applied to a sweeping robot, including: acquiring ground detection data detected by at least one sensor; inputting the ground detection data into a corresponding pre-established regression coefficient model to obtain at least one Regression coefficient; using the at least one regression coefficient to perform operations according to a preset algorithm to obtain a carpet probability value; when it is determined that the carpet probability value is greater than or equal to the preset probability value, it is determined that the sweeping robot is located on the carpet. The carpet detection method of the present disclosure can simultaneously obtain ground detection data by using multiple sensors, and obtain multiple regression coefficients through the regression coefficient model for carpet detection, thereby improving the reliability of carpet detection and ensuring the accuracy of carpet detection. And improve the speed of carpet detection.
为使本公开的上述目的、特征和优点能更明显易懂,下文特举较佳实施例,并配合所附附图,作详细说明如下。In order to make the above objectives, features and advantages of the present disclosure more comprehensible, preferred embodiments accompanied with accompanying drawings are described in detail below.
附图说明Description of the drawings
为了更清楚地说明本公开的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,应当理解,以下附图仅示出了本公开的某些实施例,因此不应被看作是对本公开保护范围的限定。在各个附图中,类似的构成部分采用类似的编号。In order to explain the technical solutions of the present disclosure more clearly, the drawings that need to be used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present disclosure, and therefore should not be It is regarded as a limitation of the protection scope of the present disclosure. In each figure, similar components are numbered similarly.
图1是本公开实施例1提供的一种地毯检测方法的流程图;FIG. 1 is a flowchart of a carpet detection method provided in Embodiment 1 of the present disclosure;
图2是本公开实施例2提供的一种地毯检测方法的流程图;2 is a flowchart of a carpet detection method provided in Embodiment 2 of the present disclosure;
图3是本公开实施例3提供的一种地毯检测方法的流程图;FIG. 3 is a flowchart of a carpet detection method provided in Embodiment 3 of the present disclosure;
图4是本公开实施例4提供的一种地毯检测装置的结构示意图。FIG. 4 is a schematic structural diagram of a carpet detection device provided in Embodiment 4 of the present disclosure.
具体实施方式detailed description
下面将结合本公开实施例中附图,对本公开实施例中的技术方案进行清楚和完整地描述,显然,所描述的实施例仅仅是本公开一部分实施例,而不是全部的实施例。The technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only a part of the embodiments of the present disclosure, rather than all the embodiments.
通常在此处附图中描述和示出的本公开实施例的组件可以以各种不同的配置来布置和设计。因此,以下对在附图中提供的本公开的实施例的详细描述并非旨在限制要求保护的本公开的范围,而是仅仅表示本公开的选定实施例。基于本公开的实施例,本领域技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本公开保护的范围。The components of the embodiments of the present disclosure generally described and illustrated in the drawings herein may be arranged and designed in a variety of different configurations. Therefore, the following detailed description of the embodiments of the present disclosure provided in the accompanying drawings is not intended to limit the scope of the claimed present disclosure, but merely represents selected embodiments of the present disclosure. Based on the embodiments of the present disclosure, all other embodiments obtained by those skilled in the art without creative work shall fall within the protection scope of the present disclosure.
在下文中,可在本公开的各种实施例中使用的术语“包括”、“具有”及其同源词仅意 在表示特定特征、数字、步骤、操作、元件、组件或前述项的组合,并且不应被理解为首先排除一个或更多个其它特征、数字、步骤、操作、元件、组件或前述项的组合的存在或增加一个或更多个特征、数字、步骤、操作、元件、组件或前述项的组合的可能性。Hereinafter, the terms "including", "having" and their cognates that can be used in various embodiments of the present disclosure are only intended to represent specific features, numbers, steps, operations, elements, components, or combinations of the foregoing, And should not be understood as first excluding the existence of one or more other features, numbers, steps, operations, elements, components or combinations of the foregoing items or adding one or more features, numbers, steps, operations, elements, components Or the possibility of a combination of the foregoing.
此外,术语“第一”、“第二”和“第三”等仅用于区分描述,而不能理解为指示或暗示相对重要性。In addition, the terms "first", "second", "third", etc. are only used for distinguishing description, and cannot be understood as indicating or implying relative importance.
除非另有限定,否则在这里使用的所有术语(包括技术术语和科学术语)具有与本公开的各种实施例所属领域普通技术人员通常理解的含义相同的含义。所述术语(诸如在一般使用的词典中限定的术语)将被解释为具有与在相关技术领域中的语境含义相同的含义并且将不被解释为具有理想化的含义或过于正式的含义,除非在本公开的各种实施例中被清楚地限定。Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by those of ordinary skill in the art to which various embodiments of the present disclosure belong. The terms (such as those defined in commonly used dictionaries) will be interpreted as having the same meaning as the contextual meaning in the relevant technical field and will not be interpreted as having idealized or overly formal meanings, Unless clearly defined in various embodiments of the present disclosure.
实施例1Example 1
图1是本公开实施例1提供的一种地毯检测方法的流程图,该方法包括如下步骤:Fig. 1 is a flowchart of a carpet detection method provided in Embodiment 1 of the present disclosure, and the method includes the following steps:
步骤S11:获取至少一种传感器检测到的地面检测数据。Step S11: Obtain ground detection data detected by at least one sensor.
本公开是实施例中,在扫地机器人中可以设置有多种传感器,例如包括有红外传感器、超声波传感器以及各种电机的电流传感器等。在扫地机器人进行工作时,可以利用多种传感器同时进行地面检测,获取多种传感器的地面检测数据并进行分析。In the embodiment of the present disclosure, various sensors may be provided in the sweeping robot, for example, current sensors including infrared sensors, ultrasonic sensors, and various motors. When the sweeping robot is working, multiple sensors can be used to perform ground detection at the same time, and ground detection data from multiple sensors can be obtained and analyzed.
本公开实施例中,上述地面检测数据至少包括光流图像质量以及红外信号中其中一种数据,也即该扫地机器人中包括有流光传感器以及红外传感器等至少一种传感器,并且,该扫地机器人在工作时自动开启上述传感器并获取各种地面检测数据。In the embodiments of the present disclosure, the above-mentioned ground detection data includes at least one of optical flow image quality and infrared signals, that is, the sweeping robot includes at least one sensor such as a streamer sensor and an infrared sensor, and the sweeping robot is Automatically turn on the above-mentioned sensors when working and obtain various ground detection data.
步骤S12:将所述地面检测数据输入至对应的预先建立的回归系数模型中,获得对至少一个回归系数。Step S12: Input the ground detection data into the corresponding pre-established regression coefficient model to obtain at least one regression coefficient.
本公开实施例中,在获取到多种传感器的地面检测数据后,可以将各种地面数据输入至相应的回归系数模型中,获得相应回归系数模型的输出。其中,传感器包括光流图像传感器,所述地面检测数据包括光流图像质量,获取回归系数时包括:将所述光流图像质量经过平滑处理后输入至预先建立的光流图像回归系数模型中,获得光流回归系数。In the embodiments of the present disclosure, after the ground detection data of various sensors are obtained, various ground data can be input into the corresponding regression coefficient model to obtain the output of the corresponding regression coefficient model. Wherein, the sensor includes an optical flow image sensor, the ground detection data includes optical flow image quality, and obtaining the regression coefficient includes: smoothing the optical flow image quality and inputting it into a pre-established optical flow image regression coefficient model, Obtain the optical flow regression coefficient.
本公开实施中,上述传感器还包括红外传感器,所述地面检测数据还包括红外信号,则获取回归系数时包括:将所述红外信号进过采样获得红外信号采样值后输入至预先建立的红外回归系数模型中,获得红外回归系数。In the implementation of the present disclosure, the above-mentioned sensor further includes an infrared sensor, and the ground detection data also includes an infrared signal. When the regression coefficient is obtained, it includes: over-sampling the infrared signal to obtain an infrared signal sample value and then input it to a pre-established infrared regression In the coefficient model, the infrared regression coefficient is obtained.
本公开实施例中,不仅可以通过传感器分析扫地机器人是否处于地毯上,还可以通过工作电机的电流进行地毯检测,具体原理是扫地机器人在地毯上收到的阻力大于光滑的地板,因此工作电机的电流会有明显的增大,因此上述获取回归系数的步骤还可以包括:获 取至少一种工作电机的电流值,将所述工作电机的电流值输入至对应的预先建立的回归系数模型中,获得对至少一个回归系数;其中,所述工作电机包括滚刷电机、行走电机以及边刷电机,所述回归系数模型包括滚刷电流回归系数模型、行走电流回归系数模型以及边刷电流回归系数模型。In the embodiments of the present disclosure, not only can the sweeping robot be analyzed by the sensor whether it is on the carpet, but also the carpet detection can be carried out by the current of the working motor. The specific principle is that the resistance received by the sweeping robot on the carpet is greater than the smooth floor, so the working motor is The current will increase significantly, so the above step of obtaining the regression coefficient may further include: obtaining the current value of at least one working motor, and inputting the current value of the working motor into the corresponding pre-established regression coefficient model to obtain For at least one regression coefficient; wherein the working motor includes a rolling brush motor, a walking motor, and a side brush motor, and the regression coefficient model includes a rolling brush current regression coefficient model, a walking current regression coefficient model, and a side brush current regression coefficient model.
本公开实施例中,上述各种在扫地机器人中预先建立的回归系数模型是基于大量的试验数据的,也即可以利用相应的传感器进行地毯检测后获得大量检测数据,根据大量检测数据生成。也可以在扫地机器人中设置有机器学习模块,在扫地机器人进行工作时通过机器学习的方式生成个传感器相应的回归系数模型。In the embodiments of the present disclosure, the above-mentioned regression coefficient models established in advance in the sweeping robot are based on a large amount of test data, that is, a large amount of detection data can be obtained after carpet detection with corresponding sensors, and generated based on a large amount of detection data. A machine learning module can also be provided in the sweeping robot, and a regression coefficient model corresponding to the sensor is generated through machine learning when the sweeping robot is working.
步骤S13:利用所述至少一个回归系数按照预设算法进行运算,获得地毯概率值。Step S13: Use the at least one regression coefficient to perform calculations according to a preset algorithm to obtain a carpet probability value.
本公开实施例中,每种回归系数模型根据输入的地面检测数据都可以生成相应的回归系数,利用回归系数与预先存储的相应的系数范围进行比较,当回归系数在相应的系数范围内时,则可认为相应的传感器检测到了地毯。具体地,包括:确定所述回归系数在相应预设的回归系数范围内时,获得所述回归系数相应权重的概率值;将获得的各权重的概率值相加,获得所述地毯概率值。In the embodiments of the present disclosure, each regression coefficient model can generate a corresponding regression coefficient according to the input ground detection data, and compare the regression coefficient with the corresponding coefficient range stored in advance. When the regression coefficient is within the corresponding coefficient range, It can be considered that the corresponding sensor has detected the carpet. Specifically, the method includes: obtaining the probability value of the corresponding weight of the regression coefficient when determining that the regression coefficient is within the corresponding preset regression coefficient range; adding the obtained probability values of the weights to obtain the carpet probability value.
本公开实施例中,若扫地机器人中通过传感器、工作电机以及相应的回归系数模型获得光流回归系数、行走电机系数、滚刷电机系数、边刷电机系数以及红外系数后,上述获得地毯概率值的过程包括:确定所述光流回归系数在预设的光流系数范围内时,获得相应的第一权重的概率值;和/或确定所述滚刷电流回归系数在预设的滚刷电流系数范围内时,获得相应的第二权重的概率值;和/或确定所述行走电流回归系数在预设的行走电流系数范围内时,获得相应的第三权重的概率值;和/或确定所述边刷电流回归系数在预设的边刷电流系数范围内时,获得相应的第四权重的概率值;和/或确定所述红外回归系数在预设的红外系数范围内时,获得相应的第五权重的概率值;将获得的各权重的概率值相加,获得所述地毯概率值。In the embodiments of the present disclosure, if the optical flow regression coefficient, walking motor coefficient, rolling brush motor coefficient, side brush motor coefficient, and infrared coefficient are obtained through the sensor, working motor, and corresponding regression coefficient model in the sweeping robot, the carpet probability value is obtained as described above The process includes: determining that the optical flow regression coefficient is within the preset optical flow coefficient range, obtaining the corresponding probability value of the first weight; and/or determining that the rolling brush current regression coefficient is within the preset rolling brush current When the coefficient is within the range, obtain the probability value of the corresponding second weight; and/or when it is determined that the walking current regression coefficient is within the preset walking current coefficient range, obtain the probability value of the corresponding third weight; and/or determine When the side brush current regression coefficient is within the preset side brush current coefficient range, obtain the corresponding probability value of the fourth weight; and/or when it is determined that the infrared regression coefficient is within the preset infrared coefficient range, obtain the corresponding The probability value of the fifth weight of, and the probability value of each weight obtained is added to obtain the probability value of the carpet.
本公开实施例中,上述各种回归系数相应的权重的概率值也即为根据该回归系数检测到地毯的可信度。例如,该扫地机器人中主要使用光流图像传感器进行地毯的检测,则上述第一权重的概率可以设置为50%,第二权重、第三权重、第四权重以及第五权重的概率值分别可以为20%、10%、10%以及10%,在确定光流回归系数以及滚刷电流回归系数在相应的系数范围内时,则获得的地毯概率值为70%。其中,回归系数不在相应的系数范围时,则不会获得预先设定的相应权重的概率值。In the embodiments of the present disclosure, the probability values of the weights corresponding to the various regression coefficients mentioned above are also the reliability of detecting the carpet based on the regression coefficients. For example, the sweeping robot mainly uses optical flow image sensors to detect carpets, the probability of the first weight can be set to 50%, and the probability values of the second weight, the third weight, the fourth weight, and the fifth weight can be set to It is 20%, 10%, 10%, and 10%. When the optical flow regression coefficient and the rolling brush current regression coefficient are determined to be within the corresponding coefficient ranges, the probability value of the carpet obtained is 70%. Among them, when the regression coefficient is not in the corresponding coefficient range, the preset probability value of the corresponding weight will not be obtained.
步骤S14:当确定所述地毯概率值大于或等于预设概率值时,确定扫地机器人位于地毯上。Step S14: When it is determined that the probability value of the carpet is greater than or equal to the preset probability value, it is determined that the sweeping robot is located on the carpet.
本公开实施例中,在扫地机器人中还设置有预设概率值,配置成与地毯概率值判断,从而确定扫地机器人是否位于地毯上。其中,该预设概率值可以设置为50%,也即在地毯概率值高于50%时,则可确定扫地机器人位于地毯上。In the embodiment of the present disclosure, a preset probability value is also set in the cleaning robot, which is configured to judge with the carpet probability value, so as to determine whether the cleaning robot is located on the carpet. Wherein, the preset probability value can be set to 50%, that is, when the carpet probability value is higher than 50%, it can be determined that the sweeping robot is located on the carpet.
本公开实施例中,可以利用多种传感器同时获取地面检测数据,并通过回归系数模型获得不同权重的多个回归系数进行地毯的检测,从而可以提高检测的可信度,保证地毯检测的精准度,并且提高地毯检测的速度。In the embodiments of the present disclosure, multiple sensors can be used to obtain ground detection data at the same time, and multiple regression coefficients with different weights can be obtained through the regression coefficient model for carpet detection, thereby improving the reliability of detection and ensuring the accuracy of carpet detection , And improve the speed of carpet detection.
实施例2Example 2
图2是本公开实施例2提供的一种地毯检测方法的流程图,该方法包括如下步骤:Fig. 2 is a flowchart of a carpet detection method provided in Embodiment 2 of the present disclosure, and the method includes the following steps:
步骤S21:获取至少一种传感器检测到的地面检测数据。Step S21: Obtain ground detection data detected by at least one sensor.
此步骤与上述步骤S11一致,在此不再赘述。This step is consistent with the above step S11, and will not be repeated here.
步骤S22:将所述地面检测数据输入至对应的预先建立的回归系数模型中,获得对至少一个回归系数。Step S22: Input the ground detection data into the corresponding pre-established regression coefficient model to obtain at least one regression coefficient.
此步骤与上述步骤S12一致,在此不再赘述。This step is consistent with the above step S12, and will not be repeated here.
步骤S23:利用所述至少一个回归系数按照预设算法进行运算,获得地毯概率值。Step S23: Use the at least one regression coefficient to perform calculations according to a preset algorithm to obtain a carpet probability value.
此步骤与上述步骤S13一致,在此不再赘述。This step is consistent with the above step S13, and will not be repeated here.
步骤S24:当确定所述地毯概率值大于或等于预设概率值时,确定扫地机器人位于地毯上。Step S24: When it is determined that the probability value of the carpet is greater than or equal to the preset probability value, it is determined that the sweeping robot is located on the carpet.
此步骤与上述步骤S14一致,在此不再赘述。This step is consistent with the above step S14, and will not be repeated here.
步骤S25:在确定所述扫地机器人位于地毯上,并确定所述扫地机器人处于清扫模式时,增大所述扫地机器人吸尘器的吸力。Step S25: When it is determined that the cleaning robot is located on the carpet, and it is determined that the cleaning robot is in the cleaning mode, increase the suction power of the vacuum cleaner of the cleaning robot.
本公开实施例中,通过上述方法检测到扫地机器人位于地毯上,并当扫地机器人处于正常的清扫模式时,则可控制扫地机器人的吸尘器,增大吸尘器的吸力,对地毯进行有效清扫,而在一些设置有地毯清扫模式的扫地机器人中,则可切换至地毯清扫模式。In the embodiment of the present disclosure, it is detected that the sweeping robot is located on the carpet through the above method, and when the sweeping robot is in the normal cleaning mode, the vacuum cleaner of the sweeping robot can be controlled to increase the suction power of the vacuum cleaner to effectively clean the carpet. Some cleaning robots equipped with a carpet cleaning mode can switch to the carpet cleaning mode.
实施例3Example 3
图3是本公开实施例3提供的一种地毯检测方法的流程图,该方法包括如下步骤:FIG. 3 is a flowchart of a carpet detection method provided in Embodiment 3 of the present disclosure, and the method includes the following steps:
步骤S31:获取至少一种传感器检测到的地面检测数据。Step S31: Obtain ground detection data detected by at least one sensor.
此步骤与上述步骤S11一致,在此不再赘述。This step is consistent with the above step S11, and will not be repeated here.
步骤S32:将所述地面检测数据输入至对应的预先建立的回归系数模型中,获得对至少一个回归系数。Step S32: Input the ground detection data into the corresponding pre-established regression coefficient model to obtain at least one regression coefficient.
此步骤与上述步骤S12一致,在此不再赘述。This step is consistent with the above step S12, and will not be repeated here.
步骤S33:利用所述至少一个回归系数按照预设算法进行运算,获得地毯概率值。Step S33: Use the at least one regression coefficient to perform calculations according to a preset algorithm to obtain a carpet probability value.
此步骤与上述步骤S13一致,在此不再赘述。This step is consistent with the above step S13, and will not be repeated here.
步骤S34:当确定所述地毯概率值大于或等于预设概率值时,确定扫地机器人位于地毯上。Step S34: When it is determined that the probability value of the carpet is greater than or equal to the preset probability value, it is determined that the sweeping robot is located on the carpet.
此步骤与上述步骤S14一致,在此不再赘述。This step is consistent with the above step S14, and will not be repeated here.
步骤S35:在在确定所述扫地机器人位于地毯上,并确定所述扫地机器人处于拖地模式时,控制所述扫地机器人退离地毯区域,并标记所述地毯区域和/或将所述地毯区域位置发送至客户端。Step S35: When it is determined that the sweeping robot is located on the carpet and it is determined that the sweeping robot is in the mopping mode, control the sweeping robot to retreat from the carpet area, and mark the carpet area and/or move the carpet area The location is sent to the client.
本公开实施例中,通过上述方法检测到扫地机器人位于地毯上,并当扫地机器人处于拖地模式时,该扫地机器人则可以反方向退离地毯区域,并且同时可以在该检测到地毯的区域标记为虚拟地毯,在下次为拖地模式时可以自动避开该区域,为正常清扫模式时可以预先提高吸尘器的吸力后进入该区域。其中,该扫地机器人还可以将检测到地毯的区域的位置信息发送至客户端,以便用户在移走地毯后可以通过客户端清除扫地机器人中相应的虚拟地毯标记。In the embodiment of the present disclosure, it is detected by the above method that the sweeping robot is located on the carpet, and when the sweeping robot is in the mopping mode, the sweeping robot can retreat from the carpet area in the opposite direction, and at the same time can mark the area where the carpet is detected It is a virtual carpet, it can automatically avoid this area when it is in mopping mode next time, and when it is in normal cleaning mode, it can enter this area after increasing the suction power of the vacuum cleaner in advance. Wherein, the sweeping robot can also send the location information of the area where the carpet is detected to the client, so that the user can clear the corresponding virtual carpet mark in the sweeping robot through the client after removing the carpet.
实施例4Example 4
图4是本公开实施例4提供的一种地毯检测装置的结构示意图。FIG. 4 is a schematic structural diagram of a carpet detection device provided in Embodiment 4 of the present disclosure.
该地毯检测装置400包括:The carpet detection device 400 includes:
检测数据获取模块410,配置成获取至少一种传感器检测到的地面检测数据;The detection data acquisition module 410 is configured to acquire ground detection data detected by at least one sensor;
回归系数计算模块420,配置成将所述地面检测数据输入至对应的预先建立的回归系数模型中,获得对至少一个回归系数;The regression coefficient calculation module 420 is configured to input the ground detection data into a corresponding pre-established regression coefficient model to obtain at least one regression coefficient;
地毯概率计算模块430,配置成利用所述至少一个回归系数按照预设算法进行运算,获得地毯概率值;The carpet probability calculation module 430 is configured to use the at least one regression coefficient to perform calculations according to a preset algorithm to obtain a carpet probability value;
地毯检测确定模块440,配置成当确定所述地毯概率值大于或等于预设概率值时,确定扫地机器人位于地毯上。The carpet detection and determination module 440 is configured to determine that the sweeping robot is located on the carpet when it is determined that the probability value of the carpet is greater than or equal to the preset probability value.
本公开实施例中,上述各个模块以及各个单元更加详细的功能描述可以参考前述实施例中相应部分的内容,在此不再赘述。In the embodiments of the present disclosure, for more detailed functional descriptions of the foregoing modules and units, reference may be made to the content of the corresponding parts in the foregoing embodiments, which will not be repeated here.
此外,本公开还提供了一种扫地机器人,该扫地机器人包括存储器、处理器、光流图像传感器以及红外传感器,存储器可配置成存储计算机程序,处理器通过运行所述计算机程序,从而使扫地机器人执行上述方法或者上述地毯检测装置中的各个模块的功能。In addition, the present disclosure also provides a cleaning robot. The cleaning robot includes a memory, a processor, an optical flow image sensor, and an infrared sensor. The memory can be configured to store a computer program. The processor runs the computer program to make the cleaning robot Perform the above method or the function of each module in the above carpet detection device.
存储器可包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能或图像播放功能等)等;存储数据区可存储根 据扫地机器人的使用所创建的数据(比如音频数据或电话本等)等。此外,存储器可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory may include a storage program area and a storage data area. The storage program area may store an operating system, an application program required by at least one function (such as a sound playback function or an image playback function, etc.), etc.; the storage data area may store according to the sweeping robot Use the created data (such as audio data or phone book, etc.) and so on. In addition, the memory may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
本实施例还提供了一种计算机存储介质,配置成储存上述扫地机器人中使用的计算机程序。This embodiment also provides a computer storage medium configured to store the computer program used in the above-mentioned sweeping robot.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,也可以通过其它的方式实现。以上所描述的装置实施例仅仅是示意性的,例如,附图中的流程图和结构图显示了根据本公开的多个实施例的装置、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或代码的一部分,所述模块、程序段或代码的一部分包含一个或多个配置成实现规定的逻辑功能的可执行指令。也应当注意,在作为替换的实现方式中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,结构图和/或流程图中的每个方框、以及结构图和/或流程图中的方框的组合,可以用执行规定的功能或动作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。In the several embodiments provided in this application, it should be understood that the disclosed device and method may also be implemented in other ways. The device embodiments described above are merely illustrative. For example, the flowcharts and structural diagrams in the accompanying drawings show the possible implementation architectures and functions of the devices, methods, and computer program products according to multiple embodiments of the present disclosure. And operation. In this regard, each block in the flowchart or block diagram may represent a module, program segment, or part of code, and the module, program segment, or part of code includes one or more Executable instructions. It should also be noted that, in alternative implementations, the functions marked in the block may also occur in a different order from the order marked in the drawings. For example, two consecutive blocks can actually be executed in parallel, or they can sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the structure diagram and/or flowchart, and the combination of the blocks in the structure diagram and/or flowchart, can be used as a dedicated hardware-based system that performs specified functions or actions. , Or can be realized by a combination of dedicated hardware and computer instructions.
另外,在本公开各个实施例中的各功能模块或单元可以集成在一起形成一个独立的部分,也可以是各个模块单独存在,也可以两个或更多个模块集成形成一个独立的部分。In addition, the functional modules or units in the various embodiments of the present disclosure may be integrated together to form an independent part, or each module may exist alone, or two or more modules may be integrated to form an independent part.
所述功能如果以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本公开的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是智能手机、个人计算机、服务器、或者网络设备等)执行本公开各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。If the function is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer readable storage medium. Based on this understanding, the technical solution of the present disclosure essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a smart phone, a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present disclosure. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disks or optical disks and other media that can store program codes. .
以上所述,仅为本公开的具体实施方式,但本公开的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本公开揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本公开的保护范围之内。因此,本公开的保护范围应所述以权利要求的保护范围为准。The above are only specific implementations of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present disclosure. It should be covered within the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be subject to the protection scope of the claims.

Claims (10)

  1. 一种地毯检测方法,应用于扫地机器人,其特征在于,包括:A carpet detection method applied to a sweeping robot, characterized in that it includes:
    获取至少一种传感器检测到的地面检测数据;Acquiring ground detection data detected by at least one sensor;
    将所述地面检测数据输入至对应的预先建立的回归系数模型中,获得对至少一个回归系数;Input the ground detection data into the corresponding pre-established regression coefficient model to obtain at least one regression coefficient;
    利用所述至少一个回归系数按照预设算法进行运算,获得地毯概率值;Using the at least one regression coefficient to perform operations according to a preset algorithm to obtain a carpet probability value;
    当确定所述地毯概率值大于或等于预设概率值时,确定扫地机器人位于地毯上。When it is determined that the probability value of the carpet is greater than or equal to the preset probability value, it is determined that the sweeping robot is located on the carpet.
  2. 根据权利要求1所述的地毯检测方法,其特征在于,所述传感器包括光流图像传感器,所述地面检测数据包括光流图像质量;The carpet detection method according to claim 1, wherein the sensor comprises an optical flow image sensor, and the ground detection data comprises an optical flow image quality;
    所述“将所述地面检测数据输入至对应的预先建立的回归系数模型中,获得对至少一个回归系数”包括:The "inputting the ground detection data into the corresponding pre-established regression coefficient model to obtain at least one regression coefficient" includes:
    将所述光流图像质量经过平滑处理后输入至预先建立的光流图像回归系数模型中,获得光流回归系数。The optical flow image quality is smoothed and then input into a pre-established optical flow image regression coefficient model to obtain the optical flow regression coefficient.
  3. 根据权利要求2所述的地毯检测方法,其特征在于,所述传感器包括红外传感器,所述地面检测数据还包括红外信号;The carpet detection method according to claim 2, wherein the sensor comprises an infrared sensor, and the ground detection data further comprises an infrared signal;
    所述“将所述地面检测数据输入至对应的预先建立的回归系数模型中,获得对至少一个回归系数”还包括:The "inputting the ground detection data into the corresponding pre-established regression coefficient model to obtain at least one regression coefficient" also includes:
    将所述红外信号进过采样获得红外信号采样值后输入至预先建立的红外回归系数模型中,获得红外回归系数。The infrared signal is oversampled to obtain the infrared signal sampling value and then input into the pre-established infrared regression coefficient model to obtain the infrared regression coefficient.
  4. 根据权利要求1所述的地毯检测方法,其特征在于,还包括:The carpet detection method according to claim 1, further comprising:
    获取至少一种工作电机的电流值,将所述工作电机的电流值输入至对应的预先建立的回归系数模型中,获得对至少一个回归系数;Acquiring the current value of at least one working motor, inputting the current value of the working motor into a corresponding pre-established regression coefficient model to obtain at least one regression coefficient;
    其中,所述工作电机包括滚刷电机、行走电机以及边刷电机,所述回归系数模型包括滚刷电流回归系数模型、行走电流回归系数模型以及边刷电流回归系数模型。Wherein, the working motor includes a rolling brush motor, a walking motor, and a side brush motor, and the regression coefficient model includes a rolling brush current regression coefficient model, a walking current regression coefficient model, and a side brush current regression coefficient model.
  5. 根据权利要求1所述的地毯检测方法,其特征在于,所述“利用所述至少一个回归系数按照预设算法进行运算,获得地毯概率值”包括:The carpet detection method according to claim 1, wherein the "using the at least one regression coefficient to perform operations according to a preset algorithm to obtain a carpet probability value" comprises:
    确定所述回归系数在相应预设的回归系数范围内时,获得所述回归系数相应权重的概率值;When it is determined that the regression coefficient is within the corresponding preset regression coefficient range, the probability value of the corresponding weight of the regression coefficient is obtained;
    将获得的各权重的概率值相加,获得所述地毯概率值。The probability value of each weight obtained is added to obtain the probability value of the carpet.
  6. 根据权利要求1所述的地毯检测方法,其特征在于,还包括:The carpet detection method according to claim 1, further comprising:
    在确定所述扫地机器人位于地毯上,并确定所述扫地机器人处于清扫模式时,增大所述扫地机器人吸尘器的吸力。When it is determined that the sweeping robot is located on the carpet and it is determined that the sweeping robot is in the cleaning mode, the suction power of the vacuum cleaner of the sweeping robot is increased.
  7. 根据权利要求1所述的地毯检测方法,其特征在于,还包括:The carpet detection method according to claim 1, further comprising:
    在确定所述扫地机器人位于地毯上,并确定所述扫地机器人处于拖地模式时,控制所述扫地机器人退离地毯区域,并标记所述地毯区域和/或将所述地毯区域位置发送至客户端。When it is determined that the sweeping robot is located on the carpet and it is determined that the sweeping robot is in the mopping mode, control the sweeping robot to retreat from the carpet area, mark the carpet area and/or send the location of the carpet area to the customer end.
  8. 一种地毯检测装置,应用于扫地机器人,其特征在于,包括:A carpet detection device applied to a sweeping robot, characterized in that it comprises:
    检测数据获取模块,配置成获取至少一种传感器检测到的地面检测数据;The detection data acquisition module is configured to acquire ground detection data detected by at least one sensor;
    回归系数计算模块,配置成将所述地面检测数据输入至对应的预先建立的回归系数模型中,获得对至少一个回归系数;A regression coefficient calculation module, configured to input the ground detection data into a corresponding pre-established regression coefficient model to obtain at least one regression coefficient;
    地毯概率计算模块,配置成利用所述至少一个回归系数按照预设算法进行运算,获得地毯概率值;The carpet probability calculation module is configured to use the at least one regression coefficient to perform calculations according to a preset algorithm to obtain a carpet probability value;
    地毯检测确定模块,配置成当确定所述地毯概率值大于或等于预设概率值时,确定扫地机器人位于地毯上。The carpet detection and determination module is configured to determine that the sweeping robot is located on the carpet when it is determined that the probability value of the carpet is greater than or equal to the preset probability value.
  9. 一种扫地机器人,其特征在于,包括存储器、处理器、光流图像传感器以及红外传感器,所述存储器配置成存储计算机程序,所述处理器运行所述计算机程序以使所述扫地机器人执行根据权利要求1至7中任一项所述的地毯检测方法。A sweeping robot, characterized by comprising a memory, a processor, an optical flow image sensor and an infrared sensor, the memory is configured to store a computer program, and the processor runs the computer program to make the sweeping robot execute according to the right The carpet detection method described in any one of 1 to 7 is required.
  10. 一种计算机存储介质,其特征在于,其存储有权利要求9所述的扫地机器人中所使用的计算机程序。A computer storage medium, characterized in that it stores a computer program used in the cleaning robot according to claim 9.
PCT/CN2020/113586 2019-09-05 2020-09-04 Carpet detection method and apparatus, sweeping robot and computer storage medium WO2021043287A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910838509.6A CN110522360A (en) 2019-09-05 2019-09-05 Carpet detection method, device, sweeping robot and computer storage medium
CN201910838509.6 2019-09-05

Publications (1)

Publication Number Publication Date
WO2021043287A1 true WO2021043287A1 (en) 2021-03-11

Family

ID=68667121

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/113586 WO2021043287A1 (en) 2019-09-05 2020-09-04 Carpet detection method and apparatus, sweeping robot and computer storage medium

Country Status (2)

Country Link
CN (1) CN110522360A (en)
WO (1) WO2021043287A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110522360A (en) * 2019-09-05 2019-12-03 深圳市杉川机器人有限公司 Carpet detection method, device, sweeping robot and computer storage medium
CN111035327B (en) * 2019-12-31 2024-01-30 上海飞科电器股份有限公司 Cleaning robot, carpet detection method, and computer-readable storage medium
CN115227149B (en) * 2020-08-31 2023-08-08 追觅创新科技(苏州)有限公司 Method and device for identifying ground characteristics of automatic cleaning equipment
CN114587210B (en) * 2021-11-16 2023-06-20 北京石头创新科技有限公司 Cleaning robot control method and control device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050166354A1 (en) * 2004-01-30 2005-08-04 Funai Electric Co., Ltd. Autonomous vacuum cleaner
CN106264357A (en) * 2016-08-30 2017-01-04 宁波菜鸟智能科技有限公司 The carpet decision method of sweeping robot and system
CN108514381A (en) * 2018-03-14 2018-09-11 深圳市沃特沃德股份有限公司 Method, apparatus of sweeping the floor and sweeping robot
CN109917488A (en) * 2019-03-07 2019-06-21 上海岚豹智能科技有限公司 Sweeping robot carpet detection method and equipment
CN110522360A (en) * 2019-09-05 2019-12-03 深圳市杉川机器人有限公司 Carpet detection method, device, sweeping robot and computer storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101752190B1 (en) * 2010-11-24 2017-06-30 삼성전자주식회사 Robot cleaner and method for controlling the same
KR101931365B1 (en) * 2011-08-22 2018-12-24 삼성전자주식회사 Robot cleaner and method for controlling the same
CN109984688A (en) * 2019-04-18 2019-07-09 深圳乐行天下科技有限公司 A kind of clean method in Robot side and robot

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050166354A1 (en) * 2004-01-30 2005-08-04 Funai Electric Co., Ltd. Autonomous vacuum cleaner
CN106264357A (en) * 2016-08-30 2017-01-04 宁波菜鸟智能科技有限公司 The carpet decision method of sweeping robot and system
CN108514381A (en) * 2018-03-14 2018-09-11 深圳市沃特沃德股份有限公司 Method, apparatus of sweeping the floor and sweeping robot
CN109917488A (en) * 2019-03-07 2019-06-21 上海岚豹智能科技有限公司 Sweeping robot carpet detection method and equipment
CN110522360A (en) * 2019-09-05 2019-12-03 深圳市杉川机器人有限公司 Carpet detection method, device, sweeping robot and computer storage medium

Also Published As

Publication number Publication date
CN110522360A (en) 2019-12-03

Similar Documents

Publication Publication Date Title
WO2021043287A1 (en) Carpet detection method and apparatus, sweeping robot and computer storage medium
CN109917488A (en) Sweeping robot carpet detection method and equipment
CN109998428A (en) For the clean method of sweeping robot, system and device
US10877484B2 (en) Using laser sensor for floor type detection
KR102668070B1 (en) Robot cleaner and control method thereof
TWI681748B (en) Automatic clean machine control method and automatic clean machine
CN110226899A (en) A kind of dust catcher control method, device and dust catcher
EP3234713A1 (en) Cleaning method for a robotic cleaning device
US20170090456A1 (en) Autonomous cleaning robot
WO2017107655A1 (en) Method and device for controlling automatic sweeper
US20170371341A1 (en) Method and apparatus for controlling a robotic cleaning device for intensive cleaning
JP2017521755A (en) Method for detecting measurement error in robot-type cleaning device
CN110179398A (en) A kind of dust catcher control method, device and dust catcher
CN112641380B (en) Cleaning robot operation method and device, cleaning robot and chip
RU2006102321A (en) ROBOT-CLEANER AND ROBOT-CLEANER CONTROL DEVICE
WO2022257553A9 (en) Cleaning device, cleaning path, cleaning map generation method, and cleaning map generation system
CN107536565A (en) From mobile clean robot and its control method
CN112330122A (en) Floor sweeping robot intelligent degree quantitative evaluation method and system
CN113008982B (en) Ground material identification method and device and intelligent cleaning device
WO2024109590A1 (en) Cleaning device control method and apparatus, medium, and electronic device
CN111493741B (en) Dust box detection method and device, electronic equipment and computer readable storage medium
CN111528739A (en) Sweeping mode switching method and system, electronic equipment, storage medium and sweeper
WO2023124009A1 (en) State determination method and apparatus for cleaning robot
CN111938508B (en) Floor brush type identification method, dust collection equipment and storage medium
WO2020001130A1 (en) Floor sweeping robot fault diagnosis

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20860984

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20860984

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 22/09/2022)

122 Ep: pct application non-entry in european phase

Ref document number: 20860984

Country of ref document: EP

Kind code of ref document: A1