Liquid level sensor, liquid level detection method, computer storage medium and electronic equipment

By introducing comb-tooth-like structure and gap between teeth into the capacitance sensing unit of the liquid level sensor, the problem of viscous liquid hanging material affecting detection accuracy is solved, and a higher liquid level height detection accuracy is achieved.

CN119984441APending Publication Date: 2025-05-13MGI TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202311477607.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-07
Publication Date
2025-05-13

AI Technical Summary

Technical Problem

When detecting viscous liquid, existing capacitive liquid level sensors are susceptible to liquid hanging materials, resulting in inaccurate detection results.

Method used

A liquid level sensor is designed, and its capacitance sensing unit includes a comb-tooth structure, which is bonded to the outer wall of the liquid container to form a capacitor. There is a gap between the adjacent comb teeth, which reduces the relative area of ​​the capacitance plate, thereby reducing the influence of liquid hanging on the capacitance value.

Benefits of technology

By reducing the influence of liquid hanging material on the capacitance value, the accuracy of liquid level height detection is improved, especially when detecting viscous liquids, the accuracy of the results is significantly improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119984441A_ABST
    Figure CN119984441A_ABST
Patent Text Reader

Abstract

The invention provides a liquid level sensor, a liquid level detection method, a computer storage medium and electronic equipment. The liquid level sensor comprises a capacitance sensing unit, a capacitance detection unit and a capacitance processing unit. The capacitance sensing unit comprises a comb-tooth-shaped structure, and the comb-tooth-shaped structure and the outer wall face of the liquid container are attached to form a capacitor together; the capacitance detection unit is connected with the capacitance sensing unit and is used for detecting the capacitance value of the capacitor and transmitting the capacitance value to the capacitance processing unit; and the capacitance processing unit is connected with the capacitance detection unit and is used for acquiring the liquid level height of the liquid in the liquid container according to the received capacitance value. According to the liquid level detection device, the influence of liquid hanging in the liquid container on liquid level height detection can be reduced, and the liquid level height detection accuracy is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of detection technology, and in particular to a liquid level sensor, a liquid level detection method, a computer storage medium and an electronic device. Background Art

[0002] In an automatic control system that includes a liquid container, the detection of the liquid level in the container is an important parameter for the system to control the liquid level. When the liquid level reaches the upper limit, the liquid injection is stopped; when the liquid level reaches the lower limit, an alarm is issued or the valve is automatically opened to inject liquid; when the liquid level is between the upper and lower limits, the remaining liquid can be used to estimate the time it takes to use it based on the liquid level height and the working status of the system. Therefore, accurately measuring the liquid level height in the container is a necessary function for the automatic control system to achieve intelligence.

[0003] In the related technology, capacitive liquid level sensors are usually used to detect the liquid level in the container. The main principle of capacitive liquid level sensing is that the dielectric constant ε1 of the liquid is different from the dielectric constant ε2 on the liquid surface. For example, ε1>ε2, when the liquid level rises, the total dielectric constant value between the two electrodes of the capacitive liquid level meter increases accordingly, and thus the capacitance increases; conversely, when the liquid level drops, the ε value decreases, and the capacitance also decreases. However, when the liquid in the container is relatively viscous, the liquid is easy to hang on the inner wall of the container, resulting in inaccurate detection results of the capacitive liquid level sensor. Summary of the invention

[0004] In view of this, the present application provides a liquid level sensor, a liquid level detection method, a computer storage medium and an electronic device, which can reduce the influence of liquid hanging material in a liquid container on liquid level height detection and improve the accuracy of liquid level height detection.

[0005] The first aspect of the present application provides a liquid level sensor, comprising: a capacitance sensing unit, a capacitance detection unit and a capacitance processing unit; the capacitance sensing unit comprises a comb-tooth structure, and the comb-tooth structure is in contact with the outer wall surface of the liquid container to form a capacitor together; the capacitance detection unit is connected to the capacitance sensing unit and is used to detect the capacitance value of the capacitor; the capacitance processing unit is connected to the capacitance detection unit and is used to obtain the liquid level height of the liquid in the liquid container according to the capacitance value.

