Lawn mower site layout method and system
By obtaining and processing the lawn mower site layout parameters, it ensures that the site map meets the design requirements, solves the problem of inappropriate lawn mower layout on the site, and improves the mowing effect and user experience.
Patent Information
- Application Number
- CN202210631336.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-06
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2042-06-06
AI Technical Summary
Due to unclear design requirements or human errors when laying out existing lawn mowers on the site, the lawn mower cannot turn freely, gets stuck, and cannot normally enter and exit the base station. The actual path is inconsistent with the theoretical path, which affects the mowing effect and reduces the user experience.
Create a site map by obtaining layout parameters, perform data correction and shape retrieval processing, generate site layout data, and determine whether it meets the preset requirements. If not, an error will be reported and the map will be re-created to ensure that the site layout meets the design requirements.
Avoid lawn mower failures caused by site layout that does not meet design requirements, improve the mowing effect, ensure that the lawn mower can turn freely and enter and exit the base station normally, avoid blind spots that are not clean, and improve user experience.
Smart Images

Figure CN115016473B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of lawn mowers, and in particular to a lawn mower site layout method and system. Background Art
[0002] Currently, when lawn mowers are arranging the site, the final site layout does not meet the design requirements because the customers do not understand the design requirements of the site layout or due to human errors. The lawn mower performs the mowing task based on a map that does not meet the requirements, resulting in the lawn mower being unable to turn freely, being stuck, being unable to enter and exit the base station normally, and the actual path being inconsistent with the theoretical path. This may eventually cause the lawn mower to operate abnormally, affect the mowing effect, and lead to a poor user experience. Summary of the invention
[0003] The technical problem to be solved by the present invention is to provide a lawn mower site layout method and system in view of at least one defect in the prior art.
[0004] The technical solution adopted by the present invention to solve the technical problem is: constructing a lawn mower site layout method, comprising the following steps:
[0005] S1. Obtaining layout parameters, and creating a site map according to the layout parameters;
[0006] S2, performing data correction on the site map, and generating a grid map according to the corrected site map;
[0007] S3, performing shape retrieval processing on the grid map to obtain site layout data;
[0008] S4. Determine whether the site map meets the preset layout requirements according to the site layout data. If yes, the layout is completed. Otherwise, an error is reported and the process returns to step S1.
[0009] Preferably, in the lawn mower site arrangement method of the present invention, step S4 comprises:
[0010] S410, determining whether the outer circle length in the site layout data is less than the outer circle length threshold, if so, executing the next step, otherwise reporting an error and returning to the step S1;
[0011] S420: Determine whether the base station exit reserved distance in the site layout data is greater than the exit reserved threshold. If so, the layout is completed; otherwise, an error is reported and the process returns to step S1.
[0012] Preferably, in the lawn mower site arrangement method of the present invention, between step S410 and step S420, the following steps are further included:
[0013] S411, determine whether the base station non-contact boundary reservation distance in the site layout data is greater than the boundary reservation threshold, if so, execute the next step, otherwise report an error and return to the step S1.
[0014] Preferably, in the lawn mower site arrangement method of the present invention, between step S410 and step S420, the following steps are further included:
[0015] S412, determining whether the outer ring narrow road width in the site layout data is greater than the narrow road width threshold, if so, executing the next step, otherwise reporting an error and returning to the step S1.
[0016] Preferably, in the lawn mower site arrangement method of the present invention, between step S410 and step S420, the following steps are further included:
[0017] S413, determining whether the base station exit inclination angle in the site layout data is less than the inclination threshold, if so, executing the next step, otherwise reporting an error and returning to the step S1.
[0018] Preferably, in the lawn mower site arrangement method of the present invention, between step S410 and step S420, the following steps are further included:
[0019] S414, determining whether the corner angle in the site layout data is greater than an angle threshold, if so, executing the next step, otherwise reporting an error and returning to the step S1.
[0020] The present invention also provides a lawn mower site layout system, comprising:
[0021] A map creation unit, used to obtain layout parameters, and create a site map according to the layout parameters; and perform data correction processing on the site map, and generate a grid map according to the processed site map;
[0022] A shape retrieval unit, used to perform shape retrieval processing on the grid map and output site layout data;
[0023] The judging unit is used to judge whether the site map meets the preset layout requirements according to the site layout data, and if so, the layout is completed; otherwise, an error is reported and the site map is recreated through the map creation unit.
[0024] Preferably, in the lawn mower site layout system of the present invention, in the judgment unit, judging whether the site map meets the preset layout requirements according to the site layout data includes:
[0025] It is determined whether the outer circle length in the site layout data is less than the outer circle length threshold, and it is determined whether the base station exit reserved distance in the site layout data is greater than the exit reserved threshold. If both are true, the layout is completed; otherwise, an error is reported and the site map is recreated through the map creation unit.
[0026] Preferably, in the lawn mower site layout system of the present invention, in the judgment unit, judging whether the site map meets the preset layout requirements according to the site layout data includes:
[0027] It is determined whether the outer circle length in the site layout data is less than the outer circle length threshold, whether the outer circle narrow road width in the site layout data is greater than the narrow road width threshold, and whether the base station exit reserved distance in the site layout data is greater than the exit reserved threshold. If all three are true, the layout is completed; otherwise, an error is reported and the site map is recreated through the map creation unit.
[0028] Preferably, in the lawn mower site layout system of the present invention, in the judgment unit, judging whether the site map meets the preset layout requirements according to the site layout data includes:
[0029] Determine whether the outer circle length in the site layout data is less than the outer circle length threshold, determine whether the base station non-contact boundary reserved distance in the site layout data is greater than the boundary reserved threshold, determine whether the outer circle narrow road width in the site layout data is greater than the narrow road width threshold, determine whether the base station exit inclination angle in the site layout data is less than the inclination threshold, determine whether the corner angle in the site layout data is greater than the angle threshold, and determine whether the base station exit reserved distance in the site layout data is greater than the exit reserved threshold. If all six are true, the layout is completed; otherwise, an error is reported and the site map is recreated through the map creation unit.
[0030] The implementation of the present invention has the following beneficial effects: the present invention provides a method for arranging a lawn mower site: by acquiring arrangement parameters and creating a site map according to the arrangement parameters; then performing data correction on the site map, and generating a grid map according to the corrected site map; then performing shape retrieval processing on the grid map to obtain site arrangement data; judging whether the site map meets the preset arrangement requirements according to the site arrangement data, thereby ensuring that the final site map meets the preset arrangement requirements, so as to avoid the lawn mower from being unable to turn freely, being stuck, being unable to enter and exit the base station normally, and the actual path being inconsistent with the theoretical path due to the site arrangement not meeting the design requirements, and also avoiding the existence of dead corners in the site that cannot be cleaned, thereby improving the cleaning effect of the lawn mower, and playing a positive role in improving user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] The present invention will be further described below with reference to the accompanying drawings and embodiments, in which:
[0032] Figure 1 is a flow chart of the method for arranging a lawn mower site provided by the present invention;
[0033] Figure 2 is a flow chart of step S4 in the lawn mower site arrangement method provided by the present invention;
[0034] Figure 3 It is an example diagram of a site map in the method for arranging a lawn mower site provided by the present invention;
[0035] Figure 4 It is a structural diagram of the lawn mower site layout system provided by the present invention. DETAILED DESCRIPTION
[0036] In order to have a clearer understanding of the technical features, purposes and effects of the present invention, specific embodiments of the present invention are now described in detail with reference to the accompanying drawings.
[0037] It should be noted that the flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor do they have to be executed in the order described. For example, some operations / steps can be decomposed, while some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions.
[0038] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities may be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.
[0039] refer to Figure 1 The present invention provides a method for arranging a lawn mower site, comprising the following steps: S1, S2, S3 and S4.
[0040] S1. Obtain layout parameters and create a site map according to the layout parameters. The layout parameters include map shape and size parameters, equipment size and location parameters, grass-free area size and location parameters, etc. Figure 3 As shown, the equipment includes but is not limited to a lawn mower base station 10, a swimming pool 20, seats (not shown), etc.; the grass-free area includes but is not limited to a tree planting area (30), a flower bed (not shown), a sidewalk (not shown), a concrete floor (not shown), etc.
[0041] Furthermore, to obtain the layout parameters, after the user arranges the boundary line, the robot (mower) is started to explore the entire lawn along the arranged boundary line, and the machine records the explored information to build a map.
[0042] S2. Correct the data of the site map and generate a grid map based on the corrected site map. Specifically, correcting the data of the site map includes: removing unnecessary location data and supplementing the location data that is not set. Taking equipment as an example, when part or all of the equipment is placed on a grass-free area (such as a concrete floor), the overlapping location data is removed. Taking trees as an example, since the tree crown is relatively small relative to the roots, if the bottom of the tree crown overlaps with the grass, the bottom of the tree crown still needs to be mowed. Therefore, the size and position parameters of the bottom of the tree crown that need to be mowed can be calculated based on the size data of the tree crown and the roots, and the size and position parameters are supplemented to avoid the bottom of the tree crown being unable to be cleaned. Then, a grid map with a fixed threshold width for each grid is generated based on the corrected site map, so as to calculate the site layout data and prepare for step S3.
[0043] S3. Perform shape retrieval processing on the grid map to obtain site layout data. Specifically, based on the grid map, calculate the distance and angle parameters between the equipment in the site map and the grass-free area, and finally obtain the site layout data. Figure 3 As shown, the site layout data includes the outer circle length A, the base station exit reserved distance B, the base station non-contact boundary reserved distance C, the outer circle narrow road width D, the base station exit inclination angle (not shown), the corner angle E, the adjacent boundary distance F and the boundary and obstacle distance G, etc.
[0044] S4. Determine whether the site map meets the preset layout requirements based on the site layout data. If yes, the layout is completed. Otherwise, an error is reported and the process returns to step S1.
[0045] In some embodiments, Figure 2 As shown, step S4 includes: step S410 and step S420.
[0046] S410, determine whether the outer circle length A in the site layout data is less than the outer circle length threshold, if so, execute the next step, otherwise report an error and return to step S1. The outer circle length A refers to the boundary perimeter of the site layout. Due to the design characteristics of the product itself, the outer circle length A cannot be greater than the outer circle length threshold. In some embodiments, the outer circle length threshold can be 200 meters.
[0047] S420, determine whether the base station exit reserved distance B in the site layout data is greater than the exit reserved threshold. If so, the layout is completed, otherwise an error is reported and the process returns to step S1. The purpose of step S420 is to ensure that the position reserved at the base station exit is sufficient for the lawn mower to turn freely, so that the lawn mower can enter and exit the base station without worry. In some embodiments, the exit reserved threshold can be 1.5 meters. In addition, the lawn mower will return to the base station when it needs to be charged or receives a return command.
[0048] In some embodiments, reference Figure 2 , between step S410 and step S420 also include: step S411, step S412, step S413 and step S414.
[0049] S411, determine whether the base station non-contact boundary reservation distance C in the site layout data is greater than the boundary reservation threshold, if so, execute the next step, otherwise report an error and return to step S1. In some embodiments, the location setting of the base station includes: the tail of the base station is close to the boundary setting, the side wall of the base station is close to the boundary setting, the tail and one side wall of the base station are close to the boundary setting, or the base station is not close to the boundary setting, such as Figure 3 The lawn mower base station 10 shown belongs to the case where one side wall is set close to the boundary. The purpose of step S411 is to reserve sufficient space between the base station and the non-contact boundary so that the lawn mower can move freely to these positions to clean the grass. In some embodiments, the boundary reservation threshold can be 1 meter.
[0050] S412, determine whether the outer narrow road width D in the site layout data is greater than the narrow road width threshold, if so, execute the next step, otherwise report an error and return to step S1. Since the lawn mower itself has a certain width and there is a positioning error of the lawn mower, in order to ensure that the lawn mower can pass through the outer narrow road, in some embodiments, the narrow road width threshold may be 1 meter.
[0051] S413, determine whether the inclination angle of the base station exit in the site layout data is less than the inclination threshold, if so, execute the next step, otherwise report an error and return to step S1. Since the theoretical motion trajectory of the lawn mower is closely related to the base station position, if the inclination angle of the base station exit exceeds the inclination threshold, the actual movement of the lawn mower will be inconsistent with the theoretical movement, resulting in poor cleaning effect, which seriously affects the user experience. In addition, the inclination angle of the base station exit can be calculated based on the boundary closest to the base station. Under normal circumstances, when setting the base station, the base station exit will be perpendicular or parallel to the nearest boundary.
[0052] S414: Determine whether the corner angle E in the site layout data is greater than the angle threshold. If so, proceed to the next step. Otherwise, report an error and return to step S1. Figure 3, limited by the size of the lawn mower itself, if the corner angle E is too small, the lawn mower will not be able to turn freely at the corner position, and if the corner is too small, the two boundaries of the corner may interfere with each other, resulting in abnormal signals, which may eventually cause the lawn mower to be abnormal, so step S413 can improve the stability and reliability of the lawn mower when working at the corner position. Further, the angle threshold can be 30°.
[0053] In some embodiments, to avoid the adjacent boundaries being too far apart and causing a large area of grass to be unable to be cleaned, such as Figure 3 As shown, between step S410 and step S420, it is also included to determine whether the adjacent boundary distance F in the site layout data is less than the boundary distance threshold, if so, execute the next step, otherwise report an error and return to step S1. Further, the boundary distance threshold can be 0.01 meters.
[0054] In some embodiments, due to the positioning error of the lawn mower, in order to avoid the lawn mower colliding with obstacles, between step S410 and step S420, it is also included to determine whether the distance G between the boundary and the obstacle in the site layout data is greater than the obstacle distance threshold. If so, the next step is executed, otherwise an error is reported and the process returns to step S1. Obstacles include walls, equipment, and grass-free areas. Further, the obstacle distance threshold can be 0.35 meters.
[0055] It can be understood that the judgment steps between step S410 and step S420 do not have a strict order. As long as one of the judgment results is negative, an error will be reported and the process will return to step S1.
[0056] refer to Figure 4 The present invention also provides a lawn mower site layout system, including: a map creation unit, a shape retrieval unit and a judgment unit.
[0057] A map creation unit is used to obtain layout parameters and create a site map according to the layout parameters; and to perform data correction processing on the site map and generate a grid map according to the processed site map;
[0058] A shape retrieval unit, used to perform shape retrieval processing on the grid map and output site layout data;
[0059] The judgment unit is used to judge whether the site map meets the preset layout requirements according to the site layout data. If so, the layout is completed; otherwise, an error is reported and the site map is recreated through the map creation unit.
[0060] In some embodiments, judging in the judgment unit whether the site map meets the preset layout requirements according to the site layout data includes: judging whether the outer circle length A in the site layout data is less than the outer circle length threshold, and judging whether the base station exit reserved distance B in the site layout data is greater than the exit reserved threshold. If both are the case, the layout is completed, otherwise an error is reported and the site map is recreated through the map creation unit.
[0061] In some embodiments, judging in the judging unit whether the site map meets the preset layout requirements according to the site layout data includes:
[0062] Determine whether the outer circle length A in the site layout data is less than the outer circle length threshold, determine whether the outer circle narrow road width D in the site layout data is greater than the narrow road width threshold, and determine whether the base station exit reserved distance B in the site layout data is greater than the exit reserved threshold. If all three are true, the layout is completed, otherwise an error is reported and the site map is recreated through the map creation unit.
[0063] In some embodiments, judging in the judgment unit whether the site map meets the preset layout requirements according to the site layout data includes: judging whether the outer circle length A in the site layout data is less than the outer circle length threshold, judging whether the base station non-contact boundary reserved distance C in the site layout data is greater than the boundary reserved threshold, judging whether the outer circle narrow road width D in the site layout data is greater than the narrow road width threshold, judging whether the base station exit inclination angle in the site layout data is less than the inclination threshold, judging whether the corner angle E in the site layout data is greater than the angle threshold, and judging whether the base station exit reserved distance B in the site layout data is greater than the exit reserved threshold. If all six are true, the layout is completed, otherwise an error is reported and the site map is recreated through the map creation unit.
[0064] In some embodiments, judging in the judgment unit whether the site map meets the preset layout requirements according to the site layout data includes: judging whether the outer circle length A in the site layout data is less than the outer circle length threshold, judging whether the base station non-contact boundary reserved distance C in the site layout data is greater than the boundary reservation threshold, judging whether the outer circle narrow road width D in the site layout data is greater than the narrow road width threshold, judging whether the base station exit inclination angle in the site layout data is less than the inclination threshold, judging whether the corner angle E in the site layout data is greater than the angle threshold, judging whether the adjacent boundary distance F in the site layout data is less than the boundary distance threshold, judging whether the boundary and obstacle distance G in the site layout data is greater than the obstacle distance threshold, and judging whether the base station exit reserved distance B in the site layout data is greater than the exit reservation threshold. If all eight are true, the layout is completed, otherwise an error is reported and the site map is recreated through the map creation unit.
[0065] It can be understood that the present invention obtains layout parameters and creates a site map according to the layout parameters; then performs data correction on the site map and generates a grid map according to the corrected site map; then performs shape retrieval processing on the grid map to obtain site layout data; determines whether the site map meets the preset layout requirements according to the site layout data, thereby ensuring that the final site map meets the preset layout requirements, so as to avoid the lawn mower from being unable to turn freely, getting stuck, being unable to enter and exit the base station normally, and the actual path being inconsistent with the theoretical path due to the site layout not meeting the design requirements, and can also avoid the existence of dead corners in the site that cannot be cleaned, which plays a positive role in improving the cleaning effect of the lawn mower, thereby improving the user experience.
[0066] It can be understood that the above embodiments only express the preferred implementation modes of the present invention, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the patent scope of the present invention. It should be pointed out that, for ordinary technicians in this field, the above technical features can be freely combined without departing from the concept of the present invention, and several deformations and improvements can be made, which all belong to the protection scope of the present invention. Therefore, all equivalent changes and modifications made to the scope of the claims of the present invention should belong to the coverage of the claims of the present invention.
Claims
1. A method for arranging a lawn mower site, characterized in that: The following steps are involved: S1. Obtaining layout parameters, and creating a site map according to the layout parameters; S2, performing data correction on the site map, and generating a grid map according to the corrected site map; S3, performing shape retrieval processing on the grid map to obtain site layout data; S4, judging whether the site map meets the preset layout requirements according to the site layout data, if so, the layout is completed, otherwise an error is reported and the process returns to step S1; The step S4 comprises: S410, determining whether the outer circle length in the site layout data is less than the outer circle length threshold, if so, executing the next step, otherwise reporting an error and returning to the step S1; S420: Determine whether the base station exit reserved distance in the site layout data is greater than the exit reserved threshold. If so, the layout is completed; otherwise, an error is reported and the process returns to step S1.
2. The method for arranging a lawn mower site according to claim 1, characterized in that: Also included between step S410 and step S420: S411, determine whether the base station non-contact boundary reservation distance in the site layout data is greater than the boundary reservation threshold, if so, execute the next step, otherwise report an error and return to the step S1.
3. The method for arranging a lawn mower site according to claim 2, characterized in that: Also included between step S410 and step S420: S412, determining whether the outer ring narrow road width in the site layout data is greater than the narrow road width threshold, if so, executing the next step, otherwise reporting an error and returning to the step S1.
4. The method for arranging a lawn mower site according to claim 3, characterized in that: Also included between step S410 and step S420: S413, determining whether the base station exit inclination angle in the site layout data is less than the inclination threshold, if so, executing the next step, otherwise reporting an error and returning to the step S1.
5. The method for arranging a lawn mower site according to claim 4, characterized in that: Also included between step S410 and step S420: S414, determining whether the corner angle in the site layout data is greater than an angle threshold, if so, executing the next step, otherwise reporting an error and returning to the step S1.
6. A lawn mower site layout system, characterized in that: include: A map creation unit, used to obtain layout parameters, and create a site map according to the layout parameters; and perform data correction processing on the site map, and generate a grid map according to the processed site map; A shape retrieval unit, used to perform shape retrieval processing on the grid map and output site layout data; A judging unit, configured to judge whether the site map meets the preset layout requirements according to the site layout data, and if so, the layout is completed; otherwise, an error is reported and the site map is recreated through the map creation unit; In the judging unit, judging whether the site map meets the preset layout requirements according to the site layout data includes: It is determined whether the outer circle length in the site layout data is less than the outer circle length threshold, and it is determined whether the base station exit reserved distance in the site layout data is greater than the exit reserved threshold. If both are true, the layout is completed; otherwise, an error is reported and the site map is recreated through the map creation unit.
7. The lawn mower site arrangement system according to claim 6, characterized in that: In the judging unit, judging whether the site map meets the preset layout requirements according to the site layout data includes: It is determined whether the outer circle length in the site layout data is less than the outer circle length threshold, whether the outer circle narrow road width in the site layout data is greater than the narrow road width threshold, and whether the base station exit reserved distance in the site layout data is greater than the exit reserved threshold. If all three are true, the layout is completed; otherwise, an error is reported and the site map is recreated through the map creation unit.
8. The lawn mower site arrangement system according to claim 6, characterized in that: In the judging unit, judging whether the site map meets the preset layout requirements according to the site layout data includes: Determine whether the outer circle length in the site layout data is less than the outer circle length threshold, determine whether the base station non-contact boundary reserved distance in the site layout data is greater than the boundary reserved threshold, determine whether the outer circle narrow road width in the site layout data is greater than the narrow road width threshold, determine whether the base station exit inclination angle in the site layout data is less than the inclination threshold, determine whether the corner angle in the site layout data is greater than the angle threshold, and determine whether the base station exit reserved distance in the site layout data is greater than the exit reserved threshold. If all six are true, the layout is completed; otherwise, an error is reported and the site map is recreated through the map creation unit.
