CN112137512A - Method, device, equipment and storage medium for detecting cleaning area of sweeping robot - Google Patents

Method, device, equipment and storage medium for detecting cleaning area of sweeping robot Download PDF

Info

Publication number
CN112137512A
CN112137512A CN202011023627.0A CN202011023627A CN112137512A CN 112137512 A CN112137512 A CN 112137512A CN 202011023627 A CN202011023627 A CN 202011023627A CN 112137512 A CN112137512 A CN 112137512A
Authority
CN
China
Prior art keywords
track
cleaning
edgewise
area
sweeping
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.)
Granted
Application number
CN202011023627.0A
Other languages
Chinese (zh)
Other versions
CN112137512B (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.)
Beijing Puppy Vacuum Cleaner Group Co Ltd
Original Assignee
Xiaogou Electric Internet Technology Beijing Co 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 Xiaogou Electric Internet Technology Beijing Co Ltd filed Critical Xiaogou Electric Internet Technology Beijing Co Ltd
Priority to CN202011023627.0A priority Critical patent/CN112137512B/en
Publication of CN112137512A publication Critical patent/CN112137512A/en
Application granted granted Critical
Publication of CN112137512B publication Critical patent/CN112137512B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47LDOMESTIC WASHING OR CLEANING; SUCTION CLEANERS IN GENERAL
    • A47L11/00Machines for cleaning floors, carpets, furniture, walls, or wall coverings
    • A47L11/24Floor-sweeping machines, motor-driven
    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47LDOMESTIC WASHING OR CLEANING; SUCTION CLEANERS IN GENERAL
    • A47L11/00Machines for cleaning floors, carpets, furniture, walls, or wall coverings
    • A47L11/40Parts or details of machines not provided for in groups A47L11/02 - A47L11/38, or not restricted to one of these groups, e.g. handles, arrangements of switches, skirts, buffers, levers
    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47LDOMESTIC WASHING OR CLEANING; SUCTION CLEANERS IN GENERAL
    • A47L11/00Machines for cleaning floors, carpets, furniture, walls, or wall coverings
    • A47L11/40Parts or details of machines not provided for in groups A47L11/02 - A47L11/38, or not restricted to one of these groups, e.g. handles, arrangements of switches, skirts, buffers, levers
    • A47L11/4011Regulation of the cleaning machine by electric means; Control systems and remote control systems therefor
    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47LDOMESTIC WASHING OR CLEANING; SUCTION CLEANERS IN GENERAL
    • A47L11/00Machines for cleaning floors, carpets, furniture, walls, or wall coverings
    • A47L11/40Parts or details of machines not provided for in groups A47L11/02 - A47L11/38, or not restricted to one of these groups, e.g. handles, arrangements of switches, skirts, buffers, levers
    • A47L11/4061Steering means; Means for avoiding obstacles; Details related to the place where the driver is accommodated
    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47LDOMESTIC WASHING OR CLEANING; SUCTION CLEANERS IN GENERAL
    • A47L2201/00Robotic cleaning machines, i.e. with automatic control of the travelling movement or the cleaning operation
    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47LDOMESTIC WASHING OR CLEANING; SUCTION CLEANERS IN GENERAL
    • A47L2201/00Robotic cleaning machines, i.e. with automatic control of the travelling movement or the cleaning operation
    • A47L2201/04Automatic control of the travelling movement; Automatic obstacle detection

Landscapes

  • Electric Vacuum Cleaner (AREA)
  • Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)

Abstract

The invention discloses a method, a device, equipment and a storage medium for detecting a cleaning area of a sweeping robot, wherein the method comprises the following steps: if an edgewise command is monitored, controlling the sweeping robot to carry out edgewise sweeping, and recording an edgewise sweeping track; if the edgewise cleaning track forms a closed track, determining the track direction of the closed track; if the track direction is the same as the designated direction, judging that the internal area is the cleaning area; if the track direction is different from the designated direction, the internal area is judged not to be the cleaning area, the detection of the maximum coverage area of the current space is realized, the area which is not cleaned is effectively reduced, the repeated cleaning phenomenon is avoided, and the cleaning efficiency is improved.

Description

