Control method of surface cleaning device, surface cleaning device and control equipment

Through image acquisition and correction technology, combined with model information and inside and outside information, the path planning problem of surface cleaning devices when dealing with irregular-shaped surfaces and obstacles is solved, improving cleaning efficiency and accuracy.

CN118592852APending Publication Date: 2024-09-06BEIJING HUTT INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310194730.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-02-27
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

When existing surface cleaning devices deal with irregularly shaped surfaces to be cleaned or obstacles present, it is difficult to detect edges through sensors, resulting in low cleaning path planning and execution efficiency.

Method used

By controlling the equipment, the image of the surface and the cleaning device is collected, its position and deformation are determined, trapezoidal correction is performed, the cleaning path is planned based on the model information and the inside and outside information, and the attitude is adjusted in real time to ensure the accuracy of the path.

Benefits of technology

It achieves accurate cleaning path planning for irregular-shaped surfaces and surfaces with obstacles, improving cleaning efficiency and accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118592852A
    Figure CN118592852A
Patent Text Reader

Abstract

The embodiment of the invention provides a control method of a surface cleaning device, the surface cleaning device and control equipment. The method comprises the steps that images of a to-be-cleaned surface and the surface cleaning device are collected; determining the positions of the to-be-cleaned surface and the surface cleaning device according to the images of the to-be-cleaned surface and the surface cleaning device; planning a cleaning path of the surface cleaning device according to the to-be-cleaned surface and the position of the surface cleaning device; and sending a control instruction to the surface cleaning device, wherein the control instruction is used for instructing the surface cleaning device to execute cleaning operation on the surface to be cleaned according to the cleaning path. In the embodiment of the invention, the position of the surface to be cleaned and the position of the surface cleaning device are determined through the image collected by the control equipment, and then the cleaning path of the surface cleaning device is planned. It can be understood that the method is not affected by the shape of the to-be-cleaned surface or obstacles in the to-be-cleaned surface, accurate cleaning path planning is achieved, and then the cleaning efficiency of the surface cleaning device is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of cleaning technology, and in particular to a control method for a surface cleaning device, a surface cleaning device and a control device. Background Art

[0002] A surface cleaning device is a household appliance that can provide a cleaning function, such as a self-propelled surface cleaning device such as a window cleaning robot or a sweeping robot. A walking unit and a cleaning unit are usually provided at the bottom of the surface cleaning device, and the walking unit can drive the surface cleaning device to move on the surface to be cleaned. When the surface cleaning device moves on the surface to be cleaned, the cleaning unit can wipe or sweep the surface to be cleaned, thereby achieving a cleaning effect on the surface to be cleaned.

[0003] In order to improve the cleaning efficiency, the surface cleaning device usually needs to determine the position of the surface to be cleaned and the surface cleaning device before performing the cleaning operation, and then plan the cleaning path of the surface cleaning device according to the position of the surface to be cleaned and the surface cleaning device, and then perform the cleaning operation according to the planned cleaning path. For example, the surface cleaning device walks along the edge of the surface to be cleaned to achieve edge cleaning; or the surface cleaning device walks in a "bow" shape on the surface to be cleaned to achieve traversal cleaning of the surface to be cleaned.

[0004] In the prior art, the edge of the surface to be cleaned is usually detected by a sensor provided on the surface cleaning device, thereby determining the position of the surface to be cleaned. For example, when the surface to be cleaned is rectangular, the surface cleaning device can be first controlled to move in the up and down directions to determine the upper and lower boundaries of the surface to be cleaned; then, the surface cleaning device can be controlled to move in the left and right directions to determine the left and right boundaries of the surface to be cleaned. However, when the shape of the surface to be cleaned is irregular or there are obstacles on the surface to be cleaned, it is difficult to detect the edge of the surface to be cleaned by the sensor provided on the surface cleaning device. For example, the surface cleaning device may not be able to accurately detect the outline of the edge of the surface to be cleaned, or the surface cleaning device may be stuck by obstacles on the surface to be cleaned, etc. Summary of the invention

[0005] In view of this, the present application provides a control method for a surface cleaning device, a surface cleaning device and a control equipment, so as to solve the problem in the prior art that when the shape of the surface to be cleaned is irregular or there are obstacles on the surface to be cleaned, it is difficult to detect the edge of the surface to be cleaned by a sensor arranged on the surface cleaning device.

[0006] In a first aspect, an embodiment of the present application provides a control method for a surface cleaning device, which is applied to a control device, wherein the control device is communicatively connected to the surface cleaning device, and the method comprises:

[0007] capturing an image of a surface to be cleaned and a surface cleaning device, the surface cleaning device being located within the surface to be cleaned;

[0008] determining the positions of the surface to be cleaned and the surface cleaning device based on the images of the surface to be cleaned and the surface cleaning device;

[0009] Planning a cleaning path of the surface cleaning device according to the position of the surface to be cleaned and the surface cleaning device;

[0010] A control instruction is sent to the surface cleaning device, wherein the control instruction is used to instruct the surface cleaning device to perform a cleaning operation on the surface to be cleaned according to the cleaning path.

[0011] In a possible implementation, determining the positions of the surface to be cleaned and the surface cleaning device according to the images of the surface to be cleaned and the surface cleaning device includes:

[0012] determining whether there is a trapezoidal deformation in the images of the surface to be cleaned and the surface cleaning device;

[0013] If there is a trapezoidal deformation in the images of the surface to be cleaned and the surface cleaning device, performing a trapezoidal correction on the images of the surface to be cleaned and the surface cleaning device to obtain a corrected image of the surface to be cleaned and the surface cleaning device;

[0014] Based on the corrected images of the surface to be cleaned and the surface cleaning device, the positions of the surface to be cleaned and the surface cleaning device are determined.

