Liquid level detection device, sanitary equipment and water dispenser

Through the electrodes, the capacitor to be tested and the charge and discharge circuit, combined with the temperature sensor, the existing problems of high cost and low accuracy of liquid level detection are solved, and the low cost and accurate liquid level detection and automatic flushing function is realized, and the user is promptly reminded. Replace the water in the water dispenser tank.

CN112857519BActive Publication Date: 2024-11-08LIXIL(CHINA)INVESTMENTCO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201911099701.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-11-12
Publication Date
2024-11-08
Estimated Expiration
2039-11-12

AI Technical Summary

Technical Problem

The existing automatic induction urinals and water dispensers are costly and difficult to achieve accurate detection in liquid level detection, resulting in waste of water resources and difficulty for users to replace the water in the water dispenser tank in time.

Method used

The capacitor to be tested is composed of a pair of electrodes, combined with the reference capacitor and the charge and discharge circuit, calculate the liquid level height by measuring the discharge time of the capacitor, and use a temperature sensor in the water dispenser to update the relative dielectric constant of the liquid, and combine it with a warning device to remind the user to replace it. water.

Benefits of technology

It realizes low-cost and accurate liquid level detection, avoids waste of water resources, and promptly reminds users to replace the water in the water tank of the water dispenser, improving the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112857519B_ABST
    Figure CN112857519B_ABST
Patent Text Reader

Abstract

The present invention relates to a liquid level detection device and sanitary equipment and a water dispenser including the liquid level detection device. The liquid level detection device includes: a pair of electrodes, the pair of electrodes are arranged on the outer wall of a pipe opposite to each other, forming a capacitor to be measured; a reference capacitor, the reference capacitor is arranged on a substrate, and the reference capacitance value is known; a charge and discharge circuit, the charge and discharge circuit is connected to the pair of electrodes, and charges and discharges the capacitor to be measured, and is connected to the reference capacitor, and charges and discharges the reference capacitor; a measuring unit, the measuring unit measures the reference capacitance discharge time of the reference capacitor, and the measured capacitance discharge time of the capacitor to be measured corresponding to the liquid level to be measured; and a calculation unit, the calculation unit calculates the measured capacitance value of the capacitor to be measured based on the reference capacitance discharge time measured by the measuring unit, the measured capacitance discharge time, and the known reference capacitance value, and calculates the height of the liquid level to be measured based on the measured capacitance value.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a liquid level detection device, and sanitary equipment and a water dispenser comprising the liquid level detection device. Background Art

[0002] In public restrooms, automatic flushing urinals are usually controlled by automatic sensing. That is, the infrared sensor set above the urinal detects the human body, so as to achieve automatic flushing of the urinal. When a person approaches the urinal, the infrared sensor will detect the presence of the human body, and thus determine that the person is urinating. At this time, the infrared sensor sends the detected signal to the controller, and the controller controls the automatic flushing device of the urinal to flush once. When the person leaves the urinal, the infrared sensor will detect the departure of the human body again, and send the detected signal to the controller, and the controller will control the automatic flushing device of the urinal to flush again.

[0003] However, such an infrared sensor is prone to misoperation, that is, when a person walks in front of the urinal without wanting to urinate, the urinal will still be flushed, which easily results in a waste of water.

[0004] In this regard, Patent Document 1 discloses an automatic induction urinal that senses the inflow of liquid such as urine by changing the oscillation frequency of an oscillation circuit disposed above the trap, and further controls the solenoid valve that controls the flushing through a controller, thereby achieving the purpose of automatic flushing.

[0005] Furthermore, Patent Document 2 discloses a sanitary appliance that detects the flow of urine by a change in the resonance frequency of a resonance circuit provided on a flow surface and performs flushing based on the detected flow of urine.

[0006] Prior art literature

[0007] Patent document 1: CN101230592A

[0008] Patent Document 2: WO2014 / 076284

[0009] However, in Patent Documents 1 and 2 as described above, since urine detection is performed using an oscillation circuit for detecting inductance and a resonance circuit in which an inductor and a capacitor are connected in parallel, respectively, the cost is high and implementation is difficult.

[0010] In addition, regarding bottled water dispensers, in the past, it was difficult for users to know the amount of water remaining in the water tank of the water dispenser. Therefore, users would generally only think of replacing bottled water when they could not get water from the water dispenser. At this time, in some emergency situations where drinking water is urgently needed, it may cause trouble to users. Summary of the invention

