Method, device, electronic device and medium for determining battery voltage type

By measuring the internal resistance of the battery pack and combining it with the charging and discharging process, the problem of the inverter having difficulty in determining the battery voltage type is solved, and accurate battery voltage type judgment is achieved, preventing battery overcharging or over-discharging and improving safety.

CN120414818BActive Publication Date: 2025-09-23ALTENERGY POWER SYST
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510876673.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-06-27
Publication Date
2025-09-23
Estimated Expiration
2045-06-27

AI Technical Summary

Technical Problem

Existing inverters have difficulty accurately determining the voltage type of the connected battery, which may lead to battery overcharging or over-discharging problems, and even endanger personal safety.

Method used

By measuring the internal resistance of the battery pack, the standard voltage type of the battery pack is determined within the voltage fuzzy range using the charging or discharging method, including reverse constant voltage charging and constant voltage discharging processes. The internal resistance of the battery pack is calculated in combination with the internal resistance formula to accurately determine the battery voltage type.

Benefits of technology

The accuracy of battery voltage type judgment is improved, which prevents battery overcharge or over-discharge problems and improves safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120414818B_ABST
    Figure CN120414818B_ABST
Patent Text Reader

Abstract

The present invention discloses a method, device, electronic device and medium for determining the battery voltage type, which relate to the field of power electronics. Considering that the internal resistance of a battery changes with the change of the battery capacity, this solution first determines whether the initial voltage is in a charging detection interval or a discharging detection interval of a voltage fuzzy range after obtaining the initial voltage of the battery pack. The charging detection interval represents that the initial voltage is in a low voltage interval of the voltage fuzzy range, so the internal resistance of the battery pack can be measured by charging to accurately determine the standard battery voltage type of the battery pack; similarly, the discharging detection interval represents that the initial voltage is in a high voltage interval of the voltage fuzzy range, so the internal resistance of the battery pack can be measured by discharging to accurately determine the standard battery voltage type of the battery pack, thereby preventing the occurrence of battery overcharging or over-discharging problems and improving the safety of the solution.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of power electronics, and in particular to a method, device, electronic equipment and medium for determining a battery voltage type. Background Art

[0002] Currently, inverters on the market are categorized by the battery voltage level at their input terminals, including 12V, 24V, and 48V. While an inverter can simultaneously accommodate 12V, 24V, 36V, 48V, or higher-voltage batteries, due to the wide dynamic range of battery voltages, for example, if the normal battery voltage range is 10.5V-14V and the inverter's input voltage is between 10.5V-15V, the battery connected to the inverter could be a normal battery, such as a 12V lead-acid battery, or two to four severely undervoltage batteries. Therefore, it is difficult for the inverter to independently determine the voltage type of the currently connected battery. Failure to accurately determine the battery voltage type can lead to overcharging (the battery supplying power to the inverter) or overdischarging (the inverter supplying power to the battery), causing irreversible damage to the battery and even endangering the safety of power users. Summary of the Invention

[0003] The purpose of the present invention is to provide a method, device, electronic device and medium for determining the battery voltage type. Taking into account that the internal resistance of the battery will change with the change of the battery capacity, when the battery capacity is low, the internal resistance increases significantly, and when the battery capacity is high, the internal resistance decreases significantly. Therefore, after obtaining the initial voltage of the battery pack, this scheme first determines whether the initial voltage is in the charging detection interval or the discharge detection interval of the voltage fuzzy range. Among them, the charging detection interval represents that the initial voltage is in the low voltage interval of the voltage fuzzy range, so the internal resistance of the battery pack can be measured by charging to accurately determine the standard battery voltage type of the battery pack; similarly, the discharge detection interval represents that the initial voltage is in the high voltage interval of the voltage fuzzy range, so the internal resistance of the battery pack can be measured by discharging to accurately determine the standard battery voltage type of the battery pack, so as to prevent the occurrence of battery overcharging or over-discharging problems, thereby improving the safety of the scheme.

[0004] To solve the above technical problems, the present invention provides a method for determining a battery voltage type, comprising:

[0005] Obtaining an initial voltage of a battery pack on a DC side of the inverter, where the battery pack includes M batteries, where M is a positive integer not less than 1;

[0006] Determining whether the initial voltage is within a charge detection interval or a discharge detection interval of a voltage fuzzy range;

[0007] If the initial voltage is within the charging detection interval, controlling the inverter to charge the battery pack with a reverse constant voltage, and determining the internal resistance of the battery pack during the reverse constant voltage charging process;

[0008] If the initial voltage is within the discharge detection interval, controlling the battery pack to discharge at a constant voltage to its own AC side through the inverter, and determining the internal resistance of the battery pack during the constant voltage discharge process;

[0009] determining a standard battery voltage type corresponding to the battery pack based on the internal resistance of the battery pack;

[0010] Among them, different standard battery voltage types correspond to different voltage fuzzy ranges. The voltage fuzzy range is the voltage range between the sum of the minimum standard voltages of N batteries and the sum of the maximum rated voltages, where N is the minimum number of normal batteries corresponding to the standard battery voltage type, and N≤M. The charging detection interval is the voltage range between the sum of the minimum standard voltages of the N batteries and the sum of the maximum standard voltages. The discharging detection interval is the voltage range between the sum of the maximum standard voltages of the N batteries and the sum of the maximum rated voltages. The minimum standard voltage of the battery is less than the maximum standard voltage of the battery, and the maximum standard voltage of the battery is less than the maximum rated voltage of the battery.

[0011] Optionally, controlling the inverter to perform reverse constant voltage charging on the battery pack and determining the internal resistance of the battery pack during the reverse constant voltage charging process includes:

[0012] Determining a charging voltage value for reverse constant voltage charging of the battery pack by the inverter, wherein the charging voltage value=N×a first preset voltage value+the initial voltage;

[0013] Controlling the inverter to charge the battery pack with a reverse constant voltage based on the charging voltage value, and obtaining the AC side charging power of the inverter and the charged voltage of the battery pack during reverse constant voltage charging;

[0014] Determining a first charging current of the battery pack during reverse constant voltage charging according to the AC side charging power, the charged voltage of the battery pack, and a first charging current determination formula;

[0015] determining the internal resistance of the battery pack based on the first charging current, the initial voltage, the voltage after charging, and a first internal resistance determination formula;

[0016] Wherein, the first charging current determination formula is: ; represents the first charging current, represents the AC side charging power, Indicates the charged voltage of the battery pack;

[0017] The first internal resistance determination formula is: ; represents the internal resistance of the battery pack, represents the initial voltage.

[0018] Optionally, controlling the battery pack to discharge at a constant voltage to its own AC side through the inverter and determining the internal resistance of the battery pack during the constant voltage discharge process includes:

[0019] Determine a discharge voltage value for constant voltage discharge of the inverter to its own AC side, wherein the discharge voltage value = the initial voltage - N × a second preset voltage value;

[0020] Controlling the inverter to discharge to its own AC side at a constant voltage based on the discharge voltage value, and obtaining the discharge power of the inverter and the post-discharge voltage of the battery pack during the constant voltage discharge;

[0021] determining a discharge current of the battery pack during constant voltage discharge based on the discharge power, the post-discharge voltage, and a discharge current determination formula;

[0022] determining the internal resistance of the battery pack according to the discharge current, the initial voltage, the post-discharge voltage, and a second internal resistance determination formula;

[0023] Wherein, the discharge current determination formula is: ; represents the discharge current, represents the discharge power, represents the post-discharge voltage;

[0024] The second internal resistance determination formula is: ; represents the internal resistance of the battery pack, represents the initial voltage.

[0025] Optionally, determining the standard battery voltage type corresponding to the battery pack based on the internal resistance of the battery pack includes:

[0026] determining an initial battery voltage type corresponding to the battery pack based on a minimum number of normal batteries corresponding to a voltage fuzzy range within which the initial voltage lies;

[0027] Verifying whether the initial battery voltage type is reasonable based on the internal resistance of the battery pack;

[0028] If the initial battery voltage type is reasonable, the initial battery voltage type is used as the standard battery voltage type;

[0029] If the initial battery voltage type is unreasonable, the initial battery voltage type is increased by one level, and the battery pack is charged to the full charge state corresponding to the initial battery voltage type after the level is increased. The voltage value corresponding to the full charge state is used as the new initial voltage, and the step of determining whether the initial voltage is in the charging detection interval or the discharging detection interval of the voltage fuzzy range is triggered at a preset time interval until the initial battery voltage type is reasonable.

[0030] Optionally, verifying whether the initial battery voltage type is reasonable based on the internal resistance of the battery pack includes:

[0031] Determining whether the internal resistance of the battery pack is less than a preset internal resistance threshold;

[0032] If the internal resistance of the battery pack is less than the preset internal resistance threshold, determining that the initial battery voltage type is reasonable;

[0033] If the internal resistance of the battery pack is not less than the preset internal resistance threshold, it is determined that the initial battery voltage type is unreasonable.

[0034] Optionally, before determining whether the initial voltage is within a charge detection interval or a discharge detection interval of a voltage fuzzy range, the method further includes:

[0035] Determining whether the minimum number of normal batteries corresponding to the voltage fuzzy range in which the initial voltage is located is less than a preset number;

[0036] If the minimum number of normal batteries corresponding to the voltage fuzzy range in which the initial voltage is located is less than a preset number, triggering the step of determining whether the initial voltage is in the charging detection interval or the discharging detection interval of the voltage fuzzy range;

[0037] If the minimum number of normal batteries corresponding to the voltage fuzzy range in which the initial voltage is located is not less than a preset number, the battery pack is charged at a constant voltage, and the standard battery voltage type corresponding to the battery pack is determined according to the charging current during the constant voltage charging process.

[0038] Optionally, the constant-voltage charging of the battery pack and determining the standard battery voltage type corresponding to the battery pack according to the charging current during the constant-voltage charging process includes:

[0039] Determine the minimum number of normal batteries corresponding to the voltage fuzzy range within which the initial voltage lies;

[0040] charging the battery pack at a constant voltage until it reaches a fully charged state corresponding to the minimum number of normal batteries, and determining a second charging current corresponding to the constant voltage charging process;

[0041] Determining whether the second charging current is greater than a preset current threshold;

[0042] If the second charging current is not greater than the preset current threshold, using the battery voltage type corresponding to the minimum number of normal batteries as the standard battery voltage type;

[0043] If the second charging current is greater than the preset current threshold, it is determined that the battery pack is not fully charged, the minimum number of normal batteries is increased by one, and the step of constant voltage charging the battery pack to the full charge state corresponding to the minimum number of normal batteries is triggered, until the Sth charging current is not greater than the preset current threshold, and the corresponding battery voltage type is used as the standard battery voltage type, where S is a positive integer not less than 3.

[0044] To solve the above technical problems, the present invention further provides a device for determining a battery voltage type, comprising:

[0045] An acquisition module, configured to acquire an initial voltage of a battery pack on a DC side of the inverter, wherein the battery pack includes M batteries, where M is a positive integer not less than 1;

[0046] a determination module, configured to determine whether the initial voltage is within a charge detection interval or a discharge detection interval of a voltage fuzzy range;

[0047] a first determination module, configured to control the inverter to charge the battery pack with a reverse constant voltage when the initial voltage is in a charging detection interval, and determine the internal resistance of the battery pack during the reverse constant voltage charging process;

[0048] a second determination module, configured to control the battery pack to discharge at a constant voltage to its own AC side through the inverter when the initial voltage is in the discharge detection interval, and determine the internal resistance of the battery pack during the constant voltage discharge process;

[0049] a determination module, configured to determine a standard battery voltage type corresponding to the battery pack based on an internal resistance of the battery pack;

[0050] Among them, different standard battery voltage types correspond to different voltage fuzzy ranges. The voltage fuzzy range is the voltage range between the sum of the minimum standard voltages of N batteries and the sum of the maximum rated voltages, where N is the minimum number of normal batteries corresponding to the standard battery voltage type, and N≤M. The charging detection interval is the voltage range between the sum of the minimum standard voltages of the N batteries and the sum of the maximum standard voltages. The discharging detection interval is the voltage range between the sum of the maximum standard voltages of the N batteries and the sum of the maximum rated voltages. The minimum standard voltage of the battery is less than the maximum standard voltage of the battery, and the maximum standard voltage of the battery is less than the maximum rated voltage of the battery.

[0051] To solve the above technical problems, the present invention further provides an electronic device, comprising:

[0052] Memory for storing computer programs;

[0053] A processor is configured to implement the steps of the above-mentioned method for determining the battery voltage type when executing the computer program.

[0054] To solve the above technical problems, the present invention further provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the battery voltage type determination method described above are implemented.

[0055] The purpose of the present invention is to provide a method, device, electronic device and medium for determining the battery voltage type. Taking into account that the internal resistance of the battery will change with the change of the battery capacity, when the battery capacity is low, the internal resistance increases significantly, and when the battery capacity is high, the internal resistance decreases significantly. Therefore, after obtaining the initial voltage of the battery pack, this scheme first determines whether the initial voltage is in the charging detection interval or the discharge detection interval of the voltage fuzzy range. Among them, the charging detection interval represents that the initial voltage is in the low voltage interval of the voltage fuzzy range, so the internal resistance of the battery pack can be measured by charging to accurately determine the standard battery voltage type of the battery pack; similarly, the discharge detection interval represents that the initial voltage is in the high voltage interval of the voltage fuzzy range, so the internal resistance of the battery pack can be measured by discharging to accurately determine the standard battery voltage type of the battery pack, so as to prevent the occurrence of battery overcharging or over-discharging problems, thereby improving the safety of the scheme. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are merely embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.

