Charging control circuit, intelligent socket and intelligent home system

By introducing charging control circuits and isolating switch modules into smart sockets, the problem that traditional smart sockets cannot control USB charging interfaces is solved, and intelligent control of multiple types of charging interfaces is realized, improving user experience.

CN222339061UActive Publication Date: 2025-01-10SHENZHEN LUMIUNITED TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202420817009.0
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-04-19
Publication Date
2025-01-10
Estimated Expiration
2034-04-19

AI Technical Summary

Technical Problem

Traditional smart sockets cannot control the on-off of the USB charging interface, resulting in the inability to achieve intelligent control of multiple types of charging functions, affecting the user experience.

Method used

A charging control circuit is designed to isolate the first power module from the second power module through the isolating switch module, and turn on or off under the control of the control module, so as to realize the on-off state switching of the charging interface, which is suitable for intelligent USB charging port in socket.

Benefits of technology

The switch control of multiple types of charging interfaces in smart sockets is realized, which improves the user experience and makes the charging interface an intelligent switch, supporting intelligent control of connected devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN222339061U_ABST
    Figure CN222339061U_ABST
Patent Text Reader

Abstract

The utility model relates to a charging control circuit, an intelligent socket and an intelligent home system. The charging control circuit comprises a second power supply module which is connected with the power supply line. The charging interface is used for supplying power to electric equipment connected to the charging interface; the isolation switch module is connected between the second power supply module and the charging interface, and the second power supply module is connected with the isolation switch module through the control module; and the isolation switch module is used for isolating the first power supply module from the second power supply module, and is connected or disconnected under the control of the control module so as to switch the on-off state between the second power supply module and the charging interface. Therefore, the switch of the charging interface of the intelligent socket with multiple types of charging functions can be controlled.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of smart home, and in particular to a charging control circuit, a smart socket and a smart home system. Background Art

[0002] Smart sockets have been increasingly used in homes. Their main function is to automatically control the on and off of sockets without manual plugging and unplugging. Currently, smart sockets have other types of charging interfaces, such as USB (Universal Serial Bus) charging functions. However, traditional smart sockets can only control the on and off of high-voltage sockets, but cannot control the on and off of other types of charging interfaces. Utility Model Content

[0003] Based on this, it is necessary to provide a charging control circuit, a smart socket and a smart home system that can control the on and off of the charging interface.

[0004] In a first aspect, the present application provides a charging control circuit, which is applied to a smart socket. The smart socket includes a control module and a first power module, and the first power module is connected between a power supply line and the control module. The charging control circuit includes:

[0005] A second power supply module, the second power supply module is connected to the power supply line;

[0006] A charging interface, which is used to supply power to an electrical device connected to the charging interface; and

[0007] An isolating switch module, the isolating switch module is connected between the second power module and the charging interface, and the second power module is connected to the isolating switch module via the control module; the isolating switch module is used to isolate the first power module from the second power module, and is turned on or off under the control of the control module to switch the on-off state between the second power module and the charging interface.

[0008] In one embodiment, the charging interface includes a USB charging interface; the charging control circuit also includes a charging protocol module;

[0009] One end of the charging protocol module is connected to the isolation switch module, and the other end of the charging protocol module is connected to the USB charging interface.

[0010] In one embodiment, the first power module includes a non-isolated power supply, and the second power module includes an isolated power supply.

[0011] In one embodiment, the isolating switch module comprises:

[0012] An isolation unit, the isolation unit is connected to the control module;

[0013] A switch unit, wherein a control end of the switch unit is connected to the isolation unit, one end of the switch unit is connected to the second power module, and the other end of the switch unit is connected to the charging interface.

[0014] In one embodiment, the switch unit includes at least one MOS tube;

[0015] The control end of the switch unit is the control end of the MOS tube, one end of the switch unit is the first end of the MOS tube, and the other end of the switch unit is the second end of the MOS tube.

[0016] In one of the embodiments, the isolation unit includes an optical coupler;

[0017] The first end of the optical coupler is connected to the control module, and the second end of the optical coupler is connected to the control end of the switch unit.

[0018] In one of the embodiments, the charging control circuit further includes a first voltage dividing element;

