Power supply circuit, charging method and device, electronic equipment and storage medium

By simplifying the wireless charging circuit structure and using a combination of wired charging switches, power management chips and charge pump chips, the problem of high wireless charging costs is solved, low-cost wireless charging compatibility is achieved, and wireless charging is promoted.

CN120528055APending Publication Date: 2025-08-22BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410199789.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-02-22
Publication Date
2025-08-22

AI Technical Summary

Technical Problem

The wireless charging function increases the cost of smart terminals, making it difficult to sink to cheap products. The existing power supply circuit structure is complex and expensive.

Method used

A power circuit is adopted, including a wireless charging chip, a wired charging switch, a power management chip and a charge pump chip. Through the wired charging switch, the power management chip and a charge pump chip are combined with the wired charging switch, the wireless charging circuit structure is simplified, and the wireless reverse charging and forward charging switch are eliminated, so as to achieve compatibility between wireless charging and wired charging.

Benefits of technology

It reduces the hardware cost of wireless charging, simplifies the circuit structure, and realizes a low-cost wireless charging solution, making wireless charging functions more popular.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120528055A_ABST
    Figure CN120528055A_ABST
Patent Text Reader

Abstract

The invention relates to a power supply circuit, a charging method and device, electronic equipment and a storage medium. The power supply circuit comprises a wireless charging chip, a wired charging switch, a power supply management chip, a charge pump chip and a wired charging interface; the wireless charging chip is connected with the power management chip, the wired charging switch is connected with the wired charging interface, the wireless charging chip, the power management chip and the charge pump chip, and the wireless charging chip is used for being connected with wireless equipment. And the power management chip and the charge pump chip are used for connecting a battery. A wireless charging circuit can be simplified, a wireless charging control strategy is optimized, a low-cost wireless charging scheme is realized, and a wireless charging function is easier to popularize.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of wireless charging technology, and in particular to a power supply circuit, a charging method, a device, an electronic device, and a storage medium. Background Art

[0002] With the continuous development of wireless charging for smart terminals, wireless charging has become a must-have feature in smart terminals, and more and more smart terminals and electronic devices are introducing wireless charging functions. However, adding wireless charging functions to smart terminals brings a relatively high cost increase, making it very difficult to implement wireless charging functions in affordable smart terminal products. Summary of the Invention

[0003] To overcome the problems existing in the related art, the present disclosure provides a power supply circuit, a charging method, a device, an electronic device and a storage medium.

[0004] According to a first aspect of an embodiment of the present disclosure, there is provided a power supply circuit, comprising: a wireless charging chip, a wired charging switch, a power management chip, a charge pump chip, and a wired charging interface;

[0005] The wireless charging chip is connected to the power management chip, and the wired charging switch is connected to the wired charging interface, the wireless charging chip, the power management chip, and the charge pump chip. The wireless charging chip is used to connect to a wireless device, and the power management chip and the charge pump chip are used to connect to a battery.

[0006] The wired charging switch is used to control the opening of the path between the wired charging interface and the wireless charging chip, the power management chip and the charge pump chip when wireless reverse charging is turned on, so as to transmit the charging power input by the wired charging interface to the battery and the wireless device, or to control the closing of the path between the wireless charging chip and the wired charging interface and the wired charging port of the power management chip when wireless positive charging is turned on.

[0007] Optionally, the wireless charging chip is connected to the wireless charging port of the power management chip, and the wireless charging chip is used to send power to the wireless charging port of the power management chip, or receive power from the wireless charging port of the power management chip;

[0008] The input end of the wired charging switch is connected to the wired charging interface, and the wired charging interface is used to provide charging power to the wired charging switch. The first output end of the wired charging switch is connected to the wired charging port of the power management chip. The second output end of the wired charging switch is connected to the wireless charging chip. The control end of the wired charging switch is connected to the first port of the charge pump chip.

[0009] The battery port of the power management chip is connected to the battery, and is used to provide charging power to the battery or receive power from the battery;

[0010] The second port of the charge pump chip is connected to the second output end of the wired charging switch, and the output end of the charge pump chip is connected to the battery for providing power to the battery.

[0011] Optionally, the power supply circuit further includes an OTG unit, the input end of the OTG unit is connected to the power output port of the power management chip, the output end of the OTG unit is connected to the wired charging interface, and the OTG unit is used to provide power to the wired charging interface.

[0012] Optionally, the OTG unit includes: an OGT booster and an OTG switch connected in series;

[0013] The input end of the OGT booster is connected to the power output port of the power management chip, and is used to boost the voltage output by the power output port of the power management chip and then output it;

[0014] The input end of the OTG switch is connected to the output end of the OGT booster, the output end of the OTG switch is connected to the wired charging interface, and the OTG switch is used to control the on and off of the OTG power supply path.

[0015] Optionally, the wired charging switch is used to transmit power provided by the wired charging interface to the wireless charging chip and / or the battery.