Method, device, equipment and storage medium for detecting cleaning area of sweeping robot
Technical Field
The invention belongs to the technical field of sweeping robots, and particularly relates to a method, a device, equipment and a storage medium for detecting a sweeping area of a sweeping robot.
Background
With the continuous improvement of the living standard of people, the sweeping robot has more and more entered into the families of residents. Such a sweeping robot generally drives a traveling wheel provided at the bottom through a driving unit in a body, and performs a sweeping operation of a surface to be swept in a traveling process.
In general, a relatively common operation mode of a sweeping robot is a random direction sweeping mode, which means that the sweeping robot does not adopt path planning, and when the sweeping robot runs and encounters an obstacle, the sweeping robot randomly turns a certain angle to continue running and sweeping. The mode control is simple, and a sensor with high precision is not needed, so the cost is low. But some places are easy to be cleaned, while other places are cleaned repeatedly, and the cleaning efficiency is low.
Therefore, how to reduce the area of missed cleaning, avoid the phenomenon of repeated cleaning, and improve the cleaning efficiency is a technical problem to be solved urgently by those skilled in the art.
Disclosure of Invention
The invention mainly aims to provide a method, a device, equipment and a storage medium for detecting a sweeping area of a sweeping robot, so as to solve the problems of more missed sweeping areas, serious repeated sweeping phenomenon and low sweeping efficiency in the prior art.
In order to solve the above problems, the present invention provides a method for detecting a cleaning area of a cleaning robot, including:
if an edgewise command is monitored, controlling the sweeping robot to carry out edgewise sweeping, and recording an edgewise sweeping track;
if the edgewise cleaning track forms a closed track, determining the track direction of the closed track;
if the track direction is the same as the designated direction, judging that the internal area is the cleaning area;
and if the track direction is different from the designated direction, judging that the inner area is not the cleaning area.
Further, in the detection method of the cleaning area of the cleaning robot, the designated direction is a counterclockwise direction.
Further, in the method for detecting a cleaning area of a cleaning robot, before determining a track direction of a closed track if the edgewise cleaning track forms the closed track, the method further includes:
if the edgewise cleaning track is a non-coincident track, determining the distance between the starting point of the edgewise cleaning track and the current point of the edgewise cleaning track;
and if the distance is smaller than or equal to a preset distance threshold value, determining that the edgewise sweeping track forms a closed track.
Further, in the method for detecting a cleaning area of a cleaning robot, after determining the cleaning area of the cleaning robot, the method further includes:
controlling the sweeping robot to continue sweeping along the edge, and determining the position relation between the current point of the sweeping track and a preset range outside the sweeping area;
and determining the type of the cleaning area according to the position relation.
Further, in the method for detecting a cleaning area of a cleaning robot, determining the type of the cleaning area according to the positional relationship includes:
if the current point of the edgewise cleaning track is located in a preset range outside the cleaning area, determining that the type of the cleaning area is a fully closed area;
and if the current point of the edgewise cleaning track is positioned outside a preset range outside the cleaning area, determining the type of the cleaning area as an opening area.
Further, the method for detecting the cleaning area of the cleaning robot further includes:
if the current point of the edgewise cleaning track is located in the preset range outside the cleaning area, controlling the sweeping robot to stop edgewise cleaning after the sweeping robot is controlled to travel to the edgewise starting position;
and if the current point of the edgewise cleaning track is positioned outside the preset range outside the cleaning area, controlling the sweeping robot to stop edgewise cleaning.
The invention also provides a detection device for the cleaning area of the sweeping robot, which comprises:
the control module is used for controlling the sweeping robot to sweep along the edge and recording a sweeping track along the edge if an edge instruction is monitored;
the determining module is used for determining the track direction of the closed track if the edgewise cleaning track forms the closed track;
the judging module is used for judging that the internal area is the cleaning area if the track direction is the same as the designated direction; and if the track direction is different from the designated direction, judging that the inner area is not the cleaning area.
The invention also provides detection equipment for the cleaning area of the sweeping robot, which comprises a memory and a processor;
the memory stores a computer program which, when executed by the processor, implements the steps of the method for detecting a cleaning area of a sweeping robot as described above.
The invention also provides a detection system for the cleaning area of the sweeping robot, which comprises the following components:
the controller is arranged in the sweeping robot and used for controlling the sweeping robot to sweep along the edge and recording an edge sweeping track if an edge instruction is monitored;
the remote control equipment is used for determining the track direction of the closed track if the edgewise sweeping track forms the closed track; if the track direction is the same as the designated direction, judging that the internal area is the cleaning area; and if the track direction is different from the designated direction, judging that the inner area is not the cleaning area.
The invention also provides a storage medium on which a computer program is stored, which computer program, when being executed by a processor, realizes the steps of the method for detecting the cleaning area of the cleaning robot.
Compared with the prior art, one or more embodiments in the above scheme can have the following advantages or beneficial effects:
according to the detection method, the device, the equipment and the storage medium for the sweeping area of the sweeping robot, if the edgewise instruction is monitored, the sweeping robot is controlled to carry out edgewise sweeping, and an edgewise sweeping track is recorded; if a closed track is formed along the edge cleaning track, determining the track direction of the closed track; if the track direction is the same as the designated direction, judging that the inner area corresponding to the edgewise cleaning track is a cleaning area; if the track direction is different from the specified direction, the inner area corresponding to the edgewise cleaning track is judged not to be the cleaning area, so that the detection of the maximum coverage area of the current space is realized, the area which is not cleaned is effectively reduced, the repeated cleaning phenomenon is avoided, and the cleaning efficiency is improved.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:
fig. 1 is a flowchart of an embodiment of a method for detecting a cleaning area of a cleaning robot according to the present invention;
fig. 2 is a schematic diagram of the sweeping robot for finding edges;
fig. 3 is a schematic structural diagram of an embodiment of a detection device for a cleaning area of a cleaning robot according to the present invention;
fig. 4 is a schematic structural diagram of an implementation of the detection system for the cleaning area of the cleaning robot of the present invention.
Detailed Description
The following detailed description of the embodiments of the present invention will be provided with reference to the drawings and examples, so that how to apply the technical means to solve the technical problems and achieve the technical effects can be fully understood and implemented. It should be noted that, as long as there is no conflict, the embodiments and the features of the embodiments of the present invention may be combined with each other, and the technical solutions formed are within the scope of the present invention.
Example one
In order to solve the technical problems in the prior art, the embodiment of the invention provides a method for detecting a cleaning area of a sweeping robot.
Fig. 1 is a flowchart of an embodiment of a method for detecting a cleaning area of a cleaning robot according to the present invention, and as shown in fig. 1, the method for detecting a cleaning area of a cleaning robot according to the present embodiment may specifically include the following steps:
100. if an edgewise command is monitored, controlling the sweeping robot to carry out edgewise sweeping, and recording an edgewise sweeping track;
in general, an outline formed at an edge of a certain space is a maximum coverage area of the space, and therefore, in this embodiment, in order to improve the coverage rate of the sweeping robot, when the sweeping is required, an edge instruction may be generated, so that if the edge instruction is monitored, the sweeping robot may be controlled to find an edge, so that the sweeping may be performed along the edge, and in the sweeping process, an edge sweeping track is recorded. For example, the edgewise sweeping trajectory may be formed by a plurality of trajectory points.
In practical application, if an edgewise instruction is monitored, it needs to be determined whether the edgewise instruction is sent for the first time or not. If the edgewise command is sent for the first time, the sweeping robot starts to move, resets the odometer coordinate system from when the robot moves to the edge position of the current space, starts Simultaneous positioning and Mapping (SLAM), then performs edgewise sweeping, and records the sweeping track points along the edge to form an edgewise sweeping track. If the edge command is not sent for the first time, the edge can be directly cleaned, and the cleaning track points of the edge are recorded to form an edge cleaning track.
The edge finding principle of the embodiment is as follows:
normally, the structured light is located right in front of the sweeping robot, and the structured light has a blind area of about 20cm, so that an object right in front can be detected. Fig. 2 is a schematic diagram of the sweeping robot for finding edges. As shown in fig. 2, if the direction 1 is directly ahead and the inclination angles are 50 degrees (direction 2), 60 degrees (direction 3), and 70 degrees (direction 4) to the right, the detection distance is gradually increased. The problem of the blind zone of the structured light detecting the object directly in front can be avoided by the measurement of the directions 2, 3, 4.
For example, if the distance in the direction 1 directly ahead is 20cm, the distance in the direction 2 is 20cm tan (50) ≈ 23.8cm, the distance in the direction 3 is 20cm tan (60) ≈ 34.6cm, and the distance in the direction 4 is 20cm tan (70) ≈ 54.9 cm.
The sensor real-time supervision is right ahead data, carries out filtering process to the data of sensor, and the distance that detects apart from the barrier constantly reduces, when being less than 20cm, no longer detects the distance of direction 1 this moment, detects the data of direction 2, when the data of direction 2 is less than blind area 20cm, detects the distance of direction 3, and so on. And when the data in the maximum angle direction is less than a certain threshold value, the mark is close to the object and needs to be rotated.
101. If a closed track is formed along the edge cleaning track, determining the track direction of the closed track;
in this embodiment, while the edgewise cleaning trajectory is recorded, it is determined whether the edgewise cleaning trajectory forms a closed trajectory. Specifically, if the edgewise cleaning track is a misaligned track, determining the distance between the starting point of the edgewise cleaning track and the current point of the edgewise cleaning track; and if the distance is smaller than or equal to the preset distance threshold value, determining that the edgewise sweeping track forms a closed track. In this embodiment, the distance between the entrance and the exit is preferably used as the preset distance threshold, so that it is not necessary to determine that the starting point of the edgewise cleaning track and the current point of the edgewise cleaning track are completely overlapped, and it can be determined that the edgewise cleaning track forms a closed track, thereby effectively reducing the error of the determination result.
102. Judging whether the track direction of the closed track is the same as the specified direction, if so, executing a step 103, otherwise, executing a step 104;
in practical application, although the sweeping robot forms the closed track along the edge sweeping track, since the sweeping robot may not directly walk from the edge of the space, in the process of finding the edge, the robot may find the edge of the obstacle first and walk along the edge of the obstacle, and the sweeping robot can also form the closed track along the edge sweeping track, but an internal area corresponding to the closed track is not an area to be swept, and therefore, in this embodiment, it is further necessary to determine whether the internal area corresponding to the closed track is a sweeping area.
Specifically, due to the sensor mounting position of the sweeping robot, the direction of the sweeping robot when walking around obstacles is often opposite to the direction when walking along edges, so in this embodiment, the track direction of the closed track may also be determined, and the track direction of the closed track is compared with the specified direction to determine whether the track direction of the closed track is the same as the specified direction, if the track direction of the closed track is the same as the specified direction, step 103 is executed, and if the track direction of the closed track is different from the specified direction, step 104 is executed.
103. Judging that the inner area corresponding to the edge cleaning track is a cleaning area;
if the track direction of the closed track is the same as the designated direction, the inner area corresponding to the edgewise cleaning track is judged to be the cleaning area, namely, no obstacle detouring action exists.
104. And judging that the inner area corresponding to the edgewise cleaning track is not a cleaning area.
If the track direction of the closed track is different from the specified direction, judging that the inner area corresponding to the edge cleaning track is not a cleaning area, namely, obstacle-avoiding behavior exists, removing the obstacle-avoiding track, and then finding the edge again. In the present embodiment, the designated direction is preferably a counterclockwise direction.
According to the detection method for the sweeping area of the sweeping robot, if the edgewise instruction is monitored, the sweeping robot is controlled to carry out edgewise sweeping, and an edgewise sweeping track is recorded; if a closed track is formed along the edge cleaning track, determining the track direction of the closed track; if the track direction is the same as the designated direction, judging that the inner area corresponding to the edgewise cleaning track is a cleaning area; if the track direction is different from the specified direction, the inner area corresponding to the edgewise cleaning track is judged not to be the cleaning area, so that the detection of the maximum coverage area of the current space is realized, the area which is not cleaned is effectively reduced, the repeated cleaning phenomenon is avoided, and the cleaning efficiency is improved.
In one implementation, two adjacent rooms are typically communicated through a doorway, such as room a and room B. If the sweeping robot determines the cleaning area in the room a, the sweeping robot may enter the room B due to a doorway, and thus the cleaning area in the room B is first determined, and the route in the room a needs to be temporarily stored until the cleaning area in the room a is determined after the cleaning robot enters the room a again from the room B, which often results in low cleaning efficiency. Therefore, in order to solve the above technical problems, the present invention further provides the following technical solutions.
Specifically, after the cleaning area is determined, the sweeping robot can be controlled to continue sweeping along the edge, and the position relationship between the current point of the sweeping track along the edge and a preset range outside the cleaning area is determined; and determining the type of the cleaning area according to the position relation. In this embodiment, if the current point of the edgewise cleaning track is located outside the preset range outside the cleaning area, it indicates that the sweeping robot has traveled to the doorway, and it may be determined that the type of the cleaning area is an opening area. In order to prevent that the determined cleaning area cannot be cleaned in time after the cleaning area is determined, in this embodiment, when it is determined that the current point of the edgewise cleaning track is located outside the preset range outside the cleaning area, the sweeping robot is controlled to stop the edgewise cleaning so as to return to the determined cleaning area and then clean the determined cleaning area.
In this embodiment, if the current point of the edgewise cleaning trajectory is located inside the preset range outside the cleaning area, it is determined that the current space is a closed space, that is, the entrance and exit are in a closed state, and it can be determined that the type of the cleaning area is a fully closed area. At the moment, the sweeping robot can be controlled to stop sweeping along the edge after the sweeping robot walks to the edge starting position, so that the determined sweeping area can be swept again.
It should be noted that the method of the embodiment of the present invention may be executed by a single device, such as the sweeping robot itself, a terminal or a server. The method of the embodiment can also be applied to a distributed scene and completed by the mutual cooperation of a plurality of devices. In the case of such a distributed scenario, one device of the multiple devices may only perform one or more steps of the method according to the embodiment of the present invention, and the multiple devices interact with each other to complete the method.
Example two
In order to solve the technical problems in the prior art, the embodiment of the invention provides a device for detecting a cleaning area of a sweeping robot.
Fig. 3 is a schematic structural diagram of an embodiment of the detection device for the cleaning area of the cleaning robot of the present invention. As shown in fig. 3, the detection device for the cleaning area of the cleaning robot of the present embodiment may include a control module 30, a determination module 31 and a judgment module 32.
The control module 30 is used for controlling the sweeping robot to sweep along the edge if the edge instruction is monitored, and recording an edge sweeping track;
a determining module 31, configured to determine a track direction of a closed track if the closed track is formed along the edge cleaning track;
in this embodiment, the determining module 31 is further configured to determine a distance between a starting point of the edge cleaning track and a current point of the edge cleaning track if the edge cleaning track is determined to be a non-coincident track; and if the distance is smaller than or equal to the preset distance threshold value, determining that the edge cleaning track forms a closed track, and further judging whether the inner area corresponding to the closed track is a cleaning area.
The judging module 32 is configured to judge that an internal area corresponding to the edgewise cleaning track is a cleaning area if the track direction is the same as the specified direction; and if the track direction is different from the specified direction, judging that the inner area corresponding to the edgewise cleaning track is not the cleaning area. The designated direction of the present embodiment is a counterclockwise direction.
According to the detection device for the sweeping area of the sweeping robot, if the edgewise instruction is monitored, the sweeping robot is controlled to sweep edgewise, and an edgewise sweeping track is recorded; if a closed track is formed along the edge cleaning track, determining the track direction of the closed track; if the track direction is the same as the designated direction, judging that the inner area corresponding to the edgewise cleaning track is a cleaning area; if the track direction is different from the specified direction, the inner area corresponding to the edgewise cleaning track is judged not to be the cleaning area, so that the detection of the maximum coverage area of the current space is realized, the area which is not cleaned is effectively reduced, the repeated cleaning phenomenon is avoided, and the cleaning efficiency is improved.
Further, in the foregoing embodiment, after the determining module 3131 determines that the inner area is the cleaning area, the control module 3030 is further configured to control the sweeping robot to continue to perform the edgewise cleaning, and determine a position relationship between a current point of the edgewise cleaning track and a preset range outside the cleaning area; and determining the type of the cleaning area according to the position relation.
Specifically, if the current point of the edgewise cleaning track is located outside a preset range outside the cleaning area, determining the type of the cleaning area as an opening area, and controlling the sweeping robot to stop edgewise cleaning; and if the current point of the edgewise cleaning track is positioned in a preset range outside the cleaning area, determining that the type of the cleaning area is a fully closed area, and controlling the sweeping robot to stop edgewise cleaning after the sweeping robot travels to the edgewise initial position.
The apparatus in the foregoing embodiment is used to implement the corresponding method in the foregoing embodiment, and specific implementation schemes thereof may refer to the method described in the foregoing embodiment and relevant descriptions in the method embodiment, and have beneficial effects of the corresponding method embodiment, which are not described herein again.
EXAMPLE III
In order to solve the technical problems in the prior art, the embodiment of the invention provides a detection system for a cleaning area of a sweeping robot.
Fig. 4 is a schematic structural diagram of an implementation of the detection system for the cleaning area of the cleaning robot of the present invention, and as shown in fig. 4, the detection system for the cleaning area of the cleaning robot of the present embodiment may include a remote control device and a controller disposed in the cleaning robot. The remote control device 41 in this embodiment may include a server 411 and a terminal 412, and the controller 40 is connected to the terminal 412 through the server 411 to implement data interaction between the controller 40 and the terminal 412.
In this embodiment, the controller arranged in the sweeping robot is configured to control the sweeping robot to sweep along the edge and record an edge sweeping track if an edge instruction is monitored; the remote control equipment is used for determining the track direction of the closed track if the closed track is formed along the edge cleaning track; if the track direction is the same as the designated direction, judging that the inner area corresponding to the edgewise cleaning track is a cleaning area; and if the track direction is different from the specified direction, judging that the inner area corresponding to the edgewise cleaning track is not the cleaning area.
It should be noted that, in this embodiment, the remote control device may also include only a terminal, and the terminal and the controller may be connected through bluetooth, Wireless-Fidelity (WiFi), and the like.
Example four
In order to solve the technical problems in the prior art, the embodiment of the invention provides a detection device for a cleaning area of a sweeping robot. The detection device for the cleaning area of the cleaning robot can comprise a memory and a controller, wherein the memory stores a computer program, and the computer program is executed by the controller to realize the detection method for the cleaning area of the cleaning robot in the embodiment.
EXAMPLE five
In order to solve the above technical problems in the prior art, embodiments of the present invention provide a storage medium.
The storage medium of this embodiment stores thereon a computer program, and the computer program is executed by the controller to implement the method for detecting the cleaning area of the cleaning robot in the above-mentioned embodiment.
It is understood that the same or similar parts in the above embodiments may be mutually referred to, and the same or similar parts in other embodiments may be referred to for the content which is not described in detail in some embodiments.
It should be noted that the terms "first," "second," and the like in the description of the present invention are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. Further, in the description of the present invention, the meaning of "a plurality" means at least two unless otherwise specified.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing module 32, or each unit may exist alone physically, or two or more units are integrated in one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Although the embodiments of the present invention have been described above, the above description is only for the convenience of understanding the present invention, and is not intended to limit the present invention. It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A method for detecting a cleaning area of a sweeping robot is characterized by comprising the following steps:
if an edgewise command is monitored, controlling the sweeping robot to carry out edgewise sweeping, and recording an edgewise sweeping track;
if the edgewise cleaning track forms a closed track, determining the track direction of the closed track;
if the track direction is the same as the designated direction, judging that the inner area corresponding to the edgewise cleaning track is a cleaning area;
and if the track direction is different from the designated direction, judging that the inner area is not a cleaning area.
2. The method of claim 1, wherein the designated direction is counterclockwise.
3. The method of claim 1, wherein if the edgewise cleaning trajectory forms a closed trajectory, before determining the trajectory direction of the closed trajectory, the method further comprises:
if the edgewise cleaning track is a non-coincident track, determining the distance between the starting point of the edgewise cleaning track and the current point of the edgewise cleaning track;
and if the distance is smaller than or equal to a preset distance threshold value, determining that the edgewise sweeping track forms a closed track.
4. The method for detecting the cleaning area of the sweeping robot according to claim 1, wherein after determining the cleaning area of the sweeping robot, the method further comprises:
controlling the sweeping robot to continue sweeping along the edge, and determining the position relation between the current point of the sweeping track and a preset range outside the sweeping area;
and determining the type of the cleaning area according to the position relation.
5. The method of claim 4, wherein determining the type of the cleaning area based on the positional relationship comprises:
if the current point of the edgewise cleaning track is located in a preset range outside the cleaning area, determining that the type of the cleaning area is a fully closed area;
and if the current point of the edgewise cleaning track is positioned outside a preset range outside the cleaning area, determining the type of the cleaning area as an opening area.
6. The method of detecting the cleaning area of a sweeping robot of claim 5, further comprising:
if the current point of the edgewise cleaning track is located in the preset range outside the cleaning area, controlling the sweeping robot to stop edgewise cleaning after the sweeping robot is controlled to travel to the edgewise starting position;
and if the current point of the edgewise cleaning track is positioned outside the preset range outside the cleaning area, controlling the sweeping robot to stop edgewise cleaning.
7. The utility model provides a detection apparatus for sweep area of robot cleans which characterized in that includes:
the control module is used for controlling the sweeping robot to sweep along the edge and recording a sweeping track along the edge if an edge instruction is monitored;
the determining module is used for determining the track direction of the closed track if the edgewise cleaning track forms the closed track;
the judging module is used for judging that the inner area corresponding to the edgewise cleaning track is a cleaning area if the track direction is the same as the designated direction; and if the track direction is different from the designated direction, judging that the inner area is not a cleaning area.
8. The detection equipment for the cleaning area of the sweeping robot is characterized by comprising a memory and a processor;
the memory has stored thereon a computer program which, when being executed by the processor, carries out the steps of the method for detecting a cleaning area of a sweeping robot as claimed in any one of claims 1 to 6.
9. A detection system for cleaning areas of a floor sweeping robot is characterized by comprising:
the controller is arranged in the sweeping robot and used for controlling the sweeping robot to sweep along the edge and recording an edge sweeping track if an edge instruction is monitored;
the remote control equipment is used for determining the track direction of the closed track if the edgewise sweeping track forms the closed track; if the track direction is the same as the designated direction, judging that the inner area corresponding to the edgewise cleaning track is the cleaning area; and if the track direction is different from the designated direction, judging that the inner area is not the cleaning area.
10. A storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the method for detecting a cleaning area of a sweeping robot as claimed in any one of claims 1 to 6.
CN202011023627.0A 2020-09-25 2020-09-25 Sweeping robot sweeping area detection method, device, equipment, system and medium Active CN112137512B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011023627.0A CN112137512B (en) 2020-09-25 2020-09-25 Sweeping robot sweeping area detection method, device, equipment, system and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011023627.0A CN112137512B (en) 2020-09-25 2020-09-25 Sweeping robot sweeping area detection method, device, equipment, system and medium

