Adaptive mowing control method for mowing robot

By adaptively controlling the effective shooting distance and driving speed of the lawn mower robot, and combining image processing and SVM models to identify obstacles, the problem of low efficiency and accuracy of the lawn mower robot in avoiding obstacles is solved, and the lawn mowing efficiency and safety are improved. sex.

CN118426317BActive Publication Date: 2024-08-30ZHEJIANG SAFUN IND +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410883746.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-03
Publication Date
2024-08-30
Estimated Expiration
2044-07-03

AI Technical Summary

Technical Problem

Existing lawn mowing robots have poor obstacle avoidance control efficiency and behavior control accuracy, resulting in a waste of time when performing large-scale lawn mowing tasks, and are easily disturbed by the external light environment, resulting in low obstacle recognition accuracy.

Method used

By obtaining the real-time working environment image and driving information of the lawn mowing robot, the effective shooting distance and working driving speed are adaptively controlled, the image is segmented into a near environment image and a far environment image, and image processing technology and SVM models are used to identify obstacles and avoid them based on the Actively avoid obstacles within the obstacle range.

Benefits of technology

It improves the efficiency and safety of the lawn mowing robot when avoiding obstacles, reduces computing power consumption, enhances the recognition of obstacles, and improves operating efficiency and safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118426317B
    Figure CN118426317B
Patent Text Reader

Abstract

The present invention discloses an adaptive mowing control method of a mowing robot, and relates to the technical field of mowing robots. The present invention includes the following contents: according to the operating driving speed of the mowing robot, the real-time working environment image is block-planned into a near environment image and a far environment image with an effective shooting distance as a division parameter, wherein the near environment image radiates outward from the mowing robot to an image not exceeding one-fourth of the area of ​​the real-time working environment image, and the far environment image is all real-time working environment images except the near environment image, and at the same time, the maximum operating driving speed is proportional to the area proportion of the near environment image in the real-time environment image, and the area proportion of the near environment image in the real-time environment image does not exceed 25%, and the area proportion of the near environment image is related to the external light intensity. The present invention can reduce the computing power consumption when processing the real-time working environment image by setting the real-time working environment image to be divided into the near environment image and the far environment image.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of lawn mowing robots, in particular to an adaptive lawn mowing control method of a lawn mowing robot. Background Art

[0002] The rapid development of the industrial economy has brought greater challenges to environmental governance. To a large extent, increasing the global green coverage rate is one of the effective means of current environmental governance. Grassland maintenance and upkeep requires a lot of manpower and material resources. How to improve the efficiency of green grass maintenance and management and reduce the labor intensity of related personnel is an urgent problem to be solved. Manual mowing is a monotonous and time-consuming task, and it also faces the threat of lawn slopes, obstacles, gravel, and even harmful insects in the grass. The emergence of mowing robots has solved these problems.

[0003] The current lawn mower robot mainly relies on traditional means such as contact sensors and wire technology to avoid obstacles. The efficiency is low and obstacles are easily damaged. Due to the shortcomings of the sensor itself, in the actual working environment, the perceived environmental information is not comprehensive and sufficient, and it is easy to have false detection and missed detection. With the rapid development of deep learning in recent years, the target detection technology based on deep learning can make the lawn mower robot more intelligent and effective in identifying obstacles. By detecting the type of obstacles, relevant obstacle avoidance strategies can be formulated.

[0004] The existing lawn mowing robots have poor obstacle avoidance efficiency and poor motion control accuracy during work, resulting in a lot of time wasted when performing large-scale mowing tasks. In addition, the robots are easily disturbed by the external lighting environment when avoiding obstacles, resulting in low obstacle recognition accuracy. Therefore, we propose an adaptive mowing control method for lawn mowing robots. Summary of the invention

[0005] The purpose of the present invention is to provide an adaptive mowing control method for a mowing robot, so as to solve the problems that the existing mowing robots have poor obstacle avoidance efficiency and poor behavior control accuracy during work, resulting in a lot of time wasted when performing large-scale mowing tasks, and the robot is easily disturbed by the external lighting environment when avoiding obstacles, resulting in low obstacle recognition accuracy.

[0006] In order to solve the above technical problems, the present invention is achieved through the following technical solutions:

[0007] The present invention is an adaptive mowing control method of a mowing robot, comprising the following steps:

[0008] S1, obtaining the real-time working environment image and movement information of the lawn mowing robot;

