Lawn mowing robot touching virtual boundary control method, system and lawn mowing robot

By obtaining the initial position in the automatic lawn mowing robot and judging the virtual boundary range, turning off virtual boundary detection, and controlling the robot to return to the effective working area, it solves the problem of ineffective work and safety risks caused by the retreat of virtual boundaries in irregular maps, and achieves efficient Mowing path control.

CN115167468BActive Publication Date: 2024-10-15SHENZHEN TOPBAND CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210974709.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-15
Publication Date
2024-10-15
Estimated Expiration
2042-08-15

AI Technical Summary

Technical Problem

When the existing automatic lawn mowing robot touches the virtual boundary and retreats in the irregular-shaped mowing map, it is easy to cause position deviation and be unable to return to the effective working range, resulting in ineffective work, damage to the robot, damage to the environment, and injury to personnel.

Method used

By obtaining the initial position of the robot, it is judged whether it is between the preset first virtual boundary and the second virtual boundary, turns off the virtual boundary detection, and controls the robot to move to the target point in the preset mowing map. At the first virtual boundary Turn on virtual boundary detection within the system, and use the proportionally enlarged virtual boundary range to correct the position and prevent going out of bounds.

Benefits of technology

It effectively solves the problem of the lawn mower robot touching the virtual boundary in an irregular map and retreating to work outside the map, reducing the risk of robot damage, environmental damage and personnel injury, and improving the efficiency and safety of work path control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115167468B_ABST
    Figure CN115167468B_ABST
Patent Text Reader

Abstract

The present invention is applicable to the technical field of lawn mowing robots, and provides a lawn mowing robot touching a virtual boundary control method, system, lawn mowing robot and storage medium, the method comprising: obtaining the initial position of the robot; judging whether the robot is between a preset first virtual boundary and a preset second virtual boundary according to the initial position; when judging that the robot is between the first virtual boundary and the second virtual boundary, turning off the virtual boundary detection; controlling the robot to move to a target point in a preset lawn mowing map, and turning on the virtual boundary detection when the robot moves into the first virtual boundary. The present invention solves the problem of the lawn mowing robot of the prior art working in an irregular lawn mowing map and touching the virtual boundary and then retreating to the outside of the lawn mowing map to work, and reduces the risk of the lawn mowing robot going out of bounds during the working process, resulting in damage to the lawn mowing robot, environmental damage and personal injury.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of lawn mowing robots, and in particular relates to a lawn mowing robot touching a virtual boundary control method and system, a lawn mowing robot and a storage medium. Background Art

[0002] Existing automatic lawn mowing robots will set a virtual boundary outside the mowing map where they are working so that they can work within the effective range. When the automatic lawn mowing robot is mowing, if it touches the virtual boundary, it will retreat (for example, 0.2m). However, in special mowing maps with irregular shapes, the position of the automatic lawn mowing robot will be offset when it touches the virtual boundary and retreats, causing the position of the lawn mowing robot to shift outside the virtual boundary and be unable to return to the effective working range, thereby causing the lawn mowing robot to mow outside the virtual boundary, resulting in invalid work. The presence of buildings, other objects or people outside the virtual boundary may also cause damage to the lawn mowing robot, environmental damage and personal injury. Summary of the invention

[0003] The purpose of an embodiment of the present invention is to provide a method for controlling a lawn mower robot touching a virtual boundary, aiming to solve the problem in the prior art that the lawn mower robot deviates beyond the virtual boundary during the mowing process, causing acute and ineffective work, resulting in damage to the lawn mower robot, environmental damage and personal injury.

[0004] The embodiment of the present invention is implemented as follows: a method for controlling a lawn mowing robot touching a virtual boundary, the method comprising:

[0005] Get the initial position of the robot;

[0006] Determining whether the robot is between a preset first virtual boundary and a preset second virtual boundary according to the initial position;

[0007] When it is determined that the robot is between the first virtual boundary and the second virtual boundary, turning off virtual boundary detection;

[0008] Controlling the robot to move toward a target point in a preset mowing map, and starting virtual boundary detection when the robot moves into the first virtual boundary;

[0009] The first virtual boundary is a closed figure obtained by geometrically enlarging a closed figure formed by the outer edge of the mowing map relative to its geometric center according to a preset first enlargement ratio;

[0010] The second virtual boundary is a closed figure obtained by geometrically enlarging a closed figure formed by the outer edge of the mowing map relative to its geometric center according to a preset second enlargement ratio;

[0011] The second magnification ratio is greater than the first magnification ratio.

[0012] Furthermore, the step of starting virtual boundary detection when the robot moves into the first virtual boundary includes:

[0013] Obtaining the real-time position of the robot during the process of moving toward the target point;

[0014] Determining whether the robot enters the first virtual boundary according to the real-time position;

[0015] When it is determined that the robot enters the first virtual boundary, virtual boundary detection is started.

[0016] Furthermore, after the step of determining whether the robot is between a preset first virtual boundary and a preset second virtual boundary according to the initial position, the method further includes:

[0017] When it is determined that the robot is not between the first virtual boundary and the second virtual boundary, determining whether the robot is outside the second virtual boundary according to the initial position;

[0018] When it is determined that the robot is outside the second virtual boundary, it is determined that the robot is out of bounds, and an out-of-bounds error warning is reported.

[0019] Furthermore, before the step of obtaining the initial position of the robot, the step further includes:

[0020] Get the robot's virtual boundary detection information;

