CN209784800U - A Protection Circuit Considering Both NPN Type and PNP Type Load Output - Google Patents
A Protection Circuit Considering Both NPN Type and PNP Type Load Output Download PDFInfo
- Publication number
- CN209784800U CN209784800U CN201920891526.1U CN201920891526U CN209784800U CN 209784800 U CN209784800 U CN 209784800U CN 201920891526 U CN201920891526 U CN 201920891526U CN 209784800 U CN209784800 U CN 209784800U
- Authority
- CN
- China
- Prior art keywords
- load
- circuit
- tube
- output
- switch
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000001514 detection method Methods 0.000 claims abstract description 17
- 230000000087 stabilizing effect Effects 0.000 claims abstract description 10
- 239000003990 capacitor Substances 0.000 claims description 17
- 230000001939 inductive effect Effects 0.000 claims description 6
- 230000005347 demagnetization Effects 0.000 claims description 2
- 230000005540 biological transmission Effects 0.000 abstract 1
- 230000015556 catabolic process Effects 0.000 description 2
- 238000000034 method Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000004397 blinking Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Landscapes
- Emergency Protection Circuit Devices (AREA)
Abstract
Description
技术领域technical field
本实用新型涉及工业控制技术领域,特别是一种兼顾NPN型和PNP型负载输出的保护电路。The utility model relates to the technical field of industrial control, in particular to a protection circuit which takes both NPN type and PNP type load output into consideration.
背景技术Background technique
传统的电路输出端与负载的连接方式有NPN型与PNP型两种,当电路的输出形式是NPN型时,则负载只能接成NPN型;当电路的输出形式是PNP型时,则负载只能接成PNP型;传统的电路不能同时兼顾到NPN型与PNP型两种输出形式,且没有以下保护功能:过电压保护功能,过电流保护功能,浪涌保护功能,防静电保护功能,电感负载快速消磁功能,电源电压反极性保护功能,故障指示功能。There are two types of connection between the traditional circuit output terminal and the load: NPN type and PNP type. When the output form of the circuit is NPN type, the load can only be connected as NPN type; when the output form of the circuit is PNP type, the load It can only be connected as PNP type; the traditional circuit cannot take into account both NPN type and PNP type output forms at the same time, and does not have the following protection functions: overvoltage protection function, overcurrent protection function, surge protection function, anti-static protection function, Inductive load fast demagnetization function, power supply voltage reverse polarity protection function, fault indication function.
实用新型内容Utility model content
本实用新型要解决的技术问题是针对上述现有技术的不足,提供一种兼顾NPN型和PNP型负载输出的保护电路,自动识别负载形式并传递信号给负载。The technical problem to be solved by the utility model is to provide a protection circuit that takes into account both NPN and PNP load output, which can automatically identify the load type and transmit the signal to the load.
为解决上述技术问题,本实用新型所采取的技术方案是:一种兼顾NPN型和PNP型负载输出的保护电路,其包括微处理器U1、负载输出形式检测电路、稳压电路、过压保护检测电路、第一开关电路以及第二开关电路;电源电压经稳压电路供电至微处理器U1,微处理器U1的信号输入端IN接收外部控制电路或传感器的控制信号,负载输出形式检测电路对接入的负载回路进行检测,并向微处理器U1输出负载输出形式信号,微处理器U1根据所述控制信号与负载输出形式信号控制第一开关电路和第二开关电路的通断,电源电压经第一开关电路与负载构成第一负载回路,电源电压经第二开关电路与负载构成第二负载回路。In order to solve the above technical problems, the technical solution adopted by the utility model is: a protection circuit that takes into account both NPN type and PNP type load output, which includes a microprocessor U1, a load output form detection circuit, a voltage stabilizing circuit, and an overvoltage protection circuit. The detection circuit, the first switch circuit and the second switch circuit; the power supply voltage is supplied to the microprocessor U1 through the voltage stabilizing circuit, the signal input terminal IN of the microprocessor U1 receives the control signal of the external control circuit or sensor, and the load output form detection circuit Detect the connected load circuit, and output the load output form signal to the microprocessor U1, and the microprocessor U1 controls the on-off of the first switch circuit and the second switch circuit according to the control signal and the load output form signal, and the power supply The voltage forms a first load loop through the first switch circuit and the load, and the power supply voltage forms a second load loop through the second switch circuit and the load.
上述技术方案中,所述负载输出形式检测电路包括电阻R4、电阻R7、TVS管D2和电容C2,电阻R4串联至负载回路与微处理器U1的T2端口之间,电阻R7、TVS管D2和电容C2并联后一端接地并另一端接于T2端口与电阻R4之间的节点。In the above technical solution, the load output form detection circuit includes a resistor R4, a resistor R7, a TVS tube D2 and a capacitor C2, the resistor R4 is connected in series between the load loop and the T2 port of the microprocessor U1, the resistor R7, the TVS tube D2 and After the capacitor C2 is connected in parallel, one end is grounded and the other end is connected to the node between the T2 port and the resistor R4.
上述技术方案中,所述稳压电路包括稳压管Z1和电容C1,稳压管Z1与电容C1并联。In the above technical solution, the voltage stabilizing circuit includes a voltage stabilizing tube Z1 and a capacitor C1, and the voltage stabilizing tube Z1 and the capacitor C1 are connected in parallel.
上述技术方案中,所述过压保护检测电路包括电阻R9、电阻R10、TVS管D4和电容C3,电阻R10、TVS管D4和电容C3并联后与电阻R9串联,并接于所述回路,微处理器U1的T1端口接于电阻R9与电阻R10、TVS管D4和电容C3的并联模组之间的节点。In the above technical solution, the overvoltage protection detection circuit includes a resistor R9, a resistor R10, a TVS tube D4, and a capacitor C3, and the resistor R10, the TVS tube D4, and the capacitor C3 are connected in parallel with the resistor R9 in series, and connected to the loop, micro The T1 port of the processor U1 is connected to the node between the resistor R9 and the parallel module of the resistor R10, the TVS transistor D4 and the capacitor C3.
上述技术方案中,所述第一开关电路包括第一开关管Q1和第二开关管Q2,第二开关管Q2的控制端与微处理器U1的OUT1端口连接,第二开关管Q2的输入端与第一开关管Q1的控制端电连接,第一开关管Q1的输入端以及第二开关管Q2的输入端分别与电源电压电连接,第一开关管Q1的输出端与负载的信号端连接;当第一开关管Q1导通后,电源电压经第一开关管Q1后从负载的信号端进入负载并从负载的负极端出来形成第一负载回路。In the above technical solution, the first switching circuit includes a first switching tube Q1 and a second switching tube Q2, the control terminal of the second switching tube Q2 is connected to the OUT1 port of the microprocessor U1, and the input terminal of the second switching tube Q2 It is electrically connected to the control terminal of the first switching tube Q1, the input terminal of the first switching tube Q1 and the input terminal of the second switching tube Q2 are respectively electrically connected to the power supply voltage, and the output terminal of the first switching tube Q1 is connected to the signal terminal of the load ; When the first switch tube Q1 is turned on, the power supply voltage enters the load from the signal terminal of the load through the first switch tube Q1 and comes out from the negative terminal of the load to form a first load circuit.
上述技术方案中,所述第二开关电路包括第三开关管Q3,第三开关管Q3的控制端与微处理器U1的OUT2端口电连接,第三开关管Q3的输出端与负载的信号端电连接;当第三开关管Q3导通时,电源电压经负载的正极端进入负载后,再从负载的信号端出来后经第三开关管Q3形成第二负载回路。In the above technical solution, the second switch circuit includes a third switch tube Q3, the control terminal of the third switch tube Q3 is electrically connected to the OUT2 port of the microprocessor U1, and the output terminal of the third switch tube Q3 is connected to the signal terminal of the load Electrical connection; when the third switch tube Q3 is turned on, the power supply voltage enters the load through the positive terminal of the load, and then comes out from the signal terminal of the load to form a second load circuit through the third switch tube Q3.
上述技术方案中,在负载的正极端所在的第二负载回路中串联有TVS管D5,在负载的负极端所在的第一负载回路中串联有TVS管D7,TVS管D5和TVS管D7作为电源电压反极性保护电路。In the above technical solution, a TVS tube D5 is connected in series in the second load circuit where the positive terminal of the load is located, and a TVS tube D7 is connected in series in the first load circuit where the negative terminal of the load is located, and the TVS tube D5 and TVS tube D7 are used as power supplies Voltage reverse polarity protection circuit.
上述技术方案中,还包括有故障指示灯电路,包括指示灯LED1和电阻R11。The above technical solution also includes a fault indicator circuit, including an indicator LED1 and a resistor R11.
上述技术方案中,所述第一开关电路的输入端与输出端并联有TVS管D1,第二开关电路的输入端与输出端并联有TVS管D3,形成电感负载快速消磁电路。In the above technical solution, a TVS transistor D1 is connected in parallel to the input end and output end of the first switch circuit, and a TVS transistor D3 is connected in parallel to the input end and output end of the second switch circuit to form a fast degaussing circuit for an inductive load.
上述技术方案中,所述电源电压与接地之间电连接有TVS管D6,形成防静电以及浪涌保护电路。In the above technical solution, a TVS tube D6 is electrically connected between the power supply voltage and the ground to form an anti-static and surge protection circuit.
本实用新型的有益效果是:通过负载输出形式检测电路,即可判断负载方式是NPN型还是PNP型,而且当负载电路出现过电流状态,及供电电压出现过电压状态时,故障指示灯则会有闪烁或常亮信息输出,表示电路出现故障,当故障排除后则指示灯熄灭;另外此电路还具有以下至少一种的自我保护功能:浪涌保护、防静电保护、电感负载快速消磁、电源电压反极性保护,与传统电路相比,此实用新型更具有实用价值,更具应用前景。The beneficial effects of the utility model are: through the detection circuit of the load output form, it can be judged whether the load mode is NPN type or PNP type; There is a flashing or constant light output, indicating that the circuit is faulty, and the indicator light will go out when the fault is eliminated; in addition, this circuit also has at least one of the following self-protection functions: surge protection, anti-static protection, fast degaussing of inductive loads, power supply Voltage reverse polarity protection, compared with traditional circuits, this utility model has more practical value and more application prospects.
附图说明Description of drawings
图1是本实用新型的电路原理示意图。Fig. 1 is a schematic diagram of the circuit principle of the utility model.
具体实施方式Detailed ways
下面结合附图对本实用新型作进一步详细的说明。Below in conjunction with accompanying drawing, the utility model is described in further detail.
如图1所示,信号输入端IN可以接受其它控制电路或传感器的信息;微处理器U1接收到控制信号后,即可对控制信号进行分析,如果输入端信号是高电平,则微处理器U1的OUT2端口输出低电平,使三极管Q3(或MOS管)截止,微处理器U1的OUT1端口输出低电平,使三极管Q1与Q2(或MOS管)截止,负载则与电源电压断开;如果输入端信号是低电平,当输出形式信号为NPN时,则微处理器U1的OUT2端口输出高电平,使三极管Q3(或MOS管)导通,微处理器U1的OUT1端口输出低电平,使三极管Q1与Q2(或MOS管)截止,负载则与电源电压接通;如果输入端信号是低电平,当输出形式信号为PNP时,则微处理器U1的OUT1端口输出高电平,使三极管Q1与Q2(或MOS管)导通,微处理器U1的OUT2端口输出低电平,使三极管Q3(或MOS管)截止,负载则与电源电压接通。As shown in Figure 1, the signal input terminal IN can receive information from other control circuits or sensors; after the microprocessor U1 receives the control signal, it can analyze the control signal. The OUT2 port of the device U1 outputs a low level, so that the triode Q3 (or MOS tube) is cut off, and the OUT1 port of the microprocessor U1 outputs a low level, so that the triode Q1 and Q2 (or MOS tube) are cut off, and the load is disconnected from the power supply voltage. Open; if the input signal is low level, when the output form signal is NPN, the OUT2 port of the microprocessor U1 outputs high level, so that the triode Q3 (or MOS tube) is turned on, and the OUT1 port of the microprocessor U1 Output low level, so that the triode Q1 and Q2 (or MOS tube) are cut off, and the load is connected to the power supply voltage; if the input signal is low level, when the output form signal is PNP, the OUT1 port of the microprocessor U1 The output high level makes the triode Q1 and Q2 (or MOS tube) conduct, and the OUT2 port of the microprocessor U1 outputs a low level, so that the triode Q3 (or MOS tube) is cut off, and the load is connected to the power supply voltage.
具体的,稳压管Z1、电容C1、电阻R8组成稳压电路,给微处理器U1供电。Specifically, the regulator tube Z1, the capacitor C1 and the resistor R8 form a regulator circuit to supply power to the microprocessor U1.
具体的,电阻R9、电阻R10、TVS管D4、电容C3,组成过压保护检测电路,当整个电路的电源电压过高时,微处理器U1会检测到电压过高的信息,则会驱动故障指示灯LED1闪烁或常亮。Specifically, resistor R9, resistor R10, TVS tube D4, and capacitor C3 form an overvoltage protection detection circuit. When the power supply voltage of the entire circuit is too high, the microprocessor U1 will detect the information that the voltage is too high, and will drive the fault The indicator LED1 is blinking or always on.
具体的,电阻R7、电阻R4、TVS管D2、电容C2,组成负载输出形式检测电路,当负载接电源正极时,微处理器U1检测到信息,判断输出形式为NPN式,当负载接电源负极时,微处理器U1检测到信息,判断输出形式为PNP式。Specifically, resistor R7, resistor R4, TVS tube D2, and capacitor C2 form a load output form detection circuit. When the load is connected to the positive pole of the power supply, the microprocessor U1 detects the information and judges that the output form is NPN type. When the load is connected to the negative pole of the power supply , the microprocessor U1 detects the information and judges that the output form is PNP.
具体的,TVS管D1、TVS管D3,组成电感负载快速消磁电路,可以使电感性负载在断电瞬间产生的高压脉冲消除掉,保护三极管Q1与Q3不被击穿而损坏。Specifically, the TVS tube D1 and TVS tube D3 form an inductive load fast degaussing circuit, which can eliminate the high-voltage pulse generated by the inductive load at the moment of power failure, and protect the transistors Q1 and Q3 from breakdown and damage.
具体的,TVS管D6,起到浪涌保护与防静电保护的作用,可以保护电路不被浪涌电压与静电电压击穿而损坏。Specifically, the TVS tube D6 plays the role of surge protection and anti-static protection, and can protect the circuit from being damaged by surge voltage and electrostatic voltage breakdown.
具体的,TVS管D5、TVS管D7,组成电源电压反极性保护电路,即使整个电路的供电电压正极与负极接反,也不会损坏整个电路组件。Specifically, the TVS tube D5 and the TVS tube D7 form a power supply voltage reverse polarity protection circuit, even if the positive pole and the negative pole of the power supply voltage of the entire circuit are reversed, the entire circuit assembly will not be damaged.
图中P1为负载的接入端口,包括引脚1的正极端、引脚2的信号端、以及引脚3的负极端。In the figure, P1 is the access port of the load, including the positive terminal of pin 1, the signal terminal of pin 2, and the negative terminal of pin 3.
本实用新型的工作原理:Working principle of the utility model:
微处理器U1接收控制电路或传感器的控制信号,负载输出形式检测电路检测到负载输出形式信号传输给微处理器U1,微处理器U1根据控制信号和负载输出形式信号选择控制第一开关电路导通而第二开关电路截止或者第一开关电路截止而第二开关电路导通。The microprocessor U1 receives the control signal from the control circuit or the sensor, and the load output form detection circuit detects that the load output form signal is transmitted to the microprocessor U1, and the microprocessor U1 selects and controls the first switch circuit conduction according to the control signal and the load output form signal. The second switch circuit is turned off or the first switch circuit is turned off and the second switch circuit is turned on.
当第一开关电路导通而第二开关电路截止时,电源电压经第一开关电路、负载的信号端、负载、负载的负极端到接地端,形成第一负载回路。When the first switch circuit is turned on and the second switch circuit is turned off, the power supply voltage passes through the first switch circuit, the signal terminal of the load, the load, and the negative terminal of the load to the ground terminal, forming a first load circuit.
当第一开关电路截止而第二开关电路导通时,电源电压经负载的正极端、负载、负载的信号端、第二开关电路到接地端,形成第二负载回路。When the first switch circuit is turned off and the second switch circuit is turned on, the power supply voltage passes through the positive terminal of the load, the load, the signal terminal of the load, and the second switch circuit to the ground terminal to form a second load loop.
以上的实施例只是在于说明而不是限制本实用新型,故凡依本实用新型专利申请范围所述的方法所做的等效变化或修饰,均包括于本实用新型专利申请范围内。The above embodiments are only intended to illustrate rather than limit the utility model, so all equivalent changes or modifications made according to the method described in the scope of the patent application of the utility model are included in the scope of the patent application of the utility model.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201920891526.1U CN209784800U (en) | 2019-06-14 | 2019-06-14 | A Protection Circuit Considering Both NPN Type and PNP Type Load Output |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201920891526.1U CN209784800U (en) | 2019-06-14 | 2019-06-14 | A Protection Circuit Considering Both NPN Type and PNP Type Load Output |
Publications (1)
Publication Number | Publication Date |
---|---|
CN209784800U true CN209784800U (en) | 2019-12-13 |
Family
ID=68788855
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201920891526.1U Active CN209784800U (en) | 2019-06-14 | 2019-06-14 | A Protection Circuit Considering Both NPN Type and PNP Type Load Output |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN209784800U (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111682616A (en) * | 2020-06-19 | 2020-09-18 | 无锡睿勤科技有限公司 | Circuit system for preventing charged error contact |
-
2019
- 2019-06-14 CN CN201920891526.1U patent/CN209784800U/en active Active
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111682616A (en) * | 2020-06-19 | 2020-09-18 | 无锡睿勤科技有限公司 | Circuit system for preventing charged error contact |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111864697B (en) | Overcurrent protection circuit and method and system for judging whether power supply is overhauled | |
CN202373957U (en) | Overvoltage and undervoltage protection circuit | |
CN108777573A (en) | A kind of ac solid relay | |
CN206272219U (en) | A kind of overvoltage and reverse-connection protection circuit and its equipment | |
CN206505162U (en) | A relay fault detection circuit | |
CN105226611B (en) | Short circuit/overload protecting circuit of single-phase transformer | |
CN112283875B (en) | Air conditioner, communication circuit of air conditioner internal and external machines and fault detection method of communication circuit | |
CN219204759U (en) | Automatic detection control device for induction lamp | |
CN209784800U (en) | A Protection Circuit Considering Both NPN Type and PNP Type Load Output | |
CN209329672U (en) | A current protection circuit for high voltage system | |
CN202333786U (en) | Drive circuit for suppressing IGBT overcurrent | |
CN205509491U (en) | DC power supply prevents reverse -connection protective circuit | |
CN115459215A (en) | Anti high voltage interface circuit, type-C interface and electronic equipment | |
CN104659902B (en) | The uninterrupted power supply of signal detection alarm system for ship controls device and implementation method | |
CN215646173U (en) | Electric shock prevention circuit, electronic equipment and air conditioner | |
CN207021659U (en) | A kind of DC protection circuit | |
CN103207320B (en) | Capacitance detection circuit | |
CN219643578U (en) | Digital output circuit and servo driver | |
CN202713490U (en) | Short-circuit protective circuit at power supply end of liquid crystal display television control chip and liquid crystal display television | |
CN206727632U (en) | Diagnostic signal short-circuit detecting circuit | |
CN207098584U (en) | Short-circuit protection and voluntarily restoring circuit | |
CN221767622U (en) | A battery charging automatic polarity conversion device | |
CN216560832U (en) | Grounding detection circuit and electric appliance | |
CN222638154U (en) | Power supply protection circuit and power supply module | |
CN218919982U (en) | Direct current power supply input reverse connection prevention, overvoltage protection and overvoltage alarm circuit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant |