Charging method and terminal equipment

By using the first switching capacitor circuit in the terminal device as the boost circuit during reverse charging, the problems of low wired reverse charging power and low efficiency in the prior art are solved, and higher charging power and lower fever.

CN119448470APending Publication Date: 2025-02-14HUAWEI TECH CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202310985783.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-08-07
Publication Date
2025-02-14

AI Technical Summary

Technical Problem

In the prior art, electronic devices such as smartphones and tablets have low charging power and low efficiency during wired reverse charging, resulting in significant heating.

Method used

The first switching capacitor circuit is used as the boost circuit during reverse charging. Compared with the boost circuit, the boost range of the first switching capacitor circuit has a larger conversion efficiency, thereby increasing the reverse charging power of the terminal device and reducing the fever.

Benefits of technology

Through the first switching capacitor circuit, the charging power of wired reverse charging is improved, the charging efficiency is improved, and the heating problem during charging is reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119448470A_ABST
    Figure CN119448470A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a charging method, the method is applied to a first terminal device to charge a second terminal device, the first terminal device comprises a battery, a first switched capacitor circuit and a wired charging interface, and the first switched capacitor circuit is electrically connected between the battery and the wired charging interface. The wired charging interface is connected with the second terminal device through an OTG data line, and the method comprises the following steps: in response to a reverse charging mode of the first terminal device selected by a user, determining that the first terminal device is a main device for providing electric energy in OTG connection; and controlling the first switched capacitor circuit to increase a first output voltage of the battery to a second output voltage, and outputting the second output voltage to the wired charging interface so as to transmit the second output voltage to the second terminal device through the OTG data line. According to the charging method provided by the invention, the charging power of reverse charging can be improved, the efficiency of reverse charging is higher, and the problem of heating during reverse charging is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present application relate to the field of charging technology, and more specifically, to a charging method and a terminal device. Background Art

[0002] OTG stands for "On-The-Go", which refers to a universal serial bus (USB) interface technology that can achieve direct connection and data transmission between devices. The OTG interface allows an OTG-supported device (such as smartphones, tablets and other terminal devices) to act as a host and connect to other USB devices (such as flash drives (U disks), keyboards, mice, terminal devices, etc.) as slaves to achieve functions such as data transmission and file sharing. In addition, the OTG interface can also enable the host device to power other devices through the USB OTG line, achieving wired reverse charging.

[0003] In the current wired reverse charging process of electronic devices such as smart phones and tablets, due to the power and temperature limitations of the buck charging chip, inductor and other components in the charging circuit, the power of wired reverse charging is relatively low, generally within 7.5 W. Moreover, the efficiency of reverse charging is relatively low, generally below 90%, resulting in significant heating during wired reverse charging. Summary of the invention

[0004] The embodiments of the present application provide a charging method and a terminal device, which can improve the charging power of wired reverse charging, and the efficiency of reverse charging is higher, reducing the heat generation problem during wired reverse charging.

[0005] In a first aspect, a charging method is provided, which is applied to a first terminal device charging a second terminal device, the first terminal device comprising a battery, a first switching capacitor circuit and a wired charging interface, the first switching capacitor circuit being electrically connected between the battery and the wired charging interface, the wired charging interface being connected to the second terminal device via an OTG data line, the method comprising: in response to a reverse charging mode of the first terminal device selected by a user, determining that the first terminal device is a main device for providing electrical energy in the OTG connection; controlling the first switching capacitor circuit to increase the first output voltage of the battery to a second output voltage, and outputting the second output voltage to the wired charging interface for transmission to the second terminal device via the OTG data line.

[0006] In some possible implementations, the first switched capacitor circuit includes a charge pump circuit, and the first terminal device further includes a first control circuit, and the first control circuit is used to control the on-off state of one or more transistors in the charge pump circuit.

[0007] The embodiment of the present application uses the first switched capacitor circuit as a boost circuit during reverse charging. Compared with the boost circuit, the first switched capacitor has a wider boost range and higher conversion efficiency, so that the reverse charging power of the terminal device is higher and the heat generation problem is smaller.

[0008] In some possible implementations, the first terminal device also includes a mode switching control circuit, which is used to switch the working mode of the first switch capacitor circuit. The working mode of the first switch capacitor circuit includes a buck mode or a boost mode. In the buck mode, the output end of the first switch capacitor circuit is the battery to achieve forward charging, and in the boost mode, the input end of the first switch capacitor circuit is the battery to achieve reverse charging. Controlling the first switch capacitor circuit to increase the first output voltage of the battery to the second output voltage includes: determining that the working state of the battery is a discharge state; controlling the mode switching control circuit to determine that the input end of the first switch capacitor circuit is the battery and the output end is the wired charging interface, so that the first switch capacitor circuit switches from the buck mode to the boost mode to increase the first output voltage of the battery to the second output voltage.

[0009] In some possible implementations, the mode switching control circuit and the first switch capacitor circuit are integrated in the first switch capacitor chip, and the mode switching control circuit is controlled so that the first switch capacitor circuit switches from a buck mode to a boost mode, including: controlling the mode switching control circuit in the first switch capacitor chip so that the working mode of the first switch capacitor chip switches from a forward charging mode to a reverse charging mode, and when the first switch capacitor chip is in a forward charging mode, the first switch capacitor circuit is in a buck mode, and when the first switch capacitor chip is in a reverse charging mode, the first switch capacitor circuit is in a boost mode.

[0010] The embodiment of the present application uses a mode switching circuit to quickly switch the working mode of the first switch capacitor or the first switch capacitor chip to achieve fast switching between the forward charging mode and the reverse charging mode of the terminal device, and save the occupied space in the terminal device.

[0011] In some possible implementations, the first terminal device is also provided with a first charging switching circuit and a first integrated circuit. The first integrated circuit and the first switching capacitor circuit are connected in parallel between the battery and the wired charging interface. The first charging switching circuit is used to turn on the first integrated circuit and one of the first switching capacitor circuits. The first integrated circuit is used to forward charge the first terminal device. After determining that the first terminal device is a main device for providing power in the OTG connection, the method also includes: controlling the first charging switching circuit, turning off the first integrated circuit and turning on the first switching capacitor circuit, so that the first terminal device switches from using the first integrated circuit for forward charging to using the first switching capacitor circuit for reverse charging.

[0012] The embodiment of the present application implements switching of two charging branches through a first charging switching circuit to implement switching of a forward charging mode and a reverse charging mode of a terminal device.

[0013] In some possible implementations, the first terminal device is also provided with a first step-up chopper boost circuit, which is connected in parallel with the first switch capacitor circuit between the battery and the wired charging interface. Before controlling the first switch capacitor circuit to increase the first output voltage of the battery to the second output voltage, the method also includes: controlling the first boost circuit to increase the first output voltage to a third output voltage, and outputting the third output voltage to the wired charging interface, the third output voltage being less than the second output voltage; controlling the first switch capacitor circuit to increase the first output voltage of the battery to the second output voltage includes: when it is determined that the second terminal device supports a charging voltage of the second output voltage, controlling the first switch capacitor circuit to increase the first output voltage of the battery to the second output voltage.

