Cleaning robot, control method thereof, related equipment and computer program product

The image sensor identifies and converts carpet pixels to form a raster map and merge carpet areas, which solves the problem of contamination when cleaning robots identify carpets and achieves more efficient and accurate carpet avoidance.

CN118633876APending Publication Date: 2024-09-13IFLYTEK CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410877396.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-02
Publication Date
2024-09-13

AI Technical Summary

Technical Problem

Existing cleaning robots are prone to contamination when identifying carpets, especially because they frequently move up and down the border of the carpet, causing cleaning parts to come into contact with the carpet, increasing the risk of contamination.

Method used

Collect environmental images through image sensors, identify carpet pixels and convert them into a raster map. Carpet areas are formed based on the connectivity between raster points. The cleaning robot is controlled to avoid carpet areas and reduce the number of contacts.

Benefits of technology

It effectively reduces the pollution of carpets by cleaning robots, improves the efficiency and accuracy of carpet identification, and achieves better carpet avoidance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118633876A
    Figure CN118633876A
Patent Text Reader

Abstract

The invention discloses a cleaning robot and a control method thereof, related equipment and a computer program product, environment images are acquired through an image sensor on the cleaning robot, and a carpet possibly existing around can be shot in advance before the cleaning robot is in contact with the carpet; the method comprises the following steps: acquiring an environment image of a robot, identifying pixel points corresponding to a carpet in the environment image by adopting an image identification algorithm, converting the pixel points into a grid map of the robot to obtain carpet grid points in the grid map, and merging the carpet grid points according to connectivity among the grid points to form one or more carpet areas. In this way, the carpet area can be found in advance before the cleaning robot makes contact with the carpet, then the cleaning robot is controlled to avoid the carpet area in the advancing process, the number of times that the cleaning robot makes contact with the carpet is reduced, the problem that the carpet is polluted is solved, and better carpet avoiding is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of intelligent device control technology, and more specifically, to a cleaning robot and its control method, related equipment and computer program products. Background Art

[0002] Cleaning robots clean the floor through mapping, path planning and control algorithms, which reduces the user's work and is becoming more and more popular. At present, more and more families have laid carpets in local areas. When cleaning robots perform cleaning work on the floor, their driving wheels and cleaning parts come into contact with dirt on the floor, especially the mop itself. In this case, once it comes into contact with the carpet, it is easy to cause secondary pollution.

[0003] Existing cleaning robots are generally equipped with carpet sensors at the bottom of the body. The carpet sensors transmit detection signals to the ground. When the cleaning robot touches the carpet, since the materials of carpet and ordinary ground are different, the echo signal can be used to analyze whether there is a carpet at the current location. When it is determined to be a carpet, the cleaning robot is controlled to retreat and move along the carpet boundary to explore the carpet range. This method requires the cleaning robot to frequently move up and down at the carpet boundary. During the process, the cleaning parts such as the side brush frequently contact the carpet, which may cause more pollution. Summary of the invention

[0004] In view of the above problems, this application is proposed to provide a cleaning robot and its control method, related equipment and computer program product to improve the problem of carpet contamination caused by the cleaning robot during the carpet identification process. The specific solution is as follows:

[0005] In a first aspect, a cleaning robot control method is provided, comprising:

[0006] Acquire an environment image collected by the cleaning robot through an image sensor;

[0007] Identify pixel points corresponding to the carpet in the environment image;

[0008] Converting pixel points corresponding to the carpet into a grid map constructed by the cleaning robot to obtain carpet grid points in the grid map;

[0009] According to the connectivity between the carpet grid points in the grid map, the carpet grid points are merged to form one or more carpet areas;

[0010] The cleaning robot is controlled to avoid the carpet area during its movement.

[0011] In one possible design, in another implementation of the first aspect of the embodiments of the present application, the process of converting the pixel points corresponding to the carpet into a grid map constructed by the cleaning robot to obtain the carpet grid points in the grid map includes:

[0012] Convert the pixel points corresponding to the carpet in the environment image to the pixel point coordinates under the BEV top view perspective;

[0013] According to the position and posture of the cleaning robot in the grid map, the carpet pixel points in the BEV top view are converted into the grid map to obtain the carpet grid points in the grid map.

[0014] In a possible design, in another implementation of the first aspect of the embodiment of the present application, the process of merging the carpet grid points according to the connectivity between the carpet grid points in the grid map to form one or more carpet areas includes:

[0015] For each of the carpet grid points in the grid map, calculating whether the distance between the carpet grid point and each of the surrounding carpet grid points is less than a set distance threshold, and determining two carpet grid points whose distance is less than the set distance threshold as being connected to each other;

[0016] The interconnected carpet grid points are merged to form one or more carpet areas.

[0017] In one possible design, in another implementation of the first aspect of the embodiment of the present application, the set distance threshold is equal to the cleaning robot body width, or is equal to the minimum value set up and down of the cleaning robot body width.

