The present disclosure relates to the field of swimming pool cleaning robot technology, more particularly to a control method of a swimming pool cleaning robot and a device thereof.
In recent years, with advances in science and technology and developments of Internet, robot technology has become increasingly sophisticated and been extensively applied in various fields of life. A variety of robots with dedicated purposes are flooding into the market, wherein swimming pool cleaning robots undertake a large number of cleaning tasks for users, which is of great assistance. The swimming pool cleaning robots clean foreign matters, such as slit, dirt and algae, on the bottoms and side walls of swimming pools to keep the swimming pools clean.
In a case where a swimming pool cleaning robot is cleaning side walls, on account of the size of the robot per se and the restriction over turn radius, it is required to reserve a sufficient space for the robot to make a turn when it switches to clean another wall. According to the previous straight-line wall cleaning path, it is likely to miss sweeping the regions near the junction between one wall and another wall. This may lower the cleaning coverage rate and is unfavorable to user visual presentation.
Hence, there is an urgent need for a path planning method capable of solving the cleaning problem of the missed regions.
For the technical problem to be solved, the present disclosure intends to provide a control method of a swimming pool cleaning robot and a device, which can clean regions near the junction of two walls and enhance the corresponding cleaning coverage capacity.
In a first aspect, the present disclosure provides a control method of a swimming pool cleaning device, comprising:
In a second aspect, the present disclosure also provides a computer-readable storage medium.
The computer-readable storage medium is stored with computer programs, wherein the computer programs, when executed by a processor, implement the control method of the swimming pool cleaning device according to the first aspect.
In a third aspect, the present disclosure also provides a swimming pool cleaning device, comprising: one or more processors; and a memory for storing one or more programs.
The one or more programs, when executed by the one or more processors, cause the one or more processors to implement the control method of the swimming pool cleaning device according to the first aspect.
The advantageous effects of the present disclosure include: the cleaning device is controlled to move to a starting point of a cleaning task of the second wall, which is a point closer to the first wall than a starting point of a cleaning task in the prior art, so as to cover more regions during the cleaning task, reduce the sweep missing regions and enhance the cleaning coverage rate.
11—first wall; 12—second wall; 13—bottom surface; 21—swimming pool cleaning device
The present disclosure is further explained in details below with reference to drawings and embodiments. It should be understood that specific embodiments described here are provided merely for explaining the present disclosure, rather than restricting it. Besides, it should also be explained that the drawings only demonstrate part of structures related to the present disclosure, rather than all of structures for the sake of description.
Before a more detailed discussion of exemplary embodiments, it should be noted that some exemplary embodiments are described as processing or methods in the form of a flowchart. Although respective steps in the flowchart are described as processing in sequence, many steps may be implemented in parallel, concurrently or simultaneously. Besides, the sequence of the respective steps may be rearranged. When the operation is completed, the processing may be terminated. However, additional steps not illustrated in the drawings may also be included. The processing may correspond to a method, a function, a procedure, a subroutine, a sub-computer program and the like.
In addition, terms such as “first” and “second” may describe various directions, actions, steps or elements in the text. However, these directions, actions, steps or elements are not restricted by these terms. These terms are provided only to distinguish a direction, action, step or element from another direction, action, step or element. For example, a first information may serve as a second information without deviating from the scope of the present disclosure. Likewise, the second information also may act as the first information. The first information and the second information are both information, but they are not the same information. The terms such as “first” and “second” should not be interpreted as indicating or suggesting relative importance or implying the number of the denoted technical features. Therefore, a feature defined by “first” and “second” may explicitly or implicitly include one or more of the features. In the description of the present disclosure, “a plurality of” refers to at least two, such as two or three, unless clearly indicated otherwise.
Method embodiments provided in the embodiments of the present disclosure may be executed in a mobile terminal, a computer terminal or a similar computing apparatus. When the method is operated on a mobile terminal as an example, the above mobile terminal may be a cleaning device.
According to a schematic diagram of a swimming pool shown in
In this embodiment, there is provided a method for controlling a swimming pool cleaning device 21, comprising: monitoring whether the swimming pool cleaning robot traveling on a first wall is close to an obstacle; if the swimming pool cleaning robot is close to the obstacle, controlling the robot to descend to the bottom of the swimming pool; controlling the robot to travel from the bottom of the swimming pool towards a second wall and climb the second wall; wherein in a process of the robot traveling from the bottom of the swimming pool to the second wall and climbing the second wall, the robot approaches the obstacle.
The swimming pool cleaning device 21 cleans a target region on the first wall 11 of the swimming pool, wherein the target area may be a waterline and the target area may also be the entire wall.
For example, in a case of cleaning the waterline, when it is detected that the robot has arrived at the water surface of the swimming pool, the robot is controlled to stay at a water surface position, where the robot has arrived, for a preset duration (such as three seconds) and then the robot is controlled to move along a waterline direction. Since the robot is provided with a cleaning rolling brush, when the robot arrives at the water surface, the cleaning rolling brush at front of the robot is just at the waterline position. In this way, the waterline may be cleaned within the preset duration of the robot's stay.
In a case of cleaning a wall, after a cleaning starting point is selected, the wall is traversed according to a preset cleaning path to complete the cleaning of the wall. Specifically, a regular cleaning path includes N-shaped, bow-shaped, U-shape or Y-shape path, etc. The present disclosure is not specifically restricted in this regard and the choice may be made depending on actual application scenarios.
As shown in
It should be explained that after completing the cleaning task of the first wall, the robot is required to continue cleaning on the second wall. However, restricted by its movement capability, the robot first needs to move from the first wall to the bottom of the pool and then move from the bottom of the pool to the second wall.
A process of the movement of the robot from position A to position B is to be described in details below. In a case where the robot is on the first wall, the robot is controlled to retreat to the bottom of the first wall. By adjusting operating parameters, e.g., reducing power of a water pump, the robot gradually moves to the bottom surface and continues to retreat a first preset distance d1 to reach the position B, wherein the role of the first preset distance is to ensure that a space is reserved for the robot to perform rotating acts. The first preset distance d1, e.g., 0.1 meters, 0.2 meters and 0.3 meters, etc., may be set according to actual situations,
As shown in
Preferably, the step of the robot approaching the obstacle includes controlling a distance between the robot and the obstacle to be between 0 cm and 30 cm.
To be specific, to reduce a sweep missing region on the second wall, it is expected that the robot, before executing the cleaning task, can approach the obstacle as much as possible. To facilitate understanding, it may be deemed that the obstacle in this process is the first wall. The final position of climbing the wall may be considered as a starting point for executing the cleaning task on the second wall and is preferably set near the waterline.
A process of the robot traveling from the bottom of the pool towards the second wall and climbing the second wall is to be described in details below.
Specifically, the step of the robot approaching the obstacle includes: controlling the robot to turn at the bottom of the pool, on the wall or in the waterline region.
In one embodiment, the robot is controlled to turn on the wall.
As shown in
It should be emphasized that in a case where the robot executes a normal cleaning path after climbing the wall in the prior art, the robot would go to position D as shown in
Specifically, a cleaning path of the robot for the sweep missing region is to be described in details below.
According to
Specifically, the second preset angle is between 30 and 60 degrees and the third preset distance is a fixed value or determined based on a current distance between the cleaning device and the first wall.
Of course, preferably, the position E is near the waterline of the second wall. It should be noted in a case where the lateral face of the robot touches the first wall, the robot may continue to move forward to be parallel with the first wall due to inertia, without rotating to the left by the third preset angle to achieve the same.
In another embodiment, the robot is controlled to turn in the waterline region.
In a case where the position E is near the waterline of the second wall as shown in
In a further embodiment, the robot is controlled to turn at the bottom of the pool.
Specifically, the robot is controlled to complete the movement of approaching the first wall at the bottom of the pool. Then, the robot climbs up the second wall to ascend to the position E. In other words, the robot does not need to make a turn along the path to the position E on the second wall.
In this embodiment, it is assumed that the second wall is located to the right of the first wall. In such case, after arriving at the position B, the robot is controlled to rotate by a fourth preset angle J4, e.g., rotating to the left by 45 degrees, and move a fifth preset distance d5 to approach the first wall. The fifth preset distance d5, e.g., 0.1 meters, 0.2 meters and the like, may be set depending on actual situations. Besides, the fifth preset distance may also be controlled by sensor detection. In a case where the robot starts a wall climbing operation after it has touched the second wall, it is detected via a sensor, e.g., an inertial measurement unit, whether the robot has fully climbed up the second wall. If the robot has fully climbed up the second wall, it may continue to ascend to the position E without turning.
It should be explained that the above embodiments just illustrate a possible planning path. Depending on the actual environment, the robot may match a planning path suitable for a current scenario. For example, in case that the robot is unable to turn or understeers due to a current restricted space, or if a distance needed for the planning path is longer than the distance of the actual path, the robot may first choose to retreat a certain distance and then plan a path correspondingly. Other examples will not be listed here one by one.
It should be emphasized that the cleaning device at the position E is much closer to the first wall than the cleaning device at the position B.
Furthermore, the turning action includes rotating by a second preset angle.
Specifically, in a case where the robot is controlled to turn at the bottom of the pool, the second preset angle preferably is between 30 and 60 degrees.
Specifically, in a case where the robot is controlled to turn in a waterline region, the second preset angle is preferably between 20 and 90 degrees.
Specifically, in a case where the robot is controlled to turn in a wall region, the second preset angle is preferably between 20 and 50 degrees.
Moreover, the step of monitoring whether the swimming pool cleaning robot traveling on the first wall is close to the obstacle includes monitoring whether a lateral face of the robot is close to the obstacle.
To be specific, in order to confirm the time when the robot is required to switch to clean another wall, it is needed to detect the environmental conditions on the side of the robot where it is working. For example, when a second wall is detected on the side of the robot, in a case where it is detected that a distance between the swimming pool cleaning robot traveling on the first wall and the obstacle is between 0 cm and 30 cm, the robot executes a wall switching operation.
Moreover, the obstacle includes a corner, a stair in a corner region or an escalator in the corner region. Under these scenarios, the robot will execute the wall switching operation.
After arriving at the position E, the robot selects a set cleaning path in accordance with the target cleaning region. For example, in a case where the target cleaning region is a waterline region, as shown in
The cleaning device is controlled to move to the position E as the starting point, which is closer to the first wall in comparison to the position D which is used, in the prior art, as the starting point. Accordingly, the sweep missing region is reduced and the cleaning coverage rate is improved.
In this embodiment, there is provided a computer-readable storage medium, in which computer programs are stored, wherein the computer programs, when executed by a processor, implement steps of the control method according to the first aspect.
In this embodiment, there is provided a swimming pool cleaning robot, comprising: one or more processors; and a memory for storing one or more programs.
The one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method for controlling the swimming pool cleaning device according to the first aspect.
In summary, the present disclosure provides a method for controlling wall cleaning. The cleaning device is controlled to move to a starting point of a cleaning task on the second wall, which is closer to the first wall in comparison to a starting point of a cleaning task used in the prior art. Accordingly, the sweep missing region is reduced and the cleaning coverage rate is improved.
Through the above description of the implementations, those skilled in the art would clearly understand that the present disclosure may be implemented by means of software and essential general hardware, which is a preferred implementation in most cases. Of course, the present disclosure may also be implemented by hardware. Based on such understanding, an essential part of the technical solution of the present disclosure or a part of the technical solution of the present disclosure making contributions to the prior art may be embodied in the form of a software product. The computer software product may be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a flash, a hard disk or an optical disk etc., and include several instructions to enable a computer device (which may be a personal computer, a server or a network device etc.) to execute the method according to respective embodiments of the present disclosure.
The above described is merely the embodiments of the present disclosure and does not restrict the patent scope of the present disclosure. Equivalent substitutions made using the description and the drawings of the present disclosure or direct or indirect application in the related technical fields are within the patent protection scope of the present disclosure.
Number | Date | Country | Kind |
---|---|---|---|
2024112501546 | Sep 2024 | CN | national |