[0057] Figure 1 A process flow chart of a method for determining a battery voltage type provided by the present invention;

[0058] Figure 2 A schematic diagram of a battery connection structure provided by the present invention;

[0059] Figure 3 A process flow chart of another method for determining battery voltage type provided by the present invention;

[0060] Figure 4 A schematic diagram of battery voltage type adjustment provided by the present invention;

[0061] Figure 5A flow chart of the judgment process of the charging detection interval and the discharging detection interval provided by the present invention;

[0062] Figure 6 A schematic diagram of a charging detection process provided by the present invention;

[0063] Figure 7 A schematic diagram of a discharge detection process provided by the present invention;

[0064] Figure 8 A schematic structural diagram of a device for determining battery voltage type provided by the present invention;

[0065] Figure 9 This is a structural diagram of an electronic device provided by the present invention. DETAILED DESCRIPTION

[0066] The core of the present invention is to provide a method, device, electronic device and medium for determining the battery voltage type. Taking into account that the internal resistance of the battery will change with the change of the battery capacity, when the battery capacity is low, the internal resistance increases significantly, and when the battery capacity is high, the internal resistance decreases significantly. Therefore, after obtaining the initial voltage of the battery pack, this solution first determines whether the initial voltage is in the charging detection interval or the discharge detection interval of the voltage fuzzy range. Among them, the charging detection interval represents that the initial voltage is in the low voltage interval of the voltage fuzzy range, so the internal resistance of the battery pack can be measured by charging to accurately determine the standard battery voltage type of the battery pack; similarly, the discharge detection interval represents that the initial voltage is in the high voltage interval of the voltage fuzzy range, so the internal resistance of the battery pack can be measured by discharging to accurately determine the standard battery voltage type of the battery pack, so as to prevent the occurrence of battery overcharging or over-discharging problems, thereby improving the safety of the solution.

[0067] To make the objectives, technical solutions, and advantages of the embodiments of the present invention more clear, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts shall fall within the scope of protection of the present invention.

[0068] Please refer to Figure 1 , Figure 1 This is a process flow chart of a method for determining a battery voltage type provided by the present invention. The method for determining a battery voltage type includes:

[0069] S11: Obtaining an initial voltage of a battery pack on the DC side of the inverter, where the battery pack includes M batteries, where M is a positive integer not less than 1;

[0070] S12: Determine whether the initial voltage is in the charging detection interval or the discharging detection interval of the voltage fuzzy range;

[0071] S13: If the initial voltage is within the charging detection interval, control the inverter to charge the battery pack with a reverse constant voltage, and determine the internal resistance of the battery pack during the reverse constant voltage charging process;

[0072] S14: If the initial voltage is within the discharge detection interval, the battery pack is controlled to discharge at a constant voltage to its own AC side through the inverter, and the internal resistance of the battery pack during the constant voltage discharge process is determined;

[0073] S15: Determine a standard battery voltage type corresponding to the battery pack based on the internal resistance of the battery pack;

[0074] Among them, different standard battery voltage types correspond to different voltage fuzzy ranges. The voltage fuzzy range is the voltage range between the sum of the minimum standard voltages of N batteries and the sum of the maximum rated voltages. N is the minimum number of normal batteries corresponding to the standard battery voltage type, N≤M. The charging detection interval is the voltage range between the sum of the minimum standard voltages of N batteries and the sum of the maximum standard voltages. The discharging detection interval is the voltage range between the sum of the maximum standard voltages of N batteries and the sum of the maximum rated voltages. The minimum standard voltage of the battery is less than the maximum standard voltage of the battery, and the maximum standard voltage of the battery is less than the maximum rated voltage of the battery.

[0075] In the present invention, it is considered that the internal resistance of the battery will change with the change of the battery capacity. When the battery capacity is low, the internal resistance increases significantly. When the battery capacity is high, the internal resistance decreases significantly. The number of batteries in the battery pack connected to the DC side of the inverter can be multiple, for example: 1, 2, 3, etc., wherein the obtained initial voltage of the battery pack is within the voltage fuzzy range, but the voltage fuzzy range can refer to the sum of a preset number of normal battery voltages or the sum of multiple over-discharged battery voltages, so it is necessary to perform charge and discharge detection on it, that is, to determine the standard battery voltage type of the battery pack by the internal resistance of the battery pack under charge and discharge. Therefore, this solution is After obtaining the initial voltage of the battery pack, first determine whether the initial voltage is in the charging detection interval or the discharging detection interval of the voltage fuzzy range. Among them, the charging detection interval represents that the initial voltage is in the low voltage interval of the voltage fuzzy range, so the internal resistance of the battery pack can be measured by charging to accurately determine the standard battery voltage type of the battery pack; similarly, the discharging detection interval represents that the initial voltage is in the high voltage interval of the voltage fuzzy range, so the internal resistance of the battery pack can be measured by discharging to accurately determine the standard battery voltage type of the battery pack, so as to prevent the occurrence of battery overcharging or over-discharging problems, thereby improving the safety of the solution.

[0076] It should be noted that the inverter using the battery voltage type determination method provided in this application can be compatible with 、 、 、 Multiple battery voltage types are connected. Taking the common lead-acid battery voltage as an example, the normal battery voltage of a lead-acid battery is about 12V, so The battery voltage type corresponds to the battery voltage of a normal lead-acid battery. Similarly, 24V, 36V, and 48V correspond to 、 、 For these battery voltage types, the inverter's front-end uses a DCDC (Direct Current to Direct Current) transformer topology, and the back-end uses a DCAC (Direct Current to Alternating Current) inverter topology. The front-end is not limited to a single topology and can be either isolated or non-isolated. It only needs to achieve the function of transforming to the bus voltage. The back-end uses a DCAC topology, which is responsible for the bidirectional DC-AC energy flow.

