Sensing circuit and hydraulic switch

By combining the light-emitting component, photosensitive component, voltage divider component, and voltage regulation unit, the intermediate voltage in the liquid level switch sensing circuit is eliminated, the accuracy of the sensing circuit is improved, and accurate detection of water flow in the pipeline is achieved.

CN224416123UActive Publication Date: 2026-06-26ZHUHAI SIGAO TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
ZHUHAI SIGAO TECH CO LTD
Filing Date
2025-06-27
Publication Date
2026-06-26

AI Technical Summary

Technical Problem

The sensing circuit of the existing liquid level switch suffers from incomplete refraction of light signals due to air bubbles in the water flow, resulting in intermediate voltage and affecting accuracy.

Method used

The sensor circuit employs a light-emitting component, a photosensitive component, a first voltage divider component, and a voltage regulation unit. By using transistors in combination, the influence of intermediate voltage states is eliminated, thus realizing the output circuit of the sensing circuit. The use of the voltage regulation unit also eliminates the influence of intermediate voltage states. The transistor configuration within the voltage regulation unit ensures that the final output voltage of the sensing circuit will only output two voltages, eliminating the voltage of the voltage regulation unit and thus eliminating the influence of intermediate voltage states.

Benefits of technology

The accuracy of the sensing circuit was improved, the interference of intermediate voltage was eliminated, and accurate judgment of water flow in the pipe was achieved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN224416123U_ABST
    Figure CN224416123U_ABST
Patent Text Reader

Abstract

The application discloses a kind of sensing circuit and hydraulic switch, design sensor technical field, wherein sensing circuit includes light-emitting component, first voltage divider component, photosensitive component and voltage regulating unit, light-emitting component is used to emit light source;The first end of photosensitive component is used to access power supply, the second end of photosensitive component is grounded by first voltage divider component, photosensitive component is used to make the first end and the second end of photosensitive component conductive when sensing the light source emitted by light-emitting component;Voltage regulating unit at least includes a transistor and an output, the control end of transistor is the input of voltage regulating unit, and the output is connected with one end of transistor, the application is by setting voltage regulating unit, so that the final output voltage will only output two kinds of voltage, eliminate the influence of intermediate state voltage, facilitate subsequent to whether there is water flow through in pipeline Precision judgment is realized, and then the precision of the sensing circuit of the application is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of sensor technology, and in particular to a sensing circuit and a hydraulic switch. Background Technology

[0002] In existing technologies, level switches typically use a light-emitting component and a photosensitive component to detect whether water flows through. When no water flows through, the light signal from the light-emitting component is totally reflected to the photosensitive component, causing the corresponding sensing circuit of the level switch to output a high voltage. However, when water flows through, the light signal is refracted by the water flow, causing the photosensitive component to be unable to receive the light signal, and the sensing circuit outputs a low voltage or no voltage output. However, water often contains air bubbles, which prevents the light signal from being completely refracted, and some light signal is still reflected to the photosensitive component. This causes the sensing circuit to output an intermediate voltage, which is between high and low voltage. The uncertainty of the intermediate voltage may cause the sensing circuit to misjudge whether there is water flowing in the pipe, thus affecting the accuracy of the sensing circuit. Utility Model Content

[0003] This application aims to address at least one of the technical problems existing in the prior art. To this end, this application proposes a sensing current and device that enables the output voltage to no longer have intermediate voltage states, thereby improving the accuracy of the sensing circuit.

[0004] A sensing circuit according to a first aspect of this application includes a light-emitting component for emitting a light source; a first voltage divider component; a photosensitive component, a first terminal of which is connected to a power source, a second terminal of which is grounded through the first voltage divider component, the photosensitive component being configured to conduct between its first and second terminals when it senses the light source emitted by the light-emitting component; and a voltage regulation unit, the voltage regulation unit including at least one transistor and an output terminal, the control terminal of which is the input terminal of the voltage regulation unit, the output terminal being connected to one end of the transistor, and the input terminal of the voltage regulation unit being connected between the first voltage divider component and the second terminal of the photosensitive component.

