An electronic device, a charging regulation method, a storage medium, and a program product

CN122969154APending Publication Date: 2026-10-23BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510459165.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-11
Publication Date
2026-10-23

AI Technical Summary

Benefits of technology

[0032]本公开实施例提出的电子设备中,并联电池组的第一电池通过限流模组连接电荷泵,第二电池直接连接电荷泵,且处理器能够根据第一电池的充电数据和第二电池的充电数据,分别确定针对第一电池的调控策略和针对第二电池的调控策略。这样,通过设置限流模组不仅可以有效管理第一电池的超流问题,保护第一电池的充电安全,还能够控制第一电池在指定电流下充电,保证充电效率;同时由于限流模组的成本低于电荷泵,相较于为每个电池设置一个电荷泵来管理充电来说,本公开的硬件成本更低,制备更方便;另外,本公开中处理器采集第一电池和第二电池的充电数据来分别确定各自对应的调控策略,相较于将各个电池都等效为一个电池统一调控来说,本公开实现对并联电池组中各电池的单独管理,以使各电池进行高效、安全的充电。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122969154A_ABST
    Figure CN122969154A_ABST
Patent Text Reader

Abstract

The present disclosure relates to an electronic device, a charging regulation method, a storage medium and a program product. The electronic device comprises a charge pump and a current limiting module; a parallel battery pack comprising a first battery and a second battery connected in parallel; the second battery is connected to the output end of the charge pump; the output end of the charge pump is connected to the first battery through the current limiting module; a processor connected to the charge pump, the current limiting module, the first battery and the second battery, respectively, for determining a first regulation strategy for the first battery and a second regulation strategy for the second battery according to the charging data of the first battery and the charging data of the second battery when the charge pump outputs a charging signal; the present disclosure sets a current limiting module for the first battery in the parallel battery pack, and uses the processor to manage the charging of the first battery and the second battery in the parallel battery pack, respectively, thereby improving the charging efficiency and safety of each battery in the parallel battery pack.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of electronic device charging and fast charging, and in particular to an electronic device and a charging control method, storage medium, and program product. Background Technology

[0002] With the rapid development of electronic devices, the functions of electronic products are constantly increasing, and the demand for battery life is also rising; therefore, high-capacity battery products are becoming more and more common.

[0003] Foldable devices are gaining an increasingly larger market share in the electronics market. Examples include small foldable, large foldable, and triple-foldable phones. These devices all use a parallel battery architecture to support battery life. This parallel battery architecture places higher demands on battery charging management costs, battery charging safety, and charging efficiency. Summary of the Invention

[0004] To overcome the problems existing in related technologies, this disclosure provides an electronic device and a charging control method, a storage medium, and a program product. This disclosure sets up a current-limiting module for the first battery in a parallel battery pack and utilizes a processor to manage the charging of the first and second batteries in the parallel battery pack respectively, thereby improving the charging efficiency and safety of each battery in the parallel battery pack.

[0005] According to a first aspect of the present disclosure, an electronic device is provided, comprising:

[0006] Charge pump and current limiting module;

[0007] A parallel battery pack, comprising a first battery and a second battery connected in parallel;

[0008] The second battery is connected to the output terminal of the charge pump;

[0009] The output terminal of the charge pump is connected to the first battery through the current limiting module;

[0010] The processor is connected to the charge pump, the current limiting module, the first battery, and the second battery, respectively, and is used to determine a first control strategy for the first battery and a second control strategy for the second battery based on the charging data of the first battery and the charging data of the second battery when the charge pump outputs a charging signal.

[0011] Wherein, the first regulation strategy is used to at least indicate the current limiting value of the current limiting module; the second regulation strategy is used to indicate the charging regulation parameters for the second battery.

[0012] In some alternative embodiments, the first battery is at least one, and / or the second battery is at least one.

[0013] In some alternative embodiments, the electronic device includes a folding device; the folding device includes a hinge area and a plurality of main body areas separated by the hinge area; at least one battery is disposed in at least a portion of the plurality of main body areas; the battery includes a first battery or a second battery.

[0014] In some alternative embodiments, the folding device includes a pivot area and two main body areas respectively connected to opposite sides of the pivot area; the first battery is disposed in one of the main body areas and the second battery is disposed in the other main body area.

[0015] In some alternative embodiments, the current limiting module is located in a non-rotating shaft area.

[0016] In some optional embodiments, the electronic device further includes: a charging interface for connecting to an external charger; a charge pump connected to the charging interface; a power management chip connected to the charging interface; and a processor connected to the power management chip for controlling the power management chip to send a voltage regulation request to the charger according to the first regulation strategy and / or the second regulation strategy.

[0017] In some optional embodiments, the electronic device further includes: a detection module for detecting that the connected charger supports fast charging, wherein the processor executes the process of determining a first control strategy for the first battery and a second control strategy for the second battery based on the charging data of the first battery and the charging data of the second battery, respectively.

[0018] According to a second aspect of the present disclosure, a charging regulation method is provided, applied to the electronic device proposed in the first aspect. The charging regulation method includes: in response to a charge pump outputting a charging signal of the electronic device, acquiring charging data of a first battery and a second battery in a parallel battery pack of the electronic device; determining a first regulation strategy for the first battery and a second regulation strategy for the second battery based on the charging data of the first battery and the charging data of the second battery; wherein the first regulation strategy is used to at least indicate a current limiting value of a current limiting module connected to the first battery; the second regulation strategy is used to indicate charging regulation parameters for the second battery; and charging regulation is performed based on the first regulation strategy and the second regulation strategy.

[0019] In some optional embodiments, the method includes periodically regulating charging and, in response to the start of each regulation cycle, executing the charging signal output by the charge pump of the electronic device to acquire charging data of a first battery and a second battery in the parallel battery pack of the electronic device.

[0020] In some optional embodiments, determining a first control strategy for the first battery and a second control strategy for the second battery based on the charging data of the first battery and the charging data of the second battery includes: in response to each round of the control cycle, determining the charging state of the first battery based on the charging data of the first battery, and determining the charging state of the second battery based on the charging data of the second battery; wherein the battery charging data includes at least a charging state identifier and a Jeita current limit value; determining the first control strategy and the second control strategy based on the charging state of the first battery, the charging state of the second battery, and the effective current limit parameter within the control cycle; wherein the effective current limit parameter within the control cycle is determined by the Jeita current limit value of the first battery, the Jeita current limit value of the second battery, and / or the overall temperature control current limit value of the electronic device within the control cycle.

[0021] In some optional embodiments, determining the first control strategy and the second control strategy based on the charging state of the first battery, the charging state of the second battery, and the effective current limiting parameter within the control period includes: determining a target state combination based on the charging state of the first battery and the charging state of the second battery; determining a target control algorithm corresponding to the target state combination based on the target state combination and a preset relationship; and determining the first control strategy and the second control strategy based on the target control algorithm and the effective current limiting parameter within the control period, respectively; wherein the preset relationship is used to indicate the correspondence between the preset state combination and the preset control algorithm, the charging state in the preset state combination includes a first charging state and / or a second charging state, the first charging state being a constant current charging state where the charging voltage of the battery rises when the charging current of the battery is within a preset current range; the second charging state being a constant voltage charging state where the charging current of the battery decreases when the charging voltage of the battery is within a preset voltage range; the preset control algorithm is used to determine the control strategy for each battery in the parallel battery pack according to the preset state combination and the effective current limiting parameter.

[0022] In some optional embodiments, determining the target control algorithm corresponding to the target state combination based on the target state combination and the preset relationship, and determining the first control strategy and the second control strategy based on the target control algorithm and the effective current limiting parameter within the control period, respectively, includes: in response to the target state combination being the first charging state of the first battery and the first charging state of the second battery, determining the target control algorithm as a first preset control algorithm based on the preset relationship; in response to the first preset control algorithm determining that the effective current limiting parameter within the control period is the overall temperature control current limiting value, updating the current limiting value of the current limiting module with the Jeita current limiting value of the first battery as the target. The first control strategy is to apply for dynamic voltage regulation from the external charger based on the charging current of the first battery, the charging current of the second battery, and the overall temperature control current limit value, which is determined as the second control strategy. In response to the first preset control algorithm determining that the effective current limit parameter within the control cycle is the sum of the current limit values ​​between the Jeita current limit values ​​of the first battery and the second battery, the current limit value of the current limiting module is updated with the Jeita current limit value of the first battery as the target, which is the first control strategy. The second control strategy is to apply for dynamic voltage regulation from the charger based on the current difference between the Jeita current limit value of the second battery and the charging current of the second battery.

[0023] In some optional embodiments, determining the target control algorithm corresponding to the target state combination based on the target state combination and the preset relationship, and determining the first control strategy and the second control strategy based on the target control algorithm and the effective current limiting parameter within the control period, respectively, includes: in response to the target state combination being the first charging state of the first battery and the second charging state of the second battery, determining the target control algorithm as a second preset control algorithm based on the preset relationship; in response to the second preset control algorithm determining that the effective current limiting parameter within the control period is the overall temperature control current limiting value, using the Jeita current limiting value of the first battery... The current limiting value of the current limiting module is updated to the target value as the first control strategy; and a monotonic voltage reduction is requested from the external charger with a first preset voltage reduction value, which is determined as the second control strategy; in response to the second preset control algorithm determining that the effective current limiting parameter within the control cycle is the sum of the current limiting values ​​of the first battery and the second battery, the current limiting value of the current limiting module is updated to the target value of the first battery's Jeita current limiting value as the first control strategy; and a voltage adjustment is requested from the charger based on the comparison result between the second battery's Jeita voltage limiting value and the second battery's charging voltage, which is determined as the second control strategy.

[0024] In some optional embodiments, the step of determining a target control algorithm corresponding to the target state combination based on the target state combination and a preset relationship, and determining the first control strategy and the second control strategy based on the target control algorithm and the effective current limiting parameter within the control period, includes: in response to the target state combination being the second charging state of the first battery and the first charging state of the second battery, determining the target control algorithm as a third preset control algorithm based on the preset relationship; in response to the third preset control algorithm determining that the effective current limiting parameter within the control period is the overall temperature control current limiting value, updating the current limiting value of the current limiting module with a first fixed current reduction value as the target, and requesting a monotonic voltage reduction from the external charger with a second preset voltage reduction value as the first The control strategy is as follows: First, no charging control parameters are generated for the second battery. Second, in response to the third preset control algorithm determining that the effective current limiting parameter within the control period is the sum of the current limiting values ​​of the first battery and the second battery, the current limiting value of the current limiting module is updated with the target of the charging voltage of the first battery being within the preset voltage range corresponding to the second charging state, and dynamic voltage adjustment is requested from the charger, as the first control strategy. Third, when the first control strategy indicates that no voltage adjustment is requested from the charger within the control period, dynamic voltage adjustment is requested from the charger based on the current difference between the current limiting value of the second battery and the charging current of the second battery, and this is determined as the second control strategy.

[0025] In some optional embodiments, the step of determining a target control algorithm corresponding to the target state combination based on the target state combination and a preset relationship, and determining the first control strategy and the second control strategy based on the target control algorithm and the effective current limiting parameter within the control period, includes: in response to the target state combination being the second charging state of the first battery and the second charging state of the second battery, determining the target control algorithm as a fourth preset control algorithm based on the preset relationship; in response to the fourth preset control algorithm determining that the effective current limiting parameter within the control period is the overall temperature control current limiting value, updating the current limiting value of the current limiting module with a second fixed current reduction value as the target, and requesting a monotonic voltage reduction from the external charger with a third preset voltage reduction value as the first A first control strategy is adopted; and a second control strategy is adopted, which is to not generate charging control parameters for the second battery. In response to the fourth preset control algorithm determining that the effective current limiting parameter in the control period is the sum of the current limiting values ​​between the Jeita current limiting value of the first battery and the Jeita current limiting value of the second battery, the current limiting value of the current limiting module will be updated with the target of the charging voltage of the first battery being within the preset voltage range corresponding to the second charging state, and dynamic voltage adjustment will be requested from the charger, which is adopted as the first control strategy. When the first control strategy indicates that no voltage adjustment will be requested from the charger in the control period, the voltage adjustment will be requested from the charger according to the comparison result between the Jeita voltage limiting value of the second battery and the charging voltage of the second battery, which is determined as the second control strategy.

[0026] In some optional embodiments, the step of requesting voltage adjustment from the charger based on a comparison between the Jeita voltage limit of the second battery and the charging voltage of the second battery, and determining this as the second regulation strategy, includes: if the comparison result indicates that the charging voltage of the second battery is greater than the Jeita voltage limit of the second battery, then determining a voltage adjustment value to be requested from the charger based on the voltage difference between the charging voltage of the second battery and the Jeita voltage limit of the second battery; if the comparison result indicates that the charging voltage of the second battery is less than or equal to the Jeita voltage limit of the second battery, then determining a voltage adjustment value to be requested from the charger based on the charging voltage of the second battery within the preset voltage range corresponding to the second charging state.

[0027] In some optional embodiments, the method further includes: in response to detecting that the charger connected to the electronic device supports fast charging, performing the charging data based on the first battery and the charging data of the second battery to determine a first control strategy for the first battery and a second control strategy for the second battery.

[0028] According to a third aspect of the present disclosure, an electronic device is provided, the electronic device comprising: a processor; and a memory for storing computer programs or instructions; wherein the processor executes the computer programs or instructions to implement the steps of the method in the second aspect described above.

[0029] According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium is provided, the storage medium storing a computer program or instructions, wherein when the computer program or instructions in the storage medium are executed by a processor, the steps of the method in the second aspect described above are implemented.