[0077] It should also be noted that the internal resistance of the battery is usually composed of ohmic internal resistance and polarization internal resistance, which will change with the change of battery capacity and temperature. Figure 2 The following is a simple circuit diagram of a battery. When the battery capacity is low, the electrolyte concentration decreases, the battery's chemical reaction slows down, and the internal resistance increases significantly. When the battery capacity is high, the electrolyte concentration is high, the battery's chemical reaction speeds up, and the internal resistance is low. Depending on the capacity, the internal resistance of a lead-acid battery when fully charged ranges from a few milliohms to tens of milliohms, while the internal resistance may reach several ohms when severely over-discharged. Therefore, it is possible to infer whether the lead-acid battery is fully charged or over-discharged by measuring the internal resistance, and the specific battery voltage type determination process is as follows: Figure 3 shown.

[0078] This embodiment provides a method for determining the battery voltage type. Taking into account that the internal resistance of the battery will change with the change of the battery capacity, when the battery capacity is low, the internal resistance increases significantly, and when the battery capacity is high, the internal resistance decreases significantly. Therefore, after obtaining the initial voltage of the battery pack, this solution first determines whether the initial voltage is in the charging detection interval or the discharging detection interval of the voltage fuzzy range. Among them, the charging detection interval represents that the initial voltage is in the low voltage interval of the voltage fuzzy range, so the internal resistance of the battery pack can be measured by charging to accurately determine the standard battery voltage type of the battery pack; similarly, the discharge detection interval represents that the initial voltage is in the high voltage interval of the voltage fuzzy range, so the internal resistance of the battery pack can be measured by discharging to accurately determine the standard battery voltage type of the battery pack, thereby preventing the occurrence of battery overcharging or over-discharging problems and improving the safety of the solution.

[0079] Based on the above embodiment:

[0080] As an optional embodiment, controlling the inverter to perform reverse constant voltage charging on the battery pack and determining the internal resistance of the battery pack during the reverse constant voltage charging process includes:

[0081] Determine a charging voltage value for reverse constant voltage charging of the battery pack by the inverter, where the charging voltage value = N × the first preset voltage value + the initial voltage;

[0082] The inverter is controlled to charge the battery pack at a reverse constant voltage based on the charging voltage value, and the AC side charging power of the inverter and the charged voltage of the battery pack are obtained during reverse constant voltage charging;

[0083] Determine a first charging current of the battery pack during reverse constant voltage charging according to the AC side charging power, the charged voltage of the battery pack, and a first charging current determination formula;

[0084] determining an internal resistance of the battery pack based on the first charging current, the initial voltage, the voltage after charging, and a first internal resistance determination formula;

[0085] The first charging current determination formula is: ; represents the first charging current, Indicates the AC side charging power, Indicates the charged voltage of the battery pack;

[0086] The first internal resistance determination formula is: ; Represents the internal resistance of the battery pack, Indicates the initial voltage.

[0087] In the present invention, in order to ensure the accuracy of the reverse constant voltage charging of the battery pack by the inverter, this solution needs to first determine the charging voltage value of the reverse constant voltage charging of the battery pack by the inverter, wherein the determination of the charging voltage value needs to take into account the minimum number of normal batteries corresponding to the voltage fuzzy range where the initial voltage is located, because the voltage fuzzy range can correspond to both normal batteries with the minimum normal number of batteries and undervoltage batteries with a larger number of batteries. Therefore, in order to reduce the error of the reverse constant voltage charging process and improve the accuracy of the reverse constant voltage charging process, it is necessary to ensure that the batteries with the minimum normal number of batteries can increase the same voltage drop, that is, the first preset voltage value; in addition, after determining the charging voltage value, the inverter can be controlled to perform reverse constant voltage charging of the battery pack based on the charging voltage value, and the AC side charging power of the inverter and the charged voltage of the battery pack during reverse constant voltage charging can be obtained, and then the first charging current of the battery pack during reverse constant voltage charging can be determined, so as to finally calculate the internal resistance of the battery pack, thereby ensuring the integrity of the internal resistance determination process of the battery pack under reverse constant voltage charging.

[0088] It should be noted that the battery voltage is first preliminarily judged. During the preliminarily judging process, the possible number of lead-acid batteries is estimated to determine whether it is within the fuzzy range of the voltage. When the voltage is within the fuzzy range, the battery may be fully charged or over-discharged. Therefore, the fuzzy range of the battery voltage is divided into a charging detection state range and a discharge detection state range. The range where the battery voltage may be fully charged is divided into a discharge detection range, and the remaining ranges are charging detection ranges. The charging detection of the lead-acid battery is achieved by constant voltage charging through the reverse strong charging function of the inverter. The target charging voltage of the lead-acid battery is increased based on the battery sampling value according to the number of batteries. V, thereby achieving constant voltage charging of the battery. If the inverter itself does not have a current sampling sensor on the DC side, the battery charging current must be calculated based on the charging power of the grid or photovoltaic power and the battery voltage. During the battery charging process, the charging voltage is always maintained constant, and the battery is charged at a constant voltage.

[0089] As an optional embodiment, controlling the battery pack to discharge to its own AC side at a constant voltage through the inverter and determining the internal resistance of the battery pack during the constant voltage discharge process includes:

[0090] Determine a discharge voltage value for constant voltage discharge from the inverter to its own AC side, where the discharge voltage value = initial voltage - N × second preset voltage value;

[0091] The inverter is controlled to discharge to its own AC side at a constant voltage based on the discharge voltage value, and the discharge power of the inverter and the post-discharge voltage of the battery pack during constant voltage discharge are obtained;

[0092] Determine the discharge current of the battery pack during constant voltage discharge based on the discharge power, post-discharge voltage and discharge current determination formula;

[0093] Determine the internal resistance of the battery pack according to the discharge current, the initial voltage, the voltage after discharge and a second internal resistance determination formula;

[0094] The discharge current determination formula is: ; represents the discharge current, Indicates the discharge power, Indicates the voltage after discharge;

[0095] The second internal resistance determination formula is: ; Represents the internal resistance of the battery pack, Indicates the initial voltage.

[0096] In the present invention, in order to ensure the accuracy of the constant voltage discharge of the inverter to its own AC side, this solution needs to first determine the discharge voltage value of the inverter for constant voltage discharge to its own AC side, wherein the determination of the discharge voltage value needs to consider the minimum number of normal batteries corresponding to the voltage fuzzy range where the initial voltage is located, because the voltage fuzzy range can correspond to both normal batteries with the minimum normal number of batteries and undervoltage batteries with a larger number of batteries. Therefore, in order to reduce the error of the constant voltage discharge process and improve the accuracy of the constant voltage discharge process, it is necessary to ensure that the batteries with the minimum normal number of batteries can reduce the same voltage drop, that is, the second preset voltage value; in addition, after determining the discharge voltage value, the inverter can be controlled to perform constant voltage discharge to its own AC side based on the discharge voltage value, and the discharge power of the inverter during constant voltage discharge and the post-discharge voltage of the battery pack can be obtained, and then the discharge current of the battery pack during constant voltage discharge can be determined, so as to finally calculate the internal resistance of the battery pack, thereby ensuring the integrity of the process of determining the internal resistance of the battery pack under constant voltage discharge.