[0019] One end of the first voltage-dividing element is connected between the control end of the switch unit and the second end of the optical coupler, and the other end of the first voltage-dividing element is connected between one end of the switch unit and the second power supply module.

[0020] In one of the embodiments, the charging control circuit further includes a soft start module;

[0021] The soft start module includes a second voltage divider element and a third voltage divider element; one end of the second voltage divider element is connected to the second end of the optocoupler, and the other end of the second voltage divider element is respectively connected to the control end of the switch unit and one end of the third voltage divider element; the other end of the third voltage divider element is connected between one end of the switch unit and the second power supply module.

[0022] In a second aspect, the present application provides a smart socket, comprising a housing, on which a socket connected to a power supply line is disposed; the smart socket further comprises a control module and a first power module located in the housing, the first power module being connected between the power supply line and the control module; the control module is used to control the power supply state of the socket;

[0023] The smart socket also includes the above-mentioned charging control circuit located in the shell.

[0024] In one embodiment, the smart socket further includes a communication unit, which is electrically connected to the control module, and the communication unit communicates with the network device via wireless communication.

[0025] In a third aspect, the present application provides a smart home system based on a smart socket, comprising the above-mentioned smart socket and a network device that communicates with the smart socket; wherein the control module of the smart socket is connected to the network device via a communication unit.

[0026] The above-mentioned charging control circuit, smart socket and smart home system isolate the first power module that supplies power to the control module from the second power module that supplies power to the charging interface through the isolation switch module, wherein the isolation switch module can also be turned on or off under the control of the control module to switch the on-off state between the second power module and the charging interface, thereby realizing the switch control of different power networks, so that the switch of the charging interface of the smart socket with multiple types of charging functions can be controlled. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the conventional technology, the drawings required for use in the embodiments or the conventional technology descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0028] Figure 1 A schematic diagram of a socket panel of a smart socket according to an embodiment;

[0029] Figure 2 A module schematic diagram of a charging control circuit according to an embodiment;

[0030] Figure 3 Another module schematic diagram of a charging control circuit according to an embodiment;

[0031] Figure 4 A schematic diagram of a disconnect switch module according to an embodiment of the present invention;

[0032] Figure 5 is a schematic structural diagram of an isolation unit according to an embodiment;

[0033] Figure 6 This is a schematic structural diagram of an isolating switch module according to an embodiment;

[0034] Figure 7 A smart socket according to a specific embodiment;

[0035] Figure 8 The structure block diagram of a smart home system based on a smart socket according to an embodiment of the present invention. DETAILED DESCRIPTION

[0036] In order to facilitate understanding of the present application, the present application will be described more fully below with reference to the relevant drawings. Embodiments of the present application are provided in the drawings. However, the present application can be implemented in many different forms and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the disclosure of the present application more thorough and comprehensive.

[0037] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application.

[0038] It is understood that the terms "first", "second", etc. used in this application may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish a first element from another element. For example, without departing from the scope of this application, a first resistor may be referred to as a second resistor, and similarly, a second resistor may be referred to as a first resistor. Both the first resistor and the second resistor are resistors, but they are not the same resistor.

[0039] It can be understood that the “connection” in the following embodiments should be understood as “electrical connection”, “communication connection”, etc. if the connected circuits, modules, units, etc. have electrical signals or data transmission between each other.

[0040] It can be understood that “at least one” means one or more, “plurality” means two or more, and “at least a portion of an element” means a part or all of an element.

[0041] When used herein, the singular forms "a", "an", and "said / the" may also include plural forms, unless the context clearly indicates otherwise. It should also be understood that the terms "include / comprise" or "have" and the like specify the presence of stated features, wholes, steps, operations, components, parts, or combinations thereof, but do not exclude the possibility of the presence or addition of one or more other features, wholes, steps, operations, components, parts, or combinations thereof. At the same time, the term "and / or" used in this specification includes any and all combinations of the relevant listed items.