[0011] The present invention is completed to solve the above-mentioned problems, and its purpose is to provide a liquid level detection device, a sanitary equipment including the liquid level detection device, and a water dispenser including the liquid level detection device, which can accurately detect the height of the liquid level at a relatively low cost, so that the sanitary equipment can automatically flush water at a relatively low cost without causing waste; and the water dispenser can remind the user to replace the bottled water in time before the water in the water tank runs out at a relatively low cost.

[0012] The liquid level detection device of the first embodiment of the present invention includes: a pair of electrodes, which are arranged on the outer wall of the pipeline opposite to each other to form a capacitor to be measured; a reference capacitor, which is arranged on a substrate and has a known reference capacitance value; a charge and discharge circuit, which is connected to the pair of electrodes and charges and discharges the capacitor to be measured, and is connected to the reference capacitor and charges and discharges the reference capacitor; a measuring unit, which measures the reference capacitance discharge time of the reference capacitor and the measured capacitance discharge time of the capacitor to be measured corresponding to the liquid level to be measured; and a calculation unit, which calculates the measured capacitance value of the capacitor to be measured based on the reference capacitance discharge time measured by the measuring unit, the measured capacitance discharge time, and the known reference capacitance value, and calculates the height of the liquid level to be measured based on the measured capacitance value.

[0013] Furthermore, in the liquid level detection device according to the first embodiment of the present invention, it is preferred that the calculation unit calculates the flow rate of the liquid in the pipe based on a variation range of the height of the liquid level to be measured per unit time.

[0014] In addition, in the liquid level detection device of the first embodiment of the present invention, it is preferred that it also includes a temperature sensor, which detects the ambient temperature. When the change in the ambient temperature detected by the temperature sensor exceeds a predetermined threshold, the calculation unit updates the relative dielectric constant of the liquid in the pipeline and uses the updated relative dielectric constant of the liquid to calculate the height of the liquid level to be measured.

[0015] In addition, in the liquid level detection device of the first embodiment of the present invention, it is preferred that a charge and discharge cycle of the capacitor performed by the charge and discharge circuit includes a pre-charge period, a full charge period, and a discharge period, and during the pre-charge period, a predetermined resistor is connected in series between the charge and discharge circuit and the capacitor.

[0016] Furthermore, in the liquid level detection device according to the first embodiment of the present invention, it is preferred that the charge and discharge circuit charges and discharges the pair of electrodes of the capacitor in a manner that periodically alternates directions.

[0017] The sanitary equipment of the second embodiment of the present invention includes: the above-mentioned liquid level detection device; a flushing device, which is controlled to flush water into the pipe; and a control device, which determines whether flushing is required based on the height of the liquid level to be measured detected by the liquid level detection device, and when it is determined that flushing is required, controls the flushing device to flush water into the pipe.

[0018] In addition, the sanitary equipment of the second embodiment of the present invention preferably also includes a warning device, which determines whether there is dirt on both sides of the pipe based on the capacitance value to be measured calculated by the calculation unit when the pipe is full of water, and warns the user if it is determined that there is dirt.

[0019] Furthermore, the sanitary equipment of the second embodiment of the present invention preferably also includes a warning device, which determines whether there is a blockage in the pipe based on the flow rate of the liquid in the pipe calculated by the calculation unit, and issues a warning to the user when it is determined that there is a blockage.

[0020] In addition, in the sanitary equipment of the second embodiment of the present invention, it is preferred that the control device determines whether the height of the liquid level to be measured calculated by the calculation unit is less than a predetermined height. When it is determined that the height of the liquid level to be measured is less than the predetermined height, it is presumed that the water seal disappears and the flushing device is controlled to flush.

[0021] In addition, the water dispenser of the third embodiment of the present invention includes: a water tank, on which bottled water can be installed; the above-mentioned liquid level detection device, a pair of electrodes of which are arranged opposite to each other on the outer wall of the water tank; and a warning device, which warns the user to urge the user to replace the bottled water when the height of the liquid level to be measured detected by the liquid level detection device is less than a predetermined height.

[0022] Effects of the Invention

