Current adjusting method and electronic equipment
By obtaining the input current value of the charge pump and adjusting the impedance on the charging branch, the problem of large input current difference caused by asymmetric charge pump positions is solved, and the balanced distribution of current and the improvement of charging efficiency is achieved.
Patent Information
- Application Number
- CN202510726823.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-30
- Publication Date
- 2025-08-22
AI Technical Summary
In electronic devices, due to the asymmetric position of multiple charge pumps, the input current difference is large, and it is difficult for the prior art to achieve balanced distribution of current.
By obtaining the input current values of multiple charge pumps and adjusting the impedance on the charging branch, the input current value of each charge pump is within the target range, the impedance is adjusted using the bias voltage of the field effect tube to achieve current equalization.
The relative balance of the input current value of the charge pump on different charging branches is achieved, which avoids the problem of excessive difference between the input current values and improves the charging efficiency.
Smart Images

Figure CN120528243A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of charging control, and in particular to a current regulation method and electronic equipment. Background Art
[0002] When charging an electronic device using a high-power charging method with multiple charge pumps, how the input currents of the multiple charge pumps are distributed typically depends on the loop impedances of the charge pumps. However, due to stacking or placement issues, the positions of the two charge pumps in an electronic device cannot be completely symmetrical. For example, if one charge pump is located on the main board and the other on the secondary board, the charge pump on the secondary board has a smaller path and therefore lower impedance, resulting in a larger difference in the input currents of the two charge pumps. Summary of the Invention
[0003] In view of this, the present application provides a current regulation method and electronic device, the specific solutions of which are as follows:
[0004] A current regulation method, comprising:
[0005] obtaining an input current value of at least one charge pump among a plurality of charge pumps, wherein the charge pump is used to charge a battery of the electronic device, and different charge pumps are respectively arranged on different charging branches between a charging port and the battery;
[0006] The impedance of at least one of the charging branches is adjusted until an input current value of at least one of the plurality of charge pumps is within a target range.
[0007] Furthermore, adjusting the impedance of at least one of the charging branches until the input current value of at least one of the plurality of charge pumps is within a target range includes:
[0008] Based on the total current input to the battery and a first current value of a first charge pump among the plurality of charge pumps, the impedance of the at least one charging branch is adjusted until the input current value of the first charge pump is adjusted from the first current value to be within the target range.
[0009] Furthermore, adjusting the impedance of the at least one charging branch based on the total current input to the battery and a first current value of a first charge pump among the plurality of charge pumps includes:
[0010] determining the target range based on a total current input to the battery;
[0011] The impedance of the at least one charging branch is adjusted based on a first current value of a first charge pump among the plurality of charge pumps and the target range.
[0012] Furthermore, adjusting the impedance of the at least one charging branch based on the first current value of the first charge pump among the multiple charge pumps and the target range includes at least one of the following:
[0013] adjusting the impedance of a first charging branch where the first charge pump is located based on a first current value of a first charge pump among the plurality of charge pumps and the target range;
[0014] Based on the first current value of a first charge pump among the multiple charge pumps and the target range, at least the impedance of a second charging branch where a second charge pump is located is adjusted, where the second charge pump is a charge pump among the multiple charge pumps different from the first charge pump.
[0015] Furthermore, determining the target range based on the total current input to the battery includes:
[0016] determining a maximum value of the target range based on the total current input to the battery and the maximum target percentage;
[0017] A minimum value of the target range is determined based on the total current input to the battery and a minimum target percentage.
[0018] Furthermore, adjusting the impedance of a first charging branch where the first charge pump is located based on a first current value of a first charge pump among the plurality of charge pumps and the target range includes:
[0019] If it is determined that the first current value of the first charge pump is greater than the maximum value of the target range, increasing the impedance of the first charging branch where the first charge pump is located;
[0020] If it is determined that the first current value of the first charge pump is less than the minimum value of the target range, the impedance of the first charging branch where the first charge pump is located is reduced.
[0021] Furthermore, increasing the impedance of the first charging branch where the first charge pump is located includes:
[0022] reducing a bias voltage of a first field effect transistor on a first charging branch where the first charge pump is located, wherein the impedance on the first charging branch is negatively correlated with the bias voltage of the first field effect transistor;
[0023] The reducing the impedance of the first charging branch where the first charge pump is located includes:
[0024] The bias voltage of the first field effect transistor on the first charging branch where the first charge pump is located is increased, and the impedance on the first charging branch is negatively correlated with the bias voltage of the first field effect transistor.
[0025] Furthermore, reducing the bias voltage of the first field effect transistor on the first charging branch where the first charge pump is located includes:
[0026] reducing the bias voltage of the first field-effect transistor on the first charging branch where the first charge pump is located, based on the initial bias voltage and the voltage adjustment value of the first field-effect transistor on the first charging branch, until the input current value of the first charging branch is within the target range;
[0027] Increasing the bias voltage of the first field effect transistor on the first charging branch where the first charge pump is located includes:
[0028] Based on the initial bias voltage and the voltage adjustment value of the first field effect transistor on the first charging branch where the first charge pump is located, the bias voltage of the first field effect transistor on the first charging branch is increased until the input current value on the first charging branch is within the target range.
[0029] An electronic device, comprising:
[0030] Charging port;
[0031] Battery;
[0032] a plurality of charge pumps, each of which is used to charge the battery, wherein different charge pumps are respectively arranged on different charging branches between the charging port and the battery;
[0033] The processor is configured to obtain an input current value of at least one charge pump among a plurality of charge pumps, and adjust an impedance on at least one of the charging branches until the input current value of the at least one charge pump among the plurality of charge pumps is within a target range.
[0034] Furthermore, the electronic device further includes:
[0035] At least one field effect transistor, each field effect transistor is respectively arranged on a different charging branch, and the number of the field effect transistors is less than or equal to the number of the charging branches;
[0036] The at least one field effect tube includes at least a first field effect tube arranged on a first charging branch where a first charge pump among the multiple charge pumps is located, and the impedance on the first charging branch is negatively correlated with the bias voltage of the first field effect tube. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the following briefly introduces the drawings required for use in the embodiments or related technical descriptions. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0038] Figure 1 This is a flow chart of a current regulation method disclosed in an embodiment of the present application;
[0039] Figure 2 A schematic diagram of a charging port and a battery with two charging branches disclosed in an embodiment of the present application;
[0040] Figure 3 This is a flow chart of a current regulation method disclosed in an embodiment of the present application;
[0041] Figure 4 This is a flow chart of a current regulation method disclosed in an embodiment of the present application;
[0042] Figure 5 A diagram showing the relationship between the bias voltage of a first field effect transistor on a certain charging branch and the impedance of the charging branch disclosed in an embodiment of the present application;
[0043] Figure 6 A schematic diagram of an electronic device to which a current regulation method disclosed in an embodiment of the present application is applied;
[0044] Figure 7 This is a schematic structural diagram of an electronic device disclosed in an embodiment of the present application. DETAILED DESCRIPTION
[0045] The following describes the embodiments of the present application in conjunction with the accompanying drawings. The terms used in the implementation methods of the present application are only used to explain the specific embodiments of the present application and are not intended to limit the present application.
[0046] The embodiments of the present application are described below in conjunction with the accompanying drawings. Those skilled in the art will appreciate that, with the development of technology and the emergence of new scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0047] The terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequential order. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances, and this is merely a way of distinguishing the objects of the same attributes when describing them in the embodiments of the present application. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, so that the process, method, system, product or equipment comprising a series of units need not be limited to those units, but may include other units that are not clearly listed or inherent to these processes, methods, products or equipment.
[0048] This application discloses a current regulation method, the flow chart of which is as follows: Figure 1 Shown, including:
[0049] Step S11: obtaining an input current value of at least one charge pump among a plurality of charge pumps, where the charge pump is used to charge a battery of an electronic device, and different charge pumps are respectively provided on different charging branches between a charging port and the battery;
[0050] Step S12: Adjust the impedance of at least one charging branch until the input current value of at least one charge pump among the plurality of charge pumps is within a target range.
[0051] When charging an electronic device using a high-power charging method with multiple charge pumps, how the input currents of the multiple charge pumps are distributed typically depends on the loop impedances of the charge pumps. However, due to stacking or placement issues, the positions of the two charge pumps in an electronic device cannot be completely symmetrical. For example, if one charge pump is located on the main board and the other on the secondary board, the charge pump on the secondary board has a smaller path and therefore lower impedance, resulting in a larger difference in the input currents of the two charge pumps.
[0052] Based on this, in this solution, different charge pumps are respectively arranged on different charging branches between the charging port and the battery, and are used to charge the battery of the electronic device. By obtaining the input current value of at least one charge pump among the multiple charge pumps, and adjusting the impedance on at least one charging branch accordingly, until the input current value of at least one charge pump among the multiple charge pumps is within a target range, the input current value of the charge pump on at least one charging branch is adjusted to be within the target range by adjusting the impedance on at least one charging branch. By adjusting the input current value of at least one charge pump, the input current values of the charge pumps on multiple charging branches for charging the electronic device are adjusted, so as to achieve relative balance of the input current values of the charge pumps on different charging branches, and avoid the problem of large differences between the input current values of the charge pumps.
[0053] When charging the battery in an electronic device, an external power supply needs to be connected to the charging port of the electronic device. Electric energy passes through the charging port and the charging branch between the charging port and the battery to reach the battery, thereby achieving the purpose of charging the battery.
[0054] In this embodiment, multiple charging branches can be provided between the charging port and the battery, with different charge pumps installed on different charging branches to achieve high-power charging through multiple charge pumps. A charge pump is a capacitor-based DC-DC converter, using capacitors as energy storage elements, primarily for generating an output voltage greater than the input voltage.
[0055] For example, there are two charging branches between the charging port and the battery, and each charging branch is provided with a charge pump. Figure 2 As shown, it includes: a charging port 21, a battery 22, a first charge pump 23, and a second charge pump 24. The first charge pump 23 is located on the charging branch 1, and the second charge pump 24 is located on the charging branch 2. One end of the charging branch 1 is connected to the charging port 21, and the other end is connected to the battery 22. Correspondingly, one end of the charging branch 2 is connected to the charging port 21, and the other end is connected to the battery 22.
[0056] Now Figure 2 For example, when an external power source is connected to the charging port 21, the electric energy of the external power source can reach the battery through the charging port 21 and the charging branch to complete charging. However, since there are two charging branches, each with a charge pump, the distribution of the input current input to the charge pump on the two charging branches is determined based on the impedance of the two charging branches. If the input current of the first charge pump on charging branch 1 is large, then the input current of the second charge pump on charging branch 2 will be relatively small.
[0057] To avoid the situation in the above embodiment where the input current to the first charge pump is too large while the input current to the second charge pump is too small, in this embodiment, the input current value of at least one charge pump can be detected. After the input current value of the at least one charge pump is detected, the impedance of the charging branch where the at least one charge pump is located is adjusted to adjust the input current value of the at least one charge pump, thereby ensuring that the input current value of the at least one charge pump is within a target range.
[0058] Exemplarily, there are two charging branches between the charging port and the battery, each of which is provided with a charge pump. When the input current value of one of the charge pumps is detected, the impedance of the charging branch where one of the charge pumps is located is adjusted, thereby achieving the purpose of simultaneously adjusting the input current values of the two charge pumps, and ultimately ensuring that the input current value of at least one charge pump is within a target range.
[0059] Exemplarily, there are multiple charging branches between the charging port and the battery, such as 3 or 4. Then, only the input current value of the charge pump on one of the charging branches can be detected, or only the input current value of the charge pump on two of the charging branches can be detected. After the detection, the impedance on at least one charging branch can be adjusted until the detected input current value of the charge pump is within the target range.
[0060] If the detected input current value of the at least one charge pump is within the target range, there is no need to adjust the impedance of the at least one charging branch.
[0061] In addition, it should be noted that when there are multiple charging branches between the charging port and the battery, the input current value of the charge pump on each charging branch can be detected at the same time, and the impedance on each charging branch can be adjusted separately; or, when there are multiple charging branches between the charging port and the battery, only the input current values of the charge pump on some of the charging branches can be detected, such as: when there are 2 charging branches, only the input current value of the charge pump on one of the charging branches can be detected, and for example: when there are 5 charging branches, only the input current values of the charge pump on three of the charging branches can be detected, etc.
[0062] The current regulation method disclosed in this embodiment, when there are multiple different charging branches between the charging port of an electronic device and the battery, is provided on each charging branch. The charge pump is used to charge the battery of the electronic device. The input current value of at least one charge pump among the multiple charge pumps is obtained, and the impedance of the at least one charging branch is adjusted until the input current value of the at least one charge pump among the multiple charge pumps falls within a target range. In this solution, the impedance of the at least one charging branch is adjusted by adjusting the input current value of the at least one charge pump among the multiple charge pumps to achieve the adjustment of the input current value of the at least one charge pump within the target range, thereby ensuring that the input current values of the charge pumps on different branches are all within the target range, thereby avoiding the problem of large differences in the input current values of the charge pumps on different charging branches.
[0063] This embodiment discloses a current regulation method, the flow chart of which is as follows: Figure 3 Shown, including:
[0064] Step S31: obtaining an input current value of at least one charge pump among a plurality of charge pumps, where the charge pumps are used to charge a battery of an electronic device, and different charge pumps are respectively provided on different charging branches between a charging port and the battery;
[0065] Step S32: Adjust the impedance of at least one charging branch based on the total current input to the battery and the first current value of the first charge pump among the multiple charge pumps until the input current value of the first charge pump is adjusted from the first current value to within the target range.
[0066] When there are multiple charging branches between the charging port of the electronic device and the battery, and a charge pump is provided on each charging branch, the charge pump is used to charge the battery.
[0067] When the charging port is connected to an external power source, each charging branch can charge the battery through its charge pump. When multiple charging branches simultaneously receive power from the external power source and charge the battery through the charge pump, the total current received by the battery is the sum of the input current values of the charge pumps on each charging branch. The battery is equipped with a fuel meter, which can be used to measure the total current received by the battery.
[0068] In addition, it is necessary to obtain the input current value of at least one charge pump, such as obtaining the first current value of the first charge pump. Then, the first current value of the first charge pump can be obtained through the power meter on the charging branch where the first charge pump is located. The power meter on the charging branch can be: a current detection device for detecting the current value, or it can be: a voltage detection device for detecting the voltage value. After detecting the voltage value, the current value is calculated through the relationship between voltage and current.
[0069] After obtaining the total current and the first current value of the first charge pump, the target range can be determined, and it can be determined whether the first current value is within the target range. If it is within the target range, no adjustment may be performed temporarily. Alternatively, when the first current value is within the target range, and the input current values of the charge pumps on other charging branches detected at the same time are not within the target range, only the impedance of the charging branch where the charge pumps that are not within the target range are located can be adjusted. Alternatively, not only the impedance of the charging branch where the charge pumps that are not within the target range are located can be adjusted, but also the impedance of the charging branch where the other charge pumps are located can be adjusted. The other charge pumps can be the first charge pump. At this time, even if the first current value of the first charge pump is within the target range, the impedance of the charging branch where the first charge pump is located will be adjusted so that the input current value of the charge pump that is not within the target range can be within the target range after adjustment.
[0070] Accordingly, if it is determined that the first current value is not within the target range, at this time, only the impedance on the charging branch where the first charge pump is located can be adjusted so that the first current value of the first charge pump can be within the target range after adjustment; or, it can also be: not only the impedance on the charging branch where the first charge pump is located is adjusted, but also the impedance on other charging branches is adjusted to ensure that after the adjustment is completed, the first current value of the first charge pump can be within the target range.
[0071] Furthermore, based on the total current and the first current value, adjusting the impedance of at least one charging branch may be specifically as follows:
[0072] A target range is determined based on the total current input to the battery; and an impedance on at least one charging branch is adjusted based on a first current value of a first charge pump among the plurality of charge pumps and the target range.
[0073] That is, first determine the target range. The target range can be a current range. The target range is determined based on the total current. Specifically, determine the number of charging branches, divide the total current by the number, and the theoretical output current value of the charge pump on each charging branch can be obtained. Based on the theoretical output current value, the theoretical input current value of each charge pump is obtained. If the charge pump has a 2:1 architecture, the theoretical output current value is divided by 2 to obtain the theoretical input current value. Add a target value to the theoretical input current value to obtain the maximum value of the target range. Subtract a target value from the theoretical input current value to obtain the minimum value of the target range. In this way, the target range can be determined.
[0074] For example: the total current input to the battery is 7A, and the number of charging branches is 2. The theoretical output current value of the charge pump on each charging branch should be 7 / 2=3.5A. If the charge pump has a 2:1 architecture, that is, the current is doubled after passing through the charge pump, then the theoretical input current value of the charge pump on each charging branch should be 3.5 / 2=1.75A. If the target value is 0.5A, the maximum value of the target range is 2.25A, and the minimum value of the target range is 1.25A. It is sufficient to ensure that the input current value of the charge pump on each charging branch is between 1.25A and 2.25A.
[0075] In addition, determining the target range based on the total current may also include: determining the maximum value of the target range based on the total current input to the battery and the maximum target percentage; and determining the minimum value of the target range based on the total current input to the battery and the minimum target percentage.
[0076] That is, the maximum target percentage and minimum target percentage are set in advance. The maximum target percentage is the maximum percentage of the output current value of each charge pump to the total current received by the battery, and the minimum target percentage is the minimum percentage of the output current value of each charge pump to the total current received by the battery. For example, if the total current input to the battery is 7A, the maximum target percentage is 60%, and the minimum target percentage is 40%, then the output current value of each charge pump should range from 2.8A to 4.2A.
[0077] After determining the output current range of each charge pump based on the total current, maximum target percentage, and minimum target percentage, determine the input current range of each charge pump based on the charge pump architecture, i.e., the target range. For example, if the charge pump has a 2:1 architecture, i.e., the current doubles after passing through the charge pump, then when the output current range of each charge pump is 2.8A-4.2A, it can be determined that the input current range of each charge pump should be 1.4A-2.1A, and the target range can be determined to be 1.4A-2.1A. After adjusting the impedance on the charging branch, it should be ensured that the input current value of each charge pump is within the range of 1.4A-2.1A.
[0078] Alternatively, the target range may be directly a target percentage range, i.e., a target percentage range of the input current value received by a charge pump relative to the total current input to the multiple charge pumps. After obtaining the input current value of the charge pump and the total current input to the multiple charge pumps, the percentage of the input current value of the charge pump relative to the total current input to the multiple charge pumps may be determined. The percentage may then be determined to determine whether it falls within the target percentage range, thereby determining whether the impedance of at least one charging branch needs to be adjusted.
[0079] The current regulation method disclosed in this embodiment obtains the input current value of at least one charge pump when there are multiple charging branches between the charging port of the electronic device and the battery, and a charge pump for charging the battery is provided on each charging branch. A target range is determined based on the total current input to the battery and the first current value of the first charge pump among the multiple charge pumps. The impedance of at least one charging branch is adjusted according to the difference between the input current value of the charge pump and the target range, thereby avoiding the problem of large differences in the input current values of the charge pumps on different charging branches.
[0080] Furthermore, in the current regulation method disclosed in this embodiment, the impedance of at least one charging branch is adjusted based on the first current value and the target range of the first charge pump among the multiple charge pumps, which can be specifically as follows:
[0081] Based on a first current value and a target range of a first charge pump among a plurality of charge pumps, an impedance on a first charging branch where the first charge pump is located is adjusted, and / or an impedance on a second charging branch where a second charge pump is located is adjusted, where the second charge pump is a charge pump among the plurality of charge pumps that is different from the first charge pump.
[0082] When the input current value of the first charge pump is detected to obtain a first current value of the first charge pump, in one case, if the first current value of the first charge pump is within a target range, then no impedance adjustment is required for the first charging branch where the first charge pump is located. In this case, regardless of whether the input current value of the second charge pump or other charge pumps is within the target range, no impedance adjustment is required for the first charging branch. Correspondingly, if the first current value of the first charge pump is not within the target range, while the second current value of the second charge pump is within the target range, then the impedance of the second charging branch where the second charge pump is located does not need to be adjusted, and only the impedance of the first charging branch where the first charge pump is located is adjusted. Specifically, the impedance of the charging branch where the charge pump whose input current value is not within the target range is adjusted.
[0083] In another case, if it is determined that the first current value of the first charge pump is within the target range and the second current value of the second charge pump is not within the target range, the impedance of the first charging branch where the first charge pump is located is adjusted, while the impedance of the second charging branch where the second charge pump is located is not adjusted. Only by adjusting the impedance on the first charging branch, the second current value of the second charge pump is finally within the target range. At the same time, the first current value of the first charge pump is also within the target range. Correspondingly, if the first current value of the first charge pump is within the target range and the third current value of the third charge pump is not within the target range, the impedance of the first charging branch where the first charge pump is located is adjusted, while the impedance of the third charging branch where the third charge pump is located is not adjusted. The third charge pump is a charge pump other than the first and second charge pumps among the multiple charge pumps. That is, no matter which charge pump's current value is not within the target range, the first charging branch where the first charge pump is located is adjusted. Of course, it can also be: no matter which charge pump's current value is not within the target range, the impedance of the charging branch where a specific charge pump is located is adjusted. Here, it is not limited to adjusting only the impedance of the first charging branch where the first charge pump is located, and it can also be the impedance of the charging branch where another specific charge pump is located.
[0084] Of course, there is another situation: when it is determined that the first current value of the first charge pump is within the target range and the second current value of the second charge pump is not within the target range, the impedance of the first charging branch where the first charge pump is located is adjusted, and the impedance of the second charging branch where the second charge pump is located is not adjusted, so that the second current value of the second charge pump is finally within the target range, and at the same time, the first current value of the first charge pump is also within the target range; correspondingly, when it is determined that the first current value of the first charge pump is not within the target range and the second current value of the second charge pump is within the target range, the impedance of the second charging branch where the second charge pump is located is adjusted, and the impedance of the first charging branch where the first charge pump is located is not adjusted, so that the first current value of the first charge pump and the second current value of the second charge pump are finally within the target range, that is, the current value corresponding to any charge pump is within the target range through cross-regulation.
[0085] In another case, when it is determined that the first current value of the first charge pump is within the target range and the second current value of the second charge pump is not within the target range, the impedance of the first charging branch where the first charge pump is located and the impedance of the second charging branch where the second charge pump is located can be adjusted simultaneously so that the second current value of the second charge pump is ultimately within the target range and the first current value of the first charge pump is also within the target range.
[0086] This embodiment discloses a current regulation method, the flow chart of which is as follows: Figure 4 Shown, including:
[0087] Step S41: obtaining an input current value of at least one charge pump among a plurality of charge pumps, where the charge pumps are used to charge a battery of an electronic device, and different charge pumps are respectively provided on different charging branches between a charging port and the battery;
[0088] Step S42: determining a target range based on the total current input to the battery;
[0089] Step S43: If it is determined that the first current value of the first charge pump is greater than the maximum value of the target range, increase the impedance of the first charging branch where the first charge pump is located;
[0090] Step S44: If it is determined that the first current value of the first charge pump is less than the minimum value of the target range, reduce the impedance of the first charging branch where the first charge pump is located.
[0091] There are multiple charging branches between the charging port of the electronic device and the battery, and a charge pump for charging the battery is set on each charging branch. The input current value of at least one charge pump is obtained, and the target range is determined based on the total current input to the battery, and then the first current value of the first charge pump is compared with the target range.
[0092] If it is determined that the first current value of the first charge pump is within the target range, then there is no need to adjust the impedance of the first charging branch where the first charge pump is located;
[0093] If it is determined that the first current value of the first charge pump is greater than the maximum value of the target range, that is, the first current value of the first charge pump is greater than the target range, indicating that the first current value of the first charge pump is too large, at this time, the first current value of the first charge pump can be reduced by increasing the impedance on the first charging branch where the first charge pump is located.
[0094] If it is determined that the first current value of the first charge pump is less than the minimum value of the target range, that is, the first current value of the first charge pump is less than the target range, indicating that the first current value of the first charge pump is too small, at this time, the first current value of the first charge pump can be increased by reducing the impedance on the first charging branch where the first charge pump is located.
[0095] Furthermore, the impedance of the second charging branch where the second charge pump resides can be adjusted based on the first current value of the first charge pump and the target range. Specifically, if the first current value of the first charge pump is greater than the maximum value of the target range, indicating that the first current value of the first charge pump is too large, the first current value of the first charge pump can be reduced by reducing the impedance of the second charging branch where the second charge pump resides. As the impedance of the second charging line where the second charge pump resides decreases, the second current value of the second charge pump increases accordingly. Since the total current input to the multiple charge pumps is fixed, this reduces the first current value of the first charge pump.
[0096] Accordingly, if the first current value of the first charge pump is less than the minimum value of the target range, indicating that the first current value of the first charge pump is too small, the first current value of the first charge pump can be increased by increasing the impedance of the second charging branch where the second charge pump is located. As the impedance of the second charging branch where the second charge pump is located increases, the second current value of the second charge pump decreases accordingly. Since the total current input to the multiple charge pumps is fixed, this increases the first current value of the first charge pump.
[0097] The second charge pump may be any one of the multiple charge pumps except the first charge pump, or may be a designated one of the multiple charge pumps except the first charge pump.
[0098] It should be noted that in the current regulation method disclosed in this embodiment, after increasing or decreasing the impedance on the first charging branch once based on the first current value and the target range, the first current value of the first charge pump continues to be detected to determine whether it is within the target range. If it is not within the target range, the impedance on the first charging branch continues to be increased or decreased once until it is detected that the first current value of the first charge pump is within the target range. That is, if the input current value of the first charge pump cannot be within the target range through one adjustment, multiple adjustments are required, and the number of adjustments is related to whether the input current value of the first charge pump is within the target range.
[0099] The current regulation method disclosed in this embodiment obtains the input current value of at least one charge pump and determines a target range based on the total current input to the battery when multiple charging branches are located between the charging port of an electronic device and the battery, and each charging branch is provided with a charge pump for charging the battery. When the first current value of the first charge pump is determined to be greater than the maximum value of the target range, the impedance of the first charging branch where the first charge pump is located is increased. When the first current value of the first charge pump is determined to be less than the minimum value of the target range, the impedance of the first charging branch where the first charge pump is located is reduced. This solution reduces the first current value of the first charge pump by increasing the impedance of the first charging branch, and increases the first current value of the first charge pump by reducing the impedance of the first charging branch. Adjusting the impedance of the charging branch achieves precise control of the input current value of the charge pump.
[0100] Furthermore, in the current regulation method disclosed in this embodiment, increasing the impedance on the first charging branch where the first charge pump is located can be specifically done by reducing the bias voltage of the first field effect transistor on the first charging branch where the first charge pump is located, and the impedance on the first charging branch is negatively correlated with the bias voltage of the first field effect transistor.
[0101] When it is necessary to reduce the first current value of the first charge pump, the impedance on the first charging branch where the first charge pump is located can be increased, and increasing the impedance on the first charging branch where the first charge pump is located can be achieved by reducing the bias voltage of the first field effect transistor on the first charging branch where the first charge pump is located.
[0102] Since the impedance on the first charging branch is negatively correlated with the bias voltage of the first field effect transistor on the first charging branch, that is, the greater the bias voltage of the first field effect transistor on the first charging branch, the smaller the impedance on the first charging branch, and the smaller the bias voltage of the first field effect transistor on the first charging branch, the greater the impedance on the first charging branch.
[0103] like Figure 5 As shown in FIG, it is a relationship diagram between the bias voltage of the first field effect tube on a certain charging branch and the impedance of the charging branch. Figure 5 The horizontal axis corresponds to the bias voltage of the first field effect tube on a certain charging branch, and the vertical axis corresponds to the impedance on the charging branch. Figure 5 It can be determined that as the bias voltage of the first field effect transistor increases, the impedance on the charging branch becomes smaller and smaller.
[0104] in addition, Figure 5 The temperature parameter is also included. When the bias voltage of the first field effect tube on the charging branch reaches a certain value, under the same bias voltage, the higher the temperature, the greater the impedance.
[0105] Therefore, in order to increase the impedance on the first charging branch where the first charge pump is located, the bias voltage of the first field effect transistor on the first charging branch where the first charge pump is located can be reduced; correspondingly, in order to reduce the impedance on the first charging branch where the first charge pump is located, the bias voltage of the first field effect transistor on the first charging branch where the first charge pump is located can be increased.
[0106] Specifically, reducing the bias voltage of the first field effect transistor on the first charging branch where the first charge pump is located can be as follows: based on the initial bias voltage and voltage adjustment value of the first field effect transistor on the first charging branch where the first charge pump is located, reducing the bias voltage of the first field effect transistor on the first charging branch until the input current value on the first charging branch is within the target range.
[0107] The voltage adjustment value for each bias voltage adjustment can be pre-set. That is, whenever the bias voltage is adjusted, the bias voltage is increased or decreased based on the voltage adjustment value to obtain the adjusted bias voltage. When the bias voltage needs to be adjusted again, the adjusted bias voltage is increased or decreased based on the voltage adjustment value. For example, the voltage adjustment value is set to 1V, and the initial value of the bias voltage is 5V. When adjusting the bias voltage, the bias voltage can be adjusted to 4V or 6V. If the bias voltage needs to be adjusted again, the bias voltage of 4V can be adjusted to 3V, or the bias voltage of 6V can be adjusted to 7V.
[0108] A field effect transistor is set on the charging branch. By adjusting the bias voltage of the field effect transistor, the field effect transistor operates in a variable impedance area. As the impedance on the charging branch changes, the input current value of the charge pump on the charging branch is adjusted.
[0109] Only charging branches equipped with field-effect transistors can actively adjust the impedance of the charging branch, thereby adjusting the input current value of the charge pump on the charging branch. For charging branches without field-effect transistors, the field-effect transistors on other charging branches equipped with field-effect transistors need to be adjusted. By adjusting the field-effect transistors on the charging branches equipped with field-effect transistors, the input current value of the charge pump on the charging branches equipped with field-effect transistors is adjusted, thereby achieving the purpose of passively adjusting the input current value of the charge pump on the charging branches without field-effect transistors. Therefore, the number of field-effect transistors is less than or equal to the number of charging branches.
[0110] Therefore, for an electronic device with multiple charging branches, a field effect transistor may be provided on only one charging branch, or on some charging branches, so as to increase the flexibility in adjusting the input current value of the charge pump on different charging branches.
[0111] like Figure 6 As shown, it is a schematic diagram of an electronic device to which the current regulation method disclosed in this embodiment is applied. The device is a device with two charging branches, including: a battery 61, a charging port 62, a first charge pump 63, a second charge pump 64, a field effect transistor 65, a first fuel meter 66 for detecting the total current received by the battery 61, and a second fuel meter 67 for detecting the bias voltage of the field effect transistor 65.
[0112] In addition, a third electric meter may be added to detect the input current value of the first charge pump 63, or a third electric meter may be added to detect the input current value of the first charge pump 63. Figure 6 The current detection line I sense in the circuit can also be determined by the quotient between the bias voltage detected by the second electricity meter 67 and the impedance.
[0113] The first charge pump 63 is arranged on the first charging branch. On the first charging branch, the charging port 62 is connected to the field effect transistor 65, and is connected to the first charge pump 63 through the field effect transistor 65. The first charge pump 63 is connected to the battery 61 through the first connector; the second charge pump 64 is arranged on the second charging branch. On the second charging branch, the charging port 62 is connected to the second charge pump 64, and the second charge pump 64 is connected to the battery 61 through the second connector.
[0114] The battery 61 has two connectors, namely a first connector and a second connector, wherein the first connector faces the sub-board and is used to connect to a first charge pump provided on the sub-board, and the second connector faces the main board and is used to connect to a second charge pump provided on the main board.
[0115] in addition, Figure 6 It also includes an FPC board, which is placed above the battery. Figure 6The device also includes a charging chip, on which a second fuel meter and a power management MCU are provided. The power management MCU is used to obtain the total current and the first current value, and adjust the bias voltage of the field effect tube according to the total current and the first current value.
[0116] When the input current value of the first charge pump 63 is not within the target range, it is necessary to adjust the bias voltage of the field effect transistor 65 to adjust the impedance of the first charging branch, thereby achieving the purpose of adjusting the input current value of the first charge pump 63; when the input current value of the second charge pump 64 is not within the target range, it is necessary to adjust the bias voltage of the field effect transistor 65 to adjust the impedance of the first charging branch, thereby achieving the purpose of adjusting the input current value of the first charge pump 63. Since the input current value of the first charge pump 63 is adjusted, the input current value of the second charge pump 64 is adjusted.
[0117] This embodiment discloses an electronic device, the structural diagram of which is shown in FIG. Figure 7 Shown, including:
[0118] Charging port 71 , battery 72 , multiple charge pumps 73 and processor 74 .
[0119] The charge pump 73 is used to charge the battery, and different charge pumps are respectively provided on different charging branches between the charging port 71 and the battery 72;
[0120] The processor 74 is configured to obtain an input current value of at least one charge pump among the plurality of charge pumps 73 and adjust the impedance of at least one charging branch until the input current value of at least one charge pump among the plurality of charge pumps is within a target range.
[0121] Furthermore, it also includes:
[0122] At least one field effect transistor, each field effect transistor is respectively arranged on a different charging branch, and the number of field effect transistors is less than or equal to the number of charging branches;
[0123] The at least one field effect tube includes at least a first field effect tube arranged on a first charging branch where a first charge pump among the multiple charge pumps is located, and the impedance on the first charging branch is negatively correlated with the bias voltage of the first field effect tube.
[0124] Furthermore, the processor is configured to:
[0125] Based on the total current input to the battery and a first current value of a first charge pump among the plurality of charge pumps, the impedance of at least one charging branch is adjusted until the input current value of the first charge pump is adjusted from the first current value to within a target range.
[0126] Furthermore, the processor is configured to:
[0127] A target range is determined based on the total current input to the battery; and an impedance on at least one charging branch is adjusted based on a first current value of a first charge pump among the plurality of charge pumps and the target range.
[0128] Furthermore, the processor is configured to:
[0129] Based on the first current value and target range of a first charge pump among multiple charge pumps, the impedance on a first charging branch where the first charge pump is located is adjusted; and / or, based on the first current value and target range of the first charge pump among the multiple charge pumps, at least the impedance on a second charging branch where a second charge pump is located is adjusted, the second charge pump being a charge pump among the multiple charge pumps that is different from the first charge pump.
[0130] Furthermore, the processor is configured to:
[0131] A maximum value of the target range is determined based on the total current input to the battery and the maximum target percentage; a minimum value of the target range is determined based on the total current input to the battery and the minimum target percentage.
[0132] Furthermore, the processor is configured to:
[0133] If it is determined that the first current value of the first charge pump is greater than the maximum value of the target range, the impedance on the first charging branch where the first charge pump is located is increased; if it is determined that the first current value of the first charge pump is less than the minimum value of the target range, the impedance on the first charging branch where the first charge pump is located is reduced.
[0134] Furthermore, the processor is configured to:
[0135] Reduce the bias voltage of the first field effect transistor on the first charging branch where the first charge pump is located, and the impedance on the first charging branch is negatively correlated with the bias voltage of the first field effect transistor; or increase the bias voltage of the first field effect transistor on the first charging branch where the first charge pump is located.
[0136] Furthermore, the processor is configured to:
[0137] Based on the initial bias voltage and voltage adjustment value of the first field effect transistor on the first charging branch where the first charge pump is located, the bias voltage of the first field effect transistor on the first charging branch is reduced until the input current value on the first charging branch is within the target range; or, based on the initial bias voltage and voltage adjustment value of the first field effect transistor on the first charging branch where the first charge pump is located, the bias voltage of the first field effect transistor on the first charging branch is increased until the input current value on the first charging branch is within the target range.
[0138] The electronic device disclosed in this embodiment is implemented based on the current detection method disclosed in the above embodiments, which will not be described in detail here.
[0139] In the electronic device disclosed in this embodiment, when there are multiple different charging branches between the charging port of the electronic device and the battery, a charge pump is provided on each charging branch. The charge pump is used to charge the battery of the electronic device. The input current value of at least one charge pump among the multiple charge pumps is obtained, and the impedance of the at least one charging branch is adjusted until the input current value of the at least one charge pump among the multiple charge pumps falls within a target range. In this solution, the impedance of the at least one charging branch is adjusted by adjusting the input current value of the at least one charge pump among the multiple charge pumps to achieve the adjustment of the input current value of the at least one charge pump within the target range, thereby ensuring that the input current values of the charge pumps on different branches are all within the target range, thereby avoiding the problem of large differences in the input current values of the charge pumps on different charging branches.
[0140] It should also be noted that the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed across multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment. In addition, in the drawings of the device embodiments provided in this application, the connection relationship between the modules indicates that there is a communication connection between them, which can be specifically implemented as one or more communication buses or signal lines.
[0141] Through the description of the above embodiments, those skilled in the art can clearly understand that the present application can be implemented by means of software plus necessary general hardware, and of course can also be implemented by special hardware including application-specific integrated circuits, special CPUs, special memories, special components, etc. In general, all functions performed by computer programs can be easily implemented with corresponding hardware, and the specific hardware structures used to implement the same function can also be diverse, such as analog circuits, digital circuits or special circuits, etc. However, for the present application, software program implementation is a better implementation method in most cases. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a readable storage medium, such as a computer's floppy disk, USB flash drive, mobile hard disk, ROM, RAM, magnetic disk or optical disk, etc., and includes a number of instructions to enable a computer device (which can be a personal computer, training equipment, or network equipment, etc.) to execute the methods described in each embodiment of the present application.
[0142] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware, or any combination thereof. When implemented by software, all or part of the embodiments may be implemented in the form of a computer program product.
[0143] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can 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 can be transmitted from a website, a computer, a training device or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website, a computer, a training device or a data center. The computer-readable storage medium can be any available medium that a computer can store or a data storage device such as a training device, a data center, etc. that includes one or more available media integrations. The available medium can be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive (SSD)).
Claims
1. A current regulation method, comprising: obtaining an input current value of at least one charge pump among a plurality of charge pumps, wherein the charge pump is used to charge a battery of the electronic device, and different charge pumps are respectively arranged on different charging branches between a charging port and the battery; The impedance of at least one of the charging branches is adjusted until an input current value of at least one of the plurality of charge pumps is within a target range.
2. The method according to claim 1 , wherein adjusting the impedance of at least one of the charging branches until the input current value of at least one of the plurality of charge pumps is within a target range comprises: Based on the total current input to the battery and a first current value of a first charge pump among the plurality of charge pumps, the impedance of the at least one charging branch is adjusted until the input current value of the first charge pump is adjusted from the first current value to be within the target range.
3. The method according to claim 2, wherein adjusting the impedance of the at least one charging branch based on the total current input to the battery and a first current value of a first charge pump among the plurality of charge pumps comprises: determining the target range based on a total current input to the battery; The impedance of the at least one charging branch is adjusted based on a first current value of a first charge pump among the plurality of charge pumps and the target range.
4. The method according to claim 3, wherein adjusting the impedance of the at least one charging branch based on the first current value of the first charge pump among the plurality of charge pumps and the target range comprises at least one of the following: adjusting the impedance of a first charging branch where the first charge pump is located based on a first current value of a first charge pump among the plurality of charge pumps and the target range; Based on the first current value of a first charge pump among the multiple charge pumps and the target range, at least the impedance of a second charging branch where a second charge pump is located is adjusted, where the second charge pump is a charge pump among the multiple charge pumps different from the first charge pump.
5. The method according to claim 3 or 4, wherein determining the target range based on the total current input to the battery comprises: determining a maximum value of the target range based on the total current input to the battery and the maximum target percentage; A minimum value of the target range is determined based on the total current input to the battery and a minimum target percentage.
6. The method according to claim 4, wherein adjusting the impedance of a first charging branch where a first charge pump is located based on a first current value of a first charge pump among the plurality of charge pumps and the target range comprises: If it is determined that the first current value of the first charge pump is greater than the maximum value of the target range, increasing the impedance of the first charging branch where the first charge pump is located; If it is determined that the first current value of the first charge pump is less than the minimum value of the target range, the impedance of the first charging branch where the first charge pump is located is reduced.
7. The method according to claim 6, wherein increasing the impedance of the first charging branch where the first charge pump is located comprises: reducing a bias voltage of a first field effect transistor on a first charging branch where the first charge pump is located, wherein the impedance on the first charging branch is negatively correlated with the bias voltage of the first field effect transistor; The reducing the impedance of the first charging branch where the first charge pump is located includes: The bias voltage of the first field effect transistor on the first charging branch where the first charge pump is located is increased, and the impedance on the first charging branch is negatively correlated with the bias voltage of the first field effect transistor.
8. The method according to claim 7, wherein reducing the bias voltage of the first field effect transistor on the first charging branch where the first charge pump is located comprises: reducing the bias voltage of the first field-effect transistor on the first charging branch where the first charge pump is located, based on the initial bias voltage and the voltage adjustment value of the first field-effect transistor on the first charging branch, until the input current value of the first charging branch is within the target range; Increasing the bias voltage of the first field effect transistor on the first charging branch where the first charge pump is located includes: Based on the initial bias voltage and the voltage adjustment value of the first field effect transistor on the first charging branch where the first charge pump is located, the bias voltage of the first field effect transistor on the first charging branch is increased until the input current value on the first charging branch is within the target range.
9. An electronic device comprising: Charging port; Battery; a plurality of charge pumps, each of which is used to charge the battery, wherein different charge pumps are respectively arranged on different charging branches between the charging port and the battery; The processor is configured to obtain an input current value of at least one charge pump among a plurality of charge pumps, and adjust an impedance on at least one of the charging branches until the input current value of the at least one charge pump among the plurality of charge pumps is within a target range.
10. The electronic device according to claim 9, further comprising: At least one field effect transistor, each field effect transistor is respectively arranged on a different charging branch, and the number of the field effect transistors is less than or equal to the number of the charging branches; The at least one field effect tube includes at least a first field effect tube arranged on a first charging branch where a first charge pump among the multiple charge pumps is located, and the impedance on the first charging branch is negatively correlated with the bias voltage of the first field effect tube.