Control method and control equipment of cleaning machine, cleaning machine and computer storage medium

By setting a preset motion trajectory in the cleaning machine and adjusting the rotational state of the cleaning components, the problem of difficulty in walking when the cleaning robot encounters solid dirt is solved, achieving a smooth cleaning process and efficient cleaning results.

CN118697226APending Publication Date: 2024-09-27SHANXI JIASHIDA ROBOT TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410590776.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-13
Publication Date
2024-09-27

AI Technical Summary

Technical Problem

Cleaning robots are easily blocked when they encounter solid dirt during the window cleaning process, making their walking difficult and unsmooth, affecting cleaning efficiency and effectiveness.

Method used

By setting the preset movement trajectory of the reference area of ​​the cleaning machine, and determining the rotational state of the cleaning component according to the preset movement trajectory, the rotational state of the cleaning component is adjusted so that the reference area moves according to the preset movement trajectory to avoid in-situ rotation, slippage and walking jam. stagnation.

Benefits of technology

This enables the cleaning machine to move smoothly when encountering solid dirt, ensuring cleaning efficiency and effectiveness.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118697226A
    Figure CN118697226A
Patent Text Reader

Abstract

The invention discloses a control method of a cleaning machine, the cleaning machine comprises a machine body and two cleaning assemblies, the two cleaning assemblies are used for driving the machine body to walk, the machine body is provided with a reference area, and the reference area is located between the two cleaning assemblies; the control method comprises the steps of setting a preset motion track of a reference area; determining the rotating state of at least one cleaning assembly according to the preset movement track of the reference area; and when the reference area does not reach the preset position of the preset movement track within the preset time, the cleaning machine is controlled to adjust the rotating state of at least one cleaning assembly, so that the reference area moves according to the preset movement track. According to the control method of the cleaning machine, the motion state of the reference area of the machine body is monitored and adjusted in real time, so that the reference area strictly moves according to the preset motion trail, the situations of in-situ rotation slipping, walking clamping stagnation and the like of the cleaning machine when the cleaning assembly of the cleaning machine encounters firm dirt and is blocked are avoided, smooth walking is achieved, and the service life of the cleaning machine is prolonged. Therefore, the cleaning efficiency and the cleaning effect are ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of cleaning robots, and in particular to a control method and control device of a cleaning machine, a cleaning machine and a computer storage medium. Background Art

[0002] In recent years, the rapid popularization of window cleaning robots has greatly facilitated consumers' daily home life.

[0003] At present, cleaning robots are easily obstructed when encountering firm dirt during the window cleaning process, and may slip on the spot or get stuck, causing difficulty and discomfort in walking, affecting cleaning efficiency and results. Summary of the invention

[0004] The main purpose of the present invention is to provide a control method for a cleaning machine, which aims to solve the technical problem that the existing cleaning robot encounters strong dirt and obstructions during window cleaning, resulting in difficulty and unsmooth walking.

[0005] To achieve the above-mentioned object, the present invention proposes a control method for a cleaning machine, which is applied to a cleaning machine, wherein the cleaning machine comprises a machine body and two cleaning components arranged on the machine body, wherein the two cleaning components are used to drive the machine body to walk on a surface to be cleaned, and the machine body has a reference area, wherein the reference area is located between the two cleaning components; the control method comprises:

[0006] Setting a preset motion trajectory of the reference area;

[0007] Determining a rotation state of at least one of the cleaning components according to a preset motion trajectory of the reference area;

[0008] When the reference area does not reach the preset position of the preset motion trajectory within the preset time, the cleaning machine is controlled to adjust the rotation state of at least one of the cleaning components so that the reference area moves according to the preset motion trajectory.

[0009] In some embodiments, the reference area does not reach the preset position of the preset motion trajectory within the preset time, including:

[0010] The reference area deviates from the preset motion trajectory; or,

[0011] The reference area is on the preset motion trajectory, and the reference area does not reach a preset position within a preset time.

[0012] In some embodiments, the preset motion trajectory includes at least one of a first type of preset motion trajectory and a second type of preset motion trajectory;

[0013] The step of determining the rotation state of at least one of the cleaning components according to the preset motion trajectory of the reference area comprises:

[0014] The rotation state of at least one of the cleaning components is determined according to the first type of preset motion trajectory, or the second type of preset motion trajectory, or a combination of the first type of preset motion trajectory and the second type of preset motion trajectory.

[0015] In some embodiments, when the reference area does not reach the preset position of the preset motion trajectory within the preset time, the step of controlling the cleaning machine to adjust the rotation state of at least one of the cleaning components so that the reference area moves according to the preset motion trajectory includes:

[0016] In the process of controlling the cleaning machine to adjust the rotation of at least one of the cleaning components, the reference area of ​​the cleaning machine is controlled to move along any one of the first and second preset motion trajectories, or to move along a combination of the first and second preset motion trajectories, so that the reference area moves according to the preset motion trajectory.

[0017] In some embodiments, according to the first type of preset motion trajectory, the step of determining the rotation state of at least one cleaning component includes:

[0018] According to the first type of preset motion trajectory, the rotation states of the two cleaning components are determined to control the machine body to move in a straight line or a quasi-straight line on the surface to be cleaned.

[0019] In some embodiments, according to the second type of preset motion trajectory, the step of determining the rotation state of at least one cleaning component comprises:

[0020] According to the second type of preset motion trajectory, the rotation state of the two cleaning components is determined, and the machine body is controlled to rotate with one of the cleaning components as the rotation axis, so that the rotation axis of the machine body switches back and forth between the two cleaning components to control the machine body to move in a twisting manner on the surface to be cleaned.

[0021] In some embodiments, the step of switching the rotation axis of the machine body back and forth between the two cleaning components comprises:

[0022] During the process of the rotation axis of the machine body switching back and forth between the two cleaning components, the height difference between the reference area and the rotation center point of the cleaning component is controlled to change back and forth between a first difference and a second difference.

[0023] In some embodiments, when the reference area does not reach the preset position of the preset motion trajectory within the preset time, the step of controlling the cleaning machine to adjust the rotation state of at least one of the cleaning components so that the reference area moves according to the preset motion trajectory includes:

[0024] Analyzing the deviation reason why the reference area fails to reach the preset position of the preset motion trajectory within the preset time;

[0025] When it is confirmed that the cause of the deviation is an abnormality of a cleaning component, the rotation state of at least one of the cleaning components is adjusted according to the abnormal cleaning component, so that the reference area moves according to the preset motion trajectory.

[0026] In some embodiments, the cleaning component anomaly includes:

[0027] When the reference area deviates from the preset motion trajectory, at least one of the two cleaning components is abnormal;

[0028] The reference area is on the preset motion track. When the reference area does not reach the preset position within the preset time, both of the cleaning components are abnormal.

[0029] In some embodiments, the cleaning component comprises:

[0030] A walking disc is rotatably connected to the machine body, and the walking disc rotates to drive the machine body to move;

[0031] The cleaning disc is arranged on the peripheral side of the walking disc, and the cleaning disc rotates to clean the surface to be cleaned.