[0042] Taking the USB charging function as an example, the current smart socket with USB charging function, its control module (such as the main control chip) and the USB power supply are not in the same power supply network (the control module is on the non-isolated power supply, and the USB part power supply is on the isolated power supply), and the control module cannot directly control the switch of the USB charging interface. Among them, the USB charging interface of the smart socket is exposed, and an isolated power supply must be used. Since the output of the USB charging interface has overload protection and overcurrent protection, the power supply of this line will be cut off when the protection is triggered; if the main control chip is on this power supply, the protection will cause the main control chip to be powered off, causing the device to be powered off and offline. Furthermore, the USB charging interface has a fast charging design, and triggering different fast charging protocols will output different voltages, while the main control part requires a stable voltage. In turn, the USB power supply and the main control power supply require two different power supply networks, and the two different power supply networks cannot be directly connected.

[0043] As mentioned above, the traditional smart socket with USB charging function can only control the on and off of the high-voltage socket, but the switch of the USB charging interface cannot be controlled (the USB charging interface is normally open), resulting in the inability of the smart socket to achieve complete intelligent control, which is not good for the user experience.

[0044] like Figure 1 As shown, the smart socket 10 has a shell and a socket panel arranged on one side of the shell; wherein at least two power supply components are arranged in the shell; optionally, the at least two power supply components of the smart socket 10 include: at least one socket power supply component 102 and at least one charging power supply component 104. The socket power supply component 102 has a function similar to that of a traditional socket, and is used to provide power to an external device, for example, as a high-voltage socket to provide a 220V AC power supply. The charging power supply component 104 is used to charge an external load or directly supply power to an external load. Optionally, the external load may refer to an electrical device. For example, the electrical device may be an electronic device such as a mobile phone, a tablet computer, an e-book reader, or a multimedia player.

[0045] Exemplarily, each charging and power supply component may include a power module (e.g., a fast charging power source) and a charging interface connected to the power module. The charging interface may also be referred to as a charging plug or a charging connector, which is used to connect to an electrical device that needs to be charged. The charging interface may include a USB charging interface, such as a Micro USB charging interface, a USB Type-C charging interface, etc.; optionally, it is not limited to the above USB charging interfaces, and may also be other types of charging interfaces.

[0046] Accordingly, if Figure 1 As shown, the socket panel is formed with through holes corresponding to each charging and power supply component, and the charging interface is exposed on the outer surface of the socket panel. It should be noted that the smart socket provided in the embodiment of the present application can be installed on a substrate such as a wall, a column or the bottom of a seat. The installation method of the smart socket can be open or concealed.

[0047] Furthermore, the smart socket is used as an intelligent control device in the smart home, which can control the power supply of the device connected to the high-voltage socket; wherein, by controlling the on and off of the high-voltage socket, the device plugged into the high-voltage socket can be controlled. For example, fans and lights. By controlling the switch of the high-voltage socket, traditional fans and lights can be connected to the smart home and intelligently controlled. For example, remote switch, timer switch, other device trigger switch, etc.

[0048] The charging control circuit provided in the embodiment of the present application can be applied to Figure 1 The smart socket shown in FIG. 1 can be specifically applied to charging and power supply components; wherein, Figure 2As shown, the smart socket of one embodiment includes a control module 100 and a first power module 200 , and the first power module 200 is connected between the power supply line and the control module 100 .

[0049] like Figure 2 As shown, in the smart socket, the control module 100 is usually used to drive the relay to control the on and off of the socket power supply component. For example, a socket connected to a power supply line is provided on the housing of the smart socket, and the power supply line is the mains. When the smart socket is connected to the mains, the relay is connected between the socket and the live wire (L). Exemplarily, the control module 100 can adopt an MCU (Microcontroller Unit).

[0050] Optionally, the first power supply module 200 serves as a main control power supply, and may be an auxiliary power supply for powering the control module, wherein the auxiliary power supply may include an ACDC circuit, etc.; exemplarily, the first power supply module 200 may be a non-isolated power supply, wherein the non-isolated power supply may be directly input into the electronic circuit using a power supply line (e.g., 220V), and then outputted by stepping down the voltage through electronic components, and the input and output are directly connected through electronic components, that is, the non-isolated power supply is not electrically isolated between the input end and the load end through a transformer, but is directly connected, and the input end and the load end are grounded.