[0021] Determining whether the robot has reached the first virtual boundary according to the virtual boundary detection information;

[0022] When it is determined that the robot reaches the first virtual boundary, the robot is controlled to perform a preset boundary-touching turning and propulsion operation, and after the boundary-touching turning and propulsion operation is completed, the position of the robot is located to obtain the initial position.

[0023] Another object of an embodiment of the present invention is to provide a control system for a lawn mowing robot to touch a virtual boundary, the system comprising:

[0024] An initial position acquisition module is used to obtain the initial position of the robot;

[0025] An initial position determination module, used for determining whether the robot is between a preset first virtual boundary and a preset second virtual boundary according to the initial position;

[0026] A boundary detection closing module, used for closing virtual boundary detection when it is determined that the robot is between the first virtual boundary and the second virtual boundary;

[0027] A position correction control module, used for controlling the robot to move to a target point in a preset mowing map, and starting virtual boundary detection when the robot moves into the first virtual boundary;

[0028] The first virtual boundary is a closed figure obtained by geometrically enlarging a closed figure formed by the outer edge of the mowing map relative to its geometric center according to a preset first enlargement ratio;

[0029] The second virtual boundary is a closed figure obtained by geometrically enlarging a closed figure formed by the outer edge of the mowing map relative to its geometric center according to a preset second enlargement ratio;

[0030] The second magnification ratio is greater than the first magnification ratio.

[0031] Furthermore, the system further comprises:

[0032] The position correction control module comprises:

[0033] A real-time position acquisition submodule is used to acquire the real-time position of the robot during its movement toward the target point;

[0034] A real-time position determination submodule, configured to determine whether the robot has entered the first virtual boundary according to the real-time position;

[0035] The execution submodule is used to start virtual boundary detection when it is determined that the robot enters the first virtual boundary.

[0036] Furthermore, the system further comprises:

[0037] a secondary judgment module, configured to judge whether the robot is outside the second virtual boundary according to the initial position when it is judged that the robot is not between the first virtual boundary and the second virtual boundary;

[0038] The alarm module is used to determine that when the robot is outside the second virtual boundary, the robot is out of the boundary and report an out-of-bounds error warning.

[0039] Furthermore, the system further comprises:

[0040] A detection information acquisition module is used to obtain the virtual boundary detection information of the robot;

[0041] a detection information judgment module, configured to judge whether the robot has reached the first virtual boundary according to the virtual boundary detection information;

[0042] The boundary contact control module is used to control the robot to perform a preset boundary contact steering and propulsion operation when it is determined that the robot reaches the first virtual boundary, and to locate the position of the robot to obtain the initial position after the boundary contact steering and propulsion operation is completed.

[0043] Another object of an embodiment of the present invention is to provide a lawn mowing robot, wherein the lawn mowing robot comprises the above-mentioned lawn mowing robot touching virtual boundary control system.

[0044] Another object of an embodiment of the present invention is to provide a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program is executed by a processor to implement the above-mentioned method for controlling a lawn mowing robot to touch a virtual boundary.

[0045] The lawn mowing robot touching the virtual boundary control method provided by the present invention has a preset virtual boundary range. By detecting and judging whether the position of the lawn mowing robot is within the virtual boundary range, the robot is controlled to move to the target point in the preset lawn mowing map and return to the effective working area. The problem of the lawn mowing robot touching the virtual boundary when working in an irregular lawn mowing map and then retreating to the outside of the lawn mowing map to work is solved, and the risk of the lawn mowing robot going out of bounds during the working process, resulting in damage to the lawn mowing robot, environmental damage and personal injury, is reduced. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] Figure 1 is a flow chart of a method for controlling a lawn mowing robot touching a virtual boundary provided by an embodiment of the present invention;

[0047] Figure 2 is a schematic diagram of the working area of ​​the lawn mowing robot touching the virtual boundary control method provided by an embodiment of the present invention;

[0048] Figure 3 is another flow chart of a method for controlling a lawn mowing robot touching a virtual boundary provided by an embodiment of the present invention;

[0049] Figure 4 is another flow chart of a method for controlling a lawn mowing robot touching a virtual boundary provided by an embodiment of the present invention;

[0050] Figure 5 is another flow chart of a method for controlling a lawn mowing robot touching a virtual boundary provided by an embodiment of the present invention;

[0051] Figure 6 It is a module schematic diagram of a control system for a lawn mowing robot touching a virtual boundary provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0052] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0053] In the present invention, descriptions such as "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by the present invention.

[0054] The lawn mowing robot touching the virtual boundary control method provided by the present invention has a preset virtual boundary range. By detecting and judging whether the position of the lawn mowing robot is within the virtual boundary range, the robot is controlled to move to the target point in the preset lawn mowing map and return to the effective working area. The problem of the lawn mowing robot touching the virtual boundary when working in an irregular lawn mowing map and then retreating to the outside of the lawn mowing map to work is solved, and the risk of the lawn mowing robot going out of bounds during the working process, resulting in damage to the lawn mowing robot, environmental damage and personal injury, is reduced.

[0055] Embodiment 1

[0056] See also Figure 1-2 , is a flow chart of a control method for a lawn mower robot touching a virtual boundary provided by a first embodiment of the present invention. For ease of description, only the part related to the embodiment of the present invention is shown. The control method for a lawn mower robot touching a virtual boundary includes:

[0057] Step S10, obtaining the initial position of the robot;