[0006] Compared with the related art, the embodiments of the present application have at least the following advantages: by setting a capacitance sensing unit, since the capacitance sensing unit includes a comb-tooth structure, on the one hand, the comb-tooth structure is fitted with the outer wall surface of the liquid container to form a capacitor together, thereby converting the liquid level information in the liquid container into a capacitance value, and then the liquid level height of the liquid in the liquid container can be detected according to the capacitance value; on the other hand, there is an inter-tooth gap between adjacent comb teeth, so that the thickness of the capacitance sensing unit at the inter-tooth gap is relatively thin. Since the capacitance sensing unit is the capacitance plate of the capacitor, the relative area of ​​the capacitance plate of the capacitor at the inter-tooth gap is small, and then the capacitance value at the inter-tooth gap changes relatively little with the liquid level height. Therefore, when the viscous liquid hangs on the inner wall of the liquid container, the capacitance value changes less when the liquid flows into the inter-tooth gap, thereby reducing the influence of the liquid hanging in the liquid container on the liquid level detection and improving the accuracy of the liquid level detection.

[0007] In some possible implementations, the comb-tooth structure includes a first bottom and a first comb-tooth portion; the first bottom includes a first surface and a second surface arranged opposite to the first surface, the first surface is in contact with the outer wall surface of the liquid container, and the first comb-tooth portion is arranged on the second surface.

[0008] In some possible implementations, the first comb-tooth portion includes at least one first protrusion extending from the second surface in a direction away from the first surface.

[0009] In some possible implementations, the cross-sectional shape of the first protrusion along the thickness direction of the comb-tooth-shaped structure is one or more of a square, a trapezoid, a semicircle, and a triangle.

[0010] In some possible implementations, the comb-tooth structure includes a second bottom and a second comb-tooth portion; the second bottom includes a third surface and a fourth surface arranged opposite to the third surface, the second comb-tooth portion includes at least one second protrusion arranged on the third surface, and at least one third protrusion arranged on the fourth surface; the second protrusion is in contact with the outer wall surface of the liquid container.

[0011] In some possible implementations, the second protrusion and the third protrusion are symmetrically arranged with respect to the second bottom.

[0012] In some possible implementations, the capacitive sensing unit is a flexible circuit board.

[0013] The second aspect of the present application discloses a liquid level detection method, comprising: obtaining a capacitance value of a capacitor, wherein the capacitor comprises a capacitance sensing unit and a liquid container, the capacitance sensing unit comprises a comb-tooth structure, and the comb-tooth structure is in contact with an outer wall surface of the liquid container to together form the capacitor; and obtaining a liquid level height of the liquid in the liquid container according to the capacitance value.

[0014] The third aspect of the present application discloses a computer storage medium, including computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes the above-mentioned laser detection method.

[0015] The fourth aspect of the present application discloses an electronic device, which includes a processor and a memory, wherein the memory is used to store instructions, and the processor is used to call the instructions in the memory so that the electronic device executes the above-mentioned laser detection method.

[0016] It can be understood that the liquid level detection method of the second aspect, the computer storage medium of the third aspect, and the electronic device of the fourth aspect provided above all correspond to the liquid level sensor of the first aspect. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 A schematic diagram of the structure of a liquid level sensor provided in one embodiment of the present application;

[0018] Figure 2 A fitting curve of capacitance detection value versus liquid level height provided in an embodiment of the present application;

[0019] Figure 3 A curve of the rate of change of capacitance at different liquid level heights provided in an embodiment of the present application;

[0020] Figure 4 Another structural schematic diagram of a capacitive sensing unit provided in one embodiment of the present application;

[0021] Figure 5 A schematic diagram of a flow chart of a liquid level detection method provided in an embodiment of the present application;

[0022] Figure 6 A schematic diagram of the hardware structure of an electronic device provided in one embodiment of the present application. DETAILED DESCRIPTION