[0016] According to a second aspect of an embodiment of the present disclosure, a charging method is provided, which is applied to the power supply circuit described in any one of the first aspects, wherein the power supply circuit includes: a wireless charging chip, a wired charging switch, a power management chip, a charge pump chip, and a wired charging interface;

[0017] The wireless charging chip is connected to the power management chip, and the wired charging switch is connected to the wired charging interface, the wireless charging chip, the power management chip, and the charge pump chip. The wireless charging chip is used to connect to a wireless device, and the power management chip and the charge pump chip are used to connect to a battery.

[0018] The method comprises:

[0019] When no wireless device is detected and a charging adapter is plugged into the wired charging interface, the wired charging switch is closed, and the battery is charged at a first voltage through the wired charging port and the battery port of the power management chip;

[0020] When a wireless device is detected to be connected and a charging adapter is inserted into the wired charging interface, the wired charging switch is closed, the wireless charging port of the power management chip is turned off, and while the battery is charged at a second voltage through the wired charging port of the power management chip, reverse wireless charging is performed on the wireless device at the second voltage through the wireless charging chip, where the second voltage is lower than the first voltage.

[0021] Optionally, the detection of wireless device access is performed by detecting a ping interrupt signal of the wireless charging chip.

[0022] Optionally, the method comprises:

[0023] When wireless reverse charging is enabled and no charging adapter is detected to be plugged into the wired charging interface, the battery performs reverse wireless charging at a third voltage to the wireless device through the wireless charging port of the power management chip and the wireless charging chip;

[0024] When wireless reverse charging is enabled and a charging adapter is detected to be plugged into the wired charging interface, the wireless charging port of the power management chip is disabled, and the charging adapter performs reverse wireless charging on the wireless device at a fourth voltage through the wired charging switch and the wireless charging chip, where the fourth voltage is lower than the third voltage.

[0025] When reverse wireless charging is performed using the charging adapter, if it is detected that the charging adapter is unplugged, the wireless charging port of the power management chip is opened, and the battery performs reverse wireless charging to the wireless device at the third voltage through the wireless charging port of the power management chip and the wireless charging chip.

[0026] Optionally, the insertion or removal of the charging adapter is detected by a plug-in interrupt signal of the power management chip.

[0027] Optionally, the wireless charging port of the power management chip is provided with wireless reverse charging power by a charger boost.

[0028] According to a third aspect of an embodiment of the present disclosure, there is provided a charging control device, which is applied to a power supply circuit. The power supply circuit includes: a wireless charging chip, a wired charging switch, a power management chip, a charge pump chip, and a wired charging interface;

[0029] The wireless charging chip is connected to the power management chip, and the wired charging switch is connected to the wired charging interface, the wireless charging chip, the power management chip, and the charge pump chip. The wireless charging chip is used to connect to a wireless device, and the power management chip and the charge pump chip are used to connect to a battery.

[0030] The device comprises:

[0031] a first control module configured to, when no wireless device is detected and a charging adapter is plugged into the wired charging interface, close the wired charging switch and charge the battery at a first voltage through the wired charging port and the battery port of the power management chip;

[0032] The second control module is configured to, when detecting that a wireless device is connected and a charging adapter is inserted into the wired charging interface, close the wired charging switch and turn off the wireless charging port of the power management chip, and simultaneously charge the battery at a second voltage through the wired charging port of the power management chip, and reverse wirelessly charge the wireless device at the second voltage through the wireless charging chip, where the second voltage is lower than the first voltage.

[0033] According to a fourth aspect of the embodiments of the present disclosure, there is provided an electronic device, comprising: the power supply circuit according to any one of the first aspects, and

[0034] processor;

[0035] a memory for storing processor-executable instructions;

[0036] The processor is configured to: execute the executable instructions to implement any one of the methods in the second aspect.

[0037] According to a fifth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which computer program instructions are stored, and when the program instructions are executed by a processor, the steps of any one of the methods described in the second aspect are implemented.

[0038] In summary, the power supply circuit provided by the embodiments of the present disclosure, through a wired charging switch, in conjunction with a power management chip and a charge pump chip, can achieve compatibility between wireless charging (including wireless positive charging and wireless reverse charging) and wired charging. Compared with traditional power supply circuit solutions, the wireless positive charging switch and wireless reverse charging switch are reduced, thereby simplifying the circuit structure of wireless charging and reducing the hardware cost of implementing wireless charging. By simplifying the wireless charging circuit and optimizing the wireless charging control strategy, the embodiments of the present disclosure implement a low-cost wireless charging solution, making the wireless charging function more accessible and enabling more users to experience the convenience of wireless charging.

[0039] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0041] Figure 1 is a schematic diagram showing a conventional power supply circuit according to an exemplary embodiment.

[0042] Figure 2 is a schematic diagram showing an improved power supply circuit according to an exemplary embodiment.

[0043] Figure 3 is a schematic diagram showing an improved power supply circuit according to an exemplary embodiment.