[0009] S2, adaptively controlling the effective shooting distance of the lawn mowing robot's real-time working environment image according to the external lighting environment during the current working period;

[0010] S3. According to the operating speed of the mowing robot, the real-time operating environment image is divided into near environment images and far environment images using the effective shooting distance as a dividing parameter, wherein the near environment image is an image radiating outward from the mowing robot and not exceeding one-fourth of the area of ​​the real-time operating environment image, and the far environment image is all real-time operating environment images except the near environment image. At the same time, the operating speed is proportional to the area proportion of the near environment image in the real-time environment image, and the area of ​​the near environment image in the real-time environment image does not exceed 25%;

[0011] S4. Use image processing technology to process and analyze the real-time working environment image and identify and judge obstacles;

[0012] S5. When an obstacle is identified in the real-time working environment image, the obstacle type is obtained, and at the same time, the obstacle avoidance range corresponding to the obstacle type is obtained;

[0013] S6. Control the lawn mowing robot to actively avoid obstacles according to the obstacle avoidance range.

[0014] Preferably, the real-time working environment image and path motion information of the mowing robot are obtained through a camera and a position sensor. The camera is used to collect the fan-shaped image area in front of the mowing robot when it is working, and send the collected image information to a trained SVM model to identify and classify the image, and finally identify the category of obstacles in front of the mowing robot when it is working and obtain the bounding box and confidence information; the position sensor is used to collect the real-time position data of the mowing robot, so as to plan the travel path.

[0015] Preferably, the effective shooting distance of the real-time working environment image in step S2 includes the following specific contents: a photosensitive sensor arranged on the lawn mower robot is used to collect the front light intensity information during the current mowing operation, and compare the current light intensity information with the standard light intensity range, and find the standard light intensity information with the same light intensity within the standard light intensity range, and adaptively control the effective shooting distance of the real-time working environment image of the lawn mower robot according to the distance data corresponding to the standard light intensity information; if the current light intensity information is lower than the lowest critical value of the standard light intensity range, stop obtaining the real-time working environment image of the lawn mower robot and stop its mowing operation; if the current light intensity information is higher than the highest critical value of the standard light intensity range, then control the effective shooting distance of the real-time working environment image of the lawn mower robot according to the distance data corresponding to the highest critical value of the standard light intensity range.

[0016] Preferably, the effective shooting distance is proportional to the light intensity information data ahead during operation; the higher the current light intensity information data, the longer the effective shooting distance; conversely, the lower the current light intensity information data, the shorter the effective shooting distance; the operating driving speed of the mowing robot is limited by the effective shooting distance of the mowing robot; while the mowing robot performs the mowing operation and completes the mowing standard, the mowing robot adaptively controls the operating driving speed on this basis; the operating driving speed is limited by the shooting distance of the real-time working environment image; the longer the effective shooting distance, the faster the maximum operating driving speed of the mowing robot; and when the effective shooting distance reaches a critical distance, the maximum operating driving speed of the mowing robot reaches the fastest.

[0017] Preferably, a control system for controlling the operation of the lawn mower robot is provided inside the lawn mower robot, and the adaptive control of the lawn mower robot is completed by the control system. Before the real-time working environment image is processed and analyzed in step S4, a real-time working environment image processing weight allocation is performed, which includes the following contents: weight allocation is performed according to the proportion of the near environment image area and the far environment image area in the real-time working environment image, the higher the proportion, the higher the weight, the higher the weight, the more system resources are allocated thereto when processing the image, and the sum of the near environment image processing weight and the far environment image processing weight is equal to 1;

[0018] The control system processes the near environment image and the far environment image simultaneously.

[0019] Preferably, the processing and analyzing of the real-time working environment image by using image processing technology includes the following contents:

[0020] S4.1, splitting the real-time working environment image into multiple network blocks, and extracting the texture features of each network block respectively;

[0021] S4.2, using the trained SVM model to classify and discriminate each network block;

[0022] S4.3. Image segmentation is performed according to the classification of network blocks to obtain a binary image. The real-time working environment image presents an obvious black and white effect, realizing the recognition of obstacles.

[0023] Preferably, in step S4.1, image features are extracted based on texture features, and a gray level co-occurrence matrix problem feature extraction method is used. According to two gray levels i and j, the directions of the two in the image plane are θ and d respectively, and the gray level i and j are set to be θ and d. express A real-time working environment image with a gray value of L satisfies its gray-level co-occurrence matrix The elements of are shown in formula (1):