[0023] In order to more clearly understand the above-mentioned purposes, features and advantages of the present application, the present application is described in detail below in conjunction with the accompanying drawings and specific implementation methods. It should be noted that the implementation methods of the present application and the features in the implementation methods can be combined with each other without conflict.

[0024] In the following description, many specific details are set forth to facilitate a full understanding of the present application. The described implementations are only part of the implementations of the present application, rather than all the implementations.

[0025] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application.

[0026] It should be further noted that, in this article, the terms "comprises", "includes" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.

[0027] In this application, "at least one" means one or more, and "more than one" means two or more than two. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The terms "first", "second", "third", "fourth", etc. (if any) in the specification, claims and drawings of this application are used to distinguish similar objects, rather than to describe a specific order or sequence.

[0028] In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0029] Please refer to Figure 1, which is a schematic diagram of the structure of the liquid level sensor provided in an embodiment of the present application. The liquid level sensor 100 includes a capacitive sensing unit 1, a capacitive detection unit 2 and a capacitive processing unit 3. The capacitive sensing unit 1 includes a comb-shaped structure 10, which is attached to the outer wall surface of the liquid container 4 to form a capacitor together; the capacitive detection unit 2 is connected to the capacitive sensing unit 1, and is used to detect the capacitance value of the capacitor and transmit the capacitance value to the capacitive processing unit 3; the capacitive processing unit 3 is connected to the capacitive detection unit 2, and is used to obtain the liquid level height of the liquid in the liquid container 4 according to the received capacitance value.

[0030] Specifically, the comb-tooth structure 10 is attached to the outer wall of the liquid container 4, and the comb-tooth structure 10 and the liquid container 4 together form a capacitor, the liquid in the liquid container 4 is a dielectric, and the comb-tooth structure 10 is a capacitor plate. Since different liquid levels will cause the dielectric to change, and then cause the capacitance value to change, the capacitance value of the capacitor is detected by the capacitance detection unit, and then the capacitance value is analyzed by the capacitance processing unit to obtain the liquid level of the liquid in the liquid container 4.

[0031] In some embodiments, the comb-tooth structure 10 is attached to the outer wall of the liquid container 4 by gluing. It is understandable that this embodiment does not specifically limit the fixing method of the comb-tooth structure 10 and the liquid container 4, and it can be set according to actual conditions.

[0032] In some embodiments, the capacitive sensing unit 1 is a flexible circuit board, which has high reliability and designability. Therefore, using a flexible circuit board as a capacitor plate can ensure the quality of the liquid level sensor 100 on the one hand, and on the other hand make it easy to design the capacitive sensing unit 1 into a comb-like structure, thereby reducing the manufacturing difficulty of the liquid level sensor 100.

[0033] In some embodiments, the capacitance detection unit 2 is a capacitance-to-digital converter. A capacitance-to-digital converter is a circuit or chip that can convert the capacitance value of a capacitor into a digital output. It can measure the capacitance value of a capacitor and convert it into a digital form for processing and analysis by a digital system. The working principle of the capacitance-to-digital converter can be divided into two stages: a charging stage and a discharging stage. In the charging stage, the capacitor is charged to a known voltage value by controlling the charging current. In the discharging stage, the capacitance value of the capacitor is calculated by measuring the change in voltage during the discharge process of the capacitor.

[0034] In some embodiments, the capacitance processing unit 3 is a microcontroller. A microcontroller is a single-chip microcomputer that integrates the main parts of a microcomputer on one chip, and has the advantages of being cheap, small, and easy to implement. Therefore, it can be embedded in any device.

[0035] It is understandable that this embodiment does not specifically limit the structures of the capacitance detection unit 2 and the capacitance processing unit 3, and other structures can be selected according to actual needs.

[0036] For ease of understanding, the following takes the capacitance sensing unit 1 as a flexible circuit board, the capacitance detection unit 2 as a capacitance digital converter, and the capacitance processing unit 3 as a microcontroller as an example to specifically illustrate the working process of the liquid level sensor 100 in this embodiment:

[0037] The capacitance digital converter has two interfaces, and the two interfaces are respectively connected to the two plates of the capacitor to test the capacitance of the capacitor. In this example, one interface of the capacitance digital converter is connected to the flexible circuit board, and the other interface is suspended (that is, one plate of the capacitor is grounded). The flexible circuit board is attached to the outer wall surface of the liquid container, so that the flexible circuit board and the liquid container form a capacitor together. After the capacitance digital converter detects the capacitance value of the capacitor, it converts the capacitance value into digital form, and then sends the capacitance value in digital form to the microcontroller, which analyzes and processes the capacitance value in digital form to obtain the liquid level height of the liquid in the liquid container.

[0038] Compared with the related art, the embodiment of the present application has at least the following advantages: by setting the capacitance sensing unit 1, since the capacitance sensing unit 1 includes a comb-tooth structure 10, on the one hand, the comb-tooth structure 10 is attached to the outer wall surface of the liquid container 4 to form a capacitor together, thereby converting the liquid level information in the liquid container 4 into a capacitance value, and then the liquid level height of the liquid in the liquid container 4 can be detected according to the capacitance value; on the other hand, there is an inter-tooth gap between adjacent comb teeth, so that the thickness of the capacitance sensing unit at the inter-tooth gap is relatively thin. Since the capacitance sensing unit is the capacitance plate of the capacitor, the relative area of ​​the capacitance plate of the capacitor at the inter-tooth gap is small, and then the capacitance value at the inter-tooth gap changes relatively little with the liquid level height. Therefore, when the viscous liquid hangs on the inner wall of the liquid container, the capacitance value changes less when the liquid flows into the inter-tooth gap, thereby reducing the influence of the liquid hanging in the liquid container on the liquid level detection and improving the accuracy of the liquid level detection.

[0039] Please refer again Figure 1 The comb-tooth structure 10 includes a first bottom 11 and a first comb-tooth portion 12; the first bottom 11 includes a first surface 111 and a second surface 112 arranged opposite to the first surface 111, the first surface 111 is in contact with the outer wall of the liquid container 4, and the first comb-tooth portion 12 is arranged on the second surface 112.

[0040] It should be noted that Figure 1The first bottom portion 11 shown is in contact with the outer wall surface of the liquid container 4 . In other embodiments, the first comb-tooth portion 12 may also be in contact with the outer wall surface of the liquid container 4 . This is not specifically limited.

[0041] Please refer again Figure 1 The first comb-tooth portion 12 includes at least one extending from the second surface 112 in a direction away from the first surface 111 .

[0042] Figure 1 The first comb-tooth portion 12 shown includes three first protrusions 121 . In practical applications, the number of the comb-tooth structures is not specifically limited.

[0043] It is understandable that this embodiment does not specifically limit the spacing between adjacent first protrusions 121 , and the width and length of the first protrusions 121 , and they can be set according to actual needs.

[0044] Figure 1 The first protrusions 121 shown have the same width and length. In practical applications, a plurality of first protrusions 121 with different widths and lengths may also be provided.

[0045] In some embodiments, the cross-sectional shape of the first protrusion 121 along the thickness direction of the comb-shaped structure 10 can be one or more of square, trapezoid, semicircle and triangle. It is understandable that Figure 1 The cross-sectional shape of the first protrusion 121 shown in the thickness direction of the comb-tooth-shaped structure 10 is a square, but the cross-sectional shape of the first protrusion 121 along the thickness direction of the comb-tooth-shaped structure 10 is not limited thereto, and can also be any other shape. The cross-sectional shape of the first protrusion 121 along the thickness direction of the comb-tooth-shaped structure 10 does not need to be completely consistent, such as the cross-sectional shape can be alternately arranged in a square and a semicircle. This embodiment does not specifically limit the cross-sectional shape of the first protrusion 121 along the thickness direction of the comb-tooth-shaped structure 10 and the number of shapes of the first protrusion 121.