[0014] In the handshake process between the first terminal device and the second terminal device, in the embodiment of the present application, reverse charging is performed in advance through the first boost circuit until it is determined that the second terminal device can support the second output voltage, thereby improving the efficiency of reverse charging.

[0015] In some possible implementations, the first boost circuit is provided with a boost protection circuit. When the first terminal device switches from using the first boost circuit for reverse charging to using the first switched capacitor circuit for reverse charging, the boost protection circuit is used to protect the first boost circuit during the switching process.

[0016] In the embodiment of the present application, a boost protection circuit is used to prevent the first boost circuit from burning out, so as to ensure the efficiency of reverse charging.

[0017] In some possible implementations, the boost protection circuit includes any one or more of a metal oxide semiconductor field effect transistor (MOS), a diode, a transistor, and a resistor.

[0018] In some possible implementations, a ratio of the second output voltage to the first output voltage is any one or more of 4:1, 3:1, and 2:1.

[0019] In some possible implementations, the first terminal device identifies the second terminal device through any one or several charging protocols including the power transmission PD protocol, the fast charging QC protocol, and the battery charging BC protocol.

[0020] In some possible implementations, the method further includes: acquiring power information of the first terminal device or the second terminal device; and determining the second output voltage according to the power information of the first terminal device or the second terminal device.

[0021] In a second aspect, a terminal device is provided, which includes: a battery; a wired charging interface, which is connected to another terminal device through an OTG data line; a first switch capacitor circuit, which is electrically connected between the battery and the wired charging interface; a control module, which is used to respond to a reverse charging mode of the first terminal device selected by a user, determine that the first terminal device is a main device for providing power in the OTG connection, and control the first switch capacitor circuit to increase the first output voltage of the battery to a second output voltage, and output the second output voltage to the wired charging interface for transmission to the other terminal device through the OTG data line.

[0022] In some possible implementations, the first switched capacitor circuit includes a charge pump circuit, and the control module includes a first control circuit, which is used to control the on-off state of one or more transistors in the charge pump circuit.

[0023] In some possible implementations, the terminal device also includes: a mode switching control circuit, the mode switching control circuit is used to switch the working mode of the first switch capacitor circuit, the working mode of the first switch capacitor circuit includes a buck mode or a boost mode, in the buck mode, the first switch capacitor circuit is used to output a supply voltage to the battery to achieve forward charging, and in the boost mode, the first switch capacitor circuit is used to receive a supply voltage from the battery to achieve reverse charging; the control module is specifically used to: determine that the working state of the battery is a discharge state; control the mode switching control circuit, determine that the input end of the first switch capacitor circuit is the battery and the output end is the wired charging interface, so that the first switch capacitor circuit switches from the buck mode to the boost mode to increase the first output voltage of the battery to the second output voltage.

[0024] In some possible implementations, the terminal device includes: a first switch capacitor chip, the first switch capacitor chip includes the first switch capacitor circuit and the mode switching control circuit; the control module is specifically used to: by controlling the mode switching control circuit in the first switch capacitor chip, switch the working mode of the first switch capacitor chip from the forward charging mode to the reverse charging mode, so that the first switch capacitor chip increases the first output voltage of the battery to the second output voltage, and when the first switch capacitor chip is in the forward charging mode, the first switch capacitor circuit is in the buck mode, and when the first switch capacitor chip is in the reverse charging mode, the first switch capacitor circuit is in the boost mode.

[0025] In some possible implementations, the terminal device also includes: a first integrated circuit, which is connected in parallel with the first switching capacitor circuit between the battery and the wired charging interface, and the first integrated circuit is used to forward charge the first terminal device; a first charging switching circuit, which is used to turn on the first integrated circuit and one of the first switching capacitor circuits; the control module is also used to: control the first charging switching circuit, turn off the first integrated circuit and turn on the first switching capacitor circuit, so that the first terminal device switches from using the first integrated circuit for forward charging to using the first switching capacitor circuit for reverse charging.

[0026] In some possible implementations, the terminal device also includes: a first step-up chopper boost circuit, which is connected in parallel with the first switch capacitor circuit between the battery and the wired charging interface; before the control module controls the first switch capacitor circuit to increase the first output voltage of the battery to the second output voltage, the control module is also used to: control the first boost circuit to increase the first output voltage to a third output voltage, and output the third output voltage to the wired charging interface, and the third output voltage is less than the second output voltage; the control module is specifically used to: when it is determined that the other terminal device supports a charging voltage of the second output voltage, control the first switch capacitor circuit to increase the first output voltage of the battery to the second output voltage.

[0027] In some possible implementations, the first boost circuit is provided with a boost protection circuit, and when the terminal device switches from using the first boost circuit for reverse charging to using the first switched capacitor circuit for reverse charging, the boost protection circuit is used to protect the first Boost circuit during the switching process.

[0028] In some possible implementations, the boost protection circuit includes any one or more of a metal oxide semiconductor field effect transistor (MOS), a diode, a transistor, and a resistor.

[0029] In some possible implementations, a ratio of the second output voltage to the first output voltage is any one or more of 4:1, 3:1, and 2:1.

[0030] In some possible implementations, the terminal device identifies the other terminal device through any one or several charging protocols including the power transmission PD protocol, the fast charging QC protocol, and the battery charging BC protocol.

[0031] In some possible implementations, the control module is further used to: obtain power information of the terminal device or the other terminal device, and determine the second output voltage according to the power information of the terminal device or the other terminal device.

[0032] In a third aspect, a terminal device is provided, comprising: a processor, a memory and a transceiver, the memory being used to store a computer program, and the processor being used to call and run the computer program stored in the memory to execute the method in the above-mentioned first aspect or any possible implementation of the first aspect.

[0033] In a fourth aspect, a chip is provided, which obtains instructions and executes the instructions to implement the method in the above-mentioned first aspect or any possible implementation manner of the first aspect.

[0034] Optionally, as an implementation, the chip includes a processor and a data interface, and the processor reads instructions stored in the memory through the data interface to execute the method in the above-mentioned first aspect or any possible implementation of the first aspect.

[0035] Optionally, as an implementation method, the chip may also include a memory, in which instructions are stored, and the processor is used to execute the instructions stored in the memory. When the instructions are executed, the processor is used to execute the method in the above-mentioned first aspect or any possible implementation method of the first aspect.

[0036] In a fifth aspect, a computer program product comprising instructions is provided. When the instructions are executed by a computing device or a computing device cluster, the computing device or the computing device cluster executes the method in the above-mentioned first aspect or any possible implementation manner of the first aspect.

[0037] In a sixth aspect, a computer-readable storage medium is provided, comprising computer program instructions. When the computer instructions are executed by a computing device or a computing device cluster, the computing device or the computing device cluster executes the method in the above-mentioned first aspect or any possible implementation manner of the first aspect.

[0038] By way of example, these computer-readable storage media include, but are not limited to, one or more of the following: read-only memory (ROM), programmable ROM (PROM), erasable PROM (EPROM), Flash memory, electrically EPROM (EEPROM), and hard drive.

[0039] Optionally, as an implementation manner, the above-mentioned storage medium may specifically be a non-volatile storage medium. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 It is a schematic block diagram of an OTG connection provided in an embodiment of the present application.

[0041] Figure 2 It is a schematic block diagram of an operation interface provided in an embodiment of the present application.