[0018] In a possible design, in another implementation of the first aspect of the embodiment of the present application, before controlling the cleaning robot to avoid the carpet area during its travel, the method further includes:

[0019] Controlling the cleaning robot to adjust its posture so that the carpet sensor on the robot body can detect a part of the carpet area, and verifying whether it is a real carpet according to the echo signal detected by the carpet sensor;

[0020] If the verification result is that it belongs to a real carpet, the entire carpet area is retained as the real carpet area; if the verification result is that it does not belong to a real carpet, the entire carpet area is deleted.

[0021] In a possible design, in another implementation of the first aspect of the embodiment of the present application, the method further includes:

[0022] The cleaning robot continuously collects environmental images through image sensors while it is moving, and identifies new carpet areas based on the environmental images;

[0023] When a merging condition is met, the new carpet area is merged with the verified real carpet area, and the merging condition includes: the new carpet area and the verified real carpet area meet a set connectivity condition.

[0024] In a possible design, in another implementation manner of the first aspect of the embodiments of the present application, after identifying the new carpet area, the method further includes:

[0025] When the secondary verification condition is met, the carpet sensor detects the echo signal of the new carpet area, and verifies whether the new carpet area is a real carpet based on the echo signal, wherein the secondary verification condition includes: reaching a set interval time or the cleaning robot travels a set distance;

[0026] On this basis, the merging condition further includes: the new carpet area is a real carpet.

[0027] In a possible design, in another implementation of the first aspect of the embodiment of the present application, the process of controlling the cleaning robot to avoid the carpet area during its travel includes:

[0028] During the cleaning process of the cleaning robot, a boundary trajectory line is extracted according to the carpet area, and the cleaning robot is controlled to move along the boundary trajectory line through a path tracking algorithm to avoid the carpet area;

[0029] During the autonomous exploration, mapping or cruising process of the cleaning robot, the navigation target point is replanned according to the known grid map of the carpet area to avoid the carpet area.

[0030] In a second aspect, a cleaning robot control device is provided, comprising:

[0031] An image acquisition unit, used to acquire an environmental image collected by the cleaning robot through an image sensor;

[0032] An image recognition unit, used to recognize pixel points corresponding to the carpet in the environment image;

[0033] A coordinate conversion unit, used to convert pixel points corresponding to the carpet into a grid map constructed by the cleaning robot to obtain carpet grid points in the grid map;

[0034] A grid point merging unit, configured to merge the carpet grid points according to the connectivity between the carpet grid points in the grid map to form one or more carpet areas;

[0035] A travel control unit is used to control the cleaning robot to avoid the carpet area during its travel.

[0036] In a third aspect, a cleaning robot is provided, comprising: a body, an image sensor, a walking component and a processor arranged on the body;

[0037] The image sensor is used to collect environmental images;

[0038] The processor is used to execute each step of the cleaning robot control method described in any one of the first aspects of the present application.

[0039] In a possible design, in another implementation of the second aspect of the embodiment of the present application, the method further includes:

[0040] The carpet sensor arranged on the fuselage is used for carpet detection.

[0041] In a fourth aspect, a readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the various steps of the cleaning robot control method described in any one of the first aspects of the present application are implemented.

[0042] In a fifth aspect, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the various steps of the cleaning robot control method described in any one of the aforementioned first aspects of the present application.

[0043] By means of the above-mentioned technical scheme, the present application collects environmental images through the image sensor on the cleaning robot, and can capture the carpets that may exist in the surrounding area in advance before the cleaning robot touches the carpet, and then use the image recognition algorithm to identify the pixel points corresponding to the carpet in the environmental image, and convert them into the grid map of the robot to obtain the carpet grid points in the grid map, and then merge the carpet grid points according to the connectivity between the grid points to form one or more carpet areas. In this way, the carpet area can be discovered in advance before the cleaning robot touches the carpet, and then the cleaning robot can be controlled to avoid the carpet area during its movement, thereby reducing the number of times the cleaning robot touches the carpet, improving the problem of pollution to the carpet, and achieving better carpet avoidance.

[0044] In addition, compared with the method of carpet recognition through carpet sensors, the image captured by the image sensor at one time can recognize a wider range of carpets, thus effectively improving the efficiency of carpet recognition.

[0045] Furthermore, the present application can identify the pixel points corresponding to the carpet in the environment image through the image recognition algorithm, rather than simply using an external rectangular frame to locate the carpet area, and can more accurately locate the actual location of the carpet. On this basis, the carpet pixel points are converted to the grid map to obtain the carpet grid points, and the connectivity between the carpet grid points is further considered, and they are merged to form one or more carpet areas, so that a more realistic and accurate carpet area can be obtained. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present application. Also, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:

[0047] Figure 1 A schematic diagram of an implementation system architecture of a cleaning robot control method provided in an embodiment of the present application;

[0048] Figure 2 A schematic diagram of a cleaning robot control method provided in an embodiment of the present application;

[0049] Figure 3 A schematic flow chart of another cleaning robot control method provided in an embodiment of the present application;