[0058] Among them, in an embodiment of the present invention, the control method of the mowing robot touching the virtual boundary is applied to an automatic mowing robot that does not require human operation and control. When the mowing robot actually performs mowing work, in order to ensure that the entire target lawn is covered while taking into account the speed and compressing the work time as much as possible, the working path is generally set to advance in a "bow" shape, that is, it advances roughly along a straight line path. After reaching the boundary, it translates one unit in a direction perpendicular to the straight line path, and then returns along the straight line path. The advancing straight line path and the returning straight line path are parallel to each other, and then it repeats this cycle until it passes through the entire target lawn. It can be understood that the aforementioned "translation unit" can be roughly equal to the maximum width that the mowing robot can cover when it advances along a straight line path.

[0059] It should be noted that the aforementioned target lawn is the mowing map 10 for the mowing robot to perform mowing work. The mowing map 10 can be pre-entered, and the entry of the mowing map 10 can be performed by the mowing robot. For example, see Figure 2 , operate the mowing robot to move around along the outer edge of the mowing map 10, the mowing robot can carry or have built-in sensors to scan and record the movement path, when the movement path of the mowing robot is delineated to form a closed figure, the mowing map 10 is generated according to the closed figure; the mowing robot can also obtain the mowing map 10 by communicating with an external terminal, and the mowing map 10 can be generated by, for example, a sensor network deployed in the robot's workspace or a survey by an unmanned aerial vehicle.

[0060] It can be understood that the initial position of the robot refers to the position of the robot when it moves forward. The initial position can be obtained by setting a sensor on the robot body or deploying a sensor network in the robot workspace. The robot can communicate with the outside to obtain the initial position. The communication can be achieved through an application, specifically an application installed on the device terminal. The device terminal can be a smart terminal, a smart tablet, a smart base station, etc. The application of the device terminal can communicate with the robot body sensor or the sensor network. The obtained initial position can also be uploaded to the cloud server first, and then transmitted to the application installed on the device terminal.

[0061] It is easy to understand that the time interval for obtaining the initial position of the lawn mowing robot can be set according to actual needs. For example, the initial position information can be obtained in real time or at intervals of several seconds.

[0062] Step S20, judging whether the robot is between a preset first virtual boundary 20 and a preset second virtual boundary 30 according to the initial position;

[0063] Among them, in the embodiments of the present invention, see Figure 2, the first virtual boundary 20 and the second virtual boundary 30 can be determined by the following method: the closed figure surrounded by the outer edge of the mowing map 10 is enlarged relative to its geometric center according to a preset first enlargement ratio to obtain another closed figure, and the another closed figure is the first virtual boundary 20. The first enlargement ratio can be set according to actual needs. Similarly, the first virtual boundary 20 is enlarged relative to its geometric center according to a preset second enlargement ratio to obtain another closed figure, and the another closed figure is the second virtual boundary 30. The second enlargement ratio can be set according to actual needs. In the embodiment of the present invention, the shape of each closed figure is not limited, but the outer edges of any two closed figures cannot intersect, that is, one closed figure must be completely surrounded by another closed figure. In this embodiment, it can be regarded as that the mowing map 10, the first virtual boundary 20 and the second virtual boundary 30 form a nested relationship from the inside to the outside. In addition, since the actual working scenes of the lawn mowing robot are not all flat ground, the virtual auxiliary lines or graphics made when entering the lawn mowing map 10 or determining the range between the preset first virtual boundary 20 and the preset second virtual boundary 30 are generally drawn in line with the actual ground.

[0064] Step S30, when it is determined that the robot is in the range between the first virtual boundary 20 and the second virtual boundary 30, the virtual boundary detection is turned off;

[0065] Step S40 , controlling the robot to move toward a target point in a preset mowing map 10 , and starting virtual boundary detection when the robot moves into the first virtual boundary 20 .

[0066] In the embodiment of the present invention, when the lawn mowing robot is within the range between the preset first virtual boundary 20 and the preset second virtual boundary 30, it can be regarded as having moved beyond the range of the lawn mowing map 10. If the lawn mowing work continues to be performed within the range between the preset first virtual boundary 20 and the preset second virtual boundary 30, vegetation that does not need to be trimmed may be damaged. When there are buildings or other objects within the range between the preset first virtual boundary 20 and the preset second virtual boundary 30, the lawn mowing robot itself may be damaged. Therefore, when it is determined that the robot is within the range between the preset first virtual boundary 20 and the preset second virtual boundary 30, the virtual boundary detection is turned off, and the robot is controlled to move to the target point within the preset lawn mowing map 10, that is, return to work within the lawn mowing map. The target point can be set as needed, for example, it can be the position of the lawn mowing robot before it went out of bounds. In order to facilitate the planning of the advancement path, the target point can also be set as the starting point of the original advancement path.

[0067] When the robot moves to the first virtual boundary 20 , the virtual boundary detection is restarted.

[0068] The lawn mowing robot touching virtual boundary control method provided by the embodiment of the present invention presets the range between the first virtual boundary 20 and the second virtual boundary 30. By detecting and judging whether the position of the lawn mowing robot is within the range between the preset first virtual boundary 20 and the preset second virtual boundary 30, the robot is controlled to move to the target point in the preset lawn mowing map 10 and return to the effective working area. The problem that the lawn mowing robot touches the virtual boundary while working in the irregular lawn mowing map 10 and then retreats to the outside of the lawn mowing map 10 to work is solved, and the risk of the lawn mowing robot going out of bounds during the working process, resulting in damage to the lawn mowing robot, environmental damage and personal injury, is reduced.

