Method, system and apparatus for planning operation path of robot, and medium
By arranging wires in the working area of the lawn mowing robot and walking along the wires, the problems of high cost and low accuracy of the positioning device of the lawn mowing robot in the existing technology are solved, and more efficient and accurate lawn mowing path planning and execution are achieved.
Patent Information
- Application Number
- PCT/CN2023/119384
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-07-14
- Filing Date
- 2023-09-18
- Publication Date
- 2024-09-12
AI Technical Summary
In the existing technology, the positioning device required for planning the mowing path of the lawn mowing robot is high in cost and has low positioning accuracy. It is easily affected by the environment, leading to positioning errors and affecting the efficiency and accuracy of the robot.
By setting wires in the working area of the lawn mowing robot, the robot walks along the wires, determines multiple positioning points, generates a working path based on these positioning points, and performs positioning and path planning by sensing signals on the wires to ensure that the robot is in the preset area. Walk accurately within.
It reduces the positioning cost, improves the working efficiency and accuracy of the robot in the preset area, ensures that the robot can follow the complete path and avoids positioning errors.
Smart Images

Figure CN2023119384_12092024_PF_FP_ABST
Abstract
Description
Robot work path planning method, system, device and medium
[0001] This application claims priority to the invention patent application with application number 2023102415802 filed with the Patent Office of China on March 3, 2023, and with the invention name “A method, system, device and medium for planning the working path of a robot”, the entire contents of which are incorporated by reference into this application.
[0002] This application claims priority to the invention patent application with application number 2023108700006 filed with the Patent Office of China on July 14, 2023, entitled “A method, system and device for planning the working path of a robot”, the entire contents of which are incorporated by reference into this application. Technical Field
[0003] The present application relates to the field of robot control technology, and in particular to a robot work path planning method, system, device and medium. Background Art
[0004] A robotic lawn mower is a tool for mowing lawns and vegetation, improving mowing efficiency while reducing labor. To maximize lawn coverage, a robotic lawn mower typically requires a pre-planned mowing path so it can follow the planned path and complete the mowing task.
[0005] In the prior art, a specific method for planning a mowing path for a lawn mower robot is to select multiple sampling points in the path that the lawn mower robot needs to walk, and then record the positioning information of each sampling point through a positioning device (such as GPS (Global Positioning System) or UWB (Ultra Wide Band, carrier-free communication technology)), determine the working area of the lawn mower robot based on the positioning information of each sampling point, and generate the mowing path that the lawn mower robot walks when mowing based on the positioning information of each sampling point.
[0006] When planning the mowing path in the existing technology, a positioning device needs to be installed to complete the positioning of the mowing robot and the planning of the mowing path. However, the installation cost of positioning devices such as GPS or UWB is high, and the positioning accuracy is low. It is easily affected by the surrounding environment and may cause positioning errors of the robot or sampling point, which is not conducive to the normal operation of the robot. Technical issues
[0007] One of the purposes of the embodiments of the present application is to provide a robot work path planning method, system, device and medium. Technical Solutions
[0008] The technical solution adopted in the embodiment of this application is:
[0009] In a first aspect, a method for planning a robot's working path is provided, wherein a guide wire is set within a preset area within which the robot walks, the method comprising:
[0010] controlling the robot to move along the wire and determining a plurality of positioning points of the robot on the wire;
[0011] determining a path node based on the plurality of positioning points;
[0012] A working path is generated based on the path nodes.
[0013] In a second aspect, a robot work path planning system is provided, wherein a guide wire is set within a preset area within which the robot walks, and the system includes:
[0014] a positioning point determination unit, configured to control the robot to move along the wire and determine a plurality of positioning points of the robot on the wire;
[0015] a path node determining unit, configured to determine a path node based on the plurality of positioning points;
[0016] A path generating unit is configured to generate a working path based on the path nodes.
[0017] In a third aspect, a robot work path planning device is provided, comprising:
[0018] memory for storing computer programs;
[0019] The processor is used to implement the steps of the robot work path planning method as described above when storing the computer program.
[0020] In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the robot work path planning method as described above are implemented.
[0021] This application provides a robot work path planning method with the following beneficial effects:
[0022] A wire is set within the preset area where the robot walks, and each path node is determined on the wire. A working path is generated according to the order of each path node, and the robot is controlled to walk along the working path within the preset area. When the robot walks and senses a signal from the wire, if the sensing path node between the robot and the wire is not the expected path node, the robot is controlled to return to the missed walking area and walk along the working path. It can be seen that in this application, positioning the robot within the preset area by using the wire can not only reduce positioning costs, enable the robot to walk along the complete working path, but also ensure the robot's work efficiency within the preset area. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the embodiments or exemplary technical descriptions. 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.
[0024] FIG1 is a schematic diagram of the installation position of a sensor on a lawn mowing robot provided in an embodiment of the present application;
[0025] FIG2 is a schematic diagram of the installation position of another sensor on a lawn mowing robot provided in an embodiment of the present application;
[0026] FIG3 is a schematic diagram showing the positional relationship between the lawn mowing robot provided by the present application and the boundary wire when the lawn mowing robot is positioned based on the first positioning sensor;
[0027] FIG4 is a schematic diagram showing the positional relationship between the lawn mowing robot provided by the present application and the boundary wire when the lawn mowing robot is positioned based on the second positioning sensor;
[0028] FIG5 is a schematic diagram showing the positional relationship between the lawn mowing robot provided by the present application and the boundary wire when the lawn mowing robot is positioned based on the first and second positioning sensors;
[0029] FIG6 is a schematic diagram of a flow chart of a robot work path planning method provided in this application;
[0030] FIG7 is a schematic diagram of a method for determining the position of a robot on a wire provided by the present application;
[0031] FIG8 is a waveform timing diagram of a method for calculating the position of a robot on a wire provided by the present application;
[0032] FIG9 is a schematic diagram of the first method of determining a segmentation direction provided by the present application;
[0033] FIG10 is a schematic diagram of a second method for determining a segmentation direction provided by the present application;
[0034] FIG11 is a schematic diagram of a third method for determining a segmentation direction provided by the present application;
[0035] FIG12 is a schematic diagram of a fourth method of determining a segmentation direction provided by the present application;
[0036] FIG13 is a schematic diagram of a working path provided by this application;
[0037] FIG14 is a schematic diagram of a preset area provided by the present application;
[0038] FIG15 is a schematic diagram of another preset area provided in this application;
[0039] FIG16 is a schematic diagram of a flow chart of a robot work path planning method provided by the present application;
[0040] FIG17 is a schematic diagram of the working path of the first robot provided in this application;
[0041] FIG18 is a schematic diagram of the working path of the second robot provided in this application;
[0042] FIG19 is a schematic diagram of the working path of the third robot provided in this application;
[0043] FIG20 is a schematic diagram of the working path of the fourth robot provided in this application;
[0044] FIG21 is a structural block diagram of a robot work path planning system provided by the present application;
[0045] FIG22 is a structural block diagram of another robot work path planning system provided by the present application;
[0046] Figure 23 is a structural block diagram of a robot work path planning device provided in this application. Modes for Carrying Out the Invention
[0047] The core of this application is to provide a robot's work path planning method, system and device, which uses wires to position the robot within a preset area, reducing positioning costs while allowing the robot to walk along a complete work path, ensuring the robot's work efficiency within the preset area.
[0048] To make the purpose, technical solutions, and advantages of the embodiments of this application more clear, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0049] Specifically, the robot in this application can be but is not limited to being used in application scenarios of mowing. The following embodiments are described using a mowing robot as an example, but are not limited to mowing robots. For example, it can also be a mobile robot such as a sweeping robot or a sprinkler robot. This application does not limit this.
[0050] Before describing the robot working path planning method provided by this application, the structure and principle of the lawn mowing robot involved in the embodiment of this application are first described as follows:
[0051] A lawn mower robot is an automated lawn mowing device designed to replace traditional manual mowing methods. Structurally, the lawn mower robot system includes a boundary conductor, a charging station, a mowing module, a travel module, a sensor module, and a control module. The boundary conductor is a wire installed around the lawn to define the robot's operating area. The charging station serves as the robot's charging base and is equipped with a signal transmission device that transmits signals to the robot via the conductor. The mowing module includes at least components for mowing, such as a blade, and executes mowing tasks based on instructions from the control module. The travel module includes at least a drive motor and wheels (driving and driven). The drive motor propels the robot across the lawn. The sensor module is the sensing component of the lawn mower robot system and includes a positioning sensor component, a boundary sensor component, a collision sensor component, and a lift sensor component. The positioning sensor component is used to locate the lawn mower robot, helping it accurately perform its mowing tasks. The boundary sensor component detects the boundaries of a pre-set area to help the robot avoid crossing them. The collision sensor detects collisions, allowing the robot to avoid obstacles. The lift sensor detects when the robot is off the ground. When the robot is off the ground, the mowing and travel modules cease operation to prevent injury or damage. The control module, the brain of the mowing robot, communicates with the mowing, travel, and sensor modules. It operates and controls the mowing and travel modules based on positioning, collision, and lift information obtained from the sensor modules.
[0052] In principle, the processor in the lawn mower robot analyzes the sensor information collected by each sensor module to generate a control signal corresponding to the sensor information to turn on or off the walking module in the lawn mower robot, and when the walking module is turned on, the mowing module and / or the walking module are driven by the walking module to enable the lawn mower robot to perform mowing operations.
[0053] Specifically, as shown in Figure 1, Figure 1 is a schematic diagram of the installation position of a sensor provided by the present application on a lawn mowing robot. The positioning sensor component generally includes a positioning sensor provided on the bottom of the lawn mowing robot. The position of the positioning sensor at the bottom of the lawn mowing robot only needs to satisfy that when the lawn mowing robot moves along the wire, the positioning sensor is located directly above the wire. The number of positioning sensors can be one or more. When the number of positioning sensors is multiple, the sensitive axes of each positioning sensor can be parallel or perpendicular to each other. In this embodiment, the positioning sensor component includes at least a first positioning sensor 21 and a second positioning sensor 22 provided on the central axis of the bottom of the lawn mowing robot. The first positioning sensor 21 is used to detect a first signal existing on the first sensitive axis 31, and the second positioning sensor 22 is used to detect a second signal existing on the second sensitive axis 32. The first sensitive axis 31 is parallel to the second sensitive axis 32. In some embodiments, the first sensitive axis 31 is perpendicular to the second sensitive axis 32 (as shown in FIG1 ), and the first sensitive axis 31 is perpendicular to the robot's forward direction, while the second sensitive axis 32 is parallel to the robot's forward direction. Accordingly, the sensing direction of the first positioning sensor 21 is perpendicular to the robot's forward direction, while the sensing direction of the second positioning sensor 22 is parallel to the robot's forward direction. In some embodiments, the first sensitive axis 31 is parallel to the second sensitive axis 32 (as shown in FIG2 ), and the first sensitive axis 31 and the second sensitive axis 32 are perpendicular to the robot's forward direction. Accordingly, after the lawn mowing robot is started, the first positioning sensor 21 and the second positioning sensor 22 begin to operate, respectively detecting the direction of the magnetic field signal to locate the robot; when the robot moves along the wire, the sensitive axes of the first positioning sensor 21 and the second positioning sensor 22 always remain parallel. When the robot moves along the wire, the first positioning sensor 21 will detect the first signal on the first sensitive axis 31, and the second positioning sensor 22 will detect the second signal on the second sensitive axis 32. The processor detects the signals of the two positioning sensors and detects the positioning of the robot to determine whether the position of the first positioning sensor 21 and / or the second positioning sensor 22 is directly above the wire. If the current position of the first positioning sensor 21 and / or the second positioning sensor 22 is not directly above the wire, the robot can be repositioned by adjusting the movement direction until the signal of the positioning sensor indicates that the first positioning sensor 21 and / or the second positioning sensor 22 is directly above the wire. Through continuous detection and adjustment, the lawn mowing robot can move along the wire and keep the positioning sensor installed on the robot always directly above the wire. The specific implementation method of the first positioning sensor 21 and the second positioning sensor 22 can be an inductive coil.
[0054] The boundary sensing component includes at least a first boundary sensor 11 and a second boundary sensor 12 provided on both sides of the bottom of the lawn mower robot. The boundary sensors can be provided on the left and right sides of the bottom of the lawn mower robot, with at least one boundary sensor provided on each side, or can be provided on the front and back sides of the bottom of the lawn mower robot. The specific implementation of the boundary sensor can be an inductor coil. The working principle of the boundary sensor is to determine the boundary information by detecting the direction and intensity of the magnetic field signal. Specifically, as shown in Figure 3, when the lawn mower robot is working within the preset area surrounded by the boundary wire, the signal generating device connected to the two ends of the wire (such as the signal generating device provided on the charging station) sends a periodic pulse signal to the two ends of the wire, and the pulse current signal flows through the wire to form a magnetic field signal centered on the wire. Specifically, when the boundary wire is located between the first boundary sensor 11 and the second boundary sensor 12, the directions of the magnetic field signals detected by the first boundary sensor 11 and the second boundary sensor 12 are opposite, and the magnetic field signal strengths are comparable; when the boundary wire is located outside the lawn mowing robot, the directions of the magnetic fields detected by the first boundary sensor 11 and the second boundary sensor 12 are the same, and the magnetic field strength detected by the boundary sensor closer to the boundary wire is greater. It can be seen that the characteristics of the magnetic field signals detected by the two boundary sensors can be used to control the robot to move along the boundary line.
[0055] Specifically, when the mowing robot is mowing on a wire, if the mowing robot's forward direction is perpendicular to the boundary wire, the mowing robot uses the first positioning sensor 21 for positioning, as shown in FIG3 . FIG3 is a schematic diagram of the positional relationship between the mowing robot provided by the present application and the boundary wire when positioned based on the first positioning sensor 21. In FIG3 , the robot's forward direction is rightward, the wire extends in an upward / downward direction, and the robot's forward direction is perpendicular to the wire's extension direction. If the mowing robot is traveling along the wire, that is, when the mowing robot's forward direction is parallel to the boundary wire, the mowing robot uses the second positioning sensor 22 for positioning. At this time, the positional relationship between the mowing robot and the boundary wire is shown in FIG4 . FIG4 is a schematic diagram of the positional relationship between the mowing robot provided by the present application and the boundary wire when positioned using the second positioning sensor 22. In FIG4 , the robot's forward direction is upward, the wire extends in an upward / downward direction, and the robot's forward direction is parallel to the wire's extension direction. If the mowing robot is mowing on a wire and its forward direction is neither parallel nor perpendicular to the boundary wire, the mowing robot will be positioned based on the first positioning sensor 21 and the second positioning sensor 22. The positional relationship between the robot and the boundary wire is shown in FIG4 . FIG5 is a schematic diagram of the positional relationship between the mowing robot provided by the present application and the boundary wire when positioned based on the first positioning sensor 21 and the second positioning sensor 22. In FIG5 , the robot's forward direction is rightward, and the wire extends diagonally upward / downward. The robot's forward direction is neither parallel nor perpendicular to the wire's extension direction.
[0056] As can be seen, the two positioning sensors enable the mower robot to be accurately positioned on the boundary wire, regardless of its position on the boundary wire or its angle relative to the boundary wire. If the robot's positioning within the mowing area is inaccurate, it can be controlled to return to the boundary wire for positioning and then return to the mowing area. When the mower robot needs to return to the charging station, the ability to locate its current position allows it to determine the shortest path to the charging station, improving charging efficiency.
[0057] In summary, through the above structure and principles, the mowing robot can autonomously mow the grass in a predetermined working area and adjust its actions according to the feedback information from the sensor to complete the mowing task.
[0058] Please refer to FIG6 , which is a flow chart of a method for planning a robot's working path provided by the present application. The method includes setting a guide wire within a preset area within which the robot walks. The method includes:
[0059] S11: Control the robot to walk along the wire and determine multiple positioning points of the robot on the wire;
[0060] Considering the existing methods of planning the robot's working path and positioning the robot through GPS or UWB, the cost is high and the accuracy is low.
[0061] To solve the above technical problems, the present application sets a wire within the preset area where the robot walks, and senses the boundary signal and / or positioning signal on the wire during the robot's walking process, thereby achieving the positioning of the robot and planning the robot's working path. In some embodiments, the wire can be set at the boundary of the preset area to serve as the boundary wire of the preset area, or it can be set at a certain distance from the boundary line of the preset area. The wire can be buried under the ground. When the robot walks on the wire, the boundary signal on the wire can be sensed to determine whether the robot is walking within the preset area, thereby achieving the positioning of the robot and preventing the robot from walking outside the preset area.
[0062] It can be seen that in this application, through the setting of the wire, during the walking process of the robot, the boundary signal and / or positioning signal on the wire can be sensed to limit the robot to walk on the wire and the internal area surrounded by the wire, thereby realizing the precise positioning of the robot (that is, accurately obtaining the positioning information of the robot on the wire, and this positioning information indicates the distance between the robot and the charging station), so that the robot can accurately complete the work within the preset area.
[0063] Specifically, after setting a wire at the boundary of a predetermined area or at a predetermined distance from the predetermined area, the robot is controlled to walk along the wire, such as walking at least one circle along the wire. During the walking process, multiple positioning points of the robot on the wire are determined. These multiple positioning points correspond to multiple pieces of positioning information of the robot on the wire, and this positioning information can represent the distance between the robot and the charging station. The number of positioning points can be related to the step length of the robot during walking, the frequency of the positioning signal transmitted by the charging station, or the length of the wire.
[0064] In some embodiments, the current location of the robot on the guide wire is determined by:
[0065] Obtaining positioning signals sent by the charging station through wires on both sides of the charging station;
[0066] The current positioning point of the robot is determined based on the time difference or phase difference of the two received positioning signals.
[0067] Considering that in the prior art, when positioning a robot, a positioning device is usually used to position it. However, due to the complex road environment where the robot walks, the ground is uneven or there are many obstructions, it is impossible to accurately position the robot.
[0068] In order to solve the above technical problems, in the present application, a wire is set within a preset area, and both ends of the wire are connected to a signal processor to transmit a positioning signal on the wire, wherein the signal processor can be set on the charging station or set separately. When multiple positioning points are obtained, the robot can be controlled to walk along the wire for at least one circle, and the current positioning point of the robot can be determined during the walking process. Specifically, the positioning signals on different sides can be obtained by transmitting along the wire to the first time point and the second time point at the end point, and then the current positioning point of the robot can be determined based on the time difference between the first time point and the second time point. Among them, the end point can be the current position of the robot, or it can be one end or both ends of the wire connected to the signal processor (the signal processor here is a device independent of the robot, used to process the positioning signal, and can be set on the charging station. A similar signal processor that can process the positioning signal can also be set on the robot), and this application does not limit this.
[0069] In some embodiments, the first time point and the second time point are determined by determining a first time point at which a first positioning signal in a first direction is transmitted along the wire and reaches an end point, and a second time point at which a second positioning signal in a second direction is transmitted along the wire and reaches an end point, wherein the first positioning signal and the second positioning signal do not necessarily need to be transmitted from the current positioning point of the robot. The first positioning signal and the second positioning signal may be generated by a signal processor connected to both ends of the wire. Accordingly, the first direction may be transmitted from one end of the wire to the current positioning point of the robot, and the second direction may be transmitted from the other end of the wire to the current positioning point of the robot. In other words, the wire and the signal processor are connected to form a circular or irregular shape that surrounds a predetermined area.
[0070] Specifically, the time interval between the generation of the first positioning signal and the generation of the second positioning signal can be determined by determining the third time point at which the signal processor generates the first positioning signal and the fourth time point at which the second positioning signal is generated. The distance between the current position and the signal processor can be determined based on the first time point, the second time point, the time interval, the signal transmission speed of the wire, and the length of the wire. That is, after the first positioning signal is generated by the signal processor at the third time point, it is transmitted from the first direction to the current positioning point of the robot at the first time point. After the second positioning signal is generated by the signal processor at the fourth time point, it is transmitted from the second direction to the current positioning point of the robot at the second time point. At this time, the current positioning point of the robot is the end point. It should be noted that the time interval between generating the first positioning signal and generating the second positioning signal in this embodiment is not less than the time required for the positioning signal to be transmitted from one end of the wire to the other end along the wire. For example, if the first positioning signal is generated first, it is necessary to ensure that the second positioning signal is generated after the first positioning signal is transmitted from one end of the wire to the other end of the wire, so as to avoid the situation where the robot receives the second positioning signal before receiving the first positioning signal when it is close to the other end of the wire. At this time, it is impossible to determine whether the first positioning signal or the second positioning signal is received first, resulting in the inability to accurately locate the robot.
[0071] In practical applications, the signal processor may be located in a charging station, and the location of the charging station or the signal processor is pre-set / known in advance. After determining the distance between the robot's current positioning point and the signal processor, the robot's current positioning point can be determined based on the position of the signal processor, for example, the signal processor is located at the coordinate origin position (0, 0), combined with the distance information. The above-mentioned determination of the robot's current positioning point can be performed by the signal processor to determine the robot's positioning information, or the robot can confirm its own positioning information. Regardless of the determination method, the robot's current positioning point can be determined.
[0072] In some embodiments, the specific method of determining the first time point and the second time point can be: the robot generates a first positioning signal and a second positioning signal, the signal processor is connected to both ends of the wire, the first direction can be transmitted from the current position of the robot to one end of the wire, and the second direction can be transmitted from the current position of the robot to the other end of the wire, the signal processor receives the first positioning signal and the second positioning signal from one end and the other end of the wire respectively, and accurately locates the wire according to the received positioning signals.
[0073] In some embodiments, if only one end of the wire is connected to the signal processor, after the robot generates a first positioning signal, the first positioning signal is transmitted along the wire in a first direction to reach the signal processor. After generating a second positioning signal, the second positioning signal is transmitted along the wire in a second direction to the other end of the wire and then returns to the signal processor in the first direction. That is, the robot may simultaneously generate the first positioning signal and the second positioning signal, with the first positioning signal arriving at the signal processor at a first time point along the first direction, and the second positioning signal first transmitting along the wire in the second direction to reach the other end of the wire, then returning along the wire in the first direction through the current position to arrive at the signal processor at a second time point. Alternatively, the robot may first generate the first positioning signal and then generate the second positioning signal, or first generate the second positioning signal and then generate the first positioning signal, with a certain interval between the times when the first positioning signal is generated. The time interval here also needs to ensure that when the first positioning signal is generated, the first positioning signal arrives at the signal processor before the second positioning signal, and when the second positioning signal is generated, the second positioning signal arrives at the signal processor before the first positioning signal, so that the signal processor can distinguish whether the currently received positioning signal is the first positioning signal or the second positioning signal.
[0074] In some embodiments, if only one end of the wire is connected to the signal processor, after generating a positioning signal, the signal processor first transmits the positioning signal along the wire in a first direction to the robot, then transmits the positioning signal along the wire in the first direction to the other end of the wire and then returns to the current position. It should be noted that the first direction in this application can be from one end of the wire to the other end, and the second direction can be from the other end of the wire to one end.
[0075] Referring to FIG7 , FIG7 is a schematic diagram of a method for determining a robot's position on a wire provided by the present application. The wire between the left side of the charging station and the robot is defined as a first portion of the wire, having a length of L1. The wire between the right side of the charging station and the robot is defined as a second portion of the wire, having a length of L2. The charging station sends a first positioning signal to the robot via the first portion of the wire at time T2, and a second positioning signal to the robot at time T0; alternatively, the robot sends a first positioning signal to the robot via the first portion of the wire at time T1, and a second positioning signal to the robot at time T3. If the total length L of the wire is known, a system of linear equations for L1 and L2 can be derived based on T0 and T2, or T1 and T3, L, and the signal transmission speed on the wire. Thus, L1 and L2 can be calculated, and the robot's current positioning information on the wire can be obtained. The robot's current positioning point can then be determined based on the robot's current positioning information on the wire, odometer data, and angle information acquired by an IMU (Inertial Measurement Unit).
[0076] As the mowing robot moves along the boundary line, the current location of the mowing robot on the wire is obtained according to the method shown in Figure 7. When the mowing robot next moves onto the boundary wire, it is controlled to move a certain distance on the wire to obtain multiple positioning information. The multiple positioning information is then processed with the current location point to determine the current position of the mowing robot. As can be seen, the two positioning sensors enable the mowing robot to be accurately positioned on the boundary wire, regardless of its position on the boundary wire or its angle relative to the boundary wire. If the positioning of the mowing robot in the mowing area is inaccurate, the mowing robot can be controlled to return to the boundary wire for positioning and then return to the mowing area. When the mowing robot needs to return to the charging station to charge, since the current location of the mowing robot can be located, the shortest path for the mowing robot to travel to the charging station can be determined, thereby improving charging efficiency (as shown in Figure 8, the robot's position can be located based on the time difference of the waveform timing received by the robot).
[0077] It can be seen that in this embodiment, the time difference or phase difference of the positioning signals sent by the charging station through the wires on both sides is obtained to determine the current positioning information of the robot on the wire, and then the current positioning point is determined. The implementation method is simple, not easily affected by the external environment, and the positioning accuracy is high.
[0078] In this way, the robot's current location on the wire is determined before it is controlled to move along the wire. This ensures that the robot moves from the current location according to the preset work path plan, thereby improving the robot's work efficiency and accuracy.
[0079] S12: determining a path node based on multiple positioning points;
[0080] After the multiple positioning points are determined as described above, corresponding path nodes are determined based on the multiple positioning points determined above. The path nodes are used to subsequently generate corresponding working paths so that the robot can walk along the working path generated based on the path nodes.
[0081] It should be noted that the path nodes determined in this step are used to generate the working path, so the number of path nodes determined in this step is at least one.
[0082] It should also be noted that the set of path nodes is a subset of the set of anchor points, that is, the path nodes are a part of the selected anchor points.
[0083] In some implementations, before determining the path node based on the multiple positioning points, the method further includes:
[0084] Determining whether the preset area meets a first preset condition;
[0085] If so, the preset area is divided into multiple mowing sub-areas.
[0086] Specifically, considering that the preset area where the robot works may be too large or the boundary size is large, or the preset area is an irregular shape, it is not convenient for the robot to walk directly on the boundary of the preset area or within the preset area, or it is not convenient to directly determine the path nodes based on multiple positioning points.
[0087] Therefore, in the present application, this type of preset area can be divided into multiple mowing sub-areas to subdivide the preset area, thereby controlling the robot to process each mowing sub-area separately. Specifically, the trigger condition for dividing the preset area into multiple mowing sub-areas is: determining whether the preset area meets a first preset condition. If the first preset condition is met, it is determined that the preset area is relatively complex, making it impossible or inconvenient for the robot to directly perform mowing operations within the preset area or it is inconvenient to directly determine path nodes based on multiple positioning points. At this time, the step of dividing the preset area into multiple mowing sub-areas is triggered to facilitate the robot to process each mowing sub-area separately. Otherwise, it is relatively simple to determine the preset area, and the robot can directly perform mowing operations within the preset area or can directly determine path nodes based on multiple positioning points. In this case, there is no need to divide the preset area, and path nodes can be directly determined based on multiple positioning points. The working path is determined based on the determined path nodes. When the robot walks along this working path, it can complete the mowing operation of the entire preset area.
[0088] Specifically, determining whether the preset area meets the first preset condition can be accomplished by determining whether the area of the preset area is greater than a preset area, determining whether the boundary length of the preset area is greater than a preset value, or determining whether the shape of the preset area is outside of a number of preset shapes, where the preset shape can be a relatively regular shape preset by humans, such as a rectangle, an ellipse, or a circle. If the first preset condition listed above is met, the process proceeds to the step of dividing the preset area to obtain multiple mowing sub-areas. Otherwise, the process skips the step of dividing the preset area and directly proceeds to the step of determining path nodes based on multiple positioning points. Of course, other implementations are possible; the above are just a few specific implementations listed in this embodiment.
[0089] It can be seen that in this embodiment, by judging whether the preset area meets the first preset condition and then determining whether the preset area needs to be divided into multiple mowing sub-areas, the situation that the robot may not be convenient to walk directly on the boundary of the preset area or within the preset area or it is not convenient to directly determine the path nodes based on multiple positioning points is taken into account, thereby improving the reliability of determining the path nodes, and then improving the reliability of the working path determined based on the path nodes.
[0090] In some implementations, determining a path node based on a plurality of positioning points includes:
[0091] Determine a segmentation line of a mowing sub-area based on a plurality of positioning points;
[0092] The intersection of the segmentation line and the boundary of the mowing sub-area is determined as a path node.
[0093] Specifically, after the preset area is divided into multiple mowing sub-areas as mentioned above, in order to facilitate the robot to process each mowing sub-area separately, the method of determining each path node in this embodiment is: based on the determined multiple positioning points, the dividing line that needs to be divided into the mowing sub-area is determined, and this dividing line divides the mowing sub-area into multiple mowing areas. There is an intersection between the dividing line and the boundary of the mowing sub-area, and this intersection is used as the determined path node, so that when the robot walks along the working path generated according to this path node, the mowing processing of the mowing sub-area is realized.
[0094] In some embodiments, when a preset area is divided into multiple mowing sub-areas, path nodes may be determined by creating a circumscribed rectangle of the mowing sub-area (the area where the robot needs to work), then dividing the circumscribed rectangle based on multiple positioning points to obtain corresponding segmentation lines. The intersection of these segmentation lines with the boundaries of the mowing sub-areas is determined as a path node (in this case, the path node does not necessarily have to be on a wire). A work path is then generated based on this path node. When the robot moves along this work path, it can complete the mowing operation within the mowing sub-area, and then move along the work path corresponding to the next mowing sub-area to complete the mowing operation within the next mowing sub-area. Once the mowing operation is completed within all mowing sub-areas, it is determined that the mowing operation is completed within the entire preset area. In other words, the entire preset area is divided into multiple mowing sub-areas, and a work path is planned for each mowing sub-area, so that the robot moves along the work path within each mowing sub-area to complete the mowing operation within each mowing sub-area, thereby completing the mowing operation within the entire preset area.
[0095] In some embodiments, when there is no need to divide the preset area into multiple mowing sub-areas, the method for determining the path nodes can be: make a circumscribed rectangle of the entire preset area, and then directly divide the preset area based on multiple positioning points to obtain a dividing line corresponding to the entire area, and determine the intersection of this dividing line and the boundary of the entire preset area as a path node (when the wire is set on the boundary of the preset area or at a certain distance from the boundary, the path node is usually on the wire), and then determine the working path based on each path node. When the robot walks along this working path, it can directly complete the mowing operation in the entire preset area.
[0096] It can be seen that in this application, by determining the dividing lines of each mowing sub-area and then determining the path nodes located on the boundaries of the mowing sub-areas, the robot can traverse each mowing sub-area along the working path generated based on this path node, and then traverse the entire preset area, thereby improving mowing efficiency.
[0097] In some embodiments, determining a segmentation line of a mowing sub-area based on a plurality of positioning points includes:
[0098] Obtain the distribution of wires at the boundaries of mowing sub-areas;
[0099] Determine the dividing line based on the distribution.
[0100] Because the conductive wires are only located at the boundary of the preset area or at a first preset distance from the boundary, after the preset area is divided into multiple mowing sub-areas, the boundaries of each mowing sub-area may include the conductive wires in different ways, such as the boundaries of some mowing sub-areas not including the conductive wires. Considering that the boundary signal and / or positioning signal on the conductive wires can only be sensed when the robot walks over them, the current position of the robot can be determined, and monitoring of the robot during its movement can be achieved.
[0101] Therefore, after dividing the mowing sub-areas, the present application also takes into account whether there are wires distributed on the boundaries of each mowing sub-area, and determines the final dividing line based on the distribution of the wires, so that the robot can sense as many boundary signals and / or positioning signals on the wires as possible during the walking process. The dividing line can, but is not limited to, intersect with the boundary including the wires (such as perpendicularly, etc.), so that the robot can sense as many boundary signals and / or positioning signals on the wires as possible when moving along the path nodes determined based on the dividing line.
[0102] It can be seen that in this embodiment, the distribution of the wires on the boundaries of each mowing sub-area is taken into account, so that the determined dividing line has as many intersections with the wires as possible, so that the robot can sense as many boundary signals and / or positioning signals on the wires as possible during the walking process, so that the processor can locate the current position of the robot and monitor the current working status of the robot based on the sensing results.
[0103] In some embodiments, determining a segmentation line based on the distribution includes:
[0104] Determine the segmentation direction based on the distribution;
[0105] The segmentation line is determined based on the segmentation direction.
[0106] Specifically, after obtaining the distribution of the wires in each mowing sub-area, a segmentation direction is determined based on the distribution, and then a segmentation line is determined based on the segmentation direction. In some embodiments, the direction of the segmentation line is typically set to be the same as the segmentation direction, and the segmentation direction is set to be perpendicular to the boundary where the wires are located, or the segmentation direction and the location of the wires intersect at a point.
[0107] It can be seen that the method in this embodiment can pass through as many wires as possible when the robot works in each mowing sub-area along the dividing line (along the dividing direction) to sense the boundary signals and / or positioning signals on the wires, so as to facilitate the processor to locate and monitor the robot based on the sensing results.
[0108] In some embodiments, when the mowing sub-area has a first boundary line, a second boundary line, a third boundary line, and a fourth boundary line connected in sequence, determining the segmentation direction according to the distribution includes:
[0109] If there are conductive wires on the first boundary line, the second boundary line, and the third boundary line, and there is no conductive wire on the fourth boundary line, the direction perpendicular to the fourth boundary line is determined as the splitting direction;
[0110] If there are conductive wires on the first and second boundary lines, and there are no conductive wires on the third and fourth boundary lines, then the direction perpendicular to the third or fourth boundary line is determined as the splitting direction;
[0111] If there are conductive wires on the first boundary line and the third boundary line, and there are no conductive wires on the second boundary line and the fourth boundary line, then the direction parallel to the second boundary line or the fourth boundary line is determined as the splitting direction;
[0112] If there is a conductive wire on the first boundary line, and there is no conductive wire on the second boundary line, the third boundary line, and the fourth boundary line, a direction perpendicular to the first boundary line is determined as the splitting direction.
[0113] This embodiment aims to provide a specific embodiment for determining a segmentation direction based on the distribution of conductive lines on the boundaries of each mowing sub-area. Specifically, assuming that the mowing sub-area includes a first boundary line, a second boundary line, a third boundary line, and a fourth boundary line connected in sequence, the mowing sub-area is a rectangle.
[0114] Specifically, please refer to Figures 9-12. In the figures, the dotted lines are the determined segmentation directions, the thin solid lines are the boundary lines without wires, and the thick solid lines are the boundary lines with wires. Figure 9 is a schematic diagram of the first method of determining the segmentation direction provided by this application. In this case, there are wires on all three boundary lines of the mowing sub-area, and only one boundary line does not have a wire. In this case, the direction perpendicular to the fourth boundary line (the boundary line without wires) can be determined as the segmentation direction, or the direction perpendicular to any boundary line with wires can be determined as the segmentation direction. Therefore, when the robot walks along the segmentation direction, it can travel along the wires on the first boundary line or other boundary lines to sense the boundary signals and / or positioning signals on the wires.
[0115] Figure 10 is a schematic diagram of the second method of determining the segmentation direction provided in the present application. When there are wires on the two boundary lines of the mowing sub-area, and the two boundary lines with wires are adjacent boundary lines, the segmentation direction can be determined as a direction perpendicular to the third boundary line or the fourth boundary line (perpendicular to the boundary line without wires or perpendicular to the boundary line with wires); at this time, when the robot walks along the segmentation direction perpendicular to the third boundary line, it can walk along the wire on the first boundary line to sense the boundary signal and / or positioning signal of the wire on the first boundary line; when walking along the segmentation direction perpendicular to the fourth boundary line, it can walk to the wire on the second boundary line to sense the boundary signal and / or positioning signal of the wire on the second boundary line.
[0116] Figure 11 is a schematic diagram of the third method of determining the segmentation direction provided in the present application. When there are wires on the two boundary lines of the mowing sub-area, and the two boundary lines with the wires are two opposite boundary lines, the segmentation direction can be determined as a direction parallel to the second boundary line or the fourth boundary line, that is, a direction perpendicular to the first boundary line or the third boundary line; at this time, when the robot walks along the segmentation direction perpendicular to the first boundary line or along the segmentation direction of the third boundary line, it can travel along the wire on the first boundary / third boundary line to sense the boundary signal and / or positioning signal of the wire on the first boundary / third boundary line.
[0117] Figure 12 is a schematic diagram of the fourth method of determining the segmentation direction provided in the present application. When there is a wire on a boundary line of the mowing sub-area, the segmentation direction can be determined as a direction perpendicular to the first boundary line (the boundary line with the wire); at this time, when the robot walks along the segmentation direction perpendicular to the first boundary line, it can travel along the wire on the first boundary to sense the boundary signal and / or positioning signal of the wire on the first boundary.
[0118] In addition, it should be noted that the first boundary line, the second boundary line, the third boundary line and the fourth boundary line described in this embodiment only divide the boundary line of the mowing sub-area into four parts, which does not mean that the shape of this mowing sub-area is a regular or irregular quadrilateral. For example, at least two of the first boundary line, the second boundary line and the third boundary line can be part of the arc line of an (elliptical) circle or a sector.
[0119] It can be seen that through the method in this embodiment, no matter how many boundaries of the mowing sub-area are provided with wires, the dividing direction thereof is as much as possible to satisfy the requirement that the robot can walk on the wires as much as possible when walking along the dividing direction, that is, the robot can sense as many boundary signals and / or positioning signals on the wires as possible during the walking process, so that the processor can realize the positioning and monitoring of the robot based on the sensing results.
[0120] In some implementations, the method for determining the path node is specifically as follows:
[0121] Obtain a first positioning point and a second positioning point on the conductor;
[0122] Determine the projection distance between the first positioning point and the second positioning point in a preset direction;
[0123] When the projection distance satisfies a first preset condition (eg, the first preset condition is a bow-shaped interval determined according to the length of the cutter disc and the cutting knife), the first positioning point and the second positioning point are determined as path nodes.
[0124] Specifically, the robot itself has a certain width, or the tools used by the robot or the area it can operate in at any one time have a certain width. For example, the length of the cutter disc and blade on a lawn mower robot, the total width of all brooms on a sweeping robot, the width of the sprinkler system on a water sweeping robot, etc. If these widths are not taken into account when determining path nodes, the robot may miss some areas after completing its journey along all path nodes.
[0125] Therefore, in order to enable the robot to connect (cover) all areas when moving or operating, the present application will ensure that the projection distance between the first positioning point and the second positioning point in the preset direction meets the first preset condition. For example, whether the preset condition is met can be determined by: judging that this projection distance is not greater than the length of the blade and cutter on the lawn mowing robot, the total width of all brooms on the sweeping robot, the width that the sprinkler device on the water sweeping robot can spray, etc. If it is determined to be yes, the two positioning points will be determined as path nodes in the robot's working path. When the robot moves along the path nodes determined in this embodiment, it can connect all areas to avoid missing cutting or sweeping.
[0126] It should be noted that in this application, the path node is determined by comparing the projection distance between the first positioning point and the second positioning point in the preset direction with the first preset condition, rather than by comparing the straight-line distance between the first positioning point and the second positioning point with the first preset condition. The reason for determining the path node is: considering that the area enclosed by the wire is not necessarily a regular area, and its corresponding boundary line is not necessarily a straight line along the preset direction, it may not be possible to determine whether it meets the first preset condition by the straight-line distance between the two positioning points. Therefore, in this application, the projection distance of the two positioning points in the preset direction is selected to facilitate comparison with the first preset condition (such as width or length, etc.).
[0127] It can be seen that the path node determined by the method in this embodiment allows the robot to connect all areas when walking along this path node, avoiding the situation of missing cutting or missing scanning.
[0128] In some embodiments, after dividing the preset area into a plurality of mowing sub-areas, the method further includes:
[0129] Determine if there are any wires at the boundaries of each mowing sub-area;
[0130] If not, the mowing sub-area without the conductive line and the adjacent mowing sub-area with the conductive line are merged.
[0131] Considering that after the preset area is divided into multiple mowing sub-areas as mentioned above, there may be a situation where no wire is set on the boundary line of a mowing sub-area. For example, when the circumscribed rectangle of the preset area is divided to obtain multiple mowing sub-areas, if the number of divisions is large, since the wire is only set on the boundary of the preset area, the boundaries of several mowing sub-areas located in the center of the preset area may not include wires. In this case, when the robot works in this mowing sub-area, it is impossible to locate the robot and it is impossible to monitor the working status of the robot in this mowing sub-area.
[0132] Therefore, after the mowing sub-areas are divided as described above, the present application further determines whether there are wires at the boundaries of each mowing sub-area. If so, it is determined that the robot can sense the boundary signals and / or positioning signals of the wires when operating in this mowing sub-area. The processor can then position and monitor the robot based on the sensing results, and no further processing is required for this mowing sub-area. Otherwise, it is determined that the boundary signals and / or positioning signals on the wires cannot be sensed, and thus the robot cannot be positioned and monitored. In this case, the mowing sub-area without wires is merged with the adjacent mowing sub-area with wires.
[0133] It should be noted that if the boundaries of adjacent mowing sub-areas include wires, then the mowing sub-area formed by merging the mowing sub-area without wires with the adjacent mowing sub-area in the above steps will include wires. If the adjacent mowing sub-area also does not have wires, the mowing sub-area formed after the merger will still not have wires. Therefore, the mowing sub-area currently without wires can be merged with any adjacent mowing sub-area or a predetermined direction (such as the left or right side, etc., which is not limited here) without wires. After merging the mowing sub-area with the adjacent mowing sub-area without wires, the step of determining whether wires exist at the boundaries of each mowing sub-area is re-entered. By looping this step, each mowing sub-area obtained after the final merger can be a mowing sub-area with wires, so that the robot can sense the boundary signals and / or positioning signals of the wires during walking.
[0134] It can be seen that in this embodiment, the mowing sub-areas without wires and the mowing sub-areas with wires are merged so that each of the mowing sub-areas finally obtained is a mowing sub-area with wires, and then when the robot performs mowing operations in each mowing sub-area, it can sense as many boundary signals and / or positioning signals of the wires as possible.
[0135] In some embodiments, merging a mowing sub-area where no wire exists with an adjacent mowing sub-area includes:
[0136] Merge the mowed subareas where no wires exist with the adjacent mowed subareas that contain the most wires.
[0137] Specifically, considering that the area of the merged mowing sub-area is relatively large, if there is only a small section of wire on the boundary of the merged mowing sub-area, when the robot works in this merged mowing sub-area, although it can sense the boundary signal and / or positioning signal of the wire to a certain extent, due to the short length of the wire, the area where the robot senses the boundary signal and / or positioning signal on the wire is too small, and thus the processor may cause inaccurate positioning when positioning the robot based on the sensing results.
[0138] Therefore, when it is determined that there are no wires on the boundary of a mowing sub-area, if this mowing sub-area without wires has two or more adjacent mowing sub-areas, the adjacent mowing sub-area containing the most wires is selected and merged with the mowing sub-area without wires, so that the boundary of the merged mowing sub-area includes more wires.
[0139] Among them, the term "including the most wires" described in this application may refer to the longest total length of the guide wires, or may refer to the largest number of wire segments included, which depends on actual conditions and is not limited in this application.
[0140] It can be seen that in this embodiment, by merging the mowing sub-area that does not include wires and the adjacent mowing sub-area that includes the most wires, the merged mowing sub-area has more wires, so that during the robot's walking process, the area where the robot can sense the boundary signals and / or positioning signals of the wires can be increased, and the positioning result of the processor for positioning the robot based on the sensing results is more accurate.
[0141] S13: Generate a working path based on the path nodes.
[0142] Specifically, after the path nodes are formed as described above, the present application generates a working path based on at least one of the above path nodes, so that the robot can work within a preset area according to the working path.
[0143] It can be seen that the method in the present application, which senses the signal on the wire while the robot is walking, and then positions the robot according to the sensing results, has a lower positioning cost than the GPS and UWB positioning methods in the prior art. In addition, the present application determines multiple positioning points by having the robot walk on the wire, and then determines at least one path node, and then determines the working path, so that the robot can walk along the complete working path, thereby ensuring the robot's work efficiency within the preset area.
[0144] In some implementations, generating a working path based on a plurality of path nodes includes:
[0145] Determine the connection order of each path node;
[0146] Connect each path node according to the connection order to generate a working path.
[0147] Specifically, the specific implementation method for generating a work path based on path nodes is to first determine the order of each path node, then connect each path node in sequence. The resulting route is the work path, which is also the path the robot walks. When the mowing robot walks along this work path, it completes the mowing task within the preset area.
[0148] For example, if path nodes 1 and 2 are connected, they form a mowing sub-path; if path nodes 2 and 3 are connected, they form another mowing sub-path, and so on. All sub-paths are combined to form the entire robot's working path. At this point, the mowing robot can move along the mowing path according to the order of the path nodes. For example, when the mowing robot moves along the mowing path formed by path nodes 1 and 2, because path nodes 1 and 2 exist in a sequential order, the mowing robot is guided to move from path node 1 to path node 2, rather than in the opposite direction.
[0149] It should be noted that in this application, when determining the order of each path node, the principle of maximizing the robot's coverage and minimizing the robot's walking path should be followed to save the robot's energy consumption as much as possible and provide mowing coverage.
[0150] It can be seen that the method in this embodiment can be used to control the robot to perform mowing operations within a preset area according to a pre-set working path sequence. The solution for controlling the robot's movement using this method is simple, and the positioning accuracy of the wire is high, so that the planned mowing working path is also highly accurate, thereby improving the robot's work efficiency.
[0151] In some implementations, determining a path node based on a plurality of positioning points includes:
[0152] Determine whether there are any conductors located in the area where the charging station is located;
[0153] If so, the path nodes are set on the conductors except for the portion of the conductor corresponding to the area where the charging station is located.
[0154] Specifically, since the robot needs to automatically walk to the charging station to charge itself when it is out of power, in order to achieve automatic charging of the robot, a wire is usually set near the charging station to guide and position the robot.
[0155] The path nodes in this application are used to form the working path corresponding to the robot completing the mowing task. The area near the charging station is usually not a working area. Therefore, if the robot does not need to be charged when working, it does not need to be close to the charging station. Therefore, when determining the path nodes based on the positioning points, the path nodes are set on the wires other than the part of the wire corresponding to the area where the charging station is located, so as to achieve the purpose of not approaching the charging station during the robot's work.
[0156] It can be seen that through the method in this embodiment, the robot can be prevented from walking into the area near the charging station during the lawn mowing operation, reducing the robot's invalid walking path, thereby improving the robot's work efficiency.
[0157] In some implementations, before generating a working path based on the path nodes, the method further includes:
[0158] Determine whether there are obstacles on the path node;
[0159] If there is an obstacle, the path node is removed.
[0160] Considering that when path nodes are determined by multiple positioning points (for example, the path nodes are determined by using positioning points separated by a first preset distance as path nodes), obstacles may exist on the determined path nodes, such as signboards, park benches, etc., and the robot cannot walk to the path nodes where obstacles exist.
[0161] Therefore, before determining the working path based on the path node, this application also performs the step of determining whether there is an obstacle on the path node. If it is determined that there is an obstacle on the path node, it is necessary to remove this path node to directly generate the working path, and reselect other path nodes without obstacles to generate the working path.
[0162] Obstacle identification may include, but is not limited to, detecting obstacles using obstacle sensors. These sensors may include single-line, multi-line, solid-state, linear, single-point, or multi-point lidar, depth cameras, ultrasonic sensors, millimeter-wave radars, and the like. When multiple sensors are used, information from sensors in various directions and omnidirectional sensors may be integrated, and this application does not limit this.
[0163] It can be seen that this embodiment can prevent the robot from walking on the path nodes with obstacles by removing the path nodes with obstacles, thereby improving the reliability of the robot walking along the working path.
[0164] In some implementations, determining a path node based on a plurality of positioning points includes:
[0165] When the robot performs different preset operations, different positioning points are selected as determined path nodes;
[0166] The preset operation is an operation that requires human intervention or an operation in which the robot travels a distance greater than a first preset distance within a fixed range.
[0167] Considering that when the robot is used in lawn-related areas, the robot's wheels may be large, or when performing preset operations, the staff needs to enter the lawn to walk, or the robot needs to walk frequently within a fixed range, resulting in a large walking distance for the robot. At this time, the lawn in the area may be trampled and damaged.
[0168] Therefore, in this application, when the robot needs to perform different preset operations, different positioning points are selected as determined path nodes, that is, different positioning points are selected as the position points for performing the preset operation, so that the robot walks along different path nodes when performing this preset operation different times, that is, the robot walks along different path nodes when performing this preset operation different times.
[0169] Among them, the preset operation can be a maintenance operation or a cleaning operation, etc., which is not limited in this application.
[0170] It can be seen that through the method in this embodiment, the walking path of the robot can be replanned when the robot performs the preset operation at different times, so as to avoid the robot walking along the same path every time it performs the preset operation, thereby avoiding frequent trampling on the same lawn area and avoiding damage to the lawn.
[0171] In some implementations, generating a work path based on the path nodes includes:
[0172] generating a first working path based on two second path nodes spaced at least one first path node apart;
[0173] generating a second working path based on two first path nodes separated by at least one second path node;
[0174] The working path includes at least a first working path and a second working path.
[0175] Specifically, please refer to Figure 13, which is a schematic diagram of a work path provided by this application. 1-14 in Figure 13 are pre-generated path nodes. When generating a work path based on path nodes, as provided in this embodiment, the entire work path can be divided into two parts. One is a first work path, generated by two work path nodes separated by at least one first path node, such as the thicker line in Figure 13, which is defined as the first work path. The other is a second work path, generated by two first path nodes separated by at least one second work path, such as the thinner line in Figure 13, which is defined as the second work path.
[0176] For example, when the robot is used in a lawn mowing scenario, the method of generating a working path with at least two path nodes spaced apart provided by this embodiment can prevent the robot from causing excessive damage to the lawn during movement.
[0177] In some implementations, after generating the working path based on the path nodes, the method further includes:
[0178] After the robot has finished walking along the working path, it determines whether all path nodes have been traversed;
[0179] If so, it is determined that the robot completes the task.
[0180] After determining each path node and the working path, the robot is controlled to move along the working path. Under normal circumstances, if the robot completes the working path, it will traverse all path nodes. During the robot's movement, the robot may not traverse all path nodes, or under abnormal circumstances, the robot may not traverse all path nodes.
[0181] Therefore, when the present application determines that the robot has traversed all the path nodes, it determines that the robot has completed the operation. At this time, it can enter the relevant steps of controlling the robot to standby in place or controlling the robot to walk to a preset position (such as the starting position) to wait for the next operation. Specifically, this application does not limit how to control the robot after the robot completes the operation. When it is determined that the robot has not traversed all the path nodes, the current working status of the robot is obtained. If the robot is in a normal walking process, no processing is performed and it continues to wait until the robot traverses all the path nodes. If the robot's walking process is abnormal, the current abnormal situation can be fed back to the staff so that the staff can intervene and handle it.
[0182] It can be seen that in this embodiment, by judging whether the robot has traversed all path nodes, it is possible to accurately judge whether the robot has completed the task, so as to determine the subsequent control process according to the robot's task status.
[0183] In some implementations, after generating the working path based on the path nodes, the method further includes:
[0184] Control the robot to walk within a preset area along a working path formed by the sequence of path nodes on the wire;
[0185] When the robot walks and senses a boundary signal and / or a positioning signal of the wire, it is determined whether the sensing path node between the robot and the wire is an expected path node;
[0186] If not, the robot is controlled to return to the guide wire to obtain the robot's positioning information, and returns to the desired path node according to the positioning information.
[0187] Specifically, when the robot is walking along the generated working path, the wheels may slip due to uneven road surfaces or rain on the lawn, and the accumulated errors in the inertial navigation system of the mowing robot itself may cause deviations between the positioning data obtained by the mowing robot through its own sensors and the actual walking posture of the mower. That is, the mowing robot deviates from the original working path and ultimately fails to accurately walk to the expected path node of the boundary wire.
[0188] Since sequential path nodes are set in this application, it is also possible to determine whether there is a deviation from the expected preset node based on the situation of the robot walking to the path node, so as to monitor the robot's working condition. Specifically, when the robot walks onto the wire to sense the boundary signal and / or positioning signal of the wire, it is determined whether the sensing path node between the robot and the wire is the expected path node. If so, it is determined that the robot has not deviated from the original working path during the walking process; otherwise, it is determined that the robot has deviated from the original working path during the walking process. At this time, the robot can be controlled to return to the wire to achieve accurate positioning of the robot, and return to the expected path node based on the positioning information after positioning.
[0189] For example, please refer to Figures 14 and 15. Figure 14 is a schematic diagram of a preset area provided by this application, and Figure 14 is a schematic diagram of another preset area provided by this application. Assuming that the preset area in which the robot operates is a circular area, with a charging station (the rectangle in Figure 14 or Figure 15 is the charging station), a wire, and the multiple path nodes determined above (path node 1 to path node 16) on the boundary, when the robot traverses path node 1 to path node 16, it is determined that the robot has completed the task; otherwise, it is determined that the robot has not completed the task.
[0190] It can be seen that in this embodiment, the robot's walking process can be monitored by judging whether the robot has walked to the expected path node, so that when the robot's walking deviates from the expected path node, the robot's position can be adjusted in time to make it return to the working path.
[0191] In some embodiments, when determining that the sensed path node between the robot and the guide wire is not an expected path node, the method further includes:
[0192] Determine if there is a missed cutting area and control the robot to return to the missed cutting area to make up for it.
[0193] When it is determined that the sensing path node between the robot and the wire is not the expected path node, if the robot is used in a lawn mowing scenario, it is determined that the robot deviates from the expected preset node during walking, and there may be a phenomenon of missed mowing.
[0194] Therefore, in this application, when it is determined that the sensing path node between the robot and the wire is not the expected path node, it is determined that there is a missed cutting area in the area where the robot deviates from, and then the robot can be controlled to return to the missed cutting area to achieve re-cutting of the missed cutting area.
[0195] For example, the connecting lines between the path nodes in Figure 14 represent the walking trajectory of the lawn mowing robot. If the expected path node is path node 4, and the robot walks along the dotted line between path node 3 and path node 4, it is determined that the robot has not deviated from the original working path during the walking process, that is, the sensing path node between the robot and the wire is the expected path node; if the robot walks along the dotted line between path node 3 and path node 4' in Figure 15, it means that the robot deviates from the original working path in the process of walking from path node 3 to path node 4, that is, the sensing path node between the robot and the wire is not the expected path node (the robot's landing point on the boundary wire is between path nodes 4 and 5, deviating from the expected path node 4), then there must be at least a partial area of missed cutting on the working path formed by path node 3 and path node 4, and then the relevant steps of making up for the missed cutting area can be implemented.
[0196] It can be seen that through the method in this application, in addition to accurately controlling the robot to walk according to the preset working path, it is also possible to determine whether the robot has path deviation during the walking process, thereby improving the accuracy of the robot's walking process.
[0197] In some embodiments, controlling the robot to return to the guide wire to obtain the robot's position information includes:
[0198] The robot is controlled to walk a first preset distance on the wire to obtain positioning information of the robot.
[0199] Specifically, the specific method for the robot to obtain the positioning information of the robot during work can be, but is not limited to, controlling the robot to walk a first preset distance on the wire to facilitate the robot to sense the boundary signal and / or positioning signal on the wire, thereby obtaining the positioning information of the robot, so as to subsequently determine the subsequent walking path of the robot based on this positioning information.
[0200] In some embodiments, controlling the robot to return to the missed cutting area to make up for the missed cutting includes:
[0201] Control the robot to walk from the sensing path node to the desired path node;
[0202] Control the robot to walk from the desired path node to the previous path node of the desired path node according to the working path.
[0203] This embodiment aims to provide a compensation solution. Specifically, considering that there are missed cutting areas in the area where the robot deviates from the expected path node, the robot can be controlled to walk again along the working path formed by the expected path node and the previous path node to achieve compensation for the missed cutting area.
[0204] Specifically, the mowing robot can be controlled to walk along the wire from the current sensing path node to the desired path node position, and then walk in the opposite direction along the desired path node to the position of the previous path node of the desired path node to perform the repair cutting of the entire working path.
[0205] For example, in Figure 15, the lawn mowing robot is controlled to walk from path node 4' (the current sensing path node) to the position of path node 4 (the expected path node), and then start from path node 4 and complete the repair mowing along the working path formed by path node 3 (the previous path node of the expected path node) and path node 4.
[0206] It can be seen that the method in this embodiment can achieve the re-mowing of the missed mowing area, thereby improving the mowing coverage rate of the robot and improving the reliability of the robot's operation.
[0207] In some embodiments, controlling the robot to return to the missed cutting area to make up for the missed cutting includes:
[0208] Control the robot to walk from the sensing path node to the previous path node of the expected path node.
[0209] This embodiment aims to provide another compensation solution. Specifically, when the distance between the sensing path node of the robot and the wire and the expected path node is less than a preset value, the corresponding missed cutting area is also smaller. At this time, the compensation of the missed cutting area can be completed by walking directly from the current sensing position point to the previous path node of the expected path node.
[0210] Therefore, in the present application, the mowing robot can also be controlled to walk directly from the current sensing path node along the wire to the position of the previous path node of the desired path node to perform a supplementary mowing of the entire working path.
[0211] For example, in Figure 15, the lawn mower is controlled to move from path node 4' (the current sensing path node) to path node 3 (the previous path node of the expected path node), and then move from path node 3 to path node 4 (the expected path node) according to the working path to complete the mowing of the missed area.
[0212] It can be seen that the method in this embodiment can achieve the re-mowing of the missed mowing area, and there is no need to control the mowing robot to walk to the desired path node, and then walk from the desired path node to the previous path node of the desired path node. This not only improves the robot's mowing coverage and work reliability, but also simplifies the re-mowing path.
[0213] It should be further explained that during the re-cutting process, the order of the path nodes can be changed dynamically to plan the work path in real time. For example, in the re-cutting scheme described above, when the mowing robot determines that it needs to re-cut the missed area, it can re-plan the work path. For example, the original path node 4 and path node 3 can be interchanged to indicate the movement order of the mower. Furthermore, path nodes 5 and 6, 7 and 8... all need to be interchanged. Then, when the mower returns to the position of the original path node 3 (path node 4 after the interchange), it can directly move along the boundary wire to the position of the original path node 6 (path node 5 after the interchange) without returning to the original path node 4, thereby improving the efficiency of mowing and the coverage of mowing.
[0214] In some embodiments, controlling the robot to return to the missed cutting area to make up for the missed cutting includes:
[0215] If the distance between the sensing path node and the expected path node is not less than the preset value, the robot is controlled to make up for the missed cutting area along the vertical direction of the working path from the sensing path node.
[0216] This embodiment aims to provide another compensation solution. Specifically, considering that the sensing path node deviates from the expected path node by a large amount, specifically when the distance between the sensing path node and the expected path node is not less than a preset value, if you walk directly along the original working path, it may not be enough to complete the compensation of the missed cutting area.
[0217] Therefore, in this embodiment, when it is determined that the distance between the current sensing path node and the expected path node is not less than the preset value, the robot can be controlled to make up for the entire missed cutting area from the current path node along the vertical direction of the working path.
[0218] For example, in Figure 15, the distance between path node 4' (the current sensing path node) and path node 4 (the expected path node) is large (not less than the preset value), then the lawn mower can be controlled to move from path node 4' (the current sensing path node) along the vertical direction of the working path formed by path node 3 and path node 4 close to path node 4 to complete the mowing of the missed area.
[0219] It can be seen that the method in this embodiment can achieve the re-mowing of the missed mowing area, and re-plan the re-mowing path when the missed mowing area is large, which not only improves the robot's mowing coverage and work reliability, but also simplifies the re-mowing path.
[0220] In some embodiments, controlling the robot to return to the missed cutting area to make up for the missed cutting includes:
[0221] During the robot's mowing process, it can be determined in real time whether the robot is mowing the grass;
[0222] If not, the robot is controlled to walk to the desired path node or the previous path node, and then the mowing robot is controlled to walk along the working path.
[0223] This embodiment aims to provide another method for back-cutting. Specifically, during the robot's back-cutting process (e.g., starting from path node 4 and moving toward path node 3), it can be determined whether the back-cutting is complete by determining whether the robot is mowing. If the robot is mowing, it is determined that the robot is performing the back-cutting operation and the related back-cutting steps continue. Otherwise, it is determined that the robot has completed the back-cutting operation. At this point, the robot can be controlled to move to the desired path node or the previous path node. The robot can then be controlled to move along the original working path. For example, the robot can continue to move from path node 3 to path node 4, then to path node 5, and so on, until it reaches path node 16.
[0224] In some embodiments, a sensor or other detection element may be provided on the bottom shell of the lawn mower or on the mowing tool to detect whether the mowing tool is still mowing the grass. If it is detected that the mowing tool is still mowing the grass, it means that the current area needs to be re-mowed. If it is detected that the mowing tool can no longer mow the grass, it means that the mowing of the current area has been completed, and the system returns to path node 4 or path node 3 to prepare for walking to the next working path.
[0225] In some embodiments, if a grass collecting box is installed on the lawn mower for collecting grass cut by the lawn mower, it can be detected whether the grass collecting box is continuously collecting grass (such as detecting whether the weight of the grass collecting box is continuously increasing through a weight sensor). If so, it means that the current area of the lawn mower is a missed mowing area. If not, it means that the lawn mower has completed mowing the current area, and the process returns.
[0226] It can be seen that the method in this embodiment can detect in real time whether the re-cutting of the missed cutting area is completed, and when it is determined that the re-cutting is completed, the re-cutting operation is ended and the relevant steps of walking according to the working path are continued to be executed, so as to avoid the robot executing steps related to the re-cutting operation after completing the re-cutting.
[0227] In some embodiments, before controlling the robot to walk to the desired path node or the previous path node, the method further includes:
[0228] Determine a first distance from the desired path node and a second distance from the previous path node at the end of the patch cutting;
[0229] If the first distance is less than or equal to the second distance, the robot is controlled to walk to the desired path node and then walk along the working path;
[0230] If the first distance is greater than the second distance, the order of the path nodes in the working path is adjusted, and the robot is controlled to walk along the working path formed by the adjusted order of the path nodes.
[0231] The present application aims to provide a specific implementation method for dynamically adjusting the order of path nodes. Specifically, when determining that the robot has completed supplementary mowing, the current position of the robot is obtained, and the first distance between the current position and the desired path node and the second distance between the current position and the previous path node are determined; if the first distance is less than or equal to the second distance, it is determined that the path of the robot's supplementary mowing has not reached half of the path between the two path nodes. At this time, the mowing robot can be controlled to return to the desired path node; if the first distance is greater than the second distance, it is determined that the path of the robot's supplementary mowing has exceeded half of the path between the two path nodes. The path nodes are interchanged as described above to replan the working path.
[0232] It can be seen that in this embodiment, by determining the first distance and the second distance to obtain the next path node that the robot needs to walk, invalid paths during the robot's walking process can be reduced and the robot's work efficiency can be improved.
[0233] In some implementations, if the first distance is greater than the second distance, adjusting the order of the path nodes in the working path includes:
[0234] Determine the previous path node of the expected path node as the updated expected path node;
[0235] The updated expected path node is used as the starting path node, and the order of the untraversed path nodes is updated so as to control the robot to walk in the order of the updated path nodes.
[0236] Specifically, when it is determined that the first distance is greater than the second distance, it is determined that the robot is closer to the previous path node. At this time, the robot is controlled to walk to the previous path node. In order to avoid the robot repeatedly walking to the path node that has been traversed, in this embodiment, the previous path node of the original expected path node is determined as the updated expected path node, and the updated expected path node is used as the current starting path node, and all untraversed path nodes are reordered, so that when the robot is triggered from the updated expected path node, it can perform operations within the preset area in the order of the updated path nodes.
[0237] For example, in Figure 15, if the lawn mower starts from path node 4 (the original desired path node) and performs a supplementary cut toward path node 3, it exceeds half of the path between path nodes 3 and 4. That is, the lawn mower is closer to the original path node 3 when completing the supplementary cut. In this case, path node 3 is used as the updated desired path node, and the original path nodes 5-16 are reordered. The path nodes can be interchanged as described above. At this time, the robot starts from path node 3 and walks according to the order of the updated path nodes, and can also complete the operation within the preset area. Conversely, if the lawn mower's supplementary cut path does not exceed half of the original working path, the replanned working path is the same as the original one.
[0238] If there is no wire at the position where the recutting is determined to be completed, the current position of the robot can be determined by, but is not limited to, providing the robot with a positioning module (such as GPS).
[0239] In summary, in addition to being able to re-mow the re-mowing area, the method in this embodiment can also dynamically adjust the robot's working path during the re-mowing process so that the robot walks according to the dynamically adjusted working path, which not only improves the mowing coverage rate, but also reduces the length of the path the robot needs to walk.
[0240] The following will describe in detail how the robot walks within a preset range in conjunction with Figure 16. Figure 16 is a flow chart of a method for planning a robot's working path provided by this application. A wire is provided within the preset area. The wire can be an underground wire or a marker placed on the ground. The method includes:
[0241] S21: Control the robot to start from a preset position and move in a first direction of travel;
[0242] In this embodiment, after receiving a mowing command, the robot is controlled to move to a preset position and then to move in a first direction of travel, starting from the preset position. The preset position can be the point closest to the charging station, the point on the boundary line closest to the robot's current position, a point on the boundary line to which the robot can move without turning, a user-specified point on the boundary line, or the zero coordinate point on the boundary line. The robot begins moving in the first direction of travel based on the starting point determined by the preset position.
[0243] S22: After the robot moves a third distance in the first direction of travel, controlling the robot to turn to move in the second direction of travel;
[0244] After the robot moves a third distance in the first direction of travel, the robot is controlled to turn to move in the second direction of travel. When turning, the robot only needs to turn to the second direction of travel. In this embodiment, if the first direction of travel and the second direction of travel are perpendicular, the turning angle during the turning can be 90°.
[0245] The third distance d1 can be expressed as d1=N*L, where L=disc width+2*effective cutter length (which can also be understood as: L is the effective mowing width of the disc), N≥2, ensuring that the distance along the wire each time is at least 1 spacing L.
[0246] In some embodiments, it is assumed that the first direction of travel is the direction of a coordinate axis, such as the X-axis or Y-axis direction of the coordinate axis. When the first direction of travel is the X-axis direction, the second direction of travel may be the Y-axis direction. The first direction of travel may be the positive direction of the X-axis or the reverse direction of the X-axis. The second direction of travel may be the positive direction of the Y-axis or the reverse direction of the Y-axis. When the first direction of travel is the Y-axis direction, the second direction of travel is the X-axis direction. The first direction of travel may be the positive direction of the Y-axis or the reverse direction of the Y-axis. The second direction of travel may be the positive direction of the X-axis or the reverse direction of the X-axis.
[0247] S23: When the robot moves to the first turning position in the second traveling direction, control the robot to turn to move in the third traveling direction;
[0248] Specifically, the design concept for this step is to rationally arrange turning positions during the robot mowing process, enabling it to complete the full range of mowing tasks while continuously moving. By placing a wire within the mowing area and monitoring whether the robot moves onto the wire using positioning sensors and / or boundary sensors, it is possible to determine whether the robot has reached the first turning position. If the robot moves onto the wire, it can be determined that it has reached the first turning position. At this point, the robot is automatically controlled to change its direction of travel to the third direction. Otherwise, the robot is continuously controlled to move in the second direction of travel.
[0249] In this embodiment, the third traveling direction is opposite to the first traveling direction. Therefore, when the first traveling direction is perpendicular to the second traveling direction, the third traveling direction is also perpendicular to the second traveling direction.
[0250] The method used in this embodiment enables the mowing robot to continuously move within a mowing area while accurately acquiring positioning information. By properly setting the steering position, the robot can effectively complete mowing tasks within a pre-set area, improving mowing efficiency and accuracy. Furthermore, because the steering position is determined based on the robot's actual position and the detection results of the wire, the path planning method in this embodiment can adapt to mowing areas of varying shapes and sizes, providing a degree of flexibility and adaptability.
[0251] S24: After the robot moves a fourth distance along the third travel direction, controlling the robot to turn to move toward a fourth travel direction;
[0252] To achieve full-range mowing, the robot must ensure that it covers the entire mowing area. In step S23, the robot has completed the turn from the second direction of travel to the third direction of travel and has begun mowing in the third direction of travel. To continue mowing in the fourth direction of travel, an appropriate distance (i.e., the fourth distance) must be set when moving in the third direction of travel. After the robot reaches this distance, the robot must perform a turn operation to enable it to move in the fourth direction of travel.
[0253] In one embodiment, the fourth distance d2 is smaller than the third distance d1. Generally speaking, d1-d2=L, and the fourth moving direction is parallel to the second moving direction but in the opposite direction.
[0254] S25: When the robot moves to the second turning position in the fourth direction of travel, control the robot to turn and then re-enter the step of moving in the first direction of travel.
[0255] When the mowing robot moves in the fourth direction, the positioning sensor and / or the boundary sensor are used to determine whether the mowing robot has moved onto the conductive wire. If the mowing robot has moved onto the conductive wire, it indicates that the robot has reached the second turning limit. At this time, the robot needs to be controlled to turn so that the robot re-enters the step of moving in the first direction. The fourth direction of travel is perpendicular to the first direction of travel, and the fourth direction of travel is parallel to the second direction of travel but in opposite directions.
[0256] In one embodiment, steps S21-S25 may be repeated until the robot traverses the preset area or completes the preset task. In another embodiment, steps S21-S25 may be repeated several times, and then the robot is controlled to move along another planned working path to continue performing the preset task.
[0257] In summary, this embodiment uses a row-by-row scanning approach for path planning. During scanning, the robot consistently moves in one direction, turning upon reaching the boundary of each row and continuing along the next row. This approach allows the robot to travel a longer path, thereby reducing measurement errors while also obtaining sufficient positioning information for precise positioning and improved mowing coverage.
[0258] Based on the above embodiment:
[0259] Before controlling the robot to depart from the preset position, it also includes:
[0260] Determine if the robot is docked at a charging station;
[0261] If the robot is docked at the charging station, control the robot to move along the wire to the path node closest to the charging station;
[0262] The path node is located on the conductor, and the location of the path node is a preset location.
[0263] This example describes the series of operations that the robot performs before departing from a preset position. First, it determines whether the robot is docked at a charging station. If so, it controls the robot to move along the wire to the path node closest to the charging station. This path node is located on the wire and corresponds to the preset position.
[0264] Specifically, before the robot is ready to depart, it needs to detect its current location to determine whether it is on a charging station. If so, the robot is controlled to undocking from the station and move along the wire. The wire is marked with path nodes, which are pre-determined locations that reflect the robot's path planning requirements. The robot must move to and stop at the path node closest to the charging station to proceed with path planning.
[0265] As shown in FIG. 17 , in some embodiments, after step S25, the method further includes:
[0266] S26: Control the robot to move a second preset distance along the first travel direction, and then control the robot to turn to move in the second travel direction;
[0267] S27: When the robot moves to the fifth turning position in the second traveling direction, control the robot to turn to move in the opposite direction of the third traveling direction;
[0268] S28: After the robot moves a second preset distance in the opposite direction of the third traveling direction, controlling the robot to turn to move in a fourth traveling direction;
[0269] S29: When the robot moves to the sixth turning position in the fourth direction of travel, control the robot to turn and then re-enter the step of moving in the first direction of travel;
[0270] The second preset distance is smaller than the third distance.
[0271] This embodiment provides another robot path planning method, which includes additional steps S26 to S29. In the original basic path planning method, the robot moves according to the wires within a preset area, and the path planning is performed according to steps S21 to S25. After the loop of S21 to S25 is completed, this embodiment provides further improvements.
[0272] Specifically, in step S26, the robot moves along the first direction of travel for a second preset distance and then turns to move in the second direction of travel. The second preset distance in step S26 is L (the effective mowing width of the cutterhead), and the second preset distance is less than the third distance. By limiting the second preset distance to be less than the third distance, step S26 can be used as an interruption condition during the execution of step S22. When the distance traveled in the first direction of travel reaches the second preset distance, step S26 is entered. Next, in step S27, when the robot reaches a fifth turning position in the second direction of travel, it turns to move in the opposite direction of the third direction of travel (this fifth turning position may be the intersection of the second direction of travel and the guide wire). Next, in step S28, after moving in the opposite direction of the third direction of travel for a second preset distance, the robot turns to move in the fourth direction of travel. Finally, in step S29, when the robot reaches a sixth turning position in the fourth direction of travel, it turns and re-enters the step of moving in the first direction of travel.
[0273] If the working path of steps S21-S25 is summarized as a "U-shaped" path, and steps S26-S29 is summarized as a "bow-shaped" path, then in this embodiment, a path planning method is added. After the "U-shaped" path, the "bow-shaped" path is added, which can improve the positioning accuracy to a certain extent and also improve the flexibility of the working path planning.
[0274] It should be noted that, in this embodiment, the third distance is not less than N times the “bow-shaped” spacing (the effective mowing width of one cutter disc), and N is not less than 2.
[0275] In summary, steps S26-S29 in this embodiment are based on obtaining the wire segment of the length corresponding to the third distance, and then performing bow-shaped mowing on the area surrounded by the wire segment of the length corresponding to the third distance. The path corresponding to steps S26-S29 is planned as a shorter "bow-shaped" path, so that the positioning information obtained by the mowing robot when moving in the bow path is directly matched with the positioning information of the wire segment of the length corresponding to the third distance (there is no need to match the positioning information obtained by the mowing robot along the entire boundary wire for positioning), thereby improving the matching efficiency and positioning accuracy.
[0276] In some implementations, after step S29, the method further includes:
[0277] After step S26 is executed several times, step S22 is entered again.
[0278] This embodiment describes a method that, after step S29, executes step S26 several times before re-entering step S22. Specifically, before step S22, the robot has already moved according to steps S21 through S29. In this embodiment, after each execution of step S29, the number of times step S26 has been executed is determined. Once the number reaches a predetermined number, step S22 is re-triggered.
[0279] Based on the above summary of the working path of steps S21-S25 as a "U-shaped" path and steps S26-S29 as a "bow-shaped" path, the specific implementation method in this embodiment is: the robot first moves along the "U-shaped" path, then moves along the "bow-shaped" path, and after moving along the "bow-shaped" path several times, it moves along the "U-shaped" path again. In some embodiments, if step S26 is executed once and then step S22 is re-entered, the specific implementation method is: the robot moves in a cycle alternating between the "U-shaped" path and the "bow-shaped" path.
[0280] As shown in Figure 18, the robot moves according to the sequence 1→2→3→…→15→16. Assuming the turning point of number 1 is the preset position, the direction of numbers 1→2 is the first moving direction, and the distance between numbers 1→2 is the third distance, then the direction of numbers 2→3 is the second moving direction, the turning point of number 3 is the first turning position, the moving direction of numbers 3→4 is the third moving direction, the distance between numbers 3 and 4 is the fourth distance, the moving direction of numbers 4→5 is the fourth moving direction, and the turning point of number 5 is the second turning position. The distance between numbers 5→6 is the second preset distance, the turning point of number 7 is the third turning position, and the turning point of number 9 is the fourth turning position.
[0281] That is, the robot in Figure 18 moves according to 1→2→3→…→15→16, among which 1→2→3→4→5 is the first "U-shaped" path, 5→6→7→8→9 is the first "bow-shaped" path after the first "U-shaped" path, 9→10→11→12→13 is the second "U-shaped" path after the first "bow-shaped" path, and 13→14→15→16 is the second "bow-shaped" path after the second "U-shaped" path, and the cycle continues until the preset mowing task position is completed.
[0282] It should be noted that in order to clearly indicate the path, the paths corresponding to 1→2 and 9→10 in Figure 18 are staggered, the paths corresponding to 3→4 and 11→12 are staggered, the paths corresponding to 5→6 and 13→14 are staggered, and the paths corresponding to 7→8 and 15→16 are staggered. In the specific implementation, the paths corresponding to the numbers 1→2 and 9→10 in Figure 5 are on the same vertical line, the paths corresponding to 3→4 and 11→12 are on the same vertical line, the paths corresponding to 5→6 and 13→14 are on the same vertical line, and the paths corresponding to 7→8 and 15→16 are on the same vertical line.
[0283] This embodiment can increase the robot's operational flexibility and efficiency. By executing step S26 multiple times and then re-entering step S22, the robot can cyclically move between different areas, expanding its operational range and coverage area. Furthermore, by re-entering the cycle, the robot can avoid the monotony and inefficiency associated with single-path planning, thereby improving operational efficiency. Furthermore, this method can adapt to path planning requirements in different scenarios, enhancing the robot's applicability and flexibility.
[0284] In some embodiments, after step S25, the method further includes:
[0285] Each time the vehicle re-enters the step of moving in the first direction of travel, adjusting the third distance and the fourth distance, and / or adjusting the first turning position and the second turning position;
[0286] Steps S22 to S25 are re-executed with the adjusted third distance and fourth distance, and / or the adjusted first turning position and second turning position.
[0287] In this embodiment, after step S25, the third distance and the fourth distance are further adjusted, and / or the first turning position and the second turning position are adjusted, and steps S22-S25 are re-executed using the adjusted parameters. The purpose of this embodiment is to dynamically adjust the movement path of the robot each time the step of moving in the first direction of travel is re-entered. Specifically, each time the step of moving in the first direction of travel is re-entered, the movement distance of the robot in the first direction of travel can be changed by adjusting the third distance and the fourth distance. This means that the robot can move different distances according to different positions. In addition, the position of the robot when turning can also be changed by adjusting the first turning position and the second turning position to adapt to different path requirements.
[0288] Once the parameters are adjusted, the robot re-executes steps S22-S25. This means the robot will move along the path with the adjusted parameters to complete a specific task or meet a specific requirement. In practice, parameter adjustment can be based on pre-set rules or algorithms, or it can be dynamic based on real-time feedback from the current environment. This allows the robot's working path to be flexibly adjusted based on actual conditions, achieving more efficient and precise movement.
[0289] As shown in FIG. 18 , in some embodiments, when the third distance and the fourth distance remain unchanged, adjusting the first turning position and the second turning position includes:
[0290] Adjusting the first steering position so that the adjusted first steering position differs from the first steering position before the adjustment by a second preset distance in the second direction of travel;
[0291] The second turning position is adjusted so that the adjusted second turning position differs from the second turning position before the adjustment by a second preset distance in the fourth traveling direction.
[0292] In this embodiment, a method for adjusting the steering position of a robot is proposed, and this method is applicable to the situation where the third distance and the fourth distance remain unchanged. Specifically, this embodiment includes the following steps: adjusting the first steering position: according to the second preset distance, the adjusted first steering position is different from the first steering position before adjustment by a second preset distance in the second travel direction. This means that when the robot re-enters the step of moving in the first travel direction, it will be adjusted to the second travel direction relative to the previous position. Adjusting the second steering position: also according to the second preset distance, the adjusted second steering position is different from the second steering position before adjustment in the fourth travel direction by a second preset distance. This means that after the robot moves to the third direction and reaches the second steering position, it will be adjusted to the fourth travel direction relative to the previous position.
[0293] Based on the aforementioned summary of the working path from S21 to S25 as a "U-shaped" path, the specific implementation in this embodiment is equivalent to moving along the "U-shaped" path, but each time the center of the "U-shaped" path is moved a second preset distance in the second or fourth direction of travel to cover the predetermined area. The second preset distance in this embodiment is the effective mowing width of one cutterhead. This approach in this embodiment increases the flexibility of path planning.
[0294] As shown in Figure 18, assuming that number 1 is the preset position, the robot moves according to numbers 1→2→3→...→15→16. Accordingly, the distance between numbers 1→2 / number 5→6 / number 9→10 / number 13→14 is the third distance d1, and the distance between numbers 3→4 / number 7→8 / number 11→12 / number 15→16 is the fourth distance d2.
[0295] It should be noted that in order to clearly represent the path, the paths corresponding to 1→2, 5→6, 9→10, and 13→14 in Figure 18 are staggered and displayed, and the paths corresponding to 3→4, 7→8, 11→12, and 15→16 are staggered and displayed. In the specific implementation, the paths corresponding to 1→2, 5→6, 9→10, and 13→14 in Figure 18 are on the same vertical line; the paths corresponding to 3→4, 7→8, 11→12, and 15→16 are on the same vertical line.
[0296] In some embodiments, adjusting the third distance and the fourth distance, and adjusting the first turning position and the second turning position, includes:
[0297] Adjusting the third distance so that the adjusted third distance differs from the third distance before adjustment by two second preset distances;
[0298] Adjusting the fourth distance so that the fourth distance after adjustment differs from the fourth distance before adjustment by two second preset distances;
[0299] The first steering position is adjusted so as to be compatible with the third distance, and the second steering position is adjusted so as to be compatible with the fourth distance.
[0300] This embodiment is specifically implemented by adjusting the third and fourth distances, and adjusting the first and second turning positions, to align with the second preset distance. Specifically, first, the third and fourth distances are adjusted so that the adjusted distances differ from the pre-adjusted distances by two second preset distances. The second preset distance referred to here refers to the effective mowing width of the robot's cutterhead. The third distance can be adjusted by adding or subtracting two second preset distances from the current path plan. Similarly, the fourth distance can be adjusted in a similar manner. This allows the robot to cover previously unmowed areas during mowing each time it reenters the first direction of travel. Second, the first and second turning positions are adjusted to align with the adjusted distances. Specifically, this can be achieved by adding or subtracting turning positions from the originally planned path, allowing the robot to more precisely control the mowing range. The method for adjusting the turning position may require algorithmic calculation to ensure the robot can accurately adjust its direction during movement.
[0301] In summary, this embodiment adjusts the third and fourth distances, and the first and second turning positions, to conform to the second preset distance. Through such adjustments, the robot can mow more efficiently during path planning, covering a wider area and improving work efficiency.
[0302] In some embodiments, the adjusted third distance is greater than the third distance before adjustment, and the adjusted fourth distance is greater than the fourth distance before adjustment.
[0303] Specifically, based on the above summary of the working path of S21-S25 as a "U-shaped" path, in this embodiment, when the third distance after adjustment is greater than the third distance before adjustment and differs by two second preset distances, the robot's moving path is to walk along a gradually increasing "U-shaped" path.
[0304] As shown in Figure 19, assuming that number 1 is the preset position, the robot moves according to numbers 1→2→3→…→17→18. Accordingly, the distance between numbers 1→2 is the initial third distance, the distance between numbers 5→6 is the third distance after the first adjustment, the distance between numbers 9→10 is the third distance after the second adjustment…, the distance between numbers 3→4 is the initial fourth distance, the distance between numbers 7→8 is the fourth distance after the first adjustment, the distance between numbers 11→12 is the fourth distance after the second adjustment…, and so on, until the preset area is traversed.
[0305] In some embodiments, in order to clearly indicate the paths, the paths corresponding to 1→2, 5→6, 9→10, 13→14, and 17→18 in Figure 19 are staggered and displayed, and the paths corresponding to 3→4, 7→8, 11→12, and 15→16 are staggered and displayed. In a specific implementation, the paths corresponding to 1→2, 5→6, 9→10, 13→14, and 17→18 in Figure 19 are on the same vertical line, and the paths corresponding to 3→4, 7→8, 11→12, and 15→16 are on the same vertical line.
[0306] In some embodiments, the adjusted third distance is smaller than the third distance before adjustment, and the adjusted fourth distance is smaller than the fourth distance before adjustment.
[0307] In this embodiment, when the adjusted third distance is smaller than the third distance before adjustment and the difference is two second preset distances, the movement path of the robot is to walk along a gradually decreasing "U-shaped" path.
[0308] As shown in Figure 20, assuming that number 1 is the preset position, the robot moves according to numbers 18→17→16→...→2→1. Accordingly, the distance between numbers 18→17 is the initial third distance, the distance between numbers 14→13 is the third distance after the first adjustment, the distance between numbers 10→9 is the third distance after the second adjustment..., the distance between numbers 16→15 is the initial fourth distance, the distance between numbers 12→11 is the fourth distance after the first adjustment, the distance between numbers 8→7 is the fourth distance after the second adjustment..., and so on, until the preset area is traversed.
[0309] It should be noted that in order to clearly represent the paths, the paths corresponding to 2→1, 6→5, 10→9, 14→13, and 18→17 in Figure 19 are staggered and displayed, and the paths corresponding to 4→3, 8→7, 12→11, and 16→15 are staggered and displayed. In the specific implementation, the paths corresponding to 2→1, 6→5, 10→9, 14→13, and 18→17 in Figure 20 are on the same vertical line, and the paths corresponding to 4→3, 8→7, 12→11, and 16→15 are on the same vertical line.
[0310] In some embodiments, during the process of the robot moving toward the first direction of travel or the third direction of travel, the process includes:
[0311] controlling the robot to move along the guide wire in the first travel direction or the third travel direction;
[0312] Determining whether the distance between the center position of the robot's wheel axle and the preset position in the first travel direction is equal to a third distance or determining whether the distance between the center position of the robot's wheel axle and the first steering position in the third travel direction is equal to a fourth distance;
[0313] If yes, the robot is controlled to stop moving in the first direction of travel or the third direction of travel.
[0314] This embodiment describes how to determine whether the robot needs to stop while moving along a wire. The principle of this embodiment is to determine whether to control the robot to stop moving by determining distance. Specifically, when controlling the robot along a wire in a first direction of travel, the robot determines whether to stop moving by determining whether the distance between the robot's wheel center and a preset position in the first direction of travel is equal to a third distance. Furthermore, when moving in the third direction of travel, the robot determines whether the distance between the robot's wheel center and a first turning position in the third direction of travel is equal to a fourth distance. If the distances meet the conditions, the robot is controlled to stop moving in either the first or third direction of travel.
[0315] In this embodiment, "axle center" refers to the center position of the robot's axle or axle assembly. During robot movement, the distance between the axle center and a preset position or a first turning position is measured and compared to determine whether the robot needs to stop. This feature monitors the robot's position and compares it with the preset position or the first turning position to control the robot's movement path. When the distance between the robot's axle center and the preset position equals a third distance, the robot is determined to have moved to the preset position and needs to stop. When the distance between the robot's axle center and the first turning position equals a fourth distance, the robot is determined to have moved to the preset position and needs to stop.
[0316] In this embodiment, the reason for comparing the distance between the center position of the wheel axle and the preset position with the third distance, or comparing the distance between the center position of the wheel axle and the first turning position with the fourth distance is that when the robot turns, the center of the wheel axle is used as the center point of rotation. Then, when the distance between the center position of the wheel axle and other positions is used as the basis for judgment, the robot does not need to make too many movement adjustments before and after turning, and can reach the second direction of travel or the fourth direction of travel, which can improve work efficiency.
[0317] The method in this embodiment can accurately control the robot's movement path. By using preset distance and position judgments, the robot can be ensured to stop exactly where it is needed, avoiding problems such as excessive movement or inaccurate stopping positions. This precise path planning method can improve the robot's work efficiency and accuracy, reducing errors and resource waste.
[0318] In some embodiments, upon determining that the robot has moved in the second direction of travel and has not moved to the first turning position, the method further comprises: determining whether the robot has moved onto the guide wire;
[0319] If the robot moves onto the wire, the process proceeds to a step of controlling the robot to turn so as to move in a third direction of travel.
[0320] In this embodiment, when it is determined that the robot is moving in the second direction of travel and has not yet reached the first turning position, a judgment operation is required during the robot's movement. This judgment operation determines whether the robot has moved onto the wire within the preset area. If the robot has moved onto the wire, it has completed movement in the second direction of travel and entered the first turning position. At this point, it is necessary to execute the operation step of controlling the robot to move in the third direction of travel. This is equivalent to the first turning position corresponding to the point where the second direction of travel and the wire intersect. Therefore, when determining whether the robot has moved onto the wire, it is actually determining whether the robot has reached the first turning position.
[0321] In this embodiment, this determination can be performed using the robot's sensors, such as the aforementioned boundary sensors and / or positioning sensors, to determine whether the robot has contacted the wire. If the robot's sensors detect the wire, the robot is controlled to turn and move in the third direction of travel.
[0322] In summary, this embodiment ensures that the robot can move correctly according to the guidance of the wire and make corresponding turning movements when reaching different directions, thereby improving the accuracy and reliability of the robot's motion path.
[0323] In some embodiments, during the process of controlling the robot to turn to move in the third direction of travel, the method further includes:
[0324] Get the distance the robot moves in the third direction of travel;
[0325] If the distance the robot moves in the third moving direction is greater than the fourth distance, it is determined that there is a missed cutting area in the preset area.
[0326] This embodiment describes an additional step during the process of the robot turning to move in the third direction of travel. This step requires obtaining the distance the robot has moved in the third direction of travel (the distance the robot has moved in the third direction of travel after turning and moving along the line to the second turning position) and comparing this distance with a preset fourth distance. If the distance the robot has moved in the third direction of travel is greater than the preset fourth distance, it can be determined that there is an incorrectly processed area within the preset area, i.e., a missed area.
[0327] This embodiment determines whether the robot has correctly executed the path planning in the third direction of travel by comparing the robot's movement distance in the third direction of travel with a preset fourth distance. If the robot exceeds the preset fourth distance, it means that the robot may not have correctly executed the path planning in the third direction of travel, thereby detecting the existence of a missed cutting area.
[0328] In summary, this embodiment improves the accuracy and efficiency of the robot's path planning by comparing the robot's moving distance with the second preset distance to detect the missed cutting area.
[0329] In some embodiments, after determining that there is a missed area in the preset area, the method further includes:
[0330] Controlling the robot to move to a first turning position;
[0331] After the robot moves to the first turning position, the robot is controlled to move in the opposite direction of the second traveling direction.
[0332] This embodiment is a further action taken by the robot after determining that there is a missed cutting area in the preset area. Specifically, after determining the missed cutting area, the robot is further controlled to move to the first turning position, and after reaching the first turning position, the robot is controlled to move in the opposite direction of the second travel direction.
[0333] This embodiment is achieved through robot trajectory planning and path control. After determining the missed area, the robot needs to replan its path to recut the missed area. During this process, the robot first needs to move to a first turning position to ensure that it can correctly turn in the direction opposite to the second direction of travel. After reaching the first turning position, the robot is controlled to move in the direction opposite to the second direction of travel to enter the missed area for recutting.
[0334] The method in this embodiment effectively addresses the potential for missed mowing within a pre-set area. By controlling the robot's movement and steering, the robot can accurately enter missed areas for catch-up mowing. This improves the robot's mowing coverage rate while reducing the need for manual intervention, achieving automated mowing operations. Furthermore, this method ensures the robot follows the pre-set path, avoiding the creation of extra mowing paths, further improving efficiency and saving energy.
[0335] In some embodiments, upon determining that the robot has moved in the fourth direction of travel and has not moved to the second turning position, the method further comprises: determining whether the robot has moved onto the guide wire;
[0336] If the robot moves onto the wire, determining whether the difference between the current position of the robot and the preset position is equal to a second preset distance;
[0337] If the difference between the current position and the preset position is not equal to the second preset distance, it is determined that there is a missed cutting area.
[0338] This embodiment describes a specific implementation method for determining that the robot has moved to the fourth direction of travel and has not moved to the second turning position. In this embodiment, it is first necessary to determine whether the robot has moved onto the wire. If the robot moves onto the wire, according to the correct path planning, the current position of the robot should be a second preset distance (the effective mowing width of a cutter disc) away from the preset position; therefore, in this embodiment, whether the robot deviates from the preset planned path is determined by judging whether the difference between the current position of the robot and the preset position is equal to the second preset distance. If the difference between the current position and the preset position is not equal to the second preset distance, then it can be determined that the robot has deviated from the preset planned path, and it is determined that there is a missed cutting area. In short, this embodiment is used to detect whether there is a missed cutting area on the robot's moving path. When the robot moves onto the wire, by comparing the difference between the current position and the preset position, it can be determined whether there is a missed cutting area.
[0339] This embodiment can help the robot perform precise path planning and work execution, and can promptly detect missed cutting areas, allowing the robot to avoid missed cutting caused by not correctly reaching the target position during work. By promptly detecting missed cutting areas, the robot's work path can be corrected, avoiding unnecessary movement operations, and improving work efficiency and accuracy.
[0340] In some embodiments, after determining that there is a missed area in the preset area, the method further includes:
[0341] Controlling the robot to move to a second turning position;
[0342] After the robot moves to the second turning position, the robot is controlled to move in the opposite direction of the fourth traveling direction.
[0343] In this embodiment, after determining that there is a missed cutting area in the preset area, the robot is controlled to move to the second turning position (that is, the intersection of the first and fourth travel directions. This second turning position is the starting point of the complementary cutting path planned in this embodiment). After the robot moves to the second turning position, the robot is controlled to move in the opposite direction of the fourth travel direction (this is the complementary cutting path planned in this embodiment).
[0344] The core of this embodiment is to achieve the process of making up for the missed cutting area by positioning the robot to the second turning position. The specific steps are: first determine the missed cutting area: when the robot moves in the fourth travel direction and has not moved to the second turning position, determine whether the robot has moved to the wire. If the robot moves to the wire, calculate whether the difference between the current position and the preset position is equal to the second preset distance. If the difference in distance is not equal to the second preset distance, it is determined that there is a missed cutting area. Once it is determined that there is a missed cutting area, the robot needs to be moved to the second turning position. After the robot moves to the second turning position, the robot is controlled to change the moving direction, that is, to move in the opposite direction of the fourth travel direction. The purpose of this is to make up for the missed cutting area, and by moving in the opposite direction of the fourth travel direction, it can also return to the working path and continue subsequent work.
[0345] This embodiment primarily addresses the issue of missed cutting areas. By moving the robot to a second turning position and changing its direction, the robot is ensured to return to the pre-set working path, avoiding missed cutting areas. This ensures the robot's working path is continuous and complete, improving work efficiency and accuracy.
[0346] In some embodiments, if it is determined that there is a missed cutting area in the preset area, after controlling the robot to turn and then re-enter the step of moving in the first direction of travel, the method further includes:
[0347] When the robot moves to a third turning position in the second direction of travel, controlling the robot to turn to move in the third direction of travel, wherein the third turning position is the adjusted first path node;
[0348] or,
[0349] When the robot moves to the fourth turning position in the fourth traveling direction, the robot is controlled to turn and then re-enter the step of moving in the first traveling direction, wherein the fourth turning position is the adjusted second path node.
[0350] This embodiment describes a method for planning a path for supplementary cutting after determining that a missed cutting area exists in a preset area, and further includes controlling the robot to turn and then re-enter the step of moving in the first direction of travel. Specifically, the method for supplementary cutting path provides two methods.
[0351] The first method for planning a catch-up path addresses missed areas when moving in the second direction of travel. When the robot reaches a third turning position in the second direction of travel, the robot is controlled to turn and move in the third direction. The third turning position is the adjusted first path node. Specifically, by adjusting the position of the first path node, the robot turns and moves in the third direction of travel, ensuring that the robot can more accurately cover the missed areas in the second direction of travel.
[0352] The second method for compensating for missed cuts in a fourth direction of travel involves controlling the robot to turn and re-enter the first direction of travel when the robot reaches a fourth turning position in the fourth direction of travel. The fourth turning position is the adjusted second path node. In this case, the fourth turning position is determined based on the adjusted second path node. By adjusting the second path node, the robot turns in the fourth direction of travel to re-enter the first direction of travel, thereby compensating for missed cuts in the fourth direction of travel.
[0353] Through this method, the robot's steering position in a specific direction can be determined by adjusting the position of the path nodes, thereby completing missed cuts. This allows for efficient and accurate path planning for pre-set areas with missed cuts. This approach prevents missed cuts and improves the comprehensiveness and accuracy of the robot's work. Furthermore, by selecting the appropriate steering position based on the specific situation, the robot's travel distance and time can be reduced, further improving work efficiency.
[0354] In some embodiments, during the process of the robot moving toward the first direction of travel or the third direction of travel, the process includes:
[0355] controlling the robot to move along the wire in the first direction or the third direction, and determining whether the robot encounters an obstacle while moving along the wire;
[0356] If the robot encounters an obstacle while moving along the wire, the robot is controlled to move along the edge of the obstacle near the preset area.
[0357] This embodiment describes the specific steps and control methods for a robot moving in a first or third direction. In this embodiment, as the robot moves along a wire, it is necessary to determine whether the robot encounters an obstacle. If the robot encounters an obstacle during movement, it is necessary to perform edge processing on the obstacle near a predetermined area.
[0358] This edge-following operation enables the robot to circumvent obstacles and continue moving, ensuring that the robot can successfully complete the preset movement path. Through the control method of this embodiment, the robot can automatically adjust its movement direction when encountering obstacles, ensuring the effectiveness and stability of the robot's work path planning within the preset area.
[0359] In embodiments, this method can be applied to various robot work scenarios, such as automated guided vehicles and drones. By detecting and processing obstacles that may be encountered during robot movement, the robot's work efficiency and safety in complex environments can be improved, while also ensuring the continuity and accuracy of the robot's work path.
[0360] Please refer to FIG21 , which is a structural block diagram of a robot work path planning system provided by the present application. A guide wire is set within a preset area where the robot walks. The system includes:
[0361] A positioning point determination unit 91 is used to control the robot to walk along the wire and determine multiple positioning points of the robot on the wire;
[0362] a path node determination unit 92, configured to determine a path node based on a plurality of positioning points;
[0363] The path generating unit 93 is configured to generate a working path based on the path nodes.
[0364] For an introduction to the robot's work path planning system, please refer to the above embodiments, which will not be repeated in this application.
[0365] In some embodiments, as shown in FIG22 , the system further comprises:
[0366] The first moving unit 94 is used to control the robot to move from a preset position to a first moving direction;
[0367] a second moving unit 95 for controlling the robot to turn and move in a second direction of travel after the robot moves a third distance in the first direction of travel;
[0368] a third moving unit 96 for controlling the robot to turn to move in a third direction of travel when the robot moves to the first turning position in the second direction of travel;
[0369] a fourth moving unit 97 for controlling the robot to turn and move in a fourth direction of travel after the robot moves a fourth distance along the third direction of travel;
[0370] a fifth moving unit 98 for controlling the robot to turn to re-enter the step of moving in the first direction of travel when the robot moves to the second turning position in the fourth direction of travel;
[0371] The third distance is not equal to the fourth distance, the first moving direction is opposite to the third moving direction, and the second moving direction is opposite to the fourth moving direction.
[0372] For an introduction to the robot's work path planning system, please refer to the above embodiments, which will not be repeated in this application.
[0373] Please refer to FIG23 , which is a structural block diagram of a robot work path planning device provided by the present application. The device includes:
[0374] Memory 101, used for storing computer programs;
[0375] The processor 102 is configured to implement the steps of the robot work path planning method as described above when storing the computer program.
[0376] For an introduction to the robot's work path planning device, please refer to the above embodiments, and this application will not go into details here.
[0377] The above are merely optional embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included within the scope of the claims of the present application.
Claims
1. A robot working path planning method, It is characterized in that A wire is arranged within a preset area where the robot walks, and the method comprises: Controlling the robot to walk along the wire and determining a plurality of positioning points of the robot on the wire; Determine a path node based on the plurality of positioning points; A work path is generated based on the path nodes.
2. The robot working path planning method according to claim 1, It is characterized in that The current positioning point of the robot on the wire is determined as follows: Acquire positioning signals sent by the charging station through wires on both sides of the charging station; The current positioning point of the robot is determined according to the time difference or phase difference of the two received positioning signals.
3. The robot working path planning method according to claim 1, It is characterized in that Before determining the path node based on the plurality of positioning points, the method further includes: Determining whether the preset area meets a first preset condition; If yes, the preset area is divided into a plurality of mowing sub-areas.
4. The robot working path planning method according to claim 1, It is characterized in that The determining of the path node based on the plurality of positioning points comprises: Determine a segmentation line of the mowing sub-area based on a plurality of positioning points; The intersection point of the segmentation line and the boundary of the mowing sub-area is determined as the path node.
5. The robot working path planning method according to claim 4, It is characterized in that The step of determining the segmentation line of the mowing sub-area based on a plurality of positioning points comprises: Obtaining the distribution of the wires at the boundary of the mowing sub-area; The dividing line is determined according to the distribution condition.
6. The robot working path planning method according to claim 5, It is characterized in that The step of determining the segmentation line according to the distribution condition includes: Determine a segmentation direction according to the distribution; The segmentation line is determined based on the segmentation direction.
7. The robot working path planning method according to claim 5, It is characterized in that When the mowing sub-area has a first boundary line, a second boundary line, a third boundary line and a fourth boundary line connected in sequence, determining the segmentation direction according to the distribution includes: If the first boundary line, the second boundary line and the third boundary line have the conductive wire, and the fourth boundary line does not have the conductive wire, a direction perpendicular to the fourth boundary line is determined as a segmentation direction; If the first boundary line and the second boundary line have the conductive wire, and the third boundary line and the fourth boundary line do not have the conductive wire, a direction perpendicular to the third boundary line or the fourth boundary line is determined as a segmentation direction; If the first boundary line and the third boundary line have the conductive wire, and the second boundary line and the fourth boundary line do not have the conductive wire, a direction parallel to the second boundary line or the fourth boundary line is determined as a segmentation direction; If the first boundary line has the conductive wire, and the second boundary line, the third boundary line, and the fourth boundary line do not have the conductive wire, a direction perpendicular to the first boundary line is determined as a segmentation direction.
8. The robot working path planning method as claimed in claim 3, It is characterized in that After dividing the preset area into a plurality of mowing sub-areas, the method further includes: determining whether the wire exists on the boundary of each mowing sub-area; If not, the mowing sub-area without the conductive line is merged with the adjacent mowing sub-area with the conductive line.
9. The robot working path planning method according to claim 8, It is characterized in that The step of merging the mowing sub-area where the wire does not exist and the adjacent mowing sub-area where the wire exists comprises: The mowing sub-area where the wire does not exist and the adjacent mowing sub-area having the most wires are merged.
10. The robot working path planning method according to claim 1, It is characterized in that The generating a working path based on the plurality of path nodes comprises: Determining a connection order of each of the path nodes; The path nodes are connected according to the connection sequence to generate the working path.
11. The robot working path planning method according to claim 1, It is characterized in that Determining a path node based on the plurality of positioning points comprises: determining whether a portion of the wire is located in the area where the charging station is located; If so, the path node is set on the conductor except for the portion of the conductor corresponding to the area where the charging station is located.
12. The robot working path planning method according to claim 1, It is characterized in that Before generating the working path based on the path node, the method further includes: Determine whether there is an obstacle on the path node; If the obstacle exists, the path node is removed.
13. The robot working path planning method according to claim 1, It is characterized in that The determining of the path node based on the plurality of positioning points comprises: When the robot performs different preset operations, different positioning points are selected as determined path nodes; The preset operation is an operation that requires staff intervention or an operation in which the robot walks a distance greater than a first preset distance within a fixed range.
14. The robot working path planning method according to claim 1, It is characterized in that Generating the working path based on the path node includes: generating a first working path based on two second path nodes separated by at least one first path node; generating a second working path based on the two first path nodes separated by at least one second path node; The working path includes at least the first working path and the second working path.
15. The robot working path planning method according to claim 1, It is characterized in that After generating the working path based on the path node, the method further includes: After the robot has finished walking along the working path, determining whether all the path nodes have been traversed; If so, it is determined that the robot completes the task.
16. The robot working path planning method according to claim 1, It is characterized in that After generating the working path based on the path node, the method includes: The robot is controlled to walk within the preset area along a working path sequentially formed by the path nodes on the wire.
17. The robot working path planning method according to claim 16, It is characterized in that When the robot walks until it senses a signal from the wire, determining whether a sensing path node between the robot and the wire is an expected path node; If not, the robot is controlled to return to the wire to obtain the positioning information of the robot, and returns to the expected path node according to the positioning information.
18. The robot working path planning method according to claim 17, It is characterized in that The controlling the robot to return to the wire to obtain the positioning information of the robot comprises: The robot is controlled to walk a first preset distance on the wire to obtain positioning information of the robot.
19. The robot working path planning method according to claim 16, It is characterized in that After the working path is generated based on the path node, the method further includes: When the robot walks until it senses a signal from the wire, determining whether a sensing path node between the robot and the wire is an expected path node; If not, it is determined that there is a missed cutting area, and the robot is controlled to return to the missed cutting area for supplementary cutting.
20. The robot working path planning method according to claim 19, It is characterized in that The controlling the robot to return and walk to the missed cutting area to make up for the missed cutting includes: The robot is controlled to walk from the sensing path node to a previous path node of the expected path node.
21. The robot working path planning method according to claim 20, It is characterized in that The controlling the robot to walk from the sensing path node to a previous path node of the expected path node includes: Controlling the robot to walk from the sensing path node to the desired path node; The robot is controlled to walk from the expected path node to a previous path node of the expected path node according to the working path.
22. The robot working path planning method according to claim 19, It is characterized in that The controlling the robot to return and walk to the missed cutting area to make up for the missed cutting includes: If the distance between the sensing path node and the expected path node is not less than a preset value, the robot is controlled to make up for the missed cutting area along the vertical direction of the working path from the sensing path node.
23. The robot working path planning method according to claim 19, It is characterized in that The controlling the robot to return and walk to the missed cutting area to make up for the missed cutting includes: During the process of the robot performing supplementary mowing, determining in real time whether the robot is mowing; If not, the robot is controlled to walk to the expected path node or the previous path node, and then the robot is controlled to walk along the working path.
24. The robot working path planning method according to claim 23, It is characterized in that Before controlling the robot to walk to the expected path node or the previous path node, the method further includes: Determine a first distance from the desired path node and a second distance from the previous path node of the position of the robot at the end of the supplementary cutting; If the first distance is not greater than the second distance, controlling the robot to walk along the working path after reaching the expected path node; If the first distance is greater than the second distance, the order of the path nodes in the working path is adjusted, and the robot is controlled to walk along the working path formed by the adjusted order of the path nodes.
25. The robot working path planning method according to claim 24, It is characterized in that If the first distance is greater than the second distance, adjusting the order of each of the path nodes in the working path includes: Determine a previous path node of the expected path node as an updated expected path node; The updated expected path node is used as the starting path node, and the order of the untraversed path nodes is updated so as to control the robot to walk according to the order of the updated path nodes.
26. The robot working path planning method according to claim 16, It is characterized in that The controlling the robot to walk along the working path formed in sequence by each of the path nodes on the wire within the preset area includes: S21: Control the robot to start from a preset position and move in a first moving direction; S22: after the robot moves a third distance in the first direction of travel, controlling the robot to turn to move in a second direction of travel; S23: when the robot moves to the first turning position in the second traveling direction, controlling the robot to turn to move in a third traveling direction; S24: after the robot moves a fourth distance along the third travel direction, controlling the robot to turn to move in a fourth travel direction; S25: When the robot moves to the second turning position in the fourth direction of travel, control the robot to turn and then re-enter the step of moving in the first direction of travel; The third distance is not equal to the fourth distance, the first traveling direction is opposite to the third traveling direction, and the second traveling direction is opposite to the fourth traveling direction.
27. The robot working path planning method according to claim 26, It is characterized in that In the process of the robot moving in the first direction of travel or the third direction of travel, the process includes: Controlling the robot to move along the wire in the first direction of travel or the third direction of travel; Determine whether the distance between the center position of the robot wheel axle and the preset position in the first direction of travel is equal to a third distance or determine whether the distance between the center position of the robot wheel axle and the first steering position in the third direction of travel is equal to a fourth distance; If yes, the robot is controlled to stop moving in the first direction of travel or the third direction of travel.
28. The robot working path planning method according to claim 26, It is characterized in that When it is determined that the robot moves in the second direction of travel and does not move to the first turning position, the method further includes: determining whether the robot moves onto the wire; If the robot moves onto the wire, the process proceeds to a step of controlling the robot to turn so as to move in a third direction of travel.
29. The robot working path planning method according to claim 28, It is characterized in that In the process of controlling the robot to turn to move in the third direction of travel, the method further includes: Acquire the distance moved by the robot in the third direction of travel; If the distance moved by the robot in the third moving direction is greater than the fourth distance, it is determined that there is a missed cutting area in the preset area.
30. The robot working path planning method according to claim 29, It is characterized in that After determining that there is a missed cutting area in the preset area, the method further includes: Controlling the robot to move to the first turning position; After the robot moves to the first turning position, the robot is controlled to move in a direction opposite to the second traveling direction.
31. The robot working path planning method according to claim 26, It is characterized in that When it is determined that the robot moves in the fourth direction of travel and does not move to the second turning position, the method further includes: determining whether the robot moves onto the wire; If the robot moves onto the wire, determining whether the difference between the current position of the robot and the preset position is equal to a second preset distance; If the difference between the current position and the preset position is not equal to the second preset distance, it is determined that there is a missed cutting area.
32. The robot working path planning method according to claim 31, It is characterized in that After determining that there is a missed cutting area in the preset area, the method further includes: Controlling the robot to move to the second turning position; After the robot moves to the second turning position, the robot is controlled to move in a direction opposite to the fourth traveling direction.
33. The robot working path planning method according to claim 29 or 31, It is characterized in that If it is determined that there is a missed cutting area in the preset area, after the step of controlling the robot to turn and re-enter the step of moving in the first direction of travel, the method further includes: When the robot moves to a third turning position in the second traveling direction, controlling the robot to turn to move in the third traveling direction, wherein the third turning position is the adjusted first path node; or, When the robot moves to the fourth turning position in the fourth traveling direction, the robot is controlled to turn and then re-enter the step of moving in the first traveling direction, wherein the fourth turning position is the adjusted second path node.
34. The robot working path planning method according to any one of claims 26 to 32, It is characterized in that After step S25, the method further includes: S26: controlling the robot to move a second preset distance along the first travel direction, and then controlling the robot to turn to move in a second travel direction; S27: When the robot moves to a fifth turning position in the second traveling direction, controlling the robot to turn to move in the opposite direction of the third traveling direction; S28: after the robot moves the second preset distance in the opposite direction of the third traveling direction, controlling the robot to turn to move in a fourth traveling direction; S29: When the robot moves to the sixth turning position in the fourth traveling direction, control the robot to turn and then re-enter the step of moving in the first traveling direction; Wherein, the second preset distance is smaller than the third distance.
35. The robot working path planning method as claimed in claim 34, It is characterized in that After step S29, the method further includes: After S26 is executed several times, step S22 is entered again.
36. A robot working path planning method as claimed in any one of claims 26 to 32, It is characterized in that After step S25, the method further includes: Each time the step of re-entering the moving in the first direction of travel is performed, adjusting the third distance and the fourth distance, and / or adjusting the first turning position and the second turning position; Steps S22 to S25 are re-executed with the adjusted third distance and fourth distance, and / or the adjusted first turning position and second turning position.
37. The robot working path planning method as claimed in claim 36, It is characterized in that When the third distance and the fourth distance remain unchanged, adjusting the first steering position and the second steering position includes: Adjusting the first steering position so that the adjusted first steering position differs from the first steering position before the adjustment by a second preset distance in the second traveling direction; The second turning position is adjusted so that the adjusted second turning position differs from the adjusted second turning position by a second preset distance in the fourth traveling direction.
38. The robot working path planning method as claimed in claim 36, It is characterized in that The adjusting the third distance and the fourth distance, and adjusting the first turning position and the second turning position, comprises: Adjusting the third distance so that the adjusted third distance differs from the third distance before the adjustment by two second preset distances; Adjusting the fourth distance so that the fourth distance after adjustment differs from the fourth distance before adjustment by two second preset distances; The first steering position is adjusted so that the first steering position is adapted to the third distance, and the second steering position is adjusted so that the second steering position is adapted to the fourth distance.
39. The robot working path planning method as claimed in claim 38, It is characterized in that The third distance after the adjustment is greater than the third distance before the adjustment, and the fourth distance after the adjustment is greater than the fourth distance before the adjustment.
40. The robot working path planning method according to claim 38, It is characterized in that The third distance after the adjustment is smaller than the third distance before the adjustment, and the fourth distance after the adjustment is smaller than the fourth distance before the adjustment.
41. A robot working path planning system, It is characterized in that A guide wire is arranged within a preset area where the robot walks, and the system comprises: A positioning point determination unit, used to control the robot to walk along the wire and determine a plurality of positioning points of the robot on the wire; A path node determination unit, configured to determine a path node based on a plurality of said positioning points; A path generation unit is used to generate a working path based on the path node.
42. The system of claim 41, It is characterized in that The system further comprises: A first moving unit, used to control the robot to move from a preset position to a first moving direction; a second moving unit, configured to control the robot to turn to move in a second moving direction after the robot moves a third distance in the first moving direction; a third moving unit, configured to control the robot to turn so as to move in a third traveling direction when the robot moves to a first turning position in the second traveling direction; a fourth moving unit, configured to control the robot to turn to move in a fourth direction of travel after the robot moves a fourth distance along the third direction of travel; a fifth moving unit, configured to control the robot to turn so as to re-enter the step of moving in the first direction of travel when the robot moves to a second turning position in the fourth direction of travel; The third distance is not equal to the fourth distance, the first traveling direction is opposite to the third traveling direction, and the second traveling direction is opposite to the fourth traveling direction.
43. A robot working path planning device, It is characterized in that include: Memory for storing computer programs; A processor, used to implement the steps of the robot work path planning method as described in any one of claims 1-40 when storing a computer program.
44. A computer readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the robot work path planning method according to any one of claims 1 to 40 are implemented.
Citation Information
Patent Citations
Intelligent mowing system of mower and mowing control method
CN105988471A
Self-moving robot system
CN106909143A
Walking robot, method for controlling walking robot, and walking robot system
CN111136636A
Path tracking method and system, robot and readable storage medium
CN111290388A
Path planning method and system, robot and readable storage medium
CN112445212A
Cited By
Lawn mower control method, lawn mower, computer program product and storage medium
CN119817294A
Mowing vehicle and method of controlling such
EP4787111A1
