Two-way photoelectric detection switch circuit
By using a dual-channel photoelectric detection switch circuit, which combines phototransistors and MOSFETs, the problems of easy damage and false triggering of mechanical microswitches are solved, achieving switch detection with unlimited lifespan and high sensitivity.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-31
- Publication Date
- 2026-03-20
AI Technical Summary
Existing mechanical microswitches are prone to damage and false triggering, and cannot maintain accurate detection when the tubing swings irregularly.
A dual-path photoelectric detection switch circuit is adopted, including a control chip, a first detection circuit and a second detection circuit. It uses phototransistors and enhancement-mode MOSFETs to achieve contactless switch detection, combined with LED indicator lights.
It achieves unlimited switch lifespan, is highly sensitive, unaffected by humidity, and can be triggered without error when the hose is pulled at any angle, ensuring accurate detection.
Smart Images

Figure CN224021706U_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The utility model relates to switch circuit technical field, concretely relates to a kind of dual-path photoelectric detection switch circuit. BACKGROUND
[0002] The original ball head detection is practical mechanical microswitch, and the microswitch has two shortcomings, one is that the ball head is too fast to damage the mechanical structure of the microswitch, which leads to the damage of the switch and the loss of working characteristics, and the other is that when the ball head is pulled away with the rubber tube, although the ball head is away (the microswitch should be released), the irregular swing of the rubber tube will also trigger the microswitch. INVENTION CONTENTS
[0003] Therefore, the utility model aims at providing a kind of dual-path photoelectric detection switch circuit to overcome the problems in the prior art.
[0004] To achieve the above purpose, the utility model adopts the following technical scheme:
[0005] The application provides a kind of dual-path photoelectric detection switch circuit, including, control chip, first detection circuit and second detection circuit;
[0006] The control chip is connected with power supply, the first detection circuit and the second detection circuit are respectively connected with the signal output end of the control chip, the level signal output end of the control chip is connected with level conversion circuit, and the control signal output end of the control chip is connected with LED signal lamp circuit.
[0007] Further, the dual-path photoelectric detection switch circuit described above, the control chip is connected with power supply, and includes:
[0008] The first pin of the control chip is connected with power supply positive pole, and the second pin of the control chip is grounded.
[0009] Further, the dual-path photoelectric detection switch circuit described above, the first detection circuit includes:
[0010] The collector is connected with power supply positive pole, the emitter is connected with the first NPN type photosensitive triode grounded through the first resistance, and the emitter of the first NPN type photosensitive triode is also connected with the seventh pin of the control chip;
[0011] The anode is connected with power supply positive pole, the cathode is connected with the first light-emitting diode with the drain of the first enhancement mode MOS connected through the second resistance, the source of the first enhancement mode MOS is grounded, and the gate of the first enhancement mode MOS is connected with the eighth pin of the control chip through the third resistance.
[0012] Further, the dual-path photoelectric detection switch circuit described above, the second detection circuit includes:
[0013] A second NPN type photoelectric triode with a power supply positive pole connected to the collector, an emitter connected to the ground through a fourth resistance, and a fifth pin of the control chip connected to the emitter;
[0014] A second light emitting diode with a power supply positive pole connected to the anode, the cathode connected to the drain of a second enhancement type MOS tube through a fifth resistance, the source of the second enhancement type MOS tube connected to the ground, and the gate of the second enhancement type MOS tube connected to the sixth pin of the control chip through a sixth resistance.
[0015] Further, the above-mentioned two-way photoelectric detection switch circuit, the LED signal lamp circuit comprises:
[0016] A third light emitting diode with a power supply positive pole connected to the anode, and the cathode connected to the fourth pin of the control chip through a seventh resistance.
[0017] A fourth light emitting diode with the ground connected to the cathode, and the anode connected to the fourth pin of the control chip through an eighth resistance.
[0018] Further, the above-mentioned two-way photoelectric detection switch circuit, the level signal output end of the control chip is connected with a level conversion circuit, and the two-way photoelectric detection switch circuit comprises:
[0019] The third pin of the control chip is connected with the gate of a third enhancement type MOS tube through a ninth resistance, the source of the third enhancement type MOS tube is connected to the ground, and the drain of the third enhancement type MOS tube outputs a low level.
[0020] The utility model discloses the beneficial effects that:
[0021] The application has a control chip, a first detection circuit and a second detection circuit, the control chip is connected with a power supply, the first detection circuit and the second detection circuit are respectively connected with the signal output end of the control chip, the level signal output end of the control chip is connected with a level conversion circuit, and the control signal output end of the control chip is connected with an LED signal lamp circuit. In the application, the original mechanical microswitch is changed into an electronic photoelectric sensing switch, the electronic photoelectric switch does not need to be in contact with the ball head through the circuit in the application, the service life of the switch is theoretically infinite times, the two-way photoelectric detection does not mis-trigger the photoelectric switch when pulling the photoelectric switch at any angle of the skin tube, the sensing is sensitive, is not affected by weather and humidity, and the photoelectric switch has obvious signal lamp indication whether the ball head is detected. BRIEF DESCRIPTION OF DRAWINGS
[0022] In order to more clearly illustrate the technical solutions of the embodiments of the present application or the prior art, the following will briefly introduce the drawings needed to be used in the embodiment or prior art description. Obviously, the drawings described below are only some of the embodiments of the present application, and for those skilled in the art, other drawings can also be obtained without creative labor on the basis of these drawings.
[0023] Figure 1 is a structural diagram provided by an embodiment of a two-way photoelectric detection switch circuit of the present application. DETAILED DESCRIPTION
[0024] In order to make the purpose, technical scheme and advantages of the present application more clear, the technical scheme of the present application will be described in detail below. Obviously, the described embodiments are only some of the embodiments of the present application, not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor are within the scope of the present application.
[0025] Figure 1 is a structural diagram provided by an embodiment of a two-way photoelectric detection switch circuit of the present application, as shown in Figure 1 , the present embodiment comprises:
[0026] a control chip 1, a first detection circuit 2 and a second detection circuit 3;
[0027] The control chip 1 is connected with the power supply, the first detection circuit 2 and the second detection circuit 3 are respectively electrically connected with the signal output end of the control chip 1, the level signal output end of the control chip 1 is connected with the level conversion circuit, and the control signal output end of the control chip 1 is connected with the LED signal lamp circuit.
[0028] It can be understood that the present application has a control chip 1, a first detection circuit 2 and a second detection circuit 3; the control chip 1 is connected with the power supply, the first detection circuit 2 and the second detection circuit 3 are respectively electrically connected with the signal output end of the control chip 1, the level signal output end of the control chip 1 is connected with the level conversion circuit, and the control signal output end of the control chip 1 is connected with the LED signal lamp circuit. In the present application, the original mechanical micro switch is changed into an electronic photoelectric sensing switch, and the electronic photoelectric switch does not need to be in contact with the ball head through the circuit in the present application. The switch life is theoretically infinite times, the two-way photoelectric detection, the photoelectric switch will not be triggered by mistake when pulling the photoelectric switch at any angle of the skin tube, the sensing is sensitive, and is not affected by the weather and humidity. The photoelectric switch has obvious signal lamp indication whether the ball head is detected.
[0029] Preferably, the control chip 1 is connected with the power supply, comprising:
[0030] The first pin of control chip 1 is connected to the positive terminal of the power supply, and the second pin of control chip 1 is grounded.
[0031] Preferably, the first detection circuit 2 includes:
[0032] The collector of the first NPN phototransistor is connected to the positive terminal of the power supply, and the emitter is grounded through the first resistor. The emitter of the first NPN phototransistor is also connected to the seventh pin of the control chip 1.
[0033] The anode is connected to the positive terminal of the power supply, the cathode is connected to the drain of the first enhancement-mode MOSFET through the second resistor, the source of the first enhancement-mode MOSFET is grounded, and the gate of the first enhancement-mode MOSFET is connected to the eighth pin of the control chip 1 through the third resistor.
[0034] Preferably, the second detection circuit 3 includes:
[0035] The collector of the second NPN phototransistor is connected to the positive terminal of the power supply, and the emitter is grounded through the fourth resistor. The emitter of the second NPN phototransistor is also connected to the fifth pin of the control chip 1.
[0036] The anode is connected to the positive terminal of the power supply, the cathode is connected to the drain of the second enhancement-mode MOSFET through the fifth resistor, the source of the second enhancement-mode MOSFET is grounded, and the gate of the second enhancement-mode MOSFET is connected to the sixth pin of the control chip 1 through the sixth resistor.
[0037] Preferably, the LED signal light circuit includes:
[0038] The anode is connected to the positive terminal of the power supply, and the cathode is the third light-emitting diode connected to the fourth pin of control chip 1 through the seventh resistor;
[0039] The cathode is grounded, and the anode is connected to the fourth pin of the control chip 1 via the eighth resistor, which is the fourth light-emitting diode.
[0040] Preferably, the level signal output terminal of the control chip 1 is connected to a level conversion circuit, including:
[0041] The third pin of control chip 1 is connected to the gate of the third enhancement-mode MOSFET through the ninth resistor. The source of the third enhancement-mode MOSFET is grounded, and the drain of the third enhancement-mode MOSFET outputs a low level.
[0042] It is understood that the same or similar parts in the above embodiments can be referred to each other, and the contents not described in detail in some embodiments can be referred to the same or similar contents in other embodiments.
[0043] It should be noted that in the description of the present application, the terms "first", "second", etc. are only used for the purpose of description and should not be understood as indicating or implying relative importance. In addition, in the description of the present application, unless otherwise stated, "a plurality of" means at least two.
[0044] In the description of the present application, the description of the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In the present application, the illustrative description of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.
[0045] Although the embodiments of the present application have been shown and described above, it should be understood that the above embodiments are exemplary and should not be construed as limiting the present application. Those skilled in the art can make changes, modifications, replacements and variations to the above embodiments within the scope of the present application.
Claims
1. A dual-channel photoelectric detection switch circuit, characterized in that, Includes a control chip, a first detection circuit, and a second detection circuit; The control chip is connected to a power supply. The first detection circuit and the second detection circuit are electrically connected to the signal output terminal of the control chip, respectively. The level signal output terminal of the control chip is connected to a level conversion circuit, and the control signal output terminal of the control chip is connected to an LED signal light circuit.
2. The dual-channel photoelectric detection switch circuit according to claim 1, characterized in that, The control chip is connected to a power supply and includes: The first pin of the control chip is connected to the positive terminal of the power supply, and the second pin of the control chip is grounded.
3. The dual-channel photoelectric detection switch circuit according to claim 2, characterized in that, The first detection circuit includes: A first NPN phototransistor with its collector connected to the positive terminal of the power supply and its emitter grounded through a first resistor, and the emitter of the first NPN phototransistor is also connected to the seventh pin of the control chip. The anode is connected to the positive terminal of the power supply, the cathode is connected to the drain of the first enhancement-mode MOSFET through a second resistor, the source of the first enhancement-mode MOSFET is grounded, and the gate of the first enhancement-mode MOSFET is connected to the eighth pin of the control chip through a third resistor.
4. The dual-channel photoelectric detection switch circuit according to claim 3, characterized in that, The second detection circuit includes: The collector of the second NPN phototransistor is connected to the positive terminal of the power supply, and the emitter is grounded through the fourth resistor. The emitter of the second NPN phototransistor is also connected to the fifth pin of the control chip. The anode is connected to the positive terminal of the power supply, and the cathode is connected to the drain of the second enhancement-mode MOSFET through the fifth resistor. The source of the second enhancement-mode MOSFET is grounded, and the gate of the second enhancement-mode MOSFET is connected to the sixth pin of the control chip through the sixth resistor.
5. The dual-channel photoelectric detection switch circuit according to claim 4, characterized in that, The LED signal light circuit includes: The anode is connected to the positive terminal of the power supply, and the cathode is a third light-emitting diode connected to the fourth pin of the control chip through the seventh resistor; The cathode is grounded, and the anode is a fourth light-emitting diode connected to the fourth pin of the control chip through an eighth resistor.
6. The dual-channel photoelectric detection switch circuit according to claim 5, characterized in that, The level signal output terminal of the control chip is connected to a level conversion circuit, including: The third pin of the control chip is connected to the gate of the third enhancement-mode MOSFET through the ninth resistor. The source of the third enhancement-mode MOSFET is grounded, and the drain of the third enhancement-mode MOSFET outputs a low level.