Robot control method and apparatus, and robot
By introducing positioning wires and sensor systems into the robot system, the robot can obtain accurate position information on the positioning wires and generate new paths, solving the problem of loss of position information or missing positioning functions and improving operating efficiency and accuracy.
Patent Information
- Application Number
- PCT/CN2023/122116
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-03
- Filing Date
- 2023-09-27
- Publication Date
- 2024-09-12
AI Technical Summary
During the operation, the robot's position information is lost or unable to be positioned due to obstacles or environmental influences. It is unable to accurately complete the task and cannot re-plan its path on its own to improve operation efficiency.
By introducing the positioning wire and sensor system, the robot can obtain accurate position information on the positioning wire and generate a new path based on the position to move to the destination location, ensuring the efficient completion of the task.
It effectively solves the problem of robot position information loss or lack of positioning function, improves operating efficiency and accuracy, and ensures that the robot can adjust itself and complete tasks when encountering obstacles.
Smart Images

Figure CN2023122116_12092024_PF_FP_ABST
Abstract
Description
Robot control method, device and robot
[0001] This application claims priority to the invention patent application with application number 2023101989477 filed with the Patent Office of China on March 3, 2023, entitled “A Robot Recharging Method, Device and System”, 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 2023102487213 filed with the Patent Office of China on March 3, 2023, and with the invention name “A method, device, equipment and storage medium for controlling breakpoint and continuous mowing of a lawn mower”, 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 control method, device and robot. Background Art
[0004] The statements herein merely provide background information related to the present application and do not necessarily constitute prior art.
[0005] When a robot is performing an operation, in order to monitor its operation or assign tasks to it, it is often necessary to know its current position. However, in some cases, there may be obstacles on the robot's operating path, causing the robot to deviate from the path during operation. Or the robot may be affected by the operating environment and unable to determine its exact position. Or the robot itself may not have a positioning function. In this case, the robot's position needs to be accurately located. After accurate positioning, the robot's path to the operating location needs to be replanned to improve the efficiency of the robot in completing the task. Technical issues
[0006] One of the purposes of the embodiments of the present application is to provide a robot control method, device and robot. Technical Solutions
[0007] The technical solution adopted in the embodiment of this application is:
[0008] In a first aspect, a robot control method is provided, comprising:
[0009] Determining that the robot meets the first preset condition, then controlling the robot to move to the positioning wire;
[0010] The first precondition includes:
[0011] The robot cannot move along the preset first path;
[0012] The robot's position information is lost; or,
[0013] Receive an instruction to control a robot that does not have a positioning function to go to a specified location;
[0014] A first position of the robot on the positioning wire is acquired, a second path from the first position to a destination position is generated, and the robot is controlled to move to the destination position based on the second path.
[0015] In a second aspect, a robot control device is provided, comprising:
[0016] A positioning wire searching unit, configured to control the robot to move to the positioning wire if it determines that the robot meets a first preset condition;
[0017] The first precondition includes:
[0018] The robot cannot move along the preset first path;
[0019] The robot's position information is lost; or,
[0020] Receive an instruction to control a robot that does not have a positioning function to go to a specified location;
[0021] The task control unit is used to obtain a first position of the robot on the positioning wire, generate a second path from the first position to a destination position, and control the robot to move to the destination position based on the second path.
[0022] In a third aspect, a robot control system is provided, comprising:
[0023] memory for storing computer programs;
[0024] The processor is used to execute the computer program, and when the computer program is executed by the processor, the steps of the robot control method as described above are implemented.
[0025] The beneficial effect of a robot control method provided in an embodiment of the present application is that by controlling the robot to move toward the positioning wire, the exact position of the robot on the positioning wire is determined, and then the path of the robot to the destination is determined based on the exact position of the robot on the positioning wire. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] 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.
[0027] FIG1 is a schematic flow chart of a robot control method provided in an embodiment of the present application;
[0028] FIG2 is a schematic diagram of a scenario of moving from a pathfinding position to a positioning guide wire provided by a robot control method provided in an embodiment of the present application;
[0029] FIG3 is a schematic diagram showing the principle of a positioning robot based on a positioning wire provided in an embodiment of the present application;
[0030] FIG4 is a waveform diagram of a positioning robot based on a positioning wire provided in an embodiment of the present application;
[0031] FIG5 is a schematic diagram of generating a first recharge path provided by an embodiment of the present application;
[0032] FIG6 is a schematic diagram of generating a second recharge path provided by an embodiment of the present application;
[0033] FIG7 is a schematic diagram of generating a third recharge path provided in an embodiment of the present application;
[0034] FIG8 is a schematic diagram of generating a fourth recharge path provided by an embodiment of the present application;
[0035] FIG9 is a schematic diagram of a positioning guide wire provided in an embodiment of the present application;
[0036] FIG10 is a schematic diagram of determining a fifth recharging path through a first wire and a second wire according to an embodiment of the present application;
[0037] FIG11 is a schematic diagram of determining a sixth recharging path through a second wire according to an embodiment of the present application;
[0038] FIG12 is a schematic diagram of determining a seventh recharging path through a second wire according to an embodiment of the present application;
[0039] FIG13 is a schematic diagram of determining an eighth recharging path through a second wire according to an embodiment of the present application;
[0040] FIG14 is a schematic diagram of determining a ninth recharging path through a third wire according to an embodiment of the present application;
[0041] FIG15 is a flow chart of a robot control method for moving from a charging station to a pathfinding location provided in an embodiment of the present application.
[0042] FIG16 is a schematic diagram of generating a first continuing operation path provided by an embodiment of the present application;
[0043] FIG17 is a schematic diagram of generating a second continuing operation path provided by an embodiment of the present application;
[0044] FIG18 is a schematic diagram of generating a third continuing operation path provided by an embodiment of the present application;
[0045] FIG19 is a schematic diagram of generating a fourth continuing path provided in an embodiment of the present application;
[0046] FIG20 is a schematic diagram of generating a fifth continuing path provided in an embodiment of the present application;
[0047] FIG21 is a flow chart of a robot control method for moving from a pathfinding position to a location determined by a positioning guide and then returning to the pathfinding position, provided by an embodiment of the present application;
[0048] FIG22 is a schematic structural diagram of a robot control device provided in an embodiment of the present application;
[0049] Figure 23 is a schematic diagram of a robot control system provided in an embodiment of the present application. Modes for Carrying Out the Invention
[0050] In order to make the purpose, technical solutions and advantages of this application more clearly understood, the present application is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit this application.
[0051] It should be noted that the terms "first" and "second" are used for descriptive purposes only and should not be understood to indicate or imply relative importance or implicitly specify the number of technical features. "Multiple" means two or more, unless otherwise specifically defined.
[0052] In order to illustrate the technical solution provided by this application, a detailed description is given below with reference to specific drawings and embodiments.
[0053] FIG1 is a flow chart of a robot control method provided in some embodiments of the present application. As shown in FIG1 , a robot control method includes:
[0054] S102: If it is determined that the robot meets a first preset condition, the robot is controlled to move to a positioning wire.
[0055] Specifically, the first preset condition includes: the robot cannot move along the preset first path,
[0056] The robot's position information is lost; or,
[0057] Receiving an instruction to control the robot without positioning function to move to a specified location; or
[0058] Receive recharge instruction.
[0059] S104: Acquire a first position of the robot on the positioning guide wire, and generate a path from the first position to the destination position.
[0060] S106: Control the robot to move to the destination based on the path finding path.
[0061] First, the robot, positioning guide and target position in this embodiment are described. These descriptions are only for facilitating the understanding of the solution, and are not limited to the devices and equipment of the robot control method provided in the embodiment of this application must be based on such a composition.
[0062] For the robot in this application, it can be a robot that determines the robot's location through a positioning base station, or it can be a robot that does not have a positioning function and completes the work by traversing a preset area. Among them, the positioning base station can be a charging station or a separately set communication base station specifically for positioning. The robot includes a driving device, a detection device and a control device. The robot body completes the work in a designated working area through the driving device under the control of the control device. The detection device is used to detect the working environment in the designated working area, provide the positioning information of the robot in the designated working area, or provide an external reference signal for sensing and assisting the robot in positioning. Specifically, the detection device may include a first sensor, a second sensor and / or a third sensor, wherein the first sensor includes a positioning coil, a GPS, a gyroscope and other types of sensors, which are used to obtain positioning information from the positioning base station in real time and provide it to the robot control device to locate the robot in real time; the second sensor includes a laser sensor, a visual sensor, a temperature sensor, etc., which is used to provide environmental information around the robot to the control device so that it can control the driving device to prevent the robot from colliding with obstacles in the surrounding environment. The third sensor includes an electromagnetic sensor, a light detector, a temperature sensor, a visual sensor, etc., which are arranged in conjunction with the positioning wire to sense the positioning wire and obtain the position of the robot on the positioning wire after the robot goes to the positioning wire. It should be noted that the setting of the three sensors of the first sensor, the second sensor and the third sensor is only a functional illustration, and does not mean that each sensor includes at least one. For example, certain types of sensors can have one or more of these functions, or some sensors may not be set. In addition, for the convenience of control, the control device of the robot body can also be connected to a portable terminal, which includes a mobile phone, a personal computer, a tablet computer, etc., and provides a visual control interface to the user through a wireless connection. The robot control method provided in this embodiment can be directly applied to the control device of the robot, and can also be applied to a portable terminal connected to the robot control device.
[0063] The positioning wire in this application is provided in conjunction with the third sensor in the robot detection device to assist the robot in performing precise positioning. Specifically, the positioning wire can be provided around the boundary of the working area, or it can be provided within the working area or outside the working area to completely surround the working area. In order to better save the robot's power and reduce the time it takes for the robot to perform precise positioning using the positioning wire, when the positioning wire is provided around the boundary of the working area or outside the working area, the positioning wire needs to be provided as close to the boundary of the working area as possible. It can be installed in the form of a ground wire or an underground wire. For ease of implementation, the positioning wire can provide a precise positioning signal, and the third sensor can collect the precise positioning signal and send it to the robot's control device to achieve precise positioning of the robot. The precise positioning system composed of the positioning wire and the third sensor can be based on electromagnetic induction, photoelectric induction, temperature sensing, visual marking, etc. to allow the robot to identify the positioning wire and obtain the positioning signal from the positioning wire. This allows the robot to accurately locate its own position when it does not have the first sensor itself or when the first sensor loses its signal. It can also correct the positioning signal measured by the robot's first sensor itself.
[0064] The target location in this application may include, depending on the operation situation, the location of a charging station, the location where the robot continues to operate, or the robot's designated working position within the operation area. Specifically, it may be determined based on the robot's current battery level or the task being performed by the robot.
[0065] Before executing an operation task, the robot can determine the operation area by, but not limited to, the user guiding the robot to drive to determine the operation area to be performed, the user inputting a map of the operation area into the robot control device so that the robot can determine the operation area, the robot driving along the positioning wires pre-deployed in the operation area to determine the area as the operation area, etc. Then, the operation path is input by the user or the operation path is automatically generated by the robot control device based on the shape of the operation area. At the same time, the control parameters input by the user can also be received to complete the deployment of the operation process and the recharging process in the robot control device. The control parameters may include the robot's travel speed, travel direction, etc. It may also include the conditions for triggering the continuation of the operation, the threshold of the remaining power for triggering recharging, the basis for determining the starting position when continuing the operation, etc.
[0066] On this basis, in the embodiment of the present application, for step S102, it is determined that the robot meets the pathfinding conditions. Specifically, the robot meets the following conditions:
[0067] The robot is unable to move along the preset path. This includes situations where, after receiving a control command and determining a preset path according to the control command, the robot, after a period of movement, determines through its first sensor that the robot is no longer on the preset path. This situation may be because the robot encountered an obstacle on the preset path, preventing it from continuing to move along the preset path, or because the first sensor was affected by the environment and experienced positioning errors when determining the preset path according to the control command, causing the robot to deviate from the preset path after a period of movement. There are three specific scenarios for obstacles on the preset path: the first is when the preset path passes through an area within the work area where work has already been completed, i.e., an area the robot has already traversed. In this case, the robot can generate a preset path to avoid the obstacle based on the locations of obstacles recorded during the operation process. The second is when the preset path passes through an area within the work area where work has not yet been completed. In this case, the robot can first generate a straight path from the pathfinding position to the target position. When encountering obstacles along the straight path to the charging station, the robot can avoid the obstacles and then return to the straight path. The third situation is to receive the position information of obstacles within the working area (or when the target position is outside the working area, it also includes the area range from the working area to the target position) provided by the user, or the robot determines the position information of obstacles within the working area by itself through the second sensor when it travels along the working area in advance to determine the scope of the working area.
[0068] Without the second sensor, the robot cannot determine the location of obstacles in advance. During operation, the robot can use the real-time positioning signal collected by the first sensor to detect the presence of an obstacle in its direction of travel. If the robot senses that it cannot move or is moving abnormally slowly, it will determine that there is an obstacle in its direction of travel and repeatedly perform collision, backward movement, rotation, and forward movement operations to try to circumvent the obstacle.
[0069] The preset path is generated by following the shortest straight-line distance from the pathfinding location to the target location, avoiding obstacles or areas already worked. The preset path includes the locations to be passed and the forward angle at each location.
[0070] The robot is unable to move along the preset path, that is, the robot is controlled to drive to the target position along the preset path, and during the driving process, the robot's position and posture are monitored to determine whether the robot is on the preset path. There are many possible reasons why the robot deviates from the first recharging path, such as deviating from the first recharging path in order to avoid previously undetected or movable obstacles, or the robot's wheels are unable to move forward in the controlled direction due to slippery ground. Since the position information on the preset path is fixed, the distance from the robot to the nearest position on the preset path can be calculated based on the robot's real-time position to obtain the position offset of the robot compared to the preset path. The forward angle of the robot from the nearest position on the preset path is calculated based on the robot's forward angle to obtain the angular offset of the robot compared to the preset path.
[0071] When the robot can travel along the preset path, or the robot deviates from the preset path but the position offset and angle offset are less than the preset threshold, or the robot can return to the first recharging path within the preset time, then the robot is considered to be able to move along the preset path. When the position offset of the robot compared to the preset path exceeds the preset threshold, and / or the angle offset of the robot compared to the first recharging path exceeds the preset threshold, it is obviously difficult for the robot to adjust itself back to the preset path, or it needs to pay a high price to return to the preset path. Or the robot fails to complete the preset path within the preset time, or fails to reach the designated path point of the preset path within the preset time. At this time, it is considered that the robot cannot move according to the preset path, and therefore needs to replan the path to the destination.
[0072] The robot's positioning information is lost. For example, for a robot with real-time positioning function, it is necessary to maintain communication with the positioning base station to accurately provide the robot's current position. Due to the complex working environment of the robot, it may not be possible to maintain stable communication. In the case of poor communication, the robot's accurate position cannot be obtained, so the robot will find it difficult to continue working. There are also some robots that do not have positioning function. It is difficult to determine the robot's position during operation, and it is also impossible to determine the robot's operation progress. For example, some sweeping robots without positioning function often lack positioning function in the process of completing the sweeping operation, so part of the ground that needs to be cleaned is not cleaned.
[0073] The robot's instructions for moving to a specified location generally include:
[0074] The recharge instruction, with the designated location being a charging station, is triggered when at least one of the following conditions is met: detecting that the robot's remaining battery power is below a first threshold, receiving a recharge control signal, determining that the robot's remaining battery power is insufficient to complete the remaining area within the work area, or identifying that the work within the work area is complex (e.g., slippery ground, numerous obstacles, etc.), resulting in high power consumption. A pre-set battery warning threshold, i.e., a first threshold, can be set based on the robot type or dynamically generated based on the currently planned mowing path. The determination based on the first threshold can be combined with the determination of whether the robot's remaining battery power is insufficient to complete the remaining area within the work area, ultimately achieving a balance between ensuring the robot can reach the charging station from its current work location and avoiding an increase in the number of recharges. The recharge control signal can specifically be a recharge control signal received by the robot control device from a portable device or a recharge control signal received by the robot control device from an input device on the robot body. Furthermore, the robot's remaining battery power can be displayed on the robot body's display or in the control interface of the portable device, allowing the user to determine when the robot needs to travel to the charging station for recharging.
[0075] Instructions that specify a location as a work location generally include:
[0076] A continue operation instruction with the designated location as the work location is issued when at least one of the following occurs: the robot's current location cannot be detected; a continue operation control signal is received; the robot's current location is offset from the preset work location; the robot does not reach the designated work location within the preset time; or the robot is detected to have repeatedly collided with obstacles. The continue operation control signal can specifically be a continue operation control signal received by the robot control device from a portable device or a continue operation control signal received by the robot control device from an input device of the robot body. The robot's current task progress can also be displayed on the robot body's display or in the control interface of the portable device, allowing the user to determine whether manual intervention is required to control the robot to continue working.
[0077] The pathfinding position may be represented not only by geographic coordinates but also by a relative position relative to a guide wire (or other reference object) or a position within the work area. The position information of the pathfinding position may be determined by the control device based on the positioning signal obtained by the first sensor and the position determined by the third sensor when it last sensed the positioning guide wire.
[0078] It is understandable that in one or more embodiments, when the robot receives a path from the path-finding position to the destination position, it is generally a straight-line path from the path-finding position to the destination position. However, in actual use, due to limitations of the environment or robot hardware, it may be difficult to determine the path-finding position, or there may be obstacles on the straight-line path, making it difficult to walk the straight-line path from the path-finding position to the destination position. Therefore, it is necessary to first control the robot to go to the positioning wire, and then go to the destination position from the determined position on the positioning wire.
[0079] For step S104, in order to ensure that the robot can move from the positioning wire to the destination position accurately and ensure that the generated path finding path is executable, after the robot goes to the positioning wire, the robot's position on the wire is determined, and the path finding path is planned according to the robot's position on the positioning wire.
[0080] The robot control method provided in the embodiments of the present application uses a positioning wire to determine the robot's position when the robot has difficulty locating itself or cannot execute a pre-set path to its destination. After the robot's position is determined on the positioning wire, a path to the destination is generated. The positioning wire provides accurate positioning for robots that are unable to locate themselves or have inaccurate positioning, resolving the problem of a robot lacking positioning information during operation and enabling the robot to complete its work more efficiently.
[0081] In one possible control method, since the robot's pathfinding position is uncertain, for example, the robot itself is equipped with a GPS positioning system, but the positioning accuracy of the GPS positioning system is limited. When the robot performs high-precision work tasks, the GPS positioning system can only determine the approximate location of the robot. Therefore, it is impossible to determine whether the positioning position of the GPS positioning system is the exact location of the robot. Alternatively, the time when the robot last updated its position information has exceeded the preset time, indicating that the robot's position information update is delayed and the generated position information is inaccurate; or the robot itself does not have a positioning function, so the robot's pathfinding position cannot be determined. In order to enable the robot to move from the pathfinding position to the positioning wire, see Figure 2. In this embodiment, the first strategy refers to path No. 1 shown in the reference figure, and controls the robot to move in a random or specified direction according to a preset strategy until the robot moves to the positioning wire. It is understandable that if the robot moves in a random direction, since the positioning wire at least surrounds the robot's working area, the robot will definitely move to the positioning wire. For a robot without a positioning function, this is the most convenient way to move to the positioning wire, and there is no need to obtain the robot's positioning information. If the robot's approximate position can be obtained, then at least the positioning wire closest to the robot's approximate position can be known. At this time, by controlling the robot to move in the direction of the nearest positioning wire, the time to move to the positioning wire can be greatly saved.
[0082] The second strategy uses sensors mounted on the robot to sense the positioning wire and control the robot's movement to the positioning wire based on the sensor's results. The robot uses sensors to sense the positioning wire. For example, in path 2 of the figure, the robot emits electromagnetic waves and uses the strength of the magnetic induction to determine the distance between the robot and the surrounding positioning wires. Alternatively, the robot uses a camera to capture the surrounding environment and identify the nearest positioning wire. Once the nearest positioning wire is sensed, the robot is controlled to move to the positioning wire.
[0083] In one or more embodiments, the robot can also be controlled to move to the positioning wire by combining the first strategy and the second strategy mentioned above. For example, the robot is first controlled to move in a random direction. During the movement, the position of the surrounding positioning wires is sensed. If the positioning wire is sensed, it means that the robot is very close to the positioning wire. At this time, the robot is controlled to move in the direction of the sensed positioning wire until it moves to the positioning wire.
[0084] In one possible control method, to ensure accurate pathfinding, the robot's position on the positioning wire must be accurately determined. Referring to the description of the positioning wire in the above embodiments, a signal-providing device can be provided on the positioning wire and / or equipment on the positioning wire, enabling the robot to identify the positioning wire and accurately locate itself after entering the positioning wire's sensing area. The signal-providing device can be a wire, a light emitter, a heater, an electronic tag, or a predetermined pattern. Correspondingly, the third sensor can be an electromagnetic sensor, a photoelectric sensor, a temperature sensor, a card reader, or a camera.
[0085] Referring to Figure 3, a specific implementation of the present application using a signal generator and a signal receiver is described. Specifically, both ends of the positioning wire can be connected to a positioning base station, and a signal generator and a signal receiver are respectively provided at the positioning base station and the robot. The robot interacts with the positioning base station to obtain its precise position on the positioning wire.
[0086] As shown in Figure 3, a positioning conductor is used as the signal line for signal transmission. The positioning base station and the robot are respectively equipped with a signal generator and a signal receiver. The signal generator transmits a first signal s1 and a second signal s2 to the signal receiver along the two directions of the conductor. Based on whether the signal receiver receives the first signal s1 and the second signal s2, the path length of the signal receiver from the signal generator in the two directions of the conductor can be obtained, thereby achieving precise positioning of the robot on the positioning conductor. Figure 3 shows a schematic diagram in which the signal generator is located at the positioning base station and the signal receiver is located on the robot body. In actual applications, the opposite can be achieved, with the signal generator located at the robot body and the signal receiver located at the positioning base station. After the positioning base station determines the robot's position on the positioning conductor based on the first signal s1 and the second signal s2, this position information is fed back to the robot via wireless communication.
[0087] As shown in Figure 4, let A be the location of the charging station. Sixteen path nodes, from p1 to p16, can be set on the wire. When mowing, the robot can be controlled to follow the path from p16 to p15, p14, ..., p2, and p1 (or vice versa). This means the robot will travel in a straight line within the work area, then reach a path node on the positioning wire. It will then travel along the path node to the next path node for steering adjustments and precise positioning. It will then turn around and return to the work area, continuing in a straight line until it reaches the next path node on the positioning wire. This means the robot can obtain its precise position each time it reaches the positioning wire.
[0088] Taking the example of a robot and a positioning base station provided on a positioning wire as examples, respectively, provided with a signal generator and a signal receiver, based on the above embodiments, in the robot control method provided in the embodiments of the present application, obtaining the first position of the robot on the positioning wire in S104 may specifically include:
[0089] Injecting a first positioning signal and a second positioning signal into the positioning wire, so that the first positioning signal and the second positioning signal are transmitted toward each other along the positioning wire;
[0090] Obtaining a time difference or a phase difference between a first positioning signal and a second positioning signal received by the robot, and calculating a distance between the robot and the designated location based on the time difference or the phase difference;
[0091] A first position of the robot on the positioning guide is determined according to a distance between the robot and the designated position.
[0092] In the above embodiment, the designated location can be a positioning base station set on the positioning wire, or it can be a signal generator set on the positioning wire. The signal generator is connected to the positioning base station through communication and receives the first positioning signal and the second positioning signal sent by the positioning base station. The specific implementation method is not limited in this embodiment.
[0093] In this embodiment, when determining the reference position point on the positioning wire, it is possible to first determine a sensing position point on the positioning wire whose distance from the charging base station is not greater than a preset distance, and control the robot to walk to the determined sensing position point, and inject a marking signal at the sensing position point, thereby marking the sensing position point injected with the marking signal as a reference position point. Accordingly, when the robot walks onto the positioning wire, it can determine whether it has walked to the reference position point by determining whether the marking signal is detected.
[0094] Of course, the user can directly select the sensing position point on the positioning wire as the reference position point in the map in the APP, and set the distance between the selected reference position point and the charging base station to the preset distance, and determine the preset posture data of the robot at the reference position point. When the robot walks onto the positioning wire and the posture data is the preset posture data, it can be determined that the robot has walked to the reference position point.
[0095] Specifically, the positioning base station can send out the first positioning signal and the second positioning signal at the same time through a signal generator, or send out the first positioning signal and the second positioning signal at different times. After the robot moves to the positioning wire, it receives the first positioning signal and the second positioning signal, determines the reception time of the first positioning signal and the second positioning signal respectively, and determines the transmission time of the first positioning signal and the second positioning signal according to the sending time and the receiving time of the first positioning signal and the second positioning signal.
[0096] In this way, the transmission time difference between the first positioning signal and the second positioning signal can be determined, and combined with the length of the positioning wire, the distance between the robot on the positioning wire and the positioning base station can be calculated, and the position of the robot on the positioning wire can be inferred based on the distance.
[0097] As shown in FIG5 , for example, if the signal generator is provided at the positioning base station and the signal receiver is provided at the robot, then when the robot runs onto the positioning wire, it receives the first signal s1 transmitted in the clockwise direction at the positioning base station at the time T0 at time T1, and receives the second signal s2 transmitted in the counterclockwise direction at the positioning base station at the time T2 at time T3. Assuming that the length of the positioning wire between the robot and the positioning base station in the clockwise direction at this time is L2, and the length of the positioning wire between the robot and the positioning base station in the counterclockwise direction at this time is L1, the wire length is calculated by the following formula: L1-L2=[T3-T1-(T2-T0)]×V; L1+L2=L;
[0098] Wherein, V is the transmission rate of the first signal s1 and the second signal s2 along the wire, and L is the total length of the positioning wire.
[0099] By measuring T3 / T1, the precise position of the robot on the positioning wire can be obtained.
[0100] In the solutions of Figures 3, 4, and 5, the signal generator is located at the positioning base station. However, the signal generator may also be located at any position on the positioning conductor, not limited to being located at the positioning base station.
[0101] It should be noted that in the above scheme, it is only necessary that the positioning base station is set on the positioning wire, or that the signal generator set at any position on the positioning wire is connected to the positioning base station, and the specific setting method of the positioning wire is not limited. That is, the positioning wire here can be a positioning wire set around the working area, or a positioning wire set in the working area, or even a positioning wire set around the target location. In this regard, there is no specific limitation in the embodiments of the present application. When the positioning base station is set on different types of positioning wires, the specific method of determining the position of the robot on the positioning wire needs to be adjusted. For example, referring to another feasible implementation method in Figure 4, if the robot moves to the positioning wire set in the working area, accordingly, based on the above principle, the signal generator on the robot can still transmit signals along the two ends of the positioning wire. In this regard, after the first signals s1 and s2 are transmitted to the two ends respectively, the positioning base station can only receive one of the signals s1. Then, the positioning base station calculates the distance between the positioning base station and the first position of the robot based on the transmission rate of the s1 signal. Based on the distance between the positioning base station and the first position of the robot and the direction of the signal received by the positioning base station, the first position of the robot on the positioning wire can still be determined.
[0102] In the above embodiment, if the destination location is a location on a positioning guide, the shortest path from the first location along the positioning guide to the destination location can be generated as a routing path based on the relative positional relationship between the first location and the destination location. If the base station and the destination location coincide, the routing path can be directly obtained based on the phase difference and / or time difference.
[0103] The embodiments of the present application provide multiple solutions for precisely positioning a robot based on positioning wires. In practical applications, it is not limited to adopting one of these solutions. That is, multiple solutions for precisely positioning a robot based on wires can be combined to enhance the accuracy of precise positioning, or other solutions for precisely positioning a robot based on wires can be adopted.
[0104] FIG6 is a schematic diagram of generating a first pathfinding path provided in an embodiment of the present application. Based on the above embodiment, the embodiment of the present application further illustrates a scheme for generating a pathfinding path from a first location to a destination location.
[0105] 6 , the positioning guide wire includes a guide wire D1 that circles the work area. Acquiring a first position of the robot on the positioning guide wire, generating a path from the first position to a destination position, and controlling the robot to move to the destination position based on the path may specifically include:
[0106] After the robot reaches the positioning wire D1, the robot determines a first position based on the positioning wire D1;
[0107] A straight line path from the first position to the destination position is generated as a pathfinding path.
[0108] In practice, by placing a first guide wire D1 around the work area, the robot can be positioned as needed during operation, minimizing impact on the work. When the target location is located on the first guide wire D1, the straight line from the first location to the target location is used as the pathfinding path, which minimizes distance and time.
[0109] Referring to FIG7 , which is a schematic diagram of generating a second pathfinding path provided in an embodiment of the present application, the positioning guide includes a guide D1 that circles the work area. A preset reference position is provided on the guide D1. For the reference position, it is necessary to predetermine that a straight line path from the reference position to the destination position is achievable. In other words, there are no obstacles on the straight line path from the reference position to the destination position. From another perspective, in the above embodiment, the destination position is determined, otherwise the preset reference position on the guide D1 cannot be determined. Therefore, after determining the first position, the above embodiment can adopt the following technical solutions:
[0110] Determine a second position in the set of first reference positions, where the second position is a first reference position that is on a side of the first position adjacent to the destination position and is closest to the first position;
[0111] A routing path is generated, the routing path including a path from the first location along the positioning guide to the second location and a straight line path from the second location to the charging station.
[0112] In a specific implementation, by presetting reference positions on the first conductive wire D1 set around the working area, see Figure 7, a number of reference positions A1, A2, A3, etc. are set on the first conductive wire D1. When the robot is at A on the first conductive wire D1, first, the current position A is set along the conductive wire on the shortest path along the conductive wire to the destination position. Reference positions A1 and A2 are set, and then A1 closest to the current position A is selected from the reference positions A1 and A2. After the robot reaches A1 from A, it can go directly to the destination position, ensuring that the path-finding path generated by the robot will not be blocked. This avoids the need for the robot to make adjustments based on the actual situation in the path during the process of generating a straight path directly to the destination position.
[0113] When the destination location is a charging station, in another embodiment, referring to FIG8 , the positioning guide may include a first guide D1 arranged around the robot's working area, and a second guide 92 (shown as D2 ) for assisting positioning. Therefore, after determining the first location, this embodiment may further generate a pathfinding path using the following method:
[0114] Obtain a third position from the second reference position set; the second reference position set is composed of at least one second reference position, the second reference position being a position on the positioning wire that is less than a first threshold from the charging station, and arbitrarily selecting a reference position as the third position,
[0115] A routing path is generated, where the routing path includes a straight path from the first location to the third location and a path from the third location to the charging station.
[0116] In this embodiment, the second reference position set includes reference positions B1, B2, B3, and B4; among them, the straight-line distances from B1, B2, B3, and B4 to the charging station are equal. Generally speaking, the preferred reference position is the guide positioning wire, that is, the reference position B2 or B3 on the second wire 92. Of course, the reference position B1 or B4 on the first wire D1 can also be selected as the third position.
[0117] At the same time, it should be noted that since it cannot be ensured that the robot itself will not encounter obstacles or deviations during the process of moving along the straight path from the first position to the third position, if the robot does not move according to the path finding path and the path execution fails, the first preset condition is met, and the process returns to step S102 to re-control the robot to move from the current position to the positioning wire.
[0118] Based on the above embodiment, as a preferred embodiment, referring to FIG9 , the positioning wires in this embodiment may include a first wire 91 arranged along the edge of the robot's operating area, a second wire 92 arranged around the charging station, and a third wire 93 at least partially overlapping with the charging path of the charging station. The charging station may be arranged on or off the first wire 91, and a portion of the second wire 92 may overlap with the first wire 91. At least one end of the third wire 93 should be connected to the charging port of the charging station, so that when the robot moves along the third wire 93, it can eventually move to the charging station and directly connect to the charging port of the charging station. This eliminates the need for the robot to adjust its posture before charging, avoids the problem of difficulty in aligning the robot's charging port with the charging port of the charging station, and facilitates charging of the robot.
[0119] FIG10 is a schematic diagram of a third recharging path provided in an embodiment of the present application.
[0120] Based on the above embodiment, the embodiment of the present application further illustrates the recharging control scheme for the robot to go to the charging station.
[0121] As shown in FIG10 , in the robot control method provided in an embodiment of the present application, the positioning wire may specifically include a first wire 91 that surrounds the working area and a second wire 92 that surrounds the charging station, with the charging station being located on the first wire 91. The first wire 91 and the second wire 92 may use different identification signals for the robot to distinguish. Specifically, the first wire 91 may be provided through the central axis of the charging station. The second wire 92 may be provided around the charging station, and a groove may be dug at the bottom of the charging station to accommodate the second wire 92, so as to avoid interference between the first wire 91 and the second wire 92 during installation.
[0122] The step of generating a path from the first location to the destination location in S104 may specifically include:
[0123] Determining that the first position is located on the second conductive line, generating a routing path, the routing path including a path from the first position along the second conductive line to the intersection and a path from the intersection to the charging station;
[0124] The intersection point refers to a designated intersection point of the second conductive line and the first conductive line, or the intersection point refers to a designated intersection point of the second conductive line and the third conductive line.
[0125] In practice, by placing first conductive wires 91 around the perimeter of the work area, the robot can be precisely positioned as needed during mowing operations, minimizing disruption to the mowing process. Charging station A is positioned on first conductive wires 91, and second conductive wires 92 are placed around charging station A. This allows the robot to better locate the charging station when it approaches it, based on the first and second conductive wires 91, 92.
[0126] As shown in Figure 10, let the first recharging path be a1, and the robot's actual path be a2. When the robot determines at the end of path a2 that it cannot follow the first recharging path, it is controlled to stop attempting to return to the first recharging path a1 and to search for the conductor. Since the robot is now close to the charging station, that is, close to the second conductor 92, it is controlled to drive toward the second conductor 92 and obtain a first precise position C on the conductor. At this point, the robot can travel along the second conductor 92 until it reaches the first conductor 91, then along the first conductor 91 to the charging station A on the first conductor 91. From the first precise position C to the first conductor 91, the robot then travels along the first conductor 91 to the charging station A, thus replanning the second recharging path a3.
[0127] The embodiment of the present application provides a recharging control solution for the robot. Based on the setting of a first conductive line around the working area and a second conductive line around the charging station, the robot is controlled to first reach the second conductive line around the charging station to determine the first precise position when the first recharging path cannot be executed. From the first precise position, the robot travels along the second conductive line to the first conductive line, and then along the first conductive line to the charging station located on the first conductive line. Starting from the first precise position, the robot can reach the charging station smoothly and is less likely to deviate from the path.
[0128] In another embodiment, FIG11 is a schematic diagram of a fourth recharging path provided in an embodiment of the present application.
[0129] Based on the above embodiments, the embodiments of the present application further illustrate the recharging control scheme of the target robot.
[0130] As shown in Figure 11, in the breakpoint-resume cutting control method of the robot provided in an embodiment of the present application, the wires may specifically include a first wire 91 that surrounds the working area and a second wire 92 that surrounds the charging station, and the charging station is provided on the first wire 91. The first wire 91 and the second wire 92 can use different identification signals for the target robot to distinguish. Specifically, the first wire 91 can be provided on the central axis of the charging station. The second wire 92 is provided around the charging station, and specifically, a groove can be dug at the bottom of the charging station to place the second wire 92 to avoid interference between the first wire 91 and the second wire 92 during installation.
[0131] Then, an additional step S103 (not shown) may be introduced: controlling the target robot to drive to the guide wire of the working area, determining the first precise position of the target robot based on the guide wire, and generating a second recharging path from the first precise position to the charging station. Specifically, the step S103 may include:
[0132] After the target robot reaches the second wire 92 , a first precise position is determined based on the second wire 92 ;
[0133] A straight line path between the first precise location and the charging station is used as the second recharging path.
[0134] As shown in Figure 6, let the first recharging path be a1, and the target robot actually executes path a2. When the target robot determines at the end of path a2 that it cannot execute the first recharging path a1, the target robot is controlled to stop attempting to return to the first recharging path a1 and to search for the lead wire. Since the target robot is already near charging station A, that is, near the second lead wire 92, the target robot is controlled to drive toward the second lead wire 92 and obtain the first precise position C on the lead wire. Since the second lead wire 92 is arranged around charging station A, the second recharging path a3 can be planned to directly reach charging station A in a straight line from the first precise position C, thereby reaching charging station A in the shortest time.
[0135] The recharging control scheme for the target robot provided in the embodiment of the present application is based on setting a first conductive line around the working area and a second conductive line around the charging station. When the target robot cannot execute the first recharging path, it controls the target robot to first reach the second conductive line around the charging station to determine the first precise position, and then directly reach the charging station in a straight line from the first precise position, so as to reach the charging station in the shortest time and avoid power outages on the recharging path as much as possible.
[0136] In another embodiment, FIG12 is a schematic diagram of the fifth recharging path provided in the embodiment of the present application.
[0137] Based on the above embodiments, the embodiments of the present application further illustrate the recharging control scheme of the robot.
[0138] As shown in FIG12 , in the robot control method provided in an embodiment of the present application, the wires may specifically include a first wire 91 that surrounds the working area and a second wire 92 that surrounds the charging station, with the charging station being located on the first wire 91. The first wire 91 and the second wire 92 may use different identification signals for the robot to distinguish. Specifically, the first wire 91 may be provided through the central axis of the charging station. The second wire 92 may be provided around the charging station, and a groove may be dug at the bottom of the charging station to accommodate the second wire 92, so as to avoid interference between the first wire 91 and the second wire 92 during installation.
[0139] The step of generating a path from the first location to the destination location in S104 may specifically include:
[0140] After the robot reaches the second wire 92 , the robot is controlled to determine the first position based on the second wire 92 ;
[0141] A straight line path between the first position and the charging station is used as the target path.
[0142] As shown in Figure 12, let the first recharging path be a1, and the robot's actual path be a2. When the robot determines at the end of path a2 that it cannot continue the first recharging path a1, it is controlled to stop attempting to return to the first recharging path a1 and to search for the lead. Since the robot is already near charging station A, that is, near second lead 92, it is controlled to move toward second lead 92 and reach first position C on the lead. Since second lead 92 circumscribes charging station A, a second recharging path a3 can be planned, extending directly from first position C to charging station A in a straight line, thereby reaching charging station A in the shortest possible time.
[0143] The embodiment of the present application provides a recharging control solution for the robot. Based on the setting of a first conductive line around the working area and a second conductive line around the charging station, the robot is controlled to first reach the second conductive line around the charging station to determine a first precise position when the first recharging path cannot be executed, and then directly reach the charging station in a straight line from the first precise position, so as to reach the charging station in the shortest time and avoid power outages on the recharging path as much as possible.
[0144] See Figure 13, which is a schematic diagram of the sixth recharging path provided in an embodiment of the present application.
[0145] Based on the above embodiments, the embodiments of the present application further illustrate the recharging control scheme of the target robot.
[0146] As shown in FIG8 , in the breakpoint-resume cutting control method of the robot provided in an embodiment of the present application, the wires may specifically include a first wire 91 that surrounds the working area and a second wire 92 that surrounds the charging station, and the charging station is provided on the first wire 91. The first wire 91 and the second wire 92 may use different identification signals for the target robot to distinguish. Specifically, the first wire 91 may be provided on the central axis of the charging station. The second wire 92 is provided around the charging station, and a groove may be dug at the bottom of the charging station to place the second wire 92, so as to avoid interference between the first wire 91 and the second wire 92 during installation.
[0147] Then, in S103, controlling the target robot to drive to the guide wire of the operation area, determining the first precise position of the target robot based on the guide wire, and generating a second recharging path from the first precise position to the charging station may specifically include:
[0148] After the target robot reaches the second wire 92 , a first precise position is determined based on the second wire 92 ;
[0149] A straight line path from the first precise location along the second conductive line 92 to the second precise location and between the second precise location and the charging station is defined as the second recharging path.
[0150] As shown in Figure 8, let the first recharging path be a1, and the target robot actually executing path a2. When the target robot determines at the end of path a2 that it cannot execute the first recharging path a1, the target robot is controlled to stop attempting to return to the first recharging path a1 and to search for the lead wire. Since the target robot is now near charging station A, that is, near second lead wire 92, the target robot is controlled to drive toward second lead wire 92 and obtain a first precise position C on the lead wire. To minimize damage to the lawn, extend the life of the target robot, and avoid large pivoting maneuvers, the target robot is controlled to drive from first precise position C to second precise position D on second lead wire 92. From second precise position D, the target robot then travels in a straight line to charging station A. This shortens the recharging path while minimizing damage to the lawn and the target robot.
[0151] See Figure 14, which is a schematic diagram of the seventh recharging path provided in an embodiment of the present application.
[0152] As shown in Figure 14, in the robot control method provided in the embodiment of the present application, the wires may specifically include a first wire 91 that circles the working area and a third wire 93 at least a portion of which overlaps with the charging path of the charging station, and the charging station is provided on the first wire 91. The first wire 91 and the third wire 93 may use different identification signals for the robot to distinguish. Specifically, the first wire 91 may be provided on the central axis of the charging station. At least one end of the third wire 93 is provided corresponding to the charging interface of the charging station. Specifically, the third wire 93 may be provided at the position of the charging interface of the charging station to avoid interference between the first wire 91 and the third wire 93 during installation.
[0153] The step of generating a path from the first location to the destination location in S104 may specifically include:
[0154] Determine that the first location is located on the third wire, then generate a path from the first location along the third wire to the charging station
[0155] As shown in Figure 14, let the first recharging path be a1, and the path the robot actually executes be a2. When the robot determines at the end of path a2 that it cannot execute the first recharging path a1, the robot is controlled to stop attempting to return to the first recharging path a1 and to search for a conductor. Since the robot may be anywhere within the operating area at this point, it can search for the nearest positioning conductor. Therefore, when the nearest positioning conductor is the third conductor 93, the robot is controlled to move toward the third conductor 93 and obtain a first position D on the conductor. Since at least one end of the third conductor 93 is connected to the charging port of charging station A, the recharging path a3 can be planned to directly follow the third conductor 93 from the first position D to charging station A, so that upon arrival at charging station A, the robot can be directly aligned with the charging port for charging.
[0156] The recharging control scheme for the robot provided in the embodiment of the present application is based on setting a first conductive wire that surrounds the working area and a third conductive wire at least part of which overlaps with the charging path of the charging station. When the first recharging path cannot be executed, the robot is controlled to first reach the third conductive wire that overlaps with the charging path of the charging station to determine the first position, and directly reach the charging station along the third conductive wire from the first position, so that the robot can be charged directly without adjusting the posture when arriving at the charging station, while avoiding power outages on the recharging path as much as possible.
[0157] See Figure 15, which is a flow chart of a method for determining a target position of a robot provided in an embodiment of the present application.
[0158] On the basis of the above embodiments of the present application, taking into account the actual operation of the robot, in the robot control method provided in the embodiments of the present application, the step of controlling the robot to move from the pathfinding position to the positioning guide wire in S102 specifically includes:
[0159] S1022: Determine that the current task status of the robot that meets the pathfinding condition is in execution and the battery level is lower than a first battery level threshold, set the location of the charging station as the destination location, control the robot to move to the positioning wire, and record the initial path of the robot moving to the positioning wire;
[0160] Correspondingly, the robot control method further includes:
[0161] S1032. Acquire the pathfinding position according to the initial path and the first position;
[0162] S1034: If it is determined that the battery level of the robot at the destination location is higher than a second battery level threshold, the robot is controlled to move from the charging station to the path-finding location to continue executing the current task.
[0163] In specific implementation,
[0164] The embodiment of the present application provides a recharging control scheme for the robot. Based on the setting of a first conductive line around the working area and a second conductive line around the charging station, the robot is controlled to first reach the second conductive line around the charging station to determine a first precise position when the first recharging path cannot be executed. In the process of planning a second recharging path to the charging station from the first precise position, the robot monitors the execution status of the second recharging path. If it is determined that the second recharging path cannot be executed, the robot will then drive to the first conductive line for precise positioning, and then reach the charging station on the first conductive line along the first conductive line, thereby taking into account the advantages of short time and high arrival success rate on the robot's recharging path.
[0165] Based on the technical solutions in the above embodiments, FIG16 is a schematic diagram of the first continued operation path provided in an embodiment of the present application.
[0166] Based on the above embodiments, the embodiments of the present application further illustrate a solution for the robot to continue operating after recharging.
[0167] As shown in FIG. 16 , in the robot control method provided in an embodiment of the present application, the step of controlling the robot to move from the charging station to the pathfinding position to continue to perform the current task in S1034 may specifically include:
[0168] Controlling the robot to move along the positioning wire to a fourth position on the positioning wire that is closest to the pathfinding position;
[0169] The robot is controlled to move from the fourth position to the path-finding position.
[0170] As shown in Figure 16, this embodiment of the present application uses pathfinding position B as the continued operation position. Since the robot has just finished charging, it can directly follow the wire to the pathfinding position. It should be noted that the wires in Figure 16 include a first wire and a second wire, and charging station A is located on the first wire. This is only an example, and this embodiment of the present application is not limited to using this wire deployment scheme and charging station deployment scheme.
[0171] In a specific implementation, after the robot is fully charged, it first searches for a nearby wire. If the robot is already on the wire, this step can be skipped. Once the robot finds the wire, it drives along it while sensing the wire's signal. The robot's destination on the wire is the fourth position F on the wire closest to the pathfinding position. Specifically, the robot can retrieve the location information of the pre-stored pathfinding position and combine it with its precise position on the wire to determine the location of the fourth position F. After reaching the fourth position F, the robot returns to the pathfinding position B.
[0172] The control scheme for the robot provided in the embodiment of the present application controls the robot to travel along the wire to the fourth position closest to the path-finding position after charging, and then return from the fourth position to the path-finding position to continue working, which can ensure that the robot returns to the path-finding position accurately and reduce the probability of missing work.
[0173] For example, see FIG17 , which is a schematic diagram of the second path for continuing operations provided in an embodiment of the present application; and FIG18 , which is a schematic diagram of the third path for continuing operations provided in an embodiment of the present application.
[0174] Based on the above embodiments, the embodiments of the present application further illustrate a solution for the robot to continue working after recharging.
[0175] As shown in FIG. 17 and FIG. 18 , in the robot control method provided in the embodiment of the present application, the step of controlling the robot to move from the charging station to the pathfinding position to continue to perform the current task in S1034 may specifically include:
[0176] Obtaining a fifth position from a first reference position set; the first reference position set being composed of first reference positions on the positioning wire that can directly reach the charging station; the fifth position being the first reference position closest to the first position, or the fifth position being the first reference position closest to the pathfinding position;
[0177] controlling the robot to move to the fifth position along a straight path from the charging station to the fifth position;
[0178] The robot is controlled to move from the fifth position to the path-finding position.
[0179] Unlike the previous embodiment of this application, in this embodiment, a first continuing operation path a4 is first planned within the operating area from charging station A to the fifth position F on the conductor, and then from the fifth position F, the path returns to the pathfinding position B. The fifth position F is specifically determined based on the location information of the pathfinding position B, that is, a position on the conductor close to the pathfinding position B is selected as much as possible. Then, a path is planned from charging station A to the fifth position F, avoiding known obstacles and / or cut areas. Compared with the solution of the seventh embodiment of this application, this allows for a faster return to the breakpoint and saves more power.
[0180] However, if the robot reaches the fifth position F along the first continued operation path a4 and then immediately drives to the pathfinding position, it may need to make a large turn at the spot, which may easily cause damage to the ground and the robot itself. Therefore, based on the above solution, a better solution is to control the robot to return to the operation area to continue the operation, which specifically includes:
[0181] Controlling the robot to move from the fifth position along the positioning wire to a fourth position on the positioning wire closest to the pathfinding position;
[0182] The robot is controlled to move from the fourth position to the path-finding position.
[0183] As shown in FIG18 , the selected fifth position F can be a position near the point on the conductor closest to the path-finding position, and then a first continuing operation path a4 is planned from the charging station A to the fifth position F on the conductor within the operation area, and then the robot is controlled to travel along the conductor from the fifth position F to the sixth position G, and the angle is gradually adjusted in the process of traveling along the conductor until an angle suitable for returning to the path-finding position is obtained. It should be noted that the sixth position G does not necessarily use the position on the conductor closest to the path-finding position, that is, the robot can travel to a position on the conductor that avoids a large turn as the sixth position G, that is, return to the path-finding position while turning. Through this solution, not only can the breakpoint position be returned to more quickly, saving time and energy, but also damage to the ground and the robot itself caused by a large turn in place can be avoided.
[0184] Based on the technical solutions in the above embodiments, Figure 19 is a schematic diagram of the fourth recharging path provided in the embodiment of the present application; Figure 20 is a schematic diagram of the fifth recharging path provided in the embodiment of the present application.
[0185] Based on the above embodiments, the embodiments of the present application further illustrate a solution for the robot to continue working after recharging.
[0186] Unlike the above-mentioned embodiments of this application, in the embodiment corresponding to FIG19 , a second continuing operation path a5 is directly planned from charging station A to pathfinding position B within the operation area. The robot is controlled to return to pathfinding position B along the second continuing operation path a5. During the robot's driving process, the robot's execution status of the second continuing operation path a5 is determined based on the robot's position and posture. If the third execution status indicates that the robot is able to execute the second continuing operation path a5, the robot's driving state is maintained and the robot's execution status of the second continuing cutting path a5 is continuously monitored.
[0187] When it is determined that the robot is unable to execute the second continued operation path a5 in the third execution state, for example, if the robot is actually traveling along path a6, the robot is then controlled to drive to the wire for precise positioning, obtaining the robot's position H. From position H, the robot plans a third continued operation path a7 to the breakpoint until it reaches the pathfinding position B. Compared with the continued cutting solution proposed in the above embodiment, this solution can return to the breakpoint more quickly, saving time and energy.
[0188] As shown in Figure 20, when it is determined that the execution status is that the robot cannot execute the second continued operation path a5, the robot can be controlled to drive to the position H on the wire closest to the breakpoint position, and then return to the path-finding position B from position H along the third continued operation path a7.
[0189] In order to avoid the robot from turning at a large angle on the spot and damaging the lawn and the robot body, based on the above solution, a better solution is to use the straight path from position H along the wire to position I and the straight path between position I and the path-finding position B as the third continued operation path a7.
[0190] As shown in Figure 20, the selected position H can be a location near the point on the wire closest to the pathfinding position. To avoid the robot making a large turn in place, once the robot determines it cannot execute the second continued operation path a5, it first moves to position H on the wire, then moves along the wire from position H to position I, and then from position I back to the pathfinding position B. During this process, the robot adjusts its angle as it moves, which not only allows it to return to the breakpoint more quickly, saving time and energy, but also prevents damage to the lawn and the robot itself caused by large turns in place.
[0191] As shown in FIG. 21 , in the robot control method provided in an embodiment of the present application, if it is determined in S102 that the robot meets the pathfinding condition, then the step of controlling the robot to move from the pathfinding position to the positioning guide wire may specifically include:
[0192] S1024: Determine that the current task status of the robot that meets the pathfinding condition is in execution and the battery level is lower than a first battery level threshold, set the location of the charging station as the destination location, and control the robot to move to the positioning guide wire;
[0193] Correspondingly, the robot control method further includes:
[0194] S1036. Obtain the task area of the current task;
[0195] S1038: If it is determined that the battery level of the robot at the destination location is higher than a second battery level threshold, the robot is controlled to move from the charging station to a designated location in the task area to continue executing the current task.
[0196] The designated position in the mission area includes a preset position on the positioning wire in the mission area, or a position on the positioning wire in the mission area that is closest to the charging station, or a position on the positioning wire in the mission area that is closest to the pathfinding position.
[0197] In one or more embodiments, in S1034 of the robot control method provided in the embodiments of the present application, if it is determined that the battery level of the robot at the destination location is higher than a second battery level threshold, then the step of controlling the robot to move from the charging station to the pathfinding location to continue to perform the current task may specifically include:
[0198] If it is determined that the battery level of the robot at the destination is higher than the second battery level threshold, then:
[0199] The pathfinding position is used as the destination position, the pathfinding path is used as the preset path, the robot is controlled to move along the pathfinding path, and when it is determined that the robot meets the pathfinding conditions, the robot is controlled to move from the pathfinding position to the positioning wire.
[0200] Based on the above embodiment, after determining that the power level is higher than the second power threshold, the robot determines the destination location as the pathfinding location, so that when the power level is sufficient, the robot can return to continue working after determining the location through the positioning wire.
[0201] In one or more embodiments, the step of controlling the robot to move to a destination based on the path finding path includes:
[0202] The pathfinding path is used as a preset path, the robot is controlled to move along the pathfinding path, and if the robot meets the pathfinding conditions, the robot is controlled to move from the pathfinding position to the positioning guide wire.
[0203] On the basis of the above embodiments, the embodiments of the present application further illustrate a solution in which the robot returns to the path-finding position to continue working after reaching the positioning wire. In these technical solutions, the destination position is the path-finding position.
[0204] In another aspect of the present application, please refer to FIG. 22 , which is a schematic diagram of the structure of a robot control device provided by the present application, including:
[0205] The positioning wire search unit 2001 is configured to control the robot to move from the pathfinding position to the positioning wire if it determines that the robot meets the pathfinding conditions; the pathfinding conditions include: the robot cannot move along the preset path; the robot's position information is lost; or a command is received to control the robot without positioning function to move to a specified position;
[0206] The task control unit 2002 is used to obtain the first position of the robot on the positioning wire, generate a path from the first position to the destination position, and control the robot to move to the destination position based on the path.
[0207] Please refer to FIG23, which is a schematic diagram of the structure of a robot control system provided by this application, including:
[0208] Memory 2110, for storing computer programs 2111;
[0209] The processor 2120 is configured to execute the computer program 2111 , which, when executed by the processor 2120 , implements the steps of the robot control method as described in any one of the above embodiments.
[0210] Among them, the processor 2120 may include one or more processing cores, such as a 3-core processor, an 8-core processor, etc. The processor 2120 can be implemented in at least one hardware form of digital signal processing DSP (Digital Signal Processing), field programmable gate array FPGA (Field-Programmable Gate Array), and programmable logic array PLA (Programmable Logic Array). The processor 2120 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as the central processing unit CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 2120 may be integrated with a graphics processing unit GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 2120 may also include an artificial intelligence AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.
[0211] The memory 2110 may include one or more computer-readable storage media, which may be non-transitory. The memory 2110 may also include high-speed random access memory, and non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In this embodiment, the memory 2110 is at least used to store the following computer program 2111, wherein, after the computer program 2111 is loaded and executed by the processor 2120, it can implement the relevant steps in the breakpoint-resume control method of the robot disclosed in any of the aforementioned embodiments. In addition, the resources stored in the memory 2110 may also include an operating system 2112 and data 2113, etc., and the storage method may be temporary storage or permanent storage. Among them, the operating system 2112 may be Windows. The data 2113 may include but is not limited to the data involved in the above method.
[0212] In some embodiments, the robot control system may further include a display screen 2130 , a power supply 2140 , a communication interface 2150 , an input / output interface 2160 , a sensor 2170 , and a communication bus 2180 .
[0213] Those skilled in the art will appreciate that the structure shown in FIG. 22 does not constitute a limitation on the robot control system and may include more or fewer components than shown.
[0214] It should be noted that the above-described device and system embodiments are merely illustrative. For example, the division of modules is merely a logical function division. In actual implementation, there may be other division methods, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms. The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, they may be located in one place, or they may be distributed on multiple network modules. Some or all of the modules can be selected according to actual needs to achieve the purpose of the present embodiment.
[0215] In addition, the functional modules in the various embodiments of the present application may be integrated into a processing module, or each module may exist physically separately, or two or more modules may be integrated into a single module. The above-mentioned integrated modules may be implemented in the form of hardware or software functional modules.
[0216] If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, or the part that contributes to the existing technology, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and executes all or part of the steps of the method described in each embodiment of this application.
[0217] 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 control method, It is characterized in that include: Determining that the robot meets the path-finding condition, then controlling the robot to move from the path-finding position to the positioning guide wire; The path-finding conditions include: the robot cannot move along the preset path; the position information of the robot is lost; or, a command to control the robot without positioning function to go to a specified position is received, or, a recharge command is received; Acquire a first position of the robot on the positioning wire, and generate a path from the first position to a destination position; The robot is controlled to move to the destination location based on the path finding path.
2. The robot control method according to claim 1, It is characterized in that The controlling the robot to move from the path-finding position to the positioning guide wire comprises: The robot is controlled to move in a random or specified direction according to a preset strategy until the robot moves onto the positioning wire; or, a sensor disposed on the robot senses a signal transmitted on the positioning wire, and the robot is controlled to move onto the positioning wire according to the sensing result of the sensor.
3. The robot control method according to claim 1 or 2, It is characterized in that The obtaining of the first position of the robot on the positioning wire specifically includes: Injecting a first positioning signal and a second positioning signal into the positioning wire, wherein the first positioning signal and the second positioning signal are transmitted toward each other along the positioning wire; Acquire a time difference or a phase difference between the first positioning signal and the second positioning signal received by the robot, and calculate a distance between the robot and the designated position according to the time difference or the phase difference; A first position of the robot on the positioning guide wire is determined according to a distance between the robot and the designated position.
4. The robot control method according to claim 3, It is characterized in that The target position is a position set on the positioning wire, and the step of generating a path from the first position to the target position includes: According to the relative position relationship between the first position and the destination position, the shortest path from the first position along the positioning wire to the destination position is generated as the path finding path.
5. The robot control method according to any one of claims 1 to 3, It is characterized in that The step of generating a path from the first position to the destination position comprises: A straight line path from the first position to the target position is generated as the path finding path.
6. The robot control method according to any one of claims 1 to 3, It is characterized in that The destination location is the location of the charging station, and the step of generating a path from the first location to the destination location includes: The second position is obtained from the first reference position set; the first reference position set is composed of first reference positions on the positioning wire that can reach the charging station in a straight line; the second position is the first position adjacent to the charging station and is at a distance of the first reference position closest to the first position; The routing path is generated, the routing path including a path from the first location along the positioning guide to the second location and a straight line path from the second location to the charging station.
7. The robot control method according to any one of claims 1 to 3, It is characterized in that The destination location is the location of the charging station, and the step of generating a path from the first location to the destination location includes: Acquire a third position in a second reference position set; the second reference position set is composed of at least one second reference position, the second reference position is a position on the positioning wire whose distance from the charging station is less than a first threshold; the third position is any of the first reference positions; The routing path is generated, and the routing path includes a straight line path from the first position to the third position and a path from the third position to the charging station.
8. The robot control method according to any one of claims 1 to 7, It is characterized in that The positioning guide wire includes at least one of the following: A first conductive line arranged along the edge of the robot operation area; a second conductor disposed around the charging station; A third conductive line at least partially overlaps a charging path of the charging station.
9. The robot control method according to claim 8, It is characterized in that The destination location is the location of the charging station, and the step of generating a path from the first location to the destination location includes: Determining that the first position is located on the second conductive line, generating a routing path, the routing path including a path from the first position along the second conductive line to an intersection and a path from the intersection to the charging station; The intersection point refers to a designated intersection point of the second conductive line and the first conductive line, or the intersection point refers to a designated intersection point of the second conductive line and the third conductive line.
10. The robot control method according to claim 8, It is characterized in that The destination location is the location of the charging station, and the step of generating a path from the first location to the destination location includes: It is determined that the first position is located on the second conductive line, and a straight line path from the first position to the charging station is generated as the path finding path.
11. The robot control method according to claim 8, It is characterized in that The generating of a path from the first position to the destination position specifically includes: It is determined that the first position is located on the third conductive line, and then the path finding path from the first position along the third conductive line to the charging station is generated.
12. The robot control method according to claim 3 or 4, It is characterized in that The step of determining that the robot meets the path-finding condition and then controlling the robot to move from the path-finding position to the positioning wire comprises: Determining that the current task state of the robot that meets the path-finding condition is in execution and the power level is lower than a first power threshold, setting the location of the charging station as the destination location, controlling the robot to move to the positioning wire, and recording the initial path of the robot moving to the positioning wire; Correspondingly, the robot control method further includes: Acquire the pathfinding position according to the initial path and the first position; If it is determined that the power level of the robot at the destination location is higher than a second power level threshold, the robot is controlled to move from the charging station to the path-finding location to continue to perform the current task.
13. The robot control method according to claim 12, It is characterized in that The step of controlling the robot to move from the charging station to the path-finding position to continue to perform the current task includes: Controlling the robot to move along the positioning wire to a fourth position on the positioning wire that is closest to the path-finding position; The robot is controlled to move from the fourth position to the path-finding position.
14. The robot control method according to claim 12, It is characterized in that The step of controlling the robot to move from the charging station to the path-finding position to continue to perform the current task includes: Acquire a fifth position in a first reference position set; the first reference position set is composed of first reference positions on the positioning wire that can reach the charging station in a straight line; the fifth position is the first reference position closest to the first position, or the fifth position is the first reference position closest to the path-finding position; controlling the robot to move to the fifth position along a straight path from the charging station to the fifth position; The robot is controlled to move from the fifth position to the path-finding position.
15. The robot control method according to claim 14, It is characterized in that The step of controlling the robot to move from the fifth position to the path-finding position comprises: Controlling the robot to move from the fifth position along the positioning wire to a fourth position on the positioning wire that is closest to the path-finding position; The robot is controlled to move from the fourth position to the path-finding position.
16. The robot control method according to claim 12, It is characterized in that The step of determining that the power level of the robot at the destination position is higher than a second power level threshold, and then controlling the robot to move from the charging station to the path-finding position to continue to perform the current task comprises: Determine that the power level of the robot at the destination location is higher than a second power level threshold, then: The path-finding position is taken as the destination position, the path-finding path is taken as the preset path, the robot is controlled to move along the path-finding path, and the step of returning to the step of determining that the robot meets the path-finding condition, and then controlling the robot to move from the path-finding position to the positioning wire.
17. The robot control method according to any one of claims 1 to 11, It is characterized in that The step of determining that the robot meets the path-finding condition and then controlling the robot to move from the path-finding position to the positioning wire comprises: Determining that the current task state of the robot that meets the path-finding condition is in execution and the power level is lower than a first power threshold, setting the location of the charging station as the destination location, and controlling the robot to move to the positioning wire; Correspondingly, the robot control method further includes: Obtaining the task area of the current task; If it is determined that the power level of the robot at the destination location is higher than a second power level threshold, the robot is controlled to move from the charging station to a designated location in the task area to continue to perform the current task.
18. The robot control method according to claim 17, It is characterized in that The designated position in the task area includes a preset position on the positioning guide wire within the task area.
19. The robot control method according to claim 18, It is characterized in that The designated position in the task area refers to: a position on the positioning wire in the task area that is closest to the charging station.
20. The robot control method according to claim 18, It is characterized in that The designated position in the task area refers to: a position on the positioning wire in the task area that is closest to the path-finding position.
21. The robot control method according to any one of claims 1 to 11, It is characterized in that The step of determining that the robot meets the path-finding condition and then controlling the robot to move from the path-finding position to the positioning wire comprises: Determining that the robot is in a task execution state and the position information of the robot is lost, controlling the robot to move from the path-finding position to the positioning wire, and recording the movement information of the robot from the path-finding position to the positioning wire through an inertial measurement unit carried by the robot; Obtain the coordinates of the path finding position according to the motion information and perform judgment: If the pathfinding position is within the task area of the robot, setting the pathfinding position as the destination position; If the path-finding position is outside the task area of the robot, the designated position in the task area is set as the destination position.
22. The robot control method according to any one of claims 1 to 21, It is characterized in that The step of controlling the robot to move to the destination position based on the path finding path comprises: The path-finding path is used as the preset path, the robot is controlled to move along the path-finding path, and the step of returning to the step of determining that the robot meets the path-finding condition, and then controlling the robot to move from the path-finding position to the positioning wire.
23. A robot control device, It is characterized in that include: Locating wire search unit for: Determining that the robot meets the path-finding condition, then controlling the robot to move from the path-finding position to the positioning guide wire; The path-finding conditions include: the robot cannot move along the preset path; the position information of the robot is lost; or a command is received to control the robot without positioning function to go to a specified position; The task control unit is used to obtain the first position of the robot on the positioning wire, generate a path from the first position to a destination position, and control the robot to move to the destination position based on the path.
24. A robot, It is characterized in that include: Memory for storing computer programs; A processor is used to execute the computer program, and when the computer program is executed by the processor, the steps of the robot control method according to any one of claims 1 to 22 are implemented.
Citation Information
Patent Citations
Robot driving control method and device
CN109426251A
Weeding robot control system and control method
CN114610038A
Method for navigating robotic lawn mower through wire
CN115605818A
Breakpoint continuous cutting control method, device and equipment of mower and storage medium
CN116360432A
Robot recharging method, device and system
CN116414124A
