Mower control method and device, electronic equipment and storage medium

By marking the obstacle area at the current position of the lawn mower and adjusting the movement strategy according to the output torque, the cutting path is updated, which solves the problem of the lawn mower having difficulty getting out of trouble in dense grass areas, and achieves the effect of avoiding grass leakage and improving lawn mowing efficiency. .

CN118567343APending Publication Date: 2024-08-30POSITEC POWER TOOLS (SUZHOU) CO LTD
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202410223937.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-02-28
Filing Date
2024-02-28
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

When the lawn mower encounters dense grass, it is difficult to effectively escape, causing the cutting path to change, resulting in grass leakage.

Method used

By marking the obstacle area at the current position of the lawn mower, and adjusting the movement direction and speed according to changes in output torque, the cutting path is updated to avoid dense grass areas, ensuring the integrity of the cutting path.

Benefits of technology

It effectively avoids missing grass due to path changes during the cutting process, and improves the efficiency of the lawn mower in getting out of trouble and cutting grass.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118567343A
    Figure CN118567343A
Patent Text Reader

Abstract

The invention provides a lawn mower control method and device, electronic equipment and a storage medium, a lawn mower moves and / or works in a target working area based on a preset path, and the method comprises the following steps: when it is determined that the lawn mower enters a dense grass area, marking an obstacle area at the current position of the lawn mower; controlling the mower to move along a preset direction; wherein the preset direction is determined based on a preset working path; in response to the situation that the mower moves by the first preset distance and the output torque of the mower in the first preset time period is smaller than or equal to the target torque, updating the preset path based on the obstacle area to obtain an updated path; the updated path is a path which does not contain an obstacle area, and the updated path is matched with the shape of a preset path; and controlling the mowing machine to move and / or work based on the updated path. According to the control method of the mower, the escape efficiency of the mower can be improved, and the grass leakage phenomenon caused by path change in the cutting process is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of automatic control technology, and in particular to a lawn mower control method, device, electronic device and storage medium. Background Art

[0002] With the advancement of technology and the improvement of people's living standards, people's demand for greening is also increasing. Lawns have become an extremely important greening in both public places and private homes. As a tool for mowing lawns, lawn mowers are becoming more and more widely used.

[0003] At present, when a lawn mower encounters dense grass during operation, it will continue to move forward. If it cannot pass through the dense grass, it will turn a large bend (usually an obtuse angle). In the above method, when the lawn mower encounters dense grass, not only will the mowing motor run under load for a long time, but the large bend will also cause the walking path to tilt, which will cause subsequent cutting to miss grass. Summary of the invention

[0004] In view of this, the purpose of the present application is to provide a lawn mower control method, device, electronic device and storage medium, which can improve the escape efficiency of the lawn mower and avoid grass leakage caused by path changes during the cutting process.

[0005] In order to achieve one of the above-mentioned application purposes, the present application provides a lawn mower control method, wherein the lawn mower moves and / or works in a target working area based on a preset path, and the method comprises:

[0006] When it is determined that the lawn mower has entered a dense grass area, marking an obstacle area at the current position of the lawn mower;

[0007] Controlling the lawn mower to move along a preset direction; wherein the preset direction is determined based on a preset working path;

[0008] In response to the lawn mower moving a first preset distance and the output torque of the lawn mower in a first preset time period being less than or equal to a target torque, the preset path is updated based on the obstacle area to obtain an updated path; the updated path is a path that does not include the obstacle area, and the updated path matches the shape of the preset path;

[0009] Based on the updated path, the lawn mower is controlled to move and / or operate.

[0010] As a further improvement of the implementation manner of the present application, before determining that the lawn mower enters a dense grass area, the method further includes:

[0011] In response to the current output torque of the lawn mower being greater than a first preset torque, controlling the lawn mower to operate at a first preset moving speed; the first preset moving speed is less than the current moving speed of the lawn mower;

[0012] Acquire a first output torque of the lawn mower when the lawn mower operates at the first preset moving speed within a second preset time period;

[0013] In response to the first output torque being greater than a second preset torque, controlling the lawn mower to operate at a second preset moving speed, the second preset moving speed being less than the first preset moving speed;

[0014] Acquire a second output torque when the lawn mower operates at the second preset moving speed within a third preset time period;

[0015] In response to the second output torque being greater than a third preset torque and lasting for a designated time, it is determined that the lawn mower enters a dense grass area.

[0016] As a further improvement of the implementation manner of the present application, the controlling the lawn mower to move along a preset direction includes:

[0017] The lawn mower is controlled to move along a first direction; wherein the first direction is a direction opposite to a forward direction of the lawn mower.

[0018] As a further improvement of the implementation mode of the present application, it also includes:

[0019] In response to the lawn mower moving a second preset distance in the first direction and the output torque of the lawn mower in a fourth preset time period being greater than the target torque, the lawn mower is controlled to move in a second direction; wherein the second direction is a forward direction of the lawn mower.

[0020] As a further improvement of the implementation manner of the present application, the updating of the preset path based on the obstacle area to obtain the updated path includes:

[0021] Based on the obstacle area, determining a first target position, the first target position is outside the obstacle area and located on the preset path, the first target position is a position that the lawn mower has never reached and is closest to the current position of the lawn mower;

[0022] The first target position is used as a starting point for the lawn mower to move and / or work, and the preset path is updated to obtain an updated path.

[0023] As a further improvement of the implementation manner of the present application, when the preset path is a bow-shaped path, the first target position is the position of the lawn mower after turning around from the current position.

[0024] As a further improvement of the implementation mode of the present application, it also includes:

[0025] In response to the lawn mower moving a first preset distance and moving a preset number of times in the second direction, the output torque of the lawn mower in a fifth preset time period is still greater than the target torque, determining a second target position, wherein the second target position is located near a boundary of the target working area;

[0026] Planning a path from the current position to the second target position;

[0027] According to the planned path, controlling the lawn mower to move toward the second target position;

[0028] In response to the lawn mower moving to the second target position, determining a third target position, wherein the third target position is located on the preset path, the third target position is a position that the lawn mower has not reached and is closest to the current position of the lawn mower;

[0029] The lawn mower is controlled to move and / or work along the preset path starting from the third target position.

[0030] As a further improvement of the implementation mode of the present application, it also includes: when it is determined that the lawn mower enters a dense grass area, controlling the cutting motor to stop;

[0031] After controlling the lawn mower to move in the first direction, the cutting motor is controlled to start.

[0032] As a further improvement of the implementation mode of the present application, it also includes:

[0033] When it is determined that the lawn mower has entered a dense grass area, the cutting motor is controlled to stop;

[0034] After controlling the lawn mower to move in a first direction, controlling the cutting motor to start;

[0035] In response to the lawn mower moving a second preset distance in the first direction and the output torque of the lawn mower in a fourth preset time period being greater than the target torque, controlling the cutting motor to stop;

[0036] After controlling the lawn mower to move along the second direction, controlling the cutting motor to start.

[0037] As a further improvement of the implementation manner of the present application, marking the obstacle area at the current position of the lawn mower includes:

[0038] Based on the advancing direction of the lawn mower along the preset path, an obstacle area is marked at the current position of the lawn mower.

[0039] As a further improvement of the implementation manner of the present application, the step of marking an obstacle area at the current position of the lawn mower based on the advancing direction of the lawn mower along the preset path includes:

[0040] When the preset path is a bow-shaped path, a long strip perpendicular to the bow-shaped path is used to mark the obstacle area at the current position of the lawn mower.

[0041] As a further improvement of the implementation mode of the present application, it also includes:

[0042] Display information is sent to a display terminal, wherein the display information includes at least one of area information of the target working area, current position information of the lawn mower, area information of the obstacle area, and area information of a currently non-working area.

[0043] In order to achieve one of the above-mentioned application purposes, the present application provides a lawn mower control device, wherein the lawn mower moves and / or works in a to-be-worked area based on a preset path, and the device comprises:

[0044] A first control module is used to mark an obstacle area at the current position of the lawn mower when determining that the lawn mower enters a dense grass area;

