Charging method and device, electronic equipment and storage medium
By obtaining the charging temperature and parameters of the battery pack and determining the target charging current of each battery, the problem that the existing charging solution cannot meet the charging needs of multi-battery electronic devices is solved, and the charging safety, speed and user experience is improved.
Patent Information
- Application Number
- CN202310974502.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-03
- Publication Date
- 2025-02-14
AI Technical Summary
The existing charging solutions cannot effectively meet the charging needs of multi-battery electronic devices, especially while ensuring charging safety and speed, and improving users' charging experience.
By obtaining the charging temperature and charging parameters of the battery pack, the target charging inlet current of each battery is determined, and charging management is performed based on this to ensure that the charging inlet current of each battery is within a safe range.
It realizes separate control of each battery in the battery pack to ensure charging safety and speed, thereby improving the user's charging experience.
Smart Images

Figure CN119448467A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of charging technology, and in particular to a charging method, device, electronic device and storage medium. Background Art
[0002] With the rapid development of electronic devices, foldable screen electronic devices are becoming more and more popular among consumers, and their market share is gradually increasing. Due to the folding function of foldable screen electronic devices, it is impossible to use a whole large battery in the electronic device. Therefore, in order to meet the battery life requirements of foldable screen electronic devices, their batteries usually adopt a 2P parallel battery architecture, connecting two batteries in parallel. The existing charging solutions are all charging solutions for electronic devices with a single battery. Therefore, it is necessary to improve the existing charging solutions to meet the charging requirements of multi-battery electronic devices. Summary of the invention
[0003] In order to overcome the problems existing in the related art, the present disclosure provides a charging method, a device, an electronic device and a storage medium.
[0004] According to a first aspect of an embodiment of the present disclosure, a charging method is provided, wherein the charging method comprises:
[0005] Acquire a charging temperature of a battery pack and a charging parameter of the battery pack, wherein the charging parameter includes a charging voltage, and the battery pack includes at least two batteries;
[0006] determining a target charging current for each battery in the battery pack based on the charging temperature and the charging voltage;
[0007] The battery pack is charged based on the target charging current of each battery.
[0008] In an exemplary embodiment, the charging parameters further include charging current;
[0009] The charging of the battery pack based on the target charging current of each battery includes:
[0010] Determining a target adjustment method based on the charging temperature and the charging current, wherein the target adjustment method is used to adjust the historical charging current of each battery;
[0011] Based on the target adjustment method, the historical charging current of each battery is adjusted to the target charging current.
[0012] In an exemplary embodiment, determining a target adjustment method based on the charging temperature and the charging current includes:
[0013] If the charging temperature and the charging current meet a first condition, determining that the target adjustment mode is a first adjustment mode, the first adjustment mode is: adjusting the historical charging current of each battery with a preset step size corresponding to each battery, so as to adjust the historical charging current of each battery to the target charging current;
[0014] If the charging temperature and the charging current meet the second condition, the target adjustment mode is determined to be the second adjustment mode, and the second adjustment mode is: adjusting the historical charging current of each battery to the target charging current.
[0015] In an exemplary embodiment, the first condition is to satisfy the following three conditions simultaneously:
[0016] The charging temperature is within a preset temperature range;
[0017] The current charging current is greater than the maximum charging current, and the maximum charging current is the maximum charging current corresponding to the charging voltage;
[0018] The first difference exceeds a threshold, and the first difference is an absolute value of a difference between the current charging current and the historical charging current.
[0019] In an exemplary embodiment, the method further comprises:
[0020] determining a second difference value based on a charging mode and the first difference value, the second difference value being used to characterize an absolute value of a difference between a target charging current of the battery pack and a historical charging current of the battery pack, the charging mode characterizing a ratio between the charging current of the battery pack and the charging current of the battery pack;
[0021] Determine a third difference for each battery according to the second difference and the current split ratio of each battery, wherein the third difference is used to represent an absolute value of a difference between a target charging current for each battery and a historical charging current for each battery;
[0022] The third difference of each battery is determined as a preset step length corresponding to each battery.
[0023] In an exemplary embodiment, the second condition is: the charging temperature is outside a preset temperature range;
[0024] or,
[0025] The second condition is that the following three conditions are met at the same time:
[0026] The charging temperature is within a preset temperature range;
[0027] The current charging current is less than or equal to the maximum charging current, and the maximum charging current is the maximum charging current corresponding to the charging voltage;
[0028] The difference between the current charging current and the historical charging current is within a set range.
[0029] In an exemplary embodiment, determining a target charging current of each battery in the battery pack based on the charging temperature and the charging voltage includes:
[0030] If the charging temperature is outside the preset temperature range, the target charging current of each battery is determined according to the charging voltage and a first mapping relationship, wherein the first mapping relationship represents a mapping relationship between the charging voltage and the target charging current of each battery.
[0031] In an exemplary embodiment, determining a target charging current of each battery in the battery pack based on the charging temperature and the charging voltage includes:
[0032] If the charging temperature is within a preset temperature range, determining a target charging current for each battery according to the charging voltage and a second mapping relationship, wherein the second mapping relationship represents a mapping relationship between the charging voltage and the target charging current for each battery;
[0033] The second mapping relationship is different from the first mapping relationship.
[0034] According to a second aspect of an embodiment of the present disclosure, a charging device is provided, the charging device comprising:
[0035] A monitoring module, configured to obtain a charging temperature of a battery pack and a charging parameter of the battery pack, wherein the charging parameter includes a charging voltage, and the battery pack includes at least two batteries;
[0036] The charging management module is configured to determine a target charging current for each battery in the battery pack based on the charging temperature and the charging voltage; and charge the battery pack based on the target charging current for each battery.
[0037] In an exemplary embodiment, the charging parameters further include charging current;
[0038] The charging management module is further configured to:
[0039] Determining a target adjustment method based on the charging temperature and the charging current, wherein the target adjustment method is used to adjust the historical charging current of each battery;
[0040] Based on the target adjustment method, the historical charging current of each battery is adjusted to the target charging current.
[0041] In an exemplary embodiment, the charging management module is further configured to:
[0042] If the charging temperature and the charging current meet a first condition, determining that the target adjustment mode is a first adjustment mode, the first adjustment mode is: adjusting the historical charging current of each battery with a preset step size corresponding to each battery, so as to adjust the historical charging current of each battery to the target charging current;
[0043] If the charging temperature and the charging current meet the second condition, the target adjustment mode is determined to be the second adjustment mode, and the second adjustment mode is: adjusting the historical charging current of each battery to the target charging current.
[0044] In an exemplary embodiment, the first condition is to satisfy the following three conditions simultaneously:
[0045] The charging temperature is within a preset temperature range;
[0046] The current charging current is greater than the maximum charging current, and the maximum charging current is the maximum charging current corresponding to the charging voltage;
[0047] The first difference exceeds a threshold, and the first difference is an absolute value of a difference between the current charging current and the historical charging current.
[0048] In an exemplary embodiment, the charging management module is further configured to:
[0049] determining a second difference value based on a charging mode and the first difference value, the second difference value being used to characterize an absolute value of a difference between a target charging current of the battery pack and a historical charging current of the battery pack, the charging mode characterizing a ratio between the charging current of the battery pack and the charging current of the battery pack;
[0050] Determine a third difference for each battery according to the second difference and the current split ratio of each battery, wherein the third difference is used to represent an absolute value of a difference between a target charging current for each battery and a historical charging current for each battery;
[0051] The third difference of each battery is determined as a preset step length corresponding to each battery.
[0052] In an exemplary embodiment, the second condition is: the charging temperature is outside a preset temperature range;
[0053] or,
[0054] The second condition is that the following three conditions are met at the same time:
[0055] The charging temperature is within a preset temperature range;
[0056] The current charging current is less than or equal to the maximum charging current, and the maximum charging current is the maximum charging current corresponding to the charging voltage;
[0057] The difference between the current charging current and the historical charging current is within a set range.
[0058] In an exemplary embodiment, the charging management module is further configured to:
[0059] If the charging temperature is outside the preset temperature range, the target charging current of each battery is determined according to the charging voltage and a first mapping relationship, wherein the first mapping relationship represents a mapping relationship between the charging voltage and the target charging current of each battery.
[0060] In an exemplary embodiment, the charging management module is further configured to:
[0061] If the charging temperature is within a preset temperature range, determining a target charging current for each battery according to the charging voltage and a second mapping relationship, wherein the second mapping relationship represents a mapping relationship between the charging voltage and the target charging current for each battery;
[0062] The second mapping relationship is different from the first mapping relationship.
[0063] According to a third aspect of an embodiment of the present disclosure, there is provided an electronic device, including:
[0064] processor;
[0065] a memory for storing processor-executable instructions;
[0066] Wherein, the processor is configured to execute the charging method as described in the first aspect of the embodiment of the present disclosure.
[0067] According to a fourth aspect of an embodiment of the present disclosure, a non-temporary computer-readable storage medium is provided. When instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to perform the charging method as described in the first aspect of the embodiment of the present disclosure.
[0068] The above method disclosed in the present invention has the following beneficial effects: based on the charging temperature and the charging voltage, the target charging current of each battery in the battery pack is determined, that is, the maximum current allowed to enter each battery under the current charging temperature and the charging voltage is determined, and charging is performed based on the target charging current of each battery. This enables individual control of each battery in the battery pack, which can ensure both the charging safety and the charging speed of the battery, thereby improving the user's charging experience.
[0069] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0070] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0071] Figure 1 is a flow chart of a charging method according to an exemplary embodiment;
[0072] Figure 2 is a schematic diagram of charging according to an exemplary embodiment;
[0073] Figure 3 is a flow chart of a charging method according to an exemplary embodiment;
[0074] Figure 4 is a flow chart of a charging method according to an exemplary embodiment;
[0075] Figure 5 is a schematic diagram showing a change in charging current according to an exemplary embodiment;
[0076] Figure 6 is a flow chart of a charging method according to an exemplary embodiment;
[0077] Figure 7 is a flow chart of a charging method according to an exemplary embodiment;
[0078] Figure 8 is a block diagram of a charging device according to an exemplary embodiment;
[0079] Fig. 9 It is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION
[0080] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0081] In the related art, when charging a multi-battery electronic device, the multi-battery is equivalent to a single battery, and the charging scheme of a single-battery electronic device is used to charge the multi-battery electronic device, that is: the total current entering the multi-battery is controlled by a battery charging management IC chip (Integrated Circuit Chip), and the total current is divided according to the resistance of each battery and enters each battery respectively. The battery charging management IC chip monitors the current entering each battery at the same time. When the current entering any battery exceeds the maximum current allowed to enter, the charging protection will be triggered, and the total current entering the multi-battery will be reduced. The current entering each battery will also be reduced, and the charging power will also become smaller. In this case, for batteries that do not exceed the maximum current allowed to enter, after reducing the current entering each battery, they cannot be charged with the maximum current allowed to enter, which will affect the full charge capacity of the battery, resulting in poor battery life of the electronic device and affecting the user's experience; it will also affect the charging speed of the electronic device, resulting in a poor charging experience for the user.
[0082] In an exemplary embodiment of the present disclosure, in order to solve the problems existing in the related art in charging multi-battery electronic devices, a charging method is provided, the charging method comprising: obtaining the charging temperature and charging parameters of the battery pack, the charging parameters comprising the charging voltage, the battery pack comprising at least two batteries, determining the target charging current of each battery in the battery pack based on the charging temperature and the charging voltage, and charging the battery pack based on the target charging current of each battery. The method in the embodiment of the present disclosure, when charging multiple batteries, is based on the target charging current of each battery, and can achieve individual control of each battery in the battery pack, which can ensure both the charging safety and the charging speed of the battery, thereby improving the charging experience of the user.
[0083] In an exemplary embodiment of the present disclosure, a charging method is provided. Figure 1 is a flow chart of a charging method according to an exemplary embodiment. Figure 1 As shown, the charging method includes the following steps:
[0084] Step S101, obtaining a charging temperature and charging parameters of a battery pack, wherein the charging parameters include a charging voltage, and the battery pack includes at least two batteries;
[0085] Step S102, determining a target charging current for each battery in the battery pack based on the charging temperature and the charging voltage;
[0086] Step S103 : charging the battery pack based on the target charging current of each battery.
[0087] The method in the disclosed embodiments is applied to an electronic device, which includes multiple batteries. The electronic device can be a terminal device such as a smart phone, a large-screen mobile phone, a folding-screen mobile phone, a tablet, and other terminal devices, as well as a smart wearable device such as a smart watch, or a smart home device such as a smart desk lamp, a smart speaker, and a smart robot, or other electronic devices including multiple batteries.
[0088] Taking foldable screen electronic devices as an example, Figure 2 is a schematic diagram of charging according to an exemplary embodiment. Figure 2 As shown, the folding screen electronic device includes two batteries: battery 1 and battery 2, which are respectively located in the upper and lower parts of the folding area of the folding screen. Each battery has a corresponding current limiting chip: battery 1 corresponds to current limiting chip 1, and battery 2 corresponds to current limiting chip 2. The power management chip (PMIC, Power Management Integrated Circuit) uniformly manages current limiting chip 1 and current limiting chip 2. The above structure constitutes a battery charging module for the electronic device. When the electronic device is plugged into the charger, the PMIC determines the current entering each battery based on the current entering the electronic device through the charger, the charging status of the electronic device and the resistance of each battery, and notifies the current entering each battery to the current limiting chip corresponding to each battery (i.e., the transmission path shown by the dotted line in the figure). After the charging current passes through the charge pump (Charge Pump), the current limiting chip 1 and the current limiting chip 2 respectively control the current entering battery 1 and battery 2 (i.e., the transmission path shown by the solid line in the figure). It should be noted that Figure 2 The battery structure in the figure is only an exemplary schematic diagram, and the position of the battery can be set according to the hardware structure of the electronic device.
[0089] In step S101, the battery pack represents the combination of all batteries in the electronic device, and the battery pack includes at least two batteries. If the charging temperature of the battery pack is too high, it will damage the battery and affect the battery life. Therefore, when the electronic device is plugged into the charger, the current charging temperature of the battery pack is monitored by the temperature monitoring module in the electronic device. Since multiple batteries in the battery pack are connected in parallel, the charging voltage of the battery pack is the charging voltage of each battery. The charging voltage of the battery pack is obtained by monitoring the potential difference between the positive and negative electrodes of the battery pack.
[0090] In step S102, the charging current of each battery indicates the current entering each battery during charging, and the charging current of the battery pack indicates the sum of the currents entering all batteries during charging. For example, the battery pack includes two batteries, namely battery 1 and battery 2. The current entering battery 1 is recorded as I1, and the current entering battery 2 is recorded as I2. Then, the charging current of battery 1 is I1, the charging current of battery 2 is I2, and the charging current of the battery pack is I1+I2. Figure 2 In the charging schematic diagram shown, the charging current of the battery pack is the output current of the charge pump.
[0091] The charging temperature and charging voltage of the battery pack are the main factors that affect the charging current of each battery. When the charging temperature of the battery pack is high, the charging current of each battery needs to be reduced to reduce the charging temperature of the battery pack; when the charging temperature of the battery pack is within the normal temperature range of the battery, the charging current of each battery can be the maximum current allowed to enter the battery to increase the charging speed. When the charging voltage of the battery pack is high, the charging current of each battery needs to be reduced to prevent overcurrent, that is, to prevent the phenomenon of exceeding the maximum current allowed to enter the battery, to avoid damaging the battery; when the charging voltage of the battery pack is within the normal voltage range of the battery, the charging current of each battery can be the maximum current allowed to enter the battery to increase the charging speed.
[0092] The target charging current of each battery indicates the maximum charging current of each battery under the current charging temperature and charging voltage of the battery pack, that is, the maximum current allowed to enter; the target charging current of the battery pack indicates the maximum charging current of the battery pack under the current charging temperature and charging voltage of the battery pack, that is, the sum of the maximum currents allowed to enter for all batteries. When determining the target charging current of each battery, after obtaining the charging temperature and charging voltage, the target charging current of the battery pack can be determined according to the mapping relationship between the charging temperature, charging voltage and the charging current of the battery pack, and then the current is divided according to the resistance of each battery to obtain the target charging current of each battery; the target charging current of each battery can also be obtained according to the mapping relationship between the charging temperature, charging voltage and the charging current of each battery. Among them, the mapping relationship is summarized from laboratory data or empirical values and pre-stored in the electronic device. The mapping relationship can be a mapping relationship table or a functional relationship.
[0093] In some embodiments, the target charging current of each battery is determined at a preset time interval, which is an empirical value, such as 3 minutes.
[0094] In step S103, when charging the battery pack, the current entering each battery is limited to the target charging current through the current limiting chip corresponding to each battery, so that each battery in the battery pack can be individually and accurately controlled.
[0095] For example, at time t-1, there is no overcurrent phenomenon in the battery pack, and the charging current of each battery is its corresponding target charging current; at time t, the charging temperature and charging voltage have not changed, and one of the batteries in the battery pack has an overcurrent phenomenon, that is, the charging current of the battery exceeds the maximum current allowed to enter the battery, that is, it exceeds the target charging current of the battery. At this time, it is only necessary to adjust the current entering the battery to the target charging current of the battery, without adjusting the current entering other batteries.
[0096] In an exemplary embodiment of the present disclosure, the target charging current of each battery in the battery pack is determined based on the charging temperature and the charging voltage, that is, the maximum current allowed to enter each battery under the current charging temperature and the charging voltage, and charging is performed based on the target charging current of each battery. This enables individual control of each battery in the battery pack, which can ensure both the charging safety and the charging speed of the battery, thereby improving the user's charging experience.
[0097] In an exemplary embodiment of the present disclosure, a charging method is provided. Figure 3 is a flow chart of a charging method according to an exemplary embodiment. Figure 3 As shown, the charging method includes the following steps:
[0098] Step S301, obtaining a charging temperature and charging parameters of a battery pack, wherein the charging parameters include a charging voltage, and the battery pack includes at least two batteries;
[0099] Step S302, if the charging temperature is outside the preset temperature range, determining a target charging current for each battery according to the charging voltage and a first mapping relationship, wherein the first mapping relationship represents a mapping relationship between the charging voltage and the target charging current for each battery;
[0100] Step S303, if the charging temperature is within the preset temperature range, determining the target charging current of each battery according to the charging voltage and a second mapping relationship, where the second mapping relationship represents a mapping relationship between the charging voltage and the target charging current of each battery;
[0101] The second mapping relationship is different from the first mapping relationship.
[0102] Step S304: charging the battery pack based on the target charging current of each battery.
[0103] The specific implementation of step S301 refers to the implementation of step S101, and the specific implementation of step S304 refers to the implementation of step S103, which will not be repeated here.
[0104] The preset temperature range is the normal temperature range of the battery. Charging within the preset temperature range will not damage the battery. The preset temperature range is an empirical value. The preset temperature ranges of batteries from different manufacturers may be different. In one example, the preset temperature range is 15 to 48 degrees Celsius, that is, greater than or equal to 15 degrees Celsius and less than or equal to 48 degrees Celsius. The preset temperature range can be represented as a normal_zone range, and the temperature outside the preset temperature range can be represented as a non-normal_zone range.
[0105] In step S302, when the charging temperature is outside the preset temperature range, that is, the charging temperature is lower than 15 degrees Celsius or higher than 48 degrees Celsius, the target charging current of each battery is determined according to the charging voltage and the first mapping relationship. The first mapping relationship represents the mapping relationship between the charging voltage and the target charging current of each battery, and the first mapping relationship can be a mapping relationship table or a functional relationship.
[0106] In one example, the battery pack includes two batteries, namely battery 1 and battery 2. The mapping relationship between the charging voltage and the target charging current of each battery is shown in Table 1, where the unit of the charging voltage is mV (millivolt) and the unit of the target charging current is mA (milliampere):
[0107] Table 1
[0108] Charging voltage (mV) Target charging current of battery 1 (mA) Target charging current of battery 2 (mA) 3300-4200 550 400 4201-4300 350 250 4301-4480 150 100 >4480 100 50
[0109] In step S303, when the charging temperature is within the preset temperature range, that is, when the charging temperature is lower than 15 degrees Celsius or higher than 48 degrees Celsius, the target charging current of each battery is determined according to the charging voltage and the second mapping relationship. The second mapping relationship represents the mapping relationship between the charging voltage and the target charging current of each battery, and the second mapping relationship can be a mapping relationship table or a functional relationship.
[0110] In one example, the battery pack includes two batteries, namely battery 1 and battery 2. The mapping relationship between the charging voltage and the target charging current of each battery is shown in Table 2, where the unit of the charging voltage is mV (millivolt) and the unit of the target charging current is mA (milliampere):
[0111] Table 2
[0112] Charging voltage (mV) Target charging current of battery 1 (mA) Target charging current of battery 2 (mA) 3300-4200 1650 4550 4201-4300 950 2700 4301-4480 800 2250 >4480 650 1800
[0113] Since the impact on battery charging is quite different when the charging temperature is within the preset temperature range and outside the preset temperature range, the first mapping relationship is different from the second mapping relationship.
[0114] In the disclosed embodiment, when the charging temperature is between different temperature zones, different mapping relationships are used to determine the target charging current of each battery, thereby ensuring the charging safety of the battery while ensuring the charging speed, thereby improving the user's charging experience.
[0115] In an exemplary embodiment of the present disclosure, a charging method is provided. Figure 4 is a flow chart of a charging method according to an exemplary embodiment. Figure 4 As shown, the charging method includes the following steps:
[0116] Step S401, obtaining a charging temperature and charging parameters of a battery pack, wherein the charging parameters include a charging voltage, and the battery pack includes at least two batteries;
[0117] Step S402, determining a target charging current for each battery in the battery pack based on the charging temperature and the charging voltage;
[0118] Step S403, determining a target adjustment mode based on the charging temperature and the charging current, where the target adjustment mode is used to adjust the historical charging current of each battery;
[0119] Step S404: Based on the target adjustment method, the historical charging current of each battery is adjusted to the target charging current.
[0120] The specific implementation of step S401-step S402 refers to the implementation of step S101-step S102, which will not be repeated here.
[0121] The charging parameters also include the charging current, which indicates the current entering the electronic device through the charger and is the maximum charging current allowed by the battery charging module. Figure 2In the charging schematic diagram shown, the charging current is the input current of the charge pump. The size of the charging current is determined by the PMIC. When the electronic device is plugged into the charger, the PMIC determines the maximum charging current allowed at the current charging voltage and charging temperature based on the charging voltage, charging temperature and charging protocol, and charges with this maximum charging current. Among them, the charging protocol includes a mapping relationship between the charging voltage, charging temperature and maximum charging current. When the charging temperature is outside the preset temperature range, the battery is easily damaged, and the charging current needs to be reduced to reduce the charging temperature. Therefore, the maximum charging current is usually a fixed value, and the current value is small, for example, 2A; when the charging temperature is within the preset temperature range, the maximum charging current is determined according to the charging voltage range in which the charging voltage is located. When the charging voltage becomes higher, the charging current needs to be reduced to prevent overcurrent in the battery pack.
[0122] Table 3
[0123] Charging voltage (mV) Maximum charging current (mA) 3300-4200 6200 4201-4300 3800 4301-4480 3200 >4480 2600
[0124] In one example, when the charging temperature is within a preset temperature range, the maximum charging current corresponding to the current charging voltage is determined according to a third mapping relationship pre-configured in the electronic device, and the third mapping relationship represents the mapping relationship between the charging voltage and the maximum charging current. The third mapping relationship can be a mapping relationship table or a functional relationship. For example, the mapping relationship table between the charging voltage and the maximum charging current is shown in Table 3, where the unit of the charging voltage is mV (millivolt) and the unit of the maximum charging current is mA (milliampere).
[0125] According to the JEITA (Japan Electronics and Information Technology Industries Association) charging protocol, when the charging temperature is within the preset temperature range, if the charging voltage range changes, that is, it is in the JEITA switching stage, in order to ensure charging safety, the charging current needs to be changed in steps. For example, when the charging voltage changes from the voltage range of 3300-4200mV to the voltage range of 4201-4300mV, the charging current needs to be adjusted from 6200mA to 3800mA in steps. In the process of step-by-step adjustment of the charging current, if the charging current of each battery is directly adjusted to the target charging current, overcurrent will occur. For example, as shown in Table 2, in this process, the target charging current of battery 1 changes from 1650mA to 950mA, and the target charging current of battery 2 changes from 4550mA to 2700mA. If the historical charging current is directly adjusted to the target charging current, that is, the charging current of battery 1 is directly limited from 1650mA to 950mA, but the charging current is still in the step-by-step adjustment stage, that is, the charging current is greater than the maximum charging current, then the charging current of the battery pack is greater than the maximum charging current, and the charging current of battery 1 is limited, then the charging current of battery 2 will have a short overcurrent, which is easy to damage the battery and affect the battery life.
[0126] In step S403, the historical charging current indicates the maximum current allowed to enter each battery at the last moment, and the target charging current indicates the maximum current allowed to enter each battery at the current moment. When the charging temperature is within the preset temperature range, it can be determined whether it is currently in the JEITA switching stage according to the charging current. If it is in the JEITA switching stage, it is also necessary to adjust the historical charging current of each battery in a step-by-step manner; if it is not in the JEITA switching stage, the historical charging current of each battery can be directly adjusted to the target charging current.
[0127] In some implementations, when determining the target adjustment mode based on the charging temperature and the charging current, the following two situations are included:
[0128] The first one is that if the charging temperature and the charging current meet the first condition, the target adjustment method is determined to be the first adjustment method. The first adjustment method is: adjust the historical charging current of each battery with a preset step size corresponding to each battery to adjust the historical charging current of each battery to the target charging current.
[0129] The first condition is to determine whether the current state is in the JTITA switching stage. If the current is in the JEITA switching stage, the charging current will be adjusted in a step-by-step manner. At this time, the historical charging current of each battery is adjusted with the preset step size corresponding to each battery to adjust the historical charging current of each battery to the target charging current, which can prevent battery overcurrent and improve charging safety.
[0130] In one embodiment, the first condition is to simultaneously satisfy the following three conditions: the charging temperature is within a preset temperature range; the current charging current is greater than the maximum charging current, and the maximum charging current is the maximum charging current corresponding to the charging voltage; the first difference exceeds a threshold, and the first difference is the absolute value of the difference between the historical charging current and the current charging current.
[0131] The current charging current indicates the current charging current, that is, the current charging current at the current charging temperature and charging voltage. The maximum charging current indicates the current maximum charging current, that is, the maximum allowable charging current at the current charging temperature and charging voltage. When the charging temperature is within the preset temperature range, the current charging current is greater than the maximum charging current, indicating that it is in the JEITA switching stage, that is, the step-by-step adjustment stage of the charging current; the absolute value of the difference between the historical charging current and the current charging current exceeds the threshold, which is an empirical value, such as 200mA, indicating that the charging current is changing, preventing the charging current from changing in error, rather than the step-by-step adjustment stage.
[0132] In one example, the maximum charging current is recorded as jeita_zoneMcurrent, the current charging current is recorded as last_current, and the historical charging current is recorded as last_current. The charging temperature is within the preset temperature range. If the current charging current is greater than the maximum charging current, that is, current>jeita_zoneMcurrent, that is, the current charging current is greater than 3800mA, and the absolute value of last_current-current is greater than 200mA, it means that it is in the JEITA switching stage, that is, the charging voltage changes from the voltage range of 3300-4200mV to the voltage range of 4201-4300mV, and the charging current is in the step-by-step adjustment stage.
[0133] In one embodiment, the preset step length is determined by the following steps:
[0134] Step S3-1, determining a second difference based on the charging mode and the first difference.
[0135] The charging mode represents the ratio between the charging input current of the battery pack and the charging current of the battery pack, that is, the ratio between the output current of the charge pump and the input current, for example, 4:1 or 2:1. Since the first difference is the absolute value of the difference between the historical charging current and the current charging current, the product of the charging mode and the first difference is the absolute value of the difference between the target charging input current of the battery pack and the historical charging input current of the battery pack, that is, the second difference.
[0136] In one example, the historical charging current is recorded as last_current, the current charging current is recorded as current, and the first difference is recorded as dev_current, then: dev_current = |last_current-current|. The charging mode is recorded as ratio, and the second difference is recorded as total_ibatt, then: total_ibatt = dev_current*ratio.
[0137] Step S3-2, determining a third difference of each battery according to the second difference and the current splitting ratio of each battery.
[0138] The shunt ratio is determined according to the resistance of each battery, and the resistance is inversely proportional to the shunt ratio. The product of the second difference and the shunt ratio is the absolute value of the difference between the target charging current of each battery and the historical charging current of each battery, that is, the third difference.
[0139] In one example, the battery pack includes battery 1 and battery 2, the shunt ratio of battery 1 is recorded as ratio1, and the third difference is recorded as battery1_current, then: battery1_current = total_ibatt*ratio1; the shunt ratio of battery 2 is divided into ratio2, and the third difference is recorded as battery2_current, then: battery2_current = total_ibatt*ratio2.
[0140] Step S3-3: determining the third difference of each battery as a preset step length corresponding to each battery.
[0141] In one example, battery1_current is determined as the preset step length corresponding to battery 1 , and battery2_current is determined as the preset step length corresponding to battery 2 .
[0142] Second, if the charging temperature and the charging current meet the second condition, the target adjustment mode is determined to be the second adjustment mode, and the second adjustment mode is: adjusting the charging input current of each battery to the target charging input current.
[0143] The second condition is to determine that the current state is not in the JTITA switching stage. If the current state is not in the JEITA switching stage, the charging current will be directly adjusted to the maximum charging current at the current moment. At this time, the charging current of each battery is adjusted to the target charging current, and battery overcurrent will not occur.
[0144] In one embodiment, the second condition is that the charging temperature is outside the preset temperature range. Alternatively, the second condition is that the following three conditions are met at the same time: the charging temperature is within the preset temperature range; the difference between the current charging current and the historical charging current is within the set range; the current charging current is less than or equal to the maximum charging current, and the maximum charging current is the maximum charging current corresponding to the charging voltage.
[0145] When the charging temperature is outside the preset temperature range, the charging current is usually a fixed value, and there is no change in the charging current. At this time, it is not in the JTITA switching stage.
[0146] When the charging temperature is within the preset temperature range, the setting range is an empirical value, which is a value range that can distinguish the current charging current from the historical charging current. For example, it is greater than 10mA or less than -10mA. When the difference between the current charging current and the historical charging current is within the set range, it means that the charging current has changed; the current charging current is less than or equal to the maximum charging current, indicating that the charging current is not in the step-by-step adjustment stage, that is, it is not in the JTITA switching stage.
[0147] In step S404, when the target adjustment mode is the first adjustment mode, the preset step size corresponding to each battery is input into the current limiting chip corresponding to each battery, and the current limiting chip adjusts the historical charging current to the target charging current with the preset step size. In one example, the battery pack includes battery 1 and battery 2, and the preset step size battery1_current corresponding to battery 1 is written into current limiting chip 1, and the preset step size battery2_current corresponding to battery 2 is written into current limiting chip 2. For example, the historical charging current of battery 1 is 1650mA, the target charging current is 950mA, and the preset step size battery1_current is 200mA. Then the current limiting chip 1 adjusts the charging current of battery 1 in the order of 1650mA, 1450mA, 1250mA, 1050mA, and 950mA.
[0148] When the target adjustment mode is the second adjustment mode, the target charging current corresponding to each battery is input into the current limiting chip corresponding to each battery, and the current limiting chip directly adjusts the historical charging current to the target charging current. In one example, the battery pack includes battery 1 and battery 2, the target charging current of battery 1 is written into current limiting chip 1, and the target charging current of battery 2 is written into current limiting chip 2. For example, if the historical charging current of battery 1 is 950mA and the target charging current is 750mA, the current limiting chip 1 directly adjusts 950mA to 750mA.
[0149] In one example, the battery pack includes three batteries, which are connected in parallel. Figure 5 is a schematic diagram showing a change in charging current according to an exemplary embodiment. Figure 5 As shown, line a represents the charging current of the battery pack, line b represents the charging current of battery 1, line c represents the charging current of battery 2, and line d represents the charging current of battery 3. It can be seen that the charging current of each battery in the entire charging process changes gradually, and there is no overcurrent problem.
[0150] In the embodiment of the present disclosure, the target adjustment method is determined based on the charging temperature and the charging current, and the historical charging input current of each battery is adjusted based on the target adjustment method. This can achieve more refined charging input current control, which not only ensures that each battery is charged with the maximum charging input current, but also ensures battery safety, avoids overcurrent problems that may damage the battery, and greatly improves the user's charging experience.
[0151] In an exemplary embodiment of the present disclosure, a charging method is provided. Figure 6 is a flow chart of a charging method according to an exemplary embodiment. Figure 6 As shown, the charging method includes the following steps:
[0152] Step S6-1, after the electronic device is started, the battery charging module is initialized and the charger is waited for to be plugged in;
[0153] Step S6-2, after the charger is inserted, the electronic device enters a charging state, and a battery charging module in the electronic device sets a charging current according to a current battery state (including charging temperature, charging voltage, and charging protocol);
[0154] The current battery temperature zone is determined according to the charging temperature. The temperature zone indicates the temperature interval in which the charging temperature is located, including the normal_zone interval and the non-normal_zone interval.
[0155] Step S6-3, the charger performs power negotiation according to the charging current, and after successful negotiation, charges with the current charging current;
[0156] Step S6-4, passing the charging current, the current temperature zone, and the charging voltage as parameters to the power management chip;
[0157] Step S6-5, the power management chip accurately controls the charging current of each battery;
[0158] Step S6-6: the battery charging module continues to monitor the battery status and charging current.
[0159] In an exemplary embodiment of the present disclosure, a charging method is provided. Figure 7 is a flow chart of a charging method according to an exemplary embodiment. Figure 7 As shown, the charging method includes the following steps:
[0160] Step S7-1, waiting for connection to a charger;
[0161] Step S7-2, requesting a default charging power according to the charger type;
[0162] Step S7-3, according to the current charging voltage and charging temperature, obtain the battery temperature zone and jeta_current (maximum allowed charging current). This function will be called periodically;
[0163] The battery temperature zone zone represents the temperature interval where the charging temperature is located, including the normal_zone interval and the non-normal_zone interval, and the battery temperature zone zone and jeita_current are obtained at preset time intervals.
[0164] Step S7-4, determining whether the battery temperature zone is in the normal_zone interval, that is, determining whether the battery temperature zone satisfies zone==normal_zone;
[0165] If zone is in the non-normal_zone interval, execute step S7-5; if zone is in the normal_zone interval, execute steps S7-6 to S7-9;
[0166] Step S7-5, write the maximum allowable input current zone_limit_Mvalue1 and zone_limit_Mvalue2 of each battery corresponding to jeita_current into the control IC register;
[0167] That is, battery1_input_current==zone_limit_Mvalue1;
[0168] battery2_input_current==zone_limit_Mvalue2;
[0169] Among them, zone_limit_Mvalue1 represents the maximum charging current of battery 1 in different charging voltage intervals, zone_limit_Mvalue2 represents the maximum charging current of battery 2 in different charging voltage intervals, and the control IC register represents the current limiting chip corresponding to each battery.
[0170] Step S7-6, determining whether the current charging current has changed, that is, determining whether R_current == C_current;
[0171] Among them, R_current represents the current charging current, and C_current represents the charging current at the previous moment;
[0172] If the current charging current changes (ie, R_current!=C_current), execute step S7-7 to step S7-9; if the current charging current does not change (R_current==C_current), execute step S7-3;
[0173] Step S7-7, determining whether the current battery is in a jeita switching state, that is, determining whether R_current>jeita_zoneMcurrent is satisfied;
[0174] Among them, R_current represents the current charging current, jeita_zoneMcurrent represents the maximum charging current allowed in different charging voltage ranges;
[0175] If it is not in the jeita switching state (i.e., R_current <= jeita_zoneMcurrent), and the control IC register has not been configured (i.e., first_set_flag == true), execute step S7-5; if it is in the jeita switching state (i.e., R_current> jeita_zoneMcurrent), and the absolute value of the difference between the current charging current and the charging current at the previous moment is greater than 200mA (i.e., dev_current> STEP_VALUE_MAX), execute steps S7-8-step S7-9;
[0176] Step S7-8, dev_current=C_current-R_current
[0177] total_ibatt=dev_current*ratio
[0178] battery1_current=total_ibatt*ratio1
[0179] battery2_current=total_ibatt*ratio2
[0180] Wherein, C_current represents the charging current at the last moment, R_current represents the current charging current, ratio represents the charging mode (4:1 or 2:1), ratio1 represents the shunt ratio of battery 1, and ratio2 represents the shunt ratio of battery 2;
[0181] Step S7-9, write battery1_current and battery2_current into the control IC register;
[0182] That is, battery1_input_current==battery1_current;
[0183] battery2_input_current==battery2_current.
[0184] In an exemplary embodiment of the present disclosure, a charging device is provided. Figure 8 is a block diagram of a charging device according to an exemplary embodiment. Figure 8 As shown, the charging device includes:
[0185] The monitoring module 801 is configured to obtain a charging temperature and a charging parameter of the battery pack, wherein the charging parameter includes a charging voltage, and the battery pack includes at least two batteries;
[0186] The charging management module 802 is configured to determine a target charging current for each battery in the battery pack based on the charging temperature and the charging voltage; and charge the battery pack based on the target charging current for each battery.
[0187] In an exemplary embodiment, the charging parameters also include charging current;
[0188] The charging management module 802 is further configured to:
[0189] Based on the charging temperature and the charging current, a target adjustment method is determined, and the target adjustment method is used to adjust the historical charging current of each battery;
[0190] Based on the target regulation method, the historical charging current of each battery is adjusted to the target charging current.
[0191] In an exemplary embodiment, the charging management module 802 is further configured to:
[0192] If the charging temperature and the charging current meet the first condition, determining that the target adjustment mode is the first adjustment mode, the first adjustment mode is: adjusting the historical charging current of each battery by a preset step size corresponding to each battery, so as to adjust the historical charging current of each battery to the target charging current;
[0193] If the charging temperature and the charging current meet the second condition, the target adjustment mode is determined to be the second adjustment mode, and the second adjustment mode is: adjusting the historical charging input current of each battery to the target charging input current.
[0194] In an exemplary embodiment, the first condition is that the following three conditions are satisfied at the same time:
[0195] The charging temperature is within the preset temperature range;
[0196] The current charging current is greater than the maximum charging current, and the maximum charging current is the maximum charging current corresponding to the charging voltage;
[0197] The first difference exceeds a threshold value, and the first difference is an absolute value of a difference between a current charging current and a historical charging current.
[0198] In an exemplary embodiment, the charging management module 802 is further configured to:
[0199] Based on the charging mode and the first difference, determining a second difference, the second difference being used to characterize an absolute value of a difference between a target charging current of the battery pack and a historical charging current of the battery pack, the charging mode characterizing a ratio between the charging current of the battery pack and the charging current of the battery pack;
[0200] Determine a third difference for each battery according to the second difference and the current split ratio of each battery, where the third difference is used to represent an absolute value of a difference between a target charging current of each battery and a historical charging current of each battery;
[0201] The third difference value of each battery is determined as a preset step length corresponding to each battery.
[0202] In an exemplary embodiment, the second condition is: the charging temperature is outside a preset temperature range;
[0203] or,
[0204] The second condition is that the following three conditions are met at the same time:
[0205] The charging temperature is within the preset temperature range;
[0206] The current charging current is less than or equal to the maximum charging current, and the maximum charging current is the maximum charging current corresponding to the charging voltage;
[0207] The difference between the current charging current and the historical charging current is within the set range.
[0208] In an exemplary embodiment, the charging management module 802 is further configured to:
[0209] If the charging temperature is outside the preset temperature range, the target charging current of each battery is determined according to the charging voltage and a first mapping relationship, where the first mapping relationship represents a mapping relationship between the charging voltage and the target charging current of each battery.
[0210] In an exemplary embodiment, the charging management module 802 is further configured to:
[0211] If the charging temperature is within the preset temperature range, determining the target charging current of each battery according to the charging voltage and the second mapping relationship, the second mapping relationship representing the mapping relationship between the charging voltage and the target charging current of each battery;
[0212] The second mapping relationship is different from the first mapping relationship.
[0213] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0214] Fig. 9 is a block diagram of an electronic device 900 according to an exemplary embodiment.
[0215] Reference Fig. 9 , the electronic device 900 may include one or more of the following components: a processing component 902 , a memory 904 , a power component 906 , a multimedia component 908 , an audio component 910 , an input / output (I / O) interface 912 , a sensor component 914 , and a communication component 916 .
[0216] The processing component 902 generally controls the overall operation of the electronic device 900, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 902 may include one or more processors 920 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 902 may include one or more modules to facilitate the interaction between the processing component 902 and other components. For example, the processing component 902 may include a multimedia module to facilitate the interaction between the multimedia component 908 and the processing component 902.
[0217] The memory 904 is configured to store various types of data to support operations on the electronic device 900. Examples of such data include instructions for any application or method operating on the electronic device 900, contact data, phone book data, messages, pictures, videos, etc. The memory 904 may be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0218] The power supply component 906 provides power to the various components of the electronic device 900. The power supply component 906 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 900.
[0219] The multimedia component 908 includes a screen that provides an output interface between the electronic device 900 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 908 includes a front camera and / or a rear camera. When the electronic device 900 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0220] The audio component 910 is configured to output and / or input audio signals. For example, the audio component 910 includes a microphone (MIC), and when the electronic device 900 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 904 or sent via the communication component 916. In some embodiments, the audio component 910 also includes a speaker for outputting audio signals.
[0221] I / O interface 912 provides an interface between processing component 902 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.
[0222] The sensor assembly 914 includes one or more sensors for providing various aspects of status assessment for the electronic device 900. For example, the sensor assembly 914 can detect the open / closed state of the electronic device 900, the relative positioning of components, such as the display and keypad of the electronic device 900, and the sensor assembly 914 can also detect the position change of the electronic device 900 or a component of the electronic device 900, the presence or absence of user contact with the electronic device 900, the orientation or acceleration / deceleration of the electronic device 900, and the temperature change of the electronic device 900. The sensor assembly 914 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 914 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 914 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0223] The communication component 916 is configured to facilitate wired or wireless communication between the electronic device 900 and other devices. The electronic device 900 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 916 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 916 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0224] In an exemplary embodiment, the electronic device 900 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above methods.
[0225] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 904 including instructions, and the instructions can be executed by a processor 920 of an electronic device 900 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0226] A non-transitory computer-readable storage medium, when instructions in the storage medium are executed by a processor of an electronic device, enables the electronic device to perform a charging method, the method including any of the above-mentioned charging methods.
[0227] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0228] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A charging method, characterized in that: The charging method comprises: Acquire a charging temperature of a battery pack and a charging parameter of the battery pack, wherein the charging parameter includes a charging voltage, and the battery pack includes at least two batteries; determining a target charging current for each battery in the battery pack based on the charging temperature and the charging voltage; The battery pack is charged based on the target charging current of each battery.
2. The charging method according to claim 1, characterized in that: The charging parameters also include charging current; The charging of the battery pack based on the target charging current of each battery includes: Determining a target adjustment method based on the charging temperature and the charging current, wherein the target adjustment method is used to adjust the historical charging current of each battery; Based on the target adjustment method, the historical charging current of each battery is adjusted to the target charging current.
3. The charging method according to claim 2, characterized in that: The determining a target adjustment mode based on the charging temperature and the charging current includes: If the charging temperature and the charging current meet a first condition, determining that the target adjustment mode is a first adjustment mode, the first adjustment mode is: adjusting the historical charging current of each battery with a preset step size corresponding to each battery, so as to adjust the historical charging current of each battery to the target charging current; If the charging temperature and the charging current meet the second condition, the target adjustment mode is determined to be the second adjustment mode, and the second adjustment mode is: adjusting the historical charging current of each battery to the target charging current.
4. The charging method according to claim 3, characterized in that: The first condition is that the following three conditions are met at the same time: The charging temperature is within a preset temperature range; The current charging current is greater than the maximum charging current, and the maximum charging current is the maximum charging current corresponding to the charging voltage; The first difference exceeds a threshold, and the first difference is an absolute value of a difference between the current charging current and the historical charging current.
5. The charging method according to claim 4, characterized in that: The method further comprises: determining a second difference value based on a charging mode and the first difference value, the second difference value being used to characterize an absolute value of a difference between a target charging current of the battery pack and a historical charging current of the battery pack, the charging mode characterizing a ratio between the charging current of the battery pack and the charging current of the battery pack; Determine a third difference for each battery according to the second difference and the current split ratio of each battery, wherein the third difference is used to represent an absolute value of a difference between a target charging current for each battery and a historical charging current for each battery; The third difference of each battery is determined as a preset step length corresponding to each battery.
6. The charging method according to claim 3, characterized in that: The second condition is: the charging temperature is outside the preset temperature range; or, The second condition is that the following three conditions are met at the same time: The charging temperature is within a preset temperature range; The current charging current is less than or equal to the maximum charging current, and the maximum charging current is the maximum charging current corresponding to the charging voltage; The difference between the current charging current and the historical charging current is within a set range.
7. The charging method according to claim 1, characterized in that: The determining, based on the charging temperature and the charging voltage, a target charging current for each battery in the battery pack comprises: If the charging temperature is outside the preset temperature range, the target charging current of each battery is determined according to the charging voltage and a first mapping relationship, wherein the first mapping relationship represents a mapping relationship between the charging voltage and the target charging current of each battery.
8. The charging method according to claim 7, characterized in that: The determining, based on the charging temperature and the charging voltage, a target charging current for each battery in the battery pack comprises: If the charging temperature is within a preset temperature range, determining a target charging current for each battery according to the charging voltage and a second mapping relationship, wherein the second mapping relationship represents a mapping relationship between the charging voltage and the target charging current for each battery; The second mapping relationship is different from the first mapping relationship.
9. A charging device, characterized in that: The charging device comprises: A monitoring module, configured to obtain a charging temperature of a battery pack and a charging parameter of the battery pack, wherein the charging parameter includes a charging voltage, and the battery pack includes at least two batteries; The charging management module is configured to determine a target charging current for each battery in the battery pack based on the charging temperature and the charging voltage; and charge the battery pack based on the target charging current for each battery.
10. An electronic device, characterized in that: include: processor; a memory for storing processor-executable instructions; Wherein, the processor is configured to execute the charging method as described in any one of claims 1-8.
11. A non-transitory computer-readable storage medium, characterized in that: When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the charging method according to any one of claims 1 to 8.