[0069] Embodiment 2

[0070] See also Figure 2-3 , is a flow chart of a method for controlling a lawn mower robot touching a virtual boundary provided by a second embodiment of the present invention. For the sake of convenience, only the part related to the embodiment of the present invention is shown, wherein the process of the second embodiment of the present invention is substantially the same as that of the first embodiment. For the sake of brief description, the parts not mentioned in the embodiment of the present invention may refer to the corresponding contents in the first embodiment. The method for controlling a lawn mower robot touching a virtual boundary further includes: a step of starting virtual boundary detection when the robot moves into the first virtual boundary 20, including,

[0071] Step S31, obtaining the real-time position of the robot during the movement toward the target point;

[0072] Step S32, judging whether the robot enters the first virtual boundary 20 according to the real-time position;

[0073] Step S33, when it is determined that the robot enters the first virtual boundary 20, virtual boundary detection is started.

[0074] It is easy to understand that in the embodiment of the present invention, the mowing robot is now outside the first virtual boundary 20, that is, it is within the range between the preset first virtual boundary 20 and the preset second virtual boundary 30 as described above, and the virtual boundary detection is in a closed state. The robot is controlled to move toward the target point in the preset mowing map, and the real-time position of the robot obtained during the movement can be synchronously communicated and transmitted. It is determined whether the robot is within the first virtual boundary 20 based on the real-time position. Once it is determined that the robot is already within the first virtual boundary 20, the virtual boundary detection can be turned on. That is to say, during the process of moving toward the target point in the preset mowing map, the robot may be at a position where it has not yet reached the target point. As described above, the target point can be set according to actual needs. Therefore, the target point may be at a position far away from the outer edge of the mowing map. In this case, there is no need to wait for the robot to move to the target point before turning on the virtual boundary detection. Instead, the robot returns to enter the first virtual boundary 20 and turns on the virtual boundary detection.

[0075] The lawn mowing robot touches the virtual boundary control method provided by the embodiment of the present invention determines whether the robot is within the first virtual boundary 20 according to the real-time position. Once it is determined that the robot is within the first virtual boundary 20, the virtual boundary detection can be turned on. The feedback speed is fast, and the lawn mowing robot can quickly return to the mowing field map to continue working. The path control efficiency is high and the user experience is good.

[0076] Embodiment 3

[0077] See also Figure 2 , 4 , is a flow chart of a method for controlling a lawn mower robot touching a virtual boundary provided by a third embodiment of the present invention. For the sake of convenience, only the part related to the embodiment of the present invention is shown. The process of the third embodiment of the present invention is substantially the same as that of the first embodiment. For the sake of brief description, the parts not mentioned in the embodiment of the present invention may refer to the corresponding contents in the first embodiment. The method for controlling a lawn mower robot touching a virtual boundary further includes:

[0078] After the step of determining whether the robot is between the preset first virtual boundary 20 and the preset second virtual boundary 30 according to the initial position, the method further includes:

[0079] Step S21, determining whether the robot is between the first virtual boundary 20 and the second virtual boundary 30;

[0080] If yes, execute step S30;

[0081] Step S22, if not, determining whether the robot is outside the second virtual boundary 30 according to the initial position;

[0082] Step S23: If yes, it is determined that the robot is out of bounds, and an out of bounds error warning is reported;

[0083] Step S24: if not, control the robot to perform the mowing task normally.

[0084] It is easy to understand that in this embodiment, the judgment condition can be set as the outer edge lines that enclose the first virtual boundary 20 and the second virtual boundary 30, that is, the lawn mowing robot can determine whether the robot is within the range between the preset first virtual boundary 20 and the preset second virtual boundary 30 by detecting whether its moving path intersects with the lines as described above. If necessary, the area sandwiched between the first virtual boundary 20 and the second virtual boundary 30 can also be set as the judgment condition. At this time, whether the robot is within the range between the preset first virtual boundary 20 and the preset second virtual boundary 30 can be determined by detecting whether the projection of the lawn mowing robot on the ground is completely covered by the area as described above.

[0085] It is easy to understand that in the embodiment of the present invention, the second virtual boundary 30 can be regarded as the one located at the outermost periphery and with the largest coverage among all virtual auxiliary graphics and lines drawn in the lawn mowing robot touching the virtual boundary control method to achieve path control. Therefore, when the lawn mowing robot is outside the second virtual boundary 30, it indicates that it has deviated from the effective working area to a large extent, which may seriously damage the external environment and it is difficult to return it through automatic control. Therefore, it can be determined that the robot is out of bounds and an out-of-bounds error warning is reported, so that outsiders can avoid and intervene in the control in time to avoid serious losses. At the same time, the lawn mowing robot can be reset to a normal working state.

[0086] Embodiment 4

[0087] See also Figure 2 , 5 , is a flow chart of a method for controlling a lawn mower robot touching a virtual boundary provided by a fourth embodiment of the present invention. For the sake of convenience, only the part related to the embodiment of the present invention is shown. The process of the fourth embodiment of the present invention is substantially the same as that of the first embodiment. For the sake of brief description, the parts not mentioned in the embodiment of the present invention may refer to the corresponding contents in the first embodiment. The method for controlling a lawn mower robot touching a virtual boundary further includes:

[0088] Before the step of obtaining the initial position of the robot, it also includes,

