A method and device for controlling a cleaning robot and a cleaning robot

By integrating the packaging device on the cleaning robot, it is automatically determined that the garbage bag is full and closed and cut, which solves the problem of manually dumping garbage in the existing technology, and improves the working efficiency of the cleaning robot.

CN116002246BActive Publication Date: 2024-11-22SHENZHEN YIJIAHE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310094409.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-01-13
Publication Date
2024-11-22
Estimated Expiration
2043-01-13

AI Technical Summary

Technical Problem

Existing cleaning robots need to manually drive back to the garbage station to dump garbage when the garbage is full, which is inefficient.

Method used

A cleaning robot is designed, equipped with a packaging device, including a box, a collection mechanism, an adsorption mechanism, a garbage box, a warehouse door assembly, a cutting mechanism and a sealing mechanism. The garbage bag is fully loaded through the detection signal, and the cleaning task is suspended, and the sealing is closed. and cut the garbage film to automatically drop the closed garbage bag from the opening.

Benefits of technology

It realizes automatic packaging and dumping of garbage, reduces manual intervention, and improves the work efficiency of cleaning robots.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116002246B_ABST
    Figure CN116002246B_ABST
Patent Text Reader

Abstract

The embodiments of the present invention relate to the field of robot technology, and provide a method, device and cleaning robot for controlling a cleaning robot. The cleaning robot is provided with a packing device, which includes a box, a folding mechanism, an adsorption mechanism, a garbage box, a door assembly, a cutting mechanism, a sealing mechanism, a first detection device and a second detection device. The garbage box, the folding mechanism, the sealing mechanism, the cutting mechanism and the first detection device are all arranged in the box, and the box is provided with a first opening, a receiving cavity and a second opening. The garbage box, the sealing mechanism, the cutting mechanism, the folding mechanism and the first detection device are all located at the first opening. The door assembly is arranged in the box, and the door assembly is located at the second opening. The door assembly is used to close or open the second opening. The garbage box device is used to output garbage film, and the door assembly is used to adsorb garbage film so that the garbage film is concave toward the adsorption mechanism to form a garbage bag. In the above manner, there is no need to manually drive a manual cleaning vehicle back to the garbage station to dump garbage.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of robots, and in particular to a method and device for controlling a cleaning robot, and the cleaning robot. Background Art

[0002] With the development of science and technology, cleaning robots are used in many occasions in life. The efficiency of cleaning robots in cleaning garbage is very obvious. Therefore, cleaning robots are an important tool for modern people to clean garbage. Cleaning robots are an important development direction in the field of robots. As people continue to improve the methods of cleaning garbage, they have more expectations for the technology of cleaning robots.

[0003] In the process of implementing the embodiments of the present invention, the inventors found that currently manually driven cleaning vehicles are commonly used to suck garbage on the road into a storage box. When the storage box is filled with garbage, it is necessary to manually drive the manual cleaning vehicle back to the garbage station to dump the garbage. Summary of the invention

[0004] The main technical problem solved by the embodiments of the present invention is to provide a method and device for controlling a cleaning robot and a cleaning robot, so that there is no need for manual cleaning vehicles to be driven back to a garbage station to dump garbage.

[0005] To solve the above technical problems, a technical solution adopted in an embodiment of the present invention is: to provide a method, device and cleaning robot for controlling a cleaning robot, wherein the cleaning robot is provided with a packing device, wherein the packing device comprises a box body, a folding mechanism, an adsorption mechanism, a garbage box, a door assembly, a cutting mechanism, a sealing mechanism, a first detection device and a second detection device, the box body is provided with a first opening, a receiving cavity and a second opening, the first opening and the second opening are both communicated with the receiving cavity, the garbage box, the folding mechanism, the sealing mechanism, the cutting mechanism and the first detection device are all arranged on the box body, the garbage box, the sealing mechanism, the cutting mechanism, the folding mechanism and the first detection device are all located at the first opening, the door assembly is arranged on the box body, the door assembly is used to close or open the second opening, the adsorption mechanism and the second detection device are arranged on the inner surface of the adsorption mechanism facing the receiving cavity, and the garbage box is provided with a The device is used to output the garbage film, and the adsorption mechanism is used to adsorb the garbage film so that the garbage film is recessed toward the adsorption mechanism to form a garbage bag. The method also includes: in the process of the cleaning robot performing the cleaning task, obtaining a first detection signal of the first detection device; judging whether the garbage bag reaches a preset full load condition according to the first detection signal; if so, controlling the cleaning robot to pause the cleaning task, and controlling the folding mechanism to gather the part of the garbage film located at the first opening; controlling the sealing mechanism to seal the gathered part of the garbage film; controlling the cutting mechanism to cut the sealed part of the garbage film into two sections, so that the part of the garbage film located in the receiving cavity forms a closed garbage bag, and the other part of the garbage film located at the first opening is closed; controlling the door assembly to open the second opening, so that the closed garbage bag falls from the second opening.

[0006] Optionally, the method further includes: after the closed garbage bag falls from the second opening, controlling the bin door assembly to close the second opening, and controlling the folding mechanism, the cutting mechanism and the sealing mechanism to reset; controlling the adsorption mechanism to adsorb the garbage film so that the garbage film is recessed toward the adsorption mechanism to form a new garbage bag; determining whether a new garbage bag is formed; if formed, controlling the cleaning robot to continue to perform the cleaning task.

[0007] Optionally, the step of determining whether a new garbage bag is formed further includes: obtaining a second detection signal of the second detection device after the adsorption mechanism adsorbs the garbage film for a first predetermined period of time; determining whether the garbage film is attached to the adsorption mechanism based on the second detection signal; if so, determining that a new garbage bag has been formed; if not, determining that a new garbage bag has not been formed.