[0030] According to a fifth aspect of the present disclosure, a computer program product is provided, wherein when the computer program or instructions are executed by a processor, the steps of the method in the second aspect described above are implemented.

[0031] The technical solutions provided by the embodiments of this disclosure may include the following beneficial effects:

[0032] In the electronic device proposed in this embodiment, the first battery of the parallel battery pack is connected to a charge pump via a current-limiting module, and the second battery is directly connected to the charge pump. The processor can determine control strategies for the first battery and the second battery respectively based on the charging data of the first and second batteries. Thus, by setting up the current-limiting module, not only can the overcurrent problem of the first battery be effectively managed, protecting its charging safety, but it can also control the charging of the first battery to a specified current, ensuring charging efficiency. Furthermore, since the cost of the current-limiting module is lower than that of the charge pump, compared to setting up a charge pump for each battery to manage charging, the hardware cost of this disclosure is lower and its fabrication is more convenient. In addition, in this disclosure, the processor collects charging data from the first and second batteries to determine their respective corresponding control strategies. Compared to treating each battery as a single battery for unified control, this disclosure achieves individual management of each battery in the parallel battery pack, enabling each battery to be charged efficiently and safely.

[0033] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description

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

[0035] Figure 1 This is a schematic diagram of the structure of an electronic device according to an exemplary embodiment.

[0036] Figure 2a This is a schematic diagram of the structure of a folding device according to an exemplary embodiment. Figure 1 .

[0037] Figure 2b This is a second schematic diagram of the structure of a folding device according to an exemplary embodiment.

[0038] Figure 3 This is a flowchart illustrating a charging control method according to an exemplary embodiment. Figure 1 .

[0039] Figure 4 This is a schematic flowchart of a charging control method according to an exemplary embodiment.

[0040] Figure 5a This is a schematic diagram of a charging control scheme for a parallel battery pack, as illustrated by an example. Figure 1 .

[0041] Figure 5b This is a schematic diagram of a charging control scheme for a parallel battery pack, as illustrated in an exemplary embodiment.

[0042] Figure 6a This is a schematic diagram of a charging curve without a current limiting chip, according to an exemplary embodiment.

[0043] Figure 6b This is a schematic diagram of a charging curve for setting a current-limiting chip according to an exemplary embodiment.

[0044] Figure 7 This is a structural block diagram of an electronic device according to an exemplary embodiment. Detailed Implementation

[0045] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.

[0046] Figure 1 This is a schematic diagram illustrating the structure of an electronic device according to an exemplary embodiment. For example... Figure 1 As shown, the electronic device includes:

[0047] Charge pump 1 and current limiting module 2;

[0048] Parallel battery pack 3 includes a first battery 31 and a second battery 32 connected in parallel.

[0049] The second battery 32 is connected to the output terminal of the charge pump 1;

[0050] The output terminal of charge pump 1 is connected to the first battery 31 through current limiting module 2;

[0051] The processor 4 is connected to the charge pump 1, the current limiting module 2, the first battery 31 and the second battery 32 respectively. When the charge pump 1 outputs a charging signal, it determines a first control strategy for the first battery 31 and a second control strategy for the second battery 32 based on the charging data of the first battery 31 and the charging data of the second battery 32 respectively.

[0052] The first control strategy is used to indicate at least the current limiting value of the current limiting module 2; the second control strategy is used to indicate the charging control parameters for the second battery 32.

[0053] Here, the electronic devices proposed in this disclosure include fixed terminals, mobile terminals, etc.; fixed terminals include, but are not limited to, vehicle terminals, televisions, etc.; mobile terminals include, but are not limited to, mobile phones such as foldable phones, tablets, or IoT terminals, etc., and the embodiments of this disclosure do not impose further limitations on them.

[0054] The aforementioned electronic devices are equipped with a charge pump and a parallel battery pack. A charge pump (CP) is a circuit that uses the charging and discharging of a capacitor to achieve voltage conversion; it is also known as a switched capacitor voltage converter and is typically used in conjunction with a high-power external charger to achieve high-power, fast charging of electronic devices.

[0055] In this embodiment, the electronic device includes a parallel battery pack, which comprises at least two batteries connected in parallel, wherein the positive terminals of the at least two batteries are connected together, and their negative terminals are connected together. By setting up a parallel battery pack, the total capacity of the battery pack can be the sum of the capacities of at least two batteries, thereby extending the device's operating time. Furthermore, the total current output capability of the parallel battery pack is increased, enabling it to provide a larger current to the load in the electronic device. Simultaneously, if one battery fails, power can be supplied using other parallel batteries, ensuring that the system is not interrupted due to the failure of a single battery and improving the reliability of the electronic device.

[0056] Understandably, the parallel connection of parallel battery packs presents challenges to the charging and discharging management of each battery. In related technologies, to ensure the charging performance of each battery, a charge pump is installed for each battery, thereby managing the charging current of each battery and preventing overcharging; this increases the hardware cost of the electronic device. Based on this, the present disclosure allows for the use of fewer charge pumps for parallel battery packs, with a current-limiting chip placed between the charge pumps and the batteries.

[0057] The current-limiting module's function is to limit the maximum charging current flowing from the charge pump to the battery. This module can be a current-limiting chip, which incorporates a current-limiting circuit composed of multiple electronic components and circuitry. Alternatively, it can be a current-limiting circuit composed of discrete components. The current-limiting circuit has multiple branches, each equipped with impedance elements of different impedances. By adjusting the conduction of different branches using switches, the maximum charging current flowing to the battery can be limited. It is understandable that because the current-limiting chip has fewer functions and a simpler structure than a charge pump, using a current-limiting chip to improve the overcurrent charging phenomenon of the first battery is more cost-effective and easier to manage than directly adjusting with multiple charge pumps.

[0058] In this embodiment of the disclosure, considering that setting a current limiting chip also puts some pressure on the hardware layout, the parallel-connected batteries in the parallel battery pack can also be divided into a first battery and a second battery. When a charge pump is connected to the first battery and the second battery respectively, a current limiting chip can be added between the output terminal of the first battery and the output terminal of the charge pump, instead of adding a current limiting chip between the second battery and the output terminal of the charge pump. This can reduce the cost and layout difficulty of electronic devices to a certain extent. At the same time, in order to manage the second battery, this embodiment of the disclosure can add a charging control function to the processor to realize the separate management of the charging of the first battery and the second battery.

[0059] It should be noted that the first battery and the second battery mentioned above can be batteries of the same type and capacity. The first / second batteries proposed in this disclosure are only used to distinguish whether the battery is connected to the current limiting chip and do not impose any restrictions on the battery itself.

[0060] In this embodiment, the processor can be a central processing unit (CPU) located on the motherboard of an electronic device, primarily responsible for processing and executing various program instructions within the electronic device. The processor can be electrically connected to the charge pump, the first battery, and the second battery, thereby acquiring charging data from both the first and second batteries, and determining a first control strategy for the first battery and a second control strategy for the second battery based on the charging data from both batteries.

[0061] Here, the battery charging data can include actual charging data such as charging voltage and charging current, as well as battery specification limits such as standard Jeita voltage limits and Jeita currents. Thus, this embodiment can determine whether the first battery needs voltage / current regulation based on its charging data. If voltage / current regulation is required, the determined first regulation strategy includes not only a current limit value for the current-limiting chip to control its adjustment and improve overcurrent protection, but also specific regulation parameters such as voltage regulation values. Adjusting the charge pump output voltage using the voltage regulation value allows the first battery to be charged at a suitable voltage. This suitable voltage and current maximize the charging rate while ensuring the charging safety of the first battery. Similarly, this embodiment can also determine whether the second battery needs voltage / current regulation based on its charging data. Since the second battery does not have a current-limiting chip, voltage / current regulation can be performed by adjusting the voltage, allowing it to be charged at a suitable voltage / current. This suitable voltage and current balance the charging safety and charging rate of the second battery. The voltage regulation of the first and second batteries can be achieved by adjusting the voltage of the charging signal output by the charge pump, adjusting the voltage output by the external charger, or changing the impedance of the charging circuit connected to the batteries. This disclosure does not limit the scope of the embodiments.

[0062] It is understood that, since the processor in this embodiment can acquire the charging data of the first battery and the charging data of the second battery respectively, and determine the control strategies for the first battery and the second battery respectively after analyzing the charging data, the flexibility of charging control is improved compared with the traditional solution that treats each parallel battery in the parallel battery pack as a single battery for unified control. In addition, since the unified processing is performed as a single battery, it does not focus on the charging stage of each battery. This may result in the overall current / voltage meeting the charging requirements, but the charging process of each individual battery is affected, thereby affecting the charging rate, or even causing overcharging of a single battery, affecting charging safety. This disclosure focuses on the charging data of each battery to determine the appropriate control strategy for each battery, thereby improving charging safety and charging rate.

[0063] In the electronic device proposed in this embodiment, the first battery of the parallel battery pack is connected to a charge pump via a current-limiting module, and the second battery is directly connected to the charge pump. The processor can determine control strategies for the first battery and the second battery respectively based on the charging data of the first and second batteries. Thus, by setting up the current-limiting module, not only can the overcurrent problem of the first battery be effectively managed, protecting its charging safety, but it can also control the charging of the first battery to a specified current, ensuring charging efficiency. Furthermore, since the cost of the current-limiting module is lower than that of the charge pump, compared to setting up a charge pump for each battery to manage charging, the electronic device proposed in this embodiment has lower hardware costs and is easier to manufacture. In addition, in this disclosure, the processor collects charging data from the first and second batteries to determine their respective corresponding control strategies. Compared to treating each battery as a single battery for unified control, this disclosure achieves individual management of each battery in the parallel battery pack, enabling each battery to be charged efficiently and safely.

[0064] In some alternative embodiments, there is at least one first battery and at least one second battery.

[0065] Here, in a parallel battery pack with a dual-parallel battery architecture, one battery is the first battery, connected to the output of the charge pump via a current-limiting chip, and the other battery is the second battery, directly connected to the output of the charge pump. In a parallel battery pack with a multi-parallel battery architecture (including N parallel batteries, N≥3), generally N-1 batteries are the first batteries, and one battery is the second battery, with each first battery connected to the output of the charge pump via a current-limiting chip. Of course, in other examples, considering the cost of the current-limiting chip and the difficulty of structural layout in the device, this disclosure can also reduce the number of first batteries and current-limiting chips in a balanced manner. In this case, the remaining second batteries can be charged and regulated by the processor. For example, the remaining second batteries can be treated as a single battery for unified control. This, compared to treating all parallel batteries in the parallel battery pack as a single battery, can to some extent improve overcurrent and overvoltage issues and increase charging efficiency.

[0066] It should be noted that each parallel battery pack corresponds to one charge pump, so electronic devices can be equipped with one or more such parallel battery packs, corresponding to different numbers of charge pumps, in order to meet the charging and discharging needs of electronic devices more fully.

[0067] The embodiments disclosed herein can flexibly determine the number of the first and second batteries based on factors such as the actual number of parallel batteries in the parallel battery pack, the cost and difficulty of setting up the current limiting chip, and flexibly adjust the charging control function of the processor. This can improve the charging safety and efficiency of the battery pack to a certain extent, and enhance the wide applicability of charging management for various parallel battery packs.

[0068] In some alternative embodiments, the electronic device proposed in this disclosure includes a folding device; see also Figure 2a and Figure 2b , Figure 2a This is a schematic diagram of the structure of a folding device according to an exemplary embodiment. Figure 1 ; Figure 2b This is a second schematic diagram of the structure of a folding device according to an exemplary embodiment; wherein the folding device includes a pivot area S and multiple main body areas separated by the pivot area S; at least one battery is disposed in at least a portion of the multiple main body areas; the battery includes a first battery 31 or a second battery 32.

[0069] The folding device proposed in the embodiments of this disclosure may include a large folding device and a small folding device, wherein the large folding device is a horizontal unfolding folding device and the small folding device is a vertical flipping folding device; of course, the folding device may also be a three-folding device or a multi-folding device, etc., and this disclosure does not limit it.

[0070] In this embodiment of the disclosure, in order to effectively realize the functions of each area separated by the pivot, each battery in the parallel battery pack can be selectively arranged in at least some areas. Depending on the functional needs of each area, equipment layout constraints, etc., a first battery or a second battery can be selected to be arranged in at least some main areas, and when arranging the first battery, the position of the current-limiting module connected to the first battery can be selected.

[0071] In some alternative embodiments, combined with Figure 2a As shown, the folding device includes a pivot area S and two main body areas connected to opposite sides of the pivot area S; a first battery 31 is disposed in one main body area and a second battery 32 is disposed in the other main body area.

[0072] Here, when the folding device consists of a hinge area and two main areas connecting the hinge area, the parallel battery pack can be a dual parallel battery architecture, wherein the first battery and its corresponding current limiting module can be set in one main area to supply power to the system load in that main area; the second battery is set in another main area to supply power to the system load in that main area.

[0073] In some other optional embodiments of this disclosure, the folding device has N-1 pivot areas and corresponding N main body areas, and the parallel battery pack can be an N-parallel battery architecture, in which case the N batteries can be respectively set in the N main body areas.

[0074] Combination Figure 2bAs shown, the folding device includes two pivot areas S and three main body areas connected by the two pivot areas S. The parallel battery pack is a three-parallel battery architecture, wherein the two first batteries 31 of the three batteries in the parallel battery pack are respectively located in the first two main body areas, and the second battery 32 is located in the last main body area.

[0075] The parallel battery pack proposed in this disclosure can be applied to foldable devices, further improving the charging efficiency and charging safety of foldable devices during charging regulation.

[0076] In some alternative embodiments, the current limiting module is located in the non-rotating shaft area.