[0097] It should be noted that during the process of the inverter charging the battery pack at a constant voltage in the reverse direction and discharging the inverter to its own AC side at a constant voltage, since the charging and discharging voltages are constant, the voltages across the battery pack are almost equal to the corresponding charging voltage and discharging voltage values.

[0098] As an optional embodiment, determining the standard battery voltage type corresponding to the battery pack based on the internal resistance of the battery pack includes:

[0099] Determining the initial battery voltage type corresponding to the battery pack based on the minimum number of normal batteries corresponding to the voltage fuzzy range in which the initial voltage is located;

[0100] Verify that the initial battery voltage type is reasonable based on the internal resistance of the battery pack;

[0101] If the initial battery voltage type is reasonable, the initial battery voltage type is used as the standard battery voltage type;

[0102] If the initial battery voltage type is unreasonable, the initial battery voltage type is increased by one level, and the battery pack is charged to the full charge state corresponding to the initial battery voltage type after the level is increased. The voltage value corresponding to the full charge state is used as the new initial voltage, and the step of determining whether the initial voltage is in the charging detection interval or the discharging detection interval of the voltage fuzzy range is triggered at a preset time interval until the initial battery voltage type is reasonable.

[0103] In the present invention, because the minimum normal number of batteries corresponding to the voltage fuzzy range is at normal voltage or the number of batteries greater than the minimum normal number is in undervoltage state, in order to determine the standard battery voltage type, it is necessary to start verification from the initial battery voltage type corresponding to the minimum normal number of batteries, and gradually increase the level of the initial battery voltage type according to the verification result until the verified initial battery voltage type is reasonable, wherein the verification result of whether the initial battery voltage type is reasonable is obtained based on the internal resistance of the battery pack. If the initial battery voltage type is reasonable, the initial battery voltage type is used as the standard battery voltage type; otherwise, if the initial battery voltage type is unreasonable, the initial battery voltage type is increased by one level, and the battery pack is charged to the full charge state corresponding to the initial battery voltage type after the level is increased. For example: if the initial battery voltage type is , the corresponding minimum number of normal batteries is 1. After one level is increased, the minimum number of normal batteries becomes 2, and the new initial battery voltage type becomes , which means that at least two batteries have normal voltage. At this time, in order to charge the battery pack voltage to In the fully charged state, if the initial battery voltage type is determined to be unreasonable, it can be proved that the number of batteries in the battery pack is greater than 2 and there are redundant undervoltage batteries. It is necessary to continue to increase the level of the initial battery voltage type and repeat the judgment to ensure the accuracy and completeness of the standard battery voltage type determination process.

[0104] As an optional embodiment, verifying whether the initial battery voltage type is reasonable based on the internal resistance of the battery pack includes:

[0105] Determine whether the internal resistance of the battery pack is less than a preset internal resistance threshold;

[0106] If the internal resistance of the battery pack is less than the preset internal resistance threshold, the initial battery voltage type is determined to be reasonable;

[0107] If the internal resistance of the battery pack is not less than the preset internal resistance threshold, it is determined that the initial battery voltage type is unreasonable.

[0108] In the present invention, it is considered that the internal resistance of the battery changes with the change of the battery capacity. When the battery capacity is low, the internal resistance increases significantly, and when the battery capacity is high, the internal resistance decreases significantly. Therefore, after the battery pack is overcharged or discharged, its internal resistance will definitely change. Then, it is possible to judge whether the initial battery voltage type is reasonable based on the internal resistance of the battery pack, that is, to judge whether the internal resistance of the battery pack is less than the preset internal resistance threshold. If the internal resistance of the battery pack is less than the preset internal resistance threshold, that is, , R represents the internal resistance of the battery pack, R thIf the internal resistance of the battery pack exceeds the preset internal resistance threshold, the battery capacity is judged to be healthy and the initial battery voltage type is reasonable. Conversely, if the internal resistance of the battery pack is not less than the preset internal resistance threshold, the initial battery voltage type is judged to be unreasonable. This ensures the integrity of the initial battery voltage type rationality judgment process.

[0109] As an optional embodiment, before determining whether the initial voltage is within the charge detection interval or the discharge detection interval of the voltage fuzzy range, the method further includes:

[0110] Determine whether the minimum number of normal batteries corresponding to the voltage fuzzy range in which the initial voltage is located is less than a preset number;

[0111] If the minimum number of normal batteries corresponding to the voltage fuzzy range in which the initial voltage is located is less than a preset number, triggering the step of determining whether the initial voltage is in the charging detection interval or the discharging detection interval of the voltage fuzzy range;

[0112] If the minimum number of normal batteries corresponding to the voltage fuzzy range where the initial voltage is located is not less than the preset number, the battery pack is charged at constant voltage, and the standard battery voltage type corresponding to the battery pack is determined according to the charging current during the constant voltage charging process.

[0113] In the present invention, considering that when the minimum number of normal batteries corresponding to the voltage fuzzy range where the initial voltage is located is too large, adjacent voltage fuzzy ranges may intersect, and thus it is impossible to accurately determine which adjacent voltage fuzzy range the standard battery voltage type of the battery pack corresponds to, this solution needs to first determine the size value of the minimum number of normal batteries before determining whether the initial voltage is in the charging detection interval or the discharging detection interval of the voltage fuzzy range. When the minimum number of normal batteries corresponding to the voltage fuzzy range where the initial voltage is located is less than the preset number, it proves that the minimum number of normal batteries is appropriate and it is not in the intersection of adjacent voltage fuzzy ranges, so it can be subjected to subsequent charge and discharge detection; on the contrary, if the minimum number of normal batteries corresponding to the voltage fuzzy range where the initial voltage is located is not less than the preset number, it means that it is in the intersection of adjacent voltage fuzzy ranges, so it is necessary to charge the battery pack at a constant voltage to determine the standard battery voltage type corresponding to the battery pack based on the charging current of the constant voltage charging process, thereby improving the accuracy of the solution.