[0023] Therefore, the liquid level detection device of the present invention can accurately detect the height of the liquid level at a relatively low cost; the sanitary equipment including the liquid level detection device of the present invention can automatically flush water at a relatively low cost without causing waste; and the water dispenser including the liquid level detection device of the present invention can remind the user to replace the bottled water in time before the water in the water tank runs out at a relatively low cost. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 1 is a block diagram showing one embodiment of the liquid level detection device of the present invention.

[0025] Figure 2 : is a circuit diagram showing a charge and discharge circuit in the liquid level detection device of the present invention.

[0026] Figure 3A and 3B : is a graph showing the charging and discharging process in the liquid level detection device of the present invention.

[0027] Figure 4 Schematic diagram showing the positional relationship between the equilibrium liquid level and the capacitance in a normal unused state.

[0028] Figure 5 Schematic diagram showing the positional relationship between the liquid level to be measured and the capacitor when urine flows into the pipe.

[0029] Figure 6 Schematic diagram showing the positional relationship between the liquid level to be measured and the capacitor when dirt is present.

[0030] Fig. 7A and 7B It is a schematic diagram showing the detection of the flow rate of the liquid in the pipeline by using the liquid level detection device of the present invention.

[0031] Figure 8 is a block diagram showing a sanitary appliance including the liquid level detection device of the present invention.

[0032] Fig. 9 Schematic diagram showing the overall structure of a water dispenser including the liquid level detection device of the present invention.

[0033] Fig.10 It is a block diagram showing a part of a water dispenser in which the liquid level detection device of the present invention is installed. DETAILED DESCRIPTION

[0034] Hereinafter, the liquid level detection device of the present invention and the sanitary equipment and water dispenser including the liquid level detection device are described in detail with reference to the accompanying drawings, wherein the same reference numerals in each of the accompanying drawings represent the same parts and repeated descriptions are omitted.

[0035] <Liquid level detection device>

[0036] Figure 1 1 is a block diagram showing one embodiment of the liquid level detection device of the present invention.

[0037] The liquid level detection device 100 is as follows Figure 1 As shown, it includes a pair of electrodes 1A, 1B, a reference capacitor 5, switches 3, 4, a charge and discharge circuit 10, a measuring unit 20, and a calculating unit 30. A pair of electrodes 1A, 1B are arranged on the outer wall of a pipe 2 (width D) opposite to each other to form a capacitor. The pair of electrodes 1A, 1B can be, for example, a conductor such as a copper plate; there is no particular restriction on the material of the pair of electrodes 1A, 1B as long as it can form a capacitor. In addition, the pair of electrodes 1A, 1B are preferably completely in contact with the outer wall of the pipe.

[0038] In addition, a metal shield (not shown) can be provided outside the pair of electrodes 1A and 1B, respectively, and the metal shield is connected to the device ground or to the earth. By providing the metal shield, the electromagnetic interference generated by the external environment to the electrodes can be reduced, and the measurement accuracy of the device can be improved. In addition, there is no particular limitation on the material of the metal shield as long as it can reduce electromagnetic interference.

[0039] In addition, the reference capacitor 5, switches 3 and 4, the charge and discharge circuit 10, the measuring unit 20, and the calculating unit 30 are all provided on the substrate. The charge and discharge circuit 10 is directly connected to one end of the reference capacitor 5 and is connected to the other end of the reference capacitor 5 via the switch 4, thereby charging and discharging the reference capacitor 5. In addition, the charge and discharge circuit 10 is directly connected to one electrode 1A of a pair of electrodes 1A and 1B and is connected to the other electrode 1B via the switch 3.

[0040] The measuring unit 20 measures the reference capacitor discharge time of the reference capacitor 5 and the measured capacitor discharge time of the measured capacitor corresponding to the measured liquid level. Specifically, when the reference capacitor discharge time is to be measured, the switch 4 is closed and the switch 3 is opened, so that the charge-discharge circuit 10 charges and discharges the reference capacitor 5, and the measuring unit 20 measures the reference capacitor discharge time of the reference capacitor 5; when the measured capacitor discharge time is to be measured, the switch 4 is opened and the switch 3 is closed, so that the charge-discharge circuit 10 charges and discharges the measured capacitor, and the measuring unit 20 measures the measured capacitor discharge time of the measured capacitor.