[0044] Figure 4 is a schematic diagram showing an improved power supply circuit according to an exemplary embodiment.

[0045] Figure 5 The figure is a flow chart showing a charging method according to an exemplary embodiment.

[0046] Figure 6 The figure is a flow chart showing a charging method according to an exemplary embodiment.

[0047] Figure 7 is a block diagram of a charging control device according to an exemplary embodiment.

[0048] Figure 8 It is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0049] Exemplary embodiments will be described in detail herein, with examples illustrated in the accompanying drawings. In the following description, when referring to the drawings, identical numerals in different figures represent identical or similar elements, unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all possible embodiments consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.

[0050] It should be understood that the term "including" and its variations as used herein are open-ended, i.e., "including but not limited to." The term "based on" means "based, at least in part, on." The term "one embodiment" means "at least one embodiment," the term "another embodiment" means "at least one additional embodiment," and the term "some embodiments" means "at least some embodiments." The relevant definitions of other terms are provided in the following description.

[0051] It should be noted that the concepts of "first", "second", etc. mentioned in this disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units. The modifications of "one" and "multiple" mentioned in this disclosure are illustrative and not restrictive. Those skilled in the art should understand that, unless otherwise clearly indicated in the context, they should be understood as "one or more". In the description of this disclosure, unless otherwise specified, "multiple" refers to two or more than two, and other quantifiers are similar thereto; "at least one item(s)", "one item(s) or multiple items(s)" or similar expressions refer to any combination of these items(s), including any combination of single items(s) or plural items(s).

[0052] Although operations or steps are described in a particular order in the drawings in the embodiments of the present disclosure, this should not be understood as requiring that these operations or steps be performed in the particular order shown or in a serial order, or that all of the operations or steps shown be performed to obtain a desired result. In the embodiments of the present disclosure, these operations or steps may be performed serially; these operations or steps may also be performed in parallel; or some of these operations or steps may be performed.

[0053] The names of the messages or information exchanged between the multiple devices in the embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of these messages or information. It is understood that before using the technical solutions disclosed in the various embodiments of this disclosure, the type, scope of use, and usage scenarios of the personal information involved in this disclosure should be informed to the user in an appropriate manner in accordance with relevant laws and regulations, and the user's authorization should be obtained. The following describes this disclosure in conjunction with specific embodiments.

[0054] First, the application scenarios of the present invention are explained. Wireless reverse charging refers to using a mobile phone or other terminal device with wireless charging function as a wireless charging charging stand to charge other devices that support wireless charging (such as watches, bracelets, mobile phones, etc.). Figure 1 FIG. 1 is a schematic diagram of an existing power supply circuit according to an exemplary embodiment. Figure 1 As shown, the power management chip is controlled by the HBST (wireless reverse charging) port through the wireless reverse charging switch to provide wireless reverse charging power to the wireless charging chip. The wireless reverse charging power is provided by the HBST booster (not shown in the figure) of the power management chip; the wireless charging chip provides wireless positive charging power to the WLSIN (wireless positive charging, wireless positive charging refers to the terminal devices with wireless charging function such as mobile phones receiving power through wireless charging) port of the power management chip through the wireless positive charging switch. The wireless positive charging switch is provided with a gate signal by the WPCGATE port of the charge pump chip to control the opening and closing of the wireless positive charging switch to isolate the wireless charging path and the wired charging path when necessary to prevent current backflow and damage to the equipment.

[0055] For wired charging, the wired charging interface provides wired charging power to the USBIN port of the power management chip and the VBUS port of the charge pump chip through the wired charging switch. The wired charging switch is provided with a gate signal by the OVPGATE port of the charge pump chip to control the opening and closing of the wired charging switch to isolate the wireless charging path and the wired charging path when necessary to prevent current backflow and damage to the device.

[0056] The battery port VBAT of the power management chip and the VOUT port of the charge pump chip are connected to the battery for outputting power to the battery or receiving power from the battery.

[0057] It can be seen that the traditional power supply circuit can complete wireless charging and wired charging functions, but it requires three switches, namely a wireless reverse charging switch, a wireless positive charging switch and a wired charging switch, to isolate the charging, which is costly and complex to control.

[0058] Figure 2 FIG. 1 is a schematic diagram showing an improved power supply circuit according to an exemplary embodiment. Figure 2 As shown, an embodiment of the present disclosure provides a power circuit 100 , including: a wireless charging chip 10 , a wired charging switch 20 , a power management chip 30 , a charge pump chip 40 and a wired charging interface 50 .

[0059] The wireless charging chip 10 is connected to the power management chip 30, and the wired charging switch 20 is connected to the wired charging interface 50, the wireless charging chip 10, the power management chip 30 and the charge pump chip 40. The wireless charging chip 10 is used to connect to a wireless device (not shown in the figure), and the power management chip 30 and the charge pump chip 40 are used to connect to the battery 60.