[0114] It should be noted that the normal range of lead-acid batteries is , the maximum voltage is , is the initial voltage, if the battery voltage This range is the voltage fuzzy range, which may be a normal battery voltage or 2~4 batteries in a serious undervoltage state. This voltage range corresponds to Battery voltage type, the charging detection interval of this fuzzy interval is , the discharge detection interval is ;if , then the number of lead-acid batteries is judged to be 2 or more, and the fuzzy interval is There may be two batteries in full charge state, or three or four batteries in undervoltage state. This voltage range corresponds to Battery voltage type, the charging detection interval of this fuzzy interval is , the discharge detection interval is ;if , then the number of lead-acid batteries is judged to be 3 or more, and the fuzzy interval is In between, there may be 3 batteries in full charge state or 4 batteries in undervoltage state. This voltage range corresponds to Battery voltage type, the charging detection interval of this fuzzy interval is , the discharge detection interval is ;if , it is judged that the number of lead-acid batteries is more than 3 and the battery capacity is not fully charged. This voltage range corresponds to Battery voltage type. If the battery voltage is not within the fuzzy range, first charge the battery voltage to the maximum value of the current voltage type through three-stage charging. When the number of lead-acid batteries is greater than 5, the battery voltage may be greater than Less than , at this time it may be in voltage type Normal voltage range of lead-acid batteries Inside, and voltage type Normal voltage range of lead-acid batteries In this case, the battery is in the normal voltage range and the battery resistance will not increase significantly. At this time, the battery voltage type cannot be determined by the internal resistance. The battery voltage should be charged to the maximum voltage of the current voltage type first, and then constant voltage charging is used to determine whether the battery is fully charged based on the charging current. The specific process of adjusting the corresponding battery voltage type is as follows: Figure 4 As shown, the judgment process of the charging detection interval and the discharging detection interval is as follows Figure 5 shown.

[0115] It should also be noted that, taking the normal voltage range of lead-acid batteries as an example: the normal range of lead-acid batteries is 10.5V~14V, and the maximum voltage is 15V. If the battery voltage is between 10.5V~15V, this range is a voltage fuzzy range, which may be a normal voltage of 1 battery, or 2~4 batteries may be in a serious undervoltage state. This voltage range corresponds to the 12V battery voltage type. The charging detection interval of this fuzzy interval is 10.5V~14V, and the discharge detection interval is 14V~15V; if the battery voltage is between 15V~30V, it is judged that the number of lead-acid batteries is 2 or more. At this time, the fuzzy interval is between 21V~30V, which may be a normal voltage of 2 batteries or 3~4 batteries may be in an undervoltage state. The voltage range corresponds to a 24V battery type. The charging detection range for this fuzzy interval is 21V-28V, and the discharging detection range is 28V-30V. If the battery voltage is between 30V-45V, the number of lead-acid batteries is determined to be three or more. In this case, the fuzzy interval is between 31.5V-45V, indicating that three batteries may be fully charged or four batteries may be undervoltage. This voltage range corresponds to a 36V battery type. The charging detection range for this fuzzy interval is 31.5V-42V, and the discharging detection range is 42V-45V. If the battery voltage is between 45V-56V, the number of lead-acid batteries is determined to be more than three and the battery capacity is not fully charged. This voltage range corresponds to a 48V battery type. If the battery voltage is not within the fuzzy interval, the battery voltage is first charged to the maximum value of the current voltage type through three-stage charging. When the lead-acid battery voltage is greater than 52.5V, the battery voltage may be greater than the normal minimum voltage of 52.5V for 5 batteries and less than the normal minimum voltage of 6 batteries, 63V. That is, when the number of lead-acid batteries in the battery pack is not less than 5, the voltage fuzzy range has an intersection. At this time, the voltage is within the normal voltage range of 52.5V~70V for 5 12V lead-acid batteries and the normal voltage range of 63~84 for 6 12V lead-acid batteries. In this case, the battery is at normal capacity and the battery resistance will not increase significantly. At this time, the battery voltage type cannot be determined by internal resistance. The battery voltage should be charged to the maximum voltage of the current voltage type first, and then constant voltage charging is used to determine whether the battery is fully charged according to the charging current. The specific processes of charging detection and discharge detection are as follows: Figure 6 and Figure 7 shown.

[0116] As an optional embodiment, constant voltage charging is performed on the battery pack, and the standard battery voltage type corresponding to the battery pack is determined according to the charging current during the constant voltage charging process, including:

[0117] Determine the minimum number of normal batteries corresponding to the voltage fuzzy range in which the initial voltage is located;

[0118] Charging the battery pack at a constant voltage to a fully charged state corresponding to the minimum number of normal batteries, and determining a second charging current corresponding to the constant voltage charging process;

[0119] Determining whether the second charging current is greater than a preset current threshold;

[0120] If the second charging current is not greater than the preset current threshold, the battery voltage type corresponding to the minimum number of normal batteries is used as the standard battery voltage type;

[0121] If the second charging current is greater than the preset current threshold, it is determined that the battery pack is not fully charged, the minimum number of normal batteries is increased by one, and the step of constant voltage charging the battery pack to the full charge state corresponding to the minimum number of normal batteries is triggered, until the Sth charging current is not greater than the preset current threshold and the corresponding battery voltage type is used as the standard battery voltage type, where S is a positive integer not less than 3.

[0122] In the present invention, if the minimum number of normal batteries corresponding to the voltage fuzzy range in which the initial voltage is located is not less than the preset number, it means that it is in the intersection of adjacent voltage fuzzy ranges. At this time, the number of batteries corresponding to the initial voltage has a maximum value and a minimum value, and corresponds to two adjacent voltage fuzzy ranges respectively. In order to avoid the problem of overcharging of the battery pack, it is necessary to first charge the battery pack at a constant voltage to a full charge state corresponding to the minimum number of normal batteries, and then determine the size relationship between the second charging current value and the preset current threshold during the charging process. If the second charging current is not greater than the preset current threshold, the battery voltage type corresponding to the minimum number of normal batteries is used as the standard voltage type; conversely, if the second charging current is greater than the preset current threshold, it can be determined that the battery pack is not charged to a full charge state. At this time, it is necessary to add one to the minimum number of normal batteries and trigger the step of charging the battery pack at a constant voltage to a full charge state corresponding to the minimum number of normal batteries, until the charging current finally determined is not greater than the preset current threshold. The final corresponding battery voltage type is the standard battery voltage type, ensuring the integrity of the solution.

[0123] It should be noted that the battery is fully charged based on the charging current. V, record the current charging power P, and calculate the current charging current ,when, The battery is judged to be not fully charged and the battery voltage type is increased.

[0124] Please refer to Figure 8 , Figure 8 This is a schematic diagram of the structure of a battery voltage type determination device provided by the present invention. The battery voltage type determination device includes:

[0125] An acquisition module 11 is configured to acquire an initial voltage of a battery pack on the DC side of the inverter, where the battery pack includes M batteries, where M is a positive integer not less than 1;

[0126] A determination module 12 is configured to determine whether the initial voltage is within a charge detection interval or a discharge detection interval of a voltage fuzzy range;

