[go: up one dir, main page]

CN104934800B - The intelligent electric-shock protection socket system recognized based on plug - Google Patents

The intelligent electric-shock protection socket system recognized based on plug Download PDF

Info

Publication number
CN104934800B
CN104934800B CN201510307117.9A CN201510307117A CN104934800B CN 104934800 B CN104934800 B CN 104934800B CN 201510307117 A CN201510307117 A CN 201510307117A CN 104934800 B CN104934800 B CN 104934800B
Authority
CN
China
Prior art keywords
module
port
main controller
plug
resistor
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.)
Expired - Fee Related
Application number
CN201510307117.9A
Other languages
Chinese (zh)
Other versions
CN104934800A (en
Inventor
惠光法
周雄兵
王学庆
褚睿
荚艺超
刘思佟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing University of Science and Technology
Original Assignee
Nanjing University of Science and Technology
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Nanjing University of Science and Technology filed Critical Nanjing University of Science and Technology
Priority to CN201510307117.9A priority Critical patent/CN104934800B/en
Publication of CN104934800A publication Critical patent/CN104934800A/en
Application granted granted Critical
Publication of CN104934800B publication Critical patent/CN104934800B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01RELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
    • H01R13/00Details of coupling devices of the kinds covered by groups H01R12/70 or H01R24/00 - H01R33/00
    • H01R13/66Structural association with built-in electrical component
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01RELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
    • H01R13/00Details of coupling devices of the kinds covered by groups H01R12/70 or H01R24/00 - H01R33/00
    • H01R13/44Means for preventing access to live contacts
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01RELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
    • H01R13/00Details of coupling devices of the kinds covered by groups H01R12/70 or H01R24/00 - H01R33/00
    • H01R13/66Structural association with built-in electrical component
    • H01R13/665Structural association with built-in electrical component with built-in electronic circuit
    • H01R13/6691Structural association with built-in electrical component with built-in electronic circuit with built-in signalling means
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01RELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
    • H01R13/00Details of coupling devices of the kinds covered by groups H01R12/70 or H01R24/00 - H01R33/00
    • H01R13/66Structural association with built-in electrical component
    • H01R13/70Structural association with built-in electrical component with built-in switch
    • H01R13/703Structural association with built-in electrical component with built-in switch operated by engagement or disengagement of coupling parts, e.g. dual-continuity coupling part

Landscapes

  • Engineering & Computer Science (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Details Of Connecting Devices For Male And Female Coupling (AREA)

Abstract

本发明公开了一种基于插头识别的智能防触电插座系统,包括CPU主控制器模块、插头检测模块、电源模块、可控硅开关模块和复位模块;插头检测模块对插头信息进行采集,CPU主控制器模块对插头检测模块采集的信号进行分析和判断后输出驱动信号控制可控硅开关模块,可控硅开关模块控制插座电源的通断,复位模块对CPU主控制器模块运行状态进行复位,电源模块提供直流电源。通过插头检测模块识别是否有插头插入插座,实时把插头检测模块的检测信号传输至CPU主控制器模块,CPU主控制器模块根据插头检测模块采集的信号输出驱动信号控制可控硅开关模块通断,进而形成智能防触电系统。本发明结构简单、成本低廉,提高了插头检测系统的安全性,市场应用前景广阔。

The invention discloses an intelligent anti-shock socket system based on plug identification, which includes a CPU main controller module, a plug detection module, a power supply module, a thyristor switch module and a reset module; the plug detection module collects plug information, and the CPU main The controller module analyzes and judges the signal collected by the plug detection module, and then outputs a driving signal to control the thyristor switch module, which controls the power on and off of the socket, and the reset module resets the operating state of the CPU main controller module. The power module provides DC power. Identify whether there is a plug inserted into the socket through the plug detection module, and transmit the detection signal of the plug detection module to the CPU main controller module in real time, and the CPU main controller module outputs the driving signal according to the signal collected by the plug detection module to control the thyristor switch module on and off , and then form an intelligent anti-shock system. The invention has simple structure and low cost, improves the safety of the plug detection system, and has broad market application prospects.

Description

基于插头识别的智能防触电插座系统Intelligent anti-shock socket system based on plug identification

技术领域technical field

本发明涉及插座安全技术领域,特别是一种基于插头识别的智能防触电插座系统。The invention relates to the technical field of socket safety, in particular to an intelligent anti-shock socket system based on plug identification.

背景技术Background technique

插座是现代生活中不可或缺的用电连接器件。目前,传统的插座大多是将插座内的电极触片与电源线直接连接,在使用时通过电器的插头直接与电极触片接触达到连通电源的目的。这种插座由于电极触片带电,就会使插头在插拔的过程中产生电弧,容易被人手直接或间接碰到,造成触电事故。另外,儿童出于好奇心可能用手或导体对插座进行误插,非常容易造成触电事故。此外,普通的防触电插座仅是在插口处设置了挡板,无法从根源上识别插头来预防触电事故。The socket is an indispensable electrical connection device in modern life. At present, most of the traditional sockets directly connect the electrode contacts in the socket with the power lines, and when in use, the plugs of the electrical appliances directly contact the electrode contacts to achieve the purpose of connecting to the power supply. Because the electrode contacts of this socket are electrified, an arc will be generated during the plugging and unplugging process of the plug, which is easy to be directly or indirectly touched by hands, causing an electric shock accident. In addition, children may misplug the socket with their hands or conductors out of curiosity, which is very likely to cause electric shock accidents. In addition, ordinary electric shock-proof sockets only have a baffle at the socket, and cannot identify the plug from the source to prevent electric shock accidents.

发明内容Contents of the invention

本发明的目的在于提供一种安全、可靠的基于插头识别的智能防触电插座系统,其在接通电源前通过插头检测模块来识别是否有插头插入,仅当有插头插入时,插座才会延时接通电源,以防止发生触电事故,保证人身的安全。The purpose of the present invention is to provide a safe and reliable intelligent anti-shock socket system based on plug identification. Turn on the power supply in time to prevent electric shock accidents and ensure personal safety.

实现本发明目的的技术解决方案为:一种基于插头识别的智能防触电插座系统,包括CPU主控制器模块、插头检测模块、电源模块、可控硅开关模块和复位模块,所述插头检测模块、电源模块、可控硅开关模块和复位模块均与CPU主控制器模块相连;插头检测模块对插头信息进行采集,CPU主控制器模块对插头检测模块采集的信号进行分析和判断后输出驱动信号控制可控硅开关模块,可控硅开关模块控制插座电源的通断,复位模块对CPU主控制器模块运行状态进行复位,电源模块向CPU主控制器模块、插头检测模块、可控硅开关模块和复位模块提供直流电源;The technical solution to realize the object of the present invention is: a kind of intelligent anti-shock socket system based on plug identification, including CPU main controller module, plug detection module, power supply module, silicon controlled rectifier switch module and reset module, described plug detection module , power supply module, thyristor switch module and reset module are all connected with the CPU main controller module; the plug detection module collects the plug information, and the CPU main controller module analyzes and judges the signal collected by the plug detection module and outputs the driving signal Control the thyristor switch module, the thyristor switch module controls the on and off of the socket power supply, the reset module resets the running state of the CPU main controller module, and the power supply module sends information to the CPU main controller module, the plug detection module, and the thyristor switch module and reset module to provide DC power;

通过插头检测模块识别是否有插头插入插座,实时把插头检测模块的检测信号传输至CPU主控制器模块,CPU主控制器模块对插头检测模块采集的信号进行分析和判断后输出驱动信号控制可控硅开关模块通断,可控硅开关模块控制插座电源的通断,进而形成智能防触电系统。Identify whether there is a plug inserted into the socket through the plug detection module, and transmit the detection signal of the plug detection module to the CPU main controller module in real time, and the CPU main controller module analyzes and judges the signal collected by the plug detection module and outputs the controllable driving signal The silicon switch module is on and off, and the thyristor switch module controls the on and off of the socket power supply, thereby forming an intelligent anti-shock system.

本发明与现有技术相比,其显著优点在于:(1)采用高性价比、低功耗的微处理器和超高准确性的插头检测模块,通过插头检测模块来识别插座有无插头插入,从而控制插座电源的通断,实现防触电的目的;(2)既可避免插头在插拔的过程中造成的漏电触电事故,也可避免儿童出于好奇心而用手或导体对插座进行误插造成的触电事故;(3)集低功耗、低成本、智能化控制于一体,可靠性高、稳定性好、抗干扰能力强、体积小、易于安装,无需人为操作,可直接替代传统的插座系统。Compared with the prior art, the present invention has significant advantages in that: (1) it adopts a cost-effective, low-power microprocessor and an ultra-high-accuracy plug detection module to identify whether there is a plug inserted in the socket through the plug detection module, Thereby controlling the on-off of the socket power supply and realizing the purpose of preventing electric shock; (2) It can not only avoid electric leakage and electric shock accidents caused by the plug in the process of plugging and unplugging, but also prevent children from mistaking the socket with hands or conductors out of curiosity. (3) Integrate low power consumption, low cost, and intelligent control into one, with high reliability, good stability, strong anti-interference ability, small size, easy installation, no need for human operation, and can directly replace traditional socket system.

附图说明Description of drawings

图1为本发明基于插头识别的智能防触电插座系统的工作原理框图。Fig. 1 is a block diagram of the working principle of the intelligent anti-shock socket system based on plug identification in the present invention.

图2为本发明基于插头识别的智能防触电插座系统中电源模块的电路图。Fig. 2 is a circuit diagram of a power module in the smart electric shock-proof socket system based on plug identification according to the present invention.

图3为本发明基于插头识别的智能防触电插座系统中光电对射信号检测电路图。Fig. 3 is a circuit diagram of the photoelectric cross-radiation signal detection in the intelligent anti-shock socket system based on plug identification of the present invention.

图4为本发明基于插头识别的智能防触电插座系统中开关按压信号检测电路图。Fig. 4 is a circuit diagram of a switch pressing signal detection circuit in the smart electric shock-proof socket system based on plug identification according to the present invention.

图5为本发明基于插头识别的智能防触电插座系统中应变片力学信号检测电路图。Fig. 5 is a circuit diagram of a strain gauge mechanical signal detection circuit in the smart electric shock-proof socket system based on plug identification according to the present invention.

图6为本发明基于插头识别的智能防触电插座系统中可控硅开关模块的电路图。Fig. 6 is a circuit diagram of a thyristor switch module in the smart electric shock-proof socket system based on plug identification according to the present invention.

图7为本发明基于插头识别的智能防触电插座系统中CPU主控制器模块的电路图。Fig. 7 is a circuit diagram of the CPU main controller module in the smart electric shock-proof socket system based on plug identification of the present invention.

具体实施方式detailed description

下面结合附图和具体实施例对本发明作进一步详细说明。The present invention will be described in further detail below in conjunction with the accompanying drawings and specific embodiments.

结合图1,本发明基于插头识别的智能防触电插座系统,包括CPU主控制器模块、插头检测模块、电源模块、可控硅开关模块和复位模块,所述插头检测模块、电源模块、可控硅开关模块和复位模块均与CPU主控制器模块相连;插头检测模块对插头信息进行采集,CPU主控制器模块对插头检测模块采集的信号进行分析和判断后输出驱动信号控制可控硅开关模块,可控硅开关模块控制插座电源的通断,复位模块对CPU主控制器模块运行状态进行复位,电源模块向CPU主控制器模块、插头检测模块、可控硅开关模块和复位模块提供直流电源;In conjunction with Fig. 1, the intelligent anti-shock socket system based on plug identification of the present invention includes a CPU main controller module, a plug detection module, a power supply module, a thyristor switch module and a reset module, the plug detection module, the power supply module, the controllable Both the silicon switch module and the reset module are connected with the CPU main controller module; the plug detection module collects the plug information, and the CPU main controller module analyzes and judges the signal collected by the plug detection module, and then outputs a driving signal to control the thyristor switch module , the thyristor switch module controls the power on and off of the socket, the reset module resets the operating status of the CPU main controller module, and the power supply module provides DC power to the CPU main controller module, plug detection module, thyristor switch module and reset module ;

通过插头检测模块识别是否有插头插入插座,实时把插头检测模块的检测信号传输至CPU主控制器模块,CPU主控制器模块对插头检测模块采集的信号进行分析和判断后输出驱动信号控制可控硅开关模块通断,可控硅开关模块控制插座电源的通断,进而形成智能防触电系统。Identify whether there is a plug inserted into the socket through the plug detection module, and transmit the detection signal of the plug detection module to the CPU main controller module in real time, and the CPU main controller module analyzes and judges the signal collected by the plug detection module and outputs the controllable driving signal The silicon switch module is on and off, and the thyristor switch module controls the on and off of the socket power supply, thereby forming an intelligent anti-shock system.

结合图2,所述电源模块包括LM7805芯片、第一电容C1、第二电容C2、第三电容C3和第四电容C4,其中第一电容C1的正极分别与输入电压Vin、LM7805芯片的输入端连接,第一电容C1的负极分别与第三电容C3的一端、LM7805芯片的接地端连接,第三电容C3的另一端与输入电压Vin连接;第二电容C2的正极分别与LM7805芯片的输出端、输出电源VCC连接,第二电容C2的负极与LM7805芯片的接地端连接;第四电容C4的一端与LM7805芯片的接地端连接、另一端与LM7805芯片的输出端连接;LM7805芯片的接地端接地GND;所述Vin为变压器降压整流后的输入电压,通过该电源模块将Vin转换为5V的输出电源VCC,输出电源VCC作为CPU主控制器模块、插头检测模块、可控硅开关模块和复位模块的电源。Referring to Fig. 2, the power module includes an LM7805 chip, a first capacitor C1, a second capacitor C2, a third capacitor C3 and a fourth capacitor C4, wherein the anode of the first capacitor C1 is connected to the input voltage Vin and the input terminal of the LM7805 chip respectively. Connection, the negative pole of the first capacitor C1 is respectively connected to one end of the third capacitor C3 and the ground terminal of the LM7805 chip, and the other end of the third capacitor C3 is connected to the input voltage Vin; the positive pole of the second capacitor C2 is respectively connected to the output end of the LM7805 chip , the output power supply VCC connection, the negative pole of the second capacitor C2 is connected to the ground terminal of the LM7805 chip; one end of the fourth capacitor C4 is connected to the ground terminal of the LM7805 chip, and the other end is connected to the output terminal of the LM7805 chip; the ground terminal of the LM7805 chip is grounded GND; the Vin is the input voltage after the step-down and rectification of the transformer, and the Vin is converted into a 5V output power supply VCC through the power supply module, and the output power supply VCC is used as the CPU main controller module, plug detection module, thyristor switch module and reset The power supply of the module.

所述插头检测模块采用三重检测结构,包括光电对射信号检测电路、开关按压信号检测电路和应变片力学信号检测电路,所述插头检测模块包括光电对射信号检测电路、开关按压信号检测电路和应变片力学信号检测电路,所述光电对射信号检测电路、开关按压信号检测电路为数字量检测,所述应变片力学信号检测电路为模拟信号检测;CPU主控制器模块分析和判断该三个检测电路的输出结果,当三个检测电路同时判断有插头插入插座时,CPU主控制器模块输出高电平使可控硅开关模块控制插座电源导通。三个检测都是检测有无插头插入插座,三个检测是“与”的关系,只有当三重检测均检测到信号时,才能判断有插头插入,插座才会延时接通电源,以防止发生触电事故,保证人身的安全,大大增加检测的准确性,防止误操作。The plug detection module adopts a triple detection structure, including a photoelectric signal detection circuit, a switch pressing signal detection circuit and a strain gauge mechanical signal detection circuit. The plug detection module includes a photoelectric signal detection circuit, a switch pressing signal detection circuit and The mechanical signal detection circuit of the strain gauge, the photoelectric signal detection circuit and the switch pressing signal detection circuit are digital quantity detection, and the mechanical signal detection circuit of the strain gauge is an analog signal detection; the CPU main controller module analyzes and judges the three As for the output results of the detection circuits, when the three detection circuits simultaneously judge that a plug is inserted into the socket, the CPU main controller module outputs a high level to make the thyristor switch module control the power supply of the socket to be turned on. The three detections are to detect whether there is a plug inserted into the socket, and the three detections are in the relationship of "and". Only when the signals are detected in the three detections, can it be judged that there is a plug inserted, and the socket will be delayed to turn on the power to prevent the occurrence of Electric shock accidents ensure personal safety, greatly increase the accuracy of detection, and prevent misuse.

如图3所示,所述光电对射信号检测电路包括第一电阻R1、第二电阻R2、第三电阻R3、光电对射管U1、第二比较器芯片U2即LM393,其中第一电阻R1的一端与光电对射管U1的阳极输入端连接、另一端与VCC连接,第二电阻R2的一端与光电对射管U1的阳极输出端连接、另一端与VCC连接,第三电阻R3的一端与VCC连接、另一端接地GND、第三端即调节端与比较器芯片U2的反相输入端连接,第二比较器芯片U2的输出端即为光电对射信号检测电路的V1端口。插头插入插座后,将对光电对射管U1中的光电发射管信号进行遮挡,光电接收管接收不到光电信号则处于关闭状态,第二比较器芯片U2正向输入端为高电平,第二比较器芯片U2的输出端即V1端口输出一个高电平数字信号传输给CPU主控制器模块;在无插头插入插座时,光电对射管U1开通,第二比较器芯片U2正向输入端为低电平,第二比较器芯片U2的输出端即V1端口输出一个低电平数字信号传输给CPU主控制器模块;CPU主控制器模块通过V1端口的高低电平识别来判断插头是否插入插座。As shown in Figure 3, the photoelectric beam signal detection circuit includes a first resistor R1, a second resistor R2, a third resistor R3, a photoelectric tube U1, a second comparator chip U2, namely LM393, wherein the first resistor R1 One end of the second resistor R2 is connected to the anode input end of the photoelectric tube U1, and the other end is connected to VCC. One end of the second resistor R2 is connected to the anode output end of the photoelectric tube U1, and the other end is connected to VCC. One end of the third resistor R3 It is connected to VCC, the other end is grounded to GND, and the third end is the adjustment end is connected to the inverting input end of the comparator chip U2. The output end of the second comparator chip U2 is the V1 port of the photoelectric signal detection circuit. After the plug is inserted into the socket, the signal of the photoelectric transmitting tube in the photoelectric tube U1 will be blocked, and the photoelectric receiving tube will be in a closed state if it cannot receive the photoelectric signal. The positive input terminal of the second comparator chip U2 is at high level, and the second The output terminal of the second comparator chip U2, that is, the V1 port, outputs a high-level digital signal and transmits it to the CPU main controller module; is low level, the output terminal of the second comparator chip U2, that is, the V1 port outputs a low level digital signal and transmits it to the CPU main controller module; the CPU main controller module judges whether the plug is inserted through the high and low level identification of the V1 port socket.

如图4所示,所述开关按压信号检测电路包括第四电阻R4、第五电阻R5、轻触按压自复位开关S1、第三比较器芯片U3即LM393,其中第四电阻R4的一端与第三比较器芯片U3的正相输入端连接、另一端与VCC连接,轻触按压自复位开关S1一端与第三比较器芯片U3的正相输入端连接、另一端接地GND,第五电阻R5一端接地GND、另一端与VCC连接、第三端即调节端与第三比较器芯片U3的反相输入端连接。当插头插入插座时,轻触按压自复位开关S1导通,第三比较器芯片U3即LM393正向输入端为高电平,第三比较器芯片U3的输出端即V2端口输出高电平数字信号传输给CPU主控制器模块;当无插头插入插座时,轻触按压自复位开关S1关断,第三比较器芯片U3正向输入端为低电平,第三比较器芯片U3的输出端即V2端口输出低电平数字信传输给CPU主控制器模块,CPU主控制器模块通过V2端口的高低电平识别来判断插头是否插入插座。As shown in Figure 4, the switch press signal detection circuit includes a fourth resistor R4, a fifth resistor R5, a light touch press self-resetting switch S1, a third comparator chip U3, namely LM393, wherein one end of the fourth resistor R4 is connected to the first The non-inverting input terminal of the three comparator chip U3 is connected, the other end is connected to VCC, one end of the self-resetting switch S1 is connected to the non-inverting input end of the third comparator chip U3, the other end is grounded to GND, and the fifth resistor R5 is connected to one end The ground is GND, the other end is connected to VCC, and the third end, namely the adjustment end, is connected to the inverting input end of the third comparator chip U3. When the plug is inserted into the socket, lightly press the self-resetting switch S1 to turn on, the positive input terminal of the third comparator chip U3, that is, LM393, is at high level, and the output terminal of the third comparator chip U3, that is, V2 port, outputs a high level digital The signal is transmitted to the CPU main controller module; when no plug is inserted into the socket, lightly touch and press the self-resetting switch S1 to turn off, the positive input terminal of the third comparator chip U3 is at low level, and the output terminal of the third comparator chip U3 That is, the V2 port outputs a low-level digital signal and transmits it to the CPU main controller module, and the CPU main controller module judges whether the plug is inserted into the socket by identifying the high and low levels of the V2 port.

如图5所示,所述应变片力学信号检测电路包括第一应变贴片Y1、第二应变贴片Y2、第六电阻R6、第七电阻R7、运算放大器U4,其中第一应变贴片Y1一端与运算放大器U4的反相输入端连接、另一端与VCC连接,第二应变贴片Y2一端与运算放大器U4的反相输入端连接、另一端接地GND,第六电阻R6一端与运算放大器U4的正相输入端连接、另一端与VCC连接,第七电阻R7一端与运算放大器U4的正相输入端连接、另一端接地GND。将第一应变贴片Y1和第二应变贴片Y2贴在插座簧片上,当有插头插入插座时,插座簧片变形,第一应变贴片Y1和第二应变贴片Y2中的金属箔材随着应变伸长或缩短,进而电阻值发生变化,通过惠斯通电桥将变化的电阻值转化为变化的电压值,通过运算放大器U4将该电压放大并从运算放大器U4的输出端即V3端口输出至CPU主控制器模块,CPU主控制器模块通过V3端口的电压数值来判断是否有插头插入插座。As shown in Figure 5, the strain gauge mechanical signal detection circuit includes a first strain gauge Y1, a second strain gauge Y2, a sixth resistor R6, a seventh resistor R7, and an operational amplifier U4, wherein the first strain gauge Y1 One end is connected to the inverting input end of the operational amplifier U4, and the other end is connected to VCC. One end of the second strain patch Y2 is connected to the inverting input end of the operational amplifier U4, and the other end is grounded to GND. One end of the sixth resistor R6 is connected to the operational amplifier U4 The non-inverting input end of the seventh resistor R7 is connected to the non-inverting input end of the operational amplifier U4, and the other end is connected to VCC. One end of the seventh resistor R7 is connected to the non-inverting input end of the operational amplifier U4, and the other end is grounded to GND. Stick the first strain patch Y1 and the second strain patch Y2 on the reed of the socket. When a plug is inserted into the socket, the socket reed deforms, and the metal foil in the first strain patch Y1 and the second strain patch Y2 As the strain elongates or shortens, the resistance value changes, and the changed resistance value is converted into a changed voltage value through the Wheatstone bridge, and the voltage is amplified by the operational amplifier U4 and output from the output terminal of the operational amplifier U4, that is, the V3 port Output to the CPU main controller module, and the CPU main controller module judges whether there is a plug inserted into the socket by the voltage value of the V3 port.

如图6所示,所述可控硅开关模块采用BTA20-600B双三端双向可控硅交流开关以及三极管SS8050驱动电路,实现对火线(AC+)的控制。所述可控硅开关模块包括第八电阻R8、第九电阻R9、第十电阻R10、第一发光二极管D1、第一三极管SS8050、第一双向可控硅BTA20-600B,其中第八电阻R8一端与第一发光二极管D1阳极连接、另一端与VCC连接,第九电阻R9一端与第一三极管SS8050的基极连接、另一端为V4端口,第十电阻R10一端与第一双向可控硅BTA20-600B的发射极连接、另一端接地GND,第一发光二极管D1的阴极与第一三极管SS8050的集电极连接,第一双向可控硅BTA20-600B的第一阳极与交流电源火线输入端AC+连接、第二阳极与交流电源火线输出端AC-Load连接、控制极与第一三极管SS8050的发射极相连。第一发光二极管D1为交流电源开关指示灯,第一三极管SS8050为驱动三极管,V4端口与CPU主控制器模块相连,当V4端口输出为低电平时,驱动第一三极管SS8050截止,第一双向可控硅BTA20-600B的控制极为低电平,第一双向可控硅BTA20-600B关断,插座断电;当V4端口输出为高电平时,驱动第一三极管SS8050导通,第一双向可控硅BTA20-600B的控制极为高电平,第一双向可控硅BTA20-600B导通,插座带电。As shown in FIG. 6 , the thyristor switch module adopts a BTA20-600B double triac AC switch and a triode SS8050 drive circuit to realize the control of the live wire (AC+). The thyristor switch module includes an eighth resistor R8, a ninth resistor R9, a tenth resistor R10, a first light-emitting diode D1, a first triode SS8050, and a first triac BTA20-600B, wherein the eighth resistor One end of R8 is connected to the anode of the first light-emitting diode D1, the other end is connected to VCC, one end of the ninth resistor R9 is connected to the base of the first triode SS8050, and the other end is V4 port, one end of the tenth resistor R10 is connected to the first bidirectional The emitter of the thyristor BTA20-600B is connected, the other end is grounded to GND, the cathode of the first light-emitting diode D1 is connected to the collector of the first triode SS8050, the first anode of the first bidirectional thyristor BTA20-600B is connected to the AC power supply The live wire input terminal AC+ is connected, the second anode is connected to the AC power supply live wire output terminal AC-Load, and the control electrode is connected to the emitter of the first triode SS8050. The first light-emitting diode D1 is the AC power switch indicator light, the first triode SS8050 is the driving triode, the V4 port is connected to the CPU main controller module, when the output of the V4 port is low level, the driving first triode SS8050 is cut off, The control of the first bidirectional thyristor BTA20-600B is extremely low level, the first bidirectional thyristor BTA20-600B is turned off, and the socket is powered off; when the output of the V4 port is high level, the first triode SS8050 is driven to conduct , the first bidirectional thyristor BTA20-600B is controlled at an extremely high level, the first bidirectional thyristor BTA20-600B is turned on, and the socket is charged.

如图7所示,所述CPU主控制器模块包括主控制器芯片ATMEGA328P-AU、第十一电阻R11、第十二电阻R12、第五电容C5、第六电容C6、第七电容C7、第八电容C8、第二发光二极管D2、第一晶振XTAL和第一下载端口J1,其中第十一电阻R11的一端与主控制器芯片ATMEGA328P-AU的PC6端口连接、另一端与VCC连接,第十二电阻R12的一端与主控制器芯片ATMEGA328P-AU的PB4端口连接、另一端与第二发光二极管D2的阳极连接,第五电容C5的一端与主控制器芯片ATMEGA328P-AU的PC6端口连接、另一端与第一下载端口J1的5号引脚DTR连接,第六电容C6的一端与主控制器芯片ATMEGA328P-AU的AREF端口连接、另一端接地GND,第七电容C7的一端与主控制器芯片ATMEGA328P-AU的PB6端口连接、另一端接地GND,第八电容C8的一端与主控制器芯片ATMEGA328P-AU的PB7端口连接、另一端接地GND,第一下载端口J1的1号引脚接地GND、2号引脚接VCC、3号引脚RXD与主控制器芯片ATMEGA328P-AU的PD0端口连接、4号引脚TXD与主控制器芯片ATMEGA328P-AU的PD1端口连接、5号引脚DTR通过第五电容C5和主控制器芯片ATMEGA328P-AU的PC6端口连接;主控制器芯片ATMEGA328P-AU的PB0端口与可控硅开关模块的V4端口连接,主控制器芯片ATMEGA328P-AU的PB1端口、PB2端口、PB3端口分别与插头检测模块的V3端口、V2端口、V1端口相连。所述复位模块包括第一复位开关RESET,第一复位开关RESET的一端与主控制器芯片ATMEGA328P-AU的PC6端口连接、另一端接地GND,采用按键低电压复位。As shown in Figure 7, the CPU main controller module includes a main controller chip ATMEGA328P-AU, an eleventh resistor R11, a twelfth resistor R12, a fifth capacitor C5, a sixth capacitor C6, a seventh capacitor C7, a Eight capacitance C8, the second light-emitting diode D2, the first crystal oscillator XTAL and the first download port J1, wherein one end of the eleventh resistor R11 is connected to the PC6 port of the main controller chip ATMEGA328P-AU, the other end is connected to VCC, and the tenth One end of the second resistor R12 is connected to the PB4 port of the main controller chip ATMEGA328P-AU, the other end is connected to the anode of the second light emitting diode D2, one end of the fifth capacitor C5 is connected to the PC6 port of the main controller chip ATMEGA328P-AU, and the other end is connected to the PC6 port of the main controller chip ATMEGA328P-AU. One end is connected to the No. 5 pin DTR of the first download port J1, one end of the sixth capacitor C6 is connected to the AREF port of the main controller chip ATMEGA328P-AU, the other end is grounded to GND, one end of the seventh capacitor C7 is connected to the main controller chip The PB6 port of ATMEGA328P-AU is connected, and the other end is grounded to GND. One end of the eighth capacitor C8 is connected to the PB7 port of the main controller chip ATMEGA328P-AU, and the other end is grounded to GND. The No. 1 pin of the first download port J1 is grounded to GND, Pin 2 is connected to VCC, pin 3 RXD is connected to the PD0 port of the main controller chip ATMEGA328P-AU, pin 4 TXD is connected to the PD1 port of the main controller chip ATMEGA328P-AU, pin 5 DTR is connected to the The five-capacitor C5 is connected to the PC6 port of the main controller chip ATMEGA328P-AU; the PB0 port of the main controller chip ATMEGA328P-AU is connected to the V4 port of the thyristor switch module, and the PB1 port and PB2 port of the main controller chip ATMEGA328P-AU and the PB3 port are respectively connected to the V3 port, the V2 port and the V1 port of the plug detection module. The reset module includes a first reset switch RESET, one end of the first reset switch RESET is connected to the PC6 port of the main controller chip ATMEGA328P-AU, the other end is grounded to GND, and the button is reset by low voltage.

主控制器芯片ATMEGA328P-AU为本发明系统的CPU,第二发光二极管D2为CPU工作指示灯,第一复位开关RESET为手动低电平复位模块,第一晶振XTAL的工作频率为16MHz。The main controller chip ATMEGA328P-AU is the CPU of the system of the present invention, the second LED D2 is the CPU work indicator, the first reset switch RESET is a manual low-level reset module, and the operating frequency of the first crystal oscillator XTAL is 16MHz.

作为优选,所述CPU控制器采用单片机ATMEGA328P-AU的主控制器,本发明的ATMEGA328P-AU主控制器是Atmel公司AVR系列的RISC微控制器,其在指令和数据吞吐能力方面比传统的CISC结构要快很多倍。时钟频率最高可达20MHz,具有很丰富的片内模拟和数字外设,高性能,低功耗,超高性价比,可满足多种传感单元信号处理的需要。As preferably, described CPU controller adopts the main controller of single-chip ATMEGA328P-AU, and ATMEGA328P-AU main controller of the present invention is the RISC micro-controller of Atmel Company AVR series, and it compares traditional CISC aspect instruction and data throughput capacity Structs are many times faster. The clock frequency can reach up to 20MHz, with rich on-chip analog and digital peripherals, high performance, low power consumption, and high cost performance, which can meet the needs of signal processing of various sensing units.

作为优选,所述插头检测模块采用三重检测结构,其中包括光电对射信号检测、开关按压信号检测和应变片力学信号检测,其中光电对射信号和开关按压信号检测属于数字量检测,应变片力学信号检测属于模拟量检测,通过对插头检测数字量和模拟量这两种信号的三重检测,从而保证了检测结果的准确性。Preferably, the plug detection module adopts a triple detection structure, which includes photoelectric beam signal detection, switch press signal detection and strain gauge mechanical signal detection, wherein the photoelectric beam signal and switch press signal detection belong to digital quantity detection, and the strain gauge mechanical signal detection The signal detection belongs to the analog quantity detection, and the accuracy of the detection result is guaranteed through the triple detection of the two signals of the digital quantity and the analog quantity of the plug.

作为优选,所述电源模块的芯片采用7805芯片,其内部电路具有过压保护、过流保护、过热保护功能,从而使其性能很稳定,并能够实现1A以上的输出电流。Preferably, the chip of the power supply module is a 7805 chip, and its internal circuit has functions of overvoltage protection, overcurrent protection, and overheat protection, so that its performance is very stable, and an output current of more than 1A can be realized.

作为优选,所述可控硅开关控制部分采用Philips公司的BTA20-600B双三端双向可控硅交流开关以及三极管SS8050驱动电路。Preferably, the thyristor switch control part adopts Philips' BTA20-600B dual triac AC switch and triode SS8050 drive circuit.

综上所述,本发明采用插头检测模块来对插头是否插入插座进行判断并将检测数据传输至CPU,CPU进行多重分析后来控制插座交流电源的通断,实现智能防触电的目的,保证使用过程中人身的安全。本设计降低了硬件的复杂度和成本,提高了插头检测系统的准确性,模块化设计,维护方便,市场应用前景广阔。To sum up, the present invention uses the plug detection module to judge whether the plug is inserted into the socket and transmits the detection data to the CPU. The CPU performs multiple analyzes and then controls the switching of the AC power supply of the socket to achieve the purpose of intelligent anti-shock and ensure the use process. personal safety. This design reduces the complexity and cost of the hardware, improves the accuracy of the plug detection system, has a modular design, is easy to maintain, and has broad market application prospects.

Claims (8)

1.一种基于插头识别的智能防触电插座系统,其特征在于,包括CPU主控制器模块、插头检测模块、电源模块、可控硅开关模块和复位模块,所述插头检测模块、电源模块、可控硅开关模块和复位模块均与CPU主控制器模块相连;插头检测模块对插头信息进行采集,复位模块对CPU主控制器模块运行状态进行复位,电源模块向CPU主控制器模块、插头检测模块、可控硅开关模块和复位模块提供直流电源;1. An intelligent anti-shock socket system based on plug identification, is characterized in that, comprises CPU master controller module, plug detection module, power supply module, thyristor switch module and reset module, described plug detection module, power supply module, Both the thyristor switch module and the reset module are connected with the CPU main controller module; the plug detection module collects the plug information, the reset module resets the operating status of the CPU main controller module, and the power supply module sends the CPU main controller module and plug detection Module, thyristor switch module and reset module provide DC power; 通过插头检测模块识别是否有插头插入插座,实时把插头检测模块的检测信号传输至CPU主控制器模块,CPU主控制器模块对插头检测模块采集的信号进行分析和判断后输出驱动信号控制可控硅开关模块通断,可控硅开关模块控制插座电源的通断,进而形成智能防触电系统;Identify whether there is a plug inserted into the socket through the plug detection module, and transmit the detection signal of the plug detection module to the CPU main controller module in real time, and the CPU main controller module analyzes and judges the signal collected by the plug detection module and outputs the controllable driving signal The silicon switch module is on and off, and the thyristor switch module controls the on and off of the socket power supply, thereby forming an intelligent anti-shock system; 上述电源模块包括LM7805芯片、第一电容C1、第二电容C2、第三电容C3和第四电容C4,其中第一电容C1的正极分别与输入电压Vin、LM7805芯片的输入端连接,第一电容C1的负极分别与第三电容C3的一端、LM7805芯片的接地端连接,第三电容C3的另一端与输入电压Vin连接;第二电容C2的正极分别与LM7805芯片的输出端、输出电源VCC连接,第二电容C2的负极与LM7805芯片的接地端连接;第四电容C4的一端与LM7805芯片的接地端连接、另一端与LM7805芯片的输出端连接;LM7805芯片的接地端接地GND;所述Vin为变压器降压整流后的输入电压,通过该电源模块将Vin转换为5V的输出电源VCC,输出电源VCC作为CPU主控制器模块、插头检测模块、可控硅开关模块和复位模块的电源。The above power module includes LM7805 chip, first capacitor C1, second capacitor C2, third capacitor C3 and fourth capacitor C4, wherein the anode of the first capacitor C1 is respectively connected to the input voltage Vin and the input terminal of the LM7805 chip, and the first capacitor The negative pole of C1 is respectively connected to one end of the third capacitor C3 and the ground terminal of the LM7805 chip, and the other end of the third capacitor C3 is connected to the input voltage Vin; the positive pole of the second capacitor C2 is respectively connected to the output end of the LM7805 chip and the output power supply VCC , the negative pole of the second capacitor C2 is connected to the ground terminal of the LM7805 chip; one end of the fourth capacitor C4 is connected to the ground terminal of the LM7805 chip, and the other end is connected to the output terminal of the LM7805 chip; the ground terminal of the LM7805 chip is grounded to GND; the Vin It is the input voltage after step-down and rectification of the transformer, through which Vin is converted to 5V output power VCC, and the output power VCC is used as the power supply of CPU main controller module, plug detection module, thyristor switch module and reset module. 2.根据权利要求1所述的基于插头识别的智能防触电插座系统,其特征在于,所述插头检测模块包括光电对射信号检测电路、开关按压信号检测电路和应变片力学信号检测电路,所述光电对射信号检测电路、开关按压信号检测电路为数字量检测,所述应变片力学信号检测电路为模拟信号检测;CPU主控制器模块分析和判断该三个检测电路的输出结果,当三个检测电路同时判断有插头插入插座时,CPU主控制器模块输出高电平使可控硅开关模块控制插座电源导通。2. The intelligent anti-shock socket system based on plug identification according to claim 1, wherein the plug detection module includes a photoelectric signal detection circuit, a switch pressing signal detection circuit and a strain gauge mechanical signal detection circuit, the The photoelectric signal detection circuit and the switch pressing signal detection circuit are digital quantity detection, and the strain gauge mechanical signal detection circuit is analog signal detection; the CPU main controller module analyzes and judges the output results of the three detection circuits, when the three When the two detection circuits judge that a plug is inserted into the socket at the same time, the CPU main controller module outputs a high level to make the thyristor switch module control the power supply of the socket to be turned on. 3.根据权利要求1所述的基于插头识别的智能防触电插座系统,其特征在于,所述可控硅开关模块包括第八电阻R8、第九电阻R9、第十电阻R10、第一发光二极管D1、第一三极管SS8050、第一双向可控硅BTA20-600B,其中第八电阻R8一端与第一发光二极管D1阳极连接、另一端与VCC连接,第九电阻R9一端与第一三极管SS8050的基极连接、另一端为V4端口,第十电阻R10一端与第一双向可控硅BTA20-600B的发射极连接、另一端接地GND,第一发光二极管D1的阴极与第一三极管SS8050的集电极连接,第一双向可控硅BTA20-600B的第一阳极与交流电源火线输入端AC+连接、第二阳极与交流电源火线输出端AC-Load连接、控制极与第一三极管SS8050的发射极相连;3. The intelligent anti-shock socket system based on plug identification according to claim 1, wherein the thyristor switch module includes an eighth resistor R8, a ninth resistor R9, a tenth resistor R10, a first light-emitting diode D1, the first triode SS8050, the first bidirectional thyristor BTA20-600B, wherein one end of the eighth resistor R8 is connected to the anode of the first light-emitting diode D1, and the other end is connected to VCC, and one end of the ninth resistor R9 is connected to the first triode The base of the tube SS8050 is connected, the other end is the V4 port, one end of the tenth resistor R10 is connected to the emitter of the first triac BTA20-600B, the other end is grounded to GND, the cathode of the first light-emitting diode D1 is connected to the first triode The collector of the tube SS8050 is connected, the first anode of the first bidirectional thyristor BTA20-600B is connected to the input terminal AC+ of the live wire of the AC power supply, the second anode is connected to the output terminal of the live wire of the AC power supply AC-Load, and the control pole is connected to the first triode The emitter of the tube SS8050 is connected; 第一发光二极管D1为交流电源开关指示灯,第一三极管SS8050为驱动三极管,V4端口与CPU主控制器模块相连,当V4端口输出为低电平时,驱动第一三极管SS8050截止,第一双向可控硅BTA20-600B的控制极为低电平,第一双向可控硅BTA20-600B关断,插座断电;当V4端口输出为高电平时,驱动第一三极管SS8050导通,第一双向可控硅BTA20-600B的控制极为高电平,第一双向可控硅BTA20-600B导通,插座带电。The first light-emitting diode D1 is the AC power switch indicator light, the first triode SS8050 is the driving triode, the V4 port is connected to the CPU main controller module, when the output of the V4 port is low level, the driving first triode SS8050 is cut off, The control of the first bidirectional thyristor BTA20-600B is extremely low level, the first bidirectional thyristor BTA20-600B is turned off, and the socket is powered off; when the output of the V4 port is high level, the first triode SS8050 is driven to conduct , the first bidirectional thyristor BTA20-600B is controlled at an extremely high level, the first bidirectional thyristor BTA20-600B is turned on, and the socket is charged. 4.根据权利要求1所述的智能防触电插座系统,其特征在于,所述CPU主控制器模块包括主控制器芯片ATMEGA328P-AU、第十一电阻R11、第十二电阻R12、第五电容C5、第六电容C6、第七电容C7、第八电容C8、第二发光二极管D2、第一晶振XTAL和第一下载端口J1,其中第十一电阻R11的一端与主控制器芯片ATMEGA328P-AU的PC6端口连接、另一端与VCC连接,第十二电阻R12的一端与主控制器芯片ATMEGA328P-AU的PB4端口连接、另一端与第二发光二极管D2的阳极连接,第五电容C5的一端与主控制器芯片ATMEGA328P-AU的PC6端口连接、另一端与第一下载端口J1的5号引脚DTR连接,第六电容C6的一端与主控制器芯片ATMEGA328P-AU的AREF端口连接、另一端接地GND,第七电容C7的一端与主控制器芯片ATMEGA328P-AU的PB6端口连接、另一端接地GND,第八电容C8的一端与主控制器芯片ATMEGA328P-AU的PB7端口连接、另一端接地GND,第一下载端口J1的1号引脚接地GND、2号引脚接VCC、3号引脚RXD与主控制器芯片ATMEGA328P-AU的PD0端口连接、4号引脚TXD与主控制器芯片ATMEGA328P-AU的PD1端口连接、5号引脚DTR通过第五电容C5和主控制器芯片ATMEGA328P-AU的PC6端口连接;主控制器芯片ATMEGA328P-AU的PB0端口与可控硅开关模块的V4端口连接,主控制器芯片ATMEGA328P-AU的PB1端口、PB2端口、PB3端口分别与插头检测模块的V3端口、V2端口、V1端口相连。4. The intelligent anti-shock socket system according to claim 1, wherein the CPU main controller module includes a main controller chip ATMEGA328P-AU, an eleventh resistor R11, a twelfth resistor R12, and a fifth capacitor C5, the sixth capacitor C6, the seventh capacitor C7, the eighth capacitor C8, the second light-emitting diode D2, the first crystal oscillator XTAL and the first download port J1, wherein one end of the eleventh resistor R11 is connected to the main controller chip ATMEGA328P-AU The PC6 port of the twelfth resistor R12 is connected to the PC6 port, the other end is connected to VCC, one end of the twelfth resistor R12 is connected to the PB4 port of the main controller chip ATMEGA328P-AU, the other end is connected to the anode of the second light-emitting diode D2, and one end of the fifth capacitor C5 is connected to the The PC6 port of the main controller chip ATMEGA328P-AU is connected, the other end is connected to the No. 5 pin DTR of the first download port J1, one end of the sixth capacitor C6 is connected to the AREF port of the main controller chip ATMEGA328P-AU, and the other end is grounded GND, one end of the seventh capacitor C7 is connected to the PB6 port of the main controller chip ATMEGA328P-AU, and the other end is grounded to GND, one end of the eighth capacitor C8 is connected to the PB7 port of the main controller chip ATMEGA328P-AU, and the other end is grounded to GND. Pin 1 of the first download port J1 is grounded to GND, pin 2 is connected to VCC, pin 3 is connected to the PD0 port of the main controller chip ATMEGA328P-AU, pin 4 is connected to the main controller chip ATMEGA328P-AU The PD1 port of AU is connected, and the 5th pin DTR is connected to the PC6 port of the main controller chip ATMEGA328P-AU through the fifth capacitor C5; the PB0 port of the main controller chip ATMEGA328P-AU is connected to the V4 port of the thyristor switch module, The PB1 port, PB2 port, and PB3 port of the main controller chip ATMEGA328P-AU are respectively connected with the V3 port, V2 port, and V1 port of the plug detection module. 5.根据权利要求1所述的智能防触电插座系统,其特征在于,所述复位模块包括第一复位开关RESET,第一复位开关RESET的一端与主控制器芯片ATMEGA328P-AU的PC6端口连接、另一端接地GND,采用按键低电压复位。5. The intelligent anti-shock socket system according to claim 1, wherein the reset module includes a first reset switch RESET, and one end of the first reset switch RESET is connected to the PC6 port of the main controller chip ATMEGA328P-AU, The other end is grounded to GND, and the button is reset by low voltage. 6.根据权利要求2所述的智能防触电插座系统,其特征在于,所述光电对射信号检测电路包括第一电阻R1、第二电阻R2、第三电阻R3、光电对射管U1、第二比较器芯片U2即LM393,其中第一电阻R1的一端与光电对射管U1的阳极输入端连接、另一端与VCC连接,第二电阻R2的一端与光电对射管U1的阳极输出端连接、另一端与VCC连接,第三电阻R3的一端与VCC连接、另一端接地GND、第三端即调节端与比较器芯片U2的反相输入端连接,第二比较器芯片U2的输出端即为光电对射信号检测电路的V1端口;6. The intelligent anti-shock socket system according to claim 2, characterized in that, the photoelectric signal detection circuit includes a first resistor R1, a second resistor R2, a third resistor R3, a photoelectric tube U1, a second Two comparator chip U2 is LM393, in which one end of the first resistor R1 is connected to the anode input terminal of the photoelectric tube U1, the other end is connected to VCC, and one end of the second resistor R2 is connected to the anode output terminal of the photoelectric tube U1 , the other end is connected to VCC, one end of the third resistor R3 is connected to VCC, the other end is grounded to GND, the third end is the adjustment end is connected to the inverting input end of the comparator chip U2, and the output end of the second comparator chip U2 is It is the V1 port of the photoelectric cross-radiation signal detection circuit; 插头插入插座后,将对光电对射管U1中的光电发射管信号进行遮挡,光电接收管接收不到光电信号则处于关闭状态,第二比较器芯片U2正向输入端为高电平,第二比较器芯片U2的输出端即V1端口输出一个高电平数字信号传输给CPU主控制器模块;在无插头插入插座时,光电对射管U1开通,第二比较器芯片U2正向输入端为低电平,第二比较器芯片U2的输出端即V1端口输出一个低电平数字信号传输给CPU主控制器模块;CPU主控制器模块通过V1端口的高低电平识别来判断插头是否插入插座。After the plug is inserted into the socket, the signal of the photoelectric transmitting tube in the photoelectric tube U1 will be blocked, and the photoelectric receiving tube will be in a closed state if it cannot receive the photoelectric signal. The positive input terminal of the second comparator chip U2 is at high level, and the second The output terminal of the second comparator chip U2, that is, the V1 port, outputs a high-level digital signal and transmits it to the CPU main controller module; is low level, the output terminal of the second comparator chip U2, that is, the V1 port outputs a low level digital signal and transmits it to the CPU main controller module; the CPU main controller module judges whether the plug is inserted through the high and low level identification of the V1 port socket. 7.根据权利要求2所述的智能防触电插座系统,其特征在于,所述开关按压信号检测电路包括第四电阻R4、第五电阻R5、轻触按压自复位开关S1、第三比较器芯片U3即LM393,其中第四电阻R4的一端与第三比较器芯片U3的正相输入端连接、另一端与VCC连接,轻触按压自复位开关S1一端与第三比较器芯片U3的正相输入端连接、另一端接地GND,第五电阻R5一端接地GND、另一端与VCC连接、第三端即调节端与第三比较器芯片U3的反相输入端连接;7. The intelligent anti-shock socket system according to claim 2, characterized in that, the switch pressing signal detection circuit includes a fourth resistor R4, a fifth resistor R5, a light touch press self-resetting switch S1, and a third comparator chip U3 is LM393, where one end of the fourth resistor R4 is connected to the positive phase input terminal of the third comparator chip U3, and the other end is connected to VCC, and one end of the self-resetting switch S1 is lightly pressed to connect to the positive phase input terminal of the third comparator chip U3 one end of the fifth resistor R5 is connected to GND, the other end is connected to VCC, and the third end, namely the adjustment end, is connected to the inverting input end of the third comparator chip U3; 当插头插入插座时,轻触按压自复位开关S1导通,第三比较器芯片U3即LM393正向输入端为高电平,第三比较器芯片U3的输出端即V2端口输出高电平数字信号传输给CPU主控制器模块;当无插头插入插座时,轻触按压自复位开关S1关断,第三比较器芯片U3正向输入端为低电平,第三比较器芯片U3的输出端即V2端口输出低电平数字信传输给CPU主控制器模块,CPU主控制器模块通过V2端口的高低电平识别来判断插头是否插入插座。When the plug is inserted into the socket, lightly press the self-resetting switch S1 to turn on, the positive input terminal of the third comparator chip U3, that is, LM393, is at high level, and the output terminal of the third comparator chip U3, that is, V2 port, outputs a high level digital The signal is transmitted to the CPU main controller module; when no plug is inserted into the socket, lightly touch and press the self-resetting switch S1 to turn off, the positive input terminal of the third comparator chip U3 is at low level, and the output terminal of the third comparator chip U3 That is, the V2 port outputs a low-level digital signal and transmits it to the CPU main controller module, and the CPU main controller module judges whether the plug is inserted into the socket by identifying the high and low levels of the V2 port. 8.根据权利要求2所述的智能防触电插座系统,其特征在于,所述应变片力学信号检测电路包括第一应变贴片Y1、第二应变贴片Y2、第六电阻R6、第七电阻R7、运算放大器U4,其中第一应变贴片Y1一端与运算放大器U4的反相输入端连接、另一端与VCC连接,第二应变贴片Y2一端与运算放大器U4的反相输入端连接、另一端接地GND,第六电阻R6一端与运算放大器U4的正相输入端连接、另一端与VCC连接,第七电阻R7一端与运算放大器U4的正相输入端连接、另一端接地GND;8. The intelligent anti-shock socket system according to claim 2, wherein the strain gauge mechanical signal detection circuit includes a first strain gauge Y1, a second strain gauge Y2, a sixth resistor R6, a seventh resistor R7, operational amplifier U4, wherein one end of the first strain patch Y1 is connected to the inverting input terminal of the operational amplifier U4, the other end is connected to VCC, one end of the second strain patch Y2 is connected to the inverting input terminal of the operational amplifier U4, and the other end is connected to the inverting input terminal of the operational amplifier U4. One end is grounded to GND, one end of the sixth resistor R6 is connected to the non-inverting input terminal of the operational amplifier U4, and the other end is connected to VCC, one end of the seventh resistor R7 is connected to the non-inverting input terminal of the operational amplifier U4, and the other end is grounded to GND; 将第一应变贴片Y1和第二应变贴片Y2贴在插座簧片上,当有插头插入插座时,插座簧片变形,第一应变贴片Y1和第二应变贴片Y2中的金属箔材随着应变伸长或缩短,进而电阻值发生变化,通过惠斯通电桥将变化的电阻值转化为变化的电压值,通过运算放大器U4将该电压放大并从运算放大器U4的输出端即V3端口输出至CPU主控制器模块,CPU主控制器模块通过V3端口的电压数值来判断是否有插头插入插座。Stick the first strain patch Y1 and the second strain patch Y2 on the reed of the socket. When a plug is inserted into the socket, the socket reed deforms, and the metal foil in the first strain patch Y1 and the second strain patch Y2 As the strain elongates or shortens, the resistance value changes, and the changed resistance value is converted into a changed voltage value through the Wheatstone bridge, and the voltage is amplified by the operational amplifier U4 and output from the output terminal of the operational amplifier U4, that is, the V3 port Output to the CPU main controller module, and the CPU main controller module judges whether there is a plug inserted into the socket by the voltage value of the V3 port.
CN201510307117.9A 2015-06-05 2015-06-05 The intelligent electric-shock protection socket system recognized based on plug Expired - Fee Related CN104934800B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510307117.9A CN104934800B (en) 2015-06-05 2015-06-05 The intelligent electric-shock protection socket system recognized based on plug

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510307117.9A CN104934800B (en) 2015-06-05 2015-06-05 The intelligent electric-shock protection socket system recognized based on plug

Publications (2)

Publication Number Publication Date
CN104934800A CN104934800A (en) 2015-09-23
CN104934800B true CN104934800B (en) 2017-09-15

Family

ID=54121840

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510307117.9A Expired - Fee Related CN104934800B (en) 2015-06-05 2015-06-05 The intelligent electric-shock protection socket system recognized based on plug

Country Status (1)

Country Link
CN (1) CN104934800B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108258537B (en) * 2016-12-28 2024-03-29 南京森盛医疗设备有限公司 Automatic discernment medical instrument connecting plug's recognition device
CN107453161A (en) * 2017-08-31 2017-12-08 陈大祥 A kind of anti-electric shock socket
CN107453162A (en) * 2017-08-31 2017-12-08 陈大祥 A kind of safety socket
CN109713495A (en) * 2018-12-27 2019-05-03 上海与德通讯技术有限公司 Control method, device, intelligent socket, terminal and the storage medium of intelligent socket
CN111624524A (en) * 2019-02-27 2020-09-04 郑州宇通客车股份有限公司 Plug-pull test method and plug-pull test device
CN110224256A (en) * 2019-07-16 2019-09-10 刘硕 A kind of safe power supply method and its connector structure
CN113359590B (en) * 2020-03-03 2022-08-09 兰剑智能科技股份有限公司 Integrated motion controller and shuttle control system
CN113030500A (en) * 2021-02-23 2021-06-25 广东星创众谱仪器有限公司 Handheld colloidal gold card reader and detection method thereof

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8175533B2 (en) * 2008-11-25 2012-05-08 Schneider Electric USA, Inc. Wireless transceiver within an electrical receptacle system
CN202094400U (en) * 2011-06-17 2011-12-28 林松 Safety socket of electric shock prevention
CN202940392U (en) * 2012-09-19 2013-05-15 华南理工大学 RFID based intelligent power socket and plug

Also Published As

Publication number Publication date
CN104934800A (en) 2015-09-23

Similar Documents

Publication Publication Date Title
CN104934800B (en) The intelligent electric-shock protection socket system recognized based on plug
CN201383668Y (en) Overcurrent protection circuit and motor controller applying same
TW201119172A (en) Capacitor energy discharging circuit for reducing power loss and power supply circuit using the same
CN103885354A (en) Wireless switching circuit
CN103066559A (en) Power outage protector
CN208209919U (en) Human body infrared incudes electricity-getting switch
CN101938071B (en) Energy-saving socket for printer and operating method thereof
CN202474833U (en) Output short-circuit protective circuit for battery charger
CN204012006U (en) A kind of USB interface smart jack with pressurizer
CN201536195U (en) Energy-saving socket for home appliances in standby state
CN108075318A (en) Electric-shock-protective power outlet
CN207691778U (en) A kind of skin care device
CN203243019U (en) Power-off protector
CN204993293U (en) Low -power consumption plug -in card switch
CN211478445U (en) Simple input power failure detection circuit
CN107968643A (en) A kind of DC load singly-bound touch control on-off circuit
CN110224615B (en) Intelligent silicon controlled voltage conversion circuit
CN202373812U (en) Energy-saving and consumption-reducing power socket
CN210578272U (en) Intelligent silicon controlled voltage conversion circuit
CN207573687U (en) Signal detection control circuit
CN204290469U (en) High-power duplicate supply switches and protective device
CN104917284B (en) An intelligent voltage converter socket and its voltage conversion method
CN205883193U (en) A multifunctional sensor switch
CN205375105U (en) An electric power singlechip key switch circuit
CN205540054U (en) Power -off control ware is driven in low -power consumption

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170915

Termination date: 20190605