[0005] The sensing circuit according to the embodiments of this application has at least the following beneficial effects: by setting a light-emitting component and a photosensitive component, it is convenient to detect whether there is water flow in the liquid level switch. That is, when there is water flow, the light signal emitted by the light-emitting component will be refracted by the water flow to the photosensitive component, thereby making the photosensitive component conduct. When there is no water flow, the photosensitive component is in the off state. The combination of the first voltage divider component and the voltage regulation unit facilitates the elimination of the influence of the intermediate voltage state. The setting of the first voltage divider component facilitates the adjustment of the voltage transmitted to the voltage regulation unit. The setting of the transistor in the voltage regulation unit ensures that the final output voltage of the sensing circuit will only output two voltages, thereby eliminating the influence of the intermediate voltage state. This facilitates the accurate judgment of whether there is water flow in the pipeline, avoids the interference caused by the intermediate voltage state, and improves the accuracy of the sensing circuit.

[0006] According to some embodiments of this application, the voltage regulation unit includes a first transistor and a second transistor. The control terminal of the first transistor is connected between the first voltage divider component and the second terminal of the photosensitive component. The first terminal of the first transistor is grounded, and the second terminal of the first transistor is used to connect to the power supply. The control terminal of the second transistor is connected to the second terminal of the first transistor. The first terminal of the second transistor is grounded, and the second terminal of the second transistor is used to connect to the power supply.

[0007] According to some embodiments of this application, a second voltage divider component is also included, wherein the second end of the photosensitive component is connected to the first voltage divider component through the second voltage divider component, and the control terminal of the first transistor is connected between the first voltage divider component and the second voltage divider component.

[0008] According to some embodiments of this application, a first current-limiting resistor is also included, one end of which is connected to a first end of the light-emitting component, the other end of which is grounded, and a second end of the light-emitting component is connected to the power supply.

[0009] According to some embodiments of this application, a second current-limiting resistor is also included, wherein the control terminal of the first transistor is connected between the first voltage divider assembly and the second voltage divider assembly through the second current-limiting resistor.

[0010] According to some embodiments of this application, a first load resistor and a second load resistor are also included, wherein the second terminal of the first transistor is connected to the power supply through the first load resistor, and the second terminal of the second transistor is connected to the power supply through the second load resistor.

[0011] According to some embodiments of this application, the light-emitting component is a light-emitting diode.

[0012] According to some embodiments of this application, the photosensitive component is a phototransistor.

[0013] According to some embodiments of this application, the first transistor is a field-effect transistor or a bipolar transistor, and the second transistor is a field-effect transistor or a bipolar transistor.

[0014] The hydraulic switch according to a second aspect embodiment of this application includes:

[0015] The sensing circuit of the first aspect of this application.

[0016] The hydraulic switch according to the embodiments of this application has at least the following beneficial effects: By setting a light-emitting component and a photosensitive component, it is convenient to detect whether there is water flow in the liquid level switch. That is, when there is water flow, the light signal emitted by the light-emitting component will be refracted by the water flow to the photosensitive component, thereby making the photosensitive component conduct. When there is no water flow, the photosensitive component is in the off state. The combination of the first voltage divider component and the voltage regulation unit facilitates the elimination of the influence of the intermediate voltage. The setting of the first voltage divider component facilitates the adjustment of the voltage transmitted to the voltage regulation unit. The setting of the transistor in the voltage regulation unit ensures that the final output voltage of the sensing circuit will only output two voltages, thereby eliminating the influence of the intermediate voltage. This facilitates the accurate judgment of whether there is water flow in the pipeline, avoids the interference caused by the intermediate voltage, and improves the accuracy of the sensing circuit. By using the sensing circuit of this application, the output voltage will only output two voltages, without too much interference from the intermediate voltage, thus improving the actual use effect of the hydraulic switch.

[0017] Additional aspects and advantages of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this application. Attached Figure Description

[0018] The present application will be further described below with reference to the accompanying drawings and embodiments, wherein:

[0019] Figure 1 This is a schematic diagram of the sensing circuit according to an embodiment of this application;

[0020] Figure 2 for Figure 1 A schematic diagram of a specific embodiment of the sensing circuit shown. Detailed Implementation

[0021] The embodiments of this application are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain this application, and should not be construed as limiting this application.

[0022] In the description of this application, it should be understood that the orientation descriptions, such as up, down, front, back, left, right, etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are only for the convenience of describing this application and simplifying the description, and 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. Therefore, they should not be construed as limitations on this application.