[0089] Step S00, obtaining the virtual boundary detection information of the robot;

[0090] Step S01, judging whether the robot has reached a preset first virtual boundary 20 according to virtual boundary detection information;

[0091] Step S02, when it is determined that the robot reaches the first virtual boundary 20, the robot is controlled to perform a preset boundary-touching turning and propulsion operation, and after the boundary-touching turning and propulsion operation is completed, the position of the robot is located to obtain an initial position.

[0092] By setting the second virtual boundary 30, it is possible to detect as early as possible whether the robot moves beyond the boundary of the mowing map, and through simpler steering propulsion control, the robot can be restored to the effective working area. Exemplarily, the boundary-touching steering propulsion operation includes: when the robot reaches the first virtual boundary 20, first control the robot to retreat a distance, then control the robot to turn at a fixed angle and then move a distance. At this time, the position of the robot is the initial position. For example, if the diameter of the robot is 0.2 meters, then when the robot reaches the first virtual boundary 20, the robot can be controlled to retreat 0.2 meters first, then control the robot to turn at a 90° angle and then move 0.2 meters to obtain the initial position. It can be understood that the above-mentioned distance and fixed angle can be set according to the properties of the robot or actual work requirements, for example, setting a distance to 0.3 meters or 0.5 meters, which is not specifically limited here.

[0093] Optionally, see Figure 2 ,like Figure 2 As shown, taking the robot's walking route on the mowing map 10 including route L1 and route L2 as an example, the robot detects the first virtual boundary 20 at point A1 of route L1. At this time, the robot is controlled to perform the boundary-touching turning and propulsion operation to move to point A2. The robot's initial position is within the mowing map 10, and the robot continues to be controlled to perform the mowing task. When the robot detects the first virtual boundary 20 at point B1 of route L2, the robot is controlled to perform the boundary-touching turning and propulsion operation to move to point B2. The robot's initial position is between the first virtual boundary 20 and the second virtual boundary 30.

[0094] It is easy to understand that when the robot moves a long distance beyond the boundary of the mowing map 10, it is difficult to control it back to the boundary of the mowing map 10 by simple steering propulsion. Therefore, preferably, the spacing distance between the second virtual boundary 30 and the mowing map 10 should not be too large. For example, the spacing distance between the second virtual boundary 30 and the mowing map 10 can be set to 1.5 times the maximum radial dimension of the mowing robot body.

[0095] Embodiment 5

[0096] See also Figure 6 , is a module schematic diagram of a lawn mower robot touching a virtual boundary control system provided by a fifth embodiment of the present invention. For ease of description, only the parts related to the embodiment of the present invention are shown. In this embodiment, the lawn mower robot touching a virtual boundary control system includes:

[0097] An initial position acquisition module 100 is used to acquire the initial position of the robot;

[0098] An initial position determination module 200, for determining whether the robot is between a preset first virtual boundary 20 and a preset second virtual boundary 30 according to the initial position;

[0099] The boundary detection closing module 300 is used to close the virtual boundary detection when it is determined that the robot is in the range between the first virtual boundary 20 and the second virtual boundary 30;

[0100] The position correction control module 400 is used to control the robot to move to a target point in a preset mowing map 10 , and to start virtual boundary detection when the robot moves into the first virtual boundary 20 .

[0101] Among them, in an embodiment of the present invention, the mowing robot touches the virtual boundary control system applied to an automatic mowing robot that does not require human operation and control. When the mowing robot actually performs mowing work, in order to ensure that the entire target lawn is covered while taking into account the speed and compressing the work time as much as possible, the working path is generally set to advance in a "bow" shape, that is, it advances roughly along a straight line path. After reaching the boundary, it translates one unit in a direction perpendicular to the straight line path, and then returns along the straight line path. The advancing straight line path and the returning straight line path are parallel to each other, and then it repeats this cycle until it passes through the entire target lawn. It can be understood that the aforementioned "translation unit" can be roughly equal to the maximum width that the mowing robot can cover when it advances along a straight line path.

[0102] It should be noted that the aforementioned target lawn is the mowing map 10 for the mowing robot to perform mowing work. The mowing map 10 can be pre-entered, and the entry of the mowing map 10 can be performed by the mowing robot. For example, see Figure 2 , operate the mowing robot to move around along the outer edge of the mowing map 10, the mowing robot can carry or have built-in sensors to scan and record the movement path, when the movement path of the mowing robot is delineated to form a closed figure, the mowing map 10 is generated according to the closed figure; the mowing robot can also obtain the mowing map 10 by communicating with an external terminal, and the mowing map 10 can be generated by, for example, a sensor network deployed in the robot's workspace or a survey by an unmanned aerial vehicle.

[0103] It can be understood that the initial position of the robot refers to the position of the robot when it moves forward. The initial position can be obtained by setting a sensor on the robot body or deploying a sensor network in the robot workspace. The robot can communicate with the outside to obtain the initial position. The communication can be achieved through an application, specifically an application installed on the device terminal. The device terminal can be a smart terminal, a smart tablet, a smart base station, etc. The application of the device terminal can communicate with the robot body sensor or the sensor network. The obtained initial position can also be uploaded to the cloud server first, and then transmitted to the application installed on the device terminal.

[0104] It is easy to understand that the time interval for obtaining the initial position of the lawn mowing robot can be set according to actual needs. For example, the initial position information can be obtained in real time or at intervals of several seconds.

