CONTROL METHOD FOR SELF-MOVING DEVICE AND SELF-MOVING DEVICE

DE602024001714T2Active Publication Date: 2025-12-17SUZHOU CLEVA PRECISION MACHINERY & TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
DE602024001714
Authority / Receiving Office
DE · DE
Patent Type
Patents
Current Assignee / Owner
Priority Date
2023-06-19
Filing Date
2024-06-17
Publication Date
2025-12-17
Estimated Expiration
2044-06-17

AI Technical Summary

Technical Problem

Visual self-moving devices, such as monocular visual robot mowers, often operate in a random mowing mode, leading to missed grass that is not efficiently processed, which can grow taller and spread, requiring manual intervention.

Method used

The robot mower captures images using a binocular visual module to identify missed grass by processing images for parallax, edge extraction, and color segmentation, adjusting its direction to cut the missed areas effectively and timely.

Benefits of technology

The robot mower effectively and timely addresses the missed grass by determining and processing the missed grass, thereby improving its efficiency and reducing operational costs.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] Embodiments of the present invention relate to the technical field of path planning, in particular to a control method for a self-moving device and a self-moving device.BACKGROUND

[0002] Visual self-moving devices do not require wiring and installation instructions, and can be used upon placement. Among visual self-moving devices, such as monocular visual robot mowers, are typically equipped with ultrasonic module to prevent collision with obstacles like hedges or flowers that are not easily recognized by a visual module. The visual self-moving devices usually adopt a random mowing mode, which has low traversal efficiency, so grass in some places is missed. However, the missed grass is high enough to be easily recognized as obstacles by ultrasonic module. Therefore, such grass will be left and gradually spread to surrounding areas.

[0003] US 2021 / 136993 A1 discloses a system and method for controlling a soil working means such as a robot mower which involves analyzing a captured image using a convolution operation and a trained neural network to identify the presence of features including uncut grass.SUMMARY

[0004] The technical problem to be solved by the present invention is to provide a control method for a robot mower and a robot mower to achieve effective and timely processing of missed grass.

[0005] To solve the above technical problem, according to one aspect of the present invention, a control method for a robot mower according to claim 1 is provided.

[0006] According to another aspect of the present invention, a robot mower according to claim 6 is provided.

[0007] Compared with existing technologies, in the present invention, an image of an area in a forward direction of the robot mower is obtained in the moving process of the robot mower in a designated area; and the image is processed to determine whether a predetermined object in the area in the forward direction of the robot mower includes missed grass, and to control the robot mower to move towards a direction in which one portion includes the missed grass to process the missed grass, so as to process missed grass in an effective and timely manner and prevent the missed grass from growing taller and spreading to require manual processing.

[0008] It should be understood that the content described in this section is not intended to identify key or important features of embodiments of the present invention, nor is it intended to limit the scope of the present invention. Other features of the present invention will be easily understood through the following description.BRIEF DESCRIPTION OF THE DRAWINGS

[0009] In order to illustrate the technical solutions of the embodiments of the present invention more clearly, the accompanying drawings required for use in the embodiments will be introduced briefly below. It should be understood that the following drawings show only some embodiments of the present invention and therefore should not be regarded as limiting the scope, and other relevant drawings can be derived based on the accompanying drawings by those of ordinary skill in the art without any creative efforts. FIG. 1 is a flowchart of a control method for a robot mower in an embodiment of the present invention; FIG. 2 is a flowchart of implementation steps of step S2 in an embodiment of the present invention; FIG. 3 is a flowchart of implementation steps of step S21 in an embodiment of the present invention; FIG. 4 is a flowchart of implementation steps of step S22 in an embodiment of the present invention; FIG. 5 is a flowchart of obtaining a thresholded image in an embodiment of the present invention; FIG. 6 is another flowchart of implementation steps of step S22 in an embodiment of the present invention; and FIG. 7 is a schematic structural diagram of a robot mower implementing the embodiments of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0010] In order to make those skilled in the art understand the solutions of the present invention better, the following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Apparently, the described embodiments are merely some rather than all of the embodiments of the present invention. Based on the embodiments in the present invention, all other embodiments obtained by those of ordinary skill in the art without any creative efforts shall fall within the scope of protection of the present invention.

[0011] Notably, the terms "first", "second", and the like in the description, claims, and accompanying drawings of the present invention are used for distinguishing similar objects and do not need to be used for describing a specific order or sequence. Understandably, the data used in such a way are interchangeable in proper circumstances, so that the embodiments of the present invention described herein can be implemented in other orders than the order illustrated or described herein. In addition, the terms "include", "have", and any other variant thereof are intended to cover a non-exclusive inclusion. For example, a process, method, system, product, or device that includes a list of steps or units is not necessarily limited to those steps or units that are expressly listed, but may include other steps or units that are not expressly listed or are inherent to the process, method, system, product, or device.

