Disclosure of Invention
The embodiment of the invention provides a socket circuit with a time delay function, which solves the problems in the background technology.
According to an embodiment of the present invention, there is provided a socket circuit with a delay function, including: the power supply processing module, the power supply control module, the electric shock detection module, the electric shock judgment module, the socket output module, the detection power supply module, the connection detection control module, the mode control module and the delay control module;
the power supply processing module is used for providing commercial power and carrying out voltage reduction protection, rectification filtering and voltage stabilization processing on the commercial power;
The power control module is connected with the power processing module, the connection detection control module and the delay control module and is used for receiving signals output by the connection detection control module and the delay control module, receiving electric energy provided by the power processing module and controlling the transmission state of the electric energy;
the electric shock detection module is connected with the power supply control module and the detection power supply module and is used for transmitting the electric energy output by the power supply control module and the detection power supply module, carrying out electric shock detection on the transmitted electric energy and outputting an electric shock signal;
the electric shock judgment module is connected with the electric shock detection module and used for receiving electric shock signals and judging electric shock and outputting a first control signal when electric shock occurs;
the socket output module is connected with the electric shock detection module and is used for receiving the electric energy transmitted by the electric shock detection module and connecting with electric equipment;
The detection power supply module is connected with the power supply processing module, the connection detection control module and the delay control module, and is used for transmitting the electric energy processed by the power supply processing module to the electric shock detection module and controlling the transmission state of the electric energy by signals output by the connection detection control module and the delay control module;
The connection detection control module is connected with the power supply processing module and the electric shock judging module, and is used for detecting the connection state of the socket output module and the electric equipment, outputting a second control signal when the socket output module is connected with the electric equipment, controlling and detecting the power supply state of the power supply module and the power supply control module through the second control signal, and controlling the output state of the second control signal through the first control signal;
The mode control module is connected with the power supply processing module and is used for receiving the electric energy processed by the power supply processing module and manually controlling the transmission of the electric energy;
The delay control module is connected with the connection detection control module, the mode control module and the electric shock judging module, is used for receiving the electric energy transmitted by the mode control module through the delay control circuit, is used for receiving the second control signal and starting to conduct power-off delay work control, and is used for receiving the first control signal and canceling the delay power-off duration.
Compared with the prior art, the invention has the beneficial effects that: the socket circuit with the time delay function detects the connection state of the socket output module and the electric equipment by matching with the connection detection control module, when the socket output module is connected with the electric equipment, the power supply of the detection power supply module is disconnected, the power supply control module is controlled to normally supply power, the mode control module can control the time delay control module to perform time delay normal power supply work when the socket output module is disconnected with the electric equipment, the intelligence of the socket is improved, the electric shock detection module can respectively detect the electric shock state under the power supply state of the detection power supply module and the power supply control module by matching with the electric shock judgment module, and the power-off protection and the time delay power-off cancellation duration are performed when the electric shock is performed, so that the safety of the socket is improved, and the control means is simple and easy to implement.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
In one embodiment, referring to fig. 1, a socket circuit with a delay function includes: the power supply processing module 1, the power supply control module 2, the electric shock detection module 3, the electric shock judging module 4, the socket output module 5, the detection power supply module 6, the connection detection control module 7, the mode control module 8 and the delay control module 9;
Specifically, the power supply processing module 1 is used for providing commercial power and performing voltage reduction protection, rectification filtering and voltage stabilization processing on the commercial power;
The power control module 2 is connected with the power processing module 1, the connection detection control module 7 and the delay control module 9 and is used for receiving signals output by the connection detection control module 7 and the delay control module 9, receiving electric energy provided by the power processing module 1 and controlling the transmission state of the electric energy;
The electric shock detection module 3 is connected with the power supply control module 2 and the detection power supply module 6, and is used for transmitting the electric energy output by the power supply control module 2 and the detection power supply module 6, carrying out electric shock detection on the transmitted electric energy and outputting an electric shock signal;
the electric shock judging module 4 is connected with the electric shock detecting module 3 and is used for receiving electric shock signals and judging electric shock and outputting a first control signal when electric shock occurs;
the socket output module 5 is connected with the electric shock detection module 3 and is used for receiving the electric energy transmitted by the electric shock detection module 3 and connecting with electric equipment;
The detection power supply module 6 is connected with the power supply processing module 1, the connection detection control module 7 and the delay control module 9, and is used for transmitting the electric energy processed by the power supply processing module 1 to the electric shock detection module 3 and controlling the transmission state of the electric energy by signals output by the connection detection control module 7 and the delay control module 9;
The connection detection control module 7 is connected with the power supply processing module 1 and the electric shock judging module 4, and is used for detecting the connection state of the socket output module 5 and the electric equipment, outputting a second control signal when the socket output module 5 is connected with the electric equipment, controlling and detecting the power supply state of the power supply module 6 and the power supply control module 2 through the second control signal, and controlling the output state of the second control signal through the first control signal;
The mode control module 8 is connected with the power supply processing module 1 and is used for receiving the electric energy processed by the power supply processing module 1 and manually controlling the transmission of the electric energy;
The delay control module 9 is connected with the connection detection control module 7, the mode control module 8 and the electric shock judging module 4, and is used for receiving the electric energy transmitted by the mode control module 8 through a delay control circuit, receiving the second control signal and starting to perform power-off delay work control, and is used for receiving the first control signal and canceling the delay power-off duration.
In a specific embodiment, the power supply processing module 1 may use a power supply processing circuit to provide a commercial power and perform voltage reduction protection, rectification filtering and voltage stabilization processing on the commercial power; the power control module 2 can adopt a power control circuit formed by relay circuits to control the transmission of the commercial voltage provided by the power processing module 1; the electric shock detection module 3 can adopt an electric shock detection circuit formed by a zero sequence current transformer and is used for detecting electric energy transmitted to the socket output module 5; the electric shock judging module 4 can adopt an electric shock judging circuit to judge whether electric shock occurs or not; the socket output module 5 can adopt a socket connection interface to be connected with a power port of electric equipment so as to provide electric energy for the electric equipment; the detection power supply module 6 can adopt a detection power supply circuit formed by relay circuits to provide lower detection voltage for the socket output module 5; the connection detection control module 7 can adopt a connection detection control circuit composed of a photoelectric coupler, a triode and the like to detect the connection state of the socket output module 5 and the electric equipment. And controls and detects the work of the power supply module 6, the power supply control module 2 and the delay control module 9 according to the connection state; the mode control module 8 can adopt a mode control circuit composed of a key switch, a triode and the like, and the work of the time delay control module 9 is controlled by a manual key control mode; the delay control module 9 can adopt a delay control circuit consisting of 555 integrated circuits to carry out delay power-on control.
In another embodiment, referring to fig. 1,2, 3 and 4, the power processing module 1 includes a power supply, a first resistor R1, a first capacitor C1, a first varistor RV1 and a power processing device;
Specifically, a first end of the power supply is connected with one end of the first resistor R1 and is connected with the other end of the first resistor R1, one end of the first piezoresistor RV1 and a first input end of the power supply processing device through the first capacitor C1, and a second end of the power supply is connected with the other end of the first piezoresistor RV1 and a second input end of the power supply processing device.
In a specific embodiment, the power supply processing device may be composed of a rectifier, a filter and a voltage stabilizer, so as to realize rectification filtering and voltage-stabilized power supply.
Further, the power control module 2 includes a first relay switch K1-1; the electric shock detection module 3 comprises a first coil ZCT; the socket output module 5 comprises a socket connection port; the detection power supply module 6 comprises a second relay switch K2-1; the connection detection control module 7 comprises a second resistor R2;
Specifically, the first end and the third end of the first relay switch K1-1 are respectively connected with the first end and the second end of the power supply, the second end of the first relay switch K1-1 and the first end of the second relay switch K2-1 pass through the center of the first coil ZCT and are connected with the first end of the socket connection port, the fourth end of the first relay switch K1-1 is connected with the first end of the second resistor R2 and the third end of the second relay switch K2-1, the second end of the second resistor R2 passes through the center of the first coil ZCT and is connected with the second end of the socket connection port, the second end of the second relay switch K2-1 is connected with the first output end of the power supply processing device, and the fourth end of the second relay switch K2-1 and the second output end of the power supply processing device are grounded.
In a specific embodiment, the first relay switch K1-1 can be a double-pole double-throw normally open switch; the first coil ZCT can be a zero sequence current transformer, and the specific model is not limited; the second relay switch K2-1 can be a double-pole double-throw normally closed switch.
Further, the connection detection control module 7 further includes a first optocoupler U1, a third resistor R3, a fourth resistor R4, a fifth resistor R5, and a first diode D1;
Specifically, a first end of the first optocoupler U1 is connected to the second end of the second resistor R2, a second end of the first optocoupler U1 is grounded, a third end of the first optocoupler U1 is connected to the first output end of the power supply processing device, a fourth end of the first optocoupler U1 is connected to one end of the fourth resistor R4 and the first end of the fifth resistor R5 and is grounded through the third resistor R3, the other end of the fourth resistor R4 is connected to the anode of the first diode D1, a second end of the fifth resistor R5 is connected to the delay control module 9, and a cathode of the first diode D1 is connected to the power supply control module 2 and to the power supply module.
In a specific embodiment, the first optocoupler U1 may be a PC817 optocoupler, and is matched with the second resistor R2 to implement electric energy detection of the socket connector, and if the first optocoupler U1 is turned on, it is indicated that the socket connector is connected with electric equipment.
Further, the power control module 2 further includes a first switching tube VT1 and a first relay K1; the detection power supply module 6 further comprises a second switching tube D2, a second relay K2 and a fourth diode D4;
Specifically, the base electrode of the first switching tube VT1 is connected to the anode of the fourth diode D4 and the cathode of the first diode D1, the cathode of the fourth diode D4 is connected to the base electrode of the second switching tube D2 and the electric shock judging module 4, the emitter electrode of the first switching tube VT1 and the emitter electrode of the second switching tube D2 are grounded, the collector electrode of the first switching tube VT1 and the collector electrode of the second switching tube D2 are respectively connected to one end of the first relay K1 and one end of the second relay K2, and the other end of the first relay K1 and the other end of the second relay K2 are both connected to the first output end of the power supply processing device.
In a specific embodiment, the first switching tube VT1 and the second switching tube D2 may be NPN transistors; the first relay K1 controls the on and off of the first relay switch K1-1; the second relay K2 controls the on and off of the second relay switch K2-1.
Further, the electric shock judging module 4 includes an eighth resistor R8, a ninth resistor R9, a tenth resistor R10, a second capacitor C2, a first detecting device U4 and a sixth switching tube VT6;
Specifically, the first input end of the first detection device U4 is connected to one end of the second capacitor C2 and is connected to one end of the eighth resistor R8 and the first output end of the first coil ZCT through the ninth resistor R9, the second input end of the first detection device U4 is connected to the other end of the second capacitor C2 and is connected to the other end of the eighth resistor R8 and the second output end of the first coil ZCT through the tenth resistor R10, the power supply end of the first detection device U4 is connected to the first output end of the power supply processing device, the ground end of the first detection device U4 and the emitter of the sixth switching tube VT6 are both grounded, the output end of the first detection device U4 is connected to the base of the sixth switching tube VT6, the cathode of the fourth diode D4 and the delay control module 9, and the collector of the sixth switching tube VT6 is connected to the cathode of the first diode D1.
In a specific embodiment, the first detecting device U4 may be a VG54123 chip, and is matched with the eighth resistor R8, the ninth resistor R9, the tenth resistor R10, and the second capacitor C2 to perform electric shock judgment, and output a high level signal when an electric shock occurs; the sixth switching tube VT6 may be an NPN type triode, and is controlled to connect with the level state of the signal output by the detection control module 7.
Further, the mode control module 8 includes an eleventh resistor R11, a first key switch S1, a seventh switch tube VT7, a third capacitor C3, a twelfth resistor R12, a thirteenth resistor R13, a fifth switch tube VT5, a fourteenth resistor R14, and a first indicator light LED1;
Specifically, the collector of the fifth switch tube VT5 is connected to the first output end of the power processing apparatus and is connected to one end of a thirteenth resistor R13, one end of an eleventh resistor R11 and the collector of a seventh switch tube VT7 through a twelfth resistor R12, the other end of the thirteenth resistor R13 is connected to the base of the fifth switch tube VT5, the base of the seventh switch tube VT7 is connected to the cathode of the first indicator lamp LED1 and one end of the first key switch S1, the other end of the eleventh resistor R11 is connected to the other end of the first key switch S1 and is grounded through a third capacitor C3, the emitter of the seventh switch tube VT7 is grounded, and the anode of the first indicator lamp LED1 is connected to the emitter of the fifth switch tube VT5 and the delay control module 9 through a fourteenth resistor R14.
In a specific embodiment, the seventh switching tube VT7 and the fifth switching tube VT5 may be NPN type transistors, and cooperate with an eleventh resistor R11, a first key switch S1, a third capacitor C3, a twelfth resistor R12, and a thirteenth resistor R13 to control the working state of the delay control module 9; the fourteenth resistor R14 and the first indicator lamp LED1 perform operation display.
Further, the delay control module 9 includes a sixth resistor R6, a third switching tube VT3, a seventh resistor R7, a fourth switching tube VT4, a fourth capacitor C4, a first potentiometer RP1, a first timer U3, a third diode D3, and a second diode D2;
Specifically, one end of the sixth resistor R6 is connected to one end of the seventh resistor R7, an anode of the third diode D3, one end of the first potentiometer RP1, an emitter of the fifth switching tube VT5, a fourth end and an eighth end of the first timer U3, the other end of the seventh switching tube VT7 is connected to a collector of the fourth switching tube VT4, both the other end and a sliding vane end of the first potentiometer RP1 are connected to an emitter of the fourth switching tube VT4, a seventh end and a sixth end of the first timer U3 are grounded through a fourth capacitor C4, a base of the fourth switching tube VT4 is connected to an output end of the first detection device U4, a first end of the first timer U3 is grounded, a third end and a fifth end of the first timer U3 are respectively connected to an anode of the second diode D2 and a cathode of the third diode D3, a cathode of the second diode D2 is connected to a cathode of the first diode D1, the other end of the sixth resistor R6 is connected to an emitter of the third timer U3 and a collector of the third switching tube VT 3.
In a specific embodiment, the first timer U3 may be an NE555 chip, and is matched with surrounding components to perform delay control; the sixth resistor R6 and the third switching tube VT3 are configured to trigger the first timer U3 to start a delay operation, where the third switching tube VT3 may be an NPN transistor; the fourth switching tube VT4 and the seventh resistor R7 are used to cancel the set delay time, where the fourth switching tube VT4 may be an NPN triode; the first potentiometer RP1 can adjust the delay time.
In the socket circuit with the time delay function, the mains supply is provided by the power supply, the first resistor R1 and the first capacitor C1 are used for reducing voltage, the first piezoresistor RV1 is used for overvoltage protection, the power supply processing device is used for rectifying filtering and stabilizing voltage regulation, when the socket does not work, the first relay switch K1-1 is disconnected, the second relay switch K2-1 is conducted, at the moment, the socket connection interface only has low voltage, the electric shock injury caused by the electric shock is small, the first detection device U4 controls the second switch tube D2 to be conducted through the fourth diode D4, so that the second relay K2 controls the second relay switch K2-1 to be disconnected, if the socket connection interface is connected with electric equipment, at the moment, the first optocoupler U1 is conducted, and then the first switch tube VT1, the second switch tube D2 and the third switch tube VT3 are conducted, the first relay K1 controls the first relay switch K1-1 to be closed, the second relay K2 controls the second relay switch K2-1 to be opened, normal operation is performed at the moment, if the first relay switch K1-1 is required to be opened in a delayed mode after the socket connection interface is disconnected with the electric equipment, the first key switch S1 is required to be pressed down to enable the fifth switch tube VT5 to be conducted, the first timer U3 starts to delay to control the first relay K1 to work, if the socket connection interface is connected with the electric equipment or the socket connection interface is just disconnected with the electric equipment, electric shock occurs, the first detection device U4 directly controls the sixth switch tube VT6 to be conducted, then the first relay K1 is stopped to be controlled, the second relay K2 is controlled to be operated, the first relay switch K1-1 and the second relay switch K2-1 are opened, and meanwhile the delay timing operation of the first timer U3 is canceled, and performing power-off protection.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential characteristics thereof. The present embodiments are, therefore, to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned.
Furthermore, it should be understood that although the present disclosure describes embodiments, not every embodiment is provided with a separate embodiment, and that this description is provided for clarity only, and that the disclosure is not limited to the embodiments described in detail below, and that the embodiments described in the examples may be combined as appropriate to form other embodiments that will be apparent to those skilled in the art.