[0077] Since the current limiting module may be damaged during bending if it is located in the pivot area, this embodiment of the present disclosure places the current limiting module in the non-pivot area, which can improve the safety and stability of charging regulation.

[0078] It is understandable that the current limiting module can be located in the same area as the first battery it is connected to, or it can be located in a different area and connected via a connecting cable across the hinge. For details, please refer to [reference needed]. Figure 2b As shown.

[0079] In some examples of this disclosure, considering that if the current limiting module and the first battery are not in the same area, the power connection cable added in the pivot area is very easy to be damaged during bending, which affects the connection stability between the current limiting module and the first battery, and also delays the regulation time and reduces the current control efficiency; therefore, embodiments of this disclosure can place the current limiting module connected to the first battery in the same main body area as the first battery when the first battery is located in the main body area. This improves the efficiency and stability of the current limiting module's current limiting control of the first battery.

[0080] In some examples of this disclosure, if the folding device includes two of the above-mentioned areas, and the parallel battery pack adopts a dual-parallel battery architecture, the first battery and the current limiting module are usually located in the area where the charge pump and the motherboard (equipped with the above-mentioned processor) are located, which further reduces the wiring difficulty and improves the efficiency of charging regulation response and execution of the first battery.

[0081] In some alternative embodiments, combined with Figure 2a and Figure 2b As shown, the electronic device also includes: a charging interface 5 for connecting an external charger; a charge pump 1 connected to the charging interface 5; a power management chip 6 connected to the charging interface 5; and a processor ( Figure 2a and Figure 2b (Not shown), connected to the power management chip 6, is used to control the power management chip 6 to send a voltage regulation request to the charger according to the first regulation strategy and / or the second regulation strategy.

[0082] In foldable electronic devices, the charging port is located in one of the aforementioned areas for connecting an external charger to provide power input. Typically, the charging port is situated in the same area as the motherboard, charge pump, and other components. In non-foldable electronic devices, the charging port is usually located on the edge of the device (such as the bottom, top, or side bezel).

[0083] In this embodiment, the charging interface can be a Universal Serial Bus (USB) interface, a Lightning interface, or a DC power interface, etc. The USB interface includes USB Type-A, Micro USB, and USB Type-C interfaces, etc. When an external charger is connected to the charging interface, the charging interface is used to supply power to the electronic device; when no external charger is connected, the charging interface can also be used as a data transmission interface.

[0084] The Power Management Integrated Circuit (PMIC) disclosed in this embodiment is an integrated circuit whose main function is to manage and control electrical energy in the system of electronic devices. When connected to a charging interface, the PMIC performs functions such as voltage conversion, current control, and communication with external chargers to exchange charging protocols, providing a stable and efficient power supply to the batteries in parallel battery packs and the system load in electronic devices. Figure 2a and Figure 2b As shown, one output terminal (e.g., VOUT) of the power management chip 6 is connected to the first battery 31 and the second battery 32 in the parallel battery pack, and the other output terminal (e.g., VPH_PWR) of the power management chip 6 is connected to the system load 7.

[0085] Both the PMIC and CP are electrically connected to the charging interface, and both have the function of regulating the voltage / current of the charger input signal and supplying power to the internal battery and system load. Since the PMIC uses a buck-type switching BUCK circuit for voltage reduction, while the CP uses a switch and capacitor for voltage boosting followed by bucking, it does not require inductor energy storage and has low conduction loss and high system power consumption. Therefore, the CP is typically used to adapt to high-speed, high-power chargers to achieve fast charging for battery packs. When the CP outputs a charging signal to the battery pack, the PMIC's BUCK circuit is disabled, but it can still interact with the charging interface to exchange charging protocols, request voltage regulation, and distribute current to the loads within the electronic device. If the external charger does not support fast charging, or if the battery is about to reach full charge and fast charging is not needed, the CP can be disabled, and the PMIC's BUCK circuit can supply power to the parallel battery pack in the electronic device. Here, the processor controls the enabling state and operation of the CP and PMIC by connecting them.

[0086] In the first regulation strategy, in addition to indicating the current limiting value of the current limiting chip, it can also include charging regulation parameters for the first battery. Therefore, both the first and second regulation strategies can include charging regulation parameters such as the voltage regulation value requested from the charger. Here, the voltage regulation value can specifically be a boost value or a buck value. Since the processor is not directly connected to the external charger through the charging interface, and the PMIC has the function of negotiating the charging protocol with the charger, when the processor determines how much the charger's output voltage needs to be adjusted to control the charging of the parallel battery pack according to the first and second regulation strategies, it sends a voltage regulation command to the PMIC and encapsulates the voltage regulation value in the voltage regulation command. After receiving and parsing the voltage regulation command, the PMIC sends a voltage regulation request to the charger according to the determined voltage regulation value.

[0087] Understandably, in some cases, if the first and second batteries in the charging device may experience overcurrent, and the current-limiting chip can reduce the charging current of the first battery through hardware adjustment, this disclosure can determine a step-down value to control the charger to adjust the voltage downward, thereby further reducing the current output by the charge pump to the second battery and improving the overcurrent problem of the second battery. In other cases, if the first or second battery experiences overvoltage, the embodiments of this disclosure can also specifically determine a step-down value and control the charger to adjust the voltage downward to improve the overvoltage problem of the first or second battery. In yet another case, if the current / voltage of the second battery is too low, thus affecting the charging speed, this disclosure can determine a suitable boost value to control the charger to adjust the voltage upward, thereby further increasing the current output by the charge pump to the second battery and improving the charging rate of the second battery.

[0088] Thus, in this embodiment of the present disclosure, the processor determines the charging control parameters in the first control strategy and the charging control parameters in the second control strategy, and requests voltage regulation from the charger by controlling the PMIC. This can improve the overcurrent and overvoltage problems during the charging process by adjusting the charger's output voltage, thereby improving charging safety and also increasing the charging rate under certain conditions.

[0089] In some embodiments, the electronic device further includes: a detection module for detecting that the connected charger supports fast charging, wherein the processor executes the process of determining a first control strategy for the first battery and a second control strategy for the second battery based on the charging data of the first battery and the charging data of the second battery, respectively.

[0090] Here, a detection module is installed within the electronic device to detect whether the external charger connected to the charging port supports fast charging. The detection component can detect the charger's input voltage / power, whether the charger is a voltage-adjustable charger, or whether it interacts with the charger via a charging protocol, to determine if the charger supports fast charging. For example, if the charger's input voltage can be adjusted to 20V, it can be considered that the charger supports fast charging. Thus, if the charger is determined to support fast charging, the processor enables the charge pump. The charging port input signal is then regulated by the charge pump and output to the load and battery. Simultaneously, the processor shuts down the PMIC's BUCK circuit. Furthermore, after activating the charge pump, the processor immediately executes the step of determining a first control strategy for the first battery and a second control strategy for the second battery based on the charging data of the first battery and the charging data of the second battery, respectively.

[0091] The aforementioned detection module can be a functional module within a power management chip or a standalone detection chip. In this case, the detection module is electrically connected to the processor and reports the result of detecting whether the charger supports fast charging to the processor. Alternatively, the detection module can be a functional module integrated into the processor.

[0092] It should be noted that if the above detection module detects that the charger does not support fast charging, the processor will not enable the charge pump, but will enable the PMIC's BUCK circuit. In this case, the electronic device will be managed by hardware for slow charging.

[0093] This embodiment of the invention uses a detection module to detect whether an external charger supports fast charging, which helps to effectively implement the fast charging management scheme proposed in this invention.

[0094] In some optional embodiments of this disclosure, the processor is further configured to perform periodic charging regulation, and in response to the start of each regulation cycle, execute actions in response to the charge pump outputting a charging signal of the electronic device, and acquire charging data of the first battery and the second battery in the parallel battery pack of the electronic device. Additionally, the processor is further configured to, in response to each regulation cycle, determine the charging state of the first battery based on the charging data of the first battery, determine the charging state of the second battery based on the charging data of the second battery; determine a target state combination based on the charging states of the first and second batteries; determine a target regulation algorithm corresponding to the target state combination based on the target state combination and a preset relationship; and determine a first regulation strategy and a second regulation strategy based on the target regulation algorithm and the effective current limiting parameters within the regulation cycle.

[0095] It should be noted that different combinations of determined states can correspond to different control algorithms. By using different control algorithms and the effective current limiting parameters within the actual control period, a variety of different control strategies can be determined. Here, the specific steps of the processor to finally obtain the first and second control strategies based on the actual determined target state combinations can be found in the specific exemplary descriptions of control schemes 1 to 4 in the charging control method below, which will not be repeated here.

[0096] To achieve effective control of parallel battery packs in the aforementioned electronic devices, this disclosure also proposes a charging control method for the aforementioned battery devices. Figure 3 This is a flowchart illustrating a charging control method according to an exemplary embodiment. Figure 1 ;like Figure 3 As shown, the method mainly includes the following steps:

[0097] Step 301: In response to the charge pump output charging signal of the electronic device, acquire the charging data of the first battery and the second battery in the parallel battery pack of the electronic device.

[0098] Step 302: Based on the charging data of the first battery and the charging data of the second battery, determine a first control strategy for the first battery and a second control strategy for the second battery; wherein, the first control strategy is used to indicate at least the current limiting value of the current limiting module connected to the first battery; and the second control strategy is used to indicate the charging control parameters for the second battery.

[0099] Step 303: Charge regulation is performed based on the first and second regulation strategies.

[0100] Here, the methods in steps 301 to 303 can be executed by the processor in the electronic device. During the process of the electronic device charging the first and second batteries in the parallel battery pack through the charge pump, the processor will determine the first regulation strategy and the second regulation strategy to perform charging regulation in order to improve the charging safety and charging efficiency of the parallel battery pack.

[0101] In step 301, if the processor enables the charge pump and outputs a charging signal, the processor can invoke a fast charging management algorithm to obtain charging data for the first battery and the second battery in the parallel battery pack. The battery charging data may include actual charging data such as battery capacity, number of charge / discharge cycles, charging current, or charging voltage, or it may include limiting parameters such as the maximum allowable number of cycles and the maximum allowable charging current / voltage.

[0102] Thus, in steps 302 and 303, based on the charging data of the first battery and the charging data of the second battery, a first control strategy and a second control strategy can be determined to maximize charging efficiency while protecting the batteries from overvoltage and overcurrent. The first control strategy indicates at least the current-limiting value of the current-limiting chip connected to the first battery; in practice, it may also include charging control parameters, such as voltage regulation values. The second control strategy indicates the charging control parameters for the second battery, such as voltage regulation values.

[0103] This disclosure allows for determining whether to adjust the current limiting value of the current limiting chip based on the capacity of the first battery. For example, if the capacity of the first battery is below 95% and the first battery does not exceed the maximum allowable charging current / charging voltage, the first control strategy can be set as follows: adjust the current limiting value of the current limiting chip to the maximum allowable charging current of the first battery, thereby ensuring the charging rate of the first battery and improving charging efficiency. If the capacity of the first battery is between 95% and 98%, it is easy to overvoltage if the first battery continues to charge. In this case, the first control strategy can be set as follows: reduce the current limiting value of the current limiting chip.

[0104] For the second battery, since there is no current-limiting chip, the appropriate voltage regulation value in the second regulation strategy can be determined based on the battery capacity of the second battery to achieve charging regulation of the second battery. For example, if the capacity of the second battery is also between 95% and 98%, this disclosure can determine that the second regulation strategy is to gradually apply a fixed voltage reduction value to slowly reduce the charging current of the second battery while reducing rapid current fluctuations, thus ensuring charging safety. If the capacity of the second battery is below 50%, and the current of the first battery is limited by a current-limiting chip, this disclosure embodiment can determine that the second regulation strategy is to gradually apply a fixed voltage boost value to increase the charging current or charging voltage of the second battery, thereby accelerating the battery charging rate; of course, in the process of applying a voltage boost value for the second battery, the limitation that the actual charging current / voltage of the second battery does not exceed the maximum current / maximum voltage of this battery will also be considered.

[0105] It should be noted that the parallel battery pack proposed in this disclosure can be a dual-parallel battery architecture or a multi-parallel battery architecture. Taking a three-parallel battery architecture as an example, if there are two first batteries and one second battery, this disclosure can first determine which first battery needs voltage boost / buck / current limiting based on the charging data of the two first batteries, and then adjust the current limiting values ​​of the current limiting chips corresponding to the two first batteries in a balanced manner, as well as whether to request voltage regulation. At the same time, this disclosure can also determine whether to boost or buck the charging current / charging voltage of the second battery based on the charging data of the second battery. If only the current limiting value of each first battery is adjusted, a suitable voltage regulation value can be determined based on the second battery, and a voltage regulation request can be made to the charger; if each second battery also needs voltage regulation, the voltage regulation values ​​required by the two second batteries and one first battery can be considered, and the final voltage regulation value can be determined after balancing, so as to request voltage regulation from the charger.

[0106] Of course, in other examples, there may be one first battery and two second batteries. In this case, the embodiments of this disclosure can first determine the current limiting value for the current limiting chip based on the charging data of the first battery, and then combine the charging data of the two second batteries to ensure that neither of the two second batteries is overcharged, so as to obtain a suitable voltage regulation value (at this time, the voltage regulation value may be a boost value, a buck value, or naturally 0).

[0107] Thus, since the first battery in the parallel battery pack is connected to the charge pump via a current-limiting chip, and the second battery is directly connected to the charge pump, and the processor can determine the control strategy for the first battery and the control strategy for the second battery respectively based on the charging data of the first battery and the charging data of the second battery, the processor in this embodiment can manage the overcurrent problem of the first battery by adjusting the current-limiting value of the current-limiting chip, thereby improving the charging safety and charging efficiency of the first battery. Simultaneously, the processor also acquires the charging data of the first battery and the second battery to determine their respective control strategies. Compared to treating each battery as a single battery for unified control, this disclosure achieves individual management of each battery in the parallel battery pack, enabling each battery to be charged efficiently and safely.

[0108] In some optional embodiments, the charging control method proposed in this disclosure includes performing charging control on a periodic basis, and in response to the start of each control cycle, executing a charging signal output by the charge pump of the electronic device, and acquiring charging data of the first battery and the second battery in the parallel battery pack of the electronic device.

[0109] Here, since excessively fast charging rates can lead to overheating, overcurrent, and overvoltage, this embodiment of the present disclosure can call a pre-configured periodic function (work function) under the condition that the processor enables the charge pump to charge the parallel battery pack, thereby periodically monitoring and regulating the charging of the parallel battery pack.

[0110] In each regulation cycle, the processor acquires charging data from the first and second batteries, analyzes the data to determine a first regulation strategy and a second regulation strategy, and then executes charging regulation according to the first and / or second regulation strategies. Specifically, the processor sends a control signal to the current-limiting module based on the current-limiting value specified in the first regulation strategy, causing the current-limiting module to update its maximum current-limiting value; the processor also instructs the PMIC to request voltage from the charger based on the voltage regulation value specified in the first or second regulation strategy.

[0111] Here, since the battery charging data fluctuates after each charging regulation, detecting the battery data and continuing regulation during the fluctuation period may cause problems. Therefore, in this embodiment of the present disclosure, after performing charging regulation in each regulation cycle, a specified time is waited (so that the charging regulation can occur effectively and remain stable) before entering the next regulation cycle.

[0112] It should be noted that if the charger does not support fast charging, or if all batteries in the parallel battery pack are charged to a specified level, such as more than 95%, the charge pump can be disabled, and the PMIC's BUCK circuit can be enabled to charge the parallel battery pack. At this time, the battery is in a slow charging state, which is safer. In this case, the work function of this embodiment can be terminated and the ongoing preset cycle can be exited. If there is a waiting time, the next control cycle will not be entered. At this time, the charging management of the battery pack is handed over to the PMIC.

[0113] Thus, the embodiments of this disclosure can periodically enter the control cycle to implement charging management of the parallel battery pack during charge pump charging, which can improve the accuracy of charging control, as well as the charging safety and charging efficiency of the battery pack; during PMIC charging, the above-mentioned work function can be omitted, saving the unnecessary power consumption generated by the processor.

[0114] In some optional embodiments, determining a first control strategy for the first battery and a second control strategy for the second battery based on the charging data of the first battery and the charging data of the second battery includes: in response to each control cycle, determining the charging state of the first battery based on the charging data of the first battery, and determining the charging state of the second battery based on the charging data of the second battery; wherein the battery charging data includes at least a charging state identifier and a Jeita current limit value; determining the first control strategy and the second control strategy based on the charging state of the first battery, the charging state of the second battery, and the effective current limit parameter within the control cycle; wherein the effective current limit parameter within the control cycle is determined by the Jeita current limit value of the first battery, the Jeita current limit value of the second battery, and / or the overall temperature control current limit value of the electronic device within the control cycle.

[0115] Currently, in the field of battery charging technology, considering the various problems such as temperature rise due to excessive current during charging and polarization occurring when charging to a specified capacity, a multi-stage charging strategy different from traditional charging has been proposed. In this strategy, each battery is configured with multiple charging stages, and each charging stage corresponds to a charging state, which can be either a constant current charging state (CC state) or a constant voltage charging state (CV state). Here, the CC state can be understood as the first charging state proposed later, which is a constant current charging state where the battery charging voltage rises when the battery charging current is within a preset current range. The CV state can be understood as the second charging state proposed later, which is a constant voltage charging state where the battery charging current decreases when the battery charging voltage is within a preset voltage range.

[0116] Among them, the multi-stage charging strategy is a stepped charging strategy in which the CC state and CV state alternate. In each CV stage, the hardware of the electronic device performs a specified degree of current reduction processing so that the preset current range of each CC state corresponding to the charging stage is reduced in a stepped manner. According to actual testing, this multi-stage charging strategy can effectively improve the charging rate of the battery, and can generally improve the charging time by 50%.

[0117] The parallel battery pack proposed in this embodiment is suitable for this multi-stage charging strategy, that is, the batteries will be in different charging stages at different times. In this way, the processor can periodically enter the control cycle and acquire the data of each battery in the parallel battery pack in each control cycle, thereby determining the current charging state of each battery. Based on which CC state / CV state the current charging state of the battery is, the processor determines the first control strategy and the second control strategy respectively, and determines the actual control parameters that need to be controlled according to the first control strategy and the second control strategy, so as to implement a single charging control for the parallel battery pack.

[0118] Here, within each control cycle, the processor acquires charging data from the battery, including the battery's actual charging voltage, charging current, and battery capacity. Furthermore, the charging status monitoring module within the processor determines the changing trends of these charging parameters based on the acquired charging voltage, charging current, and battery capacity, thereby outputting a charging status indicator. Because the battery's CC and CV states change alternately, but the current decreases in a stepwise manner, the charging status monitoring module automatically updates the charging status indicator after detecting a change in current / voltage to the current / voltage corresponding to the next charging stage. For example, the charging status indicators include: CC1, CV1, CC2, CV2, etc., representing different charging stages of the battery.

[0119] Here, considering the charging safety of each battery in the parallel battery pack, standard specification (JETA) parameters are also set for the batteries; the JETA parameters are determined by the battery's own temperature and the specified current / voltage range for different charging stages. This disclosure also considers that the power consumption generated during battery charging will cause an increase in the overall device temperature, and that this increase in overall device temperature will affect the performance of other functional modules. Therefore, the thermal current limit value set by the electronic device is also obtained during the control cycle; the thermal current limit value is a parameter dynamically updated by the temperature control algorithm of the electronic device based on the device temperature. Therefore, in each control cycle, the obtained thermal current limit value and JETA current limit value are dynamically updated.

[0120] Therefore, this embodiment of the present disclosure can determine the effective current limiting value for the parallel battery pack within the current control cycle based on the thermal current limiting value, the Jeita current limiting value of the first battery, and the Jeita current limiting value of the second battery. Specifically, the processor calculates the sum of the Jeita current limiting values ​​between the first and second batteries, and uses the smaller value between this sum and the thermal current limiting value as the effective current limiting value within the current control cycle, and formulates a suitable control strategy based on this effective current limiting value.

[0121] Thus, by combining the effective current limit value during the current control cycle, the charging state of the first battery, and the charging state of the second battery, this embodiment of the present disclosure can determine a safe and efficient charging control strategy, achieve precise control of the first battery and the second battery, and improve the charging efficiency of the parallel battery pack.

[0122] For example, the following uses a parallel battery pack as a dual-parallel battery structure to illustrate the control strategies corresponding to the first battery and the second battery being in different charging states.

[0123] In some optional embodiments, determining a first control strategy and a second control strategy based on the charging state of the first battery, the charging state of the second battery, and the effective current limiting parameter within the control period includes: determining a target state combination based on the charging state of the first battery and the charging state of the second battery; determining a target control algorithm corresponding to the target state combination based on the target state combination and a preset relationship; and determining the first control strategy and the second control strategy based on the target control algorithm and the effective current limiting parameter within the control period, respectively. The preset relationship indicates the correspondence between the preset state combination and the preset control algorithm. The charging state in the preset state combination includes a first charging state and / or a second charging state. The first charging state is a constant current charging state where the charging voltage of the battery rises when the charging current of the battery is within a preset current range; the second charging state is a constant voltage charging state where the charging current of the battery decreases when the charging voltage of the battery is within a preset voltage range. The preset control algorithm is used to determine the control strategy for each battery in the parallel battery pack based on the preset state combination and the effective current limiting parameter.

[0124] Here, when the battery is in CC or CV state, the corresponding regulation needs to meet the requirements of the corresponding charging stage. In order to ensure the safe charging of the battery, the battery regulation also needs to meet the effective current limit value given by the electronic device.

[0125] For example, since the first battery is current-limited by the current-limiting module, the current-limiting of the first battery can be achieved by adjusting the current-limiting value of the current-limiting module. When the first battery is in the CC state, since constant current charging is required, only the current-limiting value of the current-limiting module needs to be adjusted. If the first battery is in the CV state, the constant voltage reduction requirement needs to be considered. Therefore, in addition to adjusting the current-limiting module, the voltage needs to be adjusted downward to prevent the charging voltage of the first battery from rising to exceed the preset voltage range of the CV stage. In addition, when the effective current value is the thermal current value, the overall temperature is high, resulting in overheating. Emergency control of battery charging is required. When the effective current value is the above-mentioned Jeita current limit value, the overall temperature is moderate, which supports the battery to charge normally within its own charging stage. Similarly, since the second battery is not connected to the current limiting module, the management of the second battery needs to consider the control strategy of the first battery, the stage of the second battery, and the effective current limiting value. Based on this, considering that the capacity, power supply load, and model of each battery in the parallel battery pack may be different, they may be in different states at the same time during actual charging. Therefore, this disclosure establishes a correspondence between preset state combinations and preset control algorithms in advance. The preset state combination corresponds to the state combination corresponding to the possible state of each battery in the parallel battery pack, and each preset state combination corresponds to a preset control algorithm. The preset control algorithm will determine which batteries in the parallel battery pack should be voltage / current regulated, and the specific voltage / current regulation parameters, based on the type of each battery in the parallel battery pack, its actual state, and / or whether the effective current value is a thermal current value or a current limiting value.

[0126] Based on this, in each control cycle, the processor determines the charging state combination according to the charging state of the first battery and the charging state of the second battery; based on the charging state combination and the above-mentioned preset relationship, the corresponding target control algorithm is obtained; based on the target control algorithm and the effective current limit value of the current control cycle, a first control strategy suitable for the charging state of the first battery and a second control strategy suitable for the charging state of the second battery are made.

[0127] This embodiment of the invention establishes a correspondence between the aforementioned preset state combinations and preset control algorithms, enabling the control strategy to be quickly determined during actual charging control, thereby improving the response rate of charging control.

[0128] In this embodiment of the disclosure, taking a parallel battery pack as an example with a dual-parallel battery architecture, the preset state combinations include: CC state of the first battery + CC state of the second battery, CC state of the first battery + CV state of the second battery, CV state of the first battery + CC state of the second battery, and CV state of the first battery + CV state of the second battery. To accommodate the above state combinations, this embodiment of the disclosure sets four preset control algorithms for the above four state combinations, and obtains control scheme 1 to control scheme 4 based on the four preset control algorithms. The following embodiments will provide illustrative examples of the specific determination of the first / second control strategy in control schemes 1 to 4 obtained from the four preset control algorithms.

[0129] In some optional embodiments, based on the target state combination and a preset relationship, a target control algorithm corresponding to the target state combination is determined, and based on the target control algorithm and the effective current limiting parameter within the control period, a first control strategy and a second control strategy are determined respectively, including: in response to the target state combination being the first charging state of the first battery and the first charging state of the second battery, the target control algorithm is determined to be a first preset control algorithm based on the preset relationship; in response to the first preset control algorithm determining that the effective current limiting parameter within the control period is the overall temperature control current limiting value, the current limiting value of the current limiting module is updated with the Jeita current limiting value of the first battery as the target, and this is used as the first control strategy. The system employs a first control strategy and a second control strategy. The first control strategy involves applying for dynamic voltage regulation from the external charger based on the charging current of the first battery, the charging current of the second battery, and the overall temperature control current limit value. The second control strategy involves responding to a first preset control algorithm that determines the effective current limit parameter within the control cycle to be the sum of the current limits of the first and second batteries. The first control strategy involves updating the current limit value of the current limiting module with the target current limit value of the first battery. The second control strategy involves applying for dynamic voltage regulation from the charger based on the current difference between the current limit value of the second battery and the charging current of the second battery.

[0130] Wherein, when the target state combination is the CC state of the first battery and the CC state of the second battery, the first preset control algorithm is invoked based on the preset relationship; wherein, the first preset control algorithm executes control scheme 1, specifically first determining whether the effective current limiting parameter in the current control cycle is a thermal current limiting value or a current limiting sum value, and giving different first / second control strategies when the effective current limiting value is different.

[0131] In some optional examples disclosed herein, the first battery is in CC state, the second battery is in CC state, and the first preset control algorithm determines that the effective current limiting value is the thermal current limiting value. At this time, there is a problem of overheating of the whole machine. Since the first battery is connected to the current limiting chip, the current of the first battery can be limited by the current limiting chip. At this time, the maximum charging current of the first battery does not exceed the actual Jeita limit of the first battery. Therefore, the first control strategy determined at this time is: to dynamically update the current limiting value of the current limiting chip to the Jeita current limiting value of the first battery. Meanwhile, considering that the second battery is not limited by a current-limiting chip, in order to ensure that the parallel battery pack as a whole does not exceed the current limit, the processor determines the sum of the currents of the first and second batteries based on the charging currents of the first and second batteries. It can be understood that the current difference between this sum of currents and the thermal current limit value at this time is the current value that the second battery needs to reduce at this time. Then, based on this current difference, the built-in algorithm or current-voltage mapping relationship is used to determine the voltage regulation value that needs to be requested from the charger. In this example, it is generally a step-down value. Thus, the second regulation strategy determined at this time includes this step-down value, indicating that dynamic step-down processing is requested from the charger based on this step-down value.

[0132] In some other optional examples of this disclosure, the first battery is in CC state, the second battery is in CC state, and the first preset control algorithm determines that the effective current value is not the thermal current limit value, but the sum of the Jeita current limits of the two batteries at this time. In this case, there is no overheating phenomenon of the entire electronic device. Therefore, both the first battery and the second battery can maintain CC state under appropriate current. At this time, the first battery can be charged with the maximum current allowed by the Jeita current limit value of the first battery. Therefore, the first control strategy determined at this time is: to dynamically update the current limit value of the current limiting chip to the Jeita current limit value of the first battery. At the same time, the processor can also determine the current value that the second battery needs to adjust based on the current difference between the charging current of the second battery and the Jeita current limit value of the second battery, and use the built-in algorithm or current-voltage mapping relationship to determine the voltage regulation value that needs to be requested from the charger (at this time, if the second battery has Jeita-limited overcurrent, that is, the determined current difference is greater than 0, the above voltage regulation value is a step-down value; if the actual current of the second battery is too small, that is, the determined current difference is less than 0, the above voltage regulation value is a step-up value). Thus, the second control strategy determined at this time includes the voltage regulation value, which instructs the charger to request dynamic voltage regulation processing based on the voltage regulation value.

[0133] Thus, when both the first and second batteries are in CC state, based on the first preset control algorithm, the current limiting value of the current limiting chip is updated with the Jetia current limiting value of the first battery, enabling the first battery to be charged with the maximum allowable current within the current limit range, thereby improving the charging safety and rate of the first battery. At the same time, when the effective current limiting value is thermal during the control cycle, the voltage regulation value for the second battery is determined by combining the actual current of the two batteries, which can also ensure the charging safety of the entire battery pack while protecting the second battery from overcurrent. In addition, when the effective current limiting value is Jetia current limiting value during the control cycle, the charging of the second battery can be managed independently, and the second battery can be charged with the largest possible current without overcurrent, thereby improving the charging rate.

[0134] In some optional embodiments, based on the target state combination and a preset relationship, a target control algorithm corresponding to the target state combination is determined, and based on the target control algorithm and the effective current limiting parameter within the control period, a first control strategy and a second control strategy are determined respectively, including: responding to the target state combination being the first charging state of the first battery and the second charging state of the second battery, the target control algorithm is determined to be the second preset control algorithm based on the preset relationship; responding to the second preset control algorithm determining that the effective current limiting parameter within the control period is the overall temperature control current limiting value, the current limiting value of the current limiting module is updated with the Jeita current limiting value of the first battery as the target, as the first control strategy; and applying for monotonic voltage reduction from the external charger with the first preset voltage reduction value, as the second control strategy; responding to the second preset control algorithm determining that the effective current limiting parameter within the control period is the sum of the current limiting values ​​between the Jeita current limiting values ​​of the first battery and the Jeita current limiting values ​​of the second battery, the current limiting value of the current limiting module is updated with the Jeita current limiting value of the first battery as the target, as the first control strategy; and applying for voltage adjustment from the charger based on the comparison result between the Jeita voltage limiting value of the second battery and the charging voltage of the second battery, as the second control strategy.

[0135] In the case where the target state combination is the CC state of the first battery and the CV state of the second battery, the second preset control algorithm is invoked based on the preset relationship. The second preset control algorithm executes control scheme 2, which first determines whether the effective current limiting parameter in the current control cycle is a thermal current limiting value or a current limiting sum value, and provides different first / second control strategies when the effective current limiting value is different.

[0136] In some optional examples disclosed herein, the first battery is in a CC state, the second battery is in a CV state, and the second preset control algorithm determines that the effective current limiting value is the thermal current limiting value. In this case, there is an overheating problem. Because the first battery is connected to a current limiting chip, the current of the first battery can be limited by the current limiting chip. Therefore, the target is the Jeita current limiting value of the first battery, and the maximum charging current of the first battery is adjusted to not exceed the actual Jeita limit of the first battery. Thus, the first control strategy determined at this time is: dynamically update the current limiting value of the current limiting chip to the Jeita current limiting value of the first battery. Meanwhile, considering that the second battery is not limited by a current limiting chip, it is necessary to quickly reduce the current of the second battery to avoid overheating during charging. Also, considering that the second battery is in a CV state, a large current reduction would cause the voltage to quickly exceed the preset voltage range, resulting in significant voltage fluctuations. Therefore, after comprehensive consideration, the second control strategy for the second battery is determined to be: using the first preset voltage reduction value as the voltage reduction amount to request monotonic voltage reduction processing from the charger.

[0137] The monotonic processing means that in each consecutive control cycle when the second battery is in a CV state, the determined second control strategy includes the aforementioned first preset voltage reduction value requested from the charger. Thus, voltage and current reduction processing is performed sequentially in consecutive control cycles until the charging state of the second battery jumps to the next CC state, or until the effective current limit value in the control cycle is not the thermal current limit value (at which point the sum of the jeita current limits of the two batteries takes effect).

[0138] Here, the first preset voltage drop value can be pre-set and related to the model and performance of the second battery; or it can be dynamically determined based on the difference between the sum of the actual charging currents of the first and second batteries and the thermal current limit value. For example, the smaller the difference between the sum of the actual charging currents of the two batteries and the thermal current limit value, the smaller the determined third preset voltage drop value can be. For example, the first preset voltage drop value can be 40mV.

[0139] In some alternative examples of this disclosure, the first battery is in a CC state, the second battery is in a CV state, and the second preset control algorithm determines that the effective current limiting value is the Jeita current limiting value. Therefore, there is no overheating of the electronic device. Thus, both the first and second batteries can maintain the CC state at a suitable current. At this time, the first battery can be charged with the maximum current allowed by its Jeita current limiting value. Therefore, the first control strategy determined at this time is to dynamically update the current limiting value of the current limiting chip to the Jeita current limiting value of the first battery. Simultaneously, current reduction processing in the CV stage needs to be implemented while ensuring that the second battery does not overvoltage. In this case, the second control strategy determined in this embodiment can be: determining the voltage regulation value requested from the charger based on the charging voltage of the second battery and the Jeita voltage limiting value of the second battery.

[0140] In some optional embodiments, a second regulation strategy is determined by requesting voltage adjustment from the charger based on a comparison result between the Jeita voltage limit of the second battery and the charging voltage of the second battery. This includes: if the comparison result indicates that the charging voltage of the second battery is greater than the Jeita voltage limit of the second battery, then determining the voltage adjustment value to be requested from the charger based on the voltage difference between the charging voltage of the second battery and the Jeita voltage limit of the second battery; if the comparison result indicates that the charging voltage of the second battery is less than or equal to the Jeita voltage limit of the second battery, then determining the voltage adjustment value to be requested from the charger based on the voltage value within a preset voltage range corresponding to the charging voltage of the second battery and the second charging state.

[0141] Here, if the charging voltage of the second battery is greater than the Jeita limit value of the second battery, it indicates that the second battery is currently over-voltage. In order to ensure that the second battery can safely be in the CV state and orderly enter the next CC state, it is necessary to first control the charging voltage to be below the Jeita limit value. The second control strategy determined at this time is: to use the voltage difference between the charging voltage of the second battery and the Jeita limit value of the second battery as the voltage reduction value requested from the charger.

[0142] If the charging voltage of the second battery is less than or equal to the Jeita voltage limit of the second battery, then this embodiment of the present disclosure can normally manage the current reduction process of the second battery in the CV state. In this case, the determined second regulation strategy is: based on the charging voltage of the second battery and the voltage value within the preset voltage range corresponding to the second charging state, determine the voltage regulation value requested from the charger. Specifically, this can be implemented as follows: first, determine whether the charging voltage of the second battery is less than the lowest voltage value within the preset voltage range corresponding to the second charging state. If it is not less than, then the voltage regulation value determined at this time can be the fourth preset voltage reduction value. Here, the fourth preset voltage reduction value can be preset, such as 40mV, or it can be related to the model and performance of the second battery; for example, it can be dynamically determined based on the difference between the actual charging current of the second battery and the minimum current value required for the current reduction process in the second charging state.

[0143] In actual voltage regulation, if the voltage reduction process of the second battery in the previous one or several preset control stages in the same CV state causes the actual charging voltage in the current preset control stage to be less than the minimum voltage value of the preset voltage range, and the actual charging current of the second battery does not meet the standard, causing the charging state not to jump to the next charging stage, then since the charging current of the second battery is not limited by a current limiting chip, this embodiment of the present disclosure needs to determine the boost value requested from the charger based on the voltage difference between the actual charging voltage of the second battery and the minimum voltage value of the preset voltage range, so as to meet the charging processing requirements of this CV stage.

[0144] Thus, this disclosure allows for flexible adjustment of the voltage regulation value for the second battery when the first battery is in the CC state and the second battery is in the CV state, thereby improving the charging efficiency of the second battery while protecting its charging safety.

[0145] In this embodiment, when the first battery is in the CC state and the second battery is in the CV state, based on the first preset control algorithm, the current limiting value of the current limiting chip is updated with the Jetia current limiting value of the first battery. This ensures that the first battery is charged with the maximum allowable current within the current-free range, improving the charging safety and rate of the first battery. Simultaneously, when the effective current limiting value is thermal during the control period, the second battery undergoes monotonically reduced voltage and current reduction processing. This not only quickly reduces the total current below thermal, overcoming the over-temperature and over-current problems, but also meets the charging requirements of the second battery in the CV stage. Furthermore, when the effective current limiting value is Jetia during the control period, the charging of the second battery can be managed independently, allowing it to be charged with a more suitable voltage and current under conditions of no overvoltage, improving charging safety and efficiency.

[0146] In some optional embodiments, based on the target state combination and a preset relationship, a target control algorithm corresponding to the target state combination is determined, and based on the target control algorithm and the effective current limiting parameter within the control period, a first control strategy and a second control strategy are determined respectively, including: in response to the target state combination being the second charging state of the first battery and the first charging state of the second battery, the target control algorithm is determined to be a third preset control algorithm based on the preset relationship; in response to the third preset control algorithm determining that the effective current limiting parameter within the control period is the whole machine temperature control current limiting value, the current limiting value of the current limiting module is updated with a first fixed current reduction value as the target, and a second preset voltage reduction value is requested from the external charger for a monotonic voltage reduction, as the first control. The strategy is as follows: First, no charging control parameters will be generated for the second battery; second, in response to the third preset control algorithm determining that the effective current limiting parameter within the control period is the sum of the current limiting values ​​of the first battery and the second battery, the current limiting value of the current limiting module will be updated with the target of the charging voltage of the first battery being within the preset voltage range corresponding to the second charging state, and dynamic voltage adjustment will be requested from the charger, as the first control strategy; and third, when no voltage adjustment is requested from the charger within the control period indicated by the first control strategy, dynamic voltage adjustment will be requested from the charger based on the current difference between the current limiting value of the second battery and the charging current of the second battery, as the second control strategy.

[0147] In the case where the target state combination is the CV state of the first battery and the CC state of the second battery, the third preset control algorithm is invoked based on the preset relationship. The third preset control algorithm executes control scheme 3, which first determines whether the effective current limiting parameter in the current control cycle is the thermal current limiting value or the jeita current limiting value, and provides different first / second control strategies when the effective current limiting value is different.

[0148] In some optional examples disclosed herein, the first battery is in CV state, the second battery is in CC state, and the third preset control algorithm determines that the effective current limit value is the thermal current limit value. At this time, there is a problem of overall overheating. Since the first battery is connected to a current limiting chip, the current limit value of the current limiting chip can be reduced to quickly reduce the charging current of the first battery and avoid overheating and overcurrent charging of the first battery. However, since the first battery is in CV state, if the current is reduced significantly, the voltage will quickly exceed the preset voltage range, resulting in large voltage fluctuations. This will require more voltage regulation processes before entering the next stage. In addition, considering that constant voltage reduction processing is also required for CV state, if only the current limit value of the current limiting chip is adjusted, the first battery will still rise under the action of charging current, which is very easy to exceed the preset voltage range. Therefore, the first control strategy generated at this time also needs to include a voltage reduction value so that the charge pump distributes less current. Based on this, the first control strategy given by the third control algorithm is: to use the first fixed current reduction value as the current reduction amount to perform monotonic current reduction processing on the current limiting value of the current limiting chip, and to use the second preset voltage reduction value as the voltage reduction amount to request monotonic voltage reduction processing from the charger.

[0149] It should be noted that the first fixed current reduction value and the second preset voltage reduction value can be preset and related to the model and performance of the first battery; alternatively, they can be dynamically determined based on the difference between the actual current of the first battery and the thermal current limit value. For example, the smaller the difference between the actual current and the thermal current limit value, the smaller the determined first fixed current reduction value can be, and the second preset voltage reduction value can also be correspondingly smaller. For instance, the second preset voltage reduction value can be 40mV.

[0150] The monotonic processing mentioned above means that the current limiting and voltage reduction processing will be implemented in each consecutive control cycle when the first battery is in a CV state, until the charging state of the first battery jumps to the next CC state, or until the target current limiting value is not the thermal current limiting value in a certain control cycle of the current CV state, that is, the jeita current limiting value takes effect.

[0151] It should be noted that if the first regulation strategy determined in each regulation cycle has a voltage regulation value, then the voltage needs to be reduced for the first battery. The voltage reduction causes the current of the second battery to decrease as well, which naturally improves the over-temperature and overcurrent problem of the second battery. Therefore, the regulation of the second battery can be disregarded at this time. That is, the determined second regulation strategy is: do not generate charging regulation parameters for the second battery, that is, do not request voltage regulation from the charger based on the second battery.

[0152] In some other optional examples disclosed herein, the first battery is in CV state, the second battery is in CC state, and the third preset control algorithm determines that the effective current limiting value is the Jeita current limiting value. In this case, there is no overheating phenomenon of the entire electronic device. Therefore, it is only necessary to consider that the first battery meets the charging requirements of CV state. At this time, dynamic CV control can be performed on the first battery. That is, the determined first control strategy is: with the charging voltage of the first battery being within the preset voltage range corresponding to the second charging state as the target, the current limiting value of the current limiting module is updated, and dynamic voltage regulation is requested from the charger.

[0153] Understandably, considering that the CV voltage regulation and current reduction process may cause the actual charging voltage of the first battery to be lower than the preset voltage range corresponding to the CV state, the third preset control algorithm can first determine whether the actual charging voltage of the first battery is lower than the lowest voltage value within the preset voltage range. If the actual charging voltage of the first battery is higher than the lowest voltage value, the CV current reduction process can still continue. At this time, the first fixed current reduction value can be used as the current reduction amount to reduce the current limit value of the current limiting chip once, and the second preset voltage reduction value can be used as the voltage reduction amount to request a voltage reduction process from the charger. At the same time, since the first control strategy determined above has a voltage regulation value, a voltage reduction process needs to be performed for the first battery. The voltage reduction process also causes the current of the second battery to decrease, so it naturally improves the over-temperature and overcurrent problem of the second battery. Therefore, the control of the second battery can be ignored at this time. That is, the determined second control strategy is: do not generate charging control parameters for the second battery, that is, do not request voltage regulation from the charger based on the second battery.

[0154] However, in actual voltage regulation, if the voltage reduction processing of the first battery in the previous one or several preset regulation stages under the same CV state causes the actual charging voltage to be less than the minimum voltage value of the preset voltage range in the current preset regulation stage, and the actual charging current of the first battery does not meet the standard, resulting in no change in the charging state, then because the charging current of the first battery is limited by the current limiting chip, the charging voltage will gradually rise under the action of the current until it meets the requirements of the preset voltage range. Therefore, in this case, the embodiments of this disclosure can set the first battery to be neither current-limited nor voltage-regulated, that is, not adjusting the current limiting value of the current limiting chip and not generating a voltage regulation value requested from the charger for the first battery, as the first regulation strategy. At the same time, since the above-mentioned first regulation strategy indicates that no voltage regulation is requested from the charger during the regulation cycle, and the effective current limiting value is the Jeita current limiting sum value, there is no need to consider the overheating problem of the whole machine, so the second battery can be regulated to keep the second battery in the CC state under a suitable current. The third preset control algorithm determines the current value that the second battery needs to adjust based on the current difference between the actual charging current of the second battery and its Jeita current limit. It then uses a built-in algorithm or a current-voltage mapping relationship to determine the voltage regulation value that needs to be requested from the charger. (If the second battery has an overcurrent limit imposed by Jeita, i.e., the determined current difference is greater than 0, the voltage regulation value is a step-down value; if the actual current of the second battery is too small, i.e., the determined current difference is less than 0, the voltage regulation value is a step-up value.) Thus, the determined second control strategy includes this voltage regulation value, instructing the charger to request dynamic voltage regulation based on this value. It is understandable that stepping down to reduce current avoids overcurrent problems and improves safety, while stepping up to increase current allows the second battery to charge at its maximum allowable current while meeting its own requirements, thereby increasing the charging rate.

[0155] Thus, when the first battery is in CV state and the second battery is in CC state, a suitable first regulation strategy can be selected based on the current limiting value. This protects the charging safety of the first battery in CV state and ensures the efficient execution of the stepped current reduction operation in CV state, thereby improving the charging efficiency of the first battery in the CV stage. Meanwhile, considering that the second battery is in CC state, this disclosure allows for no processing when the first battery requests a voltage reduction from the charger, avoiding voltage regulation conflict. Alternatively, when the first battery does not request voltage regulation from the charger, the charging of the second battery can be dynamically adjusted based on the second battery's Jeita current limiting value, so that the second battery can be charged with a larger current as much as possible without exceeding the current limit, thereby increasing the charging rate.

[0156] In some optional embodiments, based on the target state combination and a preset relationship, a target control algorithm corresponding to the target state combination is determined, and based on the target control algorithm and the effective current limiting parameter within the control period, a first control strategy and a second control strategy are determined respectively, including: in response to the target state combination being the second charging state of the first battery and the second charging state of the second battery, the target control algorithm is determined to be a fourth preset control algorithm based on the preset relationship; in response to the fourth preset control algorithm determining that the effective current limiting parameter within the control period is the whole machine temperature control current limiting value, the current limiting value of the current limiting module is updated with a second fixed current reduction value as the target, and a third preset voltage reduction value is requested from the external charger for a monotonic voltage reduction as the first control strategy. The control strategy is as follows: First, no charging control parameters will be generated for the second battery. Second, in response to the fourth preset control algorithm determining that the effective current limiting parameter within the control period is the sum of the current limiting values ​​of the first battery and the second battery, the current limiting value of the current limiting module will be updated with the target of the charging voltage of the first battery being within the preset voltage range corresponding to the second charging state, and dynamic voltage regulation will be requested from the charger, as the first control strategy. Third, when no voltage regulation is requested from the charger within the control period indicated by the first control strategy, voltage regulation will be requested from the charger based on the comparison result between the Jeita voltage limit value of the second battery and the charging voltage of the second battery, and this will be determined as the second control strategy.

[0157] In the case where the target state combination is the CV state of the first battery and the CV state of the second battery, the fourth preset control algorithm is invoked based on the preset relationship. The fourth preset control algorithm executes control scheme 4, which first determines whether the effective current limiting parameter in the current control cycle is a thermal current limiting value or a current limiting sum value, and provides different first / second control strategies when the effective current limiting value is different.

[0158] In some optional examples disclosed herein, the first battery is in CV state, the second battery is in CV state, and the fourth preset control algorithm determines that the effective current limiting value is the thermal current limiting value. At this time, there is an overheating problem of the whole machine. Considering that the first battery is in CV state, the first control strategy given by the fourth control algorithm is: to use the second fixed current reduction value as the current reduction amount to perform monotonic current reduction processing on the current limiting value of the current limiting chip, and to use the third preset voltage reduction value as the voltage reduction amount to request monotonic voltage reduction processing from the charger.

[0159] It should be noted that the second fixed current reduction value and the third preset voltage reduction value can be preset and related to the model and performance of the first battery; or they can be dynamically determined based on the difference between the actual current of the first battery and the thermal current limit value. In this disclosure, the second fixed current reduction value and the first fixed current reduction value can be the same, and the third preset voltage reduction value and the second preset voltage reduction value can also be the same.

[0160] It should be noted that if the first regulation strategy determined in each regulation cycle has a voltage regulation value, then the voltage needs to be reduced for the first battery. Therefore, the regulation of the second battery can be disregarded at this time. That is, the determined second regulation strategy is: not to generate charging regulation parameters for the second battery, that is, not to request voltage regulation from the charger based on the second battery.

[0161] In some other examples disclosed herein, the first battery is in CV state, the second battery is in CV state, and the fourth preset control algorithm determines that the effective current limiting value is the Jeita current limiting sum value. At this time, there is no overheating phenomenon of the entire electronic device. Therefore, it is only necessary to consider that the first battery meets the charging requirements of CV state. Thus, the first control strategy given by the fourth control algorithm is: to use the second fixed current reduction value as the current reduction flow to perform monotonic current reduction processing on the current limiting value of the current limiting chip, with the charging voltage of the first battery being within the preset voltage range corresponding to the second charging state as the target, update the current limiting value of the current limiting module, and apply to the charger for dynamic voltage regulation.

[0162] The method involves updating the current limiting value of the current limiting module and requesting dynamic voltage adjustment from the charger, with the target being that the charging voltage of the first battery falls within a preset voltage range corresponding to the second charging state. This includes two scenarios: First, if the actual charging voltage of the first battery is greater than the minimum voltage, a second fixed current reduction value is used as the current reduction amount to reduce the current limiting value of the current limiting chip, and a third preset voltage reduction value is used as the voltage reduction amount to request a voltage reduction from the charger. Second, if the actual charging voltage of the first battery is less than the minimum voltage, the charging voltage will gradually rise under the influence of the current until it meets the preset voltage range requirement because the charging current of the first battery is limited by the current limiting chip. Therefore, in this case, the embodiment of this disclosure can set the first battery to be neither current-limited nor voltage-adjusted, meaning that the current limiting value of the current limiting chip is not adjusted, and no voltage adjustment value is generated to request from the charger for the first battery, as the first control strategy. Meanwhile, since the first control strategy mentioned above indicates that no voltage regulation is requested from the charger during the control cycle, and the effective current limit value is the sum of the Jeita current limit value, there is no need to consider the overheating problem of the whole machine. Therefore, it is only necessary to consider that the second battery meets the charging requirements of the CV state. Thus, the second control strategy given by the fourth control algorithm is: to request voltage regulation from the charger based on the comparison result between the Jeita voltage limit value of the second battery and the charging voltage of the second battery, which is determined as the second control strategy.

[0163] Specifically, the voltage adjustment is requested from the charger based on the comparison result between the Jeita voltage limit value of the second battery and the charging voltage of the second battery, and is determined as the second control strategy. For details, please refer to the detailed description of the above-mentioned embodiment of this disclosure in control scheme 2, which will not be repeated here.

[0164] Thus, when the first battery is in the CV (Constant Current) state, a suitable first regulation strategy can be selected based on the current limiting value's effectiveness. This protects the charging safety of the first battery in the CV state and ensures the efficient execution of the stepped current reduction operation, thereby improving the charging efficiency of the first battery in the CV stage. Simultaneously, considering that the second battery is also in the CV state, this disclosure allows for no processing when the first battery requests voltage reduction from the charger, avoiding voltage regulation conflict. Alternatively, when the first battery does not request voltage regulation from the charger, dynamic voltage regulation can be performed based on the second battery's jetia voltage and charging voltage, allowing the second battery to charge with a more suitable voltage and current without overvoltage, improving charging safety and efficiency.

[0165] In some optional embodiments, the charging control method further includes: in response to detecting that the charger connected to the electronic device supports fast charging, executing charging data based on the first battery and the second battery to determine a first control strategy for the first battery and a second control strategy for the second battery; wherein the first control strategy is used to at least indicate the current limiting value of the current limiting module connected to the first battery; and the second control strategy is used to indicate the charging control parameters for the second battery.

[0166] Here, when the electronic device detects the insertion of an external charger, it checks whether the connected charger supports fast charging based on a detection module (such as the detection module in the PMIC). If fast charging is supported, it reports this to the processor. The processor then responds to the charger's fast charging capability by enabling the charge pump. When the charge pump outputs a charging signal, it activates a work cycle function. Within each control cycle, it executes steps based on charging data from the first battery and charging data from the second battery to determine a first control strategy for the first battery and a second control strategy for the second battery. This embodiment of the present disclosure can detect whether the charger supports fast charging and, if so, implement the charging control method described above. This ensures charging safety and maximizes the charging rate when the parallel battery pack is in fast charging mode.

[0167] In an optional embodiment of this disclosure, if an electronic device does not support charge pump charging or the external charger is not compatible with high-speed charging, the single-battery algorithm can be invoked; in addition, if none of the batteries in the parallel battery pack are connected to a current limiting chip, the above-mentioned single-battery algorithm can also be invoked.

[0168] In this embodiment, the single-battery algorithm treats the first and second batteries in the dual-parallel battery architecture as a single battery. Specifically, the processor periodically acquires the thermal current limit value and the Jeita current limit values ​​for both the first and second batteries. Based on the sum of the Jeita and thermal current limits, it determines which limit is effective. If the thermal current limit is effective, the actual charging currents of the two batteries are summed, and the difference is calculated with the thermal current limit value. Based on this difference, the two batteries are treated as a single battery, and current is reduced. Conversely, if the Jeita current limit is effective, the sum of the actual charging currents of the two batteries is subtracted from the Jeita current limit value. If the difference is greater than 0, current is reduced based on the difference; if the difference is less than 0, current is increased based on the difference.

[0169] The following description uses a foldable mobile phone as an example to illustrate the above-mentioned electronic device and the charging control method applied to the electronic device.

[0170] Here, the foldable phone includes a hinge area and a main body area separated by the hinge area. A charging port is located on one of the main body areas, and the charge pump and power management chip (PMIC) are also located on this main body area and electrically connected to the charging port. The motherboard of the electronic device is also located on this main body area (in this article, the processor is located on the motherboard).

[0171] In some examples, the foldable phone has a hinge area and two main body areas, and the parallel battery pack includes two batteries; wherein, the first battery and the control and current limiting chip connected to the first battery are both located in the main body area where the motherboard is located; the second battery is located in the other main body area, and the specific configuration can be found in [reference needed]. Figure 2a As shown; or, the second battery is located in the main body area where the motherboard is located, and the first battery and the current limiting chip connected to the first battery are located in another main body area.

[0172] In other examples, the foldable phone has two hinge areas and three main body areas. The parallel battery pack includes three batteries, including two first batteries and one second battery. One first battery is located in the main body area where the motherboard is located; another first battery is located in the middle main body area; and the second battery is located in the last main body area. The current limiting chips connected to the two first batteries are both located in the main body area where the motherboard is located. For specific settings, please refer to [reference needed]. Figure 2b As shown.

[0173] Of course, in other examples of folding devices, the batteries in the parallel battery pack may have other distribution methods, and this disclosure does not limit this.

[0174] In the embodiments disclosed herein, the processor on the motherboard is electrically connected to each of the parallel-connected batteries in the parallel battery pack, and is also electrically connected to each current limiting chip, charge pump, and PMIC, for performing charging regulation on each of the parallel-connected batteries based on a charging regulation method.

[0175] The following description uses an example of a foldable phone with a hinge area and two main body areas, and a parallel battery pack including a first battery and a second battery, to illustrate the charging control method proposed in this embodiment.

[0176] See Figure 4 , Figure 4 This is a schematic flowchart of a charging control method according to an exemplary embodiment; it includes the following steps:

[0177] Step 401: In response to the connection of an external charger to the charging interface, determine whether to enable the charge pump to output a charging signal.

[0178] After the mobile phone system is running, if a charger is plugged in, the detection module in the PIMC checks whether the charger supports fast charging. If the charger does not support fast charging, the fast charging algorithm is not scheduled, and the BUCK circuit of the PMIC is enabled to charge the parallel battery pack. If the charger supports fast charging, the charge pump is enabled so that the charger outputs a charging signal, which is stepped down by the charge pump and then output to the first and second batteries in the parallel battery pack.

[0179] Step 402: In response to the charge pump output charging signal, a regulation cycle is entered.

[0180] Step 403: Obtain the charging data of the first battery and the second battery in the parallel battery pack.

[0181] Here, the charging data of the first battery includes: the charging current, charging voltage, and Jeita parameters (including Jeita current limit and Jeita voltage limit) of the first battery, as well as the charging current, charging voltage, and Jeita parameters of the second battery.

[0182] Step 404: Obtain the overall temperature control current limit value.

[0183] Step 405: Determine whether the current electronic device has a current limiting chip.

[0184] If not, proceed to step 406; if yes, proceed to step 407.

[0185] Step 406: The parallel battery pack is charged and regulated using a single battery algorithm, the overall temperature control current limit value, and charging data.

[0186] Here, the single-cell algorithm treats the first and second cells in the dual-parallel battery architecture as a single cell. Specifically, the algorithm determines the sum of the Jeita current limits for the first and second cells, and compares this sum with the thermal current limit. If the thermal current limit is effective, the actual charging currents of the two cells are summed, and the difference is calculated between the sum and the thermal current limit. Based on this difference, the two cells are treated as a single cell for current reduction. Alternatively, if the sum of the Jeita current limits is effective, the difference between the sum of the actual charging currents of the two cells and the sum is calculated. If the difference is greater than 0, current is reduced based on the difference; if the difference is less than 0, current is increased based on the difference.

[0187] Step 407: Determine the target state combination formed by the charging state of the first battery and the charging state of the second battery based on the charging data of the first battery and the charging data of the second battery.

[0188] Here, the processor obtains the current charging state of each battery based on the current voltage and current of the two batteries, and determines the target state combination.

[0189] Step 408: Determine the target control algorithm based on the target state combination, and determine the first control strategy for the first battery and the second control strategy for the second battery based on the target control algorithm and the effective current limiting value within the control period.

[0190] The first regulation strategy is used to indicate the current limiting value of the current limiting chip, and in some cases, it also includes the voltage regulation value for the first battery; the second regulation strategy is used to indicate the voltage regulation value for the second battery.

[0191] Step 409: Based on the first and second control strategies, return the current limit value for the current limiting chip and the voltage requested from the charger.

[0192] Step 410: Indicate the current limiting value of the current limiting chip and control the power management chip to request voltage regulation.

[0193] Here, the processor controls the PIMC to send the requested voltage to the charger through the charging protocol, and performs operations such as boosting / boosting / buckling / neither boosting nor bucking.

[0194] Step 411: Exit the current regulatory cycle.

[0195] Here, during the waiting period after exiting the current preset control phase, if it is determined that the charge pump is not enabled to switch to the PMIC to charge the parallel battery pack, then the next preset control phase will not be entered; if the charge pump is still charging, then the process returns to step 402.

[0196] Here, in step 408 above, the target control algorithm is determined based on the target state combination, and based on the target control algorithm and the effective current limiting value within the control period, a first control strategy for the first battery and a second control strategy for the second battery are specifically determined. See [link to relevant documentation]. Figure 5a , Figure 5a This is a schematic diagram of a charging control scheme for a parallel battery pack, as illustrated by an example. Figure 1 ;in, Figure 5a The table shown illustrates control schemes 1 to 4, where the target control algorithms are the first to fourth preset control algorithms, respectively:

[0197] In some examples, if the target state combination is the CC state of the first battery + the CC state of the second battery, then the corresponding target control algorithm is the first preset control algorithm, and the first preset control algorithm executes control scheme 1.

[0198] In this example, if the first preset control algorithm determines that the effective current limiting value is the thermal current limiting value, then the first control strategy is to update the current limiting value of the current limiting chip with the Jeita current limiting value of the first battery as the target; the second control strategy is to request dynamic voltage regulation from the external charger based on the charging current of the first battery, the charging current of the second battery and the thermal current limiting value.

[0199] If the first preset control algorithm determines that the effective current limiting value is the Jeita current limiting sum value, then the first control strategy is: to update the current limiting value of the current limiting chip with the Jeita current limiting value of the first battery as the target; the second control strategy is: to request dynamic voltage regulation from the charger based on the current difference between the Jeita current limiting value of the second battery and the charging current of the second battery.

[0200] In some examples, if the target state combination is the CC state of the first battery + the CV state of the second battery, then the corresponding target control algorithm is the second preset control algorithm, and the second preset control algorithm executes control scheme 2.

[0201] In this example, if the second preset control algorithm determines that the effective current limiting value is the thermal current limiting value, then the first control strategy is to update the current limiting value of the current limiting chip with the Jeita current limiting value of the first battery as the target; the second control strategy is to request a monotonic voltage reduction from the external charger with the first preset voltage reduction value.

[0202] If the second preset control algorithm determines that the effective current limiting value is the Jeita current limiting sum value, then the first control strategy is: to update the current limiting value of the current limiting chip with the Jeita current limiting value of the first battery as the target; the second control strategy is: to request voltage adjustment from the charger based on the comparison result between the Jeita voltage limiting value of the second battery and the charging voltage of the second battery.

[0203] In some examples, if the target state combination is the CV state of the first battery + the CC state of the second battery, then the corresponding target control algorithm is the third preset control algorithm, and the third preset control algorithm executes control scheme 3.

[0204] In this example, if the third preset control algorithm determines that the effective current limiting value is the thermal current limiting value, then the first control strategy is to update the current limiting value of the current limiting module with the first fixed current reduction value as the target, and to request a monotonic voltage reduction from the external charger with the second preset voltage reduction value; the second control strategy is to not generate charging control parameters for the second battery.

[0205] If the third preset control algorithm determines that the effective current limiting value is the Jeita current limiting sum value, then the first control strategy is: with the charging voltage of the first battery being within the preset voltage range corresponding to the second charging state as the target, update the current limiting value of the current limiting module and request dynamic voltage adjustment from the charger; the second control strategy is: if the first control strategy indicates not to request voltage adjustment from the charger, then request dynamic voltage adjustment based on the current difference between the Jeita current limiting value of the second battery and the charging current of the second battery.

[0206] In some examples, if the target state combination is the CV state of the first battery + the CV state of the second battery, then the corresponding target control algorithm is the fourth preset control algorithm, and the fourth preset control algorithm executes control scheme 4.

[0207] In this example, if the fourth preset control algorithm determines that the effective current limiting value is the thermal current limiting value, then the first control strategy is to update the current limiting value of the current limiting module with the first fixed current reduction value as the target, and to request a monotonic voltage reduction from the external charger with the second preset voltage reduction value; the second control strategy is to not generate charging control parameters for the second battery.

[0208] If the fourth preset control algorithm determines that the effective current limiting value is the Jeita current limiting sum value, then the first control strategy is: with the charging voltage of the first battery being within the preset voltage range corresponding to the second charging state as the target, update the current limiting value of the current limiting module and request dynamic voltage adjustment from the charger; the second control strategy is: if the first control strategy indicates not to request voltage adjustment from the charger, request voltage adjustment based on the comparison result between the Jeita voltage limiting value of the second battery and the charging voltage of the second battery.

[0209] In some optional embodiments of this disclosure, considering that the rechargeable battery and charging voltage, in addition to being within the preset voltage and current ranges defined by the CC and CV states, may also deviate from the preset range limits due to current and voltage regulation, and recover to the preset range under regulation; for example, the recovery state of the first battery may be the rising current state in the constant current charging stage; the second battery may have a rising current state or a falling current state in the constant current charging stage or the constant voltage charging stage; therefore, there are nine possible combinations of target states, see [link to relevant documentation]. Figure 5b , Figure 5b This is a schematic diagram two illustrating an exemplary charging control scheme for a parallel battery pack; wherein, Figure 5b The table shown illustrates the control schemes corresponding to the nine state combinations.

[0210] The target state combinations include: CC state of the first battery + CC state of the second battery; CC state of the first battery + CV state of the first battery; CV state of the first battery + CC state of the second battery; CV state of the first battery + CV state of the second battery; current rise state of the first battery + CC state of the second battery; current rise state of the first battery + CC state of the second battery; current rise state of the first battery + current rise / fall state of the second battery; current rise state of the first battery + CV state of the second battery; CV state of the first battery + current rise / fall state of the second battery.

[0211] It should be noted that, Figure 5b The CC state shown above indicates that the actual charging current of the battery is within the preset current range corresponding to the CC state. Figure 5b The CV states shown represent the actual charging voltage of the corresponding battery within the preset voltage range corresponding to the CV state; the control schemes corresponding to the aforementioned four state combinations can be found in [reference needed]. Figure 5a As shown, this disclosure will not elaborate further here; and since the current-up state of the first battery is actually in the recovery period of the constant voltage charging stage, and the current-up / current-down state of the second battery is in the recovery period of the constant current charging stage or the constant voltage charging stage, when the above-mentioned target state combination including the recovery state is determined, the first to fourth preset control algorithms can be used according to the actual charging stages corresponding to the first battery and the second battery to generate the first control strategy and the second control strategy according to the specified control scheme.

[0212] Specifically, when the determined target state combination is the rising current state of the first battery + the CC state of the second battery, it corresponds to the CC state of the first battery + the CC state of the second battery, i.e., the first preset control algorithm is used to execute control scheme 1. When the determined rising current state of the first battery + the CC state of the second battery is determined, it corresponds to the CC state of the first battery + the CV state of the second battery, i.e., the second preset control algorithm is used to execute control scheme 2. When the determined target state combination is the rising current state of the first battery + the rising / falling current state of the second battery, it is necessary to determine whether the rising / falling current state of the second battery corresponds to the CV state or the CC state. If it corresponds to the CC state, the first preset control algorithm is used, and control scheme 1 is executed; if it corresponds to the CV state, the second preset control algorithm is used, and control scheme 2 is executed. When the determined target state combination is the rising current state of the first battery + the CV state of the second battery, the second preset control algorithm is used, and control scheme 2 is executed. If the determined target state combination is the CV state of the first battery + the rising / falling current state of the second battery, it is necessary to determine whether the rising / falling current state of the second battery corresponds to the CV state or the CC state. If it corresponds to the CC state, the third preset control algorithm is used, and control scheme 3 is executed; if it corresponds to the CV state, the fourth preset control algorithm is used, and control scheme 4 is executed.

[0213] See Figure 6a and Figure 6b , Figure 6a This is a schematic diagram of a charging curve without a current limiting chip, according to an exemplary embodiment. Figure 6b This is a schematic diagram of a charging curve for setting a current-limiting chip according to an exemplary embodiment. Figure 6a and Figure 6b The horizontal axis represents charging time, and the vertical axis represents charging current.

[0214] Depend on Figure 6a and Figure 6b It can be seen that the charging rate of the parallel battery pack consisting of the first battery and the second battery, which is charged by the charging control algorithm proposed in this disclosure, is significantly improved compared with the charging rate of the traditional equivalent single battery algorithm when no current limiting chip is set.

[0215] Thus, the electronic device and charging control method proposed in this disclosure, after actual charging management of the parallel battery pack, achieve a significant improvement in charging speed, specifically an increase of approximately 5 minutes when charging with a 67W charger. Secondly, due to the use of a lower-cost current-limiting chip, hardware costs are reduced, battery charging safety is enhanced, and the user experience is effectively improved.

[0216] Figure 7This is a structural block diagram of an electronic device according to an exemplary embodiment. For example, the electronic device 700 may be a mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical device, fitness equipment, personal digital assistant, etc.

[0217] Reference Figure 7 The electronic device 700 may include one or more of the following components: processing component 702, memory 704, power supply component 706, multimedia component 708, audio component 710, input / output interface 712, sensor component 714, and communication component 716.

[0218] Processing component 702 typically controls the overall operation of electronic device 700, such as operations associated with at least one of display, telephone call, data communication, camera operation, and recording operation. Processing component 702 may include one or more processors 720 to execute instructions to perform all or part of the steps of the methods described above. Furthermore, processing component 702 may include one or more modules to facilitate interaction between processing component 702 and other components. For example, processing component 702 may include a multimedia module to facilitate interaction between multimedia component 708 and processing component 702.

[0219] Memory 704 is configured to store various types of data to support operation on electronic device 700. Examples of such data include at least one of the following: instructions for any application or method operating on electronic device 700, contact data, phonebook data, messages, pictures, and videos. Memory 704 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read-Only Memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.

[0220] Power supply component 706 provides power to various components of electronic device 700. Power supply component 706 may include at least one of the following: a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to electronic device 700; wherein the power supply component includes the charge pump, parallel battery pack, and power management chip described above in this disclosure.

[0221] Multimedia component 708 includes a screen that provides an output interface between electronic device 700 and user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a Touch Panel, the screen may be implemented as a touchscreen to receive input signals from the user. The Touch Panel includes one or more touch sensors to sense touches, swipes, and gestures on the Touch Panel. The touch sensors may sense not only the boundaries of touch or swipe actions but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 708 includes a front-facing camera and / or a rear-facing camera. When electronic device 700 is in an operating mode, such as a shooting mode or video mode, the front-facing camera and / or rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.

[0222] Audio component 710 is configured to output and / or input audio signals. For example, audio component 710 includes a microphone (MIC) configured to receive external audio signals when electronic device 700 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 704 or transmitted via communication component 716. In some embodiments, audio component 710 also includes a speaker for outputting audio signals.

[0223] Input / output interface 712 provides an interface between processing component 702 and peripheral interface modules, such as keyboards, click wheels, and buttons. These buttons may include, but are not limited to, home buttons, volume buttons, start buttons, and lock buttons.

[0224] Sensor assembly 714 includes one or more sensors for providing state assessments of various aspects of electronic device 700. For example, sensor assembly 714 may detect the on / off state of electronic device 700, the relative positioning of components such as the display and keypad of electronic device 700, changes in position of electronic device 700 or one of its components, the presence or absence of user contact with electronic device 700, orientation or acceleration / deceleration of electronic device 700, and temperature changes of electronic device 700. Sensor assembly 714 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 714 may also include an optical sensor, such as a complementary metal-oxide-semiconductor (CMOS) or charge-coupled device (CCD) image sensor, for use in imaging applications. In some embodiments, sensor assembly 714 may also include, but is not limited to, at least one of the following: an accelerometer, a gyroscope, a magnetometer, a pressure sensor, and a temperature sensor.

[0225] Communication component 716 is configured to facilitate wired or wireless communication between electronic device 700 and other devices. Electronic device 700 can access wireless networks based on communication standards, such as Wi-Fi, 4G, 5G, or combinations thereof. In one exemplary embodiment, communication component 716 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 716 also includes a Near Field Communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID), Infrared Data Association (IrDA), Ultra Wide Band (UWB), Bluetooth (BT), and other technologies.

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

