Control circuit and electronic equipment

By combining the main control module, relay module, and current maintenance module into a circuit design, the problem of relay loss of control when the main control program fails in smart switches/sockets is solved, achieving stable control of the load circuit and improving the reliability and safety of the equipment.

CN223712043UActive Publication Date: 2025-12-23BEIJING XSMART CENTURY TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202423237954.2
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-12-26
Publication Date
2025-12-23
Estimated Expiration
2034-12-26

AI Technical Summary

Technical Problem

When the main control program of a smart switch/socket fails or is abnormally reset and restarted, the control module enters a high-impedance state, causing the relay to lose control and resulting in abnormal disconnection/closure of the load circuit, affecting the normal operation of the equipment.

Method used

The circuit design employs a combination of a main control module, a relay module, and a current sustaining module. The current sustaining module provides sustaining current to ensure that the relay module remains in the on or off state even under high resistance conditions.

Benefits of technology

It effectively solves the problem of relay malfunction in smart devices under high impedance of the main control module, ensuring stable operation of the load circuit, avoiding abnormal power outages, and improving user experience and safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN223712043U_ABST
    Figure CN223712043U_ABST
Patent Text Reader

Abstract

The embodiment of the utility model provides a control circuit and electronic equipment. The control circuit comprises a main control module, a relay module and a current maintaining module, the input end of the relay module is respectively connected with the current maintaining module and the main control module; the main control module is used for controlling the on or off state of the relay module according to an instruction; and the current maintaining module is used for providing maintaining current for the relay module and maintaining the relay module in the current state. According to the control circuit provided by the embodiment of the invention, the maintaining current is introduced through the current maintaining module, the state of the relay module is maintained by using the maintaining current, and no matter whether the main control module enters a high-resistance state or not, the relay module can be maintained in an on state or an off state by providing the maintaining current. The structure is simple, the occupied space is small, and the problem that the relay module is not controlled due to the fact that the main control module enters the high-resistance state in the related technology is effectively solved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present disclosure relates to the field of smart home, and in particular, to a control circuit and an electronic device. BACKGROUND

[0002] The smart switch / socket is a switch for controlling the circuit through the internal relay or transistor. Generally, the relay is used to control the on-off of the load circuit. The relay has large load power and small heat. However, there is a common problem that when the main control program of the smart switch / socket is invalid, abnormally resets and restarts, or restarts after OTA upgrade, the control module will enter a high resistance state, thereby causing the smart switch / socket to be uncontrolled for a period of time, and the relay cannot be effectively attracted or disconnected. Therefore, the relay may be temporarily abnormally disconnected / closed once. This may cause the device controlled by the smart switch / socket to be abnormally powered off, resulting in a poor user experience or even danger. CONTENT OF THE UTILITY MODEL

[0003] The present disclosure provides a control circuit and an electronic device to solve the problem of relay state out of control.

[0004] Based on the above problem, in a first aspect, the present disclosure provides a control circuit, comprising: a main control module, a relay module and a current maintenance module;

[0005] The input end of the relay module is connected with the current maintenance module and the main control module respectively;

[0006] The main control module is configured to control the on or off state of the relay module according to the instruction;

[0007] The current maintenance module is configured to provide a maintenance current for the relay module, and maintain the state of the relay module.

[0008] In combination with the first aspect, in a possible implementation manner, the relay module comprises a relay, a first resistor, a transistor and a first diode;

[0009] The relay ground end is connected with the transistor collector and the first diode anode respectively; and the relay power supply end is connected with the power supply and the first diode cathode respectively;

[0010] The transistor base is connected with the main control module; and the transistor emitter is grounded;

[0011] The transistor emitter and the transistor base are connected through the first resistor.

[0012] In combination with the first aspect, in a possible implementation manner, the current of the relay is controlled by the input current of the transistor base.

[0013] In a possible implementation of the first aspect, the current maintaining module comprises a second resistor.