[0024] ,

[0025] in, It means to solve the number of x elements in the set. .

[0026] Preferably, when the gray level co-occurrence matrix is ​​used to calculate the texture features, the greater the gray level, the more texture features are statistically obtained, so the image gray level is degraded, and L and d of the gray level co-occurrence matrix are determined by establishing an experimental model, including the following steps:

[0027] 1) Select several lawn images and images with obstacles, randomly select 10 sample image blocks from them, and obtain a sample image library with grayscale levels L of 8, 16, and 32;

[0028] 2) Extract effective texture features from the sample image library and provide 4×4 problem features from 0°, 45°, 90°, and 135°;

[0029] 3) The grayscale levels are set to 8, 16, and 32, and the step length d is varied in increments between [0, 15]. The mean values ​​of the texture features of the lawn and obstacles under different combinations of L and d are counted and calculated, and the difference between the two is calculated. Based on different grayscale levels and statistical step lengths, the difference between the mean values ​​of the texture features of the lawn and obstacles is calculated.

[0030] 4) Calculate the curve of the average difference between the texture features of the lawn and obstacles, and select the parameter combination with the largest degree of distinction between the two;

[0031] 5) Through statistical calculation, the number of gray levels L and the step size d are selected to be 16 and 1 respectively.

[0032] Preferably, according to the parameter combination, a data set of lawn and obstacle texture features is prepared, and a support vector machine (SVM) model is trained. On the lawn and obstacle images, 16-dimensional data is composed of 16 combinations of 0°, 45°, 90°, 135°, and energy, entropy, contrast, and inverse moment. The data is normalized to an interval to obtain a number of training samples and a number of test samples. The SVM model is classified and trained using the several training samples.

[0033] Preferably, the obstacle avoidance range of the lawn mower robot exceeds the obstacle range by at least 10%. When the lawn mower robot follows the initial path and detects the existence of an obstacle on the initial path, it determines whether it can travel within the effective area corresponding to the initial path while bypassing the obstacle. The effective path corresponding to the initial path is an area formed by expanding outward within a range of 180° to the left and right of the lawn mower robot with the initial path as the center.

[0034] If it is determined that the obstacle can be circumvented, the lawn mowing robot is controlled to circumvent the obstacle and drive within the effective area corresponding to the initial path;

[0035] If it is determined that the obstacle cannot be avoided, the path is replanned and the lawn mowing robot is controlled to avoid the obstacle and drive on the new path.

[0036] The present invention has the following beneficial effects:

[0037] 1. The present invention controls the effective shooting distance of the real-time working environment image of the lawn mowing robot according to the light intensity of the real-time working environment of the lawn mowing robot. When the ambient light is stronger, the effective shooting distance of the real-time working environment image is farther. Conversely, when the ambient light is dimmer, the effective shooting distance of the real-time working environment image is closer. The stronger the ambient light, the clearer the real-time working environment image is shot, and the control system is more recognizable when identifying obstacles. Therefore, the effective shooting distance can be appropriately increased. The dimmer the ambient light, the more blurred the real-time working environment image is shot, and the control system is more difficult to identify obstacles. It takes longer time and more system computing power to judge. Therefore, it is necessary to appropriately reduce the effective shooting distance. The amount of the effective shooting distance can be directly reflected in the shooting content of the real-time working environment image. The less the shooting content of the real-time working environment image, the easier it is to process. The more the shooting content of the real-time environment image, the more difficult it is to process. In this way, the computing power consumption during the adaptive control of the lawn mowing robot is alleviated, and the operation safety of the lawn mowing robot is improved.

[0038] 2. The present invention binds the operating driving speed of the lawn mower robot to the effective shooting distance. While the lawn mower robot performs mowing operations to meet the mowing standards, the operating driving speed is adaptively controlled on this basis. When the effective shooting distance is longer, the proportion of the near environment image area is higher, and the maximum operating driving speed is faster. When the effective shooting distance is shorter, the proportion of the near environment image area is lower, and the maximum operating driving speed is lower. This ensures that the lawn mower robot improves operating efficiency while ensuring operating safety.

[0039] 3. The present invention can reduce the computing power consumption when processing the real-time working environment image by dividing the real-time working environment image into a near environment image and a far environment image. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for describing the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.

[0041] Figure 1 The present invention provides a flow chart of the adaptive mowing control method of the mowing robot. DETAILED DESCRIPTION

[0042] In order to make the technical means, creative features, objectives and effects achieved by the present invention easy to understand, the present invention is further explained below in conjunction with specific implementation methods.

[0043] In the description of the present invention, it should be noted that the terms "upper", "lower", "inner", "outer", "front end", "rear end", "two ends", "one end", "the other end" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance.

[0044] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "provided with", "connected", etc. should be understood in a broad sense. For example, "connected" can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0045] See also Figure 1 The present invention is an adaptive mowing control method of a mowing robot, comprising the following steps:

[0046] S1, obtaining the real-time working environment image and movement information of the lawn mowing robot;

[0047] S2, adaptively controlling the effective shooting distance of the lawn mowing robot's real-time working environment image according to the external lighting environment during the current working period;

[0048] S3. According to the operating speed of the mowing robot, the real-time operating environment image is divided into near environment images and far environment images using the effective shooting distance as a dividing parameter, wherein the near environment image is an image radiating outward from the mowing robot and not exceeding one-fourth of the area of ​​the real-time operating environment image, and the far environment image is all real-time operating environment images except the near environment image. At the same time, the operating speed is proportional to the area proportion of the near environment image in the real-time environment image, and the area of ​​the near environment image in the real-time environment image does not exceed 25%;

[0049] S4. Use image processing technology to process and analyze the real-time working environment image and identify and judge obstacles;

[0050] S5. When an obstacle is identified in the real-time working environment image, the obstacle type is obtained, and the obstacle avoidance range corresponding to the obstacle type is obtained;

[0051] S6. Control the lawn mowing robot to actively avoid obstacles according to the obstacle avoidance range.

[0052] Among them, the real-time working environment image and movement motion information of the mowing robot are obtained through the camera and position sensor. The camera is used to collect the fan-shaped image area in front of the mowing robot when it is working, and send the collected image information to the trained SVM model to identify and classify the image, and finally identify the category of obstacles in front of the mowing robot when it is working and obtain the bounding box and confidence information; the position sensor is used to collect the real-time position data of the mowing robot, so as to plan the travel path.

[0053] Among them, the effective shooting distance of the real-time operation ring image in step S2 includes the following specific contents: the photosensitive sensor arranged on the lawn mower robot is used to collect the front light intensity information during the current lawn mowing operation, and compare the current light intensity information with the standard light intensity range, and find the standard light intensity information with the same light intensity within the standard light intensity range, and adaptively control the effective shooting distance of the real-time working environment image of the lawn mower robot according to the distance data corresponding to the standard light intensity information; if the current light intensity information is lower than the lowest critical value of the standard light intensity range, stop obtaining the real-time working environment image of the lawn mower robot and stop its lawn mowing operation; if the current light intensity information is higher than the highest critical value of the standard light intensity range, then control the effective shooting distance of the real-time working environment image of the lawn mower robot according to the distance data corresponding to the highest critical value of the standard light intensity range.

[0054] Among them, the effective shooting distance is proportional to the light intensity information data in front during operation. The higher the current light intensity information data, the longer the effective shooting distance. Conversely, the lower the current light intensity information data, the closer the effective shooting distance. The effective shooting distance of the mowing robot limits the operating driving speed of the mowing robot. While the mowing robot performs mowing operations and completes the mowing standards, it adaptively controls the operating driving speed on this basis. The operating driving speed is limited by the shooting distance of the real-time working environment image. The longer the effective shooting distance, the faster the maximum operating driving speed of the mowing robot. When the effective shooting distance reaches the critical distance, the maximum operating driving speed of the mowing robot reaches the fastest.

[0055] Among them, a control system for controlling the operation of the lawn mower robot is arranged inside the lawn mower robot, and the adaptive control of the lawn mower robot is completed by the control system. In step S4, the real-time working environment image processing weight allocation is performed before the real-time working environment image is processed and analyzed, which includes the following contents: weight allocation is performed according to the proportion of the near environment image area and the far environment image area in the real-time working environment image, and the higher the proportion, the higher the weight, and the higher the weight, the more system resources are allocated to this when processing the image, and the sum of the near environment image processing weight and the far environment image processing weight is equal to 1;