[0045] A second control module, used for controlling the lawn mower to move along a preset direction; wherein the preset direction is determined based on a preset working path;

[0046] an updating module, configured to update the preset path based on the obstacle area to obtain an updated path in response to the lawn mower moving a first preset distance and the output torque of the lawn mower within a first preset time period being less than or equal to a target torque; the updated path is a path that does not include the obstacle area, and the updated path matches the shape of the preset path;

[0047] The third control module is used to control the lawn mower to move and / or work based on the updated path.

[0048] In order to achieve one of the above application purposes, the present application provides an electronic device, including:

[0049] processor;

[0050] a memory for storing instructions executable by the processor;

[0051] The processor is configured to execute the instructions to implement any of the above-mentioned lawn mower control methods.

[0052] In order to achieve one of the above application purposes, the present application provides a computer-readable storage medium. When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device can execute any of the above lawn mower control methods.

[0053] When the present application determines that the lawn mower has entered a dense grass area, the obstacle area is marked at the current position of the lawn mower, and the lawn mower is controlled to move in a preset direction. When the lawn mower moves a preset distance and the output torque in the first preset time period is less than or equal to the target torque, it indicates that the output torque of the lawn mower has returned to normal and the lawn mower has successfully escaped. Then, the preset path is updated based on the obstacle area, and the shape of the updated path matches the preset path, and the lawn mower is controlled to move and / or work based on the updated path. The technical solution of the present application can avoid the phenomenon of missing grass due to path changes during the cutting process while ensuring that the lawn mower successfully escapes. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] Figure 1 A schematic diagram of an application environment provided for an implementation mode of the present application;

[0055] Figure 2 A flowchart of a lawn mower control method is provided for one embodiment of the present application;

[0056] Figure 3 A flowchart of a lawn mower control method is provided for another embodiment of the present application;

[0057] Figure 4 A flowchart of a lawn mower control method is provided for another embodiment of the present application;

[0058] Figure 5 A flowchart of a lawn mower control method is provided for another embodiment of the present application;

[0059] Figure 6 A schematic diagram of an update path provided for another embodiment of the present application;

[0060] Figure 7 A flowchart of a lawn mower control method is provided for another embodiment of the present application;

[0061] Figure 8 A schematic diagram of an update path provided for another embodiment of the present application;

[0062] Fig. 9 A flowchart of a lawn mower control method is provided for another embodiment of the present application;

[0063] Fig.10 A flowchart of a lawn mower control method is provided for another embodiment of the present application;

[0064] Fig.11 A block diagram of a lawn mower control device provided in another embodiment of the present application;

[0065] Fig.12 is a flow chart showing a lawn mower control method according to an exemplary embodiment;

[0066] Fig.13 is a flow chart of a method for determining that a lawn mower enters a dense grass area according to an exemplary embodiment;

[0067] Fig.14 is a schematic diagram of a first escape strategy update path according to an exemplary embodiment;

[0068] Fig.15 is a flow chart of a second escape strategy path updating method according to an exemplary embodiment;

[0069] Fig.16 is a schematic diagram of a second escape strategy update path according to an exemplary embodiment;

[0070] Fig.17 is a flow chart of a method for compensating missed grass cutting according to an exemplary embodiment;

[0071] Fig.18 is a block diagram of a lawn mower control device according to an exemplary embodiment;

[0072] Fig.19 A block diagram of an electronic device for controlling a lawn mower according to another embodiment of the present application. DETAILED DESCRIPTION

[0073] In order to make the objectives, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below in combination with specific implementation methods and with reference to the accompanying drawings.

[0074] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present application should be understood by people with ordinary skills in the field to which the present application belongs. The "first", "second" and similar words used in the embodiments of the present application do not indicate any order, quantity or importance, but are only used to distinguish different components. "Include" or "comprise" and similar words mean that the elements or objects appearing before the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.

[0075] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for display, data for analysis, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.

[0076] Please refer to Figure 1 , is a schematic diagram of an application environment provided in one embodiment of the present application, and the application environment may include a terminal 100 and a server 200.

[0077] The terminal 100 can be used to provide list display information to any user. Specifically, the terminal 100 may include but is not limited to smart phones, desktop computers, tablet computers, laptop computers, smart speakers, digital assistants, augmented reality (AR) / virtual reality (VR) devices, smart wearable devices and other types of electronic devices, and may also be software running on the above electronic devices, such as applications. Optionally, the operating system running on the electronic device may include but is not limited to Android system, IOS system, Linux, Windows, etc.

[0078] In an optional implementation, the server 200 can provide background services for the terminal 100 and generate list data to be displayed by the terminal 100. Specifically, the server 200 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms.

[0079] In addition, it should be noted that Figure 1 What is shown is only one application environment provided by the present application. In actual application, other application environments may also be included, for example, more terminals may be included.

[0080] In the embodiments of this specification, the terminal 100 and the server 200 may be directly or indirectly connected via wired or wireless communication, and this application does not limit this. Figure 2 As shown, a lawn mower control method provided by an embodiment of the present application is provided, wherein the lawn mower moves and / or works in a target working area based on a preset path, and the lawn mower control method includes:

[0081] Step S210: When it is determined that the lawn mower has entered a dense grass area, an obstacle area is marked at the current position of the lawn mower.

[0082] Among them, the executor of this embodiment is a lawn mower controller, and the target working area is all areas that need to be mowed. Before using the lawn mower to mow, a preset path is specified based on the orientation and size of the target working area. The preset path can be in a "bow" shape, etc. In the absence of dense grass or other abnormal conditions, the preset path is the optimal mowing path for the lawn mower. Under normal circumstances, the lawn mower mows based on the preset path to improve mowing efficiency and avoid missed mowing.

[0083] In this embodiment, when the lawn mower enters dense grass, an obstacle area will be marked at the current position of the lawn mower, wherein the marked obstacle area is located at the current position of the lawn mower.

[0084] Step S220: Control the lawn mower to move along a preset direction; wherein the preset direction is determined based on a preset working path.

[0085] In this embodiment, after the mower enters dense grass and marks an obstacle area at the current position of the mower, the mower can be controlled to move in a preset direction. That is, after marking the obstacle area, the mower is controlled to execute an escape strategy, that is, the mower is controlled to move in a preset direction to try to escape.

[0086] Step S230: in response to the lawn mower moving a first preset distance and the output torque of the lawn mower in the first preset time period being less than or equal to the target torque, the preset path is updated based on the obstacle area to obtain an updated path; the updated path is a path that does not include the obstacle area, and the updated path matches the shape of the preset path.

[0087] In the related art, when a lawn mower encounters dense grass during operation, it will continue to move forward. If it cannot pass through the dense grass, it will make a large turn (usually an obtuse angle) to bypass the dense grass area. This will cause the lawn mower to form a blind corner during the process of getting out of trouble, resulting in missed cutting.

[0088] To this end, in this embodiment, after confirming that the lawn mower has entered dense grass and marking an obstacle area at the current position of the lawn mower, the lawn mower is controlled to move in a preset direction, and after the lawn mower moves a first preset distance, the relationship between the output torque of the lawn mower in a first preset time period and the target torque is judged to determine whether the lawn mower can successfully escape. Among them, the target torque is the critical value of the output torque of the lawn mower under normal mowing conditions. If the output torque of the lawn mower is less than or equal to the target torque, it indicates that the lawn mower is operating normally. If the output torque of the lawn mower is greater than the target torque, it indicates that the lawn mower is mowing abnormally, and the abnormal situation includes encountering dense grass or other obstacles.

[0089] In this embodiment, when the lawn mower moves a first preset distance and the output torque of the lawn mower in the first preset time period is less than or equal to the target torque, it is determined that the lawn mower has escaped successfully. At this time, the preset path can be updated based on the obstacle area so that the lawn mower continues to work. The updated path does not include the obstacle area, and the shape of the updated path matches the shape of the preset path, for example, both are bow-shaped paths.

