A capacitive proportional liquid level detection method and detection device

Through the capacitive proportional liquid level detection method, multiple capacitive detection electrodes and a processor are used to calculate the liquid level height, which solves the cost and accuracy compatibility issues in the existing technology and achieves low-cost, high-precision liquid level detection.

CN117213580BActive Publication Date: 2024-09-27SHENZHEN SINONE CHIP ELECTRONIC CO. LTD.
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311415921.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-10-30
Publication Date
2024-09-27
Estimated Expiration
2043-10-30

AI Technical Summary

Technical Problem

The existing liquid level detection methods increase the cost while improving the detection accuracy, or reduce the detection accuracy while reducing the cost, and cannot take into account both.

Method used

The capacitance proportional liquid level detection method is adopted. By setting multiple capacitance detection electrodes on one side of the container, the change rate of the capacitance value is measured and the liquid level height is calculated according to the preset formula. It is combined with the processor for data processing to achieve accurate liquid level detection.

Benefits of technology

It achieves low-cost and high-precision liquid level detection and solves the technical problems of cost and accuracy compatibility.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117213580B
    Figure CN117213580B
Patent Text Reader

Abstract

The present application relates to a capacitance proportional liquid level detection method and detection device, the detection device includes a capacitance detection module, n capacitance detection electrodes and a processor, the n capacitance detection electrodes are arranged on one side of a container, and the liquid level gear accuracy of the container is preset to H; the maximum capacitance value, the minimum capacitance value and the actual capacitance value of all capacitance detection electrodes at the container liquid level are tested; the capacitance change rate is first calculated according to the preset capacitance change rate formula, the actual capacitance value, the minimum capacitance value and the maximum capacitance value; and the actual liquid level height h is obtained according to the preset proportional formula, n, H and the capacitance change rate. The capacitance value of n capacitance detection electrodes at the container liquid level is detected by the capacitance detection module, and then the capacitance value detected by the capacitance detection module is processed by the processor to calculate the container liquid level, thereby improving the technical problem that the low cost and high accuracy of the liquid level detection method are incompatible.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of liquid level detection, and in particular to a capacitive proportional liquid level detection method and detection device. Background Art

[0002] Liquid level detection technology is an indispensable technology in the industrial production process. It can realize real-time monitoring of the liquid level status of the container. The application scope of liquid level detection technology is very wide. For example, it has a wide range of applications in petrochemical, food and beverage, pharmaceutical manufacturing, environmental protection and other fields. Liquid level detection technology can help realize automated control in the industrial production process, improve work efficiency and reduce production costs.

[0003] Among the relevant technical means, liquid level detection technology is mainly divided into two categories. The first category uses ultrasonic sensors, radar sensors and image detection to detect container liquid level information. These technologies have the characteristics of high precision, high sensitivity and high reliability, and are suitable for occasions with high requirements for liquid level control; the second category uses float-type, probe-type, capacitive single-point and other sensors to detect liquid levels, which have the advantages of low cost and simple operation, and are suitable for occasions with low requirements for liquid level control.

[0004] Regarding the above technical solutions, when ultrasonic sensors, radar sensors and image detection methods are used for detection, although the detection accuracy is high, there are high costs and high requirements for processors and software; the float type can only detect liquid levels at two positions, high and low, and the detection accuracy is limited; the detection accuracy of the probe type depends on the number of probes, which can easily lead to complex circuit layout and cumbersome installation when designing complex liquid level detection; the detection accuracy of the capacitive single-point type will be affected by the type of container liquid, and the detection accuracy depends on the number of capacitive detection electrodes.

[0005] Therefore, there is an urgent need for a liquid level detection method to reduce detection costs and improve detection accuracy. Summary of the invention

[0006] The purpose of the present invention is to provide a capacitance proportional liquid level detection method and detection device to improve the technical problem that the current liquid level detection method has low cost and high accuracy that are incompatible.

[0007] To achieve this object, the present invention adopts the following technical solutions:

[0008] A capacitance proportional liquid level detection method, comprising:

[0009] S1. Provide n capacitance detection electrodes (N≥2), set the n capacitance detection electrodes on one side of the container, and preset the liquid level accuracy of the container to H;

[0010] S2. Test and obtain the minimum capacitance value (C1min, C2min, ..., Cnmin) of all capacitance detection electrodes when the liquid level in the container is the minimum value; Test and obtain the maximum capacitance value (C1max, C2max, ..., Cnmax) of all capacitance detection electrodes when the liquid level in the container is the maximum value; Measure the actual capacitance value (C1, C2, ..., Cn) of all capacitance detection electrodes;