[0227] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 704 including executable instructions or a computer program, which can be executed by a processor 720 of an electronic device 700 to perform the above-described method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), a compact disc read-only memory (CD-ROM), magnetic tape, floppy disk, and optical data storage device, etc.

[0228] A non-transitory computer-readable storage medium, wherein when instructions in the storage medium are executed by a processor of an electronic device, the electronic device is able to perform any of the charging control methods described above in the embodiments of this disclosure.

[0229] This disclosure provides a computer program product comprising a computer program or executable instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer program or executable instructions from the computer-readable storage medium and executes the computer program or executable instructions, causing the computer device to perform any of the charging control methods described above in this disclosure; wherein the computer device may be the aforementioned electronic device. Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and embodiments are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the claims.

[0230] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.

Claims

1. An electronic device, characterized in that, include: Charge pump and current limiting module; A parallel battery pack, comprising a first battery and a second battery connected in parallel; The second battery is connected to the output terminal of the charge pump; The output terminal of the charge pump is connected to the first battery through the current limiting module; The processor is connected to the charge pump, the current limiting module, the first battery, and the second battery, respectively, and is used to determine a first control strategy for the first battery and a second control strategy for the second battery based on the charging data of the first battery and the charging data of the second battery when the charge pump outputs a charging signal. Wherein, the first regulation strategy is used to at least indicate the current limiting value of the current limiting module; the second regulation strategy is used to indicate the charging regulation parameters for the second battery.