[0056] The control system processes the near environment image and the far environment image at the same time.

[0057] Among them, the use of image processing technology to process and analyze real-time working environment images includes the following:

[0058] S4.1, splitting the real-time working environment image into multiple network blocks, and extracting the texture features of each network block respectively;

[0059] S4.2, using the trained SVM model to classify and discriminate each network block;

[0060] S4.3. Image segmentation is performed according to the classification of network blocks to obtain a binary image. The real-time working environment image presents an obvious black and white effect, realizing the recognition of obstacles.

[0061] Among them, in step S4.1, image features are extracted based on texture features, and the problem feature extraction method of gray level co-occurrence matrix is ​​adopted. According to two gray levels i and j, the directions of the two in the image plane are θ and d respectively, and the express A real-time working environment image with a gray value of L satisfies its gray-level co-occurrence matrix The elements of are shown in formula (1):

[0062] ,

[0063] in, It means to solve the number of x elements in the set. .

[0064] The gray-level co-occurrence matrix cannot directly reflect the texture features of the image to be classified and identified, but it can be represented by its second-order statistics. The gray-level co-occurrence matrix includes more than a dozen statistics such as energy, entropy, contrast, inverse moment, uniformity, correlation, variance, sum average, sum variance, sum entropy, difference variance, difference average, difference entropy, related information measure and maximum correlation coefficient. Among them, energy ASM generally represents the uniformity of grayscale distribution and the coarseness of texture; entropy ENT can be used to represent the complexity of image texture, and the value is relatively large when the randomness of the elements it contains is relatively high. Contrast CON represents the depth of image texture, and inverse moment IDM represents the degree of local texture change; the present invention uses four statistics to analyze and process the features of the image to be identified, and the calculation formula is:

[0065] ,

[0066] ,

[0067] ,

[0068] .

[0069] Among them, when the gray level co-occurrence matrix is ​​used to calculate the texture features, the larger the gray level number, the more texture features are statistically obtained, so the image gray level is degraded, and the L and d of the gray level co-occurrence matrix are determined by establishing an experimental model, including the following steps:

[0070] 1) Select several lawn images and images with obstacles, randomly select 10 sample image blocks from them, and obtain a sample image library with grayscale levels L of 8, 16, and 32;

[0071] 2) Extract effective texture features from the sample image library and provide 4×4 problem features from 0°, 45°, 90°, and 135°;

[0072] 3) The grayscale levels are set to 8, 16, and 32, and the step length d is varied in increments between [0, 15]. The mean values ​​of the texture features of the lawn and obstacles under different combinations of L and d are counted and calculated, and the difference between the two is calculated. Based on different grayscale levels and statistical step lengths, the difference between the mean values ​​of the texture features of the lawn and obstacles is calculated.

[0073] 4) Calculate the curve of the average difference between the texture features of the lawn and obstacles, and select the parameter combination with the largest degree of distinction between the two;

[0074] 5) Through statistical calculation, the number of gray levels L and the step size d are selected to be 16 and 1 respectively.

[0075] Among them, the gray level co-occurrence matrix is ​​very sensitive to the direction of the image texture. There are strict requirements on the direction angle when calculating the gray level co-occurrence matrix. The present invention selects 0°, 45°, 90°, and 135° for scanning calculation; according to the parameter combination, a data set of lawn and obstacle texture features is produced, and a support vector machine SVM model is trained. On the lawn and obstacle images, 16-dimensional data is formed using 0°, 45°, 90°, 135° and 16 combinations of energy, entropy, contrast and inverse moment. At the same time, the data is normalized to an interval to obtain a number of training samples and a number of test samples; and the SVM model is classified and trained using the several training samples.

[0076] The obstacle avoidance range of the lawn mower robot exceeds the obstacle range by at least 10%. When the lawn mower robot follows the initial path and detects the existence of an obstacle on the initial path, it determines whether it can travel within the effective area corresponding to the initial path while bypassing the obstacle. The effective path corresponding to the initial path is the area formed by expanding outward within a range of 180° to the left and right of the lawn mower robot with the initial path as the center;

[0077] If it is determined that the obstacle can be circumvented, the lawn mowing robot is controlled to circumvent the obstacle and drive within the effective area corresponding to the initial path;

[0078] If it is determined that the obstacle cannot be avoided, the path is replanned and the lawn mowing robot is controlled to avoid the obstacle and drive on the new path.