[0041] As an example, assuming that the capacitance value of the reference capacitor is 10 pF, the capacitance value to be measured when the pipe is filled with water obtained by the above method is, for example, 8 pF. Here, the capacitance value of the reference capacitor is selected so as to be close to the capacitance value to be measured when the pipe is filled with water. By selecting the capacitance value of the reference capacitor in this way, the measurement accuracy can be further improved.

[0042] Figure 2 FIG. 1 is a circuit diagram of an example of a charge and discharge circuit 10. The charge and discharge circuit 10 includes a charging power source VCC, switches S1 to S7, a capacitor pre-charge series resistor R Pech , and capacitor discharge series resistance R Disch .

[0043] like Figure 2 As shown, a connection point where one end of the switch S1 is connected to one end of the switch S2 is connected to one end of the capacitor Cap to be measured, a connection point where one end of the switch S3 is connected to one end of the switch S4 is connected to the other end of the capacitor Cap to be measured, the other end of the switch S1 and the other end of the switch S3 are grounded, and the other end of the switch S2 is connected to the other end of the switch S4.

[0044] In addition, the connection point where one end of switch S5 is connected to one end of switch S6 is connected to the charging power source VCC, the other end of switch S5 is connected to the other end of switch S2, and the other end of switch S6 is connected to the charging power source VCC via the capacitor pre-charging series resistor R Pech Connected to the other end of the switch S2.

[0045] In addition, one end of the switch S7 is connected to the capacitor through the series resistor R Disch The other end of switch S2 and the other end of switch S4 are connected, and the other end of switch S7 is grounded. In addition, an amplifier is provided at the connection point where the other end of switch S2 and the other end of switch S4 are connected, and the amplifier outputs a dynamic detection voltage V that changes with time. Moni .

[0046] Figure 3A and 3B : is a graph showing the charging and discharging process in the liquid level detection device of the present invention.

[0047] like Figure 3A As shown, one charge and discharge cycle of the capacitor Cap by the charge and discharge circuit 10 includes a precharge period (t1-t2), a full charge period (t2-t3), and a discharge period (t3-t5), wherein the TDC measurement period (t3-t4) is included in the discharge period.

[0048] Next, the details of the charging and discharging circuit 10 charging and discharging the pair of electrodes 1A and 1B in a manner that periodically alternates directions will be described.

[0049] First, the pair of electrodes 1A and 1B of the capacitor to be measured are charged and discharged in the first direction. That is, first, switches S2 and S3 are turned on, and switches S1 and S4 are turned off; then, at time t1, switches S5 and S7 are turned off, and switch S6 is turned on, so that the capacitor is pre-charged through the series resistor R Pech The capacitor to be tested is charged with current limiting; then, at time t2, switch S5 is turned on, switches S6 and S7 are turned off, and the capacitor to be tested is fully charged directly; then, at time t3, switches S5 and S6 are turned off, switch S7 is turned on, and the capacitor to be tested is discharged. At this time, according to the dynamic detection voltage V that changes with time Moni The discharge time (t3 to t4, i.e., TDC measurement period) from when the voltage decreases to the first voltage threshold Vth1 is measured using time-to-digital conversion (TDC) technology. The first voltage threshold Vth1 can be set arbitrarily and is not particularly limited.

[0050] Next, the pair of electrodes 1A and 1B of the capacitor to be measured are charged and discharged in a second direction opposite to the first direction. That is, first, switches S2 and S3 are turned off, and switches S1 and S4 are turned on; then, at time t1, switches S5 and S7 are turned off, and switch S6 is turned on, so that the capacitor is pre-charged through the series resistor R Pech The capacitor to be tested is charged with current limiting; then, at time t2, switch S5 is turned on, switches S6 and S7 are turned off, and the capacitor to be tested is fully charged directly; then, at time t3, switches S5 and S6 are turned off, switch S7 is turned on, and the capacitor to be tested is discharged. At this time, according to the dynamic detection voltage V that changes with time, Moni , and using the time-to-digital conversion technology, the discharge time until the voltage decreases to the first voltage threshold Vth1 is measured.

[0051] Then, the measuring unit 20 calculates the discharge time of the capacitor to be measured based on the discharge time measured when charging and discharging are performed in the first direction and the discharge time measured when charging and discharging are performed in the second direction.

