Pool robot control method and apparatus, storage medium and electronic device

By identifying components to build a pool map and planning a mobile path, the automatic recycling of the pool robot is achieved, which solves the problems of low recycling efficiency and poor user experience in the existing technology, and improves recycling efficiency and user experience.

WO2024229941A1PCT designated stage expired Publication Date: 2024-11-14XINGMAI INNOVATION TECH (SUZHOU) CO LTD
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2023/101926
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-05-06
Filing Date
2023-06-21
Publication Date
2024-11-14

AI Technical Summary

Technical Problem

In the prior art, the recycling efficiency of pool robots is low, and it is prone to damage due to manual pulling, and dirt is easily stuck in the user's hands during the recycling process, which has poor user experience.

Method used

By obtaining the starting point of the pool robot when performing tasks, identifying and establishing a target map, controlling the robot to move to the target docking position in the water, avoiding manual recycling, and using recognition components such as cameras, ranging sensors, etc. to build a pool map, and plan the shortest or around obstacles. the moving path to realize automatic recycling.

Benefits of technology

It improves the recycling efficiency of pool robots, avoids robot damage, improves user experience, realizes automated recycling, and simplifies the recycling process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023101926_14112024_PF_FP_ABST
    Figure CN2023101926_14112024_PF_FP_ABST
Patent Text Reader

Abstract

A pool robot control method and apparatus, a storage medium and an electronic device. The control method comprises: acquiring a starting point position when a pool robot executes a current task, the starting point position being a water entering position or a pool bottom position of the pool robot executing the current task in a target map, and the target map being a map established by means of identifying a target pool (S202); and when the pool robot needs to be recalled during execution of the current task or after the current task has been completed, controlling the pool robot to move in water of the target pool to a target stop position, the target stop position being the position on the side wall of the target pool corresponding to the starting point position (S204).
Need to check novelty before this filing date? Find Prior Art

Description

Control method, device, storage medium and electronic device of pool robot

[0001] This disclosure claims priority to Chinese patent application number 2023105048650, filed with the Patent Office of China on May 6, 2023, entitled “Control method, device, storage medium and electronic device for pool robot”, the entire contents of which are incorporated by reference into this disclosure. Technical Field

[0002] The present disclosure relates to the field of artificial intelligence technology, and in particular to a control method, device, storage medium, and electronic device for a pool robot. Background Art

[0003] Currently, underwater robots are gaining popularity. For example, there are underwater robots configured for purification and disinfection, water quality testing, and pool cleaning. The use of pool robots for pool operations is becoming increasingly widespread. For example, in related technologies, after a pool robot completes its cleaning task, the user typically pulls the robot's power cord back to shore, then uses the robot's built-in handle to lift it out of the water, completing the process.

[0004] However, during the recycling process, the robot may collide with the side of the pool due to pulling, causing damage to the pool robot. Furthermore, dirt attached to the power cord may get on the user's hands, resulting in a poor user experience. Therefore, the recycling efficiency of pool robots in the related art is relatively low.

[0005] With regard to the technical problem in related technologies that manual recovery of the pool robot results in low recovery efficiency, no effective solution has been proposed so far.

[0006] Summary of the Invention

[0007] The present disclosure provides a control method, device, storage medium and electronic device for a pool robot, so as to at least solve the technical problem in the related art that manual recovery of the pool robot is required, resulting in low recovery efficiency.

[0008] According to one embodiment of the present disclosure, a control method for a pool robot is provided, comprising: obtaining a starting position of the pool robot when performing a current task, wherein the current task is used to instruct the pool robot to operate on a target pool, the target pool is filled with water, the starting position is the water entry position or pool bottom position of the pool robot when performing the current task in a target map, the target map is a map established by identifying the target pool before or before the pool robot performs the current task, and the pool bottom position is a position on the bottom of the target pool corresponding to the water entry position; during the execution of the current task or in the case where the pool robot needs to be recalled after the execution of the current task, controlling the pool robot to move to a target docking position in the water of the target pool, wherein the target docking position is a position on the side wall of the target pool corresponding to the starting position.

[0009] In an exemplary embodiment, controlling the pool robot to move to the target docking position in the water of the target pool includes: when the pool robot is recalled from a first position in the target pool, determining a moving path from the first position to the target docking position in the target map; and controlling the pool robot to move from the first position to the target docking position along the moving path.

[0010] In an exemplary embodiment, determining the moving path from the first position to the target docking position in the target map includes: when the pool robot identifies an obstacle in the water of the target pool, determining the moving path from the first position to the target docking position in the target map, wherein the moving path bypasses the obstacle; or when the pool robot records the passing position in the target map, determining the moving path from the first position to the target docking position in the target map, wherein the passing position is located on the moving path; or when the pool robot is set with a preset recall path determination strategy, determining the moving path from the first position to the target docking position in the target map according to the recall path determination strategy.

[0011] In an exemplary embodiment, when the pool robot records the passing position in the target map, determining the moving path from the first position to the target docking position in the target map includes: when the pool robot records the starting position, the starting position is the pool bottom position, and the starting position is the passing position, determining the moving path from the first position to the target docking position in the target map, wherein the starting position is located on the moving path.

[0012] In an exemplary embodiment, the controlling the pool robot to move to a target docking position in the water of the target pool includes: controlling the pool robot to move from the first position to the pool bottom position along the bottom of the target pool when the first position is located at the bottom of the target pool, the starting position is the pool bottom position, and the starting position is the passing position; and controlling the pool robot to move from the pool bottom position to the second position when a second position adjacent to the pool bottom position is determined, and moving vertically from the second position along the side wall of the target pool to the target docking position, wherein the The second position is the position on the side wall of the target pool that is closest to the pool bottom position; or when the first position is located at the bottom of the target pool, the starting position is the pool bottom position, and the starting position is the passing position, the pool robot is controlled to move from the first position to the pool bottom position along the bottom of the target pool; the pool robot is controlled to move vertically from the pool bottom position to the first water surface position, wherein the first water surface position is the water entry position; when the pool robot reaches the first water surface position, the pool robot is controlled to move from the first water surface position to the target docking position.

[0013] In an exemplary embodiment, according to the recall path determination strategy, the moving path from the first position to the target docking position is determined in the target map, including: when the recall path determination strategy is used to indicate that the moving path needs to pass through the target water surface position, the moving path from the first position to the target docking position is determined in the target map, wherein the target water surface position is the position on the water surface of the target pool corresponding to the position where the pool robot is located when it is recalled, and the target water surface position is located on the moving path.

[0014] In an exemplary embodiment, controlling the pool robot to move to the target docking position in the water of the target pool includes: controlling the pool robot to move vertically from the first position to the target water surface position; and when the pool robot reaches the target water surface position, controlling the pool robot to move horizontally from the target water surface position to the target docking position.

[0015] In an exemplary embodiment, controlling the pool robot to move to a target docking position in the water of the target pool includes: when the first position is located at the bottom of the target pool, controlling the pool robot to move from the first position to a third position along the bottom of the target pool, and moving vertically from the third position to a fourth position along the side wall of the target pool, wherein the third position refers to the position on the side wall of the target pool that is closest to the first position, and the fourth position is the position of the water surface of the target pool corresponding to the third position; when the pool robot reaches the fourth position, controlling the pool robot to move horizontally from the fourth position to the target docking position; or when the first position is located at the side wall of the target pool, controlling the pool robot to move vertically downward along the side wall of the target pool. to a fifth position, wherein the fifth position is a position on the bottom of the target pool corresponding to the first position; when a second position adjacent to the pool bottom position is determined, the pool robot is controlled to move from the fifth position to the second position, and from the second position to the target docking position vertically along the side wall of the target pool, wherein the second position is the position on the side wall of the target pool closest to the pool bottom position; or when the first position is located on the side wall of the target pool, the pool robot is controlled to move vertically upward from the first position to a sixth position along the side wall of the target pool, wherein the sixth position is the water surface position of the target pool corresponding to the first position; when the pool robot reaches the sixth position, the pool robot is controlled to move from the sixth position to the target docking position.