[0008] Optionally, the method further includes: after determining that a new garbage bag has been formed, controlling the adsorption mechanism to stop adsorbing the garbage film.

[0009] Optionally, the packing device also includes a fourth detection device, which is arranged in the garbage box, and the fourth detection device is used to detect whether there is a garbage film in the garbage box; the method also includes: when it is determined that a new garbage bag has not been formed, obtaining a third detection signal from the fourth detection device; based on the third detection signal, judging whether there is a garbage film in the garbage box; if not, outputting a first prompt signal, the first prompt signal being used to prompt that there is no garbage film in the garbage box.

[0010] Optionally, the method further comprises: if there is a garbage film in the garbage box, outputting a second prompt signal, wherein the second prompt signal is used to prompt that adsorption of the garbage film to form a garbage bag has failed.

[0011] Optionally, the packaging device also includes a third detection device, which is arranged at the second opening, and is used to detect whether a garbage bag falls from the second opening; before the step of controlling the door assembly to close the second opening, and controlling the resetting of the folding mechanism, the cutting mechanism and the sealing mechanism, the method also includes: continuously acquiring a fourth detection signal from the third detection device within a second predetermined time period from the time the door assembly opens the second opening; judging based on the fourth detection signal whether a garbage bag passes through the second opening; and if so, determining that the closed garbage bag falls from the second opening.

[0012] Optionally, the method also includes: if within a second predetermined time period since the bin door assembly opens the second opening, based on the fourth detection signal, it is determined that no garbage bag passes through the second opening, then a third prompt signal is output, and the third prompt signal is used to indicate that the garbage bag fails to fall.

[0013] Optionally, the cleaning robot is provided with a packing device, characterized in that the packing device comprises a box body, a folding mechanism, an adsorption mechanism, a garbage bin, a bin door assembly, a cutting mechanism, a sealing mechanism, a first detection device and a second detection device, the box body is provided with a first opening, a receiving cavity and a second opening, the first opening and the second opening are both communicated with the receiving cavity, the garbage bin, the folding mechanism, the sealing mechanism, the cutting mechanism and the first detection device are all arranged on the box body, the garbage bin, the sealing mechanism, the cutting mechanism, the folding mechanism and the first detection device are all located at the first opening, the bin door assembly is arranged on the box body, the bin door assembly is used to close or open the second opening, the adsorption mechanism and the second detection device are arranged on the inner surface of the adsorption mechanism facing the receiving cavity, the garbage box device is used to output garbage film, the adsorption mechanism is used to adsorb the garbage film so that the garbage film is recessed toward the adsorption mechanism to form a garbage bag, The device also includes: a first acquisition module, which acquires a first detection signal of the first detection device during the cleaning robot performing a cleaning task; a first judgment module, which judges whether the garbage bag reaches a preset full load condition according to the first detection signal; a first control module, which is used to control the cleaning robot to suspend the cleaning task if so, and control the folding mechanism to gather the portion of the garbage film located at the first opening; a second control module, which is used to control the sealing mechanism to seal the gathered portion of the garbage film; a third control module, which is used to control the cutting mechanism to cut the sealed portion of the garbage film into two sections, so that the portion of the garbage film located in the receiving cavity forms a closed garbage bag, and the other portion of the garbage film located at the first opening is closed; and a fourth control module, which is used to control the door assembly to open the second opening, so that the closed garbage bag falls from the second opening.

[0014] In order to solve the above technical problems, another technical solution adopted in the embodiment of the present invention is: to provide a cleaning robot, including a cleaning body, a packing device and a controller, the packing device is arranged on the cleaning body, the packing device includes a box body, a folding mechanism, an adsorption mechanism, a garbage box, a door assembly, a cutting mechanism, a sealing mechanism, a first detection device and a second detection device, the box body is provided with a first opening, a receiving cavity and a second opening, the first opening and the second opening are both connected to the receiving cavity, the garbage box, the folding mechanism, the sealing mechanism, the cutting mechanism and the first detection device are all arranged on the box body, the garbage box, the sealing mechanism, the cutting mechanism, the folding mechanism and the first detection device are both located at the first opening, the door assembly is arranged on the box body, the door assembly is used to close or open the second opening, the adsorption mechanism and the second detection device are arranged on the inner surface of the adsorption mechanism facing the receiving cavity, the garbage box device is used to output the garbage film, and the adsorption mechanism is used to adsorb the garbage film so that the garbage film is recessed toward the adsorption mechanism to form a garbage bag; the controller includes: at least one processor, and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the described method.

[0015] The beneficial effects of the embodiments of the present invention are as follows: different from the prior art, the cleaning robot of the embodiment of the present application travels along the road surface, and in the process of the cleaning robot performing the cleaning task, a first detection signal of the first detection device is obtained, and according to the first detection signal, it is determined whether the garbage bag has reached a preset full load condition. If so, the cleaning robot is controlled to suspend the cleaning task, and the folding mechanism is controlled to gather the part of the garbage film located at the first opening, the sealing mechanism is controlled to seal the gathered part of the garbage film, the cutting mechanism is controlled to cut the sealed part of the garbage film into two sections, so that the part of the garbage film located in the receiving cavity forms a closed garbage bag, and the other part of the garbage film located at the first opening is closed, and the door assembly is controlled to open the second opening, so that the closed garbage bag falls from the second opening, thereby realizing automatic garbage packaging, and the cleaning robot does not need to return to the garbage station to dump the garbage. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for the specific embodiments or the prior art description. In all the drawings, similar elements or parts are generally identified by similar reference numerals. In the drawings, each element or part is not necessarily drawn according to the actual scale.

[0017] Figure 1 is an exploded perspective view of a packaging device provided by an embodiment of the present invention;

[0018] Figure 2 is a structural diagram of a controller for controlling a cleaning robot according to an embodiment of the present invention;