[0090] It should be pointed out that the above-mentioned output torque can be broadly understood as a load, such as the speed of the blade of a lawn mower, the output torque of the blade, etc.; it can also be understood in a narrow sense, such as being understood as a torque caused by strain. In one embodiment, the output torque of the lawn mower motor is related to the corresponding motor speed and power. Therefore, the output torque of the lawn mower motor can be calculated by monitoring the motor speed and power of the lawn mower motor. For another example, the output torque of the lawn mower motor is related to the corresponding motor speed and power, and the power is related to the current. Therefore, the output torque of the lawn mower motor can be calculated according to the motor speed and current by monitoring the motor speed and current of the lawn mower motor. Since the torque will cause a certain strain on the transmission shaft, and there is a proportional relationship between the strain and the torque, the output torque can also be determined by detecting the strain of the transmission shaft corresponding to the lawn mower motor. Of course, the output torque of the lawn mower motor can also be directly measured using a torque sensor. Specifically, the torque sensor converts the physical change of the torque into an accurate electrical signal, and then reads or transmits the torque through the electrical signal.

[0091] In another embodiment, the output torque of the mowing motor is related to the current. For example, the output torque may be a function of the current. The output torque may be obtained by collecting the current through a current detection module such as an analog-to-digital converter (ADC) or a current sensor. For example, the output torque may be obtained by an integral operation.

[0092] In this embodiment, the output torque of the mowing motor during the operation of the smart mower can be periodically detected, and the smart mower can be controlled in subsequent steps based on the detected output torque. It is understandable that the specific detection method of the output torque is not limited in this embodiment.

[0093] Step S240: Control the lawn mower to move and / or work based on the updated path.

[0094] In this embodiment, after the preset path is updated based on the obstacle area, the lawn mower can be controlled to move and / or work along the updated path. In this way, the lawn mower can be successfully freed from the obstacle while avoiding the phenomenon of missing grass due to the path change during the cutting process.

[0095] In the present embodiment, when the lawn mower enters a dense grass area, the obstacle area is marked at the current position of the lawn mower, and the lawn mower is controlled to move in a preset direction. When the lawn mower moves a preset distance and the output torque within a first preset time period is less than or equal to the target torque, it indicates that the output torque of the lawn mower has returned to normal and the lawn mower has successfully escaped. The preset path is then updated based on the obstacle area. Since the shape of the updated path matches the preset path, the lawn mower moves and / or works based on the updated path. This can avoid grass missing due to path changes during the cutting process while ensuring that the lawn mower successfully escapes.

[0096] In one embodiment, in step S210, marking an obstacle area at the current position of the lawn mower includes:

[0097] Based on the mower's direction of travel along a preset path, obstacle areas are marked at the mower's current location.

[0098] Since the lawn mower moves and / or works in the target working area along a preset path, the obstacle area encountered during the movement and / or working is in the forward direction along the preset path.

[0099] In one embodiment, marking an obstacle area at a current position of the lawn mower based on the advancing direction of the lawn mower along a preset path includes:

[0100] When the preset path is a bow-shaped path, a long bar perpendicular to the bow-shaped path is used to mark the obstacle area at the current position of the lawn mower.

[0101] Among them, the long strip mark can ensure the integrity of the subsequent bow-shaped cutting and reduce grass leakage. Furthermore, the length of the long strip mark can be the width of the lawn mower's one-way mowing, and its width is as small as possible. Preferably, when walking along the bow shape, the obstacle area of ​​the long strip mark is perpendicular to the walking path. In this way, when the lawn mower turns around in the obstacle area, the lawn mower's turning direction is perpendicular to the obstacle area, which can ensure that the lawn mower's mowing path is complete.

[0102] Reference Figure 3 As shown, in one embodiment, in step S210, before determining that the lawn mower enters a dense grass area, the following steps are also included:

[0103] Step S110: in response to the current output torque of the lawn mower being greater than the first preset torque, controlling the lawn mower to work at a first preset moving speed; the first preset moving speed is less than the current moving speed of the lawn mower;

[0104] Step S120, obtaining a first output torque when the lawn mower operates at a first preset moving speed within a second preset time period;

[0105] Step S130, in response to the first output torque being greater than the second preset torque, controlling the lawn mower to operate at a second preset moving speed, the second preset moving speed being less than the first preset moving speed;

[0106] Step S140, obtaining a second output torque when the lawn mower works at a second preset moving speed within a third preset time period;

[0107] Step S150: In response to the second output torque being greater than the third preset torque and lasting for a specified time, it is determined that the lawn mower enters a dense grass area.

[0108] Specifically, during the mowing process, the current output torque of the mower can be monitored in real time. When the current output torque of the mower is greater than the first preset torque, it indicates that there may be a dense grass area in the direction of the mower. At this time, the mower can be controlled to work at the first preset moving speed, that is, the mower can be controlled to slow down and move, so as to prevent the mower from turning a big bend around the dense grass and destroying the "bow" mowing of the preset path. During the deceleration process, the blade of the mower can work normally or can be adaptively decelerated.

[0109] In this embodiment, when the lawn mower is controlled to work at the first preset moving speed, the relationship between its output torque and the second preset torque can be determined to determine whether the lawn mower has resumed normal operation. In some implementation scenarios, if the lawn mower decelerates and moves, within the second preset time period, the first output torque of the lawn mower is greater than the second preset torque, indicating that after the lawn mower decelerates and moves, the output torque of the lawn mower has not recovered and the lawn mower is still in dense grass. At this time, the lawn mower can continue to be controlled to decelerate and move, so that the lawn mower moves based on the second preset moving speed. Among them, the second preset moving speed can be zero, that is, the lawn mower stops moving.

[0110] Furthermore, when the lawn mower is controlled to work at the second preset moving speed, the relationship between its output torque and the third preset torque can be determined to determine whether the lawn mower has resumed normal operation. In some implementation scenarios, if after the lawn mower stops moving, within the third preset time period, the second output torque of the lawn mower is greater than the third preset torque, it is determined that the lawn mower is in trouble.

[0111] Among them, the first preset time period, the second preset time period and the third preset time period may be the same or different. The values ​​of the first preset torque, the second preset torque and the third preset torque may increase or decrease in sequence, but the first preset torque, the second preset torque and the third preset torque are all greater than the target torque. If the values ​​of the first preset torque, the second preset torque and the third preset torque are the same, then the first preset torque, the second preset torque and the third preset torque are equal to the target torque, and are all critical values ​​of the output torque corresponding to the normal operation of the lawn mower. If the output torque of the lawn mower exceeds the target torque, it indicates that the lawn mower is mowing abnormally.

[0112] In some implementation scenarios, the lawn mower can be decelerated step by step, each level corresponding to a preset torque, and the output torque of the lawn mower based on the current speed is compared with the preset torque of the corresponding level. If the output torque is greater than the corresponding preset torque, the lawn mower continues to be decelerated until the moving speed of the lawn mower is zero.

[0113] Among them, since the current output torque of the lawn mower is greater than the first preset torque, the lawn mower will reduce the moving speed. After reducing the moving speed, the lawn mower should reduce the output torque. Therefore, the values ​​of the first preset torque, the second preset torque and the third preset torque can be reduced in sequence, and the judgment threshold of whether the lawn mower has restored the normal output torque can be increased in sequence, thereby improving the accuracy of judging whether the lawn mower is trapped in a dense grass area. In another embodiment, since the current output torque of the lawn mower is greater than the first preset torque, indicating that the lawn mower may encounter a dense grass area in front, the values ​​of the first preset torque, the second preset torque and the third preset torque can be increased in sequence, and the judgment threshold of whether the lawn mower has restored the normal output torque can be lowered in sequence, thereby improving the efficiency of judging whether the lawn mower is trapped in a dense grass area. Before determining that the lawn mower has entered a dense grass area, the lawn mower is decelerated to try to restore the output torque of the lawn mower to normal, thereby reducing the number of markings and the area of ​​the subsequent unworked area, thereby improving the mowing efficiency of the lawn mower.

[0114] Reference Figure 4 As shown, in one embodiment, in step S220, controlling the lawn mower to move along a preset direction includes the following steps:

[0115] Step S231, controlling the lawn mower to move along a first direction; wherein the first direction is a direction opposite to the forward direction of the lawn mower.

[0116] In this embodiment, after marking the obstacle area, the blade of the lawn mower can be turned off, and the lawn mower can be controlled to move in the direction opposite to the forward direction. The direction opposite to the forward direction can be understood as the backward direction, that is, the lawn mower is controlled to move backward.

[0117] Since the backward path is the path that has been traveled before, this not only reduces the damage to the blade of the lawn mower, but also, by turning on the blade after retreating a certain distance, the blade speed will most likely return to normal.

[0118] In some implementation scenarios, after the lawn mower moves a first preset distance in a first direction, if the output torque is less than or equal to the target torque, the preset path is updated based on the obstacle area. That is, after the lawn mower is controlled to move back a certain distance, after the blade is turned on again, if the rotation speed of the blade returns to normal, the preset path can be updated based on the obstacle area.

[0119] Please continue to refer to Figure 4 As shown, in one embodiment, the lawn mower control method further includes:

[0120] Step S232: in response to the lawn mower moving a second preset distance in the first direction and the output torque of the lawn mower in a fourth preset time period being greater than the target torque, controlling the lawn mower to move in a second direction; wherein the second direction is a forward direction of the lawn mower.

[0121] If the lawn mower moves the second preset distance in the backward direction and the output torque is still greater than the target torque, it means that the lawn mower is still in the dense grass area. At this time, the lawn mower can be controlled to stop moving backward and move forward instead. The reason for not moving backward is to prevent the lawn mower from going out of the boundary, and the reason for not turning is to ensure the integrity of the bow path.

[0122] In this embodiment, when it is confirmed that the rotation speed of the cutter disc has not returned to normal after the lawn mower has retreated a certain distance, the lawn mower can be controlled to move forward a certain distance and then the cutter disc can be turned on again to determine whether the rotation speed of the cutter disc has returned to normal within a preset time.

[0123] In some implementation scenarios, after the lawn mower moves a second preset distance in the first direction, if the output torque is still greater than the target torque, the lawn mower may be controlled to move a third preset distance in the second direction.

[0124] Further, after moving the third preset distance, the relationship between the output torque and the target torque can be determined. If the output torque is less than or equal to the target torque, the preset path can be updated based on the obstacle area; otherwise, the lawn mower continues to be controlled to move the fourth preset distance in the second direction;

[0125] After moving the fourth preset distance, the relationship between the output torque and the target torque can be determined. If the output torque is less than or equal to the target torque, the preset path is updated based on the obstacle area; otherwise, the lawn mower is continued to be controlled to move in the second direction until the sum of the distances moved in the first direction and the second direction is the first preset distance, and the relationship between the output torque and the target torque is determined. If the output torque is less than or equal to the target torque, the preset path is updated based on the obstacle area. In other words, the first preset distance can be the distance that the lawn mower moves once in the first direction, or the sum of the distances that the lawn mower moves multiple times in the first direction and the second direction.

[0126] In this embodiment, when it is confirmed that the rotation speed of the cutter disc has not returned to normal after the lawn mower has retreated a certain distance, the lawn mower can be controlled to move forward a certain distance and then turn on the cutter disc again, and it is determined whether the rotation speed of the cutter disc has returned to normal within a preset time. If it has not returned to normal, the cutter disc of the lawn mower is turned off, and the lawn mower is controlled to move forward a certain distance and then turn on the cutter disc again, and it is determined whether the rotation speed of the cutter disc has returned to normal within a preset time. Repeat the above steps until the preset number of forward movements is reached. After the preset number of forward movement attempts, the probability of the lawn mower stopping can be reduced.

[0127] It should be noted that in some implementation scenarios, the distance moved in the second direction each time may be the same or different. The distance moved in the second direction each time may be greater than the distance moved in the first direction. In some implementation scenarios, it is possible to try to move in the second direction multiple times, and after each movement in the second direction, turn on the cutter disc again, and determine whether the cutter disc speed returns to normal within a preset time.

[0128] Reference Figure 5 As shown, in one embodiment, in step S230, the preset path is updated based on the obstacle area to obtain an updated path, including:

[0129] Step S233: determining a first target position based on the obstacle area, the first target position being outside the obstacle area and on a preset path, the first target position being a position that the lawn mower has never reached and being the closest to the current position of the lawn mower;

[0130] Step S234: Using the first target position as the starting point for the lawn mower to move and / or work, the preset path is updated to obtain an updated path. In this embodiment, when the lawn mower moves a first preset distance and the output torque of the lawn mower in a first preset time period is less than or equal to the target torque, the preset path can be updated based on the obstacle area to obtain an updated path.

[0131] Specifically, after the lawn mower moves a first preset distance, the output torque of the lawn mower within a first preset time period is less than or equal to the target torque, that is, the output torque of the lawn mower returns to normal, indicating that the current position of the lawn mower is not in a dense grass area (that is, the lawn mower has escaped from the dense grass area). At this time, the route can be replanned according to the obstacle area and work can be performed based on the updated path.

[0132] In one embodiment, when the preset path is a bow-shaped path, the first target position is the position of the lawn mower after turning around from the current position. Figure 6 As shown, it is a schematic diagram of an updated path, the preset path is a bow-shaped path, the long strip area in the center of the figure is the obstacle area, point 1 is the current position of the lawn mower, and after the lawn mower turns around at point 1, the position 6 after the turn is used as the starting point to update the bow-shaped path, so that by avoiding the obstacle area, the updated path remains in a bow shape, and the formation of a blind cutting angle can be avoided. Among them, the first target position is the position 6 after the lawn mower turns around from the current position 1. In addition, it should be noted that the preset path only represents the expected mowing route of the lawn mower, and does not include the mowing direction of the lawn mower; because the preset path is the optimal mowing path for the lawn mower under normal circumstances, when re-planning the path, the preset path should be kept as complete as possible.

[0133] In this embodiment, when the preset path is a bow-shaped path, if the output torque of the lawn mower after moving the first preset distance is less than or equal to the target torque, the lawn mower can be controlled to turn around from the current position and continue to perform bow-shaped cutting.

[0134] Specifically, in some implementation scenarios, when the preset path is a bow-shaped path, if the output torque of the lawn mower after retreating a certain distance is less than or equal to the target torque, the lawn mower can be controlled to turn around from the current position and continue the bow-shaped cutting.

[0135] In other implementation scenarios, when the preset path is a bow-shaped path, if the output torque of the lawn mower after retreating a certain distance is greater than the target torque, the lawn mower is controlled to move forward. If the output torque is less than or equal to the target torque within a preset number of forward movements, the lawn mower can be controlled to turn around from the current position and continue bow-shaped cutting.

[0136] Reference Figure 7 As shown, in one embodiment, the lawn mower control method further includes:

[0137] Step S310, in response to the lawn mower moving a first preset distance and moving a preset number of times in the second direction, the output torque of the lawn mower in a fifth preset time period is still greater than the target torque, determining a second target position, the second target position being located near a boundary of the target working area;

[0138] Step S320: planning a path from the current position to the second target position;

[0139] Step S330: Control the lawn mower to move toward the second target position according to the planned path;

[0140] Step S340, in response to the lawn mower moving to the second target position, determining a third target position, the third target position being located on a preset path, the third target position being a position that the lawn mower has not reached and being the closest to the current position of the lawn mower;

[0141] Step S350: Control the lawn mower to move and / or work along a preset path starting from the third target position.

[0142] In this embodiment, when the lawn mower moves the first preset distance and the number of times it moves in the second direction reaches the preset number of times, the output torque of the lawn mower is still greater than the target torque. At this time, the second target position near the boundary of the target working area can be used as the target position to update the path. The preset number of times can be set according to the actual scenario and is not limited to this.