[0015] In a possible implementation, the method further includes: receiving model information sent by the surface cleaning device, where the model information is used to characterize the model of the surface cleaning device;

[0016] The planning of the cleaning path of the surface cleaning device according to the position of the surface to be cleaned and the surface cleaning device includes: planning the cleaning path of the surface cleaning device according to the position of the surface to be cleaned and the surface cleaning device and the model information.

[0017] In a possible implementation, the method further includes: determining inside and outside information of the surface cleaning device according to the images of the surface to be cleaned and the surface cleaning device, wherein the inside and outside information is used to characterize whether the surface cleaning device is located on the inside or outside of the surface to be cleaned;

[0018] The planning of the cleaning path of the surface cleaning device according to the position of the surface to be cleaned and the surface cleaning device includes: planning the cleaning path of the surface cleaning device according to the position of the surface to be cleaned and the surface cleaning device and the inside and outside information.

[0019] In a possible implementation, different signal lights are respectively provided on the top and bottom of the surface cleaning device, and determining the inside and outside information of the surface cleaning device according to the image of the surface to be cleaned and the surface cleaning device includes:

[0020] determining signal light information of the surface cleaning device according to the image of the surface to be cleaned and the surface cleaning device;

[0021] According to the signal light information of the surface cleaning device, the inside and outside information of the surface cleaning device is determined.

[0022] In a possible implementation, the signal lights on the top and bottom of the surface cleaning device have different colors, different flashing frequencies, and / or different arrangement positions.

[0023] In a possible implementation, the method further includes:

[0024] determining whether the surface cleaning device deviates from the cleaning path based on images of the surface to be cleaned and the surface cleaning device collected in real time;

[0025] If the surface cleaning device deviates from the cleaning path, an adjustment instruction is sent to the surface cleaning device, wherein the adjustment instruction is used to instruct the surface cleaning device to adjust its posture and position so that the surface cleaning device returns to the cleaning path.

[0026] In a second aspect, an embodiment of the present application provides a control method for a surface cleaning device, which is applied to a surface cleaning device, wherein the surface cleaning device is communicatively connected to a control device, and the method comprises:

[0027] Receiving a control instruction sent by the control device;

[0028] A cleaning operation is performed on the surface to be cleaned according to the control instruction and the cleaning path.

[0029] In a possible implementation, the method further includes:

[0030] receiving an adjustment instruction sent by the control device;

[0031] The posture and position are adjusted according to the adjustment instruction so that the surface cleaning device returns to the cleaning path.

[0032] In a third aspect, an embodiment of the present application provides a control device, including:

[0033] Image acquisition module;

[0034] processor;

[0035] Memory;

[0036] and a computer program, wherein the computer program is stored in the memory, and the computer program includes instructions, which, when executed by the processor, enable the control device to execute the method described in any one of the first aspects.

[0037] In a fourth aspect, an embodiment of the present application provides a surface cleaning device, comprising:

[0038] processor;

[0039] Memory;

[0040] and a computer program, wherein the computer program is stored in the memory, the computer program comprising instructions, which, when executed by the processor, cause the surface cleaning device to perform the method according to any one of the second aspects.

[0041] In the embodiment of the present application, the surface cleaning device is combined with the control device, and the positions of the surface to be cleaned and the surface cleaning device are determined by the image collected by the control device, and then the cleaning path of the surface cleaning device is planned. It can be understood that this method is not affected by the shape of the surface to be cleaned or the obstacles in the surface to be cleaned. When the shape of the surface to be cleaned is irregular or there are obstacles on the surface to be cleaned, the method can still achieve accurate cleaning path planning, thereby improving the cleaning efficiency of the surface cleaning device. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0043] Figure 1 A schematic diagram of the structure of a surface cleaning device provided in an embodiment of the present application;

[0044] Figure 2 A schematic structural diagram of another surface cleaning device provided in an embodiment of the present application;

[0045] Figure 3 Provided for the embodiments of this application Figure 2 A schematic diagram of the walking of the surface cleaning device shown;

[0046] Figure 4 A schematic diagram of an application scenario provided for an embodiment of the present application;

[0047] Figure 5 A schematic flow chart of a control method for a surface cleaning device provided in an embodiment of the present application;

[0048] Figure 6 A schematic diagram of another application scenario provided for an embodiment of the present application;

[0049] Figure 7 A schematic diagram of another application scenario provided for an embodiment of the present application;

[0050] Figure 8 A schematic diagram of another application scenario provided for an embodiment of the present application;

[0051] Fig. 9 A schematic diagram of another application scenario provided for an embodiment of the present application;

[0052] Fig.10 A schematic diagram of another application scenario provided for an embodiment of the present application;

[0053] Fig.11 A schematic flow chart of another control method for a surface cleaning device provided in an embodiment of the present application;

[0054] Fig.12 A schematic flow chart of another control method for a surface cleaning device provided in an embodiment of the present application;

[0055] Fig.13 A schematic diagram of the structure of a control device provided in an embodiment of the present application;

[0056] Fig.14 A schematic structural diagram of a surface cleaning device provided in an embodiment of the present application.

[0057] The symbols in the figure are represented as follows: 100 - surface cleaning device, 110 - adsorption unit, 111 - air outlet of adsorption unit, 120 - walking unit, 130 - first cleaning unit, 140 - second cleaning unit, 150 - connecting rod arm, 151 - first pivot, 152 - second pivot, 160 - signal light, 200 - control device. DETAILED DESCRIPTION

[0058] In order to better understand the technical solution of the present application, the embodiments of the present application are described in detail below with reference to the accompanying drawings.

[0059] It should be clear that the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.