[0032] In some embodiments, the setting of the preset motion trajectory of the reference area includes: when setting the preset motion trajectory of the reference area, setting the rotation axis position of the body;

[0033] Determining the rotation state of at least one of the cleaning components according to the preset motion trajectory of the reference area comprises: determining the rotation state of at least one of the cleaning components according to the preset motion trajectory of the reference area and according to at least one of the rotation axis positions of the body;

[0034] When the reference area does not reach the preset position of the preset motion trajectory within the preset time, controlling the cleaning machine to adjust the rotation state of at least one of the cleaning components so that the reference area moves according to the preset motion trajectory includes:

[0035] When the reference area does not reach the preset position of the preset motion trajectory within the preset time, the cleaning machine is controlled to adjust the rotation axis position of the machine body, and / or adjust the rotation state of at least one of the cleaning components, so that the reference area moves according to the preset motion trajectory.

[0036] The present invention also discloses a control device for a cleaning machine, wherein the control device comprises a memory, a processor and a computer program stored in the memory, and when the computer program is executed by the processor, the steps of the control method for the cleaning machine as described above are implemented.

[0037] The present invention also proposes a cleaning machine, which includes a machine body and two cleaning components arranged on the machine body, the two cleaning components are used to drive the machine body to move on the surface to be cleaned, the machine body has a reference area, and the reference area is located between the two cleaning components; the cleaning machine also includes a control device of the cleaning machine as described above, and the control device of the cleaning machine is electrically connected to the two cleaning components.

[0038] The present invention further provides a computer storage medium, wherein a computer program is stored on the computer storage medium, and when the computer program is executed by a processor, the steps of the control method of the cleaning machine as described above are implemented.

[0039] The cleaning machine of the present invention drives the machine body to walk on the surface to be cleaned through two cleaning components. The machine body has a reference area located between the two cleaning components. In the process of controlling the cleaning machine, a preset motion trajectory of the reference area can be set, and then the rotation state of at least one cleaning component is determined according to the preset motion trajectory of the reference area. During the normal operation of the cleaning machine, the reference area moves along the preset motion trajectory. When the cleaning component encounters an abnormal situation due to being blocked by solid dirt, the reference area will not be able to reach the preset position of the preset motion trajectory at a preset time. Therefore, when the reference area does not reach the preset position of the preset motion trajectory at a preset time, the cleaning machine is controlled to adjust the rotation state of at least one cleaning component so that the reference area moves according to the preset motion trajectory. The control method of the cleaning machine of the present invention monitors and adjusts the motion state of the reference area of ​​the machine body in real time so that the reference area moves strictly according to the preset motion trajectory, avoiding the cleaning machine from rotating in place, slipping, walking stuck, etc. when its cleaning component encounters solid dirt, so as to achieve smooth walking, thereby ensuring cleaning efficiency and cleaning effect. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 It is a structural schematic diagram of a cleaning machine in one embodiment of the present invention;

[0041] Figure 2It is a schematic diagram of the adjustment process when the cleaning machine moves horizontally and linearly and the cleaning component is abnormal in one embodiment of the present invention;

[0042] Figure 3 It is a schematic diagram of the vertical twisting movement of a cleaning machine in the prior art;

[0043] Figure 4 is a flow chart of a control method of a cleaning machine in one embodiment of the present invention;

[0044] Figure 5 A working condition diagram of a cleaning machine in an embodiment of the present invention in which a reference area does not reach a preset position of a preset motion trajectory within a preset time;

[0045] Figure 6 is a flow chart of a control method of a cleaning machine in another embodiment of the present invention;

[0046] Figure 7 is a flow chart of a control method of a cleaning machine in another embodiment of the present invention;

[0047] Figure 8 A flowchart of a control method for a cleaning machine in another embodiment of the present invention;

[0048] Fig. 9 for Figure 8 A schematic diagram of the movement of the cleaning machine in the embodiment;

[0049] Fig.10 A flowchart of a control method for a cleaning machine in another embodiment of the present invention;

[0050] Fig.11 A flowchart of a control method for a cleaning machine in another embodiment of the present invention;

[0051] Fig.12 A flowchart of a control method for a cleaning machine in another embodiment of the present invention;

[0052] Fig.13 This is a working condition diagram of a cleaning machine in one embodiment of the present invention when it is traveling horizontally and linearly and the cleaning component is abnormal;

[0053] Fig.14 This is a working condition diagram of a cleaning machine in an embodiment of the present invention when the cleaning machine moves vertically in a twisting manner and the cleaning component is abnormal. DETAILED DESCRIPTION

[0054] The scheme in the embodiment of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiment of the present invention. Obviously, the described embodiment is only a part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0055] It should be noted that all directional indications in the embodiments of the present invention (such as up, down, left, right, front, back, etc.) are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.

[0056] It should also be noted that when an element is referred to as being "fixed on" or "disposed on" another element, it may be directly on the other element or there may be an intermediate element at the same time. When an element is referred to as being "connected to" another element, it may be directly connected to the other element or there may be an intermediate element at the same time.

[0057] In addition, the descriptions of "first", "second", etc. in the present invention are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by the present invention.

[0058] The present invention provides a control method for a cleaning machine, which is applied to the cleaning machine, referring to Figure 1 The cleaning machine includes a machine body 100 and two cleaning components 200 arranged on the machine body 100. The two cleaning components 200 are used to drive the machine body 100 to move on the surface to be cleaned.

[0059] The cleaning machine involved in this embodiment is used to clean the surface to be cleaned. The cleaning machine can be a cleaning machine that needs to be adsorbed on the surface to be cleaned, such as a wall cleaning machine, a ceiling cleaning machine, a window cleaning machine, etc., or a cleaning machine that does not need to be adsorbed on the surface to be cleaned, such as a floor cleaning machine, etc. Correspondingly, the surface to be cleaned can be a door, a tile wall, a ceiling, the surface of a window, the ground, etc. In the cleaning machine, the shape of the body 100 can be a disc, an elliptical disc, etc., the body 100 has a shell, and an installation cavity is formed in the shell. Other structural settings can be made in the installation cavity, such as a power structure, a control structure, etc., which are not limited. Two cleaning components 200 are used to drive the body 100 to walk on the surface to be cleaned to achieve the overall movement of the cleaning machine. Among them, the cleaning component 200 can be a turntable cleaning component 200, and the cleaning component 200 rotates on the surface to be cleaned so that the body 100 moves relative to the surface to be cleaned. Specifically, the two cleaning components 200 are installed on the side of the body 100 facing the surface to be cleaned, contacting the surface to be cleaned, and driving the body 100 to move by the friction force with the surface to be cleaned when rotating. At the same time, the cleaning component 200 rotates on the surface to be cleaned, and also has a cleaning effect on the surface to be cleaned. As a preferred design, each cleaning component 200 and the contact part of the surface to be cleaned are sleeved or bonded with a material with a large friction coefficient, which can be silicone, rubber, etc. Among them, the cleaning machine also includes a driving component, which is connected to the two cleaning components 200 and is used to output a driving torque to the two cleaning components 200 so that the two cleaning components 200 rotate. The driving component may include a driving motor, and a transmission component is connected between the output shaft of the driving motor and the cleaning component 200 to transmit driving power to the cleaning component 200 through the transmission component. The structural form of the transmission component can be various, such as a planetary gear transmission component, including but not limited to this. Optionally, the driving component may have two power sources, and the driving motors in the driving component are provided with two, each driving motor as a power source, corresponding to a cleaning component 200 Provide driving power. That is, the two cleaning components 200 are driven by independent power sources respectively, so that the rotation speed, direction and other rotation states of the two cleaning components 200 can be controlled separately.

