Disclosure of Invention
In view of the above, the present invention provides a new method for controlling a return path from a mobile device to solve the above problem.
According to an aspect of the present invention, there is provided a method for controlling a return path of an autonomous mobile device, the autonomous mobile device having an operating area defined by a boundary line, the boundary line being connected to a return base station to form a loop, the method including:
s1, detecting whether the self-moving equipment needs to return to the regression base station;
s2, when the self-moving equipment needs to return to the returning base station, the control module controls the self-moving equipment to search a boundary line;
s3, after finding the boundary line, the self-moving equipment is controlled by the control module to reversely walk along the boundary line for a preset distance;
and S4, after the self-moving equipment reversely travels for a preset distance along the boundary line, the control module controls the self-moving equipment to turn around and travel along the regression direction of the boundary line until the self-moving equipment reaches the regression base station.
Preferably, in step S3, the step of controlling the self-moving device to reversely walk along the boundary line by a preset distance by the control module includes:
the self-moving equipment finds the boundary line, and the control module controls the self-moving equipment to turn so that the traveling direction of the self-moving equipment is opposite to the returning direction;
and controlling the self-moving equipment to reversely walk along the boundary line for a preset distance.
Preferably, in step S3, the step of controlling the self-moving device to reversely walk along the boundary line by a preset distance by the control module includes:
the self-moving equipment finds the boundary line, and the control module controls the self-moving equipment to retreat;
the control module controls the self-moving equipment to retreat for a set distance and then stops retreating, and controls the self-moving equipment to turn and continue to advance for searching the boundary line;
the self-moving equipment finds the boundary line again, the control module controls the self-moving equipment to turn, the advancing direction of the self-moving equipment is opposite to the returning direction, and the self-moving equipment is controlled to reversely walk along the boundary line for a preset distance.
Preferably, the control module controls the self-moving device to turn, specifically, the control module controls the self-moving device to turn in a direction opposite to the returning direction.
Preferably, in step S1, it is determined whether the self-moving device needs to return to the return base station according to whether the power of the battery of the self-moving device is detected to be lower than a set threshold, or whether a preset working time is detected to be reached, or whether rainfall weather is detected.
Preferably, in step S2, when the self-moving device needs to return to the returning base station, the control module controls the self-moving device to continue to advance according to the current position and direction until the boundary line is found.
Preferably, the self-moving device comprises a body, a left boundary signal detection device and a right boundary signal detection device are arranged on the body at intervals and used for sensing boundary signals generated by the boundary lines, and the control module judges the position relationship between the self-moving device and the boundary lines according to the boundary signals detected by the left and right boundary signal detection devices.
Preferably, the left and right boundary signal detection devices are respectively arranged on the left and right sides of the center line of the body.
Preferably, when the boundary signals detected by the left and right boundary signal detection devices are both boundary internal signals, the control module controls the self-moving device to keep moving forward.
Preferably, when one of the boundary signals detected by the left and right boundary signal detection devices is an inner boundary signal and the other is an outer boundary signal, the control module determines that the self-moving device finds the boundary line.
Preferably, the returning direction is a counterclockwise direction, and the step of controlling the self-moving device to travel in the returning direction by the control module is to adjust the adjusting direction of the self-moving device according to the control module to keep the boundary signal detected by the left boundary signal detection device as an inner boundary signal and the boundary signal detected by the right boundary signal detection device as an outer boundary signal; and the step of controlling the self-moving equipment to reversely walk along the boundary line by the control module is to adjust the traveling direction of the self-moving equipment according to the control module so as to keep the boundary signal detected by the left boundary signal detection device as an out-boundary signal and the boundary signal detected by the right boundary signal detection device as an in-boundary signal.
Has the advantages that: according to the embodiment of the invention, the trouble that the self-moving equipment is clamped at the returning base station and manual contact with obstacles is required is avoided.
Other features and aspects of the present invention will become apparent from the following detailed description of exemplary embodiments, which proceeds with reference to the accompanying drawings.
Detailed Description
Various exemplary embodiments, features and aspects of the present invention will be described in detail below with reference to the accompanying drawings. In the drawings, like reference numbers can indicate functionally identical or similar elements. While the various aspects of the embodiments are presented in drawings, the drawings are not necessarily drawn to scale unless specifically indicated.
The word "exemplary" is used exclusively herein to mean "serving as an example, embodiment, or illustration. Any embodiment described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments.
Furthermore, in the following detailed description, numerous specific details are set forth in order to provide a better understanding of the present invention. It will be understood by those skilled in the art that the present invention may be practiced without some of these specific details. In some instances, methods, procedures, components, and circuits that are well known to those skilled in the art have not been described in detail so as not to obscure the present invention. It should be noted that the embodiments and features of the embodiments of the present application may be combined with each other without conflict.
Example 1
Fig. 1 is a schematic diagram of a return path from amobile device 100 according to an embodiment of the invention. Theworking area 500 of the self-movingdevice 100 provided by the present embodiment is defined by theboundary 300 connected to theregression base station 200, theboundary 300 is connected to theregression base station 200 to form a loop, and the self-movingdevice 100 moves and works in theworking area 500 defined by theboundary 300. The control method of the regression path comprises the following steps:
s1, it is detected whether the self-movingdevice 100 needs to return to the returningbase station 200. The autonomousmobile device 100 autonomously travels a random route in aspecific work area 500, and performs mowing work on thework area 500 to which the autonomous mobile device has traveled.
In step S1, the detection of whether the self-movingdevice 100 needs to return to the returningbase station 200 is performed in real time, and may be performed by periodically detecting whether the self-movingdevice 100 needs to return to the returningbase station 200, or setting a trigger condition, and detecting whether the self-movingdevice 100 needs to return to the returningbase station 200, that is, determining by detecting whether the trigger condition is satisfied. In this embodiment, when the detected battery voltage of the self-movingdevice 100 is lower than the program set value, it is determined that the self-movingdevice 100 needs to return to thereturn base station 200. In a preferred embodiment, the step of detecting whether themobile device 100 needs to return to the returningbase station 200 is determined according to whether a preset operation time is detected to be reached, and the preset operation time may be 3 hours, 2 hours, 1 hour, and the like. Or based on detecting the energy of the energy storage unit (e.g. when the electric quantity is lower than a preset value (preferably, when the voltage of the energy storage unit is lower than a preset voltage), triggering regression). In another preferred embodiment, the step of detecting whether themobile device 100 needs to return to thereturn base station 200 is based on whether rainfall weather is detected, for example, in response to a rain sensor or the like.
S2, when the self-movingdevice 100 needs to return to the returningbase station 200, the control module controls the self-movingdevice 100 to search theboundary line 300. In the case where it is determined in step S1 that the self-movingapparatus 100 needs to return to thereturn base station 200, the control module controls the auto-seekboundary line 300 of the self-movingapparatus 100. Specifically, the control module controls themobile device 100 to continue to advance according to the current position and direction until theboundary line 300 is found.
S3, after the self-movingdevice 100 finds theboundary line 300, the control module controls the self-movingdevice 100 to walk along theboundary line 300 in the reverse direction for a preset distance. Specifically, the control module controls the self-movingdevice 100 to walk backward along theboundary line 300 for a preset distance in the direction b opposite to the return direction.
And S4, after the self-movingequipment 100 reversely walks along theboundary line 300 for a preset distance, the control module controls the self-movingequipment 100 to turn around and drive according to the regression direction a until the self-moving equipment reaches theregression base station 200. The self-movingdevice 100 initially finds the position of theboundary line 300, travels backward for a preset distance along theboundary line 300, turns around for 180 degrees, and travels in the return direction a until reaching thereturn base station 200, and performs charging or waits for the next operation.
In another embodiment, referring to fig. 1, in step S3, after themobile device 100 returns to the initial position D1 and theboundary line 300 is found from themobile device 100, the control module controls themobile device 100 to turn to make the traveling direction of the mobile device opposite to the returning direction a, i.e. the direction b shown in the figure, and controls themobile device 100 to travel a preset distance in the opposite direction (direction b) of theboundary line 300.
After the self-movingdevice 100 finds theboundary line 300, it may go right to the returningbase station 200 to find theboundary line 300, and the self-movingdevice 100 cannot recognize that it is blocked by the returningbase station 200, and always executes the instruction of walking along the boundary line, that is, the wheels are rotating, but the self-movingdevice 100 is not moving. Referring to fig. 1, in the method for controlling a return path provided by this embodiment, when the position D1 of the self-movingdevice 100 in fig. 1 is a return initial position and reaches theboundary line 300, that is, the position D2, the control module controls the self-movingdevice 100 to turn, adjusts the posture, makes the traveling direction of the automatic moving device be the direction b opposite to the return direction a, and controls the self-movingdevice 100 to travel a preset distance in the reverse direction along theboundary line 300 to reach the position D3. Here, the backward walking means a direction opposite to the returning direction a from themobile device 100, that is, the illustrated direction b. Theboundary line 300 connects with the returningbase station 200 to form a loop, and allows the returning from themobile device 100 to the returningbase station 200 along theboundary line 300 in the returning direction a.
In step S4, please continue to refer to fig. 1, in this embodiment, themobile device 100 travels a predetermined distance in a reverse direction along theboundary line 300 to reach the position D3, the control module controls themobile device 100 to turn around, i.e., turn around 180 ° in situ, and then the control module controls themobile device 100 to turn around to travel along the return direction a along theboundary line 300, pass through the position D4, and reach thereturn base station 200.
In another embodiment, referring to FIG. 2, similar to the previous embodiment, the differences are described in detail below. In the embodiment shown in fig. 2, the position D1 of the self-movingapparatus 100 is a returning initial position, and when theboundary line 300 is reached, that is, the position D2, the control module controls the self-movingapparatus 100 to retreat by a set distance and then stops the retreat, and then turns to continue searching for theboundary line 300, and finds theboundary line 300 again at the position D2', and the control module controls the self-movingapparatus 100 to turn to make the traveling direction of the self-moving apparatus opposite to the returning direction a, and controls the self-movingapparatus 100 to reversely walk along theboundary line 300 by a preset distance to reach the position D3. Fig. 3 shows a schematic diagram of a path just at the returningbase station 200 when the returning path from themobile device 100 finds theboundary line 300. The autonomous moving apparatus reaches theboundary line 300, i.e., the position D2, and the returningbase station 200 is located right at the position D2, the control module controls the autonomous movingapparatus 100 to reverse, then turn, and re-search for theboundary line 300 to reach the position D2', and like the above-mentioned control method, the control module controls the autonomous movingapparatus 100 to turn, adjust the direction b so that the traveling direction of the autonomous moving apparatus is opposite to the returning direction a, and controls the autonomous movingapparatus 100 to reversely travel along theboundary line 300 for a preset distance to reach the position D3. This return path avoids the trouble of requiring manual contact with obstacles since themobile device 100 is stuck at thereturn base station 200. Specifically, since themobile device 100 has found theboundary line 300 again at the position D2', the control module controls themobile device 100 to turn in the direction opposite to the return direction a.
As described above, in the path regression method from themobile device 100, the signal regresses along theboundary line 300 when the signal regresses from themobile device 100. The self-movingapparatus 100 includes a body provided with a boundary signal detecting device for sensing a boundary signal generated from theboundary line 300. Specifically, the boundary signal detection device includes a left boundarysignal detection device 101 and a right boundary signal detection device 101 'disposed at an interval on the body, and the control module determines the position relationship between themobile device 100 and theboundary line 300 according to the boundary signals detected (101, 101') by the left and right boundary signal detection devices. Here, the positional relationship includes the position of the self-movingapparatus 100 within theboundary line 300 or outside theboundary line 300, that is, whether the self-movingapparatus 100 is within theoperating region 500 or outside theoperating region 500, and the relationship of the traveling direction of the self-movingapparatus 100 and the return direction a of thereturn base station 200.
Specifically, left and right boundary signal detecting means (101, 101') are provided on the left and right sides of the center line of the body of themobile device 100, respectively. The boundary line detecting means receives an in-boundary line signal when within theboundary line 300, receives an out-boundary line signal when outside theboundary line 300, the in-boundary line signal and the out-boundary line signal having different polarities, and the self-movingapparatus 100 determines whether the self-moving apparatus finds theboundary line 300 or not according to the polarities of the boundary signals detected by the left and right boundary signal detecting means (101, 101'), and whether the traveling direction of the self-movingapparatus 100 is the same as or opposite to the returning direction a. Specifically, when the polarities of the boundary signals detected by the left and right boundary signal detecting means are opposite, it is determined that the self-movingapparatus 100 has reached theboundary line 300. That is, when one of the boundary signals detected by the left and right boundary signal detecting means is an inner boundary signal and the other is an outer boundary signal, the control module determines that theboundary line 300 is found from themobile device 100. When the boundary signals detected by the left and right boundary signal detection devices are both boundary internal signals, the control module determines that themobile device 100 is in the workingarea 500, and controls themobile device 100 to keep moving forward.
In this embodiment, the returningbase station 200 allows the self-mobile device 100 to return counterclockwise, that is, the returning direction a is counterclockwise. The specific steps of the control module controlling the self-movingdevice 100 to reversely walk along theboundary line 300 for the preset distance are as follows: when the left boundary line detection device receives a signal outside theboundary line 300 and the right boundary line detection device receives a signal inside theboundary line 300, the self-movingdevice 100 travels in a direction opposite to the return direction a, and the control module controls the automatic traveling device to start traveling in the reverse direction along theboundary line 300 and adjust the rotation speed of the two rear wheels at any time, so that the left boundary line detection device keeps receiving the signal outside theboundary line 300 and the right boundary line detection device keeps receiving the signal inside theboundary line 300. After keeping the state and walking reversely for the preset distance, themobile device 100 reaches the position D3, the control module controls themobile device 100 to turn around, namely turn 180 degrees in situ, walk clockwise along theboundary line 300, namely walk along the return direction a, and adjust the rotating speed of the two rear wheels at any time, so that the right boundary line detection device keeps receiving the signal outside theboundary line 300, and the left boundary line detection device keeps receiving the signal inside theboundary line 300. The self-movingdevice 100 keeps walking along theboundary line 300 until reaching the returningbase station 200.
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Before describing in detail embodiments that are in accordance with the present invention, it should be observed that the embodiments reside primarily in combinations of steps and system components related to a method and system for regressing path control from amobile device 100. Accordingly, the system components and method steps have been represented where appropriate by conventional symbols in the drawings, showing only those details that are pertinent to understanding the embodiments of the present invention so as not to obscure the disclosure with details that will be readily apparent to those of ordinary skill in the art having the benefit of the description herein.
For purposes of the present disclosure, the term "self-movingdevice 100" is defined broadly to include any device, apparatus or system having independent operation, including but not limited to a smart lawn mower or the like. When themobile device 100 is an intelligent lawn mower, it includes a mowing motor for driving the mowing tool to move, a driving motor for driving the mowing tool to move, and an energy storage unit (rechargeable lithium battery, fuel cell, etc.) for supplying driving energy to the motor. Furthermore, the term "regression base station 200" is also broadly defined, including but not limited to charging stations or rest stations. In addition, the term "boundary line 300" includes, but is not limited to, a conductive line.
The above embodiments are merely illustrative of the technical ideas and features of the present invention, and the purpose of the embodiments is to enable those skilled in the art to understand the contents of the present invention and implement the present invention, and not to limit the protection scope of the present invention. All modifications made according to the spirit of the main technical scheme of the invention are covered in the protection scope of the invention.