[0042] Figure 3 It is a schematic block diagram of a reverse charging system provided in an embodiment of the present application.

[0043] Figure 4 It is a schematic block diagram of a charging method provided in an embodiment of the present application.

[0044] Figure 5 is a schematic diagram of a first switched capacitor circuit provided in an embodiment of the present application.

[0045] Figure 6 It is a schematic block diagram of a mode switching control circuit provided in an embodiment of the present application.

[0046] Figure 7 It is a schematic block diagram of a charging circuit for realizing reverse charging and forward charging provided in an embodiment of the present application.

[0047] Figure 8 It is a schematic block diagram of another charging circuit provided in an embodiment of the present application.

[0048] Fig. 9 It is a schematic diagram of a terminal device provided in an embodiment of the present application.

[0049] Fig.10 It is a schematic diagram of another terminal device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0050] The following will describe the technical solutions in the embodiments of the present application in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0051] Unless otherwise specified, all technical and scientific terms used in the embodiments of the present application have the same meaning as those commonly understood by those skilled in the art of the present application. The terms used in this application are only for the purpose of describing specific embodiments and are not intended to limit the scope of this application.

[0052] It should be understood that in the various embodiments of the present application, the size of the serial number of each process does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0053] In addition, in the embodiments of the present application, words such as "exemplary" and "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" in the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of the word "exemplary" is intended to present concepts in a concrete way.

[0054] In the embodiments of the present application, "corresponding (corresponding, relevant)" and "corresponding (corresponding)" can sometimes be used interchangeably. It should be pointed out that when the distinction between them is not emphasized, the meanings they intend to express are consistent.

[0055] The network architecture and business scenarios described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. A person of ordinary skill in the art can appreciate that with the evolution of the network architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are equally applicable to similar technical problems.

[0056] References to "one embodiment" or "some embodiments" etc. described in this specification mean that a particular feature, structure or characteristic described in conjunction with the embodiment is included in one or more embodiments of the present application. Thus, the phrases "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear at different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0057] In the present application, "at least one" means one or more, and "plurality" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: including the existence of A alone, the existence of A and B at the same time, and the existence of B alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following items" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, or c can mean: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.

[0058] In order to facilitate understanding of the technical solution of the present application, the professional terms mentioned in the present application are briefly explained below.

[0059] 1.OTG

[0060] OTG stands for "On-The-Go", which refers to a universal serial bus (USB) interface technology that can achieve direct connection and data transmission between devices. The OTG interface allows an OTG-supported device (such as smartphones, tablets and other terminal devices) to act as a host and connect to other USB devices (such as flash drives (U disks), keyboards, mice, terminal devices, etc.) as slaves to achieve data transmission, file sharing and other functions.

[0061] OTG technology allows data transmission between devices without a host. For example, a digital camera can be directly connected to a printer. Through OTG technology, the USB interfaces between the two devices can be connected to print out the photos taken immediately; data in the digital camera can also be sent to a mobile hard disk with a USB interface through OTG. Through OTG technology, USB interface accessories can be added to smart terminals to enrich the functions of smart terminal devices.

[0062] Figure 1 A schematic diagram 100 of an OTG connection is shown. Figure 1 As shown, the wired charging interface 112 of the first terminal device 110 is connected to the wired charging interface 132 of the second terminal device 130 through the OTG data line 120. At this time, the first terminal device 110 can be used as the master device of the OTG connection, responsible for data transmission, device management and power supply, etc., and the second terminal device 130 can be used as the slave device of the OTG connection, responsible for passively receiving the instructions of the master device and performing the operations corresponding to the instructions. In the process of connecting the first terminal device 110 and the second terminal device 120 through the OTG data line 120, the first terminal device 110 will send a request to the second terminal device 120 to inquire whether the second terminal device 130 supports the OTG function. If supported, the first terminal device 110 will switch to the master device mode to power the second terminal device 130. In some embodiments, the wired charging interface 112 and the wired charging interface 132 include but are not limited to a Mini USB interface, a Micro USB interface, a Dock interface, a Lightning interface or a Type-C interface.

[0063] like Figure 1 As shown in the charging icon in the upper right corner of the second terminal device 130, in an embodiment of the present application, the OTG interface can enable the first terminal device 110 as the main device to power the second terminal device 130 through the OTG data line 120, thereby realizing wired reverse charging.

[0064] 2. Reverse charging

[0065] Reverse charging means that the first terminal device 110 mentioned above can be used as a power source to charge the second terminal device 130, for example, by charging through a wired OTG data cable, or by wireless reverse charging through electromagnetic waves emitted by a wireless coil in the terminal device. Correspondingly, forward charging means powering the terminal device through a wired or wireless charger.

[0066] In an embodiment of the present application, a user may select a working mode of the first terminal device on a user interface of the first terminal device 110 to realize power supply of the first terminal device 110 . Figure 2 2 shows a schematic diagram of an operation interface 200. Figure 2As shown, in response to the user selecting the USB connection mode in the user interface 200, the first terminal device 110 determines its working mode. For example, if the user selects the "charge only" option in the USB connection mode, the first terminal device 110 can act as a power receiving end to receive power provided by a charger or other terminal devices; if the user selects the "reverse charging" option in the USB connection mode, the first terminal device can act as a power supply end to provide power to the second terminal device or other terminal devices. In other embodiments of the present application, after the user selects the "reverse charging" option, the first terminal device can also prompt the user to select or adjust the power supply strategy, such as setting a power limit for starting reverse charging, a power limit for ending reverse charging, etc.

[0067] Figure 3 A schematic block diagram of a reverse charging system 300 is shown, wherein an internal system architecture diagram of a first terminal device 110 and a second terminal device 130 is shown.

[0068] like Figure 3 As shown, the OTG data line in the embodiment of the present application includes a voltage bus (VBUS), a D+ line (also called a data line positive electrode or a data positive signal line), a D- line (also called a data line negative electrode or a data negative signal line), an identification line (ID) line (also called a configuration channel (CC) line) and a ground (GND) line. Among them, the D+ line and the D- line can be used for data transmission.

[0069] like Figure 3 As shown, Figure 3 The first terminal device 110 and the second terminal device 130 in the embodiment include a control module 111 and a control module 131 respectively. The control module can be used to implement various functions for the terminal device, such as processing the communication protocol and communication data, or controlling the entire terminal device, executing the software program, and processing the data of the software program; or assisting in completing computing tasks, such as image processing or audio processing.

[0070] like Figure 3As shown, the first terminal device 110 and the second terminal device 130 also include charging circuit modules 113 and 133 and batteries 114 and 134, respectively. The charging circuit module includes a charging circuit, which is used to output a power supply signal to the battery in the case of forward charging, or to receive a power supply signal from the battery and output it to the wired charging interface in the case of reverse charging. For example, the control module 131 can send an output instruction to the charging circuit module 133 to determine that the input end of the charging circuit module is an external power supply signal and the output end is a battery, so as to instruct the charging circuit in the charging circuit module to output a power supply signal to the battery (for example, a power supply signal with a voltage of 4.5V and a current of 1.5A). For another example, the control module 111 can send an input instruction to the charging circuit module 113 to instruct the charging circuit in the charging circuit module to receive the power supply signal of the battery, and amplify the power supply signal and transmit it to the wired charging interface 112. In an embodiment of the present application, the charging circuit module can also be a charging chip, such as a buck charging chip or a switched capacitor chip.