[0019] Figure 3 is a view of the internal components of the packaging device provided by an embodiment of the present invention;

[0020] Figure 4 is a view of a packaging device provided by an embodiment of the present invention;

[0021] Figure 5 is another view of the packaging device provided by an embodiment of the present invention;

[0022] Figure 6 is a three-dimensional diagram of a box assembly of a packaging device provided by an embodiment of the present invention;

[0023] Figure 7 is a view of a cutting mechanism of a packaging device provided by an embodiment of the present invention;

[0024] Figure 8 is another view of the cutting mechanism of the packaging device provided by an embodiment of the present invention;

[0025] Fig. 9 is a three-dimensional diagram of a welding assembly of a packaging device provided by an embodiment of the present invention;

[0026] Fig.10 is a connection diagram of a controller module for controlling a cleaning robot according to an embodiment of the present invention;

[0027] Fig.11 is a flow chart of a first embodiment of a method for controlling a cleaning robot according to an embodiment of the present invention;

[0028] Fig.12 is a flow chart of a second embodiment of a method for controlling a cleaning robot according to an embodiment of the present invention;

[0029] Fig.13 is a flow chart of the steps of determining whether a new garbage bag is formed in the method for controlling a cleaning robot according to an embodiment of the present invention;

[0030] Fig.14 It is a block diagram of a module for controlling a cleaning robot according to an embodiment of the present invention.

[0031] Reference numerals:

[0032] 1. Packing device; 10. Box; 20. Trash box; 30. First pressing assembly; 40. Second pressing assembly; 50. Sealing mechanism; 60. Cutting mechanism; 70. Door assembly; 80. Suction fan; 90. Folding mechanism; 91. Controller; 92. First detection device; 93. Second detection device; 94. Third detection device; 95. Fourth detection device; 101. First opening; 102. Accommodating chamber; 103. Second opening; 301. First driving member; 302. First pressing arm; 303. Second pressing arm; 401. Second driving member; 402. Third pressing arm; 403. Fourth pressing arm; 501. First welding part; 502. Second welding part; 503. Avoiding groove; 601. Third driving member; 602. Mounting frame; 603. Cutting member; 604. Push rod assembly; 605. Second mounting plate; 606. The first slide rail; 701, the fifth driving member; 702, the door body; 911, the processor; 912, the memory; 3011, the first motor; 3012, the screw rod; 3013, the first belt; 3014, the first rotating wheel; 3015, the second belt; 3021, the screw rod nut; 3031, the mounting arm; 3032, the elastic member; 3033, the abutting arm; 3034, the bolt; 3035, the avoidance hole; 4011, the second motor; 4012, the second mounting plate; 4013, the second rotating wheel; 4014, the third rotating wheel; 4015, the third belt; 6041, the fourth driving member; 6042, the connecting rod member; 7021, the third opening; 401a, the second slide rail; B1, the first acquisition module; B2, the first judgment module; B3, the first control module; B4, the second control module; B5, the third control module; B6, the fourth control module. DETAILED DESCRIPTION

[0033] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0034] It should be noted that, if there is no conflict, the various features in the embodiments of the present invention can be combined with each other, all within the scope of protection of the present invention. In addition, although the functional modules are divided in the device schematic diagram and the logical order is shown in the flow chart, in some cases, the steps shown or described may be performed in a different order than the module division in the device schematic diagram or the order in the flow chart.

[0035] See also Figure 1 and Figure 2The packaging device 1 includes a box body 10, a garbage box 20, a folding mechanism 90, a sealing mechanism 50, a cutting mechanism 60, a door assembly 70, an adsorption mechanism 80, a controller 91, a first detection device 92, a second detection device 93, a third detection device 94 and a fourth detection device 95. The garbage box 20, the folding mechanism 90, the sealing mechanism 50, the door assembly 70, the adsorption mechanism 80, the first detection device 92, the second detection device 93 are all arranged on the box body 10, the second detection device 93 is arranged on the adsorption mechanism 80, and the fourth detection device is arranged on the garbage box 20. The garbage box 20 is used to collect garbage film. The first detection device 92 is used to detect whether the garbage bag is preset to be full. The second detection device 93 is used to detect whether the garbage film is attached to the adsorption mechanism 80. The third detection device 92 is used to detect whether the garbage bag falls. The fourth detection device 92 is used to detect whether there is garbage film in the garbage box 20. The folding mechanism 90 includes a first pressing component 30 and the second pressing component 40, the first pressing component 30 and the second pressing component 40 are arranged on the box body 10, the cutting mechanism 60 is arranged on the first pressing component 30, the first pressing component 30 and the second pressing component 40 jointly press the garbage film, the sealing mechanism 50 can emit ultrasonic waves to weld the garbage film, and the cutting mechanism 60 cuts the welded garbage film, and the controller 91 is electrically connected to the garbage box 20, the sealing mechanism 50, the cutting mechanism 60, the door assembly 70, the adsorption mechanism 80 and the folding mechanism 90 respectively, and the controller 91 is used to control the garbage box 20 to transport the garbage film to the box body, control the adsorption mechanism 80 to discharge the air in the box body, control the folding mechanism 90 to fold the garbage film, control the sealing mechanism 50 to emit ultrasonic waves to seal the garbage film, control the cutting mechanism 60 to cut the garbage film after sealing, and control the door assembly 70 to open to discharge the garbage bag or control the door assembly 70 to close, so as to realize automatic cutting and automatic packaging of garbage.

