Charging control method, charging apparatus and charging system
Under the charging protocol, the charger provides a power signal with a multiplied difference in adjacent time periods, which solves the problem of slow ramp-up speed of the charger's output current or voltage and achieves faster charging speed.
Patent Information
- Application Number
- PCT/CN2024/076725
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-19
- Filing Date
- 2024-02-07
- Publication Date
- 2024-10-24
AI Technical Summary
During the charging parameter adjustment process, the current or voltage output by the charger rises slowly, resulting in a slower charging speed.
By using the charger to provide different power signals in two adjacent time periods under the charging protocol, the second electrical parameter is greater than the first electrical parameter, and the difference from the first electrical parameter is the minimum adjustment step supported by the charger. n times, n≥2, to achieve rapid climbing of current or voltage.
The charging speed is increased, the time for the current or voltage to climb to the target value is shortened, and the charging efficiency is improved.
Smart Images

Figure CN2024076725_24102024_PF_FP_ABST
Abstract
Description
Charging control method, charging device and charging system
[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office of China on April 19, 2023, with application number 202310424880.4 and application name “Charging Control Method, Charging Device and Charging System”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The embodiments of the present application relate to the field of electronic technology, and in particular to a charging control method, a charging device, and a charging system. Background Art
[0003] With the rapid development of fast charging technology for terminal devices, the highest charging power has reached over 200W. However, during the charging parameter (voltage or current) adjustment process, the charger output current or voltage usually takes a long time to reach the set current or voltage. As a result, the current or voltage rises slowly during the ramp-up phase, resulting in slow charging speed.
[0004] Summary of the Invention
[0005] The embodiments of the present application provide a charging control method, a charging device, and a charging system, which can increase the current or voltage climbing speed during the current or voltage climbing phase, thereby increasing the charging speed.
[0006] In a first aspect, a charging control method is provided for an electronic device, wherein the electronic device and a charger form a charging system, and the electronic device includes a charging circuit. The method comprises the following steps: after the electronic device and the charger establish a connection based on a first charging protocol, the charging circuit receives a first power signal output by the charger during a first time period under the first charging protocol, the first power signal having a first electrical parameter; and the charging circuit receives a second power signal output by the charger during a second time period under the first charging protocol, the second power signal having a second electrical parameter; the second electrical parameter being greater than the first electrical parameter, the second time period being after the first time period and adjacent to the first time period, and the difference between the second electrical parameter and the first electrical parameter being n times the minimum adjustment step size of the electrical parameter supported by the charger under the first charging protocol, where n is a positive integer greater than or equal to 2.
[0007] In the above scheme, since under a fixed charging protocol, after the electronic device establishes a connection with the charger, the charger provides a charging power signal to the charging circuit of the electronic device with different powers in any two adjacent time periods, and in the first time period of any two adjacent time periods, the electronic device is charged with a first power signal with a first electrical parameter, and in the second time period, the electronic device is charged with a second power signal with a second electrical parameter. Since the second electrical parameter is greater than the first electrical parameter, and the difference between the second electrical parameter and the first electrical parameter is n times the minimum adjustment step of the electrical parameter supported by the charger under the current charging protocol, and n is a positive integer greater than or equal to 2, it is possible to adjust the electrical parameters of the power signal in an adjustment manner that is greater than the minimum adjustment step of the electrical parameters supported by the charging protocol, so that the charging voltage or charging current can quickly climb to the target value, thereby improving the charging speed.
[0008] In one possible implementation, the method further includes: the charging circuit receiving a third power signal output by the charger during a third time period under the first charging protocol, the third power signal having a third electrical parameter; the third electrical parameter being greater than the second electrical parameter; the third time period being after the second time period and adjacent to the second time period; and the difference between the third electrical parameter and the second electrical parameter being m times the minimum adjustment step size of the electrical parameter supported by the charger under the first charging protocol, where m is an integer. The embodiments of the present application do not limit the relationship between m and n; that is, the adjustment values for the two adjustments to the power signal may be the same or different, and may gradually increase or decrease, depending on actual circumstances.
[0009] In one possible implementation, the electronic device further includes a processing circuit, and the method further includes: the processing circuit sending a first control instruction to the charger in a time period preceding the first time period; the first control instruction including a first electrical parameter, or the first control instruction including an electrical parameter of a power signal output by the charger in a time period preceding the first time period; and the charging circuit receiving the first power signal output by the charger in the first time period, including: the charging circuit receiving the first power signal sent by the charger in response to the first control instruction in the first time period. Specifically, the electrical parameter of the first power signal may be the electrical parameter of the first time period preceding the first time period, determined by negotiation based on the first control instruction transmitted by the electronic device to the charger.
[0010] In one possible implementation, the electronic device further includes a processing circuit, and the method further includes: the processing circuit sending a second control instruction to the charger during a first time period, the second control instruction including a second electrical parameter, or the second control instruction including the first electrical parameter; and the charging circuit receiving a second power signal output by the charger during a second time period. The method includes: the charging circuit receiving the second power signal sent by the charger in response to the second control instruction during the second time period. Specifically, the second power signal may be a first time period prior to the second time period, and may be determined by negotiation based on the second control instruction transmitted by the electronic device to the charger.
[0011] In one possible implementation, before the processing circuit sends the second control instruction to the charger during the first time period, the method further includes: the processing circuit detecting the first power signal to obtain a first electrical parameter, where the first electrical parameter includes current or voltage; and the processing circuit determining a second electrical parameter based on a difference between the first electrical parameter and a target value, where the target value is a target charging voltage or a target charging current negotiated between the electronic device and the charger. The second electrical parameter of the second power signal transmitted during the second time period can be determined by the electronic device based on the difference between the first electrical parameter of the first power signal transmitted during the first time period and the target value, where the target value can generally be the maximum value of the negotiated charging current or charging voltage, i.e., the target charging voltage or the target charging current.
[0012] In one possible implementation, a processing circuit determines a second electrical parameter based on a difference between a first electrical parameter and a target value; this includes: the processing circuit determining an adjustment value based on the difference between the first electrical parameter and the target value and a relationship table; the relationship table includes a correspondence between the difference and the adjustment value; and the processing circuit determining the second electrical parameter based on the first electrical parameter and the adjustment value. For example, in the table, a greater difference between the first electrical parameter and the target value corresponds to a greater adjustment value. This can speed up the adjustment of the electrical parameters of the power signal, thereby increasing the rate at which current or voltage rises, thereby improving charging speed.
[0013] In one possible implementation, the processing circuit determines the second electrical parameter based on the difference between the first electrical parameter and the target value; including: the processing circuit rounds a predetermined ratio of the difference between the first electrical parameter and the target value as an adjustment value; the processing circuit determines the second electrical parameter based on the first electrical parameter and the adjustment value. In this example, the first electrical parameter can be adjusted significantly at one time according to the predetermined ratio of the difference to shorten the time of the current or voltage ramp phase. For example, considering the safety of the equipment, a certain margin can be set for the increment of the first electrical parameter (charging voltage), that is, the first electrical parameter (charging voltage) can be adjusted according to the adjustment value determined by the predetermined ratio of the difference between the target value (target charging voltage) and the first electrical parameter.
[0014] In one possible implementation, a processing circuit determines a second electrical parameter based on a difference between a first electrical parameter and a target value; this includes: the processing circuit rounding half of the difference between the first electrical parameter and the target value as an adjustment value; and the processing circuit determining the second electrical parameter based on the first electrical parameter and the adjustment value. That is, the first electrical parameter is adjusted using a binary search method; for example, the first electrical parameter (e.g., charging voltage / current) is increased using a binary search method, with each increase in voltage / current being half the difference between the current charging voltage / current and the target charging voltage / current (|current charging current - target charging current|). This allows for rapid reduction in the current or voltage ramp-up time when the difference between the current charging voltage / current and the target charging voltage / current is large.
[0015] In one possible implementation, the electronic device further includes: a processing circuit and a protection circuit; the protection circuit is configured to connect to a charger, and the charging circuit is connected between the protection circuit and a battery; the processing circuit is connected to the protection circuit and the charging circuit; the method further includes: during a first time period, the processing circuit sends a third control instruction to the protection circuit; the protection circuit increases a protection threshold of an electrical parameter in accordance with the third control instruction, wherein the protection threshold is greater than a target charging voltage or target charging current negotiated between the electronic device and the charger; wherein the protection circuit trips when the electrical parameter exceeds the protection threshold. Typically, a protection circuit is provided in the electronic device, and the charging circuit is connected between the protection circuit and the battery. Specifically, the charging circuit receives a first power signal and a second power signal output by the charger via the protection circuit to charge the battery; wherein the protection circuit is provided with a protection threshold. When the electrical parameter of the first power signal or the second power signal exceeds the protection threshold, the protection circuit trips, thereby ensuring system safety. During the adjustment process of the power signal output by the charger, to avoid triggering the protection threshold, a common practice is to gradually increase the electrical parameter of the power signal according to a minimum adjustment step size during each adjustment process. However, in the embodiment of the present application, since the difference between the second electrical parameter and the first electrical parameter is n times the minimum adjustment step size of the electrical parameter supported by the charger under the first charging protocol, when n is large, the change in the electrical parameter is large, and there is a risk of triggering the protection circuit to trip, causing charging interruption. Therefore, in the embodiment of the present application, during the first time period, the processing circuit can further send a third control instruction to the protection circuit to control the protection circuit to increase the protection threshold of the electrical parameter, setting the protection threshold to be greater than the target charging voltage or target charging current negotiated between the electronic device and the charger. For example, the protection threshold for overvoltage protection can be increased from 150% of the target charging voltage to 180% of the target charging voltage; the protection threshold for overcurrent protection can be increased from 6A (target charging current) to 8A, etc. This avoids adjusting the electrical parameter of the power signal output by the charger by n times the minimum adjustment step size at once, which could trigger the protection circuit to trip.
[0016] In one possible implementation, an electronic device includes: a processing circuit; a charging circuit coupled to a charger, the charging circuit also connected to a battery; the processing circuit connected to the charging circuit; and a method further comprising: during a first time period, the processing circuit sending a fourth control instruction to the charging circuit; and the charging circuit increasing the link impedance between the charger and the battery in response to the fourth control instruction. Typically, a protection circuit is provided in the electronic device, and the charging circuit is connected between the protection circuit and the battery. Specifically, the charging circuit receives a first power signal and a second power signal output by the charger through the protection circuit to charge the battery. The protection circuit is provided with a protection threshold, and when an electrical parameter of the first power signal or the second power signal exceeds the protection threshold, the protection circuit trips, thereby ensuring system safety. In an embodiment of the present application, since the difference between the second electrical parameter and the first electrical parameter is n times the minimum adjustment step size of the electrical parameter supported by the charger under a first charging protocol, when n is large, the change in the electrical parameter is large, posing a risk of triggering the protection circuit to trip, resulting in charging interruption. Therefore, in an embodiment of the present application, during the first time period, the processing circuit may send a fourth control instruction to the charging circuit to control the charging circuit to increase the link impedance between the charger and the battery. In this way, when the charger output voltage is constant, increasing the link impedance can effectively reduce the charging current, preventing the current from overcharging and reaching the protection threshold, causing the protection circuit to trip.
[0017] In one possible implementation, a charging circuit includes a control circuit, a switch connected in series between the charger and the battery, and a power conversion circuit. The control circuit connects the switch, the power conversion circuit, and the processing circuit. In response to a fourth control instruction, the control circuit controls the switch to switch to a low dropout regulator (LDO) mode. In this example, the charging circuit may employ an LDO, wherein the LDO includes a switch connected in series with the charging link. Link impedance can be increased by controlling the switch in the charging path from a pass-through mode to an LDO mode. In LDO mode, the impedance of the switch can be increased from a few milliohms to hundreds of milliohms.
[0018] In a second aspect, a charging control method is provided. This method is applied to a charger, wherein the charger and an electronic device form a charging system, and the charger includes a power conversion circuit. The method comprises: after the charger and the electronic device establish a connection based on a first charging protocol, the power conversion circuit outputs a first power signal having a first electrical parameter to the electronic device during a first time period under the first charging protocol; the power conversion circuit outputs a second power signal having a second electrical parameter to the electronic device during a second time period under the first charging protocol; the second electrical parameter is greater than the first electrical parameter, the second time period is after the first time period and adjacent to the first time period, and the difference between the second electrical parameter and the first electrical parameter is n times the minimum adjustment step size supported by the charger under the first charging protocol, where n is a positive integer greater than or equal to 2.
[0019] In one possible implementation, the method further includes: the power conversion circuit outputs a third power signal to the electronic device in a third time period under the first charging protocol, the third power signal having a third electrical parameter; the third electrical parameter is greater than the second electrical parameter, the third time period is after the second time period and adjacent to the second time period, and the difference between the third electrical parameter and the second electrical parameter is m times the minimum adjustment step of the electrical parameter supported by the charger under the first charging protocol, where m is an integer.
[0020] In one possible implementation, the charger further includes a processing circuit, and the method further includes: the processing circuit receives a first control instruction sent by the electronic device in a time period before the first time period, the first control instruction includes a first electrical parameter, or the first control instruction includes an electrical parameter of a power signal output by the charger in a time period before the first time period; the power conversion circuit outputs a first power signal to the electronic device in the first time period; including: the power conversion circuit sends the first power signal to the electronic device in response to the first control instruction in the first time period.
[0021] In one possible implementation, the charger further includes a processing circuit, and the method further includes: the processing circuit receives a second control instruction sent by the electronic device in a first time period, the second control instruction includes a second electrical parameter, or the second control instruction includes the first electrical parameter in the first time period; the power conversion circuit outputs a second power signal to the electronic device in the second time period; including: the power conversion circuit sends the second power signal to the second electronic device in response to the second control instruction in the second time period.
[0022] In one possible implementation, after the processing circuit receives a second control instruction sent by the electronic device in a first time period, the method further includes: the processing circuit determines the second electrical parameter based on the difference between the first electrical parameter and the target value, where the target value is a target charging voltage or a target charging current negotiated between the electronic device and the charger.
[0023] In one possible implementation, the processing circuit determines the second electrical parameter based on the difference between the first electrical parameter and the target value; including: the processing circuit determines the adjustment value based on the difference between the first electrical parameter and the target value and a relationship table; the relationship table contains a correspondence between the difference and the adjustment value; the processing circuit determines the second electrical parameter based on the first electrical parameter and the adjustment value.
[0024] In one possible implementation, the processing circuit determines the second electrical parameter based on the difference between the first electrical parameter and the target value; including: rounding a predetermined ratio of the difference between the first electrical parameter and the target value as an adjustment value; the processing circuit determines the second electrical parameter based on the first electrical parameter and the adjustment value.
[0025] In one possible implementation, the processing circuit determines the second electrical parameter based on the difference between the first electrical parameter and the target value; including: the processing circuit rounds half of the difference between the first electrical parameter and the target value as an adjustment value; the processing circuit determines the second electrical parameter based on the first electrical parameter and the adjustment value.
[0026] In a third aspect, a charging device is provided for use in an electronic device, which may be the electronic device itself or a chip or chip system provided in the electronic device. The charging device includes: a processing circuit and a charging circuit; the processing circuit is configured to establish a connection with a charger based on a first charging protocol; the charging circuit is configured to receive a first power signal output by the charger during a first time period under the first charging protocol, the first power signal having a first electrical parameter; and receive a second power signal output by the charger during a second time period under the first charging protocol, the second power signal having a second electrical parameter; the second electrical parameter being greater than the first electrical parameter, the second time period being after the first time period and adjacent to the first time period, and the difference between the second electrical parameter and the first electrical parameter being n times the minimum adjustment step size supported by the charger under the first charging protocol, where n is a positive integer greater than or equal to 2.
[0027] In one possible implementation, the charging circuit is further configured to receive a third power signal output by the charger in a third time period under the first charging protocol, where the third power signal has a third electrical parameter; the third electrical parameter is greater than the second electrical parameter, the third time period is after the second time period and adjacent to the second time period, and the difference between the third electrical parameter and the second electrical parameter is m times the minimum adjustment step of the electrical parameter supported by the charger in the first charging protocol, where m is an integer.
[0028] In one possible implementation, the processing circuit is further configured to send a first control instruction to the charger in a time period preceding the first time period; the first control instruction includes a first electrical parameter, or the first control instruction includes an electrical parameter of a power signal output by the charger in a time period preceding the first time period; and the charging circuit is specifically configured to receive, in the first time period, a first power signal sent by the charger in response to the first control instruction.
[0029] In one possible implementation, the processing circuit is further configured to send a second control instruction to the charger during the first time period, where the second control instruction includes the second electrical parameter, or the second control instruction includes the first electrical parameter during the first time period; and the charging circuit is specifically configured to receive a second power signal sent by the charger in response to the second control instruction during the second time period.
[0030] In one possible implementation, the processing circuit is also used to detect the first power signal to obtain a first electrical parameter, where the first electrical parameter includes current or voltage; and determine a second electrical parameter based on a difference between the first electrical parameter and a target value, where the target value is a target charging voltage or a target charging current negotiated between the electronic device and the charger.
[0031] In one possible implementation, the processing circuit is specifically used to determine the adjustment value based on the difference between the first electrical parameter and the target value and a relationship table; the relationship table contains the correspondence between the difference and the adjustment value; and determine the second electrical parameter based on the first electrical parameter and the adjustment value.
[0032] In a possible implementation, the processing circuit is specifically configured to round a predetermined ratio of a difference between the first electrical parameter and the target value as an adjustment value; and determine the second electrical parameter according to the first electrical parameter and the adjustment value.
[0033] In a possible implementation, the processing circuit is specifically configured to round half of a difference between the first electrical parameter and the target value as the adjustment value; and determine the second electrical parameter according to the first electrical parameter and the adjustment value.
[0034] In one possible implementation, the electronic device further includes a processing circuit and a protection circuit; the protection circuit is connected to the charger, and the charging circuit is connected between the protection circuit and the battery; the processing circuit is connected to the protection circuit and the charging circuit; in a first time period, the processing circuit is used to send a third control instruction to the protection circuit; the protection circuit is used to increase the protection threshold of the electrical parameter according to the third control instruction, and the protection threshold is greater than the target charging voltage or target charging current negotiated between the electronic device and the charger; wherein, when the electrical parameter is greater than the protection threshold, the protection circuit is disconnected.
[0035] In one possible implementation, the electronic device further includes a processing circuit, a charging circuit coupled to a charger, and the charging circuit is also connected to a battery; the processing circuit is connected to the charging circuit; in a first time period, the processing circuit is configured to send a fourth control instruction to the charging circuit; and the charging circuit increases the link impedance between the charger and the battery in response to the fourth control instruction.
[0036] In a possible implementation, the charging circuit is configured to switch to the LDO mode in response to a fourth control instruction.
[0037] In a fourth aspect, a charging device is provided for use in a charger, which may be the charger itself or a chip or chip system used in charging. The charging device includes: a processing circuit and a power conversion circuit; the processing circuit is configured to establish a connection with an electronic device based on a first charging protocol; the power conversion circuit is configured to output a first power signal having a first electrical parameter to the electronic device during a first time period under the first charging protocol; and output a second power signal having a second electrical parameter to the electronic device during a second time period under the first charging protocol; the second electrical parameter is greater than the first electrical parameter, the second time period is after the first time period and adjacent to the first time period, and the difference between the second electrical parameter and the first electrical parameter is n times the minimum adjustment step size supported by the charger under the first charging protocol, where n is a positive integer greater than or equal to 2.
[0038] In one possible implementation, the power conversion circuit is further configured to output a third power signal to the electronic device in a third time period under the first charging protocol, where the third power signal has a third electrical parameter; the third electrical parameter is greater than the second electrical parameter, the third time period is after the second time period and adjacent to the second time period, and the difference between the third electrical parameter and the second electrical parameter is m times the minimum adjustment step of the electrical parameter supported by the charger under the first charging protocol, where m is an integer.
[0039] In one possible implementation, the processing circuit is further used to receive a first control instruction sent by the electronic device in a time period before the first time period, where the first control instruction includes a first electrical parameter, or the first control instruction includes an electrical parameter of a power signal output by the charger in a time period before the first time period; the power conversion circuit is specifically used to send a first power signal to the electronic device in response to the first control instruction in the first time period.
[0040] In one possible implementation, the processing circuit is further used to receive a second control instruction sent by the electronic device in a first time period, where the second control instruction includes a second electrical parameter, or the second control instruction includes the first electrical parameter in the first time period; the power conversion circuit is specifically used to send a second power signal to the second electronic device in response to the second control instruction in the second time period.
[0041] In one possible implementation, the processing circuit is specifically configured to determine the second electrical parameter based on a difference between the first electrical parameter and a target value, where the target value is a target charging voltage or a target charging current negotiated between the electronic device and the charger.
[0042] In one possible implementation, the processing circuit is specifically used to determine the adjustment value based on the difference between the first electrical parameter and the target value and a relationship table; the relationship table contains the correspondence between the difference and the adjustment value; and determine the second electrical parameter based on the first electrical parameter and the adjustment value.
[0043] In a possible implementation, the processing circuit is specifically configured to round a predetermined ratio of a difference between the first electrical parameter and the target value as an adjustment value; and determine the second electrical parameter according to the first electrical parameter and the adjustment value.
[0044] In a possible implementation, the processing circuit is specifically configured to round half of a difference between the first electrical parameter and the target value as the adjustment value; and determine the second electrical parameter according to the first electrical parameter and the adjustment value.
[0045] In a fifth aspect, a chip is provided, comprising the charging device as described in the third aspect or the fourth aspect and possible implementations thereof.
[0046] In a sixth aspect, a charging system is provided, including an electronic device and a charger, wherein the electronic device includes the charging device according to the third aspect and its possible implementation.
[0047] In a seventh aspect, a charging system is provided, comprising an electronic device and a charger, wherein the charger comprises a charging device as in the fourth aspect and possible implementations thereof.
[0048] Among them, the technical problems solved by the second to seventh aspects and their possible implementation methods and the technical effects achieved can be referred to the description in the first aspect and its possible implementation methods, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] FIG1 is a schematic structural diagram of a charging system provided in an embodiment of the present application;
[0050] FIG2 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
[0051] FIG3 is a schematic diagram of the structure of an interface provided in an embodiment of the present application;
[0052] FIG4 is a schematic structural diagram of an electronic device provided by another embodiment of the present application;
[0053] FIG5 is a schematic structural diagram of an electronic device provided in yet another embodiment of the present application;
[0054] FIG6 is a schematic diagram of a charging voltage adjustment method provided in an embodiment of the present application;
[0055] FIG7 is a schematic diagram of a charging current regulation method provided in an embodiment of the present application;
[0056] FIG8 is a flow chart of a charging control method provided in an embodiment of the present application;
[0057] FIG9 is a schematic diagram of an equivalent circuit of a charging system provided in an embodiment of the present application;
[0058] FIG10 is a schematic diagram of a charging voltage and charging current variation process provided by an embodiment of the present application;
[0059] FIG11 is a schematic diagram of a charging voltage and charging current variation process provided by another embodiment of the present application;
[0060] FIG12 is a schematic diagram of a change process of a charging voltage and a charging current provided in another embodiment of the present application;
[0061] FIG13 is a schematic diagram of a charging voltage and charging current variation process provided by yet another embodiment of the present application;
[0062] FIG14 is a schematic diagram of a charging voltage and charging current variation process provided by another embodiment of the present application;
[0063] FIG15 is a schematic diagram of a charging voltage and charging current variation process provided by another embodiment of the present application;
[0064] FIG16 is a schematic diagram of a charging current variation process provided by another embodiment of the present application;
[0065] FIG17 is a schematic diagram of a charging current variation process provided by another embodiment of the present application;
[0066] FIG18 is a schematic structural diagram of an electronic device provided in yet another embodiment of the present application;
[0067] FIG19 is a schematic structural diagram of an electronic device provided by another embodiment of the present application;
[0068] FIG20 is a schematic structural diagram of a charging device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0069] The technical solutions in some embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings.
[0070] In the following, the terms "first", "second", etc. are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, features defined as "first", "second", etc. may explicitly or implicitly include one or more of the features. In the description of this application, unless otherwise specified, "multiple" means two or more. Unless otherwise clearly specified and defined, the term "connection" should be understood in a broad sense. For example, "connection" can be a fixed connection, a detachable connection, or an integral whole; it can be directly connected or indirectly connected through an intermediate medium. When used to describe a three-port switch (also called a switching device, such as a switch tube or a switching transistor), "first end" and "second end" may refer to the connection ends of the switch, respectively, and "control end" may refer to the control end of the switch. For example, for a metal-oxide-semiconductor field-effect transistor (MOSFET), the control terminal may refer to the gate (g) of the MOSFET, the first terminal may refer to the source (s) of the MOSFET, and the second terminal may refer to the drain (d) of the MOSFET, or the first terminal may refer to the drain of the MOSFET and the second terminal may refer to the source of the MOSFET. In the embodiments of the present application, each switch may include a MOSFET. However, in order to minimize the increase in internal resistance caused by switches connected in series on the line, each switch may also include two or more MOSFETs connected in parallel.
[0071] The technical solution in this application will be described below with reference to the accompanying drawings.
[0072] The switching power supply circuit and switching power supply provided in the embodiments of the present application can be applied to electronic devices such as mobile phones, tablet computers, laptop computers, ultra-mobile personal computers (UMPCs), handheld computers, netbooks, personal digital assistants (PDAs), wearable electronic devices, virtual reality devices, or chargers for the above electronic devices.
[0073] As shown in FIG1 , an embodiment of the present application provides a charging system consisting of an electronic device 10 and a charger 20. Typically, the charger 20 includes a housing and a power conversion circuit installed within the housing, wherein the input side of the power conversion circuit is typically connected to the mains (e.g., 220V AC mains) via a plug provided on the housing, and the output side of the power conversion circuit is connected to the electronic device 10 via a plug 200. In addition, the power conversion circuit can typically be soldered to a printed circuit board PCB within the housing. In some examples, the charger 20 is also referred to as a power adapter, and in some typical applications, the power conversion circuit can typically employ a switching circuit.
[0074] For example, FIG2 shows a schematic structural diagram of an electronic device 10 .
[0075] As shown in Figure 2, the electronic device 10 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging circuit 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc.
[0076] It should be understood that the structure illustrated in this embodiment does not constitute a specific limitation on the electronic device 10. In other embodiments of the present application, the electronic device 10 may include more or fewer components than shown, or may combine or separate certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0077] Processor 110 may include one or more processing units.
[0078] For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU). The different processing units may be independent devices or integrated into one or more processors.
[0079] In some embodiments, the electronic device 10 may also include one or more processors 110. The processor 110 may be the nerve center and command center of the electronic device 10. The processor 110 may generate operation control signals based on instruction opcodes and timing signals to control instruction fetching and execution.
[0080] The processor 110 may also include a memory for storing instructions and data.
[0081] In some embodiments, the memory in processor 110 is a high-speed cache memory. This memory can store instructions or data that have just been used or are being recycled by processor 110. If processor 110 needs to use the instruction or data again, it can directly call it from the memory. This avoids repeated accesses, reduces the waiting time of processor 110, and thus improves the efficiency of the electronic device 10 system.
[0082] In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface.
[0083] The USB interface 130 is an interface that complies with USB standards and specifications, and may be a Mini USB interface, a Micro USB interface, a USB Type-C interface, etc. The USB interface 130 can be used to connect to the power adapter 20 to charge the electronic device 10, to transfer data between the electronic device 10 and peripheral devices, and to connect headphones to play audio through the headphones.
[0084] It is understood that the interface connection relationship between the modules illustrated in the embodiment of the present invention is merely an illustrative illustration and does not constitute a structural limitation on the electronic device 10. In other embodiments of the present application, the electronic device 10 may also adopt a different interface connection method from the above embodiment, or a combination of multiple interface connection methods.
[0085] The charging circuit 140 is configured to receive a charging input from a charger. While charging the battery 142 , the charging circuit 140 can also provide power to the electronic device 10 through the power management module 141 .
[0086] In some embodiments, the charging circuit 140 may receive a charging input (eg, a charging current or a charging voltage) from a charger through the USB interface 130 .
[0087] The power management module 141 is used to connect the battery 142, the charging circuit 140, and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging circuit 140 and provides power to the processor 110, the internal memory 121, the display 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle count, and battery health status (leakage, impedance), etc.
[0088] In some embodiments, the power management module 141 may also be provided in the processor 110. In other embodiments, the power management module 141 and the charging circuit 140 may also be provided in the same device.
[0089] In addition, in combination with Figure 1, in order to enable the above-mentioned electronic device 10 to be coupled with the charger 20, the charger 20 may include a plug 200 that is plugged into the USB interface 130 of the electronic device. Referring to Figure 3, the above-mentioned plug may be a Type-C interface. The Type-C interface may include a CC pin as shown in Figure 3. The type of external device coupled to the Type-C interface can be identified by the CC pin. In addition, as shown in Figure 3, both the A side and the B side of the Type-C interface include two symmetrically arranged VBUS pins (used to provide USB voltage, pins 4 and pin 9, which serve as voltage output terminals in the embodiment of the present application), a CC pin (pin 5), a D+ pin (pin 6 on the A side and pin 7 on the B side), a D- pin (pin 7 on the A side and pin 6 on the B side) and an SBU pin (pin 8 is a spare pin, where the A side is marked as SBU1 and the B side is marked as SBU2). In addition, the plug may also have other pins for grounding, idle, etc., wherein when the plug 200 of the switching power supply 20 is inserted into the USB interface 130 of the electronic device 10, the electronic device 10 can be charged or powered.
[0090] In order to achieve normal charging or fast charging of the battery, as shown in Figure 4, the charging circuit 140 may include a first charging circuit 143 for charging the battery, the power supply end of the first charging circuit 143 is connected to the VBUS pin of the USB interface 130, and the charging end Vbat of the first charging circuit 143 is connected to the battery 142. The processor 110 or the charging management module 141 can control the first charging circuit 143 according to the charging protocol, and then convert the voltage of the power supply end into a voltage Vbat near the battery voltage (usually 5V) through the first charging circuit 143, and then use the voltage Vbat to charge the battery 142. As shown in Figure 4, the first charging circuit 143 also includes a system voltage end Vsys, which is used to provide voltage to the load circuit Rload. In some examples, the charging circuit 140 may also include a second charging circuit 144 for fast charging the battery 142, and the second charging circuit 144 is connected between the power supply end and the charging end Vbat. The processor 110 or the charging circuit 140 can control the second charging circuit 144 according to the charging protocol, and then convert the voltage of the power supply end into a voltage Vbat near the battery voltage (usually 5V) through the second charging circuit 144, and then use the voltage Vbat to charge the battery 142. It should be noted that in order to enable the above-mentioned electronic device to be usually coupled to an external device (such as a charger, analog headphones, digital headphones, mobile storage devices, mobile terminals, etc.) through the USB interface 130. Usually, the power supply end of the first charging circuit 143 is coupled to the VBUS pin. When an external charger is connected through the USB interface 130, the electronic device can negotiate the charging voltage with the charger through the charging protocol based on pins such as the CC pin, D+ pin, and D- pin. For example, for a charger that supports the power delivery (PD) charging protocol, the charging parameters are negotiated through the CC pin; for a charger that supports the supercharger protocol (SCP), the charging parameters are negotiated through the D+ pin and the D- pin.
[0091] Typically, the first charging circuit 143 shown in FIG. 4 may be a BUCK circuit, and the second charging circuit 144 may be an SC circuit.
[0092] In addition, as shown in Figure 5, the mainstream charging solution is that the electronic device also includes a PD protocol circuit and an SCP protocol circuit for implementing charging protocol detection, wherein the PD protocol circuit is connected to the CC pin of the USB interface 130, and the SCP protocol circuit is connected to the D+ / D- pins of the USB interface 130. When the charger is plugged into the USB interface 130, the PD protocol circuit detects (based on the PD charging protocol) that the charger supports normal charging, and then controls the BUCK circuit to achieve the conversion ratio of the input voltage and output voltage; the SCP protocol circuit detects (based on the SCP charging protocol) that the charger supports fast charging, and then controls the SC circuit to achieve the conversion ratio of the input voltage and output voltage. It should be noted that the PD protocol circuit and the SCP protocol circuit can be separately provided processors, MCUs, or other logic circuits, or integrated into the processor 110 or power management module 141 shown in Figure 2 above. Of course, in order to save external analog devices (such as MCUs and other logic circuits), the BUCK circuit and the PD protocol circuit can also be integrated into the same BUCK chip, and / or the SC circuit and the SCP protocol circuit can be integrated into the same SC chip. In addition, as shown in Figures 4 and 5, a protection circuit 145 is also included between the USB interface 130 and the charging circuit 140. The protection circuit 145 is provided with a protection threshold. When the electrical parameters of the power signal output by the charger exceed the protection threshold, the protection circuit 145 can be triggered to disconnect, thereby disconnecting the path between the USB interface 130 and the charging circuit 140, stopping charging, and ensuring system safety and stability.
[0093] With the rapid development of fast-charging technology for electronic devices, the highest charging power has reached over 200W. However, during the adjustment process of charging parameters (voltage or current), the current or voltage output by the charger is usually adjusted in small fixed steps (amplitude), taking a long time to reach the set current or voltage. As a result, the current or voltage rises slowly during the ramp-up phase, resulting in slow charging speed.
[0094] For example, one method for increasing charging current is: under the charging protocol determined by the charger and the electronic device, the electronic device sends a charging control instruction, causing the charging voltage output by the charger's control power conversion circuit to be fine-tuned from the current voltage to the negotiated target voltage through a fixed step size. Because the impedance of the charging path between the charger and the battery of the electronic device remains essentially unchanged, the charging current flowing into the battery will also increase as the charging voltage increases, gradually reaching the set current. Referring to Figure 6, for example, under the current charging protocol, the charging voltage adjustment step size is a fixed step size ΔV = 0.02V. If the initial charging voltage is 3.6V and the initial current is 0.5A; the negotiated target voltage is 5.8V and the target current is 6A, then if each adjustment of the charging voltage by ΔV = 0.02V takes 250ms, it will take more than 27.5s to adjust the charging voltage to the target voltage (i.e., reaching 5.8V at time T0).
[0095] In another charging current boost method, the charger sets a maximum output voltage and then sets the output current based on the current capability. The charger controls the charging current output by the power conversion circuit to gradually reach the negotiated maximum output current through fixed step adjustments from the current current. Referring to Figure 7, for example, under the current charging protocol, the charging current adjustment step is a fixed step size ΔI = 100mA. If the initial charging voltage is 3.6V and the initial current is 0.5A, and the negotiated target voltage is 5.8V and the target current is 6A, then if each adjustment of ΔI = 100mA takes 250ms, then adjusting the charging current to the target value will take more than 13.75s.
[0096] In the process of the charging voltage or charging current climbing to the target value, since the electronic device cannot be charged at the maximum target voltage or target current throughout the entire climbing stage, the longer the climbing stage is, the slower the charging speed.
[0097] To increase the charging speed during the charging voltage or charging current ramp-up phase, embodiments of the present application provide a charging control method for an electronic device. The electronic device and a charger form a charging system, wherein the electronic device includes the charging circuit provided in the above example, and the charger includes a power conversion circuit. Referring to FIG8 , the method specifically includes the following steps:
[0098] S101: An electronic device establishes a connection with a charger based on a first charging protocol.
[0099] Exemplarily, the first charging protocol includes, but is not limited to, the aforementioned PD and SCP charging protocols. The PD charging protocol mechanism is as follows: the charger first broadcasts a list of its charging capabilities in a broadcast message. After receiving the broadcast message, the electronic device reads the list of charging capabilities, selects a supported charging capability from the list, and initiates a charging request to the charger. The SCP charging protocol mechanism is as follows: the electronic device queries the charger for its charging capabilities, and after receiving the list of charging capabilities returned by the charger, selects a supported charging capability from the list and initiates a charging request to the charger, thereby establishing a connection between the electronic device and the charger.
[0100] S102: The power conversion circuit of the charger outputs a first power signal to the electronic device in a first time period under a first charging protocol.
[0101] S103: The charging circuit of the electronic device receives a first power signal output by the charger in a first time period under a first charging protocol, where the first power signal has a first electrical parameter.
[0102] Specifically, the electronic device and the charger may further include a processing circuit. Prior to step S102, the processing circuit of the electronic device may send a first control instruction to the processing circuit of the charger in a time period prior to the first time period. The first control instruction may include a first electrical parameter, or the first control instruction may include an electrical parameter of a power signal output by the charger before the first time period. Thus, after the processing circuit of the charger receives the first control instruction, in step S102, it may specifically send a first power signal to the electronic device in response to the first control instruction.
[0103] S104: The power conversion circuit of the charger outputs a second power signal to the electronic device in a second time period under the first charging protocol, where the second power signal has a second electrical parameter.
[0104] S105: The charging circuit of the electronic device receives a second power signal output by the charger in a second time period under the first charging protocol, where the second power signal has a second electrical parameter.
[0105] Specifically, before step S104, the processing circuit of the electronic device sends a second control instruction to the charger in the first time period, where the second control instruction includes a second electrical parameter, or the second control instruction includes the first electrical parameter in the first time period; thus, after the processing circuit of the charger receives the second control instruction, in step S104, it can specifically send a second power signal to the electronic device in response to the second control instruction.
[0106] The second electrical parameter is greater than the first electrical parameter, the second time period is after the first time period and adjacent to the first time period, and the difference between the second electrical parameter and the first electrical parameter is n times the minimum adjustment step supported by the charger under the first charging protocol, where n is a positive integer and is greater than or equal to 2.
[0107] Furthermore, after step S105, the power conversion circuit of the charger may further output a third power signal to the electronic device during a third time period under the first charging protocol. The charging circuit of the electronic device receives the third power signal output by the charger during the third time period under the first charging protocol, where the third power signal has a third electrical parameter. The third electrical parameter is greater than the second electrical parameter, the third time period is after the second time period and adjacent to the second time period, and the difference between the third electrical parameter and the second electrical parameter is m times the minimum adjustment step size of the electrical parameter supported by the charger under the first charging protocol, where m is an integer. The embodiments of the present application do not limit the relationship between m and n; that is, the adjustment values for the two adjustments to the power signal may be the same or different, and may gradually increase or decrease, depending on actual circumstances.
[0108] In the above scheme, since under a fixed charging protocol, after the electronic device is connected to the charger, the charger provides a charging power signal with different powers to the charging circuit of the electronic device in any two adjacent time periods, and in the first time period of any two adjacent time periods, the electronic device is charged with a first power signal with a first electrical parameter, and in the second time period, the electronic device is charged with a second power signal with a second electrical parameter. Since the second electrical parameter is greater than the first electrical parameter, and the difference between the second electrical parameter and the first electrical parameter is n times the minimum adjustment step of the electrical parameter supported by the charger under the current charging protocol, and n is a positive integer greater than or equal to 2, it is possible to adjust the electrical parameters of the power signal in an adjustment manner that is greater than the minimum adjustment step of the electrical parameters supported by the current charging protocol, so that the charging voltage or charging current can quickly climb to the target value, thereby improving the charging speed.
[0109] Specifically, in the following examples, the adjustment value of each electrical parameter can be determined by the electronic device or by the charger. In the above examples, taking the process of obtaining the second electrical parameter of the second power signal as an example, in some examples, the processing circuit of the electronic device can detect the first power signal in a first time period to obtain the first electrical parameter of the first power signal. Exemplarily, the first electrical parameter can be voltage or current. The second electrical parameter is then determined based on the difference between the first electrical parameter and a target value (for example, a target charging voltage or target charging current negotiated according to a protocol). Alternatively, in some examples, the first electrical parameter obtained by the processing circuit of the electronic device can be sent to the charger, and the processing circuit of the charger determines the second electrical parameter based on the difference between the first electrical parameter and the target value.
[0110] In the following examples, three main methods for determining the second electrical parameter are provided. Generally speaking, the first method can be: determining the adjustment value by looking up a relationship table based on the difference between the first electrical parameter and the target value; the relationship table contains a correspondence between the difference and the adjustment value; and determining the second electrical parameter based on the first electrical parameter and the adjustment value. The second method can be: rounding a predetermined ratio of the difference between the first electrical parameter and the target value as the adjustment value; and determining the second electrical parameter based on the first electrical parameter and the adjustment value. The third method can be: rounding half of the difference between the first electrical parameter and the target value as the adjustment value; and determining the second electrical parameter based on the first electrical parameter and the adjustment value.
[0111] In the following example, referring to FIG9 , an equivalent circuit diagram of a charging system consisting of a charger 20 and an electronic device 10 is provided, wherein the charging voltage output by the charger 20 is marked as Vo, the input voltage of the charging circuit 140 of the electronic device 10 is marked as V2, the output voltage of the charging circuit 140 of the electronic device 10 is marked as V3, and the voltage of the battery 142 is marked as Vbat. The link impedance between the charger 20 and the charging circuit 140 is marked as R1 (current I1 flowing through R1), and the link impedance between the charging circuit 140 and the battery 142 is marked as R2 (where R2 includes the internal resistance of the battery and the current I2 flowing through R2). In conjunction with FIG11 , the charging method provided in the embodiment of the present application is described as follows, taking the above three methods of determining the second electrical parameter as examples:
[0112] In Examples 1 to 6, the power signal is mainly described as a charging voltage, that is, the charging voltage output by the charger 20 is adjusted as an example.
[0113] Example 1: Take the charging circuit 140 as an example, using a switching circuit with V2:V3 = 1:1. Assume that the initial charging current (electrical parameters) output by the charger 20 is: 0.5A, the target charging current is: 6A, the battery voltage Vbat = 3.4V, the link impedance R1 = 320mohm, and R2 = 80mohm; then Vo = 3.6V (3.4V + 0.5A * 400mohm). Based on the difference between the charger's output charging current and the target charging current, set Table 1 and set the corresponding charging voltage adjustment step amplitude (adjustment value) to n * 20mV, where 20mV is the minimum step voltage amplitude that the charger can adjust under the current charging protocol. Due to hardware limitations and different protocols, the minimum step voltage amplitude of different chargers may vary. The target charging current can be set as follows: The target charging current is calculated based on the maximum current output capability of the charger at various voltage levels, the link impedance, the charging circuit current capacity, the battery voltage, the maximum current allowed to flow into the battery at that voltage, and various other factors, including the current temperature of the electronic device, the interface temperature, and the battery temperature, using a preset setting logic. The step size n*20mV is a one-time adjustment value. For example, if n=10, a one-time adjustment of 200mV is required. This represents a one-time adjustment value of 200mV for one time period in this embodiment of the present application.
[0114] Table 1
[0115] It should be noted that the value of n in Table 1 is only an empirical value. Generally, as long as the time of the voltage or current ramp-up phase can be reduced, it can be considered that n can take any positive integer value. Typically, in some examples, in Table 1, the greater the difference between the first electrical parameter and the target value (current difference), the larger the corresponding adjustment value (voltage adjustment step amplitude). This can speed up the adjustment speed of the electrical parameters of the power signal, thereby increasing the speed of the current or voltage ramp-up, thereby increasing the charging speed.
[0116] Based on the above Table 1 and Figure 10, the first charging voltage is adjusted as follows:
[0117] Since the difference between the charger's output charging current and the target charging current is |0.5A-6A|=5.5A, and Table 1 indicates that 5.5A is within range 4, the voltage adjustment step (adjustment value) is 50*20mV=1V. After adjustment, Vo=3.6V+1V=4.6V. Based on the link impedance (for example, 400mohm), each 20mV adjustment in the charging voltage results in a change in charging current of approximately 50mA. Therefore, when the adjustment value of charging voltage Vo is 50*20mV, the charging current changes to 50*50mA=2.5A, resulting in an adjusted charging current of 0.5A+2.5A=3A.
[0118] Second charging voltage adjustment: Because the difference between the charger's output charging current and the target charging current is |3A - 6A| = 3A, and Table 1 confirms that 3A is in interval 3, the voltage adjustment step is 20 * 20mV = 0.4V. After adjustment, Vo = 4.6V + 0.4V = 5V. Based on the link impedance (400mohm), each 20mV adjustment in charging voltage results in a charge current change of approximately 50mA. Therefore, when the charging voltage Vo is adjusted to 20 * 20mV, the current change is 20 * 50mA = 1A, resulting in an adjusted charge current of 3A + 1A = 4A.
[0119] Third charging voltage adjustment: Since the difference between the charger's output charging current and the target charging current is |4A-6A|=2A, and Table 1 shows that 2A is in interval 3, the voltage adjustment step is 20*20mV=0.4V. After adjustment, Vo=5V+0.4V=5.4V. Based on the link impedance (400mohm), the charging current changes by approximately 50mA for every 20mV adjustment in the charging voltage. Therefore, the current change is 20*50mA=1A, and the current is now 4A+1A=5A.
[0120] For the fourth charge voltage adjustment, since the current difference |5A - 6A| = 1A, and Table 1 confirms that 1A is in interval 2, the voltage adjustment step size is 10 * 20mV = 0.2V (Vo = 5.4V + 0.2V = 5.6V). Based on the link impedance (for example, 400mohm), each 20mV adjustment in the charge voltage results in a charge current change of approximately 50mA. Therefore, when the charge voltage Vo is adjusted to 20 * 20mV, the current change is 10 * 50mA = 0.5A, resulting in an adjusted charge current of 5A + 0.5A = 5.5A.
[0121] And so on,
[0122] The charging voltage changes as follows: 3.6V->4.6V->5V->5.4V->5.6V->5.62V->…->5.8V;
[0123] The charging current changes from 0.5A->3A->4A->5A->5.5A->5.55A->…->6A.
[0124] Example 2:
[0125] For example, the charging circuit 140 uses a switching circuit with a V2:V3 ratio of 2:1. Assuming the initial charging current (electrical parameters) output by the charger 20 is 0.5A, the target charging current is 6A, the battery voltage Vbat is 3.4V, and the link impedance R1 is 320mohm and R2 is 80mohm, then Vo = 3.6V (3.4V + 0.5A * 400mohm).
[0126] According to Ohm's law, the equivalent circuit shown in Figure 11 has the following transformation relationship:
[0127] V2=2*V3;Formula 1
[0128] V2=Vo-I1*R1;Formula 2
[0129] V3=Vbat+I2*R2;Formula 3
[0130] I2=2*I1; Formula 4
[0131] Before adjusting the charging voltage Vo, substitute the above assumptions into formula 1-4:
[0132] V2=2*V3=6.96V;
[0133] 6.96V=Vo-0.5A*320mohm;
[0134] V3=3.4V+1A*80mohm=3.48V;
[0135] 1A=2*0.5A;
[0136] It can be concluded that Vo = 7.12V;
[0137] Based on Table 1 in Example 1 above, and in conjunction with FIG11 , the first charging voltage adjustment is:
[0138] Since the difference between the charger's output charging current and the target charging current is |0.5A-6A|=5.5A, and Table 1 determines that 5.5A is in interval 4, the adjustment step of the charging voltage Vo is 50*20mV=1V. If Vo=7.12V+1V=8.12V, since Vbat, R1, and R2 remain unchanged, I1=2.0625A. That is, after increasing Vo by 1V, the charger's output charging current changes from 0.5A to 2.0625A, which can be rounded down to 2.06A (to ensure safety and avoid excessive charging voltage adjustment, rounding down is usually used here).
[0139] Second charging voltage adjustment: Since the difference between the charger output charging current and the target charging current is |2.06A-6A|=3.94A, after checking Table 1, it is determined that 3.94A is in interval 3. Therefore, the adjustment step amplitude of the charging voltage Vo is 20*20mV=400mV; if Vo=8.12V+0.4V=8.52V, since Vbat, R1, and R2 remain unchanged, I1=2.6875A. That is, after increasing Vo by 1.4V, the charging current output by the charger changes from 2.0625A to 2.6875A (rounded down to 2.68).
[0140] And so on,
[0141] The charging voltage output by the charger changes as follows: 7.12V->8.12V->8.52V->8.92V->9.32V->9.72V->…->10.64V;
[0142] The charging current changes from 0.5A->2.06A->2.68A->3.31A->3.93A->4.56A->…->6A.
[0143] Although the above examples 1 and 2 are only described using V2:V3=1:1 and V2:V3=2:1 as examples, it can be understood that the embodiments of the present application do not limit the specific ratio range of V2:V3, that is, scenarios using other ratios should also fall within the scope of protection of the present application. According to Example 1, the charging current takes 3.5 seconds to reach the target current. If the charging current is adjusted with a fixed step size of 50 mA in the manner of Figure 6, and each adjustment cycle is 250 ms (the cycle time is related to the system software process of the electronic device and may vary between different manufacturers), then it takes 27.5 seconds (6A-0.5A) / 0.05 mA*250 ms=27.5 seconds) to adjust from the initial charging current of 0.5 A to the target current of 6 A. That is, compared with the adjustment scheme shown in Figure 6, the charging capacity can be increased from the original 50 mAh to 90.4 mAh in the same time, an increase of approximately 40 mAh. For a battery with a typical capacity of 4000 mAh, the charging speed can be increased by 1%. According to Example 2, the charging current takes 8.25 seconds to reach the target current. Compared with the adjustment scheme shown in Figure 6, the charging capacity can be increased from the original 100 mAh to 176.4 mAh in the same time, an increase of approximately 76 mAh. For a battery with a typical capacity of 4000 mAh, the charging speed can be increased by 1.9%.
[0144] Example 3: For example, consider the charging circuit 140 using a switching circuit with a V2:V3 ratio of 1:1. Assume that the initial charging current (electrical parameters) output by the charger 20 is 0.5A, the target charging current is 6A, the battery voltage Vbat is 3.4V, the link impedance R1 is 320mohm, and R2 is 80mohm. Therefore, the initial charging voltage Vo is 3.6V (3.4V + 0.5A * 400mohm).
[0145] Different from Example 1, in Example 3, the charging voltage may be adjusted more significantly during the first charging voltage adjustment to shorten the time of the voltage or current ramp-up phase.
[0146] As shown in FIG12 , during the first charging voltage adjustment:
[0147] Considering that when the charging current reaches the target charging current, the target charging voltage Vo=Vbat+I1*(R1+R2)=Vbat+2.4V; that is, the difference between the target charging voltage and the initial charging voltage (charging voltage increment) is 2.4V. Considering the safety of the equipment, a certain margin can be set for the voltage increment of the charging voltage, that is, the charging voltage can be adjusted according to the adjustment value determined by the predetermined ratio of the difference between the target charging voltage and the initial charging voltage: Vo = Vbat + 2.4V * 80% = 3.4V + 1.92V = 5.32V (where the predetermined ratio of 80% is a recommended value, and the actual value can be obtained according to different circuit adjustments, that is, in some examples it can also be set to other values. It should be noted that it is limited by the minimum step size of the charger for adjusting the charging voltage (for example, 20mV), that is, the minimum amplitude allowed for each adjustment is 20mV and each adjustment can only be adjusted in multiples of 20mV. Therefore, when the predetermined ratio of the difference cannot be divided by 50mV, it can be rounded up as the adjustment value). In this way, the first charging voltage adjustment increases the charging voltage Vo output by the charger by 1.92V; after the charging voltage is increased, the current charging current is 4.8A (1.92V / 400mohm).
[0148] The subsequent second and third charging voltage adjustments can be implemented in the manner of Example 1 by referring to Table 1, that is, by looking up Table 1, the charging current is gradually adjusted to 6A according to the voltage adjustment step amplitude set in Table 1. Similarly, then:
[0149] The charging voltage output by the charger changes as follows: 3.6V->5.32V->5.52V->5.54V->5.56A->…->5.8V;
[0150] The charging current changes as follows: 0.5A->4.8A->5.3A->5.35A->…->6A.
[0151] Example 4:
[0152] For example, consider a charging circuit 140 employing a switching circuit with V2:V3 = 2:1. Assuming the initial charging current (electrical parameters) output by the charger 20 is 0.5A, the target charging current is 6A, the battery voltage Vbat = 3.4V, and the link impedance R1 = 320mohm; R2 = 80mohm, then Vo = 3.6V (3.4V + 0.5A * 400mohm). Substituting this into equations 1-4 yields Vo = 7.12V.
[0153] Different from Example 1, in Example 4, the charging voltage may be adjusted more significantly during the first voltage adjustment to shorten the time of the voltage ramp-up phase.
[0154] As shown in FIG13 , during the first charging voltage adjustment:
[0155] When the charging current reaches the target charging current, I1 = 6A. Then, V3 = 3.4V + 12A * 80mohm = 4.36V; V2 = 2V3 = 8.72V, resulting in a target charging voltage of Vo = V2 + I1R1 = 8.72V + 3A * 320mohm = 9.68V. For device safety, a margin can be set for the charging voltage increment. This means the charging voltage can be adjusted based on a predetermined ratio of the difference between the target charging voltage and the initial charging voltage: Vo' = (Vo – 2 * Vbat) * 80% + 2 * Vbat = 9.104V. Considering the minimum adjustable step size of 50mV, rounding down yields Vo ≈ 9.10V.
[0156] In this way, the first charging voltage adjustment adjusts the charging voltage Vo output by the charger to 9.10V; after the charging voltage is increased, the current charging current is I1 = 3.59A.
[0157] The subsequent second and third charging voltage adjustments can be implemented in the manner of Example 1 by referring to Table 1, that is, by looking up Table 1, the charging current is gradually adjusted to 6A according to the voltage adjustment step amplitude set in Table 1. Similarly, then:
[0158] The charging voltage output by the charger changes as follows: 7.12V->9.10V->9.50V->9.70V->…->10.64V;
[0159] The charging current changes as follows: 0.5A->3.59A->4.22A->4.53A->…->6A.
[0160] Although the above examples 3 and 4 are only described using V2:V3=1:1 and V2:V3=2:1 as examples, it can be understood that the embodiments of the present application do not limit the specific ratio range of V2:V3, that is, scenarios using other ratios should also fall within the scope of protection of the present application. According to Example 3, the time for the charging current to reach the target current is 4s. If the charging current is adjusted with a fixed step size of 50mA in the manner of Figure 6, and each adjustment cycle is 250ms (the cycle time is related to the system software process of the electronic device and may vary between different manufacturers), it takes 27.5s (6A-0.5A) / 0.05mA*250ms=27.5s) to adjust from the initial charging current of 0.5A to the target current of 6A. That is, compared with the adjustment scheme shown in Figure 6, the charging capacity can be increased from the original 50mAh to 90.5mAh in the same time, an increase of about 40mAh. For a battery with a typical capacity of 4000mAh, the charging speed can be increased by 1%; according to Example 4, the time for the charging current to reach the target current is 8s. Compared with the adjustment scheme shown in Figure 8, the charging capacity can be increased from the original 100mAh to 178.3mAh in the same time, an increase of about 78mAh. For a battery with a typical capacity of 4000mAh, the charging speed can be increased by 1.95%.
[0161] Example 5:
[0162] For example, the charging circuit 140 uses a switching circuit with a V2:V3 ratio of 1:1. Assuming the initial charging current (electrical parameters) output by the charger 20 is 0.5A, the target charging current is 6A, the battery voltage Vbat is 3.4V, the link impedance R1 is 320mohm, and R2 is 80mohm, then Vo = 3.6V (3.4V + 0.5A * 400mohm).
[0163] Different from Example 1, in Example 5, during the first few charging voltage adjustments, a binary method is used to determine the adjustment amplitude of the charging voltage, so as to shorten the time of the voltage ramp-up phase.
[0164] Theoretically, when using the binary division method to increase the charging voltage, each current increase is half the difference between the current charging current and the target charging current (|current charging current - target charging current|). In practice, due to the charger's minimum step size for charging voltage adjustment, the charging voltage determined by the binary division method is usually rounded to the nearest integer. This allows for faster current or voltage ramp-up when the difference between the current charging current and the target charging current is large.
[0165] As shown in FIG14 , during the first charging voltage adjustment:
[0166] Since the difference between the charger's output charging current and the target charging current is |0.5A-6A|=5.5A, the first charging current adjustment value is determined by binary search: |0.5A-6A| / 2=2.75A. The charging voltage adjustment value is (2.75A+0.5A)*400mohm=1.3V, that is, the charger's output charging voltage Vo=3.4+1.3=4.7V; the current charging current is 2.75A+0.5A=3.25A.
[0167] Second charging voltage adjustment:
[0168] Since the difference between the charging current output by the charger and the target charging current is |3.25A-6A|=2.75A, the adjustment value of the second charging current is determined by binary search. The second adjustment current is |3.25A-6A| / 2=1.375A, and the adjustment value of the charging voltage is 1.375A*400mohm=0.55V. That is, the charging voltage output by the charger is Vo=4.7+0.55=5.25V. Considering the minimum adjustable step of the charging voltage (assuming it is 0.02V), the charging voltage is rounded down and set to Vo=5.24V; the current charging current is (5.24V-3.4V) / 400mohm=4.6A.
[0169] The third charging voltage adjustment:
[0170] Since the difference between the charger's output charging current and the target charging current is |4.6A-6A|=1.4V, the third charging current adjustment value is determined by binary search. The second adjustment current is |4.6A-6A| / 2=0.7A, so the charging voltage adjustment value is 0.7A*400mohm=0.28V, that is, the charger's output charging voltage Vo=5.24+0.28=5.52V; the current charging current is (5.52V-3.4V) / 400mohm=5.3A.
[0171] The fourth and fifth charging voltage adjustments can be implemented in the manner of Example 1 by referring to Table 1, that is, by looking up Table 1, the charging current is gradually adjusted to 6A according to the voltage adjustment step amplitude set in Table 1. Similarly,
[0172] The charging current output by the charger changes as follows: 0.5A->3.25A->4.6A->5.3A->5.35A->…->6A;
[0173] The charging voltage changes as follows: 3.6V->4.7V->5.24V->5.52V->5.54V->…->5.8V.
[0174] Of course, in Example 5, the charging voltage can also be adjusted starting from the second charging voltage adjustment with reference to the method provided in Example 1, that is, the embodiment of the present application does not limit the number of times the charging voltage is adjusted starting from the method of Example 1, that is, according to the configuration, any one or more of the methods in Example 1, Example 3 and Example 5 can be used in the entire charging voltage adjustment process.
[0175] Example 6:
[0176] For example, consider a charging circuit 140 employing a switching circuit with V2:V3 = 2:1. Assuming the initial charging current (electrical parameters) output by the charger 20 is 0.5A, the target charging current is 6A, the battery voltage Vbat = 3.4V, and the link impedance R1 = 320mohm; R2 = 80mohm, then Vo = 3.6V (3.4V + 0.5A * 400mohm). Substituting this into equations 1-4 yields Vo = 7.12V.
[0177] Different from Example 1, in Example 6, during the first few charging voltage adjustments, a binary method is used to determine the adjustment amplitude of the charging voltage, so as to shorten the time of the voltage ramp-up phase.
[0178] As shown in Figure 15, during the first charging voltage adjustment:
[0179] Since the difference between the charger's output charging current and the target charging current is |0.5A-6A|=5.5A, the first charging current adjustment value is determined by binary search: |0.5A-6A| / 2=2.75A, that is, I1=2.75+0.5=3.25A. According to Formulas 1-4, V3=3.4V+6.5A*80mohm=3.92V, V2=2*3.92V=7.84V, and the charger's output charging voltage Vo=7.84V+3.25A*320mohm=8.88V (the minimum adjustable step size of the charging voltage must be considered; if it is not an integer multiple of the minimum adjustable step size, it is rounded down). The current charging current is I1=3.25A.
[0180] Second charging voltage adjustment:
[0181] Since the difference between the charger's output charging current and the target charging current is |3.25A-6A|=2.75A, the second charging current adjustment value is determined by binary search: |3.25A-6A| / 2=1.375A, that is, I1=3.25+1.375=4.625A. According to Formulas 1-4, V3=3.4V+9.25A*80mohm=4.14V, V2=2*4.14V=8.28V, and the charger's output charging voltage Vo=8.28V+4.625A*320mohm=9.76V (the minimum adjustable step size of the charging voltage must be considered; if it is not an integer multiple of the minimum adjustable step size, it is rounded down). The current charging current is I1=4.625A.
[0182] The third charging voltage adjustment:
[0183] Since the difference between the charger's output charging current and the target charging current is |4.625A-6A|=1.375A, the second charging current adjustment value is determined by binary search: |4.625A-6A| / 2=0.6875A, that is, I1=4.625+0.6875=5.3125A. According to Formulas 1-4, V3=3.4V+10.625A*80mohm=4.25V, V2=2*4.25V=8.5V, and the charger's output charging voltage Vo=8.5V+5.3125A*320mohm=10.2V (the minimum adjustable step size of the charging voltage must be considered; if it is not an integer multiple of the minimum adjustable step size, it is rounded down). The current charging current is I1=5.3125A.
[0184] The fourth and fifth charging voltage adjustments can be implemented in the manner of Example 1 by referring to Table 1, that is, by looking up Table 1, the charging current is gradually adjusted to 6A according to the voltage adjustment step amplitude set in Table 1. Similarly,
[0185] The charging current output by the charger changes from 0.5A to 3.25A to 4.625A to 5.3125A to 5.3625A to … to 6A. To account for current regulation accuracy, the actual current should be rounded to the nearest integer: 0.5A to 3.25A to 4.62A to 5.31A to 5.36A to … to 6A.
[0186] The charging voltage changes as follows: 7.12V->8.88V->9.76V->10.2V->10.22V->…->10.64V.
[0187] Of course, in Example 6, the charging voltage can also be adjusted starting from the second charging voltage adjustment with reference to the method provided in Example 2. That is, the embodiments of the present application do not limit the number of times the charging voltage is adjusted starting from the method of Example 2. That is, according to the configuration, any one or more of the methods in Example 2, Example 4, and Example 6 can be used in the entire charging voltage adjustment process.
[0188] Although the above examples 5 and 6 are only described using V2:V3=1:1 and V2:V3=2:1 as examples, it can be understood that the embodiments of the present application do not limit the specific ratio range of V2:V3, that is, scenarios using other ratios should also fall within the scope of protection of the present application.
[0189] According to Example 5, the time for the charging current to reach the target current is 4.25s. If the charging current is adjusted with a fixed step size of 50mA in the manner of Figure 6, and each adjustment cycle is 250ms (the cycle time is related to the system software process of the electronic device and may vary between different manufacturers), then it takes 27.5s (6A-0.5A) / 0.05mA*250ms=27.5s) to adjust from the initial charging current of 0.5A to the target current of 6A. That is, compared with the adjustment scheme shown in Figure 8, the charging capacity can be increased from the original 50mAh to 90.43mAh in the same time, an increase of approximately 40mAh. For a battery with a typical capacity of 4000mAh, the charging speed can be increased by 1%; according to Example 6, the time for the charging current to reach the target current is 6.25s. Compared with the adjustment scheme shown in Figure 6, the charging capacity can be increased from the original 100mAh to 180.1mAh in the same time, an increase of approximately 80mAh. For a battery with a typical capacity of 4000mAh, the charging speed can be increased by 2%.
[0190] In Examples 7 to 8, the power signal is mainly described by taking the charging current as an example, that is, adjusting the charging current output by the charger 20 is described as an example.
[0191] Example 7:
[0192] Take the charging circuit 140 using a switching circuit with V2:V3=1:1 as an example. Assume that the initial charging current (electrical parameters) output by the charger 20 is: 0.5A, the target charging current is: 6A, the battery voltage Vbat=3.4V, the link impedance R1=320mohm, R2=80mohm; then Vo=3.6V(3.4V+0.5A*400mohm). When adjusting the charging current, first release the adjustment threshold of the charging voltage, and then look up the table according to Table 2 based on the difference between the charging current and the target charging current to determine the adjustment value of the charging current. According to Table 1, the corresponding charging current adjustment step amplitude (adjustment value) is set to n*50mA, where 50mA is the minimum step current amplitude that the charger can adjust under the current charging protocol. Due to the limitations of hardware and protocols, the minimum step current amplitude of different chargers may be different. The step amplitude n*50mA is the adjustment value for one-time adjustment, that is, if n=10, 500mA should be adjusted at one time, that is, the one-time adjustment value corresponding to one time period is 500mA in the embodiment of the present application.
[0193] Table 2
[0194] Combined with Figure 16, the first charging current adjustment is:
[0195] The difference between the charging current output by the charger and the target charging current is |0.5A-6A|=5.5A. After checking Table 2, it is determined that 5.5A is in interval 4. Therefore, the current adjustment step amplitude (adjustment value) is 50*50mA=2.5A. The adjusted current charging current is 0.5A+2.5A=3A (that is, the constant current loop control reference inside the charger is set to 3A. Since the voltage regulation limit has been released in advance, the charger output current is based on the control parameters of the constant current loop).
[0196] Second charging current adjustment:
[0197] The difference between the charger's output charging current and the target charging current is |3A-6A|=3A. Table 2 shows that 3A is in interval 3. Therefore, the current adjustment step (adjustment value) is 20*50mA=1A. At this time, the current charging current is 3A+1A=4A.
[0198] The third charging current adjustment:
[0199] The difference between the charger's output charging current and the target charging current is |4A-6A|=2A. Table 2 shows that 2A is in interval 3. Therefore, the current adjustment step (adjustment value) is 20*50mA=1A. At this time, the current charging current is 4A+1A=5A.
[0200] The fourth charging current adjustment:
[0201] The difference between the charger's output charging current and the target charging current is |5A-6A|=1A. Table 2 shows that 1A is in interval 2. Therefore, the current adjustment step (adjustment value) is 10*50mA=0.5A. At this time, the current charging current is 5A+0.5A=5.5A.
[0202] And so on,
[0203] The charging current changes from 0.5A->3A->4A->5A->5.5A->5.55A->…->6A.
[0204] Example 8:
[0205] For example, the charging circuit 140 uses a switching circuit with a V2:V3 ratio of 2:1. Assuming the initial charging current (electrical parameters) output by the charger 20 is 0.5A, the target charging current is 6A, the battery voltage Vbat is 3.4V, and the link impedance R1 is 320mohm and R2 is 80mohm, then Vo = 3.6V (3.4V + 0.5A * 400mohm).
[0206] When adjusting the charging current, first release the adjustment threshold of the charging voltage, and then determine the adjustment value of the charging current according to Table 2 based on the difference between the charging current and the target charging current. As shown in Figure 17, the first charging current adjustment is:
[0207] The difference between the charging current output by the charger and the target charging current is |0.5A-6A|=5.5A. After checking Table 2, it is determined that 5.5A is in interval 4. Therefore, the current adjustment step amplitude (adjustment value) is 50*50mA=2.5A. The adjusted current charging current is 0.5A+2.5A=3A (that is, the constant current loop control reference inside the charger is set to 3A. Since the voltage regulation limit has been released in advance, the charger output current is based on the control parameters of the constant current loop).
[0208] Second charging current adjustment:
[0209] The difference between the charger's output charging current and the target charging current is |3A-6A|=3A. Table 2 shows that 3A is in interval 3. Therefore, the current adjustment step (adjustment value) is 20*50mA=1A. At this time, the current charging current is 3A+1A=4A.
[0210] The third charging current adjustment:
[0211] The difference between the charger's output charging current and the target charging current is |4A-6A|=2A. Table 2 shows that 2A is in interval 3. Therefore, the current adjustment step (adjustment value) is 20*50mA=1A. At this time, the current charging current is 4A+1A=5A.
[0212] The fourth charging current adjustment:
[0213] The difference between the charger's output charging current and the target charging current is |5A-6A|=1A. Table 2 shows that 1A is in interval 2. Therefore, the current adjustment step (adjustment value) is 10*50mA=0.5A. At this time, the current charging current is 5A+0.5A=5.5A.
[0214] And so on,
[0215] The charging current changes from 0.5A->3A->4A->5A->5.5A->5.55A->…->6A.
[0216] Although the above examples 7 and 8 are only described using V2:V3=1:1 and V2:V3=2:1 as examples, it can be understood that the embodiments of the present application do not limit the specific ratio range of V2:V3, that is, scenarios using other ratios should also fall within the scope of protection of the present application.
[0217] In Example 7 above, the charging current reaches the target charging current in 3.5s. Compared with the adjustment scheme shown in Figure 7, the charging capacity can be increased from the original 50mAh to 90.4mAh in the same time, an increase of about 40mAh. For a battery with a typical capacity of 4000mAh, the charging speed can be increased by 1%.
[0218] In Example 8 above, the charging current reaches the target charging current in 3.5s. Compared with the adjustment scheme shown in Figure 7, the charging capacity can be increased from the original 100mAh to 181mAh in the same time, an increase of approximately 81mAh. For a battery with a typical capacity of 4000mAh, the charging speed can be increased by 2.0%.
[0219] Of course, the method of adjusting the charging voltage by a large amount at a time according to a predetermined ratio, as used in Examples 3 and 4 above, can also be applied to adjusting the charging current. That is, when adjusting the charging current for the first time, the charging current can also be adjusted by a large amount at a time according to a predetermined ratio. Alternatively, the method of adjusting the charging voltage by a binary method, as used in Examples 5 and 6, can also be used to adjust the charging current by a binary method.
[0220] In the above example, since the difference between the second electrical parameter and the first electrical parameter is n times the minimum adjustment step of the electrical parameter supported by the charger under the first charging protocol, when n is large, the change in the electrical parameter is large, and there is a risk of triggering the protection circuit to trip, resulting in charging interruption. Therefore, in an embodiment of the present application, as shown in Figure 18, the electronic device includes: a processing circuit 101, a protection circuit 145, a charging circuit 140 and a battery 142; the protection circuit 145 is connected to the charger 20, and the charging circuit 140 is connected between the protection circuit 145 and the battery 142; the processing circuit 101 is connected to the protection circuit 145 and the charging circuit 140; wherein, the charging circuit 140 receives the first power signal and the second power signal output by the charger 20 through the protection circuit 145 to charge the battery 142; the method also includes: in a first time period, the processing circuit 101 sends a third control instruction to the protection circuit 145; the protection circuit 145 increases the protection threshold of the electrical parameter according to the third control instruction, and the protection threshold is greater than the target charging voltage or target charging current negotiated between the electronic device 10 and the charger 20; wherein, when the electrical parameter is greater than the protection threshold, the protection circuit 145 is disconnected.
[0221] In this way, during the first time period, a third control instruction can be further sent to the protection circuit through the processing circuit to control the protection circuit to increase the protection threshold of the electrical parameters and set the protection threshold to be greater than the target charging voltage or target charging current negotiated between the electronic device and the charger. For example, the protection threshold for overvoltage protection is increased from 150% of the target charging voltage to 180% of the target charging voltage, and the overcurrent protection threshold is increased from 6A (target charging current) to 8A, etc.; thereby avoiding adjusting the electrical parameters of the power signal output by the charger by n times the minimum adjustment step at one time, which would trigger the protection circuit to trip.
[0222] In another example, as shown in FIG18 , to prevent a large value of n from triggering a trip in the protection circuit 145 , during a first time period, the processing circuit 101 may send a fourth control instruction to the charging circuit 140 . In response to the fourth control instruction, the charging circuit 140 is configured to increase the impedance of the link between the charger 20 and the battery 142 . Thus, given a constant charger output voltage, increasing the link impedance can effectively reduce the charging current, preventing overcharging from reaching the protection threshold and triggering a trip in the protection circuit. Specifically, the charging circuit may utilize an LDO. As shown in FIG19 , the charging circuit 140 includes a switch 1401 and a power conversion circuit 1402 connected in series to the charging link between the protection circuit 145 and the battery 142 . The switch 1401 and the power conversion circuit 1402 are further connected to the control circuit 1403 . Both the protection circuit 145 and the control circuit 1403 are connected to the processing circuit 101 . The charging circuit 140 is coupled to the charger 20. In FIG19 , the charging circuit 140 is coupled to the charger 20 via the protection circuit 145. In some examples, the charging circuit 140 may also be directly coupled to the charger 20. The control circuit 1403 of the charging circuit 140 may control the on / off state of the switch 1401 in response to the fourth control instruction. For example, the control circuit 1403 may control the switch 1401 to be in a direct-on state or in an LDO mode as provided in an embodiment of the present application. In the LDO mode, the switch 1401 is in a saturated state. In the LDO mode, the switch 1401 is in a high-impedance mode, and the impedance of the switch 1401 may be increased from a few milliohms to hundreds of milliohms. Furthermore, the control circuit 1403 may also control the power conversion circuit 1402 to adjust the voltage conversion ratio. The power conversion circuit 1402 may be a DC-DC converter circuit, including but not limited to the aforementioned BUCK circuit, SC circuit, etc.
[0223] It is understandable that, in order to realize the above functions, the above-mentioned chargers and electronic devices include hardware structures and / or software modules corresponding to the execution of each function. It should be easily appreciated by those skilled in the art that, in combination with the units and algorithmic operations of the various examples described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware 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.
[0224] The embodiment of the present application can divide the functional modules of the charger and the electronic device according to the above method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical functional division. There may be other division methods in actual implementation.
[0225] For example, when the functional modules are divided in an integrated manner, FIG20 shows a schematic diagram of the structure of a charging device (taking the electronic device 10 as an example). The charging device can be the electronic device itself, or a chip or system-on-chip in the electronic device, or other combined devices, components, etc. that can realize the functions of the above-mentioned charging device. The charging device can be used to perform the functions of the electronic device involved in the above-mentioned embodiments.
[0226] As a possible implementation, the electronic device 10 shown in FIG20 includes: a processing circuit 101 and a charging circuit 140; the processing circuit 101 is used to execute step S101; the charging circuit 140 is used to execute step S103 and step S105.
[0227] Among them, all relevant contents of each operation involved in the above method embodiment can be referred to the functional description of the corresponding functional module, and will not be repeated here.
[0228] In this embodiment, the electronic device can be presented in the form of various functional modules divided in an integrated manner. The "module" here can refer to a specific ASIC, circuit, processor and memory that executes one or more software or firmware programs, integrated logic circuit, and / or other devices that can provide the above functions. In a simple embodiment, those skilled in the art will appreciate that the electronic device can take the form of the electronic device shown in Figure 2.
[0229] For example, the processor 110 in FIG. 2 may call computer-executable instructions stored in the internal memory 121 to enable the electronic device to execute the charging control method in the above method embodiment.
[0230] Exemplarily, the processing circuit 101 in Figure 20 may specifically include the PD protocol circuit, SCP protocol circuit and system on chip (SOC) shown in the above example, and the function / implementation process of the processing circuit 101 can be implemented by the processor 110 in Figure 2 calling the computer execution instructions stored in the internal memory 121; Figure 20 also shows a charging circuit 140 and a battery 142, wherein the charging circuit 140 and the battery 142 can adopt the charging circuit 140 and the battery 142 in Figure 2. It can be understood that the electronic device 10 may also include other components, for example, a protection circuit 145 is also shown in Figure 20.
[0231] Since the charging device provided in this embodiment can execute the above-mentioned charging control method, the technical effects that can be obtained can refer to the above-mentioned method embodiments and will not be described in detail here.
[0232] For example, when the functional modules are divided in an integrated manner, Figure 20 shows a schematic diagram of the structure of a charging device (taking charger 20 as an example). The charging device can be the charger itself, or a chip or system-on-chip in the charger, or other combined devices or components that can realize the functions of the above-mentioned charging device. The charging device can be used to perform the functions of the charger involved in the above-mentioned embodiments.
[0233] As a possible implementation, the charger 20 shown in FIG20 includes: a processing circuit 202 and a power conversion circuit 201 ; the processing circuit 202 is configured to execute step S101 ; and the power conversion circuit 201 is configured to execute steps S102 and S104 .
[0234] In conjunction with the USB interface 130 shown in Figures 3 and 20 above, in order to achieve the transmission of control instructions and power signals between the charger 20 and the electronic device 10, the charging circuit 140 is connected to the power conversion circuit 201 via the VBUS pin and the GND pin to achieve power signal transmission; the processing circuit 202 of the charger 20 is connected to the SCP protocol circuit of the electronic device 10 via the D+ / D- pins, and the processing circuit 202 of the charger 20 is connected to the PD protocol circuit of the electronic device 10 via the CC pin to achieve control instruction transmission.
[0235] All relevant contents of each operation involved in the above method embodiment can be referred to the functional description of the corresponding functional module and will not be repeated here. Since the charging device provided in this embodiment can execute the above charging control method, the technical effects that can be obtained can be referred to the above method embodiment and will not be repeated here.
[0236] Optionally, an embodiment of the present application also provides a charging device (for example, the charging device may be a chip or a chip system). When the charging device is a chip system, it may be composed of chips, or it may include chips and other discrete devices. The embodiment of the present application does not specifically limit this.
[0237] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware, or any combination thereof. When implemented using a software program, all or part of the embodiments may be implemented in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present application are generated. 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 one website, computer, server, or data center to another website, computer, server, or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) method. 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 media integrated therein. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid state disk (SSD)). In the embodiment of the present application, the computer may include the aforementioned device.
[0238] Although the present application is described herein in conjunction with various embodiments, in the process of implementing the claimed application, those skilled in the art can understand and implement other changes to the disclosed embodiments by reviewing the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other components or steps, and "a" or "an" does not exclude multiple situations. A single processor or other unit can implement several functions listed in the claims. Certain measures are recorded in different dependent claims, but this does not mean that these measures cannot be combined to produce good results.
[0239] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of the present application. Therefore, the scope of protection of the present application should be based on the scope of protection of the claims.
Claims
1. A charging control method, applied to an electronic device, wherein the electronic device and a charger form a charging system, and the electronic device includes a charging circuit, characterized in that: The method includes: After the electronic device and the charger are connected based on a first charging protocol, the charging circuit receives a first power signal output by the charger in a first time period under the first charging protocol, where the first power signal has a first electrical parameter; The charging circuit receives a second power signal output by the charger in a second time period under the first charging protocol, wherein the second power signal has a second electrical parameter; The second electrical parameter is greater than the first electrical parameter, the second time period is after the first time period and adjacent to the first time period, and the difference between the second electrical parameter and the first electrical parameter is n times the minimum adjustment step of the electrical parameter supported by the charger under the first charging protocol, where n is a positive integer and is greater than or equal to 2.
2. The charging control method according to claim 1, characterized in that: Also includes: The charging circuit receives a third power signal output by the charger in a third time period under the first charging protocol, wherein the third power signal has a third electrical parameter; The third electrical parameter is greater than the second electrical parameter, the third time period is after the second time period and adjacent to the second time period, and the difference between the third electrical parameter and the second electrical parameter is m times the minimum adjustment step of the electrical parameter supported by the charger under the first charging protocol, where m is an integer.
3. The charging control method according to claim 1 or 2, characterized in that: The electronic device further includes a processing circuit, and the method further includes: The processing circuit sends a first control instruction to the charger in a time period before the first time period; the first control instruction includes the first electrical parameter, or the first control instruction includes the electrical parameter of the power signal output by the charger in a time period before the first time period; The charging circuit receives the first power signal output by the charger in the first time period, including: the charging circuit receives the first power signal sent by the charger in response to the first control instruction in the first time period.
4. The charging control method according to claim 1 or 2, characterized in that: The electronic device further includes a processing circuit, and the method further includes: The processing circuit sends a second control instruction to the charger in the first time period, where the second control instruction includes the second electrical parameter, or the second control instruction includes the first electrical parameter; The charging circuit receives the second power signal output by the charger in the second time period; including: the charging circuit receives the second power signal sent by the charger in response to the second control instruction in the second time period.
5. The charging control method according to claim 4, characterized in that: Before the processing circuit sends the second control instruction to the charger during the first time period, the method further includes: The processing circuit detects the first power signal to obtain the first electrical parameter, where the first electrical parameter includes current or voltage; The processing circuit determines the second electrical parameter according to a difference between the first electrical parameter and a target value, where the target value is a target charging voltage or a target charging current negotiated between the electronic device and the charger.
6. The charging control method according to claim 5, characterized in that: The processing circuit determines the second electrical parameter according to the difference between the first electrical parameter and the target value; comprising: The processing circuit determines the adjustment value according to the difference between the first electrical parameter and the target value and a relationship table; the relationship table contains the corresponding relationship between the difference and the adjustment value; The processing circuit determines the second electrical parameter according to the first electrical parameter and the adjustment value.
7. The charging control method according to claim 5, characterized in that: The processing circuit determines the second electrical parameter according to the difference between the first electrical parameter and the target value; comprising: The processing circuit rounds a predetermined ratio of the difference between the first electrical parameter and the target value as an adjustment value; The processing circuit determines the second electrical parameter according to the first electrical parameter and the adjustment value.
8. The charging control method according to claim 5, characterized in that: The processing circuit determines the second electrical parameter according to the difference between the first electrical parameter and the target value; comprising: The processing circuit rounds half of the difference between the first electrical parameter and the target value as an adjustment value; The processing circuit determines the second electrical parameter according to the first electrical parameter and the adjustment value.
9. The charging control method according to any one of claims 1 to 8, characterized in that: The electronic device further comprises: a processing circuit and a protection circuit; the protection circuit is used to connect to the charger, and the charging circuit is connected between the protection circuit and the battery; the processing circuit is connected to the protection circuit and the charging circuit; The method further comprises: In the first time period, the processing circuit sends a third control instruction to the protection circuit; The protection circuit increases the protection threshold of the electrical parameter according to the third control instruction, and the protection threshold is greater than the target charging voltage or target charging current negotiated between the electronic device and the charger; wherein the protection circuit is disconnected when the electrical parameter is greater than the protection threshold.
10. The charging control method according to any one of claims 1 to 8, characterized in that: The electronic device further comprises: a processing circuit; the charging circuit is coupled to the charger, and the charging circuit is also connected to a battery; the processing circuit is connected to the charging circuit; The method further comprises: In the first time period, the processing circuit sends a fourth control instruction to the charging circuit; The charging circuit increases the link impedance between the charger and the battery in response to the fourth control instruction.
11. The charging control method according to claim 10, characterized in that: The charging circuit comprises: a control circuit, and a switch and a power conversion circuit connected in series between the charger and the battery, wherein the control circuit connects the switch, the power conversion circuit and the processing circuit; The control circuit controls the switch to switch to a low dropout linear regulator (LDO) mode in response to the fourth control instruction.
12. A charging control method, applied to a charger, wherein the charger and an electronic device form a charging system, and the charger includes a power conversion circuit, characterized in that: The method comprises: When the charger and the electronic device are connected based on a first charging protocol, the power conversion circuit outputs a first power signal to the electronic device in a first time period under the first charging protocol, and the first power signal has a first electrical parameter; The power conversion circuit outputs a second power signal to the electronic device in a second time period under the first charging protocol, wherein the second power signal has a second electrical parameter; The second electrical parameter is greater than the first electrical parameter, the second time period is after the first time period and adjacent to the first time period, and the difference between the second electrical parameter and the first electrical parameter is n times the minimum adjustment step supported by the charger under the first charging protocol, where n is a positive integer and is greater than or equal to 2.
13. The charging control method according to claim 12, characterized in that: The method further comprises: a third power signal output by the power conversion circuit to the electronic device in a third time period under the first charging protocol, wherein the third power signal has a third electrical parameter; The third electrical parameter is greater than the second electrical parameter, the third time period is after the second time period and adjacent to the second time period, and the difference between the third electrical parameter and the second electrical parameter is m times the minimum adjustment step of the electrical parameter supported by the charger under the first charging protocol, where m is an integer.
14. The charging control method according to claim 12 or 13, characterized in that: The charger further includes a processing circuit, and the method further includes: The processing circuit receives a first control instruction sent by the electronic device in a time period before the first time period, where the first control instruction includes the first electrical parameter, or the first control instruction includes the electrical parameter of the power signal output by the charger in a time period before the first time period; The power conversion circuit outputs a first power signal to the electronic device in the first time period; including: the power conversion circuit sends the first power signal to the electronic device in response to the first control instruction in the first time period.
15. The charging control method according to any one of claims 12 to 14, characterized in that: The charger further includes a processing circuit, and the method further includes: The processing circuit receives a second control instruction sent by the electronic device in the first time period, where the second control instruction includes the second electrical parameter, or the second control instruction includes the first electrical parameter in the first time period; The power conversion circuit outputs a second power signal to the electronic device in the second time period; comprising: The switching circuit sends a second power signal to the second electronic device in response to the second control instruction during the second time period.
16. The charging control method according to claim 15, characterized in that: After the processing circuit receives the second control instruction sent by the electronic device in the first time period, the method further includes: The processing circuit determines the second electrical parameter according to a difference between the first electrical parameter and a target value.
17. The charging control method according to claim 16, characterized in that: The processing circuit determines the second electrical parameter according to the difference between the first electrical parameter and the target value; comprising: The processing circuit determines the adjustment value according to the difference between the first electrical parameter and the target value and a relationship table; the relationship table contains the corresponding relationship between the difference and the adjustment value; The processing circuit determines the second electrical parameter according to the first electrical parameter and the adjustment value, and the target value is a target charging voltage or a target charging current negotiated between the electronic device and the charger.
18. The charging control method according to claim 16, characterized in that: The processing circuit determines the second electrical parameter according to the difference between the first electrical parameter and the target value; comprising: The processing circuit rounds a predetermined ratio of the difference between the first electrical parameter and the target value as an adjustment value; The processing circuit determines the second electrical parameter according to the first electrical parameter and the adjustment value.
19. The charging control method according to claim 16, characterized in that: The processing circuit determines the second electrical parameter according to the difference between the first electrical parameter and the target value; comprising: The processing circuit rounds half of the difference between the first electrical parameter and the target value as an adjustment value; The processing circuit determines the second electrical parameter according to the first electrical parameter and the adjustment value.
20. A charging device, applied to electronic equipment, characterized in that: Used to execute the charging control method as described in any one of claims 1-11.
21. A charging device, used in a charger, characterized in that: Used to execute the charging control method as described in any one of claims 12-19.
22. A chip, characterized in that: Comprising a charging device as claimed in claim 20 or 21.
23. A charging system, characterized in that: The device comprises an electronic device and a charger, wherein the electronic device comprises the charging device as claimed in claim 20.
24. A charging system, characterized in that: It comprises an electronic device and a charger, wherein the charger comprises the charging device as claimed in claim 21.
Citation Information
Patent Citations
Charging control method, charging device and charging system
CN118826191A
Charging system and electronic equipment
CN109742824A
Method and device for realizing fixed-frequency voltage-regulating wireless charging through QC and PD protocols
CN111049234A
Cited By
Wireless charging receiving system supporting multiple protocols
CN119651934A
A wireless charging receiving system supporting multiple protocols
CN119651934B
