Water leakage degree detection and protection system
By designing a system that includes a microcontroller, protection control circuit, leakage detection circuit, and leakage degree detection board, the problem of the inability to detect the degree of leakage in the existing technology is solved, and the accurate detection and warning function of leakage degree is realized.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- FOSHAN PUDE ELECTRONIC TECH CO LTD
- Filing Date
- 2025-07-11
- Publication Date
- 2026-05-08
AI Technical Summary
Existing leak detection systems can only identify whether a leak exists, but cannot detect the extent of the leak. Furthermore, the baseline value needs to be manually adjusted, making them unsuitable for different leak situations.
A system was designed that includes a microcontroller, a protection control circuit, a water leakage detection circuit, an alert circuit, and a water leakage level detection board. The detection board distinguishes different resistance values, and the microcontroller reads the voltage signal to realize the detection and differentiation of the water leakage level.
It enables accurate detection of the degree of leakage and provides warnings for different leakage conditions, offering a wider range of operational options and ensuring that the system is used within reasonable limits.
Smart Images

Figure CN224216242U_ABST
Abstract
Description
Technical Field
[0001] This utility model relates to the field of water detection circuit technology, and in particular to a water leakage detection and protection system. Background Technology
[0002] Currently, most products on the market physically isolate water sources, such as by applying conformal coating or filling with waterproof adhesive. However, these methods only protect the circuit board and do not provide corresponding identification or warnings for water leakage in the entire machine.
[0003] In addition to the above, leakage detection and protection systems mainly detect whether there is continuity on both sides of the terminals, so that a circuit is formed on both sides of the terminals, and the voltage at the positive terminal of the voltage comparator changes. The voltage at the output port of the voltage comparator changes the level signal at the microcontroller port, so that the microcontroller can distinguish whether there is a leakage.
[0004] like Figure 8 As shown, in a traditional water detection circuit system: the two sides of the HEADER terminal are connected to the water detection terminals. Pin 1 of the HEADER is connected to the power ground, and pin 2 is connected to pin 3 of the voltage comparator. Simultaneously, it is connected to the 5V power supply through resistor R8. Pin 2 of the voltage comparator is connected to the midpoint of the sliding rheostat R10. By adjusting the resistance at the midpoint of the rheostat, the comparison voltage value can be finely adjusted, thereby adjusting the benchmark value for determining whether a leak exists. The disadvantage of this existing technology is that the benchmark value, i.e., the benchmark value for the amount of leakage, can only be changed by manually adjusting the resistance value of R10. When the amount of leakage exceeds this benchmark value, a leak is considered to have occurred. Typically, R10 is not adjustable in the entire machine. Therefore, once the value of R10 is determined, it becomes a single benchmark value that can only detect the presence of a leak, but not the extent of the leak.
[0005] Therefore, further improvements are necessary. Utility Model Content
[0006] The purpose of this invention is to provide a leakage detection and protection system that is simple in structure, accurate in detection, stable and reliable, meets user needs, and is highly practical, so as to overcome the shortcomings of the prior art.
[0007] A water leakage detection and protection system designed for this purpose is characterized by comprising a microcontroller, a protection control circuit, a water leakage detection circuit, an alert circuit, and a water leakage detection board. The protection control circuit is connected to the microcontroller and controls the opening and closing of its output through the microcontroller. The water leakage detection circuit is connected to the microcontroller to transmit a signal indicating whether a water leakage has been detected to the microcontroller. The alert circuit is connected to the microcontroller. The water leakage detection circuit is connected to the water leakage detection board to read the degree of water leakage.
[0008] The protection control circuit includes resistors R16, R17, and R18, capacitor C9, and optocoupler IC5. One end of resistor R16 and one end of capacitor C9 are connected to the PR_P pin of the microcontroller, respectively. The other end of resistor R16 is connected to pin 1 of optocoupler IC5, and the other end of capacitor C9 is connected to pin 2 of optocoupler IC5. Pin 3 of optocoupler IC5 is connected to one end of resistor R17 and one end of resistor R18, respectively. The other end of resistor R18 is connected to the power ground.
[0009] The protection control circuit also includes transistor Q3 and socket P5. Pin 4 of optocoupler IC5 is connected to pin 1 of socket P5. The other end of resistor R17 is connected to the base (B) of transistor Q3. The emitter (E) of transistor Q3 is connected to power ground. The collector (C) of transistor Q3 is connected to pin 2 of socket P5. Socket P5 is connected to an external water pump.
[0010] The water leakage detection circuit includes resistors R34 and R36, capacitors C12 and C13. One end of resistor R34 is connected to the +5V power supply, and the other end of resistor R34 is connected to one end of capacitor C12. One end of resistor R36 is connected to the other end of resistor R34. The other end of resistor R36 and one end of capacitor C13 are respectively connected to the WL pin of the microcontroller, and the other end of capacitor C13 is connected to the power supply ground.
[0011] The water leakage detection circuit also includes resistor R35 and socket CN3. The other end of capacitor C12 is connected to pin 1 of socket CN3, pin 2 of socket CN3 is connected to one end of resistor R35, the other end of resistor R35 is connected to power ground, and socket CN3 is connected to an external water leakage detection board.
[0012] The reminder circuit includes a buzzer BUZ, a resistor R19, and a transistor Q4. Pin 1 of the buzzer BUZ is connected to the collector (C) of the transistor Q4, pin 2 of the buzzer BUZ is connected to the power ground, the base (B) of the transistor Q4 is connected to one end of the resistor R19, the other end of the resistor R19 is connected to the PR_BUZ pin of the microcontroller, and the emitter (E) of the transistor is connected to the +5V power supply.
[0013] The front and back of the leakage detection board are each equipped with several copper foil strips that come into contact with water.
[0014] The optocoupler IC5 is a PC817, resistors R16, R17 and R18 are oxide film resistors, capacitor C9 is a ceramic capacitor, and transistor Q3 is a TIP122.
[0015] Resistors R34, R35, and R36 are oxide film resistors, and capacitors C13 and C14 are ceramic capacitors; the resistance of resistor R34 is 200K.
[0016] Resistor R19 is an oxide film resistor, transistor Q4 is an S8550, and buzzer BUZ is a 1407N.
[0017] This utility model's water leakage detection and protection system incorporates a microcontroller, a protection control circuit, a water leakage detection circuit, an alert circuit, and a water leakage detection board. The water leakage detection board distinguishes different resistance values, performs voltage division, and allows the microcontroller port to read different voltages and convert them into corresponding water leakage values. This enables the system to differentiate water leakage levels, perform differentiated processing, and provide different warnings, giving users a wider range of operational options. Attached Figure Description
[0018] Figure 1 This is a connection principle diagram of a water leakage detection and protection system in one embodiment of the present invention.
[0019] Figure 2 This is a circuit diagram of a microcontroller in one embodiment of the present invention.
[0020] Figure 3 This is a circuit diagram of the protection control circuit in one embodiment of the present invention.
[0021] Figure 4 This is a circuit diagram of a water leakage detection circuit in one embodiment of the present invention.
[0022] Figure 5 This is a circuit diagram of the reminder circuit in one embodiment of the present invention.
[0023] Figure 6 This is a schematic diagram of the front of the leakage detection plate in one embodiment of the present invention.
[0024] Figure 7 This is a schematic diagram of the reverse side of the leakage detection plate in one embodiment of the present invention.
[0025] Figure 8 This is a circuit diagram of a traditional water detection circuit system. Detailed Implementation
[0026] The present invention will be further described below with reference to the accompanying drawings and embodiments.
[0027] See Figures 1-7This water leakage detection and protection system includes a microcontroller 1, a protection control circuit 2, a water leakage detection circuit 3, an alert circuit 4, and a water leakage detection board 5. The protection control circuit 2 is connected to the microcontroller 1 and controls its output to open and close via the microcontroller 1. The water leakage detection circuit 3 is connected to the microcontroller 1 to transmit a signal indicating whether a leak has been detected. The alert circuit 4 is connected to the microcontroller 1. The water leakage detection circuit 3 is connected to the water leakage detection board 5 to read the degree of leakage. The protection control circuit 2, the water leakage detection circuit 3, and the alert circuit 4 work together to achieve detection, protection, and alert functions. In water-related products, if a leak is detected... The phenomenon poses certain safety hazards, requiring timely alerts to users to address the leak and prevent escalation. This necessitates controlling the water flow to reduce the extent of the leak and alerting users. Leak detection not only needs to assess the degree of leakage and limit its volume, but also ensure that all components operate within their reasonable limits. Therefore, this design proposes a leak detection and protection system to address these functions. This system can identify the degree of leakage, unlike previous technologies that only detected the presence of a leak and required fine-tuning an external resistor to determine the baseline value. This system can identify different degrees of leakage based on the amount of water leaked.
[0028] The protection control circuit 2 includes resistors R16, R17, and R18, capacitor C9, and optocoupler IC5. One end of resistor R16 and one end of capacitor C9 are connected to the PR_P pin (pin 25) of microcontroller 1, respectively. The other end of resistor R16 is connected to pin 1 of optocoupler IC5, and the other end of capacitor C9 is connected to pin 2 of optocoupler IC5. Pin 3 of optocoupler IC5 is connected to one end of resistor R17 and one end of resistor R18, respectively. The other end of resistor R18 is connected to the power ground.
[0029] The protection control circuit 2 also includes a transistor Q3 and a socket P5. Pin 4 of the optocoupler IC5 is connected to pin 1 of the socket P5. The other end of the resistor R17 is connected to the base (B) of the transistor Q3. The emitter (E) of the transistor Q3 is connected to the power ground. The collector (C) of the transistor Q3 is connected to pin 2 of the socket P5. The socket P5 is connected to an external water pump. After detecting a leak, the water pump is controlled to turn on and off as needed.
[0030] The water leakage detection circuit 3 includes resistors R34 and R36, capacitors C12 and C13. One end of resistor R34 is connected to the +5V power supply, and the other end of resistor R34 is connected to one end of capacitor C12. One end of resistor R36 is connected to the other end of resistor R34. The other end of resistor R36 and one end of capacitor C13 are respectively connected to the WL pin (i.e., pin 20) of microcontroller 1, and the other end of capacitor C13 is connected to the power supply ground.
[0031] The water leakage detection circuit 3 also includes a resistor R35 and a socket CN3. The other end of the capacitor C12 is connected to pin 1 of the socket CN3, pin 2 of the socket CN3 is connected to one end of the resistor R35, the other end of the resistor R35 is connected to the power ground, and the socket CN3 is connected to the external water leakage detection board 5.
[0032] The reminder circuit 4 includes a buzzer BUZ, a resistor R19, and a transistor Q4. Pin 1 of the buzzer BUZ is connected to the collector (C) of the transistor Q4, pin 2 of the buzzer BUZ is connected to the power ground, the base (B) of the transistor Q4 is connected to one end of the resistor R19, the other end of the resistor R19 is connected to the PR_BUZ pin (pin 28) of the microcontroller 1, and the emitter (E) of the transistor is connected to the +5V power supply.
[0033] The front and back of the leakage detection board 5 are respectively provided with several copper foils 6 that come into contact with water. In this embodiment, there are 5 copper foils 6. The leakage detection board 5 is a detection board with the same copper foils on both its front and back. It needs to be completely leaking copper so that water can come into contact with the copper foils 6. The principle of detecting the leakage level is as follows: the detection board is on top of the socket of the whole machine, and the copper foils 6 are on the bottom. When water submerges the bottom copper foils 6, the conduction resistance on both sides of the terminal is the resistance of the top 4 copper foils. When water submerges the bottom two layers of copper foils 6, the conduction resistance on both sides of the terminal is the resistance of the top 3 copper foils 6, and so on. Different resistance values will appear on both sides of the terminal. The different resistance values are divided by resistor R34, and different voltage values will be formed at pin 20 of the microcontroller. Through the processing of the microcontroller 1, the voltage value signal is converted into a digital signal that the microcontroller 1 can read, thereby distinguishing different degrees of leakage.
[0034] The optocoupler IC5 is a PC817, resistors R16, R17, and R18 are oxide film resistors, capacitor C9 is a ceramic capacitor, transistor Q3 is a TIP122, resistors R16 and R17 are 4.7K 1 / 8W, resistor R18 is 10K 1 / 8W, and capacitor C9 is 105 / 50V.
[0035] Resistors R34, R35, and R36 are oxide film resistors, and capacitors C13 and C14 are ceramic capacitors. The resistance of resistor R34 is 200KΩ; the specifications of resistor R35 are 10KΩ 1% / 1 / 8W; the specifications of resistor R34 are 200KΩ 1% / 1 / 8W; the specifications of resistor R36 are 2KΩ 1 / 8W; and the specifications of capacitors C13 and C14 are 104V / 50V.
[0036] Resistor R19 is an oxide film resistor, transistor Q4 is an S8550, buzzer BUZ is a 1407N, and resistor R19 has a specification of 4.7K 1 / 8W. When water leakage occurs, the buzzer BUZ will make different warning sounds depending on the degree of leakage.
[0037] The model of the microcontroller is BF7612CM28.
[0038] The above describes the preferred embodiments of this utility model, illustrating and describing its basic principles, main features, and advantages. Those skilled in the art should understand that this utility model is not limited to the above embodiments. The embodiments and descriptions in the specification are merely illustrative of the principles of this utility model. Various changes and modifications can be made without departing from the spirit and scope of this utility model, and all such changes and modifications fall within the scope of the claims. The scope of protection of this utility model is defined by the appended claims and their equivalents.
Claims
1. A leakage detection and protection system, characterized in that: It includes a microcontroller (1), a protection control circuit (2), a water leakage detection circuit (3), an alert circuit (4), and a water leakage level detection board (5). The protection control circuit (2) is connected to the microcontroller (1) and controls the opening and closing of the output through the microcontroller (1). The water leakage detection circuit (3) is connected to the microcontroller (1) to transmit the signal of whether water leakage is detected to the microcontroller (1). The alert circuit (4) is connected to the microcontroller (1). The water leakage detection circuit (3) is connected to the water leakage level detection board (5) so that the water leakage level can be read through the water leakage level detection board (5).
2. The leakage detection and protection system according to claim 1, characterized in that: The protection control circuit (2) includes resistors R16, R17, R18, capacitor C9 and optocoupler IC5. One end of resistor R16 and one end of capacitor C9 are connected to the PR_P pin of the microcontroller (1), the other end of resistor R16 is connected to pin 1 of optocoupler IC5, the other end of capacitor C9 is connected to pin 2 of optocoupler IC5, pin 3 of optocoupler IC5 is connected to one end of resistor R17 and one end of resistor R18, and the other end of resistor R18 is connected to the power ground.
3. The leakage detection and protection system according to claim 2, characterized in that: The protection control circuit (2) also includes transistor Q3 and socket P5. Pin 4 of optocoupler IC5 is connected to pin 1 of socket P5. The other end of resistor R17 is connected to the base of transistor Q3. The emitter of transistor Q3 is connected to the power ground. The collector of transistor Q3 is connected to pin 2 of socket P5. Socket P5 is connected to an external water pump.
4. The leakage detection and protection system according to claim 1, characterized in that: The water leakage detection circuit (3) includes resistor R34, resistor R36, capacitor C12 and capacitor C13. One end of resistor R34 is connected to the power supply +5V. The other end of resistor R34 is connected to one end of capacitor C12. One end of resistor R36 is connected to the other end of resistor R34. The other end of resistor R36 and one end of capacitor C13 are respectively connected to the WL pin of microcontroller (1). The other end of capacitor C13 is connected to the power supply ground.
5. The leakage detection and protection system according to claim 4, characterized in that: The water leakage detection circuit (3) also includes resistor R35 and socket CN3. The other end of capacitor C12 is connected to pin 1 of socket CN3, pin 2 of socket CN3 is connected to one end of resistor R35, the other end of resistor R35 is connected to power ground, and socket CN3 is connected to a water leakage detection board (5).
6. The leakage detection and protection system according to claim 1, characterized in that: The reminder circuit (4) includes a buzzer BUZ, a resistor R19 and a transistor Q4. Pin 1 of the buzzer BUZ is connected to the collector of the transistor Q4. Pin 2 of the buzzer BUZ is connected to the power supply ground. The base of the transistor Q4 is connected to one end of the resistor R19. The other end of the resistor R19 is connected to the PR_BUZ pin of the microcontroller (1). The emitter of the transistor is connected to the +5V power supply.
7. The leakage detection and protection system according to claim 1, characterized in that: The front and back of the water leakage detection plate (5) are respectively provided with several copper foils (6) that come into contact with water.
8. The leakage detection and protection system according to claim 3, characterized in that: The optocoupler IC5 is a PC817, resistors R16, R17 and R18 are oxide film resistors, capacitor C9 is a ceramic capacitor, and transistor Q3 is a TIP122.
9. The leakage detection and protection system according to claim 5, characterized in that: Resistors R34, R35, and R36 are oxide film resistors, and capacitors C13 and C14 are ceramic capacitors; the resistance of resistor R34 is 200K.
10. The leakage detection and protection system according to claim 6, characterized in that: Resistor R19 is an oxide film resistor, transistor Q4 is an S8550, and buzzer BUZ is a 1407N.