[0052] As described above, by adopting a method of alternately turning on and off the switches S2 and S3 and the switches S1 and S4 , that is, by adopting a method of charging and discharging the pair of electrodes 1A and 1B in a periodically alternating direction, the measurement sensitivity can be improved.

[0053] In addition, during the pre-charging period (t1-t2), a predetermined resistor is connected in series between the charge and discharge circuit 10 and the capacitor Cap, so that the mechanical stress of the capacitor Cap during rapid charging can be reduced. In addition, by connecting a predetermined resistor in series between the charge and discharge circuit 10 and the capacitor Cap, it is possible to detect whether a pair of electrodes 1A and 1B are short-circuited; and when a short circuit occurs, the charging current value can be limited. In addition, an electrode short circuit will cause the detection device to fail; after the short circuit fault is automatically detected, the warning device can be used to prompt the user to troubleshoot and repair the fault.

[0054] In addition, if Figure 3B As shown in FIG. 1 , when the pre-charging period ends (arrives at time t2), if the voltage Vdd of the capacitor Cap does not reach the second voltage threshold Vth2, full charging is not performed. In other words, full charging is performed only when the pre-charging is successfully performed, that is, the voltage Vdd of the capacitor Cap reaches the second voltage threshold Vth2. Among them, the second voltage threshold Vth2 can be set arbitrarily and is not particularly limited.

[0055] In addition, the liquid level detection device may also include a temperature sensor C, which detects the ambient temperature. When the change in the ambient temperature detected by the ambient temperature sensor C exceeds a predetermined threshold, the calculation unit 30 updates the relative dielectric constant of the liquid in the pipeline and uses the updated relative dielectric constant of the liquid to calculate the height of the liquid level to be measured.

[0056] The relative dielectric constant of liquid will change with the change of temperature. For example, the relative dielectric constant of liquid will be greatly different in summer and winter. In view of this situation, the present invention can eliminate the influence of large temperature difference on calculation accuracy by adopting the above structure, and can detect the height of the liquid level to be measured with higher accuracy. In addition, in winter when the ambient temperature is below zero, the temperature sensor C can also be used to report the failure of pipeline freezing, etc.

[0057] Figure 4 The relationship between the equilibrium liquid level and the capacitance in a normal unused state is shown. Figure 5 The figure shows the positional relationship between the liquid level to be measured and the capacitance when urine flows into the pipe. In the figure, a represents the bottom end of the electrodes 1A and 1B, c represents the top end of the electrodes 1A and 1B, b represents the portion of the electrodes 1A and 1B at the same height as the equilibrium liquid level b, and p represents the portion of the electrodes 1A and 1B at the same height as the liquid level to be measured p.

[0058] The calculation unit 30 calculates the measured capacitance value of the measured capacitance based on the reference capacitance discharge time measured by the measurement unit 20, the measured capacitance discharge time, and the known reference capacitance value, and calculates the height of the measured liquid level based on the measured capacitance value.

[0059] Among them, the reference capacitor discharge time, the reference capacitance value, the capacitor discharge time to be measured, and the capacitance value to be measured have the following relationship.

[0060]

[0061] According to the above formula (1), the calculation unit 30 can calculate the capacitance value of the capacitor to be measured based on the discharge time of the reference capacitor, the discharge time of the capacitor to be measured, and the reference capacitance value.

[0062] In addition, for the convenience of explanation, it is assumed that the capacitor in this embodiment is a flat capacitor (of course, the capacitor of the present invention may also be other types of capacitors), and its calculation formula is as follows:

[0063] C = εδS / D (Formula 2)

[0064] Among them, ε is the relative dielectric constant of the medium between a pair of electrodes, δ is the absolute dielectric constant in vacuum, S is the surface area of ​​the electrode, that is, the product of width and height, and D is the distance between the pair of electrodes.

[0065] In addition, the relative dielectric constants of substances such as air, distilled water, and seawater at room temperature are shown below.

[0066] Material Relative dielectric constant Air 1 Distilled water 80 seawater 81

[0067] From the above list, we can see that the relative dielectric constant of water is much greater than that of air.

[0068] According to the above formula (2) and the above comparison of relative dielectric constants, the height of the liquid level to be measured is proportional to the capacitance value to be measured. Therefore, the calculation unit 30 can further calculate the height of the liquid level to be measured based on the capacitance value to be measured.