[0012] FIG. 1 is a flowchart of a control method for a robot mower in an embodiment of the present invention. This embodiment is applicable to a situation where the robot mower is controlled to move in a designated area to process grass in the designated area. As shown in FIG. 1, the method specifically includes the following steps: S1. Obtain, in the moving process of the robot mower, an image of an area in a forward direction of the robot mower.

[0013] The designated area is an area where the robot mower needs to cut grass.

[0014] In this embodiment, the image is captured by a visual module on the robot mower. The visual module on the robot mower includes a first image module and a second image module. That is, a binocular visual module is disposed on the robot mower in this embodiment. In the moving process of the robot mower, a first image of the area in the forward direction of the robot mower is obtained using the first image module, and a second image of the area in the forward direction of the robot mower is obtained using the second image module. The images have multiple characteristics, such as hue (H), saturation (S), and value (V).

[0015] S2. Determine, according to the image, whether the predetermined object in the area in the forward direction of the robot mower includes missed grass, so as to control the moving direction of the robot mower.

[0016] In this embodiment, the missed grass is on the area where the robot mower needs to cut grass, where the missed grass is higher than surrounding grass.

[0017] Specifically, the first image and second image obtained above are processed to obtain a processed image firstly. Statistics on quantities of pixels with values greater than a set threshold in both the first portion and the second portion of the processed image, are collected, and whether the predetermined object includes a specific predetermined object is determined according to the statistical results. Finally, the robot mower is controlled to move towards the direction in which one of the first portion and the second portion that includes the specific predetermined object.

[0018] The processing includes parallax processing, edge extraction, and may include color segmentation and the like. When it is determined that missed grass is included, the robot mower is controlled to move directly towards the missed grass for cutting or fixed-point spiral cutting.

[0019] FIG. 2 is a flowchart of implementation steps of step S2 in an embodiment of the present invention. As shown in FIG. 2, the determining, according to the image, whether the grass in the area in the forward direction of the robot mower includes missed grass, so as to control the moving direction of the robot mower, may include the following detailed steps: S21. Process the image.

[0020] Parallax processing, edge extraction, color segmentation, and the like are performed on the first image and the second image to obtain a processed image.

[0021] S22. Determine, according to predetermined elements included in a first portion and a second portion of the processed image respectively, whether the grass includes missed grass, where the first portion and the second portion are independent of each other and have equal area.

[0022] Specifically, the first portion and the second portion may be two portions divided by a vertical centerline of the processed image as a dividing line. It can be understood that the first portion corresponds to an image on a left side in the forward direction of the robot mower, and the second portion corresponds to an image on a right side in the forward direction of the robot mower. The predetermined element includes a quantity of pixels having values greater than a set threshold. The feature parameters may be parameters of features such as color and contour. Statistics on quantities of pixels having values greater than the set threshold, included in the first portion and the second portion of the processed image respectively, are collected, and whether the grass includes missed grass is determined according to the statistical results.

[0023] S23. Control the robot mower to move towards a direction in which one of the first portion and the second portion includes the missed grass.

[0024] If it is determined according to the statistical results that the grass includes missed grass, that is, if it is determined according to the statistical results that there is missed grass on the area where the robot mower needs to cut grass, the robot mower is controlled to move towards the direction in which one of the first portion and the second portion includes the missed grass, that is, the robot mower is controlled to move towards missed grass.

[0025] FIG. 3 is a flowchart of implementation steps of step S21 in an embodiment of the present invention. As shown in FIG. 2, the processing the image includes the following detailed steps: S211. Obtain an initial parallax image according to the first image and the second image.

[0026] In this step, the technical means used to obtain the initial parallax image according to the first image and the second image is a conventional technology, and will not be elaborated here.

[0027] S212. Obtain a relative parallax image according to the initial parallax image and a reference parallax image.

[0028] Specifically, the reference parallax image is first obtained, and then absolute values of differences between values of corresponding pixels in the initial parallax image and the reference parallax image are calculated to generate the relative parallax image.

[0029] The reference parallax image may be obtained by capturing, by the first image module and the second image module of the visual module, a level ground to obtain level images respectively, and then processing the level images.

[0030] S213. Perform edge extraction on the relative parallax image to obtain an edge image.

[0031] Notably, image edges are the most basic features of an image, and edges refer to image edges with abrupt changes in gray-scale information of local characteristics of the image.

[0032] Specifically, edge extraction is performed on the aforementioned relative parallax image to obtain the edge image.