[0051] It is understandable that the power module may also be in other forms, not limited to the forms mentioned in the above embodiments, as long as it can achieve the function of providing stable power supply to the main control part of the smart socket.

[0052] like Figure 2 As shown, a charging control circuit of an embodiment includes:

[0053] A second power supply module 302, the second power supply module 302 is connected to the power supply line;

[0054] A charging interface 304, the charging interface 304 is used to supply power to an electrical device connected to the charging interface 304;

[0055] And an isolating switch module 306, which is connected between the second power module 302 and the charging interface 304, and the second power module 302 is connected to the isolating switch module 306 via the control module 100; wherein the isolating switch module 306 is used to isolate the first power module 200 from the second power module 302, and is turned on or off under the control of the control module 100 to switch the on-off state between the second power module 302 and the charging interface 304.

[0056] Specifically, the second power supply module 302 is connected to the power supply line to obtain power supply energy, and the second power supply module 302 is connected to the charging interface 304 through the isolation switch module 306; wherein, the isolation switch module 306 is a switch with an isolation function, which can be used to isolate the first power supply module 200 from the second power supply module 302; at the same time, the isolation switch module 306 is connected to the control module 100, and then, the isolation switch module 306 can be turned on or off under the control of the control module 100, so as to realize the switching of the on-off state between the second power supply module 302 and the charging interface 304.

[0057] Exemplarily, when the isolating switch module 306 is turned on under the control of the control module 100, the second power module 302 and the charging interface 304 are in a conducting state, and the charging interface 304 sends the power supply energy to the external power device for charging. When the isolating switch module 306 is disconnected under the control of the control module 100, the second power module 302 and the charging interface 304 are in a disconnected state, and the charging interface 304 stops charging the external power device. It can be understood that the above-mentioned isolating switch module can also adopt other forms of switches, not limited to the forms mentioned in the above-mentioned embodiments, as long as it can achieve the isolation effect and the on-off function.

[0058] Exemplarily, the second power module 302 includes an isolated power supply; further, the second power module 302, as the power supply for the charging interface 304, can be an isolated power supply; wherein, the isolated power supply can be understood as a power supply with no direct electrical connection between the input circuit and the output circuit, and the input and the output are insulated high-impedance states without a current circuit. Exemplarily, the isolated power supply can be used as a fast charging power supply for the charging interface 304. Optionally, the second power module 302 can adopt a transformer-based isolated power supply, including an ACDC circuit and a transformer, which can convert the input power into a safe low-voltage signal using a transformer, which can not only provide efficient electrical isolation, but also reduce noise and electromagnetic interference.

[0059] It can be understood that the above-mentioned power module can also adopt other forms, not limited to the forms mentioned in the above embodiments, as long as it can provide the required power supply function for the charging interface (such as overload protection, overcurrent protection, matching fast charging design, triggering different fast charging protocols to output different voltages, etc.).

[0060] The above circuit can be applied to smart homes, in switch devices or similar devices of electronic devices such as lamps, cameras, etc. that use smart sockets for charging, such as remote switches, timer switches, and other device trigger switches.

[0061] The embodiment of the present application uses an isolating switch module to isolate the two power supply networks (the first power supply module and the second power supply module) through the isolating switch module, so that the control module can control the on and off of the charging interface, so that the device connected to the charging interface can be connected to the smart home to achieve intelligent control. The embodiment of the present application can optimize the user experience, so that the output of the charging interface in the smart socket that was originally uncontrollable can also be controlled, so that the charging interface can also become a smart switch, and intelligently control the load plugged into the charging interface.

[0062] like Figure 3 As shown, the charging interface of an embodiment includes a USB charging interface 402; the charging control circuit 300 also includes a charging protocol module 404; one end of the charging protocol module 404 is connected to the isolation switch module 306, and the other end of the charging protocol module 404 is connected to the USB charging interface 402.

[0063] Specifically, for a smart socket with a USB charging function, through the charging control circuit 300, an isolation switch module 306 can be used to isolate the two power supply networks of the first power supply module 200 and the second power supply module 302, so that the control module 100 can control the on and off of the USB charging interface 402.

