Cleaning equipment control method and device, cleaning equipment and storage medium
By obtaining the operating current of the cleaning equipment's roller brush to determine the motion trend and controlling the assist components to provide appropriate assistance, the problem of laborious operation of the cleaning equipment is solved, resulting in a more stable and accurate user operating experience.
Patent Information
- Application Number
- CN202310602192.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-25
- Publication Date
- 2024-11-26
AI Technical Summary
During the cleaning process, the high friction between the roller brush and the ground makes it difficult for users to operate the cleaning equipment, and existing technologies are unable to effectively reduce the burden on users.
By acquiring the operating current of the roller brush during the cleaning process, the movement trend of the cleaning equipment can be determined, and the assist components can be controlled to provide corresponding assistance based on this trend, reducing the need for user operation.
It enables intelligent assistance for cleaning equipment, reducing the effort required for user operation, improving the stability and accuracy of the equipment, and lowering production costs.
Smart Images

Figure CN119014746A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of intelligent control technology, and in particular to a control method and device for cleaning equipment, cleaning equipment and a storage medium. Background Art
[0002] With the continuous development of intelligent control technology, a variety of intelligent electronic devices have come into people's view, greatly improving the convenience of people's lives. At present, people's demand for cleaning equipment (such as scrubbers, sweepers, etc.) is increasing day by day.
[0003] Since the cleaning components of the cleaning device need to be in full contact with the ground to achieve a good cleaning effect, the friction between the cleaning components and the ground is usually large, which makes it more difficult for users to operate the cleaning device when holding it for cleaning. Summary of the invention
[0004] The present disclosure provides a control method and device for cleaning equipment, cleaning equipment and a storage medium.
[0005] According to a first aspect of an embodiment of the present disclosure, a control method for a cleaning device is provided, which is applied to a cleaning device including a roller brush and a power-assisting component, and the method includes:
[0006] Obtaining the working current of the roller brush during the cleaning process;
[0007] Determining the movement trend of the cleaning device based on the working current of the roller brush;
[0008] Based on the movement trend of the cleaning device, the assisting component is controlled to assist the cleaning device to perform the cleaning work.
[0009] In some embodiments, obtaining the working current of the roller brush during the cleaning process includes:
[0010] Based on a predetermined sampling time, obtaining a working current of the roller brush during a cleaning process;
[0011] The determining of the movement trend of the cleaning device based on the working current of the roller brush comprises:
[0012] Determining the movement trend of the cleaning device based on changes in the working current collected at multiple predetermined sampling moments;
[0013] or,
[0014] Based on the difference between the working current at the current sampling moment and the preset working current, the movement trend of the cleaning device is determined.
[0015] In some embodiments, determining the movement trend of the cleaning device based on the change of the working current collected at multiple predetermined sampling moments includes:
[0016] If the change amplitude of the working current at a plurality of predetermined sampling moments is within a preset amplitude threshold, determining that the cleaning device moves in the original movement direction;
[0017] If the change amplitude of the working current at a plurality of predetermined sampling moments exceeds the preset amplitude threshold, it is determined that the cleaning device moves in a direction opposite to the original movement direction.
[0018] In some embodiments, if the change amplitude of the working current at a plurality of predetermined sampling moments exceeds the preset amplitude threshold, determining that the cleaning device moves in a direction opposite to the original movement direction includes:
[0019] If the change amplitude of the working current at multiple predetermined sampling moments exceeds the preset amplitude threshold, and the working current at multiple predetermined sampling moments becomes larger, it is determined that the cleaning device changes from the same direction as the predetermined movement direction of the roller brush to a direction opposite to the predetermined direction;
[0020] If the change amplitude of the working current at multiple predetermined sampling moments exceeds the preset amplitude threshold, and the working current at multiple predetermined sampling moments becomes smaller, it is determined that the cleaning device changes from a direction opposite to the predetermined movement direction to a direction consistent with the predetermined movement direction.
[0021] In some embodiments, determining the movement trend of the cleaning device based on the difference between the working current at the current sampling moment and the preset working current includes:
[0022] If the difference between the working current at the current sampling moment and the first preset current threshold value is within the first preset difference range, it is determined that the cleaning device moves in a direction consistent with the predetermined movement direction of the roller brush; wherein the first preset current threshold value is the current corresponding to the cleaning device moving in a direction consistent with the predetermined movement direction;
[0023] If the difference between the working current at the current sampling moment and the second preset current threshold is within the second preset difference range, it is determined that the cleaning device is moving in a direction opposite to the predetermined movement direction; wherein the second preset current threshold is the current corresponding to the cleaning device moving in a direction opposite to the predetermined movement direction.
[0024] In some embodiments, based on the movement trend of the cleaning device, controlling the assisting component to assist the cleaning device in performing the cleaning work includes:
[0025] If the cleaning device moves in a direction consistent with the predetermined movement direction of the roller brush, control the assisting component to assist the cleaning device to perform cleaning work with a first power;
[0026] If the cleaning device moves in a direction opposite to the predetermined movement direction of the roller brush, the assisting component is controlled to assist the cleaning device to perform cleaning work with a second power; wherein the first power is less than the second power.
[0027] In some embodiments, if the cleaning device moves in a direction consistent with the predetermined movement direction of the roller brush, controlling the assisting component to assist the cleaning device to perform the cleaning operation with a first power includes:
[0028] If the cleaning device moves in a direction consistent with the predetermined movement direction of the roller brush, the assisting component is controlled to assist the cleaning device to perform cleaning work with the first power in a direction opposite to the predetermined movement direction of the roller brush.
[0029] According to a second aspect of an embodiment of the present disclosure, a control device for a cleaning device is provided, which is applied to a cleaning device including a roller brush and a power-assisting component, and the device includes:
[0030] An acquisition module, used for acquiring the working current of the roller brush during the cleaning process;
[0031] A determination module, used for determining the movement trend of the cleaning device based on the working current of the roller brush;
[0032] The control module is used to control the assisting component to assist the cleaning device in performing cleaning work based on the movement trend of the cleaning device.
[0033] In some embodiments, the acquisition module is further used to acquire the working current of the roller brush during the cleaning process based on a predetermined sampling time;
[0034] The determination module includes a first determination module for determining the movement trend of the cleaning device based on the change of the working current collected at multiple predetermined sampling moments;
[0035] The determination module further includes a second determination module for determining the movement trend of the cleaning device based on the difference between the working current at the current sampling moment and the preset working current.
[0036] In some embodiments, the first determination module is also used to determine that the cleaning device is moving in the original direction of movement if the change amplitude of the working current at multiple predetermined sampling moments is within a preset amplitude threshold; if the change amplitude of the working current at multiple predetermined sampling moments exceeds the preset amplitude threshold, determine that the cleaning device is moving in a direction opposite to the original direction of movement.
[0037] In some embodiments, the first determination module is also used to determine that the cleaning device changes from the same direction as the predetermined movement direction of the roller brush to a direction opposite to the predetermined direction if the change amplitude of the working current at multiple predetermined sampling moments exceeds the preset amplitude threshold and the working current at multiple predetermined sampling moments becomes larger; if the change amplitude of the working current at multiple predetermined sampling moments exceeds the preset amplitude threshold and the working current at multiple predetermined sampling moments becomes smaller, determine that the cleaning device changes from the direction opposite to the predetermined movement direction to a direction consistent with the predetermined movement direction.
[0038] In some embodiments, the second determination module is also used to determine that the cleaning device moves in a direction consistent with the predetermined movement direction of the roller brush if the difference between the working current at the current sampling moment and the first preset current threshold is within a first preset difference range; wherein the first preset current threshold is the current corresponding to the cleaning device moving in a direction consistent with the predetermined movement direction; if the difference between the working current at the current sampling moment and the second preset current threshold is within a second preset difference range, determine that the cleaning device moves in a direction opposite to the predetermined movement direction; wherein the second preset current threshold is the current corresponding to the cleaning device moving in a direction opposite to the predetermined movement direction.
[0039] In some embodiments, the control module is also used to control the assisting component to assist the cleaning device to perform cleaning work with a first power if the cleaning device moves in a direction consistent with the predetermined movement direction of the roller brush; and to control the assisting component to assist the cleaning device to perform cleaning work with a second power if the cleaning device moves in a direction opposite to the predetermined movement direction of the roller brush; wherein the first power is less than the second power.
[0040] In some embodiments, the control module is also used to control the assisting component to assist the cleaning device to perform cleaning work at the first power in a direction opposite to the predetermined movement direction of the roller brush if the cleaning device moves in a direction consistent with the predetermined movement direction of the roller brush.
[0041] According to a third aspect of an embodiment of the present disclosure, there is provided a cleaning device, comprising:
[0042] processor;
[0043] a memory for storing processor-executable instructions;
[0044] Wherein, the processor is configured to execute the control method of the cleaning device as described in the first aspect above.
[0045] According to a fourth aspect of an embodiment of the present disclosure, there is provided a storage medium, including:
[0046] When the instructions in the storage medium are executed by the processor of the cleaning device, the cleaning device is enabled to execute the control method for the cleaning device as described in the first aspect above.
[0047] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:
[0048] In the embodiments of the present disclosure, the cleaning device determines the movement trend of the cleaning device by using the change of the working current of the roller brush during the cleaning process, and controls the assisting component to assist the cleaning device to perform the cleaning work based on the movement trend of the cleaning device, thereby realizing intelligent assistance of the cleaning device. On the one hand, the cleaning device directly obtains the working current of the roller brush and then determines the movement trend, which can omit various sensors in the above-mentioned related technologies and effectively save the production cost of the product; on the other hand, since the roller brush is usually made of fluff material and is not easy to slip when it comes into contact with water, and the roller brush drives the cleaning device to work by friction with the ground, that is, the roller brush works close to the ground and is not easy to be suspended, the method of determining the movement trend by the working current of the roller brush can improve the stability and accuracy of the trend identification of the cleaning device, thereby enabling the cleaning device to more stably and accurately control the assisting component to provide assistance.
[0049] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0051] Figure 1 It is a flow chart of a control method for a cleaning device shown in an embodiment of the present disclosure.
[0052] Figure 2 It is a schematic diagram of the structure of a cleaning device shown in an embodiment of the present disclosure.
[0053] Figure 3 It is a module framework diagram of a floor scrubber according to an exemplary embodiment.
[0054] Figure 4 is a diagram of a control device of a cleaning device according to an exemplary embodiment.
[0055] Figure 5 The figure is a block diagram of a cleaning device according to an exemplary embodiment. DETAILED DESCRIPTION
[0056] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0057] Figure 1 is a flow chart of a control method of a cleaning device shown in an embodiment of the present disclosure, such as Figure 1 As shown, it is applied to a cleaning device, the cleaning device includes a roller brush and a power-assisting component, and the control method applied to the cleaning device includes the following steps:
[0058] S11, obtaining the working current of the roller brush during the cleaning process;
[0059] S12, determining the movement trend of the cleaning device based on the working current of the roller brush;
[0060] S13. Based on the movement trend of the cleaning device, control the assisting component to assist the cleaning device in performing the cleaning work.
[0061] The embodiment of the present disclosure provides a control method for cleaning equipment, and the execution subject may be a cleaning equipment, such as a floor scrubber, a floor sweeper, a vacuum cleaner, etc. By applying the control method for cleaning equipment in the cleaning equipment, the user can easily and labor-savingly operate the cleaning equipment for cleaning.
[0062] Figure 2 is a schematic diagram of a cleaning device according to an embodiment of the present disclosure. Figure 2 As shown, the cleaning device includes a roller brush (such as a roller brush of a floor scrubber, a roller brush of a floor sweeper, etc.), a power-assisting component (such as a power-assisting wheel of a floor scrubber or floor sweeper, etc.), a body, and a handle. In the disclosed embodiment, when the cleaning device detects a start instruction, the cleaning device starts cleaning under the drive of the roller brush, the cleaning device can obtain the working current of the roller brush and identify the movement trend of the cleaning device, and the cleaning device controls the power-assisting component according to the identified movement trend, so that the cleaning device performs cleaning under the assistance of the power-assisting component.
[0063] It should be noted that when the cleaning device is cleaning, it needs to apply a push or pull force manually to drive the cleaning device to move, so the power-assisting component helps to reduce the force applied by the user, thereby improving the user experience. Usually, when the cleaning device is cleaning forward, the power-assisting component only needs to provide a small amount of power; when the cleaning device is cleaning backward, a large force is required to operate the cleaning device, and the power-assisting effect of the power-assisting component is particularly effective.
[0064] In step S11, the cleaning device obtains the working current of the roller brush during the cleaning process. In the embodiment of the present disclosure, the cleaning device may collect the working current of the motor of the roller brush, for example, the working current of the roller brush monitored by the floor scrubber is 1.3 amperes (Ampere, A). Generally, the preset current working range of the floor scrubber may be 1A-2A.
[0065] In other embodiments, the cleaning device can obtain the motion parameters of the roller brush during the cleaning process, determine the motion trend of the cleaning device based on the motion parameters of the roller brush, and control the power-assisting component to assist the cleaning device in performing the cleaning work based on the motion trend of the cleaning device. Among them, the motion parameters can be the rotation speed of the roller brush, etc., and the cleaning device can determine the motion parameters of the roller brush during the cleaning process by calculation. For example, the floor scrubber can calculate the current working speed of the roller brush according to the current rotation speed of the roller brush motor and the mapping relationship function between the motor speed and the roller brush speed, for example, 800 revolutions per minute (rpm). Normally, the preset speed working range of the floor scrubber can be 600-1200rpm.
[0066] In step S12, the cleaning device determines the movement trend of the cleaning device based on the working current of the roller brush, wherein the movement trend may include the movement direction trend of the cleaning device, and the movement direction trend may be a change trend relative to the original movement direction, or may be directed to a specific movement direction. In the disclosed embodiment, the cleaning device may determine the movement trend of the cleaning device based on the change of the working current of the roller brush during the cleaning process; or may determine the movement trend of the roller brush based on the difference between the working current of the roller brush during the cleaning operation and a preset working current.
[0067] In the disclosed embodiment, the cleaning device can determine the movement trend of the cleaning device based on the working current of the roller brush. For example, when the floor scrubber detects that the working current of the roller brush drops from 1.5A to 1.1A, the floor scrubber can determine that the user is pushing the floor scrubber forward; when the floor scrubber detects that the working current of the roller brush is close to the pull-back current parameter of 2A, the floor scrubber can determine that the user is pulling the floor scrubber back.
[0068] In other embodiments, the cleaning device can determine the movement trend of the cleaning device through the motion parameters of the roller brush; or the movement trend of the cleaning device can be determined jointly based on the working current and motion parameters of the roller brush. For example, when the floor scrubber detects that the working speed of the roller brush drops from 900rpm to 660rpm, the floor scrubber can determine that the user pushes the floor scrubber forward; when the floor scrubber detects that the working speed of the roller brush is close to the pull-back speed parameter of 1200rpm, the floor scrubber can determine that the user pulls the floor scrubber back. For another example, when the floor scrubber detects that the working current of the roller brush drops from 1.5A to 1.1A and the working speed drops from 900rpm to 660rpm, the floor scrubber can determine that the user pushes the floor scrubber forward; when the floor scrubber detects that the working current of the roller brush is close to the pull-back current parameter of 2A and the working speed is close to the pull-back speed parameter of 1200rpm, the floor scrubber can determine that the user pulls the floor scrubber back.
[0069] It should be noted that when the cleaning device detects a start command, the cleaning device can control the roller brush to move in a predetermined direction. During the user's operation of the cleaning device to perform cleaning work, the cleaning device may have a movement trend consistent with the predetermined movement direction of the roller brush, or may have a movement trend opposite to the predetermined movement direction of the roller brush. The predetermined movement direction of the roller brush may be preset before the cleaning device leaves the factory. In the embodiment of the present disclosure, the predetermined movement direction of the roller brush may be a forward movement direction.
[0070] For example, when the floor scrubber is turned on, the roller brush will move forward by default (in a predetermined direction of movement). When the user holds the floor scrubber and pushes it forward, the floor scrubber continues to move forward (i.e., the movement trend of the floor scrubber is consistent with the predetermined movement direction of the roller brush); when the user holds the floor scrubber and pulls it back, the floor scrubber starts to move backward (i.e., the movement trend of the floor scrubber is opposite to the predetermined movement direction of the roller brush).
[0071] In the disclosed embodiment, the cleaning device moves forward by default when it is turned on. When the user pushes the cleaning device forward, the force of the user pushing the cleaning device forward and the force of the roller brush forward will jointly overcome the backward friction between the roller brush and the ground, that is, when the user pushes the cleaning device forward, the output power of the roller brush decreases (the working current or the working speed decreases); when the user pulls the cleaning device backward, the forward force of the roller brush needs to simultaneously overcome the backward friction between the roller brush and the ground and the force of the user pulling the cleaning device backward, that is, when the user pulls the cleaning device backward, the output power of the roller brush increases (the working current or the working speed increases). Therefore, the changes in the working current or working speed of the roller brush of the cleaning device during the cleaning process can well reflect the movement trend of the cleaning device.
[0072] In step S13, the cleaning device controls the power-assisting component to assist the cleaning device in performing cleaning work based on the movement trend of the cleaning device. In the disclosed embodiment, the cleaning device can directly determine the power-assisting parameter of the power-assisting component according to its own movement trend, and control the power-assisting component to assist the cleaning device in performing cleaning work with the power-assisting parameter; or it can jointly determine the power-assisting parameter of the power-assisting component according to its own movement trend and weight parameter, and control the power-assisting component to assist the cleaning device in performing cleaning work with the power-assisting parameter.
[0073] In the embodiment of the present disclosure, the parameters of the power-assisting component of the cleaning device may be the power-assisting direction, the power-assisting power, etc. Exemplarily, when the cleaning device moves in a direction consistent with the predetermined movement direction of the roller brush, the cleaning device may control the power-assisting component to output a smaller first power, and assist the cleaning device with the predetermined movement direction and the first power; when the cleaning device moves in a direction opposite to the predetermined movement direction of the roller brush, the cleaning device may control the power-assisting component to output a larger second power, and assist the cleaning device with the direction opposite to the predetermined movement direction and the second power. For example, when the floor scrubber tends to move backward, the floor scrubber may control the power-assisting wheel to output a larger backward power-assisting power to assist the user in operating the floor scrubber for cleaning.
[0074] In a related technology, a speed sensor and an acceleration sensor are added to the cleaning device to obtain information such as the moving direction, moving speed, and acceleration change of the cleaning device, thereby identifying the user's operating intention on the cleaning device and providing assistance. However, since there is a certain lag in the detection of the commutation of the cleaning device using an acceleration sensor, in order to improve the timeliness of the detection, a magnet can be set on the walking wheel of the cleaning device and a Hall module can be set on the housing, and the Hall module can be used to detect the forward and backward directions of the cleaning device.
[0075] In another related technology, a speed sensor and a torque sensor are added to the cleaning machine to obtain the speed signal, torque signal and other information of the cleaning machine, so as to predict the user's operating intention of the cleaning machine and provide assistance. However, the speed signal of the cleaning machine is obtained by detecting and converting the speed of the rear wheels. Since the rear wheels of the cleaning machine may slip when encountering water or become suspended due to improper operation by the user during use, the method of using the rear wheel parameters to determine the movement of the cleaning machine may not be stable.
[0076] In contrast, in the disclosed embodiment, the cleaning device determines the movement trend of the cleaning device using the change in the working current of the roller brush during the cleaning process, and controls the assisting component to assist the cleaning device in performing the cleaning work based on the movement trend of the cleaning device, thereby realizing intelligent assistance of the cleaning device. On the one hand, the cleaning device directly obtains the working current of the roller brush and then determines the movement trend, which can omit various sensors in the above-mentioned related technologies and effectively save product production costs; on the other hand, since the roller brush is usually made of fluff material and is not easy to slip when it comes into contact with water, and the roller brush drives the cleaning device to work through friction with the ground, that is, the roller brush works close to the ground and is not easy to be suspended, the method of determining the movement trend using the working current of the roller brush can improve the stability and accuracy of the trend identification of the cleaning device, thereby enabling the cleaning device to more stably and accurately control the assisting component to provide assistance.
[0077] In some embodiments, obtaining the working current of the roller brush during the cleaning process includes:
[0078] Based on a predetermined sampling time, obtaining a working current of the roller brush during a cleaning process;
[0079] The determining of the movement trend of the cleaning device based on the working current of the roller brush comprises:
[0080] Determining the movement trend of the cleaning device based on changes in the working current collected at multiple predetermined sampling moments;
[0081] or,
[0082] Based on the difference between the working current at the current sampling moment and the preset working current, the movement trend of the cleaning device is determined.
[0083] In the embodiment of the present disclosure, the cleaning device can obtain the working current of the roller brush during the cleaning process based on a predetermined sampling moment, and then determine the movement trend of the cleaning device based on the changes in the working current collected at multiple predetermined sampling moments. Exemplarily, the cleaning device can be based on the changes in the working current at two adjacent sampling moments. If the working current at adjacent moments changes slightly or remains unchanged, the movement trend of the cleaning device can be determined to be in the same direction as the current movement direction; if the working current at adjacent moments changes greatly, the movement trend of the cleaning device can be determined to be in the opposite direction to the current movement direction.
[0084] In the embodiment of the present disclosure, the cleaning device may also determine the movement trend of the cleaning device based on the difference between the working current at the current sampling moment and the preset working current. Exemplarily, the cleaning device is based on the working current at the current sampling moment. If the difference between the working current at the current moment and the preset working current is small, the cleaning device may determine that the cleaning device moves with the movement trend corresponding to the preset working current.
[0085] In the embodiment of the present disclosure, the preset working current may be a preset forward push current parameter or a preset backward pull current parameter of the cleaning device, and the preset working current may be a corresponding current parameter obtained according to a movement trend experiment of the cleaning device. For example, a forward push experiment is performed on the cleaning device, and the working current of the cleaning device during multiple forward push operations is recorded, and a preset forward push current parameter when the cleaning device is pushed forward is obtained through statistical analysis. If the cleaning device determines that the difference between the working current at the current moment and the preset forward push current parameter is small, it can be determined that the movement trend of the cleaning device is forward push.
[0086] It should be noted that the preset working currents of the roller brushes of cleaning equipment of different categories (such as floor scrubbers, sweepers, etc.) or different models of the same category (such as single-roller floor scrubbers, crawler floor scrubbers, etc.) are usually different. For example, the forward push current of a crawler floor scrubber is 1A, and the forward push current of a single-roller floor scrubber is 1.2A. Therefore, in the embodiments of the present disclosure, different preset working currents can be set according to different cleaning equipment. It should be noted that if the consistency of the roller brush is good, the working current corresponding to different movement trends of the cleaning equipment will usually be stable within the difference range from the preset current threshold. By using the difference between the working current at the current sampling moment and the preset working current, the movement trend of the cleaning equipment can be quickly determined, thereby improving the efficiency of the cleaning equipment control method.
[0087] In the embodiments of the present disclosure, on the one hand, the cleaning device determines the movement trend of the cleaning device based on the changes in the working current collected at multiple predetermined sampling moments. Since the changes in the working current are caused by the changes in the movement of the cleaning device, the movement trend of the cleaning device can be obtained more accurately based on the working current collected at multiple predetermined sampling moments, thereby improving the accuracy of the cleaning device control method; on the other hand, the cleaning device determines the movement trend of the cleaning device based on the difference between the working current at the current sampling moment and the preset working current. Since it is determined only based on the working current at the current sampling moment, the real-time performance of the cleaning device in determining the movement trend can be improved, thereby improving the real-time performance of the cleaning device control method.
[0088] In some embodiments, determining the movement trend of the cleaning device based on the change of the working current collected at multiple predetermined sampling moments includes:
[0089] If the change amplitude of the working current at a plurality of predetermined sampling moments is within a preset amplitude threshold, determining that the cleaning device moves in the original movement direction;
[0090] If the change amplitude of the working current at a plurality of predetermined sampling moments exceeds the preset amplitude threshold, it is determined that the cleaning device moves in a direction opposite to the original movement direction.
[0091] In the embodiment of the present disclosure, the cleaning device determines that the cleaning device moves in the original direction of movement based on the working current of the roller brush collected at multiple predetermined sampling moments, if the change amplitude of the working current of the roller brush at adjacent or interval sampling moments is within a preset amplitude threshold. The cleaning device can determine the change amplitude of the working current of the roller brush by a difference method or a ratio method, and the preset amplitude threshold can be set according to different types or models of cleaning devices, and is not limited here.
[0092] In the embodiment of the present disclosure, based on the working current of the roller brush collected at multiple predetermined sampling moments, if the change amplitude of the working current of the roller brush at adjacent or intermittent sampling moments exceeds a preset amplitude threshold, the cleaning device is determined to move in the direction opposite to the original movement direction.
[0093] For example, the floor scrubber is moving forward. When the floor scrubber detects that the working current of the roller brush changes from 1.2A to 1.15A at adjacent moments, the working current change amplitude of 0.05A is less than the preset amplitude threshold of 0.4A. The floor scrubber can determine that the movement trend is to continue to move forward (i.e., move in the original direction of movement). For another example, the floor scrubber is moving forward. When the floor scrubber detects that the working current of the roller brush changes from 1.2A to 1.8A at adjacent moments, the working current change amplitude of 0.6 is greater than the preset amplitude threshold of 0.4A. The floor scrubber can determine that the movement trend has changed from forward movement to backward movement (i.e., continue to move in the opposite direction of the original movement direction).
[0094] As mentioned above, when the cleaning device is in use, the working current of the roller brush is usually smaller when it moves forward, and is usually larger when it moves backward. Then, for example, when the cleaning device changes from moving forward to moving backward, or from moving backward to moving forward, the working current of the roller brush will change significantly; when the cleaning device maintains the current movement trend and continues to move forward or continues to move backward, the change in the working current of the roller brush will not be too large. It can be understood that the change in the working current of the roller brush can accurately reflect the movement trend of the cleaning device.
[0095] Therefore, in the embodiment of the present disclosure, the cleaning device determines the movement trend of the cleaning device according to the change amplitude of the working current of the roller brush at multiple predetermined sampling moments combined with a preset amplitude threshold, and the solution is simple and effective.
[0096] In some embodiments, if the change amplitude of the working current at a plurality of predetermined sampling moments exceeds the preset amplitude threshold, determining that the cleaning device moves in a direction opposite to the original movement direction includes:
[0097] If the change amplitude of the working current at multiple predetermined sampling moments exceeds the preset amplitude threshold, and the working current at multiple predetermined sampling moments becomes larger, it is determined that the cleaning device changes from the same direction as the predetermined movement direction of the roller brush to a direction opposite to the predetermined direction;
[0098] If the change amplitude of the working current at multiple predetermined sampling moments exceeds the preset amplitude threshold, and the working current at multiple predetermined sampling moments becomes smaller, it is determined that the cleaning device changes from a direction opposite to the predetermined movement direction to a direction consistent with the predetermined movement direction.
[0099] As mentioned above, the predetermined movement direction of the cleaning device may be the forward movement direction. In the embodiment of the present disclosure, the movement direction of the cleaning device is specifically determined based on the preset amplitude threshold and the change direction of the working current at multiple predetermined sampling moments.
[0100] For example, the floor scrubber is moving forward (moving in a direction consistent with the predetermined movement direction), and when the floor scrubber detects that the working current of the roller brush changes from 1.2A to 1.8A at adjacent moments, the working current of the floor scrubber becomes larger, and the change amplitude of the working current 0.6A is greater than the preset amplitude threshold 0.4A, and the floor scrubber can determine that the movement has changed from forward to backward (that is, the cleaning device changes from the same direction as the predetermined movement direction of the roller brush to the direction opposite to the predetermined direction); for another example, the floor scrubber is moving backward (moving in a direction opposite to the predetermined movement direction), and when the floor scrubber detects that the working current of the roller brush changes from 1.8A to 1.2A at adjacent moments, the working current of the floor scrubber becomes smaller, and the change amplitude 0.6 is greater than the preset amplitude threshold 0.4A, and the floor scrubber can determine that the movement has changed from backward to forward (that is, the cleaning device changes from the direction opposite to the predetermined movement direction of the roller brush to the direction consistent with the predetermined direction).
[0101] In the embodiment of the present disclosure, the cleaning device determines whether the movement direction of the cleaning device has changed based on the change amplitude of the working current at a predetermined sampling moment and the change direction of the working current, which helps the cleaning device control the power-assisting component to provide corresponding power assistance according to its own movement direction, reduces the counterproductive effect of power assistance caused by incorrect power assistance direction, and further improves the accuracy of the cleaning device control method.
[0102] In some embodiments, determining the movement trend of the cleaning device based on the difference between the working current at the current sampling moment and the preset working current includes:
[0103] If the difference between the working current at the current sampling moment and the first preset current threshold value is within the first preset difference range, it is determined that the cleaning device moves in a direction consistent with the predetermined movement direction of the roller brush; wherein the first preset current threshold value is the current corresponding to the cleaning device moving in a direction consistent with the predetermined movement direction;
[0104] If the difference between the working current at the current sampling moment and the second preset current threshold is within the second preset difference range, it is determined that the cleaning device is moving in a direction opposite to the predetermined movement direction; wherein the second preset current threshold is the current corresponding to the cleaning device moving in a direction opposite to the predetermined movement direction.
[0105] In the disclosed embodiment, the cleaning device can determine the movement trend of the cleaning device based on the difference between the working current of the roller brush at the current sampling moment and the preset working current. If the difference between the working current of the roller brush at the current sampling moment and the first preset current threshold value is within the first preset difference range, it is determined that the cleaning device moves in a direction consistent with the predetermined movement direction of the roller brush. The first preset current threshold value is a current parameter corresponding to when the cleaning device moves in a direction consistent with the predetermined movement direction. The first preset current threshold value can be obtained based on the experimental results of the roller brush of various types of cleaning devices when they move in a predetermined direction and by performing histogram statistics. The first preset difference range can be set based on the experimental results of the roller brush.
[0106] In the embodiment of the present disclosure, the cleaning device can determine the difference between the working current at the current sampling moment and the first preset working current by a ratio method or a difference method. For example, the preset current threshold for the forward movement of the floor scrubber is 1.2A. If the floor scrubber detects that the current working current is 1.25A, the difference of 0.05A between the current working current of the floor scrubber and the preset current threshold is within the first preset difference range (for example, the first preset difference range is ±0.3A), and it is determined that the floor scrubber moves forward.
[0107] In the embodiment of the present disclosure, if the difference between the working current of the roller brush at the current sampling moment and the second preset current threshold value is within the second preset difference range, it is determined that the cleaning device moves in a direction opposite to the predetermined movement direction. The second preset current threshold value is a current parameter corresponding to when the cleaning device moves in a direction opposite to the predetermined movement direction. The second preset current threshold value can be obtained by performing histogram statistics based on the experimental results of the roller brush when various types of cleaning devices move in a direction opposite to the predetermined direction. The second preset difference range can be set based on the experimental results of the roller brush.
[0108] In the embodiment of the present disclosure, the cleaning device can determine the difference between the working current at the current sampling moment and the second preset working current by a ratio method or a difference method. For example, the preset current threshold for the backward movement of the floor scrubber is 1.8A. If the floor scrubber detects that the current working current is 2A, the difference of 0.2A between the current working current of the floor scrubber and the preset current threshold is within the second preset difference range (for example, the first preset difference range is ±0.3A), and it is determined that the floor scrubber moves backward.
[0109] It should be noted that if the cleaning device detects that the difference between the working current of the roller brush and the first preset current threshold does not fall within the first preset difference range, or the difference between the working current of the roller brush and the second preset current threshold does not fall within the second preset difference range, it means that the cleaning device is suspended or a fault occurs, and the cleaning device controls the corresponding module to perform operations such as shutdown or fault detection.
[0110] It should be noted that if the roller brush of the cleaning device has good consistency, then the working current corresponding to the different movement trends of the roller brush will usually be stable within the difference range with the preset current threshold. Therefore, in the embodiment of the present disclosure, the cleaning device can specifically determine the movement direction of the cleaning device based on the preset current threshold of the associated direction, which is beneficial for the cleaning device to control the power-assisting component to provide corresponding power assistance according to its own movement direction, reduce the counterproductive effect of power assistance caused by the wrong power-assisting direction, and further improve the accuracy of the cleaning device control method.
[0111] In some embodiments, based on the movement trend of the cleaning device, controlling the assisting component to assist the cleaning device in performing the cleaning work includes:
[0112] If the cleaning device moves in a direction consistent with the predetermined movement direction of the roller brush, control the assisting component to assist the cleaning device to perform cleaning work with a first power;
[0113] If the cleaning device moves in a direction opposite to the predetermined movement direction of the roller brush, the assisting component is controlled to assist the cleaning device to perform cleaning work with a second power; wherein the first power is less than the second power.
[0114] As mentioned above, when the user operates the cleaning device to perform cleaning work, if the user operates the cleaning device to move in a direction consistent with the predetermined movement direction of the roller brush, since the user's force and the force of the roller brush jointly overcome the friction between the roller brush and the ground, the user only needs a smaller pushing force to operate the cleaning device to move in a direction consistent with the predetermined movement direction of the roller brush; if the user operates the cleaning device to move in a direction opposite to the predetermined movement direction of the roller brush, since the user's force needs to overcome the force of the roller brush and the friction between the roller brush and the ground at the same time, the user needs a larger pushing force to operate the cleaning device to move in the direction opposite to the predetermined movement direction of the roller brush. Therefore, when the user operates the cleaning device to perform cleaning work in different directions, the amount of power required is different.
[0115] It can be understood that when the cleaning device moves in the original direction of movement, the cleaning device can control the power-assisting component to provide a first power to facilitate the user to operate the cleaning device more easily; when the cleaning device moves in the direction opposite to the original direction of movement, the cleaning device can control the power-assisting component to provide a second power to alleviate the user's operating difficulty.
[0116] In the disclosed embodiment, the cleaning device can control the assistant component to output a corresponding amount of assisting power according to different movement directions of the cleaning device, thereby improving the accuracy of the assisting power of the assisting component and further improving the accuracy of the control method of the cleaning device.
[0117] In some embodiments, if the cleaning device moves in a direction consistent with the predetermined movement direction of the roller brush, controlling the assisting component to assist the cleaning device to perform the cleaning operation with a first power includes:
[0118] If the cleaning device moves in a direction consistent with the predetermined movement direction of the roller brush, the assisting component is controlled to assist the cleaning device to perform cleaning work with the first power in a direction opposite to the predetermined movement direction of the roller brush.
[0119] In the disclosed embodiment, when the cleaning device moves in a direction consistent with the predetermined movement direction of the roller brush, the friction between the roller brush and the ground will drive the cleaning device to have a forward tendency, so the user will usually feel that he is being led by the cleaning device. For example, when a user pushes a single roller brush floor scrubber forward to perform cleaning work, it is easy for the user to feel that he is being led by the machine. In response to this, the cleaning device can control the power-assisting component to assist the cleaning device with a first power in a direction opposite to the predetermined movement direction of the roller brush, which helps to alleviate the situation where the user is led by the cleaning device and improves the user's experience when operating the cleaning device.
[0120] In addition, in other embodiments, when the cleaning device moves in the same direction as the predetermined movement direction of the roller brush, the user may have difficulty operating the cleaning device due to the excessive weight of the cleaning device. For example, when a user pushes a crawler-type floor scrubber forward to perform cleaning work, it is easy to feel laborious. In response to this, the cleaning device can control the power-assisting component to assist the cleaning device with a first power in the same direction as the predetermined movement direction of the roller brush, which helps to alleviate the laborious operation of the user, thereby improving the user's experience when operating the cleaning device.
[0121] Figure 3 FIG. 1 is a module frame diagram of a floor scrubber according to an exemplary embodiment. Figure 3 As shown, the floor scrubber is composed of a roller brush module L301, a central control module L302, a current detection module L303, and a power assist module L304. The entire floor scrubber system includes but is not limited to the above modules.
[0122] In the disclosed embodiment, the central control module L302 is the control core of the floor scrubber, which communicates with other modules through the bus and controls each module to perform corresponding functions, thereby realizing the cleaning work of the floor scrubber. For example, the roller brush module L301 (roller brush) can receive the roller brush working current sent by the central control module L302, and drive the roller brush to rotate on the ground through the gear box to achieve the cleaning effect; the current detection module L303 can detect the working current of the roller brush module L301, and send the detected current parameters to the central control module L302; the power-assisting module L304 can receive the power-assisting parameters sent by the central control module L302, and use the power-assisting parameters to assist the floor scrubber.
[0123] In addition, the floor scrubber may also include modules such as a fan L305, a water pump L306, and a display module L307, and each of the above modules can communicate with the central control module L302 through the bus. For example, the fan L305 can receive the fan control information (power, vacuum degree, etc.) sent by the central control module L302, and use the fan control information to suck the sewage in the floor scrubbing process into the sewage tank, thereby achieving different degrees of floor scrubbing effects; the water pump L306 can receive the water volume control information sent by the central control module L302, and use the water volume control information to pump the corresponding amount of water in the clean water tank to the roller brush or the ground, thereby cooperating with the roller brush motor to achieve different degrees of cleaning effects; the display module L307 can interact with the central control module L302, and can form corresponding instructions based on the user's operations on the interface and send them to the central control module L302, or can also receive the floor scrubber working status data sent by the central control module L302, and display the current status of the floor scrubber on the interface.
[0124] In the disclosed embodiment, the floor scrubber (cleaning device) detects a power-on command from the user, and the roller brush module L301 (roller brush) controls the roller brush to drive the floor scrubber to move forward (in the predetermined movement direction of the roller brush). During the cleaning process of the floor scrubber, the current detection module L303 detects the working current of the roller brush module L301 and sends it to the central control module L302 (i.e., the cleaning device obtains the working current of the roller brush during the cleaning process); the central control module L302 determines the movement trend of the floor scrubber according to the change of the working current (i.e., the cleaning device determines the movement trend of the cleaning device based on the working current of the roller brush); the central control module L302 determines the assisting parameter of the assisting module L304 according to the movement trend, and sends the assisting parameter to the assisting module L304, so that the assisting module L304 assists the floor scrubber to perform cleaning work (i.e., the cleaning device controls the assisting component to assist the cleaning device to perform cleaning work based on the movement trend of the cleaning device).
[0125] In the disclosed embodiment, when the central control module of the floor scrubber determines that the detected roller brush motor current becomes smaller and the change amplitude is less than a preset amplitude threshold, the floor scrubber tends to move forward (moving in the same direction as the predetermined movement direction of the roller brush), the central control module controls the power-assist motor system (power-assist component) to drive a smaller backward power assist, which is used to balance the forward force generated by the friction between the roller brush and the ground, thereby reducing the situation where the user is pulled forward by the floor scrubber; but in the case where the floor scrubber itself is heavier, the central control module controls the power-assist motor system to drive a smaller forward power assist, so that the user can push the heavier floor scrubber forward with less force.
[0126] In the disclosed embodiment, when the central control module of the floor scrubber determines that the detected roller brush motor current increases and the change amplitude is greater than a preset amplitude threshold, the floor scrubber tends to move backward (moving in a direction opposite to the predetermined movement direction of the roller brush), the central control module controls the power-assist motor system to drive a larger backward power assist, which is used to balance the friction of the roller brush on the ground and help provide the user with backward pulling force, allowing the user to pull the floor scrubber backward with less force.
[0127] In the disclosed embodiment, the floor scrubber uses the change in the current parameters of the roller brush module during the cleaning process to determine the movement trend of the floor scrubber, and controls the assisting module to assist the floor scrubber in performing cleaning work based on the movement trend of the floor scrubber, thereby realizing intelligent assisting of the floor scrubber. On the one hand, the floor scrubber directly obtains the current parameters of the roller brush module and then determines the movement trend, which can omit various sensors in the above-mentioned related technologies, effectively saving product production costs; on the other hand, since the roller brush module is usually made of fluff material and is not easy to slip when it comes into contact with water, and the roller brush module drives the floor scrubber to work by friction with the ground, that is, the roller brush module works close to the ground and is not easy to be suspended, the method of using the current parameters of the roller brush module to determine the movement trend can improve the stability and accuracy of the trend identification of the floor scrubber, thereby enabling the floor scrubber to more stably and accurately control the assisting module to provide assistance.
[0128] Figure 4 is a control device diagram of a cleaning device according to an exemplary embodiment, referring to Figure 4 , the control device of the cleaning equipment shown comprises:
[0129] An acquisition module 401 is used to acquire the working current of the roller brush during the cleaning process;
[0130] A determination module 402, configured to determine a movement trend of the cleaning device based on an operating current of the roller brush;
[0131] The control module 403 is used to control the assisting component to assist the cleaning device to perform cleaning work based on the movement trend of the cleaning device.
[0132] In some embodiments, the acquisition module 401 is further used to acquire the working current of the roller brush during the cleaning process based on a predetermined sampling time;
[0133] The determination module 402 includes a first determination module 404, which is used to determine the movement trend of the cleaning device based on the change of the working current collected at multiple predetermined sampling moments;
[0134] The determination module 402 further includes a second determination module 405 for determining the movement trend of the cleaning device based on the difference between the working current at the current sampling moment and the preset working current.
[0135] In some embodiments, the first determination module 404 is also used to determine that the cleaning device is moving in the original direction of movement if the change amplitude of the working current at multiple predetermined sampling moments is within a preset amplitude threshold; if the change amplitude of the working current at multiple predetermined sampling moments exceeds the preset amplitude threshold, determine that the cleaning device is moving in a direction opposite to the original direction of movement.
[0136] In some embodiments, the first determination module 404 is also used to determine that the cleaning device changes from the same direction as the predetermined movement direction of the roller brush to the direction opposite to the predetermined direction if the change amplitude of the working current at multiple predetermined sampling moments exceeds the preset amplitude threshold and the working current at multiple predetermined sampling moments becomes larger; if the change amplitude of the working current at multiple predetermined sampling moments exceeds the preset amplitude threshold and the working current at multiple predetermined sampling moments becomes smaller, determine that the cleaning device changes from the direction opposite to the predetermined movement direction to the direction consistent with the predetermined movement direction.
[0137] In some embodiments, the second determination module 405 is also used to determine that the cleaning device moves in a direction consistent with the predetermined movement direction of the roller brush if the difference between the working current at the current sampling moment and the first preset current threshold is within a first preset difference range; wherein the first preset current threshold is the current corresponding to the cleaning device moving in a direction consistent with the predetermined movement direction; if the difference between the working current at the current sampling moment and the second preset current threshold is within a second preset difference range, determine that the cleaning device moves in a direction opposite to the predetermined movement direction; wherein the second preset current threshold is the current corresponding to the cleaning device moving in a direction opposite to the predetermined movement direction.
[0138] In some embodiments, the control module 403 is also used to control the assisting component to assist the cleaning device to perform cleaning work with a first power if the cleaning device moves in a direction consistent with the predetermined movement direction of the roller brush; if the cleaning device moves in a direction opposite to the predetermined movement direction of the roller brush, control the assisting component to assist the cleaning device to perform cleaning work with a second power; wherein the first power is less than the second power.
[0139] In some embodiments, the control module 403 is also used to control the assisting component to assist the cleaning device to perform cleaning work at the first power in a direction opposite to the predetermined movement direction of the roller brush if the cleaning device moves in a direction consistent with the predetermined movement direction of the roller brush.
[0140] Regarding the device in the above embodiment, the specific manner in which each component performs the operation has been described in detail in the embodiment of the method, and will not be elaborated here.
[0141] Figure 5 800 is a block diagram of a cleaning device according to an exemplary embodiment. For example, the device 800 may be a floor scrubber, a floor sweeper, or the like.
[0142] Reference Figure 5, the device 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / output (I / O) interface 812 , a sensor component 814 , and a communication component 816 .
[0143] The processing component 802 generally controls the overall operation of the device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to perform all or part of the steps of the above-described method. In addition, the processing component 802 may include one or more components to facilitate interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia component to facilitate interaction between the multimedia component 808 and the processing component 802.
[0144] The memory 804 is configured to store various types of data to support operations on the device 800. Examples of such data include instructions for any application or method operating on the device 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, 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.
[0145] The power component 806 provides power to the various components of the device 800. The power component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 800.
[0146] The multimedia component 808 includes a screen that provides an output interface between the device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0147] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), and when the device 800 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 804 or sent via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.
[0148] I / O interface 812 provides an interface between processing component 802 and peripheral interface components, such as a keyboard, a click wheel, buttons, etc. These buttons may include, but are not limited to, a home button, a volume button, a start button, and a lock button.
[0149] The sensor assembly 814 includes one or more sensors for providing various aspects of status assessment for the device 800. For example, the sensor assembly 814 can detect the open / closed state of the device 800, the relative positioning of components, such as the display and keypad of the device 800, and the sensor assembly 814 can also detect the position change of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, the orientation or acceleration / deceleration of the device 800, and the temperature change of the device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0150] The communication component 816 is configured to facilitate wired or wireless communication between the device 800 and other devices. The device 800 can access a wireless network based on a communication standard, such as Wi-Fi, 4G or 5G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) component to facilitate short-range communication. For example, the NFC component can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0151] In an exemplary embodiment, the apparatus 800 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above method.
[0152] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, and the instructions can be executed by a processor 820 of the device 800 to complete the control method of the cleaning device. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0153] A non-transitory computer-readable storage medium, when instructions in the storage medium are executed by a processor of a cleaning device, enables the cleaning device to perform a control method of the cleaning device, the method comprising:
[0154] Obtaining the working current of the roller brush during the cleaning process;
[0155] Determining the movement trend of the cleaning device based on the working current of the roller brush;
[0156] Based on the movement trend of the cleaning device, the assisting component is controlled to assist the cleaning device to perform the cleaning work.
[0157] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the claims above.
[0158] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A method for controlling a cleaning device, characterized in that: Applied to a cleaning device including a roller brush and a power-assisting component, the method comprises: Obtaining the working current of the roller brush during the cleaning process; Determining the movement trend of the cleaning device based on the working current of the roller brush; Based on the movement trend of the cleaning device, the assisting component is controlled to assist the cleaning device to perform the cleaning work.
2. The method according to claim 1, characterized in that The obtaining of the working current of the roller brush during the cleaning process includes: Based on a predetermined sampling time, obtaining a working current of the roller brush during a cleaning process; The determining of the movement trend of the cleaning device based on the working current of the roller brush comprises: Determining the movement trend of the cleaning device based on changes in the working current collected at multiple predetermined sampling moments; or, Based on the difference between the working current at the current sampling moment and the preset working current, the movement trend of the cleaning device is determined.
3. The method according to claim 2, characterized in that The determining of the movement trend of the cleaning device based on the change of the working current collected at multiple predetermined sampling moments includes: If the change amplitude of the working current at a plurality of predetermined sampling moments is within a preset amplitude threshold, determining that the cleaning device moves in the original movement direction; If the change amplitude of the working current at a plurality of predetermined sampling moments exceeds the preset amplitude threshold, it is determined that the cleaning device moves in a direction opposite to the original movement direction.
4. The method according to claim 3, characterized in that If the change amplitude of the working current at a plurality of predetermined sampling moments exceeds the preset amplitude threshold, determining that the cleaning device moves in a direction opposite to the original movement direction includes: If the change amplitude of the working current at multiple predetermined sampling moments exceeds the preset amplitude threshold, and the working current at multiple predetermined sampling moments becomes larger, it is determined that the cleaning device changes from the same direction as the predetermined movement direction of the roller brush to a direction opposite to the predetermined direction; If the change amplitude of the working current at multiple predetermined sampling moments exceeds the preset amplitude threshold, and the working current at multiple predetermined sampling moments becomes smaller, it is determined that the cleaning device changes from a direction opposite to the predetermined movement direction to a direction consistent with the predetermined movement direction.
5. The method according to claim 2, characterized in that: The step of determining the movement trend of the cleaning device based on the difference between the working current at the current sampling moment and the preset working current includes: If the difference between the working current at the current sampling moment and the first preset current threshold value is within the first preset difference range, it is determined that the cleaning device moves in a direction consistent with the predetermined movement direction of the roller brush; wherein the first preset current threshold value is the current corresponding to the cleaning device moving in a direction consistent with the predetermined movement direction; If the difference between the working current at the current sampling moment and the second preset current threshold is within the second preset difference range, it is determined that the cleaning device is moving in a direction opposite to the predetermined movement direction; wherein the second preset current threshold is the current corresponding to the cleaning device moving in a direction opposite to the predetermined movement direction.
6. The method according to any one of claims 1 to 5, characterized in that The controlling the assisting component to assist the cleaning device in performing the cleaning work based on the movement trend of the cleaning device comprises: If the cleaning device moves in a direction consistent with the predetermined movement direction of the roller brush, control the assisting component to assist the cleaning device to perform cleaning work with a first power; If the cleaning device moves in a direction opposite to the predetermined movement direction of the roller brush, the assisting component is controlled to assist the cleaning device to perform cleaning work with a second power; wherein the first power is less than the second power.
7. The method according to claim 6, characterized in that If the cleaning device moves in a direction consistent with the predetermined movement direction of the roller brush, controlling the assisting component to assist the cleaning device to perform the cleaning work with a first power includes: If the cleaning device moves in a direction consistent with the predetermined movement direction of the roller brush, the assisting component is controlled to assist the cleaning device to perform cleaning work with the first power in a direction opposite to the predetermined movement direction of the roller brush.
8. A control device for a cleaning device, characterized in that: Applicable to a cleaning device including a roller brush and a power-assisting component, the device includes: An acquisition module, used for acquiring the working current of the roller brush during the cleaning process; A determination module, used for determining the movement trend of the cleaning device based on the working current of the roller brush; The control module is used to control the assisting component to assist the cleaning device in performing cleaning work based on the movement trend of the cleaning device.
9. A cleaning device, characterized in that: include: processor; a memory for storing processor-executable instructions; Wherein, the processor is configured to execute the control method of the cleaning device according to any one of claims 1 to 8.
10. A non-transitory computer-readable storage medium, characterized in that: When the instructions in the storage medium are executed by a processor of a cleaning device, the cleaning device is enabled to execute the method for controlling a cleaning device according to any one of claims 1 to 8.
