Liquid leakage detection circuit with adjustable threshold value
The leak detection circuit, analyzed by multi-channel electrodes and a microcontroller, solves the problems of accuracy and false alarms in the detection of various liquid leaks, and realizes accurate detection and flexible alarm for various liquids. It is applicable to industrial fields such as chemical, petroleum, power and pharmaceutical industries.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-18
- Publication Date
- 2026-03-06
AI Technical Summary
Existing leak detection systems are unable to detect leaks of multiple liquids simultaneously, leading to system failures or safety accidents, and are prone to false alarms in environments with high humidity.
The system employs a multi-channel electrode sampling circuit, a multiplexer circuit, a microcontroller circuit, and a CAN communication transceiver circuit. The microcontroller analyzes the voltage values of different liquids and sets alarm thresholds, enabling accurate detection of various liquids and reducing false alarms.
It achieves accurate detection of various liquids, reduces false alarm rate, improves system flexibility and reliability, and is suitable for various industrial environments.
Smart Images

Figure CN223976818U_ABST
Abstract
Description
Technical Field
[0001] This utility model relates to the technical field of industrial automatic control and data acquisition, and more particularly to a leakage detection circuit with an adjustable threshold. Background Technology
[0002] Leak detectors, as devices specifically designed to monitor liquid leaks, play a vital role in modern industry, commerce, and daily life. Through advanced sensing technology and intelligent detection systems, they can promptly detect and warn of liquid leaks, effectively preventing losses and hazards caused by leaks.
[0003] The core technology of a leak detector lies in its high-precision sensors and intelligent processing system. The sensor is responsible for capturing signals of liquid leaks, which may originate from various possible leak sources such as pipes, tanks, and equipment. Once a leak is detected, the sensor immediately transmits the signal to the processing system. The system then uses complex algorithms to analyze and judge the signal, ultimately determining the location and extent of the leak and triggering an alarm mechanism.
[0004] Leak detectors have a wide range of applications, covering multiple fields such as chemical, petroleum, power, and pharmaceutical. In the chemical industry, they can be used to monitor and warn of chemical leaks, preventing toxic and harmful substances from harming the environment and personnel. In the petroleum industry, they can be used to monitor and warn of leaks of oil and its products, ensuring the safety of oil fields, refineries, and oil storage facilities. In the power industry, they can be used to monitor and warn of leaks of coolants, lubricating oils, and other liquids, preventing equipment damage due to overheating or poor lubrication. In the pharmaceutical industry, they can be used to monitor and warn of leaks of pharmaceutical solutions, solvents, and other liquids, ensuring the quality of medicines and the smooth operation of production.
[0005] In increasingly common industrial environments, multiple liquids may coexist. Failure to detect leaks in these liquids simultaneously could lead to system failure or safety incidents due to the delayed detection of a leak in one liquid. Simultaneous detection of leaks in different liquids is crucial for ensuring safety, protecting the environment, improving economic efficiency, and complying with regulatory requirements. Therefore, when designing and implementing a liquid leak detection system, the properties of different liquids and the detection requirements should be fully considered to ensure the system's accuracy and reliability. Utility Model Content
[0006] In view of the technical problems mentioned in the background section above, a leakage detection circuit with an adjustable threshold is provided.
[0007] The technical means adopted in this utility model are as follows:
[0008] A threshold-adjustable leakage detection circuit includes:
[0009] The sampling circuit for the multi-channel electrode, the multiplexer circuit, the microcontroller circuit, and the CAN communication transceiver circuit;
[0010] The detection electrode is connected to the input terminal of the sampling circuit of the multi-channel electrode; the output terminal of the sampling circuit of the multi-channel electrode is connected to the input terminal of the multiplexer circuit; the output terminal of the multiplexer circuit is connected to the input terminal of the microcontroller circuit; the output terminal of the microcontroller circuit is connected to the input terminal of the CAN communication transceiver circuit via TXD; the output terminal of the CAN communication transceiver circuit is connected to the microcontroller circuit via RXD.
[0011] The detection circuit further includes a reference voltage circuit; the output terminal of the reference voltage circuit is connected to the input terminal of the microcontroller circuit.
[0012] Furthermore, the PC4 pin of the microcontroller circuit is the ADC signal input terminal.
[0013] Furthermore, an alarm threshold is set via the CAN communication transceiver circuit.
[0014] Furthermore, the reference voltage circuit provides a reference voltage for the AD conversion.
[0015] Furthermore, the microcontroller circuit polls the voltage value acquired by the sampling circuit of each of the multi-channel electrodes by controlling the pins.
[0016] Furthermore, the CAN communication transceiver circuit converts the data on the bus into a TTL data stream that the microcontroller can recognize, and interacts with the microcontroller through the CAN_TX / RX signal.
[0017] Compared with the prior art, the present invention has the following advantages:
[0018] This invention extracts different resistance values from the electrodes of a leakage sensor, converts these resistance values into electrical signals via a circuit, and then performs an analog-to-digital converter (AD) transformation on the converted voltage value to convert the analog signal into a readable data stream, which is stored in a microcontroller. Simultaneously, the microcontroller can obtain alarm thresholds for different liquid leaks via CAN communication. The microcontroller compares the data extracted by the sensor with the set leakage alarm thresholds to intelligently analyze the leakage status, and the system performs further control based on the final analysis results.
[0019] This invention's circuit can simultaneously analyze the status of eight leakage electrodes, significantly reducing costs and allowing the system to deploy leakage electrodes at different sensitive locations. It also features alarm functions with different thresholds, enabling the detection of various liquids and preventing false alarms in high-humidity industrial environments, thus making the system more accurate and flexible. Attached Figure Description
[0020] To more clearly illustrate the technical solutions in the embodiments of this utility model or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this utility model. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0021] Figure 1 This is a circuit topology diagram of the present invention.
[0022] Figure 2 The circuit principle of this utility model Figure 1 .
[0023] Figure 3 The circuit principle of this utility model Figure 2 .
[0024] Figure 4 The circuit principle of this utility model Figure 3 .
[0025] Figure 5 The circuit principle of this utility model Figure 4 .
[0026] Figure 6 The circuit principle of this utility model Figure 5 . Detailed Implementation
[0027] It should be noted that, where there is no conflict, the embodiments and features in the embodiments of this utility model can be combined with each other. The present utility model will now be described in detail with reference to the accompanying drawings and embodiments.
[0028] To make the objectives, technical solutions, and advantages of the embodiments of this utility model clearer, the technical solutions of the embodiments of this utility model will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this utility model, and not all embodiments. The following description of at least one exemplary embodiment is merely illustrative and is in no way intended to limit this utility model or its application or use. Based on the embodiments of this utility model, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this utility model.
[0029] It should be noted that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the exemplary embodiments according to the present invention. As used herein, the singular form is intended to include the plural form as well, unless the context clearly indicates otherwise. Furthermore, it should be understood that when the terms "comprising" and / or "including" are used in this specification, they indicate the presence of features, steps, operations, devices, components, and / or combinations thereof.
[0030] Unless otherwise specifically stated, the relative arrangement, numerical expressions, and values of the components and steps described in these embodiments do not limit the scope of this invention. It should also be understood that, for ease of description, the dimensions of the various parts shown in the drawings are not drawn to actual scale. Techniques, methods, and devices known to those skilled in the art may not be discussed in detail, but where appropriate, such techniques, methods, and devices should be considered part of the specification. In all examples shown and discussed herein, any specific values should be interpreted as merely exemplary and not as limitations. Therefore, other examples of exemplary embodiments may have different values. It should be noted that similar reference numerals and letters in the following figures denote similar items; therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.
[0031] In the description of this utility model, it should be understood that the orientation or positional relationship indicated by directional terms such as "front, back, up, down, left, right", "horizontal, vertical, horizontal" and "top, bottom" is usually based on the orientation or positional relationship shown in the accompanying drawings, and is only for the convenience of describing this utility model and simplifying the description. Unless otherwise stated, these directional terms do not indicate or imply that the device or element referred to must have a specific orientation or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation on the scope of protection of this utility model. The directional terms "inner" and "outer" refer to the inner and outer contours relative to the outline of each component itself.
[0032] For ease of description, spatial relative terms such as "above," "over," "on the upper surface of," "above," etc., are used herein to describe the spatial positional relationship of a device or feature as shown in the figures to other devices or features. It should be understood that spatial relative terms are intended to encompass different orientations in use or operation besides the orientation of the device as described in the figures. For example, if the device in the figures is inverted, a device described as "above" or "above" other devices or structures would subsequently be positioned as "below" or "under" other devices or structures. Thus, the exemplary term "above" can include both "above" and "below." The device may also be positioned in other different ways (rotated 90 degrees or in other orientations), and the spatial relative descriptions used herein will be interpreted accordingly.
[0033] Furthermore, it should be noted that the use of terms such as "first" and "second" to define components is merely for the purpose of distinguishing the corresponding components. Unless otherwise stated, the above terms have no special meaning and therefore cannot be construed as limiting the scope of protection of this utility model.
[0034] like Figure 1-6 As shown, this utility model provides a leakage detection circuit with an adjustable threshold, including: a sampling circuit with multi-channel electrodes, a multiplexer circuit, a microcontroller circuit, and a CAN communication transceiver circuit.
[0035] The detection electrode is connected to the input terminal of the sampling circuit of the multi-channel electrode; the output terminal of the sampling circuit of the multi-channel electrode is connected to the input terminal of the multiplexer circuit; the output terminal of the multiplexer circuit is connected to the input terminal of the microcontroller circuit; the output terminal of the microcontroller circuit is connected to the input terminal of the CAN communication transceiver circuit via TXD; the output terminal of the CAN communication transceiver circuit is connected to the microcontroller circuit via RXD. The detection circuit further includes a reference voltage circuit; the output terminal of the reference voltage circuit is connected to the input terminal of the microcontroller circuit.
[0036] like Figure 2-6 As shown, the ferrite bead B1 and capacitor C2 can absorb interference and electrical fluctuations in long-distance transmission to a certain extent. Resistors R3 and D1 are mainly protective devices, suppressing current surges and limiting the voltage range. The pull-up resistor R1 works with the sensor electrodes to divide the voltage, converting the electrode resistance value into the VLK voltage value. These separate components constitute an independent channel sampling circuit.
[0037] The voltage values acquired from multiple channels are selected using an 8-to-1 multiplexer via the U3 chip. The microcontroller polls each acquired voltage value through its control pins. The PC4 pin of the U6 microcontroller serves as the signal input pin for the ADC function, receiving the voltage value from the selected channel. Internally, the chip performs AD conversion, transforming the analog signal into a readable data stream, which is then stored in the microcontroller. An independent reference voltage VREF is provided for the ADC module. The U2 reference voltage generator provides a 2.5V voltage with 0.5% accuracy, ensuring that the ADC conversion is unaffected by voltage fluctuations caused by other components in the system, thus guaranteeing reading accuracy.
[0038] Alarm thresholds are set to the microcontroller via the CAN bus. The U9 chip's CAN communication bus transceiver converts the data on the bus into a TTL data stream that the microcontroller can recognize, and interacts with the microcontroller via the CAN_TX / RX signals. The microcontroller compares the data extracted by the sensor with the set leak alarm threshold, intelligently analyzes the leak status, and the system performs further control based on the final analysis results.
[0039] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this utility model, and are not intended to limit it. Although the utility model has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features therein. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this utility model.
Claims
1. A threshold-adjustable liquid leakage detection circuit, characterized by comprising: a liquid leakage detection circuit; a threshold adjuster; and a threshold adjuster control circuit. The application relates to a multi-channel electrode detection circuit. The detection electrode is connected with the input end of the multi-channel electrode sampling circuit; the output end of the multi-channel electrode sampling circuit is connected with the input end of the multiplexer circuit; the output end of the multiplexer circuit is connected with the input end of the microcontroller circuit; the output end of the microcontroller circuit is connected with the input end of the CAN communication transceiver circuit through TXD; the output end of the CAN communication transceiver circuit is connected with the microcontroller circuit through RXD; the detection circuit further comprises a reference voltage circuit; the output end of the reference voltage circuit is connected with the input end of the microcontroller circuit; the PC4 pin of the microcontroller circuit is an ADC signal input end; the alarm threshold value is set through the CAN communication transceiver circuit; the reference voltage circuit provides a reference voltage for AD conversion; the microcontroller circuit polls the voltage value collected by each multi-channel electrode sampling circuit through a control pin; the CAN communication transceiver circuit converts the data on the bus into TTL data flow which can be recognized by the microcontroller, and realizes data interaction with the microcontroller through the signal CAN_TX / RX. 2. The threshold-adjustable liquid leakage detection circuit according to claim 1, characterized by, 3. The threshold-adjustable liquid leakage detection circuit according to claim 1, characterized by, 4. The threshold-adjustable liquid leakage detection circuit according to claim 1, characterized by, 5. The threshold-adjustable liquid leakage detection circuit according to claim 1, wherein 6. The threshold-adjustable leakage detection circuit according to claim 1, wherein