[0143] Specifically, after the lawn mower moves a preset number of times in the second direction, the output torque is still greater than the target torque, indicating that the lawn mower has not successfully escaped after multiple attempts. At this time, it is necessary to find a new planning point and replan the path. Figure 8 A schematic diagram of an updated path is shown, in which the long strip in the figure is an obstacle area, point 7 is the position of the lawn mower after moving a preset number of times in the second direction, and point 8 is the second target position. At this time, the path between point 7 and point 8 can be planned to obtain an updated path. Further, the lawn mower is controlled to move to point 8 based on the updated path. When moving to point 8, a third target position that the lawn mower has not reached and is closest to point 8 of the lawn mower can be found on the preset path (point 2 is used as an example in the figure for illustration). Further, the lawn mower is controlled to move to point 2, and then continues to move and / or work along the preset path with point 2 as the starting point. Among them, the probability of point 8 encountering dense grass again at the boundary of the target working area is small.

[0144] Among them, since the position after moving the preset number of times along the second direction to the second target position needs to cross the obstacle area, it can be planned into an arc path or a U-shaped path, etc.

[0145] In this embodiment, when the preset path is a bow-shaped path, if the output torque of the lawn mower is still greater than the target torque within the preset number of forward movements, the lawn mower can be controlled to move toward the boundary point, and then bow-shaped cutting can be performed near the boundary point.

[0146] In one embodiment, the escape level can be determined according to the escape strategy of the lawn mower. Specifically, in some implementation scenarios, if the lawn mower successfully escapes after moving in the first direction, the current escape level of the lawn mower is determined to be "low". If the lawn mower fails to escape after moving in the first direction, and successfully escapes after continuing to move in the second direction one or more times, the current escape level of the lawn mower is determined to be "high". Of course, the above is only an exemplary description, and the method of determining the escape level may also include other methods, which are not limited to this.

[0147] It should be noted that the second target position can be located on a preset path. Since the second target position and the third target position are both located on the preset path, and the updated path is in the shape of a bow, the planned path formed by the second target position and the third target position matches the shape of the preset path. In this way, when the escape level is "high", by re-finding the planned point and updating the preset path, the phenomenon of missing grass caused by the change of the path during the cutting process can be avoided while ensuring that the lawn mower can successfully escape.

[0148] Reference Fig. 9 As shown, in one embodiment, the lawn mower control method further includes:

[0149] Step S410: When it is determined that the lawn mower has entered a dense grass area, the cutting motor is controlled to stop;

[0150] Step S420: After controlling the lawn mower to move in the first direction, the cutting motor is controlled to start.

[0151] In this embodiment, when it is determined that the lawn mower has entered a dense grass area, the cutting motor is turned off, that is, the blade of the lawn mower is turned off. In this way, the lawn mower is moved without the blade rotating, which can prevent damage to the blade or surrounding objects.

[0152] Reference Fig.10 As shown, in one embodiment, the lawn mower control method further includes:

[0153] Step S510: When it is determined that the lawn mower has entered a dense grass area, the cutting motor is controlled to stop;

[0154] Step S520, after controlling the lawn mower to move in the first direction, controlling the cutting motor to start;

[0155] Step S530, in response to the lawn mower moving a second preset distance in the first direction and the output torque of the lawn mower in a fourth preset time period being greater than the target torque, controlling the cutting motor to stop;

[0156] Step S540: After controlling the lawn mower to move in the second direction, the cutting motor is controlled to start.

[0157] The first direction is the direction opposite to the forward direction of the lawn mower, and the second direction is the forward direction. When it is determined that the lawn mower enters a dense grass area, the cutting motor is controlled to stop to avoid damage to the cutter disc. After the lawn mower is controlled to move in the first direction, the cutting motor is controlled to start, so as to judge whether the output torque of the lawn mower has returned to normal. When it is judged that the output torque is still greater than the target torque, the cutting motor is controlled to stop again, and then the lawn mower is controlled to move in the forward direction, and the cutting motor is controlled to start again after the movement to judge the output torque.

[0158] In this embodiment, when it is determined that the lawn mower has entered a dense grass area, the cutter disc is stopped, the lawn mower is controlled to move back a certain distance, the cutter disc is turned on, and it is determined whether the cutter disc speed has returned to normal within a preset time. If the cutter disc speed has not returned to normal within the preset time, the cutter disc is stopped again, the lawn mower is controlled to move forward a certain distance, the cutter disc is turned on again, and it is determined whether the cutter disc speed has returned to normal within the preset time. If the cutter disc speed has not returned to normal within the preset time, the cutter disc is stopped again, the lawn mower is controlled to move forward a certain distance, the cutter disc is turned on again, and it is determined whether the cutter disc speed has returned to normal within the preset time. In this way, by stopping and turning on the cutter disc multiple times, damage to the cutter disc or surrounding objects can be prevented.

[0159] In one embodiment, the lawn mower control method further includes:

[0160] Display information is sent to the display terminal, where the display information includes at least one of the area information of the target working area, the current position information of the lawn mower, the area information of the obstacle area, and the area information of the currently non-working area.

[0161] When the lawn mower is working, the current position information of the lawn mower, the area information of the target working area, and the map corresponding to the base target working area will be displayed on the display device. In this embodiment, normal mowing scenes can be displayed, and abnormal mowing scenes can also be displayed. For example, when the lawn mower is trapped, a trapped map can be displayed to show that it is getting out of the trap, so as to remind the user to perceive the process of the lawn mower getting out of the trap, and to facilitate the user to intervene to avoid the machine being trapped repeatedly.

[0162] Reference Fig.11 As shown, an embodiment of the present application provides a lawn mower control device, which moves and / or works in a to-be-worked area based on a preset path, and the device includes:

[0163] A first control module is used to mark an obstacle area at the current position of the lawn mower when determining that the lawn mower enters a dense grass area;

[0164] A second control module, used for controlling the lawn mower to move along a preset direction; wherein the preset direction is determined based on a preset working path;

[0165] an updating module, configured to update the preset path based on the obstacle area to obtain an updated path in response to the lawn mower moving a first preset distance and the output torque of the lawn mower within a first preset time period being less than or equal to the target torque; the updated path is a path that does not include the obstacle area, and the shape of the updated path matches the preset path;

[0166] The third control module is used for controlling the lawn mower to move and / or work based on the updated path.

[0167] It should be noted that the device provided in the above embodiment, when implementing its functions, is only illustrated by the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.

[0168] Based on the same inventive concept, the embodiment of the present application also provides a lawn mower control method. It should be noted that the following embodiments focus on describing the differences from the aforementioned embodiments from other perspectives. For the similarities, reference can be made to the description of the aforementioned embodiments, which will not be repeated here.

[0169] like Fig.12 As shown, the lawn mower moves in the target working area based on a preset path, and the method may include the following steps.

[0170] Step S2100, when the lawn mower enters a dense grass area, marking an obstacle area at the current position of the lawn mower;

[0171] The executor of this embodiment is a lawn mower controller, and the target working area is all areas that need to be mowed. Before using the lawn mower to mow, a preset path is specified based on the orientation and size of the target working area. The preset path is in the shape of a "bow". In the absence of dense grass areas or other abnormalities, the preset path is the optimal mowing path for the lawn mower. Under normal circumstances, the lawn mower mows based on the preset path to improve mowing efficiency and avoid missed cuts. In the related art, when the lawn mower encounters dense grass during operation, it continues to move forward. If it cannot pass through the dense grass, it turns a large corner (usually an obtuse angle) to bypass the dense grass area. During the turning process of the lawn mower, a blind corner for cutting is formed, resulting in missed cuts. In this embodiment, when the lawn mower enters dense grass, an obstacle area is marked at the current position of the lawn mower. The obstacle area is located at the current position of the lawn mower.

[0172] Step S2200, controlling the lawn mower to move a preset distance based on a first moving direction;

[0173] After determining the obstacle area, the lawn mower executes a first escape strategy, i.e., controlling the lawn mower to move a preset distance based on a first moving direction, wherein the first moving direction can be a forward direction or a backward direction of the lawn mower based on a preset path, and during the movement, the blade of the lawn mower can be closed, and the lawn mower can be moved without the blade rotating to prevent the lawn mower from turning a sharp corner to bypass the obstacle area and forming a blind corner for cutting. The lawn mower moves a preset distance, which changes the current position of the lawn mower, and can help the lawn mower escape to a certain extent, and the lawn mower only moves in the first moving direction, which can avoid missing grass due to path changes during the cutting process.