[0071] refer to Figure 3 The charging circuit module 113 and the charging circuit module 133 are connected via a VBUS line, and the VBUS line is used to transmit the power supply voltage. In other words, if the first terminal device is the power supply end, the battery 114 outputs the power supply voltage to the charging circuit module 113, and the charging circuit module 113 transmits the power supply voltage to the charging circuit module 133 via the VBUS line and outputs it to the battery 134.

[0072] It is worth noting that Figure 3 It is only a schematic diagram of a reverse charging system provided by an embodiment of the present application, and the devices, components, modules, etc. shown in the figure do not constitute any limitation. For example, the first terminal device and the second terminal device in the reverse charging system may also include a USB PHY module and be connected through a D+ line and a D- line for underlying signal conversion. For another example, the first terminal device and the second terminal device in the reverse charging system may also include a reverse charging protocol module for matching the reverse charging voltage of the first terminal device and the second terminal device.

[0073] The terminal device in the embodiments of the present application may also be referred to as user equipment (UE), access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent or user device. The terminal device in the embodiments of the present application can be a mobile phone, a tablet computer, a computer with a wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal in industrial control, a wireless terminal in self driving, a wireless terminal in remote medical, a wireless terminal in a smart grid, a wireless terminal in transportation safety, a wireless terminal in a smart city, a wireless terminal in a smart home, a cellular phone, a cordless phone, a session initiation protocol (SIP) phone, a wireless local loop (WLL) station, a personal digital assistant (PDA), a handheld device with a wireless communication function, a computing device or other processing device connected to a wireless modem, a vehicle-mounted device, a vehicle-mounted communication device, a road side unit (road side The invention relates to a wireless communication unit (RSU), an on-board communication processing chip, a wearable device, a terminal device in a 5G network, or a terminal device in a public land mobile network (PLMN) to be evolved in the future.

[0074] In addition, the terminal device can also be a terminal device in the Internet of Things (IoT) system. IoT is an important part of the future development of information technology. Its main technical feature is to connect objects to the network through communication technology, thereby realizing an intelligent network that interconnects people and machines and things.

[0075] At present, during the reverse charging process, if the first terminal device 110 is used as the main power supply device, Figure 3The charging circuit module 113 shown in the figure mostly adopts a boost chopper (boost) circuit, and the charging circuit module 133 mostly adopts a buck chopper (buck) circuit. In this case, the battery 114 outputs a supply voltage (about 4 to 4.5V) to the charging circuit module 113, the boost circuit in the charging circuit module 113 boosts the supply voltage output by the battery, and transmits the boosted supply voltage to the charging circuit module 133 through the VBUS line, and the buck circuit in the charging circuit module 133 steps down the boosted supply voltage to the supply voltage (about 4 to 4.5V) required by the battery 134, and outputs it to the battery 134. In this way, during the reverse charging process, the voltage output by the first terminal device is increased, for example, the boost circuit can increase the supply voltage to 5V or higher, and then the charging power output by the first terminal device is increased, which speeds up the charging speed of the second terminal device to a certain extent.

[0076] However, due to the limitations of the boost circuit and the buck circuit themselves, the charging power output by the first terminal device is generally within 7.5W. The reason is that the boost circuit and the buck circuit realize the process of boosting and bucking through the internally set inductor. Due to the existence of the inductor, during the process of boosting and bucking, the power loss generated is proportional to the square of the difference between the output voltage and the input voltage of the boost and buck circuits. The greater the difference between the output voltage and the input voltage, the lower the conversion efficiency of the boost circuit and the buck circuit. Therefore, the output voltage of the boost circuit and the input voltage of the buck circuit are generally limited to about 5V, resulting in the charging power generally being within 7.5W and cannot be further improved. Moreover, the conversion efficiency is generally below 90%, which leads to the problem of slow charging speed, large charging loss, and obvious heating of the terminal device during reverse charging, thereby reducing the user experience.

[0077] In order to solve the above-mentioned problems of low charging power and low charging efficiency, the present application proposes a charging method 400, which can improve the charging power of wired reverse charging, and the efficiency of reverse charging is higher, reducing the heating problem during wired reverse charging. The charging method 400 is applied to Figure 1 The first terminal device shown charges the second terminal device. In the charging method 400, the charging circuit in the charging circuit module 113 includes a first switch capacitor circuit for boosting. Optionally, the charging circuit in the charging circuit module 133 can be a buck circuit or a second switch capacitor circuit for reducing voltage. The charging method 400 includes steps 410 and 420.

[0078] Step 410: In response to a reverse charging mode of a first terminal device selected by a user, determining that the first terminal device is a main device for providing power in an OTG connection.

[0079] Step 420: Control the first switch capacitor circuit to increase the first output voltage of the battery to a second output voltage, and output the second output voltage to the wired charging interface to be transmitted to the second terminal device through the OTG data line.

[0080] On the one hand, the first switched capacitor circuit uses capacitors as energy storage elements to convert voltage and current. The switched capacitor circuit can increase the output voltage of the battery (about 4 to 4.5V) by N times (N≥2), which is much larger than the 5V output voltage of the boost circuit. At the same time, the conversion efficiency can reach more than 97%. Therefore, method 400 can not only increase the charging power by boosting the voltage through the first switched capacitor circuit, but also solve the problem of heating of the charging circuit module.

[0081] Correspondingly, for the second terminal device, when the wired charging interface of the second terminal device receives the doubled supply voltage output by the first terminal device, if the charging circuit in the charging circuit module 133 is a second switched capacitor circuit, the second switched capacitor circuit reduces the supply voltage increased by N times by N times to obtain the charging voltage required by the battery 134. In this case, since the conversion efficiency of the second switched capacitor circuit can reach more than 97%, the heating problem of the charging circuit module of the second terminal device is also well solved.

[0082] The charging circuit module in the first terminal device is introduced below in conjunction with specific embodiments.

[0083] Figure 5 A schematic diagram of a first switched capacitor circuit 500 is shown, wherein the first switched capacitor circuit includes a charge pump circuit and a first control circuit 550. The first control circuit includes a plurality of gate drivers, which are connected to a plurality of transistors in the charge pump circuit and are used to provide a drive signal to control the on and off states of the plurality of transistors, so that the charge pump circuit can halve or double the output voltage. The drive signal provided by the first control circuit can be Figure 3 The control module in the control circuit may determine the control circuit, or alternatively, the first control circuit may be a part of the control module.

[0084] For example, Figure 5As shown in (a), the first switch capacitor circuit is a dual-phase switch capacitor circuit or a dual-phase charge pump circuit, including an input terminal VIN, an output terminal VOUT, transistors 501 to 504, transistors 505 to 508, and first capacitors 510 and 515 connected in series in sequence. The phases of the drive signals of the two branches of the dual-phase switch capacitor circuit differ by 180° from each other. Taking one of the branches as an example, the first end of transistor 501 is connected to the output terminal VOUT, the connection point between transistor 501 and transistor 502 is connected to the first end of the first capacitor 510, the connection point between transistor 502 and transistor 503 is connected to the input terminal VIN, and the connection point between transistor 503 and transistor 504 is connected to the second end of the first capacitor 510.

[0085] exist Figure 5 In the first switched capacitor circuit shown in (a), the ratio of the output voltage to the input voltage can be 2:1. The principle is that the first switched capacitor circuit is configured to operate in the first phase and the second phase, wherein the phases of the two branches differ by 180° from each other, that is, when the first branch is in the first phase, the second branch is in the second phase, or, when the first branch is in the second phase, the second branch is in the first phase.

[0086] Taking the first branch as an example, during the first phase, transistor 501 and transistor 503 are turned off, and transistor 502 and transistor 504 are turned on. Since transistor 502 and transistor 504 are turned on, a first conductive path is established between VIN and the first capacitor 510. The first conductive path is formed by the input terminal VIN, transistor 502, the first capacitor 510 and transistor 504. Current flows from VIN to the first capacitor 510 through the first conductive path. During the first phase, the first capacitor 510 is charged to the supply voltage of VIN, and energy is stored in the first capacitor 510 accordingly.

[0087] During the second phase, transistor 501 and transistor 503 are turned on, and transistor 502 and transistor 504 are turned off. Since transistor 501 and transistor 503 are turned on, a second conductive path is established. The second conductive path is formed by input terminal VIN, transistor 503, first capacitor 510, transistor 501, and output terminal VOUT. During the second phase, the voltage across first capacitor 510 is the supply voltage of VIN terminal, and one end of first capacitor 510 is connected to VIN terminal, so the output voltage of VOUT terminal is doubled supply voltage of VIN terminal.

[0088] Therefore, the first branch has no output voltage at the VOUT terminal during the first phase, and the output voltage of the second branch at the VOUT terminal during the first phase is twice the input voltage; the output voltage of the second branch during the second phase is 0, and the output voltage of the first branch during the second phase is twice the input voltage. Finally, the two branches are combined, Figure 5 The output voltage of the two-phase switched capacitor circuit shown in (a) is twice the input voltage.

[0089] Similarly, if Figure 5 When the input terminal VIN and the output terminal VOUT in (a) are swapped, the ratio of the output voltage to the input voltage can be 1:2, that is, the voltage reduction process is achieved. The second switched capacitor circuit obtained at this time can be used in the charging circuit module 133 in the second terminal device.

[0090] Figure 5 (b) in FIG. 4 shows another first switched capacitor circuit, which is composed of 16 transistors 521 to 536 and six second capacitors 540 to 545. Figure 5 In the first switched capacitor circuit shown in (b) of FIG. 1 , the ratio of the output voltage to the input voltage can be 4:1. The principle will not be described in detail here. Figure 5 When the input terminal VIN and the output terminal VOUT in (b) are swapped and the type of transistor is replaced, the ratio of the output voltage to the input voltage can be 1:4. At this time, the obtained second switch capacitor circuit can be used for the charging circuit module 133 in the second terminal device. Moreover, Figure 5 The first switched capacitor circuit shown in (b) can also achieve a 1:2 voltage boost or a 2:1 voltage reduction by keeping some transistors in an off state.

[0091] It is worth noting that Figure 5 This is only an example of the first switched capacitor circuit. The first switched capacitor circuit may also include more transistors and capacitors to achieve a 1:2N boost, where N is any positive integer.

[0092] Optionally, in addition to Figure 5 In addition to the first switched capacitor circuit shown, a driving circuit of the first switched capacitor circuit may also be included, for example, a control module is used to control multiple sub-charge pump circuits to achieve soft start of the first switched capacitor circuit with a 1:2 boost or a 1:4 boost.

[0093] It should be noted that, in the embodiments of the present application, Figure 5All transistors in are preferably MOS tubes. In other embodiments, the transistors may also be replaced by other switching elements, such as insulated gate bipolar transistor (IGBT) devices, integrated gate commutated thyristor (IGCT) devices, turn-off thyristor (GTO) devices, silicon controlled rectifier (SCR) devices, junction gate field effect transistor (JFET) devices, MOS controlled thyristor (MCT) devices, gallium nitride (GaN) based power devices, silicon carbide (SiC) based power devices, etc. The embodiments of the present application are not limited to this.

[0094] Optionally, in an embodiment of the present application, the boost ratio of the first switch capacitor circuit and the step-down ratio of the second switch capacitor circuit can be determined based on the battery power of the first terminal device or the battery power of the second terminal device to be charged. For example, when the power of the first terminal device is insufficient, the present application can increase the boost ratio of the first switch capacitor circuit, such as from 1:2 to 1:4, so that the second terminal device can obtain more charging power as much as possible. For another example, when the power of the second terminal device is lower than the first power threshold such as 10%, the boost ratio of the first switch capacitor circuit can be 1:4 or even higher, so that the charging power provided by the first terminal device is higher and the charging speed of the second terminal device is faster. Then, during the charging process of the second terminal device, when the power gradually increases, for example, when it rises to 50%, the boost ratio of the first switch capacitor circuit can be reduced, for example, to 1:3, and when the power rises to 70%, the boost ratio of the first switch capacitor circuit can be further reduced to 1:2. By continuously adjusting the second output voltage and the charging power, although the charging speed is slowed down, the rechargeable battery of the second terminal device can be protected to a certain extent.

[0095] According to the above, when Figure 5 Interchanging the input and output ends shown in the figure can realize the switching of the first switch capacitor circuit between buck and boost, or the switching of forward charging and reverse charging. In an embodiment of the present application, the method for realizing the switching of forward charging and reverse charging can be to realize the switching of the above-mentioned buck and boost through the same first switch capacitor circuit, or to set a first switch capacitor circuit and a first integrated circuit for forward charging, and then realize the switching of forward charging and reverse charging by switching the two charging circuits.

[0096] For example, Figure 6 A schematic block diagram of a terminal device for implementing switching between voltage reduction and voltage increase of the same first switched capacitor circuit is shown. Figure 6As shown, the terminal device includes a mode switching control circuit 600, which is connected to other modules. The mode switching control circuit 600 is used to detect the operation mode or operation parameters of the first terminal device, and determine whether the operation mode of the first switch capacitor circuit is forward charging or reverse charging according to the detection result.

[0097] For example, if the control module 111 detects the operation of the forward charging mode selected by the user, or detects that the input end is connected to an external power supply such as a charger, the control module 111 sends a signal to the mode switching control circuit 600 to prompt the first terminal device to be in the forward charging mode and control the battery to be in a charging state. At this time, the mode switching control circuit 600 uses the external power supply connected to the wired charging interface as the input end of the charging circuit module 113, and the battery 114 as the output end of the charging circuit module 113, so that the charging circuit module or the first switch capacitor circuit in the present application is in a step-down mode, and the power supply voltage of the external power supply is stepped down and provided to the battery.

[0098] For example, if it is detected Figure 2 The operation of the reverse charging mode selected by the user shown, or the detection of the wired charging interface at the input end connected to the slave device connected to the OTG, the control module 111 sends a signal to the mode switching control circuit 600 to prompt the first terminal device to be in the reverse charging mode and control the battery to be in the discharge state. At this time, the mode switching control circuit 600 uses the battery 114 as the input end of the charging circuit module 113, and the external power supply or slave device connected to the wired charging interface as the output end of the charging circuit module 113, so that the charging circuit module or the first switch capacitor circuit in this application is in the boost mode, and the battery power supply voltage is boosted and provided to the slave device.

[0099] Optionally, in an embodiment of the present application, Figure 5 The first switch capacitor circuit, the first control circuit and Figure 6 The mode switching control circuit in the switch capacitor chip can be integrated into the same switch capacitor chip, that is, the charging circuit module is a switch capacitor chip. In other words, by switching the mode in the mode switching control circuit in the switch capacitor chip, the switching of the working modes of the forward charging and reverse charging of the switch capacitor chip is realized.

[0100] For example, Figure 7 A schematic diagram of a charging circuit 700 for realizing reverse charging and forward charging through different charging circuits is shown, wherein the charging circuit 700 includes a first switched capacitor circuit, a first integrated circuit and a first charging switching circuit. Figure 7The direction in indicates the direction of charging, that is, the first switch capacitor circuit is used for reverse charging, and the first integrated circuit is used to forward charge the first terminal device or the battery. The first integrated circuit and the first switch capacitor circuit are connected in parallel between the battery and the wired charging interface. When reverse charging is required, the control module 111 controls the switches and other elements in the first charging switching circuit to make the first integrated circuit open and the first switch capacitor circuit open. Similarly, when forward charging is required, the control module 111 controls the switches and other elements in the first charging switching circuit to make the first integrated circuit open and the first switch capacitor circuit open. In an embodiment of the present application, the first integrated circuit may be a buck circuit or a switch capacitor circuit, a switch capacitor chip, etc. for achieving step-down.

[0101] Optionally, in an embodiment of the present application, Figure 5 The first switch capacitor circuit, the first control circuit and Figure 7 The first integrated circuit and the first charging switching circuit can be integrated in the same switched capacitor chip, that is, the charging circuit module 113 is a switched capacitor chip. In other words, by switching the switch element in the charging switching circuit, the switching of the working mode of the switched capacitor chip between forward charging and reverse charging is realized.

[0102] In an embodiment of the present application, the first terminal device and the second terminal device may further include a reverse charging protocol module to determine the reverse charging protocol that matches the first terminal device and the second terminal device. For example, the control module in the first terminal device is connected to the reverse charging protocol module, and when the wired charging interface of the first terminal device is connected to the second terminal device through the OTG data line, the control module obtains the first reverse charging protocol determined by the reverse charging protocol module. When the control module in the second terminal device determines that the reverse charging protocol module of the second terminal device also supports the first reverse charging protocol, the first terminal device and the second terminal device can establish a connection to achieve reverse charging. When the reverse charging protocol module of the second terminal device does not support the first reverse charging protocol, the first terminal device and the second terminal device can achieve reverse charging through other reverse charging protocols. The reverse charging protocol can be a private fast charging QC (quick charge) protocol or a general BC (battery charging) protocol, PD (power deliver) protocol, etc., wherein the charging voltage or charging power of the QC protocol and the PD protocol is greater than the charging voltage (such as the 5V mentioned above) or charging power of the BC protocol.

[0103] In some embodiments of the present application, the first charging protocol may be the above-mentioned QC protocol and PD protocol, etc., and the second charging protocol may be a BC protocol whose charging power or charging voltage is less than that of the first charging protocol. At this time, the reverse charging protocol module in the first terminal device may send a handshake protocol to the reverse charging protocol module of the second terminal device. If the response information of the reverse charging protocol module of the second terminal device is to support the first charging protocol, it can request a high-power and high-efficiency reverse charging method in the embodiment of the present application, and determine that the first terminal device and the second terminal device are charged through the first charging protocol, that is, the first terminal device and / or the second terminal device can be charged through Figure 4 or Figure 5 The charging circuit module or the switched capacitor chip shown in the figure can realize high-power and high-efficiency reverse charging. If the response information of the reverse charging protocol module of the second terminal device is that the first charging protocol is not supported, it is determined that the first terminal device and the second terminal device are charged through the second charging protocol. At this time, the first terminal device and the second terminal device can realize reverse charging through the original boost / buck circuit.

[0104] In an embodiment of the present application, when the response information of the reverse charging protocol module of the second terminal device has not been received yet, the boost circuit included in the first terminal device can be used to reverse charge the second terminal device in advance. Figure 8 8 shows a schematic block diagram of a charging circuit 800. Figure 8 As shown in (a) of FIG. 8 , the charging circuit 800 includes Figure 5 The first switched capacitor circuit, the first boost circuit, and the second charging switching circuit shown. When waiting for the response information of the reverse charging protocol module of the second terminal device, the second terminal device can be reversely charged in advance through the first boost circuit until the response information is received that the reverse charging protocol module of the second terminal device supports the first charging protocol or the charging voltage of the second terminal device supports the second output voltage in step 420. Figure 8 The second charging switching circuit shown in (a) is used to switch the original charging branch including the first boost circuit to a charging branch including the first switched capacitor circuit.

[0105] Optionally, in the process of switching the charging branch originally including the first boost circuit to the charging branch including the first switched capacitor circuit, the voltage difference across the first boost circuit suddenly increases to the voltage difference of the first switched capacitor circuit, and the boost circuit is at risk of burning out. Figure 8As shown in (b), in an embodiment of the present application, the charging branch including the first boost circuit is also provided with a boost protection circuit. When the first terminal device switches from using the first boost circuit for reverse charging to using the first switch capacitor circuit for reverse charging, the boost protection circuit is used to protect the first Boost circuit during the switching process. The boost protection circuit may include any one or more of a metal oxide semi-conductor field effect transistor MOS tube, a diode, a triode, and a resistor. For example, the boost protection circuit may be an overvoltage protection (OVP) circuit or a transient voltage suppressor (TVS) protection circuit.

[0106] Table 1 shows the results of a charging experiment provided by an embodiment of the present application. In the charging experiment, the same terminal device or Figure 1 The second terminal device shown is charged by different methods respectively to obtain a comparison of charging speeds of the different charging methods.

[0107]

[0108] It can be seen from Table 1 that although the charging speed of the reverse charging method of the present application is lower than that of the forward charging at 20min and 30min, the charging speed is equivalent at 10min; compared with the existing low-power reverse charging method and shared power bank, the charging speed of the reverse charging method of the present application is faster. At 10min, the charging speed is increased by 150% compared with the existing reverse charging method. In addition, the total conversion efficiency of the charging circuit of the reverse charging method of the present application is higher, which is increased by 6%, resulting in 6% less sacrifice of charging capacity.

[0109] Fig. 9 A schematic diagram of a terminal device 900 provided in an embodiment of the present application is shown.

[0110] In some embodiments, the terminal device 900 includes: a battery 910; a wired charging interface 920, which is connected to another terminal device via an OTG data line; a first switching capacitor circuit 930, which is electrically connected between the battery and the wired charging interface; a control module 940, which is used to respond to the reverse charging mode of the terminal device selected by the user, determine that the terminal device is the main device for providing power in the OTG connection, and control the first switching capacitor circuit to increase the first output voltage of the battery to a second output voltage, and output the second output voltage to the wired charging interface for transmission to the other terminal device via the OTG data line.

[0111] In the embodiment of the present application, the control module 940 may be an electronic operation processor. The specific functions and beneficial effects of the control module 940 refer to the description in the above embodiment, and will not be repeated here for the sake of brevity.

[0112] Fig.10 1 is a schematic block diagram of a terminal device 1000 provided in an embodiment of the present application. Fig.10 As shown, the terminal device 1000 includes: at least one processor 1020. The processor 1020 is coupled to the memory and is used to execute instructions stored in the memory to send signals and / or receive signals. Optionally, the device 1000 also includes a memory 1030 for storing instructions. Optionally, the device 1000 also includes a transceiver 1010, and the processor 1020 controls the transceiver 1010 to send signals and / or receive signals.

[0113] It should be understood that the processor 1020 and the memory 1030 may be combined into one processing device, and the processor 1020 is used to execute the program code stored in the memory 1030 to implement the above functions. In specific implementation, the memory 1030 may also be integrated into the processor 1020, or independent of the processor 1020.

[0114] It should also be understood that the transceiver 1010 may include a transceiver (or receiver) and a transmitter (or transmitter). The transceiver may further include an antenna, and the number of antennas may be one or more. The transceiver 1010 may also be a communication interface or an interface circuit.

[0115] In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in a processor or an instruction in the form of software. The steps of the method disclosed in conjunction with the embodiment of the present application can be directly embodied as a hardware processor for execution, or a combination of hardware and software modules in a processor for execution. The software module can be located in a storage medium mature in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in a memory, and the processor reads the information in the memory and completes the steps of the above method in conjunction with its hardware. To avoid repetition, it is not described in detail here.

[0116] It should be noted that the processor in the embodiment of the present application can be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method embodiment can be completed by the hardware integrated logic circuit or software instructions in the processor. The above processor can be a general processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor. The steps of the method disclosed in the embodiment of the present application can be directly embodied as a hardware decoding processor to perform, or the hardware and software modules in the decoding processor can be combined to perform. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.

[0117] It can be understood that the memory in the embodiments of the present application can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), and direct RAM bus RAM (DR RAM). It should be noted that the memory of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.