[0060] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the present application. The singular forms "a", "said" and "the" used in the embodiments of the present application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings.

[0061] It should be understood that the term "and / or" used in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.

[0062] The surface cleaning device involved in the embodiments of the present application may be a self-moving surface cleaning device such as a window cleaning robot, a sweeping robot, a mopping robot, or a sweeping and mopping robot.

[0063] The surface to be cleaned involved in the embodiments of the present application may be a non-horizontal surface, such as a framed window, a frameless window or a wall, etc.; or a horizontal surface, such as the ground or a tabletop, etc. When the surface to be cleaned is a non-horizontal surface, an adsorption unit is also provided on the surface cleaning device, and the surface cleaning device can be adsorbed on the surface to be cleaned by the adsorption unit. When the surface to be cleaned is a horizontal surface, the surface cleaning device may or may not be provided with an adsorption unit. Among them, when the surface cleaning device is provided with an adsorption unit, the pressure between the surface cleaning device and the surface to be cleaned can be increased by the adsorption unit, so as to increase the friction between the surface cleaning device and the surface to be cleaned and improve the cleaning effect.

[0064] The embodiment of the present application does not limit the product form of the surface cleaning device. For ease of understanding, the working principle of the surface cleaning device is briefly introduced below in combination with two different product forms.

[0065] Surface cleaning device 1:

[0066] See also Figure 1 , is a schematic diagram of the structure of a surface cleaning device provided in an embodiment of the present application. Figure 1As shown, the surface cleaning device 100 includes a main body, and a suction unit 110 is provided at the bottom of the main body, and the suction unit 110 can suction the surface cleaning device 100 to the surface to be cleaned. Specifically, the suction unit 110 can be a cavity provided at the bottom of the main body, and the cavity is used to define a closed space with the surface to be cleaned (for example, glass), and when negative pressure is generated in the closed space, the surface cleaning device 100 is suctioned to the surface to be cleaned.

[0067] A walking unit 120 is also provided at the bottom of the main body, and the walking unit 120 is used to drive the surface cleaning device 100 to walk on the surface to be cleaned. Specifically, the walking unit 120 can be a wheeled walking unit or a crawler walking unit. It can be understood that a driving unit that cooperates with the walking unit 120 should also be provided on the main body, and the driving unit can drive the walking unit 120 to work, so as to drive the surface cleaning device 100 to walk on the surface to be cleaned.

[0068] In addition, a cleaning unit (not shown) is also provided at the bottom of the main body. When the surface cleaning device 100 moves on the surface to be cleaned, the surface to be cleaned can be cleaned by the cleaning unit. Specifically, the cleaning unit can be a roller brush or a wiping unit, and the wiping unit can be a sponge, cloth or paper.

[0069] It should be pointed out that Figure 1 This is only an exemplary description of the surface cleaning device 100 in the embodiment of the present application, and should not be used as a limitation on the protection scope of the present application. For example, in a possible implementation, a vacuum unit is also provided on the main body. The vacuum unit is used to generate negative pressure in the above-mentioned adsorption unit 110. Specifically, the vacuum unit can be a pump or a fan.

[0070] Surface cleaning device 2:

[0071] See also Figure 2 , is a schematic diagram of the structure of another surface cleaning device provided in an embodiment of the present application. Figure 2As shown, the surface cleaning device 100 includes a first cleaning unit 130, which is used to define a first space between the first cleaning unit 130 and the surface to be cleaned. When negative pressure is generated in the first space, the first cleaning unit 130 can be adsorbed on the surface to be cleaned; a second cleaning unit 140, which is used to define a second space between the second cleaning unit 140 and the surface to be cleaned. When negative pressure is generated in the second space, the second cleaning unit 140 can be adsorbed on the surface to be cleaned; a connecting rod arm 150, the first end of the connecting rod arm 150 is connected to the first cleaning unit 130 through a first pivot 151, and the second end of the connecting rod arm 150 is connected to the second cleaning unit 140 through a second pivot 152; a driving unit, which is used to drive the first cleaning unit 130 to rotate relative to the second cleaning unit 140, and drive the second cleaning unit 140 to rotate relative to the first cleaning unit 130, thereby driving the self-moving cleaning device to walk on the surface to be cleaned. It can be understood that in this embodiment, the first cleaning unit 130 and the second cleaning unit 140 are simultaneously equivalent to the walking unit of the surface cleaning device 100.

[0072] See also Figure 3 , provided in the embodiments of this application Figure 2 The schematic diagram of the surface cleaning device is shown in FIG. Figure 3 As shown, in the initial position, the first cleaning unit 130 is located at position P1, and the second cleaning unit 140 is located at position P2; the second cleaning unit 140 is controlled to be fixed, and the first cleaning unit 130 rotates relative to the second cleaning unit 140 along direction T1, and the first cleaning unit 130 reaches position P3; the first cleaning unit 130 is controlled to be fixed, and the second cleaning unit 140 rotates relative to the first cleaning unit 130 along direction T2, and the second cleaning unit 140 reaches position P4. By analogy, the first cleaning unit 130 and the second cleaning unit 140 move alternately, so that the surface cleaning device 100 moves on the surface to be cleaned.

[0073] It should be pointed out that Figure 2 This is merely an exemplary description of the surface cleaning device 100 in the embodiment of the present application and should not be regarded as limiting the protection scope of the present application.

[0074] For example, in a possible implementation, the surface cleaning device 100 further includes a vacuum unit for connecting the first space and the second space so that negative pressure is generated in the first space and the second space, and then the first cleaning unit 130 and the second cleaning unit 140 are adsorbed on the surface to be cleaned.