[0174] Step S2300, after the lawn mower moves a preset distance and the output torque of the lawn mower in the first preset time period is greater than the target torque, the preset path is updated based on the obstacle area to obtain an updated path; the updated path is a path that does not include the obstacle area, and the shape of the updated path matches the preset path;

[0175] After the lawn mower moves a preset distance and waits for a first preset time period, the relationship between the output torque of the lawn mower and the target torque is determined, wherein the target torque is a critical value of the output torque of the lawn mower under normal mowing conditions. When the output torque of the lawn mower is less than or equal to the target torque, it indicates that the lawn mower is operating normally. If the output torque of the lawn mower is greater than the target torque, it indicates that the lawn mower is mowing abnormally, and the abnormal conditions include encountering dense grass or other obstacles. When the lawn mower encounters dense grass and the output torque of the lawn mower is greater than the target torque within a period of time after moving the preset distance, it is determined that the first escape strategy has failed and the second escape strategy needs to be executed. The second escape strategy includes updating the preset path, and the updated path does not include the obstacle area. The updated path does not include the obstacle area means that the updated path will avoid the obstacle area and will not directly pass through the obstacle area, and the shape of the updated path matches the preset path, that is, both are "bow"-shaped paths.

[0176] Step S2400, controlling the lawn mower to work based on the updated path.

[0177] Controlling the lawn mower to work based on the updated path can ensure that the lawn mower can successfully escape from trouble and avoid the phenomenon of grass leakage caused by the change of path during the cutting process, so that the lawn mower can successfully escape from trouble. In this embodiment, when the lawn mower enters a dense grass area, the first escape strategy is first executed to move a preset distance in the first moving direction. If the output torque of the lawn mower within the first preset time period is less than or equal to the target torque after the lawn mower moves the preset distance, it indicates that the output torque of the lawn mower has returned to normal, and the lawn mower successfully escapes from trouble based on the first escape strategy, and there is no need to perform the subsequent second escape strategy, thereby improving the escape efficiency of the lawn mower; if the output torque of the lawn mower within the first preset time period is greater than the target torque after the lawn mower moves the preset distance, it indicates that the output torque of the lawn mower has not returned to normal, and it is necessary to execute the second escape strategy to update the preset path, and the shape of the updated path matches the preset path. Controlling the lawn mower to work based on the updated path can ensure that the lawn mower can successfully escape from trouble and avoid the phenomenon of grass leakage caused by the change of path during the cutting process, thereby further improving the mowing efficiency of the lawn mower.

[0178] Fig.13 is a flow chart of a method for determining that a lawn mower enters a dense grass area according to an exemplary embodiment. Fig.13 As shown, in the case where the lawn mower enters a dense grass area, before marking the obstacle area at the current position of the lawn mower, the method further includes:

[0179] Step S3100, when the current output torque of the lawn mower is greater than the first preset torque, the lawn mower is controlled to work at a first preset moving speed; the first preset moving speed is less than the current moving speed of the lawn mower;

[0180] Step S3200, obtaining a first output torque when the lawn mower operates at a first preset moving speed within a second preset time period;

[0181] Step S3300, when the first output torque is greater than the second preset torque, controlling the lawn mower to work at a second preset moving speed, the second preset moving speed being less than the first preset moving speed;

[0182] Step S3400, obtaining a second output torque when the lawn mower operates at a second preset moving speed within a third preset time period;

[0183] Step S3500: When the second output torque is greater than the third preset torque, it is determined that the lawn mower enters a dense grass area.

[0184] In one embodiment, the first moving direction is the forward direction of the preset path;

[0185] Controlling the lawn mower to move a preset distance based on a first moving direction includes:

[0186] Control the lawn mower to move a preset distance based on the forward direction of the preset path.

[0187] As a preferred embodiment, the first direction is the forward direction of a preset path. After marking the obstacle area, the lawn mower turns off the blade of the lawn mower and moves in the forward direction of the preset path. In this embodiment, the obstacle area is a bar mark, and its length can be the width of the lawn mower's one-way mowing, and its width is reduced as much as possible. After advancing a preset distance, the relationship between the output torque and the target torque of the lawn mower in the first preset time period is determined. If the output torque is greater than the target torque, it is determined that the area of ​​the actual dense grass area is larger. If it continues to move forward, the lawn mower may bypass the dense grass area and form a cutting blind angle. Therefore, after the lawn mower advances a preset distance, the relationship between the output torque and the target torque of the lawn mower in the first preset time period is determined. If the output torque is greater than the target torque, the path is replanned. If the lawn mower turns around in the obstacle area, the obstacle area is a strip, and the turning direction of the lawn mower is perpendicular to the obstacle area to ensure that the mowing path of the lawn mower is complete.

[0188] In one embodiment, the method further comprises:

[0189] After the lawn mower moves a preset distance and the output torque of the lawn mower in a first preset time period is less than or equal to the target torque, it is determined that the lawn mower has escaped successfully.

[0190] After marking the obstacle area, the lawn mower controls the blade of the lawn mower to stop working and moves in the forward direction of the preset path, trying to change the current position of the lawn mower. After moving forward a preset distance, the relationship between the output torque and the target torque of the lawn mower in the first preset time period is determined. If the output torque is less than or equal to the target torque, it means that the lawn mower has successfully escaped from the dense grass area and can directly avoid the obstacle area without executing the second escape strategy, thereby improving the escape efficiency of the lawn mower.

[0191] Fig.14 is a schematic diagram of a first escape strategy update path according to an exemplary embodiment. Fig.14 As shown, after the lawn mower moves a preset distance and the output torque of the lawn mower in the first preset time period is less than or equal to the target torque, after determining that the lawn mower is successfully out of trouble, the method further includes:

[0192] Determining a first planned path based on the current position of the lawn mower and a second moving direction; the second moving direction is a direction away from the obstacle area;

[0193] After the mower moves the preset distance, the output torque of the mower returns to normal, indicating that the current position of the mower is not in a dense grass area, and the route can be replanned, and work can be performed based on the updated path. Since the output torque of the mower has returned to normal after moving the preset distance, the escape level can be determined to be "low". Correspondingly, when replanning the path, there is no need to re-search for the planning point, and the obstacle area can be avoided based on the current position of the mower. Fig.14 As shown in the figure, the bar area is the obstacle area, point 1 is the current position of the lawn mower, and the lawn mower returns at point 1 based on the second moving direction to avoid the obstacle area; its path still maintains a "bow" shape to avoid forming a blind corner for cutting. In addition, it should be noted that the preset path only represents the expected mowing route of the lawn mower, and does not include the mowing direction of the lawn mower; since the preset path is the optimal mowing path for the lawn mower under normal circumstances, when re-planning the path, the preset path should be kept as complete as possible.

[0194] The preset path is updated based on the first planned path to obtain an updated path.

[0195] The preset path is updated based on the first planned path, and obstacle areas are avoided without forming blind corners for cutting, which can effectively prevent missed mowing. The escape level is evaluated based on the output torque machine after the mower moves a preset distance, and different paths are updated based on different escape levels. When the escape level is "low", the path is updated based on the current position of the mower, and there is no need to redefine the planned points, so as to improve the efficiency of path updating.

[0196] Fig.15is a flow chart of a second escape strategy path updating method according to an exemplary embodiment. Fig.15 As shown, when the output torque of the lawn mower in the first preset time period is greater than the target torque, the preset path is updated based on the obstacle area to obtain an updated path, and further includes:

[0197] Step S5100, determining a first planning point on a preset path; the first planning point is located at a boundary of a target working area, and the first planning point is a point that the lawn mower has not reached and is closest to the lawn mower;