[0064] Among them, the charging protocol module 404 can be a USB charging protocol module (Integrated Circuit, IC), which can match the fast charging design for the charging interface, and trigger different fast charging protocols to output different voltages.

[0065] Based on the above circuit, the smart socket can control the electrical devices plugged into the USB charging interface, such as lamps, cameras and other devices that can be powered by USB, by controlling the on and off of the USB charging interface, so that these devices can be connected to the smart home and intelligently controlled. For example, remote switches, timer switches, other device trigger switches, etc. The embodiment of the present application separates different power networks through an isolation switch module, and at the same time enables the control module to control the on and off of the USB charging interface, thereby realizing the switch control of different power networks, so that the switch of the USB charging interface of the smart socket with USB charging function can be controlled.

[0066] like Figure 4 As shown, the isolating switch module of one embodiment may include:

[0067] An isolation unit 502, the isolation unit 502 is connected to the control module;

[0068] The switch unit 504 has a control end connected to the isolation unit 502 , one end of the switch unit 504 is connected to the second power module, and the other end of the switch unit 504 is connected to the charging interface.

[0069] Specifically, the isolation unit 502 can be used as a driving circuit for the switch unit 504 while isolating different power networks, so that the switch unit 504 can be turned on or off under the control of the control module, that is, the control module can control the on and off of the charging interface. Figure 4 As shown, one end of the switch unit 504 is connected to the second power module as a power input end, and the other end of the switch unit 504 is connected to the charging protocol module and the charging interface as a power output end.

[0070] The isolation unit 502 may use corresponding devices such as an optocoupler device to achieve isolation, and the switch unit 504 may use corresponding switch devices such as a switch tube, etc. Exemplarily, the control module is connected to the isolation unit 502 and provides a control signal to the isolation unit 502. The control end of the switch unit 504 is connected to the isolation unit 502, so that the control module can control the on and off of the switch unit 504.

[0071] Taking the control module as MCU as an example, the isolation unit 502 can be connected to the MCU control pin, and then when the MCU control pin outputs a first level signal (such as a high level), the isolation unit 502 drives the switch unit 504 to turn on, so that the second power module and the charging interface are in a conducting state. Correspondingly, when the MCU control pin outputs a second level signal (such as a low level), the isolation unit 502 drives the switch unit 504 to turn off, so that the second power module and the charging interface are in a disconnected state.

[0072] Optionally, the switch unit of an embodiment includes at least one MOS tube;

[0073] The control end of the switch unit is the control end of the MOS tube, one end of the switch unit is the first end of the MOS tube, and the other end of the switch unit is the second end of the MOS tube.

[0074] Specifically, the control end (gate end) of the MOS tube is connected to the isolation unit, and can be turned on or off under the control of the control module to achieve the connection or disconnection between the second power module and the charging interface. The MOS tube can be a PMOS tube or an NMOS tube, and other devices can be adjusted accordingly.

[0075] Exemplarily, the MOS tube is a PMOS tube.

[0076] Specifically, the embodiment of the present application adopts a PMOS tube as a switching unit to implement a PMOS switching circuit driven by an isolation unit, wherein the isolation unit is used to separate different power supply networks, so that the control module can control the on and off of the charging interface through the PMOS switching circuit.

[0077] Optionally, the gate end of the PMOS tube is connected to the isolation unit, the source end of the PMOS tube is connected to the output end of the second power module as the power input end, and the drain end of the PMOS tube is connected to the charging interface as the power output end; exemplarily, the drain end of the PMOS tube can be connected to the charging protocol module as the power output end.

[0078] like Figure 5 As shown, an isolation unit of an embodiment includes an optical coupler (U1); a first end of the optical coupler (U1) is connected to the control module, and a second end of the optical coupler (U1) is connected to the control end of the switch unit.

[0079] Specifically, the charging control circuit uses an optical coupler (U1) to achieve isolation, wherein a first end of the optical coupler (U1) is connected to a control module, and a second end of the optical coupler (U1) is connected to a control end of a switch unit.

[0080] Optionally, the optocoupler (U1) as an optocoupler device may include a light emitting diode and a photosensitive diode, which are isolated by a transparent isolation material. When the light emitting diode receives an input signal, it will emit a light signal, which will be transmitted to the photosensitive diode by the transparent isolation material, thereby achieving signal isolation.

