Battery charging method, device and equipment, storage medium and charging and discharging circuit
By obtaining the battery capacity and voltage value, obtaining the charging voltage limit value according to the preset parameters, and limiting the charging voltage value, the problem of overcharge and damage after fullness is solved, and the safety and life of the battery are extended are achieved.
Patent Information
- Application Number
- CN202411346235.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-25
- Publication Date
- 2024-12-27
AI Technical Summary
After the battery is fully charged, the battery continues to charge and becomes damaged due to overcharging because the charging voltage value is greater than the battery voltage value.
By obtaining the battery power and voltage value, the charging voltage limit value is obtained according to the preset charging parameter when the battery power is less than the threshold, and when it is equal to the threshold, the battery voltage value is used as the voltage limit value to limit the charging voltage value so that it is less than or equal to Charging voltage limit value to avoid overcharging.
It effectively avoids overcharge damage to the battery, extends the battery life and improves the safety of charging.
Smart Images

Figure CN119209822A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of battery charging, and specifically relates to a battery charging method, device, equipment, storage medium and charging and discharging circuit. Background Art
[0002] Battery Management System (BMS) is used to monitor and manage the charging and discharging (charging and discharging) of batteries and is often used in electric vehicles. The main functions of the battery management system include ensuring that the battery pack operates under safe and stable conditions, extending its service life, improving energy efficiency, and real-time monitoring of battery status (such as voltage, current, temperature, etc.), evaluating battery health, controlling the battery charging and discharging process, and predicting battery life.
[0003] In the prior art, a battery management system sends a fixed charging voltage limit value to an inverter, and the inverter sets a charging voltage value of the battery according to the charging voltage limit value to charge the battery.
[0004] In the process of implementing the present application, the inventors found that there are at least the following problems in the prior art: after the battery is fully charged, because the charging voltage value of the battery is greater than the voltage value of the battery, the battery continues to charge, resulting in overcharging and damage of the battery. Summary of the invention
[0005] The present application aims to provide a battery charging method, device, equipment, storage medium and charging and discharging circuit, which at least solves the problem in the prior art that after the battery is fully charged, the battery continues to be charged because the charging voltage value of the battery is greater than the battery voltage value, resulting in overcharging and damage of the battery.
[0006] In order to solve the above technical problems, this application is implemented as follows:
[0007] In a first aspect, an embodiment of the present application provides a battery charging method, the method comprising:
[0008] Get the battery power and voltage value;
[0009] When the power level of the battery is less than a power threshold, a charging voltage limit value of the battery is obtained according to a plurality of first charging parameters preset for the battery, and when the power level of the battery is equal to the power threshold, a voltage value of the battery is used as the charging voltage limit value;
[0010] According to the charging voltage limit value, the charging voltage value of the battery is limited so that the charging voltage value is less than or equal to the charging voltage limit value.
[0011] Optionally, the charging voltage limit value of the battery is obtained according to multiple first charging parameters preset for the battery, including: multiplying the preset cell voltage value of the battery by the preset number of cells of the battery to obtain a first value; subtracting the preset full charge offset of the battery from the first value to obtain a second value; when the second value is greater than the voltage value of the battery, determining the second value as the charging voltage limit value; when the second value is less than or equal to the voltage value of the battery, increasing the cell voltage value by a first preset value, or reducing the full charge offset by a second preset value, and then entering the step of multiplying the preset cell voltage value of the battery by the preset number of cells of the battery to obtain the first value.
[0012] Optionally, the method also includes: when the power level of the battery is less than the power threshold, obtaining a charging current limit value of the battery according to multiple second charging parameters preset for the battery; and when the power level of the battery is equal to the power threshold, using a preset minimum value as the charging current limit value; and according to the charging current limit value, limiting the charging current value of the battery so that the charging current value is less than or equal to the charging current limit value.
[0013] Optionally, the charging current limit value of the battery is obtained based on multiple second charging parameters preset for the battery, including: obtaining the smallest first current limit value among the preset cell current limit value of the battery and the preset temperature current limit value of the battery; obtaining the smallest coefficient among the preset power coefficient of the battery and the preset voltage coefficient of the battery; and multiplying the first current limit value by the smallest coefficient to obtain the charging current limit value.
[0014] Optionally, the method also includes: obtaining the cell temperature of each cell of the battery; obtaining the highest cell temperature and the lowest cell temperature among the cell temperatures; obtaining a second current limiting value corresponding to the highest cell temperature and a third current limiting value corresponding to the lowest cell temperature from a first preset correspondence between reference cell temperatures and reference current limiting values; and determining the smallest current limiting value between the second current limiting value and the third current limiting value as the temperature current limiting value.
[0015] Optionally, the method further includes: acquiring a first coefficient corresponding to the battery power from a second preset correspondence between a reference power and a first reference coefficient; and using the first coefficient as the power coefficient.
[0016] Optionally, the method also includes: obtaining the cell voltage of each cell of the battery; obtaining the highest cell voltage among the cell voltages; obtaining a second coefficient corresponding to the highest cell voltage from a third preset correspondence between the reference cell voltage and the second reference coefficient; and using the second coefficient as the voltage coefficient.
[0017] In a second aspect, an embodiment of the present application further provides a charge and discharge circuit, including an isolating switch, a fuse, a first switch, a second switch, a third switch and a resistor;
[0018] The first end of the isolating switch is electrically connected to the first end of the fuse, the second end of the isolating switch is used to be electrically connected to the negative electrode of the battery, the third end of the isolating switch is electrically connected to the first end of the first switch and the first end of the second switch respectively, and the fourth end of the isolating switch is electrically connected to the first end of the third switch;
[0019] The second end of the fuse is used to be electrically connected to the positive electrode of the battery;
[0020] The second end of the first switch is electrically connected to the first end of the resistor;
[0021] The second end of the resistor is used to be electrically connected to the positive electrode of the charging and discharging end;
[0022] The second end of the second switch is used to be electrically connected to the positive electrode of the charging and discharging end;
[0023] The second end of the third switch is used to be electrically connected to the negative electrode of the charging and discharging end;
[0024] Among them, the charging voltage value of the charging and discharging end is less than or equal to the charging voltage limit value; when the power of the battery is less than the power threshold, the charging voltage limit value is set according to multiple first charging parameters preset for the battery, and when the power of the battery is equal to the power threshold, the charging voltage limit value is the voltage value of the battery.
[0025] In a third aspect, an embodiment of the present application further provides a battery charging device, the device comprising:
[0026] A first acquisition module is used to acquire the power and voltage value of the battery;
[0027] a second acquisition module, configured to acquire a charging voltage limit value of the battery according to a plurality of first charging parameters preset for the battery when the power level of the battery is less than a power threshold, and to use a voltage value of the battery as the charging voltage limit value when the power level of the battery is equal to the power threshold;
[0028] A limiting module is used to limit the charging voltage value of the battery according to the charging voltage limit value, so that the charging voltage value is less than or equal to the charging voltage limit value.
[0029] In a fourth aspect, an embodiment of the present application further provides an electronic device, comprising a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method described in the first aspect.
[0030] In a fifth aspect, an embodiment of the present application further provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.
[0031] In an embodiment of the present application, by obtaining the battery power and voltage value, and when the battery power is less than a power threshold, the charging voltage limit value of the battery is obtained according to multiple first charging parameters preset for the battery, and then according to the charging voltage limit value, the charging voltage value of the battery is limited so that the charging voltage value is less than or equal to the charging voltage limit value, and then the battery is charged using the charging voltage of the charging voltage value. When the battery power is equal to the power threshold, it means that the battery is fully charged. At this time, the voltage value of the battery is used as the charging voltage limit value. Since the charging voltage value is less than or equal to the charging voltage limit value, the charging voltage value is less than or equal to the battery voltage value, and the battery stops charging to avoid damage to the battery due to overcharging. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 is a flowchart of a battery charging method provided in an embodiment of the present application;
[0033] Figure 2 It is a flowchart of the specific steps of a battery charging method provided in an embodiment of the present application;
[0034] Figure 3 is a schematic diagram of a process for obtaining a charging current limit value provided in an embodiment of the present application;
[0035] Figure 4 is a schematic diagram of a process for obtaining a charging voltage limit value provided in an embodiment of the present application;
[0036] Figure 5 is a schematic diagram of a charging and discharging circuit provided in an embodiment of the present application;
[0037] Figure 6 is a block diagram of a battery charging device provided in an embodiment of the present application;
[0038] Figure 7 It is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0039] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0040] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0041] The battery charging method provided in the embodiment of the present application is described in detail below through specific embodiments and application scenarios in conjunction with the accompanying drawings.
[0042] Figure 1 is a flowchart of a battery charging method provided in an embodiment of the present application, such as Figure 1 As shown, the method may include:
[0043] Step 101: Obtain the battery power and voltage value.
[0044] It should be noted that the battery's SOC (State of Charge) is a relative measure of the energy stored in the battery, usually expressed as a percentage. For example, a fully charged battery is 100%; the battery's voltage value is the voltage difference between the positive and negative electrodes of the battery.
[0045] In an embodiment of the present application, the battery power and voltage value are obtained, and then when the battery power is less than the power threshold, the charging voltage limit value of the battery is obtained according to multiple first charging parameters preset for the battery; and when the battery power is equal to the power threshold, the battery voltage value is used as the charging voltage limit value.
[0046] Step 102: When the battery power is less than a power threshold, obtain a charging voltage limit value of the battery according to a plurality of first charging parameters preset for the battery; and when the battery power is equal to the power threshold, use the voltage value of the battery as the charging voltage limit value.
[0047] It should be noted that the battery includes multiple battery cells, and the multiple first charging parameters preset by the battery include a preset battery cell voltage value, a preset number of battery cells, and a preset full offset of the battery, wherein the preset battery cell voltage value is used to characterize the average voltage reference point of the internal battery cells when the battery is fully charged. In some embodiments, the voltage value of the battery when the battery is fully charged is first obtained by dividing the average voltage value obtained by the number of battery cells in the battery, and then the average voltage value is added to the preset increase value to obtain the battery cell voltage value.
[0048] The preset number of cells of the battery is the number of cells in the battery that is preset in advance; the preset full charge offset of the battery is used to characterize the power loss due to battery aging, wherein, due to aging of the battery during use, the power of the battery decreases when it is fully charged, and the decrease in the power of the battery when it is fully charged is the power loss due to battery aging.
[0049] The charging voltage limit value of the battery is used to limit the charging voltage value of the battery so that the charging voltage value of the battery is less than or equal to the charging voltage limit value.
[0050] When the battery power is less than the power threshold, the charging voltage limit value of the battery is the charging voltage limit value obtained according to multiple first charging parameters preset for the battery, the charging voltage value is greater than the voltage value of the battery, and the charging voltage value is less than or equal to the charging voltage limit value, so as to realize charging the battery using the charging voltage of the charging voltage value; when the battery power is equal to the power threshold, the charging voltage limit value is the voltage value of the battery, so that the charging voltage value is less than the voltage value of the battery, and the battery stops charging.
[0051] Specifically, the power threshold may be 100%, which is used to indicate that the battery is fully charged.
[0052] In an embodiment of the present application, when the battery power is less than a power threshold, the charging voltage limit value of the battery is obtained according to multiple first charging parameters preset for the battery, and when the battery power is equal to the power threshold, the battery voltage value is used as the charging voltage limit value, and then according to the charging voltage limit value, the charging voltage value of the battery is limited, so that the charging voltage value is less than or equal to the charging voltage limit value.
[0053] Step 103: Limit the charging voltage value of the battery according to the charging voltage limit value, so that the charging voltage value is less than or equal to the charging voltage limit value.
[0054] For example, if the charging voltage limit value is 500 volts, the charging voltage value of the battery is limited according to the charging voltage limit value, and the charging voltage value is set to 490 volts.
[0055] In an embodiment of the present application, the charging voltage value of the battery is limited according to the charging voltage limit value so that the charging voltage value is less than or equal to the charging voltage limit value. When the battery power is less than the power threshold value, the battery is charged using the charging voltage of the charging voltage value. When the battery power is equal to the power threshold value, it means that the battery is fully charged. If the charging voltage limit value is the voltage value of the battery, then the charging voltage value is less than or equal to the voltage value of the battery, and the battery stops charging.
[0056] To summarize, in the embodiments of the present application, by obtaining the battery power and voltage value, and when the battery power is less than the battery power threshold, the charging voltage limit value of the battery is obtained according to multiple first charging parameters preset for the battery, and then according to the charging voltage limit value, the charging voltage value of the battery is limited so that the charging voltage value is less than or equal to the charging voltage limit value, and then the battery is charged using the charging voltage of the charging voltage value. When the battery power is equal to the battery power threshold, it means that the battery is fully charged. At this time, the voltage value of the battery is used as the charging voltage limit value. Since the charging voltage value is less than or equal to the charging voltage limit value, the charging voltage value is less than or equal to the battery voltage value, and the battery stops charging to avoid damage to the battery due to overcharging.
[0057] Figure 2 is a specific step flow chart of the battery charging method provided in the embodiment of the present application, such as Figure 2 As shown, the method may include:
[0058] Step 201: Obtain the battery power and voltage value.
[0059] The implementation of this step is similar to the implementation process in the above step 101, and will not be repeated here.
[0060] Step 202: When the battery power is less than a power threshold, obtain a charging voltage limit value of the battery according to a plurality of first charging parameters preset for the battery, and obtain a charging current limit value of the battery according to a plurality of second charging parameters preset for the battery; and when the battery power is equal to the power threshold, use the voltage value of the battery as the charging voltage limit value, and use a preset minimum value as the charging current limit value.
[0061] Specifically, the preset minimum value may be 0 ampere. When the power level of the battery is equal to the power threshold, the charging current value is equal to the preset minimum value, that is, the charging current value is 0 ampere.
[0062] It should be noted that the multiple second charging parameters preset by the battery include the preset cell current limit value, the preset temperature current limit value, the preset charge coefficient, the preset voltage coefficient, etc., wherein the cell current limit value is the maximum current value allowed to pass through the cell; the temperature current limit value is the minimum current value between the current value in the cell at the highest temperature and the current value in the cell at the lowest temperature; the charge coefficient is the coefficient corresponding to the battery charge; and the voltage coefficient is the coefficient corresponding to the highest cell voltage.
[0063] When the battery power is less than the power threshold, the charging voltage limit value is greater than the battery voltage value, and the charging current limit value is greater than the preset minimum value; when the battery power is equal to the power threshold, the charging voltage limit value is equal to the battery voltage value, and the charging current limit value is equal to the preset minimum value.
[0064] When the battery power is less than the power threshold, the charging voltage limit value of the battery is the charging voltage limit value obtained according to multiple first charging parameters preset for the battery, the charging voltage value is greater than the voltage value of the battery, and the charging voltage value is less than or equal to the charging voltage limit value, so as to realize charging the battery using the charging voltage of the charging voltage value; when the battery power is less than the power threshold, the charging current limit value of the battery is the charging current limit value obtained according to multiple second charging parameters preset for the battery, and the charging current value is less than or equal to the charging current limit value; when the battery power is equal to the power threshold, the charging voltage limit value is the voltage value of the battery, so that the charging voltage value is less than the voltage value of the battery, and the battery stops charging; when the battery power is equal to the power threshold, the charging current limit value is the preset minimum value, so that the charging current value is less than or equal to the preset minimum value.
[0065] The charging current limit value of the battery is used to limit the charging current value of the battery so that the charging current value is less than or equal to the charging current limit value.
[0066] In an embodiment of the present application, when the battery power is less than a power threshold, the charging voltage limit value of the battery is obtained according to multiple first charging parameters preset by the battery, and the charging current limit value of the battery is obtained according to multiple second charging parameters preset by the battery, and when the battery power is equal to the power threshold, the battery voltage value is used as the charging voltage limit value, and the preset minimum value is used as the charging current limit value, and then according to the charging voltage limit value, the charging voltage value of the battery is limited so that the charging voltage value is less than or equal to the charging voltage limit value, and according to the charging current limit value, the charging current value of the battery is limited so that the charging current value is less than or equal to the charging current limit value.
[0067] Step 203: according to the charging voltage limit value, limit the charging voltage value of the battery so that the charging voltage value is less than or equal to the charging voltage limit value; and according to the charging current limit value, limit the charging current value of the battery so that the charging current value is less than or equal to the charging current limit value.
[0068] For example, if the charging voltage limit value is 500 volts, the charging voltage value of the battery is limited according to the charging voltage limit value, and the charging voltage value is set to 490 volts; the charging current value is 10 amperes, and the charging current value of the battery is limited according to the charging current limit value, and the charging current value is set to 9 amperes.
[0069] In an embodiment of the present application, the charging voltage value of the battery is limited according to the charging voltage limit value, so that the charging voltage value is less than or equal to the charging voltage limit value. When the battery power is less than the power threshold, the battery is charged using the charging voltage of the charging voltage value. When the battery power is equal to the power threshold, it indicates that the battery is fully charged. The charging voltage limit value is the voltage value of the battery, then the charging voltage value is less than or equal to the voltage value of the battery, and the battery stops charging. The charging current value of the battery is limited according to the charging current limit value, so that the charging current value is less than or equal to the charging current limit value. When the battery power is less than the power threshold, the battery is charged using the charging current of the charging current value. When the battery power is equal to the power threshold, it indicates that the battery is fully charged. The charging current limit value is the preset minimum value, so that the charging current value is less than or equal to the preset minimum value.
[0070] Optionally, in some embodiments, acquiring the charging voltage limit value of the battery according to a plurality of first charging parameters preset for the battery comprises the following sub-steps:
[0071] Sub-step 2021: multiply the preset cell voltage value of the battery by the preset number of cells of the battery to obtain a first value.
[0072] In the embodiment of the present application, a first value is obtained by multiplying a preset cell voltage value of the battery by a preset number of cells of the battery, and then a preset full charge offset of the battery is subtracted from the first value to obtain a second value.
[0073] Sub-step 2022: subtract a preset full charge offset of the battery from the first value to obtain a second value.
[0074] It should be noted that the second value is the difference between the first value and the full offset, and the first value is the product of the cell voltage value and the number of cells. The second value is the product of the cell voltage value and the number of cells minus the full offset, that is: the second value = cell voltage value × number of cells - full offset.
[0075] In an embodiment of the present application, a second value is obtained by subtracting a preset full charge offset of the battery from a first value, and then when the second value is greater than the voltage value of the battery, the second value is determined as the charging voltage limit value, and when the second value is less than or equal to the voltage value of the battery, the battery cell voltage value is increased by the first preset value, or the full charge offset is reduced by the second preset value, and then a new second value is obtained.
[0076] Sub-step 2023: when the second value is greater than the voltage value of the battery, determine the second value as the charging voltage limit value.
[0077] In an embodiment of the present application, when the second value is greater than the voltage value of the battery, the second value is determined as the charging voltage limit value, so that the charging voltage value is less than the second value and greater than the voltage value of the battery. This allows the battery to be charged using the charging voltage of the charging voltage value when the battery power is less than the power threshold, that is, when the battery is not fully charged.
[0078] Sub-step 2024, when the second value is less than or equal to the voltage value of the battery, increase the battery cell voltage value by a first preset value, or reduce the full charge offset by a second preset value, and then enter the step of multiplying the preset battery cell voltage value of the battery by the preset number of battery cells of the battery to obtain the first value.
[0079] It should be noted that since the second value is the difference obtained by subtracting the full offset from the product of the cell voltage value and the number of cells, the second value is positively correlated with the cell voltage value, and negatively correlated with the full offset, that is, the larger the cell voltage value, the smaller the full offset, and the larger the second value.
[0080] In an embodiment of the present application, when the second value is less than or equal to the voltage value of the battery, the cell voltage value is increased by a first preset value, or the full charge offset is reduced by a second preset value, and then a new second value is obtained, so that the new second value increases.
[0081] By executing sub-steps 2021 to 2024, it is possible to obtain the charging voltage limit value of the battery according to a plurality of first charging parameters preset for the battery.
[0082] Optionally, in some embodiments, acquiring the charging current limit value of the battery according to a plurality of second charging parameters preset for the battery comprises the following sub-steps:
[0083] Sub-step 2025: obtaining a first current limit value which is the smallest of a preset cell current limit value of the battery and a preset temperature current limit value of the battery.
[0084] It should be noted that when the battery's preset cell current limit value is greater than the battery's preset temperature current limit value, the first current limit value is the temperature current limit value; when the battery's preset cell current limit value is less than the battery's preset temperature current limit value, the first current limit value is the cell current limit value.
[0085] In an embodiment of the present application, by obtaining the smallest first current limit value among the battery's preset cell current limit value and the battery's preset temperature current limit value, and then after obtaining the smallest coefficient among the battery's preset power coefficient and the battery's preset voltage coefficient, the first current limit value is multiplied by the smallest coefficient to obtain the charging current limit value.
[0086] Sub-step 2026: Obtain the smallest coefficient between the preset power coefficient of the battery and the preset voltage coefficient of the battery.
[0087] It should be noted that when the preset battery capacity coefficient is greater than the preset battery voltage coefficient, the minimum coefficient is the voltage coefficient; when the preset battery capacity coefficient is less than the preset battery voltage coefficient, the minimum coefficient is the battery capacity coefficient.
[0088] In an embodiment of the present application, the charging current limit value is obtained by obtaining the smallest coefficient of the preset battery power coefficient and the preset battery voltage coefficient, and then multiplying the first current limit value by the smallest coefficient.
[0089] Sub-step 2027: multiply the first current limit value by the minimum coefficient to obtain the charging current limit value.
[0090] It should be noted that the charging current limit value is the product of the smallest first current limit value among the battery's preset cell current limit value and the battery's preset temperature current limit value, multiplied by the smallest coefficient among the battery's preset power coefficient and the battery's preset voltage coefficient, that is: charging current limit value = min{battery cell current limit value, temperature current limit value}×min{power coefficient, voltage coefficient}.
[0091] In the embodiment of the present application, the charging current limit value is obtained by multiplying the first current limit value by the minimum coefficient, so as to obtain the charging current limit value of the battery when the battery power is less than the power threshold.
[0092] By executing sub-steps 2025 to 2027, it is possible to obtain the charging current limit value of the battery according to multiple second charging parameters preset for the battery.
[0093] Optionally, in some embodiments, the method further comprises the following steps:
[0094] Step 204: Obtain the cell temperature of each cell of the battery.
[0095] In the embodiment of the present application, the cell temperature of each cell of the battery is obtained, thereby obtaining the highest cell temperature and the lowest cell temperature among the cell temperatures.
[0096] Step 205: Obtain the highest cell temperature and the lowest cell temperature among the cell temperatures.
[0097] In an embodiment of the present application, by obtaining the highest cell temperature and the lowest cell temperature among the cell temperatures, the second current limiting value corresponding to the highest cell temperature and the third current limiting value corresponding to the lowest cell temperature are obtained from a first preset correspondence between the reference cell temperature and the reference current limiting value.
[0098] Step 206: Obtain a second current limiting value corresponding to the highest battery cell temperature and a third current limiting value corresponding to the lowest battery cell temperature from a first preset correspondence between reference battery cell temperatures and reference current limiting values.
[0099] Specifically, in some embodiments, the first preset correspondence between the reference cell temperature and the reference current limit value is as shown in the following table (Table 1):
[0100]
[0101]
[0102] Table 1
[0103] For example, the maximum battery cell temperature is 60 degrees Celsius. It can be seen from Table 1 that the reference current limiting value corresponding to the reference battery cell temperature of 60 degrees Celsius is 50 amperes, and the second current limiting value corresponding to the maximum battery cell temperature is 50 amperes; the minimum battery cell temperature is 10 degrees Celsius. It can be seen from Table 1 that the reference current limiting value corresponding to the reference battery cell temperature of 10 degrees Celsius is 10 amperes, and the third current limiting value corresponding to the minimum battery cell temperature is 10 amperes.
[0104] In an embodiment of the present application, the second current limiting value corresponding to the highest battery cell temperature and the third current limiting value corresponding to the lowest battery cell temperature are obtained from a first preset correspondence between the reference battery cell temperature and the reference current limiting value, and then the smallest current limiting value between the second current limiting value and the third current limiting value is determined as the temperature current limiting value.
[0105] Step 207: Determine the minimum current limit value between the second current limit value and the third current limit value as the temperature current limit value.
[0106] It should be noted that, when the second current limiting value is greater than the third current limiting value, the temperature current limiting value is the third current limiting value; when the second current limiting value is less than the third current limiting value, the temperature current limiting value is the second current limiting value.
[0107] In the embodiment of the present application, the temperature current limiting value is obtained by determining the smallest current limiting value between the second current limiting value and the third current limiting value as the temperature current limiting value.
[0108] By executing steps 204 to 207 , it is possible to obtain the temperature current limit value.
[0109] Optionally, in some embodiments, the method further comprises the following steps:
[0110] Step 208: Obtain a first coefficient corresponding to the battery power from a second preset correspondence between the reference power and the first reference coefficient.
[0111] Specifically, in some embodiments, the second preset correspondence between the reference power and the first reference coefficient is as shown in the following table (Table 2):
[0112] Reference power First reference coefficient 93% 90% 93.5% 85% 94% 80% 94.5% 75% 95% 70% 95.5% 65% 96% 60% 96.5% 50% 97% 40% 97.5% 30%
[0113] Table 2
[0114] For example, the battery power is 94%. It can be seen from Table 2 that the first reference coefficient corresponding to the reference power of 94% is 80%, and the first coefficient corresponding to the battery power is 80%.
[0115] In the embodiment of the present application, the first coefficient corresponding to the battery power is obtained from the second preset corresponding relationship between the reference power and the first reference coefficient, and the first coefficient is used as the power coefficient.
[0116] Step 209: Use the first coefficient as the electrical coefficient.
[0117] In the embodiment of the present application, the first coefficient is used as the electric quantity coefficient to obtain the electric quantity coefficient.
[0118] By executing steps 208 to 209, the power coefficient can be obtained.
[0119] Optionally, in some embodiments, the method further comprises the following steps:
[0120] Step 210: Obtain the cell voltage of each cell of the battery.
[0121] In the embodiment of the present application, the cell voltage of each cell of the battery is obtained, thereby obtaining the highest cell voltage among the cell voltages.
[0122] Step 211: Obtain the highest cell voltage among the cell voltages.
[0123] In the embodiment of the present application, by acquiring the highest cell voltage among the cell voltages, the second coefficient corresponding to the highest cell voltage is acquired from the third preset corresponding relationship between the reference cell voltages and the second reference coefficient.
[0124] Step 212: Obtain a second coefficient corresponding to the highest cell voltage from a third preset corresponding relationship between the reference cell voltage and the second reference coefficient.
[0125] Specifically, in some embodiments, the third preset correspondence between the reference cell voltage and the second reference coefficient is as shown in the following table (Table 3):
[0126] Reference cell voltage / mV Second reference coefficient 3482 90% 3484 85% 3486 80% 3489 75% 3491 70% 3494 65% 3497 60% 3501 50% 3505 40% 3509 30%
[0127] Table 3
[0128] For example, the highest cell voltage is 3494 mV. It can be seen from Table 3 that the second reference coefficient corresponding to the reference cell voltage of 3494 mV is 65%, and the second coefficient corresponding to the highest cell voltage is 65%.
[0129] In the embodiment of the present application, the second coefficient corresponding to the highest cell voltage is obtained from the third preset corresponding relationship between the reference cell voltage and the second reference coefficient, so that the second coefficient is used as the voltage coefficient.
[0130] Step 213: Use the second coefficient as the voltage coefficient.
[0131] In the embodiment of the present application, the voltage coefficient is obtained by taking the second coefficient as the voltage coefficient.
[0132] By executing steps 210 to 213 , it is possible to obtain the voltage coefficient.
[0133] Optional, see Figure 3 In some embodiments, the process of obtaining the charging current limit value includes: X1, start; X2, obtain the highest battery cell temperature and the lowest battery cell temperature, that is, obtain the highest battery cell temperature and the lowest battery cell temperature in the battery cell temperature; X3, from the first preset corresponding relationship, obtain the second current limit value and the third current limit value, that is, from the first preset corresponding relationship between the reference battery cell temperature and the reference current limit value, obtain the second current limit value corresponding to the highest battery cell temperature and the third current limit value corresponding to the lowest battery cell temperature; X4, obtain the battery power; X5, from the second preset corresponding relationship, obtain the first coefficient, that is, from the second preset corresponding relationship between the reference battery power and the first reference coefficient relationship, obtain the first coefficient corresponding to the battery power; X6, obtain the highest cell voltage, that is, obtain the highest cell voltage among the cell voltages; X7, obtain the second coefficient from the third preset corresponding relationship, that is, obtain the second coefficient corresponding to the highest cell voltage from the third preset corresponding relationship between the reference cell voltage and the second reference coefficient; X8, obtain the preset cell current limit value of the battery, that is; X9, calculate and obtain the charging current limit value, that is, multiply the first current limit value by the minimum coefficient to obtain the charging current limit value; X10, report the charging current limit value to the inverter; X11, end, the specific implementation process is similar to the above, and will not be repeated here.
[0134] Optional, see Figure 4In some embodiments, the process of obtaining the charging voltage limit value includes: Y1, start; Y2, obtain the battery cell voltage value; Y3, obtain the full offset; Y4, obtain the number of batteries; Y5, calculate and obtain the second value, that is, multiply the preset battery cell voltage value of the battery by the preset number of batteries of the battery to obtain the first value, and then subtract the preset full offset of the battery from the first value to obtain the second value; Y6, whether the second value is greater than the voltage value of the battery, that is, determine whether the second value is greater than the voltage value of the battery; Y7, whether the charging current limit value is 0, that is, determine whether the charging current limit value is 0. Whether the value is a preset minimum value, where the preset minimum value is 0, and the charging current limit value is the preset minimum value, indicating that the battery power is equal to the power threshold and the battery is fully charged, and the charging current limit value is not the preset minimum value, indicating that the battery power is less than the power threshold and the battery is not fully charged; Y8, using the battery voltage value as the charging voltage limit value, that is, when the battery power is equal to the power threshold, using the battery voltage value as the charging voltage limit value; Y9, reporting the charging current limit value to the inverter; Y10, ending, the specific implementation process is similar to the above, and will not be repeated here.
[0135] Reference Figure 5 , the embodiment of the present application further provides a charge and discharge circuit, including an isolating switch QS, a fuse FUSE, a first switch K1, a second switch K2, a third switch K3 and a resistor R; the first end of the isolating switch QS is electrically connected to the first end of the fuse FUSE, the second end of the isolating switch QS is used to be electrically connected to the negative electrode of the battery E, the third end of the isolating switch QS is electrically connected to the first end of the first switch K1 and the first end of the second switch K2 respectively, the fourth end of the isolating switch QS is electrically connected to the first end of the third switch K3; the second end of the fuse FUSE is used to be electrically connected to the positive electrode of the battery E; the first The second end of the switch K1 is electrically connected to the first end of the resistor R; the second end of the resistor R is used to be electrically connected to the positive electrode of the charge and discharge terminal P; the second end of the second switch K2 is used to be electrically connected to the positive electrode of the charge and discharge terminal P; the second end of the third switch K3 is used to be electrically connected to the negative electrode of the charge and discharge terminal P; wherein, the charging voltage value of the charge and discharge terminal P is less than or equal to the charging voltage limit value; when the power of the battery E is less than the power threshold, the charging voltage limit value is set according to a plurality of first charging parameters preset for the battery E, and when the power of the battery E is equal to the power threshold, the charging voltage limit value is the voltage value of the battery E.
[0136] It should be noted that the specific process of obtaining the charging voltage limit value is similar to the above and will not be repeated here.
[0137] The charging current value of the charging and discharging terminal P is less than or equal to the charging current limit value, wherein, when the power of the battery E is less than the power threshold, the charging current limit value of the battery E is obtained according to the multiple second charging parameters preset by the battery E, and when the power of the battery E is equal to the power threshold, the preset minimum value is used as the charging current limit value. The specific process of obtaining the charging current value is similar to the above and will not be repeated here.
[0138] The fuse FUSE is used for protective fusing of overcurrent; the charge and discharge terminal P is used for charging and discharging the battery E.
[0139] Specifically, in some embodiments, the charging and discharging terminal P is used to be electrically connected to an inverter, and the inverter sets the charging voltage value of the battery E according to the charging voltage limit value, and sets the charging current value of the battery E according to the charging current limit value, so as to charge the battery E.
[0140] When the isolating switch QS is closed, the first end of the isolating switch QS is connected to the third end of the isolating switch QS, and the second end of the isolating switch QS is connected to the fourth end of the isolating switch QS; when the isolating switch QS is disconnected, the first end of the isolating switch QS is disconnected from the third end of the isolating switch QS, and the second end of the isolating switch QS is disconnected from the fourth end of the isolating switch QS.
[0141] In the embodiment of the present application, in the pre-charging stage, the isolating switch QS, the first switch K1, and the third switch K3 are closed, and the voltage difference between the battery E and the charging and discharging end P is eliminated through the resistor R, so that the charging and discharging end P is initialized to the voltage of the battery E; in the charging and discharging stage, the isolating switch QS, the second switch K2, and the third switch K3 are closed, and the first switch K1 is disconnected.
[0142] When the battery E is not fully charged, the battery E management system sends the charging voltage limit value and the charging current limit value to the inverter, wherein the charging voltage limit value is greater than the voltage value of the battery E, and the charging current limit value is greater than the preset minimum value; the inverter charges the battery E using the charging voltage of the charging voltage value and the charging current of the charging current value, wherein the charging voltage value is greater than the voltage value of the battery E, and the charging voltage value is less than or equal to the charging voltage limit value, and the charging current value is less than or equal to the charging current limit value;
[0143] When battery E is fully charged, the battery E management system modifies the charging voltage limit value to the voltage value of battery E, and modifies the charging current limit value to a preset minimum value (for example, 0 amperes). The battery E management system then sends the modified charging voltage limit value and the modified charging current limit value to the inverter. The inverter controls the charging voltage value to be less than or equal to the modified charging voltage limit value, and the charging current value to be less than or equal to the modified charging current limit value, so that battery E stops charging.
[0144] In the related art, a fourth switch and a diode connected in parallel with the fourth switch are arranged between the second switch and the charge and discharge end, wherein the positive electrode of the diode is electrically connected to the second end of the second switch, and the negative electrode of the diode is electrically connected to the positive electrode of the charge and discharge end. When the battery is not fully charged, the isolation switch, the second switch, the third switch, and the fourth switch are closed; when the battery is fully charged, the isolation switch, the second switch, and the third switch are closed, and the fourth switch is disconnected, and the diode is used to prevent current backflow to prevent overcharging of the battery.
[0145] Compared with the related art, the embodiment of the present application does not need to set up a diode and a fourth switch, thus saving hardware costs, and does not need to control the fourth switch, thus saving switch energy consumption.
[0146] To summarize, in the embodiments of the present application, by obtaining the battery power and voltage value, and when the battery power is less than the battery power threshold, the charging voltage limit value of the battery is obtained according to multiple first charging parameters preset for the battery, and then according to the charging voltage limit value, the charging voltage value of the battery is limited so that the charging voltage value is less than or equal to the charging voltage limit value, and then the battery is charged using the charging voltage of the charging voltage value. When the battery power is equal to the battery power threshold, it means that the battery is fully charged. At this time, the voltage value of the battery is used as the charging voltage limit value. Since the charging voltage value is less than or equal to the charging voltage limit value, the charging voltage value is less than or equal to the battery voltage value, and the battery stops charging to avoid damage to the battery due to overcharging.
[0147] Figure 6 is a block diagram of a battery charging device provided in an embodiment of the present application, such as Figure 6 As shown, the device 300 includes:
[0148] The first acquisition module 301 is used to acquire the battery power and voltage value;
[0149] A second acquisition module 302 is used to acquire a charging voltage limit value of the battery according to a plurality of first charging parameters preset for the battery when the power level of the battery is less than a power threshold, and to use a voltage value of the battery as the charging voltage limit value when the power level of the battery is equal to the power threshold;
[0150] The limiting module 303 is used to limit the charging voltage value of the battery according to the charging voltage limit value, so that the charging voltage value is less than or equal to the charging voltage limit value.
[0151] Optionally, the second acquisition module 302 specifically includes:
[0152] A first acquisition submodule, used for multiplying a preset cell voltage value of the battery by a preset number of cells of the battery to obtain a first value;
[0153] A second acquisition submodule, configured to subtract a preset full charge offset of the battery from the first value to obtain a second value;
[0154] a first processing submodule, configured to determine the second value as the charging voltage limit value when the second value is greater than the voltage value of the battery;
[0155] The second processing submodule is used to increase the battery cell voltage value by a first preset value, or reduce the full offset by a second preset value when the second value is less than or equal to the voltage value of the battery, and then the first acquisition submodule executes multiplication of the preset battery cell voltage value of the battery by the preset number of battery cells of the battery to obtain the first value.
[0156] Optionally, the device 300 further includes:
[0157] A third acquisition module is used to acquire a charging current limit value of the battery according to a plurality of second charging parameters preset for the battery when the power of the battery is less than the power threshold, and to use a preset minimum value as the charging current limit value when the power of the battery is equal to the power threshold;
[0158] A current limiting module is used to limit the charging current value of the battery according to the charging current limiting value, so that the charging current value is less than or equal to the charging current limiting value.
[0159] Optionally, the third acquisition module specifically includes:
[0160] A third acquisition submodule is used to obtain the smallest first current limit value among the preset cell current limit value of the battery and the preset temperature current limit value of the battery;
[0161] A fourth acquisition submodule, used to acquire the smallest coefficient of the preset power coefficient of the battery and the preset voltage coefficient of the battery;
[0162] The fifth acquisition submodule is used to multiply the first current limit value by the minimum coefficient to obtain the charging current limit value.
[0163] Optionally, the device 300 further includes:
[0164] A fourth acquisition module, used to acquire a cell temperature of each cell of the battery;
[0165] A fifth acquisition module, used to acquire the highest cell temperature and the lowest cell temperature among the cell temperatures;
[0166] a sixth acquisition module, configured to acquire, from a first preset correspondence between a reference battery cell temperature and a reference current limit value, a second current limit value corresponding to the highest battery cell temperature and a third current limit value corresponding to the lowest battery cell temperature;
[0167] The first determining module is used to determine the smallest current limiting value between the second current limiting value and the third current limiting value as the temperature current limiting value.
[0168] Optionally, the device 300 further includes:
[0169] a seventh acquisition module, configured to acquire a first coefficient corresponding to the power of the battery from a second preset correspondence between the reference power and the first reference coefficient;
[0170] The second determining module is used to use the first coefficient as the power coefficient.
[0171] Optionally, the device 300 further includes:
[0172] An eighth acquisition module, used to acquire the cell voltage of each cell of the battery;
[0173] A ninth acquisition module, used to acquire the highest cell voltage among the cell voltages;
[0174] a tenth acquisition module, configured to acquire the second coefficient corresponding to the highest cell voltage from a third preset correspondence between the reference cell voltage and the second reference coefficient;
[0175] The third determining module is configured to use the second coefficient as the voltage coefficient.
[0176] The battery charging device in the embodiment of the present application can be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc. The non-mobile electronic device can be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
[0177] The battery charging device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0178] The battery charging device provided in the embodiment of the present application can achieve Figure 1 The various processes implemented by the battery charging device in the method embodiment will not be described again here to avoid repetition.
[0179] In an embodiment of the present application, by obtaining the battery power and voltage value, and when the battery power is less than a power threshold, the charging voltage limit value of the battery is obtained according to multiple first charging parameters preset for the battery, and then according to the charging voltage limit value, the charging voltage value of the battery is limited so that the charging voltage value is less than or equal to the charging voltage limit value, and then the battery is charged using the charging voltage of the charging voltage value. When the battery power is equal to the power threshold, it means that the battery is fully charged. At this time, the voltage value of the battery is used as the charging voltage limit value. Since the charging voltage value is less than or equal to the charging voltage limit value, the charging voltage value is less than or equal to the battery voltage value, and the battery stops charging to avoid damage to the battery due to overcharging.
[0180] Optionally, an embodiment of the present application also provides an electronic device, including a processor, a memory, and a program or instruction stored in the memory and executable on the processor. When the program or instruction is executed by the processor, each process of the above-mentioned battery charging method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.
[0181] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.
[0182] Figure 7 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.
[0183] The electronic device 400 includes but is not limited to components such as a radio frequency unit 401 , a network module 402 , an audio output unit 403 , an input unit 404 , a sensor 405 , a display unit 406 , a user input unit 407 , an interface unit 408 , a memory 409 , and a processor 410 .
[0184] Those skilled in the art will appreciate that the electronic device 400 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 410 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Figure 7 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.
[0185] The processor 410 is used to obtain the battery power and voltage value;
[0186] When the power level of the battery is less than a power threshold, a charging voltage limit value of the battery is obtained according to a plurality of first charging parameters preset for the battery, and when the power level of the battery is equal to the power threshold, a voltage value of the battery is used as the charging voltage limit value;
[0187] According to the charging voltage limit value, the charging voltage value of the battery is limited so that the charging voltage value is less than or equal to the charging voltage limit value.
[0188] In an embodiment of the present application, by obtaining the battery power and voltage value, and when the battery power is less than a power threshold, the charging voltage limit value of the battery is obtained according to multiple first charging parameters preset for the battery, and then according to the charging voltage limit value, the charging voltage value of the battery is limited so that the charging voltage value is less than or equal to the charging voltage limit value, and then the battery is charged using the charging voltage of the charging voltage value. When the battery power is equal to the power threshold, it means that the battery is fully charged. At this time, the voltage value of the battery is used as the charging voltage limit value. Since the charging voltage value is less than or equal to the charging voltage limit value, the charging voltage value is less than or equal to the battery voltage value, and the battery stops charging to avoid damage to the battery due to overcharging.
[0189] Optionally, the processor 410 is further used to multiply the preset cell voltage value of the battery by the preset number of cells of the battery to obtain a first value; subtract the preset full charge offset of the battery from the first value to obtain a second value; when the second value is greater than the voltage value of the battery, determine the second value as the charging voltage limit value; when the second value is less than or equal to the voltage value of the battery, increase the cell voltage value by a first preset value, or reduce the full charge offset by a second preset value, and then enter the step of multiplying the preset cell voltage value of the battery by the preset number of cells of the battery to obtain the first value.
[0190] Optionally, the processor 410 is further used to obtain a charging current limit value of the battery according to multiple second charging parameters preset for the battery when the battery power is less than the battery power threshold, and to use a preset minimum value as the charging current limit value when the battery power is equal to the battery power threshold; and to limit the charging current value of the battery according to the charging current limit value so that the charging current value is less than or equal to the charging current limit value.
[0191] Optionally, the processor 410 is also used to obtain the smallest first current limit value among the preset cell current limit value of the battery and the preset temperature current limit value of the battery; obtain the smallest coefficient among the preset power coefficient of the battery and the preset voltage coefficient of the battery; multiply the first current limit value by the smallest coefficient to obtain the charging current limit value.
[0192] Optionally, the processor 410 is further used to obtain the cell temperature of each cell of the battery; obtain the highest cell temperature and the lowest cell temperature among the cell temperatures; obtain a second current limiting value corresponding to the highest cell temperature and a third current limiting value corresponding to the lowest cell temperature from a first preset correspondence between reference cell temperatures and reference current limiting values; and determine the smallest current limiting value between the second current limiting value and the third current limiting value as the temperature current limiting value.
[0193] Optionally, the processor 410 is further configured to obtain a first coefficient corresponding to the battery power from a second preset correspondence between a reference power and a first reference coefficient; and use the first coefficient as the power coefficient.
[0194] Optionally, the processor 410 is further used to obtain the cell voltage of each cell of the battery; obtain the highest cell voltage among the cell voltages; obtain the second coefficient corresponding to the highest cell voltage from a third preset correspondence between the reference cell voltage and the second reference coefficient; and use the second coefficient as the voltage coefficient.
[0195] In an embodiment of the present application, by obtaining the battery power and voltage value, and when the battery power is less than a power threshold, the charging voltage limit value of the battery is obtained according to multiple first charging parameters preset for the battery, and then according to the charging voltage limit value, the charging voltage value of the battery is limited so that the charging voltage value is less than or equal to the charging voltage limit value, and then the battery is charged using the charging voltage of the charging voltage value. When the battery power is equal to the power threshold, it means that the battery is fully charged. At this time, the voltage value of the battery is used as the charging voltage limit value. Since the charging voltage value is less than or equal to the charging voltage limit value, the charging voltage value is less than or equal to the battery voltage value, and the battery stops charging to avoid damage to the battery due to overcharging.
[0196] It should be understood that in the embodiment of the present application, the input unit 404 may include a graphics processor (Graphics Processing Unit, GPU) 4041 and a microphone 4042, and the graphics processor 4041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 406 may include a display panel 4061, and the display panel 4061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 407 includes a touch panel 4071 and at least one of other input devices 4072. The touch panel 4071 is also called a touch screen. The touch panel 4071 may include two parts: a touch detection device and a touch controller. Other input devices 4072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
[0197] The memory 409 can be used to store software programs and various data. The memory 409 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 409 may include a volatile memory or a non-volatile memory, or the memory 409 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 409 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
[0198] The processor 410 may include one or more processing units; optionally, the processor 410 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 410.
[0199] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned battery charging method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0200] The processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0201] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned battery charging method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0202] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0203] It should be noted that, in this article, the term "comprises", "includes" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "including one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the method and device in the embodiment of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0204] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0205] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A battery charging method, characterized in that: The method comprises: Get the battery power and voltage value; When the power level of the battery is less than a power threshold, a charging voltage limit value of the battery is obtained according to a plurality of first charging parameters preset for the battery, and when the power level of the battery is equal to the power threshold, a voltage value of the battery is used as the charging voltage limit value; According to the charging voltage limit value, the charging voltage value of the battery is limited so that the charging voltage value is less than or equal to the charging voltage limit value.
2. The method according to claim 1, characterized in that The step of obtaining the charging voltage limit value of the battery according to a plurality of first charging parameters preset by the battery includes: Multiplying a preset cell voltage value of the battery by a preset number of cells of the battery to obtain a first value; Subtract a preset full charge offset of the battery from the first value to obtain a second value; When the second value is greater than the voltage value of the battery, determining the second value as the charging voltage limit value; When the second value is less than or equal to the voltage value of the battery, the battery cell voltage value is increased by a first preset value, or the full charge offset is reduced by a second preset value, and then the step of multiplying the preset battery cell voltage value of the battery by the preset number of battery cells of the battery is entered to obtain the first value.
3. The method according to claim 1, characterized in that The method further comprises: When the power level of the battery is less than the power threshold, a charging current limit value of the battery is obtained according to a plurality of second charging parameters preset for the battery; and when the power level of the battery is equal to the power threshold, a preset minimum value is used as the charging current limit value; According to the charging current limit value, the charging current value of the battery is limited so that the charging current value is less than or equal to the charging current limit value.
4. The method according to claim 1, characterized in that: The step of obtaining the charging current limit value of the battery according to the plurality of second charging parameters preset by the battery comprises: Obtaining a minimum first current limit value between a preset cell current limit value of the battery and a preset temperature current limit value of the battery; Obtaining the smallest coefficient among the preset power coefficient of the battery and the preset voltage coefficient of the battery; The first current limit value is multiplied by the minimum coefficient to obtain the charging current limit value.
5. The method according to claim 4, characterized in that The method further comprises: Obtaining a cell temperature of each cell of the battery; Obtaining the highest cell temperature and the lowest cell temperature among the cell temperatures; From a first preset correspondence between a reference battery cell temperature and a reference current limiting value, obtaining a second current limiting value corresponding to the highest battery cell temperature and a third current limiting value corresponding to the lowest battery cell temperature; The smallest current limit value between the second current limit value and the third current limit value is determined as the temperature current limit value.
6. The method according to claim 4, characterized in that The method further comprises: Obtaining a first coefficient corresponding to the power of the battery from a second preset correspondence between the reference power and the first reference coefficient; The first coefficient is used as the electric quantity coefficient.
7. The method according to claim 4, characterized in that The method further comprises: Obtaining the cell voltage of each cell of the battery; Obtaining the highest cell voltage among the cell voltages; Obtaining a second coefficient corresponding to the highest cell voltage from a third preset correspondence between the reference cell voltage and the second reference coefficient; The second coefficient is used as the voltage coefficient.
8. A charging and discharging circuit, characterized in that: It includes an isolating switch, a fuse, a first switch, a second switch, a third switch and a resistor; The first end of the isolating switch is electrically connected to the first end of the fuse, the second end of the isolating switch is used to be electrically connected to the negative electrode of the battery, the third end of the isolating switch is electrically connected to the first end of the first switch and the first end of the second switch respectively, and the fourth end of the isolating switch is electrically connected to the first end of the third switch; The second end of the fuse is used to be electrically connected to the positive electrode of the battery; The second end of the first switch is electrically connected to the first end of the resistor; The second end of the resistor is used to be electrically connected to the positive electrode of the charging and discharging end; The second end of the second switch is used to be electrically connected to the positive electrode of the charging and discharging end; The second end of the third switch is used to be electrically connected to the negative electrode of the charging and discharging end; Among them, the charging voltage value of the charging and discharging end is less than or equal to the charging voltage limit value; when the power of the battery is less than the power threshold, the charging voltage limit value is set according to multiple first charging parameters preset for the battery, and when the power of the battery is equal to the power threshold, the charging voltage limit value is the voltage value of the battery.
9. A battery charging device, characterized in that: The device comprises: A first acquisition module is used to acquire the power and voltage value of the battery; a second acquisition module, configured to acquire a charging voltage limit value of the battery according to a plurality of first charging parameters preset for the battery when the power level of the battery is less than a power threshold, and to use a voltage value of the battery as the charging voltage limit value when the power level of the battery is equal to the power threshold; A limiting module is used to limit the charging voltage value of the battery according to the charging voltage limit value, so that the charging voltage value is less than or equal to the charging voltage limit value.
10. An electronic device, characterized in that: The invention comprises a processor, a memory and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the battery charging method as claimed in any one of claims 1 to 7.
11. A readable storage medium, characterized in that: The readable storage medium stores a program or an instruction, and when the program or the instruction is executed by the processor, the steps of the battery charging method according to any one of claims 1 to 7 are implemented.