2. The device according to claim 1, characterized in that, The first battery is at least one, and / or the second battery is at least one.

3. The device according to claim 1, characterized in that, The electronic device includes a folding device; the folding device includes a hinge area and multiple main body areas separated by the hinge area; At least one battery is provided in at least a portion of the multiple main areas; the battery includes a first battery or a second battery.

4. The device according to claim 3, wherein the folding device includes one pivot area and two main body areas respectively connected to opposite sides of the pivot area; The first battery is disposed in one of the main body regions, and the second battery is disposed in the other main body region.

5. The device according to claim 3, characterized in that, The current limiting module is located in the non-rotating shaft area.

6. The device according to any one of claims 1 to 5, characterized in that, The electronic device also includes: A charging interface for connecting an external charger; the charge pump is connected to the charging interface; A power management chip is connected to the charging interface; The processor, connected to the power management chip, is used to control the power management chip to send a voltage regulation request to the charger according to the first regulation strategy and / or the second regulation strategy.

7. The device according to any one of claims 1 to 5, characterized in that, The electronic device also includes: A detection module is used to detect when the connected charger supports fast charging. The processor executes the process of determining a first control strategy for the first battery and a second control strategy for the second battery based on the charging data of the first battery and the charging data of the second battery, respectively.

8. A charging regulation method, characterized in that, The charging control method, applied to the electronic device according to any one of claims 1 to 7, comprises: In response to the charge pump output charging signal of the electronic device, the charging data of the first battery and the second battery in the parallel battery pack of the electronic device are acquired. Based on the charging data of the first battery and the charging data of the second battery, a first control strategy for the first battery and a second control strategy for the second battery are determined; wherein, the first control strategy is used to indicate at least the current limiting value of the current limiting module connected to the first battery; and the second control strategy is used to indicate the charging control parameters for the second battery. Charging regulation is performed based on the first and second regulation strategies.