[0069] Figure 6 It is a diagram showing the positional relationship between the liquid level and the capacitance when dirt exists.

[0070] If there is dirt on the inner surface of both sides of the vertical pipe, the capacitance value to be measured at this time will be greatly different from the capacitance value to be measured when there is no dirt. Therefore, it is possible to judge whether there is dirt on both sides of the pipe based on the capacitance value to be measured calculated by the calculation unit 30 when the pipe is full of water, and if it is judged that there is dirt, this information is notified to the warning device 60 described later to warn the user and urge the user to maintain the pipe 2.

[0071] Specifically, the capacitance value to be measured when there is dirt on both sides of the pipeline will be significantly different from the capacitance value to be measured when there is no dirt. Therefore, when the difference between the currently calculated capacitance value to be measured and the initial capacitance value to be measured is greater than or equal to the second threshold, it is judged that there is dirt, and a warning is issued to the user to urge the user to perform maintenance. In addition, when the difference between the currently calculated capacitance value to be measured and the initial capacitance value to be measured is less than the second threshold, it is judged that there is no dirt. Here, the second threshold can be changed according to different situations. For example, when the width of the pipeline is relatively thin, even a little dirt will greatly affect the use, and the second threshold can be set to be smaller; when the width of the pipeline is relatively thick, even a little dirt will not greatly affect the use, and the second threshold can be set to be larger.

[0072] Fig. 7A and 7B It is a schematic diagram showing the detection of the flow rate of the liquid in the pipeline by using the liquid level detection device of the present invention.

[0073] The calculation unit 30 calculates the flow rate of the liquid in the pipe 2 based on the change amplitude of the height of the liquid level to be measured per unit time. When a blockage occurs in the pipe 2, the flow rate v of the liquid will slow down. Therefore, the calculation unit 30 determines whether a blockage occurs in the pipe according to whether the flow rate v of the liquid in the pipe 2 slows down, and when it is determined that a blockage occurs, the calculation unit 30 notifies the warning device 60 described later of this information to warn the user and urge the user to perform maintenance on the pipe 2.

[0074] Specifically, when there is a blockage in the pipeline, the flow rate of the liquid in the pipeline will slow down. Therefore, when the difference between the initial flow rate of the liquid in the pipeline and the currently calculated flow rate of the liquid in the pipeline is greater than or equal to the third threshold, it is judged that there is a blockage, and a warning is issued to the user to urge the user to perform maintenance. In addition, when the difference between the initial flow rate of the liquid in the pipeline and the currently calculated flow rate of the liquid in the pipeline is less than the third threshold, it is judged that there is no blockage. Here, the third threshold can be changed according to different situations. For example, when the width of the pipeline is thin and even a slight blockage will greatly affect the use, the third threshold can be set to a smaller value; when the width of the pipeline is thick and even a slight blockage will not greatly affect the use, the third threshold can be set to a larger value.

[0075] <Sanitary Equipment>

[0076] Figure 8 1 is a block diagram showing one embodiment of a sanitary appliance including the liquid level detection device of the present invention.

[0077] Figure 8 In the embodiment, the sanitary equipment involved in the present invention includes the liquid level detection device 100 of the present invention, the flushing device 50, and the control device 40. The control device 40 determines whether flushing is required based on the height of the liquid level to be measured detected by the liquid level detection device, and controls the flushing device 50 to flush water into the pipe 2 if it is determined that flushing is required.

[0078] Specifically, when the height of the liquid level to be measured detected by the liquid level detection device is greater than or equal to the first threshold, it is determined that flushing is required, and the control device 40 controls the flushing device 50 to flush water into the pipe 2. In addition, when the height of the liquid level to be measured detected by the liquid level detection device is less than the first threshold, it is determined that flushing is not required.

[0079] In addition, the sanitary equipment involved in the present invention may further include a warning device 60. The warning device 60 can determine whether there is dirt on both sides of the pipe based on the capacitance value to be measured calculated by the calculation unit 30 when the pipe is full of water, and issue a warning to the user to urge the user to perform maintenance if it is determined that there is dirt.

