Barrier-based lawn pattern generation method and related device
By obtaining the map image and equipment information of the lawn area, determining the obstacle information and designing a target pattern adapted to the lawn, the problem of the impact of lawn pattern generation on lawn health and high resource consumption in the existing technology is solved, and an efficient and stable Turf pattern generation and equipment operation.
Patent Information
- Application Number
- CN202410671259.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-28
- Publication Date
- 2024-09-06
AI Technical Summary
The existing lawn pattern generation method has an impact on the health of the lawn, is time-consuming and consumes a lot of resources, and is difficult to improve the efficiency and stability of the lawn mowing equipment.
By obtaining the map image and equipment information of the lawn area, the obstacle information is determined, and based on this design, the target pattern of the lawn is adapted. The lawn mowing equipment is used to perform mowing or grass pressing operations to generate the lawn pattern, ensuring that the pattern is suitable for the lawn area. Matchability and aesthetics.
It improves the efficiency and stability of lawn pattern generation, enhances the safety of lawn mowing equipment and lawn coverage, and improves the beauty and health of the lawn.
Smart Images

Figure CN118608951A
Abstract
Description
Technical Field
[0001] The present application belongs to the field of path planning, and specifically relates to a method for generating a lawn pattern based on obstacles and a related device. Background Art
[0002] At present, with the improvement of people's living standards, people will design lawn patterns on lawn areas in various lawn beautification occasions such as parks and stadiums to achieve the effect of increasing the beauty and functionality of outdoor spaces. There are usually two ways to form lawn patterns. One is to spray color paint on the lawn to form a pattern, and the other is to design a pattern on the land in advance and then plant lawns at or around the pattern position to form a pattern.
[0003] However, these two ways of forming patterns may affect the health of the lawn or require more time and resources. Summary of the invention
[0004] The present application provides a lawn pattern generation method based on obstacles and related devices, in order to improve the efficiency of lawn pattern generation by mowing equipment, and the generation of lawn patterns based on obstacles can improve the stability and safety of mowing equipment in performing mowing or grass pressing operations.
[0005] In a first aspect, an embodiment of the present application provides a method for generating a lawn pattern based on obstacles, which is applied to a lawn mowing device, and the method includes:
[0006] Acquire a map image of a target lawn area and equipment information of the lawn mowing equipment;
[0007] Determining obstacle information of a plurality of obstacles in the target lawn area according to the map image;
[0008] Determine a target pattern according to the obstacle information and the device information, wherein the target pattern is composed of a plurality of similar patterns with the center position of the target lawn area as the pattern center, and the interval distance between any two adjacent pattern intersections in the same direction is the same, and the pattern intersection is an intersection formed by the intersection of the pattern center and the plurality of similar patterns along any direction;
[0009] A mowing operation or a grass pressing operation is performed according to the target pattern to generate the target pattern in the target lawn area.
[0010] In a second aspect, an embodiment of the present application provides a lawn pattern generation device based on obstacles, which is applied to a lawn mowing device, and the device includes:
[0011] An acquisition unit, used for acquiring a map image of a target lawn area and equipment information of the mowing equipment;
[0012] an obstacle determination unit, configured to determine obstacle information of a plurality of obstacles in the target lawn area according to the map image;
[0013] A pattern determination unit, configured to determine a target pattern according to the obstacle information and the device information, wherein the target pattern is composed of a plurality of similar patterns with the center position of the target lawn area as the pattern center, and the interval distance between any two adjacent pattern intersections in the same direction is the same, and the pattern intersection is an intersection formed by the intersection of the pattern center and the plurality of similar patterns along any direction;
[0014] An execution unit is used to execute a mowing operation or a grass pressing operation according to the target pattern to generate the target pattern in the target lawn area.
[0015] In a third aspect, an embodiment of the present application provides a lawn mowing device, comprising a processor, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for executing the steps in the first aspect of the embodiment of the present application.
[0016] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program / instructions stored thereon, which, when executed by a processor, implement the steps in the first aspect of the embodiment of the present application.
[0017] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program / instructions, which, when executed by a processor, implement some or all of the steps described in the first aspect of the embodiment of the present application.
[0018] It can be seen that in the embodiment of the present application, the mowing equipment obtains the map image of the target lawn area to determine the information of multiple obstacles that exist, and based on its own equipment information, further determines an adaptive target pattern, thereby ensuring the adaptability of the target pattern to the actual situation of the target lawn area, and improving the stability and efficiency of the mowing equipment in generating lawn patterns, as well as the ornamental value of the lawn patterns. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0020] Figure 1is a structural block diagram of a lawn pattern generation system provided in an embodiment of the present application;
[0021] Figure 2 It is a flowchart of a method for generating a lawn pattern based on obstacles provided in an embodiment of the present application;
[0022] Figure 3 It is a schematic diagram of a scenario in which a server performs a person detection operation provided by an embodiment of the present application;
[0023] Figure 4 is a scene schematic diagram of a lawn pattern type provided in an embodiment of the present application;
[0024] Figure 5 is a schematic diagram of a scenario of a reference path length provided in an embodiment of the present application;
[0025] Figure 6 It is a block diagram of the functional units of a lawn pattern generating device based on obstacles provided in an embodiment of the present application;
[0026] Figure 7 It is a block diagram of the functional units of another obstacle-based lawn pattern generation device provided in an embodiment of the present application;
[0027] Figure 8 This is a structural block diagram of a lawn mowing device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0028] The technical solutions in the application embodiments are clearly and completely described. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present application.
[0029] The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.
[0030] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0031] See also Figure 1 , Figure 1 is a structural block diagram of a lawn pattern generation system provided in an embodiment of the present application. Figure 1 As shown, the lawn pattern generation system 100 includes a mowing device 110 and a terminal device 120, and the mowing device 110 and the terminal device 120 are connected in communication. The mowing device 110 can be any device on the market that can realize communication connection with the terminal device, can perform data processing and can perform mowing operations or grass pressing operations, and the terminal device 120 can be any device on the market that can realize communication interaction, such as a computer, a mobile phone, a tablet, etc. In a specific application scenario, the user can use the terminal device 120 to establish a communication connection with the mowing device 110, and place the mowing device 110 in the target lawn area where the lawn pattern is to be generated. After that, the user only needs to send the map image of the target lawn area to the mowing device 110, and the mowing device 110 will design the lawn pattern according to the map image and the current device information, and perform the mowing operation or grass pressing operation according to the designed target pattern to generate the lawn pattern. A lawn pattern generation system 100 can be used to simultaneously correspond to multiple mowing devices 110 to realize multiple target lawn areas divided in a target lawn location, and perform mowing operations or grass pressing operations at the same time to form corresponding lawn patterns.
[0032] Based on this, an embodiment of the present application provides a lawn pattern generation method based on obstacles, and the embodiment of the present application is described in detail below with reference to the accompanying drawings.
[0033] See also Figure 2 , Figure 2 1 is a flow chart of a method for generating a lawn pattern based on obstacles provided in an embodiment of the present application, which is applied to a lawn mowing device 110. The method includes:
[0034] Step S201, obtaining a map image of a target lawn area and equipment information of a lawn mowing equipment.
[0035] The map image should be a color image and marked with a corresponding map scale according to the size of the map image obtained by the mowing equipment. The map scale is the ratio of the length of the line segment on the map to the length of the horizontal projection of the corresponding line segment in the field. It indicates the degree of reduction of the map graphics, also known as the scale. Generally speaking, the larger the map scale, the smaller the error and the higher the measurement accuracy on the map. Through the map scale and map image, the mowing equipment can calculate the actual size of the target lawn area and accurately determine its boundary range.
[0036] Among them, the scope of the target lawn area is relatively wide, including various lawn beautification occasions, such as parks, stadiums, lawns, gardens, etc. In a broad sense, it refers to the ground area covered by grass or other low plants.
[0037] Step S202: Determine obstacle information of multiple obstacles in the target lawn area according to the map image.
[0038] Among them, image recognition and analysis are performed on the map image of the target lawn area to determine the obstacles from the map image. The specific process includes identifying specific irregular contours, colors, and shadows in the map image. After that, the determined obstacles are marked on the map image, and then these marks are converted into vector data, that is, the location, size, contour and other obstacle information of the obstacles are determined according to the coordinate system or reference point in the map image.
[0039] Step S203: determining a target pattern according to obstacle information and device information.
[0040] The target pattern is composed of a plurality of similar graphics with the center of the target lawn area as the center of the graphics, and the spacing distance between any two adjacent intersections of the graphics in the same direction is the same, and the intersection of the graphics is the intersection formed by the intersection of the center of the graphics and multiple similar graphics along any direction. In short, the target pattern is a concentric pattern, the center of the pattern is the center of the target lawn area, and the edge paths of any two similar graphics in the concentric pattern are equidistant. In this way, the lines displayed by the target pattern generated by the mowing equipment are equally spaced, or are multiples of the unit interval. Compared with other types of patterns, this type of pattern is more beautiful, and the mowing equipment is more efficient in generating patterns.
[0041] In a possible embodiment, the device information includes the device width, and the obstacle information includes the obstacle position; determining the target pattern based on the obstacle information and the device information, including: determining a distance restriction set based on the center position of the target lawn area and the map image; determining the distance difference between any two adjacent obstacles and the center position, and determining the basic distance based on the obstacle position; if there is at least one distance difference less than or equal to the device width, determining the maximum value of the distance differences less than or equal to the device width as the target interval distance; determining a reference lap range and a reference graphic based on the target interval distance, the basic distance and the distance restriction set; determining a target pattern adapted to the mowing device based on the reference lap range, the target interval distance and the multiple reference graphics.
[0042] Among them, the distance limit set includes the correspondence between the reference direction and the reference distance, the reference distance is the maximum distance between the center position and the boundary of the target lawn area in the corresponding reference direction, the basic distance is the minimum value of the distance between each obstacle and the center position, and the target interval distance is used to characterize the minimum interval distance between the boundaries of two adjacent similar figures. The number of reference laps in each reference lap range corresponds to a reference figure, and the reference figure is used to indicate the shape of the similar figure.
[0043] Among them, after obtaining the map image of the target lawn area, the center position of the target lawn area is first determined, and then the maximum distance in each direction is determined according to the center position and the boundary of the target lawn area displayed by the map image, that is, the distance limit set is determined. This step is to determine the specific size data of the target lawn area according to the map image, so that the target pattern designed later can make the mowing equipment not move in the area beyond the target lawn area when working, avoiding the problem that the pattern exceeds the area and the pattern cannot be fully displayed. Afterwards, the distance between any two adjacent obstacles is determined according to the position of the obstacle. This step is to be able to determine the distance between the obstacles and the size of the equipment width later, so as to ensure that the designed lawn pattern can accommodate the movement of the equipment and will not collide with the obstacles when the equipment is working. By understanding the width of the equipment and the minimum distance between obstacles, it can be ensured that the designed lawn pattern is feasible in actual operation, and the equipment can pass through or bypass obstacles smoothly.
[0044] Among them, when there are two adjacent obstacles that the mowing device cannot pass through, the maximum value of the distance difference that is less than or equal to the width of the device is determined as the target interval distance. The principle is that when there is an obstacle gap that cannot be passed through, the distance between similar figures in the designed lawn pattern is made greater than or equal to this gap, so that during the operation process of the finally generated lawn pattern, the mowing device can bypass this gap to operate, ensure the stability and safety of the operation, and improve the operation efficiency. Further, on the basis of determining the target interval distance and the reference distance in each reference direction, the mowing device can determine the reference circle number range and the reference figure corresponding to each reference circle number. The circle number range is determined based on the minimum interval distance between the boundaries of two adjacent similar figures and the distance limit in each direction, which can ensure that the number of circles corresponding to the figures included in the designed pattern is as many as possible, and ensure that the designed lawn pattern actually occupies a high coverage rate of the target lawn area.
[0045] Furthermore, there are several benefits to increasing the coverage of lawns: 1. Aesthetics: Lawns with high coverage look denser and more beautiful, giving people a neat and comfortable feeling. 2. Inhibition of weed growth: Lawns with high coverage can reduce the exposure of the soil surface, reduce the chance of weed growth, and thus reduce the frequency and workload of weeding. 3. Soil protection: Lawns with high coverage can protect the soil from erosion, reduce soil erosion, and help maintain soil fertility and health. 3. Temperature regulation: Lawns with high coverage can reduce temperature fluctuations on the soil surface, provide a more comfortable environment, reduce soil moisture evaporation, and help keep the soil moist.
[0046] Among them, based on the above-mentioned multi-step parameter determination and generating various reference circles and corresponding reference graphics according to the parameters, in actual operation, it is also necessary to consider whether the mowing equipment can complete the designed reference pattern (that is, the pattern determined according to the reference circle number and the corresponding reference graphic), then the adapted reference pattern is further determined as the target pattern according to the equipment information of the mowing equipment, so as to serve as the final pattern generated in the target lawn area.
[0047] It can be seen that in this example, based on the multi-faceted data processing of the map image, the parameters for designing the lawn pattern are determined, the coverage, diversity and practicality of the designed lawn pattern are improved, and the safety and stability of the mowing equipment in the actual operation process are improved. While ensuring the aesthetics of the target lawn area, a lawn pattern that is suitable for the target lawn area and can be effectively generated by the mowing equipment is designed.
[0048] In a possible embodiment, the obstacle information also includes contour information; before determining the reference lap range based on the target interval distance, the basic distance and the distance limit set, after determining the basic distance, the method also includes: if the distance differences are all greater than the device width, determining the distance difference with the smallest value as the reference interval distance, and determining the reference obstacles corresponding to the distance difference with the smallest value as the first obstacle and the second obstacle; performing an edge curvature analysis operation on the contour information corresponding to the reference obstacle to determine the first curvature value corresponding to the first obstacle and the second curvature value corresponding to the second obstacle; if the first curvature value and / or the second curvature value are greater than the preset curvature value, determining the safe interval distance based on the first curvature value and / or the second curvature value; determining the target interval distance based on the reference interval distance and the safe interval distance.
[0049] The first curvature value is the edge curvature value of the first obstacle with respect to the side opposite to the second obstacle having the largest value, and the second curvature value is the edge curvature value of the second obstacle with respect to the side opposite to the first obstacle having the largest value.
[0050] For example, see Figure 3 , Figure 3 Schematic diagram of a scenario for determining target interval distance provided by an embodiment of the present application. Figure 3 As shown, the center of the lawn pattern designed by the mowing equipment is the center of the target lawn area, and the lawn pattern is composed of multiple similar graphics with the same spacing between two adjacent similar graphics. The lawn pattern is composed of a circle number of 3 and a graphic type of ellipse, where: Figure 3 The black blocks in the figure are the first obstacle and the second obstacle, where the distance between the first obstacle and the second obstacle is the smallest distance difference, i.e., the reference interval distance. Since the curvature values of the adjacent sides of the first obstacle and the second obstacle are both greater than the preset curvature value, i.e., the edges are sharp, which may affect the operation of the mowing equipment, the mowing equipment needs to maintain a safe interval distance from both the first obstacle and the second obstacle during operation. Therefore, based on the reference interval distance and the safe interval distance, the safe interval distance between the two circles can be determined.
[0051] Among them, if the distance between two adjacent obstacles is greater than the width of the equipment, it means that the mowing equipment can safely pass between the obstacles. At this time, in order to design a high coverage rate of the lawn pattern, the minimum distance difference is determined as the reference interval distance. In addition, in order to avoid the sharp edges of some obstacles causing the mowing equipment to be damaged due to being too close during the grass pressing operation or mowing operation, thereby affecting the working efficiency. Therefore, the safe interval distance from the first obstacle and the second obstacle is determined according to the sharpness of the relative sides of the obstacles that the mowing equipment will pass through (reflected by the curvature value). The reasons for adding a safe interval distance are as follows: 1. Safety considerations: High edge curvature may mean sharp or protruding parts of the edge of the obstacle. If the mowing equipment or other machines are close to these areas, damage or collision accidents may occur. 2. Mowing effect: Areas with high edge curvature may cause the mower to fail to fully cover or mow unevenly, thereby affecting the overall mowing effect. 3. Work efficiency: Approaching areas with high edge curvature may require the mower to frequently change direction or speed, reducing the efficiency of mowing. Finally, the difference between the reference separation distance and the safety separation distance is determined as the target separation distance.
[0052] It can be seen that in this example, on the basis of determining the reference interval distance according to the distance difference, the safety interval distance is set to determine the final target interval distance, which can improve the safety of the mowing equipment during operation and improve the efficiency of the mowing equipment in generating lawn patterns.
[0053] In a possible embodiment, a reference lap range and a reference graph are determined based on the target interval distance, the basic distance, and the distance limit set, including: determining an adjustable distance range based on the distance limit set and a preset minimum turning radius; determining the reference lap range based on a maximum multiple and a minimum multiple of the target interval distance included in the adjustable distance range; determining an adjustable parameter type based on a preset user preference type; and determining a reference graph corresponding to each reference lap based on the user preference type and the adjustable parameter type.
[0054] Among them, the maximum value of the adjustable distance in the adjustable distance range is the difference between the maximum value of the reference distance and the minimum turning radius, the minimum value of the adjustable distance is the difference between the minimum value of the reference distance and the basic distance, the minimum turning radius is the minimum radius of the trajectory circle formed by the mowing equipment during operation, and the numerical value of the adjustment parameter corresponding to the adjustment parameter type is associated with the reference number of circles.
[0055] Among them, the minimum turning radius of the mowing equipment will vary according to the specific equipment type, size and design features. Normally, the minimum turning radius of mowing equipment (such as lawn mowers, lawn mowers, etc.) is between 1 and 2 meters. However, some small or specially designed mowing equipment for narrow spaces may have a smaller turning radius or even a zero turning radius. Therefore, the accurate minimum turning radius should be determined based on the technical specifications and product parameters of the mowing equipment to improve the feasibility of designing lawn patterns. Since the target interval distance is the minimum interval distance between two adjacent similar figures, the number of circles of the corresponding similar figures can be determined based on the multiples of the target interval distance that can be contained in the adjustable distance in the adjustable distance range.
[0056] The user preference type is used to indicate the type of lawn pattern that the user likes, including but not limited to ellipse, polygon, and corrugated. Since each type of pattern can be specifically adjusted with different parameters, the adjustable type can be determined according to the user preference type to adjust the reference pattern of the adaptive number of circles, ensuring that the final reference pattern can be completely generated in the target lawn area and meets the user's preferences. Specifically, the user preference type can be determined by Figure 1 The terminal device 120 in the lawn pattern generation system 100 is shown to send to the mowing device 110.
[0057] It can be seen that in this example, the mowing equipment further determines the range of graphic circles and the corresponding reference graphic based on the specific parameters determined previously, so that the designed reference pattern can be adapted to the area of the target lawn area, and can improve the accuracy and flexibility of the mowing equipment data processing according to the user's preference type.
[0058] In one possible embodiment, the user preference type is used to indicate any one of the following graphic types: ellipse, polygon, corrugation; based on the preset user preference type, the adjustable parameter type is determined, including: if the user preference type is ellipse, the adjustable parameter type is determined to be the eccentricity of the reference graphic; or, if the user preference type is polygon, the adjustable parameter type is determined to be the number of sides of the reference graphic; or, if the user preference type is corrugation, the adjustable parameter type is determined to be the amplitude and / or frequency of the boundary of the reference graphic.
[0059] For example, see Figure 4 , Figure 4 is a schematic diagram of a lawn pattern type provided in an embodiment of the present application. Figure 4As shown, type 1 is an elliptical graphic type, type 2 is a polygonal graphic type, and type 3 is a corrugated graphic type. The number of graphic circles corresponding to the three patterns is 2. It can be seen that the graphics that make up the pattern are all concentric similar graphics. After obtaining the user's preferred type, the adjustable parameters can be adjusted according to the specific number of graphic circles to generate the corresponding pattern. Among them, the ellipse adjusts the shape of the ellipse by adjusting the eccentricity to make it rounder or flatter. Among them, the polygon adjusts the shape of the graphic by adjusting the number of sides to make it a pentagon or hexagon. Among them, the corrugated shape adjusts the amplitude and / or frequency of the graphic boundary to make the ripple height higher or the number of ripples more.
[0060] The eccentricity of an ellipse refers to the ratio of the distance from the moving point to the focus to the distance from the moving point to the directrix. The larger the eccentricity, the flatter the ellipse, and the smaller the eccentricity, the closer the ellipse is to a circle. The relationship between the eccentricity and the number of reference circles can be that the more the number of reference circles, the greater the eccentricity, or the more the number of reference circles, the smaller the eccentricity, which is not limited here. The direction of the major axis of the outer circle ellipse is usually designed to be the same as the reference direction with the longest reference distance, and the major axis of the outer circle ellipse does not exceed the range of the target lawn area.
[0061] Among them, the relationship between the number of sides of the ellipse and the number of reference circles can be that the fewer the number of circles, the more the number of sides, so that when the number of reference circles of the reference pattern is small, the overall pattern appears richer and more beautiful, and the minimum number of sides can be set to a quadrilateral. If the user preference type is corrugated, the adjustable parameter type can also be determined as the wavelength, curve shape, border style, etc. of the border of the reference figure. When the user preference type is corrugated, the meaning of each adjustable parameter type is as follows: Amplitude: the maximum height of the corrugation; Wavelength: the period of the corrugation or the distance from peak to peak; Frequency: the number of corrugations or the number of corrugations in each period; Curve shape: the degree of curvature of the reference corrugation; Border style: the type of reference frame, such as solid line, dotted line, etc. The specific numerical value and adjustment range of each adjustable parameter and the relationship with the reference number of circles can be diverse, and are not limited here.
[0062] It can be seen that in this example, the specific adjustable parameter type is determined according to the user preference type, so that the specific adjustable parameter value can be determined according to the number of circles later, so that the reference pattern corresponding to each reference number of circles is different, thereby improving the richness of the reference pattern and the flexibility of the mowing equipment design pattern.
[0063] In a possible embodiment, the device information also includes the current device position and device power, and a target pattern adapted to the mowing device is determined based on a reference lap range, a target interval distance, and multiple reference graphics, including: generating multiple reference patterns based on the reference laps, the reference graphics, and the target interval distance; determining a corresponding reference path length based on each reference pattern, the obstacle position, the current device position, and the contour information; determining a reference power consumption corresponding to each reference pattern based on a preset operating power consumption and multiple reference path lengths; determining a reference pattern that is less than or equal to the device power of the mowing device and corresponds to a reference power consumption that is closest to the value of the device power as the target pattern.
[0064] The reference path length is the path length that the mowing device moves when generating a reference pattern in the target lawn area, and the operating power consumption is used to indicate the power consumed by the mowing device when maintaining the operating state and continuously moving a preset distance.
[0065] Among them, since each reference pattern is different from each other, the actual mowing area and actual grass pressing area required by the mowing equipment for each reference pattern are also different. The reference path length required for the mowing equipment to generate each reference pattern is determined to correspond to the reference power consumption. It can be understood that the longer the path length of the mowing equipment, the more complex the corresponding pattern. Therefore, in order to ensure the complexity of the reference pattern and the lawn coverage rate, the reference pattern corresponding to the reference power consumption closest to the value of the equipment power is determined as the target pattern.
[0066] It can be seen that in this example, in order to ensure the complexity of the reference pattern and the lawn coverage rate, the amount of electricity consumed by the mowing equipment to generate each reference pattern is calculated, and then the reference pattern corresponding to the reference power consumption closest to the value of the equipment power is determined as the target pattern, thereby improving the practicality of the mowing equipment and the stability of the autonomous operation of the mowing equipment, and avoiding the inability to complete the target pattern due to insufficient power.
[0067] In a possible embodiment, the corresponding reference path length is determined according to each reference pattern, obstacle position, current device position and contour information, including: determining the operation start position located in the reference pattern that is closest to the current device position according to the currently processed reference pattern; determining the distance between the operation start position and the current device position as the first path length, and determining the second path length according to the reference pattern; if it is determined according to the obstacle position that there is a target obstacle that coincides with the reference pattern, determining the third path length according to the contour information corresponding to the target obstacle; and determining the sum of the first path length, the second path length and the third path length as the reference path length.
[0068] The second path length is the shortest path length required for the mowing device to move along the reference pattern starting from the operation start position, and the third path length is the path length required for the mowing device to go around the edge of the obstacle.
[0069] For example, see Figure 5 , Figure 5 Schematic diagram of a reference path length scenario provided by an embodiment of the present application. Figure 5 As shown, the path length of the mowing device moving from the current device position to the nearest operation start position located at the edge of the pattern is the first path length. Afterwards, the mowing device moves along the edge of each figure of the pattern, and the total path length from one figure to the next is the second path length, that is, the path length actually moved from the operation start position until the mowing device reaches the operation end position (excluding the detour path where the obstacle overlaps with the edge of the pattern). Afterwards, if it is detected that the position of the obstacle coincides with the edge position of the pattern to be generated, the minimum detour path, that is, the third path length, is calculated based on the actual outline of the obstacle. Finally, the sum of the first path length, the second path length, and the third path length is determined as the reference path length, and then the corresponding operation power consumption is determined based on the reference path length.
[0070] Among them, firstly, since the mowing equipment also needs a path to move to the position where the operation starts, the operation starting position closest to the current equipment position and located at the point of the reference pattern is determined, and this path is determined as the first path length. The second path length is the path length required for the mowing equipment to move along the reference pattern without bypassing obstacles. The third path length is when there is an obstacle at the edge of the reference pattern. When the mowing equipment is working in front of the obstacle, it will automatically bypass it according to the outline of the obstacle. After bypassing, it continues to move according to the original pattern. Among them, when bypassing an obstacle, the mowing equipment can divide two bypass paths according to the direction when the mowing equipment faces the obstacle. Each bypass path is determined along the outline of the obstacle. At this time, the mowing equipment will calculate the length of the two bypass paths, and then select the bypass path with the shortest length for bypassing. Among them, in order to avoid destroying the actual effect of the pattern during the bypass process, the mowing equipment will temporarily stop the mowing operation or the grass pressing operation during the bypass process, and then resume the operation state when returning to the original track.
[0071] It can be seen that in this example, the mowing equipment will calculate the reference path length based on the specific position of the current equipment and the positional relationship between the obstacle and the designed reference pattern, thereby improving the accuracy of data processing by the mowing equipment and ensuring the stability of the mowing equipment during the operation of generating lawn patterns.
[0072] Step S204: performing a mowing operation or a grass pressing operation according to the target pattern to generate a target pattern in the target lawn area.
[0073] Among them, the mowing equipment can choose between mowing and grass pressing operations according to the actual conditions of the lawn in the target lawn area. For example, when the density of plants in the lawn is high and the plant types are not easy to cut, grass pressing operations can be selected to promote lawn growth, beautify the appearance and control weeds; when the height of plants in the lawn is high and the flatness of the lawn surface is poor, mowing operations can be selected.
[0074] Among them, both the grass pressing operation and the mowing operation have their specific benefits. Among them, the benefits of mowing operation are: 1. Keep the lawn tidy: mowing can effectively trim the overlong grass on the lawn, so that the lawn surface remains neat and uniform. The neat lawn looks more beautiful and enhances the quality of the landscape. 2. Promote lawn growth: mowing can promote the regrowth of lawn plants and stimulate the dense growth of the lawn. After mowing, the new growth parts of the lawn plants can more easily obtain sunlight, air and moisture, which is conducive to the healthy growth of the lawn. 3. Reduce weed growth: Frequent mowing can reduce the growth of weeds and keep the lawn surface tidy and refreshing. By trimming the grass in time, the growth of weeds can be prevented and the competition of weeds on lawn plants can be reduced. 3. Improve air circulation: After mowing, the grass on the lawn surface is shorter, and air can circulate more easily to the bottom of the lawn. This helps to improve soil aeration and water permeability, promote the growth of microorganisms in the soil, and is beneficial to the health of the lawn. 4. Prevent pests and diseases: Frequent mowing can effectively control pests and diseases on the lawn. After mowing, the grass on the lawn surface is neater, with fewer hiding places for pathogens and pests, which helps reduce the impact of pests and diseases on lawn plants.
[0075] Among them, the benefits of grass compaction are: 1. Promote lawn growth: Grass compaction can help the cut grass to be in close contact with the soil and promote the growth of the lawn. By compacting the lawn, the nutrients and water in the soil can be better utilized, which helps the lawn grow lushly. 2. Beautify the appearance of the lawn: Grass compaction can make the lawn surface smoother and reduce the gaps between the grass, thereby improving the overall aesthetics of the lawn. The flat and uniform appearance of the lawn surface is usually more popular. 3. Control weed growth: By compacting the lawn, the exposed surface of the soil can be reduced and the chance of weed growth can be reduced. The tighter soil on the lawn surface can prevent the growth of weeds, thereby reducing the need for weeding. 4. Improve soil texture: Grass compaction can promote contact between soil particles and enhance the firmness and stability of the soil. This helps to improve the texture of the soil, improve the air permeability, water retention and fertility of the soil, and thus provide a better environment for plant growth. 5. Reduce soil erosion: After the lawn is compacted, the soil surface is more solid, reducing water loss and soil erosion. This helps to maintain soil stability, reduce the risk of soil erosion, and protect the environment. You can also choose according to your preferences, that is, you can use Figure 1 The terminal device 120 in the lawn pattern generation system 100 shown sends a job selection instruction to the mowing device 110 to select the job type selected by the mowing device 110 when generating the target pattern this time.
[0076] visible, Figure 2 It is a flow chart of a lawn pattern generation method based on obstacles provided in an embodiment of the present application. In the embodiment of the present application, the mowing equipment obtains a map image of the target lawn area to determine the information of multiple obstacles that exist, and further determines an adaptive target pattern based on its own equipment information, thereby ensuring the adaptability of the target pattern to the actual situation of the target lawn area, improving the stability and efficiency of the lawn pattern generated by the mowing equipment, and the ornamental value of the lawn pattern.
[0077] The following is an embodiment of the device of the present application. The embodiment of the device of the present application and the embodiment of the method of the present application are of the same concept and are used to execute the method described in the embodiment of the present application. For the convenience of explanation, the embodiment of the device of the present application only shows the part related to the embodiment of the device of the present application. For the specific technical details not disclosed, please refer to the description of the embodiment of the method of the present application, which will not be repeated here one by one.
[0078] The present application embodiment provides a lawn pattern generation device based on obstacles, which is applied to Figure 1The lawn pattern generating device 110 in the lawn pattern generating system 100 shown in the figure, specifically, the obstacle-based lawn pattern generating device is used to execute the steps performed by the lawn pattern generating device 110 in the above obstacle-based lawn pattern generating method. The obstacle-based lawn pattern generating device provided in the embodiment of the present application may include modules corresponding to the corresponding steps.
[0079] The embodiment of the present application can divide the functional modules of the obstacle-based lawn pattern generation device according to the above method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware or in the form of software functional modules. The division of modules in the embodiment of the present application is schematic and is only a logical functional division. There may be other division methods in actual implementation. In the case of dividing each functional module according to each function, Figure 6 It is a functional unit composition block diagram of an obstacle-based lawn pattern generation device provided in an embodiment of the present application; the device 60 includes: an acquisition unit 601, used to acquire a map image of a target lawn area and equipment information of a mowing device; an obstacle determination unit 602, used to determine obstacle information of multiple obstacles in the target lawn area according to the map image; a pattern determination unit 603, used to determine a target pattern according to the obstacle information and the equipment information, wherein the target pattern is composed of multiple similar graphics with the center position of the target lawn area as the center of the graphics, and the interval distance between any two adjacent graphic intersections in the same direction is the same, and the graphic intersection is an intersection formed by the intersection of the graphic center and multiple similar graphics along any direction; an execution unit 604, used to perform a mowing operation or a grass pressing operation according to the target pattern to generate a target pattern in the target lawn area.
[0080] In a possible embodiment, the device information includes the device width, and the obstacle information includes the obstacle position; in determining the target pattern according to the obstacle information and the device information, the pattern determination unit 603 is specifically used to: determine a distance restriction set according to the center position of the target lawn area and the map image, the distance restriction set including the correspondence between the reference direction and the reference distance, the reference distance being the maximum distance between the center position and the boundary of the target lawn area in the corresponding reference direction; determine the distance difference between any two adjacent obstacles and the center position according to the obstacle position, and determine the basic distance, the basic distance being the minimum value of the distance between each obstacle and the center position; if there is at least one distance difference less than or equal to the device width, determine the maximum value of the distance difference less than or equal to the device width as the target interval distance, the target interval distance is used to characterize the minimum interval distance between the boundaries of two adjacent similar figures; determine a reference circle number range and a reference figure according to the target interval distance, the basic distance and the distance restriction set, each reference circle number in the reference circle number range corresponds to a reference figure, and the reference figure is used to indicate the shape of the similar figure; determine a target pattern adapted to the mowing device according to the reference circle number range, the target interval distance and the multiple reference figures.
[0081] In a possible embodiment, the obstacle information also includes contour information; before determining the reference lap number range according to the target interval distance, the basic distance and the distance limit set, after determining the basic distance, the pattern determination unit 603 is further specifically used to: if the distance differences are all greater than the device width, determine the distance difference with the smallest value as the reference interval distance, and determine the reference obstacles corresponding to the distance difference with the smallest value as the first obstacle and the second obstacle; perform an edge curvature analysis operation on the contour information corresponding to the reference obstacle, determine a first curvature value corresponding to the first obstacle and a second curvature value corresponding to the second obstacle, the first curvature value being the edge curvature value with the largest value of the side opposite to the second obstacle of the first obstacle, and the second curvature value being the edge curvature value with the largest value of the side opposite to the first obstacle of the second obstacle; if the first curvature value and / or the second curvature value are greater than the preset curvature value, determine the safety interval distance according to the first curvature value and / or the second curvature value; determine the target interval distance according to the reference interval distance and the safety interval distance.
[0082] In a possible embodiment, in terms of determining a reference lap range and a reference graph based on a target interval distance, a base distance, and a distance limit set, the pattern determination unit 603 is specifically used to: determine an adjustable distance range based on a distance limit set and a preset minimum turning radius, wherein the maximum value of the adjustable distance in the adjustable distance range is the difference between the maximum value of the reference distance and the minimum turning radius, the minimum value of the adjustable distance is the difference between the minimum value of the reference distance and the base distance, and the minimum turning radius is the minimum radius of a trajectory circle formed by the mowing equipment during operation; determine a reference lap range based on a maximum multiple and a minimum multiple of the target interval distance included in the adjustable distance range; determine an adjustable parameter type based on a preset user preference type; determine a reference graph corresponding to each reference lap based on the user preference type and the adjustable parameter type, and the numerical value of the adjustment parameter corresponding to the adjustment parameter type is associated with the reference lap.
[0083] In one possible embodiment, the user preference type is used to indicate any one of the following graphic types: ellipse, polygon, corrugation; based on the preset user preference type, the adjustable parameter type is determined, including: if the user preference type is ellipse, the adjustable parameter type is determined to be the eccentricity of the reference graphic; or, if the user preference type is polygon, the adjustable parameter type is determined to be the number of sides of the reference graphic; or, if the user preference type is corrugation, the adjustable parameter type is determined to be the amplitude and / or frequency of the boundary of the reference graphic.
[0084] In a possible embodiment, in which the device information also includes the current device position, and in terms of determining a target pattern that is compatible with the mowing device based on a reference lap range, a target interval distance, and multiple reference graphics, the pattern determination unit 603 is specifically used to: generate multiple reference patterns based on the reference lap range, the reference graphics, and the target interval distance; determine a corresponding reference path length based on each reference pattern, the obstacle position, the current device position, and the contour information, the reference path length being the length of the path that the mowing device moves when generating the reference pattern in the target lawn area; determine a reference power consumption corresponding to each reference pattern based on a preset operating power consumption and multiple reference path lengths, the operating power consumption being used to indicate the power consumed by the mowing device when it maintains an operating state and continues to move a preset distance; determine as the target pattern a reference pattern that is less than or equal to the device power of the mowing device and corresponds to a reference power consumption that is closest to the value of the device power.
[0085] In a possible embodiment, in terms of determining the corresponding reference path length according to each reference pattern, obstacle position, current device position and contour information, the pattern determination unit 603 is specifically used to: determine, according to the currently processed reference pattern, the operation start position located in the reference pattern that is closest to the current device position; determine the distance between the operation start position and the current device position as the first path length, and determine the second path length according to the reference pattern, the second path length being the shortest path length required for the mowing device to move along the reference pattern starting from the operation start position; if it is determined according to the obstacle position that there is a target obstacle that coincides with the reference pattern, then determine the third path length according to the contour information corresponding to the target obstacle, the third path length being the path length required for the mowing device to bypass the edge of the obstacle; and determine the sum of the first path length, the second path length and the third path length as the reference path length.
[0086] In the case of an integrated unit, such as Figure 7 As shown, Figure 7 1 is a functional unit block diagram of another obstacle-based lawn pattern generation device provided in an embodiment of the present application. Figure 7 In the embodiment, the obstacle-based lawn pattern generating device 60 includes: a processing module 702 and a communication module 701. The processing module 702 is used to control and manage the actions of the obstacle-based lawn pattern generating device, for example, the steps of the acquisition unit 601, the obstacle determination unit 602, the pattern determination unit 603 and the execution unit 604, and / or other processes for executing the technology described herein. The communication module 701 is used to support the interaction between the obstacle-based lawn pattern generating device and other devices. Figure 7 As shown, the apparatus for generating a lawn pattern based on obstacles may include a storage module 703, and the storage module 703 is used to store program codes and data of the apparatus for generating a lawn pattern based on obstacles.
[0087] Among them, the processing module 702 can be a processor or a controller, for example, a central processing unit (CPU), a general processor, a digital signal processor (DSP), an ASIC, an FPGA or other programmable logic device, a transistor logic device, a hardware component or any combination thereof. It can implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of this application. The processor can also be a combination that implements a computing function, for example, a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like. The communication module 701 can be a transceiver, an RF circuit or a communication interface, and the like. The storage module 703 can be a memory.
[0088] Among them, all relevant contents of each scene involved in the above method embodiment can be referred to the functional description of the corresponding functional module, and will not be repeated here. The above obstacle-based lawn pattern generation device 60 can execute the above Figure 2 The obstacle-based lawn pattern generation method shown.
[0089] The above embodiments can be implemented in whole or in part by software, hardware, firmware or any other combination. When implemented using software, the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website site, computer, server or data center to another website site, computer, server or data center by wired or wireless means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that contains one or more available media sets. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium. The semiconductor medium can be a solid-state hard disk.
[0090] Figure 8 : is a structural block diagram of a lawn mowing device provided in an embodiment of the present application. Figure 8 As shown, the mowing device 80 may include one or more of the following components: a processor 801, a memory 802 coupled to the processor 801, wherein the memory 802 may store one or more computer programs 803, and the one or more computer programs 803 may be configured to implement the methods described in the above embodiments when executed by one or more processors 801. The mowing device 80 may be the mowing device 110 in the above embodiments.
[0091] The processor 801 may include one or more processing cores. The processor 801 uses various interfaces and lines to connect various parts of the entire mowing device 80, and executes various functions and processes data of the mowing device 80 by running or executing instructions, programs, code sets or instruction sets stored in the memory 802, and calling data stored in the memory 802. Optionally, the processor 801 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 801 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU), and a modem. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing display content; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 801, and may be implemented separately through a communication chip.
[0092] The memory 802 may include a random access memory (RAM) or a read-only memory (ROM). The memory 802 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 802 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc. The data storage area may also store data created by the mowing device 80 during use, etc.
[0093] It can be understood that the mowing device 80 may include more or fewer structural elements than those in the above structural block diagram, which is not limited here.
[0094] An embodiment of the present application also provides a computer storage medium, on which a computer program / instruction is stored. When the computer program / instruction is executed by a processor, part or all of the steps of any method recorded in the above method embodiments are implemented.
[0095] An embodiment of the present application also provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute part or all of the steps of any method recorded in the above method embodiments.
[0096] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0097] In the several embodiments provided in the present application, it should be understood that the disclosed methods, devices and systems can be implemented in other ways. For example, the device embodiments described above are merely schematic; for example, the division of the units is only a logical function division, and there may be other division methods in actual implementation; for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0098] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0099] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may be physically included separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0100] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform some steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: a USB flash drive, a mobile hard disk, a magnetic disk, an optical disk, a volatile memory or a non-volatile memory. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM) or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of random access memory (RAM) are available, such as static RAM (SRAM), dynamic random access memory (DRAM), synchronous DRAM (SDRAM), double data rate synchronous dynamic random access memory (double data rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (synchlink DRAM, SLDRAM) and direct memory bus random access memory (directrambus RAM, DR RAM) and other media that can store program code.
[0101] Although the present invention is disclosed as above, the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions without departing from the spirit and scope of the present invention, and can make various changes and modifications, including the combination of the above-mentioned different functions and implementation steps, including software and hardware implementation methods, all of which are within the scope of protection of the present invention.
Claims
1. A method for generating a lawn pattern based on obstacles, characterized in that: Applied to lawn mowing equipment, the method comprises: Acquire a map image of a target lawn area and equipment information of the lawn mowing equipment; Determining obstacle information of a plurality of obstacles in the target lawn area according to the map image; Determine a target pattern according to the obstacle information and the device information, wherein the target pattern is composed of a plurality of similar patterns with the center position of the target lawn area as the pattern center, and the interval distance between any two adjacent pattern intersections in the same direction is the same, and the pattern intersection is an intersection formed by the intersection of the pattern center and the plurality of similar patterns along any direction; A mowing operation or a grass pressing operation is performed according to the target pattern to generate the target pattern in the target lawn area.
2. The method according to claim 1, characterized in that The device information includes a device width, and the obstacle information includes an obstacle position; and determining a target pattern according to the obstacle information and the device information includes: Determine a distance restriction set according to the center position of the target lawn area and the map image, wherein the distance restriction set includes a correspondence between a reference direction and a reference distance, wherein the reference distance is a maximum distance between the center position and a boundary of the target lawn area in the corresponding reference direction; According to the obstacle positions, determining a distance difference between any two adjacent obstacles and the center position, and determining a basic distance, wherein the basic distance is a minimum value of the distances between each obstacle and the center position; If there is at least one distance difference value that is less than or equal to the device width, then determining the maximum value of the distance differences that are less than or equal to the device width as the target spacing distance, where the target spacing distance is used to represent the minimum spacing distance between boundaries of two adjacent similar graphics; Determine a reference lap range and a reference graph according to the target interval distance, the basic distance and the distance limit set, wherein each reference lap in the reference lap range corresponds to a reference graph, and the reference graph is used to indicate the shape of the similar graph; The target pattern adapted to the mowing equipment is determined according to the reference circle number range, the target interval distance and a plurality of the reference patterns.
3. The method according to claim 2, characterized in that The obstacle information also includes contour information; before determining the reference lap range according to the target interval distance, the basic distance and the distance limit set, and after determining the basic distance, the method further includes: If the distance differences are all greater than the device width, determining the distance difference with the smallest value as the reference interval distance, and determining the reference obstacles corresponding to the distance difference with the smallest value as the first obstacle and the second obstacle; Performing an edge curvature analysis operation on the contour information corresponding to the reference obstacle to determine a first curvature value corresponding to the first obstacle and a second curvature value corresponding to the second obstacle, the first curvature value being an edge curvature value having a maximum value for a side of the first obstacle relative to the second obstacle, and the second curvature value being an edge curvature value having a maximum value for a side of the second obstacle relative to the first obstacle; If the first curvature value and / or the second curvature value is greater than a preset curvature value, determining a safe spacing distance according to the first curvature value and / or the second curvature value; The target interval distance is determined according to the reference interval distance and the safety interval distance.
4. The method according to claim 2 or 3, characterized in that: The step of determining a reference lap range and a reference graph according to the target interval distance, the basic distance, and the distance limit set includes: Determine an adjustable distance range according to the distance limit set and a preset minimum turning radius, wherein a maximum value of the adjustable distance in the adjustable distance range is a difference between a maximum value of the reference distance and the minimum turning radius, a minimum value of the adjustable distance is a difference between a minimum value of the reference distance and the base distance, and the minimum turning radius is a minimum radius of a trajectory circle formed by the mowing equipment during operation; Determining the reference lap number range according to the maximum multiple and the minimum multiple of the target interval distance included in the adjustable distance range; Determine the adjustable parameter type according to the preset user preference type; The reference graph corresponding to each of the reference laps is determined according to the user preference type and the adjustable parameter type, and the numerical value of the adjustment parameter corresponding to the adjustment parameter type is associated with the reference laps.
5. The method according to claim 4, characterized in that The user preference type is used to indicate any of the following graphic types: ellipse, polygon, corrugated; the adjustable parameter type is determined according to the preset user preference type, including: If the user preferred type is an ellipse, determining the adjustable parameter type to be the eccentricity of the reference pattern; or, If the user preference type is polygon, determining the adjustable parameter type to be the number of sides of the reference graph; or, If the user preference type is ripple, the adjustable parameter type is determined to be the amplitude and / or frequency of the boundary of the reference pattern.
6. The method according to claim 3, characterized in that The device information also includes the current device position and the device power. The determining the target pattern adapted to the mowing device according to the reference lap range, the target interval distance and the plurality of reference patterns includes: generating a plurality of reference patterns according to the reference number of laps, the reference pattern and the target interval distance; Determine a corresponding reference path length according to each of the reference patterns, the obstacle position, the current device position and the profile information, wherein the reference path length is the path length along which the mowing device moves when generating the reference pattern in the target lawn area; Determine a reference power consumption corresponding to each reference pattern according to a preset operating power consumption and a plurality of reference path lengths, wherein the operating power consumption is used to indicate the power consumed by the mowing equipment when the mowing equipment maintains an operating state and continuously moves a preset distance; A reference pattern corresponding to a reference power consumption that is less than or equal to the device power of the lawn mowing device and is closest to the value of the device power is determined as the target pattern.
7. The method according to claim 6, characterized in that The determining, according to each of the reference patterns, the obstacle position, the current device position and the contour information, a corresponding reference path length includes: Determine, according to the reference pattern currently being processed, a job start position located on the reference pattern that is closest to the current device position; Determine the distance between the operation start position and the current device position as a first path length, and determine a second path length according to the reference pattern, wherein the second path length is the shortest path length required for the mowing device to move along the reference pattern starting from the operation start position; If it is determined according to the obstacle position that there is a target obstacle that coincides with the reference pattern, a third path length is determined according to contour information corresponding to the target obstacle, where the third path length is the path length required for the mowing device to bypass the edge of the obstacle; The sum of the first path length, the second path length and the third path length is determined as the reference path length.
8. A lawn pattern generating device based on obstacles, characterized in that: Applied to lawn mowing equipment, the device comprises: An acquisition unit, used for acquiring a map image of a target lawn area and equipment information of the lawn mowing equipment; an obstacle determination unit, configured to determine obstacle information of a plurality of obstacles in the target lawn area according to the map image; A pattern determination unit, configured to determine a target pattern according to the obstacle information and the device information, wherein the target pattern is composed of a plurality of similar patterns with the center position of the target lawn area as the pattern center, and the interval distance between any two adjacent pattern intersections in the same direction is the same, and the pattern intersection is an intersection formed by the intersection of the pattern center and the plurality of similar patterns along any direction; An execution unit is used to execute a mowing operation or a grass pressing operation according to the target pattern to generate the target pattern in the target lawn area.
9. A lawn mowing device, characterized in that: The method comprises a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, and the programs include instructions for executing the steps in the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: A computer program for electronic data exchange is stored, wherein the computer program causes a computer to execute the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Lawn three-dimensional pattern trimming robot system and method
CN110754204A
Full-coverage path generation method and device, terminal equipment and storage medium
CN113791625A
Automatic mower, mowing system and mowing map processing method
CN113924857A
Dynamic full-coverage path planning method and device, cleaning equipment and storage medium
CN116700235A
Moving path adjusting method, terminal device and medium
CN116952252A
Cited By
Recognition control method, physical fence, mower and control system
CN120677911A
Mowing path generation method and related apparatus
WO2025246750A1
Unloading method, unloading apparatus, loading device, and computer-readable storage medium
WO2026057063A1
Obstacle-bypassing control method and autonomous moving device
WO2026113935A1