[0127] A first determination module 13 is configured to control the inverter to charge the battery pack with a reverse constant voltage when the initial voltage is in the charging detection interval, and to determine the internal resistance of the battery pack during the reverse constant voltage charging process;

[0128] The second determination module 14 is configured to control the battery pack to discharge at a constant voltage to its own AC side through the inverter when the initial voltage is in the discharge detection interval, and to determine the internal resistance of the battery pack during the constant voltage discharge process;

[0129] a determination module 15, configured to determine a standard battery voltage type corresponding to the battery pack based on the internal resistance of the battery pack;

[0130] Among them, different standard battery voltage types correspond to different voltage fuzzy ranges. The voltage fuzzy range is the voltage range between the sum of the minimum standard voltages of N batteries and the sum of the maximum rated voltages. N is the minimum number of normal batteries corresponding to the standard battery voltage type, N≤M. The charging detection interval is the voltage range between the sum of the minimum standard voltages of N batteries and the sum of the maximum standard voltages. The discharging detection interval is the voltage range between the sum of the maximum standard voltages of N batteries and the sum of the maximum rated voltages. The minimum standard voltage of the battery is less than the maximum standard voltage of the battery, and the maximum standard voltage of the battery is less than the maximum rated voltage of the battery.

[0131] Please refer to Figure 9 , Figure 9 This is a schematic diagram of the structure of an electronic device provided by the present invention. The electronic device includes:

[0132] Memory 20, for storing computer programs;

[0133] The processor 21 is configured to implement the steps of the above-mentioned method for determining the battery voltage type when executing a computer program.

[0134] The electronic device provided in this embodiment may include but is not limited to a smart phone, a tablet computer, a laptop computer, or a desktop computer.

[0135] Among them, the processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 21 can be implemented in at least one hardware form of a digital signal processor (DSP), a field programmable gate array (FPGA), and a programmable logic array (PLA). The processor 21 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a central processing unit (CPU); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 21 may be integrated with a graphics processing unit (GPU), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 21 may also include an artificial intelligence (AI) processor, which is used to process computing operations related to machine learning.

[0136] The memory 20 may include one or more computer-readable storage media, which may be non-transitory. The memory 20 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In this embodiment, the memory 20 is used to store at least the following computer program 201, wherein, after the computer program is loaded and executed by the processor 21, it can implement the relevant steps of the battery voltage type determination method disclosed in any of the aforementioned embodiments. In addition, the resources stored in the memory 20 may also include an operating system 202 and data 203, etc., and the storage method may be temporary storage or permanent storage. Among them, the operating system 202 may include Windows, Unix, Linux, etc. The data 203 may include but is not limited to the battery voltage type determination method, etc.

[0137] In some embodiments, the electronic device may further include a display screen 22 , an input / output interface 23 , a communication interface 24 , a power supply 25 , and a communication bus 26 .

[0138] Those skilled in the art will understand that Figure 9 The structure shown in the figure does not constitute a limitation of the electronic device, and may include more or fewer components than shown in the figure.

[0139] The present embodiment aims to provide an electronic device in which the memory 20 is used to store a computer program and the processor 21 is used to implement the steps of the above-mentioned battery voltage type determination method when executing the computer program, so that the determination process is more efficient and accurate.

[0140] The present invention also provides an embodiment corresponding to a computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the above-mentioned method for determining the battery voltage type are implemented.

[0141] It is understood that if the methods in the above embodiments are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the portion that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and executes all or part of the steps of the methods in each embodiment of the present invention. The aforementioned storage medium includes various media that can store program code, such as a USB flash drive, a mobile hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0142] The computer-readable storage medium provided in this embodiment corresponds to the above method and therefore has the same beneficial effects as the above method. Therefore, for the embodiments of the computer-readable storage medium part, please refer to the description of the embodiments of the method part, which will not be repeated here.

[0143] It should be noted that, in this specification, relational terms such as first and second, etc. are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprises", "comprising" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprising a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element.

[0144] The above description of the disclosed embodiments is intended to enable one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention is not limited to the embodiments shown herein but is intended to conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for determining a battery voltage type, characterized in that: include: Obtaining an initial voltage of a battery pack on a DC side of the inverter, where the battery pack includes M batteries, where M is a positive integer not less than 1; Determining whether the initial voltage is within a charge detection interval or a discharge detection interval of a voltage fuzzy range; If the initial voltage is within the charging detection interval, controlling the inverter to charge the battery pack with a reverse constant voltage, and determining the internal resistance of the battery pack during the reverse constant voltage charging process; If the initial voltage is within the discharge detection interval, controlling the battery pack to discharge at a constant voltage to its own AC side through the inverter, and determining the internal resistance of the battery pack during the constant voltage discharge process; determining a standard battery voltage type corresponding to the battery pack based on the internal resistance of the battery pack; Among them, different standard battery voltage types correspond to different voltage fuzzy ranges. The voltage fuzzy range is the voltage range between the sum of the minimum standard voltages of N batteries and the sum of the maximum rated voltages, where N is the minimum number of normal batteries corresponding to the standard battery voltage type, and N≤M. The charging detection interval is the voltage range between the sum of the minimum standard voltages of the N batteries and the sum of the maximum standard voltages. The discharging detection interval is the voltage range between the sum of the maximum standard voltages of the N batteries and the sum of the maximum rated voltages. The minimum standard voltage of the battery is less than the maximum standard voltage of the battery, and the maximum standard voltage of the battery is less than the maximum rated voltage of the battery. The determining the standard battery voltage type corresponding to the battery pack based on the internal resistance of the battery pack includes: determining an initial battery voltage type corresponding to the battery pack based on a minimum number of normal batteries corresponding to a voltage fuzzy range within which the initial voltage lies; Verifying whether the initial battery voltage type is reasonable based on the internal resistance of the battery pack; If the initial battery voltage type is reasonable, the initial battery voltage type is used as the standard battery voltage type; If the initial battery voltage type is unreasonable, the initial battery voltage type is increased by one level, and the battery pack is charged to the full charge state corresponding to the initial battery voltage type after the level is increased. The voltage value corresponding to the full charge state is used as the new initial voltage, and the step of determining whether the initial voltage is in the charging detection interval or the discharging detection interval of the voltage fuzzy range is triggered at a preset time interval until the initial battery voltage type is reasonable.