[0118] According to the charging method provided in the embodiment of the present application, the present application also provides a computer program product, on which a computer program code is stored. When the computer program code is run on a computer, the computer executes the charging method of the present application.

[0119] According to the charging method provided in the embodiment of the present application, the present application also provides a computer-readable medium, which stores a program code. When the program code runs on a computer, the computer executes the charging method of the present application.

[0120] According to the charging method provided in the embodiment of the present application, the present application also provides a system, which includes the aforementioned device or equipment.

[0121] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (digital subscriber line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a high-density digital video disc (DVD)), or a semiconductor medium (eg, a solid state disc (SSD)).

[0122] The network side device in each of the above-mentioned apparatus embodiments corresponds to the network side device or terminal device in the terminal device and method embodiments, and the corresponding modules or units perform the corresponding steps. For example, the communication unit (transceiver) performs the steps of obtaining or sending in the method embodiment, and other steps except sending and obtaining can be performed by the processing unit (processor). The functions of the specific units can refer to the corresponding method embodiments. Among them, the processor can be one or more.

[0123] The terms "component", "module", "system", etc. used in this specification are used to represent computer-related entities, hardware, firmware, a combination of hardware and software, software, or software in execution. For example, a component can be, but is not limited to, a process running on a processor, a processor, an object, an executable file, an execution thread, a program and / or a computer. By way of illustration, both applications running on a computing device and a computing device can be components. One or more components may reside in a process and / or an execution thread, and a component may be located on a computer and / or distributed between two or more computers. In addition, these components may be executed from various computer-readable media having various data structures stored thereon. Components may, for example, communicate through local and / or remote processes based on signals having one or more data packets (e.g., data from two components interacting with another component between a local system, a distributed system and / or a network, such as the Internet interacting with other systems through signals).