[0036] For the above-mentioned box 10, please refer to Figure 1 and Figure 6 A receiving chamber 102 is provided inside the box body 10, and a first opening 101 and a second opening 103 are provided on opposite sides of the receiving chamber 102. The garbage box 20 is arranged around the first opening 101, and the first detection device 92 is located at the first opening 101. The third detection device 94 is arranged at the second opening 102. The door assembly 70 is rotated to cover the second opening 103. One end of the garbage film is collected in the garbage box 20, and the other end of the garbage film extends from the first opening 101 into the wall surface attached to the receiving chamber 102. The garbage flows into the receiving chamber 102 from the second opening 103. When the garbage fills the receiving chamber 102, the sealing mechanism 50 welds the garbage film, and the cutting mechanism 60 cuts off the garbage film. Then, the door assembly 70 rotates, and the garbage film containing the garbage flows out from the second opening 103 by gravity.

[0037] For the first pressing assembly 30, see Figure 1 and Figure 3 The first pressing assembly 30 includes a first driving member 301, a first pressing arm 302 and a second pressing arm 303. The first driving member 301 and the first pressing arm 302 are installed on the box body 10. The first pressing arm 302 is slidably connected to the first driving member 301. The first pressing arm 302 and the second pressing arm 303 are arranged opposite to each other. When working, the first driving member 301 drives the first pressing arm 302 to move toward or away from each other at the first opening 101 along the first axis. In some embodiments, the first driving member 301 drives the first pressing arm 302 and the second pressing arm 303 to move toward or away from each other at the first opening 101 along the first axis, thereby pressing the garbage film along the first axis.

[0038] For the first driving member 301, see Figure 3 and Figure 4 The first driving member 301 includes a first motor 3011 and a screw rod 3012. The screw rod 3012 is rotatably arranged on the box body 10. The axial direction of the screw rod 3012 is parallel to the first thread axis. The first motor 3011 is installed on the box body 10. The first motor 3011 is connected to the screw rod 3012, and the first motor 3011 drives the screw rod 3012 to rotate relative to the box body 10. The first pressing arm 302 is provided with a screw nut 3021. The screw nut 3021 is screwed to the screw rod 3012. When the screw rod 3012 rotates, the first pressing arm 302 moves toward or away from the second pressing arm 303 along the first thread axis under the drive of the screw nut 3021.

[0039] For the first driving member 301, see Figure 3 and Figure 4 The first driving member 301 also includes a first belt 3013, a first rotating wheel 3014 and a second belt 3015. The number of the first rotating wheel 3014, the screw rod 3012 and the screw rod nut 3021 is two. The two screw rod nuts 3021 are located at both ends of the second pressing arm 303. A screw rod 3012 passes through and is screwed to the screw rod nut 3021. A first rotating wheel 3014 is fixed to the screw rod 3012. The first belt 3013 is wound around the two first rotating wheels 3014. One end of the second belt 3015 is connected to the first motor 3011, and the other end of the second belt 3015 is connected to the screw rod 3012. When working, the first motor 3011 drives the screw rod 3012 to rotate, so that the first pressing arm 302 moves toward or away from the second pressing arm 303 along the first axis, so that the garbage film can be pressed in the first axis direction.

[0040] For the second pressing arm 303, see Figure 3 and Figure 4The second holding arm 303 includes a mounting arm 3031, an elastic member 3032, an abutting arm 3033 and a bolt 3034. The elastic member 3032 is a spring. The abutting arm 3033 and the mounting arm 3031 are arranged relatively along the first axis. The abutting arm 3033 is located between the first holding arm 302 and the mounting arm 3031. The elastic member 3032 is located between the abutting arm 3033 and the mounting arm 3031. The elastic member 3032 is connected to the abutting arm 3033 and the mounting arm 3031 respectively. The abutting arm 3033 is provided with a screw hole, and the mounting arm 3031 is provided with a through hole. The bolt 3034 passes through the through hole and is screwed to the screw hole, the elastic member 3032 is sleeved on the outer surface of the bolt 3034, the mounting arm 3031 is slidably set on the box body 10, the screw nut 3021 is set on the mounting arm 3031, and the mounting arm 3031 is slidably connected to the abutment arm 3033. When working, the length of the elastic member 3032 between the abutment arm 3033 and the mounting arm 3031 is adjusted by rotating the bolt 3034. When the length of the elastic member 3032 is shorter, the strength of the abutment arm 3033 in pressing the garbage film is greater, thereby reducing the risk of the garbage film being crushed or scratched.

[0041] For the second pressing assembly 40, see Figure 3 and Figure 4 The second pressing assembly 40 includes a second driving member 401, a third pressing arm 402 and a fourth pressing arm 403. The third pressing arm 402 and the fourth pressing arm 403 are arranged opposite to each other. The second driving member 401 is used to drive the third pressing arm 402 and the fourth pressing arm 403 to move away from or towards each other along the second axis, wherein the first axis and the second axis are perpendicular, so that the second axial direction of the garbage film can be pressed.

[0042] For the second driving member 401, see Figure 4 and Figure 5The second driving member 401 includes a second motor 4011, a first mounting plate 4012, a second rotating wheel 4013, a third rotating wheel 4014 and a third belt 4015. The first mounting plate is fixed to the box body 10. The first mounting plate 4012 is provided with a second slide rail 401a. The second rotating wheel 4013 and the third rotating wheel 4014 are rotatably arranged on the first mounting plate. The third belt 4015 is wound around the second rotating wheel 4013 and the third rotating wheel 4014. The third holding arm 402 and the fourth holding arm 403 are slidably arranged on the second slide rail 401a, and are arranged along a direction perpendicular to the first rotating wheel 3014. In the direction of the second rotating wheel 4013, the third pressing arm 402 is fixed to one side of the third belt 4015, and the fourth pressing arm 403 is fixed to the other side of the third belt 4015. During operation, the second motor 4011 drives the second rotating wheel 4013 to rotate, driving the third belt 4015 to move along the second line axis, so that the third rotating wheel 4014 rotates, so that the third pressing arm 402 and the fourth pressing arm 403 move toward or away from each other along the second line axis. When the third pressing arm 402 and the fourth pressing arm 403 move toward each other, they can clamp the garbage film along the direction of the second line axis.