[0046] For ease of understanding, the following Figures 2 to 3 right Figure 1 The working principle of the liquid sensor 100 shown is specifically described as follows:

[0047] exist Figure 1 In the liquid sensor 100 shown, one interface of the capacitance detection unit 2 is connected to the capacitance sensing unit 1, and the other interface is grounded, so that the capacitance sensing unit 1 and the ground are regarded as the two plates of the capacitor, and the conductive liquid in the liquid container 4 is regarded as the dielectric. The change of the liquid level is the change of the dielectric, and thus the change of the capacitance value.

[0048] Specifically, in the case of a regular liquid container, the capacitance value detected by the capacitance detection unit 2 is proportional to the liquid level, that is: Among them, C is the capacitance value, ε is the dielectric constant, S is the area of ​​the capacitor plate, d is the distance between the two plates, w is the plate width, and h is the liquid level height.

[0049] therefore, Figure 1 In the liquid sensor 100 shown, the capacitance value of the area corresponding to the gap between the teeth of the comb structure is proportional to the liquid level height, the relative area of ​​the capacitor plate is small, and the capacitance value in this interval changes little with the liquid level height.

[0050] The above formula (1) can be simplified to: (2) C 1 =k 1 ×h; where C 1 is the capacitance value of the area corresponding to the gap between teeth, k 1 is a certain value, h is the liquid level height.

[0051] In the area corresponding to the comb-tooth structure, the capacitor plate has a relatively large area, the capacitance value is proportional to the liquid level height, and the capacitance value changes greatly with the change of the liquid level height.

[0052] The above formula (1) can be simplified to: (3) C 2 =k 2 ×h(k 2 >>k 1 ), where C 2 is the capacitance value of the area corresponding to the comb structure, k 2 is a certain value, h is the liquid level height.

[0053] Please refer to Figure 2 , which is a fitting curve of the capacitance detection value versus liquid level provided in the embodiment of the present application. The total detection capacitance of the liquid sensor 100 is equivalent to multiple capacitors in parallel, that is, the sum of all capacitance values ​​calculated in formula (2) and formula (3). When the liquid container 4 is hanging liquid and the liquid on the wall flows downward: in the area corresponding to the gap between the teeth, the area of ​​the capacitor plate is small, and the capacitance change caused by the liquid flowing into this interval is small; in the area corresponding to the comb tooth structure, the relative area of ​​the capacitor plate is large, and the capacitance change caused by the liquid level change is large.

[0054] Therefore, by providing the comb-tooth structure 10, the change rate of the capacitance value relative to the liquid level height can be greatly increased, thereby improving the sensitivity of the capacitive sensing.

[0055] Please refer to Figure 3, is a curve of the rate of change of capacitance at different liquid level heights provided in the embodiment of the present application. Since the liquid hanging part is located in the interval corresponding to the gap between the teeth, the capacitance value decreases slowly; when the liquid hanging continues to flow down into the interval corresponding to the comb tooth structure, the capacitance value decreases rapidly, so that the detection value of the capacitance can approach the actual liquid level at a faster speed.

[0056] Please refer to Figure 4 , which is another structural schematic diagram of the capacitive sensing unit provided in an embodiment of the present application. The comb-tooth structure 20 includes a second bottom 21 and a second comb-tooth portion 22; the second bottom 21 includes a third surface 211 and a fourth surface 212 disposed opposite to the third surface 211, and the second comb-tooth portion 22 includes at least one second protrusion 221 disposed on the third surface 211, and at least one third protrusion 222 disposed on the fourth surface 212; the second protrusion 221 is in contact with the outer wall surface of the liquid container 4.

[0057] Figure 4 The second protrusion 221 and the third protrusion 222 are shown to be symmetrically arranged with respect to the second bottom 21 . In practical applications, the second protrusion 221 and the third protrusion 222 may also be staggered, but it is necessary to ensure that there is a partial inter-tooth gap between adjacent second protrusions 221 and third protrusions 222 .