[0060] Among them, optionally, a confined space is formed between the body 100, the cleaning assembly 200 and the surface to be cleaned, and the cleaning machine also includes a negative pressure device, which is connected to the body 100 so that negative pressure is generated in the confined space. The negative pressure device is located inside the body 100 or outside the body 100, and the negative pressure device may include a fan, an air pump or a vacuum pump, etc. When the negative pressure device is located outside the body 100, the negative pressure device and the body 100 can be connected by a pipeline. When the negative pressure device is working, the confined space formed between the body 100, the cleaning module 300 and the surface to be cleaned generates negative pressure. Under the negative pressure state, the cleaning machine is tightly adsorbed on the surface to be cleaned, which can generate the friction required for movement, thereby enabling the cleaning machine to achieve stable movement in the cleaning scene of a vertical or inclined surface to be cleaned.

[0061] The machine body 100 has a reference area, and the reference area is located between the two cleaning components 200. The reference area may include a point area or a surface area, etc., which is set according to actual conditions. For example, the reference area includes a point area. Figure 2 and Figure 3 As shown, the reference area of ​​the body 100 may be a reference point A. Further, the reference point A may be the midpoint of a line connecting the rotation center points B of the two cleaning components 200. When the reference area includes a surface area, the surface area may be the center area between the rotation positions of the two cleaning components 200. This is merely exemplary and not restrictive.

[0062] Reference Figure 4 , the control method comprises the following steps:

[0063] Step S100: setting a preset motion trajectory of a reference area.

[0064] It is easy to understand that in actual applications, the cleaning machine performs cleaning tasks on the surface to be cleaned. In order to achieve comprehensive cleaning and ensure cleaning efficiency, it is necessary to pre-plan a cleaning path for the cleaning machine and make the cleaning machine walk along the cleaning path. Among them, as the cleaning machine walks, as the body 100 moves, the reference area of ​​the body 100 will also have a corresponding motion trajectory. That is, the walking path of the cleaning machine and the motion trajectory of the reference area are mutually corresponding mapping relationships. Therefore, in this step, the motion trajectory can be pre-set for the reference area of ​​the body 100, so that the reference area can be controlled to move according to the preset motion trajectory later, so that the cleaning machine walks according to a certain cleaning path. Optionally, the preset motion trajectory is stored in a database after setting. Among them, the preset motion trajectory of the reference area can be a combination of one or more, and the motion trajectory type can include a straight line motion trajectory, a broken line motion trajectory, an arc motion trajectory, a curved motion trajectory, etc., which is not limited in this embodiment.

[0065] Step S200: determining the rotation state of at least one cleaning component 200 according to a preset motion trajectory of the reference area.

[0066] In this step, the rotation state of at least one cleaning component 200 is determined according to the preset motion trajectory of the reference area, so as to subsequently control at least one cleaning component 200 to rotate according to the determined rotation state, so that the reference area moves according to the preset motion trajectory, thereby realizing accurate and regular control of the movement of the cleaning machine. Among them, the rotation state of the cleaning component 200 may include parameters such as rotation speed and rotation direction. For example, when the preset motion trajectory of the reference area is a linear motion trajectory, the linear motion trajectory of the reference area is used to determine that the rotation states of the two cleaning components 200 are the same speed and opposite direction. For another example, when the preset motion trajectory of the reference area is an arc motion trajectory, the arc motion trajectory of the reference area is used to determine that the rotation speed of one cleaning component 200 is greater than the rotation speed of another cleaning component 200, and the direction is the same. This is only exemplary and not restrictive.

[0067] Step S300: When the reference area does not reach the preset position of the preset motion trajectory at the preset time, the cleaning machine is controlled to adjust the rotation state of at least one cleaning component 200 so that the reference area moves according to the preset motion trajectory. It is easy to understand that the preset motion trajectory of the reference area is formed by combining and connecting multiple motion positions one by one. During the movement of the cleaning machine, according to the preset motion trajectory of the reference area, corresponding to each time node, the reference area will move to the motion position corresponding to the time node on the preset motion trajectory, that is, the reference area should reach the preset position of the preset motion trajectory at the preset time. Specifically, a sensor can be set on the machine body 100 to detect and obtain the position, posture, etc. of the reference area to realize the position monitoring of the reference area. Optionally, the sensor can include a gyroscope sensor, etc. Optionally, when the sensor is set on the machine body 100, it is installed at a position corresponding to the reference area. Among them, at the preset time, the position information of the reference area detected by the sensor can be compared with the preset position on the preset motion path to determine whether the reference area reaches the preset position of the preset motion trajectory at the preset time. The preset position may be a preset point, a preset area, etc., and there is no limitation on this.

[0068] It is easy to understand that in actual cleaning scenarios, when the cleaning machine performs cleaning tasks on the surface to be cleaned, when the cleaning component 200 encounters an abnormality, such as an abnormality caused by obstruction caused by solid dirt, it may rotate in place and slip, walk stuck, etc., resulting in difficulty and unsmoothness in walking. Correspondingly, it will cause the reference area of ​​the body 100 to fail to reach the preset position of the preset motion trajectory within the preset time.

[0069] In this step, when the reference area does not reach the preset position of the preset motion trajectory within the preset time, the rotation state of at least one cleaning component 200 is adjusted by controlling the cleaning machine so that the reference area moves according to the preset motion trajectory. Optionally, according to the preset motion path of the reference area and the actual situation of abnormal motion of the reference area, the rotation state of at least one cleaning component 200 is adjusted in a targeted manner, which may be to adjust the rotation state of only one of the two cleaning components 200, or to adjust the rotation state of the two cleaning components 200 simultaneously or in a time-sharing manner, so that the reference area moves according to the preset motion trajectory. Among them, the rotation state of the cleaning component 200 may include the rotation speed, the rotation direction, etc. That is, the control method of the cleaning machine of the present invention monitors and adjusts the motion state of the reference area of ​​the machine body 100 in real time, so that the reference area moves strictly according to the preset motion trajectory, and avoids the cleaning machine from rotating in place, slipping, walking stuck, etc. when its cleaning component 200 encounters a solid dirt obstruction, so as to achieve smooth walking, thereby ensuring cleaning efficiency and cleaning effect.

[0070] In some embodiments, reference Figure 5 , the reference area does not reach the preset position of the preset motion trajectory within the preset time, including:

[0071] The reference area deviates from the preset motion trajectory; or,

[0072] The reference area is on a preset motion trajectory, and the reference area does not reach a preset position within a preset time.

[0073] According to the actual cleaning scenario, if the reference area does not reach the preset position of the preset motion trajectory within the preset time, there are mainly two situations:

[0074] The first is that the reference area deviates from the preset motion trajectory. That is, the reference area is not on the preset motion trajectory, and its position deviates from the preset motion trajectory. Specifically, when the distance between the position of the reference area and the preset motion trajectory exceeds a preset distance threshold, it is confirmed that the reference area deviates from the preset motion trajectory. The preset distance threshold can be customized according to actual conditions, and this embodiment does not limit this. For example, the preset motion trajectory of the reference area is a straight motion trajectory. Specifically, if Figure 5 As shown, the reference area moves along a linear motion trajectory. At a preset time, the reference area should reach a preset position X on the linear motion trajectory, but the reference area actually reaches a position Y that is not on the linear motion trajectory, and the distance between position Y and the linear motion trajectory exceeds a preset distance threshold, and the reference area deviates from the preset motion trajectory. Further, when the reference area deviates from the preset motion trajectory, the cleaning machine is controlled to adjust the rotation state of at least one cleaning component 200 so that the reference area returns to the preset motion trajectory and re-plans the motion to move along the preset motion trajectory.

[0075] The second type is that the reference area is on the preset motion trajectory but has not reached the preset position. Taking the preset motion trajectory of the reference area as a linear motion trajectory as an example, specifically, Figure 5 As shown, the reference area moves along a linear motion trajectory. At a preset time, the reference area should reach a preset position X on the linear motion trajectory, but the reference area actually reaches a position Z on the linear motion trajectory. Position Z does not coincide with position X. The reference area is on the preset motion trajectory, but the reference area does not reach the preset position at the preset time. Further, when the reference area is on the preset motion trajectory, but the reference area does not reach the preset position at the preset time, the rotation state of at least one cleaning component 200 is adjusted by controlling the cleaning machine, and after the motion adjustment is performed, the cleaning machine moves along the preset motion trajectory.

[0076] In some embodiments, the preset motion trajectory includes at least one of a first type of preset motion trajectory and a second type of preset motion trajectory:

[0077] Reference Figure 6 , step S200 includes:

[0078] Step S210: determining the rotation state of at least one cleaning component 200 according to the first type of preset motion trajectory, or the second type of preset motion trajectory, or a combination of the first type of preset motion trajectory and the second type of preset motion trajectory.

[0079] In this embodiment, the preset motion trajectory may include only the first type of preset motion trajectory, or only the second type of preset motion trajectory, or may include both the first type of preset motion trajectory and the second type of preset motion trajectory. Further, when the preset motion trajectory includes both the first type of preset motion trajectory and the second type of preset motion trajectory, optionally, one of the first type of preset motion trajectory and the second type of preset motion trajectory are set, and one of the first type of preset motion trajectory and the second type of preset motion trajectory is in front and the other is in the back. As other optional schemes, multiple first type of preset motion trajectories and / or second type of preset motion trajectories may be set, and different types of preset motion trajectories are alternately set. As an example, the first type of preset motion trajectory is a straight line motion trajectory, and the second type of preset motion trajectory is an S-shaped curve motion trajectory.

[0080] It is easy to understand that when the preset motion trajectory only includes the first type of preset motion trajectory, the rotation state of at least one cleaning component 200 is determined according to the first type of preset motion trajectory, so that at least one cleaning component 200 is subsequently controlled to rotate according to the determined rotation state, so that the reference area moves according to the first type of preset motion trajectory; when the preset motion trajectory only includes the second type of preset motion trajectory, the rotation state of at least one cleaning component 200 is determined according to the second type of preset motion trajectory, so that at least one cleaning component 200 is subsequently controlled to rotate according to the determined rotation state, so that the reference area moves according to the second type of preset motion trajectory; when the preset motion trajectory includes the first type of preset motion trajectory and the second type of preset motion trajectory, the rotation state of at least one cleaning component 200 is determined, so that at least one cleaning component 200 is subsequently controlled to rotate according to the determined rotation state, so that the reference area moves according to the combination of the first type of preset motion trajectory and the second type of motion trajectory. When the reference area moves according to the combination of the first type of preset motion trajectory and the second type of motion trajectory, it can be executed according to the preset order.

[0081] In some embodiments, reference Figure 7 , step S300 includes:

[0082] Step S310: In the process of controlling the cleaning machine to adjust the rotation of at least one cleaning component 200, the reference area of ​​the cleaning machine is controlled to move according to any one of the first type of preset motion trajectory and the second type of preset motion trajectory, or to move according to a combination of the first type of preset motion trajectory and the second type of preset motion trajectory, so that the reference area moves according to the preset motion trajectory.

[0083] Specifically, when the preset motion trajectory of the reference area includes only the first type of preset motion trajectory, in the process of controlling the cleaning machine to adjust the rotation of at least one cleaning component 200, the reference area of ​​the cleaning machine is controlled to move according to the first type of preset motion trajectory, so that the reference area moves according to the preset motion trajectory. When the preset motion trajectory of the reference area includes only the second type of preset motion trajectory, in the process of controlling the cleaning machine to adjust the rotation of at least one cleaning component 200, the reference area of ​​the cleaning machine is controlled to move according to the second type of preset motion trajectory, so that the reference area moves according to the preset motion trajectory. When the preset motion trajectory of the reference area includes the first type of motion trajectory and the second type of motion trajectory, the reference area of ​​the cleaning machine is controlled to move according to the combination of the first type of motion trajectory and the second type of motion trajectory, so that the reference area moves according to the preset motion trajectory. Wherein, when the reference area moves according to the combination of the first type of motion trajectory and the second type of motion trajectory, the first type of preset motion trajectory and the second type of preset motion trajectory can be switched between, such as freely switching, or switched according to a program, such as switching after a preset time period.

[0084] In some embodiments, reference Figure 8 , step S210 includes:

[0085] Step S211: According to the first type of preset motion trajectory, the rotation states of the two cleaning components 200 are determined to control the machine body 100 to move in a straight line or a quasi-straight line on the surface to be cleaned.

[0086] In this step, the first type of preset motion trajectory can be a linear motion trajectory. When the preset motion trajectory of the set reference area is the first type of preset motion trajectory, the rotation state of the two cleaning components 200 is determined according to the first type of preset motion trajectory, and the reference area moves according to the first type of preset motion trajectory which is a linear motion trajectory. Correspondingly, the body 100 moves in a linear manner or a quasi-linear manner on the surface to be cleaned.

[0087] Taking the cleaning machine moving horizontally on the glass (from left to right or from right to left) as an example, the first type of preset motion trajectory of the reference area is set, and the rotation state of the two cleaning components 200 is determined according to the first type of preset motion trajectory, specifically, the rotation state of the two cleaning components 200 is the same speed and opposite direction, and then the machine body 100 is controlled to move in a straight line or quasi-straight line on the surface to be cleaned. The so-called quasi-straight line movement means that the machine body 100 can twist at a small angle during the movement, such as twisting within 5°, but the movement path of the machine body 100 is basically similar to a straight line. For details, see Fig. 9 shown.

[0088] In some embodiments, reference Figure 3 and Fig.10 , step S210 includes:

[0089] Step S212: According to the second type of preset motion trajectory, the rotation state of the two cleaning components 200 is determined, and the body 100 is controlled to rotate with one of the cleaning components 200 as the rotation axis, so that the rotation axis of the body 100 switches back and forth between the two cleaning components 200 to control the body 100 to move in a twisting manner on the surface to be cleaned.

[0090] In this step, the second type of preset motion trajectory can be an S-shaped curve motion trajectory. When the preset motion trajectory of the set reference area is the second type of preset motion trajectory, the rotation state of the two cleaning components 200 is determined according to the second type of preset motion trajectory, and the body 100 is controlled to rotate with one of the cleaning components 200 as the rotation axis, so that the rotation axis of the body 100 switches back and forth between the two cleaning components 200, and the reference area moves according to the second type of preset motion trajectory which is the S-shaped curve motion trajectory. Correspondingly, the body 100 moves in a twisting manner on the surface to be cleaned.

[0091] The rotation axis of the machine body 100 is the position of the rotation axis around which the machine body 100 rotates during the rotation process. When the machine body 100 rotates with one of the cleaning components 200 as the rotation axis, it is equivalent to that the rotation axis of the machine body 100 is located at the position of the cleaning component 200, and the machine body 100 rotates around the cleaning component 200. Among them, by controlling the rotation state of the two cleaning components 200, the machine body 100 rotates with one of the cleaning components 200 as the rotation axis, and the rotation axis of the machine body 100 switches back and forth between the two cleaning components 200, for example, Figure 3 As shown in the figure, the two cleaning components 200 are respectively the first cleaning component 210 and the second cleaning component 220. The rotation speed of the second cleaning component 220 is controlled to be greater than the rotation speed of the first cleaning component 210 (for example, the second cleaning component 220 is controlled to accelerate and the first cleaning component 210 is controlled to decelerate), so that the rotation axis position of the machine body 100 is switched to the first cleaning component 210. The machine body 100 rotates along the third direction with the first cleaning component 210 as the rotation axis position. At this time, the machine body 100 rotates around the first cleaning component 210. Then the first cleaning component 210 is controlled to accelerate and the first cleaning component 210 is controlled to decelerate. The rotation speed of the cleaning component 210 is greater than the rotation speed of the second cleaning component 220 (for example, the first cleaning component 210 is controlled to accelerate and the second cleaning component 220 is controlled to decelerate), so that the rotation axis of the machine body 100 is switched to the second cleaning component 220, and the machine body 100 rotates along the fourth direction with the second cleaning component 220 as the rotation axis. At this time, the machine body 100 rotates around the second cleaning component 220, and this cycle is repeated so that the reference area moves according to the S-shaped curve motion trajectory, and the machine body 100 is controlled to twist on the surface to be cleaned. Among them, the third direction is opposite to the fourth direction, for example, the third direction is clockwise and the fourth direction is counterclockwise.

[0092] Taking the cleaning machine moving vertically on the glass (from bottom to top or from top to bottom) as an example, the reference area is set as the second type of preset motion trajectory. According to the second type of preset motion trajectory, the rotation state of the two cleaning components 200 is determined, specifically, the two cleaning components 200 rotate at a differential speed, one fast and one slow, and the rotation speeds of the two cleaning components 200 are switched back and forth between fast and slow, so that the body 100 rotates with one of the cleaning components 200 as the rotation axis and the rotation axis of the body 100 is switched back and forth between the two cleaning components 200, thereby controlling the body 100 to move in a twisting manner on the surface to be cleaned.

[0093] In some embodiments, reference Figure 3 and Fig.11 , step S212 includes:

[0094] Step S2121 : When the rotation axis of the machine body 100 switches back and forth between the two cleaning components 200 , the height difference between the reference area and the rotation center point B of the cleaning component 200 is controlled to change back and forth between a first difference value and a second difference value.

[0095] When the cleaning component 200 is in operation, it rotates around its rotation center point B. Taking the cleaning component 200 as a disc-type cleaning component 200 as an example, the circular point of the cleaning component 200 corresponds to its rotation center point B. When the machine body 100 rotates with one of the cleaning components 200 as the rotation axis, the height difference between the reference area of ​​the machine body 100 and the rotation center point B of the cleaning component 200 will change. Specifically, by controlling the height difference between the reference area of ​​the machine body 100 and the rotation center point B of the cleaning component 200 to change back and forth between the first difference and the second difference, the reference area can be made to move strictly according to the second type of preset motion trajectory. When the height difference between the reference area of ​​the machine body 100 and the rotation center point B of the cleaning component 200 reaches the first difference or the second difference, it can be used as a switching node for switching the rotation axis position of the machine body 100, that is, when the height difference between the reference area of ​​the machine body 100 and the rotation center point B of the cleaning component 200 changes to the first difference or the second difference, the rotation axis position of the machine body 100 is switched accordingly, such as switching the machine body 100 from one cleaning component 200 as the rotation axis position to another cleaning component 200 as the rotation axis position. Among them, the first difference and the second difference can be set according to actual conditions, and can be positive or negative.

[0096] For example, taking the vertical movement of the cleaning machine as an example, the first difference is -d, and the second difference is d. The two cleaning components 200 are respectively the first cleaning component 210 and the second cleaning component 220, and the first cleaning component 210 and the second cleaning component 220 are on the left and the right. During the upward movement of the machine body 100, when the machine body 100 rotates with the first cleaning component 210 as the rotation axis, the height difference between the control reference area and the rotation center point B of the first cleaning component 210 changes from -d→zero→d, and at the same time, the height difference between the reference area and the rotation center point B of the second cleaning component 220 changes from d→zero→-d. When the height difference between the reference area and the rotation center point B of the first cleaning component 210 reaches d, the rotation axis of the machine body 100 is switched to the second cleaning component 220, so that the machine body 100 rotates with the second cleaning component 220 as the rotation axis. During this rotation process, the height difference between the reference area and the rotation center point B of the second cleaning component 220 is controlled to change from -d→zero→d. At the same time, the height difference between the reference area and the rotation center point B of the first cleaning component 210 changes from d→zero→-d. This cycle is repeated to control the height difference between the reference area and the rotation center point B of the cleaning component 200 to change back and forth between -d and d.

[0097] In some embodiments, reference Fig.12 , step S300 includes:

[0098] Step S320: analyzing the deviation reason why the reference area fails to reach the preset position of the preset motion trajectory within the preset time;

[0099] Step S330: When it is confirmed that the cause of the deviation is an abnormality of the cleaning component 200, the rotation state of at least one cleaning component 200 is adjusted according to the abnormal cleaning component 200 so that the reference area moves according to a preset motion trajectory.

[0100] In this step, the deviation reason of the reference area not reaching the preset position of the preset motion trajectory within the preset time is analyzed, and the corresponding adjustment strategy is executed according to the deviation reason, so that the reference area moves according to the preset motion trajectory. The deviation reason includes the abnormality of the cleaning component 200. When the deviation reason of the reference area not reaching the preset position of the preset motion trajectory within the preset time is the abnormality of the cleaning component 200, the rotation state of at least one cleaning component 200 is adjusted according to the abnormal cleaning component 200, and the rotation state of at least one cleaning component 200 is adjusted in time so that the reference area moves according to the preset motion trajectory, thereby ensuring the normal movement of the machine body 100. For example, the cleaning component 200 encounters a firm dirt or other obstacle on the surface to be cleaned and causes an abnormality. Therefore, the rotation state of the abnormal cleaning component 200 can be adjusted, specifically by increasing the driving torque output to the abnormal cleaning component 200, so that the friction between the abnormal cleaning component 200 and the surface to be cleaned is increased, and the obstacle is crossed or removed, so that the reference area moves according to the preset motion trajectory.