[0043] For the sealing mechanism 50, please refer to Figure 1 , Figure 5 and Fig. 9 An ultrasonic generator is arranged inside the sealing mechanism 50, and a first welding portion 501 and a second welding portion 502 are arranged on the outer surface of the sealing mechanism 50. An avoidance groove 503 is arranged between the first welding portion 501 and the second welding portion 502. When the first pressing component 30 and the second pressing component 40 jointly press the garbage film to the sealing mechanism 50, the first welding portion 501 and the second welding portion 502 can weld the garbage film at the same time, so as to achieve welding of the garbage film at equal length intervals, thereby reducing the risk of garbage leakage.

[0044] For the above-mentioned cutting mechanism 60, please refer to Figure 1 , Figure 7 and Figure 8The cutting mechanism 60 includes a third driving member 601, a mounting frame 602, a cutting member 603, a push rod assembly 604, a second mounting plate 605 and a first slide rail 606. The second mounting plate 605 is fixed to the first holding arm 302, the first slide rail 606 is fixed to the second mounting plate 605, the mounting frame 602 is slidably connected to the first slide rail 606, the third driving member 601 is installed on the mounting frame 602, the third driving member 601 is connected to the cutting member 603, one end of the push rod assembly 604 is connected to the mounting frame 602, and the other end of the push rod assembly 604 is fixed to the second mounting plate 605. When the first holding assembly 30 and After the second pressing assembly 40 jointly presses the garbage film to the sealing mechanism 50, and the first welding part 501 and the second welding part 502 weld the garbage film, the third driving member 601 drives the cutting member 603 to rotate. At the same time, the push rod assembly 604 drives the mounting frame 602 to move along the first line axis direction as a driving force. The cutting member 603 is inserted from the avoidance hole 3035 of the second pressing arm 303 and the avoidance groove 503 of the sealing mechanism 50 in sequence, and cuts off the garbage film between the first welding part 501 and the second welding part 502. When the cutting member 603 extends into the avoidance groove 503, the garbage film can be completely cut off.

[0045] For the push rod assembly 604 described above, see Figure 7 and Figure 8 The push rod assembly 604 includes a fourth driving member 6041 and a connecting rod member 6042. One end of the fourth driving member 6041 is fixed to the second mounting plate 605, one end of the connecting rod is connected to the other end of the fourth driving member 6041, and the other end of the connecting rod is connected to the mounting frame 602. The fourth driving member 6041 can drive the connecting rod to extend and retract along the first line axis relative to the second mounting plate 605, thereby driving the mounting frame 602 to insert the cutting member 603 from the avoidance hole 3035 of the second pressing arm 303 and the avoidance groove 503 of the sealing mechanism 50 in sequence, and cut off the garbage film between the first welding part 501 and the second welding part 502.

[0046] For the above packaging device 1, please refer to Figure 1 and Figure 6 The packaging device 1 also includes a fifth driving member 701 and a door body 702. One side of the door body 702 is rotatably arranged on the box body 10, and the fifth driving member 701 is fixed to the box body 10. When the cutting mechanism 60 cuts off the garbage film, the fifth driving member 701 drives the door body 702 to rotate relative to the box body to open the door body 702. The cut part of the garbage film and the garbage film already filled with garbage flow out from the second opening 103 due to their own gravity. After the garbage film flows out, the door body 702 is covered on the second opening 103 again to reduce the risk of the garbage film filled with garbage being broken due to excessive weight.

[0047] For the above packaging device 1, please refer to Figure 1 and Figure 5 The packaging device 1 also includes an adsorption mechanism 80, and the number of adsorption mechanisms 80 is multiple. The second detection device 93 is arranged on the inner surface of the adsorption mechanism 80 facing the receiving chamber 102. The outer surface of the door body 702 is provided with multiple third openings 7021. One adsorption mechanism 80 is installed corresponding to one third opening 7021. When the cut garbage film flows out from the second opening 103 and the door body 702 covers the second opening 103, the adsorption mechanism 80 draws air from the receiving chamber 102 to the outside, so that the air pressure of the receiving chamber 102 is lower than the outside air pressure. The external air pressure adheres the garbage film to the inner wall surface of the box body 10, so that the garbage film is fully opened, so that the garbage film can accommodate more garbage.

[0048] For the above controller 91, if Fig.10 As shown, the controller 91 includes one or more processors 911 and a memory 912. Fig.12 A processor 911 is taken as an example.

[0049] The processor 911 and the memory 912 may be connected via a bus or other means. Fig.12 The example of connecting through bus is taken in the following.

[0050] The memory 912 is a non-volatile computer-readable storage medium that can be used to store non-volatile software programs, non-volatile computer executable programs and modules, such as program instructions / modules corresponding to the method for controlling the cleaning robot in the embodiment of the present invention (for example, the attached Fig.14 The processor 911 executes various functional applications and data processing of the server by running the non-volatile software programs, instructions and modules stored in the memory 912, that is, implements the method of controlling the cleaning robot in the following method embodiment.

[0051] The memory 912 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the control cleaning robot, etc. In addition, the memory 912 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage devices. In some embodiments, the memory 912 may optionally include a memory remotely arranged relative to the processor 911, and these remote memories may be connected to the control cleaning robot via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0052] The one or more modules are stored in the memory 912, and when executed by the one or more processors 911, the cleaning robot method in any of the above method embodiments is executed.

[0053] The above product can execute the method provided by the embodiment of the present invention, and has the functional modules and beneficial effects corresponding to the execution method. For technical details not described in detail in this embodiment, please refer to the method provided by the embodiment of the present invention.