[0081] Exemplarily, the anode of the optocoupler (U1) is connected to the control module, the cathode of the optocoupler (U1) is grounded, the collector of the optocoupler (U1) is connected to the control end of the switch unit, and the emitter of the optocoupler (U1) is grounded. Optionally, the cathode of the optocoupler (U1) can be connected to the reference ground (LGND), and the reference ground (LGND) can be connected to the live wire (L) as a non-isolated ground. Further, the emitter of the optocoupler (U1) can be connected to the isolated ground (ISO_GND).

[0082] The isolation switch module in the embodiment of the present application can be implemented by using an optocoupler to drive a PMOS switch circuit. The following takes the switch unit as a PMOS tube (Q1) and the control module as an MCU as an example. Figure 6 As shown, a charging control circuit can be used to control the on / off state of the charging interface connected to the power output end, wherein the optocoupler (U1) can isolate the two power networks. When the MCU control pin outputs a high level, the optocoupler (U1) is turned on, the gate end of pin 1 of the PMOS tube (Q1) is at a low level, Q1 is turned on, and the charging interface is turned on; when the MCU control pin outputs a low level, the optocoupler (U1) is turned off, the gate end of pin 1 of the PMOS tube (Q1) is at a high level, Q1 is turned off, and the charging interface is turned off.

[0083] Furthermore, the charging control circuit of an embodiment may further include a first voltage dividing element;

[0084] One end of the first voltage-dividing element is connected between the control end of the switch unit and the second end of the optical coupler, and the other end of the first voltage-dividing element is connected between one end of the switch unit and the second power supply module.

[0085] Specifically, the first voltage dividing element can be implemented by a resistor. Taking the first voltage dividing element as a first resistor (R1) as an example, one end of the first resistor (R1) is connected between the control end of the switch unit and the collector of the optocoupler (U1), and the other end of the first resistor (R1) is connected between one end of the switch unit and the output end of the second power supply module.

[0086] For example, taking the switch unit as a PMOS tube (Q1), one end of the first resistor (R1) is connected between the gate end of the PMOS tube (Q1) and the collector of the optocoupler (U1), and the other end of the first resistor (R1) is connected between the drain end of the PMOS tube (Q1) and the output end of the second power module. The first resistor (R1) is used as a pull-up resistor and can provide a pull-up voltage for the collector of the optocoupler (U1).

[0087] The charging control circuit of an embodiment may further include a first capacitor (C1) and a second capacitor (C2);

[0088] One end of the first capacitor (C1) is connected between the output end of the second power module and one end of the switch unit, and the other end of the first capacitor (C1) is grounded;

[0089] One end of the second capacitor (C2) is connected between the other end of the switch unit and the charging interface, and the other end of the second capacitor (C2) is grounded.

[0090] Specifically, taking the switch unit as a PMOS tube (Q1) as an example, one end of the first capacitor (C1) is connected between the output end of the second power module and the source end of the PMOS tube (Q1), and the other end of the first capacitor (C1) is connected to the isolation ground (ISO_GND); further, one end of the second capacitor (C2) is connected between the drain end of the PMOS tube (Q1) and the charging interface, and the other end of the second capacitor (C2) is connected to the isolation ground (ISO_GND).

[0091] The charging control circuit of one embodiment may further include a soft start module 400;

[0092] The soft start module 400 may include a second voltage divider element and a third voltage divider element; one end of the second voltage divider element is connected to the second end of the optocoupler, and the other end of the second voltage divider element is respectively connected to the control end of the switch unit and one end of the third voltage divider element; the other end of the third voltage divider element is connected between one end of the switch unit and the second power supply module.

[0093] Specifically, the second voltage-dividing element can be implemented by a resistor, and the third voltage-dividing element can be implemented by a capacitor. Taking the second voltage-dividing element as a second resistor (R2) and the third voltage-dividing element as a third capacitor (C3) as an example, the slow-start module 400 can include a second resistor (R2) and a third capacitor (C3); one end of the second resistor (R2) is connected to the collector of the optocoupler (U1), and the other end of the second resistor (R2) is respectively connected to the control end of the switch unit and one end of the third capacitor (C3); the other end of the third capacitor (C3) is connected between one end of the switch unit and the output end of the second power supply module.