[0016] In an exemplary embodiment, the first position includes one of the following: the position where the pool robot stays after completing the current task; the position where the pool robot is located when it receives a recall command while performing the current task; the position where the pool robot is located when the battery level is lower than a predetermined threshold while performing the current task.

[0017] In an exemplary embodiment, before controlling the pool robot to move to a target docking position in the water of the target pool, the method further includes: determining the target docking position according to the target map.

[0018] In an exemplary embodiment, determining the target docking position according to the target map includes: when the starting position is the pool bottom position, determining the first adjacent position on the side wall of the target pool that is closest to the pool bottom position according to the target map, and determining the position of the first adjacent position vertically mapped on the water surface of the target pool as the target docking position; or when the starting position is the water entry position, determining the position of the water entry position vertically mapped on the bottom of the target pool as the pool bottom position; determining the second adjacent position on the side wall of the target pool that is closest to the pool bottom position according to the target map, and determining the position of the second adjacent position vertically mapped on the water surface of the target pool as the target docking position.

[0019] In an exemplary embodiment, the moving path is the shortest moving path from the first position to the target stop position in the target map.

[0020] In an exemplary embodiment, before obtaining the starting position of the pool robot when performing the current task, the method further includes: in response to a trigger instruction, controlling the identification component in the pool robot to identify the target pool and obtain the target map, wherein the identification component includes at least one of the following: a camera, a ranging sensor, and a water pressure sensor.

[0021] According to another embodiment of the present disclosure, a control device for a pool robot is also provided, which is located in the pool robot and includes: an acquisition module, configured to acquire the starting position of the pool robot when performing a current task, wherein the current task is used to instruct the pool robot to operate a target pool, the target pool is filled with water, and the starting position is the water entry position or pool bottom position of the pool robot in the target map when performing the current task, the target map is a map established by identifying the target pool before or before the pool robot performs the current task, and the pool bottom position is the position on the bottom of the target pool corresponding to the water entry position; a control module, configured to control the pool robot to move to a target docking position in the water of the target pool when the pool robot needs to be recalled during the execution of the current task or after the execution of the current task, wherein the target docking position is the position on the side wall of the target pool corresponding to the starting position.

[0022] According to another embodiment of the present disclosure, a computer-readable storage medium is provided, in which a computer program is stored. The computer program is configured to execute the steps of any one of the above method embodiments when running.

[0023] According to another embodiment of the present disclosure, an electronic device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to perform the steps in any one of the above method embodiments.

[0024] Through the present disclosure, by obtaining the starting position of the pool robot when performing the current task, wherein the pool robot identifies the target pool and establishes a target map when or before performing the current task, the starting position is the water entry position or pool bottom position of the pool robot when performing the current task in the target map, and when the pool robot needs to be recalled during or after performing the current task, the pool robot is controlled to move to the target docking position in the target pool, and the target docking position is the position on the side wall of the target pool corresponding to the starting position. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] FIG1 is a block diagram of the hardware structure of a mobile terminal of a method for controlling a pool robot according to an embodiment of the present disclosure;

[0026] FIG2 is a flow chart of a control method of a pool robot according to an embodiment of the present disclosure;

[0027] FIG3 is a first schematic diagram of an automatic docking path according to an embodiment of the present disclosure;

[0028] FIG4 is a second schematic diagram of an automatic docking path according to an embodiment of the present disclosure;

[0029] FIG5 is a third schematic diagram of an automatic docking path according to an embodiment of the present disclosure;

[0030] FIG6 is a flow chart of a method for controlling a pool cleaning robot according to an embodiment of the present disclosure;

[0031] FIG7 is a fourth schematic diagram of an automatic docking path according to an embodiment of the present disclosure;

[0032] FIG8 is a fifth schematic diagram of an automatic docking path according to an embodiment of the present disclosure;

[0033] FIG9 is a sixth schematic diagram of an automatic docking path according to an embodiment of the present disclosure;

[0034] FIG10 is a structural block diagram of a control device of a pool robot according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0035] The present disclosure will be further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are intended only to illustrate the present disclosure and are not intended to limit the present disclosure. It should also be noted that, for ease of description, the accompanying drawings only illustrate portions of the structure relevant to the present disclosure, rather than the entire structure.

[0036] In the description of this disclosure, unless otherwise expressly specified or limited, the terms "connected," "connect," and "fixed" should be understood in a broad sense. For example, they can refer to fixed connections, detachable connections, or integration; mechanical connections or electrical connections; direct connections or indirect connections through an intermediate medium; and can refer to the interconnection of structures within two components or the interaction between two components. Those skilled in the art will understand the specific meanings of these terms in this disclosure based on the specific circumstances.

[0037] In the present disclosure, unless otherwise expressly specified or limited, a first feature being "above" or "below" a second feature may include the first and second features being in direct contact, or may include the first and second features being in contact not directly but through another feature between them. Moreover, a first feature being "above," "above," and "above" a second feature includes the first feature being directly above and obliquely above the second feature, or simply indicates that the first feature is higher in level than the second feature. A first feature being "below," "below," and "below" a second feature includes the first feature being directly below and obliquely below the second feature, or simply indicates that the first feature is lower in level than the second feature.

[0038] In the description of this embodiment, terms such as "upper," "lower," "left," and "right" are used to refer to positions or locations based on the positions or locations shown in the accompanying drawings. These terms are intended solely to facilitate description and simplify operation, and are not intended to indicate or imply that the devices or components referred to must have, be constructed, or operate in a specific orientation. Therefore, they should not be construed as limitations on this disclosure. Furthermore, the terms "first" and "second" are used solely for descriptive purposes and have no special meaning.

[0039] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0040] The method embodiments provided in the embodiments of the present disclosure can be executed in a mobile terminal, a computer terminal or a similar computing device. Taking operation on a mobile terminal as an example, FIG1 is a block diagram of the hardware structure of a mobile terminal of the control method of the pool robot in the embodiment of the present disclosure. As shown in FIG1 , the mobile terminal may include one or more (only one is shown in FIG1 ) processors 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 configured to store data, wherein the mobile terminal may also include a transmission device 106 and an input / output device 108 configured to have a communication function. It will be understood by those skilled in the art that the structure shown in FIG1 is for illustration only and does not limit the structure of the mobile terminal. For example, the mobile terminal may also include more or fewer components than those shown in FIG1 , or have a configuration different from that shown in FIG1 .

[0041] The memory 104 can be configured to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the control method of the pool robot in the embodiment of the present disclosure. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, implementing the above-mentioned method. The memory 104 may include a high-speed random access memory and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely located relative to the processor 102, and these remote memories may be connected to the mobile terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0042] The transmission device 106 is configured to receive or transmit data via a network. A specific example of the aforementioned network may include a wireless network provided by the mobile terminal's telecommunications provider. In one embodiment, the transmission device 106 includes a network interface controller (NIC), which can be connected to other network devices via a base station to enable communication with the Internet. In another embodiment, the transmission device 106 may be a radio frequency (RF) module configured to communicate with the Internet wirelessly.

[0043] In this embodiment, a control method for a pool robot is provided. The pool robot can be a robot that purifies and disinfects a pool, a robot that detects water quality, a pool cleaning robot that cleans a pool, or other robots that perform work in or under water. For example, taking a pool cleaning robot as an example, the pool cleaning robot can clean the bottom, sidewalls, or surface of a pool. When the pool robot completes its work, runs low on power, or needs to be recalled, the pool robot can be controlled to move to a predetermined docking position. Figure 2 is a flow chart of a control method for a pool robot according to an embodiment of the present disclosure. As shown in Figure 2, the process includes the following steps:

[0044] Step S202, obtaining a starting position of the pool robot when performing a current task, wherein the current task is used to instruct the pool robot to operate a target pool, the target pool being filled with water, the starting position being the entry position or pool bottom position of the pool robot when performing the current task in a target map, the target map being a map established by identifying the target pool before or during the time the pool robot performs the current task, and the pool bottom position being the position on the bottom of the target pool corresponding to the entry position;

[0045] Step S204, during the execution of the current task or when the pool robot needs to be recalled after the execution of the current task, control the pool robot to move to the target docking position in the water of the target pool, wherein the target docking position is the position on the side wall of the target pool corresponding to the starting position.

[0046] Through the above steps, the starting position of the pool robot when performing the current task is obtained, wherein the pool robot identifies the target pool and establishes a target map when or before performing the current task. The starting position is the entry point or pool bottom position of the pool robot when performing the current task in the target map. When the pool robot needs to be recalled during or after performing the current task, the pool robot is controlled to move to the target docking position in the target pool. The target docking position is the position on the side wall of the target pool corresponding to the starting position. Through this embodiment, the purpose of automatically recovering the pool robot and controlling the pool robot to move to the target docking position is achieved, avoiding the problem in the related art that manually pulling to recover the pool robot easily causes damage to the pool robot. Therefore, the technical problem in the related art that manual recovery of the pool robot leads to low recovery efficiency is solved, and the effect of improving the recovery efficiency of the pool robot is achieved, as well as the effect of improving the user experience.

[0047] Among them, the executor of the above steps can be a processor, or a controller, for example, a controller or processor in a pool robot, or an application control program in the device, or a processor with human-computer interaction capabilities configured on a storage device, or a processing device or processing unit with similar processing capabilities, etc., but not limited to this.

[0048] In the technical solution provided in the above step S202, when the pool robot performs the current task or before the pool robot performs the current task, the target pool can be identified to obtain a target map of the target pool, for example, the three-dimensional space of the target pool, or the planar target map information of the target pool, for example, the bottom map of the target pool, and / or the side wall map, and obtain the starting position of the pool robot when performing the current task, for example, the starting position can be the water entry position or the pool bottom position when the pool robot performs the current task. Usually, the water entry position is the side wall of the target pool or a position near the side wall, or it can be a position a certain distance away from the side wall. The pool bottom position can be a position on the bottom of the target pool corresponding to the water entry position, for example, the pool bottom position The position is the position of the entry position vertically mapped to the bottom surface of the target pool; in actual applications, the target pool can be spatially identified by the spatial recognition component built into the pool robot. For example, the recognition component may include an inertial navigation system (or inertial navigation for short), and may also include a distance sensor, and may also include a water pressure sensor. The inertial navigation system can be configured to position the pool robot, and the distance sensor can be configured to measure the distance between the pool robot and the side wall of the target pool or the obstacles in the target pool. For example, the distance sensor can be a radar sensor or an ultrasonic sensor. The distance sensor can be configured to build a map of the target pool, and the water pressure sensor can be configured to measure the water depth position of the pool robot in the target pool. Optionally, an automatic recognition module can also be configured in the pool robot. In actual applications, the pool robot can build map information of the three-dimensional space of the target pool through an internally configured lidar sensor or ultrasonic sensor, other sensors or automatic recognition module. Therefore, the target pool is identified by the built-in recognition component to obtain a target map.

[0049] In the technical solution provided in the above step S204, when the pool robot needs to be recalled during the execution of the current task or after the execution of the current task, for example, when the pool robot receives a recall command, or is ready to return automatically after completing the task, the pool robot is controlled to move to the starting position in the water of the target pool; optionally, it can move to the target docking position according to a preset recall path, or it can move to the target docking position according to the position passed during the execution of the current task. Optionally, path planning can also be performed based on the current position of the pool robot, for example, planning a shortest path to the target docking position. The target docking position can be a position on the side wall of the target pool corresponding to the starting position. For example, when the starting position is the water entry position, the target docking position can be the position on the side wall of the target pool that is closest to the water entry position; when the starting position is the pool bottom position, the target docking position can be the position on the side wall of the target pool that is closest to the pool bottom position vertically mapped to the water surface. Alternatively, the target docking position can also be a predetermined position on the sidewall, for example, a position on the sidewall of a fixed recycling point or recycling station. In practical applications, different return strategies can be formulated to control the pool robot to move to the target docking position.

[0050] The above embodiment achieves the goal of automatically recovering the pool robot and controlling its movement to the target docking position, avoiding the problem of manual pulling and retrieving the pool robot in the related art, which can easily damage the pool robot. Therefore, the technical problem of manual recovery of the pool robot in the related art, which leads to low recovery efficiency, is solved, achieving the effect of improving the recovery efficiency of the pool robot and enhancing the user experience.

[0051] In an optional embodiment, controlling the pool robot to move to the target docking position in the water of the target pool includes: when the pool robot is recalled from a first position in the target pool, determining a moving path from the first position to the target docking position in the target map; and controlling the pool robot to move from the first position to the target docking position along the moving path.

[0052] In the above embodiment, the first position can be the position where the pool robot stays after completing the current task, or the first position can also be the position where the pool robot is located when it receives a recall command while performing the current task, or the first position can also be the position where the pool robot is located when the battery level is lower than a predetermined threshold while performing the current task. For example, when the battery level is less than 5% (or 10%, or other values), the pool robot itself will issue a relevant prompt, such as displaying low battery on the screen; determine the moving path between the first position and the target docking position in the target map, and then control the pool robot to move from the first position to the target docking position along the moving path. Optionally, in actual applications, the pool robot can determine the above-mentioned movement path according to different strategies. For example, it can move to the target docking position according to a preset recall path, such as first rising from a first position to the water surface, and then moving along the water surface to the target docking position; optionally, path planning can be performed based on the current position (i.e., the above-mentioned first position) and the target docking position to plan a shortest path to the target docking position; optionally, the pool robot can also record the bottom surface position of the target pool corresponding to the entry position, such as the starting position is the above-mentioned pool bottom position, and then first move from the first position to the pool bottom position, and then move from the pool bottom position to the nearest side wall position, and climb along the side wall to the target docking position. The first position in this embodiment can be the position of the bottom surface of the target pool, or it can be a position on the side wall of the target pool, or it can be the position of the water surface of the target pool.

[0053] In an optional embodiment, the determining of the moving path from the first position to the target docking position in the target map includes: when the pool robot identifies an obstacle in the water of the target pool, determining the moving path from the first position to the target docking position in the target map, wherein the moving path bypasses the obstacle; or when the pool robot records the passing position in the target map, determining the moving path from the first position to the target docking position in the target map, wherein the passing position is located on the moving path; or when the pool robot is set with a preset recall path determination strategy, determining the moving path from the first position to the target docking position in the target map according to the recall path determination strategy.

[0054] In the above embodiment, the pool robot can formulate different return strategies to determine the moving path between the first position and the target docking position. For example, when the pool robot identifies an obstacle in the target pool, the moving path from the first position to the target docking position is determined in the target map, and the moving path avoids obstacles. For example, in actual applications, the ultrasonic sensor of the pool robot can be used to detect whether there are obstacles around. If there are obstacles, the position of the obstacles can be determined in the target map, so that the obstacles can be avoided when formulating the moving path; or, when the pool robot records a certain passing position, for example, the passing position is the position where the pool robot sinks to the bottom of the target pool when it just enters the water, that is, the bottom position (such as A′) corresponding to the water entry position (such as A), as shown in Figure 3, the water in Figure 3 The pool robot stays at a position on the bottom surface of the target pool (corresponding to the first position mentioned above). Of course, the passing position can also be other positions. In this way, when determining the movement path from the first position to the target docking position, the movement path includes the passing position, that is, the pool robot moves to the target docking position through the passing position (such as A′); alternatively, the pool robot can also determine the movement path from the first position to the water entry position according to a preset recall path determination strategy. For example, the preset recall path determination strategy can be that the pool robot can first rise vertically from the current position (such as the first position mentioned above) to the water surface position. The water surface position (such as B in Figure 4) can be the position of the water surface corresponding to the first position in the target map, as shown in Figure 4, and then move along the water surface from the water surface position (such as B) to the target docking position (such as A). Through this embodiment, the purpose of determining the movement path from the first position to the target docking position according to different strategies is achieved, enriching the solution for automatic recovery of the pool robot.