[0054] In one embodiment, a computer storage medium is also provided, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are executed by one or more processors, such as Fig.10 A processor 911 in the embodiment may enable the one or more processors to execute the method for controlling the cleaning robot in any of the following method embodiments. The computer storage medium may specifically be a non-volatile computer storage medium.

[0055] In one embodiment, a computer program product is also provided, which includes a computer program stored on a non-volatile computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by the electronic device, the electronic device executes the method of controlling a cleaning robot in any of the following method embodiments.

[0056] The present invention provides an embodiment of a method for controlling a cleaning robot.

[0057] See also Figure 11-13 , Fig.11 1 is a flow chart of a first embodiment of a method for controlling a cleaning robot according to the present invention, the method comprising:

[0058] Step S10: acquiring a first detection signal of the first detection device during the process of the cleaning robot performing a cleaning task;

[0059] Executing the cleaning task means that the cleaning body sweeps the garbage along the road surface and sucks the garbage into the receiving chamber 102 of the box body 10 .

[0060] Step S11: judging whether the garbage bag reaches a preset full load condition according to the first detection signal;

[0061] Step S12: If yes, control the cleaning robot to pause the cleaning task, and control the gathering mechanism 90 to gather the portion of the garbage film located at the first opening 101;

[0062] Gathering means that the first driving member 301 drives the first pressing arm 302 and the second pressing arm 303 to move toward each other along the first axis at the first opening 101, and the second driving member 401 drives the third pressing arm 402 and the fourth pressing arm 403 to move toward each other along the second axis, thereby gathering part of the garbage film located at the first opening 101 into a smaller volume, in preparation for sealing and cutting.

[0063] Step S13: controlling the sealing mechanism 50 to seal the gathered portion of the garbage film;

[0064] The sealing process means that the sealing mechanism 50 can emit ultrasonic waves to the part of the garbage film located at the first opening 101, and the part of the garbage film located at the first opening 101 can quickly generate internal energy to melt and bond the inner wall of the garbage film, thereby achieving a sealing effect.

[0065] Step S14: Control the cutting mechanism 60 to cut the sealed portion of the garbage film into two sections, so that the portion of the garbage film located in the receiving cavity 102 forms a closed garbage bag, and the other portion of the garbage film located in the first opening 101 is sealed;

[0066] Step S15: controlling the door assembly 70 to open the second opening 103 so that the closed garbage bag falls from the second opening 103;

[0067] The fifth driving member 701 drives the door body 702 to rotate relative to the box body 10, so that the door body 702 opens, and the cut-off part of the garbage film and the garbage film already filled with garbage flow out from the second opening 103 due to its own gravity.

[0068] In an embodiment of the present invention, the cleaning robot travels along the road surface. In the process of the cleaning robot performing the cleaning task, the first detection signal of the first detection device is obtained. According to the first detection signal, it is determined whether the garbage bag reaches the preset full load condition. If so, the cleaning robot is controlled to suspend the cleaning task, and the folding mechanism 90 is controlled to gather the part of the garbage film located at the first opening 101, the sealing mechanism 50 is controlled to seal the gathered part of the garbage film, the cutting mechanism 60 is controlled to cut the sealed part of the garbage film into two sections, so that the part of the garbage film located in the receiving cavity 102 forms a closed garbage bag, and the other part of the garbage film located at the first opening 101 is closed, and the door assembly 70 is controlled to open the second opening 103, so that the closed garbage bag falls from the second opening 103, thereby realizing automatic garbage packaging, and the cleaning robot does not need to return to the garbage station to dump the garbage.

[0069] See also Fig.12 and Fig.13 , Fig.121 is a flow chart of a second embodiment of the method for cleaning a robot according to the present invention. The second embodiment differs from the other embodiments in that:

[0070] After step S15, the method comprises:

[0071] Step S16: continuously acquiring a fourth detection signal from the third detection device within a second predetermined time period after the door assembly 70 opens the second opening 103;

[0072] Step S17: determining, based on the fourth detection signal, that a garbage bag passes through the second opening 103;

[0073] Step S18: If yes, determining that the sealed garbage bag falls from the second opening 103;

[0074] Step S19: If, within the second predetermined time period from when the door assembly 70 opens the second opening 103, according to the fourth detection signal, it is determined that no garbage bag passes through the second opening 103, a third prompt signal is output, wherein the third prompt signal is used to prompt that the garbage bag fails to fall.

[0075] When the garbage bag abuts against the second opening 103 and cannot fall, determining whether the garbage bag has passed through the second opening 103 can reduce the risk of damage to the door and the fifth drive member 701 due to closing of the door assembly 70, and can reduce the risk of the door assembly 70 crushing the garbage bag.

[0076] Step S20: After the closed garbage bag falls from the second opening 103, the door assembly 70 is controlled to close the second opening 103, and the folding mechanism 90, the cutting mechanism 60 and the sealing mechanism 50 are controlled to reset;

[0077] The retracting mechanism 90 is reset by the first driving member 301 driving the first holding arm 302 and the second holding arm 303 to move in opposite directions along the first axis at the first opening 101, and the second driving member 401 driving the third holding arm 402 and the fourth holding arm 403 to move in opposite directions along the second axis, and the first holding arm 302, the second holding arm 303, the third holding arm 402 and the fourth holding arm 403 return to their initial positions. The cutting mechanism 60 is reset by the third driving member 601 stopping driving the cutting member 603 to rotate, and at the same time, the push rod assembly 604 drives the mounting frame 602 to move in the direction of the first axis as a driving force, and the cutting member 603 retreats from the avoidance hole 3035 of the second holding arm 303 and the avoidance groove 503 of the sealing mechanism 50. The sealing mechanism 50 is reset by the ultrasonic generator of the sealing mechanism 50 stopping emitting ultrasonic waves.