[0079] The working principle of the present invention is: by controlling the effective shooting distance of the real-time working environment image of the lawn mowing robot according to the light intensity of the real-time working environment of the lawn mowing robot, when the ambient light is stronger, the effective shooting distance of the real-time working environment image is farther, and conversely, when the ambient light is dimmer, the effective shooting distance of the real-time working environment image is closer; the stronger the ambient light, the clearer the shooting of the real-time working environment image, and the more recognizable the control system is when identifying obstacles, so the effective shooting distance can be appropriately increased, the dimmer the ambient light, the more blurred the shooting of the real-time working environment image, and the more difficult it is for the control system to identify obstacles, and it takes longer time and more system computing power to judge, so it is necessary to appropriately reduce the effective shooting distance, the amount of the effective shooting distance can be directly reflected in the shooting content of the real-time working environment image, the less the shooting content of the real-time working environment image, the easier it is to process, and the more the shooting content of the real-time environment image, the more difficult it is to process; in this way, the computing power consumption of the adaptive control room of the lawn mowing robot is alleviated, and the operation safety of the lawn mowing robot is improved

[0080] The above shows and describes the basic principles and main features of the present invention and the advantages of the present invention. It should be understood by those skilled in the art that the present invention is not limited to the above embodiments. The above embodiments and descriptions are only for explaining the principles of the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, which fall within the scope of the present invention to be protected. The scope of protection of the present invention is defined by the attached claims and their equivalents.

Claims

1. An adaptive mowing control method for a mowing robot, characterized in that: The following steps are involved: S1, obtaining the real-time working environment image and movement information of the lawn mowing robot; S2, adaptively controlling the effective shooting distance of the real-time working environment image of the mowing robot according to the external lighting environment during the current operation; the effective shooting distance of the real-time working ring image in step S2 includes the following specific contents: the photosensitive sensor arranged on the mowing robot is used to collect the front light intensity information during the current mowing operation, and compare the current light intensity information with the standard light intensity range, find the standard light intensity information with the same light intensity within the standard light intensity range, and adaptively control the effective shooting distance of the real-time working environment image of the mowing robot according to the distance data corresponding to the standard light intensity information; if the current light intensity information is lower than the lowest critical value of the standard light intensity range, stop acquiring the real-time working environment image of the mowing robot and stop its mowing operation; if the current light intensity information is higher than the highest critical value of the standard light intensity range, control the effective shooting distance of the real-time working environment image of the mowing robot according to the distance data corresponding to the highest critical value of the standard light intensity range; S3. According to the operating speed of the lawn mower robot, the real-time operating environment image is divided into near environment images and far environment images with the effective shooting distance as the dividing parameter, wherein the near environment image is an image radiating outward from the lawn mower robot and not exceeding one-fourth of the area of ​​the real-time operating environment image, and the far environment image is all real-time operating environment images except the near environment image. At the same time, the maximum operating speed is proportional to the area ratio of the near environment image in the real-time environment image, and the area ratio of the near environment image in the real-time environment image does not exceed 25%. The area ratio of the near environment image is related to the external light intensity. The higher the light intensity, the larger the area ratio of the near environment image. S4. Use image processing technology to process and analyze the real-time working environment image and identify and judge obstacles; S5. When an obstacle is identified in the real-time working environment image, the obstacle type is obtained, and at the same time, the obstacle avoidance range corresponding to the obstacle type is obtained; S6, controlling the lawn mowing robot to actively avoid obstacles according to the obstacle avoidance range; Wherein: the acquisition of the real-time working environment image and path motion information of the mowing robot is completed by a camera and a position sensor. The camera is used to collect the fan-shaped image area in front of the mowing robot when it is working, and the collected image information is sent to the trained SVM model to identify and classify the image, and finally identify the category of the obstacle in front of the mowing robot when it is working and obtain the boundary box and confidence information; the position sensor is used to collect the real-time position data of the mowing robot, so as to plan the travel path; The effective shooting distance is proportional to the light intensity information data in front during operation. The higher the current light intensity information data, the longer the effective shooting distance. Conversely, the lower the current light intensity information data, the closer the effective shooting distance. The operating driving speed of the mowing robot is limited by the effective shooting distance of the mowing robot. While the mowing robot performs the mowing operation and completes the mowing standard, the operating driving speed is adaptively controlled on this basis. The operating driving speed is limited by the shooting distance of the real-time working environment image. The longer the effective shooting distance, the faster the maximum operating driving speed of the mowing robot. When the effective shooting distance reaches the critical distance, the maximum operating driving speed of the mowing robot reaches the fastest. The mowing robot is provided with a control system for controlling the operation of the mowing robot, and the mowing robot is adaptively controlled by the control system. Before the real-time working environment image is processed and analyzed in step S4, a weight allocation for processing the real-time working environment image is performed, which includes the following contents: weight allocation is performed according to the proportion of the near environment image area and the far environment image area in the real-time working environment image, and the higher the proportion, the higher the weight, and the higher the weight, the more system resources are allocated thereto when processing the image, and the sum of the near environment image processing weight and the far environment image processing weight is equal to 1; The control system processes the near environment image and the far environment image simultaneously.