[0023] In the description of this application, "several" means one or more, "multiple" means two or more, "greater than," "less than," and "exceeding" are understood to exclude the stated number, while "above," "below," and "within" are understood to include the stated number. The use of "first" and "second" in the description is merely for distinguishing technical features and should not be construed as indicating or implying relative importance, or implicitly indicating the number of indicated technical features, or implicitly indicating the order of the indicated technical features.

[0024] In the description of this application, unless otherwise expressly defined, terms such as "setup," "installation," and "connection" should be interpreted broadly, and those skilled in the art can reasonably determine the specific meaning of the above terms in this application in conjunction with the specific content of the technical solution.

[0025] In the description of this application, the terms "one embodiment," "some embodiments," "illustrative embodiment," "example," "specific example," or "some examples," etc., refer to specific features, structures, materials, or characteristics described in connection with that embodiment or example, which are included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.

[0026] Currently, hydraulic switches primarily use light-emitting components and photosensitive components to detect water flow in pipes. When no water flows, the light signal emitted by the light-emitting component is totally reflected back to the photosensitive component, causing it to conduct. This results in the corresponding sensing circuit of the hydraulic switch outputting a high voltage, which is then converted into a logic signal (high level) to indicate that no water is flowing in the pipe. However, when water flows, the light signal emitted by the light-emitting component is refracted by the water flow, preventing it from reflecting back to the photosensitive component. This causes the photosensitive component to turn off, and the sensing circuit outputs a low level or no level. This low voltage is then converted into a logic signal (low level) to indicate that water is flowing in the pipe. However, water often contains air bubbles, which may cause insufficient refraction of the light signal. Some of the light signal may still be reflected back to the photosensitive component (PT), resulting in an output voltage between high and low voltages—an intermediate voltage. This intermediate voltage has a large dynamic range and is unstable, making it difficult to convert into a stable logic signal. This can lead to misjudgments by the sensing circuit, affecting its accuracy and practical application.

[0027] Based on this, this application proposes a sensing circuit and a hydraulic switch that can eliminate the influence of intermediate voltage, so that the sensing circuit will only output two voltages in the end, thereby improving the accuracy of the sensing circuit.

[0028] It is understood that the sensing circuit of this application embodiment includes a light-emitting component IR, a first voltage divider component R3, a photosensitive component PT, and a voltage regulation unit. The light-emitting component IR is used to emit a light source; the first terminal of the photosensitive component PT is used to connect to a power supply, and the second terminal of the photosensitive component PT is grounded through the first voltage divider component R3. The photosensitive component PT is used to make the first terminal and the second terminal of the photosensitive component PT conduct when it senses the light source emitted by the light-emitting component IR; the voltage regulation unit includes at least one transistor and an output terminal. The control terminal of the transistor is the input terminal of the voltage regulation unit, the output terminal is connected to one end of the transistor, and the input terminal of the voltage regulation unit is connected between the first voltage divider component and the second terminal of the photosensitive component.

[0029] The beneficial effects of the sensing circuit in this application embodiment are as follows: By setting the light-emitting component IR and the photosensitive component PT, it is convenient to detect whether there is water flow in the liquid level switch. That is, when there is water flow, the light signal emitted by the light-emitting component IR will be refracted by the water flow to the photosensitive component, thereby making the photosensitive component conduct. When there is no water flow, the photosensitive component is in the off state. The combination of the first voltage divider component R3 and the voltage regulation unit facilitates the elimination of the influence of the intermediate voltage state. The setting of the first voltage divider component R3 facilitates the adjustment of the voltage transmitted to the voltage regulation unit. The setting of the transistor in the voltage regulation unit ensures that the final output voltage of the sensing circuit will only output two voltages, thereby eliminating the influence of the intermediate voltage state. This facilitates the accurate judgment of whether there is water flow in the pipe, avoids the interference caused by the intermediate voltage state, and improves the accuracy of the sensing circuit.