[0050] Figure 4 A schematic diagram of a scenario in which a carpet sensor is used to perform secondary verification on a carpet area identified by an image;

[0051] Figure 5 A schematic diagram of the structure of a cleaning robot control device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0052] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0053] This application provides a cleaning robot control solution that can be applied to Figure 1 As shown in the system architecture, the system may include a cleaning robot 100 and a server 200 .

[0054] The cleaning robot 100 or the server 200 can be used alone to execute the cleaning robot control method provided in the embodiment of the present application. In addition, the cleaning robot 100 and the server 200 can also be used in collaboration to execute the cleaning robot control method provided in the embodiment of the present application.

[0055] The cleaning robot 100 referred to in the present application refers to a device with autonomous movement and floor cleaning capabilities, such as a cleaning robot including a sweeping mechanism and / or a mopping mechanism.

[0056] The server 200 can be a base station of a cleaning robot, a smart terminal, a smart cloud device, etc.

[0057] The control scheme of the cleaning robot of this application involves the recognition of carpets. The carpet referred to in this application is a broad concept, which can be understood as a floor material different from hard materials such as wooden floors and tiles. The walking of the cleaning robot on the carpet may cause the output power of the roller brush motor or the drive wheel motor to change, or the floor material that is not suitable for the cleaning robot to clean, including but not limited to: short-hair carpets, long-hair carpets, plush mats, etc.

[0058] Traditional cleaning robots rely on carpet sensors for carpet recognition. Carpet sensors are generally installed at the bottom of the body. The carpet sensor can only detect the carpet when the cleaning robot moves above the carpet. At this time, the cleaning robot is controlled to exit the carpet boundary and continue the above process along the boundary. Taking ultrasonic carpet sensors as an example, they can only verify a very small grid area at a time. Using ultrasonic sensors to twist and explore along the carpet boundary requires repeatedly moving up and down the carpet one grid at a time, which actually makes the carpet edge dirty. If it is not well controlled, it may also cause the mop at the tail of the machine to touch the carpet edge, wet and dirty the carpet.

[0059] In order to solve this problem, the present application hopes to provide a carpet detection method that can improve the problem of carpet pollution. First of all, the applicant in this case can easily think of manually marking the carpet area on the robot map, so that the cleaning robot does not need to identify the carpet area by itself. However, considering that the accuracy of manual marking is not high, and in real scenes, the carpet is often moved due to human and external forces, such as manually taking away the carpet for cleaning, touching the carpet when dragging tables and chairs, causing the carpet position to shift, etc., the method of marking the carpet area on the map is not very reliable.

[0060] In view of this, the present application provides a solution for identifying carpets using an image recognition algorithm with the help of an environmental image captured by an image sensor. Since the image sensor can capture images of carpets that may exist in the surrounding area before the cleaning robot touches the carpet, the carpet can be discovered in advance, avoiding the problem of contamination caused by frequent contact of the cleaning robot with the carpet. In addition, by using the image sensor to capture environmental images, the latest environmental images of the surrounding area can be captured in real time. Even if the carpet moves, the latest position of the carpet can be obtained in time, thereby controlling the cleaning robot to effectively avoid the carpet.

[0061] Of course, the idea of ​​carpet recognition based on image provided in the present application will involve some specific details in the specific implementation process, such as the accuracy of carpet recognition in the environment map, how to convert the carpet recognized in the environment map to the map where the cleaning robot is located, etc. For the carpet recognition scenario of the cleaning robot and related scenarios, the above detailed steps have not been proposed in any relevant research. On the basis of providing the idea of ​​carpet recognition based on image, the present application also further discloses the detailed steps involved, which will be described in detail below.

[0062] The present application provides a cleaning robot control method, which is applied to Figure 1 Taking the computer device in the example as an example, the computer device can be Figure 1 The cleaning robot 100 or the server 200 in FIG. Figure 2 , the cleaning robot control method specifically includes the following steps:

[0063] Step S100: Acquire an environment image captured by the cleaning robot through an image sensor.

[0064] Generally, the image sensor can be arranged on the top or front side of the cleaning robot to collect images of the environment in front of and around the robot.

[0065] When there is a carpet in front of the cleaning robot, the image sensor can capture the carpet through the image sensor before the cleaning robot touches the carpet, that is, the environmental image includes the carpet.

[0066] In this step, the cleaning robot may be configured to collect environmental images through an image sensor while performing a specific task.

[0067] Among them, specific tasks include but are not limited to: autonomous exploration and mapping tasks, cleaning tasks, cruising tasks, etc.

[0068] Step S110: Identify pixel points corresponding to the carpet in the environment image.

[0069] In this embodiment, an image segmentation method may be used to identify the pixel points corresponding to the carpet in the environment image. The image segmentation method is to identify the type of each pixel point in the environment image and obtain each pixel point belonging to the carpet type as the pixel point corresponding to the carpet.

[0070] The image segmentation method can be specifically implemented through a neural network model, such as pre-training an image segmentation model to predict the type of each pixel in the input environment image and obtain the result of whether each pixel is a carpet type.