[0055] In an optional embodiment, when the pool robot records the passing position in the target map, determining the moving path from the first position to the target docking position in the target map includes: when the pool robot records the starting position, the starting position is the pool bottom position, and the starting position is the passing position, determining the moving path from the first position to the target docking position in the target map, wherein the starting position is located on the moving path.

[0056] In the above embodiment, for example, the passing position is the position at the bottom of the target pool where the pool robot sinks to when it just enters the water, that is, the bottom position corresponding to the water entry position (such as A), such as A′ in Figure 3. When determining the movement path from the first position (that is, the position of the cleaning robot in Figure 3) to the target docking position in the target map, the bottom position (such as A′) is included in the movement path. The target docking position can be the water entry position A in Figure 3, and optionally, it can also be other positions on the side wall. Optionally, if the above-mentioned water entry position A is a position on the water surface at a certain distance from the side wall, the target docking position is the position on the side wall that is the farthest away from the water entry position A.

[0057] In an optional embodiment, the controlling the pool robot to move to a target docking position in the water of the target pool includes: when the first position is located at the bottom of the target pool, the starting position is the pool bottom position, and the starting position is the passing position, controlling the pool robot to move from the first position to the pool bottom position along the bottom of the target pool; when a second position adjacent to the pool bottom position is determined, controlling the pool robot to move from the pool bottom position to the second position, and moving vertically from the second position along the side wall of the target pool to the target docking position, wherein the The second position is the position on the side wall of the target pool that is closest to the pool bottom position; or when the first position is located at the bottom of the target pool, the starting position is the pool bottom position, and the starting position is the passing position, the pool robot is controlled to move from the first position to the pool bottom position along the bottom of the target pool; the pool robot is controlled to move vertically from the pool bottom position to the first water surface position, wherein the first water surface position is the water entry position; when the pool robot reaches the first water surface position, the pool robot is controlled to move from the first water surface position to the target docking position.

[0058] In the above embodiment, when the first position is the bottom of the target pool, the starting position is the bottom position (such as A′ in Figure 3), and the starting position is the passing position, as shown in Figure 3, the pool robot can be controlled to move from the first position to the bottom position (such as A′ in Figure 3) along the bottom of the target pool. When the second position closest to the bottom position is determined, the pool robot is controlled to move from the bottom position (such as A′) to the second position, and from the second position to move vertically along the side wall to the target docking position. If the bottom position A′ is also located on the side wall, the pool robot is controlled to move vertically directly from the bottom position A′ to the target docking position.

[0059] Optionally, when the first position is the bottom of the target pool, the starting position is the bottom position (such as A′ in Figure 3), and the starting position is the passing position, as shown in Figure 3, the pool robot can be controlled to move from the first position to the bottom position (such as A′ in Figure 3) along the bottom of the target pool, and then the pool robot can be controlled to move vertically from the bottom position to the first water surface position (such as A in Figure 3). At this time, position A may not be a position on the side wall, and then the pool robot is controlled to move from the first water surface position to the target docking position. The target docking position may be the position on the side wall that is farthest from the water surface position A.

[0060] In an optional embodiment, according to the recall path determination strategy, the moving path from the first position to the target docking position is determined in the target map, including: when the recall path determination strategy is used to indicate that the moving path needs to pass through the target water surface position, the moving path from the first position to the target docking position is determined in the target map, wherein the target water surface position is the position on the water surface of the target pool corresponding to the position where the pool robot was when it was recalled, and the target water surface position is located on the moving path.

[0061] In the above embodiment, the pool robot can determine the above-mentioned moving path according to the recall path determination strategy. The recall path determination strategy may mean that the pool robot needs to pass through the water surface position to return to the target docking position. For example, the pool robot can first rise vertically from the current position (such as the above-mentioned first position) to the target water surface position (such as B in Figure 4). When determining the moving path from the first position (i.e., the position of the cleaning robot in Figure 4) to the target docking position in the target map, the target water surface position (such as B in Figure 4) is included in the moving path.

[0062] In an optional embodiment, controlling the pool robot to move to the target docking position in the water of the target pool includes: controlling the pool robot to move vertically from the first position to the target water surface position; and when the pool robot reaches the target water surface position, controlling the pool robot to move horizontally from the target water surface position to the target docking position.

[0063] In the above embodiment, the pool robot can be controlled to first rise vertically from the current position (such as the first position mentioned above) to the target water surface position (such as B in Figure 4), and then the pool robot can be controlled to move along the water surface to the target docking position, that is, from B to A.

[0064] In an optional embodiment, controlling the pool robot to move to a target docking position in the water of the target pool includes: when the first position is located at the bottom of the target pool, controlling the pool robot to move from the first position to a third position along the bottom of the target pool, and moving vertically from the third position along the side wall of the target pool to a fourth position, wherein the third position refers to the position on the side wall of the target pool that is closest to the first position, and the fourth position is the position of the water surface of the target pool corresponding to the third position; when the pool robot reaches the fourth position, controlling the pool robot to move horizontally from the fourth position to the target docking position; or when the first position is located at the side wall of the target pool, controlling the pool robot to move vertically downward along the side wall of the target pool. to a fifth position, wherein the fifth position is a position on the bottom of the target pool corresponding to the first position; when a second position adjacent to the pool bottom position is determined, the pool robot is controlled to move from the fifth position to the second position, and from the second position to the target docking position vertically along the side wall of the target pool, wherein the second position is the position on the side wall of the target pool closest to the pool bottom position; or when the first position is located on the side wall of the target pool, the pool robot is controlled to move vertically upward from the first position to a sixth position along the side wall of the target pool, wherein the sixth position is the water surface position of the target pool corresponding to the first position; when the pool robot reaches the sixth position, the pool robot is controlled to move from the sixth position to the target docking position.

[0065] Optionally, when the first position is located at the bottom of the target pool, the pool robot can be controlled to move from the first position (such as the cleaning robot in Figure 5) along the bottom of the pool to a third position, where the third position is the position on the side wall of the target pool closest to the first position, such as P in Figure 5, and then move vertically from the third position along the side wall of the target pool to a fourth position (P′ in Figure 5), and then control the pool robot to move horizontally from the fourth position to the target docking position (A in Figure 5).

[0066] Optionally, when the first position is located on the side wall of the target pool, the pool robot can be controlled to move vertically downward from the first position (such as the cleaning robot in Figure 8) to a fifth position along the side wall of the target pool. The fifth position is the position on the bottom of the target pool vertically mapped to the first position, such as C in Figure 8. When the second position closest to the pool bottom position (such as A′ in Figure 8) is determined, the second position can be the position on the side wall of the target pool closest to the pool bottom position, and then the pool robot is controlled to move vertically from the second position along the side wall of the target pool to the target docking position. The above-mentioned pool bottom position A′ can be a position on the side wall, or a pool bottom position at a certain distance from the side wall. When the pool bottom position A′ is a position on the side wall, the above-mentioned second position and the pool bottom position are the same position. At this time, the target docking position corresponds to A.

[0067] Optionally, when the first position is located on the side wall of the target pool, the pool robot can be controlled to move vertically upward from the first position (such as the cleaning robot in Figure 7) along the side wall of the target pool to the sixth position. The fifth position is the position where the first position is vertically mapped onto the water surface of the target pool, such as B in Figure 7. The pool robot is then controlled to move from the sixth position along the water surface of the target pool to the target docking position. A in Figure 7 can be a position on the side wall or a position on the water surface at a certain distance from the side wall. When A is a position on the side wall, that is, the target docking position is the same as A, the pool robot can be controlled to move directly from B to A; if the above-mentioned A is a position on the water surface at a certain distance from the side wall, the position on the side wall closest to A can be determined as the target docking position, and the pool robot can be controlled to move from B to the target docking position.

