Water flow detection circuit
By designing a water flow detection circuit including a normal-phase drive module, a reverse-phase drive module and an identification module, a small number of components are used to realize water flow detection, which solves the complex and high-cost problems of the existing technology and achieves functional stability and cost reduction. , and protect the circuit through voltage stabilization and voltage division.
Patent Information
- Application Number
- CN202322819404.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-19
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2033-10-19
AI Technical Summary
The existing water flow detection technology is complex and costly, and a simple design is needed to optimize the water flow detection technology to reduce costs.
A water flow detection circuit is designed, including a normal phase drive module, a reverse phase drive module and an identification module. The water flow detection is realized through a small number of components. The electrical signal output from the electrolytic cell is used to control the circuit operation to ensure that no matter in the normal phase or in the reverse phase, the water flow detection circuit is designed. Both can detect water flow.
The functional stability of water flow detection is achieved, the technical cost is reduced, and the electrical signal is stabilized and divided by voltage dividing resistors and capacitors, thereby improving the reliability of the circuit.
Smart Images

Figure CN221746307U
Abstract
Description
Technical Field
[0001] The present application relates to an application circuit, and in particular to a water flow detection circuit. Background Art
[0002] At present, water flow detection technology can be widely used in various scenarios such as home, agriculture, and industry. However, the existing water flow detection technology is mostly structure-based, which is cumbersome to apply. The cost is also relatively high due to the complex structure. Therefore, how to use simple design to optimize water flow detection technology and reduce technical costs is a technical problem that needs to be solved urgently. Summary of the invention
[0003] The present application provides a water flow detection circuit, the purpose of which is to achieve the effect of water flow detection using a small number of components.
[0004] On the one hand, the present application provides a water flow detection circuit, which adopts the following technical solution:
[0005] A water flow detection circuit comprises a positive phase drive module (1), a negative phase drive module (2) and an identification module (3), specifically comprising:
[0006] The positive phase driving module (1) comprises two input terminals and two output terminals, the first input terminal of the positive phase driving module (1) being connected to a first power supply signal, and the second input terminal of the positive phase driving module (1) being connected to a follower positive phase electrolytic cell;
[0007] The first output end of the positive phase driving module (1) is connected to the electrolytic cell identification end, and the second output end of the positive phase driving module (1) is connected to the first input end of the identification module (3);
[0008] The inverting drive module (2) comprises two input terminals and two output terminals, the first input terminal of the inverting drive module (2) being connected to the electrolytic cell identification terminal, and the second input terminal of the inverting drive module (2) being connected to the follower inverting electrolytic cell;
[0009] A first output end of the inverting driving module (2) is connected to a ground electrode, and a second output end of the inverting driving module (2) is connected to a second input end of the identification module (3).
[0010] The identification module (3) comprises three input terminals and one output terminal, the first input terminal of the identification module (3) being used to receive a low-level signal output by the positive-phase driving module (1), the second input terminal of the identification module (3) being used to receive a low-level signal output by the negative-phase driving module (2), the third input terminal of the identification module (3) being connected to a first power supply signal, and the output terminal of the identification module (3) being connected to a processing circuit, the processing circuit being used to detect a level change of the output terminal of the identification module (3).
[0011] By adopting the above technical solution, when the electrolytic cell works in the positive phase, the circuit of the positive phase driving module is turned on; when the electrolytic cell works in the negative phase, the circuit of the negative phase driving module is turned on, ensuring that the water flow detection effect of the circuit can be achieved regardless of whether the electrolytic cell works in the positive phase or the negative phase.
[0012] Optionally, the positive phase driving module (1) comprises a resistor R1, a resistor R2, a photocoupler U1 and a transistor Q1, specifically comprising:
[0013] The first end of the resistor R1 is connected to a first power signal;
[0014] The first end of the resistor R2 is connected to the follower positive phase electrolytic cell;
[0015] The emitter of the transistor Q1 is connected to the second end of the resistor R1, the base of the transistor Q1 is connected to the second end of the resistor R2, and the collector of the transistor Q1 is connected to pin 1 of the photocoupler U1;
[0016] Pin 2 of the photoelectric coupler U1 is connected to the water flow identification pin, pin 3 of the photoelectric coupler U1 is grounded, and pin 4 of the photoelectric coupler U1 is connected to the first input end of the identification module.
[0017] By adopting the above technical solution, when the positive phase driving module is working, it follows the positive phase electrolytic cell to output a low level to turn on the transistor Q1, and the first power supply signal is output through the transistor Q1 and the photoelectric coupler U1 to the water flow identification pin WF, and the level is output to the identification module for water flow detection.
[0018] Optionally, the positive phase driving module further includes a capacitor C1, specifically including:
[0019] A first end of the capacitor C1 is connected to a first power signal, and a second end of the capacitor C1 is grounded.
[0020] By adopting the above technical solution, when the inverting drive module is working, the power signal in the positive drive module is output to the ground electrode, and the capacitor plays a voltage stabilizing role, thereby protecting the circuit.
[0021] Optionally, the inverting drive module (2) comprises a resistor R3, a resistor R4, a photocoupler U2 and a transistor Q2, specifically comprising:
[0022] The first end of the resistor R3 is connected to the water flow identification pin, and the second end of the resistor R3 is connected to the 5th pin of the photoelectric coupler U2;
[0023] The first end of the resistor R4 is connected to the follower reverse electrolytic cell;
[0024] The emitter of the transistor Q2 is connected to the pin 2 of the photoelectric coupler U2, the base of the transistor Q2 is connected to the second end of the resistor R4, and the collector of the transistor Q2 is grounded;
[0025] Pin 8 of the photoelectric coupler U2 is grounded, and pin 7 of the photoelectric coupler U2 is connected to the second input terminal of the identification module.
[0026] By adopting the above technical solution, when the inverting drive module is working, it follows the inverting electrolytic cell to output a low level to turn on the transistor Q2, and the water flow identification pin is output to the ground through the transistor Q2 output and the photoelectric coupler U2, and the output level is sent to the identification module for water flow detection.
[0027] The third input terminal of the identification module (3) comprises a second power supply signal and a resistor R5, wherein the second power supply signal is connected to a first terminal of the resistor R5.
[0028] By adopting the above technical solution, when there is no water flow, the positive phase driving module and the reverse phase driving module have no level output, the second power supply signal is output to the WF1 pin, and the processing circuit detects that the output of the WF1 pin is high level; when there is water flow, the positive phase driving module or the reverse phase driving module outputs a low level, and the second power supply signal forms a potential difference with the output low level, thereby outputting to the 3rd pin of the photoelectric coupler of each driving module. In this case, the processing circuit detects that the output of WF1 is low level. In addition, the resistor has the function of a voltage divider protection circuit.
[0029] The identification module (3) further includes a resistor R6, which specifically includes:
[0030] The first end of the resistor R6 is respectively connected to the pin 3 of the photoelectric coupler U1, the pin 7 of the photoelectric coupler U2 and the second end of the resistor R5, and the second end of the resistor R6 is connected to the processing circuit.
[0031] By adopting the above technical solution, the resistor R6 plays a role of voltage division, thereby protecting the circuit.
[0032] The first end of the capacitor C2 is connected to the first end of the resistor R6, and the second end of the capacitor C2 is grounded;
[0033] A first end of the capacitor C3 is connected to a second end of the resistor R6 , and the second end of the resistor R6 is grounded.
[0034] By adopting the above technical solution, the capacitor C2 and the capacitor C3 have a voltage stabilizing function, thereby protecting the circuit.
[0035] In summary, the present application discloses a water flow detection circuit, which has at least one of the following beneficial effects:
[0036] 1. Water flow detection is achieved through a small number of components, which optimizes the water flow detection technology, avoids complex structural design, and reduces technical costs while achieving water flow detection effects.
[0037] 2. To achieve stable circuit function for water flow detection, a number of voltage-dividing resistors and capacitors are provided to perform voltage stabilization and voltage-dividing processing on the electrical signals in the circuit, so that the circuit is effectively protected and the circuit reliability is improved.
[0038] 3. The circuit is controlled by the electrical signal output by the electrolytic cell. When FF1 outputs a low level and RE1 outputs a high level, the circuit works in the positive phase; when FF1 outputs a high level and RE1 outputs a low level, the circuit works in the negative phase. In this case, the water flow can be detected regardless of whether it works in the positive phase or the negative phase. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 is a principle block diagram of an embodiment of the water flow detection circuit of the present application;
[0040] Figure 2 It is a circuit diagram of an embodiment of the water flow detection circuit of the present application. DETAILED DESCRIPTION
[0041] The present application is further described in detail below in conjunction with the accompanying drawings.
[0042] Reference Figure 1 A water flow detection circuit includes a positive phase driving module 1, a negative phase driving module 2 and an identification module 3, specifically including:
[0043] The positive phase driving module 1 comprises two input terminals and two output terminals, the first input terminal of the positive phase driving module 1 is connected to the first power supply signal, and the second input terminal of the positive phase driving module 1 is connected to the following positive phase electrolytic cell;
[0044] The first output end of the positive phase driving module 1 is connected to the electrolytic cell identification end, and the second output end of the positive phase driving module 1 is connected to the first input end of the identification module 3;
[0045] The reverse driving module 2 comprises two input terminals and two output terminals, the first input terminal of the reverse driving module 2 is connected to the electrolytic cell identification terminal, and the second input terminal of the reverse driving module 2 is connected to the follower reverse electrolytic cell;
[0046] The first output terminal of the inverting driving module 2 is connected to the ground, and the second output terminal of the inverting driving module 2 is connected to the second input terminal of the identification module 3 .
[0047] The identification module 3 includes three input terminals and one output terminal. The first input terminal of the identification module 3 is used to receive the low-level signal output by the positive-phase driving module 1. The second input terminal of the identification module 3 is used to receive the low-level signal output by the negative-phase driving module 2. The third input terminal of the identification module 3 is connected to the first power supply signal. The output terminal of the identification module 3 is connected to the processing circuit. The processing circuit detects the level of the output terminal of the identification module 3 to realize water flow detection.
[0048] About the positive phase driving module 1: When the electrolytic cell works in the positive phase, the base of the transistor Q1 in the positive phase driving module 1 receives the low level output by the positive phase electrolytic cell, and the low level of the transistor Q1 is effective. At this time, the emitter of the transistor Q1 and the collector of the transistor Q1 are connected, and the first power supply signal will be output to the trigger photodiode in the photocoupler U1, so as to output the level to the first input terminal of the identification module. In this embodiment, the transistor Q1 is a PNP transistor.
[0049] About the inverting drive module 2: When the electrolyzer works in inverting mode, the base of the transistor Q2 in the inverting drive module 2 receives the low level output by the inverting electrolyzer, and the low level of the transistor Q2 is effective. At this time, the emitter of the transistor Q2 and the collector of the transistor Q2 are connected, and the water flow identification pin will output a signal to the photoelectric coupler U2 to trigger the photodiode, thereby outputting the level to the second input end of the identification module. In this embodiment, the transistor Q2 is a PNP transistor.
[0050] Regarding the identification module 3: when there is water flow, the positive phase drive module 1 or the negative phase drive module 2 will output a low level to the identification module, and the third input terminal of the identification module is connected to the second power supply signal, and the second power supply signal forms a potential difference with the low level output by the positive phase drive module or the negative phase drive module, and outputs it to the ground of the photoelectric coupler corresponding to the positive phase drive module or the negative phase drive module. At this time, the identification module outputs a low level to the processing circuit; when there is no water flow, the identification module outputs a high level to the processing circuit. In this embodiment, the processing circuit can be a single chip microcomputer.
[0051] Reference Figure 2 An embodiment of the present application discloses a water flow detection circuit, including a positive phase driving module, a negative phase driving module and an identification module.
[0052] The positive phase driving module 1 includes a resistor R1, a resistor R2, a photocoupler U1 and a transistor Q1, specifically including:
[0053] The first end of the resistor R1 is connected to a +30V power signal;
[0054] The first end of the resistor R2 is connected to the follower positive phase electrolytic cell;
[0055] The emitter of the transistor Q1 is connected to the second end of the resistor R1, the base of the transistor Q1 is connected to the second end of the resistor R2, and the collector of the transistor Q1 is connected to pin 1 of the photocoupler U1;
[0056] Pin 2 of the photoelectric coupler U1 is connected to the water flow identification pin, pin 3 of the photoelectric coupler U1 is grounded, and pin 4 of the photoelectric coupler U1 is connected to the first input end of the identification module.
[0057] In this embodiment, the first power supply signal is a +30V voltage, and the voltage value on the water flow identification pin should be greater than 0 and less than 30. Taking the voltage value on the water flow identification pin as 10V as an example, the transistor Q1 is effective at a low level. When the electrolytic cell works in the positive phase, the FF1 port is at a low level, and the FR1 port is at a high level. At this time, the FF1 port outputs a low level, and the low level will turn on the emitter and base of the transistor Q1. In this case, due to the potential difference between the first power supply signal and the water flow identification pin, the power supply signal is output to the 1st pin of the photoelectric coupler U1 through the emitter and base of the transistor Q1, and then after passing through the photodiode in the photoelectric coupler U1, it is output from the 2nd pin of the photoelectric coupler U1 to the water flow identification pin WF port. Because the electrical signal passes through and triggers the photodiode in the photoelectric coupler U1, the 3rd pin of the photoelectric coupler U1 will output a low level to the first input terminal of the identification module. In addition, the resistor R1 and the resistor R2 have the function of a voltage divider protection circuit.
[0058] Furthermore, the positive phase driving module 1 further includes a capacitor C1 , a first end of the capacitor C1 is connected to a first power signal, and a second end of the capacitor C1 is grounded.
[0059] Specifically, if the circuit works in reverse phase, the circuit in transistor Q1 is not conducting. In this case, the +30V voltage is grounded via capacitor C1. Capacitor C1 has a voltage stabilizing effect, thereby protecting the circuit.
[0060] Furthermore, the inverting driving module 2 includes a resistor R3, a resistor R4, a photocoupler U2 and a transistor Q2, specifically including:
[0061] The first end of the resistor R3 is connected to the water flow identification pin, the second end of the resistor R3 is connected to pin 5 of the photoelectric coupler U2, the first end of the resistor R4 is connected to the follower inverting electrolytic cell FF1, the emitter of the transistor Q2 is connected to pin 2 of the photoelectric coupler U2, the base of the transistor Q2 is connected to the second end of the resistor R4, the collector of the transistor Q2 is grounded, the pin 8 of the photoelectric coupler U2 is grounded, and the pin 7 of the photoelectric coupler U2 is connected to the second input end of the identification module.
[0062] In this embodiment, the transistor Q2 is effective at a low level. The voltage value on the water flow identification pin should be greater than 0 and less than 30. Taking the voltage value on the water flow identification pin as 10V as an example, when the electrolyzer works in reverse phase, the FR1 port is at a low level, and the FF1 port is at a high level. At this time, the FR1 port outputs a low level, and the low level will turn on the emitter and base of the transistor Q2. In the case, due to the potential difference between the water flow identification pin and the ground, the power signal is output to the 5th pin of the photoelectric coupler U2 through the emitter and base of the transistor Q2, and then after passing through the photodiode in the photoelectric coupler U2, it is output to the ground through the 6th pin of the photoelectric coupler U2. Because the electrical signal passes through and triggers the photodiode in the photoelectric coupler U2, the 7th pin of the photoelectric coupler U2 will output a low level to the second input terminal of the identification module. In addition, the resistor R3 and the resistor R4 can divide the voltage to protect the circuit.
[0063] Furthermore, the third input terminal of the identification module 3 includes a second power signal and a resistor R5, and the second power signal is connected to a first terminal of the resistor R5.
[0064] Specifically, the second power supply signal can be a 5V voltage. If both the forward driving module 1 and the reverse driving module 2 output a low level to the first input terminal of the identification module 3, the 5V power supply signal is output to the identification pin WF1, and the identification pin WF1 is connected to the processing circuit. The processing circuit will detect a high level, and the water flow detection result is no water flow at this time; if the forward driving module 1 or the reverse driving module 2 outputs a low level to the first input terminal of the identification module 3, since the 5V power supply signal forms a potential difference with the low level, the 5V power supply signal will flow through the corresponding pin 3 of the photoelectric coupler U1 to the pin 4 of the photoelectric coupler U1 to the ground, or through the pin 7 of the photoelectric coupler U2 to the pin 8 of the photoelectric coupler U2 to the ground. In these two cases, the processing circuit will detect a low level, and the water flow detection result is that there is water flow.
[0065] The identification module 3 further includes a resistor R6, a first end of the resistor R6 is respectively connected to pin 3 of the photocoupler U1, pin 7 of the photocoupler U2 and a second end of the resistor R5, and a second end of the resistor R6 is connected to a processing circuit.
[0066] In this embodiment, the resistor R5 and the resistor R6 can divide the voltage, thereby playing a role in protecting the circuit.
[0067] The identification module (3) further includes a capacitor C2 and a capacitor C3, specifically including:
[0068] The first end of the capacitor C2 is connected to the first end of the resistor R6, and the second end of the capacitor C2 is grounded;
[0069] A first end of the capacitor C3 is connected to a second end of the resistor R6 , and the second end of the resistor R6 is grounded.
[0070] In this embodiment, when the electrical signal is too large, the second power signal will be output to the ground to protect the processing circuit from being damaged. The capacitor C2 and the capacitor C3 can stabilize the voltage, thereby playing a role in protecting the circuit.
[0071] In an embodiment of the present application, the implementation principle of a water flow detection circuit is: the positive phase drive module or the negative phase drive module is driven by the electrolytic cell water flow identification foot, so that the corresponding photoelectric coupler in the positive phase drive module or the negative phase drive module outputs a low level to the identification module. At this time, the processing circuit detects the output level of the identification module. If it is a low level, it is determined that there is water flow.
[0072] The embodiments of this specific implementation method are all preferred embodiments of the present application, and are not intended to limit the protection scope of the present application. Therefore, all equivalent changes made based on the structure, shape, and principle of the present application should be included in the protection scope of the present application.
Claims
1. A water flow detection circuit, characterized in that: It comprises a positive phase driving module (1), a negative phase driving module (2) and an identification module (3), and specifically comprises: The positive phase driving module (1) comprises two input terminals and two output terminals, the first input terminal of the positive phase driving module (1) being connected to a first power supply signal, and the second input terminal of the positive phase driving module (1) being connected to a follower positive phase electrolytic cell; The first output end of the positive phase driving module (1) is connected to the electrolytic cell identification end, and the second output end of the positive phase driving module (1) is connected to the first input end of the identification module (3); The inverting drive module (2) comprises two input terminals and two output terminals, the first input terminal of the inverting drive module (2) being connected to the electrolytic cell identification terminal, and the second input terminal of the inverting drive module (2) being connected to the follower inverting electrolytic cell; A first output end of the inverting driving module (2) is connected to a ground electrode, and a second output end of the inverting driving module (2) is connected to a second input end of the identification module (3).
2. The identification module (3) comprises three input terminals and one output terminal, the first input terminal of the identification module (3) being used to receive a low-level signal output by the positive-phase driving module (1), the second input terminal of the identification module (3) being used to receive a low-level signal output by the negative-phase driving module (2), the third input terminal of the identification module (3) being connected to a first power supply signal, the output terminal of the identification module (3) being connected to a processing circuit, and the processing circuit being used to detect a level change of the output terminal of the identification module (3).
3. The water flow detection circuit according to claim 1, characterized in that: The positive phase driving module (1) comprises a resistor R1, a resistor R2, a photoelectric coupler U1 and a transistor Q1, and specifically comprises: The first end of the resistor R1 is connected to a first power signal; The first end of the resistor R2 is connected to the follower positive phase electrolytic cell; The emitter of the transistor Q1 is connected to the second end of the resistor R1, the base of the transistor Q1 is connected to the second end of the resistor R2, and the collector of the transistor Q1 is connected to pin 1 of the photocoupler U1; Pin 2 of the photoelectric coupler U1 is connected to the water flow identification pin, pin 3 of the photoelectric coupler U1 is grounded, and pin 4 of the photoelectric coupler U1 is connected to the first input end of the identification module.
4. The water flow detection circuit according to claim 2, characterized in that: The positive phase driving module (1) further comprises a capacitor C1, a first end of the capacitor C1 being connected to a first power supply signal, and a second end of the capacitor C1 being grounded.
5. The water flow detection circuit according to claim 1, characterized in that: The reverse driving module (2) comprises a resistor R3, a resistor R4, a photoelectric coupler U2 and a transistor Q2, and specifically comprises: The first end of the resistor R3 is connected to the water flow identification pin, and the second end of the resistor R3 is connected to the 5th pin of the photoelectric coupler U2; The first end of the resistor R4 is connected to the follower reverse electrolytic cell; The emitter of the transistor Q2 is connected to the pin 2 of the photoelectric coupler U2, the base of the transistor Q2 is connected to the second end of the resistor R4, and the collector of the transistor Q2 is grounded; Pin 8 of the photoelectric coupler U2 is grounded, and pin 7 of the photoelectric coupler U2 is connected to the second input terminal of the identification module.
6. The water flow detection circuit according to claim 1, characterized in that: The third input terminal of the identification module (3) comprises a second power supply signal and a resistor R5, wherein the second power supply signal is connected to a first terminal of the resistor R5.
7. The water flow detection circuit according to claim 5, characterized in that: The identification module (3) further includes a resistor R6, which specifically includes: The first end of the resistor R6 is respectively connected to the pin 3 of the photoelectric coupler U1, the pin 7 of the photoelectric coupler U2 and the second end of the resistor R5, and the second end of the resistor R6 is connected to the processing circuit.
8. The water flow detection circuit according to claim 5, characterized in that: The identification module (3) further includes a capacitor C2 and a capacitor C3, specifically including: The first end of the capacitor C2 is connected to the first end of the resistor R6, and the second end of the capacitor C2 is grounded; A first end of the capacitor C3 is connected to a second end of the resistor R6 , and the second end of the resistor R6 is grounded.