[0071] It is understandable that, compared with the method of using an external rectangular box to mark the carpet area in the environmental image, the image segmentation method can more accurately determine the pixel points corresponding to the carpet, avoiding the mistaken classification of non-carpet pixels into the carpet area, resulting in subsequent missed scans.

[0072] Step S120: convert pixel points corresponding to the carpet into a grid map to obtain carpet grid points in the grid map.

[0073] Specifically, the cleaning robot can construct an environmental grid map during autonomous movement. For example, the grid map can be constructed by a SLAM (Simultaneous Localization and Mapping) algorithm.

[0074] The cleaning robot performs path planning based on the grid map. In order to ensure that the cleaning robot can avoid the carpet during its travel, in this embodiment, the carpet pixel points in the recognized environment image are converted into the grid map to obtain the grid points where the carpet is located in the grid map.

[0075] In some possible implementations, this embodiment can directly convert the carpet pixels in the environment image into the grid map according to the relationship between the image sensor coordinate system and the grid map coordinate system.

[0076] In some other possible implementations, another conversion method is further provided, including:

[0077] First, the pixel points corresponding to the carpet in the environment image are converted to the pixel point coordinates under the BEV (Bird's-Eye View) top view perspective. The conversion process can use algorithms such as inverse perspective transformation.

[0078] Furthermore, according to the position and posture of the cleaning robot in the grid map, the carpet pixel points in the BEV top view are converted to the grid map through matrix conversion to obtain the carpet grid points in the grid map.

[0079] Step S130: merging the carpet grid points according to the connectivity between the carpet grid points in the grid map to form one or more carpet areas.

[0080] Specifically, in this step, the connectivity between the carpet grid points is considered, and the carpet grid points that meet the connectivity requirements are merged to form one or more carpet areas.

[0081] The connectivity requirement can be that two carpet grid points are adjacent, or the distance between two carpet grid points is less than the set distance threshold L. max Among them, the distance threshold L is set max It can be set to the width D of the cleaning robot, or the distance threshold L max It can be equal to the cleaning robot body width floating up and down to set the minimum value Δ: D-Δ≤L max ≤D+Δ.

[0082] In an optional implementation, this step calculates, for each carpet grid point in the grid map, whether the distance between the carpet grid point and each surrounding carpet grid point is less than a set distance threshold L max and the distance is less than the set distance threshold L max The two carpet grid points are determined to be interconnected, that is, they are considered to meet the connectivity requirement. Further, the interconnected carpet grid points are merged to form one or more carpet areas.

[0083] Step S140: Control the cleaning robot to avoid the carpet area during its movement.

[0084] The above steps S100-S130 realize the carpet area based on image recognition. On this basis, this step can control the cleaning robot to avoid the carpet area during the moving process to prevent the cleaning components at the bottom of the cleaning robot from contaminating the carpet.

[0085] It should be noted that when the cleaning robot is not equipped with a mop, or the user sets the carpet policy to allow crossing, the cleaning robot can also be set to navigate through the carpet area to prevent the carpet area from being too large and separating multiple cleanable areas, resulting in missed cleaning.

[0086] In addition, through the partitioning algorithm or manual editing by the user, the present application can divide the grid map into room areas. On this basis, when the cleaning robot moves from one area to another, if there is a carpet within a specific distance range of the partition boundary, in an optional strategy, the present embodiment can set the cleaning robot to cross the communication carpet area to reduce missed sweeps; if it exceeds the specific distance range of the partition boundary, it can set the carpet area to be avoided and prompt the user.

[0087] In some possible implementations, the cleaning robot may execute the aforementioned process steps at set intervals or when set conditions are met (for example, each time the cleaning robot performs a task) to re-determine the carpet area and avoid it, thereby avoiding the problem of missing or contaminating the carpet due to the movement of the carpet position.

[0088] Each determined carpet area can be displayed in a grid map through a display screen carried by the cleaning robot or through a user's remote device for user confirmation.

[0089] Furthermore, for each confirmed carpet area, an update may be performed based on the last confirmed carpet area, for example, by updating the carpet area displayed in the grid map by adding, merging, deleting, and the like.

[0090] The cleaning robot control method provided in the embodiment of the present application collects environmental images through the image sensor on the cleaning robot, and can capture the carpets that may exist in the surrounding area in advance before the cleaning robot touches the carpet, and then use the image recognition algorithm to identify the pixel points corresponding to the carpet in the environmental image, and convert them into the grid map of the robot to obtain the carpet grid points in the grid map, and then merge the carpet grid points according to the connectivity between the grid points to form one or more carpet areas. In this way, the carpet area can be discovered in advance before the cleaning robot touches the carpet, and then the cleaning robot can be controlled to avoid the carpet area during its movement, thereby reducing the number of times the cleaning robot touches the carpet, improving the problem of contamination of the carpet, and achieving better carpet avoidance.

[0091] In addition, compared with the method of carpet recognition through carpet sensors, the image captured by the image sensor at one time can recognize a wider range of carpets, thus effectively improving the efficiency of carpet recognition.

[0092] Furthermore, the present application can identify the pixel points corresponding to the carpet in the environment image through the image recognition algorithm, rather than simply using an external rectangular frame to locate the carpet area, and can more accurately locate the actual location of the carpet. On this basis, the carpet pixel points are converted to the grid map to obtain the carpet grid points, and the connectivity between the carpet grid points is further considered, and they are merged to form one or more carpet areas, so that a more realistic and accurate carpet area can be obtained.

[0093] In some possible implementations, the process of controlling the cleaning robot to avoid the carpet area during its movement in step S140 is introduced.

[0094] In this embodiment, different strategies can be adopted to avoid the carpet area according to different tasks performed by the cleaning robot. Specifically:

[0095] When the cleaning robot is performing a cleaning task, it can extract the boundary trajectory line according to the carpet area, and then control the cleaning robot to move along the boundary trajectory line through the path tracking algorithm to avoid the carpet area. In this way, on the one hand, the number of times the carpet sensor at the bottom of the body is used to detect the carpet is reduced, and the machine contaminates the carpet; on the other hand, by extracting the boundary trajectory line of the carpet area, the cleaning robot can move as close to the carpet as possible without touching the carpet, reducing the missed cleaning around the carpet.

[0096] When the cleaning robot performs autonomous exploration and mapping tasks or cruising tasks, the navigation target points can be replanned according to the grid map of the known carpet area to avoid the carpet area.

[0097] In the above embodiment, the carpet area is identified by the image. In order to further improve the accuracy of the carpet area identification result in this embodiment, a secondary verification process of the authenticity of the carpet area identified by the image can be further added by using the carpet sensor. For specific steps, please refer to Figure 3 As shown, including:

[0098] Step S200: Acquire an environment image captured by the cleaning robot through an image sensor.

[0099] Step S210: Identify pixel points corresponding to the carpet in the environment image.

[0100] Step S220: convert pixel points corresponding to the carpet into a grid map to obtain carpet grid points in the grid map.

[0101] Step S230: merging the carpet grid points according to the connectivity between the carpet grid points in the grid map to form one or more carpet areas.

[0102] Steps S200-S230 in this embodiment correspond one-to-one to steps S100-S130 in the aforementioned embodiment, and please refer to the above description for details, which will not be repeated here.

[0103] The carpet area is identified based on the image through steps S200 - S230 .

[0104] Step S240: Control the cleaning robot to adjust its posture so that the carpet sensor on the body can detect a partial position in the carpet area.

[0105] In this embodiment, in order to further verify the authenticity of the carpet area identified by the image, a carpet sensor detection method is used for secondary verification. The carpet sensor used in this application can be a variety of carpet sensors such as ultrasonic and infrared. By detecting the echo signal characteristics, it is determined whether the ground is a carpet, or the echo signal can be processed by machine learning methods to identify the type of ground material.

[0106] Generally, the carpet sensor is set at the bottom of the body, so it is necessary to control the cleaning robot to adjust its posture so that the carpet sensor can detect a part of the carpet area identified in the above step. For example, the cleaning robot can be controlled to drive into the carpet area identified in the above step, and the carpet sensor can detect the ground where the cleaning robot is located to determine whether the location of the cleaning robot is a real carpet.

[0107] There are many ways to control the cleaning robot to adjust its posture in this step, such as controlling the cleaning robot to rotate in situ toward the vertical direction of the carpet area boundary, and then move forward so that the carpet sensor on the body can contact the carpet area. In addition, the cleaning robot can also be controlled to rotate, move forward in an arc, etc.

[0108] It should be noted that the process of controlling the cleaning robot to adjust its posture in this step can be executed when the cleaning robot is moving along the route planned for the previous task and is within a set range near the carpet area. There is no need to interrupt the original path planning execution in advance to confirm whether the carpet area is a real carpet, which can improve work efficiency.

[0109] Of course, if the immediacy of the secondary verification of the carpet area is taken into consideration, the process of controlling the cleaning robot to adjust its posture in this step can also be executed immediately after the carpet area is obtained in step S230, so that the real carpet area and non-carpet area can be confirmed more timely.

[0110] In some possible implementations, this step controls the cleaning robot to adjust its posture. Before the cleaning robot enters the carpet area, it can perform actions such as lifting the mop, retracting the side brush, and lifting the roller brush in advance to reduce the degree of contact between the cleaning robot and the carpet and avoid contaminating the carpet as much as possible.

[0111] Step S250, verifying whether the echo signal detected by the carpet sensor is a real carpet, if so, determining the entire carpet area as a real carpet area, if not, determining the entire carpet area as a non-carpet area.

[0112] Combination Figure 4As shown, the cleaning robot drives into the carpet area and identifies the ground material of the contact position through the carpet sensor to determine whether the contact position belongs to a real carpet. If it is determined to be a real carpet, the entire carpet area can be determined as a real carpet area. If it is determined that the contact position does not belong to a real carpet, the entire carpet area can be determined as a non-carpet area.

[0113] Furthermore, when the result of the determination is that it belongs to a real carpet, the cleaning robot can be controlled to adjust its posture to exit the carpet area, and then the following step S260 is executed. Here, there are many ways to control the cleaning robot to adjust its posture to exit the carpet area, for example, it can be perpendicular to the carpet area boundary and backward until it exits the carpet area, or it can be used in the opposite way to the carpet contact action in the aforementioned step S240 to exit the carpet area. After exiting the carpet area, it is usually possible to perform actions such as lowering the mop, releasing the side brush, and lowering the roller brush to restore the cleaning components of the cleaning robot to the cleaning state so as to re-contact the ground to be cleaned.

[0114] Step S260: Control the cleaning robot to avoid the carpet area during its movement.

[0115] This embodiment provides a carpet recognition solution based on multimodal information. Through the combination of an image sensor and a carpet sensor, a large candidate carpet area can be seen in advance using image recognition. Only a small part of the area needs to be verified using the carpet sensor. If the verified area belongs to a real carpet, the entire carpet area can be confirmed as a real carpet, thereby reducing the number of times the bottom of the machine touches the carpet and effectively reducing pollution to the carpet.

[0116] In some possible implementations, while obtaining the carpet area based on the aforementioned scheme and controlling the cleaning robot to avoid the carpet area during its movement, the image sensor can be used to continuously collect environmental images during the robot's movement, and new carpet areas can be identified through environmental images according to the scheme introduced in the aforementioned embodiment. The detailed process can refer to steps S200-S230, which will not be repeated here.

[0117] When it is determined that the merging condition is met, the identified new carpet area may be merged with the verified real carpet area.

[0118] The merging condition may include: the new carpet area and the verified real carpet area meet a set connectivity condition.

[0119] It can be understood that if the merging condition is not met, the new carpet area can be saved separately as an independent carpet area.

[0120] By adopting the solution of this embodiment, when the identified new carpet area meets the connectivity condition with the verified real carpet area, there is no need to perform secondary verification of the new carpet area using the carpet sensor, that is, there is no need for the cleaning robot to contact the newly discovered carpet again, thereby improving the working efficiency of the cleaning robot.

[0121] In an exemplary scenario, while the cleaning robot is walking along the planned carpet edge trajectory, it can further observe and identify the carpet on the side of the body through the image sensor. If the newly discovered carpet area meets the set connectivity conditions (for example, overlap) with the previously verified real carpet area, there is no need to confirm it again and it can be directly regarded as a real carpet. In this way, the boundary line is updated while walking, so that a large area of ​​carpet only needs to be touched once by the cleaning robot to avoid the entire boundary.

[0122] In some other optional implementations, after the new map area is identified, a secondary verification may be further performed through a carpet sensor. For example, when it is determined that the secondary verification condition is met, the carpet sensor may detect the echo signal of the new carpet area, and verify whether the new carpet area is a real carpet based on the echo signal. On this basis, the above merging condition may further include: the new carpet area is a real carpet.

[0123] There may be multiple secondary verification conditions, such as reaching a set interval time or the cleaning robot traveling a set distance (such as the width of the body).

[0124] An exemplary scenario is described as follows: the cleaning robot adjusts the robot posture at every set travel distance to use the carpet sensor at the bottom of the robot to reconfirm whether the newly discovered carpet is real, so as to avoid the carpet due to misjudgment of image recognition, which would affect the overall accuracy of the robot's work behavior.

[0125] In some possible implementations, if in an actual scenario, when the robot is autonomously moving during a cleaning task, it does not identify and discover the carpet area through the image sensor, but detects that it is currently in contact with the carpet through the carpet sensor, then a retreat action strategy can be immediately adopted, and the carpet sensor can detect the edge of the carpet by alternating between retreating, rotating, and moving forward in an arc until the edge of the carpet forms a closed area.

[0126] When the edge of the carpet explored by the back-off action strategy overlaps with the carpet area detected by image recognition, the aforementioned step S140 can be used to extract the boundary trajectory line of the carpet area and avoid the carpet, and the above process is repeated until the edge of the carpet forms a closed area again.

[0127] The cleaning robot control device provided in an embodiment of the present application is described below. The cleaning robot control device described below and the cleaning robot control method described above can be referenced to each other.

[0128] See also Figure 5 , Figure 5 This is a schematic diagram of the structure of a cleaning robot control device disclosed in an embodiment of the present application.

[0129] like Figure 5 As shown, the device may include:

[0130] An image acquisition unit 11 is used to acquire an environmental image collected by the cleaning robot through an image sensor;

[0131] An image recognition unit 12, used to recognize pixel points corresponding to the carpet in the environment image;

[0132] A coordinate conversion unit 13, used to convert the pixel points corresponding to the carpet into the grid map constructed by the cleaning robot to obtain the carpet grid points in the grid map;

[0133] A grid point merging unit 14, configured to merge the carpet grid points according to the connectivity between the carpet grid points in the grid map to form one or more carpet areas;

[0134] The travel control unit 15 is used to control the cleaning robot to avoid the carpet area during its travel.

[0135] In a possible implementation, the coordinate conversion unit converts the pixel points corresponding to the carpet into the grid map constructed by the cleaning robot to obtain the carpet grid points in the grid map, including:

[0136] Convert the pixel points corresponding to the carpet in the environment image to the pixel point coordinates under the BEV top view perspective;

[0137] According to the position and posture of the cleaning robot in the grid map, the carpet pixel points in the BEV top view are converted into the grid map to obtain the carpet grid points in the grid map.

[0138] In a possible implementation, the region merging unit merges the carpet grid points according to the connectivity between the carpet grid points in the grid map to form one or more carpet regions, including:

[0139] For each of the carpet grid points in the grid map, calculating whether the distance between the carpet grid point and each of the surrounding carpet grid points is less than a set distance threshold, and determining two carpet grid points whose distance is less than the set distance threshold as being connected to each other;

[0140] The interconnected carpet grid points are merged to form one or more carpet areas.

[0141] Optionally, the set distance threshold is equal to the width of the cleaning robot body, or is equal to a minimum value set for the upper and lower fluctuations of the cleaning robot body width.

[0142] In a possible implementation, the device of the present application may further include:

[0143] The first verification unit is used to control the cleaning robot to adjust its posture before the travel control unit processes, so that the carpet sensor on the body can detect a part of the position in the carpet area, and verify whether it belongs to a real carpet according to the echo signal detected by the carpet sensor; if the verification result is that it belongs to a real carpet, the entire carpet area is retained as a real carpet area, if the verification result is that it does not belong to a real carpet, the entire carpet area is deleted.

[0144] In a possible implementation, the device of the present application may further include:

[0145] The region merging unit is used to determine whether the new carpet region obtained by the grid point merging unit satisfies a merging condition with the verified real carpet region. If so, the new carpet region is merged with the verified real carpet region, wherein the merging condition includes: the new carpet region and the verified real carpet region satisfy a set connectivity condition.

[0146] In a possible implementation, the device of the present application may further include:

[0147] A second verification unit is used to detect an echo signal of the new carpet area through a carpet sensor after the merging unit recognizes the new carpet area and verify whether the new carpet area is a real carpet based on the echo signal when a secondary verification condition is met, wherein the secondary verification condition includes: reaching a set interval time or the cleaning robot travels a set distance;

[0148] On this basis, the merging condition further includes: the new carpet area is a real carpet.

[0149] In a possible implementation, the process in which the travel control unit controls the cleaning robot to avoid the carpet area during its travel includes:

[0150] During the cleaning process of the cleaning robot, a boundary trajectory line is extracted according to the carpet area, and the cleaning robot is controlled to move along the boundary trajectory line through a path tracking algorithm to avoid the carpet area;

[0151] During the autonomous exploration, mapping or cruising process of the cleaning robot, the navigation target point is replanned according to the known grid map of the carpet area to avoid the carpet area.

[0152] In some embodiments of the present application, a cleaning robot is further provided, comprising:

[0153] A fuselage, an image sensor, a moving part and a processor arranged on the fuselage.

[0154] Image sensors are used to capture images of the surrounding environment.

[0155] The walking component is used to drive the robot to move under the control of the processor.

[0156] The processor is used to implement each step of the cleaning robot control method introduced in any of the aforementioned embodiments of the present application.

[0157] In some possible implementations, the cleaning robot may further include a carpet sensor disposed on the body for carpet detection. The carpet sensor may be a variety of carpet sensors such as ultrasonic and infrared.

[0158] An embodiment of the present application also provides a readable storage medium, which can store a program suitable for execution by a processor, and the program is used to implement the various steps of the aforementioned cleaning robot control method of the present application.

[0159] An embodiment of the present application also provides a computer program product, including a computer program, which, when executed by a processor, implements the various steps of the aforementioned cleaning robot control method of the present application.

[0160] It should also be noted that the device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed over multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, in the drawings of the device embodiments provided by the present application, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines.

[0161] Through the description of the above implementation mode, the technicians in the field can clearly understand that the present application can be implemented by means of software plus necessary general hardware, and of course, it can also be implemented by special hardware including special integrated circuits, special CPUs, special memories, special components, etc. In general, all functions completed by computer programs can be easily implemented by corresponding hardware, and the specific hardware structure used to implement the same function can also be various, such as analog circuits, digital circuits or special circuits. However, for the present application, software program implementation is a better implementation mode in more cases. Based on such an understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a readable storage medium, such as a computer floppy disk, a U disk, a mobile hard disk, a ROM, a RAM, a disk or an optical disk, etc., including a number of instructions to enable a computer device (which can be a personal computer, a training device, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0162] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware or any combination thereof. When implemented by software, all or part of the embodiments may be implemented in the form of a computer program product.

[0163] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website site, a computer, a training device, or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, training device, or data center. The computer-readable storage medium may be any available medium that a computer can store or a data storage device such as a training device, a data center, etc. that includes one or more available media integrations. The available medium may be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive (SSD)), etc.