2. The adaptive mowing control method of the mowing robot according to claim 1, characterized in that: The processing and analysis of the real-time working environment image by using image processing technology includes the following contents: S4.1, splitting the real-time working environment image into multiple network blocks, and extracting the texture features of each network block respectively; S4.2, using the trained SVM model to classify and discriminate each network block; S4.

3. Image segmentation is performed according to the classification of network blocks to obtain a binary image. The real-time working environment image presents an obvious black and white effect, realizing the recognition of obstacles.

3. The adaptive mowing control method of the mowing robot according to claim 2, characterized in that: In step S4.1, image features are extracted based on texture features, and the problem feature extraction method of gray level co-occurrence matrix is ​​adopted. According to two gray levels i and j, the directions of the two in the image plane are respectively and ,set up express A real-time working environment image with a gray value of L satisfies its gray-level co-occurrence matrix The elements of are shown in formula (1): (1) in, It means to solve the number of x elements in the set. .

4. The adaptive mowing control method of the mowing robot according to claim 3, characterized in that: When the gray level co-occurrence matrix is ​​used to calculate the texture features, the greater the gray level, the more texture features are statistically obtained. Therefore, the image gray level is degraded, and L and d of the gray level co-occurrence matrix are determined by establishing an experimental model, including the following steps: 1) Select several lawn images and images with obstacles, randomly select 10 sample image blocks from them, and obtain a sample image library with grayscale levels L of 8, 16, and 32; 2) Extract effective texture features from the sample image library and provide 4×4 problem features from 0°, 45°, 90°, and 135°; 3) Set the grayscale levels to 8, 16, and 32, respectively, and the step length d is The mean values ​​of the texture features of the lawn and obstacles under different combinations of L and d are counted and calculated, and the difference between the two is calculated; the difference between the mean values ​​of the texture features of the lawn and obstacles is calculated based on different gray levels and statistical steps; 4) Calculate the curve of the average difference between the texture features of the lawn and obstacles, and select the parameter combination with the largest degree of distinction between the two; 5) Through statistical calculation, the number of gray levels L and the step size d are selected to be 16 and 1 respectively.

5. The adaptive mowing control method of the mowing robot according to claim 4, characterized in that: According to the parameter combination, a data set of lawn and obstacle texture features is prepared, and a support vector machine (SVM) model is trained. On the lawn and obstacle images, 16-dimensional data is formed using 16 combinations of 0°, 45°, 90°, 135° and energy, entropy, contrast and inverse moment. At the same time, the data is normalized to an interval to obtain a number of training samples and a number of test samples. The SVM model is classified and trained using the several training samples.

6. The adaptive mowing control method of the mowing robot according to claim 5, characterized in that: The obstacle avoidance range of the lawn mower robot exceeds the obstacle range by at least 10%. When the lawn mower robot travels along the initial path and detects an obstacle on the initial path, it determines whether it can travel within the effective area corresponding to the initial path while bypassing the obstacle. The effective path corresponding to the initial path is an area formed by expanding outward within a range of 180° to the left and right of the lawn mower robot's path with the initial path as the center; If it is determined that the obstacle can be circumvented, the lawn mowing robot is controlled to circumvent the obstacle and drive within the effective area corresponding to the initial path; If it is determined that the obstacle cannot be avoided, the path is replanned and the lawn mowing robot is controlled to avoid the obstacle and drive on the new path.

Citation Information

Patent Citations

  • Mowing method, device and system

    CN106155053A

  • Method and system for locating weeding robot

    CN109901594A