[0060] The wired charging switch 20 is used to control the opening of the path between the wired charging interface 50 and the wireless charging chip 10, the power management chip 30, and the charge pump chip 40 when wireless reverse charging is enabled, so as to transmit the charging power input by the wired charging interface 50 to the battery 60 and the wireless device; or to control the closing of the path between the wireless charging chip 10, the wired charging interface 50, and the wired charging port of the power management chip 30 when wireless positive charging is enabled.

[0061] Compared with traditional power supply circuits, the present power supply circuit 100 eliminates the two switches, the wireless reverse charging switch and the wireless positive charging switch, and then integrates the wireless positive charging and wireless reverse charging into one path, sharing the wireless charging port of the power management chip 30. This greatly simplifies the difficulty of circuit implementation and reduces the implementation cost.

[0062] In summary, the power supply circuit provided by the embodiments of the present disclosure, through a wired charging switch, in conjunction with a power management chip and a charge pump chip, can achieve compatibility between wireless charging (including wireless positive charging and wireless reverse charging) and wired charging. Compared with traditional power supply circuit solutions, the wireless positive charging switch and wireless reverse charging switch are reduced, thereby simplifying the circuit structure of wireless charging and reducing the hardware cost of implementing wireless charging. By simplifying the wireless charging circuit and optimizing the wireless charging control strategy, the embodiments of the present disclosure implement a low-cost wireless charging solution, making the wireless charging function more accessible and enabling more users to experience the convenience of wireless charging.

[0063] Figure 3 FIG. 1 is a schematic diagram showing an improved power supply circuit according to an exemplary embodiment. Figure 3 As shown, the wireless charging chip 10 is connected to the wireless charging port WLSIN (CBST) of the power management chip 30. The wireless charging chip 10 is used to send power to the wireless charging port WLSIN (CBST) of the power management chip 30, or receive power from the wireless charging port WLSIN (CBST) of the power management chip 30.

[0064] The wireless charging port WLSIN (CBST) on the power management chip 30 is a bidirectional port that can both receive and output power. When receiving power, it's called WLSIN, and when outputting power, it's called CBST. CBST stands for "charger boost," meaning the output power is provided by a charger boost device. The charger boost device is a power device built into the power management chip 30.

[0065] The input end of the wired charging switch 20 is connected to the wired charging interface 50, which is used to provide charging power to the wired charging switch 20. The first output end of the wired charging switch 20 is connected to the wired charging port USBIN of the power management chip 30. The second output end of the wired charging switch 20 is connected to the wireless charging chip 10. The control end of the wired charging switch 20 is connected to the first port OVPGATE of the charge pump chip 40. In this way, when wireless positive charging is enabled, the first port OVPGATE of the charge pump chip 40 can be used to control the wired charging switch 20 to be disconnected, thereby isolating the wireless positive charging path from the wired charging path and preventing current backflow. When wireless reverse charging is enabled, the first port OVPGATE of the charge pump chip 40 controls the wired charging switch 20 to be open, so that wired charging power and / or wireless reverse charging power can be provided from the wired charging interface 50. Providing wireless reverse charging power from the wired charging interface 50 can reduce battery 60 consumption, thereby extending standby battery life.

[0066] The battery port VBAT of the power management chip 30 is connected to the battery 60 for providing charging power to the battery 60 or receiving power from the battery 60 .

[0067] The second port VBUS of the charge pump chip 40 is connected to the second output terminal of the wired charging switch 20 , and the output terminal VOUT of the charge pump chip 40 is connected to the battery 60 for providing power to the battery 60 .

[0068] Figure 4 FIG. 1 is a schematic diagram showing an improved power supply circuit according to an exemplary embodiment. Figure 4 As shown, the power supply circuit 100 further includes an OTG (On-The-Go, a technology for connecting devices for data exchange) unit 70. The input end of the OTG unit 70 is connected to the power output port VPH of the power management chip 30, and the output end of the OTG unit 70 is connected to the wired charging interface 50. The OTG unit 70 is used to provide power to the wired charging interface 50. In this way, the power supply circuit 100 can be compatible with the OTG charging function.

[0069] In some embodiments, the OTG unit 70 includes an OGT booster 701 and an OTG switch 702 connected in series. The input of the OGT booster 701 is connected to the power output port VPH of the power management chip 30, and is used to boost and output the voltage output from the power output port VPH of the power management chip 30. The input of the OTG switch 702 is connected to the output of the OGT booster 701, and the output of the OTG switch 702 is connected to the wired charging interface 50. The OTG switch 702 is used to control the on / off of the OTG power supply path. In this way, the power supply circuit 100 can be compatible with OTG charging functions, and the OTG charging path can be opened or closed through the OTG switch 702.

[0070] In some embodiments, the wired charging switch 20 is used to transmit power provided by the wired charging interface 50 to the wireless charging chip 10 and / or the battery 60 .