[0164] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The various embodiments can be combined as needed, and the same or similar parts can refer to each other.

Claims

1. A cleaning robot control method, characterized in that: include: Acquire an environment image collected by the cleaning robot through an image sensor; Identify pixel points corresponding to the carpet in the environment image; Converting pixel points corresponding to the carpet into a grid map constructed by the cleaning robot to obtain carpet grid points in the grid map; According to the connectivity between the carpet grid points in the grid map, the carpet grid points are merged to form one or more carpet areas; The cleaning robot is controlled to avoid the carpet area during its movement.

2. The method according to claim 1, characterized in that The process of converting pixel points corresponding to the carpet into a grid map constructed by the cleaning robot to obtain carpet grid points in the grid map includes: Convert the pixel points corresponding to the carpet in the environment image to the pixel point coordinates under the BEV top view perspective; According to the position and posture of the cleaning robot in the grid map, the carpet pixel points in the BEV top view are converted into the grid map to obtain the carpet grid points in the grid map.

3. The method according to claim 1, characterized in that The process of merging the carpet grid points according to the connectivity between the carpet grid points in the grid map to form one or more carpet areas includes: For each of the carpet grid points in the grid map, calculating whether the distance between the carpet grid point and each of the surrounding carpet grid points is less than a set distance threshold, and determining two carpet grid points whose distance is less than the set distance threshold as being connected to each other; The interconnected carpet grid points are merged to form one or more carpet areas.

