CN109129499B - Method for controlling window cleaning robot to walk, window cleaning robot and storage medium - Google Patents

Method for controlling window cleaning robot to walk, window cleaning robot and storage medium Download PDF

Info

Publication number
CN109129499B
CN109129499B CN201810791067.XA CN201810791067A CN109129499B CN 109129499 B CN109129499 B CN 109129499B CN 201810791067 A CN201810791067 A CN 201810791067A CN 109129499 B CN109129499 B CN 109129499B
Authority
CN
China
Prior art keywords
boundary
cleaning robot
window
window cleaning
sensor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810791067.XA
Other languages
Chinese (zh)
Other versions
CN109129499A (en
Inventor
王时群
刘德
郑卓斌
杨锴
王立磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Coayu Robot Co Ltd
Original Assignee
Guangdong Bona Robot Corp ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Bona Robot Corp ltd filed Critical Guangdong Bona Robot Corp ltd
Priority to CN201810791067.XA priority Critical patent/CN109129499B/en
Publication of CN109129499A publication Critical patent/CN109129499A/en
Application granted granted Critical
Publication of CN109129499B publication Critical patent/CN109129499B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25JMANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J11/00Manipulators not otherwise provided for
    • B25J11/008Manipulators for service tasks
    • B25J11/0085Cleaning
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25JMANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J9/00Programme-controlled manipulators
    • B25J9/16Programme controls
    • B25J9/1602Programme controls characterised by the control system, structure, architecture
    • B25J9/161Hardware, e.g. neural networks, fuzzy logic, interfaces, processor
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25JMANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J9/00Programme-controlled manipulators
    • B25J9/16Programme controls
    • B25J9/1656Programme controls characterised by programming, planning systems for manipulators
    • B25J9/1664Programme controls characterised by programming, planning systems for manipulators characterised by motion, path, trajectory planning

Landscapes

  • Engineering & Computer Science (AREA)
  • Robotics (AREA)
  • Mechanical Engineering (AREA)
  • Automation & Control Theory (AREA)
  • Physics & Mathematics (AREA)
  • Artificial Intelligence (AREA)
  • Evolutionary Computation (AREA)
  • Fuzzy Systems (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)
  • Electric Vacuum Cleaner (AREA)

Abstract

The invention is suitable for the technical field of intelligent robots, and provides a method for controlling a window cleaning robot to walk, the window cleaning robot and a computer readable storage medium, wherein the method comprises the following steps: walking along a first boundary of a rectangular working area, and detecting whether a first boundary sensor arranged on the front side of a body of the window cleaning robot and close to the first boundary triggers a boundary signal; if so, stopping advancing, and backing in a mode that the speed of the travelling wheels close to the first boundary is greater than that of the travelling wheels far away from the first boundary; and detecting whether an included angle between the machine body and the first boundary reaches a preset angle, if so, stopping retreating, adjusting the orientation of the machine body to be parallel to the first boundary, and then walking along the first boundary edge, so as to judge the boundary of the vertical frameless cliff and the boundary of the horizontal frameless cliff.

Description

Method for controlling window cleaning robot to walk, window cleaning robot and storage medium
Technical Field
The invention belongs to the technical field of intelligent robots, and particularly relates to a method for controlling a window cleaning robot to walk, the window cleaning robot and a computer readable storage medium.
Background
The window cleaning robot is used as one of intelligent household appliances and is used for automatically and conveniently cleaning window glass. In the walking and cleaning process of the window cleaning robot, the boundary of a cliff of a specified frameless area needing to be cleaned is judged by adopting a boundary sensor, so that the task of cleaning the specified area is realized.
In the actual cleaning process of the window cleaning robot, when a right-angle frameless area is cleaned, because the right-angle frameless area has a vertical frameless cliff boundary and a horizontal frameless cliff boundary, the window cleaning robot generally walks by being adhered to the vertical frameless cliff boundary (or the horizontal frameless edge), at the moment, a boundary sensor on the left (or the right) of the front end of the robot can only detect whether the cliff exists, but cannot distinguish and judge whether the boundary is the vertical frameless cliff boundary or the horizontal frameless cliff boundary, so that the walking path of the window cleaning robot is easy to be abnormal, even has the risk of falling from the cliff boundary, and the area close to the boundary cannot be completely cleaned.
Therefore, a method for judging the boundary of the vertical frameless cliff and the boundary of the horizontal frameless cliff by the window wiping robot is a problem to be solved urgently.
Disclosure of Invention
In view of the above, embodiments of the present invention provide a method for controlling a window wiping robot to walk, a window wiping robot, and a computer-readable storage medium, so as to solve the problem that a window wiping robot in the prior art cannot determine a vertical frameless cliff boundary and a horizontal frameless cliff boundary.
A first aspect of an embodiment of the present invention provides a method for controlling a window cleaning robot to walk, including:
walking along a first boundary of a rectangular working area, and detecting whether a first boundary sensor arranged on the front side of a body of the window cleaning robot and close to the first boundary triggers a boundary signal;
if so, stopping advancing, and backing in a mode that the speed of the travelling wheels close to the first boundary is greater than that of the travelling wheels far away from the first boundary;
detecting whether an included angle between the machine body and the first boundary reaches a preset angle or not, if so, stopping retreating, adjusting the orientation of the machine body to be parallel to the first boundary, and then walking along the first boundary;
and detecting whether the first boundary sensor triggers a boundary signal within a preset time or within a preset moving distance, and if so, judging that the first boundary sensor currently moves to a second boundary adjacent to the first boundary.
A second aspect of the embodiments of the present invention provides a window-cleaning robot, where the window-cleaning robot includes a first boundary sensor and a second boundary sensor, and the first boundary sensor and the second boundary sensor are located on two sides of a front end of a body of the window-cleaning robot and are used to trigger a boundary signal;
the two traveling wheels are used for controlling the window cleaning robot to move forwards or backwards in the rectangular working area;
the gyroscope is used for detecting included angles between the body of the window cleaning robot and each boundary of the rectangular working area;
the detection device is used for detecting the walking time or the walking distance of the window cleaning robot;
the window cleaning robot is used for realizing the steps of the method.
A third aspect of embodiments of the present invention provides a computer-readable storage medium storing a computer program which, when executed by a processor, implements the steps of the above-described method.
Compared with the prior art, the embodiment of the invention has the following beneficial effects: walking along a first boundary of a rectangular working area, and detecting whether a first boundary sensor arranged on the front side of a body of the window cleaning robot and close to the first boundary triggers a boundary signal; if so, stopping advancing, and backing in a mode that the speed of the travelling wheels close to the first boundary is greater than that of the travelling wheels far away from the first boundary; detecting whether an included angle between the machine body and the first boundary reaches a preset angle or not, if so, stopping retreating, adjusting the orientation of the machine body to be parallel to the first boundary, and then walking along the first boundary; whether the first boundary sensor triggers a boundary signal within a preset time or within a preset moving distance is detected, if yes, it is judged that the first boundary sensor moves to a second boundary adjacent to the first boundary at present, and the window cleaning robot finishes the action of walking along the first boundary, so that the window cleaning robot can clean all areas close to the first boundary, the window cleaning robot can clean the areas needing to be cleaned comprehensively, and the cleaning effect is improved remarkably. If the boundary signal triggered by the first boundary sensor is not detected within the preset time or within the preset moving distance, it indicates that the boundary signal triggered by the first boundary sensor is detected by the window-cleaning robot for the first time as the boundary signal corresponding to the first boundary.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic flow chart of an implementation of a method for controlling a robot to walk according to a first embodiment of the present invention;
fig. 2 is a schematic flow chart of an implementation of a method for controlling a robot to walk according to a second embodiment of the present invention;
fig. 3 is a schematic flow chart of an implementation of a method for controlling a robot to walk according to a third embodiment of the present invention;
FIG. 4 is a schematic view of the movement of a window cleaning robot in a third embodiment of the present invention;
fig. 5 is a schematic view of a window cleaning robot according to a fourth embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
In order to explain the technical means of the present invention, the following description will be given by way of specific examples.
Referring to fig. 1, fig. 1 is a flowchart illustrating an implementation of a method for controlling a window-cleaning robot to walk according to a first embodiment of the present invention, where an execution subject of the method for controlling a window-cleaning robot to walk in this embodiment is a window-cleaning robot.
In practical application, the method for controlling the window cleaning robot to walk provided by the embodiment of the invention can be applied to the window cleaning robot to clean scenes such as window glass and the like. The following mainly takes an example that the method for controlling the window cleaning robot to walk is applied to a scene that the window cleaning robot cleans window glass, and the method for controlling the window cleaning robot to walk provided by the embodiment of the invention is described in detail.
The method for controlling the window cleaning robot to walk as shown in fig. 1 may include the following steps:
step S101, walking along a first boundary of a rectangular working area, and detecting whether a first boundary sensor arranged on the front side of a body of the window cleaning robot and close to the first boundary triggers a boundary signal.
Before the window glass to be cleaned is cleaned, the area to be cleaned of the window glass to be cleaned is determined, and the area to be cleaned of the window glass to be cleaned is the area formed by the boundaries of all cliffs of the glass to be cleaned. In practice, the region to be cleaned of the window pane to be cleaned is usually a regular rectangular working area, wherein the cliff boundary of the rectangular working area may comprise a vertical cliff boundary and a horizontal cliff boundary. In the embodiment of the present invention, when the window-cleaning robot cleans the rectangular work area, the window-cleaning robot generally performs a welting travel along a certain cliff boundary in such a manner that the motion direction of the window-cleaning robot is parallel to and close to the cliff boundary of the rectangular work area, and cleans the area close to the boundary. If the window cleaning robot moves to the second boundary, the window cleaning robot should finish the cleaning action by walking along the first boundary, so the window cleaning robot needs to detect the second boundary of the rectangular working area according to the first boundary sensor arranged at the front side of the body of the window cleaning robot, and the first boundary sensor triggers the boundary signal when detecting any boundary of the rectangular working area.
When the window cleaning robot walks along the first boundary of the rectangular working area, the window cleaning robot detects whether a first boundary sensor arranged on the front side of the body of the window cleaning robot and close to the first boundary triggers a boundary signal, wherein the window cleaning robot specifically detects whether the first boundary sensor triggers the boundary signal on the first boundary or the second boundary, and the purpose of the window cleaning robot is to avoid moving out of the first boundary or the second boundary.
And step S102, if yes, stopping advancing, and backing in a mode that the speed of the travelling wheels close to the first boundary is greater than that of the travelling wheels far away from the first boundary.
In step S102, when the window cleaning robot moves along the first boundary to the second boundary, generally, the window cleaning robot adjusts the body orientation to be parallel to the first boundary by rotating, so as to facilitate moving cleaning towards the second boundary, because when the window cleaning robot detects the boundary signal triggered by the first boundary sensor, there are two cases that the first boundary sensor is a signal triggered at the first boundary and a signal triggered at the second boundary; when the first boundary sensor triggers a signal at the second boundary, all areas close to the first boundary are cleaned completely, and at this time, the window cleaning robot can finish the action of walking along the first boundary to clean, but when the first boundary sensor triggers a signal at a certain position in the middle of the first boundary, the window cleaning robot needs to continue walking along the first boundary to clean the areas close to the first boundary, and can only ensure to clean all areas close to the first boundary. Therefore, when the window cleaning robot detects that the first boundary sensor triggers the boundary signal, the window cleaning robot stops advancing and retreats in a mode that the speed of the walking wheels close to the first boundary is greater than that of the walking wheels far away from the first boundary, at the moment, the window cleaning robot is far away from the first boundary in an arc moving mode, and an included angle exists between the body of the window cleaning robot and the first boundary along with the movement of the window cleaning robot.
Step S103, detecting whether an included angle between the machine body and the first boundary reaches a preset angle or not, if so, stopping retreating, and adjusting the orientation of the machine body to be parallel to the first boundary and then walking along the first boundary.
In step S103, the window cleaning robot detects whether the included angle between the body and the first boundary reaches a preset angle, and when the window cleaning robot detects that the included angle between the body and the first boundary reaches the preset angle, the window cleaning robot stops moving back, and controls to adjust the body orientation to be parallel to the first boundary in a manner of in-situ rotation, so as to prevent the window cleaning robot from falling from the first boundary, and facilitate the window cleaning robot to continue to move toward the second boundary in a manner of welting, and further to move and clean the area close to the first boundary, it should be noted that the window cleaning robot obtains the included angle between the body and the first boundary of the window cleaning robot through an angle detection device disposed on the window cleaning robot, and controls the window cleaning robot to adjust the body orientation to be parallel to the first boundary in a manner of in-situ rotation, where the angle detection device may be a gyroscope, the orientation of the machine body is adjusted to be parallel to the first boundary in a pivot rotating mode through control, so that the window cleaning robot walks along the first boundary, and the uncleaned area close to the first boundary is continuously cleaned in a moving mode.
Step S104, detecting whether the first boundary sensor triggers a boundary signal within a preset time or within a preset moving distance, and if so, judging that the first boundary sensor currently moves to a second boundary adjacent to the first boundary.
In step S104, the preset time is a smaller time value, and when the window cleaning robot continues to move along the first boundary, the window cleaning robot can only move a smaller distance within the time, where the device for detecting time may be a clock. When the window-cleaning robot detects the boundary signal triggered by the first boundary sensor for the first time, it cannot be determined whether the boundary signal corresponds to the first boundary or the second boundary. When the window cleaning robot continues to walk along the first boundary in a welting mode for cleaning, if the window cleaning robot detects that the first boundary sensor triggers the boundary signal again within the preset time, the boundary signal triggered by the first boundary sensor is detected as the boundary signal corresponding to the second boundary for the first time by the window cleaning robot, so that the boundary signal triggered by the first boundary sensor can be detected again within the preset time, and therefore the window cleaning robot can be judged to move to the second boundary currently; it should be noted that the window cleaning robot may also determine whether to trigger a boundary signal within a preset moving distance by determining the moving distance, where the device for detecting the distance may specifically be an odometer; when detecting whether the first boundary sensor triggers a boundary signal within a preset time or within a preset moving distance, the detection may be specifically performed by a comparator provided in the window-cleaning robot. When the window cleaning robot judges that the window cleaning robot moves to the second boundary at present, the window cleaning robot finishes the action of walking along the first boundary, so that the window cleaning robot can clean all areas close to the first boundary, the window cleaning robot can comprehensively clean the areas needing to be cleaned, and the cleaning effect is obviously improved. If the boundary signal triggered by the first boundary sensor is not detected within the preset time or within the preset moving distance, it indicates that the boundary signal triggered by the first boundary sensor detected by the window cleaning robot for the first time is the boundary signal corresponding to the first boundary.
Further, step S104 includes:
recording the times of triggering the boundary signal by the first boundary sensor within a preset time or within a preset moving distance;
and if the times are greater than the preset times, judging that the mobile terminal is moved to the second boundary currently.
In order to accurately determine whether the window-cleaning robot reaches the second boundary, the number of times of the boundary signal triggered by the first boundary sensor can be recorded, and when the number of times of the boundary signal triggered by the first boundary sensor is detected within preset time or within a preset moving distance, the window-cleaning robot is controlled to stop advancing and retreat in a mode that the speed of the travelling wheel close to the first boundary is greater than that of the travelling wheel far away from the first boundary; if the window cleaning robot detects that the included angle between the machine body and the first boundary is a preset angle, stopping moving backwards, adjusting the orientation of the machine body to be parallel to the first boundary, continuously walking along the first boundary to move for cleaning, detecting whether the first boundary sensor triggers a boundary signal within preset time or within a preset moving distance, if the window cleaning robot detects that the first boundary sensor triggers the boundary signal within preset time or within the preset moving distance, continuously recording the number of times of the boundary signal triggered by the first boundary sensor, and when the recorded number of times is still smaller than the preset number of times, continuously repeating the steps. It should be noted that, even if the above steps are repeated for a plurality of times when the window-cleaning robot has moved to the second boundary, the first boundary sensor disposed at the front end of the body will always trigger the boundary signal corresponding to the second boundary when the first boundary sensor reaches the second boundary, so that comparing the recorded times with the preset times can accurately determine whether the window-cleaning robot reaches the second boundary. When the recorded times are greater than the preset times, the window cleaning robot finishes the action of walking and cleaning along the first boundary welt, wherein the preset times can be set to two times or three times, so that the window cleaning robot can finish the action of walking and cleaning along the first boundary welt after cleaning is finished while ensuring that all areas close to the first boundary are cleaned by the window cleaning robot. In addition, when the window cleaning robot needs to carry out welting walking cleaning on other boundaries of the rectangular working area, the window cleaning robot can clear the recorded times to zero at the moment, so that the window cleaning robot can record the times again conveniently.
Referring to fig. 2, fig. 2 is a schematic flow chart illustrating an implementation of a method for controlling a window-cleaning robot to walk according to a second embodiment of the present invention. The present embodiment is different from the previous embodiment in that the present embodiment further includes steps S201 to S203 before step S101. In step S201, when the window cleaning robot walks along the first boundary of the rectangular working area while being attached to the side, and the window cleaning robot detects a second boundary sensor which is arranged on the front side of the body of the window cleaning robot and is far away from the first boundary, step S202 is executed, otherwise, steps S203 to S207 are executed. Steps S204 to S207 are the same as steps S101 to S104 in the previous embodiment, and please refer to the description related to steps S101 to S104 in the previous embodiment, which is not described herein again. S201 to S203 are specifically as follows:
s201, walking along the first boundary of the rectangular working area, and detecting whether a second boundary sensor arranged on the front side of the body of the window cleaning robot and far away from the first boundary triggers a boundary signal.
S202, if yes, the current mobile terminal is judged to be moved to the second boundary.
And S203, if not, judging that the condition of detecting whether a first boundary sensor arranged on the front side of the body of the window cleaning robot close to the first boundary triggers a boundary signal is reached.
When the window cleaning robot walks along the first boundary of the rectangular working area, namely the window cleaning robot walks along the first boundary and moves towards the second boundary to clean the area close to the first boundary, the window cleaning robot detects whether a second boundary sensor far away from the first boundary triggers a boundary signal or not from the front side of the machine body. When the window cleaning robot detects a boundary signal triggered by the second boundary sensor, the window cleaning robot inevitably explains that the window cleaning robot is arranged at the front side of the body of the window cleaning robot and reaches the second boundary, so that the window cleaning robot currently moves to the second boundary, and the window cleaning robot finishes cleaning the area close to the first boundary, and therefore the window cleaning robot finishes the action of walking along the first boundary.
And if the window-cleaning robot does not detect the boundary signal triggered by the second boundary sensor, judging that the condition that whether the boundary signal is triggered by the first boundary sensor which is arranged at the front side of the body of the window-cleaning robot and is close to the first boundary is reached, and detecting the boundary signal triggered by the first boundary sensor arranged on the window-cleaning robot by the window-cleaning robot, namely when the window-cleaning robot does not detect the boundary signal triggered by the second boundary sensor.
When the window cleaning robot walks along the first boundary and moves towards the second boundary to clean the area close to the first boundary, and the body of the window cleaning robot deviates to the first boundary or deviates to a fourth boundary parallel to the first boundary when the body of the window cleaning robot is not completely parallel to the first boundary due to other unexpected reasons; when the body of the window cleaning robot deviates to the first boundary, the window cleaning robot moves towards the second boundary, and the window cleaning robot drops from the first boundary.
Referring to fig. 3, fig. 3 is a schematic flow chart illustrating an implementation of a method for controlling a window cleaning robot to walk according to a third embodiment of the present invention. The difference between this embodiment and the previous embodiment is that the embodiment further includes steps S301 to S302 before step S101, and steps S303 to S306 are the same as steps S101 to S104 in the previous embodiment, and reference is specifically made to the description related to steps S101 to S104 in the previous embodiment, which is not repeated herein. S301 to S302 are specifically as follows:
s301, rotating the body in situ until the body is parallel to the perpendicular line of the first boundary, and moving the body towards the first boundary.
S302, if the first boundary sensor or the second boundary sensor is detected to trigger a boundary signal, stopping moving, adjusting the orientation of the machine body to be parallel to the first boundary of the rectangular working area, and walking along the first boundary.
When the window cleaning robot needs to walk along the first boundary of the rectangular working area and move towards the second boundary to clean the area close to the first boundary, the body of the window cleaning robot needs to face the direction parallel to the first boundary and the body of the window cleaning robot is close to the first boundary. Therefore, before the window cleaning robot walks along the first boundary and moves towards the second boundary to clean the area close to the first boundary, the window cleaning robot needs to rotate in situ until the body of the window cleaning robot is parallel to the perpendicular line of the first boundary, so as to move towards the first boundary along the direction parallel to the perpendicular line of the first boundary.
When the window cleaning robot moves towards the first boundary along the direction parallel to the perpendicular line of the first boundary, if the first boundary sensor or the second boundary sensor is detected to trigger a boundary signal, the window cleaning robot reaches the first boundary, and at the moment, the window cleaning robot stops moving to adjust the body direction to be parallel to the first boundary of the rectangular working area and walks along the first boundary.
Preferably, in order to enable the window cleaning robot to be closer to the first boundary, the window cleaning robot further travels to a state of traveling along the first boundary of the rectangular working area by the following traveling manner, referring to fig. 4, fig. 4 is a schematic diagram of the movement of the window cleaning robot in the third embodiment of the present invention, and the traveling manner is specifically described according to the schematic diagram of the movement of the window cleaning robot in fig. 4. When the window cleaning robot walks along the first boundary close to the edge and moves towards the second boundary to clean the area close to the first boundary, the body of the window cleaning robot needs to face the direction parallel to the first boundary and the body of the window cleaning robot is close to the first boundary. Therefore, before the window cleaning robot walks along the first boundary and moves towards the second boundary to clean the area close to the first boundary, the window cleaning robot needs to rotate in situ until the body of the window cleaning robot is parallel to the perpendicular line of the first boundary, so as to move towards the first boundary along the direction parallel to the perpendicular line of the first boundary.
When the window cleaning robot moves towards the first boundary along the direction parallel to the perpendicular line of the first boundary, if the first boundary sensor or the second boundary sensor is detected to trigger a boundary signal, the window cleaning robot reaches the first boundary, the window cleaning robot stops moving at the moment, and stops moving after retreating for a preset distance along the perpendicular line of the first boundary, and the purpose of retreating for the preset distance is to enable the window cleaning robot to have a certain distance from the first boundary, so that the window cleaning robot can conveniently enter a state that the body of the window cleaning robot faces the direction parallel to the first boundary and the body of the window cleaning robot is close to the first boundary.
Thus, the window wiping robot will now advance at a speed which is lower on one side than on the other side, moving in an arcuate movement towards the first and second boundaries. When the window cleaning robot detects that the body orientation is parallel to the first boundary, the body orientation of the window cleaning robot is parallel to the perpendicular direction of the second boundary at the moment. It should be noted that, the distance from the body of the window cleaning robot to the first boundary is still larger, and in order to get closer to the first boundary, after the window cleaning robot detects that the body is oriented parallel to the first boundary, the window cleaning robot stops moving and retreats in a manner that the speed of the traveling wheel close to the first boundary is smaller than that of the traveling wheel far away from the first boundary, at this time, the rear end position of the window cleaning robot approaches the first boundary in an arc-line moving manner. It should be noted that the third boundary sensor is disposed at the rear side of the window cleaning robot body, the third boundary sensor is adjacent to the first boundary, the window cleaning robot detects whether the third boundary sensor at the rear side of the window cleaning robot body near the first boundary triggers a boundary signal, when the third boundary sensor detects a trigger detection signal, it indicates that the boundary sensor at the rear side of the window cleaning robot body near the first boundary detects the boundary signal of the first boundary, and at this time, the window cleaning robot moves out of the first boundary. At the moment, the window cleaning robot stops moving and rotates in situ, the orientation of the machine body is adjusted to be parallel to the first boundary, and the distance from the machine body to the first boundary is smaller in the mode, so that the window cleaning robot can be closer to the first boundary, and the effect of completely cleaning the area close to the first boundary is ensured.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
The embodiment of the invention also provides a window cleaning robot, which comprises a first boundary sensor and a second boundary sensor, wherein the first boundary sensor and the second boundary sensor are positioned at two sides of the front end of the body of the window cleaning robot and are used for triggering boundary signals.
And the two traveling wheels are used for controlling the window cleaning robot to move forwards or backwards in the rectangular working area.
And the gyroscope is used for detecting included angles between the body of the window cleaning robot and each boundary of the rectangular working area.
And the detection device is used for detecting the walking time or the walking distance of the window cleaning robot. The window cleaning robot is configured to execute the steps in the foregoing embodiment, and please refer to the related description in the foregoing embodiment, which is not described herein again.
According to the scheme, the window cleaning robot walks along the first boundary of the rectangular working area, and detects whether a first boundary sensor arranged on the front side of the body of the window cleaning robot and close to the first boundary triggers a boundary signal or not; if so, stopping advancing, and backing in a mode that the speed of the travelling wheels close to the first boundary is greater than that of the travelling wheels far away from the first boundary; detecting whether an included angle between the machine body and the first boundary reaches a preset angle or not, if so, stopping retreating, adjusting the orientation of the machine body to be parallel to the first boundary, and then walking along the first boundary; whether the first boundary sensor triggers a boundary signal within a preset time or within a preset moving distance is detected, if yes, it is judged that the first boundary sensor moves to a second boundary adjacent to the first boundary at present, and the window cleaning robot finishes the action of walking along the first boundary, so that the window cleaning robot can clean all areas close to the first boundary, the window cleaning robot can clean the areas needing to be cleaned comprehensively, and the cleaning effect is improved remarkably. If the boundary signal triggered by the first boundary sensor is not detected within the preset time or within the preset moving distance, it indicates that the boundary signal triggered by the first boundary sensor is detected by the window-cleaning robot for the first time as the boundary signal corresponding to the first boundary.
Fig. 5 is a schematic view of a window cleaning robot according to a fourth embodiment of the present invention. As shown in fig. 5, the window wiping robot 5 of this embodiment includes: a processor 50, a memory 51 and a computer program 52 stored in said memory 51 and executable on said processor 50, such as a program for controlling a method of walking a window wiping robot. The processor 50, when executing the computer program 52, implements the steps in the above-described embodiments of the method for controlling the walking of the window-cleaning robot, such as the steps S101 to S104 shown in fig. 1. Alternatively, the processor 50 implements the functions in the embodiments of the window wiping robot described above when executing the computer program 52.
Illustratively, the computer program 52 may be partitioned into one or more modules/units that are stored in the memory 51 and executed by the processor 50 to implement the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program 52 in the window-wiping robot 5.
The window wiping robot 5 may include, but is not limited to, a processor 50 and a memory 51. It will be appreciated by those skilled in the art that fig. 5 is merely an example of the window wiping robot 5, and does not constitute a limitation of the window wiping robot 5, and may include more or less components than those shown, or combine some components, or different components, for example, the terminal device may further include an input-output device, a network access device, a bus, etc.
The Processor 50 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 51 may be an internal storage unit of the window cleaning robot 5, such as a hard disk or a memory of the window cleaning robot 5. The memory 51 may also be an external storage device of the window cleaning robot 5, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the window cleaning robot 5. Further, the memory 51 may also include both an internal storage unit and an external storage device of the window-wiping robot 5. The memory 51 is used for storing the computer program and other programs and data required by the window-cleaning robot. The memory 51 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed window-cleaning robot and method may be implemented in other ways. For example, the above-described window-cleaning robot embodiments are merely illustrative, and for example, the division of the modules or units is only one logical function division, and there may be other division manners in actual implementation, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method according to the above embodiments may be implemented by a computer program, which may be stored in a computer readable storage medium and used by a processor to implement the steps of the above embodiments of the method. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, etc. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (5)

1. A method for controlling a window cleaning robot to walk is characterized by comprising the following steps:
walking along a first boundary of a rectangular working area, and detecting whether a first boundary sensor arranged on the front side of a body of the window cleaning robot and close to the first boundary triggers a boundary signal;
if so, stopping advancing, and backing in a mode that the speed of the travelling wheels close to the first boundary is greater than that of the travelling wheels far away from the first boundary;
detecting whether an included angle between the machine body and the first boundary reaches a preset angle or not, if so, stopping retreating, adjusting the orientation of the machine body to be parallel to the first boundary, and then walking along the first boundary;
and detecting whether the first boundary sensor triggers a boundary signal within a preset time or within a preset moving distance, and if so, judging that the first boundary sensor currently moves to a second boundary adjacent to the first boundary.
2. The method for controlling the window-cleaning robot to walk according to claim 1, wherein before walking along the first boundary of the rectangular working area, and detecting whether a first boundary sensor arranged at the front side of the body of the window-cleaning robot close to the first boundary triggers a boundary signal, the method comprises the following steps:
walking along the first boundary of the rectangular working area, and detecting whether a second boundary sensor which is arranged on the front side of the body of the window cleaning robot and is far away from the first boundary triggers a boundary signal;
if yes, judging that the mobile terminal is moved to the second boundary currently; and if not, judging that the condition of detecting whether a first boundary sensor arranged on the front side of the body of the window cleaning robot close to the first boundary triggers a boundary signal is met.
3. The method for controlling the window-cleaning robot to walk according to claim 1, wherein the detecting whether the first boundary sensor triggers a boundary signal within a preset time or within a preset moving distance, and if so, determining that the first boundary sensor has moved to a second boundary adjacent to the first boundary, comprises:
recording the times of triggering the boundary signal by the first boundary sensor within a preset time or within a preset moving distance;
and if the times are greater than the preset times, judging that the mobile terminal is moved to the second boundary currently.
4. The method for controlling the window-cleaning robot to walk according to claim 2, wherein the step of walking along the first boundary of the rectangular working area along the side, before detecting whether a second boundary sensor arranged on the front side of the body of the window-cleaning robot far away from the first boundary triggers a boundary signal, comprises the following steps:
rotating in situ until the body is parallel to the vertical line of the first boundary and moving towards the first boundary;
and if the boundary signal triggered by the first boundary sensor or the second boundary sensor is detected, stopping the movement, adjusting the orientation of the machine body to be parallel to the first boundary of the rectangular working area, and walking along the first boundary.
5. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 4.
CN201810791067.XA 2018-07-18 2018-07-18 Method for controlling window cleaning robot to walk, window cleaning robot and storage medium Active CN109129499B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810791067.XA CN109129499B (en) 2018-07-18 2018-07-18 Method for controlling window cleaning robot to walk, window cleaning robot and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810791067.XA CN109129499B (en) 2018-07-18 2018-07-18 Method for controlling window cleaning robot to walk, window cleaning robot and storage medium

Publications (2)

Publication Number Publication Date
CN109129499A CN109129499A (en) 2019-01-04
CN109129499B true CN109129499B (en) 2020-09-22

Family

ID=64801168

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810791067.XA Active CN109129499B (en) 2018-07-18 2018-07-18 Method for controlling window cleaning robot to walk, window cleaning robot and storage medium

Country Status (1)

Country Link
CN (1) CN109129499B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20220192444A1 (en) * 2019-04-26 2022-06-23 Ecovacs Home Service Robotics Co., Ltd. Cleaning method, window wiping robot, and storage medium

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112230644B (en) * 2019-07-15 2023-10-10 苏州宝时得电动工具有限公司 Autonomous robot, and edge control method, device and storage medium thereof
CN111136636B (en) * 2020-01-09 2023-07-28 上海山科机器人有限公司 Walking robot, method of controlling walking robot, and walking robot system
CN111990921B (en) * 2020-08-24 2022-01-14 广州科语机器人有限公司 Window cleaning robot movement control method, device, equipment and storage medium
CN116250755A (en) * 2021-12-10 2023-06-13 科沃斯机器人股份有限公司 Cleaning path determining method, system, device and storage medium
CN114427310A (en) * 2022-02-18 2022-05-03 智橙动力(北京)科技有限公司 Swimming pool edge cleaning method and device, electronic equipment and computer storage medium
CN114812463B (en) * 2022-06-27 2022-09-30 山西嘉世达机器人技术有限公司 Method for detecting arrival edge of cleaning machine, detection device, cleaning machine and medium

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101289240B1 (en) * 2010-05-15 2013-07-26 한국로봇융합연구원 Window cleaning apparatus and method for controlling the apparatus's moving
CN102591336B (en) * 2011-01-05 2014-12-17 科沃斯机器人有限公司 Edge adhering movement control method of glass-cleaning robot, and control system thereof
US10028629B2 (en) * 2013-03-29 2018-07-24 Rf Co., Ltd. Window cleaning apparatus and method of controlling the same
CN106419720A (en) * 2016-08-31 2017-02-22 洛阳圣瑞智能机器人有限公司 System for controlling right-angle region movement of intelligent glass cleaning robot
CN107865619B (en) * 2016-09-23 2023-12-05 京东方科技集团股份有限公司 Mobile device, chassis of mobile device and angle changing method of chassis
KR20180033837A (en) * 2016-09-26 2018-04-04 (주)알에프 Window cleaning robot and method of controlling the same
CN106235952A (en) * 2016-11-01 2016-12-21 山西嘉世达机器人技术有限公司 A kind of novel intelligent glass-cleaning robot and traveling method thereof
CN106491042B (en) * 2016-11-14 2019-01-08 浙江工业大学 Processing method is moved down at a kind of swing type window wiping robot glass edge
CN107997669A (en) * 2017-11-14 2018-05-08 盐城天顺机械科技有限公司 It is a kind of can delineation automatically window wiping robot
CN107977001A (en) * 2017-11-23 2018-05-01 浙江国自机器人技术有限公司 A kind of robot and its air navigation aid, system, equipment
CN107748565A (en) * 2017-11-23 2018-03-02 浙江国自机器人技术有限公司 Cleaning robot on cleaning method and plate on a kind of plate of autonomous

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20220192444A1 (en) * 2019-04-26 2022-06-23 Ecovacs Home Service Robotics Co., Ltd. Cleaning method, window wiping robot, and storage medium

Also Published As

Publication number Publication date
CN109129499A (en) 2019-01-04

Similar Documents

Publication Publication Date Title
CN109129499B (en) Method for controlling window cleaning robot to walk, window cleaning robot and storage medium
CN108553041B (en) Method for judging trapped robot
CN107003656B (en) Sensor-based safety features for robotic devices
CN110680253A (en) Robot edge cleaning method and robot
CN110353573B (en) Poverty-escaping method of sweeping robot, computing equipment and storage medium
CN110477810B (en) Control method and device of sweeping robot and sweeping robot
EP3486039A1 (en) Robot and robot control method
US20130118528A1 (en) Robot cleaner and control method thereof
CN107544524A (en) Collision processing method, device and the robot of robot
CN107831766A (en) Collision processing method, device and the robot of robot
CN110597260A (en) Robot obstacle avoidance method and robot
CN109044181B (en) Walking control method and walking control device of window cleaning robot
CN105810007A (en) Method and device for stopping balance car
CN107608363A (en) Avoidance processing method, device and the robot of robot
CN115167448A (en) Robot escaping method and device, robot and storage medium
CN111407188A (en) Mobile robot repositioning method and device and mobile robot
CN111067438A (en) Control method and device for cleaning robot, cleaning robot and storage medium
CN108937702B (en) Boundary detection method and device for robot, robot and medium
CN112137512A (en) Method, device, equipment and storage medium for detecting cleaning area of sweeping robot
CN114601379B (en) Cleaning system control method, device, equipment and storage medium
CN114617477B (en) Cleaning control method and device for cleaning robot
WO2023098384A1 (en) Sweeping control method and apparatus, robot, storage medium, and electronic apparatus
CN117752254A (en) Cleaning control method, device, cleaning equipment, electronic equipment and storage medium
CN111990921B (en) Window cleaning robot movement control method, device, equipment and storage medium
CN111714033B (en) Robot control method, robot and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220517

Address after: 510000 No. 30, haogang Avenue, Dagang Town, Nansha District, Guangzhou City, Guangdong Province

Patentee after: GUANGZHOU COAYU ROBOT Co.,Ltd.

Address before: 518000 2nd and 3rd floors, block D, No. 438, Donghuan Road, Shajing street, Bao'an District, Shenzhen City, Guangdong Province

Patentee before: GUANGDONG BONA ROBOT Corp.,Ltd.

PP01 Preservation of patent right
PP01 Preservation of patent right

Effective date of registration: 20230320

Granted publication date: 20200922