Smart sweeping robot
Patent Information
- Application Number
- CN201911387092.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-12-30
- Publication Date
- 2024-10-18
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Due to the aging of the camera equipment or parameter setting issues, the images collected by existing intelligent sweeping robots may be blurred, resulting in only some features of foreground objects being detected and unable to determine whether they are obstacles, and thus unable to change the cleaning path in time.
The image acquisition and processing module is used to extract foreground object features and scene features, combined with the principle of conditional probability. If the first conditional probability is greater than the preset threshold, the foreground object is determined to be an obstacle and the cleaning path is reset.
By combining scene features and foreground object features, the comprehensiveness of obstacle detection is improved, ensuring that the intelligent sweeping robot can change the cleaning path in time and avoid path detection failure due to blurred images.
Smart Images

Figure CN111012254B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of intelligent robots, and more specifically, to an intelligent sweeping robot. Background Art
[0002] With the development of artificial intelligence, more and more smart terminals are beginning to enter people's lives. For example, a smart sweeping robot can automatically complete tasks such as sweeping, vacuuming, and mopping the floor in a room, and absorb the debris on the floor into its own garbage storage box to clean the floor. In the prior art, a smart sweeping robot usually collects front image information through a front camera, detects whether there is an obstacle based on the collected front image information, and automatically avoids the obstacle if an obstacle is detected. However, the obstacle detection in the prior art is to extract foreground object features based on the collected image. If the extracted foreground object features match all the features of the pre-stored obstacle, the foreground object is confirmed to be an obstacle. If the extracted foreground object features are only partial features of the obstacle, it is impossible to confirm whether the foreground object is an obstacle. However, when the smart sweeping robot is actually running, due to problems such as aging of the camera device or parameter settings, the collected image may be blurred. Only partial foreground object features may be collected through the blurred image, and the partial foreground object features cannot be matched with the pre-stored obstacle image, that is, the obstacle cannot be detected, resulting in the smart sweeping robot being unable to change the cleaning path in time. Summary of the invention
[0003] The technical problem to be solved by the present invention is to provide an intelligent sweeping robot, which has a more comprehensive obstacle detection function and can change the cleaning path conveniently and timely.
[0004] In order to solve the above technical problems, the present invention adopts the following technical solutions:
[0005] An intelligent robot, comprising:
[0006] A cleaning path setting processing module, used to set a first cleaning path for the intelligent cleaning robot to walk according to a target area to be cleaned by the intelligent cleaning robot;
[0007] A cleaning processing module, used to control the intelligent cleaning robot to clean according to the first cleaning path;
[0008] An image acquisition and processing module is used to acquire images of the front of the intelligent sweeping robot;
[0009] An extraction processing module, used for extracting foreground object features and scene features from the collected images;
[0010] The obstacle detection processing module is used to detect whether the foreground object is an obstacle based on the extracted foreground object features; if the detection result is that it is an obstacle, the area where the foreground object is located is marked as an obstacle point, and a second cleaning path that avoids the obstacle point is reset; if the detection result is that it is impossible to determine whether it is an obstacle, a first conditional probability that the foreground object is an obstacle is further determined based on the extracted scene features and foreground object features. If the first conditional probability is greater than a preset threshold, the foreground object is determined to be an obstacle, the area where the foreground object is located is marked as an obstacle point, and a second cleaning path that avoids the obstacle point is reset.
[0011] Compared with the prior art, the present invention has the following beneficial effects:
[0012] The intelligent sweeping robot of the present invention extracts foreground object features and scene features from the collected image; detects whether the foreground object is an obstacle based on the extracted foreground object features; if the detection result is that it is an obstacle, the area where the foreground object is located is marked as an obstacle point, and a second cleaning path that avoids the obstacle point is reset; and if the detection result is that it is impossible to determine whether it is an obstacle, for example, if the collected image is blurred, only part of the foreground object features may be collected through the blurred image, and it is impossible to determine whether the foreground object is an obstacle, then the first conditional probability that the foreground object is an obstacle is further determined based on the extracted scene features and foreground object features. If the first conditional probability is greater than a preset threshold value, the foreground object is determined to be an obstacle, the area where the foreground object is located is marked as an obstacle point, and a second cleaning path that avoids the obstacle point is reset. In the present invention, scene features and foreground object features are combined, obstacles are detected based on the conditional probability principle, and obstacle detection is more comprehensive, which facilitates the intelligent sweeping robot to change the cleaning path in time. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] Figure 1 It is a block diagram of a first specific embodiment of an intelligent sweeping robot of the present invention;
[0014] Figure 2 It is a schematic diagram of a specific embodiment of setting a cleaning path in an intelligent sweeping robot of the present invention;
[0015] Figure 3 It is a schematic diagram of a specific embodiment of encoding grid units in an intelligent sweeping robot of the present invention;
[0016] Figure 4 It is a block diagram of a second specific embodiment of an intelligent sweeping robot of the present invention. DETAILED DESCRIPTION
[0017] refer to Figure 1 , which is a block diagram of a specific embodiment of an intelligent sweeping robot of the present invention. The intelligent sweeping robot of this embodiment mainly includes the following modules:
[0018] The cleaning path setting processing module 101, the cleaning processing module 102, the image acquisition processing module 103, the extraction processing module 104 and the obstacle detection processing module 105 are specifically described as follows:
[0019] The cleaning path setting processing module 101 in this embodiment is mainly used to set the first cleaning path for the intelligent cleaning robot to walk according to the target area to be cleaned by the intelligent cleaning robot. In specific implementation, the path setting is a full coverage path setting within the target area. A variety of algorithms can be used to set the cleaning path, for example, a random coverage method, a Dijkstra algorithm, a neural network algorithm, etc. Figure 2 , this figure is a schematic diagram of a cleaning path implementation example set by a random covering method, and other methods can also be used for setting, which is not specifically limited here;
[0020] The cleaning processing module 102 in this embodiment is mainly used to control the intelligent sweeping robot to clean according to the first cleaning path. Figure 2 Taking the set cleaning path as an example, the intelligent sweeping robot travels in one direction until turning as one cleaning process, and it takes 4 cleaning processes to clean one circle, which will not be repeated here;
[0021] Image acquisition processing module 103: In this embodiment, the image acquisition processing module 103 is mainly used to acquire images in front of the intelligent sweeping robot. In specific implementation, it is necessary to set an image acquisition device in front of the intelligent sweeping robot body. The image acquisition device can be a camera, a camera, etc. In addition, the image acquisition device can acquire images in front of the intelligent sweeping robot in real time, and can also determine the large object as the object to be detected when the intelligent sweeping robot sweeps a large object. No specific limitation is made here.
[0022] Extraction processing module 104. In this embodiment, the extraction processing module 104 mainly extracts foreground object features and scene features from the collected image. In specific implementation, various methods can be used to extract features from the collected image. For example, the foreground object features can be extracted by converting the image into a binary image, thereby dividing the image into a foreground part and a background part, and then the binary image is superimposed with the original image to obtain a foreground image. Then, the foreground object features can be extracted based on the foreground image. The method for extracting the foreground object features is not specifically limited here. In addition, the scene features can also be extracted according to the above method, which will not be repeated here.
[0023] The obstacle detection processing module 105 in this embodiment is mainly used to detect whether the foreground object is an obstacle according to the extracted foreground object features. In specific implementation, the foreground object is detected to be an obstacle according to the foreground object features. The feature point matching method can be adopted, that is, the obstacle features are determined in advance, and the determined foreground object features are matched with the obstacle features. If the two match, it is determined that the foreground object is an obstacle. If the two do not match, it is determined that the foreground object is not an obstacle.
[0024] In addition, if the captured image is clear, the obstacle detection processing module 105 of this embodiment marks the area where the foreground object is located as an obstacle point when the detection result is that the foreground object is an obstacle, and resets the second cleaning path to avoid the obstacle point. If the detection result is that the foreground object is not an obstacle, the cleaning is continued according to the first cleaning path;
[0025] In addition, for example, if the captured image is blurred, the extracted foreground object features are only part of all the features, and it is impossible to determine whether the foreground object is an obstacle based on the extracted foreground object features. For this reason, when the obstacle detection processing module 105 of this embodiment detects that it is impossible to determine whether the foreground object is an obstacle, it determines the first conditional probability that the foreground object is an obstacle based on the extracted scene features and foreground object features. If the first conditional probability is greater than a preset threshold, it is determined that the foreground object is an obstacle, and the area where the foreground object is located is marked as an obstacle point, and the second cleaning path that avoids the obstacle point is reset; if the first conditional probability is less than the preset threshold, it can be determined that the foreground object is not an obstacle, and cleaning continues according to the first cleaning path.
[0026] The following is a detailed description of the method of detecting obstacles based on conditional probability in the present invention. The principle of detecting obstacles based on conditional probability in the present invention is to perform detection by taking scene features and foreground object features as detection constraints. Specifically, in this embodiment, the obstacle detection processing module 105 further determines the first conditional probability that the foreground object is an obstacle based on the extracted scene features and foreground object features in the following manner, namely:
[0027] Combine the scene features and foreground object features into various conditions in advance, determine the conditional probability of the foreground object being an obstacle under each condition and save it;
[0028] Determine corresponding conditions according to the extracted scene features and foreground object features;
[0029] According to the determined condition, the pre-stored conditional probability information is queried to obtain a first conditional probability corresponding to the condition.
[0030] Let's take a simple example to illustrate. For example, assuming that the intelligent sweeping robot is in an environment where there are two scene features, A1 and A2, and two foreground features, B1 and B2. The scene features are combined with the foreground features to obtain four conditions, namely: A1B1, A1B2, A2B1 and A2B2. The threshold is set to 80%. By training and testing the samples, it is predetermined that the probability of the foreground object being an obstacle under the A1B1 condition is 40%, the probability of the foreground object being an obstacle under the A1B2 condition is 90%, the probability of the foreground object being an obstacle under the A2B1 condition is 75%, and the probability of the foreground object being an obstacle under the A2B2 condition is 60%. In the prior art, only the condition matching B1 is used. Only when both foreground object features A1 and B2 are present can the foreground object be determined to be an obstacle. When only the foreground object feature B2 is extracted, it is impossible to determine whether the foreground object is an obstacle or to directly determine that the foreground object is not an obstacle. In the present invention, the extracted foreground object feature B2 is combined with the extracted scene feature A1 to determine the corresponding condition to be A1B2. The pre-saved conditional probability information is further queried to determine that the conditional probability that the foreground object corresponding to the condition A1B2 is an obstacle is 90%, which is greater than the pre-set threshold of 80%. The foreground object can be determined to be an obstacle. In the present invention, by combining the scene feature with the foreground object feature as the detection constraint condition, the obstacle detection can be made more comprehensive, which is convenient for the intelligent sweeping robot to change the cleaning path in time.
[0031] It should be noted that, as another preferred embodiment, the extraction processing module 104 in the present invention further extracts reference object features from the collected image;
[0032] If the obstacle detection processing module 105 determines that the detection result is unable to determine whether it is an obstacle, it further determines the second conditional probability that the foreground object is an obstacle based on the extracted scene features, reference object features and foreground object features. If the second conditional probability is greater than a preset threshold, the foreground object is determined to be an obstacle, the area where the foreground object is located is marked as an obstacle point, and the third cleaning path that avoids the obstacle point is reset.
[0033] It should be noted that the obstacle detection processing module 105 can also use the following method to further determine the second conditional probability that the foreground object is an obstacle based on the extracted scene features, reference object features and foreground object features, namely:
[0034] Combine the scene features, reference object features and foreground object features into various conditions in advance, determine the conditional probability of the foreground object being an obstacle under each condition and save it;
[0035] Determine corresponding conditions according to the extracted scene features, reference object features and foreground object features;
[0036] According to the determined condition, the pre-stored conditional probability information is queried to obtain a second conditional probability corresponding to the condition.
[0037] In addition, in order to improve the working efficiency of the intelligent sweeping robot, as a preferred embodiment, refer to Figure 4 The intelligent sweeping robot of the present invention further includes: a grid unit division processing module 106. In this embodiment, the grid unit division processing module 106 is mainly used to divide the target area to be cleaned by the intelligent sweeping robot into various grid units, wherein the grid units are divided into free grid units and obstacle grid units. The free grid units are areas where free passage is possible, and the obstacle grid units are areas where obstacles exist. Figure 3 In this embodiment, the grid cells can be encoded, the free grid cells are encoded as 1, and the obstacle grid cells are encoded as 0. The encoding allows the intelligent sweeping robot to quickly identify the grid cells to reduce the cleaning time;
[0038] It should be noted that in this embodiment, the cleaning processing module 102 controls the intelligent sweeping robot to clean according to the fast cleaning mode in the grid free unit, and controls the intelligent sweeping robot to clean according to the fine sweeping mode in the obstacle grid unit. In this way, on the one hand, the use of the fast cleaning mode in the grid free unit can ensure the working efficiency of the intelligent sweeping robot. At the same time, there are generally more kinds of garbage at obstacles. Therefore, the fine sweeping mode is used in the obstacle grid unit to sweep more thoroughly.
[0039] In addition, in the present invention, after cleaning is completed, the grid unit coding information of the target area is saved, and the cleaning environment map is updated according to the saved grid unit coding information of multiple cleanings. When the next cleaning is performed, the cleaning path is set according to the updated environment map, which will not be repeated here.
Claims
1. An intelligent sweeping robot, characterized in that: include: A cleaning path setting processing module, used to set a first cleaning path for the intelligent cleaning robot to walk according to a target area to be cleaned by the intelligent cleaning robot; A cleaning processing module, used to control the intelligent cleaning robot to clean according to the first cleaning path; An image acquisition and processing module is used to acquire images of the front of the intelligent sweeping robot; An extraction processing module, used for extracting foreground object features and scene features from the collected images; An obstacle detection processing module is used to detect whether the foreground object is an obstacle based on the extracted foreground object features; When the detection result is that it is an obstacle, the area where the foreground object is located is marked as an obstacle point, and the second cleaning path to avoid the obstacle point is reset; when the detection result is that it cannot be determined whether it is an obstacle, the first conditional probability that the foreground object is an obstacle is determined based on the extracted scene features and foreground object features. If the first conditional probability is greater than a preset threshold, the foreground object is determined to be an obstacle, the area where the foreground object is located is marked as an obstacle point, and the second cleaning path to avoid the obstacle point is reset; The obstacle detection processing module determines the first conditional probability that the foreground object is an obstacle based on the extracted scene features and foreground object features in the following manner: Combine the scene features and foreground object features into various conditions in advance, determine the conditional probability of the foreground object being an obstacle under each condition and save it; Determine corresponding conditions according to the extracted scene features and foreground object features; According to the determined condition, the pre-stored conditional probability information is queried to obtain a first conditional probability corresponding to the condition.
2. The intelligent sweeping robot according to claim 1, characterized in that: The extraction processing module also extracts reference object features from the acquired images; If the obstacle detection processing module determines that the detection result is unable to determine whether it is an obstacle, it determines the second conditional probability that the foreground object is an obstacle based on the extracted scene features, reference object features and foreground object features. If the second conditional probability is greater than a preset threshold, the foreground object is determined to be an obstacle, the area where the foreground object is located is marked as an obstacle point, and the third cleaning path that avoids the obstacle point is reset.
3. The intelligent sweeping robot according to claim 1, characterized in that: Also includes: The grid unit division processing module is used to divide the target area to be cleaned by the intelligent sweeping robot into various grid units, wherein the grid units are divided into free grid units and obstacle grid units. The free grid units are areas for free passage, and the obstacle grid units are areas where obstacles exist.
4. The intelligent sweeping robot according to claim 3, characterized in that: The cleaning processing module controls the intelligent cleaning robot to clean in a fast cleaning mode in the free grid unit, and controls the intelligent cleaning robot to clean in a fine cleaning mode in the obstacle grid unit.
Citation Information
Patent Citations
Robot vacuum cleaner and robot vacuum cleaner control program
JP2004033340A