[0033] FIG. 4 is a flowchart of implementation steps of step S22 in an embodiment of the present invention. As shown in FIG. 4, the determining, according to predetermined elements included in a first portion and a second portion of the processed image respectively, whether the grass includes missed grass, includes the following detailed steps: S221. Collect statistics on quantities of pixels having values greater than 0 in the first portion and the second portion of the edge image respectively, where the first portion and the second portion are symmetrical about a center of the edge image. S222. Determine whether a difference between the quantities of pixels having values greater than 0 in the first portion and the second portion satisfies a preset condition, and if so, determine that one of the first portion and the second portion that has the larger quantity of pixels having values greater than 0 includes the missed grass. The preset condition is as follows: the quantity of pixels in one of the first portion and the second portion that has the larger quantity of pixels having values greater than 0 is a preset multiple of the quantity of pixels in the other of the first portion and the second portion that has the smaller quantity of pixels having values greater than 0.

[0034] Specifically, the edge image is the aforementioned processed image, and statistics on the quantities of pixels having values greater than 0 in the first portion and the second portion of the edge image are collected respectively, where the first portion and the second portion may be divided by the vertical centerline of the processed image as a dividing line, and the first portion and the second portion are symmetrical about the center of the edge image. If the quantity of pixels in one of the first portion and the second portion that has the larger quantity of pixels having values greater than 0 is the preset multiple of the quantity of pixels in the other of the first portion and the second portion that has the smaller quantity of pixels having values greater than 0, it is determined that one of the first portion and the second portion that has the larger quantity of pixels having values greater than 0 includes missed grass. The preset multiple may be 1.5 times.

[0035] FIG. 5 is a flowchart of obtaining a thresholded image in an embodiment of the present invention. As shown in FIG. 5, the processing the image further includes the following steps: S214. Convert the first image or the second image into an HSV (Hue, Saturation, Value) image.

[0036] In this step, any one of the first image or the second image is first converted into an HSV image.

[0037] S215. Binarize the HSV image using a parameter threshold corresponding to a predetermined color to obtain a thresholded image, where the predetermined color is consistent with a color of the grass.

[0038] Specifically, the color of the grass may be a green color of lawn grass, and the predetermined color consistent with the color of the predetermined object is also a green color. The parameter threshold corresponding to the color consistent with the color of the grass is obtained, and then the HSV image is binarized based on the parameter threshold to obtain the thresholded image, where the values of pixels at the parameter threshold become 255, and the values of remaining pixels become 0.

[0039] FIG. 6 is another flowchart of implementation steps of step S22 in an embodiment of the present invention. As shown in FIG. 6, the determining, according to predetermined elements included in a first portion and a second portion of the processed image respectively, whether the grass includes missed grass, may include the following detailed steps: S223. Collect statistics on quantities of pixels having values greater than 0 in the first portion and the second portion of the edge image respectively, and collect statistics on quantities of pixels having values greater than 0 in the first portion and the second portion of the thresholded image respectively.

[0040] Specifically, first of all, both the edge image and the thresholded image may be used as the aforementioned processed image. Then, each image is divided into two portions according to the vertical centerline as a dividing line, the portions on the same side are regarded as a group, and the whole is divided into a first portion and a second portion.

[0041] Statistics on the quantities of pixels having values greater than 0 in the first portion and the second portion of the edge image are collected, and statistics on the quantities of pixels having values greater than 0 in the first portion and the second portion of the thresholded image are collected, respectively.

[0042] S224. Determine whether a difference between the quantities of pixels having values greater than 0 in the first portion and the second portion of the edge image satisfies a preset condition, and determine whether a difference between the quantities of pixels having values greater than 0 in the first portion and the second portion of the thresholded image satisfies a preset condition.

[0043] The preset condition is as follows: the quantity of pixels in one of the first portion and the second portion that has the larger quantity of pixels having values greater than 0 is a preset multiple of the quantity of pixels in the other of the first portion and the second portion that has the smaller quantity of pixels having values greater than 0.

[0044] S225. Determine that one of the first portion and the second portion that has the larger quantity of pixels having values greater than 0 includes missed grass, if the difference between the quantities of pixels having values greater than 0 in the first portion and the second portion of the edge image satisfies the preset condition, and the difference between the quantities of pixels having values greater than 0 in the first portion and the second portion of the thresholded image satisfies the preset condition.

[0045] It is determined that one of the first portion and the second portion that has the larger quantity of pixels having values greater than 0 includes missed grass, if the difference between the quantities of pixels having values greater than 0 in the first portion and the second portion of the edge image satisfies the preset condition, and the difference between the quantities of pixels having values greater than 0 in the first portion and the second portion of the thresholded image satisfies the preset condition.