[0071] Figure 5 FIG. 1 is a flow chart showing a charging method according to an exemplary embodiment. Figure 5 As shown, an embodiment of the present disclosure provides a charging method, which is applied to the above-mentioned power supply circuit 100, including: a wireless charging chip 10, a wired charging switch 20, a power management chip 30, a charge pump chip 40 and a wired charging interface 50.

[0072] The wireless charging chip 10 is connected to the power management chip 30, and the wired charging switch 20 is connected to the wired charging interface 50, the wireless charging chip 10, the power management chip 30 and the charge pump chip 40. The wireless charging chip 10 is used to connect to the wireless device, and the power management chip 30 and the charge pump chip 40 are used to connect to the battery 60.

[0073] The charging method may include the following steps:

[0074] In step S101, when no wireless device is detected and a charging adapter is plugged into the wired charging interface, the wired charging switch is closed, and the battery is charged at a first voltage through the wired charging port and the battery port of the power management chip.

[0075] In this step, when no wireless device is detected and a charging adapter is plugged into the wired charging interface 50, the wired charging switch 20 is closed, and the battery 60 is charged at a first voltage through the wired charging port USBIN and the battery port VBAT of the power management chip 30. For example, the first voltage may be 20V, which enables fast charging.

[0076] In step S102, when it is detected that a wireless device is connected and a charging adapter is inserted into the wired charging interface, the wired charging switch is closed, the wireless charging port of the power management chip is turned off, and while the battery is charged at a second voltage through the wired charging port of the power management chip, reverse wireless charging is performed on the wireless device at the second voltage through the wireless charging chip, and the second voltage is lower than the first voltage.

[0077] In this step, when a wireless device is detected and a charging adapter is plugged into the wired charging interface 50, the wired charging switch 20 is closed, turning off the wireless charging port WLSIN (CBST) of the power management chip 30. While charging the battery 60 at the second voltage through the wired charging port USBIN of the power management chip 30, reverse wireless charging is performed on the wireless device via the wireless charging chip 10 at the second voltage, which is lower than the first voltage. For example, the second voltage can be 9V.

[0078] It should be noted that the detection of wireless device access is performed through the ping interrupt signal detection of the wireless charging chip 10 .

[0079] Since this solution removes the wireless charging switch that isolates wired and wireless charging scenarios, when a wired charging adapter is plugged in, current backflows, causing the power management chip 30 to trigger both wired and wireless plug-in interrupts. Therefore, to avoid false triggering of wireless plug-in during wired plug-in, the wireless plug-in detection process is changed from the original triggering of the plug-in interrupt of the power management chip 30 to the triggering of the ping interrupt of the wireless charging chip 10. When a wireless device is connected, the GPIO (general purpose input / output port) port level corresponding to the interrupt is pulled high. When the wireless device is unplugged, the GPIO port level corresponding to the interrupt is pulled low. Therefore, wireless charging uses an independent interrupt to trigger the wireless device access detection process, which does not interfere with the insertion of the wired charging adapter.

[0080] Figure 6 FIG. 1 is a flow chart showing a charging method according to an exemplary embodiment. Figure 6 As shown, the charging method may include the following steps:

[0081] In step S201, when wireless reverse charging is turned on and no charging adapter is detected to be inserted into the wired charging interface, the battery performs reverse wireless charging to the wireless device at a third voltage through the wireless charging port of the power management chip and the wireless charging chip.

[0082] In this step, when wireless reverse charging is enabled and no charging adapter is detected in the wired charging interface 50, the battery 60 performs reverse wireless charging at a third voltage to the wireless device via the wireless charging port WLSIN (CBST) of the power management chip 30 and the wireless charging chip 10. For example, the third voltage can be 20V. It should be noted that the wireless reverse charging power for the wireless charging port WLSIN (CBST) of the power management chip 30 is provided by the ChargerBoost inside the power management chip 30, rather than the original HBST booster, thus saving a booster.

[0083] In step S202, when wireless reverse charging is turned on and a charging adapter is detected to be inserted into the wired charging interface, the wireless charging port of the power management chip is turned off, and the charging adapter performs reverse wireless charging on the wireless device at a fourth voltage through the wired charging switch and the wireless charging chip, and the fourth voltage is lower than the third voltage.

[0084] In this step, when wireless reverse charging is enabled and a charging adapter is detected to be plugged into the wired charging interface 50, the wireless charging port WLSIN (CBST) of the power management chip 30 is turned off. The charging adapter performs reverse wireless charging to the wireless device at a fourth voltage through the wired charging switch 20 and the wireless charging chip 10. The fourth voltage is lower than the third voltage. For example, the fourth voltage can be 9V. In this way, the external charging adapter can provide both wired charging power and wireless reverse charging power, thereby saving battery consumption.

