Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged, as appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type, and are not limited to the number of objects, such as the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
The battery charging method provided by the embodiment of the application is described in detail below through specific embodiments and application scenes thereof with reference to the accompanying drawings.
Fig. 1 is a flowchart of a method for charging a battery according to an embodiment of the present application, where, as shown in fig. 1, the method may include:
And 101, acquiring the electric quantity and the voltage value of the battery.
The State of Charge (SOC) of the battery is a relative measure of the stored energy in the battery, and is generally expressed as a percentage, for example, 100% of the Charge when the battery is full, and the voltage value of the battery is the voltage difference between the positive electrode and the negative electrode of the battery.
In the embodiment of the application, the charge voltage limiting value of the battery is obtained according to a plurality of first charging parameters preset by the battery under the condition that the electric quantity of the battery is smaller than the electric quantity threshold value by obtaining the electric quantity and the voltage value of the battery, and the voltage value of the battery is taken as the charge voltage limiting value under the condition that the electric quantity of the battery is equal to the electric quantity threshold value.
Step 102, acquiring a charging voltage limiting value of the battery according to a plurality of first charging parameters preset by the battery when the electric quantity of the battery is smaller than an electric quantity threshold value, and taking the voltage value of the battery as the charging voltage limiting value when the electric quantity of the battery is equal to the electric quantity threshold value.
It should be noted that, the battery includes a plurality of electric cells, the battery preset first charging parameters include a battery preset electric cell voltage value, a battery preset electric cell number, and a battery preset full charge offset, where the battery preset electric cell voltage value is used to represent an average voltage reference point of an electric cell inside when the battery is fully charged, in some embodiments, an average voltage value obtained by dividing the voltage value of the battery when the battery is fully charged by the electric cell number in the battery is obtained first, and then the average voltage value is added with a preset increment value to obtain the electric cell voltage value.
The battery preset full charge offset is used for representing the aged electric quantity loss of the battery, wherein the aged battery causes the electric quantity to be reduced when the battery is fully charged, and the electric quantity reduction when the battery is fully charged is the aged electric quantity loss of the battery.
The charging voltage limiting value of the battery is used for limiting the charging voltage value of the battery so that the charging voltage value of the battery is smaller than or equal to the charging voltage limiting value.
And under the condition that the electric quantity of the battery is equal to the electric quantity threshold value, the charging voltage limiting value of the battery is the voltage value of the battery, so that the charging voltage value is smaller than the voltage value of the battery, and the battery stops charging.
Specifically, the power threshold may be 100% for characterizing that the battery is fully charged.
In the embodiment of the application, the charging voltage limiting value of the battery is obtained according to a plurality of first charging parameters preset by the battery when the electric quantity of the battery is smaller than the electric quantity threshold value, and the voltage value of the battery is used as the charging voltage limiting value when the electric quantity of the battery is equal to the electric quantity threshold value, so that the charging voltage value of the battery is limited according to the charging voltage limiting value, and the charging voltage value is smaller than or equal to the charging voltage limiting value.
And step 103, limiting the charging voltage value of the battery according to the charging voltage limiting value so that the charging voltage value is smaller than or equal to the charging voltage limiting value.
For example, the charge voltage limit is 500 volts, and the charge voltage value is set to 490 volts by limiting the charge voltage value of the battery according to the charge voltage limit.
In the embodiment of the application, the charging voltage value of the battery is limited according to the charging voltage limiting value, so that the charging voltage value is smaller than or equal to the charging voltage limiting value, the battery is charged by using the charging voltage of the charging voltage value under the condition that the electric quantity of the battery is smaller than the electric quantity threshold value, and the battery is fully charged under the condition that the electric quantity of the battery is equal to the electric quantity threshold value, and the charging voltage limiting value is the voltage value of the battery, so that the charging voltage value is smaller than or equal to the voltage value of the battery, and the battery stops charging.
In summary, in the embodiment of the present application, by acquiring the electric quantity and the voltage value of the battery, and according to a plurality of first charging parameters preset by the battery when the electric quantity of the battery is less than the electric quantity threshold value, acquiring the charging voltage limit value of the battery, and then limiting 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, and further charging the battery by using the charging voltage of the charging voltage value, when the electric quantity of the battery is equal to the electric quantity threshold value, it is indicated that the battery is fully charged, and at this time, the voltage value of the battery is taken as the charging voltage limit value, and because the charging voltage value is less than or equal to the charging voltage limit value, the charging of the battery is stopped, so as to avoid damage caused by overcharging the battery.
Fig. 2 is a flowchart illustrating specific steps of a method for charging a battery according to an embodiment of the present application, and as shown in fig. 2, the method may include:
step 201, acquiring the electric quantity and the voltage value of the battery.
The implementation of this step is similar to the implementation process in step 101, and will not be repeated here.
Step 202, acquiring a charging voltage limiting value of the battery according to a plurality of first charging parameters preset by the battery and acquiring a charging current limiting value of the battery according to a plurality of second charging parameters preset by the battery when the electric quantity of the battery is smaller than an electric quantity threshold value, and taking a voltage value of the battery as the charging voltage limiting value and taking a preset minimum value as the charging current limiting value when the electric quantity of the battery is equal to the electric quantity threshold value.
Specifically, the preset minimum value may be 0 ampere, and in the case where the electric quantity of the battery is equal to the electric quantity threshold value, the charging current value is equal to the preset minimum value, that is, the charging current value is 0 ampere.
The second charging parameters preset by the battery include a battery cell current limit value preset by the battery, a battery cell temperature current limit value preset by the battery, a battery cell preset electric quantity coefficient, a battery cell preset voltage coefficient and the like, wherein the battery cell current limit value is a maximum current value allowed to pass through by the battery cell, the temperature current limit value is a current value in the battery cell with the highest temperature and a minimum current value in the battery cell with the lowest temperature, the electric quantity coefficient is a coefficient corresponding to the electric quantity of the battery, and the voltage coefficient is a coefficient corresponding to the highest battery cell voltage.
And when the electric quantity of the battery is equal to the electric quantity threshold value, the charging voltage-limiting value is equal to the voltage value of the battery, and the charging current-limiting value is equal to the preset minimum value.
The method comprises the steps of obtaining a charging voltage limiting value of a battery according to a plurality of first charging parameters preset by the battery when the electric quantity of the battery is smaller than an electric quantity threshold value, obtaining a charging voltage limiting value of the battery according to a plurality of first charging parameters preset by the battery, obtaining a charging voltage value which is larger than the voltage value of the battery and smaller than or equal to the charging voltage limiting value, so that the battery can be charged by the charging voltage using the charging voltage value, obtaining a charging current limiting value of the battery according to a plurality of second charging parameters preset by the battery when the electric quantity of the battery is smaller than the electric quantity threshold value, obtaining a charging current value which is smaller than or equal to the charging current value when the electric quantity of the battery is smaller than the electric quantity threshold value, obtaining a voltage value of the battery when the electric quantity of the battery is equal to the electric quantity threshold value, enabling the charging voltage value of the battery to be smaller than the voltage value of the battery, and enabling the charging current value of the battery to be smaller than or equal to a preset minimum value when the electric quantity of the battery is equal to the electric quantity threshold value.
The charging current limiting value of the battery is used for limiting the charging current value of the battery so that the charging current value is smaller than or equal to the charging current limiting value.
In the embodiment of the application, under the condition that the electric quantity of the battery is smaller than the electric quantity threshold value, the charging voltage limiting value of the battery is obtained according to a plurality of first charging parameters preset by the battery, the charging current limiting value of the battery is obtained according to a plurality of second charging parameters preset by the battery, and under the condition that the electric quantity of the battery is equal to the electric quantity threshold value, the voltage value of the battery is taken as the charging voltage limiting value, the preset minimum value is taken as the charging current limiting value, and further, the charging voltage value of the battery is limited according to the charging voltage limiting value, so that the charging voltage value is smaller than or equal to the charging voltage limiting value, and the charging current value of the battery is limited according to the charging current limiting value, so that the charging current value is smaller than or equal to the charging current limiting value.
Step 203, limiting the charging voltage value of the battery according to the charging voltage limiting value, so that the charging voltage value is smaller than or equal to the charging voltage limiting value, and limiting the charging current value of the battery according to the charging current limiting value, so that the charging current value is smaller than or equal to the charging current limiting value.
For example, the charge voltage limiting value is 500 volts, the charge voltage value is set to 490 volts by limiting the charge voltage value of the battery according to the charge voltage limiting value, the charge current value is 10 amps, and the charge current value is set to 9 amps by limiting the charge current value of the battery according to the charge voltage limiting value.
In the embodiment of the application, the charging voltage value of the battery is limited according to the charging voltage limiting value, so that the charging voltage value is smaller than or equal to the charging voltage limiting value, the battery is charged by using the charging voltage of the charging voltage value under the condition that the electric quantity of the battery is smaller than the electric quantity threshold value, the battery is fully charged under the condition that the electric quantity of the battery is equal to the electric quantity threshold value, the charging voltage value is smaller than or equal to the voltage value of the battery, the battery stops charging, the charging current value of the battery is limited according to the charging current limiting value, so that the charging current value is smaller than or equal to the charging current limiting value, the battery is charged by using the charging current of the charging current value under the condition that the electric quantity of the battery is smaller than the electric quantity threshold value, and the battery is fully charged under the condition that the electric quantity of the battery is equal to the electric quantity threshold value, the charging current limiting value is a preset minimum value, and the charging current value is smaller than or equal to the preset minimum value.
Optionally, in some embodiments, the obtaining the charging voltage limiting value of the battery according to the plurality of first charging parameters preset by the battery includes the following sub-steps:
Step 2021, multiplying the preset cell voltage value of the battery by the preset number of cells of the battery to obtain a first value.
In the embodiment of the application, the first value is obtained by multiplying the preset battery cell voltage value of the battery by the preset battery cell number, and then the second value is obtained by subtracting the preset full-charge offset of the battery from the first value.
Substep 2022, subtracting the preset full offset of the battery from the first value to obtain a second value.
The second value is the difference obtained by subtracting the full offset from the first value, and the first value is the product of the cell voltage value and the number of cells, and 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, i.e., second value=cell voltage value×number of cells-full offset.
In the embodiment of the application, the second value is obtained by subtracting the preset full charge offset of the battery from the first value, and then the second value is determined to be the charging voltage limiting value when the second value is larger than the voltage value of the battery, and the voltage value of the battery core is increased by the first preset value or the full charge offset is reduced by the second preset value when the second value is smaller than or equal to the voltage value of the battery, and then a new second value is obtained.
Substep 2023, determining the second value as the charge voltage limit value if the second value is greater than the voltage value of the battery.
In the embodiment of the application, by determining the second value as the charging voltage limiting value when the second value is greater than the voltage value of the battery, so that the charging voltage value is smaller than the second value and greater than the voltage value of the battery, the charging voltage of the charging voltage value can be used for charging the battery when the electric quantity of the battery is smaller than the electric quantity threshold value, namely, when the battery is not fully charged.
Step 2024, in the case that the second value is less than or equal to the voltage value of the battery, increasing the voltage value of the battery cell by a first preset value, or decreasing the full-charge offset by a second preset value, and then entering the step of multiplying the preset voltage value of the battery cell by the preset number of battery cells to obtain the first value.
It should be noted that, since the second value is a 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 the second value is negatively correlated with the full offset, that is, the larger the cell voltage value is, the smaller the full offset is, and the larger the second value is.
In the embodiment of the application, the battery cell voltage value is increased by a first preset value or the full offset is reduced by a second preset value under the condition that the second value is smaller than or equal to the voltage value of the battery, and then a new second value is obtained, so that the new second value is increased.
By performing sub-steps 2021 to 2024, it is possible to obtain the charging voltage limiting value of the battery according to a plurality of first charging parameters preset for the battery.
Optionally, in some embodiments, the obtaining the charging current limit value of the battery according to the preset second charging parameters of the battery includes the following substeps:
Step 2025, obtaining a minimum first current limiting value of the battery preset battery core current limiting value and the battery preset temperature current limiting value.
It should be noted that, when the battery preset battery cell current limit value is greater than the battery preset temperature current limit value, the first current limit value is the temperature current limit value, and when the battery preset battery cell current limit value is less than the battery preset temperature current limit value, the first current limit value is the battery cell current limit value.
In the embodiment of the application, the minimum first current limiting value of the battery preset battery cell current limiting value and the minimum first current limiting value of the battery preset temperature current limiting value is obtained, and then the first current limiting value is multiplied by the minimum coefficient after the minimum coefficient of the battery preset electric quantity coefficient and the battery preset voltage coefficient is obtained, so that the charging current limiting value is obtained.
Step 2026, obtaining the smallest coefficient of the preset electric quantity coefficient of the battery and the preset voltage coefficient of the battery.
It should be noted that, when the battery preset electric quantity coefficient is greater than the battery preset voltage coefficient, the minimum coefficient is the voltage coefficient, and when the battery preset electric quantity coefficient is less than the battery preset voltage coefficient, the minimum coefficient is the electric quantity coefficient.
In the embodiment of the application, the charging current limiting value is obtained by obtaining the smallest coefficient of the preset electric quantity coefficient of the battery and the preset voltage coefficient of the battery and multiplying the first current limiting value by the smallest coefficient.
Substep 2027, multiplying the first current limit value by the minimum coefficient, obtaining the charging current limit value.
The charging current limit value is the product obtained by multiplying the minimum first current limit value of the battery preset battery cell current limit value and the battery preset temperature current limit value by the minimum coefficient of the battery preset electric quantity coefficient and the battery preset voltage coefficient, namely, the charging current limit value = min { battery cell current limit value, temperature current limit value } ×min { electric quantity coefficient, voltage coefficient }.
In the embodiment of the application, the charging current limit value is obtained by multiplying the first current limit value by the smallest coefficient, so that the charging current limit value of the battery is obtained under the condition that the electric quantity of the battery is smaller than the electric quantity threshold value.
By performing sub-steps 2025 to 2027, it is possible to obtain a charging limit value of the battery according to a plurality of second charging parameters preset for the battery.
Optionally, in some embodiments, the method further comprises the steps of:
step 204, obtaining the cell temperature of each cell of the battery.
In the embodiment of the application, the highest cell temperature and the lowest cell temperature in the cell temperatures are obtained by obtaining the cell temperature of each cell of the battery.
Step 205, obtaining the highest cell temperature and the lowest cell temperature in the cell temperatures.
In the embodiment of the application, the highest cell temperature and the lowest cell temperature in the cell temperatures are obtained, and further, 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 the first preset corresponding relation between the reference cell temperature and the reference current limiting value.
Step 206, obtaining a second current limit value corresponding to the highest cell temperature and a third current limit value corresponding to the lowest cell temperature from a first preset corresponding relation between the reference cell temperature and the reference current limit value.
Specifically, in some embodiments, the first preset correspondence between the reference cell temperature and the reference current limit value is as follows (table 1):
TABLE 1
For example, the highest cell temperature is 60 degrees celsius, and as shown in table 1, the reference current limit value corresponding to the reference cell temperature of 60 degrees celsius is 50 amperes, the second current limit value corresponding to the highest cell temperature is 50 amperes, the lowest cell temperature is 10 degrees celsius, and as shown in table 1, the reference current limit value corresponding to the reference cell temperature of 10 degrees celsius is 10 amperes, and the third current limit value corresponding to the lowest cell temperature is 10 amperes.
In the embodiment of the application, 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 the first preset corresponding relation between the reference cell temperature and the reference current limiting value, and the smallest current limiting value in the second current limiting value and the third current limiting value is determined as the temperature current limiting value.
And step 207, determining the smallest current limiting value of the second current limiting value and the third current limiting value as the temperature current limiting value.
When the second limiting value is larger than the third limiting value, the temperature limiting value is the third limiting value, and when the second limiting value is smaller than the third limiting value, the temperature limiting value is the second limiting value.
In the embodiment of the application, the minimum current limiting value in the second current limiting value and the third current limiting value is determined as the temperature current limiting value, so that the temperature current limiting value is obtained.
The temperature limit value is obtained by performing steps 204 to 207.
Optionally, in some embodiments, the method further comprises the steps of:
Step 208, obtaining a first coefficient corresponding to the electric quantity of the battery from a second preset corresponding relation between the reference electric quantity and the first reference coefficient.
Specifically, in some embodiments, the second preset correspondence between the reference power and the first reference coefficient is as follows (table 2):
Reference electric quantity |
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% |
TABLE 2
For example, as shown in table 2, the first reference coefficient corresponding to 94% of the reference electric quantity is 80%, and the first coefficient corresponding to the electric quantity of the battery is 80%.
In the embodiment of the application, the first coefficient corresponding to the electric quantity of the battery is obtained from the second preset corresponding relation between the reference electric quantity and the first reference coefficient, and then the first coefficient is used as the electric quantity coefficient.
Step 209, taking the first coefficient as the electric quantity coefficient.
In the embodiment of the application, the first coefficient is used as the electric quantity coefficient to obtain the electric quantity coefficient.
This may be achieved by performing steps 208 to 209, where the power factor is obtained.
Optionally, in some embodiments, the method further comprises the steps of:
Step 210, obtaining a cell voltage of each cell of the battery.
In the embodiment of the application, the highest cell voltage in the cell voltages is obtained by obtaining the cell voltage of each cell of the battery.
Step 211, obtaining the highest cell voltage in the cell voltages.
In the embodiment of the application, the highest cell voltage in the cell voltages is obtained, and then the second coefficient corresponding to the highest cell voltage is obtained from the third preset corresponding relation between the reference cell voltage and the second reference coefficient.
Step 212, obtaining a second coefficient corresponding to the highest cell voltage from a third preset corresponding relation between the reference cell voltage and the second reference coefficient.
Specifically, in some embodiments, the third preset correspondence between the reference cell voltage and the second reference coefficient is as follows (table 3):
reference cell voltage/millivolt |
Second reference coefficient |
3482 |
90% |
3484 |
85% |
3486 |
80% |
3489 |
75% |
3491 |
70% |
3494 |
65% |
3497 |
60% |
3501 |
50% |
3505 |
40% |
3509 |
30% |
TABLE 3 Table 3
For example, the highest cell voltage is 3494 millivolts, and as shown in table 3, the reference cell voltage of 3494 millivolts corresponds to the second reference coefficient of 65%, and the second coefficient corresponding to the highest cell voltage is 65%.
In the embodiment of the application, the second coefficient corresponding to the highest cell voltage is obtained from the third preset corresponding relation between the reference cell voltage and the second reference coefficient, so that the second coefficient is used as the voltage coefficient.
Step 213, taking the second coefficient as the voltage coefficient.
In the embodiment of the application, the second coefficient is taken as the voltage coefficient so as to obtain the voltage coefficient.
This can be achieved by performing steps 210 to 213, and obtaining the voltage coefficient.
Optionally, referring to fig. 3, in some embodiments, the process of obtaining the charging current limit value includes that X1 is started, X2 is used for obtaining the highest electric core temperature and the lowest electric core temperature, namely obtaining the highest electric core temperature and the lowest electric core temperature in the electric core temperatures, X3 is used for obtaining the second current limit value and the third current limit value from the first preset corresponding relation between the reference electric core temperature and the reference current limit value, namely obtaining the third current limit value corresponding to the second current limit value and the lowest electric core temperature corresponding to the highest electric core temperature, X4 is used for obtaining the electric quantity of the battery, X5 is used for obtaining the first coefficient from the second preset corresponding relation between the reference electric quantity and the first reference coefficient, namely obtaining the first coefficient corresponding to the electric quantity of the battery, X6 is used for obtaining the highest electric core voltage in the electric core voltage, namely obtaining the highest electric core voltage in the electric core voltage, X7 is used for obtaining the second coefficient from the third preset corresponding relation, namely obtaining the second current limit value corresponding to the second preset relation between the reference electric core voltage and the second preset electric core temperature, X8 is used for obtaining the first coefficient corresponding to the electric quantity of the battery, and X9 is used for obtaining the highest current coefficient corresponding to the electric quantity of the battery, and the current limit value is not obtained, and the current limit value is calculated, and the process is similar to the process is finished.
Optionally, referring to fig. 4, in some embodiments, the process of obtaining the voltage limiting value of the charging includes that Y1 is started, Y2 is used for obtaining a voltage value of the battery core, Y3 is used for obtaining a full offset, Y4 is used for obtaining a number of battery cores, Y5 is used for obtaining a second value by calculating, namely, the preset voltage value of the battery core is multiplied by the preset number of battery cores to obtain a first value, then the preset full offset of the battery is subtracted from the first value to obtain a second value, Y6 is used for judging whether the second value is larger than the voltage value of the battery or not, namely, judging whether the second value is larger than the voltage value of the battery, Y7 is used for judging whether the voltage limiting value of the charging is a preset minimum value or not, wherein the preset minimum value is 0, the charging limiting value is the preset minimum value, the current value of the battery is equal to a threshold value of the electric quantity, the battery is full of the battery, the electric quantity of the battery is not full, the voltage value of the battery is subtracted from the first value, namely, the voltage value of the battery is equal to the electric quantity of the threshold value of the battery, namely, the voltage value of the battery is equal to the electric quantity of the battery is not full voltage value of the battery, and the battery is not full, and the voltage value is equal to the value of the battery is equal to the threshold value of the electric quantity of the battery, and the battery is not full value, and the value is equal to the value of the battery is equal to the battery value.
Referring to fig. 5, the embodiment of the application further provides a charge-discharge circuit, which comprises an isolation switch QS, a FUSE, a first switch K1, a second switch K2, a third switch K3 and a resistor R, wherein the first end of the isolation switch QS is electrically connected with the first end of the FUSE, the second end of the isolation switch QS is used for being electrically connected with the negative electrode of a battery E, the third end of the isolation switch QS is respectively electrically connected with the first end of the first switch K1 and the first end of the second switch K2, the fourth end of the isolation switch QS is electrically connected with the first end of the third switch K3, the second end of the FUSE is used for being electrically connected with the positive electrode of the battery E, the second end of the first switch K1 is electrically connected with the first end of the resistor R, the second end of the resistor R is used for being electrically connected with the positive electrode of the charge-discharge end P, the second end of the isolation switch QS is used for being electrically connected with the positive electrode of the charge-discharge end P, the charge-discharge value of the battery E is set to be equal to the charge-discharge value of the battery E under the condition that the charge-discharge value of the negative electrode of the battery E is smaller than the charge-discharge value of the battery E, and the charge-discharge value of the battery is set to be equal to the charge-discharge value of the negative value.
It should be noted that, the specific process of obtaining the charging voltage limiting value is similar to the foregoing, and will not be repeated here.
The charging current value of the charging and discharging end P is smaller than or equal to the charging current limit value, wherein, when the electric quantity of the battery E is smaller than the electric quantity threshold value, the charging current limit value of the battery E is obtained according to a plurality of second charging parameters preset by the battery E, and when the electric quantity of the battery E is equal to the electric quantity threshold value, the preset minimum value is taken as the charging current limit value, and the specific process of obtaining the charging current value is similar to the foregoing, and is not repeated here.
The FUSE is used for overcurrent protection and the charge and discharge end P is used for charging and discharging the battery E.
Specifically, in some embodiments, the charging and discharging terminal P is configured to be electrically connected to an inverter, where the inverter sets a charging voltage value of the battery E according to the charging voltage limiting value, and sets a charging current value of the battery E according to the charging current limiting value, so as to charge the battery E.
When the isolating switch QS is closed, the first end of the isolating switch QS is conducted with the third end of the isolating switch QS, the second end of the isolating switch QS is conducted with the fourth end of the isolating switch QS, and when the isolating switch QS is opened, the first end of the isolating switch QS is disconnected with the third end of the isolating switch QS, and the second end of the isolating switch QS is disconnected with the fourth end of the isolating switch QS.
In the embodiment of the application, in the precharge stage, the isolating switch QS, the first switch K1 and the third switch K3 are closed, the voltage difference between the battery E and the charge and discharge terminal P is eliminated through the resistor R, so that the charge and discharge terminal P is initialized to the voltage of the battery E, and in the charge and discharge stage, the isolating switch QS, the second switch K2 and the third switch K3 are closed, and the first switch K1 is opened.
Under the condition that the battery E is not fully charged, the battery E management system sends a charging voltage limiting value and a charging current limiting value to the inverter, wherein the charging voltage limiting value is larger than the voltage value of the battery E, and the charging current limiting value is larger than a preset minimum value;
Under the condition that the battery E is fully charged, the battery E management system modifies the charging voltage limiting value into the voltage value of the battery E and modifies the charging current limiting value into a preset minimum value (for example, 0 ampere), then the battery E management system sends the modified charging voltage limiting value and the modified charging current limiting value to the inverter, and the inverter controls the charging voltage value to be smaller than or equal to the modified charging voltage limiting value and the charging current value to be smaller than or equal to the modified charging current limiting value, so that the battery E stops charging.
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 charging and discharging end, wherein the anode of the diode is electrically connected with the second end of the second switch, and the cathode of the diode is electrically connected with the anode of the charging and discharging end. And when the battery is fully charged, the isolating switch, the second switch, the third switch and the fourth switch are closed, and the fourth switch is opened, so that the current is prevented from flowing backwards through the diode to prevent the battery from being overcharged.
Compared with the related art, the embodiment of the application does not need to arrange a diode and a fourth switch, thereby saving hardware cost, controlling the fourth switch and saving switch energy consumption.
In summary, in the embodiment of the present application, by acquiring the electric quantity and the voltage value of the battery, and according to a plurality of first charging parameters preset by the battery when the electric quantity of the battery is less than the electric quantity threshold value, acquiring the charging voltage limit value of the battery, and then limiting 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, and further charging the battery by using the charging voltage of the charging voltage value, when the electric quantity of the battery is equal to the electric quantity threshold value, it is indicated that the battery is fully charged, and at this time, the voltage value of the battery is taken as the charging voltage limit value, and because the charging voltage value is less than or equal to the charging voltage limit value, the charging of the battery is stopped, so as to avoid damage caused by overcharging the battery.
Fig. 6 is a block diagram of a battery charging device according to an embodiment of the present application, and as shown in fig. 6, the device 300 includes:
A first obtaining module 301, configured to obtain an electric quantity and a voltage value of a battery;
A second obtaining module 302, configured to obtain a charging voltage limiting value of the battery according to a plurality of first charging parameters preset by the battery when the electric quantity of the battery is less than an electric quantity threshold, and take a voltage value of the battery as the charging voltage limiting value when the electric quantity of the battery is equal to the electric quantity threshold;
And a limiting module 303, configured to limit the charging voltage value of the battery according to the charging voltage limiting value, so that the charging voltage value is less than or equal to the charging voltage limiting value.
Optionally, the second obtaining module 302 specifically includes:
the first acquisition submodule is used for multiplying the battery cell voltage value preset by the battery cell number preset by the battery to obtain a first value;
The second obtaining submodule is used for subtracting the preset full offset of the battery from the first value to obtain a second value;
a first processing sub-module configured to determine the second value as the charging voltage limiting value if the second value is greater than a voltage value of the battery;
And the second processing submodule is used for increasing the voltage value of the battery cell by a first preset value or reducing the full offset by a second preset value under the condition that the second value is smaller than or equal to the voltage value of the battery, and then the first acquisition submodule is used for multiplying the preset voltage value of the battery by the preset number of battery cells to obtain the first value.
Optionally, the apparatus 300 further includes:
A third obtaining module, configured to obtain a charging limiting value of the battery according to a plurality of second charging parameters preset by the battery when the electric quantity of the battery is less than the electric quantity threshold, and take a preset minimum value as the charging limiting value when the electric quantity of the battery is equal to the electric quantity threshold;
and the current limiting module is used for limiting the charging current value of the battery according to the charging current limiting value so that the charging current value is smaller than or equal to the charging current limiting value.
Optionally, the third obtaining module specifically includes:
the third acquisition submodule is used for acquiring the minimum first current limiting value of the battery preset battery core current limiting value and the battery preset temperature current limiting value;
a fourth obtaining sub-module, configured to obtain a minimum coefficient of the electric quantity coefficient preset by the battery and the voltage coefficient preset by the battery;
and a fifth obtaining sub-module, configured to multiply the first current limiting value by the minimum coefficient to obtain the charging current limiting value.
Optionally, the apparatus 300 further includes:
a fourth obtaining module, configured to obtain a cell temperature of each cell of the battery;
A fifth obtaining module, configured to obtain a highest cell temperature and a lowest cell temperature among the cell temperatures;
A sixth obtaining module, configured to obtain, from a first preset correspondence between a reference cell temperature and a reference current limit value, a second current limit value corresponding to the highest cell temperature and a third current limit value corresponding to the lowest cell temperature;
the first determining module is used for determining the minimum current limiting value in the second current limiting value and the third current limiting value as the temperature current limiting value.
Optionally, the apparatus 300 further includes:
a seventh obtaining module, configured to obtain a first coefficient corresponding to the electric quantity of the battery from a second preset corresponding relation between the reference electric quantity and the first reference coefficient;
and the second determining module is used for taking the first coefficient as the electric quantity coefficient.
Optionally, the apparatus 300 further includes:
An eighth acquisition module, configured to acquire a cell voltage of each cell of the battery;
a ninth acquisition module, configured to acquire a highest cell voltage among the cell voltages;
A tenth acquisition module, configured to acquire a second coefficient corresponding to the highest cell voltage from a third preset correspondence between a reference cell voltage and a second reference coefficient;
and the third determining module is used for taking the second coefficient as the voltage coefficient.
The charging device of the battery in the embodiment of the application can be a device, and also can be a component, an integrated circuit or a chip in the terminal. The device may be a mobile electronic device or a non-mobile electronic device. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), etc., and the non-mobile electronic device may be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a Television (TV), a teller machine, a self-service machine, etc., and the embodiments of the present application are not limited in particular.
The charging device of the battery in the embodiment of the application may be a device with an operating system. The operating system may be an Android operating system, an ios operating system, or other possible operating systems, and the embodiment of the present application is not limited specifically.
The battery charging device provided in the embodiment of the present application can implement each process implemented by the battery charging device in the method embodiment of fig. 1, and in order to avoid repetition, details are not repeated here.
In the embodiment of the application, the electric quantity and the voltage value of the battery are obtained, and under the condition that the electric quantity of the battery is smaller than the electric quantity threshold value, the charging voltage limiting value of the battery is obtained according to a plurality of first charging parameters preset by the battery, then the charging voltage value of the battery is limited according to the charging voltage limiting value, so that the charging voltage value is smaller than or equal to the charging voltage limiting value, the battery is further charged by using the charging voltage of the charging voltage value, under the condition that the electric quantity of the battery is equal to the electric quantity threshold value, the battery is fully charged, at the moment, the voltage value of the battery is taken as the charging voltage limiting value, and because the charging voltage value is smaller than or equal to the charging voltage value of the battery, the battery stops charging, so that the battery is prevented from being overcharged and damaged.
Optionally, the embodiment of the present application further provides an electronic device, including a processor, a memory, and a program or an instruction stored in the memory and capable of running on the processor, where the program or the instruction when executed by the processor implements each process of the foregoing embodiment of the battery charging method, and the process can achieve the same technical effect, so that repetition is avoided, and details are not repeated here.
The electronic device in the embodiment of the application includes the mobile electronic device and the non-mobile electronic device.
Fig. 7 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 400 includes, but is not limited to, 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.
Those skilled in the art will appreciate that the electronic device 400 may also include a power source (e.g., a battery) for powering the various components, which may be logically connected to the processor 410 by a power management system to perform functions such as managing charge, discharge, and power consumption by the power management system. The electronic device structure shown in fig. 7 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than shown, or may combine certain components, or may be arranged in different components, which are not described in detail herein.
The processor 410 is configured to obtain an electric quantity and a voltage value of the battery;
Acquiring a charging voltage limiting value of the battery according to a plurality of first charging parameters preset by the battery when the electric quantity of the battery is smaller than an electric quantity threshold value, and taking the voltage value of the battery as the charging voltage limiting value when the electric quantity of the battery is equal to the electric quantity threshold value;
and limiting the charging voltage value of the battery according to the charging voltage limiting value so that the charging voltage value is smaller than or equal to the charging voltage limiting value.
In the embodiment of the application, the electric quantity and the voltage value of the battery are obtained, and under the condition that the electric quantity of the battery is smaller than the electric quantity threshold value, the charging voltage limiting value of the battery is obtained according to a plurality of first charging parameters preset by the battery, then the charging voltage value of the battery is limited according to the charging voltage limiting value, so that the charging voltage value is smaller than or equal to the charging voltage limiting value, the battery is further charged by using the charging voltage of the charging voltage value, under the condition that the electric quantity of the battery is equal to the electric quantity threshold value, the battery is fully charged, at the moment, the voltage value of the battery is taken as the charging voltage limiting value, and because the charging voltage value is smaller than or equal to the charging voltage value of the battery, the battery stops charging, so that the battery is prevented from being overcharged and damaged.
Optionally, the processor 410 is further configured to multiply the battery preset cell voltage value by the battery preset cell number to obtain a first value, subtract the battery preset full offset from the first value to obtain a second value, determine the second value as the charge voltage limiting value if the second value is greater than the battery voltage value, increase the battery cell voltage value by a first preset value if the second value is less than or equal to the battery voltage value, or decrease the full offset by a second preset value, and then enter the step of multiplying the battery preset cell voltage value by the battery preset cell number to obtain the first value.
Optionally, the processor 410 is further configured to obtain a charging current limit value of the battery according to a plurality of second charging parameters preset by the battery when the electric quantity of the battery is less than the electric quantity threshold, and take a preset minimum value as the charging current limit value when the electric quantity of the battery is equal to the electric quantity threshold, and 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.
Optionally, the processor 410 is further configured to obtain a minimum first current limiting value of the battery preset battery core current limiting value and the battery preset temperature current limiting value, obtain a minimum coefficient of the battery preset electric quantity coefficient and the battery preset voltage coefficient, and multiply the first current limiting value by the minimum coefficient to obtain the charging current limiting value.
Optionally, the processor 410 is further configured to obtain a cell temperature of each cell of the battery, obtain a highest cell temperature and a lowest cell temperature in the cell temperatures, obtain a second current limit value corresponding to the highest cell temperature and a third current limit value corresponding to the lowest cell temperature from a first preset corresponding relation between a reference cell temperature and a reference current limit value, and determine a minimum current limit value of the second current limit value and the third current limit value as the temperature current limit value.
Optionally, the processor 410 is further configured to obtain a first coefficient corresponding to the electric quantity of the battery from a second preset corresponding relation between the reference electric quantity and the first reference coefficient, and take the first coefficient as the electric quantity coefficient.
Optionally, the processor 410 is further configured to obtain a cell voltage of each cell of the battery, obtain a highest cell voltage of the cell voltages, obtain a second coefficient corresponding to the highest cell voltage from a third preset correspondence between a reference cell voltage and a second reference coefficient, and use the second coefficient as the voltage coefficient.
In the embodiment of the application, the electric quantity and the voltage value of the battery are obtained, and under the condition that the electric quantity of the battery is smaller than the electric quantity threshold value, the charging voltage limiting value of the battery is obtained according to a plurality of first charging parameters preset by the battery, then the charging voltage value of the battery is limited according to the charging voltage limiting value, so that the charging voltage value is smaller than or equal to the charging voltage limiting value, the battery is further charged by using the charging voltage of the charging voltage value, under the condition that the electric quantity of the battery is equal to the electric quantity threshold value, the battery is fully charged, at the moment, the voltage value of the battery is taken as the charging voltage limiting value, and because the charging voltage value is smaller than or equal to the charging voltage value of the battery, the battery stops charging, so that the battery is prevented from being overcharged and damaged.
It should be appreciated that in embodiments of the present application, the input unit 404 may include a graphics processor (Graphics Processing Unit, GPU) 4041 and a microphone 4042, with the graphics processor 4041 processing image data of still pictures or video obtained by an image capture device (e.g., a camera) in a video capture mode or an 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, or the like. The user input unit 407 includes at least one of a touch panel 4071 and other input devices 4072. The touch panel 4071 is also referred to as 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 (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and so forth, which are not described in detail herein.
Memory 409 may be used to store software programs as well as various data. The memory 409 may mainly include a first memory area storing programs or instructions and a second memory area storing data, wherein the first memory area may store an operating system, application programs or instructions (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like. Further, the memory 409 may include volatile memory or nonvolatile memory, or the memory 409 may include both volatile and nonvolatile memory. The nonvolatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable EPROM (EEPROM), or a flash Memory. The volatile memory may be random access memory (Random Access Memory, RAM), static random access memory (STATIC RAM, SRAM), dynamic random access memory (DYNAMIC RAM, DRAM), synchronous Dynamic Random Access Memory (SDRAM), double data rate Synchronous dynamic random access memory (Double DATA RATE SDRAM, DDRSDRAM), enhanced Synchronous dynamic random access memory (ENHANCED SDRAM, ESDRAM), synchronous link dynamic random access memory (SYNCH LINK DRAM, SLDRAM), and Direct random access memory (DRRAM). Memory 409 in embodiments of the application includes, but is not limited to, these and any other suitable types of memory.
Processor 410 may include one or more processing units and, optionally, processor 410 integrates an application processor that primarily processes operations involving an operating system, user interface, application program, etc., and a modem processor that primarily processes wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into the processor 410.
The embodiment of the application also provides a readable storage medium, on which a program or an instruction is stored, which when executed by a processor, implements each process of the above battery charging method embodiment, and can achieve the same technical effects, and in order to avoid repetition, the description is omitted here.
Wherein 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 Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
The embodiment of the application further provides a chip, the chip comprises a processor and a communication interface, the communication interface is coupled with the processor, the processor is used for running programs or instructions, the processes of the battery charging method embodiment can be realized, the same technical effects can be achieved, and the repetition is avoided, and the description is omitted here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are to be protected by the present application.