[0075] In a possible implementation, the vacuum unit includes a first vacuum device and a second vacuum device. The first vacuum device is used to connect the first space so that the first space generates negative pressure, and the second vacuum device is used to connect the second space so that the second space generates negative pressure. In other words, two independent vacuum devices are respectively provided, and the negative pressure states of the first space and the second space are respectively controlled by the two independent vacuum devices.

[0076] In a possible implementation, the vacuum unit includes a first air valve, a second air valve, and a third vacuum device. Specifically, the first air valve is connected to the first space, and the second air valve is connected to the second space; when the first air valve is opened, the third vacuum device is connected to the first space, so that negative pressure is generated in the first space; when the second air valve is opened, the third vacuum device is connected to the second space, so that negative pressure is generated in the second space. That is to say, in this implementation, the negative pressure state of the first space and the second space is controlled by one vacuum device.

[0077] The vacuum device involved in the embodiment of the present application may be a vacuum pump or a fan, etc., and the embodiment of the present application does not impose any specific limitation on this.

[0078] In a possible implementation, the driving unit includes a first driving device and a second driving device. The first driving device is used to drive the first cleaning unit 130 to rotate relative to the connecting arm 150; the second driving device is used to drive the second cleaning unit 140 to rotate relative to the connecting arm 150. In other words, two independent driving devices are provided to independently drive the first cleaning unit 130 and the second cleaning unit 140 to rotate.

[0079] In a possible implementation, the driving unit includes: a first transmission device, a second transmission device, and a third driving device. Specifically, the first transmission device is connected to the first cleaning unit 130, and is used to drive the first transmission device through the third driving device to drive the first cleaning unit 130 to rotate relative to the connecting arm 150; and the second transmission device is connected to the second cleaning unit 140, and is used to drive the second transmission device through the third driving device to drive the second cleaning unit 140 to rotate relative to the connecting arm 150. That is, in this implementation, the first cleaning unit 130 and the second cleaning unit 140 can be driven to rotate respectively by one driving device.

[0080] The driving device involved in the embodiment of the present application may be a motor or other power device, and the embodiment of the present application does not impose any specific limitation on this.

[0081] In one possible implementation, the first cleaning unit 130 and the second cleaning unit 140 can be sponges, cloths, or papers. When the first cleaning unit 130 and the second cleaning unit 140 move relative to the surface to be cleaned, they can wipe the surface to be cleaned to remove dust, stains, etc. from the surface to be cleaned.

[0082] In one possible implementation, Figure 1 and Figure 2 The surface cleaning device 100 shown may be a double-sided cleaning device, which includes a main machine and a slave machine, and the main machine and the slave machine are adsorbed on both sides of the surface to be cleaned by magnetic force. It is understood that when the surface cleaning device 100 is a double-sided cleaning device, an adsorption unit or a space for generating negative pressure may not be provided at the bottom of the surface cleaning device 100.

[0083] It should be pointed out that Figure 1 and Figure 2 This is merely an exemplary description of the surface cleaning device 100 in the embodiment of the present application. The surface cleaning device 100 may also exist in other product forms, and this embodiment of the present application does not impose any specific limitation on this.

[0084] In order to improve the cleaning efficiency, the surface cleaning device usually needs to determine the position of the surface to be cleaned and the surface cleaning device before performing the cleaning operation, and then plan the cleaning path of the surface cleaning device according to the position of the surface to be cleaned and the surface cleaning device, and then perform the cleaning operation according to the planned cleaning path. For example, the surface cleaning device walks along the edge of the surface to be cleaned to achieve edge cleaning; or the surface cleaning device walks in a "bow" shape on the surface to be cleaned to achieve traversal cleaning of the surface to be cleaned.

[0085] In the prior art, the edge of the surface to be cleaned is usually detected by a sensor provided on the surface cleaning device, thereby determining the position of the surface to be cleaned. For example, when the surface to be cleaned is rectangular, the surface cleaning device can be first controlled to move in the up and down directions to determine the upper and lower boundaries of the surface to be cleaned; then, the surface cleaning device can be controlled to move in the left and right directions to determine the left and right boundaries of the surface to be cleaned. However, when the shape of the surface to be cleaned is irregular or there are obstacles on the surface to be cleaned, it is difficult to detect the edge of the surface to be cleaned by the sensor provided on the surface cleaning device. For example, the surface cleaning device may not be able to accurately detect the outline of the edge of the surface to be cleaned, or the surface cleaning device may be stuck by obstacles on the surface to be cleaned, etc.

[0086] In view of the above problems, an embodiment of the present application provides a control method for a surface cleaning device, which combines the surface cleaning device with a control device, determines the positions of the surface to be cleaned and the surface cleaning device through images collected by the control device, and then plans the cleaning path of the surface cleaning device. It can be understood that this method is not affected by the shape of the surface to be cleaned or obstacles in the surface to be cleaned. When the shape of the surface to be cleaned is irregular or there are obstacles on the surface to be cleaned, this method can still achieve accurate cleaning path planning, thereby improving the cleaning efficiency of the surface cleaning device. This is described in detail below with reference to the accompanying drawings.

[0087] See also Figure 4 , is a schematic diagram of an application scenario provided by an embodiment of the present application. Figure 4 Surface cleaning device 100 and control device 200 are shown in the figure, and surface cleaning device 100 and control device 200 are interconnected through wired or wireless communication network to transmit information. The communication network can be a local area network or a wide area network transferred by a relay device. When the communication network is a local area network, illustratively, the communication network can be a short-range communication network such as a wifi hotspot network, a wifi P2P network, a Bluetooth network, a zigbee network or a near field communication (near field communication, NFC) network. When the communication network is a wide area network, illustratively, the communication network can be a third-generation mobile communication technology (3rd-generation wireless telephone technology, 3G) network, a fourth-generation mobile communication technology (the 4th generation mobile communication technology, 4G) network, a fifth-generation mobile communication technology (5th-generation mobile communication technology, 5G) network, a future-evolved public land mobile network (public land mobile network, PLMN) or the Internet, etc.

[0088] The surface cleaning device 100 includes Figure 1 In addition to the surface cleaning device shown, it is also possible to Figure 2 The surface cleaning device shown, or other types of surface cleaning devices, etc., are not specifically limited in the embodiments of the present application.

[0089] In addition to a mobile phone, the control device 200 can also be a tablet computer, a personal computer (PC), a personal digital assistant (PDA), a smart watch, a netbook, a wearable electronic device, an augmented reality (AR) device, a virtual reality (VR) device, a vehicle-mounted device, a robot, smart glasses, etc., and the embodiments of the present application do not impose specific restrictions on this.

[0090] In the embodiment of the present application, the user can trigger the control device 200 and input some instructions in the control device 200 to make the control device 200 perform corresponding operations, or make the control device 200 and the surface cleaning device 100 perform corresponding information exchange. The embodiment of the present application does not limit the triggering form of the instruction, for example, it can be triggered by a touch screen, a mouse, a keyboard, a button, etc.

[0091] See also Figure 5 , is a flow chart of a control method for a surface cleaning device provided in an embodiment of the present application. The method can be applied to Figure 4 The application scenarios shown are as follows: Figure 5 As shown, it mainly includes the following steps.

[0092] Step S501: controlling the device to collect images of the surface to be cleaned and the surface cleaning device, wherein the surface cleaning device is located within the surface to be cleaned.

[0093] In actual application, the user places the surface cleaning device on the surface to be cleaned, places the control device on one side of the surface to be cleaned, adjusts the shooting angle of the image acquisition module (e.g., camera) in the control device, and acquires images of the surface to be cleaned and the surface cleaning device through the control device. The images of the surface to be cleaned and the surface cleaning device are images including the surface to be cleaned and the surface cleaning device.

[0094] Step S502: the control device determines the positions of the surface to be cleaned and the surface cleaning device according to the images of the surface to be cleaned and the surface cleaning device.

[0095] After completing the image acquisition of the surface to be cleaned and the surface cleaning device, the control device can analyze the images of the surface to be cleaned and the surface cleaning device to determine the positions of the surface to be cleaned and the surface cleaning device. Since the position of the entire surface to be cleaned can be determined by the edge of the surface to be cleaned, the position of the surface to be cleaned is the position of the edge of the surface to be cleaned, such as the frame of a window; the position of the surface cleaning device is the position of the surface cleaning device in the surface to be cleaned.

[0096] In practical applications, when the control device is facing the surface to be cleaned, the captured images of the surface to be cleaned and the surface cleaning device will not be deformed into a trapezoidal shape, such as Figure 6 However, when the control device is not facing the surface to be cleaned (deviating from the center of the surface to be cleaned), the collected images of the surface to be cleaned and the surface cleaning device will be deformed into a trapezoidal shape, such as Figure 7 shown.

[0097] It is understandable that when the images of the surface to be cleaned and the surface cleaning device undergo trapezoidal deformation, it will affect the control device's analysis and judgment of the positions of the surface to be cleaned and the surface cleaning device. Therefore, it is necessary to perform trapezoidal correction on the images of the surface to be cleaned and the surface cleaning device. Specifically, firstly, the collected images of the surface to be cleaned and the surface cleaning device are analyzed to determine whether the images of the surface to be cleaned and the surface cleaning device undergo trapezoidal deformation; if the images of the surface to be cleaned and the surface cleaning device undergo trapezoidal deformation, trapezoidal correction is performed on the images of the surface to be cleaned and the surface cleaning device to obtain corrected images of the surface to be cleaned and the surface cleaning device, such as Figure 8 As shown; according to the correction image of the surface to be cleaned and the surface cleaning device, the position of the surface to be cleaned and the surface cleaning device is determined.

[0098] In a possible implementation, in order to perform keystone correction on the image of the surface to be cleaned and the surface cleaning device, a plurality of signal lights are provided on the surface cleaning device. Figure 6-Figure 8 In the implementation shown, five signal lights 160 are arranged on the surface cleaning device, specifically, one signal light 160 is arranged at each of the four corner regions of the surface cleaning device, and one signal light 160 is arranged at the middle region of the surface cleaning device. After obtaining the images of the surface to be cleaned and the surface cleaning device, the control device can extract the position information of the signal lights 160 from the images of the surface to be cleaned and the surface cleaning device; then, the extracted position information of the signal lights 160 is compared with the position information of the signal lights 160 of the surface cleaning device, thereby determining the inclination angle of the surface cleaning device; finally, the images of the surface to be cleaned and the surface cleaning device are subjected to keystone correction according to the inclination angle of the surface cleaning device.

[0099] It should be noted that the "position information of the signal light 160 of the surface cleaning device" involved in the above embodiment may be information pre-stored in the control device. In practical applications, the position information of the signal light 160 of surface cleaning devices of different models may be different. Therefore, before comparing the extracted position information of the signal light 160 with the position information of the signal light 160 of the known surface cleaning device, the surface cleaning device may send model information to the control device, and the model information is used to characterize the model of the surface cleaning device; the control device may determine the position information of the signal light 160 of the surface cleaning device based on the model information.

[0100] Step S503: the control device plans a cleaning path of the surface cleaning device according to the position of the surface to be cleaned and the surface cleaning device.