[0124] The terms "including" and "having" and any variations thereof in the specification and claims of this application and the above-mentioned drawings are intended to cover non-exclusive inclusions. The terms "first", "second", etc. in the specification and claims of this application or the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order or a primary-secondary relationship.

[0125] It should be understood that the term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. A and B can be singular or plural. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship, but it may also indicate an "and / or" relationship. Please refer to the context for specific understanding.

[0126] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0127] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0128] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0129] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0130] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0131] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0132] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0133] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A charging method, characterized in that: The method is applied to a first terminal device charging a second terminal device, the first terminal device comprising a battery, a first switch capacitor circuit and a wired charging interface, the first switch capacitor circuit being electrically connected between the battery and the wired charging interface, the wired charging interface being connected to the second terminal device via an OTG data line, the method comprising: In response to a reverse charging mode of the first terminal device selected by a user, determining that the first terminal device is a main device for providing power in the OTG connection; The first switch capacitor circuit is controlled to increase the first output voltage of the battery to a second output voltage, and the second output voltage is output to the wired charging interface to be transmitted to the second terminal device through the OTG data line.

2. The method according to claim 1, characterized in that The first switched capacitor circuit includes a charge pump circuit, and the first terminal device further includes a first control circuit, and the first control circuit is used to control the on-off state of one or more transistors in the charge pump circuit.

