Barrel body state detection method, system and equipment of cleaning device and medium
By using a combination of detection electrodes and resistors in the cleaning device, the detection circuit collects voltage to determine the status of the barrel body, solving the problems of equipment failure and reduced cleaning effect caused by improper installation of the sewage barrel, and achieving high-precision barrel body status detection.
Patent Information
- Application Number
- CN202510792114.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-12
- Publication Date
- 2025-10-10
AI Technical Summary
In the prior art, improper installation or failure to clean the sewage bucket of the cleaning device in a timely manner may lead to sewage overflow, equipment failure or reduced cleaning effect, and the existing detection method has poor accuracy.
A first detection electrode and a second detection electrode are connected to a first resistor, and voltage is collected through a detection circuit. The first preset voltage threshold and the second preset voltage threshold are used to determine whether the barrel body is in place and whether the water level has reached a preset height. Multiple detections and accumulated time are combined to improve detection accuracy.
It improves the accuracy and reliability of barrel status detection, reduces detection complexity, ensures the correct installation and timely cleaning of sewage barrels, and improves user experience.
Smart Images

Figure CN120753550A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of smart home appliances, and in particular to a method, system, equipment and medium for detecting the status of a barrel of a cleaning device. Background Art
[0002] As a highly efficient cleaning device, a floor scrubber requires the correct installation and timely cleaning of its wastewater tank to ensure its proper operation. Failure to do so can result in wastewater overflow, equipment failure, or reduced cleaning effectiveness, negatively impacting the user experience.
[0003] In the related art, detecting whether a sewage bucket is in place or detecting the water level status in the sewage bucket is usually achieved by detecting whether electrodes are in contact. This solution has a complex structure and has the problem of false triggering, resulting in poor detection accuracy. Summary of the Invention
[0004] The purpose of the present invention is to solve one of the technical problems existing in the prior art to at least a certain extent.
[0005] To this end, the object of the present invention is to provide a method, system, equipment and medium for detecting the barrel state of a cleaning device with high precision.
[0006] In order to achieve the above technical objectives, one aspect of an embodiment of the present invention provides a barrel body status detection method for a cleaning device, wherein the cleaning device includes: a barrel cover, a first detection electrode, a second detection electrode, a detection circuit, a first connecting component and a control module arranged on the barrel cover; the first detection electrode and the second detection electrode are both connected to the detection circuit, and the detection circuit is connected to the control module; a barrel body, a second connecting component and a first resistor arranged on the barrel body; the first connecting component and the second connecting component are used to connect the barrel cover and the barrel body, so that the first end of the first resistor is connected to the first detection electrode and the second end of the first resistor is connected to the second detection electrode; the status detection method includes the following steps: collecting a first voltage at a preset detection point of the detection circuit; wherein the first voltage is related to the voltage of the first detection electrode and / or the second detection electrode; if the first voltage is greater than a first preset voltage threshold, it is determined that the barrel body is not in a preset position; if the first voltage is less than a second preset voltage threshold, it is determined that the water level in the barrel body has reached a preset height; wherein the first preset voltage threshold is greater than the second preset voltage threshold. The present application connects a first resistor between a first detection electrode and a second detection electrode to detect a first voltage at a preset detection point to determine whether the barrel body is in place or whether the water level in the barrel body reaches a preset height, which is beneficial to improving detection accuracy and reducing detection complexity.
[0007] In some embodiments, the first detection electrode is provided with a first contact and a third contact, the second detection electrode is provided with a second contact and a fourth contact, the first contact and the second contact are provided away from the tub cover, and are points at which the cleaning device contacts a preset water level when operating at a preset angle;
[0008] The third contact point and the fourth contact point are arranged close to the tub cover and are points where the cleaning device contacts a preset water level when working in a lying state.
[0009] In some embodiments, if the first voltage is greater than a first preset voltage threshold, determining that the barrel is not in a preset position includes:
[0010] Continuously detecting a plurality of the first voltages within a first preset time period;
[0011] If the plurality of first voltages detected continuously are all greater than the first preset voltage threshold, it is determined that the barrel body is not in the preset position.
[0012] In some embodiments, the method further comprises:
[0013] If the first voltage is less than a second preset voltage threshold, recording a first accumulated time duration during which the first voltage is less than the second preset voltage threshold;
[0014] If the first accumulated time is greater than or equal to the second preset time, it is determined that the barrel is in a full water state, the first accumulated time is reset, and the process returns to the step of recording the first accumulated time during which the first voltage is less than the second preset voltage threshold if the first voltage is less than the second preset voltage threshold.
[0015] In some embodiments, the detection circuit includes: a second resistor, a third resistor, a fourth resistor, a fifth resistor and a first capacitor; the first power input terminal is connected to the first end of the first connection component through the second resistor, and the second power input terminal is connected to the second end of the first connection component through the third resistor; the first end of the first connection component is connected to the preset detection point through the fourth resistor, the second end of the first connection component is connected to the preset detection point through the fifth resistor, and the preset detection point is connected to the ground terminal through the first capacitor.
[0016] The state detection method also includes:
[0017] Within a third preset time period of the first preset cycle, applying a first power signal to the first power input terminal;
[0018] During a fourth preset time period of the first preset cycle, a second power signal is loaded on the second power input terminal.
[0019] In some embodiments, if the first voltage is less than a second preset voltage threshold, determining that the water level in the barrel has reached a preset height includes:
[0020] If both the first contact and the second contact are immersed in water, and the first voltage is less than the second preset voltage threshold, it is determined that the water level in the barrel has reached a preset height;
[0021] Alternatively, if the third contact and the fourth contact are both immersed in water, and the first voltage is less than the second preset voltage threshold, it is determined that the water level in the barrel has reached a preset height.
[0022] On the other hand, an embodiment of the present invention provides a cleaning device, comprising:
[0023] A barrel cover, a first detection electrode, a second detection electrode, a detection circuit, a first connection component, and a control module provided on the barrel cover; the first detection electrode and the second detection electrode are both connected to the detection circuit, and the detection circuit is connected to the control module;
[0024] a barrel body, a second connecting component and a first resistor provided on the barrel body; the first connecting component and the second connecting component are used to connect the barrel cover and the barrel body, so that the first end of the first resistor is connected to the first detection electrode and the second end of the first resistor is connected to the second detection electrode;
[0025] The control module is used to:
[0026] collecting a first voltage at a preset detection point of the detection circuit; wherein the first voltage is related to a voltage of the first detection electrode and / or the second detection electrode;
[0027] If the first voltage is greater than a first preset voltage threshold, it is determined that the barrel is not in a preset position;
[0028] If the first voltage is less than a second preset voltage threshold, it is determined that the water level in the barrel has reached a preset height; wherein the first preset voltage threshold is greater than the second preset voltage threshold.
[0029] In some embodiments of the cleaning device, the first detection electrode is provided with a first contact and a third contact, the second detection electrode is provided with a second contact and a fourth contact, the first contact and the second contact are arranged away from the tub cover, and the cleaning device is in contact with a preset water level when operating at a preset angle;
[0030] The third contact point and the fourth contact point are arranged close to the tub cover and are points where the cleaning device contacts a preset water level when working in a lying state.
[0031] The control module in the cleaning device in some embodiments is further configured to:
[0032] The control module in the cleaning device in some embodiments is further configured to:
[0033] If the plurality of continuously detected first voltages are all greater than the first preset voltage threshold, it is determined that the barrel body is not in a preset position.
[0034] The control module in the cleaning device in some embodiments is further configured to:
[0035] If the first voltage is less than a second preset voltage threshold, a first cumulative duration in which the first voltage is less than the second preset voltage threshold is recorded.
[0036] If the first cumulative duration is greater than or equal to a second preset duration, it is determined that the barrel body is in a full water state, the first cumulative duration is cleared, and the first voltage is less than the second preset voltage threshold is returned to the first cumulative duration in which the first voltage is less than the second preset voltage threshold is recorded.
[0037] The detection circuit in the cleaning device in some embodiments includes a second resistor, a third resistor, a fourth resistor, a fifth resistor, and a first capacitor; a first power input end is connected to a first end of the first connection component through the second resistor, and a second power input end is connected to a second end of the first connection component through the third resistor; the first end of the first connection component is connected to the preset detection point through the fourth resistor, the second end of the first connection component is connected to the preset detection point through the fifth resistor, and the preset detection point is connected to a ground end through the first capacitor.
[0038] The control module is configured to: load a first power signal at the first power input end within a third preset duration of a first preset period; and load a second power signal at the second power input end within a fourth preset duration of the first preset period.
[0039] The control module in the cleaning device in some embodiments is further configured to:
[0040] If the first contact and the second contact are both immersed in water, and the first voltage is less than the second preset voltage threshold, it is determined that the water level in the barrel body reaches a preset height.
[0041] Alternatively, if the third contact and the fourth contact are both immersed in water, and the first voltage is less than the second preset voltage threshold, it is determined that the water level in the barrel body reaches a preset height.
[0042] On the other hand, an embodiment of the present invention provides a barrel body status detection system for a cleaning device, the cleaning device comprising: a barrel cover, a first detection electrode, a second detection electrode, a detection circuit, a first connecting component, and a control module provided on the barrel cover, the detection circuit being connected to the control module; the first detection electrode and the second detection electrode being connected to the detection circuit; a barrel body, a second connecting component and a first resistor provided on the barrel body; the first connecting component and the second connecting component being used to connect the barrel cover and the barrel body so that the first end of the first resistor is connected to the first detection electrode and the second end of the first resistor is connected to the second detection electrode; the status detection system comprising:
[0043] A first module is configured to collect a first voltage at a preset detection point of the detection circuit; wherein the first voltage is related to a voltage of the first detection electrode and / or the second detection electrode;
[0044] A second module is configured to determine that the barrel is not in a preset position if the first voltage is greater than a first preset voltage threshold;
[0045] The third module is used to determine that the water level in the barrel reaches a preset height if the first voltage is less than a second preset voltage threshold; wherein the first preset voltage threshold is greater than the second preset voltage threshold.
[0046] On the other hand, an embodiment of the present invention provides a barrel state detection device for a cleaning device, comprising:
[0047] at least one processor;
[0048] at least one memory for storing at least one program;
[0049] When the at least one program is executed by the at least one processor, the at least one processor implements the above-mentioned barrel state detection method of the cleaning device.
[0050] On the other hand, an embodiment of the present invention provides a storage medium storing a program executable by a processor, wherein the program executable by the processor is used to implement the above-mentioned barrel state detection method of the cleaning device when executed by the processor.
[0051] On the other hand, an embodiment of the present invention provides a computer program product, including a computer program, which implements the above-mentioned barrel state detection method of the cleaning device when executed by a processor.
[0052] The embodiments of the present application include at least the following beneficial effects: the cleaning device provided by the present application includes: a barrel cover, a first detection electrode, a second detection electrode, a detection circuit, a first connecting component and a control module arranged on the barrel cover; the first detection electrode and the second detection electrode are both connected to the detection circuit, and the detection circuit is connected to the control module; a barrel body, a second connecting component and a first resistor arranged on the barrel body; the first connecting component and the second connecting component are used to connect the barrel cover and the barrel body, so that the first end of the first resistor is connected to the first detection electrode and the second end of the first resistor is connected to the second detection electrode; the state detection method includes the following steps: collecting a first voltage at a preset detection point of the detection circuit; wherein the first voltage is related to the voltage of the first detection electrode and / or the second detection electrode; if the first voltage is greater than a first preset voltage threshold, it is determined that the barrel body is not in a preset position; if the first voltage is less than a second preset voltage threshold, it is determined that the water level in the barrel body has reached a preset height; wherein the first preset voltage threshold is greater than the second preset voltage threshold. The present application connects a first resistor between a first detection electrode and a second detection electrode to detect a first voltage at a preset detection point to determine whether the barrel body is in place or whether the water level in the barrel body reaches a preset height, which is beneficial to improving detection accuracy and reducing detection complexity. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following introduction is made to the drawings of the embodiments of the present invention or the related technical solutions in the prior art. It should be understood that the drawings introduced below are only for the convenience of clearly describing some embodiments of the technical solutions of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without any creative work.
[0054] Figure 1 A schematic structural diagram of an embodiment of a cleaning device provided by the present invention;
[0055] Figure 2 This is a schematic structural diagram of an embodiment of the barrel of the cleaning device provided by the present invention;
[0056] Figure 3 This is a structural schematic diagram of an embodiment of a barrel cover in a cleaning device provided by the present invention;
[0057] Figure 4 A schematic flow chart of an embodiment of a method for detecting the state of a barrel of a cleaning device provided by the present invention;
[0058] Figure 5 A schematic diagram of the electrical principle of an embodiment of the detection circuit provided by the present invention;
[0059] Figure 6 A schematic diagram of the electrical principle of an embodiment of the barrel circuit provided by the present invention;
[0060] Figure 7 A schematic diagram of the electrical principle of another embodiment of the detection circuit provided by the present invention;
[0061] Figure 8 A schematic structural diagram of an embodiment of a contact in a cleaning device provided by the present invention;
[0062] Figure 9 A schematic diagram of an embodiment of the cleaning device provided by the present invention in normal operation;
[0063] Figure 10 A schematic diagram of an embodiment of the cleaning device provided by the present invention when working in a flat position;
[0064] Figure 11 A schematic structural diagram of an embodiment of a barrel state detection system for a cleaning device provided by the present invention;
[0065] Figure 12 A schematic structural diagram of an embodiment of a barrel state detection device for a cleaning device provided by the present invention. DETAILED DESCRIPTION
[0066] The embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention and are not to be construed as limiting the present invention. The step numbers in the following embodiments are provided for ease of explanation only and do not limit the order of the steps. The order of execution of the steps in the embodiments can be adaptively adjusted according to the understanding of those skilled in the art.
[0067] As a highly efficient floor cleaning device, a floor scrubber requires the correct installation and timely cleaning of its wastewater tank to ensure its proper operation. Failure to do so can lead to wastewater overflow, equipment failure, or reduced cleaning effectiveness, negatively impacting the user experience. This method improves the user experience by adding in-place detection and water level monitoring.
[0068] The barrel body status detection method and system of a cleaning device proposed in an embodiment of the present invention will be described in detail below with reference to the accompanying drawings. First, the barrel body status detection method of a cleaning device proposed in an embodiment of the present invention will be described with reference to the accompanying drawings.
[0069] The cleaning device provided in the present application includes: a barrel cover, a first detection electrode, a second detection electrode, a detection circuit, a first connecting component and a control module arranged on the barrel cover; the first detection electrode and the second detection electrode are both connected to the detection circuit, and the detection circuit is connected to the control module; a barrel body, a second connecting component and a first resistor arranged on the barrel body; the first connecting component and the second connecting component are used to connect the barrel cover and the barrel body so that the first end of the first resistor is connected to the first detection electrode and the second end of the first resistor is connected to the second detection electrode.
[0070] The cleaning device in this application can be a floor scrubber, a floor sweeper, or a steam mop. It is understandable that any appliance including a bucket component can be detected by the bucket state detection method provided in this application. In some embodiments, referring to Figure 1 As shown, the cleaning device in the present application may include a barrel cover 11 and a barrel body 12, and the barrel cover and the barrel body may be connected by a first connecting component and a second connecting component. Figure 2 As shown, the barrel body is composed of a barrel body 21, a buckle 22, a spring piece 23 and a buckle shaft 24. The barrel body is used to hold liquids such as sewage. Figure 3 As shown, the barrel lid consists of a lid body 310, a HEPA filter 311, a button 308, a button base 307, a button spring 306, a handle 312, a left handle pressure block 315, a right handle pressure block 314, a bracket 305, a filter 304, an elbow 316, a wet / dry separation net, a water baffle 303, an odor-proof module 301, an electrode 309, and a presence detection connection line 313. To detect the status of the barrel, the lid is equipped with a first detection electrode, a second detection electrode, a detection circuit, a first connection component, and a control module. The first and second detection electrodes are used to detect / collect the amount of liquid in the barrel. The detection circuit is used to convert the liquid amount into an electrical signal. The control module is used to determine the status of the barrel based on the electrical signal. A second connection component and a first resistor are provided on the barrel. The first and second connection components are used to connect the lid to the barrel, so that the first end of the first resistor is connected to the first detection electrode and the second end of the first resistor is connected to the second detection electrode. If the barrel body and the lid are connected, a first resistor is connected to the detection circuit. The voltage before and after the first resistor is connected is used to determine whether the barrel body is in place. The voltage division of the first resistor is used to determine whether the water level in the barrel body has reached a preset height. Of course, it is understood that the present application can also perform electrical signal detection using other methods besides electrode detection, such as signal detection using a Hall magnet.
[0071] Reference Figure 4As shown, a method for detecting the status of the barrel body of a cleaning device is provided in an embodiment of the present invention. The method for detecting the status of the barrel body of a cleaning device in an embodiment of the present invention can be applied to a terminal, a server, or software running in a terminal or a server. The terminal can be a tablet computer, a laptop computer, a desktop computer, etc., but is not limited to this. The server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The method for detecting the status of the barrel body of a cleaning device in an embodiment of the present invention mainly includes the following steps:
[0072] S100: collecting a first voltage at a preset detection point of a detection circuit; wherein the first voltage is related to a voltage of a first detection electrode and / or a second detection electrode;
[0073] S200: If the first voltage is greater than a first preset voltage threshold, determining that the barrel body is not in the preset position;
[0074] S300: If the first voltage is less than a second preset voltage threshold, determining that the water level in the barrel has reached a preset height;
[0075] The first preset voltage threshold is greater than the second preset voltage threshold.
[0076] In some possible embodiments, the barrel body status in this application includes whether the barrel body is in a preset position and the water level status within the barrel body. By notifying the user of whether the barrel body is in position, the user can easily understand the status of the cleaning device in real time, alleviating the problem of sewage overflow when the barrel body is not in the preset position. By notifying the user of the water level status within the barrel body, the user can promptly pour out the sewage, alleviating the problem of cleaning device malfunction caused by excessive sewage. In this application, the barrel body being in a preset position means that the barrel body is connected to the lid, and the barrel body can collect sewage during the operation of the cleaning device. The location of the preset detection point in this application is the voltage divider detection position of the first resistor when the lid and barrel body are connected. When the water level within the barrel body reaches a preset height, the first detection electrode and the second detection electrode contact the water level. At this time, the resistance between the first detection electrode and the second detection electrode is the parallel connection of the first resistor and the resistance of the liquid within the barrel body. The preset height in this application can be the full water level or a water surface height close to the full water level. Those skilled in the art can set the specific value of the preset height according to actual needs, and this application does not specifically limit it. In the present application, the first preset voltage threshold is related to the voltage division of the first resistor in the detection circuit, and the second preset voltage threshold is related to the voltage division of the first resistor and the resistance of the liquid in the barrel in the detection circuit.
[0077] In one embodiment, referring to Figure 5 The detection circuit shown and Figure 6 The barrel body circuit shown, wherein ADC is a preset detection point, H1 is a first connection component, H2 is a second connection component, H3 and H4 are a first detection electrode and a second detection electrode, R2 is a first resistor, R1 is an equivalent resistance of the detection circuit, illustratively, the resistance value can be 100K, VCC is the system voltage, 3.3V or 5V, and the control module is used to receive the electrical signal of ADC and judge the status of the barrel body.
[0078] When the barrel is not installed: ADC not in place voltage = VCC;
[0079] When the barrel is installed and does not reach the preset height: ADC sub-saturation voltage = VCC / (R1+R2)*R2;
[0080] When the barrel is installed and reaches the preset height: Since H3 and H4 are connected by water, the conduction resistance is Rwater, and the resistance between the two contacts is R2 in parallel with Rwater, which is R2*Rwater / (R2+Rwater). <R2,因此,
[0081] ADC full water voltage = VCC / (R1+(R2*Rwater / (R2+Rwater)))*(R2*Rwater / (R2+Rwater));
[0082] To this end, the present application sets an out-of-position voltage V1 (first preset voltage threshold) and a water-full voltage V2 (second preset voltage threshold), with the value of V1 being between VCC and VCC / (R1+R2)*R2, and the value of V2 being between VCC / (R1+R2)*R2 and VCC / (R1+(R2*R水 / (R2+R水)))*(R2*R水 / (R2+R水)). The state of the barrel body is determined based on the electrical signal collected from the ADC (i.e., the first voltage). Specifically, if the first voltage is greater than the first preset voltage threshold, it is determined that the barrel body is not in the preset position; if the first voltage is less than the second preset voltage threshold, it is determined that the water level in the barrel body has reached the preset height; if the first voltage is greater than or equal to the second preset voltage threshold and the first voltage is less than or equal to the first preset voltage threshold, it is determined that the barrel body is in position and the water level in the barrel body has not reached the preset height. In other embodiments, referring to Figure 7 The detection circuit shown in the figure, the barrel state judgment logic and Figure 5 The detection circuit shown is the same.
[0083] In some embodiments, a first contact and a third contact are provided on the first detection electrode, a second contact and a fourth contact are provided on the second detection electrode, the first contact and the second contact are provided away from the tub cover, and are points at which the cleaning device contacts a preset water level when operating at a preset angle;
[0084] The third contact point and the fourth contact point are arranged close to the tub cover and are points where the cleaning device contacts the preset water level when working in a lying state.
[0085] In the present application, the first detection electrode and the second detection electrode are both configured as electrodes comprising a plurality of contact points, each of which is configured to contact a preset water level under different requirements to detect the volume of the solution under the preset water level. For example, the first detection electrode includes a first contact point away from the barrel cover, and the second detection electrode includes a second contact point away from the barrel cover. The first contact point and the second contact point are the points at which the cleaning device contacts the preset water level when in normal working condition, i.e. Figure 8 The first detection electrode includes a third contact point close to the bucket cover, and the second detection electrode includes a fourth contact point close to the bucket cover. The third and fourth contacts are the points where the cleaning device contacts the preset water level when it is in a flat working state, that is, Figure 8 The contact 2 is shown by the arrow 802. Those skilled in the art can also set the number of contact points included in each detection electrode as needed. The preset water level in this application can be a preset full water level or a water level corresponding to a preset height.
[0086] It should be noted that the positions of the first and second contacts are related to the preset water levels of the cleaning device during self-cleaning and normal use, and the positions of the third and fourth contacts are related to the preset water levels when the cleaning device is working in a flat position. During the design stage of the cleaning device, the positions of the contacts on the detection electrode can be determined by the following steps:
[0087] determining a position of the first contact point according to a preset water level of the surface cleaning device during self-cleaning and a preset water level during normal use;
[0088] Determine the position of the second contact point by performing a flat push-pull test based on a preset water level when the surface cleaning device is working in a flat position;
[0089] The step of determining the position of the first contact point according to a preset water level during self-cleaning and a preset water level during normal use of the surface cleaning device comprises:
[0090] Determining a first water level line according to a preset water level of the surface cleaning device during self-cleaning and a corresponding barrel angle;
[0091] determining a second water level line according to a preset water level and a corresponding use angle of the surface cleaning device during normal use;
[0092] The position of the first contact point is determined according to the intersection of the first water level line and the second water level line.
[0093] This application provides a multi-point detection electrode design, which is used to detect the water volume in normal use and the water volume in the flat use state, to meet the various use scenarios of the cleaning device. Figure 8 As shown, the detection electrodes are designed with two contacts, contact 1 and contact 2. When the machine is running at a normal angle, the water fullness is detected through contact 1. When the machine is running flat, the water fullness is detected through contact 2.
[0094] Among them, the design idea of the position of contact 1 is: according to the relevant requirements of the product, when the whole machine is self-cleaning (such as the water tank is upright), the full water alarm water volume is 720ml, and when it is used normally (45°), the full water alarm water volume is also 720ml. The position of contact 1 is determined according to the intersection of the water surface positions at the two angles.
[0095] Design considerations for the position of Contact 2: Based on product requirements, the full water alarm setting is 600ml when the device is lying flat. The position of Contact 2 was determined based on the flat push-pull test. It should be noted that the first and second contacts in this application are positioned identically, and are used in conjunction to determine whether the water level within the tub has reached a preset height when the cleaning device is operating normally. Similarly, the third and fourth contacts in this application are positioned identically, and are used in conjunction to determine whether the water level within the tub has reached a preset height when the cleaning device is lying flat.
[0096] Figure 9 The full water surface position when cleaning with a cleaning device at a normal 45° angle, such as Figure 9 As shown by the middle arrow 901, this position is just enough to make contact 1 conductive. Figure 10 When working in a lying position, the water state when full of water and pushing forward is as follows: Figure 10 As shown by the middle arrow 101, the water body soaks into the contact 2. By controlling the conduction time, the water volume when the full water alarm is triggered can be further controlled.
[0097] In some embodiments, if the first voltage is greater than a first preset voltage threshold, determining that the barrel is not in the preset position includes:
[0098] Continuously detecting a plurality of first voltages within a first preset time period;
[0099] If the multiple first voltages detected continuously are all greater than the first preset voltage threshold, it is determined that the barrel body is not in the preset position.
[0100] The first preset duration is the continuous detection duration, which provides anti-shake time for the barrel body status detection. In order to alleviate the detection abnormality problem caused by a single detection, multiple continuous detections within the first preset duration are performed to improve the accuracy of the detection results. Of course, for the judgment of the water level in the barrel body, there is a method of using multiple continuous measurements to improve the detection accuracy. In this application, if the first voltage is less than the second preset voltage threshold, the step of determining that the water level in the barrel body has reached a preset height includes: continuously detecting multiple first voltages within the first preset duration; if the multiple first voltages detected continuously are all less than the second preset voltage threshold, determining that the water level in the barrel body has reached a preset height.
[0101] In some embodiments, the method further comprises:
[0102] If the first voltage is less than the second preset voltage threshold, recording a first accumulated time duration during which the first voltage is less than the second preset voltage threshold;
[0103] If the first accumulated time is greater than or equal to the second preset time, it is determined that the barrel is full of water, the first accumulated time is reset, and the process returns to the step of recording the first accumulated time when the first voltage is less than the second preset voltage threshold.
[0104] In this application, the first accumulated duration is the time elapsed from the time the water level in the tub reaches a predetermined height. In some embodiments, the predetermined height may be a level close to the full water level. When the water level in the tub reaches the predetermined height, after the predetermined first accumulated duration has elapsed, the predetermined full water level is determined to have been reached, and a full water status signal is issued. Those skilled in the art can adjust the specific values of the second predetermined voltage and the first accumulated duration, as well as the predetermined height detected and the duration of contact conduction.
[0105] In some embodiments, the detection circuit includes: a second resistor, a third resistor, a fourth resistor, a fifth resistor and a first capacitor; the first power input terminal is connected to the first end of the first connection component through the second resistor, and the second power input terminal is connected to the second end of the first connection component through the third resistor; the first end of the first connection component is connected to a preset detection point through the fourth resistor, the second end of the first connection component is connected to the preset detection point through the fifth resistor, and the preset detection point is connected to the ground terminal through the first capacitor.
[0106] The state detection method also includes:
[0107] Within a third preset time period of the first preset cycle, applying a first power signal to the first power input terminal;
[0108] During a fourth preset time period of the first preset cycle, a second power signal is loaded on the second power input terminal.
[0109] Reference Figure 7In one embodiment of the detection circuit shown, the first power input terminal may be the sewage_PWM+ input terminal, the second resistor may be resistor R125 and / or resistor R126, and the first end of the first connecting component may be the second port of connector LA125302; the second power input terminal may be the sewage_PWM- input terminal, the third resistor may be resistor R127 and / or resistor R128, and the second end of the first connecting component may be the first port of connector LA125302; the fourth resistor may be resistor R129, and the fifth resistor may be resistor R131. The preset detection point is the sewage_full detection terminal, and the first capacitor is capacitor CM91. The first preset period may be a power cycle, and the third and fourth preset durations are the durations of the high or low level of the power supply. In some embodiments, during the third preset duration before the first preset period, the first power signal is applied to the first power input terminal; and during the fourth preset duration after the first preset period, the second power signal is applied to the second power input terminal. For example, if the first preset period is 50ms, first pull the sewage_PWM-detection end high for 2ms, then pull the sewage_PWM-detection end high for 2ms, and then load a low level for 46ms. By loading the first power supply signal and the second power supply signal, the circuit reliability is improved and charge discharge is achieved: in the low-level stage, the capacitor discharge can provide a charge discharge path for the circuit to avoid residual charge affecting the next acquisition accuracy. For example, Figure 7 The resistor R125 is 1k, the resistor R126 is 62k, the resistor R127 is 1k, the resistor R128 is 62k, the resistor R129 is 1k, the resistor R131 is 1k, the resistor R130 is 0, the capacitor CM91 is 1000pf / 50v, the capacitor CM92 and the capacitor CM93 are both 100pf / 50v. It can be understood that when using Figure 7 When the detection circuit shown collects the first voltage signal, the specific values of the first preset voltage threshold and the second preset voltage threshold are determined according to the connection relationship between the first resistor, the second resistor, the third resistor, the fourth resistor, the fifth resistor and the first capacitor.
[0110] In some embodiments, if the first voltage is less than a second preset voltage threshold, determining that the water level in the barrel has reached a preset height includes:
[0111] If both the first contact and the second contact are immersed in water, and the first voltage is less than the second preset voltage threshold, it is determined that the water level in the barrel has reached a preset height;
[0112] Alternatively, if the third contact and the fourth contact are both immersed in water, and the first voltage is less than the second preset voltage threshold, it is determined that the water level in the barrel has reached a preset height.
[0113] It is understandable that the first contact and the third contact of the first detection electrode both perform electrical signal detection through the same interface of the control module, that is, regardless of whether the machine is in normal use angle or in a flat use angle, detection and judgment are performed through the same interface. When the liquid capacity in the barrel reaches the preset water level, the cleaning device can immerse the first contact in the water surface when working, and detect that the first voltage is less than the second preset voltage threshold, thereby determining that the water level in the barrel has reached the preset height; or it can immerse the third contact in the water surface, and detect that the first voltage is less than the second preset voltage threshold, thereby determining that the water level in the barrel has reached the preset height. In other embodiments, contacts at different positions can also be set on different detection electrodes, and then connected to different interfaces of the control module. The control module performs water level detection through contacts at different positions respectively, and determines the water level in the barrel by setting corresponding detection logic for the water levels detected under different working conditions.
[0114] The following describes in detail the method for detecting the state of the barrel of the cleaning device provided by the present application using a specific embodiment:
[0115] Step S21, inputting a power signal to the power input terminal, and collecting a first voltage through a preset detection point of the detection circuit;
[0116] Step S22: Compare the first voltage with the first preset voltage threshold and the second preset voltage threshold to determine the barrel status information, and output the barrel status information for reminder.
[0117] The cleaning device provided herein includes: a lid, a first detection electrode, a second detection electrode, a detection circuit, a first connecting assembly, and a control module disposed on the lid; the first detection electrode and the second detection electrode are both connected to the detection circuit, which is connected to the control module; a body, a second connecting assembly and a first resistor disposed on the body; the first connecting assembly and the second connecting assembly are used to connect the lid and the body so that a first end of the first resistor is connected to the first detection electrode and a second end of the first resistor is connected to the second detection electrode; and a state detection method comprising the following steps: collecting a first voltage at a preset detection point of the detection circuit; wherein the first voltage is related to a voltage of the first detection electrode and / or the second detection electrode; if the first voltage is greater than a first preset voltage threshold, determining that the body is not in a preset position; if the first voltage is less than a second preset voltage threshold, determining that the water level in the body has reached a preset height; wherein the first preset voltage threshold is greater than the second preset voltage threshold. The present invention connects a first resistor between the first detection electrode and the second detection electrode to detect the first voltage at the preset detection point, thereby determining whether the body is in place or whether the water level in the body has reached a preset height, thereby improving detection accuracy and reducing detection complexity.
[0118] On the other hand, an embodiment of the present invention provides a cleaning device, comprising:
[0119] A barrel cover, a first detection electrode, a second detection electrode, a detection circuit, a first connection component, and a control module provided on the barrel cover; the first detection electrode and the second detection electrode are both connected to the detection circuit, and the detection circuit is connected to the control module;
[0120] a barrel body, a second connecting assembly and a first resistor provided on the barrel body; the first connecting assembly and the second connecting assembly are used to connect the barrel cover and the barrel body, so that the first end of the first resistor is connected to the first detection electrode and the second end of the first resistor is connected to the second detection electrode;
[0121] Control module for:
[0122] Acquiring a first voltage at a preset detection point of the detection circuit; wherein the first voltage is related to a voltage of the first detection electrode and / or the second detection electrode;
[0123] If the first voltage is greater than a first preset voltage threshold, it is determined that the barrel is not in the preset position;
[0124] If the first voltage is less than the second preset voltage threshold, it is determined that the water level in the barrel has reached a preset height; wherein the first preset voltage threshold is greater than the second preset voltage threshold.
[0125] In some embodiments, the cleaning device has a first contact and a third contact disposed on the first detection electrode, and a second contact and a fourth contact disposed on the second detection electrode, wherein the first contact and the second contact are disposed away from the tub cover and are points at which the cleaning device contacts a preset water level when operating at a preset angle;
[0126] The third contact point and the fourth contact point are arranged close to the tub cover and are points where the cleaning device contacts the preset water level when working in a lying state.
[0127] In some embodiments, the cleaning device, the control module, is further configured to:
[0128] Continuously detecting a plurality of first voltages within a first preset time period;
[0129] If the multiple first voltages detected continuously are all greater than the first preset voltage threshold, it is determined that the barrel body is not in the preset position.
[0130] In some embodiments, the cleaning device, the control module, is further configured to:
[0131] If the first voltage is less than the second preset voltage threshold, recording a first accumulated time duration during which the first voltage is less than the second preset voltage threshold;
[0132] If the first accumulated time is greater than or equal to the second preset time, it is determined that the barrel is full of water, the first accumulated time is reset, and if the first voltage is less than the second preset voltage threshold, the first accumulated time during which the first voltage is less than the second preset voltage threshold is recorded.
[0133] In some embodiments, the cleaning device includes a detection circuit comprising: a second resistor, a third resistor, a fourth resistor, a fifth resistor, and a first capacitor; the first power input terminal is connected to the first end of the first connecting component via the second resistor, and the second power input terminal is connected to the second end of the first connecting component via the third resistor; the first end of the first connecting component is connected to a preset detection point via the fourth resistor, the second end of the first connecting component is connected to the preset detection point via the fifth resistor, and the preset detection point is connected to the ground terminal via the first capacitor;
[0134] The control module is used to: load the first power signal on the first power input terminal within a third preset time of the first preset cycle; and load the second power signal on the second power input terminal within a fourth preset time of the first preset cycle.
[0135] In some embodiments of the cleaning device, the control module is configured to:
[0136] If both the first contact and the second contact are immersed in water, and the first voltage is less than the second preset voltage threshold, it is determined that the water level in the barrel has reached a preset height;
[0137] Alternatively, if the third contact and the fourth contact are both immersed in water, and the first voltage is less than the second preset voltage threshold, it is determined that the water level in the barrel has reached a preset height.
[0138] It can be understood that the contents of the above method embodiments are applicable to the present cleaning device embodiment, the functions specifically implemented by the present cleaning device embodiment are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0139] On the other hand, an embodiment of the present invention proposes a barrel body state detection system for a cleaning device, the cleaning device comprising: a barrel cover, a first detection electrode, a second detection electrode, a detection circuit, a first connecting component and a control module arranged on the barrel cover, the detection circuit being connected to the control module; the first detection electrode and the second detection electrode being connected to the detection circuit; a barrel body, a second connecting component and a first resistor arranged on the barrel body; the first connecting component and the second connecting component are used to connect the barrel cover and the barrel body so that the first end of the first resistor is connected to the first detection electrode and the second end of the first resistor is connected to the second detection electrode; refer to Figure 11 As shown, the status detection system includes:
[0140] The first module 110 is configured to collect a first voltage at a preset detection point of the detection circuit; wherein the first voltage is related to a voltage of the first detection electrode and / or the second detection electrode;
[0141] The second module 120 is configured to determine that the barrel is not in the preset position if the first voltage is greater than a first preset voltage threshold;
[0142] The third module 130 is used to determine that the water level in the barrel reaches a preset height if the first voltage is less than a second preset voltage threshold; wherein the first preset voltage threshold is greater than the second preset voltage threshold.
[0143] It can be seen that the contents of the above method embodiments are all applicable to the present system embodiments. The functions specifically implemented by the present system embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0144] Reference Figure 12 , an embodiment of the present invention provides a barrel state detection device for a cleaning device, comprising:
[0145] at least one processor 210;
[0146] at least one memory 220, for storing at least one program;
[0147] When the at least one program is executed by the at least one processor 210, the at least one processor 210 implements the barrel state detection method of the cleaning device.
[0148] Similarly, the contents of the above method embodiments are applicable to the present device embodiments. The functions specifically implemented by the present device embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0149] An embodiment of the present invention further provides a computer-readable storage medium storing a program executable by a processor. When the program is executed by the processor, it is used to execute the above-mentioned method for detecting the barrel state of the cleaning device.
[0150] Similarly, the contents of the above method embodiments are applicable to the present storage medium embodiment. The functions specifically implemented by the present storage medium embodiment are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0151] In some optional embodiments, the function / operation mentioned in the block diagram may not occur in the order mentioned in the operation diagram. For example, depending on the function / operation involved, the two boxes shown in succession can actually be executed substantially simultaneously or the boxes can sometimes be executed in reverse order. In addition, the embodiment presented and described in the flow chart of the present invention is provided in an exemplary manner for the purpose of providing a more comprehensive understanding of the technology. The disclosed method is not limited to the operation and logic flow presented herein. Optional embodiments are contemplated in which the order of the various operations is changed and the sub-operations described as a part of a larger operation are performed independently.
[0152] In addition, although the present invention is described in the context of functional modules, it should be understood that, unless otherwise stated, one or more of the functions and / or features may be integrated into a single physical device and / or software module, or one or more functions and / or features may be implemented in separate physical devices or software modules. It is also understood that a detailed discussion of the actual implementation of each module is not necessary for understanding the present invention. More specifically, given the properties, functions, and internal relationships of the various functional modules in the devices disclosed herein, the actual implementation of the module will be understood within the ordinary skill of an engineer. Therefore, a person skilled in the art will be able to implement the present invention set forth in the claims using ordinary skill without undue experimentation. It is also understood that the specific concepts disclosed are merely illustrative and are not intended to limit the scope of the present invention, which is determined by the full scope of the appended claims and their equivalents.
[0153] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several programs for enabling a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0154] The logic and / or steps represented in a flowchart or otherwise described herein, for example, may be considered as an ordered list of executable programs for implementing the logical functions, and may be embodied in any computer-readable medium for use by, or in conjunction with, a program execution system, apparatus, or device (e.g., a computer-based system, a system including a processor, or other system that can retrieve and execute a program from a program execution system, apparatus, or device). For purposes of this specification, a "computer-readable medium" may be any device that can contain, store, communicate, propagate, or transport a program for use by, or in conjunction with, a program execution system, apparatus, or device.
[0155] More specific examples (a non-exhaustive list) of computer-readable media include the following: an electrical connection with one or more wires (electronic devices), a portable computer disk cartridge (magnetic devices), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disc read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering, or processing in another suitable manner as necessary, and then stored in a computer memory.
[0156] It should be understood that various parts of the present invention can be implemented using hardware, software, firmware, or a combination thereof. In the above-described embodiments, multiple steps or methods can be implemented using software or firmware stored in a memory and executed by a suitable program execution system. For example, if implemented using hardware, as in another embodiment, any one of the following technologies known in the art or a combination thereof can be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application-specific integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0157] In the above description of this specification, reference to the terms "one embodiment / example," "another embodiment / example," or "certain embodiments / examples" means that the specific features, structures, materials, or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
[0158] While embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions, and variations may be made to the embodiments without departing from the principles and spirit of the invention, and that the scope of the invention is defined by the claims and their equivalents.
[0159] The above is a specific description of the preferred implementation of the present invention, but the present invention is not limited to the embodiments. Those skilled in the art can make various equivalent modifications or substitutions without violating the spirit of the present invention. These equivalent modifications or substitutions are all included in the scope defined by the claims of the present invention.
Claims
1. A method for detecting the state of a barrel of a cleaning device, characterized in that: The cleaning device includes: a barrel cover, a first detection electrode, a second detection electrode, a detection circuit, a first connecting component, and a control module provided on the barrel cover; the first detection electrode and the second detection electrode are both connected to the detection circuit, and the detection circuit is connected to the control module; a barrel body, a second connecting component and a first resistor provided on the barrel body; the first connecting component and the second connecting component are used to connect the barrel cover and the barrel body, so that the first end of the first resistor is connected to the first detection electrode and the second end of the first resistor is connected to the second detection electrode; The state detection method comprises the following steps: collecting a first voltage at a preset detection point of the detection circuit; wherein the first voltage is related to a voltage of the first detection electrode and / or the second detection electrode; If the first voltage is greater than a first preset voltage threshold, it is determined that the barrel is not in a preset position; If the first voltage is less than a second preset voltage threshold, it is determined that the water level in the barrel has reached a preset height; Wherein, the first preset voltage threshold is greater than the second preset voltage threshold.
2. The method for detecting the barrel state of a cleaning device according to claim 1, characterized in that: The first detection electrode is provided with a first contact and a third contact, and the second detection electrode is provided with a second contact and a fourth contact, wherein the first contact and the second contact are arranged away from the tub cover and are points at which the cleaning device contacts a preset water level when operating at a preset angle; The third contact point and the fourth contact point are arranged close to the tub cover and are points where the cleaning device contacts a preset water level when working in a lying state.
3. The method for detecting the barrel state of a cleaning device according to claim 1, characterized in that: If the first voltage is greater than a first preset voltage threshold, determining that the barrel body is not in a preset position includes: Continuously detecting a plurality of the first voltages within a first preset time period; If the plurality of first voltages detected continuously are all greater than the first preset voltage threshold, it is determined that the barrel body is not in the preset position.
4. The method for detecting the barrel state of a cleaning device according to claim 1, characterized in that: The method further comprises: If the first voltage is less than a second preset voltage threshold, recording a first accumulated time duration during which the first voltage is less than the second preset voltage threshold; If the first accumulated time is greater than or equal to the second preset time, it is determined that the barrel is in a full water state, the first accumulated time is reset, and the process returns to the step of recording the first accumulated time during which the first voltage is less than the second preset voltage threshold if the first voltage is less than the second preset voltage threshold.
5. The method for detecting the barrel state of a cleaning device according to claim 1, characterized in that: The detection circuit includes: a second resistor, a third resistor, a fourth resistor, a fifth resistor, and a first capacitor; the first power input terminal is connected to the first end of the first connecting component via the second resistor, and the second power input terminal is connected to the second end of the first connecting component via the third resistor; the first end of the first connecting component is connected to the preset detection point via the fourth resistor, the second end of the first connecting component is connected to the preset detection point via the fifth resistor, and the preset detection point is connected to the ground terminal via the first capacitor; The state detection method further comprises the following steps: During a third preset duration of the first preset cycle, applying a first power signal to the first power input terminal; During a fourth preset time period of the first preset cycle, a second power signal is loaded on the second power input terminal.
6. The method for detecting the barrel state of a cleaning device according to claim 2, characterized in that: If the first voltage is less than a second preset voltage threshold, determining that the water level in the barrel has reached a preset height includes: If both the first contact and the second contact are immersed in water, and the first voltage is less than the second preset voltage threshold, it is determined that the water level in the barrel has reached a preset height; Alternatively, if the third contact and the fourth contact are both immersed in water, and the first voltage is less than the second preset voltage threshold, it is determined that the water level in the barrel has reached a preset height.
7. A cleaning device, characterized in that: include: A barrel cover, a first detection electrode, a second detection electrode, a detection circuit, a first connection component, and a control module provided on the barrel cover; The first detection electrode and the second detection electrode are both connected to the detection circuit, and the detection circuit is connected to the control module; a barrel body, a second connecting component and a first resistor provided on the barrel body; the first connecting component and the second connecting component are used to connect the barrel cover and the barrel body, so that the first end of the first resistor is connected to the first detection electrode and the second end of the first resistor is connected to the second detection electrode; The control module is used to: collecting a first voltage at a preset detection point of the detection circuit; wherein the first voltage is related to a voltage of the first detection electrode and / or the second detection electrode; If the first voltage is greater than a first preset voltage threshold, it is determined that the barrel is not in a preset position; If the first voltage is less than a second preset voltage threshold, it is determined that the water level in the barrel has reached a preset height; wherein the first preset voltage threshold is greater than the second preset voltage threshold.
8. The cleaning device according to claim 7, characterized in that The first detection electrode is provided with a first contact and a third contact, and the second detection electrode is provided with a second contact and a fourth contact, wherein the first contact and the second contact are arranged away from the tub cover and are points at which the cleaning device contacts a preset water level when operating at a preset angle; The third contact point and the fourth contact point are arranged close to the tub cover and are points where the cleaning device contacts a preset water level when working in a lying state.
9. The cleaning device according to claim 7, characterized in that The control module is further configured to: Continuously detecting a plurality of the first voltages within a first preset time period; If the plurality of first voltages detected continuously are all greater than the first preset voltage threshold, it is determined that the barrel body is not in the preset position.
10. The cleaning device according to claim 7, characterized in that The control module is further configured to: If the first voltage is less than a second preset voltage threshold, recording a first accumulated time duration during which the first voltage is less than the second preset voltage threshold; If the first accumulated time is greater than or equal to the second preset time, it is determined that the barrel is in a full water state, the first accumulated time is cleared, and the process returns to if the first voltage is less than the second preset voltage threshold, recording the first accumulated time during which the first voltage is less than the second preset voltage threshold.
11. The cleaning device according to claim 7, characterized in that The detection circuit includes: a second resistor, a third resistor, a fourth resistor, a fifth resistor, and a first capacitor; the first power input terminal is connected to the first end of the first connecting component via the second resistor, and the second power input terminal is connected to the second end of the first connecting component via the third resistor; the first end of the first connecting component is connected to the preset detection point via the fourth resistor, the second end of the first connecting component is connected to the preset detection point via the fifth resistor, and the preset detection point is connected to the ground terminal via the first capacitor; The control module is used to: load a first power signal on the first power input terminal within a third preset time of the first preset cycle; and load a second power signal on the second power input terminal within a fourth preset time of the first preset cycle.
12. The cleaning device according to claim 8, characterized in that The control module is used for: If both the first contact and the second contact are immersed in water, and the first voltage is less than the second preset voltage threshold, it is determined that the water level in the barrel has reached a preset height; Alternatively, if the third contact and the fourth contact are both immersed in water, and the first voltage is less than the second preset voltage threshold, it is determined that the water level in the barrel has reached a preset height.
13. A barrel status detection system for a cleaning device, characterized in that: The cleaning device includes: a barrel cover, a first detection electrode, a second detection electrode, a detection circuit, a first connecting component, and a control module provided on the barrel cover, wherein the detection circuit is connected to the control module; the first detection electrode and the second detection electrode are both connected to the detection circuit; a barrel body, a second connecting component and a first resistor provided on the barrel body; the first connecting component and the second connecting component are used to connect the barrel cover and the barrel body so that the first end of the first resistor is connected to the first detection electrode and the second end of the first resistor is connected to the second detection electrode; the status detection system includes: A first module is configured to collect a first voltage at a preset detection point of the detection circuit; wherein the first voltage is related to a voltage of the first detection electrode and / or the second detection electrode; A second module is configured to determine that the barrel is not in a preset position if the first voltage is greater than a first preset voltage threshold; The third module is used to determine that the water level in the barrel reaches a preset height if the first voltage is less than a second preset voltage threshold; wherein the first preset voltage threshold is greater than the second preset voltage threshold.
14. A barrel state detection device for a cleaning device, characterized in that: include: at least one processor; at least one memory for storing at least one program; When the at least one program is executed by the at least one processor, the at least one processor implements the barrel state detection method of the cleaning device as described in any one of claims 1 to 6.
15. A computer-readable storage medium storing a program executable by a processor, characterized in that: The program executable by the processor is used to implement the barrel state detection method of the cleaning device as described in any one of claims 1 to 6 when executed by the processor.
16. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the barrel state detection method of the cleaning device according to any one of claims 1 to 6 is implemented.