Switching circuit and socket
By setting up detection and control modules in the switch circuit of the smart socket, self-recovery in the event of circuit adhesion failure is achieved, which solves potential safety hazards caused by circuit adhesion in the smart socket and ensures normal use of the equipment and user safety.
Patent Information
- Application Number
- CN202320553512.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-16
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2033-03-16
AI Technical Summary
The switch circuit of smart sockets is prone to circuit adhesion after working for a long time, causing users to be unable to control the switch circuit normally, which poses a major safety hazard. Existing technology cannot effectively solve this problem.
Design a switch circuit, including a first switch module, a second switch module, a detection module and a control module. When the detection module detects an adhesion fault of the first switch module, it outputs the detection result to the control module. The control module processes the detection result and switch signal to generate a second switch signal, which is used to control the second switch module to turn on or off, thereby realizing self-recovery of the switch circuit.
Through the self-recovery function, the safety hazard problem of the switch circuit due to circuit adhesion is solved, ensuring the normal operation of the circuit and user safety under fault conditions.
Smart Images

Figure CN221631858U
Abstract
Description
Technical Field
[0001] The present application relates to the field of relays, and in particular to a switch circuit and a socket. Background Art
[0002] With the development of Internet of Things technology, smart sockets have been widely used. They not only protect electrical appliances but also count power consumption. They are connected to handheld devices through Wifi, Bluetooth, etc., and can be controlled through APP clients, voice recognition, etc. There is a switch circuit inside the smart socket. Long-term operation will reduce reliability, such as key switch failure and circuit adhesion. Among them, circuit adhesion occurs more frequently when the smart socket is connected to a large load device. When circuit adhesion occurs, the user cannot control the switch circuit normally, nor can the user obtain the status of the switch circuit. The user is likely to think that the switch circuit has been disconnected, so there is a greater safety hazard during use.
[0003] At present, no effective solution has been proposed for the problem that the switch circuit in the related art has a potential safety hazard due to circuit adhesion. Utility Model Content
[0004] The embodiments of the present application provide a switch circuit and a socket to at least solve the problem of potential safety hazards in the switch circuit due to circuit adhesion in the related art.
[0005] In a first aspect, an embodiment of the present application provides a switching circuit, including: a first switch module, a second switch module, a detection module and a control module, wherein the first switch module is connected to the detection module, and the control module is respectively connected to the first switch module, the second switch module and the detection module; wherein, when the detection module detects that a adhesion failure occurs in the first switch module, the detection module outputs the detection result to the control module, the control module processes the detection result and the first switch signal to generate a second switch signal, and inputs the second switch signal to the second switch module to control it to open or close, wherein the first switch signal is used to control the first switch module to open or close.
[0006] In some embodiments, the first switch module includes: a first relay and a first switch unit, the first relay is connected to the first switch unit, the first relay is connected to the detection module, and the first switch unit is connected to the control module.
[0007] In some embodiments, the first relay includes: multi-way contacts, a first armature and a first coil, the movable end of the first armature is connected to the first contact or the second contact, the fixed end of the first armature is connected to the third contact and the fourth contact, the third contact is connected to the detection module, the first coil is connected to the first switch unit, and the first switch unit is used to control the current flowing through the first coil.
[0008] In some embodiments, the first switch unit includes: a triode or a MOS tube.
[0009] In some embodiments, the second switch module includes: a second relay and a second switch unit, the second relay is connected to the second switch unit, and the second switch unit is connected to the control module.
[0010] In some embodiments, the second relay includes: a multi-way contact, a second armature and a second coil, the movable end of the second armature is connected to the first contact or the second contact, the fixed end of the second armature is connected to the third contact and the fourth contact, the second coil is connected to the second switch unit, and the second switch unit is used to control the current flowing through the second coil.
[0011] In some embodiments, the second switch unit includes: a triode or a MOS tube.
[0012] In some embodiments, the detection module includes: a photoelectric coupler, the photoelectric coupler includes four ports, the first port is connected to the first switch module and / or the second switch module, the second port and the third port are grounded, the fourth port is connected to the control module, and the detection result is output from the fourth port.
[0013] In some embodiments, the control module includes: a control unit and a logic gate, the logic gate includes two input ends and one output end, wherein the first input end is connected to the detection module, the second input end is connected to the first switch module, the output end is connected to the second switch module, and the control unit is connected to the first switch module.
[0014] In a second aspect, an embodiment of the present application provides a socket, comprising: a socket body, the socket body being provided with a socket, the socket further comprising the switch circuit described in the first aspect above, the switch circuit being arranged in the socket body.
[0015] Compared with the related art, the switch circuit and socket provided in the embodiment of the present application are provided with a first switch module, a second switch module, a detection module and a control module, wherein the first switch module is connected to the detection module, and the control module is respectively connected to the first switch module, the second switch module and the detection module; wherein, when the detection module detects that a adhesion failure occurs in the first switch module, the detection module outputs the detection result to the control module, the control module processes the detection result and the first switch signal, generates a second switch signal, and inputs the second switch signal to the second switch module to control it to open or close, wherein the first switch signal is used to control the first switch module to open or close, thereby solving the problem of safety hazards in the switch circuit due to circuit adhesion in the related art, and achieving the effect that the switch circuit can recover by itself when a adhesion failure occurs.
[0016] Details of one or more embodiments of the present application are set forth in the following drawings and description to make other features, objects, and advantages of the present application more readily apparent. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0018] Figure 1 This is a schematic diagram of the structure of the switch circuit in one embodiment of the present application. Figure 1 ;
[0019] Figure 2 This is a schematic diagram of the structure of the switch circuit in one embodiment of the present application. Figure 2 ;
[0020] Figure 3 is a structural schematic diagram of a first switch module in an embodiment of the present application;
[0021] Figure 4 is a structural schematic diagram of a second switch module in an embodiment of the present application;
[0022] Figure 5 is a schematic diagram of the structure of a detection module in one embodiment of the present application;
[0023] Figure 6 is a structural diagram of a control module in one embodiment of the present application;
[0024] Figure 7 This is a schematic diagram of the structure of the switch circuit in one embodiment of the present application. Figure 5 .
[0025] : Figure numerals: 100, first switch module; 200, second switch module; 300, detection module; 400, control module; 101, first relay; 102, first switch unit; 201, second relay; 202, second switch unit; X1, first armature; S1, first coil; Q1, first transistor; D1, first diode; R1, first resistor; R2, second resistor; X2, second armature; S2, second coil; Q2, second transistor; D2, second diode; R3, third resistor; R4, fourth resistor; U1, photocoupler; D3, third diode; C1, first capacitor; R5, fifth resistor; R6, sixth resistor; U2, logic gate; R7, seventh resistor. DETAILED DESCRIPTION
[0026] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application is described and illustrated below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. Based on the embodiments provided in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application. In addition, it can also be understood that although the efforts made in this development process may be complex and lengthy, for ordinary technicians in the field related to the contents disclosed in the present application, some changes such as design, manufacturing or production based on the technical contents disclosed in the present application are only conventional technical means, and should not be understood as insufficient contents disclosed in the present application.
[0027] Reference to "embodiments" in this application means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those of ordinary skill in the art that the embodiments described in this application may be combined with other embodiments without conflict.
[0028] Unless otherwise defined, the technical terms or scientific terms involved in this application should be understood by people with ordinary skills in the technical field to which this application belongs. The words "one", "a", "a", "the" and the like involved in this application do not indicate a quantitative limitation, and may represent the singular or plural. The terms "include", "comprise", "have" and any of their variations involved in this application are intended to cover non-exclusive inclusions; for example, a process, method, system, product or device that includes a series of steps or modules (units) is not limited to the listed steps or units, but may also include steps or units that are not listed, or may also include other steps or units inherent to these processes, methods, products or devices. The words "connect", "connected", "coupled" and the like involved in this application are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The "multiple" involved in this application refers to greater than or equal to two. "And / or" describes the association relationship of associated objects, indicating that there can be three relationships, for example, "A and / or B" can represent: A exists alone, A and B exist at the same time, and B exists alone. The terms "first", "second", "third" and the like involved in the present application are merely used to distinguish similar objects and do not represent a specific ordering of the objects.
[0029] In one embodiment, reference Figure 1 , a structural schematic diagram of a switch circuit is provided. The switch circuit includes: a first switch module 100, a second switch module 200, a detection module 300 and a control module 400; the first switch module 100 is connected to the detection module 300, and the control module 400 is respectively connected to the first switch module 100, the second switch module 200 and the detection module 300; wherein, when the detection module 300 detects that the first switch module 100 has an adhesion failure, the detection module 300 outputs the detection result to the control module 400, and the control module 400 processes the detection result and the first switch signal to generate a second switch signal, and inputs the second switch signal to the second switch module 200 to control the second switch module 200 to open or close, wherein the first switch signal is used to control the first switch module 100 to open or close.
[0030] In this embodiment, the first switch module 100 and the second switch module 200 are both controlled by the control module 400 to perform a switch action. For example, when the input switch signal is at a low level, the switch module is turned on, and when the input switch signal is at a high level, the switch module is turned off. The first switch module 100 serves as the main switch module, and the second switch module 200 serves as the backup switch module. Under normal circumstances, the first switch module 100 provides a switch function. When a sticking fault occurs in the first switch module 100, on the one hand, the detection module 300 will detect the situation and respond to output a detection result, which is reflected as a high level signal or a low level signal. On the other hand, the control module 400 generates a first switch signal in response to the instruction input by the user. The control module 400 performs a logical operation based on the detection result and the high and low levels of the first switch signal, and then assigns a high level or a low level to the second switch signal. When the second switch module 200 receives the second switch signal, it performs an opening or closing action. This arrangement enables the switch circuit to have a self-recovery function, thereby solving the problem that the switch circuit has a safety hazard due to circuit adhesion.
[0031] In one embodiment, reference Figure 2 , provides another schematic diagram of the switch circuit structure. Figure 1 Based on the above, the internal structures of the first switch module 100 and the second switch module 200 are given. Figure 2 As shown, the first switch module 100 includes: a first relay 101 and a first switch unit 102, the first relay 101 is connected to the first switch unit 102, the first relay 101 is connected to the detection module 300, and the first switch unit 102 is connected to the control module 400. The first switch unit 102 receives the switch signal output by the control module 400 to control the working state of the first relay 101. The first switch unit 102 includes a triode or a MOS tube. The second switch module 200 includes: a second relay 201 and a second switch unit 202, the second relay 201 is connected to the second switch unit 202, and the second switch unit 202 is connected to the control module 400. The second switch unit 202 receives the switch signal output by the control module 400 to control the working state of the second relay 201. The second switch unit 202 includes a triode or a MOS tube.
[0032] In one embodiment, reference Figure 3 , provides a detailed structural diagram of the first switch module. Figure 3As shown, in the first switch module 100, JK1 is a first relay 101, including: multi-way contacts (1, 2, 3, 4), a first armature X1 and a first coil S1, the movable end of the first armature X1 is connected to the first contact 1 or the second contact 2 of JK1, the fixed end of the first armature X1 is connected to the third contact 3 and the fourth contact 4 of JK1, the third contact 3 is connected to the detection module 300, the first coil S1 is connected to the first switch unit 102, and the first switch unit 102 is used to control the current flowing through the first coil S1. The first switch unit 102 includes a first transistor Q1, and the first switch unit 102 also includes a first diode D1, a first resistor R1, and a second resistor R2. Among them, the fifth contact 5 and the sixth contact 6 of JK1 are respectively two input ends of the first coil S1, the fifth contact 5 is connected to a 5V power supply, and the sixth contact 6 is connected to the collector c of the first transistor Q1. A first diode D1 is also connected in parallel at both ends of the first coil S1, the cathode of the first diode D1 is connected to the 5V power supply, and the anode of the first diode D1 is connected to the sixth contact 6. Both ends of the first resistor R1 are connected to the control module and the base b of the first transistor Q1, respectively, and both ends of the second resistor R2 are connected to the base b and emitter e of the first transistor Q1, respectively, and the emitter e of the first transistor Q1 is grounded.
[0033] In one embodiment, reference Figure 4 , provides a detailed structural diagram of the second switch module. Figure 6 As shown, in the second switch module 200, JK2 is a second relay 201, including: multi-way contacts (1, 2, 3, 4), a second armature X2 and a second coil S2, the movable end of the second armature X2 is connected to the first contact 1 or the second contact 2 of JK2, the fixed end of the second armature X2 is connected to the third contact 3 and the fourth contact 4 of JK2, the second coil S2 is connected to the second switch unit 202, and the second switch unit 202 is used to control the current flowing through the second coil S2. The second switch unit 202 includes a second triode Q2, and the second switch unit 202 also includes a second diode D2, a third resistor R3, and a fourth resistor R4. Among them, the fifth contact 5 and the sixth contact 6 of JK2 are respectively two input ends of the second coil S2, the fifth contact 5 is connected to a 5V power supply, and the sixth contact 6 is connected to the collector c of the second triode Q2. A second diode D2 is also connected in parallel at both ends of the second coil S2, the cathode of the second diode D2 is connected to the 5V power supply, and the anode of the second diode D2 is connected to the sixth contact 6 of JK2. Both ends of the third resistor R3 are respectively connected to the control module and the base b of the second triode Q2, and both ends of the fourth resistor R4 are respectively connected to the base b and the emitter e of the second triode Q2, and the emitter e of the second triode Q2 is grounded.
[0034] In one embodiment, reference Figure 5, provides a schematic diagram of the structure of the detection module. Figure 5 As shown, the detection module 300 includes: a photocoupler U1, the photocoupler includes four ports, the first port 1 is connected to the first switch module 100, the second port 2 and the third port 3 are grounded, the fourth port 4 is connected to the control module 400, and the detection result is output from the fourth port 4. Optionally, the first port 1 can also be connected to the second switch module 200, or the first port 1 is connected to the first switch module 100 and the second switch module 200. The detection module also includes a third diode D3, a first capacitor C1, a fifth resistor R5 and a sixth resistor R6. Among them, the positive electrode of the third diode D3 is connected to the connecting line of the first relay 101 and the second relay 201, and the negative electrode of the third diode D3 is connected to the first port 1. The first capacitor C1 is connected in parallel with the third diode D3, one end of the first capacitor C1 is connected to the first port 1, and the other end is grounded. The two ends of the fifth resistor R5 are respectively connected to the first capacitor C1 and the first port 1. The two ends of the sixth resistor R6 are respectively connected to the 5V power supply and the fourth port 4. The photocoupler U1 is internally provided with a light emitting diode and a photodetector. The input electrical signal drives the light emitting diode to emit light of a certain wavelength, which is received by the photodetector to generate a photocurrent.
[0035] In one embodiment, reference Figure 6 , provides a schematic diagram of the control module structure. Figure 6 As shown, the control module 400 includes: a control unit (not shown in the figure) and a logic gate U2, the logic gate U2 includes two input terminals and an output terminal, wherein the first input terminal 1 is connected to the detection module 300, the second input terminal 2 is connected to the first switch module 100, the output terminal 4 is connected to the second switch module 200, and the control unit is connected to the first switch module 100. The control module also includes a seventh resistor R7, one end of the seventh resistor R7 is connected to the output terminal 4, and the other end is grounded. Optionally, the logic gate U2 adopts an NOR gate.
[0036] In one embodiment, reference Figure 7 , provides another schematic diagram of the structure of the switch circuit. Figure 7 As shown, combined with the above Figures 3 to 6In this embodiment, the first switch module 100 is connected to the second switch module 200, specifically, the third contact 3 of the first relay (JK1) is connected to the first contact 1 of the second relay (JK2). When the first relay 101 has a sticking failure, the current passing through the first port 1 and the second port 2 (i.e., the two pins of the light emitting diode) of the photoelectric coupler U1 reaches a preset value, and the third port 3 and the fourth port 4 (i.e., the two pins of the light detector) of the photoelectric coupler U1 will be turned on, so that the output ALARM signal (i.e., the detection result) continues to maintain a low level. When the first relay 101 is turned on, the control unit will pull up the RELAY1 signal (i.e., the first switch signal), and after the ALARM signal and the RELAY1 signal pass through the NOR gate, the RELAY2 signal (i.e., the second switch signal) will be output. At this time, the RELAY2 signal is at a low level, and the second relay 201 will be opened. When the first relay 101 is turned off, the control unit will pull the RELAY1 signal low, and after the ALARM signal and the RELAY1 signal pass through the NOR gate, RELAY2 will flip and pull high, and the second relay 201 will be turned off.
[0037] In one embodiment, a socket is also provided, comprising: a socket body, the socket body is provided with a jack, and the socket further comprises a switch circuit of any of the above embodiments, and the switch circuit is provided in the socket body. When a first switch module 100 in the socket has a sticking failure, on the one hand, the detection module 300 will detect the situation and respond by outputting a detection result, which is reflected as a high level signal or a low level signal. On the other hand, the control module 400 generates a first switch signal in response to an instruction input by a user, and the control module 400 performs a logical operation based on the detection result and the high and low levels of the first switch signal, and then assigns a high level or a low level to the second switch signal. When the second switch module 200 receives the second switch signal, it performs an opening or closing action. Such a setting enables the switch circuit to have a self-recovery function, thereby solving the problem that the switch circuit has a safety hazard due to circuit adhesion.
[0038] In one embodiment, continue to refer to Figure 7, when the first relay (JK1) has a sticking fault, the current passing through the first port 1 and the second port 2 (i.e., the two pins of the light-emitting diode) of the photocoupler U1 reaches a preset value, and the third port 3 and the fourth port 4 (i.e., the two pins of the light detector) of the photocoupler U1 will be turned on, so that the output ALARM signal will continue to maintain a low level. When the user turns on the first relay (JK1), the control unit will pull up the RELAY1 signal, and after the ALARM signal and the RELAY1 signal pass through the NOR gate, the RELAY2 signal will be output. At this time, the RELAY2 signal is at a low level, and the second relay (JK2) will be turned on. When the user turns off the first relay (JK1), the control unit will pull down the RELAY1 signal, and after the ALARM signal and the RELAY1 signal pass through the NOR gate, RELAY2 will flip and pull up, and the second relay (JK2) will be turned off. This setting allows the socket to be effectively disconnected in the case of relay sticking, ensuring safe use and extending the normal use time of the equipment.
[0039] It should be noted that the specific examples in this embodiment can refer to the examples described in the above embodiments and optional implementation modes, and this embodiment will not be described in detail here.
[0040] Those skilled in the art should understand that the technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0041] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A switching circuit, It is characterized in that include: A first switch module, a second switch module, a detection module and a control module, wherein the first switch module is connected to the detection module, and the control module is connected to the first switch module, the second switch module and the detection module respectively; Wherein, when the detection module detects that the first switch module has a sticking fault, the detection module outputs the detection result to the control module, and the control module processes the detection result and the first switch signal to generate a second switch signal, and inputs the second switch signal to the second switch module to control it to be turned on or off, wherein the first switch signal is used to control the first switch module to be turned on or off; Wherein, the control module includes: a control unit and a logic gate, the logic gate includes two input ends and one output end, wherein the first input end is connected to the detection module, the second input end is connected to the first switch module, the output end is connected to the second switch module, and the control unit is connected to the first switch module.
2. The switching circuit according to claim 1, It is characterized in that The first switch module includes: a first relay and a first switch unit, the first relay is connected to the first switch unit, the first relay is connected to the detection module, and the first switch unit is connected to the control module.
3. The switch circuit according to claim 2, It is characterized in that The first relay includes: multi-way contacts, a first armature and a first coil, the movable end of the first armature is connected to the first contact or the second contact, the fixed end of the first armature is connected to the third contact and the fourth contact, the third contact is connected to the detection module, the first coil is connected to the first switch unit, and the first switch unit is used to control the current flowing through the first coil.
4. The switch circuit according to claim 3, It is characterized in that The first switch unit includes: a triode or a MOS tube.
5. The switch circuit according to claim 1, It is characterized in that The second switch module includes: a second relay and a second switch unit, the second relay is connected to the second switch unit, and the second switch unit is connected to the control module.
6. The switch circuit according to claim 5, It is characterized in that The second relay includes: a multi-way contact, a second armature and a second coil, the movable end of the second armature is connected to the first contact or the second contact, the fixed end of the second armature is connected to the third contact and the fourth contact, the second coil is connected to the second switch unit, and the second switch unit is used to control the current flowing through the second coil.
7. The switch circuit according to claim 6, It is characterized in that The second switch unit includes: a triode or a MOS tube.
8. The switch circuit according to claim 1, It is characterized in that The detection module includes: a photoelectric coupler, the photoelectric coupler includes four ports, the first port is connected to the first switch module and / or the second switch module, the second port and the third port are grounded, the fourth port is connected to the control module, and the detection result is output from the fourth port.
9. A socket, It is characterized in that include: A socket body, wherein the socket body is provided with a plug hole, and the socket further comprises a switch circuit as claimed in any one of claims 1 to 8, wherein the switch circuit is arranged in the socket body.