[0101] In one possible implementation, the shapes and / or sizes of surface cleaning devices of different models may be different, and accordingly, the planned cleaning paths may be different. Therefore, when planning the cleaning path of the surface cleaning device, the model of the surface cleaning device may also be considered. Specifically, before planning the cleaning path of the surface cleaning device, the surface cleaning device may send model information to the control device, and the control device plans the cleaning path of the surface cleaning device according to the position of the surface to be cleaned and the surface cleaning device and the model information.

[0102] In a possible implementation, when the surface to be cleaned is transparent (for example, the surface to be cleaned is transparent glass), the surface cleaning device may be located on the inner side of the surface to be cleaned (the surface cleaning device and the control device are located on the same side of the surface to be cleaned), such as Fig. 9 Alternatively, the surface cleaning device may be located outside the surface to be cleaned (the surface cleaning device and the control device are located on different sides of the surface to be cleaned), such as Fig.10 As shown. It is understandable that when the surface cleaning device is located on different sides of the surface to be cleaned, the planned cleaning paths may be different. For example, when the surface cleaning device is located on the inner side of the surface to be cleaned, the surface cleaning device is controlled to move to the right, and when the surface cleaning device is located on the outer side of the surface to be cleaned, the surface cleaning device should be controlled to move to the left. In other words, when the surface cleaning device is located on different sides of the surface to be cleaned, the planned cleaning paths are mirror images.

[0103] Therefore, when planning the cleaning path of the surface cleaning device, it is also possible to consider which side of the surface to be cleaned the surface cleaning device is located on. Specifically, before planning the cleaning path of the surface cleaning device, the control device determines the inside and outside information of the surface cleaning device based on the images of the surface to be cleaned and the surface cleaning device, and the inside and outside information is used to characterize whether the surface cleaning device is located on the inside or outside of the surface to be cleaned; then, the cleaning path of the surface cleaning device is planned based on the positions of the surface to be cleaned and the surface cleaning device and the inside and outside information.

[0104] In order to facilitate the control device to identify which side of the surface to be cleaned the surface cleaning device is located on, in a possible implementation, different signal lights are respectively provided on the top and bottom of the surface cleaning device, and the control device can determine the signal light information of the surface cleaning device based on the image of the surface to be cleaned and the surface cleaning device; then, based on the signal light information of the surface cleaning device, determine the inside and outside information of the surface cleaning device. In a specific implementation, the signal lights on the top and bottom of the surface cleaning device have different colors, different flashing frequencies, and / or different arrangement positions.

[0105] In a possible implementation, when planning the cleaning path of the surface cleaning device, the position of obstacles can also be considered to avoid obstacles when planning the path. Specifically, before planning the cleaning path of the surface cleaning device, the control device determines the position of obstacles of the surface cleaning device based on the image of the surface to be cleaned and the surface cleaning device, and the obstacle position is the position of the obstacle in the surface to be cleaned; then, the cleaning path of the surface cleaning device is planned based on the position of the surface to be cleaned and the surface cleaning device and the position of the obstacle.

[0106] In a possible implementation, when planning the cleaning path of the surface cleaning device, the model of the surface cleaning device and the side of the surface to be cleaned on which the surface cleaning device is located can also be considered at the same time. Specifically, before planning the cleaning path of the surface cleaning device, the surface cleaning device sends model information to the control device, and the control device determines the inside and outside information of the surface cleaning device based on the image of the surface to be cleaned and the surface cleaning device; then, the cleaning path of the surface cleaning device is planned based on the position of the surface to be cleaned and the surface cleaning device, the model of the surface cleaning device, and the inside and outside information.

[0107] Step S504: the control device sends a control instruction to the surface cleaning device, where the control instruction is used to instruct the surface cleaning device to perform a cleaning operation on the surface to be cleaned according to the cleaning path.

[0108] Specifically, after completing the cleaning path planning, the control device sends a control instruction to the surface cleaning device to control the surface cleaning device to perform a cleaning operation on the surface to be cleaned according to the cleaning path.

[0109] Step S505: the surface cleaning device performs a cleaning operation on the surface to be cleaned according to the control instruction and the cleaning path.

[0110] Specifically, after receiving the control instruction, the surface cleaning device performs a cleaning operation on the surface to be cleaned according to the cleaning path based on the control instruction.

[0111] In the embodiment of the present application, the surface cleaning device is combined with the control device, and the positions of the surface to be cleaned and the surface cleaning device are determined by the image collected by the control device, and then the cleaning path of the surface cleaning device is planned. It can be understood that this method is not affected by the shape of the surface to be cleaned or the obstacles in the surface to be cleaned. When the shape of the surface to be cleaned is irregular or there are obstacles on the surface to be cleaned, the method can still achieve accurate cleaning path planning, thereby improving the cleaning efficiency of the surface cleaning device.

[0112] See also Fig.11 , is a flow chart of another control method of a surface cleaning device provided in an embodiment of the present application. Fig.11 As shown, this method Figure 5 Based on the illustrated embodiment, the following steps are also included.

[0113] Step S1101: determining whether the surface cleaning device deviates from the cleaning path based on the images of the surface to be cleaned and the surface cleaning device collected in real time.

[0114] In a specific implementation, when the surface cleaning device performs a cleaning operation on the surface to be cleaned according to the control instruction and the cleaning path, the surface cleaning device may deviate from the cleaning path due to slipping, route deviation, etc., resulting in poor cleaning effect.

[0115] To address this problem, the control device can capture images of the surface to be cleaned and the surface cleaning device in real time while the surface cleaning device is performing a cleaning operation, and determine whether the surface cleaning device has deviated from the cleaning path based on the real-time captured images of the surface to be cleaned and the surface cleaning device.

[0116] Step S1102: If the surface cleaning device deviates from the cleaning path, an adjustment instruction is sent to the surface cleaning device.