9. The method according to claim 8, characterized in that, The method includes periodically regulating charging, and in response to the start of each regulation cycle, executing the charge pump output charging signal in response to the electronic device, and acquiring charging data of the first battery and the second battery in the parallel battery pack of the electronic device.

10. The method according to claim 9, characterized in that, The step of determining a first control strategy for the first battery and a second control strategy for the second battery based on the charging data of the first battery and the charging data of the second battery includes: In response to each round of the control cycle, the charging state of the first battery is determined based on the charging data of the first battery, and the charging state of the second battery is determined based on the charging data of the second battery; wherein, the charging data of the battery includes at least a charging state identifier and a standard Jeita current limit value; Based on the charging state of the first battery, the charging state of the second battery, and the effective current limiting parameter within the control period, the first control strategy and the second control strategy are determined; wherein, the effective current limiting parameter within the control period is determined by the Jeita current limiting value of the first battery, the Jeita current limiting value of the second battery, and / or the overall temperature control current limiting value of the electronic device within the control period.

11. The method according to claim 10, characterized in that, The determination of the first control strategy and the second control strategy based on the charging state of the first battery, the charging state of the second battery, and the effective current limiting parameters within the control period includes: Determine the target state combination based on the charging state of the first battery and the charging state of the second battery; Based on the target state combination and the preset relationship, a target control algorithm corresponding to the target state combination is determined, and based on the target control algorithm and the effective current limiting parameters within the control period, the first control strategy and the second control strategy are determined respectively. The preset relationship is used to indicate the correspondence between preset state combinations and preset control algorithms. The charging states in the preset state combinations include a first charging state and / or a second charging state. The first charging state is a constant current charging state in which the charging voltage of the battery rises when the charging current of the battery is within a preset current range. The second charging state is a constant voltage charging state in which the charging current of the battery decreases when the charging voltage of the battery is within a preset voltage range. The preset control algorithm is used to determine the control strategy for each battery in the parallel battery pack according to the preset state combinations and the effective current limiting parameters.