[0078] Step S21: Control the adsorption mechanism 80 to adsorb the garbage film so that the garbage film is recessed toward the door assembly 70 to form a new garbage bag;

[0079] The adsorption mechanism 80 can discharge the air in the receiving chamber 102 to the outside, causing the pressure of the garbage film near the second opening 103 to be lower than the external pressure, so that air can enter from the first opening 101, thereby expanding the garbage film to form a new garbage bag.

[0080] Step S22: determining whether a new garbage bag is formed;

[0081] In some embodiments, see Fig.11 , step S22 further comprises:

[0082] Step S221: After the adsorption mechanism 80 adsorbs the garbage film for a first predetermined period of time, obtaining a second detection signal of the second detection device;

[0083] Step S222: judging whether the garbage film is attached to the door assembly 70 according to the second detection signal;

[0084] Step S223: If yes, it is determined that a new garbage bag has been formed;

[0085] Step S224: after determining that a new garbage bag has been formed, controlling the adsorption mechanism 80 to stop adsorbing the garbage film.

[0086] Step S225: If not, it is determined that a new garbage bag is not formed;

[0087] When a relatively large tear appears in the garbage film so that the garbage flows between the garbage film and the inner wall of the box body 10, it is determined whether the garbage film is attached to the bin door assembly 70, which can reduce the risk of packaging failure and increase work efficiency.

[0088] Step S226: when it is determined that a new garbage bag has not been formed, obtaining a third detection signal of the fourth detection device;

[0089] Step S227: judging whether there is a garbage film in the garbage box 20 according to the third detection signal;

[0090] Step S228: If it does not exist, output a first prompt signal, wherein the first prompt signal is used to prompt that there is no garbage film in the garbage box 20;

[0091] Step S229: if there is a garbage film in the garbage box 20, a second prompt signal is output, wherein the second prompt signal is used to prompt that the garbage film is adsorbed to form a garbage bag and fails;

[0092] Step S23: If formed, control the cleaning robot to continue to perform the cleaning task.

[0093] In an embodiment of the present invention, when the garbage bag fails to fall, when there is no garbage film in the garbage box 20, and when the garbage film fails to form a garbage bag, a prompt message is output so that the staff can intervene in time to avoid affecting the normal operation of the cleaning robot.

[0094] The present invention also provides an embodiment of controlling a cleaning robot, which comprises a first acquisition module B1, a first judgment module B2, a first control module B3, a second control module B4, a third control module B5 and a fourth control module B6. The first acquisition module B1 is used to obtain a first detection signal of the first detection device during the cleaning robot performing a cleaning task. The first judgment module B2 is used to judge whether the garbage bag reaches a preset full load condition according to the first detection signal. The first control module B3 is used to control the cleaning robot to suspend the cleaning task and control the folding mechanism 9. 0 gathers the portion of the garbage film located at the first opening 101, the first control module B4 is used to control the sealing mechanism 50 to seal the gathered portion of the garbage film, the third control module B5 is used to control the cutting mechanism 60 to cut the sealed portion of the garbage film into two sections, so that the portion of the garbage film located in the receiving cavity 102 forms a closed garbage bag, and the other portion of the garbage film located at the first opening 101 is closed, and the fourth control module B6 is used to control the door assembly 70 to open the second opening 103, so that the closed garbage bag falls from the second opening 103.

[0095] In an embodiment of the present invention, the cleaning robot travels along the road surface. When the cleaning robot performs the cleaning task, the first acquisition module B1 acquires the first detection signal of the first detection device. According to the first detection signal, the first judgment module B2 judges whether the garbage bag reaches the preset full load condition. If so, the first control module B3 controls the cleaning robot to suspend the cleaning task, and the first control module B4 controls the folding mechanism 90 to gather the part of the garbage film located at the first opening 101, and the first control module B4 controls the sealing mechanism 50 to seal the gathered part of the garbage film, and the third control module B5 controls the cutting mechanism 60 to cut the sealed part of the garbage film into two sections, so that the part of the garbage film located in the receiving cavity 102 forms a closed garbage bag, and the other part of the garbage film located at the first opening 101 is closed, and the fourth control module B6 controls the door assembly 70 to open the second opening 103, so that the closed garbage bag falls from the second opening 103, thereby realizing automatic garbage packaging, and the cleaning robot does not need to return to the garbage station to dump the garbage.

[0096] The above description is only an implementation mode of the present invention, and does not limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made by using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A method for controlling a cleaning robot, wherein the cleaning robot is provided with a packaging device, characterized in that: The packaging device comprises a box body, a folding mechanism, an adsorption mechanism, a garbage box, a door assembly, a cutting mechanism, a sealing mechanism, a first detection device and a second detection device, the box body is provided with a first opening, a receiving cavity and a second opening, the first opening and the second opening are both communicated with the receiving cavity, the garbage box, the folding mechanism, the sealing mechanism, the cutting mechanism and the first detection device are all arranged on the box body, the garbage box, the sealing mechanism, the cutting mechanism, the folding mechanism and the first detection device are all located at the first opening, the door assembly is arranged on the box body, the door assembly is used to close or open the second opening, the adsorption mechanism and the second detection device are arranged on the inner surface of the adsorption mechanism facing the receiving cavity, the garbage box device is used to output garbage film, the adsorption mechanism is used to adsorb the garbage film so that the garbage film is recessed toward the adsorption mechanism to form a garbage bag, and the method further comprises: Acquiring a first detection signal of the first detection device during the process of the cleaning robot performing a cleaning task; determining, according to the first detection signal, whether the garbage bag has reached a preset full load condition; If yes, control the cleaning robot to suspend the cleaning task, and control the folding mechanism to fold the portion of the garbage film located at the first opening; Controlling the sealing mechanism to seal the portion of the garbage film that is gathered together; Controlling the cutting mechanism to cut the sealed portion of the garbage film into two sections, so that the portion of the garbage film located in the receiving cavity forms a closed garbage bag, and the other portion of the garbage film located at the first opening forms a seal; Controlling the bin door assembly to open the second opening so that the closed garbage bag falls from the second opening; The method further comprises: After the closed garbage bag falls from the second opening, controlling the bin door assembly to close the second opening, and controlling the folding mechanism, the cutting mechanism and the sealing mechanism to reset; Controlling the adsorption mechanism to adsorb the garbage film so that the garbage film is recessed toward the adsorption mechanism to form a new garbage bag; Determine whether a new garbage bag is formed; If formed, controlling the cleaning robot to continue to perform the cleaning task; The step of determining whether a new garbage bag is formed further comprises: After the adsorption mechanism adsorbs the garbage film for a first predetermined period of time, obtaining a second detection signal of the second detection device; determining, according to the second detection signal, whether the garbage film is attached to the adsorption mechanism; If so, it is determined that a new garbage bag has been formed; If not, it is determined that a new garbage bag is not formed.