3. The method according to claim 1 or 2, characterized in that: The first terminal device further includes a mode switching control circuit, the mode switching control circuit is used to switch the working mode of the first switch capacitor circuit, the working mode of the first switch capacitor circuit includes a buck mode or a boost mode, in the buck mode, the output end of the first switch capacitor circuit is the battery to realize forward charging, in the boost mode, the input end of the first switch capacitor circuit is the battery to realize reverse charging, and controlling the first switch capacitor circuit to increase the first output voltage of the battery to the second output voltage includes: Determining that the working state of the battery is a discharge state; The mode switching control circuit is controlled to determine that the input end of the first switch capacitor circuit is the battery and the output end is the wired charging interface, so that the first switch capacitor circuit is switched from the buck mode to the boost mode to increase the first output voltage of the battery to the second output voltage.

4. The method according to claim 3, characterized in that The mode switching control circuit and the first switch capacitor circuit are integrated in a first switch capacitor chip, and controlling the mode switching control circuit so that the first switch capacitor circuit switches from the buck mode to the boost mode includes: The mode switching control circuit in the first switch capacitor chip is controlled so that the working mode of the first switch capacitor chip is switched from the forward charging mode to the reverse charging mode. When the first switch capacitor chip is in the forward charging mode, the first switch capacitor circuit is in the buck mode. When the first switch capacitor chip is in the reverse charging mode, the first switch capacitor circuit is in the boost mode.

5. The method according to claim 1 or 2, characterized in that: The first terminal device is further provided with a first charging switching circuit and a first integrated circuit, the first integrated circuit and the first switching capacitor circuit are connected in parallel between the battery and the wired charging interface, the first charging switching circuit is used to turn on one of the first integrated circuit and the first switching capacitor circuit and turn off the other, the first integrated circuit is used to positively charge the first terminal device, and after determining that the first terminal device is a master device for providing power in the OTG connection, the method further includes: The first charging switching circuit is controlled to turn off the first integrated circuit and turn on the first switch capacitor circuit, so that the first terminal device switches from using the first integrated circuit for forward charging to using the first switch capacitor circuit for reverse charging.