[0105] Among them, in the embodiments of the present invention, see Figure 2 , the first virtual boundary 20 and the second virtual boundary 30 can be determined by the following method: the closed figure surrounded by the outer edge of the mowing map 10 is enlarged relative to its geometric center according to a preset first enlargement ratio to obtain another closed figure, and the another closed figure is the first virtual boundary 20. The first enlargement ratio can be set according to actual needs. Similarly, the first virtual boundary 20 is enlarged relative to its geometric center according to a preset second enlargement ratio to obtain another closed figure, and the another closed figure is the second virtual boundary 30. The second enlargement ratio can be set according to actual needs. In the embodiment of the present invention, the shape of each closed figure is not limited, but the outer edges of any two closed figures cannot intersect, that is, one closed figure must be completely surrounded by another closed figure. In this embodiment, it can be regarded as that the mowing map 10, the first virtual boundary 20 and the second virtual boundary 30 form a nested relationship from the inside to the outside. In addition, since the actual working scenes of the lawn mowing robot are not all flat ground, the virtual auxiliary lines or graphics made when entering the lawn mowing map 10 or determining the range between the preset first virtual boundary 20 and the preset second virtual boundary 30 are generally drawn in line with the actual ground.

[0106] In the embodiment of the present invention, when the lawn mowing robot is within the range between the preset first virtual boundary 20 and the preset second virtual boundary 30, it can be regarded as having moved beyond the range of the lawn mowing map 10. If the lawn mowing work continues to be performed within the range between the preset first virtual boundary 20 and the preset second virtual boundary 30, vegetation that does not need to be trimmed may be damaged. When there are buildings or other objects within the range between the preset first virtual boundary 20 and the preset second virtual boundary 30, the lawn mowing robot itself may be damaged. Therefore, when it is determined that the robot is within the range between the preset first virtual boundary 20 and the preset second virtual boundary 30, the virtual boundary detection is turned off, and the robot is controlled to move to the target point within the preset lawn mowing map 10, that is, return to work within the lawn mowing map. The target point can be set as needed, for example, it can be the position of the lawn mowing robot before it went out of bounds. In order to facilitate the planning of the advancement path, the target point can also be set as the starting point of the original advancement path.

[0107] When the robot moves to the first virtual boundary 20 , the virtual boundary detection is restarted.

[0108] The lawn mowing robot touching virtual boundary control system provided by the embodiment of the present invention has a preset range between a first virtual boundary 20 and a second virtual boundary 30. By detecting and judging whether the position of the lawn mowing robot is within the range between the preset first virtual boundary 20 and the preset second virtual boundary 30, the robot is controlled to move toward a target point in a preset lawn mowing map 10 and return to a valid working area. This solves the problem that the lawn mowing robot touches the virtual boundary while working in an irregular lawn mowing map 10 and then retreats to the outside of the lawn mowing map 10 to work, thereby reducing the risk of the lawn mowing robot going out of bounds during its working process, causing damage to the lawn mowing robot, environmental damage, and personal injury.

[0109] Embodiment 6

[0110] See also Figure 2 , is a module schematic diagram of a lawn mower robot touching a virtual boundary control system provided by a sixth embodiment of the present invention. For ease of description, only the parts related to the embodiment of the present invention are shown. The structure of the sixth embodiment is substantially the same as that of the fifth embodiment. The difference is that, in this embodiment, the lawn mower robot touching a virtual boundary control system further includes:

[0111] A real-time position acquisition submodule is used to acquire the real-time position of the robot during its movement toward the target point;

[0112] A real-time position determination submodule, used to determine whether the robot has entered the first virtual boundary 20 according to the real-time position;

[0113] The execution submodule is used to start virtual boundary detection when it is determined that the robot enters the first virtual boundary 20.

[0114] It is easy to understand that in the embodiment of the present invention, the mowing robot is now outside the first virtual boundary 20, that is, it is within the range between the preset first virtual boundary 20 and the preset second virtual boundary 30 as described above, and the virtual boundary detection is in a closed state. The robot is controlled to move toward the target point in the preset mowing map, and the real-time position of the robot obtained during the movement can be synchronously communicated and transmitted. It is determined whether the robot is within the first virtual boundary 20 based on the real-time position. Once it is determined that the robot is already within the first virtual boundary 20, the virtual boundary detection can be turned on. That is to say, during the process of moving toward the target point in the preset mowing map, the robot may be at a position where it has not yet reached the target point. As described above, the target point can be set according to actual needs. Therefore, the target point may be at a position far away from the outer edge of the mowing map. In this case, there is no need to wait for the robot to move to the target point before turning on the virtual boundary detection. Instead, the robot returns to enter the first virtual boundary 20 and turns on the virtual boundary detection.

[0115] The lawn mowing robot touches the virtual boundary control system provided by the embodiment of the present invention determines whether the robot is within the first virtual boundary 20 according to the real-time position. Once it is determined that the robot is within the first virtual boundary 20, the virtual boundary detection can be turned on. The feedback speed is fast, and the lawn mowing robot can quickly return to the mowing field map to continue working. The path control efficiency is high and the user experience is good.

[0116] Embodiment 7

[0117] See also Figure 2 , is a module schematic diagram of a lawn mower robot touching a virtual boundary control system provided by an eighth embodiment of the present invention. For ease of explanation, only the parts related to the embodiment of the present invention are shown. The structure of the seventh embodiment is substantially the same as that of the sixth embodiment. The difference is that, in this embodiment, the lawn mower robot touching a virtual boundary control system further includes:

[0118] A secondary judgment module, for judging whether the robot is outside the second virtual boundary 30 according to the initial position when it is judged that the robot is not between the first virtual boundary 20 and the second virtual boundary 30;

[0119] An alarm module, used to determine whether the robot is outside the second virtual boundary 30, determine that the robot is out of the boundary, and issue an out-of-bounds error warning;

[0120] It is easy to understand that in this embodiment, the judgment condition can be set as the outer edge lines that enclose the first virtual boundary 20 and the second virtual boundary 30, that is, the lawn mowing robot can determine whether the robot is within the range between the preset first virtual boundary 20 and the preset second virtual boundary 30 by detecting whether its moving path intersects with the lines as described above. If necessary, the area sandwiched between the first virtual boundary 20 and the second virtual boundary 30 can also be set as the judgment condition. At this time, whether the robot is within the range between the preset first virtual boundary 20 and the preset second virtual boundary 30 can be determined by detecting whether the projection of the lawn mowing robot on the ground is completely covered by the area as described above.

[0121] It is easy to understand that in the embodiment of the present invention, the second virtual boundary 30 can be regarded as the one located at the outermost periphery and with the largest coverage among all virtual auxiliary graphics and lines drawn in the lawn mowing robot touching the virtual boundary control method to achieve path control. Therefore, when the lawn mowing robot is outside the second virtual boundary 30, it indicates that it has deviated from the effective working area to a large extent, which may seriously damage the external environment and it is difficult to return it through automatic control. Therefore, it can be determined that the robot is out of bounds and an out-of-bounds error warning is reported, so that outsiders can avoid and intervene in the control in time to avoid serious losses. At the same time, the lawn mowing robot can be reset to a normal working state.

[0122] Embodiment 8

[0123] See also Figure 2 , is a module schematic diagram of a lawn mower robot touching a virtual boundary control system provided by an eighth embodiment of the present invention. For ease of description, only the parts related to the embodiment of the present invention are shown. The structure of the eighth embodiment is substantially the same as that of the seventh embodiment. The difference is that, in this embodiment, the lawn mower robot touching a virtual boundary control system further includes:

[0124] A detection information acquisition module is used to obtain the virtual boundary detection information of the robot;

[0125] A detection information judgment module, used to judge whether the robot reaches a preset second virtual boundary 20 according to the virtual boundary detection information;

[0126] The boundary contact control module is used to control the robot to perform a preset boundary contact turning and propulsion operation when it is determined that the robot reaches the first virtual boundary 20, and to locate the position of the robot to obtain an initial position after the boundary contact turning and propulsion operation is completed.

[0127] By setting the second virtual boundary 30, it is possible to detect as early as possible whether the robot moves beyond the boundary of the mowing map, and through simpler steering propulsion control, the robot can be restored to the effective working area. For example, the boundary-touching steering propulsion operation includes, when the robot reaches the first virtual boundary 20, first controlling the robot to retreat a certain distance, and then controlling the robot to turn at a fixed angle and then move a certain distance. At this time, the position of the robot is the initial position. For example, if the diameter of the robot is 0.2 meters, then when the robot reaches the first virtual boundary 20, the robot can be controlled to retreat 0.2 meters, and then the robot can be controlled to turn at an angle of 90° and then move 0.2 meters to obtain the initial position. It can be understood that the above-mentioned distance and fixed angle can be set according to the properties of the robot or actual work requirements, and are not specifically limited here.

[0128] Optionally, see Figure 2 ,like Figure 2 As shown, taking the robot's walking route on the mowing map 10 including route L1 and route L2 as an example, the robot detects the first virtual boundary 20 at point A1 of route L1. At this time, the robot is controlled to perform the boundary-touching turning and propulsion operation to move to point A2. The robot's initial position is within the mowing map 10, and the robot continues to be controlled to perform the mowing task. When the robot detects the first virtual boundary 20 at point B1 of route L2, the robot is controlled to perform the boundary-touching turning and propulsion operation to move to point B2. The robot's initial position is between the first virtual boundary 20 and the second virtual boundary 30.

[0129] It is easy to understand that when the robot moves a long distance beyond the boundary of the mowing map 10, it is difficult to control it back to the boundary of the mowing map 10 by simple steering propulsion. Therefore, preferably, the spacing distance between the second virtual boundary 30 and the mowing map 10 should not be too large. For example, the spacing distance between the second virtual boundary 30 and the mowing map 10 can be set to 1.5 times the maximum radial dimension of the mowing robot body.

[0130] Embodiment 9

[0131] This embodiment provides a lawn mowing robot, which includes a lawn mowing robot touching virtual boundary control system as described in any one of the fifth to eighth embodiments above.

[0132] Embodiment 10

[0133] This embodiment provides a readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the steps of the lawn mowing robot touching the virtual boundary control method described in the above embodiment are implemented. The readable storage medium, such as: ROM / RAM, magnetic disk, optical disk, etc.

[0134] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In actual applications, the above-mentioned functions can be assigned to different functional units or modules as needed, that is, the internal structure of the storage device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the implementation method can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application.