[0117] Specifically, if the surface cleaning device deviates from the cleaning path, an adjustment instruction is sent to the surface cleaning device, where the adjustment instruction is used to instruct the surface cleaning device to adjust its posture and position so that the surface cleaning device returns to the cleaning path.

[0118] Step S1103: adjusting the posture and position according to the adjustment instruction so that the surface cleaning device returns to the cleaning path.

[0119] Specifically, after receiving the adjustment instruction, the surface cleaning device adjusts its posture and position according to the adjustment instruction so that the surface cleaning device returns to the cleaning path, thereby ensuring that the surface cleaning device moves along the designated path.

[0120] In an embodiment of the present application, in combination with a control device, the movement of the surface cleaning device can be accurately controlled through a visual solution to achieve less missed area and a more effective cleaning path, and the posture and position of the surface cleaning device can be adjusted in real time to ensure that the surface cleaning device moves along the specified path.

[0121] In order to facilitate those skilled in the art to better understand the technical solution provided in the embodiments of the present application, a detailed description is given below in conjunction with a specific implementation method.

[0122] See also Fig.12 , is a flow chart of another control method of a surface cleaning device provided in an embodiment of the present application. Fig.12 As shown, it mainly includes the following steps.

[0123] Step S1201: placing a surface cleaning device on a surface to be cleaned;

[0124] Step S1202: placing a control device on one side of the surface to be cleaned;

[0125] Step S1203: the surface cleaning device establishes a communication connection with the control device;

[0126] Step S1204: the surface cleaning device sends model information of the surface cleaning device to the control device;

[0127] Step S1205: the control device collects images of the surface to be cleaned and the surface cleaning device, and obtains signal light information of the surface cleaning device;

[0128] Step S1206: if there is a trapezoidal deformation in the image of the surface to be cleaned and the surface cleaning device, a trapezoidal correction is performed;

[0129] Step S1207: the control device determines the position of the surface to be cleaned and the surface cleaning device according to the correction image;

[0130] Step S1208: the control device plans a cleaning path of the surface cleaning device according to the positions of the surface to be cleaned and the surface cleaning device and the model of the surface cleaning device;

[0131] Step S1209: the control device sends a control instruction to the surface cleaning device, where the control instruction is used to instruct the surface cleaning device to perform a cleaning operation on the surface to be cleaned according to the cleaning path;

[0132] Step S1210: the surface cleaning device performs a cleaning operation on the surface to be cleaned according to the control instruction and the cleaning path;

[0133] Step S1211: the control device determines whether the surface cleaning device deviates from the cleaning path according to the images of the surface to be cleaned and the surface cleaning device collected in real time;

[0134] Step S1212: If the surface cleaning device deviates from the cleaning path, the control device sends an adjustment instruction to the surface cleaning device;

[0135] Step S1213: the surface cleaning device controls the surface cleaning device to adjust its posture and position according to the adjustment instruction, so that the surface cleaning device returns to the cleaning path.

[0136] The specific contents involved in the embodiments of the present application can be found in the description of the above embodiments. For the sake of brevity, they will not be repeated here.

[0137] Corresponding to the above embodiment, the embodiment of the present application also provides a control device.

[0138] See also Fig.13 , is a schematic diagram of the structure of a control device provided in an embodiment of the present application. Fig.13 As shown, the control device 1300 may include: a processor 1301, a memory 1302 and a communication unit 1303. These components communicate through one or more buses. Those skilled in the art can understand that the control device structure shown in the figure does not constitute a limitation on the embodiments of the present application. It can be a bus structure or a star structure, and can also include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0139] The communication unit 1303 is used to establish a communication channel so that the control device can communicate with other devices.

[0140] The processor 1301 is the control center of the control device. It uses various interfaces and lines to connect various parts of the entire control device. It runs or executes software programs and / or modules stored in the memory 1302, and calls data stored in the memory to perform various functions of the control device and / or process data. The processor can be composed of an integrated circuit (IC), for example, it can be composed of a single packaged IC, or it can be composed of multiple packaged ICs with the same or different functions. For example, the processor 1301 can include only a central processing unit (CPU). In the embodiment of the present application, the CPU can be a single computing core or multiple computing cores.

[0141] Memory 1302 is used to store execution instructions of processor 1301. Memory 1302 can be implemented by any type of volatile or non-volatile storage device or a combination of them, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk or optical disk.

[0142] When the execution instructions in the memory 1302 are executed by the processor 1301 , the control device 1300 is enabled to execute part or all of the steps in the above method embodiment.

[0143] Corresponding to the above embodiment, the embodiment of the present application also provides a surface cleaning device.

[0144] See also Fig.14 , is a schematic diagram of the structure of a surface cleaning device provided in an embodiment of the present application. Fig.14 As shown, the surface cleaning device 1400 may include: a processor 1401, a memory 1402 and a communication unit 1403. These components communicate via one or more buses. Those skilled in the art will appreciate that the surface cleaning device structure shown in the figure does not limit the embodiments of the present application. It may be a bus structure or a star structure, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0145] The communication unit 1403 is used to establish a communication channel so that the surface cleaning device can communicate with other devices.

[0146] The processor 1401 is the control center of the surface cleaning device. It uses various interfaces and lines to connect the various parts of the entire surface cleaning device. It runs or executes the software programs and / or modules stored in the memory 1402, and calls the data stored in the memory to perform various functions and / or process data of the surface cleaning device. The processor can be composed of an integrated circuit (IC), for example, it can be composed of a single packaged IC, or it can be composed of a plurality of packaged ICs with the same or different functions. For example, the processor 1401 can include only a central processing unit (CPU). In the embodiment of the present application, the CPU can be a single computing core or multiple computing cores.