[0014] One end of the second resistor is connected to the power supply, and the other end is connected to the input end of the relay module.

[0015] In a possible implementation of the first aspect, one end of the output end of the master control module is connected to one end of a third resistor, and the other end of the third resistor is connected to the input end of the relay module.

[0016] In a possible implementation of the first aspect, the state of the master control module comprises a high level.

[0017] In the case that the output of the master control module is at a high level, the output end of the master control module outputs a first current, the first current and the maintaining current are superimposed and input to the input end of the relay module, so that the input current of the relay module exceeds a first relay state change threshold, and the state of the relay module changes.

[0018] In a possible implementation of the first aspect, the state of the master control module comprises a low level.

[0019] In the case that the output of the master control module is at a low level, the output end of the master control module is grounded, and the maintaining current is input to the ground wire, so that the input current of the relay module is lower than a second relay state change threshold, and the state of the relay module changes.

[0020] In a possible implementation of the first aspect, the state of the master control module comprises a high resistance state.

[0021] In the case that the master control module is in a high resistance state, the master control module is disconnected, and the maintaining current is input to the input end of the relay module, so that the input current of the relay module is maintained between the first relay state change threshold and the second relay state change threshold, and the state of the relay module remains unchanged.

[0022] In a possible implementation of the first aspect, the circuit further comprises a power supply module and a communication module.

[0023] The power supply module is configured to supply power to the relay module, the current maintaining module, and the master control module.

[0024] The communication module is configured to receive the instruction.

[0025] The second aspect of the embodiments of the present disclosure provides an electronic device, which comprises the circuit according to the first aspect or any possible implementation of the first aspect.

[0026] The beneficial effects of the embodiments of the present disclosure include:

[0027] The control circuit and the electronic device provided by the embodiments of the present disclosure include a master control module, a relay module and a current maintaining module; the input ends of the relay module are connected with the current maintaining module and the master control module respectively; the master control module is configured to control the on or off state of the relay module according to an instruction; and the current maintaining module is configured to provide a maintaining current for the relay module and maintain the state of the relay module. The control circuit provided by the embodiments of the present disclosure introduces a maintaining current through the current maintaining module, and uses the maintaining current to maintain the state of the relay module, that is, in the case that the current state of the relay module is the on state, whether the master control module enters the high resistance state or not, the relay module can be maintained in the on state by providing the maintaining current; in the case that the current state of the relay module is the off state, whether the master control module enters the high resistance state or not, the relay module can be maintained in the off state. The structure is simple, the occupied space is small, and the problem that the relay module is not controlled due to the entry of the master control module into the high resistance state in the related art is effectively solved. BRIEF DESCRIPTION OF DRAWINGS

[0028] Figure 1 A structural schematic diagram of the control circuit provided by the embodiments of the present disclosure is shown in FIG. 1.

[0029] Figure 2 A structural diagram of the relay module provided by the embodiments of the present disclosure is shown in FIG. 2.

[0030] Figure 3 A structural diagram of the current maintaining module provided by the embodiments of the present disclosure is shown in FIG. 3.

[0031] Figure 4 A connection relationship schematic diagram of the master control module and the relay module provided by the embodiments of the present disclosure is shown in FIG. 4.

[0032] Figure 5 A structural schematic diagram of the electronic device provided by the embodiments of the present disclosure is shown in FIG. 5. DETAILED DESCRIPTION

[0033] The control circuit and the electronic device provided by the embodiments of the present disclosure include a master control module, a relay module and a current maintaining module; the input ends of the relay module are connected with the current maintaining module and the master control module respectively; the master control module is configured to control the on or off state of the relay module according to an instruction; and the current maintaining module is configured to provide a maintaining current for the relay module and maintain the state of the relay module. The control circuit provided by the embodiments of the present disclosure introduces a maintaining current through the current maintaining module, and uses the maintaining current to maintain the state of the relay module, that is, in the case that the current state of the relay module is the on state, whether the master control module enters the high resistance state or not, the relay module can be maintained in the on state by providing the maintaining current; in the case that the current state of the relay module is the off state, whether the master control module enters the high resistance state or not, the relay module can be maintained in the off state. The structure is simple, the occupied space is small, and the problem that the relay module is not controlled due to the entry of the master control module into the high resistance state in the related art is effectively solved.