[0085] In step S203, when reverse wireless charging is performed with the charging adapter, if it is detected that the charging adapter is unplugged, the wireless charging port of the power management chip is opened, and the battery performs reverse wireless charging to the wireless device at the third voltage through the wireless charging port of the power management chip and the wireless charging chip.

[0086] During reverse wireless charging using a charging adapter, if it is detected that the charging adapter is unplugged, the wireless charging port WLSIN (CBST) of the power management chip 30 is enabled, and the battery 60 performs reverse wireless charging at a third voltage through the wireless charging port WLSIN (CBST) of the power management chip 30 and the wireless charging chip 10. For example, the third voltage may be 20V.

[0087] It should be noted that the insertion or removal of the charging adapter is detected by the plug-in interrupt signal of the power management chip 30. This is separate from the insertion detection of the wireless device, so that they do not interfere with each other. For details, please refer to the description of step S102 and will not be repeated here.

[0088] In some embodiments, the wireless charging port WLSIN(CBST) of the power management chip 30 is provided with wireless reverse charging power by a chargerboost booster.

[0089] In summary, the embodiments of the present disclosure provide a charging method, applied to a power supply circuit 100, comprising: when no wireless device is detected and a charging adapter is plugged into the wired charging interface, the wired charging switch is closed, and the battery is charged at a first voltage through the wired charging port and the battery port of the power management chip; when a wireless device is detected and a charging adapter is plugged into the wired charging interface, the wired charging switch is closed, the wireless charging port of the power management chip is turned off, and while the battery is charged at a second voltage through the wired charging port of the power management chip, reverse wireless charging is performed on the wireless device through the wireless charging chip at the second voltage, wherein the second voltage is less than the first voltage. The embodiments of the present disclosure, combined with a simplified wireless charging circuit and an optimized wireless charging control strategy, implement a low-cost wireless charging solution, making wireless charging more accessible and enabling more users to experience the convenience of wireless charging.

[0090] Figure 7 FIG. 1 is a block diagram of a charging control device according to an exemplary embodiment. Figure 7 As shown, an embodiment of the present disclosure provides a charging control device 700 , which is applied to the above-mentioned power circuit 100 , including: a wireless charging chip 10 , a wired charging switch 20 , a power management chip 30 , a charge pump chip 40 and a wired charging interface 50 .

[0091] The wireless charging chip 10 is connected to the power management chip 30, and the wired charging switch 20 is connected to the wired charging interface 50, the wireless charging chip 10, the power management chip 30 and the charge pump chip 40. The wireless charging chip 10 is used to connect to the wireless device, and the power management chip 30 and the charge pump chip 40 are used to connect to the battery 60.

[0092] The apparatus 700 includes:

[0093] The first control module 710 is configured to, when no wireless device is detected and a charging adapter is plugged into the wired charging interface, close the wired charging switch and charge the battery at a first voltage through the wired charging port and the battery port of the power management chip;

[0094] The second control module 720 is configured to, when detecting that a wireless device is connected and a charging adapter is inserted into the wired charging interface, close the wired charging switch and turn off the wireless charging port of the power management chip, and simultaneously charge the battery at a second voltage through the wired charging port of the power management chip, and reverse wirelessly charge the wireless device at the second voltage through the wireless charging chip, where the second voltage is lower than the first voltage.

[0095] Optionally, the detection of wireless device access is performed by detecting a ping interrupt signal of the wireless charging chip.

[0096] Optionally, the device 700 includes a third control module, which is configured to perform reverse wireless charging of the battery to the wireless device at a third voltage through the wireless charging port of the power management chip and the wireless charging chip when wireless reverse charging is turned on and no charging adapter is detected to be inserted into the wired charging interface.

[0097] The device 700 includes a fourth control module, which is configured to turn off the wireless charging port of the power management chip when wireless reverse charging is turned on and a charging adapter is detected to be inserted into the wired charging interface. The charging adapter performs reverse wireless charging on the wireless device at a fourth voltage through the wired charging switch and the wireless charging chip, and the fourth voltage is lower than the third voltage.

[0098] The device 700 includes a fifth control module, which is configured to open the wireless charging port of the power management chip if it is detected that the charging adapter is unplugged during reverse wireless charging using the charging adapter, and the battery performs reverse wireless charging to the wireless device at the third voltage through the wireless charging port of the power management chip and the wireless charging chip.

[0099] Optionally, the insertion or removal of the charging adapter is detected by a plug-in interrupt signal of the power management chip.

[0100] Optionally, the wireless charging port of the power management chip is provided with wireless reverse charging power by a charger boost.

[0101] Regarding the apparatus in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0102] The present disclosure also provides a computer-readable storage medium having computer program instructions stored thereon. When the program instructions are executed by a processor, the steps of the charging method provided by the present disclosure are implemented.