[0030] For example, in some embodiments, reference is made to Figure 1 In this embodiment, the first terminal of the light-emitting component IR is connected to the power supply, and the second terminal of the light-emitting component IR is grounded. When the current input from the power supply passes through the light-emitting component IR, the light-emitting component IR emits a light source, i.e., a light signal. The first terminal of the photosensitive component PT is connected to the power supply, and the second terminal of the photosensitive component PT is grounded through the first voltage divider component R3. When the photosensitive component PT receives the light source emitted by the light-emitting component IR, the first and second terminals of the photosensitive component PT are connected, allowing current to flow from the first terminal to the second terminal. The first voltage divider component R3 prevents a short circuit between the photosensitive component PT and ground, which could damage the sensing circuit. The setting of the first voltage divider component R3 also ensures that the second terminal of the photosensitive component PT is grounded, forming a loop while avoiding the risk of a short circuit. By adjusting the first voltage divider component R3, the voltage of the voltage divider to the voltage regulation unit can be adjusted for greater accuracy when determining whether water is flowing through the pipe. For example, reducing the voltage of the voltage divider to the voltage regulation unit crystal can be used. The voltage divider in the transistor prevents the photosensitive element (PT) from conducting even when it receives only a small amount of light. In this case, the output voltage of the voltage regulation unit is close to zero, and the logic signal outputs a low level, indicating that water is flowing through the pipe. This is because the water may contain air bubbles, causing a small portion of the light to be reflected back to the photosensitive element (PT). If the voltage divider is not applied, the transistor in the voltage regulation unit will conduct, potentially leading to an inaccurate judgment. When the voltage divider voltage is large, the transistor in the voltage regulation unit conducts, causing the output voltage to approach zero. When the voltage divider voltage is small, the transistor in the voltage regulation unit is cut off, causing the output voltage to approach the power supply voltage. The voltage regulation unit is designed so that the output voltage will only exist in two states: close to the power supply or close to zero, without any intermediate voltage, thus improving the accuracy of the sensing circuit.

[0031] It is understood that the voltage regulation unit includes a first transistor Q1 and a second transistor Q2. The control terminal of the first transistor Q1 is connected between the first voltage divider component and the second terminal of the photosensitive component PT. The first terminal of the first transistor Q1 is grounded, and the second terminal of the first transistor Q1 is used to connect to the power supply. The control terminal of the second transistor Q2 is connected to the second terminal of the first transistor Q1. The first terminal of the second transistor Q2 is grounded, and the second terminal of the second transistor Q2 is used to connect to the power supply.

[0032] For example, in some embodiments, reference is made to Figure 2In this embodiment, the voltage regulation unit includes two transistors, namely a first transistor Q1 and a second transistor Q2. The first transistor Q1 is an NPN transistor. In this configuration, the first terminal of the first transistor Q1 is the emitter, the second terminal is the collector, and the control terminal is the base. The base of the first transistor Q1 is located between the first voltage divider assembly R3 and the second terminal of the photosensitive assembly PT. The collector of the first transistor Q1 is connected to the power supply, and the emitter is grounded. The cooperation between the first transistor Q1 and the first voltage divider assembly R3 ensures that when the photosensitive assembly is turned on, the base of the first transistor Q1 receives a corresponding divided voltage. When the divided voltage is greater than the threshold voltage of the first transistor Q1, the collector and emitter of the first transistor Q1 are connected, and the voltage at the collector of the first transistor Q1 is close to zero. Conversely, when the divided voltage is less than the threshold voltage of the first transistor Q1, the collector and emitter of the first transistor Q1 are cut off, and the voltage at the collector of the first transistor Q1 is close to the power supply voltage, thus achieving the desired voltage distribution. The output voltage is stable, meaning the output voltage of the first transistor Q1 is either close to zero or close to the power supply voltage, without any intermediate output voltage causing insufficient output voltage. The second transistor Q2 is also an NPN transistor. In this case, the first terminal of the second transistor Q2 is the emitter, the second terminal is the collector, and the control terminal is the base. The output voltage is taken from the collector of the second transistor Q2. The base of the second transistor Q2 is connected to the collector of the first transistor Q1, the emitter of the second transistor Q2 is grounded, and the collector of the second transistor Q2 is connected to the power supply. The configuration of the second transistor Q2 facilitates the in-phase operation of the signal, that is, a high input results in a high output, and a low input results in a low output. For example, when the photosensitive component PT receives a large amount of light, causing it to conduct, a large current flows in the photosensitive component PT, the first transistor Q1 conducts, and the collector voltage of the first transistor Q1 is close to zero, causing the second transistor Q2 to be cut off. At this time, the collector voltage of the second transistor Q2 is close to the power supply voltage, that is, the output voltage is close to the power supply voltage.When the light source received by the photosensitive element PT is insufficient to turn it on, or only a small amount of current flows within the photosensitive element PT, the voltage divided to the first transistor Q1 is insufficient to turn it on, meaning the first transistor Q1 is off. The collector voltage of the first transistor Q1 is close to the power supply voltage, causing the second transistor Q2 to turn on. The collector voltage of the second transistor Q2 is then close to zero, meaning the output voltage is close to zero. Therefore, the state of the output voltage can be used to determine whether water is flowing through the pipe. For example, in practical applications, a detection device is also included. The output voltage of the sensing circuit is connected to an external detection device via a voltage comparator. The detection device has an indicator light. The voltage comparator converts the output voltage into a logic signal. When the output voltage is close to zero, the logic signal output by the voltage comparator is low, and the indicator light on the detection device is off. The operator can then determine that water is flowing through the pipe based on the indicator light. When the output voltage is close to the power supply voltage, the logic signal output by the voltage comparator is high, and the indicator light on the detection device is on. The operator can then determine that no water is flowing through the pipe based on the indicator light. This ensures that the output voltage of the sensing circuit in this application exists in only two states: close to the power supply voltage and zero, thus eliminating the influence of intermediate voltage states. Simultaneously, the placement of the second transistor Q2 facilitates impedance matching, allowing it to more effectively receive the output signal from the first transistor Q1, achieving efficient signal transmission. Alternatively, the first transistor Q1 can be used as the first-stage amplification, and the second transistor Q2 as the second-stage amplification, thereby improving the voltage gain of the sensing circuit.