[0198] When the output torque of the lawn mower in the first preset time period is greater than the target torque, it indicates that the lawn mower has not successfully escaped after changing the current position, and the current escape level of the lawn mower is determined to be "high", and the second escape strategy is executed to find the planning point again and re-plan the path. Fig.16 The schematic diagram of the second escape strategy update path is shown, in which the bar is the obstacle area, point 1 is the current position of the lawn mower, and point 2 is the first planned point. The probability of encountering dense grass again at the boundary of the target working area is small; the first planned point is located on the preset path, and is the point that the lawn mower has never reached and is closest to the current position of the lawn mower, which minimizes the moving distance of the lawn mower and improves the mowing efficiency of the lawn mower.

[0199] Step S5200, determining a second planning point in a second moving direction based on the first planning point, the second moving direction being a direction pointing to the obstacle area; the second planning point is located at a boundary of the obstacle area;

[0200] When the lawn mower moves to the first planning point, the blade of the lawn mower can be turned off to determine the second planning point. Fig.16 At the midpoint 3, the second planned point is located on the preset path. After the lawn mower reaches the first planned point, the path from the first planned point to the second planned point can be used as the path for the lawn mower to move to the obstacle area. Since the obstacle area is strip-shaped and has a small width, the lawn mower can cut the dense grass in the obstacle area when approaching the obstacle area.

[0201] Step S5300, determining a third planning point based on the second planning point, the third planning point being located at the boundary of the target working area, the third planning point being a point that the lawn mower has not reached and being the closest to the first planning point;

[0202] Step S5400: determine a second planned path based on the first planned point, the second planned point, and the third planned point; and update the preset path based on the second planned path to obtain an updated path.

[0203] Determine the third planning point, Fig.16At midpoint 4, the third planned point is also on the preset path, and the lawn mower moves from the second planned point to the third planned point, that is, the lawn mower returns at the third planned point to avoid the obstacle area. Since the first planned point, the second planned point and the third planned point are all on the preset path, and the updated path is in the shape of a "bow", the second planned path formed by the first planned point, the second planned point and the third planned point, the second planned path matches the shape of the preset path. When the escape level is "high", the planned points are re-searched and the preset path is updated. On the premise of ensuring that the lawn mower successfully escapes, the grass missing phenomenon caused by the change of the path during the cutting process can be avoided.

[0204] In one embodiment, after determining the first planning point on the preset path, the method further includes:

[0205] Controlling the lawn mower to move to the first planned point;

[0206] When the output torque of the lawn mower at the first planning point is less than or equal to the target torque, it is determined that the lawn mower has escaped successfully.

[0207] After the lawn mower moves to the first planning point, the output torque of the lawn mower at the first planning point is determined. If the output torque is less than or equal to the target torque, it is determined that the lawn mower is successfully escaped based on the second escape strategy, and the position of the first planning point is not located in the dense grass area; if the output torque is less than or equal to the target torque, it is determined that the lawn mower fails to escape based on the second escape strategy. Since the first planning point is located at the boundary of the target working area, the possibility of a dense grass area at the boundary of the target area is small; if the output torque of the lawn mower after moving to the first planning point is greater than the target torque, it is determined that there is an obstacle at the current position of the lawn mower, the obstacle area is marked, and the lawn mower is moved to the side ( Fig.16 midpoint 4), Fig.16 The midpoint 4 is determined as the first planning point, and the second planning point and the third planning point are re-determined based on the first planning point to ensure that the lawn mower can escape successfully.

[0208] Furthermore, before the lawn mower moves to the first planned point, the lawn mower is controlled to move forward or backward a preset number of times based on the current position, and cuts back and forth in the dense grass area to ensure that when the unworked area is subsequently mowed, it will not be trapped when passing through the obstacle area and no grass will be left behind.

[0209] Fig.17 is a flow chart of a method for compensating missed grass cutting according to an exemplary embodiment. Fig.17 As shown, the target working area includes at least one obstacle area, and the at least one obstacle area is arranged based on the working distance; the working distance is the distance between the current position of the lawn mower and the at least one obstacle area respectively;

[0210] During the mowing process, the lawn mower will avoid obstacle areas and ensure the integrity of the cutting path. Some unworked areas will be left. In order to completely cut the grass in the target working area, the unworked areas will be mowed. Since there may be multiple obstacle areas, there will be multiple unworked areas. The multiple obstacle areas are sorted based on the working distance. Based on the distance between the obstacle area and the current position of the lawn mower, the unworked areas are mowed from near to far.

[0211] After controlling the lawn mower to operate based on the updated path, the method further includes:

[0212] Step S7100, based on the current obstacle area, determining a current non-operating area corresponding to the current obstacle area;

[0213] One obstacle area corresponds to one non-working area. Based on the escape level of the obstacle area, the area of ​​the current non-working area in the obstacle area is determined, such as Fig.14 As shown, the escape level corresponding to the obstacle area is "low". The preset path is updated based on the first planned path. The area corresponding to the unworked area requires the mower to cut back and forth from point 2 to the obstacle area. If the escape level corresponding to the obstacle area is "low", Fig.16 As shown, a one-way cut is required from point 4 to the obstacle area.

[0214] Step S7200, determining a current fourth planning point of a currently unworked area, where the current fourth planning point is located at a boundary of a target work area;

[0215] The current fourth planning point is located on the preset path and at the boundary of the target working area, which is closest to the current position of the lawn mower. Using the boundary point of the target working area as the starting point for the lawn mower's supplementary mowing can reduce the supplementary mowing path and the moving path of the lawn mower, thereby improving the efficiency of supplementary mowing.

[0216] Step S7300, performing path planning based on the current fourth planned point and the current unworked area to obtain a current third planned path, where the current third planned path matches the shape of the preset path;

[0217] Step S7400, controlling the lawn mower to work based on the current third planned path;

[0218] Step S7500, determining the next obstacle area as the current obstacle area;

[0219] Step S7600, determine whether there is a next obstacle area; if so, execute step S7200; if not, the recutting is completed.

[0220] Based on the current fourth planning point, path planning is performed for the current non-working area, and the current non-working area is supplemented by mowing until the supplementary mowing is completed. Since the obstacle area with a "high" escape level cuts the dense grass area back and forth based on the current position of the mower before moving to the first planning point, the probability of encountering dense grass is reduced during the supplementary mowing stage. The third planned path is in the shape of a "bow", so during the supplementary mowing process, grass leakage caused by path changes during the cutting process can be avoided, ensuring that the grass in the target working area is completely cut during the supplementary mowing stage. Based on the distance between the obstacle area and the current position of the mower, the non-working area is supplemented by mowing from near to far, and the supplementary mowing is completed when there is no next obstacle area. This can reduce the moving path of the mower and improve the supplementary mowing efficiency of the mower.

[0221] In one embodiment, the method further comprises:

[0222] Display information is sent to the display terminal, where the display information at least includes area information of the target working area, current position information of the lawn mower, area information of the obstacle area, and area information of the currently non-working area.

[0223] When the lawn mower is working, the current position information of the lawn mower, the area information of the target working area, and the map corresponding to the base target working area will be displayed on the display device. In this embodiment, normal mowing scenes can be displayed, and abnormal mowing scenes can also be displayed. For example, when the lawn mower is trapped, a trapped map can be displayed to show that it is getting out of the trap, so as to remind the user to perceive the process of the lawn mower getting out of the trap, and to facilitate the user to intervene to avoid the machine being trapped repeatedly.

[0224] Fig.18 is a block diagram of a lawn mower control device according to an exemplary embodiment. Fig.18 , the lawn mower moves in the area to be worked based on a preset path, the device comprising:

[0225] The first control module 8100 is used to mark an obstacle area at the current position of the lawn mower when the lawn mower enters a dense grass area;

[0226] A moving module 8200, used to control the lawn mower to move a preset distance based on a first moving direction;

[0227] An updating module 8300 is used to update the preset path based on the obstacle area to obtain an updated path after the lawn mower moves a preset distance and the output torque of the lawn mower in a first preset time period is greater than the target torque; the updated path is a path that does not contain the obstacle area, and the shape of the updated path matches the preset path;

[0228] The second control module 8400 is used to control the lawn mower to work based on the updated path.

[0229] It should be noted that the device and method embodiments provided in the above embodiments belong to the same concept, and their specific implementation processes are detailed in the method embodiments, which will not be repeated here.