[0046] According to the technical solutions of the embodiments of the present invention, an image of an area in a forward direction of the robot mower is obtained in the moving process of the robot mower; and whether grass in the area in the forward direction of the robot mower includes missed grass is determined according to the image to control the moving direction of the robot mower to process the missed grass, such as cut high grass, so as to process missed grass in an effective and timely manner and prevent the missed grass from growing taller and spreading to require manual processing.

[0047] FIG. 7 shows a schematic structural diagram of a robot mower 70 that can be used to implement the embodiments of the present invention. The components shown herein, their connections and relationships, and their functions are merely examples, and are not intended to limit the implementation of the present invention described and / or required herein.

[0048] As shown in FIG. 7, the robot mower 70 includes a visual module 71, at least one processor 72, and a memory 73 connected to the at least one processor 72 by communication, where the visual module 71 can obtain image information in a forward direction of the robot mower 70, and the processor 72 can perform various methods and processes described above, such as the control method for a robot mower: obtaining, in the moving process of the robot mower, an image of an area in the forward direction of the robot mower; and determining, according to the image, whether grass in the area in the forward direction of the robot mower includes missed grass, so as to control the moving direction of the robot mower.

[0049] It should be understood that steps may be reordered, added, or deleted based on various forms of procedures shown above. For example, the steps described in the present application may be performed in parallel, sequentially, or in different orders. As long as the results desired by the technical solutions of the present invention can be achieved, no limitation is imposed herein.

Claims

1. A control method for a robot mower for controlling the robot mower to move in a designated area to process grass in the designated area, comprising: obtaining, in the moving process of the robot mower, a first image of the area in the forward direction of the robot mower using a first image module and a second image of the area in the forward direction of the robot mower using a second image module; and determining, according to the image, whether the grass in the area in the forward direction of the robot mower includes missed grass in the designated area which is higher than surrounding grass, characterised by processing the image by: obtaining an initial parallax image according to the first image and the second image; obtaining a relative parallax image according to the initial parallax image and a reference parallax image; and performing edge extraction on the relative parallax image to obtain an edge image; and determining whether the grass includes missed grass by collecting statistics on quantities of pixels having values greater than 0 in a first portion and a second portion of the edge image respectively, wherein the first portion and the second portion are symmetrical about a center of the edge image, are independent of each other and have equal area; and determining whether a difference between the quantities of pixels having values greater than 0 in the first portion and the second portion satisfies a preset condition, and if so, determining that the one of the first portion and the second portion that has the larger quantity of pixels having values greater than 0 includes missed grass; so as to control a moving direction of the robot mower.

2. The control method according to claim 1, wherein the processing the image includes: converting the first image or the second image into an HSV image; and binarizing the HSV image using a parameter threshold corresponding to a predetermined color to obtain a thresholded image, wherein the predetermined color is consistent with a color of the predetermined object.

3. The control method according to claim 2, wherein the determining, according to predetermined elements included in a first portion and a second portion of the processed image respectively, whether the grass includes missed grass, includes: collecting statistics on quantities of pixels having values greater than 0 in the first portion and the second portion of the edge image respectively, and collecting statistics on quantities of pixels having values greater than 0 in the first portion and the second portion of the thresholded image respectively; determining whether a difference between the quantities of pixels having values greater than 0 in the first portion and the second portion of the edge image satisfies a preset condition, and determining whether a difference between the quantities of pixels having values greater than 0 in the first portion and the second portion of the thresholded image satisfies a preset condition; and determining that one of the first portion and the second portion that has the larger quantity of pixels having values greater than 0 includes the specific predetermined object, if the difference between the quantities of pixels having values greater than 0 in the first portion and the second portion of the edge image satisfies the preset condition, and the difference between the quantities of pixels having values greater than 0 in the first portion and the second portion of the thresholded image satisfies the preset condition.

4. The control method according to claim 1 or 3, wherein the preset condition is as follows: the quantity of pixels in one of the first portion and the second portion that has the larger quantity of pixels having values greater than 0 is a preset multiple of the quantity of pixels in the other of the first portion and the second portion that has the smaller quantity of pixels having values greater than 0.

5. The control method according to claim 1 or 3, wherein the controlling the moving direction of the robot mower includes: controlling the robot mower to move towards a direction in which one of the first portion and the second portion includes the missed grass.

6. A robot mower (70), wherein the robot mower (70) includes: a visual module (71); at least one processor (72); and a memory (73) connected to the at least one processor (72) by communication, wherein the memory (73) stores a computer program that can be executed by the at least one processor (72), and the computer program is executed by the at least one processor (72), so that the at least one processor (72) can perform the control method for a robot mower (70) according to any one of claims 1-5.