[0068] In an optional embodiment, the first position includes one of the following: the position where the pool robot stays after completing the current task; the position where the pool robot is located when it receives a recall command while performing the current task; the position where the pool robot is located when the battery level is lower than a predetermined threshold while performing the current task.

[0069] In the above embodiment, the first position can be the position where the pool robot stays after completing the current task, or the first position can also be the position where the pool robot is located when it receives a recall command while performing the current task. For example, when the pool robot receives a recall command sent by the user through a remote control or mobile control terminal before completing the current task, the current position is used as the first position; or, the first position can also be the position where the pool robot is located when the battery level is lower than a predetermined threshold while performing the current task. For example, when the battery level is less than 5% (or 10%, or other values), the pool robot itself will issue a relevant prompt, such as displaying low battery on the screen, and the current position of the pool robot is used as the first position.

[0070] In an optional embodiment, before controlling the pool robot to move to a target docking position in the water of the target pool, the method further includes: determining the target docking position according to the target map.

[0071] In the above embodiment, the pool robot can determine the target docking position according to the target map, and the target docking position is the position on the side wall of the target pool associated with the starting position. For example, when the starting position is the water entry position, the position on the side wall of the target pool that is closest to the water entry position can be determined as the target docking position according to the target map; when the starting position is the pool bottom position, the position on the side wall of the target pool that is closest to the pool bottom position can be determined according to the target map, and the closest position can be vertically mapped to the position on the water surface of the target pool to be determined as the target docking position.

[0072] In an optional embodiment, determining the target docking position according to the target map includes: when the starting position is the pool bottom position, determining the first adjacent position on the side wall of the target pool that is closest to the pool bottom position according to the target map, and determining the position of the first adjacent position vertically mapped on the water surface of the target pool as the target docking position; or when the starting position is the water entry position, determining the position of the water entry position vertically mapped on the bottom of the target pool as the pool bottom position; determining the second adjacent position on the side wall of the target pool that is closest to the pool bottom position according to the target map, and determining the position of the second adjacent position vertically mapped on the water surface of the target pool as the target docking position.

[0073] Optionally, when the starting position is the bottom of the pool, the pool robot can determine the first adjacent position on the side wall of the target pool that is closest to the bottom of the pool according to the target map. The first adjacent position can be the position at the junction of the bottom and the side wall of the target pool, and then the first adjacent position is vertically mapped to the position on the water surface of the target pool to be determined as the target docking position.

[0074] Optionally, when the starting position is the water entry position, the pool robot may determine the target docking position based on the target map as the position on the side wall of the target pool that is closest to the water entry position; or, first, determine the position of the water entry position vertically mapped onto the bottom surface of the target pool as the pool bottom position, then determine the second adjacent position on the side wall of the target pool that is closest to the pool bottom position based on the target map, and then determine the position of the second adjacent position vertically mapped onto the water surface of the target pool as the target docking position. The above-mentioned target map may include a bottom surface map and / or a side wall map of the target pool. Optionally, the above-mentioned target map may also be the three-dimensional space of the target pool.

[0075] In an optional embodiment, the moving path is the shortest moving path from the first position to the target docking position in the target map.

[0076] In the aforementioned embodiment, when the pool robot determines a movement path based on the corresponding positions of the first position and the target docking position in the target map, it can optionally develop a shortest movement path. In practical applications, the target pool can be identified using the recognition component of the pool robot to obtain a target map of the target pool. For example, this can be a three-dimensional spatial representation of the target pool, or a two-dimensional target map of the target pool, such as a bottom map and / or sidewall map of the target pool. In this way, the shortest movement path from the first position to the target docking position can be determined based on the target map of the target pool. If an obstacle is determined to be present, the obstacle can be avoided.

[0077] In an optional embodiment, before obtaining the starting position of the pool robot when performing the current task, the method further includes: in response to a trigger instruction, controlling the identification component in the pool robot to identify the target pool and obtain the target map, wherein the identification component includes at least one of the following: a camera, a ranging sensor, and a water pressure sensor.

[0078] In the above embodiment, when the pool robot receives a trigger command while performing a current task or before performing the current task, the pool robot, in response to the trigger command, controls the recognition component in the pool robot to identify the target pool and obtain a target map. For example, the recognition component may include an inertial navigation system (or simply an inertial navigation system), and may also include a range sensor and a water pressure sensor. The inertial navigation system may be configured to locate the pool robot, and the range sensor may be configured to measure the distance between the pool robot and the side wall of the target pool or obstacles in the target pool. For example, the range sensor may be a radar sensor or an ultrasonic sensor. The range sensor may be configured to construct a map of the target pool, and the water pressure sensor may be configured to measure the water depth of the pool robot in the target pool. Optionally, the pool robot may also be configured with an automatic recognition module. Optionally, the pool robot may also use its own recognition component to perform spatial recognition of the target pool to obtain a three-dimensional space, thereby obtaining a map of the target pool. In actual applications, the pool robot may use internally configured laser radar or ultrasonic sensors, other sensors, or an automatic recognition module to construct a three-dimensional spatial map of the target pool. Optionally, a 3D map of the target pool may be obtained, and a bottom surface (or bottom) map and a side wall map of the target pool may also be obtained separately.

[0079] Obviously, the above-described embodiments are only a part of the embodiments of the present disclosure, rather than all the embodiments. The present disclosure will be described in detail below with reference to the embodiments.

[0080] An embodiment of the present disclosure provides a pool cleaning robot configured to clean a pool. The pool cleaning robot includes a walking module, a working module, a control module, a storage module, and a map planning module, wherein the map planning module is communicatively connected to the control module and the storage module. The walking module is configured to drive the pool cleaning robot to walk on a working surface. The working module is configured to implement the various tasks performed by the pool cleaning robot. The map planning module is configured to obtain a map of the pool in which the pool cleaning robot is working so that it can reasonably plan its working path, and store the map in the storage module. The control module is configured to implement control of the work content of the pool cleaning robot. The pool cleaning robot is configured to implement the steps of any of the above-mentioned method embodiments.

[0081] When a pool cleaning robot is operating in a pool, it performs the following steps: the robot records and stores a map of the pool's bottom. The map planning module then plans a working path based on this map. This method helps the pool cleaning robot improve its efficiency and prevent malfunctions. Furthermore, the user can use this working path to keep track of the robot's performance.

[0082] Furthermore, a pool cleaning robot capable of cleaning the sidewalls of a pool performs the following steps while operating in the pool: the pool cleaning robot records a map of the pool bottom, then records a map of the pool sidewalls, and stores both the bottom and sidewall maps. A map planning module then plans a working path based on the bottom and sidewall maps. This method helps the pool cleaning robot improve its work efficiency and avoid malfunctions.

[0083] If a pool cleaning robot is only capable of cleaning the side walls of a pool, the following steps are performed while the robot is working in the pool: the robot records and stores a map of the pool's side walls, and then the map planning module plans a working path based on the map. The effects are the same as described above and will not be repeated here.

[0084] This embodiment provides a control method for a pool cleaning robot. FIG6 is a flow chart of the control method for a pool cleaning robot according to an embodiment of the present disclosure. The flow chart includes:

[0085] S1, the pool cleaning robot falls from a water surface position A (corresponding to the aforementioned water entry position) to a bottom surface position A′ (corresponding to the aforementioned bottom surface position) corresponding to the water surface position A. The pool cleaning robot locates and records the bottom surface position A′. In this step, the water surface position A of the pool cleaning robot when it enters the water and the bottom surface position A′ of the pool corresponding to the water surface position A are obtained.

[0086] S2, controls the pool cleaning robot to clean the pool;