[0034] The control circuit and the electronic device provided by the embodiments of the present disclosure include a master control module, a relay module and a current maintaining module; the input ends of the relay module are connected with the current maintaining module and the master control module respectively; the master control module is configured to control the on or off state of the relay module according to an instruction; and the current maintaining module is configured to provide a maintaining current for the relay module and maintain the state of the relay module. The control circuit provided by the embodiments of the present disclosure introduces a maintaining current through the current maintaining module, and uses the maintaining current to maintain the state of the relay module, that is, in the case that the current state of the relay module is the on state, whether the master control module enters the high resistance state or not, the relay module can be maintained in the on state by providing the maintaining current; in the case that the current state of the relay module is the off state, whether the master control module enters the high resistance state or not, the relay module can be maintained in the off state. The structure is simple, the occupied space is small, and the problem that the relay module is not controlled due to the entry of the master control module into the high resistance state in the related art is effectively solved. Figure 1

[0035] ​The input end of the relay module 2 is connected with the current maintaining module 3 and the master control module 1 respectively.

[0036] The master control module 1 is used for controlling the on or off state of the relay module 2 according to the control instruction.

[0037] The current maintaining module 3 is used for providing the maintaining current for the relay module 2, and maintaining the relay module 2 in the current state.

[0038] In the embodiment of the present disclosure, the control circuit can be applied to intelligent control devices such as intelligent switches and intelligent sockets, and the on-off of the load circuit can be controlled by using the circuit.

[0039] In the embodiment of the present disclosure, the master control module 1 is arranged in the control circuit, and the master control module 1 can send a control signal to the relay module 2 according to a control instruction. The control signal can include a current signal, and the relay module 2 can change its state according to the input current signal. The control instruction can be issued by a user, for example, the user can send a control instruction to the master control module 1 to turn on or off the load, and the master control module 1 can control the on-off of the relay module 2 in response to the control instruction, thereby controlling the state of the load.

[0040] The relay module 2 can include two states, an on state and an off state. In the on state, the load circuit controlled by the control circuit is turned on and can work normally; in the off state, the load circuit controlled by the control circuit is turned off. When the signal input to the relay module 2 meets the preset threshold condition, the relay module 2 will change state.

[0041] The current maintaining module 3 can provide a maintaining current to maintain the relay module 2 in the current state. That is, in the case that the current state of the relay module 2 is the on state, whether the master control module 1 enters the high resistance state or not, the relay module 2 can be maintained in the on state by providing the maintaining current; in the case that the current state of the relay module 2 is the off state, whether the master control module 1 enters the high resistance state or not, the maintaining circuit is insufficient to change the relay module 2 from the off state to the on state, that is, the relay module 2 can be maintained in the off state.

[0042] By using the control circuit, the problem that the load circuit is out of control when the master control program of the intelligent device (for example, intelligent switch / socket) is invalid, abnormally reset and restarted, or restarted after OTA (Over-the-Air Technology) upgrade can be solved.

[0043] In another embodiment of the present disclosure, as shown in Figure 2 The relay module 2 includes a relay 21, a first resistor 22, a triode 23 and a first diode 24.

[0044] The ground terminal of the relay 21 is connected with the collector of the triode and the positive pole of the first diode 24 respectively; the power terminal of the relay 21 is connected with the power supply and the negative pole of the first diode 24 respectively;

[0045] The base of the triode 23 is connected with the master control module 1; the emitter of the triode 23 is grounded;

[0046] The emitter of the triode 23 is connected with the base through the first resistor 22.