[0011] S3, calculating the capacitance change rate (△C1, ..., △Cn) according to the preset capacitance change rate formula, the actual capacitance value, the minimum capacitance value and the maximum capacitance value;

[0012] S4. According to the preset proportional formula, n, H and capacitance change rate, the actual liquid level height h is obtained.

[0013] As a preferred solution, in S21, step S3, the capacitance change rate formula is: △Cn=(Cn-Cnmin) / Cnmax.

[0014] As a preferred solution, S31, when the capacitance detection electrode n is an even number, in step S4, the proportional formula is: .

[0015] As a preferred solution, S32, when the capacitance detection electrode n is an odd number, in step S4, the proportional formula is: .

[0016] A capacitance proportional liquid level detection device comprises a capacitance detection module and n capacitance detection electrodes, wherein the capacitance detection module is electrically connected to the n capacitance detection electrodes respectively, wherein n≥2; the capacitance detection module is used to detect the capacitance value of the n capacitance detection electrodes on the liquid level of a container; and further comprises a processor, wherein the processor is used to perform data processing on the capacitance value detected by the capacitance detection module and calculate the liquid level height of the container.

[0017] As a preferred solution, among the n capacitance detection electrodes, when n=2, two of the capacitance detection electrodes are in a "right triangle" shape, and the two capacitance detection electrodes are rotationally symmetrical to form a rectangle.

[0018] As a preferred solution, the capacitance detection electrode is a conductive PAD, and the conductive PAD can be PCB copper foil, FPC copper foil, ITO and other conductive materials.

[0019] Compared with the prior art, the present application has the following beneficial effects: low device cost and high detection accuracy. A capacitance proportional liquid level detection device includes a capacitance detection module, a capacitance detection electrode and a processor. The capacitance detection module is used to measure the capacitance value of the capacitance detection electrode connected thereto, and the capacitance value of the capacitance detection electrode changes with the change of the container liquid level. The processor is used to analyze and process the data output by the capacitance detection module, and calculate the liquid level height of the container according to the preset capacitance change rate formula and proportional formula, thereby improving the technical problem that the low cost and high accuracy of the liquid level detection method are incompatible. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0021] The structures, proportions, sizes, etc. illustrated in the drawings of this specification are only used to match the contents disclosed in the specification so as to facilitate understanding and reading by persons familiar with this technology. They are not used to limit the conditions under which the present invention can be implemented, and therefore have no substantive technical significance. Any structural modification, change in proportion or adjustment of size, without affecting the effects and purposes that can be achieved by the present invention, should still fall within the scope of the technical contents disclosed by the present invention.

[0022] Figure 1 A schematic diagram of a first flow chart of the capacitance proportional liquid level detection method provided in this embodiment;

[0023] Figure 2 A second flow chart of the capacitance proportional liquid level detection method provided in this embodiment;

[0024] Figure 3 A third flow chart of the capacitance proportional liquid level detection method provided in this embodiment;

[0025] Figure 4 This is a schematic diagram of the structure of the capacitive proportional liquid level detection device provided in this embodiment.

[0026] Description of reference numerals:

[0027] 1. Capacitance detection module; 2. Capacitance detection electrode; 3. Processor. DETAILED DESCRIPTION

[0028] In order to make the purpose, features and advantages of the present invention more obvious and easy to understand, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described below are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0029] In the description of the present invention, it should be understood that the terms "upper", "lower", "top", "bottom", "inside", "outside" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation of the present invention. It should be noted that when a component is considered to be "connected" to another component, it may be directly connected to the other component or there may be a centrally arranged component at the same time.

[0030] The technical solution of the present invention is further described below with reference to the accompanying drawings and through specific implementation methods.

[0031] Embodiment 1

[0032] The embodiment of the present invention provides a capacitance proportional liquid level detection method, which is mainly used to test the liquid level height of a container, and is particularly suitable for scenarios where there are requirements for the accuracy of the container liquid level height. The manufacturing cost of the detection equipment is reduced by optimizing the container liquid level height measurement method.

[0033] Reference Figures 1 to 4 , the capacitance proportional liquid level detection method provided in this embodiment includes:

[0034] S1. Provide n capacitance detection electrodes 2 (N≥2), set the n capacitance detection electrodes 2 on one side of the container, and preset the liquid level gear accuracy of the container to H, where H can be set according to the actual product requirements. For example, if the height of the container is 10 cm, and the actual requirement is to divide the 10 cm high liquid into 100 gears, then H is set to 100. If it is to be divided into 200 gears, then H is set to 200. The larger the H setting, the higher the detection accuracy. The capacitance value of the capacitance detection electrode 2 changes with the liquid level height of the container. When the liquid level height of the container is low, the capacitance value of the capacitance detection electrode 2 is low. When the liquid level height of the container is high, the capacitance value of the capacitance detection electrode 2 is high.

[0035] S2. The minimum capacitance value (C1min, C2min, ..., Cnmin) of the n capacitance detection electrodes 2 is obtained by testing when the liquid level in the container is the minimum value; the maximum capacitance value (C1max, C2max, ..., Cnmax) of the n capacitance detection electrodes 2 is obtained by testing when the liquid level in the container is the maximum value; when the container is empty, the liquid level in the container is the minimum value, at this time, the capacitance value of the capacitance detection electrode 2 is taken as the minimum capacitance value; when the container is full of liquid, the liquid level in the container is the maximum value, at this time, the capacitance value of the capacitance detection electrode 2 is taken as the maximum capacitance value; the actual capacitance values ​​(C1, C2, ..., Cn) of the n capacitance detection electrodes 2 are measured; that is, when there is liquid in the container, the capacitance value of the capacitance detection electrode 2 is the actual capacitance value;

[0036] S3, calculating the capacitance change rate (△C1, ..., △Cn) according to the preset capacitance change rate formula, the actual capacitance value, the minimum capacitance value and the maximum capacitance value;

[0037] S4. Then, according to the preset proportional formula, n, H and capacitance change rate, the actual liquid level height h, that is, the real height of the liquid in the current container, is obtained.

[0038] Among them, the capacitance change rate formula is the actual capacitance value minus the minimum capacitance value to obtain the difference capacitance value, the difference capacitance value divided by the maximum capacitance value to obtain S21, the change rate ΔC: that is, △Cn=(Cn-Cnmin) / Cnmax.

[0039] At the same time, the preset proportional formula changes with the change of n; S31, when n is an even number, the proportional formula is: ; S32, when n is an odd number, the proportional formula is: After the number of n is determined, the height of the liquid level in the container is calculated by a preset proportional formula to achieve the effect of detecting the height of the liquid level in the container.

[0040] The capacitance proportional liquid level detection method in this embodiment specifically includes: first, n capacitance detection electrodes 2 are arranged on one side of the container, and the liquid level gear accuracy H is preset according to actual needs. The capacitance value of the capacitance detection electrode 2 changes with the change of the container liquid level. When the liquid level is low, the capacitance value is low, and when the liquid level is high, the capacitance value is high.

[0041] In order to measure the liquid level, it is necessary to first test the minimum and maximum capacitance values. Through the test, the minimum capacitance value (C1min, C2min, ..., Cnmin) of the n capacitance detection electrodes 2 when the container liquid level is the minimum value, and the maximum capacitance value (C1max, C2max, ..., Cnmax) when the container liquid level is the maximum value are obtained. When the container is empty of liquid, the capacitance value of the capacitance detection electrode 2 is used as the minimum capacitance value; when the container is full of liquid, the capacitance value of the capacitance detection electrode 2 is used as the maximum capacitance value.

[0042] In actual use, the actual capacitance values ​​(C1, ..., Cn) of the n capacitance detection electrodes 2 are measured, that is, the capacitance values ​​when the liquid is present in the container. Next, the capacitance change rate (△C1, ..., △Cn) is calculated based on the preset capacitance change rate formula, the actual capacitance value, the minimum capacitance value and the maximum capacitance value. The capacitance change rate formula is obtained by subtracting the minimum capacitance value from the actual capacitance value to obtain the difference capacitance value, and then dividing it by the maximum capacitance value to obtain the capacitance change rate (△Cn = (Cn - Cnmin) / Cnmax).

[0043] Finally, the actual height h of the liquid level, i.e., the actual height of the liquid in the container, is calculated according to the preset proportional formula, n, H, and the capacitance change rate. The form of the proportional formula varies according to the parity of the number n of the capacitance detection electrodes 2. When n is an even number, the proportional formula is ; When n is an odd number, the proportional formula is Through these preset formulas, the true height of the container liquid level can be calculated to achieve accurate detection of the liquid level.