[0087] S3, under preset conditions, controlling the pool cleaning robot to move to position A on the water surface; in this step, when the pool cleaning robot completes its cleaning work, is low on power, or is recalled by the user, the pool cleaning robot is controlled to move to position A on the water surface;

[0088] S4, control the pool cleaning robot to move and dock on the side wall of the pool adjacent to the water surface position A, waiting for the user to recycle it. In this step, the pool cleaning robot is driven to dock on the side wall of the pool adjacent to the water surface position A.

[0089] The control method of the pool cleaning robot enables the pool cleaning robot to automatically return to the water entry position, effectively avoiding the problem that the user may damage the cleaning robot by pulling the power cord to recycle the pool cleaning robot, making it convenient for the user to recycle the pool cleaning robot, and helping to shorten the automatic docking time of the pool cleaning robot, improve the recycling efficiency, and enhance the user experience.

[0090] Since the pool cleaning robot may have one or more cleaning modes such as bottom cleaning, sidewall cleaning, and water surface cleaning, the details of the steps for returning to the water surface position A are different for different cleaning modes.

[0091] It is understood that because the pool cleaning robot has a path planning function, the pool cleaning robot's bottom position after completing a task can be made to be the same as bottom surface position A'. In this case, the pool cleaning robot can reach the surface position A by floating to the water surface. However, if the pool cleaning robot's position after completing a task is a certain distance from bottom surface position A', or if the pool cleaning robot has not yet completed its task and needs to be recharged before returning to surface position A, the path planning of the pool cleaning robot in this case is as follows.

[0092] The following describes the execution of step S3 according to different situations of the location where the pool cleaning robot stops before recovery (such as the bottom surface or the side wall of the pool).

[0093] Please refer to FIG3 , which is a schematic diagram of an automatic docking path according to an embodiment of the present disclosure. If the pool cleaning robot stops at the bottom of the pool before recovery, step S3 includes the following steps:

[0094] S31, when the pool cleaning robot completes the cleaning task, is low on power, or is recalled by the user, controlling the pool cleaning robot to move to bottom position A′; and

[0095] S32, controlling the pool cleaning robot to climb upward from bottom surface position A' to water surface position A.

[0096] The above method enables the pool cleaning robot to automatically dock along the shortest path, thereby improving return efficiency and achieving energy conservation. Furthermore, since some pool cleaning robots can only clean the pool bottom, the above method can be applied to pool cleaning robots with different functions, thereby expanding the scope of application of the method.

[0097] In addition, since the pool cleaning robot has the function of path planning, if it returns to the water surface position A after completing the entire pool bottom work, then the position of the bottom surface position A′ is generally closer to the end point of its completed cleaning work, so that the pool cleaning robot can quickly move to the bottom surface position A′.

[0098] More specifically, the method for the pool cleaning robot to move to the bottom surface position A′ can be that the pool cleaning robot is provided with a distance sensor; the distance sensor detects the shortest path for the pool cleaning robot to reach the bottom surface position A′; and then the pool cleaning robot moves along the shortest path to the bottom surface position A′. This method can further optimize the path for the pool cleaning robot to return to the water surface position A, thereby further improving the return efficiency of the pool cleaning robot and achieving the effect of saving electricity.

[0099] More specifically, the method for the pool cleaning robot to climb upward from bottom position A′ to water surface position A can be to increase the buoyancy of the pool cleaning robot, or to increase the upward driving force toward the water surface of the pool cleaning robot, so that the pool cleaning robot can directly climb upward from bottom position A to water surface position A.

[0100] Optionally, when the pool cleaning robot is at the bottom of the pool before recovery, step S3 may also be performed as follows:

[0101] S31, when the pool cleaning robot completes the cleaning task, is low on power, or is recalled by the user, the pool cleaning robot is controlled to rise to a water surface position, such as water surface position B in FIG4 (corresponding to the aforementioned water surface position);

[0102] S32, controlling the pool cleaning robot to move from water surface position B to water surface position A.

[0103] In addition, in the above step S2, if the pool cleaning robot's cleaning task is to clean the bottom and side walls of the pool, the pool cleaning robot can clean the bottom first and then the side walls, so as to plan its shortest working path and improve cleaning efficiency.

[0104] For the above-mentioned pool cleaning robot, the user can choose to clean only the bottom, the side walls, or both. If the user chooses to clean the bottom, the automatic docking path is the same as described above. If the user chooses to clean only the side walls, or chooses to clean both the bottom and the side walls, see Figure 7. In this case, if the pool cleaning robot stops at the side wall of the pool before recovery, the above-mentioned step S3 may include the following steps:

[0105] S31, when the pool cleaning robot completes its cleaning task, is low on power, or is recalled by the user, controlling the pool cleaning robot to climb along the pool wall to a water surface position B corresponding to the position where it stopped before being recalled;

[0106] S32, controlling the pool cleaning robot to obtain the shortest path from water surface position B to water surface position A; and

[0107] S33, controlling the pool cleaning robot to move from water surface position B to water surface position A along the shortest path.

[0108] This method is helpful for optimizing the return path of the pool cleaning robot, improving its return efficiency as much as possible, reducing the user's waiting time, and improving the user experience.

[0109] Optionally, when the pool cleaning robot stops at the side wall of the pool before recovery, step S3 may also be performed as follows:

[0110] S31, when the pool cleaning robot completes its cleaning work, is low on power, or is recalled by the user, the pool cleaning robot is controlled to move downward along the pool wall to a bottom surface position C corresponding to the position where it stopped before being recalled, as shown in FIG8;

[0111] S32, controlling the pool cleaning robot to obtain the shortest path from bottom position C to bottom position A′, and move along the shortest path on the pool bottom surface to bottom position A′;

[0112] S33, controlling the pool cleaning robot to climb up along the pool wall from bottom position A to water surface position A.

[0113] Alternatively, in step S2, if the pool cleaning robot's cleaning task is to clean the bottom, sidewalls, and water surface of the pool, the pool cleaning robot's cleaning steps may be: the pool cleaning robot first cleans the bottom; then cleans the sidewalls; and finally cleans the water surface. This working path ensures that the pool cleaning robot is already at the water surface after completing its work, which helps reduce the time it takes to return to position A on the water surface.

[0114] For the above-mentioned pool cleaning robot, the user can choose to clean only two or all three of the bottom, side walls, and water surface at the same time. If the user chooses to clean the bottom, side walls, or both the bottom and side walls, the automatic docking path is the same as described above.

[0115] If the user chooses to clean the water surface, the bottom and the water surface, the sidewall and the water surface, or all three, as shown in FIG9 , in step S2, the pool cleaning robot can be positioned at the water surface of the pool after cleaning is completed, and step S3 may include the following steps:

[0116] S31, after cleaning is completed, the pool cleaning robot obtains the shortest path from its position to the water surface position A; and

[0117] S32, controlling the pool cleaning robot to move to water surface position A along the shortest path.

[0118] In summary, the control method of the pool cleaning robot of this embodiment can be applied to pool cleaning robots of any cleaning form, thereby facilitating ensuring the scope of application of the control method of the pool cleaning robot.

[0119] It is understandable that the pool cleaning robot may also return to the water surface position A when the power is insufficient and needs to return to the base station for charging. At this time, after the pool cleaning robot finds that the power is insufficient, it executes steps S3 and S4.

[0120] Note that the above shows and describes the basic principles and main features of the present disclosure and the advantages of the present disclosure. Those skilled in the art should understand that the present disclosure is not limited to the above-mentioned embodiments. The above-mentioned embodiments and descriptions are only for explaining the principles of the present disclosure. Various changes and improvements may be made to the present disclosure without departing from the spirit and scope of the present disclosure. Such changes and improvements fall within the scope of the present disclosure for which protection is sought, and the scope of protection of the present disclosure is defined by the appended claims and their equivalents.

[0121] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus the necessary general hardware platform, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present disclosure, or the part that contributes to the relevant technology, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present disclosure.

