Charging control method and power supply system
By detecting the status of the charging interface and energy storage device and controlling the opening and closing of the power circuit, the problem of power consumption in the standby state of the traditional power adapter is solved, and a power system with low power consumption standby and quick response to charging needs is realized.
Patent Information
- Application Number
- CN202410865314.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2024-09-27
AI Technical Summary
Traditional power adapters consume power in standby mode, resulting in a waste of energy, but completely turning off the power circuit will affect the charging response speed.
By detecting the external connection status of the charging interface and the stored power of the energy storage device, the electronic switch is used to control the opening and closing of the power circuit to ensure that the energy storage device supplies power to the microcontroller in standby mode, and to quickly wake up the power system when needed.
It achieves a low-power or even zero-power standby state, reducing energy waste while ensuring that the power system can respond quickly to the user's charging needs.
Smart Images

Figure CN118713256A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of charging technology, and in particular to a charging control method and a power supply system. Background Art
[0002] With the popularity of various electronic products in work and life, people are becoming more and more dependent on these products, and the frequency and time of use are getting longer and longer, which leads to the frequent need for charging of such products to meet the needs of anytime and long-term use. When people use a power adapter to charge, for convenience, the adapter is usually plugged into the socket, and the power adapter generally has a standby function. However, the traditional standby function only turns off the secondary power circuit in the power circuit, and cannot turn off the power part completely. If the power circuit is turned off completely, it may cause the power circuit to fail to respond quickly to the user's charging needs. When the power adapter is in standby state for a long time, the primary circuit of the power supply has a certain standby power consumption, wasting electricity. With the progress of society, energy demand is becoming increasingly tight, and the country has put forward more stringent requirements for the standby power of power products.
[0003] Therefore, a solution is urgently needed to achieve low power consumption or even zero power consumption standby of the charging system to reduce energy waste while not affecting the power circuit's ability to quickly respond to the user's charging needs. Summary of the invention
[0004] Therefore, in order to overcome at least some of the defects and shortcomings in the prior art, an embodiment of the present invention provides a charging control method and a power supply system.
[0005] Specifically, on the one hand, an embodiment of the present invention provides a charging control method, including: detecting the external connection status of the charging interface; when it is detected that the external connection status is not connected, controlling the electronic switch to turn off so that the power circuit is turned off; controlling the energy storage device to power the microcontroller so that the microcontroller is in standby mode.
[0006] In a specific embodiment of the present invention, the charging control method further includes: detecting the storage power of the energy storage device; and controlling the electronic switch to turn on or off according to the storage power, so as to control the power supply circuit to supply power to the energy storage device.
[0007] In a specific embodiment of the present invention, controlling the electronic switch to turn on or off according to the stored power to control the power circuit to supply power to the energy storage device specifically includes: when it is detected that the stored power is less than a preset value, controlling the electronic switch to turn on the power circuit to supply power to the energy storage device; when it is detected that the stored power of the energy storage device reaches a target value, controlling the electronic switch to turn off the power circuit.
[0008] In a specific embodiment of the present invention, after detecting the external connection state of the charging interface, it also includes: when it is detected that the external connection state is connected, controlling the electronic switch to turn on the power circuit to supply power to the external device.
[0009] On the other hand, an embodiment of the present invention also provides a power supply system, comprising: a power supply circuit for supplying power to an external device; an electronic switch electrically connected to the power supply circuit, the electronic switch being used to control the power supply circuit to be turned on or off; an energy storage device; and a microcontroller, the electronic switch, the power supply circuit and the energy storage device being electrically connected to the microcontroller respectively; the microcontroller being used to control the electronic switch to be turned on or off to control the power supply circuit to be turned on or off, so that the power supply system is in a power supply state or a standby state, the power supply circuit being used to supply power to the microcontroller in the power supply state, and the energy storage device being used to supply power to the microcontroller in the standby state.
[0010] In a specific embodiment of the present invention, the power supply circuit is also used to charge the energy storage device.
[0011] In a specific embodiment of the present invention, the microcontroller is also used to detect the storage power of the energy storage device; when the storage power of the energy storage device is less than a preset value, the microcontroller controls the electronic switch to turn on the power supply circuit to power the energy storage device; when the microcontroller detects that the storage power of the energy storage device reaches the target value, the microcontroller controls the electronic switch to turn off.
[0012] In a specific embodiment of the present invention, the power supply system also includes: a charging interface, the microcontroller and the power supply circuit are electrically connected to the charging interface respectively, the charging interface is used to electrically connect to an external device, and the microcontroller is also used to control the electronic switch according to the external connection status of the charging interface.
[0013] In a specific embodiment of the present invention, the power supply circuit includes a power supply primary circuit and a power supply secondary circuit, and when the electronic switch is turned off, both the power supply primary circuit and the power supply secondary circuit are turned off; and / or, the electronic switch is a thyristor, and the energy storage device is a farad capacitor.
[0014] In a specific embodiment of the present invention, the power supply system further includes: an optocoupler isolator electrically connected between the electronic switch and the microcontroller.
[0015] As can be seen from the above, the charging control method provided in the embodiment of the present invention controls the opening or closing of the electronic switch by detecting the external connection status of the charging interface, and controls the energy storage device to power the microcontroller in the standby state, so that the microcontroller can work in standby mode, so that the primary circuit and the secondary circuit of the power supply can achieve low power consumption or even zero power consumption standby when they are in the standby state, thereby reducing energy waste in the standby state. At the same time, powering the microcontroller with the energy storage device allows the microcontroller and the power supply circuit to be quickly awakened, without affecting the power supply circuit's rapid response to the user's charging needs. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.
[0017] Figure 1 A schematic diagram of the structure of a power supply system provided by an embodiment of the present invention;
[0018] Figure 2 Another schematic diagram of the structure of the power supply system provided by the embodiment of the present invention.
[0019] Figure 3 A schematic diagram of another structure of a power supply system provided in an embodiment of the present invention.
[0020] Figure 4 Another structural schematic diagram of a power supply system provided by an embodiment of the present invention.
[0021] Figure 5 A schematic flow chart of a charging control method provided by an embodiment of the present invention.
[0022] Figure 6 A partial flow chart of a charging control method provided in an embodiment of the present invention.
[0023] Figure 7 for Figure 6 Schematic diagram of the process of step S50.
[0024] Figure 8 A partial flow chart of a charging control method provided in an embodiment of the present invention.
[0025] [Main reference numerals]
[0026] 100, power supply circuit; 110, power supply primary circuit; 120, power supply secondary circuit; 200, electronic switch; 300, energy storage device; 400, microcontroller; 500, charging interface; 600, optocoupler isolator. DETAILED DESCRIPTION
[0027] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments described in the present invention, all other embodiments obtained by ordinary technicians in this field without creative work belong to the protection scope of the present invention.
[0028] In the embodiments of the present invention, the descriptions of "first", "second", etc. are only for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" or "second" may explicitly or implicitly include at least one of the features.
[0029] See also Figure 1 The embodiment of the present invention provides a power supply system, which may specifically include, for example, a power supply circuit 100, an electronic switch 200, an energy storage device 300, and a microcontroller 400. The power supply system may be, for example, a power supply device such as a power adapter, but of course, the present embodiment is not limited thereto.
[0030] The power supply circuit 100 is used to supply power to an external device, and the external device may be, for example, an electronic device that needs to be charged, such as a mobile phone, a tablet computer, etc. The electronic switch 200 is electrically connected to the power supply circuit 100, and the electronic switch 200 may be, for example, a thyristor, and the electronic switch 200 may be turned on or off, and the turning on or off of the power supply circuit 100 may be controlled by turning on or off the electronic switch. The energy storage device 300 may be, for example, a farad capacitor, and the energy storage device 300 may store electricity. The microcontroller 400 may be, for example, an MCU (Microcontroller Unit), and the electronic switch 200, the power supply circuit 100, and the energy storage device 300 are electrically connected to the microcontroller 400, respectively.
[0031] The microcontroller 400 can be used, for example, to control the electronic switch 200 to turn on or off, so as to control the power supply circuit 100 to turn on or off, so that the power supply system is in a power supply state or a standby state. The power supply circuit 100 is used to power the microcontroller 400 in the power supply state, and the energy storage device 300 is used to power the microcontroller 400 in the standby state. Through the setting of the microcontroller 400 and the electronic switch 200, the microcontroller 400 can turn on or off the power supply circuit 100 through the electronic switch 200, so that the power supply system is in a power supply state or a standby state. In the standby state, by setting the energy storage device 300 to power the microcontroller 400, the power supply system can achieve low power consumption or even zero power consumption standby when in the standby state, thereby reducing energy waste in the standby state.
[0032] In this embodiment, the power circuit 100 is also used to charge the energy storage device 300. Specifically, when the power system is turned on (for example, plugged into an external socket), the electronic switch 200 is turned on by default, and the power circuit 100 works normally at this time, that is, the power system is in a power supply state, and the power circuit 100 charges the energy storage device 300 when working.
[0033] Furthermore, the microcontroller 400 is also used to detect the storage power of the energy storage device 300. When the storage power of the energy storage device 300 is less than a preset value, for example, when the storage power of the energy storage device 300 is about to be exhausted, the microcontroller 400 controls the electronic switch 200 to turn on the power circuit 100 to power the energy storage device 300. When the microcontroller 400 detects the target value of the storage power value of the energy storage device 300, for example, when the storage power of the energy storage device 300 is full, the microcontroller 400 controls the electronic switch 200 to turn off the power circuit 100. Through the control of the microcontroller 400, the charging and discharging of the energy storage device 300 can be realized, thereby ensuring the normal operation of the standby state of the power supply system. Powering the microcontroller through the energy storage device allows the microcontroller and the power circuit to be quickly awakened, without affecting the power circuit's rapid response to the user's charging needs.
[0034] See also Figure 2, the power supply system may also include a charging interface 500, which may be a USB interface, a Type-C interface, etc. Of course, the interface type of the charging interface 500 may be set according to actual needs. The microcontroller 400 and the power supply circuit 100 are electrically connected to the charging interface 500 respectively. The charging interface 500 is used to electrically connect an external device. The microcontroller 400 is also used to control the electronic switch 200 according to the external connection state of the charging interface 500. For example, when the power supply is turned on, that is, the power supply system is plugged into an external socket, the electronic switch 200 is in the on state, and the power supply circuit 100 works normally. During the operation, the power supply circuit 100 may charge the energy storage device 300, for example, and the energy storage device 300 may be charged after a few seconds, and the microcontroller 400 enters the detection state. The charging interface 500 may be electrically connected to an external device, for example, through a data line. When the charging interface 500 is connected to the data line, that is, the microcontroller 400 detects that a data line is plugged into the charging interface 500, the power supply circuit 100 may continue to work. The microcontroller 400 may, for example, continue to detect. When the microcontroller 400 detects that the charging interface 500 is suspended or the data line has no load for a certain period of time, the microcontroller 400 controls the electronic switch 200 to turn off, thereby controlling the power supply circuit 100 to turn off, so that the power supply system enters the standby state. That is, the external connection state of the charging interface 500 may, for example, include connected or disconnected. Connection may, for example, refer to the charging interface 500 being connected to an external device via a data line, that is, the charging interface 500 is connected to a load and needs to be charged; disconnection may, for example, refer to the charging interface 500 not being connected to a data line or being connected to a data line but the data line is not connected to an external device.
[0035] See also Figure 3 The power supply system may also include an optocoupler isolator 600, which is electrically connected between the electronic switch 200 and the microcontroller 400. The optocoupler isolator 600 uses light as a medium to transmit electrical signals, and has a good isolation effect on input and output electrical signals. When the power supply system is in standby mode, the microcontroller 400 maintains the optocoupler isolator 600 closed. The setting of the optocoupler isolator 600 makes the power supply system safer.
[0036] See also Figure 4The power supply circuit 100 may include, for example, a power supply primary circuit 110 and a power supply secondary circuit 120. The power supply primary circuit 110 may be, for example, a high-voltage side circuit, and the power supply secondary circuit 120 may be, for example, a low-voltage side circuit. The power supply primary circuit 110 and the power supply secondary circuit 120 are electrically connected. The electronic switch 200 is electrically connected to the power supply primary circuit 110. The power supply secondary circuit 120 is electrically connected to the charging interface 500. The power supply secondary circuit 120 is also electrically connected to the microcontroller 400. When the electronic switch 200 is turned off, both the power supply primary circuit 110 and the power supply secondary circuit 120 are turned off. When the power supply system is in the standby state, both the power supply primary circuit 110 and the power supply secondary circuit 120 are turned off, and no current passes through the AC input in the entire circuit, that is, zero power consumption of the power supply primary circuit 110 and the power supply secondary circuit 120 in the standby state is achieved.
[0037] See also Figure 5 The embodiment of the present invention further provides a charging control method, which is applied to the power supply system as described in the above embodiment. Specifically, the charging control method may include:
[0038] S10, detecting the external connection status of the charging interface;
[0039] S20, when it is detected that the external connection state is not connected, controlling the electronic switch to turn off so as to turn off the power circuit;
[0040] S30, controlling the energy storage device to supply power to the microcontroller, so that the microcontroller is in a standby state.
[0041] See also Figure 6 , the charging control method further includes:
[0042] S40, detecting the storage capacity of the energy storage device;
[0043] S50, controlling the electronic switch to be turned on or off according to the stored power, so as to control the power supply circuit to supply power to the energy storage device.
[0044] Further, see Figure 7 , step S50 comprises:
[0045] S51, when it is detected that the stored power is less than a preset value, controlling the electronic switch to turn on the power circuit to supply power to the energy storage device;
[0046] S52, when it is detected that the stored electricity of the energy storage device reaches the target value, controlling the electronic switch to turn off the power circuit.
[0047] See also Figure 8 , the charging control method further includes:
[0048] S70, when it is detected that the external connection state is connected, controlling the electronic switch to turn on the power circuit to supply power to the external device.
[0049] Specifically, when the power supply is turned on, that is, the power supply system is plugged into an external socket, the electronic switch 200 may be in the on state, the power supply circuit 100 works normally, and during the operation, the power supply circuit 100 may charge the energy storage device 300, and the energy storage device 300 may be charged after a few seconds, and the microcontroller 400 enters the detection state. The microcontroller 400 may detect the external connection state of the charging interface 500, and the external connection state may include connection or disconnection, for example, connection may refer to the charging interface 500 being connected to an external device via a data line, that is, the charging interface 500 is connected to a load that needs to be charged; disconnection may refer to the charging interface 500 not being connected to a data line, or the charging interface 500 is connected to a data line but the data line is not connected to an external device.
[0050] When the external connection state is connected, the microcontroller 400 controls the electronic switch 200 to turn on so that the power circuit 100 can be turned on and work normally. When the external connection state is not connected, the microcontroller 400 controls the electronic switch 200 to turn off so that the power circuit 100 is turned off, the energy storage device 300 supplies power to the microcontroller 400, and the microcontroller 400 is in a standby state. Specifically, the charging interface 500 can be electrically connected to an external device through a data line, for example. When the charging interface 500 is connected to the data line, that is, the microcontroller 400 detects that a data line is inserted into the charging interface 500, the power circuit 100 can, for example, continue to work. The microcontroller 400 can, for example, continue to detect. When the microcontroller 400 detects that the charging interface 500 is suspended or the data line has no load for a certain period of time, the microcontroller 400 controls the electronic switch 200 to turn off, thereby controlling the power circuit 100 to turn off, so that the power system enters a standby state. When the microcontroller 400 detects that the charging interface 500 is connected to a load, it controls the electronic switch 200 to turn on to control the power circuit 100 to turn on and charge the external device.
[0051] When the power supply system is in standby mode, the microcontroller 400 can perform standby operation, for example, through the power supply of the energy storage device 300. For example, in the standby mode, the microcontroller 400 detects that the charging interface 500 is connected to a load and wakes up the control electronic switch 200 to turn on, so that the power supply system enters the power supply state.
[0052] In the standby state, the microcontroller 400 can, for example, detect the stored power of the energy storage device 300. When the stored power of the energy storage device 300 is less than a preset value, for example, when the stored power of the energy storage device 300 is about to be exhausted, the microcontroller 400 controls the electronic switch 200 to turn on the power circuit 100 to supply power to the energy storage device 300. When the microcontroller 400 detects the target value of the stored power value of the energy storage device 300, for example, when the stored power of the energy storage device 300 is full, the microcontroller 400 controls the electronic switch 200 to turn off the power circuit 100. Through the control of the microcontroller 400, the charging and discharging of the energy storage device 300 can be realized, thereby ensuring the normal operation of the power supply system in the standby state.
[0053] In summary, the charging control method provided in the embodiment of the present invention controls the opening or closing of the electronic switch 200 by detecting the external connection status of the charging interface by the microcontroller 400, so that the power supply system can be in a power supply state or a standby state. In the standby state, the energy storage device 300 supplies power to the microcontroller 400, so that the microcontroller can work in standby mode. Through the setting of the energy storage device 300, the power supply system can achieve zero power standby when in the standby state, thereby reducing energy waste in the standby state.
[0054] In addition, it can be understood that the aforementioned embodiments are only exemplary descriptions of the present invention. Under the premise that the technical features do not conflict, the structures do not contradict, and the purpose of the present invention is not violated, the technical solutions of the various embodiments can be arbitrarily combined and used in combination.
[0055] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A charging control method, characterized in that: include: Detect the external connection status of the charging interface; When it is detected that the external connection state is not connected, the electronic switch is controlled to be turned off so as to turn off the power circuit; The energy storage device is controlled to supply power to the microcontroller, and the microcontroller is in a standby state.
2. The charging control method according to claim 1, characterized in that: Also includes: Detecting the storage capacity of the energy storage device; The electronic switch is controlled to be turned on or off according to the stored power, so as to control the power supply circuit to supply power to the energy storage device.
3. The charging control method according to claim 2, characterized in that: The step of controlling the electronic switch to be turned on or off according to the stored power to control the power supply circuit to supply power to the energy storage device specifically includes: When it is detected that the stored power is less than a preset value, the electronic switch is controlled to turn on the power circuit to supply power to the energy storage device; When it is detected that the stored electricity of the energy storage device reaches the target value, the electronic switch is controlled to turn off the power circuit.
4. The charging control method according to claim 1, characterized in that: After detecting the external connection state of the charging interface, the method further includes: When it is detected that the external connection state is connected, the electronic switch is controlled to turn on the power circuit to supply power to the external device.
5. A power supply system, characterized in that: include: A power circuit for supplying power to external devices; An electronic switch, electrically connected to the power circuit, and used to control the power circuit to be turned on or off; Energy storage devices; as well as A microcontroller, the electronic switch, the power supply circuit and the energy storage device are electrically connected to the microcontroller respectively; The microcontroller is used to control the electronic switch to turn on or off to control the power circuit to turn on or off, so that the power supply system is in a power supply state or a standby state. The power supply circuit is used to power the microcontroller in the power supply state, and the energy storage device is used to power the microcontroller in the standby state.
6. The power supply system according to claim 5, characterized in that: The power supply circuit is also used to charge the energy storage device.
7. The power supply system according to claim 6, characterized in that: The microcontroller is also used to detect the storage power of the energy storage device; when the storage power of the energy storage device is less than a preset value, the microcontroller controls the electronic switch to turn on the power circuit to supply power to the energy storage device; When the microcontroller detects that the stored electricity of the energy storage device reaches the target value, the microcontroller controls the electronic switch to turn off.
8. The power supply system according to claim 5, characterized in that: Also includes: A charging interface, the microcontroller and the power supply circuit are electrically connected to the charging interface respectively, the charging interface is used to electrically connect to an external device, and the microcontroller is also used to control the electronic switch according to the external connection state of the charging interface.
9. The power supply system according to claim 5, characterized in that: The power supply circuit includes a primary power supply circuit and a secondary power supply circuit, and when the electronic switch is turned off, both the primary power supply circuit and the secondary power supply circuit are turned off; and / or, the electronic switch is a thyristor, and the energy storage device is a farad capacitor.
10. The power supply system according to claim 5, characterized in that: Also includes: An optocoupler isolator is electrically connected between the electronic switch and the microcontroller.