6. The method according to any one of claims 1 to 5, characterized in that: The first terminal device is further provided with a first step-up chopper boost circuit, the first boost circuit and the first switch capacitor circuit are connected in parallel between the battery and the wired charging interface, and the first switch capacitor circuit is controlled to increase the first output voltage of the battery to the second output voltage. The method also includes: Controlling the first boost circuit to increase the first output voltage to a third output voltage, and outputting the third output voltage to the wired charging interface, wherein the third output voltage is lower than the second output voltage; The controlling the first switch capacitor circuit to increase the first output voltage of the battery to a second output voltage comprises: When it is determined that the charging voltage supported by the second terminal device is the second output voltage, the first switch capacitor circuit is controlled to increase the first output voltage of the battery to the second output voltage.

7. The method according to claim 6, characterized in that The first boost circuit is provided with a boost protection circuit. When the first terminal device switches from using the first boost circuit for reverse charging to using the first switched capacitor circuit for reverse charging, the boost protection circuit is used to protect the first boost circuit during the switching process.

8. The method according to claim 7, characterized in that The boost protection circuit includes any one or more of a metal oxide semiconductor field effect transistor (MOS) tube, a diode, a triode, and a resistor.

9. The method according to any one of claims 1 to 8, characterized in that The ratio of the second output voltage to the first output voltage is any one or more of 4:1, 3:1 and 2:

1.

10. The method according to any one of claims 1 to 9, characterized in that The first terminal device identifies the second terminal device through any one or several charging protocols including the power transmission PD protocol, the fast charging QC protocol, and the battery charging BC protocol.

11. The method according to any one of claims 1 to 10, characterized in that The method further comprises: Obtaining power information of the first terminal device or the second terminal device; The second output voltage is determined according to the power information of the first terminal device or the second terminal device.

12. A terminal device, characterized in that: The terminal device comprises: Battery; A wired charging interface, which is connected to another terminal device via an OTG data cable; a first switch capacitor circuit, wherein the first switch capacitor circuit is electrically connected between the battery and the wired charging interface; A control module is used to determine that the first terminal device is a main device for providing power in the OTG connection in response to the reverse charging mode of the first terminal device selected by the user, and control the first switch capacitor circuit to increase the first output voltage of the battery to a second output voltage, and output the second output voltage to the wired charging interface for transmission to the other terminal device through the OTG data line.

13. The terminal device according to claim 12, characterized in that: The first switch capacitor circuit includes a charge pump circuit, and the control module includes a first control circuit, which is used to control the on-off state of one or more transistors in the charge pump circuit.

14. The terminal device according to claim 12 or 13, characterized in that: The terminal device further includes: a mode switching control circuit, wherein the mode switching control circuit is used to switch the working mode of the first switch capacitor circuit, wherein the working mode of the first switch capacitor circuit includes a buck mode or a boost mode, wherein in the buck mode, the first switch capacitor circuit is used to output a supply voltage to the battery to achieve forward charging, and in the boost mode, the first switch capacitor circuit is used to receive a supply voltage from the battery to achieve reverse charging; The control module is specifically used for: Determining that the working state of the battery is a discharge state; The mode switching control circuit is controlled to determine that the input end of the first switch capacitor circuit is the battery and the output end is the wired charging interface, so that the first switch capacitor circuit is switched from the buck mode to the boost mode to increase the first output voltage of the battery to the second output voltage.

15. The terminal device according to claim 14, characterized in that: The terminal device comprises: A first switched capacitor chip, wherein the first switched capacitor chip comprises the first switched capacitor circuit and the mode switching control circuit; The control module is specifically used for: By controlling the mode switching control circuit in the first switch capacitor chip, the working mode of the first switch capacitor chip is switched from the forward charging mode to the reverse charging mode, so that the first switch capacitor chip increases the first output voltage of the battery to the second output voltage. When the first switch capacitor chip is in the forward charging mode, the first switch capacitor circuit is in the buck mode, and when the first switch capacitor chip is in the reverse charging mode, the first switch capacitor circuit is in the boost mode.

16. The terminal device according to claim 12 or 13, characterized in that: The terminal device further includes: a first integrated circuit, wherein the first integrated circuit and the first switched capacitor circuit are connected in parallel between the battery and the wired charging interface, and the first integrated circuit is used to positively charge the first terminal device; a first charging switching circuit, the first charging switching circuit being used to conduct one of the first integrated circuit and the first switched capacitor circuit; The control module is also used for: The first charging switching circuit is controlled to turn off the first integrated circuit and turn on the first switch capacitor circuit, so that the first terminal device switches from using the first integrated circuit for forward charging to using the first switch capacitor circuit for reverse charging.

17. The terminal device according to any one of claims 12 to 16, characterized in that: The terminal device further includes: A first step-up chopper boost circuit, wherein the first boost circuit and the first switch capacitor circuit are connected in parallel between the battery and the wired charging interface; Before the control module controls the first switch capacitor circuit to increase the first output voltage of the battery to a second output voltage, the control module is further configured to: Controlling the first boost circuit to increase the first output voltage to a third output voltage, and outputting the third output voltage to the wired charging interface, wherein the third output voltage is lower than the second output voltage; The control module is specifically used for: When it is determined that the charging voltage supported by the other terminal device is the second output voltage, the first switch capacitor circuit is controlled to increase the first output voltage of the battery to the second output voltage.

18. The terminal device according to claim 17, characterized in that: The first boost circuit is provided with a boost protection circuit. When the terminal device switches from using the first boost circuit for reverse charging to using the first switched capacitor circuit for reverse charging, the boost protection circuit is used to protect the first boost circuit during the switching process.

19. The terminal device according to claim 18, characterized in that: The boost protection circuit includes any one or more of a metal oxide semiconductor field effect transistor (MOS) tube, a diode, a triode, and a resistor.

20. The terminal device according to any one of claims 12 to 19, characterized in that: The ratio of the second output voltage to the first output voltage is any one or more of 4:1, 3:1 and 2:

1.

21. The terminal device according to any one of claims 12 to 20, characterized in that: The terminal device identifies the other terminal device through any one or several charging protocols including the power transmission PD protocol, the fast charging QC protocol, and the battery charging BC protocol.

22. The terminal device according to any one of claims 12 to 21, characterized in that: The control module is further used to: obtain power information of the terminal device or the other terminal device, and determine the second output voltage according to the power information of the terminal device or the other terminal device.

23. A terminal device, characterized in that: include: A processor, a memory and a transceiver, wherein the memory is used to store a computer program, and the processor is used to call and run the computer program stored in the memory to execute the method according to any one of claims 1 to 11.

24. A chip, characterized in that: The chip includes at least one processor. When program instructions are executed by the at least one processor, the method according to any one of claims 1 to 11 is executed.

25. A computer-readable storage medium, characterized in that: Instructions are stored thereon, and when the instructions are executed on a computer, the computer is caused to execute the method according to any one of claims 1 to 11.

26. A computer program product, characterized in that The method comprises computer program instructions which cause a computer to execute the method according to any one of claims 1 to 11.

Citation Information

Cited By

  • Charging method and terminal device

    EP4693804A1

  • Charging method and terminal device

    WO2025030848A1