[0122] In this embodiment, a control device for a pool robot is also provided, which is located in the pool robot. FIG10 is a structural block diagram of the control device for the pool robot according to an embodiment of the present disclosure. As shown in FIG10 , the device includes:

[0123] an acquisition module 1002 configured to acquire a starting position of the pool robot when performing a current task, wherein the current task is for instructing the pool robot to operate a target pool, the target pool being filled with water, the starting position being the entry position or pool bottom position of the pool robot when performing the current task in a target map, the target map being a map established by identifying the target pool before or during the time when the pool robot performs the current task, and the pool bottom position being the position on the bottom of the target pool corresponding to the entry position;

[0124] The control module 1004 is configured to control the pool robot to move to a target docking position in the water of the target pool when the pool robot needs to be recalled during the execution of the current task or after the execution of the current task, wherein the target docking position is a position on the side wall of the target pool corresponding to the starting position.

[0125] In an optional embodiment, the above-mentioned control module 1004 includes: a first determination submodule, configured to determine the moving path from the first position to the target docking position in the target map when the pool robot is recalled from the first position in the target pool; and a first control submodule, configured to control the pool robot to move from the first position to the target docking position along the moving path.

[0126] In an optional embodiment, the above-mentioned first determination submodule includes: a first determination unit, configured to determine the moving path from the first position to the target docking position in the target map when the pool robot identifies an obstacle in the water of the target pool, wherein the moving path bypasses the obstacle; or a second determination unit, configured to determine the moving path from the first position to the target docking position in the target map when the pool robot records the passing position in the target map, wherein the passing position is located on the moving path; or a third determination unit, configured to determine the moving path from the first position to the target docking position in the target map according to a preset recall path determination strategy when the pool robot is set with the recall path determination strategy.

[0127] In an optional embodiment, the above-mentioned second determination unit includes: a first determination subunit, configured to determine the moving path from the first position to the target docking position in the target map when the pool robot records the starting position, the starting position is the pool bottom position, and the starting position is the passing position, wherein the starting position is located on the moving path.

[0128] In an optional embodiment, the control module 1004 further includes: a second control submodule configured to control the pool robot to move from the first position to the pool bottom position along the bottom of the target pool when the first position is located at the bottom of the target pool, the starting position is the pool bottom position, and the starting position is the passing position; a third control submodule configured to control the pool robot to move from the pool bottom position to the second position when a second position adjacent to the pool bottom position is determined, and to move vertically from the second position along the side wall of the target pool to the target docking position, wherein the second position is on the side wall of the target pool adjacent to the pool bottom position The pool bottom position is the position closest to the pool bottom; or, the fourth control submodule is configured to control the pool robot to move from the first position to the pool bottom position along the bottom of the target pool when the first position is located at the bottom of the target pool, the starting position is the pool bottom position, and the starting position is the passing position; the fifth control submodule is configured to control the pool robot to move vertically from the pool bottom position to the first water surface position, wherein the first water surface position is the water entry position; the sixth control submodule is configured to control the pool robot to move from the first water surface position to the target docking position when the pool robot reaches the first water surface position.

[0129] In an optional embodiment, the above-mentioned third determination unit includes: a second determination subunit, configured to determine the moving path from the first position to the target docking position in the target map when the recall path determination strategy is used to indicate that the moving path needs to pass through the target water surface position, wherein the target water surface position is the position corresponding to the water surface of the target pool where the pool robot is located when it is recalled, and the target water surface position is located on the moving path.

[0130] In an optional embodiment, the above-mentioned control module 1004 also includes: a seventh control submodule, configured to control the pool robot to move vertically from the first position to the target water surface position; an eighth control submodule, configured to control the pool robot to move horizontally from the target water surface position to the target docking position when the pool robot reaches the target water surface position.

[0131] In an optional embodiment, the above-mentioned control module 1004 includes: a ninth control submodule, configured to control the pool robot to move from the first position to a third position along the bottom of the target pool, and to move vertically from the third position to a fourth position along the side wall of the target pool when the first position is located at the bottom of the target pool, wherein the third position refers to the position on the side wall of the target pool that is closest to the first position, and the fourth position is the position of the water surface of the target pool corresponding to the third position; a tenth control submodule, configured to control the pool robot to move horizontally from the fourth position to the target docking position when the pool robot reaches the fourth position; or an eleventh control submodule, configured to control the pool robot to move vertically downward along the side wall of the target pool to a fifth position when the first position is located at the side wall of the target pool, wherein the first position The fifth position is the position on the bottom of the target pool corresponding to the first position; the twelfth control submodule is configured to control the pool robot to move from the fifth position to the second position when a second position adjacent to the pool bottom position is determined, and to move vertically from the second position along the side wall of the target pool to the target docking position, wherein the second position is the position on the side wall of the target pool closest to the pool bottom position; or the thirteenth control submodule is configured to control the pool robot to move vertically upward from the first position to the sixth position along the side wall of the target pool when the first position is located on the side wall of the target pool, wherein the sixth position is the water surface position of the target pool corresponding to the first position; the fourteenth control submodule is configured to control the pool robot to move from the sixth position to the target docking position when the pool robot reaches the sixth position.

[0132] In an optional embodiment, the first position includes one of the following: the position where the pool robot stays after completing the current task; the position where the pool robot is located when it receives a recall command while performing the current task; the position where the pool robot is located when the battery level is lower than a predetermined threshold while performing the current task.

[0133] In an optional embodiment, the above-mentioned device further includes: a determination module, configured to determine the target docking position according to the target map before controlling the pool robot to move to the target docking position in the water of the target pool.

[0134] In an optional embodiment, the above-mentioned determination module includes: a second determination submodule, which is configured to determine, according to the target map, the first adjacent position on the side wall of the target pool that is closest to the pool bottom position when the starting position is the pool bottom position, and determine the position where the first adjacent position is vertically mapped on the water surface of the target pool as the target docking position; or, a third determination submodule, which is configured to determine, according to the target map, the position where the water entry position is vertically mapped on the bottom of the target pool as the pool bottom position when the starting position is the water entry position; and a fourth determination submodule, which is configured to determine, according to the target map, the second adjacent position on the side wall of the target pool that is closest to the pool bottom position, and determine the position where the second adjacent position is vertically mapped on the water surface of the target pool as the target docking position.

[0135] In an optional embodiment, the moving path is the shortest moving path from the first position to the target docking position in the target map.

[0136] In an optional embodiment, the above-mentioned device also includes: a processing module, which is configured to control the identification component in the pool robot to identify the target pool in response to a trigger instruction before obtaining the starting position of the pool robot when performing the current task, and obtain the target map, wherein the identification component includes at least one of the following: a camera, a ranging sensor, and a water pressure sensor.

[0137] It should be noted that the above modules can be implemented through software or hardware. For the latter, it can be implemented in the following ways, but not limited to: the above modules are all located in the same processor; or the above modules are located in different processors in any combination.

[0138] An embodiment of the present disclosure further provides a computer-readable storage medium, in which a computer program is stored. The computer program is configured to execute the steps of any one of the above method embodiments when run.

[0139] In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media that can store computer programs, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk, or an optical disk.

[0140] An embodiment of the present disclosure further provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to perform the steps in any of the above method embodiments.

[0141] In an exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.

[0142] For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary implementation modes, and this embodiment will not be described in detail here.

[0143] Obviously, those skilled in the art should understand that the modules or steps of the present disclosure described above can be implemented using a general-purpose computing device, they can be concentrated on a single computing device, or distributed across a network composed of multiple computing devices, they can be implemented using program code executable by the computing device, and thus, they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be performed in a different order than herein, or they can be fabricated into separate integrated circuit modules, or multiple modules or steps can be fabricated into a single integrated circuit module for implementation. Thus, the present disclosure is not limited to any particular combination of hardware and software.