[0033] It is understandable that: it also includes a second voltage divider component R2, the second end of the photosensitive component PT is connected to the first voltage divider component R3 through the second voltage divider component R2, and the control terminal of the first transistor Q1 is connected between the first voltage divider component R3 and the second voltage divider component R2.

[0034] For example, in some embodiments, reference is made to Figure 2 In this embodiment, the first transistor Q1 is connected between the first voltage divider component R3 and the second voltage divider component R2, and the second end of the photodiode is connected to the first voltage divider component R3 through the second voltage divider component R2. The setting of the second voltage divider component R2 makes the voltage division effect achieved by the combination of the first voltage divider component R3 and the second voltage divider component R2 more flexible and easier to adjust.

[0035] It is understandable that: it also includes a first current-limiting resistor R1, one end of the first current-limiting resistor R1 is connected to the first end of the light-emitting component IR, the other end of the first current-limiting resistor R1 is grounded, and the second end of the light-emitting component IR is connected to the power supply.

[0036] For example, in some embodiments, reference is made to Figure 2In this embodiment, the light-emitting component IR is connected to ground through a first limiting resistor, and the second end of the light-emitting component IR is connected to the power supply, so as to limit the current flowing through the light-emitting component IR, thereby protecting the light-emitting component IR, preventing excessive current from damaging the light-emitting component IR, reducing the replacement frequency of the light-emitting component IR, and reducing costs.

[0037] It is understandable that: it also includes a second current-limiting resistor R4, and the control terminal of the first transistor Q1 is connected between the first voltage divider component R3 and the second voltage divider component R2 through the second current-limiting resistor R4.

[0038] For example, in some embodiments, reference is made to Figure 2 In this embodiment, one end of the second current-limiting resistor R4 is connected between the first voltage divider resistor and the second voltage divider resistor, and the other end is connected to the base of the first transistor Q1, so as to limit the current flowing to the first transistor Q1, thereby protecting the first transistor Q1, preventing excessive current from damaging the first transistor Q1, and reducing costs.

[0039] It is understandable that this also includes a first load resistor and a second load resistor R6. The second terminal of the first transistor Q1 is connected to the power supply through the first load resistor, and the second terminal of the second transistor Q2 is connected to the power supply through the second load resistor R6.

[0040] For example, in some embodiments, reference is made to Figure 2 In this embodiment, one end of the first load resistor is connected to the collector of the first transistor Q1, and the other end of the first load resistor is connected to the power supply to prevent the first transistor Q1 from being damaged due to excessive current when it is turned on. The setting of the first load resistor also facilitates the stabilization of the bias state of the first transistor Q1 when the temperature changes or the parameters of the first transistor Q1 drift. One end of the second load resistor R6 is connected to the collector of the second transistor Q2, and the other end of the second load resistor R6 is connected to the power supply to prevent the second transistor Q2 from being damaged due to excessive current when it is turned on. The setting of the second load resistor R6 also facilitates the stabilization of the bias state of the second transistor Q2 when the temperature changes or the parameters of the second transistor Q2 drift.