[0058] It should be noted that Figure 4 The second protrusion 221 and the third protrusion 222 shown are completely the same in shape and size. In some embodiments, the second protrusion 221 and the third protrusion 222 may also be different in shape and size.

[0059] In some embodiments, the spacing between adjacent second protrusions 221 and the width and length of the second protrusions 221 are not specifically limited and can be set according to actual needs.

[0060] In some embodiments, the spacing between adjacent third protrusions 222 and the width and length of the third protrusions 222 are not specifically limited and can be set according to actual needs.

[0061] In some embodiments, the cross-sectional shape of the second protrusion 221 and the third protrusion 222 along the thickness direction of the comb-shaped structure 20 can be one or more of square, trapezoid, semicircle and triangle. It is understood that Figure 5The cross-sectional shapes of the second protrusion 221 and the third protrusion 222 shown in the figure along the thickness direction of the comb-tooth-shaped structure 20 are both square, but the cross-sectional shapes of the second protrusion 221 and the third protrusion 222 along the thickness direction of the comb-tooth-shaped structure 20 are not limited thereto, and can also be any other shape, and the cross-sectional shapes of the second protrusion 221 and the third protrusion 222 along the thickness direction of the comb-tooth-shaped structure 20 do not need to be completely consistent, such as the cross-sectional shapes can be alternately arranged in squares and semicircles, etc. This embodiment does not specifically limit the cross-sectional shapes of the second protrusion 221 and the third protrusion 222 along the thickness direction of the comb-tooth-shaped structure 20, and the shapes and quantities of the second protrusion 221 and the third protrusion 222.

[0062] See also Figure 5 , is a flow chart of a liquid level detection method provided in an embodiment of the present application. This embodiment is applied to the liquid level detector of the aforementioned embodiment, and includes the following steps:

[0063] Step 101: Obtain the capacitance value of a capacitor, wherein the capacitor includes a capacitance sensing unit and a liquid container, the capacitance sensing unit includes a comb-tooth structure, and the comb-tooth structure is attached to the outer wall surface of the liquid container to form a capacitor together.

[0064] Step 102: Obtain the liquid level height of the liquid in the liquid container according to the capacitance value.

[0065] Compared with the related art, the embodiments of the present application have at least the following advantages: by setting a capacitance sensing unit, since the capacitance sensing unit includes a comb-tooth structure, on the one hand, the comb-tooth structure is fitted with the outer wall surface of the liquid container to form a capacitor together, thereby converting the liquid level information in the liquid container into a capacitance value, and then the liquid level height of the liquid in the liquid container can be detected according to the capacitance value; on the other hand, there is an inter-tooth gap between adjacent comb teeth, so that the thickness of the capacitance sensing unit at the inter-tooth gap is relatively thin. Since the capacitance sensing unit is the capacitance plate of the capacitor, the relative area of ​​the capacitance plate of the capacitor at the inter-tooth gap is small, and then the capacitance value at the inter-tooth gap changes relatively little with the liquid level height. Therefore, when the viscous liquid hangs on the inner wall of the liquid container, the capacitance value changes less when the liquid flows into the inter-tooth gap, thereby reducing the influence of the liquid hanging in the liquid container on the liquid level detection and improving the accuracy of the liquid level detection.

[0066] Please refer to Figure 6 , is a schematic diagram of the hardware structure of the electronic device 1000 provided in the embodiment of the present application. Figure 6As shown, the electronic device 1000 may include a processor 1001 and a memory 1002. The memory 1002 is used to store one or more computer programs 1003. The one or more computer programs 1003 are configured to be executed by the processor 1001. The one or more computer programs 1003 include instructions, and the above instructions can be used to implement the above liquid level detection method in the electronic device 1000.

[0067] It is understandable that the structure shown in this embodiment does not constitute a specific limitation on the electronic device 1000. In other embodiments, the electronic device 1000 may include more or fewer components than shown, or combine or separate some components, or arrange the components differently.