4. The method according to claim 3, characterized in that: The set distance threshold is equal to the width of the cleaning robot body, or equal to the minimum value set for the upper and lower fluctuations of the cleaning robot body width.

5. The method according to claim 1, characterized in that Before controlling the cleaning robot to avoid the carpet area during its travel, the method further includes: Controlling the cleaning robot to adjust its posture so that the carpet sensor on the robot body can detect a part of the carpet area, and verifying whether it is a real carpet according to the echo signal detected by the carpet sensor; If the verification result is that it belongs to a real carpet, the entire carpet area is retained as the real carpet area; if the verification result is that it does not belong to a real carpet, the entire carpet area is deleted.

6. The method according to claim 5, characterized in that Also includes: The cleaning robot continuously collects environmental images through image sensors while it is moving, and identifies new carpet areas based on the environmental images; When a merging condition is met, the new carpet area is merged with the verified real carpet area, and the merging condition includes: the new carpet area and the verified real carpet area meet a set connectivity condition.

7. The method according to claim 6, characterized in that After identifying the new carpet area, the method further includes: When the secondary verification condition is met, the carpet sensor detects the echo signal of the new carpet area, and verifies whether the new carpet area is a real carpet based on the echo signal, wherein the secondary verification condition includes: reaching a set interval time or the cleaning robot travels a set distance; On this basis, the merging condition further includes: the new carpet area is a real carpet.