12. The method according to claim 11, characterized in that, The step of determining a target control algorithm corresponding to the target state combination based on the target state combination and a preset relationship, and determining the first control strategy and the second control strategy based on the target control algorithm and the effective current limiting parameters within the control period, includes: In response to the target state combination being the first charging state of the first battery and the first charging state of the second battery, based on the preset relationship, the target control algorithm is determined to be a first preset control algorithm; In response to the first preset control algorithm determining that the effective current limiting parameter within the control period is the overall temperature control current limiting value, the current limiting value of the current limiting module will be updated with the Jeita current limiting value of the first battery as the target, which is the first control strategy; and dynamic voltage adjustment will be requested from the external charger based on the charging current of the first battery, the charging current of the second battery and the overall temperature control current limiting value, which is the second control strategy. In response to the first preset control algorithm determining that the effective current limiting parameter within the control period is the sum of the current limiting values ​​between the Jeita current limiting value of the first battery and the Jeita current limiting value of the second battery, the current limiting value of the current limiting module is updated with the Jeita current limiting value of the first battery as the first control strategy; and dynamic voltage regulation is requested from the charger based on the current difference between the Jeita current limiting value of the second battery and the charging current of the second battery, which is determined as the second control strategy.

13. The method according to claim 11, characterized in that, The step of determining a target control algorithm corresponding to the target state combination based on the target state combination and a preset relationship, and determining the first control strategy and the second control strategy based on the target control algorithm and the effective current limiting parameters within the control period, includes: In response to the target state combination being the first charging state of the first battery and the second charging state of the second battery, based on the preset relationship, the target control algorithm is determined to be a second preset control algorithm; In response to the second preset control algorithm determining that the effective current limiting parameter within the control cycle is the overall temperature control current limiting value, the current limiting value of the current limiting module will be updated with the Jeita current limiting value of the first battery as the target, which is the first control strategy; and a monotonic voltage reduction will be requested from the external charger with the first preset voltage reduction value, which is determined as the second control strategy. In response to the second preset control algorithm determining that the effective current limiting parameter within the control period is the sum of the current limiting values ​​between the Jeita current limiting value of the first battery and the Jeita current limiting value of the second battery, the current limiting value of the current limiting module will be updated with the Jeita current limiting value of the first battery as the target, which is the first control strategy; and a voltage adjustment will be requested from the charger based on the comparison result between the Jeita voltage limiting value of the second battery and the charging voltage of the second battery, which is determined as the second control strategy.