[0068] The processor 1001 may include one or more processing units, for example, the processor 1001 may include an application processor (AP), a modem, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0069] The processor 1001 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 1001 is a cache memory. The memory may store instructions or data that the processor 1001 has just used or circulated. If the processor 1001 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 1001, and thus improves the efficiency of the system.

[0070] In some embodiments, the processor 1001 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a SIM interface, and / or a USB interface, etc.

[0071] In some embodiments, memory 1002 may include high-speed random access memory and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0072] This embodiment further provides a computer-readable storage medium, in which computer instructions are stored. When the instructions are executed on an electronic device, the electronic device executes the above-mentioned related method steps to implement the method in the above-mentioned embodiment.

[0073] Among them, the electronic device and computer storage medium provided in this embodiment are used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above, and will not be repeated here.

[0074] In practical applications, the above functions can be distributed to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0075] In several embodiments provided in the present application, the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are schematic. For example, the division of the modules or units is a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0076] The unit described as a separate component may or may not be physically separated, and the component shown as a unit may be one physical unit or multiple physical units, that is, it may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiment.

[0077] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0078] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), disk or optical disk and other media that can store program code.

[0079] The above description is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application.

Claims

1. A liquid level sensor, characterized in that: include: Capacitance sensing unit, capacitance detection unit and capacitance processing unit; The capacitive sensing unit includes a comb-tooth structure, and the comb-tooth structure is attached to the outer wall surface of the liquid container to form a capacitor together; The capacitance detection unit is connected to the capacitance sensing unit, and is used to detect the capacitance value of the capacitor and transmit the capacitance value to the capacitance processing unit; The capacitance processing unit is connected to the capacitance detection unit and is used to obtain the liquid level height of the liquid in the liquid container according to the received capacitance value.

2. The liquid level sensor according to claim 1, characterized in that: The comb-tooth structure comprises a first bottom portion and a first comb-tooth portion; The first bottom portion includes a first surface and a second surface arranged opposite to the first surface, the first surface is in contact with the outer wall surface of the liquid container, and the first comb-tooth portion is arranged on the second surface.

3. The liquid level sensor according to claim 2, characterized in that: The first comb-tooth portion includes at least one first protrusion extending from the second surface toward a direction away from the first surface.

4. The liquid level sensor according to claim 3, characterized in that: The cross-sectional shape of the first protrusion along the thickness direction of the comb-tooth-shaped structure is one or more of square, trapezoid, semicircle and triangle.

5. The liquid level sensor according to claim 1, characterized in that: The comb-tooth structure comprises a second bottom portion and a second comb-tooth portion; The second bottom portion includes a third surface and a fourth surface arranged opposite to the third surface, and the second comb tooth portion includes at least one second protrusion arranged on the third surface, and at least one third protrusion arranged on the fourth surface; the second protrusion is in contact with the outer wall surface of the liquid container.

6. The liquid level sensor according to claim 5, characterized in that: The second protrusion and the third protrusion are symmetrically arranged with respect to the second bottom.

7. The liquid level sensor according to any one of claims 1 to 6, characterized in that: The capacitive sensing unit is a flexible circuit board.

8. A liquid level detection method, characterized in that: include: Obtaining a capacitance value of a capacitor, wherein the capacitor comprises a capacitance sensing unit and a liquid container, the capacitance sensing unit comprises a comb-tooth structure, and the comb-tooth structure is attached to an outer wall surface of the liquid container to form the capacitor; The liquid level height of the liquid in the liquid container is obtained according to the capacitance value.

9. A computer storage medium, characterized in that: It comprises computer instructions, and when the computer instructions are executed on an electronic device, the electronic device executes the liquid level detection method as claimed in claim 8.

10. An electronic device, characterized in that: The electronic device comprises a processor and a memory, the memory is used to store instructions, and the processor is used to call the instructions in the memory, so that the electronic device executes the liquid level detection method described in claim 8.

Citation Information

Cited By

  • Intelligent parameter checking method and system of water level sensor, medium and equipment

    CN120232494A