Cleaning equipment, dirt detection method thereof and computer readable storage medium
The method enhances dirt detection accuracy in cleaning equipment by using weighted dirtiness values and a sliding window algorithm, improving cleaning ability and automation through adaptive cleaning modes.
Patent Information
- Application Number
- CN202411188031.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-27
- Publication Date
- 2024-12-06
AI Technical Summary
Current dirt detection methods in cleaning equipment suffer from poor accuracy and sensitivity, leading to inadequate cleaning ability and automation.
A method involving weighted dirtiness values, a dirt threshold, and a sliding window algorithm to enhance dirt detection accuracy, enabling adaptive cleaning modes and self-cleaning based on real-time dirtiness assessment.
Improves the sensitivity and accuracy of dirt detection, enhancing the cleaning ability and automation level of cleaning equipment by ensuring the final dirtiness value reflects the current state accurately.
Smart Images

Figure CN119073846A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of cleaning equipment, and in particular to a cleaning equipment and a dirt detection method thereof, and a computer-readable storage medium. Background Art
[0002] With the rapid development of cleaning equipment, users have higher and higher requirements on the cleaning ability of cleaning equipment. Using dirt detection methods to detect the dirt value of the area to be cleaned can improve the cleaning ability and automation level of cleaning equipment.
[0003] However, in the field of cleaning equipment technology, the dirt values detected by the currently used dirt detection methods have poor accuracy, resulting in low sensitivity and accuracy of the cleaning equipment in responding to the degree of dirt, which in turn results in the cleaning equipment being unable to significantly improve its cleaning ability and degree of automation when using existing dirt detection methods.
[0004] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention
[0005] The present disclosure aims to provide a cleaning device and a dirt detection method thereof, and a computer-readable storage medium. The cleaning device and the dirt detection method thereof, and the computer-readable storage medium have high detection accuracy.
[0006] On the one hand, the present disclosure provides a method for detecting dirt on a cleaning device, comprising:
[0007] Selecting a plurality of dirtiness values continuously measured by the cleaning device to form a dirtiness value group, and assigning a weighted value to each dirtiness value; multiplying each dirtiness value by its corresponding weighted value to obtain a weighted dirtiness value corresponding to each dirtiness value, and summing each weighted dirtiness value to obtain a final dirtiness value;
[0008] Among them, in the dirt value group, the weighted value assigned to the last dirt value is greater than or equal to the weighted value assigned to the previous dirt value, and the sum of the weighted values assigned to each dirt value is equal to 1.
[0009] In an exemplary embodiment of the present disclosure, in the dirtiness value group, the dirtiness value at the last position is assigned the largest weighted value.
[0010] In an exemplary embodiment of the present disclosure, in the dirtiness value group, of any two adjacent dirtiness values, the dirtiness value closer to the last position is assigned a weighted value greater than the weighted value assigned to the dirtiness value closer to the first position.
[0011] In an exemplary embodiment of the present disclosure, the number of the dirtiness values included in the dirtiness value group is greater than or equal to 2 and less than or equal to 10.
[0012] In an exemplary embodiment of the present disclosure, in the dirtiness value group, the dirtiness value at the last position is assigned a weighted value greater than or equal to 0.2 and less than or equal to 0.9.
[0013] In an exemplary embodiment of the present disclosure, the dirt detection method further includes:
[0014] Set the dirt threshold;
[0015] Compare the final dirtiness value with the dirtiness threshold; when the final dirtiness value is greater than the dirtiness threshold, determine that the current dirtiness level is lower than the dirtiness level corresponding to the dirtiness threshold; when the final dirtiness value is less than the dirtiness threshold, determine that the current dirtiness level is higher than the dirtiness level corresponding to the dirtiness threshold.
[0016] In an exemplary embodiment of the present disclosure, the cleaning device comprises: a plurality of dirt indicator lights; the comparing the final dirt value with the dirt threshold comprises:
[0017] The ratio of the final dirtiness value to the dirtiness threshold is obtained, and the number of the dirtiness indicator lights that are lit is determined according to the ratio of the final dirtiness value to the dirtiness threshold.
[0018] In an exemplary embodiment of the present disclosure, the number of the dirt indicator lights that light up increases as the ratio of the final dirt value to the dirt threshold decreases.
[0019] In an exemplary embodiment of the present disclosure, the comparing the final dirtiness value with the dirtiness threshold value includes:
[0020] Setting a first threshold;
[0021] Obtain the ratio of the final dirtiness value to the dirtiness threshold; when the ratio of the final dirtiness value to the dirtiness threshold is greater than or equal to the first threshold, the cleaning device enters the standard cleaning mode for cleaning; when the ratio of the final dirtiness value to the dirtiness threshold is less than the first threshold, the cleaning device enters the deep cleaning mode for cleaning.
[0022] In an exemplary embodiment of the present disclosure, the first threshold is 0.5.
[0023] In an exemplary embodiment of the present disclosure, the comparing the final dirtiness value with the dirtiness threshold value includes:
[0024] setting a second threshold;
[0025] Obtain the ratio of the final dirtiness value to the dirtiness threshold; when the ratio of the final dirtiness value to the dirtiness threshold is greater than or equal to the second threshold, the cleaning device enters the standard self-cleaning mode for self-cleaning; when the ratio of the final dirtiness value to the dirtiness threshold is less than the second threshold, the cleaning device enters the deep self-cleaning mode for self-cleaning.
[0026] In an exemplary embodiment of the present disclosure, the cleaning device includes: a cleaning host and a base station;
[0027] When the ratio of the final dirtiness value to the dirtiness threshold is greater than or equal to the second threshold, the base station enters the standard self-cleaning mode to perform self-cleaning on the cleaning host; when the ratio of the final dirtiness value to the dirtiness threshold is less than the second threshold, the base station enters the deep self-cleaning mode to perform self-cleaning on the cleaning host.
[0028] In an exemplary embodiment of the present disclosure, the second threshold is 0.5.
[0029] In an exemplary embodiment of the present disclosure, after the cleaning device self-cleans, the step of setting the dirt threshold is re-executed, and the setting of the dirt threshold includes:
[0030] Use the cleaning equipment to collect a new dirtiness value;
[0031] The new dirtiness value is compared with the dirtiness threshold value, and when the ratio between the new dirtiness value and the dirtiness threshold value is within a preset range, the dirtiness threshold value is updated to the new dirtiness value.
[0032] In an exemplary embodiment of the present disclosure, when the ratio between the new dirtiness value and the dirtiness threshold is outside a preset range, the new dirtiness value is discarded and the dirtiness threshold is retained.
[0033] In an exemplary embodiment of the present disclosure, the preset range is greater than or equal to 0.5 and less than or equal to 1.5.
[0034] In an exemplary embodiment of the present disclosure, the dirt detection method further includes:
[0035] The dirtiness value set is updated.
[0036] In an exemplary embodiment of the present disclosure, updating the dirtiness value group includes:
[0037] The dirtiness value at the first position in the dirtiness value group is discarded, and the other dirtiness values in the dirtiness value group are all moved forward by one position;
[0038] The next dirtiness value newly collected by the cleaning device is selected and placed at the end of the dirtiness value group to update the dirtiness value group.
[0039] In an exemplary embodiment of the present disclosure, the dirtiness value group is updated using a sliding window algorithm.
[0040] In an exemplary embodiment of the present disclosure, setting the dirt threshold comprises:
[0041] When the cleaning device is not in use, a dirtiness value is detected by the cleaning device as an initial dirtiness threshold.
[0042] In an exemplary embodiment of the present disclosure, when the cleaning device is not in use, using the cleaning device to detect a dirtiness value as an initial dirtiness threshold comprises:
[0043] When the cleaning equipment is completed in production and assembly, an empty pipe detection is performed on the cleaning equipment;
[0044] The dirtiness value detected by the empty pipe is set as the initial dirtiness threshold.
[0045] Another aspect of the present disclosure provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed, implements any of the above-mentioned dirt detection methods.
[0046] In another aspect, the present disclosure provides a cleaning device, comprising:
[0047] A processing module, wherein the processing module is configured to select a plurality of dirtiness values continuously measured by the cleaning device to form a dirtiness value group, and assign a weighted value to each dirtiness value; multiply each of the dirtiness values by its corresponding weighted value to obtain a weighted dirtiness value corresponding to each of the dirtiness values, and sum each of the weighted dirtiness values to obtain a final dirtiness value;
[0048] Among them, in the dirt value group, the weighted value assigned to the last dirt value is greater than or equal to the weighted value assigned to the previous dirt value, and the sum of the weighted values assigned to each dirt value is equal to 1.
[0049] In an exemplary embodiment of the present disclosure, the cleaning device further comprises:
[0050] A threshold setting module, wherein the threshold setting module is configured to set a dirt threshold;
[0051] A comparison module is connected to the threshold setting module and the processing module, and the comparison module is configured to compare the final dirtiness value with the dirtiness threshold; when the final dirtiness value is greater than the dirtiness threshold, it is determined that the current dirtiness level is lower than the dirtiness level corresponding to the dirtiness threshold; when the final dirtiness value is less than the dirtiness threshold, it is determined that the current dirtiness level is higher than the dirtiness level corresponding to the dirtiness threshold.
[0052] In an exemplary embodiment of the present disclosure, the cleaning device further comprises:
[0053] Multiple dirty indicator lights;
[0054] A control module is connected to the comparison module and the plurality of dirt indicator lights, and the control module is configured to determine the number of the dirt indicator lights that are lit according to a ratio of the final dirt value to the dirt threshold.
[0055] In an exemplary embodiment of the present disclosure, the control module is further configured to control the cleaning device to enter a standard cleaning mode or a deep cleaning mode according to a ratio of the final dirtiness value to the dirtiness threshold.
[0056] In an exemplary embodiment of the present disclosure, the control module is further configured to: control the cleaning device to enter a standard self-cleaning mode or a deep self-cleaning mode according to a ratio of the final dirtiness value to the dirtiness threshold.
[0057] In an exemplary embodiment of the present disclosure, the cleaning device includes: a cleaning host and a base station;
[0058] The control module is further configured to control the base station to enter a standard self-cleaning mode or a deep self-cleaning mode according to a ratio of the final dirtiness value to the dirtiness threshold.
[0059] In an exemplary embodiment of the present disclosure, the threshold setting module is further configured to: after the cleaning device self-cleans, update or retain the dirt threshold according to the dirt threshold and the new dirt value collected by the cleaning device.
[0060] In an exemplary embodiment of the present disclosure, the cleaning device further comprises:
[0061] A collection module is configured to collect dirt values and is connected to the processing module.
[0062] In an exemplary embodiment of the present disclosure, the cleaning device further comprises:
[0063] A sewage inlet pipe, wherein the collection module is located at the sewage inlet pipe, and the collection module collects the dirtiness value in the sewage inlet pipe.
[0064] In an exemplary embodiment of the present disclosure, the acquisition module includes:
[0065] Infrared transmitter;
[0066] Infrared receiver, the infrared transmitter and the infrared receiver are located on both sides of the sewage inlet pipe and are arranged opposite to each other.
[0067] The technical solution provided by the present disclosure can achieve the following beneficial effects:
[0068] The present disclosure provides a dirt detection method for a cleaning device, by assigning a weighted value to each dirt value, and multiplying each dirt value by its corresponding weighted value to obtain a weighted dirt value corresponding to each dirt value, and summing up each weighted dirt value to obtain a final dirt value. The weighted value assigned to the dirt value at the last position is greater than or equal to the weighted value assigned to the dirt value at the previous position.
[0069] Such a setting can make the final dirtiness value obtained closer to reality and more in line with the dirtiness situation in the current state, so as to avoid the problem of jitter of the measured dirtiness value due to instability of the cleaning equipment during movement, and also avoid the problem of the measured dirtiness value not being consistent with the actual dirtiness situation due to jitter of the dirtiness value.
[0070] Therefore, the present disclosure can make the dirtiness value detected by the above method more accurate, can improve the sensitivity and accuracy of the cleaning equipment using the method to the degree of dirtiness, and further can improve the cleaning ability and automation level of the cleaning equipment using the method.
[0071] 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
[0072] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification are used to explain the principles of the present disclosure. Obviously, the accompanying drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without creative work.
[0073] Figure 1 A schematic flow chart of a dirt detection method for a cleaning device according to an exemplary embodiment of the present disclosure is shown;
[0074] Figure 2 A schematic flow chart of a dirt detection method for a cleaning device according to another exemplary embodiment of the present disclosure is shown;
[0075] Figure 3 A schematic flow chart of a dirt detection method for a cleaning device according to another exemplary embodiment of the present disclosure is shown;
[0076] Figure 4 A schematic flow chart of a dirt detection method for a cleaning device according to another exemplary embodiment of the present disclosure is shown;
[0077] Figure 5 A schematic diagram of updating a dirtiness value group according to an exemplary embodiment of the present disclosure is shown;
[0078] Figure 6 A schematic diagram of structural modularization of a cleaning device according to an exemplary embodiment of the present disclosure is shown;
[0079] Figure 7 A schematic diagram showing the position of a collection module according to an exemplary embodiment of the present disclosure is shown.
[0080] Description of reference numerals:
[0081] 1. Cleaning equipment; 2. Processing module; 3. Threshold setting module; 4. Comparison module; 5. Dirt indicator light; 6. Control module; 7. Collection module; 71. Infrared transmitter; 72. Infrared receiver; 8. Sewage inlet pipe. DETAILED DESCRIPTION
[0082] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will be comprehensive and complete and will fully convey the concepts of the example embodiments to those skilled in the art. The same reference numerals in the figures represent the same or similar structures, and thus their detailed description will be omitted.
[0083] Although relative terms such as "upper" and "lower" are used in this specification to describe the relative relationship of one component of the illustration to another component, these terms are used in this specification only for convenience, such as according to the orientation of the examples described in the drawings. It is understood that if the device of the illustration is turned upside down, the component described as "upper" will become the component "lower". When a structure is "on" other structures, it may mean that the structure is formed integrally on the other structure, or that the structure is "directly" disposed on the other structure, or that the structure is "indirectly" disposed on the other structure through another structure.
[0084] The terms "a", "an", "the", and "said" are used to indicate the presence of one or more elements / components / etc.; the terms "including" and "having" are used to express an open-ended inclusion and mean that additional elements / components / etc. may exist in addition to the listed elements / components / etc.; the terms "first" and "second", etc. are used merely as labels and are not intended to limit the quantity of their objects.
[0085] The present disclosure first provides a method for detecting dirt on a cleaning device. The cleaning device may include but is not limited to: a floor scrubber, a floor sweeper, a floor sweeping robot, a vacuum cleaner, etc. Figures 1 to 5 As shown, the dirt detection method of the cleaning device may include:
[0086] Step S10, select multiple dirtiness values continuously measured by the cleaning equipment to form a dirtiness value group, and assign a weighted value to each dirtiness value; multiply each dirtiness value by its corresponding weighted value to obtain a weighted dirtiness value corresponding to each dirtiness value, and sum each weighted dirtiness value to obtain a final dirtiness value.
[0087] In the dirtiness value group, the weighted value assigned to the last dirtiness value is greater than or equal to the weighted value assigned to the previous dirtiness value, and the sum of the weighted values assigned to each dirtiness value is equal to 1.
[0088] For example: when the dirtiness value group includes three dirtiness values, the weighted value assigned to the first dirtiness value can be 0.3, the weighted value assigned to the second dirtiness value can be 0.3, and the weighted value assigned to the last dirtiness value can be 0.4; or, the weighted value assigned to the first dirtiness value can be 0.2, the weighted value assigned to the second dirtiness value can be 0.4, the weighted value assigned to the last dirtiness value can be 0.4, and so on.
[0089] The dirt detection method for a cleaning device provided by the present invention can make the final dirt value obtained closer to reality and more in line with the dirt situation in the current state, so as to avoid the problem of jitter in the measured dirt value due to instability of the cleaning device during movement, and also avoid the problem of the measured dirt value not being consistent with the actual dirt situation due to jitter in the dirt value.
[0090] Therefore, the present disclosure can make the dirtiness value detected by the above method more accurate, can improve the sensitivity and accuracy of the cleaning equipment using the method to the degree of dirtiness, and further can improve the cleaning ability and automation level of the cleaning equipment using the method.
[0091] The above steps are described in detail below:
[0092] In step S10, multiple dirtiness values continuously measured by the cleaning device may be selected to form a dirtiness value group, and a weighted value may be assigned to each dirtiness value. In the dirtiness value group, the dirtiness value at the end is assigned the largest weighted value. For example, when the dirtiness value group includes three dirtiness values, the weighted value assigned to the dirtiness value at the first position may be 0.3, the weighted value assigned to the dirtiness value at the second position may be 0.3, the weighted value assigned to the dirtiness value at the end may be 0.4, and so on.
[0093] Such a setting can make the final dirtiness value closer to the dirtiness value measured when the cleaning device is in the current state, so that the final dirtiness value can be closer to the current dirtiness degree of the cleaning device while weighting each dirtiness value to eliminate the dirtiness value jitter factor, further improving the accuracy of the final dirtiness value. In this way, the sensitivity and accuracy of the cleaning device using the dirtiness detection method to the dirtiness degree can be further improved, and then the cleaning ability and automation degree of the cleaning device using the dirtiness detection method can be further improved.
[0094] In one embodiment, in the dirtiness value group, in any two adjacent dirtiness value groups, the weighted value assigned to the dirtiness value closer to the last position may be greater than the weighted value assigned to the dirtiness value closer to the first position. That is, it can be understood that in the dirtiness value group, the weighted values assigned to the dirtiness values measured later are all greater than the weighted values assigned to the dirtiness values measured earlier. For example, when the dirtiness value group includes three dirtiness values, the weighted value assigned to the dirtiness value at the second position is greater than the weighted value assigned to the dirtiness value at the first position, and the weighted value assigned to the dirtiness value at the last position is greater than the weighted value assigned to the dirtiness value at the second position. With such a setting, the final dirtiness value obtained can be closer to the dirtiness value measured in the current state of the cleaning device.
[0095] In one embodiment, in the dirtiness value group, the weighted value assigned to the last dirtiness value may be greater than or equal to 0.2. This setting can avoid the problem of inaccurate final dirtiness value calculated due to the last dirtiness value being assigned too small a weighted value, and can ensure that the final dirtiness value is closer to the dirtiness value measured in the current state of the cleaning device. In addition, this setting can make data feedback faster and further improve the sensitivity of the cleaning device.
[0096] The weighted value assigned to the last dirtiness value may be less than or equal to 0.9. This setting can avoid the situation where the weighted value assigned to the last dirtiness value is too large, which causes the weighted values assigned to the remaining dirtiness values to be too small, and can also ensure that the final dirtiness value obtained will not be affected by the dirtiness value jitter, thereby ensuring the accuracy of the final dirtiness value.
[0097] In this embodiment, the weighted value assigned to the last dirtiness value may be greater than or equal to 0.4 and less than or equal to 0.6, for example: 0.4, 0.45, 0.5, 0.55, 0.6, etc. This setting can ensure that the final dirtiness value obtained is the most accurate while making data feedback faster.
[0098] like Figure 5 As shown, the number of dirtiness values that can be included in the dirtiness value group can be greater than or equal to 2, so as to ensure that there is a sufficient number of samples in the weighted calculation to eliminate the influence of dirtiness value jitter on the accuracy of the final dirtiness value.
[0099] Furthermore, the number of dirt values that can be included in the dirt value group can be less than or equal to 10. This arrangement can avoid the problem of excessive data feedback delay due to a large number of samples, so that the cleaning device can receive data feedback in time, thereby improving the sensitivity of the cleaning device.
[0100] In one embodiment of the present disclosure, Figure 2 and Figure 4 As shown, the dirt detection method provided by the present disclosure may also include:
[0101] Step S20, setting a dirt threshold;
[0102] Step S30, compare the final dirtiness value with the dirtiness threshold; when the final dirtiness value is greater than the dirtiness threshold, determine that the current dirtiness level is lower than the dirtiness level corresponding to the dirtiness threshold; when the final dirtiness value is less than the dirtiness threshold, determine that the current dirtiness level is higher than the dirtiness level corresponding to the dirtiness threshold.
[0103] In step S20, a dirt threshold may be set. Specifically, when the cleaning device is not in use, a dirt value may be detected by the cleaning device as an initial dirt threshold. Since the cleaning device is not dirty when it is not in use, the dirt value detected when the cleaning device is not in use is set as the initial dirt threshold, which can ensure that the initial reference value is accurate, so as to provide a more accurate reference for subsequent cleaning and self-cleaning of the cleaning device.
[0104] In one embodiment, an empty pipe detection can be performed on the cleaning equipment when the cleaning equipment has completed production and assembly. The dirtiness value detected by the empty pipe can be set as the initial dirtiness threshold. Since the cleaning equipment can be ensured to be free of dirt when it has just completed production and assembly, and the relative installation positions of the various components of the cleaning equipment are fixed, the dirtiness value detected by the empty pipe is set as the initial dirtiness threshold, and the initial reference value can be made more accurate. In addition, since the hardware of each cleaning equipment cannot be guaranteed to be completely consistent, the initial dirtiness threshold is set by the above-mentioned empty pipe detection method, which can eliminate the influence of hardware differences of different cleaning equipment, so that different cleaning equipment can have their accurate initial dirtiness thresholds.
[0105] In one embodiment of the present disclosure, the cleaning device may include: a plurality of dirt indicator lights. In the above step S30, the ratio of the final dirt value to the dirt threshold value may be obtained, and the number of lit dirt indicator lights may be determined according to the ratio of the final dirt value to the dirt threshold value. In this way, the user may intuitively judge the degree of dirtiness of the cleaning device at this time by the number of lit dirt indicator lights, and intuitively distinguish between the cleaning mode and the self-cleaning mode of the cleaning device at this time.
[0106] In one embodiment, the number of the above-mentioned dirty indicator lights that light up can increase as the ratio of the final dirty value to the dirty threshold value decreases. For example: the cleaning device can include 9 dirty indicator lights, and when the ratio of the final dirty value to the dirty threshold value is greater than or equal to 0.8, 1 dirty indicator light can be lit; when the ratio of the final dirty value to the dirty threshold value is greater than or equal to 0.6, and less than 0.8, 3 dirty indicator lights can be lit; when the ratio of the final dirty value to the dirty threshold value is greater than or equal to 0.4, and less than 0.6, 5 dirty indicator lights can be lit; when the ratio of the final dirty value to the dirty threshold value is greater than or equal to 0.2, and less than 0.4, 7 dirty indicator lights can be lit; when the ratio of the final dirty value to the dirty threshold value is less than 0.2, 9 dirty indicator lights can be lit.
[0107] However, the present invention is not limited thereto. The present embodiment does not impose any specific restriction on the number of dirt indicator lights included in the cleaning device, and does not impose any specific restriction on the division of the ratio value range and the number of dirt indicator lights corresponding to each ratio range. As long as the number of lit dirt indicator lights increases as the ratio of the final dirt value to the dirt threshold decreases, it can be set according to actual needs, which is within the protection scope of the present disclosure.
[0108] In another embodiment, the number of the above-mentioned dirty indicator lights that light up can decrease as the ratio of the final dirty value to the dirty threshold value decreases. For example: the cleaning device can include 9 dirty indicator lights. When the ratio of the final dirty value to the dirty threshold value is greater than or equal to 0.8, 9 dirty indicator lights can be lit; when the ratio of the final dirty value to the dirty threshold value is greater than or equal to 0.6 and less than 0.8, 7 dirty indicator lights can be lit; when the ratio of the final dirty value to the dirty threshold value is greater than or equal to 0.4 and less than 0.6, 5 dirty indicator lights can be lit; when the ratio of the final dirty value to the dirty threshold value is greater than or equal to 0.2 and less than 0.4, 3 dirty indicator lights can be lit; when the ratio of the final dirty value to the dirty threshold value is less than 0.2, 1 dirty indicator light can be lit.
[0109] However, the present invention is not limited thereto. The present embodiment does not impose any specific restriction on the number of dirt indicator lights included in the cleaning device, and does not impose any specific restriction on the division of the ratio value range and the number of dirt indicator lights corresponding to each ratio range. As long as the number of lit dirt indicator lights can be reduced as the ratio of the final dirt value to the dirt threshold decreases, it can be set according to actual needs, which is within the protection scope of the present disclosure.
[0110] In one embodiment of the present disclosure, in the above step S30, a first threshold value can be set. The ratio of the final dirtiness value to the dirtiness threshold value can be obtained. When the ratio of the final dirtiness value to the dirtiness threshold value is greater than or equal to the first threshold value, the cleaning device enters the standard cleaning mode for cleaning; when the ratio of the final dirtiness value to the dirtiness threshold value is less than the first threshold value, the cleaning device enters the deep cleaning mode for cleaning. Among them, the cleaning power of the cleaning device in the deep cleaning mode is greater than its cleaning power in the standard cleaning mode. Such a setting can enable the cleaning device to automatically switch the cleaning mode according to the degree of dirtiness, thereby improving the degree of automation of the cleaning device. In addition, when the operator manually judges the degree of dirtiness, the accuracy of the judgment is often low, so that the operator cannot accurately switch the cleaning mode of the cleaning device according to the degree of dirtiness. Therefore, the present disclosure is through the above setting. The cleaning device can accurately switch the cleaning mode according to the degree of dirtiness, which effectively solves the problem of inaccurate manual switching.
[0111] The first threshold value may be 0.5. This setting can make the switching of the cleaning mode more reasonable, so that the cleaning power of the cleaning device is more matched with the degree of dirtiness, thereby avoiding the problem of excessive cleaning power when using the deep cleaning mode, and also avoiding the problem of excessive ineffective power consumption of the cleaning device due to excessive cleaning power. However, it is not limited to this, and the first threshold value may also be other values, which can be set according to actual conditions, all of which are within the scope of protection of the present disclosure.
[0112] In one embodiment of the present disclosure, in the above step S30, a second threshold value can be set. The ratio of the final dirtiness value to the dirtiness threshold value can be obtained. When the ratio of the final dirtiness value to the dirtiness threshold value is greater than or equal to the second threshold value, the cleaning device enters the standard self-cleaning mode for self-cleaning; when the ratio of the final dirtiness value to the dirtiness threshold value is less than the second threshold value, the cleaning device enters the deep self-cleaning mode for self-cleaning. Among them, the self-cleaning force of the cleaning device in the deep self-cleaning mode is greater than its self-cleaning force in the standard self-cleaning mode. Such a setting can enable the cleaning device to automatically switch the self-cleaning mode according to the degree of dirtiness, thereby further improving the degree of automation of the cleaning device. In addition, since the operator switches the self-cleaning mode of the cleaning device according to the degree of dirtiness manually judged, the accuracy is often low. Therefore, the present disclosure is through the above setting. The cleaning device can accurately switch the self-cleaning mode according to the degree of dirtiness, effectively solving the problem of inaccurate manual switching.
[0113] In one embodiment, the cleaning device may include: a cleaning host and a base station. The functions of the base station include but are not limited to cleaning, replenishing water or charging the cleaning host.
[0114] In step S30, when the ratio of the final dirtiness value to the dirtiness threshold is greater than or equal to the second threshold, the base station can enter the standard self-cleaning mode to self-clean the cleaning host; when the ratio of the final dirtiness value to the dirtiness threshold is less than the second threshold, the base station can enter the deep self-cleaning mode to self-clean the cleaning host. This setting enables the base station to automatically self-clean the cleaning host to ensure its subsequent normal operation. In addition, the base station can accurately switch the self-cleaning mode, effectively solving the problem of inaccurate manual switching.
[0115] The second threshold value may be 0.5. This setting can make the switching of the cleaning mode more reasonable, so that the self-cleaning power of the cleaning device is more matched with the degree of dirtiness, thereby avoiding the problem of excessive self-cleaning power when using the deep self-cleaning mode, and also avoiding the problem of excessive ineffective power consumption of the cleaning device due to excessive self-cleaning power. However, it is not limited to this, and the second threshold value may also be other values, which can be set according to actual conditions, all of which are within the scope of protection of the present disclosure.
[0116] In one embodiment, in step S30, the ratio of the final dirtiness value to the dirtiness threshold value can be obtained, and the number of lit dirtiness indicator lights can be determined according to the ratio of the final dirtiness value to the dirtiness threshold value. In addition, a first threshold value can be set. When the ratio of the final dirtiness value to the dirtiness threshold value is greater than or equal to the first threshold value, the cleaning device enters the standard cleaning mode for cleaning; when the ratio of the final dirtiness value to the dirtiness threshold value is less than the first threshold value, the cleaning device enters the deep cleaning mode for cleaning. Thus, in this embodiment, the number of lit dirtiness indicator lights can correspond to the cleaning mode of the cleaning device, so that the user can intuitively understand the cleaning mode currently switched by the cleaning device through the number of lit dirtiness indicator lights.
[0117] In one embodiment, in step S30, the ratio of the final dirtiness value to the dirtiness threshold value can be obtained, and the number of lit dirtiness indicator lights can be determined according to the ratio of the final dirtiness value to the dirtiness threshold value. In addition, a second threshold value can be set. When the ratio of the final dirtiness value to the dirtiness threshold value is greater than or equal to the second threshold value, the cleaning device enters the standard self-cleaning mode for self-cleaning; when the ratio of the final dirtiness value to the dirtiness threshold value is less than the second threshold value, the cleaning device enters the deep self-cleaning mode for self-cleaning. Thus, this embodiment can correspond the number of lit dirtiness indicator lights to the self-cleaning mode of the cleaning device, so that the user can intuitively understand the self-cleaning mode currently switched by the cleaning device through the number of lit dirtiness indicator lights.
[0118] In one embodiment, in step S30, the ratio of the final dirtiness value to the dirtiness threshold value can be obtained, and the number of dirtiness indicator lights that are lit can be determined according to the ratio of the final dirtiness value to the dirtiness threshold value. In addition, a first threshold value and a second threshold value can be set. When the ratio of the final dirtiness value to the dirtiness threshold value is greater than or equal to the first threshold value, the cleaning device enters the standard cleaning mode for cleaning; when the ratio of the final dirtiness value to the dirtiness threshold value is less than the first threshold value, the cleaning device enters the deep cleaning mode for cleaning; when the ratio of the final dirtiness value to the dirtiness threshold value is greater than or equal to the second threshold value, the cleaning device enters the standard self-cleaning mode for self-cleaning; when the ratio of the final dirtiness value to the dirtiness threshold value is less than the second threshold value, the cleaning device enters the deep self-cleaning mode for self-cleaning.
[0119] In one embodiment of the present disclosure, after the cleaning device self-cleans, the step of setting the dirtiness threshold is re-executed, that is, step S10 is re-executed. In the re-executed step S10, a new dirtiness value can be collected by using the cleaning device. The new dirtiness value can be compared with the dirtiness threshold, and when the ratio between the new dirtiness value and the dirtiness threshold is within a preset range, the dirtiness threshold is updated to the new dirtiness value.
[0120] As the cleaning device is used, the collection module will gradually age, which will cause inconsistencies in the dirt value data collected. In addition, the collection position will gradually wear out as the cleaning device is used. At this time, when the collection module collects the dirt value of the collection position, it will also cause inconsistencies in the collected dirt value data. Therefore, the present disclosure can enable the cleaning device to self-calibrate the dirt threshold in real time through the above-mentioned settings, avoiding the problem that the dirt value data collected by the collection module does not match the previously set dirt threshold due to the wear of the collection position and the aging of the collection module, so that the calibrated dirt threshold can be consistent with the dirt value data collected by the current collection module, and the current final dirt value and dirt threshold can be compared more accurately in the future, so as to more accurately judge the current degree of dirtiness.
[0121] In one embodiment, when the ratio between the new dirtiness value and the dirtiness threshold is outside the preset range, the new dirtiness value is discarded and the dirtiness threshold is retained. That is, it can be understood that when the ratio between the new dirtiness value and the dirtiness threshold is outside the preset range, it can be considered that the cleaning device is not self-cleaning at this time, or there is an obstruction blocking the collection module, so the new dirtiness value at this time is not the accurate dirtiness value when the cleaning device is self-cleaning. In order to ensure the accuracy of subsequent comparison and judgment, it is necessary to discard this new dirtiness value and retain the previously set dirtiness threshold.
[0122] The above-mentioned preset range can be a range greater than or equal to 0.5 and less than or equal to 1.5, for example: 0.5, 0.6, 0.7, 0.8, 0.9, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, etc. That is, when the ratio between the new dirtiness value and the dirtiness threshold is greater than or equal to 0.5 and less than or equal to 1.5, the dirtiness threshold can be updated to the dirtiness value. When the ratio between the new dirtiness value and the dirtiness threshold is less than 0.5 or greater than 1.5, the new dirtiness value needs to be discarded and the original dirtiness threshold is retained. In this way, the calibrated dirtiness threshold can be more consistent with the dirtiness value data collected by the current acquisition module, further ensuring the accuracy of subsequent comparison and judgment of the degree of dirtiness. However, it is not limited to this, and the above-mentioned preset range can also be other ranges, which can be selected and set according to actual conditions.
[0123] In one embodiment of the present disclosure, Figures 3 to 5 As shown, the dirt detection method may further include:
[0124] Step S40, updating the dirtiness value group. In this way, the updated dirtiness value group can be used to obtain a new final dirtiness value, so as to ensure that the new dirtiness value group meets the current dirtiness level of the cleaning device and ensure the accuracy of subsequent comparison and judgment of the current dirtiness level.
[0125] In one embodiment, after executing step S40, step S10 may be re-executed.
[0126] In the above step S40, if Figure 5 As shown, the dirtiness value at the first position in the dirtiness value group can be discarded, and the other dirtiness values in the dirtiness value group can be moved forward one position, and the next dirtiness value newly collected by the cleaning device can be selected and placed at the end of the dirtiness value group to update the dirtiness value group. This setting can make the dirtiness value collection data curve smoother, thereby improving the data feedback speed and ensuring the continuity of dirtiness detection. At the same time, this setting can make the final dirtiness value obtained more consistent with the current dirtiness level of the cleaning device, further ensuring the accuracy of subsequent comparison and judgment of the current dirtiness level.
[0127] In this embodiment, the sliding window algorithm can be used to update the dirt value group. Specifically, multiple continuous windows can be set, each window corresponds to a dirt value, the first window corresponds to the first dirt value measured first, the last window corresponds to the last dirt value measured last, and so on. When executing step S40, the dirt value in the first window can be discarded, and the dirt values in the subsequent windows can be uniformly moved forward one grid to vacate the last window. At this time, each newly measured dirt value can be placed in the last window. Such a setting can further ensure the smoothness of the dirt value acquisition data curve, further improve the data feedback speed, and further ensure the continuity of dirt detection. At the same time, it can further make the final dirt value obtained more consistent with the current dirtiness of the cleaning equipment, and further ensure the accuracy of subsequent comparison and judgment of the current dirtiness.
[0128] The size of each window may be between 200ms and 500ms, so as to avoid the problem of feedback delay caused by an overly large window. However, the size of each window may also be other values, which may be set according to actual conditions.
[0129] It should be noted that the above-mentioned figures are only schematic illustrations of the steps included in the method according to the embodiment of the present disclosure, and are not intended to limit the purpose. It is easy to understand that the steps shown in the above-mentioned figures do not indicate or limit the time sequence of these processes. In addition, it is also easy to understand that these steps can be, for example, executed synchronously or asynchronously in multiple modules.
[0130] In an embodiment of the present disclosure, a computer-readable storage medium is also provided, on which a program product capable of implementing the above method of the present specification is stored. In some possible implementations, various aspects of the present disclosure can also be implemented in the form of a program product, which includes a program code, and when the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps according to various exemplary implementations of the present disclosure described in the above "Exemplary Method" section of the present specification.
[0131] According to the program product for implementing the above method in the embodiment of the present disclosure, it can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be run on a terminal device, such as a personal computer. However, the program product of the present disclosure is not limited thereto. In this document, a readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, an apparatus or a device.
[0132] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0133] Computer readable signal media may include data signals propagated in baseband or as part of a carrier wave, in which readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Readable signal media may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0134] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.
[0135] Program code for performing the operations of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).
[0136] like Figure 6 and Figure 7 As shown, the present disclosure provides a cleaning device 1 on another aspect. The cleaning device 1 includes but is not limited to: a floor scrubber, a floor sweeper, a floor sweeping robot, a vacuum cleaner, etc. The cleaning device 1 can apply the dirt detection method of the cleaning device 1 described above.
[0137] The cleaning device 1 provided by the present disclosure may include: a processing module 2. The processing module 2 may be configured to select a plurality of dirt values continuously measured by the cleaning device 1 to form a dirt value group, and assign a weighted value to each dirt value, and the sum of the weighted values assigned to each dirt value is equal to 1, and each dirt value is multiplied by its corresponding weighted value to obtain the weighted dirt value corresponding to each dirt value, and each weighted dirt value is summed to obtain the final dirt value. Wherein, in the dirt value group, the dirt value at the last position is assigned a weighted value greater than or equal to the weighted value assigned to the dirt value at the previous position.
[0138] Such a setting can make the final dirtiness value obtained closer to reality and more in line with the dirtiness situation in the current state, so as to avoid the problem of jitter of the measured dirtiness value due to instability of the cleaning device 1 during movement, and also avoid the problem of the measured dirtiness value not being consistent with the actual dirtiness situation due to jitter of the dirtiness value.
[0139] Therefore, the dirtiness value detected by the cleaning device 1 provided by the present disclosure has a higher accuracy, which can improve the sensitivity and accuracy of the cleaning device 1 in responding to the degree of dirtiness, and further improve the cleaning ability and degree of automation of the cleaning device 1.
[0140] In one embodiment of the present disclosure, the cleaning device 1 may further include: a threshold setting module 3 and a comparison module 4 .
[0141] The threshold setting module 3 may be configured to set a dirt threshold. The comparison module 4 may be connected to the threshold setting module 3 and the processing module 2, and the comparison module 4 is configured to compare the final dirt value with the dirt threshold; when the final dirt value is greater than the dirt threshold, it is determined that the current dirt level is lower than the dirt level corresponding to the dirt threshold; when the final dirt value is less than the dirt threshold, it is determined that the current dirt level is higher than the dirt level corresponding to the dirt threshold.
[0142] In one embodiment of the present disclosure, the cleaning device 1 further includes: a plurality of dirt indicator lights 5 and a control module 6. The control module 6 may be connected to the comparison module 4 and the plurality of dirt indicator lights 5, and the control module 6 may be configured to determine the number of the dirt indicator lights 5 that light up according to the ratio of the final dirt value to the dirt threshold.
[0143] In one embodiment, the control module 6 may also be configured to control the cleaning device 1 to enter a standard cleaning mode or a deep cleaning mode according to the ratio of the final dirtiness value to the dirtiness threshold value.
[0144] The control module 6 may also be configured to control the cleaning device 1 to enter a standard self-cleaning mode or a deep self-cleaning mode according to the ratio of the final dirtiness value to the dirtiness threshold value.
[0145] The cleaning device 1 may further include: a cleaning host and a base station. The control module 6 may further be configured to: control the base station to enter a standard self-cleaning mode or a deep self-cleaning mode according to the ratio of the final dirtiness value to the dirtiness threshold.
[0146] In one embodiment, the threshold setting module 3 may also be configured to update or retain the dirt threshold according to the dirt threshold and a new dirt value collected by the cleaning device 1 after the cleaning device 1 performs self-cleaning.
[0147] In one embodiment of the present disclosure, the cleaning device 1 may further include: a collection module 7. The collection module 7 may be configured to collect dirtiness values, and the collection module 7 may be connected to the processing module 2 to transmit the collected dirtiness values to the processing module 2.
[0148] like Figure 6 and Figure 7 As shown, the cleaning device 1 may further include: a sewage inlet pipe 8. The collection module 7 may be located at the sewage inlet pipe 8, and the collection module 7 collects the dirtiness value in the sewage inlet pipe 8. Since dirt enters the interior of the cleaning device 1 through the sewage inlet pipe 8, and it is easier for dirt to accumulate at the sewage inlet pipe 8. Therefore, in this embodiment, the collection device is arranged at the sewage inlet pipe 8 and collects the dirtiness value in the sewage inlet pipe 8, so that the dirtiness value collected can more accurately represent the current dirtiness of the cleaning device 1.
[0149] In this embodiment, the collection module 7 may include: an infrared transmitter 71 and an infrared receiver 72. The infrared transmitter 71 and the infrared receiver 72 may be located on both sides of the sewage inlet pipe 8 and arranged opposite to each other. However, the collection module 7 is not limited thereto, and may be other types of collection modules 7 instead of an infrared collection module, and may be selected and arranged according to actual conditions, which are all within the scope of protection of the present disclosure.
[0150] In addition, it should be noted that since the cleaning device 1 provided by the present disclosure applies the above-mentioned dirt detection method of the cleaning device 1, the specific method steps and beneficial effects performed by each module will no longer be explained in this subject. You can refer to the corresponding specific description in the above-mentioned dirt detection method of the cleaning device 1, which is also within the protection scope of the present disclosure.
[0151] 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, which 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 intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the appended claims.
Claims
1. A method for detecting dirtiness of a cleaning device, characterized in that: include: Selecting a plurality of dirtiness values continuously measured by the cleaning device to form a dirtiness value group, and assigning a weighted value to each dirtiness value; Multiplying each of the dirtiness values and its corresponding weighted value respectively to obtain a weighted dirtiness value corresponding to each of the dirtiness values, and summing up the weighted dirtiness values to obtain a final dirtiness value; Among them, in the dirt value group, the weighted value assigned to the last dirt value is greater than or equal to the weighted value assigned to the previous dirt value, and the sum of the weighted values assigned to each dirt value is equal to 1.
2. The method for detecting dirt on a cleaning device according to claim 1, characterized in that: In the dirt value group, the dirt value at the end is assigned the largest weighted value.
3. The method for detecting dirt on a cleaning device according to claim 2, characterized in that: In the contamination value group, of any two adjacent contamination values, the contamination value closer to the last digit is assigned a weighted value greater than the weighted value closer to the first digit.
4. The dirt detection method according to any one of claims 1 to 3, characterized in that: The number of the dirtiness values included in the dirtiness value group is greater than or equal to 2 and less than or equal to 10.
5. The dirt detection method according to claim 2 or 3, characterized in that: In the dirt value group, the dirt value at the last position is assigned a weighted value greater than or equal to 0.2 and less than or equal to 0.
9.
6. The dirt detection method according to any one of claims 1 to 3, characterized in that: The dirt detection method further comprises: Set the dirt threshold; Compare the final dirtiness value with the dirtiness threshold; when the final dirtiness value is greater than the dirtiness threshold, determine that the current dirtiness level is lower than the dirtiness level corresponding to the dirtiness threshold; when the final dirtiness value is less than the dirtiness threshold, determine that the current dirtiness level is higher than the dirtiness level corresponding to the dirtiness threshold.
7. The dirt detection method according to claim 6, characterized in that: The cleaning device comprises: a plurality of dirt indicator lights; the comparing the final dirt value with the dirt threshold comprises: The ratio of the final dirtiness value to the dirtiness threshold is obtained, and the number of the dirtiness indicator lights that are lit is determined according to the ratio of the final dirtiness value to the dirtiness threshold.
8. The dirt detection method according to claim 7, characterized in that: The number of the dirt indicator lights that light up increases as the ratio of the final dirt value to the dirt threshold decreases.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed, the dirt detection method described in any one of claims 1 to 8 is implemented.
10. A cleaning device, characterized in that: include: A processing module, wherein the processing module is configured to select a plurality of dirtiness values continuously measured by the cleaning device to form a dirtiness value group, and assign a weighted value to each dirtiness value; Multiplying each of the dirtiness values and its corresponding weighted value respectively to obtain a weighted dirtiness value corresponding to each of the dirtiness values, and summing up the weighted dirtiness values to obtain a final dirtiness value; Among them, in the dirt value group, the weighted value assigned to the last dirt value is greater than or equal to the weighted value assigned to the previous dirt value, and the sum of the weighted values assigned to each dirt value is equal to 1.