Publications (2)

Publication Number Publication Date
CN112137512A true CN112137512A (en) 2020-12-29
CN112137512B CN112137512B (en) 2021-12-10

Family

ID=73897209

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011023627.0A Active CN112137512B (en) 2020-09-25 2020-09-25 Sweeping robot sweeping area detection method, device, equipment, system and medium

Country Status (1)

Country Link
CN (1) CN112137512B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112982252A (en) * 2021-02-20 2021-06-18 深圳一清创新科技有限公司 Edge cleaning method and device and sweeper
CN113344264A (en) * 2021-05-28 2021-09-03 深圳市无限动力发展有限公司 Method and device for judging track closure, computer equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109077672A (en) * 2018-09-28 2018-12-25 北京奇虎科技有限公司 A kind of method and device of sweeping robot selection block
CN109597420A (en) * 2019-01-22 2019-04-09 重庆润通智能装备有限公司 A kind of intelligent grass-removing boundary is closed processing system and method automatically
CN110275515A (en) * 2018-03-15 2019-09-24 北京智行鸿远汽车有限公司 A method of improving closed path precision
CN110941270A (en) * 2016-11-11 2020-03-31 苏州宝时得电动工具有限公司 Automatic working system and control method thereof
US10613541B1 (en) * 2016-02-16 2020-04-07 AI Incorporated Surface coverage optimization method for autonomous mobile machines
CN111214179A (en) * 2018-11-23 2020-06-02 北京奇虎科技有限公司 Method and device for determining cleanable area, electronic equipment and readable storage medium
CN105739500B (en) * 2016-03-29 2020-06-30 海尔优家智能科技(北京)有限公司 Interactive control method and device of intelligent sweeping robot
CN111436861A (en) * 2018-12-27 2020-07-24 北京奇虎科技有限公司 Block edge closing processing method, electronic equipment and readable storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10613541B1 (en) * 2016-02-16 2020-04-07 AI Incorporated Surface coverage optimization method for autonomous mobile machines
CN105739500B (en) * 2016-03-29 2020-06-30 海尔优家智能科技(北京)有限公司 Interactive control method and device of intelligent sweeping robot
CN110941270A (en) * 2016-11-11 2020-03-31 苏州宝时得电动工具有限公司 Automatic working system and control method thereof
CN110275515A (en) * 2018-03-15 2019-09-24 北京智行鸿远汽车有限公司 A method of improving closed path precision
CN109077672A (en) * 2018-09-28 2018-12-25 北京奇虎科技有限公司 A kind of method and device of sweeping robot selection block
CN111214179A (en) * 2018-11-23 2020-06-02 北京奇虎科技有限公司 Method and device for determining cleanable area, electronic equipment and readable storage medium
CN111436861A (en) * 2018-12-27 2020-07-24 北京奇虎科技有限公司 Block edge closing processing method, electronic equipment and readable storage medium
CN109597420A (en) * 2019-01-22 2019-04-09 重庆润通智能装备有限公司 A kind of intelligent grass-removing boundary is closed processing system and method automatically

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112982252A (en) * 2021-02-20 2021-06-18 深圳一清创新科技有限公司 Edge cleaning method and device and sweeper
CN113344264A (en) * 2021-05-28 2021-09-03 深圳市无限动力发展有限公司 Method and device for judging track closure, computer equipment and storage medium
CN113344264B (en) * 2021-05-28 2024-02-27 深圳市无限动力发展有限公司 Method and device for judging track closure, computer equipment and storage medium