[0094] Wherein, taking the switch unit as a MOS tube as an example, the MOS tube slow start module 400 may include a second resistor (R2) and a third capacitor (C3). Exemplarily, taking the switch unit as a PMOS tube (Q1) as an example, one end of the second resistor (R2) is connected to the collector of the optocoupler (U1), and the other end of the second resistor (R2) is respectively connected to the gate end of the PMOS tube (Q1) and one end of the third capacitor (C3); the other end of the third capacitor (C3) is connected between the source end of the PMOS tube (Q1) and the output end of the second power module.

[0095] Optionally, the charging control circuit may further include a third resistor (R3) and a fourth resistor (R4), wherein one end of the third resistor (R3) is connected between the MCU control pin and one end of the fourth resistor (R4), the other end of the third resistor (R3) is connected to DC3V3, and DC3V3 is used as a LED driving the optocoupler (U1); the other end of the fourth resistor (R4) is connected to the anode of the optocoupler (U1).

[0096] The above circuit can be applied to a smart socket whose charging interface is a USB charging interface. By using an optocoupler to drive a PMOS switch circuit and using an optocoupler to isolate each power network, the control module can control the on and off of the USB charging interface, so that the USB charging interface can be used as a smart switch to intelligently control the load plugged into the USB charging interface.

[0097] An embodiment of the present application also provides a smart socket, including a shell, on which is provided a socket connected to a power supply line; the smart socket also includes a control module and a first power module located in the shell, and the first power module is connected between the power supply line and the control module; the control module is used to control the power supply status of the socket through a relay; wherein the smart socket also includes the above-mentioned charging control circuit located in the shell.

[0098] like Figure 7 As shown, the smart socket of an embodiment may further include a communication unit, the communication unit is electrically connected to the control module, and the communication unit communicates with the network device via wireless communication.

[0099] Specifically, the isolating switch module in the embodiment of the present application can be implemented by using an optocoupler driving a PMOS switch circuit; optionally, the communication unit can include at least one of a ZIGBEE communication unit, a Bluetooth communication unit, an NFC communication unit, an infrared communication unit, and a WIFI communication unit. Further, the communication unit can be an antenna.

[0100] For example, Figure 7 As shown, the smart socket may further include a power metering circuit and a sampling resistor, wherein the sampling resistor is connected between the socket and the neutral line, and the power metering circuit is connected to the control module.

[0101] The embodiment of the present application also provides a smart home system based on a smart socket, including the above-mentioned smart socket and a network device that communicates with the smart socket; wherein the control module of the smart socket is connected to the network device via a communication unit.

[0102] Specifically, Figure 8 As shown, the smart home system 500 includes the above-mentioned smart socket 10 and a network device communicating with the smart socket, wherein the network device may include a gateway 20 communicating with the smart socket 10, a cloud server 40 communicating with the gateway 20, and a terminal 50; optionally, the control module of the smart socket 10 may be connected to the gateway 20 via a communication unit. Exemplarily, the smart home system 500 may also include a router 30;

[0103] The smart socket 10 of an embodiment can be connected to the gateway 20. In this case, one or more smart sockets 10 can establish a network connection with the gateway 20 based on the ZigBee protocol. The gateway 20 and the terminal 50 can both be connected to the router 30 and access the Ethernet through the router 30. The router 30 accesses the server 40 through 2G / 3G / 4G / 5G, WIFI (Wireless-Fidelity), etc. Optionally, the terminal 50 can also establish a network connection with the server 40 through 2G / 3G / 4G / 5G, WIFI, etc.