8. The method according to any one of claims 1 to 7, characterized in that: The process of controlling the cleaning robot to avoid the carpet area during its movement includes: During the cleaning process of the cleaning robot, a boundary trajectory line is extracted according to the carpet area, and the cleaning robot is controlled to move along the boundary trajectory line through a path tracking algorithm to avoid the carpet area; During the autonomous exploration, mapping or cruising process of the cleaning robot, the navigation target point is replanned according to the known grid map of the carpet area to avoid the carpet area.

9. A cleaning robot control device, characterized in that: include: An image acquisition unit, used to acquire an environmental image collected by the cleaning robot through an image sensor; An image recognition unit, used to recognize pixel points corresponding to the carpet in the environment image; A coordinate conversion unit, used to convert pixel points corresponding to the carpet into a grid map constructed by the cleaning robot to obtain carpet grid points in the grid map; A grid point merging unit, configured to merge the carpet grid points according to the connectivity between the carpet grid points in the grid map to form one or more carpet areas; A travel control unit is used to control the cleaning robot to avoid the carpet area during its travel.

10. A cleaning robot, characterized in that: include: A fuselage, an image sensor, a moving part and a processor arranged on the fuselage; The image sensor is used to collect environmental images; The processor is used to execute each step of the cleaning robot control method according to any one of claims 1 to 8.

11. The cleaning robot according to claim 10, characterized in that: Also includes: The carpet sensor arranged on the fuselage is used for carpet detection.

12. A readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, each step of the cleaning robot control method according to any one of claims 1 to 8 is implemented.

13. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, each step of the cleaning robot control method as described in any one of claims 1 to 8 is implemented.

Citation Information

Cited By

  • Carpet cleaning method and device, cleaning robot and storage medium

    CN119138799A

  • Carpet area marking method and device, robot and computer readable storage medium

    CN119606264A