[0101] Cleaning component 200 anomalies include:

[0102] When the reference area deviates from the preset motion trajectory, at least one of the two cleaning components 200 is abnormal;

[0103] When the reference area is on the preset motion track and the reference area does not reach the preset position within the preset time, both cleaning components 200 are abnormal.

[0104] When the cleaning component 200 is abnormal, there may be a situation where one cleaning component 200 is abnormal, or there may be a situation where both cleaning components 200 are abnormal. In practical applications, the abnormality of the cleaning component 200 can be determined based on the specific situation that the reference area does not reach the preset position of the preset motion trajectory within the preset time.

[0105] Specifically, if the reference area deviates from the preset motion trajectory, at least one of the two cleaning components 200 is abnormal.

[0106] Taking the preset motion trajectory including the first type of preset motion trajectory as an example, the first type of preset motion trajectory is a linear motion trajectory, and determining the rotation state of the two cleaning components 200 is that the two cleaning components 200 have the same rotation speed and opposite rotation. The two cleaning components 200 are respectively the first cleaning component 210 and the second cleaning component 220. When the reference area deviates from the linear motion trajectory, at least one of the first cleaning component 210 and the second cleaning component 220 is abnormal. Further, the current position information of the reference area obtained is compared with the linear motion trajectory, and the cleaning component 200 corresponding to the deviation direction of the reference area is abnormal. For example, if the reference area deviates from the linear motion trajectory toward the side where the first cleaning component 210 is located, at least the first cleaning component 210 is abnormal; further, the rotation state information of the first cleaning component 210 and the second cleaning component 220 can be detected. If the rotation state of the second cleaning component 220 has not changed, it can be confirmed that only the first cleaning component 210 is abnormal. If the rotation state of the second cleaning component 220 has changed, it can be confirmed that both the first cleaning component 210 and the second cleaning component 220 are abnormal, and the degree of abnormality of the first cleaning component 210 is higher than that of the second cleaning component 220. For example, in an actual cleaning scene, the first cleaning component 210 and the second cleaning component 220 are both blocked by obstacles, and the resistance of the first cleaning component 210 is greater than the resistance of the second cleaning component 220. Optionally, the rotation state information of the first cleaning component 210 and the second cleaning component 220 can be detected using an encoder or the like.

[0107] Further, when only one cleaning component 200 is abnormal (such as Figure 2 When the first cleaning component 210 shown in the figure is abnormal), the rotation state of the two cleaning components 200 can be adjusted so that the machine body 100 first rotates along the first direction with the cleaning component 200 that has not caused the abnormality as the rotation axis, and when the deviation distance between the reference area and the preset motion trajectory is reduced to the preset distance threshold, it is switched to the abnormal cleaning component 200 as the rotation axis and rotates along the second direction, so that the reference area returns to the preset motion path and then moves according to the preset motion path. Before the adjustment operation is implemented, when one cleaning component 200 is abnormal, because the other cleaning component 200 is still rotating, it will automatically cause the machine body 100 to rotate along the second direction with the cleaning component 200 that has caused the abnormality as the rotation axis. Fig.13As shown, when the first cleaning component 210 is abnormal, the rotation of the second cleaning component 220 causes the machine body 100 to rotate along the second direction with the first cleaning component 210 as the rotation axis. When both cleaning components 200 (the first cleaning component 210 and the second cleaning component 220) are abnormal, the rotation state of the two cleaning components 200 can be adjusted so that the machine body 100 first rotates along the first direction with the cleaning component 200 with a low degree of abnormality as the rotation axis, and when the deviation spacing between the reference area and the preset motion trajectory is reduced to the preset spacing threshold, it is switched to the cleaning component 200 with a high degree of abnormality as the rotation axis and rotates along the second direction, so that the reference area returns to the preset motion path and then moves according to the preset motion path. Among them, before the adjustment operation is implemented, when both cleaning components 200 are abnormal, because the abnormality of the two cleaning components 200 is different, it will automatically cause the machine body 100 to rotate along the second direction with the cleaning component 200 with a high degree of abnormality as the rotation axis. The first direction is opposite to the second direction, for example, the first direction is clockwise and the second direction is counterclockwise; or the first direction is counterclockwise and the second direction is clockwise. The preset spacing threshold can be customized according to actual conditions, and this embodiment does not limit this.

[0108] Taking the preset motion trajectory including the second type of preset motion trajectory as an example, the second type of preset motion trajectory is an S-curve motion trajectory, and determining the rotation state of the two cleaning components 200 as the two cleaning components 200 are differentially rotated, one fast and one slow, and the rotation speed of the two cleaning components 200 switches back and forth between fast and slow. The two cleaning components 200 are the first cleaning component 210 and the second cleaning component 220, respectively. When the reference area deviates from the S-curve motion trajectory, one of the first cleaning component 210 and the second cleaning component 220 is abnormal. Further, the current position information of the obtained reference area is compared with the S-curve motion trajectory. If the reference area moves beyond the S-curve motion trajectory along the motion direction, the cleaning component 200 corresponding to the rotation axis position of the machine body 100 is abnormal; if the reference area does not move along the motion direction and deviates from the S-curve motion trajectory, the cleaning component 200 not corresponding to the rotation axis position of the machine body 100 is abnormal. For example, after the machine body 100 rotates with the first cleaning component 210 as the rotation axis, but does not switch to the second cleaning component 220 as the rotation axis, the reference area exceeds the S-shaped curve motion trajectory along the motion direction, and the first cleaning component 210 is abnormal. Fig.14As shown, it is manifested that the height difference between the reference area and the rotation center point B of the first cleaning component 210 exceeds the first difference or the second difference, for example, the height difference between the reference area and the rotation center point B of the first cleaning component 210 reaches d+n, which exceeds the difference d; during the rotation of the body 100 with the first cleaning component 210 as the rotation axis, it suddenly switches to rotate with the second cleaning component 220 as the rotation axis, the reference area does not move along the movement direction and deviates from the S-shaped curve movement trajectory, and the second cleaning component 220 is abnormal.

[0109] When one cleaning component 200 (the first cleaning component 210 or the second cleaning component 220) is abnormal, the rotation state of the abnormal cleaning component 200 can be adjusted so that the machine body 100 switches to rotate with the cleaning component 200 that has not been abnormal as the rotation axis. Therefore, the cleaning component 200 that has been abnormal can be determined based on the motion trajectory type of the preset motion trajectory and the deviation direction of the reference area compared to the preset motion trajectory.

[0110] If the reference area is on the preset motion track and the reference area does not reach the preset position within the preset time, then both cleaning components 200 are abnormal.