[0135] Those skilled in the art will understand that Figure 6 The structure shown in the figure does not constitute a limitation on the control system of the lawn mowing robot touching the virtual boundary of the present invention, and may include more or less components than those shown in the figure, or combine certain components, or arrange the components differently. Figure 1 , 3 , 4, and 5 also use the control method of the mowing robot touching the virtual boundary Figure 6The units, modules, etc. referred to in the present invention refer to a series of computer programs that can be executed by a processor (not shown) in the control system for the mowing robot to touch the virtual boundary and can perform specific functions, and can be stored in a storage device (not shown) of the control system for the mowing robot to touch the virtual boundary.

[0136] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for controlling a lawn mowing robot to touch a virtual boundary. It is characterized in that The method comprises: Get the robot's virtual boundary detection information; determining whether the robot has reached a first virtual boundary according to the virtual boundary detection information; When it is determined that the robot has reached the first virtual boundary, the robot is controlled to perform a preset boundary-touching, turning and advancing operation, and after the boundary-touching, turning and advancing operation is completed, the position of the robot is located to obtain an initial position; Determining whether the robot is between a preset first virtual boundary and a preset second virtual boundary according to the initial position; When it is determined that the robot is between the first virtual boundary and the second virtual boundary, turning off virtual boundary detection; Controlling the robot to move toward a target point in a preset mowing map, and starting virtual boundary detection when the robot moves into the first virtual boundary; The first virtual boundary is a closed figure obtained by geometrically enlarging a closed figure formed by the outer edge of the mowing map relative to its geometric center according to a preset first enlargement ratio; The second virtual boundary is a closed figure obtained by geometrically enlarging a closed figure formed by the outer edge of the mowing map relative to its geometric center according to a preset second enlargement ratio; The second magnification ratio is greater than the first magnification ratio.

2. The method for controlling a lawn mowing robot touching a virtual boundary as claimed in claim 1, It is characterized in that The step of starting virtual boundary detection when the robot moves into the first virtual boundary includes: Obtaining the real-time position of the robot during the process of moving toward the target point; Determining whether the robot enters the first virtual boundary according to the real-time position; When it is determined that the robot enters the first virtual boundary, virtual boundary detection is started.

3. The method for controlling a lawn mowing robot touching a virtual boundary as claimed in claim 1, It is characterized in that After the step of judging whether the robot is between the preset first virtual boundary and the preset second virtual boundary according to the initial position, the method further includes: When it is determined that the robot is not between the first virtual boundary and the second virtual boundary, determining whether the robot is outside the second virtual boundary according to the initial position; When it is determined that the robot is outside the second virtual boundary, it is determined that the robot is out of bounds, and an out-of-bounds error warning is reported.

4. The method for controlling a lawn mowing robot touching a virtual boundary according to claim 1, It is characterized in that After the step of controlling the robot to move toward a target point in a preset mowing map and starting virtual boundary detection when the robot moves into the first virtual boundary, the method further includes: When a new obstacle is identified during the mowing task, the new obstacle is added to the mowing map for identification.

5. A control system for a lawn mowing robot to touch a virtual boundary. It is characterized in that The system comprises: A detection information acquisition module is used to obtain the virtual boundary detection information of the robot; a detection information judgment module, used to judge whether the robot has reached the first virtual boundary according to the virtual boundary detection information; A boundary contact control module, used for controlling the robot to perform a preset boundary contact turning and propulsion operation when it is determined that the robot reaches the first virtual boundary, and locating the position of the robot to obtain an initial position after the boundary contact turning and propulsion operation is completed; An initial position determination module, used for determining whether the robot is between a preset first virtual boundary and a preset second virtual boundary according to the initial position; A boundary detection closing module, used for closing virtual boundary detection when it is determined that the robot is between the first virtual boundary and the second virtual boundary; A position correction control module, used for controlling the robot to move to a target point in a preset mowing map, and starting virtual boundary detection when the robot moves into the first virtual boundary; The first virtual boundary is a closed figure obtained by geometrically enlarging a closed figure formed by the outer edge of the mowing map relative to its geometric center according to a preset first enlargement ratio; The second virtual boundary is a closed figure obtained by geometrically enlarging a closed figure formed by the outer edge of the mowing map relative to its geometric center according to a preset second enlargement ratio; The second magnification ratio is greater than the first magnification ratio.

6. The lawn mowing robot touch virtual boundary control system as claimed in claim 5, It is characterized in that The position correction control module comprises: A real-time position acquisition submodule is used to acquire the real-time position of the robot during its movement toward the target point; A real-time position determination submodule, for determining whether the robot has entered the first virtual boundary according to the real-time position; The execution submodule starts virtual boundary detection when it is determined that the robot enters the first virtual boundary.

7. The lawn mowing robot touch virtual boundary control system as claimed in claim 5, It is characterized in that The system further comprises: a secondary judgment module, configured to judge whether the robot is outside the second virtual boundary according to the initial position when it is judged that the robot is not between the first virtual boundary and the second virtual boundary; The alarm module is used to determine that when the robot is outside the second virtual boundary, the robot is out of the boundary and report an out-of-bounds error warning.

8. The lawn mowing robot touching virtual boundary control system as claimed in claim 5, It is characterized in that The system further comprises: The obstacle identification module is used to add a new obstacle to the mowing map for identification when a new obstacle is identified during the mowing task.

9. A lawn mowing robot, It is characterized in that The lawn mowing robot comprises the lawn mowing robot touching virtual boundary control system according to any one of claims 5 to 8.

10. A computer-readable storage medium, It is characterized in that A computer-readable storage medium stores a computer program, wherein the computer program is executed by a processor according to the method for controlling a lawn mowing robot touching a virtual boundary as described in any one of claims 1 to 4.