14. The method according to claim 11, characterized in that, The step of determining a target control algorithm corresponding to the target state combination based on the target state combination and a preset relationship, and determining the first control strategy and the second control strategy based on the target control algorithm and the effective current limiting parameters within the control period, includes: In response to the target state combination being the second charging state of the first battery and the first charging state of the second battery, based on the preset relationship, the target control algorithm is determined to be a third preset control algorithm; In response to the third preset control algorithm determining that the effective current limiting parameter within the control cycle is the overall temperature control current limiting value, the current limiting value of the current limiting module will be updated with a first fixed current reduction value as the target, and a second preset voltage reduction value will be requested from the external charger for a monotonic voltage reduction, as the first control strategy; and no charging control parameters for the second battery will be generated, as the second control strategy. In response to the third preset control algorithm determining that the effective current limiting parameter within the control period is the sum of the current limiting values ​​between the Jeita current limiting value of the first battery and the Jeita current limiting value of the second battery, the current limiting value of the current limiting module will be updated with the goal of the charging voltage of the first battery being within the preset voltage range corresponding to the second charging state, and dynamic voltage adjustment will be requested from the charger as the first control strategy; and when the first control strategy indicates that no voltage adjustment will be requested from the charger within the control period, dynamic voltage adjustment will be requested from the charger based on the current difference between the Jeita current limiting value of the second battery and the charging current of the second battery, which will be determined as the second control strategy.

15. The method according to claim 11, characterized in that, The step of determining a target control algorithm corresponding to the target state combination based on the target state combination and a preset relationship, and determining the first control strategy and the second control strategy based on the target control algorithm and the effective current limiting parameters within the control period, includes: In response to the target state combination being the second charging state of the first battery and the second charging state of the second battery, based on the preset relationship, the target control algorithm is determined to be a fourth preset control algorithm; In response to the fourth preset control algorithm determining that the effective current limiting parameter within the control cycle is the overall temperature control current limiting value, the current limiting value of the current limiting module will be updated with a monotonic current reduction of the second fixed current reduction value as the target, and a monotonic voltage reduction will be requested from the external charger with a third preset voltage reduction value as the first control strategy; and no charging control parameters for the second battery will be generated as the second control strategy. In response to the fourth preset control algorithm determining that the effective current limiting parameter within the control period is the sum of the current limiting values ​​of the first battery and the second battery, the current limiting value of the current limiting module will be updated with the goal of the charging voltage of the first battery being within the preset voltage range corresponding to the second charging state, and dynamic voltage adjustment will be requested from the charger as the first control strategy; and when the first control strategy indicates that no voltage adjustment will be requested from the charger within the control period, a voltage adjustment will be requested from the charger based on the comparison result between the Jeita voltage limit value of the second battery and the charging voltage of the second battery, which will be determined as the second control strategy.

16. The method according to claim 13 or 15, characterized in that, The step of requesting voltage adjustment from the charger based on a comparison between the Jeita voltage limit of the second battery and the charging voltage of the second battery, and determining this as the second regulation strategy, includes: If the comparison result indicates that the charging voltage of the second battery is greater than the Jeita voltage limit of the second battery, then the voltage regulation value requested from the charger is determined based on the voltage difference between the charging voltage of the second battery and the Jeita voltage limit of the second battery. If the comparison result indicates that the charging voltage of the second battery is less than or equal to the Jeita voltage limit of the second battery, then the voltage regulation value requested from the charger is determined based on the voltage value within the preset voltage range corresponding to the charging voltage of the second battery and the second charging state.

17. The method according to claim 8, characterized in that, The method further includes: In response to detecting that the charger connected to the electronic device supports fast charging, the charging data based on the first battery and the charging data of the second battery are executed to determine a first control strategy for the first battery and a second control strategy for the second battery.

18. An electronic device, characterized in that, include: processor; Memory used to store computer programs or instructions; The processor executes the computer program or instructions to implement the steps of the method according to any one of claims 8 to 17.

19. A non-transitory computer-readable storage medium storing a computer program or instructions, characterized in that, When the computer program or instructions in the storage medium are executed by a processor, the steps of the method according to any one of claims 8 to 17 are implemented.

20. A computer program product, comprising a computer program or instructions, characterized in that, When the computer program or instructions are executed by a processor, they implement the steps of the method according to any one of claims 8 to 17.