[0144] The foregoing description is merely a preferred embodiment of the present disclosure and is not intended to limit the present disclosure. Those skilled in the art will readily appreciate that various modifications and variations of the present disclosure are possible. Any modifications, equivalent substitutions, or improvements made within the principles of the present disclosure shall be included within the scope of protection of the present disclosure.

Claims

1. A control method for a pool robot, comprising: Obtaining a starting position of the pool robot when performing a current task, wherein the current task is used to instruct the pool robot to operate a target pool, the target pool is filled with water, the starting position is the water entry position or pool bottom position of the pool robot when performing the current task in a target map, the target map is a map established by identifying the target pool when or before the pool robot performs the current task, and the pool bottom position is a position on the bottom of the target pool corresponding to the water entry position; During the execution of the current task or when the pool robot needs to be recalled after the execution of the current task, the pool robot is controlled to move to a target docking position in the water of the target pool, wherein the target docking position is a position on the side wall of the target pool corresponding to the starting position.

2. The method according to claim 1, wherein: The controlling the pool robot to move to the target docking position in the water of the target pool comprises: In the case where the pool robot is recalled from a first position in the target pool, determining a moving path from the first position to the target docking position in the target map; The pool robot is controlled to move from the first position to the target docking position along the moving path.

3. The method according to claim 2, wherein: The determining of a moving path from the first position to the target stop position in the target map includes: In the event that the pool robot identifies an obstacle in the water of the target pool, determining a moving path from the first position to the target docking position in the target map, wherein the moving path bypasses the obstacle; or In the case where the pool robot records the passing positions in the target map, a moving path from the first position to the target docking position is determined in the target map, Wherein, the passing position is located on the moving path; or In the case where the pool robot is set with a preset recall path determination strategy, a moving path from the first position to the target docking position is determined in the target map according to the recall path determination strategy.

4. The method according to claim 3, wherein: In a case where the pool robot records the passing positions in the target map, determining a moving path from the first position to the target docking position in the target map includes: When the pool robot records the starting position, the starting position is the pool bottom position, and the starting position is the passing position, a moving path from the first position to the target docking position is determined in the target map, wherein the starting position is located on the moving path.

5. The method according to claim 4, wherein: The controlling the pool robot to move to a target docking position in the water of the target pool comprises: In a case where the first position is located at the bottom of the target pool, the starting position is the pool bottom position, and the starting position is the passing position, the pool robot is controlled to move from the first position to the pool bottom position along the pool bottom of the target pool; in a case where a second position adjacent to the pool bottom position is determined, the pool robot is controlled to move from the pool bottom position to the second position, and from the second position to move vertically along the side wall of the target pool to the target docking position, wherein the second position is the position on the side wall of the target pool that is closest to the pool bottom position; or When the first position is located at the bottom of the target pool, the starting position is the bottom position, and the starting position is the passing position, the pool robot is controlled to move from the first position to the bottom position along the bottom of the target pool; the pool robot is controlled to move vertically from the bottom position to a first water surface position, wherein the first water surface position is the water entry position; when the pool robot reaches the first water surface position, the pool robot is controlled to move from the first water surface position to The target docking position.

6. The method according to claim 3, wherein: Determining a moving path from the first position to the target stop position in the target map according to the recall path determination strategy includes: In a case where the recall path determination strategy is used to indicate that the moving path needs to pass through a target water surface position, a moving path from the first position to the target docking position is determined in the target map, wherein the target water surface position is a position corresponding to the water surface of the target pool where the pool robot was when it was recalled, and the target water surface position is located on the moving path.

7. The method according to claim 6, wherein: The controlling the pool robot to move to the target docking position in the water of the target pool comprises: Control the pool robot to move vertically from the first position to the target water surface position; When the pool robot reaches the target water surface position, the pool robot is controlled to move horizontally from the target water surface position to the target docking position.

8. The method according to claim 2, wherein: The controlling the pool robot to move to a target docking position in the water of the target pool comprises: When the first position is located at the bottom of the target pool, the pool robot is controlled to move from the first position to a third position along the bottom of the target pool, and to move vertically from the third position to a fourth position along the side wall of the target pool, wherein the third position refers to the position on the side wall of the target pool that is closest to the first position, and the fourth position is the position of the water surface of the target pool corresponding to the third position; when the pool robot reaches the fourth position, the pool robot is controlled to move horizontally from the fourth position to the target docking position; or In the case where the first position is located at the side wall of the target pool, the pool robot is controlled to move vertically downward along the side wall of the target pool to a fifth position, wherein The fifth position is a position on the bottom of the target pool corresponding to the first position; when a second position adjacent to the pool bottom position is determined, the pool robot is controlled to move from the fifth position to the second position, and vertically move from the second position along the side wall of the target pool to the target docking position, wherein the second position is a position on the side wall of the target pool that is closest to the pool bottom position; or When the first position is located at the side wall of the target pool, the pool robot is controlled to move vertically upward from the first position to a sixth position along the side wall of the target pool, wherein the sixth position is the water surface position of the target pool corresponding to the first position; when the pool robot reaches the sixth position, the pool robot is controlled to move from the sixth position to the target docking position.

9. The method according to any one of claims 2 to 8, wherein: The first position includes one of the following: The position where the pool robot stops after completing the current task; The position of the pool robot when receiving a recall command during the execution of the current task; The position of the pool robot when the battery level is lower than a predetermined threshold during the execution of the current task.

10. The method according to any one of claims 1 to 8, wherein: Before controlling the pool robot to move to a target docking position in the water of the target pool, the method further includes: The target stop position is determined according to the target map.

11. The method according to claim 10, wherein: Determining the target stop position according to the target map includes: In the case where the starting point is the pool bottom, a first adjacent position on the side wall of the target pool that is closest to the pool bottom is determined according to the target map. and determining the position where the first adjacent position is vertically mapped onto the water surface of the target pool as the target docking position; or When the starting position is the water entry position, the position at which the water entry position is vertically mapped on the bottom of the target pool is determined as the pool bottom position; the second adjacent position on the side wall of the target pool that is closest to the pool bottom position is determined according to the target map, and the position at which the second adjacent position is vertically mapped on the water surface of the target pool is determined as the target docking position.

12. The method according to any one of claims 2 to 8, wherein: The moving path is the shortest moving path from the first position to the target stop position in the target map.

13. The method according to any one of claims 1 to 8, wherein: Before obtaining the starting position of the pool robot when performing the current task, the method further includes: In response to a trigger instruction, the identification component in the pool robot is controlled to identify the target pool to obtain the target map, wherein the identification component includes at least one of the following: a camera, a distance sensor, and a water pressure sensor.

14. A control device for a pool robot, located in the pool robot, comprising: an acquisition module, configured to acquire a starting position of the pool robot when performing a current task, wherein the current task is used to instruct the pool robot to operate a target pool, the target pool being filled with water, the starting position being a water entry position or a pool bottom position of the pool robot when performing the current task in a target map, the target map being a map established by identifying the target pool when or before the pool robot performs the current task, and the pool bottom position being a position on the pool bottom of the target pool corresponding to the water entry position; The control module is configured to control the pool robot to move to a target docking position in the water of the target pool when the pool robot needs to be recalled during or after the current task is completed, wherein the target docking position The position is a position on the side wall of the target pool corresponding to the starting position.

15. A computer-readable storage medium having a computer program stored therein, wherein: When the computer program is executed by a processor, the steps of the method described in any one of claims 1 to 13 are implemented.

16. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method described in any one of claims 1 to 13 when executing the computer program.

Citation Information

Patent Citations

  • Driving control method and device of swimming pool cleaning robot and electronic equipment

    CN114545939A

  • Pool wall obstacle avoidance moving method and device of swimming pool cleaning robot and electronic equipment

    CN115185282A

  • Automatic docking method, swimming pool robot, electronic equipment and computer storage medium

    CN115248602A

  • Swimming pool cleaning robot control method and device and swimming pool cleaning robot

    CN115981332A

  • Swimming pool robot automatic positioning management system and method based on big data

    CN116027794A