[0230] Fig.19 is a block diagram of an electronic device for controlling a lawn mower provided by an embodiment of the present application. The electronic device may be a terminal, and its internal structure diagram may be as shown in FIG. Fig.19 As shown. The electronic device includes a processor, a memory, a network interface, a display screen and an input device connected through a system bus. Among them, the processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the electronic device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a lawn mower control method is implemented. The display screen of the electronic device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the electronic device can be a touch layer covering the display screen, or a key, trackball or touchpad set on the housing of the electronic device, or an external keyboard, touchpad or mouse, etc.

[0231] Those skilled in the art will understand that Fig.19 The structure shown in the figure is merely a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the electronic device to which the scheme of the present application is applied. The specific electronic device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.

[0232] Another embodiment of the present application further provides an electronic device, comprising: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement the lawn mower control method as in the embodiment of the present application.

[0233] Another embodiment of the present application further provides a computer-readable storage medium. When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device can execute the lawn mower control method in the embodiment of the present application.

[0234] In an exemplary embodiment, a computer program product including instructions is also provided. When the computer program product is run on a computer, the computer is enabled to execute the lawn mower control method in the embodiment of the present application.

[0235] It should be understood by those skilled in the art that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present application (including the claims) is limited to these examples; based on the concept of the present application, the above embodiments or technical features in different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of different aspects of the embodiments of the present application as described above, which are not provided in detail for the sake of simplicity.

[0236] It should be noted that "some body" or "some part" can be a part of the corresponding "component", that is, "some body" or "some part" can be integrally formed with the "other parts of the component"; it can also be an independent component that can be separated from the "other parts of the component", that is, "some body" or "some part" can be manufactured independently and then combined with the "other parts of the component" into a whole. The expression of the above-mentioned "some body" or "some part" in this application is only one of the implementation methods, for the convenience of reading, and not to limit the scope of protection of this application. As long as it contains the above-mentioned features and has the same function, it should be understood as an equivalent technical solution of this application.

[0237] It should be noted that the above describes some embodiments of the present application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the above embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or sequential order shown to achieve the desired results.

[0238] The embodiments of the present application are intended to cover all such substitutions, modifications and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present application should be included in the scope of protection of the present application.

Claims

1. A lawn mower control method, It is characterized in that The lawn mower moves and / or works in a target working area based on a preset path, and the method includes: When it is determined that the lawn mower has entered a dense grass area, marking an obstacle area at the current position of the lawn mower; Controlling the lawn mower to move along a preset direction; wherein the preset direction is determined based on a preset working path; In response to the lawn mower moving a first preset distance and the output torque of the lawn mower in a first preset time period being less than or equal to a target torque, the preset path is updated based on the obstacle area to obtain an updated path; the updated path is a path that does not include the obstacle area, and the updated path matches the shape of the preset path; Based on the updated path, the lawn mower is controlled to move and / or operate.

2. The lawn mower control method according to claim 1, It is characterized in that Before determining that the lawn mower enters a dense grass area, the method further includes: In response to the current output torque of the lawn mower being greater than a first preset torque, controlling the lawn mower to operate at a first preset moving speed; the first preset moving speed is less than the current moving speed of the lawn mower; Acquire a first output torque of the lawn mower when the lawn mower operates at the first preset moving speed within a second preset time period; In response to the first output torque being greater than a second preset torque, controlling the lawn mower to operate at a second preset moving speed, the second preset moving speed being less than the first preset moving speed; Acquire a second output torque when the lawn mower operates at the second preset moving speed within a third preset time period; In response to the second output torque being greater than a third preset torque and lasting for a designated time, it is determined that the lawn mower enters a dense grass area.

3. The lawn mower control method according to claim 1, It is characterized in that The step of controlling the lawn mower to move in a preset direction comprises: The lawn mower is controlled to move along a first direction; wherein the first direction is a direction opposite to a forward direction of the lawn mower.

4. The lawn mower control method according to claim 3, It is characterized in that Also includes: In response to the lawn mower moving a second preset distance in the first direction and the output torque of the lawn mower in a fourth preset time period being greater than the target torque, the lawn mower is controlled to move in a second direction; wherein the second direction is a forward direction of the lawn mower.

5. The lawn mower control method according to claim 1, It is characterized in that The updating of the preset path based on the obstacle area to obtain an updated path includes: Based on the obstacle area, determining a first target position, the first target position is outside the obstacle area and located on the preset path, the first target position is a position that the lawn mower has never reached and is closest to the current position of the lawn mower; The first target position is used as a starting point for the lawn mower to move and / or work, and the preset path is updated to obtain an updated path.

6. The lawn mower control method according to claim 5, It is characterized in that When the preset path is a bow-shaped path, the first target position is the position of the lawn mower after turning around from the current position.

7. The lawn mower control method according to claim 4, It is characterized in that Also includes: In response to the lawn mower moving a first preset distance and moving a preset number of times in the second direction, the output torque of the lawn mower in a fifth preset time period is still greater than the target torque, determining a second target position, wherein the second target position is located near a boundary of the target working area; Planning a path from the current position to the second target position; According to the planned path, controlling the lawn mower to move toward the second target position; In response to the lawn mower moving to the second target position, determining a third target position, wherein the third target position is located on the preset path, the third target position is a position that the lawn mower has not reached and is closest to the current position of the lawn mower; The lawn mower is controlled to move and / or work along the preset path starting from the third target position.

8. The lawn mower control method according to claim 3, It is characterized in that Also includes: When it is determined that the lawn mower has entered a dense grass area, the cutting motor is controlled to stop; After controlling the lawn mower to move in the first direction, the cutting motor is controlled to start.

9. The lawn mower control method according to claim 4, It is characterized in that Also includes: When it is determined that the lawn mower has entered a dense grass area, the cutting motor is controlled to stop; After controlling the lawn mower to move in a first direction, controlling the cutting motor to start; In response to the lawn mower moving a second preset distance in the first direction and the output torque of the lawn mower in a fourth preset time period being greater than the target torque, controlling the cutting motor to stop; After controlling the lawn mower to move in the second direction, controlling the cutting motor to start.

10. The lawn mower control method according to claim 1, It is characterized in that The step of marking an obstacle area at the current position of the lawn mower comprises: Based on the advancing direction of the lawn mower along the preset path, an obstacle area is marked at the current position of the lawn mower.

11. The lawn mower control method according to claim 10, It is characterized in that The step of marking an obstacle area at a current position of the lawn mower based on the advancing direction of the lawn mower along the preset path comprises: When the preset path is a bow-shaped path, a long strip perpendicular to the bow-shaped path is used to mark the obstacle area at the current position of the lawn mower.

12. The lawn mower control method according to claim 1, It is characterized in that Also includes: Display information is sent to a display terminal, wherein the display information includes at least one of area information of the target working area, current position information of the lawn mower, area information of the obstacle area, and area information of a currently non-working area.

13. A lawn mower control device, It is characterized in that The lawn mower moves and / or works in a to-be-worked area based on a preset path, and the device comprises: A first control module is used to mark an obstacle area at the current position of the lawn mower when determining that the lawn mower enters a dense grass area; A second control module, used for controlling the lawn mower to move along a preset direction; wherein the preset direction is determined based on a preset working path; an updating module, configured to update the preset path based on the obstacle area to obtain an updated path in response to the lawn mower moving a first preset distance and the output torque of the lawn mower within a first preset time period being less than or equal to a target torque; the updated path is a path that does not include the obstacle area, and the updated path matches the shape of the preset path; The third control module is used to control the lawn mower to move and / or work based on the updated path.

14. An electronic device, It is characterized in that include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the lawn mower control method according to any one of claims 1 to 12.

15. A computer-readable storage medium, It is characterized in that When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the lawn mower control method according to any one of claims 1 to 12.

Citation Information

Cited By

  • Robot control method, device and equipment and storage medium

    CN119440024A

  • Cutting method of intelligent mowing robot, intelligent mowing robot and medium

    CN120092586A

  • Lawn mower control method, lawn mower, computer program product, and storage medium

    WO2026123652A1