[0047] In the embodiment of the present disclosure, the current signal input into the relay module 2 is input from the base of the triode 23, and the current of the collector of the triode is controlled by using the current signal. The current of the relay 21 connected with the collector is controlled by using the current of the collector.

[0048] Further, the first diode 24 is connected in parallel with the relay 21 in structure, the positive pole of the diode is connected with the collector of the triode 23 and the output terminal of the relay 21 respectively, and the negative pole of the diode is connected with the power supply. The diode can increase the threshold voltage of the triode 23, and can ensure that the triode 23 is completely cut off in the case that the control signal is low.

[0049] Further, the base and the emitter of the triode 23 can be connected through the first resistor 22. The resistor can accelerate the discharge of the capacitor between the base and the emitter, and accelerate the triode to be cut off.

[0050] Further, the relay 21 can include two states: an open state and a closed state. The open state corresponds to the open state of the relay module 2, and the closed state corresponds to the conduction state of the relay module 2. The closed state and the open state correspond to the first relay state change threshold and the second relay state change threshold of the relay 21 respectively. The two state change thresholds can be current values, and the first relay state change threshold is greater than the second relay state change threshold.

[0051] In the case that the relay current is higher than the first relay state change threshold, the relay 21 will enter the closed state; in the case that the relay current is lower than the second relay state change threshold, the relay 21 will enter the open state.

[0052] When the relay current remains between the first relay state change threshold and the second relay state change threshold, relay 21 will maintain the former state. That is, when relay 21 is in the closed state, if the relay current drops below the first relay state change threshold but is above the second relay state change threshold, relay 21 will remain in the closed state; when relay 21 is in the open state, if the relay current rises above the second relay state change threshold but is below the first relay state change threshold, relay 21 will remain in the open state.

[0053] In another embodiment provided in this disclosure, the current of relay 21 is controlled by the input current of the base of transistor 23.

[0054] In this embodiment of the disclosure, the collector current I of transistor 23 is... C =βI B Among them, I B β is the base current; β is the DC current gain, which characterizes the degree to which the collector current amplifies the base current.

[0055] The collector of transistor 23 is connected to the relay, and the current I of relay 21 is... relay =I C =βI B Therefore, it can be controlled by the base current I. B The state of relay 21 is controlled, which in turn controls the state of relay module 2.

[0056] In yet another embodiment provided in this disclosure, such as Figure 3 As shown, the current sustaining module 3 includes: a second resistor 31;

[0057] One end of the second resistor 31 is connected to the power supply, and the other end is connected to the input terminal of the relay module 2.

[0058] In this embodiment, the current sustaining module 3 introduces a sustaining current into the control circuit, which is input to the relay module 2. Combined with the control signal output from the main control module 1, the state of the relay module 2 is controlled.

[0059] The second resistor 31 acts as a current-limiting resistor, used to stabilize the sustaining current output by the current sustaining module 3 at the target current value. Therefore, the resistance value of the second resistor 31 can be determined based on the target current value.

[0060] The current sustaining module 3 provided in this embodiment has a simple structure. Compared with the addition of state latch chips or holding circuits provided in related technologies, it can effectively reduce costs and reduce the occupancy of the circuit board.

[0061] In yet another embodiment provided in this disclosure, such as Figure 4As shown, the output end of the master control module 1 is connected to one end of the third resistor 11, and the other end of the third resistor 11 is connected to the input end of the relay module 2.

[0062] In the embodiment of the present disclosure, the output end of the master control module 1 is connected to the input end of the relay module 2 through the third resistor 11, and the third resistor 11 functions as a matching impedance and a current limiting resistor here.

[0063] In another embodiment of the present disclosure, the state of the master control module 1 includes: high level;

[0064] In the case that the master control module 1 outputs high level, the output end of the master control module 1 outputs the first current, the first current and the maintaining current are superimposed to input the input end of the relay module 2, so that the input current of the relay module 2 exceeds the first relay state change threshold value, and the state of the relay module 2 changes.