[0111] Taking the preset motion trajectory including the first type of preset motion trajectory as an example, the first type of preset motion trajectory is a linear motion trajectory, and determining the rotation state of the two cleaning components 200 is that the two cleaning components 200 have the same rotation speed and opposite directions. The two cleaning components 200 are respectively the first cleaning component 210 and the second cleaning component 220. When the reference area is on the preset motion trajectory and the reference area does not reach the preset position within the preset time, the first cleaning component 210 and the second cleaning component 220 are both abnormal. Specifically, the first cleaning component 210 and the second cleaning component 220 are both abnormal. For example, in an actual cleaning scene, the first cleaning component 210 and the second cleaning component 220 are both blocked by obstacles, and the resistance they encounter is the same, causing the reference area to stop or move slowly on the preset motion trajectory. Therefore, at the preset time, the reference area does not reach the preset position on the preset motion trajectory. When both cleaning components 200 are abnormal, the rotation states of the two cleaning components 200 can be adjusted, such as by simultaneously increasing the driving torque output to the two cleaning components 200, so that the reference area moves according to the preset motion trajectory, that is, according to the preset motion trajectory, the reference area moves to the motion position corresponding to the time node on the preset motion trajectory at each time node.

[0112] Taking the preset motion trajectory including the second type of preset motion trajectory as an example, the second type of preset motion trajectory is an S-shaped curve trajectory, and determining the rotation state of the two cleaning components 200 as the two cleaning components 200, one fast and one slow differential rotation, and the rotation speed of the two cleaning components 200 switches back and forth between fast and slow. The two cleaning components 200 are respectively the first cleaning component 210 and the second cleaning component 220. When the reference area is on the preset motion trajectory and the reference area does not reach the preset position within the preset time, the first cleaning component 210 and the second cleaning component 220 are both abnormal. Specifically, the first cleaning component 210 and the second cleaning component 220 are both abnormal. For example, in an actual cleaning scene, when the machine body 100 rotates with the first cleaning component 210 or the second cleaning component 220 as the rotation axis, the first cleaning component 210 and the second cleaning component 220 are both blocked by obstacles, and the resistance they encounter is the same, causing the reference area to stop or move slowly on the preset motion trajectory, so at the preset time, the reference area does not reach the preset position on the preset motion trajectory. When both cleaning components 200 are abnormal, the rotation states of the two cleaning components 200 can be adjusted, such as by simultaneously increasing the driving torque output to the two cleaning components 200, so that the reference area moves according to the preset motion trajectory, that is, according to the preset motion trajectory, the reference area moves to the motion position corresponding to the time node on the preset motion trajectory at each time node.

[0113] In some embodiments, the cleaning assembly 200 includes:

[0114] A travel plate is rotatably connected to the machine body 100, and the travel plate rotates to drive the machine body 100 to move;

[0115] The cleaning disc is arranged on the peripheral side of the walking disc, and the cleaning disc rotates to clean the surface to be cleaned.

[0116] When the cleaning machine is placed on the surface to be cleaned, the walking disc and the cleaning disc of the cleaning component 200 are in contact with the surface to be cleaned, and the cleaning disc rotates relative to the surface to be cleaned to clean the surface to be cleaned, and the walking disc rotates on the surface to be cleaned, and drives the machine body 100 to move through the friction between the walking disc and the surface to be cleaned. The walking discs of the two cleaning components 200 can rotate at the same time, and the central axes of the walking discs of the two cleaning components 200 are inclined relative to the central axis of the machine body 100, and the rotation directions of the walking discs of the two cleaning components 200 are opposite, so that the directions of the friction forces on the walking discs of the two cleaning components 200 are consistent. The cleaning machine moves under the action of the friction forces in the same direction, so that the walking discs of the two cleaning components 200 move side by side, driving the machine body 100 to move in an approximately straight line motion trajectory; or the walking disc of one cleaning component 200 can be stationary, while the walking disc of the other cleaning component 200 moves. The disk rotates to drive the body 100 to rotate and reverse; it can also be that the walking disks of the two cleaning components 200 rotate alternately, driving the body 100 to move in a twisting form. For example, the walking disk of one cleaning component 200 is the first walking disk, and the walking disk of the other cleaning component 200 is the second walking disk. The first walking disk rotates and the second walking disk does not move. At this time, the first walking disk is twisted at a certain angle relative to the second walking disk, and then the first walking disk does not move, and the second walking disk rotates, so that the second walking disk is twisted at a certain angle relative to the first walking disk, and the cycle works like this, thereby realizing the twisting walking of the cleaning robot.

[0117] In some embodiments, setting a preset motion trajectory of the reference area includes: when setting the preset motion trajectory of the reference area, setting the rotation axis position of the body 100;

[0118] Determining the rotation state of at least one cleaning component 200 according to a preset motion trajectory of the reference area includes: determining the rotation state of at least one cleaning component 200 according to the preset motion trajectory of the reference area and according to at least one of the rotation axis positions of the body 100;

[0119] When the reference area does not reach the preset position of the preset motion trajectory within the preset time, controlling the cleaning machine to adjust the rotation state of at least one cleaning component 200 so that the reference area moves according to the preset motion trajectory includes:

[0120] When the reference area does not reach the preset position of the preset motion trajectory within the preset time, the cleaning machine is controlled to adjust the rotation axis position of the body 100 and / or adjust the rotation state of at least one cleaning component 200 so that the reference area moves according to the preset motion trajectory.

[0121] Specifically, when controlling the cleaning machine to move in a first type of preset motion trajectory, such as controlling the cleaning machine to move in a straight line or a quasi-straight line, the body 100 of the cleaning machine can be controlled not to rotate, and the rotation axis position of the body 100 is not started to be adjusted. The rotation state of the two cleaning components 200 is controlled only according to the first type of preset motion trajectory, so that the cleaning machine moves in a straight line or a quasi-straight line; when controlling the cleaning machine to move in a second type of preset motion trajectory, such as controlling the cleaning machine to move in a twisting manner, not only the rotation axis position of the body 100 needs to be adjusted, such as when the body 100 of the cleaning machine reaches a preset angle, or when the body 100 runs in a rotation axis position for a preset time, the rotation axis position of the body 100 is switched, and the rotation state of the two cleaning components 200 is adjusted, such as one cleaning component 200 can be set not to rotate and the other to rotate, or one cleaning component 200 can be set to rotate at a slower speed and the other cleaning component 200 can be set to rotate at a faster speed, so that the reference area of ​​the cleaning machine moves in the second type of preset motion trajectory.

[0122] The present invention also discloses a control device for a cleaning machine, wherein the control device comprises a memory, a processor and a computer program stored in the memory, and when the computer program is executed by the processor, the steps of the control method for the cleaning machine as described above are implemented.

[0123] The present invention also proposes a cleaning machine, which includes a machine body 100 and two cleaning components 200 arranged on the machine body 100, the two cleaning components 200 are used to drive the machine body 100 to move on the surface to be cleaned, the machine body 100 has a reference area, and the reference area is located between the two cleaning components 200; the cleaning machine also includes a control device of the cleaning machine as described above, and the control device of the cleaning machine is electrically connected to the two cleaning components 200.