[0080] Specifically, the capacitance value to be measured when there is dirt on both sides of the pipeline will be significantly different from the capacitance value to be measured when there is no dirt. Therefore, when the difference between the currently calculated capacitance value to be measured and the initial capacitance value to be measured is greater than or equal to the second threshold, it is determined that there is dirt, and a warning is issued to the user to urge the user to perform maintenance. In addition, when the difference between the currently calculated capacitance value to be measured and the initial capacitance value to be measured is less than the second threshold, it is determined that there is no dirt.

[0081] Furthermore, the warning device 60 can also determine whether there is a blockage in the pipeline based on the flow rate of the liquid in the pipeline calculated by the calculation unit 30, and issue a warning to the user to urge the user to perform maintenance if it is determined that there is a blockage.

[0082] Specifically, when there is a blockage in the pipeline, the flow rate of the liquid in the pipeline will slow down. Therefore, when the difference between the initial flow rate of the liquid in the pipeline and the currently calculated flow rate of the liquid in the pipeline is greater than or equal to the third threshold, it is determined that there is a blockage, and a warning is issued to the user to urge the user to perform maintenance. In addition, when the difference between the initial flow rate of the liquid in the pipeline and the currently calculated flow rate of the liquid in the pipeline is less than the third threshold, it is determined that there is no blockage.

[0083] In addition, the warning device 60 can also warn the user when the electrode is short-circuited or the detection device is abnormal, and urge the user to perform maintenance. In addition, as the type of warning, the mode such as prompting by sound or prompting by indicator light can be adopted.

[0084] In addition, if the sanitary equipment is not used for a long time, the water vapor in the pipe will evaporate and reduce, which may cause the water seal in the pipe to disappear, thereby causing odor to be transmitted from the pipe. In view of the above situation, in the present invention, the control device 40 determines whether the height of the liquid level to be measured calculated by the calculation unit 30 is less than the predetermined height. When it is determined that the height of the liquid level to be measured is less than the predetermined height, it is inferred that the water seal has disappeared and the flushing device 50 is controlled to flush. By adopting the above structure, the disappearance of the water seal can be avoided, thereby preventing odor from being transmitted from the pipe.

[0085] <Water dispenser>

[0086] Fig. 9 Schematic diagram showing the overall structure of a water dispenser including the liquid level detection device of the present invention. Fig.10 It is a block diagram showing a state where the liquid level detection device of the present invention is installed locally on a water dispenser.

[0087] The water dispenser of this embodiment is a device that places bottled pure water (or mineral water) above the water tank of the water dispenser and heats or cools it down for people to drink. The water dispenser includes, for example, a water tank, a normal temperature water outlet, a hot water outlet, a heating component, an exhaust pipe, a cleaning drain outlet, a control center, etc. Here, a pair of electrodes 1A and 1B of the liquid level detection device of the present invention are arranged opposite to each other on the outer wall of the water tank 70 to detect the water level in the water tank.

[0088] In the past, it was difficult for users to know the amount of water remaining in the water tank of a water dispenser. Therefore, users would only think of replacing bottled water when they could not get water from the water dispenser. This could cause trouble to users in some emergency situations where drinking water was urgently needed.

[0089] In the present invention, when the height of the liquid level to be measured detected by the liquid level detection device 100 is less than a predetermined height, the warning device 60' issues a warning to the user to urge the user to replace the bottled water, thereby being able to remind the user to replace the bottled water in time at a low cost before the water in the water tank runs out. Here, the predetermined height can be set arbitrarily according to the needs of the user. For example, if the user wants to replace the bottled water when there is still a lot of water left in the water tank, the predetermined height can be set higher.

[0090] In addition, as the type of warning provided by the warning device 60 ′, a warning by sound, a warning by a lamp, etc. may be adopted.

[0091] The above descriptions are only some embodiments of the present invention. For those skilled in the art, further modifications and improvements can be made without departing from the inventive concept of the present invention, and these modifications and improvements are all included in the protection scope of the present invention.

[0092] Industrial Applicability

[0093] The liquid level detection device of the present invention can be used in sanitary equipment such as urinals, toilet equipment, wash basins, bathtubs, etc., and can accurately detect the height of the liquid level at a low cost, so that automatic flushing can be performed at a low cost without causing waste, and in the event of an abnormality, a warning can be issued to the user to urge the user to perform maintenance. In addition, the liquid level detection device of the present invention can be used in water dispensers, and can remind users to replace bottled water in time at a low cost before the water in the water tank runs out.