[0044] Through the above-mentioned settings, the influence of different liquid level heights on different capacitance detection electrodes 2 is utilized, and then the liquid level height information can be accurately calculated through the capacitance change rate formula and the proportional formula; at the same time, this embodiment has no special requirements for hardware circuits, software processing and structural assembly. The liquid level height can be accurately detected without contacting the liquid, does not pollute the liquid, is safe and reliable, and has no requirements for the light transmittance of the container, thereby achieving low-cost and high-precision detection, and improving the technical problem that the low cost and high precision of the liquid level detection method are incompatible.

[0045] Reference Figures 1 to 4 This embodiment provides a capacitance proportional liquid level detection device applied to the capacitance proportional liquid level detection method in the above embodiment, and the capacitance proportional liquid level detection device includes a capacitance detection module 1 and n capacitance detection electrodes 2, wherein n≥2, and the capacitance detection module 1 is electrically connected to the n capacitance detection electrodes 2 respectively.

[0046] Embodiment 2

[0047] Reference Figures 1 to 4 When n=2 among the n capacitance detection electrodes 2, the two capacitance detection electrodes 2 are in the shape of a "right triangle". In other embodiments, the capacitance detection electrodes 2 may be in other shapes. This embodiment only exemplifies the optimal implementation method, in which the "right triangle" shape is the optimal method; the two capacitance detection electrodes 2 are rotationally symmetrical to form a rectangle, which is convenient for calculating the actual height of the container liquid through a mathematical model and algorithm, thereby improving the detection accuracy of the capacitance proportional liquid level detection device.

[0048] Reference Figures 1 to 4 The capacitance detection module 1 is used to detect the capacitance value of n capacitance detection electrodes 2 on the container liquid level. The change of the capacitance value can monitor the liquid level change of liquids of different media in containers of different shapes and materials in real time and accurately; the capacitance proportional liquid level detection device also includes a processor 3, which is used to process the capacitance value detected by the capacitance detection module 1 and calculate the actual height of the container liquid through a mathematical model and algorithm.

[0049] Among them, the capacitance detection electrode 2 is a conductive PAD. Through the flexibility, plasticity, cuttability and adhesiveness of the conductive PAD, the capacitance detection electrode 2 can be designed and installed according to different application scenarios and requirements, thereby improving the adaptability and versatility of the device. The conductive PAD can be PCB copper foil, FPC copper foil, ITO and conductive materials.

[0050] In summary, the capacitive proportional liquid level detection device provided in this embodiment has the advantages of low cost and high detection accuracy, and improves the technical problem that the low cost and high accuracy of the liquid level detection method are incompatible.

[0051] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A capacitance proportional liquid level detection method, characterized in that: include: S1. Provide n capacitance detection electrodes (N≥2), set the n capacitance detection electrodes on one side of the container, and preset the liquid level accuracy of the container to H; S2. Test and obtain the minimum capacitance value (C1min, C2min, ..., Cnmin) of all capacitance detection electrodes when the container liquid level is the minimum value; Test and obtain the maximum capacitance value (C1max, C2max, ..., Cnmax) of all capacitance detection electrodes when the container liquid level is the maximum value; Measure the actual capacitance value (C1, C2, ..., Cn) of all capacitance detection electrodes; S3. Calculate the capacitance change rate (△C1, ..., △Cn) according to the preset capacitance change rate formula: △Cn=(Cn-Cnmin) / Cnmax, the actual capacitance value, the minimum capacitance value and the maximum capacitance value; S4. According to the preset proportional formula, n, H and capacitance change rate, the actual liquid level height h is obtained; when the capacitance detection electrode n is an even number, the proportional formula is: ; When the capacitance detection electrode n is an odd number, the proportional formula is: 。 2. A capacitive proportional liquid level detection device, characterized in that: The capacitance proportional liquid level detection method as claimed in claim 1 comprises a capacitance detection module and n capacitance detection electrodes, wherein n≥2; the capacitance detection module is electrically connected to the n capacitance detection electrodes respectively; The capacitance detection module is used to detect the capacitance values ​​of n capacitance detection electrodes on the liquid level of the container; It also includes a processor, which is used to perform data processing on the capacitance value detected by the capacitance detection module and calculate the liquid level height of the container.

3. A capacitive proportional liquid level detection device according to claim 2, characterized in that: Among the n capacitance detection electrodes, when n=2, two of the capacitance detection electrodes are in a "right triangle" shape, and the two capacitance detection electrodes are rotationally symmetrical to form a rectangle.

4. A capacitive proportional liquid level detection device according to claim 2, characterized in that: The capacitance detection electrode is a conductive PAD, and the conductive PAD is a conductive material.