2. The method for determining the battery voltage type according to claim 1, wherein: The controlling the inverter to charge the battery pack with a reverse constant voltage and determining the internal resistance of the battery pack during the reverse constant voltage charging process includes: Determining a charging voltage value for reverse constant voltage charging of the battery pack by the inverter, wherein the charging voltage value=N×a first preset voltage value+the initial voltage; Controlling the inverter to charge the battery pack with a reverse constant voltage based on the charging voltage value, and obtaining the AC side charging power of the inverter and the charged voltage of the battery pack during reverse constant voltage charging; Determining a first charging current of the battery pack during reverse constant voltage charging according to the AC side charging power, the charged voltage of the battery pack, and a first charging current determination formula; determining the internal resistance of the battery pack based on the first charging current, the initial voltage, the voltage after charging, and a first internal resistance determination formula; Wherein, the first charging current determination formula is: ; represents the first charging current, represents the AC side charging power, Indicates the charged voltage of the battery pack; The first internal resistance determination formula is: ; represents the internal resistance of the battery pack, represents the initial voltage.

3. The method for determining the battery voltage type according to claim 1, wherein: The controlling the battery pack to discharge at a constant voltage to its own AC side through the inverter and determining the internal resistance of the battery pack during the constant voltage discharge process includes: Determine a discharge voltage value for constant voltage discharge of the inverter to its own AC side, wherein the discharge voltage value = the initial voltage - N × a second preset voltage value; Controlling the inverter to discharge to its own AC side at a constant voltage based on the discharge voltage value, and obtaining the discharge power of the inverter and the post-discharge voltage of the battery pack during the constant voltage discharge; determining a discharge current of the battery pack during constant voltage discharge based on the discharge power, the post-discharge voltage, and a discharge current determination formula; determining the internal resistance of the battery pack according to the discharge current, the initial voltage, the post-discharge voltage, and a second internal resistance determination formula; Wherein, the discharge current determination formula is: ; represents the discharge current, represents the discharge power, represents the post-discharge voltage; The second internal resistance determination formula is: ; represents the internal resistance of the battery pack, represents the initial voltage.

4. The method for determining the battery voltage type according to claim 1, wherein: Verifying whether the initial battery voltage type is reasonable based on the internal resistance of the battery pack includes: Determining whether the internal resistance of the battery pack is less than a preset internal resistance threshold; If the internal resistance of the battery pack is less than the preset internal resistance threshold, determining that the initial battery voltage type is reasonable; If the internal resistance of the battery pack is not less than the preset internal resistance threshold, it is determined that the initial battery voltage type is unreasonable.

5. The method for determining the battery voltage type according to any one of claims 1 to 4, wherein: Before determining whether the initial voltage is in the charge detection interval or the discharge detection interval of the voltage fuzzy range, the method further includes: Determining whether the minimum number of normal batteries corresponding to the voltage fuzzy range in which the initial voltage is located is less than a preset number; If the minimum number of normal batteries corresponding to the voltage fuzzy range in which the initial voltage is located is less than a preset number, triggering the step of determining whether the initial voltage is in the charging detection interval or the discharging detection interval of the voltage fuzzy range; If the minimum number of normal batteries corresponding to the voltage fuzzy range in which the initial voltage is located is not less than a preset number, the battery pack is charged at a constant voltage, and the standard battery voltage type corresponding to the battery pack is determined according to the charging current during the constant voltage charging process.

6. The method for determining the battery voltage type according to claim 5, wherein: The constant voltage charging of the battery pack and determining the standard battery voltage type corresponding to the battery pack according to the charging current during the constant voltage charging process include: Determine the minimum number of normal batteries corresponding to the voltage fuzzy range within which the initial voltage lies; charging the battery pack at a constant voltage until it reaches a fully charged state corresponding to the minimum number of normal batteries, and determining a second charging current corresponding to the constant voltage charging process; Determining whether the second charging current is greater than a preset current threshold; If the second charging current is not greater than the preset current threshold, using the battery voltage type corresponding to the minimum number of normal batteries as the standard battery voltage type; If the second charging current is greater than the preset current threshold, it is determined that the battery pack is not fully charged, the minimum number of normal batteries is increased by one, and the step of constant voltage charging the battery pack to the full charge state corresponding to the minimum number of normal batteries is triggered, until the Sth charging current is not greater than the preset current threshold, and the corresponding battery voltage type is used as the standard battery voltage type, where S is a positive integer not less than 3.

7. A device for determining battery voltage type, characterized in that: include: An acquisition module, configured to acquire an initial voltage of a battery pack on a DC side of the inverter, wherein the battery pack includes M batteries, where M is a positive integer not less than 1; a determination module, configured to determine whether the initial voltage is within a charge detection interval or a discharge detection interval of a voltage fuzzy range; a first determination module, configured to control the inverter to charge the battery pack with a reverse constant voltage when the initial voltage is in a charging detection interval, and determine the internal resistance of the battery pack during the reverse constant voltage charging process; a second determination module, configured to control the battery pack to discharge at a constant voltage to its own AC side through the inverter when the initial voltage is in the discharge detection interval, and determine the internal resistance of the battery pack during the constant voltage discharge process; a determination module, configured to determine a standard battery voltage type corresponding to the battery pack based on an internal resistance of the battery pack; Among them, different standard battery voltage types correspond to different voltage fuzzy ranges. The voltage fuzzy range is the voltage range between the sum of the minimum standard voltages of N batteries and the sum of the maximum rated voltages, where N is the minimum number of normal batteries corresponding to the standard battery voltage type, and N≤M. The charging detection interval is the voltage range between the sum of the minimum standard voltages of the N batteries and the sum of the maximum standard voltages. The discharging detection interval is the voltage range between the sum of the maximum standard voltages of the N batteries and the sum of the maximum rated voltages. The minimum standard voltage of the battery is less than the maximum standard voltage of the battery, and the maximum standard voltage of the battery is less than the maximum rated voltage of the battery. The determining module is specifically configured to: determining an initial battery voltage type corresponding to the battery pack based on a minimum number of normal batteries corresponding to a voltage fuzzy range within which the initial voltage lies; Verifying whether the initial battery voltage type is reasonable based on the internal resistance of the battery pack; If the initial battery voltage type is reasonable, the initial battery voltage type is used as the standard battery voltage type; If the initial battery voltage type is unreasonable, the initial battery voltage type is increased by one level, and the battery pack is charged to the full charge state corresponding to the initial battery voltage type after the level is increased. The voltage value corresponding to the full charge state is used as the new initial voltage, and the step of determining whether the initial voltage is in the charging detection interval or the discharging detection interval of the voltage fuzzy range is triggered at a preset time interval until the initial battery voltage type is reasonable.

8. An electronic device, characterized in that: include: Memory for storing computer programs; A processor, configured to implement the steps of the method for determining the battery voltage type according to any one of claims 1 to 6 when executing the computer program.

9. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the method for determining the battery voltage type according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Battery pack consistency evaluation method and system

    CN111707951A

  • Battery lithium plating detection method and apparatus, and device, vehicle, medium and program product

    WO2025036428A1