[0147] Memory 1402 is used to store execution instructions of processor 1401. Memory 1402 can be implemented by any type of volatile or non-volatile storage device or a combination of them, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0148] When the execution instructions in the memory 1402 are executed by the processor 1401 , the surface cleaning device 1400 is enabled to perform part or all of the steps in the above method embodiments.

[0149] Corresponding to the above embodiment, the embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium may store a program, wherein when the program is running, the device where the computer-readable storage medium is located may be controlled to perform some or all of the steps in the above method embodiment. In a specific implementation, the computer-readable storage medium may be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM).

[0150] Corresponding to the above-mentioned embodiment, the embodiment of the present application further provides a computer program product, which includes executable instructions. When the executable instructions are executed on a computer, the computer executes some or all of the steps in the above-mentioned method embodiment.

[0151] In the embodiments of the present application, "at least one" refers to one or more, and "plurality" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent the existence of A alone, the existence of A and B at the same time, and the existence of B alone. Among them, A and B can be singular or plural. The character " / " generally indicates that the previous and subsequent associated objects are in an "or" relationship. "At least one of the following" and similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b and c can be represented by: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.

[0152] Those of ordinary skill in the art will appreciate that the various units and algorithm steps described in the embodiments disclosed herein can be implemented in a combination of electronic hardware, computer software, and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0153] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0154] In several embodiments provided in the present application, any function can be stored in a computer-readable storage medium if it is implemented in the form of a software functional unit and sold or used as an independent product. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc., and other media that can store program codes.

[0155] The above is only a specific implementation of the present application. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. The protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A control method for a surface cleaning device, characterized in that: Applied to a control device, the control device being in communication with the surface cleaning device, the method comprising: capturing an image of a surface to be cleaned and a surface cleaning device, the surface cleaning device being located within the surface to be cleaned; determining the positions of the surface to be cleaned and the surface cleaning device based on the images of the surface to be cleaned and the surface cleaning device; Planning a cleaning path of the surface cleaning device according to the position of the surface to be cleaned and the surface cleaning device; A control instruction is sent to the surface cleaning device, wherein the control instruction is used to instruct the surface cleaning device to perform a cleaning operation on the surface to be cleaned according to the cleaning path.

2. The method according to claim 1, characterized in that The step of determining the positions of the surface to be cleaned and the surface cleaning device according to the images of the surface to be cleaned and the surface cleaning device comprises: determining whether there is a trapezoidal deformation in the images of the surface to be cleaned and the surface cleaning device; If there is a trapezoidal deformation in the images of the surface to be cleaned and the surface cleaning device, performing a trapezoidal correction on the images of the surface to be cleaned and the surface cleaning device to obtain a corrected image of the surface to be cleaned and the surface cleaning device; Based on the corrected images of the surface to be cleaned and the surface cleaning device, the positions of the surface to be cleaned and the surface cleaning device are determined.

3. The method according to claim 1, characterized in that The method further includes: receiving model information sent by the surface cleaning device, the model information being used to characterize the model of the surface cleaning device; The planning of the cleaning path of the surface cleaning device according to the position of the surface to be cleaned and the surface cleaning device includes: planning the cleaning path of the surface cleaning device according to the position of the surface to be cleaned and the surface cleaning device and the model information.

4. The method according to claim 1, characterized in that: The method further includes: determining inside and outside information of the surface cleaning device according to the images of the surface to be cleaned and the surface cleaning device, wherein the inside and outside information is used to characterize whether the surface cleaning device is located on the inside or outside of the surface to be cleaned; The planning of the cleaning path of the surface cleaning device according to the position of the surface to be cleaned and the surface cleaning device includes: planning the cleaning path of the surface cleaning device according to the position of the surface to be cleaned and the surface cleaning device and the inside and outside information.

5. The method according to claim 4, characterized in that The top and bottom of the surface cleaning device are respectively provided with different signal lights, and the inner and outer side information of the surface cleaning device is determined according to the image of the surface to be cleaned and the surface cleaning device, including: determining signal light information of the surface cleaning device according to the image of the surface to be cleaned and the surface cleaning device; According to the signal light information of the surface cleaning device, the inside and outside information of the surface cleaning device is determined.

6. The method according to claim 5, characterized in that The signal lights on the top and bottom of the surface cleaning device have different colors, different flashing frequencies and / or different arrangement positions.

7. The method according to claim 1, characterized in that The method further comprises: determining whether the surface cleaning device deviates from the cleaning path based on images of the surface to be cleaned and the surface cleaning device collected in real time; If the surface cleaning device deviates from the cleaning path, an adjustment instruction is sent to the surface cleaning device, wherein the adjustment instruction is used to instruct the surface cleaning device to adjust its posture and position so that the surface cleaning device returns to the cleaning path.

8. A method for controlling a surface cleaning device, characterized in that: Applied to a surface cleaning device, the surface cleaning device is communicatively connected to a control device, and the method comprises: Receiving a control instruction sent by the control device; A cleaning operation is performed on the surface to be cleaned according to the control instruction and the cleaning path.

9. The method according to claim 8, characterized in that The method further comprises: receiving an adjustment instruction sent by the control device; The posture and position are adjusted according to the adjustment instruction so that the surface cleaning device returns to the cleaning path.

10. A control device, characterized in that: include: Image acquisition module; processor; Memory; and a computer program, wherein the computer program is stored in the memory, the computer program comprising instructions, which, when executed by the processor, cause the control device to perform the method according to any one of claims 1 to 7.

11. A surface cleaning device, characterized in that: include: processor; Memory; and a computer program, wherein the computer program is stored in the memory, the computer program comprising instructions which, when executed by the processor, cause the surface cleaning apparatus to perform the method of claim 8 or 9.