[0104] Optional, such as Figure 8 The LAN path shown indicates that the terminal 50 is in the same LAN as the router 30 and the gateway 20, and the WAN path indicates that the terminal 50 is not in the same LAN as the router 30 and the gateway 20. When the terminal 50 is in the same LAN as the router 30 and the gateway 20, the terminal 50 can Figure 8 The local area network path shown is connected to the gateway 20 and the smart socket 10 connected to the gateway 20 for communication; Figure 8The wide area network path shown is connected to the gateway 20 and the smart socket 10 connected to the gateway 20 for communication. When the terminal 50 is not in the same local area network as the router 30 and the gateway 20, the terminal 50 can communicate with the gateway 20 through the following method: Figure 8 The wide area network path shown is connected to the gateway 20 and the smart socket 10 connected to the gateway 20. Exemplarily, the smart socket 10 may also be connected to the terminal 50 directly through wireless communication (such as ZigBee or Bluetooth, etc.) without being connected to the gateway 20.

[0105] As described above, through the charging control circuit, the smart socket can realize the switch control of different power supply networks, thereby realizing the switch control of the charging interface (for example, USB charging interface) of the smart socket with multiple types of charging functions.

[0106] In the description of this specification, the description with reference to the terms "some embodiments", "other embodiments", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic description of the above terms does not necessarily refer to the same embodiment or example.

[0107] 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.

[0108] The above-described 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 charging control circuit, characterized in that: Applied to a smart socket, the smart socket comprises a control module and a first power module, wherein the first power module is connected between a power supply line and the control module; The charging control circuit comprises: a second power supply module, the second power supply module being electrically connected to the power supply line; A charging interface, the charging interface being used to supply power to an electrical device connected to the charging interface; and An isolating switch module, wherein the isolating switch module is connected between the second power module and the charging interface, and the second power module is connected to the isolating switch module via the control module; the isolating switch module is used to isolate the first power module from the second power module, and is turned on or off under the control of the control module to switch the on-off state between the second power module and the charging interface.

2. The charging control circuit according to claim 1, characterized in that: The charging interface includes a USB charging interface; the charging control circuit also includes a charging protocol module; One end of the charging protocol module is connected to the isolation switch module, and the other end of the charging protocol module is connected to the USB charging interface.

3. The charging control circuit according to claim 1, characterized in that: The first power module includes a non-isolated power supply, and the second power module includes an isolated power supply.

4. The charging control circuit according to any one of claims 1 to 3, characterized in that: The isolating switch module comprises: an isolation unit, the isolation unit being connected to the control module; A switch unit, wherein a control end of the switch unit is connected to the isolation unit, one end of the switch unit is connected to the second power module, and the other end of the switch unit is connected to the charging interface.

5. The charging control circuit according to claim 4, characterized in that: The switch unit includes at least one MOS tube; The control end of the switch unit is the control end of the MOS tube, one end of the switch unit is the first end of the MOS tube, and the other end of the switch unit is the second end of the MOS tube.

6. The charging control circuit according to claim 4, characterized in that: The isolation unit includes an optical coupler; The first end of the optical coupler is connected to the control module, and the second end of the optical coupler is connected to the control end of the switch unit.

7. The charging control circuit according to claim 6, characterized in that: The charging control circuit further includes a first voltage dividing element; One end of the first voltage-dividing element is connected between the control end of the switch unit and the second end of the optical coupler, and the other end of the first voltage-dividing element is connected between one end of the switch unit and the second power supply module.

8. The charging control circuit according to claim 6, characterized in that: The charging control circuit also includes a soft start module; The slow start module includes a second voltage divider element and a third voltage divider element; one end of the second voltage divider element is connected to the second end of the optocoupler, and the other end of the second voltage divider element is respectively connected to the control end of the switch unit and one end of the third voltage divider element; the other end of the third voltage divider element is connected between one end of the switch unit and the second power supply module.

9. A smart socket, characterized in that: The smart socket comprises a housing, on which a socket connected to a power supply line is provided; the smart socket further comprises a control module and a first power supply module located in the housing, the first power supply module being connected between the power supply line and the control module; the control module is used to control the power supply state of the socket; The smart socket further comprises a charging control circuit as claimed in any one of claims 1 to 8 located in the housing.

10. The smart socket according to claim 9, characterized in that: The smart socket further includes a communication unit, which is electrically connected to the control module and communicates with the network device via wireless communication.

11. A smart home system based on a smart socket, characterized in that: It comprises the smart socket as claimed in claim 9 or 10 and a network device that communicates with the smart socket; wherein the control module of the smart socket is connected to the network device via a communication unit.