[0094] Description of symbols

[0095] 100 Liquid level detection device

[0096] 1A, 1B electrodes

[0097] 2 Pipeline

[0098] 10. Charging and discharging circuit

[0099] 20 Measurement Department

[0100] 30 Computing Department

[0101] 40 Control device

[0102] 50 Flush device

[0103] 60, 60' warning device

[0104] 70 Water tank

[0105] C Temperature sensor.

Claims

1. A liquid level detection device, comprising: A pair of electrodes, the pair of electrodes are arranged on the outer wall of the pipeline opposite to each other, forming a capacitance to be measured; A reference capacitor, which is disposed on the substrate and has a known reference capacitance value; A charge-discharge circuit, which is connected to the pair of electrodes and charges and discharges the capacitor to be measured, and is connected to the reference capacitor and charges and discharges the reference capacitor, and the charge-discharge circuit includes a capacitor pre-charge series resistor; a measuring unit, the measuring unit measuring a reference capacitance discharge time of the reference capacitance and a measured capacitance discharge time of the measured capacitance corresponding to the measured liquid level; as well as a calculating unit, the calculating unit calculating a capacitance value of the capacitor to be measured based on the discharge time of the reference capacitor measured by the measuring unit, the discharge time of the capacitor to be measured, and a known reference capacitance value, and calculating a height of the liquid level to be measured based on the capacitance value to be measured, A charge and discharge cycle of the capacitor to be tested by the charge and discharge circuit includes a pre-charge period, During the pre-charging period, the charge and discharge circuit is controlled so as to perform current-limited charging on the capacitor to be measured through the capacitor pre-charging series resistance.

2. The liquid level detection device according to claim 1, characterized in that: Metal shielding covers are respectively arranged outside the pair of electrodes, and the metal shielding covers are connected to the ground.

3. The liquid level detection device according to claim 1, characterized in that: The calculation unit calculates the flow rate of the liquid in the pipe based on the change amplitude of the height of the liquid level to be measured within a unit time.

4. The liquid level detection device according to claim 1, characterized in that: It also includes a temperature sensor, which detects the ambient temperature. When the change of the ambient temperature detected by the temperature sensor exceeds a predetermined threshold, the calculation unit updates the relative dielectric constant of the liquid in the pipe, and calculates the height of the liquid level to be measured by using the updated relative dielectric constant of the liquid.

5. The liquid level detection device according to any one of claims 1 to 4, characterized in that: A charge and discharge cycle performed by the charge and discharge circuit on the capacitor to be measured also includes a full charge period and a discharge period.

6. The liquid level detection device according to claim 5, characterized in that: The charging and discharging circuit charges and discharges a pair of electrodes of the capacitor to be measured in a periodic alternating direction.

7. A sanitary device comprising: The liquid level detection device according to any one of claims 1 to 6; A flushing device, the flushing device being controlled to flush water into the pipe; as well as A control device determines whether flushing is required based on the height of the liquid level to be measured detected by the liquid level detection device, and controls the flushing device to flush water into the pipe when it is determined that flushing is required.

8. The sanitary device according to claim 7, characterized in that It also includes a warning device, which determines whether there is dirt on both sides of the pipeline based on the capacitance value to be measured calculated by the calculation unit when the pipeline is full of water, and warns the user when it is determined that there is dirt.

9. The sanitary equipment according to claim 7, characterized in that The system further includes a warning device for determining whether there is a blockage in the pipe based on the flow rate of the liquid in the pipe calculated by the calculation unit, and issuing a warning to a user when it is determined that there is a blockage.

10. The sanitary device according to claim 7, characterized in that The control device determines whether the height of the liquid level to be measured calculated by the calculation unit is less than a predetermined height. When it is determined that the height of the liquid level to be measured is less than the predetermined height, it is inferred that the water seal disappears and the flushing device is controlled to flush.

11. A water dispenser, comprising: A water tank, on which bottled water can be installed; The liquid level detection device according to any one of claims 1 to 6, wherein a pair of electrodes of the liquid level detection device are arranged on the outer wall of the water tank opposite to each other; and A warning device is provided for sending a warning to a user to urge the user to replace the bottled water when the height of the liquid level to be measured detected by the liquid level detection device is less than a predetermined height.