[0041] It is understandable that the light-emitting component IR is a light-emitting diode.

[0042] For example, in some embodiments, reference is made to Figure 2 In this embodiment, the light-emitting component IR is a light-emitting diode. At this time, the first end of the light-emitting component IR is the negative terminal, the second end of the light-emitting component IR is the positive terminal, the positive terminal of the light-emitting diode is connected to the power supply, and the negative terminal of the light-emitting diode is grounded through the first current-limiting resistor R1. The use of light-emitting diodes facilitates the emission of light sources, and the cost of light-emitting diodes is low, which helps to reduce production costs.

[0043] It is understandable that the photosensitive component PT is a phototransistor.

[0044] For example, in some embodiments, reference is made to Figure 2 In this embodiment, the photosensitive component PT is a phototransistor. At this time, the first end of the photosensitive component PT is the collector, the second end of the photosensitive component PT is the emitter, the collector of the phototransistor is connected to the power supply, the base of the phototransistor is used to receive the light source, and the emitter of the phototransistor is connected to the second voltage divider resistor. When the base of the phototransistor receives the light source, the collector and emitter of the phototransistor are connected, and the current flows into the sensing circuit through the phototransistor. Moreover, the phototransistor has a low cost, which makes it easier to reduce production costs.

[0045] It is understandable that the first transistor Q1 is a field-effect transistor or a bipolar transistor, and the second transistor Q2 is a field-effect transistor or a bipolar transistor.

[0046] For example, in some embodiments, the first transistor Q1 can be a field-effect transistor or a bipolar transistor. For instance, when both the first transistor Q1 and the second transistor Q2 are PNP transistors, the first terminal of the first transistor Q1 is the emitter, the second terminal of the first transistor Q1 is the collector, and the control terminal of the first transistor Q1 is the base. The first terminal of the second transistor Q2 is the emitter, the second terminal of the second transistor Q2 is the collector, and the control terminal of the second transistor Q2 is the base. The base of the first transistor Q1 is connected between the first voltage divider component R3 and the second voltage divider component R2, while the emitter of the first transistor Q1 is connected to the power supply. The collector of the second transistor Q2 is grounded through the first load resistor. The base of the second transistor Q2 is connected to the emitter of the first transistor Q1. The emitter of the second transistor Q2 is connected to the power supply. The collector of the second transistor Q2 is grounded through the second load resistor R6. The emitter of the second transistor Q2 outputs the output voltage of the sensing circuit. When both the first transistor Q1 and the second transistor Q2 are NMOS transistors, the first terminal of the first transistor Q1 is the drain, the second terminal of the first transistor Q1 is the source, and the control terminal of the first transistor Q1 is the gate. Similarly, the first terminal of the second transistor Q2 is the drain, the second terminal of the second transistor Q2 is the source, and the control terminal of the second transistor Q2 is the gate. The gate of the first transistor Q1 is connected between the first voltage divider component R3 and the second voltage divider component R2. The drain of the first transistor Q1 is connected to the power supply through the first load resistor, and the source of the first transistor Q1 is grounded. The gate of the second transistor Q2 is connected to the drain of the first transistor Q1, and the drain of the second transistor Q2 is connected to the power supply through the second load resistor R6. The source of the second transistor Q2 is grounded, and the drain of the second transistor Q2 outputs the output voltage of the sensing circuit. When both the first transistor Q1 and the second transistor Q2 are PMOS transistors, the first terminal of the first transistor Q1 is the source, and the second terminal of the first transistor Q1 is the drain. The control terminal of the first transistor Q1 is the gate, the first terminal of the second transistor Q2 is the source, the second terminal of the second transistor Q2 is the drain, the control terminal of the second transistor Q2 is the gate, the gate of the first transistor Q1 is connected between the first voltage divider component R3 and the second voltage divider component R2, the drain of the first transistor Q1 is connected to ground through the first load resistor, the source of the first transistor Q1 is connected to the power supply, the gate of the second transistor Q2 is connected to the source of the first transistor Q1, the drain of the second transistor Q2 is connected to ground through the second load resistor R6, the source of the second transistor Q2 is connected to the power supply, and the source of the second transistor Q2 outputs the output voltage of the sensing circuit.