[0065] In the embodiment of the present disclosure, in the case that the output of the master control module 1 is high level, the output end of the master control module 1 outputs the control signal, which can be a current signal.

[0066] In a possible implementation, assuming that the resistance value R3 of the third resistor 11 is 2000Ω, the voltage value U of the control signal output by the master control module 1 is 5V, and the first relay state change threshold value is 50mA. The current value of the first current The maintaining current I output by the current maintaining module 3 is taken as 3mA for example. In an ideal case, the current I input to the input end of the relay module 2 h =I i =I1+I B =I1+I h =5.5mA. Assuming that the direct current gain β of the triode is 10, the relay current I relay =I C =βI B =55mA. The relay current is greater than the first relay state change threshold value, and the relay is in the closed state, and the relay module 2 changes to the conducting state.

[0067] In another embodiment of the present disclosure, the state of the master control module 1 includes: low level;

[0068] In the case that the master control module 1 outputs low level, the output end of the master control module 1 is grounded, and the maintaining current is input to the ground wire; so that the input current of the relay module 2 is lower than the second relay state change threshold value, and the state of the relay module 2 changes.

[0069] In the embodiment of the present disclosure, when the output of the master module 1 is low, the output end of the master module 1 is grounded, the master module 1 does not output current, and the current flows into the ground wire through the output end of the master module 1. In a possible implementation, the second relay state change threshold is 20 mA. In an ideal state, the current I i B relay The relay current I relay relay is 0 mA. The relay current is less than the second relay state change threshold, and the relay is in the off state, and the relay module 2 changes to the off state.

[0070] In another embodiment of the present disclosure, the state of the master module 1 includes: a high resistance state.

[0071] When the master module 1 is in the high resistance state, the master module 1 is disconnected, the current input into the input end of the relay module 2 is maintained, the input current of the relay module 2 is maintained between the first relay state change threshold and the second relay state change threshold, and the state of the relay module 2 remains unchanged.

[0072] In the embodiment of the present disclosure, the high resistance state means that the output end of the master module 1 neither outputs current nor absorbs current, and in this state, the master module 1 presents a very high resistance to the outside. The output end of the master module 1 does not affect the connected circuit and presents a disconnected state. In the case of the master program of the smart switch / socket being invalid, abnormally resetting and restarting, or restarting after OTA upgrading in the related art, the master module 1 of the smart switch / socket enters the high resistance state.

[0073] In a possible implementation, the first relay state change threshold and the second relay state change threshold are 50 mA and 20 mA respectively, and the maintaining current I h output by the current maintaining module 3 is 3 mA. When the master module 1 enters the high resistance state, the master module 1 presents a disconnected state. The current I i input into the input end of the relay module 2 is I B = I h = 3 mA. Assuming that the direct current gain β of the triode is 10, the relay current I relay = I C = βI B = 30 mA, the relay current is between the first relay state change threshold and the second relay state change threshold, and the relay maintains the current state.

[0074] The maintaining current provided by the current maintaining module 3 can solve the problem that the smart switch / socket is not controlled due to the master module 1 entering the high resistance state in the related art.

[0075] In yet another embodiment of the present disclosure, as shown in Figure 1 The control circuit further comprises a power module 4 and a communication module 5.

[0076] The power module 4 is configured to supply power to the relay module 2, the current maintaining module 3 and the master control module 1.

[0077] The communication module 5 is configured to receive the instructions.

[0078] In the embodiment of the present disclosure, the power module 4 can be a device with a voltage conversion function of converting mains into direct current, and can supply power to the relay module 2, the current maintaining module 3 and the master control module 1 in the control circuit respectively.

[0079] The communication module 5 can be a device capable of wireless communication with a mobile phone or a smart gateway, etc., and can receive control instructions to control the load, and can also receive OTA upgrade information to update the firmware of the smart switch / socket.

