Control method and device for mower, and storage medium
By bypassing the charging station and reaching the back side of the lawn mower to continue working after charging, the problem of low operating efficiency of existing lawn mowers after charging is solved, enabling efficient operation and extending the life of the equipment.
Patent Information
- Application Number
- PCT/CN2023/116872
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-27
- Filing Date
- 2023-09-05
- Publication Date
- 2024-10-03
AI Technical Summary
Existing lawn mowers need to turn around and return to continue working after charging, resulting in low operating efficiency and increased equipment burden, affecting their lifespan.
After the charging is completed, the lawn mower is controlled to exit the preset distance from the entrance and exit side of the charging station to the preset position, and then bypass the charging station to the back side to continue working. The magnetic induction sensor is used to determine the magnetic field intensity on the left and right sides of the charging station to determine the strength of the magnetic field on the left and right sides of the charging station. Define work area boundaries for efficient operations.
It improves the working efficiency of the lawn mower, reduces the number of U-turns on the spot, eases the burden on the equipment, and extends the life of the equipment.
Smart Images

Figure CN2023116872_03102024_PF_FP_ABST
Abstract
Description
Control method, device and storage medium for lawn mower
[0001] This application claims priority to the Chinese patent application with application number 2023103584865 filed with the Patent Office of China on March 27, 2023, and with the invention name “A control method, device and storage medium for a lawn mower”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the technical field of intelligent lawn mowers, and in particular to a control method, device, and storage medium for a lawn mower. Background Art
[0003] A smart lawn mower (hereinafter referred to as a "lawn mower") is a garden tool used for mowing lawns, vegetation, and the like. It typically includes a self-propelled mechanism, a cutting blade, and a power source, such as a battery pack. Due to limitations such as battery energy density and production costs, the battery packs used in lawn mowers have a very limited capacity, resulting in a relatively small operating area. When operating over a large lawn, the mower must return to a charging station after a certain period of operation. After charging, it leaves the charging station and returns to its work area to continue mowing.
[0004] Existing lawn mowers typically have charging pads on the front. When returning to a charging station, the front of the mower moves to the charging port and connects to the charging pads. After charging is complete, the mower detaches from the charging station, turns around in front of the charging port, and moves away from the charging station to continue working.
[0005] This recharging solution means that the lawn mower needs to turn around and return to the working position after each charge and then adjust its position before it can resume working. This not only increases the burden on the lawn mower, but also greatly affects its operating efficiency.
[0006] Improving the operating efficiency of a lawn mower after charging is a technical problem that needs to be solved by those skilled in the art.
[0007] Application Contents
[0008] The purpose of the embodiments of the present application is to provide a control method, device and storage medium for a lawn mower to solve the technical problem of low operating efficiency of lawn mowers in the prior art. Technical Solutions
[0009] The technical solution adopted in the embodiment of this application is:
[0010] In a first aspect, an embodiment of the present application provides a method for controlling a lawn mower, comprising:
[0011] When the lawn mower is fully charged, the lawn mower is controlled to withdraw from the entrance and exit sides of the charging station by a first preset distance to a first preset position;
[0012] controlling the lawn mower to move forward from the first preset position and bypass the charging station to reach a back side of the charging station, wherein the back side and the inlet and outlet sides are located on opposite sides of the charging station;
[0013] The lawn mower is controlled to operate from the back side of the charging station.
[0014] In one embodiment, controlling the lawn mower to withdraw a first preset distance from the entrance and exit sides of the charging station to reach a first preset position includes:
[0015] Based on a first wire, the lawn mower is controlled to withdraw from the entrance and exit sides of the charging station by the first preset distance to reach the first preset position. The first wire is a wire that is wound around the working area of the lawn mower.
[0016] In one embodiment, controlling the lawn mower to withdraw a first preset distance from the entrance and exit sides of the charging station to reach a first preset position includes:
[0017] The lawn mower is controlled to retreat the first preset distance from the entrance and exit sides of the charging station along different retreat paths each time, so as to reach different first preset positions.
[0018] In one embodiment, controlling the lawn mower to move forward from the first preset position and bypass the charging station to reach the back side of the charging station includes:
[0019] determining a first position of the lawn mower starting to operate at the back side of the charging station;
[0020] generating a first path for the lawn mower to move from the first preset position to a working position according to the first posture;
[0021] The lawn mower is controlled to move from the first preset position along the first path to the working position.
[0022] In one embodiment, generating a first path for the lawn mower from the first preset position to the working position according to the first posture includes:
[0023] A first path is generated for the lawn mower to advance from the first preset position along a second conductive wire to the working position according to the first posture, where the second conductive wire is a conductive wire wound around the charging station.
[0024] In one embodiment, the first path satisfies that the angle at which the lawn mower is adjusted in the working position is smaller than a first preset angle.
[0025] In one embodiment, determining the first posture of the lawn mower starting to work at the back side of the charging station includes:
[0026] For each operation, the first posture at which the lawn mower starts working on the back side of the charging station is determined to be different.
[0027] In one embodiment, controlling the lawn mower to move forward from the first preset position and bypass the charging station to reach the back side of the charging station includes:
[0028] The lawn mower is controlled to move forward from the first preset position and bypass the charging station from either side of the left or right side of the charging station to reach the back side of the charging station.
[0029] In one embodiment, controlling the lawn mower to move forward from the first preset position and bypass the charging station to reach the back side of the charging station includes:
[0030] The lawn mower is controlled to move forward from the first preset position and alternately bypass the charging station from the left and right sides of the charging station to reach the back side of the charging station.
[0031] In one embodiment, before controlling the lawn mower to move forward from the first preset position and bypass the charging station to reach the back side of the charging station, the method includes:
[0032] Controlling the lawn mower to rotate from the first preset position toward the left and right sides of the charging station, respectively, and determining the magnetic field strength on the left and right sides of the charging station by a magnetic induction sensor;
[0033] The inside and outside of the working area are determined according to the magnetic field strength on the left and right sides of the charging station.
[0034] In one embodiment, the method of determining the magnetic field strength on the left and right sides of the charging station using the magnetic induction sensor includes:
[0035] When controlling the lawn mower to rotate from the first preset position to the left and right sides of the charging station, respectively, detecting changes in magnetic field strength on the left and right sides of the charging station by means of magnetic induction sensors;
[0036] The first magnetic field strength and the second magnetic field strength are determined based on the change in the magnetic field strength, wherein the first magnetic field strength is the maximum value of the magnetic field strength detected by the magnetic induction sensor during the rotation of the lawn mower toward the left side of the charging station, and the second magnetic field strength is the maximum value of the magnetic field strength detected by the magnetic induction sensor during the rotation of the lawn mower toward the right side of the charging station.
[0037] In one embodiment, during the process of controlling the lawn mower to rotate from the first preset position toward the left and right sides of the charging station, the method further includes:
[0038] detecting the magnetic field strength on the left and right sides of the charging station;
[0039] When the magnetic field strength changes from being enhanced to being weakened, controlling the lawn mower to rotate at a reduced speed;
[0040] When the lawn mower rotates to a second preset angle, the lawn mower is controlled to stop rotating.
[0041] In one embodiment, determining whether the area inside the working area and the area outside the working area are located according to the magnetic field strengths on the left and right sides of the charging station includes:
[0042] If the first magnetic field strength is greater than the second magnetic field strength, it is determined that the left side of the charging station is inside the working area and the right side of the charging station is outside the working area;
[0043] If the first magnetic field strength is less than the second magnetic field strength, it is determined that the right side of the charging station is inside the working area and the left side of the charging station is outside the working area.
[0044] In one embodiment, when controlling the lawn mower to rotate from the first preset position to the left and right sides of the charging station, the method includes:
[0045] The lawn mower is controlled to rotate from the first preset position to the left and right sides of the charging station by a third preset angle, wherein the third preset angle is not less than the angle corresponding to when the magnetic field intensity detected by the magnetic induction sensor reaches a maximum value.
[0046] In one embodiment, when the number of the magnetic induction sensors is greater than one, the third preset angle includes an angle corresponding to when the magnetic field intensity detected by any one of the magnetic induction sensors reaches a maximum value.
[0047] In one embodiment, when controlling the lawn mower to rotate from the first preset position to the left and right sides of the charging station, the method includes:
[0048] The lawn mower is controlled to shift from the first preset position to the left and right sides of the charging station by a second preset distance, wherein the second preset distance is not less than the distance corresponding to when the magnetic field intensity detected by the magnetic induction sensor reaches a maximum value.
[0049] In one embodiment, when the number of the magnetic induction sensors is greater than one, the second preset distance includes a distance corresponding to when the magnetic field intensity detected by any one of the magnetic induction sensors reaches a maximum value.
[0050] In a second aspect, an embodiment of the present application provides a control device for a lawn mower, comprising:
[0051] memory for storing computer programs;
[0052] The processor is configured to execute the computer program, wherein the computer program, when executed by the processor, implements the steps of any one of the above methods for controlling a lawn mower.
[0053] In a third aspect, an embodiment of the present application provides a storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the control method of the lawn mower as described in any one of the above items. Beneficial effects
[0054] The control method, device, and storage medium for a lawn mower provided by the embodiments of the present application have the following beneficial effects: when the lawn mower is fully charged, the lawn mower is controlled to withdraw from the entrance and exit of the charging station by a first preset distance to a first preset position, and then the lawn mower is controlled to move forward from the first preset position and bypass the charging station to reach the back side of the charging station opposite the entrance and exit, and then operate on the back side of the charging station. As a result, after the lawn mower is fully charged at the charging station, it can operate on the other side of the charging station without having to turn around on the spot at the entrance and exit of the charging station and waste a lot of time on the return path, thereby effectively improving the operating efficiency of the lawn mower and reducing the number of turns required by the lawn mower, thereby alleviating the burden on the lawn mower and extending the life of the lawn mower. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] In order to more clearly illustrate the embodiments of the present application or the technical solutions of the prior art, the following is a brief introduction to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0056] Figure 1 is a schematic diagram of the positional relationship between the lawn mower and the charging station during charging;
[0057] FIG2 is a schematic diagram of a conductor provided in an embodiment of the present application;
[0058] FIG3 is a schematic diagram of the principle of precise positioning based on a wire provided in an embodiment of the present application;
[0059] FIG4 is a waveform diagram of a conductor-based precise positioning method according to an embodiment of the present application;
[0060] FIG5 is a flow chart of a method for controlling a lawn mower provided by an embodiment of the present application;
[0061] FIG6 is a schematic diagram of a lawn mower provided by an embodiment of the present application retreating to a first preset position;
[0062] FIG7 is a schematic diagram of a lawn mower bypass charging station provided in an embodiment of the present application;
[0063] FIG8 is a schematic structural diagram of a control device for a lawn mower provided in an embodiment of the present application. DETAILED DESCRIPTION
[0064] In order to make the purpose, technical solutions and advantages of this application more clearly understood, the present application is further described in detail below with reference to 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 this application.
[0065] It should be noted that when a component is referred to as being "fixed on" or "disposed on" another component, it may be directly on the other component or indirectly on the other component. When a component is referred to as being "connected to" another component, it may be directly or indirectly connected to the other component. The terms "upper", "lower", "left", "right", etc. indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings. They are only for the convenience of description and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation. Therefore, they cannot be understood as limitations on this application. For ordinary technicians in this field, the specific meanings of the above terms can be understood according to the specific circumstances. The terms "first" and "second" are only used for the purpose of convenience of description and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features. "Multiple" means two or more, unless otherwise clearly and specifically defined.
[0066] In order to illustrate the technical solution provided by this application, a detailed description is given below with reference to specific drawings and embodiments.
[0067] Example 1
[0068] Figure 1 is a schematic diagram of the positional relationship between the lawn mower and the charging station during charging; Figure 2 is a schematic diagram of a wire provided in an embodiment of the present application; Figure 3 is a schematic diagram of the principle of precise positioning based on a wire provided in an embodiment of the present application; Figure 4 is a schematic diagram of a waveform of precise positioning based on a wire provided in an embodiment of the present application.
[0069] First, the lawn mower, charging station, positioning method, etc. involved in the control method of the lawn mower provided in the embodiment of the present application are described. These descriptions are only for the convenience of understanding the solution, and are not limited to the devices and equipment involved in the control method of the lawn mower provided in the embodiment of the present application. It must be based on such a structure or principle.
[0070] The lawn mower targeted by the embodiments of the present application may specifically be composed of a lawn mower body, a sensor, and a lawn mowing controller.
[0071] The lawn mower body can be composed of a cutter disc, an engine, running wheels, a running mechanism, a blade, an armrest, etc. Under the control of the lawn mower controller, it performs tasks such as line patrol and mapping, line patrol and mowing, or mowing within the area in the working area.
[0072] To facilitate user control, the lawn mower may also include a host computer located outside the lawn mower body. This host computer may be a terminal device such as a mobile phone, tablet computer, or personal computer. It may communicate with the lawn mower controller via wireless communication (such as Bluetooth or Wi-Fi), run the lawn mower control software, and provide the user with a control interface, a mowing visualization interface, etc. The lawn mower control method provided in the embodiments of the present application can be applied to the lawn mower controller or the host computer of the lawn mower controller.
[0073] The sensor is located on the lawn mower body and is used to provide the lawn mower controller with a positioning signal of the lawn mower body, environmental information about the environment in which the lawn mower body is located, and external reference signals for assisting the lawn mower in positioning. In an embodiment of the present application, the lawn mower continues to perform its work task after automatic recharging. The sensor may include a first sensor, a second sensor, and a third sensor. The first sensor is used to collect real-time positioning signals and send them to the lawn mower controller to determine the real-time position of the lawn mower body. Sensors such as positioning coils, gyroscopes, and global positioning systems (GPS) can be used. The second sensor is used to detect obstacles on the lawn mower's path while the lawn mower is moving. Laser sensors, visual sensors, temperature sensors, etc. can be used. The third sensor is used to sense wires located in the working area and obtain precise positioning signals from the wires. It needs to be configured in conjunction with the wires. Electromagnetic sensors, light detectors, temperature sensors, visual sensors, etc. can be used. It should be noted that the configuration of the first, second, and third sensors is only a functional example and does not mean that at least one of each sensor is included. For example, certain types of sensors may have one or more of these functions, or certain sensors may not be provided.
[0074] The charging station is a device that charges the lawn mower and can be installed inside, outside, or at the edge of the mower's operating area. It consists of a charging station, a charging cable, and a charging connector. The charging connector is located on the station so that it aligns with the mower's charging connector. The first end of the charging cable connects to the charging connector, and the second end of the charging cable can be connected to the battery or mains electricity.
[0075] As shown in Figure 1, a limiting device, including but not limited to a limiting track, a limiting fence, and a limiting mark, can be installed for the lawn mower 101 at the location where the charging electrode of the charging station 102 is facing. This allows the lawn mower 101 to detect the limiting track and drive along the limiting track into the charging station 102 to accurately connect with the charging electrode. After charging, the lawn mower 101 exits the limiting track and moves to a location where it can continue working.
[0076] The wire mentioned above is a device for assisting positioning within the working area of the lawn mower 101. It is configured in conjunction with a third sensor and can be located around the working area, within the working area, or outside the working area boundary, near the working area boundary. It can be installed using a ground-based wire or an underground wire. For ease of implementation, the wire can provide a precise positioning signal, which the third sensor collects and transmits to the lawn mower 101 controller to precisely locate the target lawn mower 101. The precise positioning system comprised of the wire and the third sensor can enable the target lawn mower 101 to identify the wire and obtain a positioning signal from the wire based on electromagnetic induction, photoelectric induction, temperature sensing, vision, or other methods, thereby precisely locating the target lawn mower 101 itself and correcting the positioning signal measured by the first sensor.
[0077] Please refer to Figures 2, 3, and 4. An embodiment of the present application provides a solution for accurately locating a lawn mower 101 based on a wire. By setting a signal providing device on the wire and / or a device on the wire, the target lawn mower 101 can identify the wire and accurately locate itself after entering the sensing area of the wire. The signal providing device can be an electric wire, a light emitter, a heater, an electronic tag, or a predetermined pattern, etc. Correspondingly, the third sensor can be an electromagnetic sensor, a photoelectric sensor, a temperature sensor, a card reader, or a camera, etc. As shown in Figure 2, an embodiment of the present application further illustrates an implementation method in which a signal generator and a signal receiver are used. Specifically, the two ends of the wire can be connected to the charging station 102, and a signal generator and a signal receiver can be set at the charging station 102 and the lawn mower 101 respectively. The lawn mower 101 interacts with the charging station 102 to obtain its precise position on the wire.
[0078] As shown in Figure 2, a wire is used as the signal transmission line, with the charging station 102 and the lawn mower 101 serving as the signal generator and signal receiver, respectively. The signal generator transmits a first signal s1 and a second signal s2 along the wire to the signal receiver. Based on the signal receiver's reception of the first signal s1 and the second signal s2, the path lengths of the signal receiver from the signal generator in both directions of the wire can be determined, thereby accurately locating the target lawn mower 101 on the wire. Figure 2 illustrates a schematic diagram in which the signal generator is located at the charging station 102 and the signal receiver is located at the target lawn mower 101. In practical applications, the reverse can be employed, with the signal generator located at the target lawn mower 101 and the signal receiver located at the charging station 102. The charging station 102 then determines the target lawn mower 101's precise location on the wire based on the first signal s1 and the second signal s2, and then transmits this location information back to the target lawn mower 101 via wireless communication.
[0079] As shown in Figure 3, let A be the location of charging station 102. Sixteen path nodes, such as p1 to p16, can be set on the wire. When mowing, the lawn mower 101 can be controlled to mow along the path of p16 - p15 - p14 - ... - p2 - p1 (or vice versa). That is, after mowing in a straight line within the working area, the lawn mower 101 reaches a path node on the wire and drives along the path node to the next path node for steering adjustment and precise positioning. Then, it turns around and returns to the working area to continue mowing in a straight line until it reaches the next path node on the wire. In other words, each time the lawn mower 101 reaches the wire, it can obtain a precise position.
[0080] Taking the example of a lawn mower 101 and a charging station 102 provided on a conductor as examples, respectively, a method for accurately positioning the lawn mower 101 based on the conductor may specifically include:
[0081] Determine the difference in distance between the signal generator and the signal receiver in the two directions on the wire based on a transmission time difference or phase difference between a first signal and a second signal sent by the signal generator to the signal receiver in two directions along the wire, thereby determining the relative position between the signal generator and the signal receiver;
[0082] determining a first precise position of the target lawn mower 101 according to the relative position between the signal generator and the signal receiver;
[0083] The signal generator is provided at the target lawn mower 101 , and the signal receiver is provided at the charging station 102 ; or the signal receiver is provided at the target lawn mower 101 , and the signal generator is provided at the charging station 102 .
[0084] Specifically, the signal generator can send the first signal and the second signal at the same time, or send the first signal and the second signal at different times. The transmission time of the first signal is determined by the transmission and reception time of the first signal, and the transmission time of the second signal is determined by the transmission and reception time of the second signal. In this way, the transmission time difference or phase difference between the first signal and the second signal can be determined.
[0085] As shown in Figures 2 and 4, assuming that the signal generator is located at the charging station 102 and the signal receiver is located at the lawn mower 101, when the target lawn mower 101 runs onto the wire, it receives the first signal s1 transmitted in the clockwise direction by the charging station 102 at time T0 at time T1, and receives the second signal s2 transmitted in the counterclockwise direction by the charging station 102 at time T2 at time T3. Assuming that the wire length from the lawn mower 101 to the charging station 102 in the clockwise direction is L2, and the wire length from the target lawn mower 101 to the charging station 102 in the counterclockwise direction is L1, the wire length is calculated by the following formula: L1-L2=[T3-T1-(T2-T0)]×V; L1+L2=L;
[0086] Wherein, V is the transmission rate of the first signal s1 and the second signal s2 along the wire, and L is the total length of the wire.
[0087] By detecting T3 / T1, the precise position of the lawn mower 101 on the wire can be obtained.
[0088] 2 , 3 , and 4 , the signal generator is located at the charging station 102 . However, the signal generator may also be located at any position on the conductor, not limited to the charging station 102 .
[0089] Example 2
[0090] Figure 5 is a flow chart of a control method for a lawn mower provided in an embodiment of the present application; Figure 6 is a schematic diagram of a lawn mower retreating to a first preset position provided in an embodiment of the present application; Figure 7 is a schematic diagram of a lawn mower bypassing a charging station provided in an embodiment of the present application.
[0091] As shown in FIG5 , the control method of the lawn mower provided in the embodiment of the present application includes:
[0092] S501: When the lawn mower is fully charged, the lawn mower is controlled to withdraw from the entrance and exit sides of the charging station by a first preset distance to a first preset position.
[0093] S502: Control the lawn mower to move forward from the first preset position and bypass the charging station to reach the back side of the charging station, where the back side and the entrance and exit sides are located on opposite sides of the charging station.
[0094] S503: Control the lawn mower to operate from the back side of the charging station.
[0095] A lawn mower has three main operating modes: line-patrol mapping mode, line-patrol mowing mode, and in-area mowing mode. Line-patrol mapping mode is typically used when a mower reaches a new or unknown work area. Specifically, the mower identifies boundary signals from wires pre-placed in the work area and automatically drives along them to determine the scope of the work area. Line-patrol mowing mode involves mowing along wires, which can include boundary wires around the work area or wires within the work area. In-area mowing mode, the mower mows within the work area. When mowing within the work area, the mower uses a combination of its real-time position sensed by its first sensor and the position of the wires sensed by its third sensor to determine its position, mowing as it moves.
[0096] The control method for a lawn mower provided in the embodiments of the present application can be applied to, but not limited to, the three operating modes described above. In any operating mode, when the lawn mower needs to charge, it automatically plans a path to the charging station for charging. After charging is complete, the existing solution is for the lawn mower to return from the charging station to the breakpoint (i.e., the location where it determines to pause operation and charge) to continue operation. Depending on the breakpoint location, the lawn mower may need to make a large turn on the spot and travel a long path to reach the breakpoint. This not only increases the burden on the lawn mower, but also leaves the lawn mower idle on the return path, resulting in low operating efficiency. In response, the control method for a lawn mower provided in the embodiments of the present application controls the lawn mower to exit the charging station from the entrance and exit side of the charging station (e.g., the area with the limit track facing the charging electrode shown in Figure 1), then retreat a first preset distance to a first preset position. After leaving room for turning, the lawn mower moves forward, bypasses the charging station, and continues operation from the back side of the charging station (the other side of the charging station entrance and exit). This eliminates the need to turn around and return, which wastes a lot of time on the return path, effectively improving the operating efficiency of the lawn mower.
[0097] In the specific implementation, for S501, as shown in Figures 6 and 7, the starting point and end point of the boundary wire d1 intersect at the charging station 102, the charging station 102 is located at point A (which can be the center point of the charging station 102), and a charging electrode is provided at the front of the lawn mower 101. When the lawn mower 101 is low on power, it moves from the inlet and outlet side of the charging station 102 to the charging station 102 and docks with the charging electrode of the charging station 102 for charging; after the lawn mower 101 is charged, the lawn mower 101 withdraws from the inlet and outlet side of the charging station 102 and further moves to a first preset position B away from the charging station 102. Among them, the first preset position B can be the position reached by the lawn mower 101 after retreating in a straight line for a first preset distance after exiting the entrance of the charging station 102, or it can be the position reached by the lawn mower 101 after retreating to the left rear or to the right rear after exiting the entrance of the charging station 102. For example, the lawn mower 101 shown in Figure 6 backs up and goes around the left side of the charging station 102. Then, the first preset position B can be the position reached by the lawn mower 101 after retreating to the right rear after exiting the entrance of the charging station 102, so that the lawn mower 101 adjusts the front angle to a position facing the left side of the charging station 102 during the retreat process, and there is no need to turn on the spot at the first preset position B. Alternatively, if the lawn mower 101 is to back up and go around the right side of the charging station 102, the first preset position B can be the position reached by the lawn mower 101 after exiting the entrance and exit of the charging station 102 and backing up to the left rear, so that the lawn mower 101 can adjust the front angle to a position facing the right side of the charging station 102 during the backing process, without having to turn in place at the first preset position B.
[0098] It should be noted that the location of the charging station 102 mentioned in the embodiment of the present application is not limited to the charging station 102 being on the conductor d1 (boundary conductor, set through the central axis of the charging station 102) as shown in Figures 6 and 7, that is, the charging station 102 can be located on the boundary of the working area, or outside the boundary of the working area, and the inlet and outlet of the charging station 102 and the back side of the charging station 102 can be respectively facing the conductors in two directions of the boundary conductor as shown in Figures 6 and 7, or one side can be facing the inside of the working area and the other side can be facing the outside of the working area, or any other direction. Therefore, in the embodiment of the present application, only the inlet and outlet sides of the charging station 102 and the back side of the charging station 102 are used as the basis for dividing the area. Then, when the lawn mower 101 starts working, it can also work in the area facing the inlet and outlet sides of the charging station 102 according to the divided area, and then continue working from the back side of the charging station 102 after going to the charging station 102 to charge, thereby achieving efficient operation.
[0099] Then for S502, as shown in Figures 6 and 7, the lawn mower 101 is controlled to move forward from the first preset position B and bypass the charging station 102, and then arrive at the back side of the charging station 102 (i.e., another partition compared to the working partition before charging). The first path passed by the bypass can be shown as r1, but is not limited to r1.
[0100] In order to facilitate accurate detours for the lawn mower 101, the lawn mower 101 is controlled to locate on the first path along the signal provided around the charging station 102. Since the charging station 102 is provided with a charging pile wire (i.e., the charging wire around the charging pile), the magnetic field signal of the charging pile wire can be sensed by an electromagnetic sensor provided on the lawn mower 101 based on the principle of electromagnetic induction, so that the lawn mower 101 can be driven along the edge of the charging station 102 without the need for additional auxiliary positioning devices. Alternatively, a positioning wire can be pre-set around the charging station 102. The wire can be set in a groove at the bottom of the charging station 102 and can also be powered on to enable the lawn mower 101 to sense the position of the wire based on the principle of electromagnetic induction, or the lawn mower 101 can be made to sense the wire and detour around the charging station 102 along the wire based on the solution for precise positioning based on the wire as provided in the first embodiment of the present application.
[0101] Based on the type of signal assisting the lawn mower 101 in circumventing the charging station 102, the positional relationship between the lawn mower 101 and the signal source is further set. For example, if a wire is set at position r1 as shown in Figures 6 and 7, the wire is positioned between the two running wheels when the lawn mower 101 is in the first preset position B. As the lawn mower 101 moves along the first path, the wire is continuously adjusted to approach the running wheel on the side of the lawn mower 101 near the charging station 102, until the running wheel on the side of the lawn mower 101 near the charging station 102 touches, overlaps, or passes over the wire (so that the wire is positioned a third preset distance outside the running wheel). The distance at which the lawn mower 101 can sense the wire is maintained, and the position of the lawn mower 101 is continuously adjusted.
[0102] Based on the solution for precise positioning based on wires provided in the first embodiment of the present application, the signal that assists the lawn mower 101 in bypassing the charging station 102 can also be a signal that assists the lawn mower 101 in positioning on the first path. After identifying the wires, the lawn mower 101 can complete precise positioning based on the wires to accurately and smoothly drive to the position where it continues working.
[0103] In S503, under different operating modes, the lawn mower 101 is controlled to operate from the back side of the charging station 102 according to the corresponding continued operation mode, or the lawn mower 101 can be controlled to switch to another operating mode to continue operation after reaching the back side of the charging station 102 according to the settings. As mentioned above, the back side of the charging station 102 can include a pre-demarcated area that the back side of the charging station 102 faces. Therefore, the operation from the back side of the charging station 102 in S503 can be based on the continued operation position determined in advance (according to different operating modes) or can be performed at a re-planned continued operation position.
[0104] Specifically, the operation performed from the back side of the charging station 102 in S503 may be performed along the mowing boundary wire from the back side of the charging station 102. When the lawn mower 101 is in the line patrol mode (including but not limited to the line patrol mapping mode and the line patrol mowing mode), the planned location for continued operation may be the boundary wire on the back side of the charging station 102.
[0105] On this basis, the lawn mower 101 can also move in the direction of the entrance and exit sides of the charging station 102 when performing line patrol operations. Specifically, referring to Figures 6 and 7, in the line patrol operation mode, it is assumed that the lawn mower 101 moves clockwise around the boundary wire d1 when operating before charging, and when it needs to be charged midway, it goes to the charging station 102 and enters the charging station 102 from the entrance and exit sides of the charging station 102 for charging. After charging, the lawn mower 101 retreats from the entrance and exit sides of the charging station 102 to the first preset position B, bypasses the charging station 102 along the path r1, and then arrives at the C position on the back side of the charging station 102 and on the boundary wire d1, and then continues the line patrol mapping operation or line patrol mowing operation from the C position. This ensures that the charging direction and the moving direction of the lawn mower 101 are the same, and it can be moved directly to the charging station 102 for charging without turning around.
[0106] In the area mowing mode, as in the line patrol operation mode, the mowing blades and other mowing components can be started to continue operation after the mower 101 reaches the back side of the charging station 102 from the first preset position B, or the mowing blades and other mowing components can be started to continue operation after retreating to the first preset position B, thereby further improving the efficiency of mowing operations in the area.
[0107] The control method for a lawn mower provided in an embodiment of the present application controls the lawn mower to withdraw a first preset distance from the entrance and exit of the charging station to a first preset position when the lawn mower is fully charged. The lawn mower is then controlled to move forward from the first preset position and bypass the charging station to reach the back side of the charging station opposite the entrance and exit, and then to operate on the back side of the charging station. As a result, the lawn mower can operate on the other side of the charging station after completing charging at the charging station, without having to turn around on the spot at the entrance and exit of the charging station and waste a lot of time on the return path. This effectively improves the operating efficiency of the lawn mower and reduces the number of turns required by the lawn mower, thereby alleviating the burden on the lawn mower and extending its life.
[0108] Example 3
[0109] Based on the above embodiment, in the control method of the lawn mower provided in the embodiment of the present application, in S501, the lawn mower is controlled to withdraw a first preset distance from the entrance and exit sides of the charging station to reach a first preset position, which can be specifically:
[0110] The lawn mower is controlled to retreat a first preset distance from the entrance and exit sides of the charging station according to different retreat paths each time, so as to reach different first preset positions.
[0111] In a specific implementation, to prevent the lawn mower from using the same path each time it exits the charging station to the first preset position, thereby causing significant damage to the lawn along that path, the lawn mower is configured to exit from the charging station to a different first preset position each time, thereby traversing a different retreat path. The method for exiting to different first preset positions can be to use different first preset distances. For example, if the lawn mower retreats in a straight line, the first preset distance after the first charge can be one meter, and after the second charge, the first preset distance can be two meters. Furthermore, if the lawn mower does not retreat in a straight line, it can retreat at different angles each time, or retreat at the same angle but different first preset distances, thereby reaching a different first preset position and traversing a different retreat path after each charge.
[0112] At the same time, the lawn mower bypasses the charging station along the same path after each charging. In S502, the lawn mower is controlled to move forward from the first preset position and bypass the charging station to reach the back side of the charging station. Specifically, it can be: the lawn mower is controlled to move forward from the first preset position and bypass the charging station from any one of the left and right sides of the charging station to reach the back side of the charging station.
[0113] That is, at the first preset position in front of the charging station, the mower can be controlled to follow a path to the left of the charging station and bypass the charging station. Alternatively, the mower can be controlled to follow a path to the right of the charging station and bypass the charging station. This solution is simple and does not require planning multiple paths.
[0114] In another embodiment, if the lawn mower follows the same path and bypasses the charging station after each charge, the lawn along the path will be severely damaged. Therefore, considering the issue of lawn protection, in S502, the lawn mower is controlled to move forward from the first preset position and bypass the charging station to reach the back side of the charging station. Specifically, the following steps may be performed:
[0115] The lawn mower is controlled to move forward from a first preset position and alternately bypass the charging station from the left and right sides of the charging station to reach the back side of the charging station.
[0116] Typically, controlling the lawn mower to go around one side of the charging station may include controlling the lawn mower to move forward from the first preset position B and to go around alternately from the left and right sides of the charging station to the back side of the charging station.
[0117] While controlling the lawn mower to move forward from the first preset position and alternately bypass the charging station from both sides to reach the back side of the charging station, the lawn mower can also be controlled to adopt a different bypass path when bypassing each side of the charging station to reduce damage to the lawn on the same path.
[0118] The left and right sides of the charging station can be one side inside the working area and one side outside the working area respectively. Therefore, before S502, the lawn mower can be controlled to rotate to the left and right sides of the charging station respectively at the first preset position, and the magnetic field strength on the left and right sides of the charging station is determined by the magnetic induction sensor in the lawn mower; the inside and outside of the working area are judged according to the magnetic field strength on the left and right sides of the charging station, and then the lawn mower is controlled to move forward from the first preset position and bypass the charging station to reach the back side of the charging station according to the judgment result.
[0119] That is, at the first preset position, the magnetic field strength detected by the magnetic induction sensor can be used to determine which of the left and right sides of the charging station is inside or outside the working area. Specifically, after determining the working area, the lawn mower can be controlled to advance from the first preset position and bypass the charging station from either the inside or outside side of the working area to reach the back of the charging station. Alternatively, the lawn mower can be controlled to alternate between bypassing the charging station from inside and outside the working area according to a preset rule to reach the back of the charging station. The preset rule can be to alternate between bypassing the charging station from inside and outside the working area in sequence, i.e., the lawn mower walks inside the working area once, then walks outside the working area once, alternating in sequence. Alternatively, the lawn mower can walk inside the working area a preset number of times, then alternately walk outside the working area a preset number of times, alternating in sequence. Alternatively, the lawn mower can walk inside the working area n times, then alternately walk outside the working area m times, where n and m are unequal, and the steps are alternating in sequence.
[0120] In one embodiment, because the magnetic induction sensor is mounted on the lawn mower and fixed relative to the lawn mower, the step of determining the magnetic field strength on the left and right sides of the charging station using the magnetic induction sensor specifically includes: detecting changes in the magnetic field strength on the left and right sides of the charging station using the magnetic induction sensor while the lawn mower is controlled to rotate from a first preset position toward the left and right sides of the charging station; and determining a first magnetic field strength and a second magnetic field strength based on the changes in the magnetic field strength, wherein the first magnetic field strength is the maximum magnetic field strength detected by the magnetic induction sensor during the lawn mower's rotation toward the left side of the charging station, and the second magnetic field strength is the maximum magnetic field strength detected by the magnetic induction sensor during the lawn mower's rotation toward the right side of the charging station. Specifically, when the lawn mower is controlled to rotate from the first preset position toward the left and right sides of the charging station, the magnetic induction sensor detects the magnetic field strength on the left and right sides of the charging station. When the magnetic field strength changes from increasing to decreasing, the lawn mower is controlled to decelerate. When the lawn mower rotates to a second preset angle, the lawn mower is controlled to stop rotating.
[0121] In a specific implementation, the lawn mower can be controlled to rotate from a first preset position to the left and right sides of the charging station, so as to drive the magnetic induction sensor to rotate to the left and right sides of the charging station. When the lawn mower is controlled to rotate to the left and right sides of the charging station, it is determined whether the magnetic field strength detected by the magnetic induction sensor first increases and then decreases; if it is determined that the magnetic field strength first increases and then decreases, the first magnetic field strength and the second magnetic field strength are determined, and the rotation inside the working area and outside the working area are further determined by the first magnetic field strength and the second magnetic field strength.
[0122] As an example, the lawn mower is first controlled to rotate leftward from a first preset position. The magnetic induction sensor detects that the magnetic field strength first increases to a first magnetic field strength and then begins to weaken. At this time, the lawn mower is controlled to decelerate and stop rotating when the lawn mower rotates to a second preset angle. The lawn mower is then controlled to rotate rightward from the first preset position. The magnetic induction sensor detects that the magnetic field strength first increases to a second magnetic field strength and then begins to weaken. At this time, the lawn mower is controlled to decelerate and stop rotating when the lawn mower rotates to the second preset angle, or when the lawn mower moves to a second preset distance. Furthermore, the step of determining whether the working area is inside or outside the working area based on the magnetic field strengths on the left and right sides of the charging station specifically includes: comparing the first magnetic field strength and the second magnetic field strength; if the first magnetic field strength is greater than the second magnetic field strength, determining that the left side of the charging station is inside the working area and the right side of the charging station is outside the working area; if the first magnetic field strength is less than the second magnetic field strength, determining that the right side of the charging station is inside the working area and the left side of the charging station is outside the working area.
[0123] In one embodiment, when controlling the lawn mower to rotate from a first preset position toward the left and right sides of the charging station, the lawn mower is controlled to rotate from the first preset position toward the left and right sides of the charging station, respectively, by a third preset angle. The third preset angle is no less than the angle corresponding to when the magnetic field intensity detected by the magnetic induction sensor reaches a maximum value, or a preset fixed angle. In other words, the magnetic field intensity detected by the magnetic induction sensor increases within a certain angle away from the boundary wire, and gradually decreases beyond this angle. Therefore, in this embodiment, the lawn mower is controlled to rotate to the angle corresponding to when the magnetic field intensity detected by the magnetic induction sensor reaches a maximum value. Alternatively, the desired rotation angle for the lawn mower when the magnetic field intensity detected by the magnetic induction sensor reaches a maximum value is pre-detected, and then fixed as a fixed angle. When controlling the lawn mower to rotate, the lawn mower can be directly moved to this fixed angle.
[0124] When there are more than one magnetic induction sensor, the third preset angle includes the angle corresponding to when the magnetic field intensity detected by any one of the magnetic induction sensors reaches a maximum, or a fixed angle preset for any one of the magnetic induction sensors. Specifically, when there are more than one magnetic induction sensor, they are typically installed on both sides of the lawn mower. In this case, only one magnetic induction sensor needs to be selected as the reference, and the angle controlled by the lawn mower can be the angle corresponding to when the magnetic field intensity detected by the reference magnetic induction sensor reaches a maximum, or the fixed angle preset for the magnetic induction sensor.
[0125] In another embodiment, when controlling the lawn mower to rotate from a first preset position toward the left and right sides of the charging station, the lawn mower is controlled to offset from the first preset position toward the left and right sides of the charging station, respectively, by a second preset distance. The second preset distance is no less than the distance corresponding to when the magnetic field strength detected by the magnetic induction sensor reaches a maximum value. In other words, the magnetic field strength detected by the magnetic induction sensor increases within a certain distance away from the boundary wire, and gradually decreases beyond this distance. Therefore, in this embodiment, the lawn mower is controlled to move to the distance corresponding to when the magnetic field strength detected by the magnetic induction sensor reaches a maximum value. Alternatively, the distance required for the lawn mower to move when the magnetic field strength detected by the magnetic induction sensor reaches a maximum value is pre-detected, and then this distance is fixed to form a fixed distance. When controlling the lawn mower to move, the lawn mower can be directly moved to this fixed distance.
[0126] When there are more than one magnetic induction sensor, the second preset distance includes the distance corresponding to when the magnetic field strength detected by any one of the magnetic induction sensors reaches a maximum value, or a fixed distance preset by any one of the magnetic induction sensors. Specifically, when there are more than one magnetic induction sensor, they are typically installed on both sides of the lawn mower. In this case, only one magnetic induction sensor needs to be selected as the reference, and the distance controlled to move the lawn mower can be the distance corresponding to when the magnetic field strength detected by the reference magnetic induction sensor reaches a maximum value, or the fixed distance preset by the magnetic induction sensor.
[0127] Example 4
[0128] Based on the above embodiment, the embodiment of the present application further describes a solution for the lawn mower to continue operating after charging. In the control method of the lawn mower provided in the embodiment of the present application, S502 controls the lawn mower to move forward from the first preset position and bypass the charging station to reach the back side of the charging station, specifically including:
[0129] Determine the first position of the mower at the back of the charging station;
[0130] generating a first path for the lawn mower to advance from the first preset position to the working position according to the first posture;
[0131] The lawn mower is controlled to move from a first preset position along a first path to a working position.
[0132] To accurately plan the path for the lawn mower to continue operating after charging and avoid missing the work area, the embodiment of the present application first determines the first position for the lawn mower to start operating on the back side of the charging station based on the mode in which the lawn mower is to be controlled to continue operating (the operating mode before charging can be continued or the operating mode can be reset). For example, in the line patrol operation mode, the operating position for the lawn mower to start operating on the back side of the charging station can be selected within the sensing area on the conductor or around the conductor; in the in-area mowing mode, the operating position for the lawn mower to start operating on the back side of the charging station can be selected within the sensing area on the conductor or around the conductor, or a position within the working area on the back side of the charging station that is closer to the charging station or a path node on the conductor that is closer to the charging station can be selected. The posture of the lawn mower when it starts working on the back side of the charging station can be the posture of the lawn mower after reaching the position where it starts working on the back side of the charging station, that is, the posture is adjusted on the spot before continuing to work; it can also be the posture of the lawn mower after it reaches the position where it starts working on the back side of the charging station according to the path it takes to bypass the charging station, and then the posture is adjusted while working.
[0133] Based on the first posture of the lawn mower starting to work on the back side of the charging station, a first path is generated from the first preset position to the working position. Specifically, it can be generated based on the coordinates of the first preset position, the coordinates of the working position, the position of known obstacles, and the first path traveled in the historical records, thereby obtaining a first path that can bypass the charging station and avoid obstacles from the first preset position to the working position, while avoiding repeatedly crushing the lawn in the same position.
[0134] When controlling the lawn mower to advance from the first preset position along the first path to the working position, if the preset first path cannot be executed due to unknown obstacles on the road or the ground is slippery, the position of the sensing wire can be used to accurately locate the mower and then re-plan the path to the working position.
[0135] The first path may not be a precise path, that is, as described in the second embodiment of the present application, the lawn mower may detour around the charging station by induction of a wire that is arranged around the charging station.
[0136] On this basis, to prevent the mower from making large pivot turns on the lawn, which could burden the mower's components and damage the lawn, a first path can be set to ensure that the angle at which the mower adjusts to the working position is less than a first preset angle. The first preset angle can be less than 90°, or can be set based on the mower type or lawn type. Alternatively, different first preset angles can be set at different locations within the working area, minimizing large pivot turns in densely populated areas while allowing for larger pivot turns in sparsely populated areas.
[0137] When the working area is large, the lawn mower may need to be charged multiple times during operation. In this case, the first position for the lawn mower to start working at the back of the charging station can be determined. Specifically, it can be:
[0138] For each operation, the first position at which the lawn mower starts working at the back side of the charging station is different.
[0139] Specifically, when planning the working position for continuing operation after each charging, different working positions are selected, and then different working paths are moved from different working positions. This further improves the working efficiency of the lawn mower by going to different working positions each time while ensuring that the working direction is consistent with the import and export directions of the charging station.
[0140] Example 5
[0141] Based on the above embodiment, a first conductor may be provided around the working area of the lawn mower, and a second conductor may be provided around the charging station;
[0142] The lawn mower is controlled to withdraw a first preset distance from the entrance and exit of the charging station to reach a first preset position. Specifically, based on the first wire, the lawn mower is controlled to withdraw a first preset distance from the entrance and exit of the charging station to reach the first preset position.
[0143] The lawn mower is controlled to operate from the back side of the charging station, specifically: based on the first wire, the lawn mower is controlled to operate from the back side of the charging station.
[0144] A first path for the lawn mower to advance from the first preset position to the working position is generated according to the first posture, specifically: a first path for the lawn mower to advance from the first preset position along the second guide wire to the working position is generated according to the first posture.
[0145] In a specific implementation, the first conductor may refer to the boundary conductor described in the above embodiments of this application, such as the boundary conductor d1 shown in Figures 6 and 7. The second conductor may refer to the conductor that surrounds the charging station 102 described in the above embodiments of this application, and may be directly selected from the charging cable of the charging station 102 itself, or a separate conductor may be provided.
[0146] As shown in Figures 6 and 7, the first conductor can pass through the central axis of the charging station 102, and the inlet and outlet sides of the charging station 102 and the back side of the charging station 102 are respectively facing the two directions of the first conductor. The first preset position B can be located on the first conductor, that is, the lawn mower 101 retreats to the first preset position B along the first conductor after charging. By sensing the second conductor, the location of the charging station 102 can be known, and then the back area of the charging station 102 and the working position for continuing operation can be determined. Therefore, in the embodiment of the present application, after determining the first posture of the lawn mower 101 at the working position for continuing operation, a first path is generated from the first preset position along the second conductor to the working position, and the lawn mower 101 is controlled to move forward along the first path by sensing the second conductor.
[0147] The first and second conductors can be different types of conductors, so that the mower 101 can determine the positional relationship between the first and second conductors and itself by sensing different signals. In line-following mode, in-area mowing mode, when the mower continues from a boundary conductor, or in-operation mowing mode, when the mower fails to execute the first path and needs to re-position accurately, as shown in Figures 6 and 7, the mower 101 can sense the first conductor at a first preset position B, then sense the second conductor to determine the first path around the charging station 102, and then sense the first conductor to proceed to position C on the first conductor.
[0148] In the second embodiment of the present application, a method is described for controlling a lawn mower 101 to move from a first preset position B around a charging station 102 to a continuing operation position by adjusting the positional relationship between the wire and the running wheels by sensing the wire disposed around the charging station 102. Based on this, by adopting the scheme for disposing a first wire and a second wire as provided in the embodiment of the present application, the signal waveform of the first wire can be set to signal waveform a, and the signal waveform of the second wire can be set to signal waveform b. Then, when the lawn mower 101 moves on the first wire, the third sensor on the lawn mower 101, which is used to sense the first wire, senses signal waveform a, and the running wheels on both sides of the lawn mower 101 are controlled to move on both sides of the first wire. Specifically, the movement position of the lawn mower 101 can be controlled by controlling the signal strength of signal waveform a sensed by the third sensor. If the third sensor is positioned between the running wheels on both sides of the lawn mower 101, then when signal waveform a is sensed, the lawn mower 101 is controlled to move so that the signal sensed by the third sensor is the strongest. Thus, by controlling the signal strength of signal waveform a sensed by the third sensor, the running wheels on both sides of the lawn mower 101 can be controlled to move on both sides of the first wire. Similarly, when the third sensor on the lawn mower 101 for sensing the second wire (which may be the same sensor as the third sensor for sensing the first wire or a different sensor) senses the signal waveform b, the waveform intensity sensed by the third sensor can be controlled to be within a preset threshold range to control the walking wheel of the lawn mower 101 on the side close to the charging station 102 to move along the second wire, so that the second wire is close to the walking wheel of the lawn mower 101 on the side close to the charging station 102 and is located on the inside or outside of the walking wheel.
[0149] The first wire and the second wire can send signal waveforms simultaneously or alternately. The sending form of the signal waveform can refer to the introduction of the above embodiments of the present application, but is not limited to the sending form provided in the above embodiments of the present application.
[0150] The above describes in detail various embodiments corresponding to the control method of the lawn mower. On this basis, the present application also discloses a control device and a storage medium for the lawn mower corresponding to the above method.
[0151] Example 6
[0152] FIG8 is a schematic structural diagram of a control device for a lawn mower provided in an embodiment of the present application.
[0153] As shown in FIG8 , the control device of the lawn mower provided in the embodiment of the present application includes:
[0154] a memory 810 for storing a computer program 811;
[0155] The processor 820 is configured to execute the computer program 811 . When the computer program 811 is executed by the processor 820 , the steps of the method for controlling a lawn mower as described in any one of the above embodiments are implemented.
[0156] Among them, the processor 820 may include one or more processing cores, such as a 3-core processor, an 8-core processor, etc. The processor 820 can be implemented in at least one hardware form of digital signal processing DSP (Digital Signal Processing), field programmable gate array FPGA (Field-Programmable Gate Array), and programmable logic array PLA (Programmable Logic Array). The processor 820 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as the central processing unit CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 820 may be integrated with a graphics processing unit GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 820 may also include an artificial intelligence AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.
[0157] The memory 810 may include one or more storage media, which may be non-transitory. The memory 810 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In this embodiment, the memory 810 is at least used to store the following computer program 811, wherein, after the computer program 811 is loaded and executed by the processor 820, it can implement the relevant steps in the control method of the lawn mower disclosed in any of the aforementioned embodiments. In addition, the resources stored in the memory 810 may also include an operating system 812 and data 813, etc., and the storage method may be temporary storage or permanent storage. Among them, the operating system 812 may be Windows. The data 813 may include but is not limited to the data involved in the above method.
[0158] In some embodiments, the control device of the lawn mower may further include a display screen 830 , a power supply 840 , a communication interface 850 , an input / output interface 860 , a sensor 870 , and a communication bus 880 .
[0159] Those skilled in the art will appreciate that the structure shown in FIG. 8 does not limit the control device of the lawn mower and may include more or fewer components than shown in the figure.
[0160] The lawn mower control device provided in an embodiment of the present application includes a memory and a processor. When the processor executes the program stored in the memory, it can implement the lawn mower control method as described above, and the effect is the same as above.
[0161] Example 7
[0162] It should be noted that the above-described embodiments of the apparatus and equipment are merely illustrative. For example, the division of modules is merely a logical function division. In actual implementation, there may be other division methods, such as multiple modules or components may be combined or integrated into another system, or some features may be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, indirect coupling or communication connection of the apparatus or module, which may be electrical, mechanical or other forms. The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, they may be located in one place, or they may be distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment.
[0163] In addition, the functional modules in the various embodiments of the present application may be integrated into a processing module, or each module may exist physically separately, or two or more modules may be integrated into a single module. The above-mentioned integrated modules may be implemented in the form of hardware or software functional modules.
[0164] If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it can be stored in a storage medium. Based on this understanding, the technical solution of this application, or the part that contributes to the existing technology, or all or part of the technical solution can be embodied in the form of a software product. This computer software product is stored in a storage medium and performs all or part of the steps of the method described in each embodiment of this application.
[0165] To this end, an embodiment of the present application further provides a storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the control method for a lawn mower are implemented.
[0166] The storage medium may include: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, etc., which can store program codes.
[0167] The computer program contained in the storage medium provided in this embodiment can implement the steps of the above-mentioned method for controlling a lawn mower when executed by a processor, and the effects are the same as above.
[0168] The above is a detailed introduction to the control method, device and storage medium for a lawn mower provided by the present application. The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same and similar parts between the various embodiments can be referred to each other. As for the devices and storage media disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the description is relatively simple, and the relevant parts can be referred to the method part description. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of this application, several improvements and modifications can be made to this application, and these improvements and modifications also fall within the scope of protection of the claims of this application.
[0169] It should also be noted that, in this specification, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variants thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or apparatus. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article, or apparatus comprising the element.
Claims
1. A method for controlling a lawn mower, characterized in that: include: When the lawn mower is fully charged, controlling the lawn mower to withdraw from the entrance and exit sides of the charging station by a first preset distance to a first preset position; Controlling the lawn mower to move forward from the first preset position and bypass the charging station to reach the back side of the charging station, wherein the back side and the inlet and outlet side are located on opposite sides of the charging station; The lawn mower is controlled to operate from the back side of the charging station.
2. The control method according to claim 1, characterized in that: The controlling the lawn mower to withdraw a first preset distance from the entrance and exit side of the charging station to reach a first preset position includes: Based on a first wire, the lawn mower is controlled to withdraw from the entrance and exit sides of the charging station by the first preset distance to reach the first preset position, wherein the first wire is a wire wound around the working area of the lawn mower.
3. The control method according to claim 1, characterized in that: The controlling the lawn mower to withdraw a first preset distance from the entrance and exit side of the charging station to reach a first preset position includes: The lawn mower is controlled to retreat the first preset distance from the entrance and exit sides of the charging station according to different retreat paths each time, so as to reach different first preset positions.
4. The control method according to claim 1, characterized in that: The controlling the lawn mower to move forward from the first preset position and bypass the charging station to reach the back side of the charging station includes: Determine a first position of the lawn mower starting to work on the back side of the charging station; generating a first path for the lawn mower to move from the first preset position to a working position according to the first posture; The lawn mower is controlled to move from the first preset position along the first path to the working position.
5. The control method according to claim 4, characterized in that: The step of generating a first path for the lawn mower to move from the first preset position to the working position according to the first posture includes: A first path is generated for the lawn mower to move from the first preset position along a second wire to the working position according to the first posture, wherein the second wire is a wire wound around the charging station.
6. The control method according to claim 4, characterized in that: The first path satisfies that the angle at which the lawn mower is adjusted at the working position is smaller than a first preset angle.
7. The control method according to claim 4, characterized in that: The step of determining a first posture of the lawn mower starting to work at the back side of the charging station comprises: For each operation, the first posture at which the lawn mower starts the operation at the back side of the charging station is determined to be different.
8. The control method according to claim 1, characterized in that: The controlling the lawn mower to move forward from the first preset position and bypass the charging station to reach the back side of the charging station includes: The lawn mower is controlled to move forward from the first preset position and bypass the charging station from any one of the left and right sides of the charging station to reach the back side of the charging station.
9. The control method according to claim 1, characterized in that: The controlling the lawn mower to move forward from the first preset position and bypass the charging station to reach the back side of the charging station includes: The lawn mower is controlled to move forward from the first preset position and bypass the charging station from the left and right sides of the charging station alternately to reach the back side of the charging station.
10. The control method according to any one of claims 1 to 9, characterized in that: Before controlling the lawn mower to move forward from the first preset position and bypass the charging station to reach the back side of the charging station, the method includes: Controlling the lawn mower to rotate from the first preset position to the left and right sides of the charging station respectively, and determining the magnetic field strength on the left and right sides of the charging station by means of a magnetic induction sensor; The inside and outside of the working area are determined according to the magnetic field strength on the left and right sides of the charging station.
11. The control method according to claim 10, characterized in that: The method for determining the magnetic field strength on the left and right sides of the charging station by using the magnetic induction sensor includes: When the lawn mower is controlled to rotate from the first preset position to the left and right sides of the charging station respectively, a magnetic field intensity change on the left and right sides of the charging station is detected by a magnetic induction sensor; The first magnetic field strength and the second magnetic field strength are determined according to the change of the magnetic field strength, wherein the first magnetic field strength is the maximum value of the magnetic field strength detected by the magnetic induction sensor during the rotation of the lawn mower to the left side of the charging station, and the second magnetic field strength is the maximum value of the magnetic field strength detected by the magnetic induction sensor during the rotation of the lawn mower to the right side of the charging station.
12. The control method according to claim 10, characterized in that: In the process of controlling the lawn mower to rotate from the first preset position to the left and right sides of the charging station respectively, the method further includes: Detecting the magnetic field strength on the left and right sides of the charging station; When the magnetic field strength changes from being enhanced to being weakened, controlling the lawn mower to rotate at a reduced speed; When the lawn mower rotates to a second preset angle, controlling the lawn mower to stop rotating; Or when the lawn mower moves to a second preset distance, the lawn mower is controlled to stop rotating.
13. The control method according to claim 11, characterized in that: The step of judging the inside and outside of the working area according to the magnetic field strengths on the left and right sides of the charging station includes: If the first magnetic field strength is greater than the second magnetic field strength, it is determined that the left side of the charging station is inside the working area and the right side of the charging station is outside the working area; If the first magnetic field strength is less than the second magnetic field strength, it is determined that the right side of the charging station is inside the working area and the left side of the charging station is outside the working area.
14. The control method according to claim 10, characterized in that: When controlling the lawn mower to rotate from the first preset position to the left and right sides of the charging station respectively, it includes: The lawn mower is controlled to rotate from the first preset position to the left and right sides of the charging station by a third preset angle, wherein the third preset angle is not less than an angle corresponding to when the magnetic field intensity detected by the magnetic induction sensor reaches a maximum value.
15. The control method according to claim 14, characterized in that: When the number of the magnetic induction sensors is greater than one, the third preset angle includes an angle corresponding to when the magnetic field intensity detected by any one of the magnetic induction sensors reaches a maximum value.
16. The control method according to claim 10, characterized in that: When controlling the lawn mower to rotate from the first preset position to the left and right sides of the charging station respectively, it includes: The lawn mower is controlled to shift from the first preset position to the left and right sides of the charging station by a second preset distance, wherein the second preset distance is not less than a distance corresponding to when the magnetic field intensity detected by the magnetic induction sensor reaches a maximum value.
17. The control method according to claim 16, characterized in that: When the number of the magnetic induction sensors is greater than one, the second preset distance includes a distance corresponding to when the magnetic field intensity detected by any one of the magnetic induction sensors reaches a maximum value.
18. A control device for a lawn mower, characterized in that: include: Memory for storing computer programs; A processor is used to execute the computer program, and when the computer program is executed by the processor, the steps of the control method of the lawn mower according to any one of claims 1 to 17 are implemented.
19. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the control method of the lawn mower according to any one of claims 1 to 17 are implemented.
Citation Information
Patent Citations
Intelligent mower, control method and system thereof and storage medium
CN112703881A
Lawn mower route regression method and system, storage medium and lawn mower
CN113519253A
Mowing robot recharging method and device, mowing robot and storage medium
CN115129062A
Path planning device of automatic mower
CN215122126U
Method for generating a representation of a working area of an autonomous lawn mower and autonomous lawn mower system
EP3381257A1