[0124] The present invention further provides a computer storage medium, wherein a computer program is stored on the computer storage medium, and when the computer program is executed by a processor, the steps of the control method of the cleaning machine as described above are implemented.

[0125] The control device for a cleaning machine, the cleaning machine, and the computer storage medium proposed in the embodiments of the present invention can implement the control method for the cleaning machine described above, and therefore have all the beneficial technical effects of the control method for the cleaning machine described above.

[0126] In the several embodiments provided by the present invention, it should be understood that the disclosed methods and devices can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules is only a logical function division, and there may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.

[0127] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0128] In addition, each functional module in each embodiment of the present invention may be integrated into one processing module, or each module may exist physically separately, or two or more modules may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of software functional modules.

[0129] If the integrated module is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer system (which can be a personal computer, a server, or a network system, etc.) to perform all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0130] The above description is only a partial or preferred embodiment of the present invention. Neither the text nor the drawings can limit the scope of protection of the present invention. All equivalent structural changes made by using the contents of the present invention specification and drawings under the overall concept of the present invention, or direct / indirect application in other related technical fields are included in the scope of protection of the present invention.

Claims

1. A control method for a cleaning machine, applied to a cleaning machine, characterized in that: The cleaning machine comprises a machine body and two cleaning components arranged on the machine body, the two cleaning components are used to drive the machine body to move on the surface to be cleaned, the machine body has a reference area, and the reference area is located between the two cleaning components; The control method comprises: Setting a preset motion trajectory of the reference area; Determining a rotation state of at least one of the cleaning components according to a preset motion trajectory of the reference area; When the reference area does not reach the preset position of the preset motion trajectory within the preset time, the cleaning machine is controlled to adjust the rotation state of at least one of the cleaning components so that the reference area moves according to the preset motion trajectory.

2. The control method of the cleaning machine according to claim 1, characterized in that: The reference area does not reach the preset position of the preset motion trajectory within the preset time, including: The reference area deviates from the preset motion trajectory; or, The reference area is on the preset motion trajectory, and the reference area does not reach a preset position within a preset time.

3. The control method of the cleaning machine according to claim 1, characterized in that: The preset motion trajectory includes at least one of a first type of preset motion trajectory and a second type of preset motion trajectory; The step of determining the rotation state of at least one of the cleaning components according to the preset motion trajectory of the reference area comprises: The rotation state of at least one of the cleaning components is determined according to the first type of preset motion trajectory, or the second type of preset motion trajectory, or a combination of the first type of preset motion trajectory and the second type of preset motion trajectory.

4. The control method of the cleaning machine according to claim 3, characterized in that: When the reference area does not reach the preset position of the preset motion trajectory within the preset time, the step of controlling the cleaning machine to adjust the rotation state of at least one of the cleaning components so that the reference area moves according to the preset motion trajectory includes: In the process of controlling the cleaning machine to adjust the rotation of at least one of the cleaning components, the reference area of ​​the cleaning machine is controlled to move according to any one of the first type of preset motion trajectory and the second type of preset motion trajectory, or to move according to a combination of the first type of preset motion trajectory and the second type of preset motion trajectory, so that the reference area moves according to the preset motion trajectory.

5. The control method of the cleaning machine according to claim 3, characterized in that: According to the first type of preset motion trajectory, the step of determining the rotation state of at least one cleaning component comprises: According to the first type of preset motion trajectory, the rotation states of the two cleaning components are determined to control the machine body to move in a straight line or a quasi-straight line on the surface to be cleaned.

6. The control method of the cleaning machine according to claim 3, characterized in that: According to the second type of preset motion trajectory, the step of determining the rotation state of at least one cleaning component comprises: According to the second type of preset motion trajectory, the rotation state of the two cleaning components is determined, and the machine body is controlled to rotate with one of the cleaning components as the rotation axis, so that the rotation axis of the machine body switches back and forth between the two cleaning components to control the machine body to move in a twisting manner on the surface to be cleaned.

7. The control method of the cleaning machine according to claim 6, characterized in that: The step of switching the rotation axis of the machine body back and forth between the two cleaning components comprises: During the process of the rotation axis of the machine body switching back and forth between the two cleaning components, the height difference between the reference area and the rotation center point of the cleaning component is controlled to change back and forth between a first difference and a second difference.

8. The control method of the cleaning machine according to claim 2, characterized in that: When the reference area does not reach the preset position of the preset motion trajectory within the preset time, the step of controlling the cleaning machine to adjust the rotation state of at least one of the cleaning components so that the reference area moves according to the preset motion trajectory includes: Analyzing the deviation reason why the reference area fails to reach the preset position of the preset motion trajectory within the preset time; When it is confirmed that the cause of the deviation is an abnormality of a cleaning component, the rotation state of at least one of the cleaning components is adjusted according to the abnormal cleaning component, so that the reference area moves according to the preset motion trajectory.

9. The control method of the cleaning machine according to claim 8, characterized in that: The cleaning component abnormalities include: When the reference area deviates from the preset motion trajectory, at least one of the two cleaning components is abnormal; The reference area is on the preset motion track. When the reference area does not reach the preset position within the preset time, both of the cleaning components are abnormal.

10. The control method of a cleaning machine according to any one of claims 1 to 9, characterized in that: The cleaning component comprises: A walking disc is rotatably connected to the machine body, and the walking disc rotates to drive the machine body to move; The cleaning disc is arranged on the peripheral side of the walking disc, and the cleaning disc rotates to clean the surface to be cleaned.

11. The control method of a cleaning machine according to claim 1, characterized in that: The setting of the preset motion trajectory of the reference area includes: when setting the preset motion trajectory of the reference area, setting the rotation axis position of the body; Determining the rotation state of at least one of the cleaning components according to the preset motion trajectory of the reference area comprises: determining the rotation state of at least one of the cleaning components according to the preset motion trajectory of the reference area and according to at least one of the rotation axis positions of the body; When the reference area does not reach the preset position of the preset motion trajectory within the preset time, controlling the cleaning machine to adjust the rotation state of at least one of the cleaning components so that the reference area moves according to the preset motion trajectory includes: When the reference area does not reach the preset position of the preset motion trajectory within the preset time, the cleaning machine is controlled to adjust the rotation axis position of the machine body, and / or adjust the rotation state of at least one of the cleaning components, so that the reference area moves according to the preset motion trajectory.

12. A control device for a cleaning machine, characterized in that: The control device comprises a memory, a processor and a computer program stored in the memory, and when the computer program is executed by the processor, the steps of the control method of the cleaning machine according to any one of claims 1 to 11 are implemented.

13. A cleaning machine, characterized in that: The cleaning machine comprises a body and two cleaning components arranged on the body, wherein the two cleaning components are used to drive the body to move on the surface to be cleaned, and the body has a reference area, which is located between the two cleaning components; the cleaning machine also comprises a control device for the cleaning machine as described in claim 12, and the control device of the cleaning machine is electrically connected to the two cleaning components.

14. A computer storage medium, characterized in that: The computer storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the control method of the cleaning machine according to any one of claims 1 to 11 are implemented.

Citation Information

Cited By

  • Dirt cleaning method, cleaning robot and readable storage medium

    CN120000106A