Also Published As

Publication number Publication date
CN112137512B (en) 2021-12-10

Similar Documents

Publication Publication Date Title
US20220050468A1 (en) Robot-assisted processing of a surface using a robot
JP6873959B2 (en) Mobile robots and how to navigate the surface with mobile robots
CN108553041B (en) Method for judging trapped robot
WO2020207390A1 (en) Detection method and apparatus, and mobile robot and storage medium
CN107092260B (en) Mobile robot and method for crossing obstacle by mobile robot
CN109997089B (en) Ground processing machine and ground processing method
CN110448241B (en) Robot trapped detection and escaping method
CN110362079B (en) Traversal control method and chip of robot and cleaning robot
CN112137512B (en) Sweeping robot sweeping area detection method, device, equipment, system and medium
US11966227B2 (en) Mapping for autonomous mobile robots
TW201434546A (en) Cleaning method for edgewise-navigating and centralizedly-stretching cleaning robot
CN107678429B (en) Robot control method and chip
WO2022041236A1 (en) Traveling control method and path planning method for mobile robot, and mobile robot
US11592573B2 (en) Particle filters and WiFi robot localization and mapping
CN110543174A (en) Method for establishing passable area graph, method for processing passable area graph, device and movable equipment
CN110870721A (en) Control method and device for cleaning robot, cleaning robot and storage medium
KR20200070087A (en) Autonomous Mobile Robot and Method for Driving Control the same
EP4388961A1 (en) Cleaning robot, control method and apparatus therefor, and electronic device and storage medium
CN112022011B (en) Control method, equipment, system and storage medium of sweeping robot
CN110731734B (en) Control method and chip for planning and cleaning of intelligent robot and cleaning robot
WO2024067852A1 (en) Ground medium detection method and apparatus and cleaning device
CN112137528B (en) Sweeping robot sweeping area detection method, device, equipment, system and medium
CN115316887B (en) Robot control method, robot, and computer-readable storage medium
CN116540689A (en) Robot edge control method, chip and robot

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
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 7-605, 6th floor, building 1, yard a, Guanghua Road, Chaoyang District, Beijing 100026

Patentee after: Beijing dog vacuum cleaner Group Co.,Ltd.

Address before: 7-605, 6th floor, building 1, yard a, Guanghua Road, Chaoyang District, Beijing 100026

Patentee before: PUPPY ELECTRONIC APPLIANCES INTERNET TECHNOLOGY (BEIJING) Co.,Ltd.