[0103] In summary, the present disclosure provides a charging control device for use in a power supply circuit 100. The device comprises: a first control module configured to, when no wireless device is detected and a charging adapter is plugged into the wired charging interface, close the wired charging switch and charge the battery at a first voltage through the wired charging port and battery port of the power management chip; and a second control module configured to, when a wireless device is detected and a charging adapter is plugged into the wired charging interface, close the wired charging switch and disable the wireless charging port of the power management chip. While charging the battery at a second voltage through the wired charging port of the power management chip, reverse wireless charging is performed on the wireless device through the wireless charging chip at the second voltage, where the second voltage is lower than the first voltage. The present disclosure simplifies the wireless charging circuit and optimizes the wireless charging control strategy to achieve a low-cost wireless charging solution, making wireless charging more accessible and enabling more users to experience the convenience of wireless charging.

[0104] Figure 8 8 is a block diagram of an electronic device according to an exemplary embodiment. For example, the electronic device 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0105] Reference Figure 8 , the electronic device 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / output interface 812 , a sensor component 814 , and a communication component 816 .

[0106] The processing component 802 generally controls the overall operation of the electronic device 800, such as operations associated with display, phone calls, data communications, camera operation, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to perform all or part of the steps of the above-described method. In addition, the processing component 802 may include one or more modules to facilitate interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.

[0107] The memory 804 is configured to store various types of data to support operations on the electronic device 800. Examples of such data include instructions for any application or method operating on the electronic device 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, or optical disk.

[0108] The power supply assembly 806 provides power to various components of the electronic device 800. The power supply assembly 806 may include the power supply circuit 100 described above, a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 800.

[0109] The multimedia component 808 includes a screen that provides an output interface between the electronic device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor can not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the electronic device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have a focal length and optical zoom capability.

[0110] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), which is configured to receive external audio signals when the electronic device 800 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal can be further stored in the memory 804 or transmitted via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.

[0111] The input / output interface 812 provides an interface between the processing component 802 and peripheral interface modules, such as a keyboard, a click wheel, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.

[0112] The sensor assembly 814 includes one or more sensors for providing various aspects of status assessment for the electronic device 800. For example, the sensor assembly 814 can detect the open / closed state of the electronic device 800, the relative positioning of components, such as the display and keypad of the electronic device 800. The sensor assembly 814 can also detect changes in the position of the electronic device 800 or a component of the electronic device 800, the presence or absence of user contact with the electronic device 800, the orientation or acceleration / deceleration of the electronic device 800, and temperature changes of the electronic device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0113] The communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices. The electronic device 800 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0114] In an exemplary embodiment, the electronic device 800 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above methods.

[0115] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, and the instructions can be executed by the processor 820 of the electronic device 800 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0116] In addition to being an independent electronic device, the above-mentioned electronic device can also be part of an independent electronic device. For example, in one embodiment, the electronic device can be an integrated circuit (IC) or a chip, wherein the integrated circuit can be a single IC or a collection of multiple ICs; the chip can include but is not limited to the following types: GPU (Graphics Processing Unit), CPU (Central Processing Unit), FPGA (Field Programmable Gate Array), DSP (Digital Signal Processor), ASIC (Application Specific Integrated Circuit), SOC (System on Chip, SoC, system on chip or system-on-chip), etc. The above-mentioned integrated circuit or chip can be used to execute executable instructions (or code) to implement the above-mentioned charging method. The executable instructions can be stored in the integrated circuit or chip, or can be obtained from other electronic devices or devices. For example, the integrated circuit or chip includes a processor, a memory, and an interface for communicating with other electronic devices. The executable instruction can be stored in the memory, and when the executable instruction is executed by the processor, the above-mentioned charging method is implemented; alternatively, the integrated circuit or chip can receive the executable instruction through the interface and transmit it to the processor for execution, so as to implement the above-mentioned charging method.

[0117] In another exemplary embodiment, a computer program product is further provided. The computer program product includes a computer program that can be executed by a programmable electronic device, and has a code portion for executing the above charging method when executed by the programmable electronic device.

[0118] Other embodiments of the present disclosure will readily occur to those skilled in the art after considering the specification and practicing the present disclosure. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art not disclosed herein. The description and examples are to be considered as exemplary only, with the true scope and spirit of the present disclosure being indicated by the following claims.

[0119] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes can be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A power supply circuit, characterized in that: include: Wireless charging chip, wired charging switch, power management chip, charge pump chip and wired charging interface; The wireless charging chip is connected to the power management chip, and the wired charging switch is connected to the wired charging interface, the wireless charging chip, the power management chip, and the charge pump chip. The wireless charging chip is used to connect to a wireless device, and the power management chip and the charge pump chip are used to connect to a battery. The wired charging switch is used to control the opening of the path between the wired charging interface and the wireless charging chip, the power management chip and the charge pump chip when wireless reverse charging is turned on, so as to transmit the charging power input by the wired charging interface to the battery and the wireless device, or to control the closing of the path between the wireless charging chip and the wired charging interface and the wired charging port of the power management chip when wireless positive charging is turned on.