2. The method according to claim 1, characterized in that The method further comprises: After determining that a new garbage bag has been formed, the adsorption mechanism is controlled to stop adsorbing the garbage film.

3. The method according to claim 1, characterized in that: The packaging device further comprises a fourth detection device, which is arranged in the garbage box and is used to detect whether there is a garbage film in the garbage box; The method further comprises: When it is determined that a new garbage bag has not been formed, obtaining a third detection signal of the fourth detection device; determining whether there is a garbage film in the garbage box according to the third detection signal; If it does not exist, a first prompt signal is outputted, wherein the first prompt signal is used to prompt that there is no garbage film in the garbage box.

4. The method according to claim 3, characterized in that The method further comprises: If there is a garbage film in the garbage box, a second prompt signal is output, and the second prompt signal is used to prompt that the adsorption of the garbage film to form a garbage bag fails.

5. The method according to any one of claims 1 to 4, characterized in that: The packaging device further comprises a third detection device, which is arranged at the second opening and is used to detect whether the garbage bag falls from the second opening; Before the steps of controlling the adsorption mechanism to close the second opening, and controlling the retracting mechanism, the cutting mechanism and the sealing mechanism to reset, the method further includes: within a second predetermined time period after the adsorption mechanism opens the second opening, continuously acquiring a fourth detection signal of the third detection device; determining, based on the fourth detection signal, that a garbage bag passes through the second opening; If so, it is determined that the closed garbage bag has fallen from the second opening.

6. The method according to claim 5, characterized in that The method further comprises: If, within a second predetermined time period from when the adsorption mechanism opens the second opening, it is determined according to the fourth detection signal that no garbage bag passes through the second opening, a third prompt signal is output, wherein the third prompt signal is used to prompt that the garbage bag fails to fall.

7. A device for controlling a cleaning robot, characterized in that: The cleaning robot is provided with a packing device, the packing device comprises a box body, a folding mechanism, an adsorption mechanism, a garbage box, a door assembly, a cutting mechanism, a sealing mechanism, a first detection device and a second detection device, the box body is provided with a first opening, a receiving cavity and a second opening, the first opening and the second opening are both communicated with the receiving cavity, the garbage box, the folding mechanism, the sealing mechanism, the cutting mechanism and the first detection device are all arranged on the box body, the garbage box, the sealing mechanism, the cutting mechanism, the folding mechanism and the first detection device are all located at the first opening, the door assembly is arranged on the box body, the door assembly is used to close or open the second opening, the adsorption mechanism and the second detection device are arranged on the inner surface of the adsorption mechanism facing the receiving cavity, the garbage box is used to output garbage film, the adsorption mechanism is used to adsorb the garbage film so that the garbage film is recessed toward the adsorption mechanism to form a garbage bag, and the device also includes: a first acquisition module, which acquires a first detection signal of the first detection device during the process in which the cleaning robot performs a cleaning task; a first judgment module, for judging whether the garbage bag reaches a preset full load condition according to the first detection signal; A first control module is used to control the cleaning robot to suspend the cleaning task and control the folding mechanism to fold the portion of the garbage film located at the first opening; A second control module is used to control the sealing mechanism to seal the portion where the garbage film is gathered; A third control module is used to control the cutting mechanism to cut the sealed portion of the garbage film into two sections, so that the portion of the garbage film located in the receiving cavity forms a closed garbage bag, and the other portion of the garbage film located in the first opening forms a closed portion; a fourth control module, configured to control the door assembly to open the second opening, so that the closed garbage bag falls from the second opening; The apparatus also includes the method of claim 1.

8. A cleaning robot, characterized in that: include: Clean the body; A packing device is arranged on the cleaning body, the packing device comprises a box body, a folding mechanism, an adsorption mechanism, a garbage box, a door assembly, a cutting mechanism, a sealing mechanism, a first detection device and a second detection device, the box body is provided with a first opening, a receiving cavity and a second opening, the first opening and the second opening are both communicated with the receiving cavity, the garbage box, the folding mechanism, the sealing mechanism, the cutting mechanism and the first detection device are all arranged on the box body, the garbage box, the sealing mechanism, the cutting mechanism, the folding mechanism and the first detection device are all located at the first opening, the door assembly is arranged on the box body, the door assembly is used to close or open the second opening, the adsorption mechanism and the second detection device are arranged on the inner surface of the adsorption mechanism facing the receiving cavity, the garbage box device is used to output garbage film, and the adsorption mechanism is used to adsorb the garbage film so that the garbage film is recessed toward the adsorption mechanism to form a garbage bag; A controller, comprising: at least one processor, and a memory communicatively connected to the at least one processor; The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method according to any one of claims 1 to 6.