[0047] The hydraulic switch according to the second aspect of the application includes the sensing circuit of the first aspect of the application described above.

[0048] According to the hydraulic switch of this application embodiment, by setting a light-emitting component IR and a photosensitive component PT, it is convenient to detect whether there is water flow in the liquid level switch. That is, when there is water flow, the light signal emitted by the light-emitting component IR will be refracted by the water flow to the photosensitive component, thereby making the photosensitive component conduct. When there is no water flow, the photosensitive component is in the off state. The combination of the first voltage divider component R3 and the voltage adjustment unit facilitates the elimination of the influence of the voltage intermediate state. The setting of the first voltage divider component R3 facilitates the adjustment of the voltage transmitted to the voltage adjustment unit. The setting of the transistor in the voltage adjustment unit ensures that the final output voltage of the sensing circuit will only output two voltages, thereby eliminating the influence of the intermediate voltage. This facilitates the accurate judgment of whether there is water flow in the pipeline, avoids the interference caused by the intermediate voltage, and improves the practical application effect of the sensing circuit. By using the sensing circuit of this application, the output voltage will only output two voltages, without too many intermediate voltages interfering, thus improving the accuracy of the sensing circuit.

[0049] Since the hydraulic switch includes the sensing circuit of the first aspect embodiment, the corresponding contents of the sensing circuit in the first aspect embodiment can be applied to the hydraulic switch of the second aspect, and have the same implementation principle and technical effect. To avoid redundancy, it will not be described in detail here.

[0050] The embodiments of this application have been described in detail above with reference to the accompanying drawings. However, this application is not limited to the above embodiments. Within the scope of knowledge possessed by those skilled in the art, various changes can be made without departing from the spirit of this application.

Claims

1. A sensing circuit, characterized by, include: Light-emitting component, the light-emitting component being used to emit a light source; First voltage divider component; A photosensitive component, wherein a first end of the photosensitive component is used to connect to a power source, and a second end of the photosensitive component is grounded through a first voltage divider component. The photosensitive component is used to make the first end and the second end of the photosensitive component conduct when it senses the light source emitted by the light-emitting component. A voltage regulation unit, comprising at least one transistor and an output terminal, wherein the control terminal of the transistor is the input terminal of the voltage regulation unit, the output terminal is connected to one end of the transistor, and the input terminal of the voltage regulation unit is connected between the first voltage divider component and the second end of the photosensitive component.

2. The sensing circuit of claim 1, wherein, The voltage regulation unit includes a first transistor and a second transistor. The control terminal of the first transistor is connected between the first voltage divider component and the second terminal of the photosensitive component. The first terminal of the first transistor is grounded, and the second terminal of the first transistor is used to connect to the power supply. The control terminal of the second transistor is connected to the second terminal of the first transistor. The first terminal of the second transistor is grounded, and the second terminal of the second transistor is used to connect to the power supply.

3. The sensing circuit of claim 2, wherein, It also includes a second voltage divider component, the second end of the photosensitive component is connected to the first voltage divider component through the second voltage divider component, and the control terminal of the first transistor is connected between the first voltage divider component and the second voltage divider component.

4. The sensing circuit of claim 1, wherein, It also includes a first current-limiting resistor, one end of which is connected to the first end of the light-emitting component, the other end of which is grounded, and the second end of the light-emitting component is connected to the power supply.

5. The sensing circuit of claim 3, wherein, It also includes a second current-limiting resistor, through which the control terminal of the first transistor is connected between the first voltage divider component and the second voltage divider component.

6. The sensing circuit of claim 2, wherein, It also includes a first load resistor and a second load resistor, wherein the second terminal of the first transistor is connected to the power supply through the first load resistor, and the second terminal of the second transistor is connected to the power supply through the second load resistor.

7. The sensing circuit of claim 1, wherein, The light-emitting component is a light-emitting diode.

8. The sensing circuit of claim 3, wherein, The photosensitive component is a phototransistor.

9. The sensing circuit of claim 2, wherein, The first transistor is a field-effect transistor or a bipolar transistor, and the second transistor is a field-effect transistor or a bipolar transistor.

10. A hydraulic switch, characterized by include: The sensing circuit according to any one of claims 1 to 9.