2. The power supply circuit according to claim 1, wherein: The wireless charging chip is connected to the wireless charging port of the power management chip, and the wireless charging chip is used to send power to the wireless charging port of the power management chip or receive power from the wireless charging port of the power management chip; The input end of the wired charging switch is connected to the wired charging interface, and the wired charging interface is used to provide charging power to the wired charging switch. The first output end of the wired charging switch is connected to the wired charging port of the power management chip. The second output end of the wired charging switch is connected to the wireless charging chip. The control end of the wired charging switch is connected to the first port of the charge pump chip. The battery port of the power management chip is connected to the battery, and is used to provide charging power to the battery or receive power from the battery; The second port of the charge pump chip is connected to the second output end of the wired charging switch, and the output end of the charge pump chip is connected to the battery for providing power to the battery.

3. The power supply circuit according to claim 1, wherein: The power supply circuit also includes an OTG unit, the input end of the OTG unit is connected to the power output port of the power management chip, the output end of the OTG unit is connected to the wired charging interface, and the OTG unit is used to provide power to the wired charging interface.

4. The power supply circuit according to claim 3, wherein: The OTG unit includes: an OGT booster and an OTG switch connected in series; The input end of the OGT booster is connected to the power output port of the power management chip, and is used to boost the voltage output by the power output port of the power management chip and then output it; The input end of the OTG switch is connected to the output end of the OGT booster, the output end of the OTG switch is connected to the wired charging interface, and the OTG switch is used to control the on and off of the OTG power supply path.

5. The power supply circuit according to any one of claims 1 to 4, characterized in that: The wired charging switch is used to transmit the power provided by the wired charging interface to the wireless charging chip and / or the battery.

6. A charging method applied to the power supply circuit according to any one of claims 1 to 5, characterized in that: The method comprises: When no wireless device is detected and a charging adapter is plugged into the wired charging interface, the wired charging switch is closed, and the battery is charged at a first voltage through the wired charging port and the battery port of the power management chip; When a wireless device is detected to be connected and a charging adapter is inserted into the wired charging interface, the wired charging switch is closed, the wireless charging port of the power management chip is turned off, and while the battery is charged at a second voltage through the wired charging port of the power management chip, reverse wireless charging is performed on the wireless device at the second voltage through the wireless charging chip, where the second voltage is lower than the first voltage.

7. The charging method according to claim 6, characterized in that: The detection of wireless device access is detected by a ping interrupt signal of the wireless charging chip.

8. The charging method according to claim 6, wherein: The method comprises: When wireless reverse charging is enabled and no charging adapter is detected to be plugged into the wired charging interface, the battery performs reverse wireless charging at a third voltage to the wireless device through the wireless charging port of the power management chip and the wireless charging chip; When wireless reverse charging is enabled and a charging adapter is detected to be plugged into the wired charging interface, the wireless charging port of the power management chip is disabled, and the charging adapter performs reverse wireless charging on the wireless device at a fourth voltage through the wired charging switch and the wireless charging chip, where the fourth voltage is lower than the third voltage. When reverse wireless charging is performed using the charging adapter, if it is detected that the charging adapter is unplugged, the wireless charging port of the power management chip is opened, and the battery performs reverse wireless charging to the wireless device at the third voltage through the wireless charging port of the power management chip and the wireless charging chip.

9. The charging method according to claim 8, characterized in that: Insertion or removal of the charging adapter is detected by a plug-in interrupt signal of the power management chip.

10. The charging method according to any one of claims 6 to 9, characterized in that: The wireless charging port of the power management chip is provided with wireless reverse charging power by the charger boost.

11. A charging control device, characterized in that: Applied to a power supply circuit, the power supply circuit includes: a wireless charging chip, a wired charging switch, a power management chip, a charge pump chip and a wired charging interface; The wireless charging chip is connected to the power management chip, and the wired charging switch is connected to the wired charging interface, the wireless charging chip, the power management chip, and the charge pump chip. The wireless charging chip is used to connect to a wireless device, and the power management chip and the charge pump chip are used to connect to a battery. The device comprises: a first control module configured to, when no wireless device is detected and a charging adapter is plugged into the wired charging interface, close the wired charging switch and charge the battery at a first voltage through the wired charging port and the battery port of the power management chip; The second control module is configured to, when detecting that a wireless device is connected and a charging adapter is inserted into the wired charging interface, close the wired charging switch and turn off the wireless charging port of the power management chip, and simultaneously charge the battery at a second voltage through the wired charging port of the power management chip, and reverse wirelessly charge the wireless device at the second voltage through the wireless charging chip, where the second voltage is lower than the first voltage.

12. An electronic device, characterized in that: include: The power supply circuit according to any one of claims 1 to 5, and processor; a memory for storing processor-executable instructions; The processor is configured to execute the executable instructions to implement the method according to any one of claims 6 to 10.

13. A computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the program instructions are executed by a processor, the steps of the method according to any one of claims 6 to 10 are implemented.