[0080] The present disclosure further provides an electronic device comprising the control circuit according to any one of the embodiments of the present disclosure.

[0081] In the embodiment of the present disclosure, as shown in Figure 5 Fig. 1 is a structural schematic diagram of a possible embodiment of an electronic device based on the embodiment of the present disclosure.

[0082] From the above description of the embodiments, those skilled in the art can clearly understand that the embodiments of the present disclosure can be implemented by hardware, or by means of software and necessary general hardware platforms. Based on such understanding, the technical solutions of the embodiments of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a U disk, a mobile hard disk, etc.), and includes a plurality of instructions to make a computer device (which can be a personal computer, a server, or a network device, etc.) execute the methods described in the embodiments of the present disclosure.

[0083] Those skilled in the art can understand that the drawings are only schematic diagrams of a preferred embodiment, and the modules or flows in the drawings are not necessarily required for implementing the present disclosure.

[0084] Those skilled in the art can understand that the modules in the device in the embodiments can be distributed in the device in the embodiments according to the description of the embodiments, or can be changed and located in one or more devices different from the embodiments. The modules in the above embodiments can be combined into one module, or can be further split into a plurality of sub-modules.

[0085] The above serial numbers of the embodiments of the present disclosure are only for description, and do not represent the advantages or disadvantages of the embodiments.

[0086] It will be apparent to those skilled in the art that various modifications and variations can be made to the disclosed disclosure without departing from the spirit or scope of the disclosure. Thus, it is intended that the disclosure cover the modifications and variations of this disclosure provided they come within the scope of the appended claims and their equivalents.

Claims

1. A control circuit, characterized by The circuit comprises: a main control module, a relay module and a current maintaining module; input ends of the relay module are connected with the current maintaining module and the main control module respectively; the main control module is configured to control on or off state of the relay module according to an instruction; the current maintaining module is configured to provide a maintaining current for the relay module to maintain the state of the relay module.

2. The circuit of claim 1, wherein, The relay module comprises: a relay, a first resistor, a triode and a first diode; a ground end of the relay is connected with a collector of the triode and a positive electrode of the first diode respectively; a power supply end of the relay is connected with a power supply and a negative electrode of the first diode respectively; a base of the triode is connected with the main control module; an emitter of the triode is grounded; 3. The circuit of claim 2, wherein, the emitter of the triode is connected with the base through the first resistor.

4. The circuit of claim 1, wherein, The current of the relay is controlled by input current of the base of the triode. The current maintaining module comprises:

5. The circuit of claim 1, wherein, a second resistor; 6. The circuit of claim 1, wherein, one end of the second resistor is connected with the power supply, and the other end is connected with an input end of the relay module. an output end of the main control module is connected with one end of a third resistor, and the other end of the third resistor is connected with the input end of the relay module.

7. The circuit of claim 1, wherein, The state of the main control module comprises: a high level; 8. The circuit of claim 1, wherein, in the case that the main control module outputs a high level, the output end of the main control module outputs a first current, the first current and the maintaining current are superimposed and input into the input end of the relay module, so that the input current of the relay module exceeds a first relay state change threshold, and the state of the relay module changes. The state of the main control module comprises:

9. The circuit of claim 1, wherein, a low level; in the case that the main control module outputs a low level, the output end of the main control module is grounded, and the maintaining current is input into a ground wire; so that the input current of the relay module is lower than a second relay state change threshold, and the state of the relay module changes. The state of the main control module comprises: a high resistance state; 10. An electronic device, comprising: in the case that the main control module is in a high resistance state, the main control module is open, and the maintaining current is input into the input end of the relay module, so that the input current of the relay module is maintained between the first relay state change threshold and the second relay state change threshold, and the state of the relay module remains unchanged. The circuit further comprises: a power supply module and a communication module; the power supply module is configured to supply power for the relay module, the current maintaining module and the main control module; the communication module is configured to receive the instruction. The circuit comprises: the circuit according to any one of claims 1-9.