CN115498295A - State of charge detection method and device, energy storage equipment and medium - Google Patents
State of charge detection method and device, energy storage equipment and medium Download PDFInfo
- Publication number
- CN115498295A CN115498295A CN202211166801.6A CN202211166801A CN115498295A CN 115498295 A CN115498295 A CN 115498295A CN 202211166801 A CN202211166801 A CN 202211166801A CN 115498295 A CN115498295 A CN 115498295A
- Authority
- CN
- China
- Prior art keywords
- state
- charge
- shutdown
- identifier
- energy storage
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000004146 energy storage Methods 0.000 title claims abstract description 99
- 238000001514 detection method Methods 0.000 title claims abstract description 41
- 230000002159 abnormal effect Effects 0.000 claims abstract description 65
- 238000000034 method Methods 0.000 claims abstract description 46
- 230000008569 process Effects 0.000 claims abstract description 13
- 238000004590 computer program Methods 0.000 claims description 9
- 238000006243 chemical reaction Methods 0.000 description 24
- 238000007599 discharging Methods 0.000 description 14
- 230000006870 function Effects 0.000 description 9
- 238000010586 diagram Methods 0.000 description 8
- 230000001960 triggered effect Effects 0.000 description 8
- 230000009471 action Effects 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 3
- 239000004065 semiconductor Substances 0.000 description 3
- 230000009977 dual effect Effects 0.000 description 2
- 230000005669 field effect Effects 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 238000004134 energy conservation Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 238000003912 environmental pollution Methods 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- GELKBWJHTRAYNV-UHFFFAOYSA-K lithium iron phosphate Chemical compound [Li+].[Fe+2].[O-]P([O-])([O-])=O GELKBWJHTRAYNV-UHFFFAOYSA-K 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 239000003208 petroleum Substances 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H01—ELECTRIC ELEMENTS
- H01M—PROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
- H01M10/00—Secondary cells; Manufacture thereof
- H01M10/42—Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
- H01M10/48—Accumulators combined with arrangements for measuring, testing or indicating the condition of cells, e.g. the level or density of the electrolyte
-
- H—ELECTRICITY
- H01—ELECTRIC ELEMENTS
- H01M—PROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
- H01M10/00—Secondary cells; Manufacture thereof
- H01M10/42—Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
- H01M10/425—Structural combination with electronic components, e.g. electronic circuits integrated to the outside of the casing
-
- H—ELECTRICITY
- H01—ELECTRIC ELEMENTS
- H01M—PROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
- H01M10/00—Secondary cells; Manufacture thereof
- H01M10/42—Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
- H01M10/425—Structural combination with electronic components, e.g. electronic circuits integrated to the outside of the casing
- H01M2010/4278—Systems for data transfer from batteries, e.g. transfer of battery parameters to a controller, data transferred between battery controller and main controller
Landscapes
- Engineering & Computer Science (AREA)
- Manufacturing & Machinery (AREA)
- Chemical & Material Sciences (AREA)
- Chemical Kinetics & Catalysis (AREA)
- Electrochemistry (AREA)
- General Chemical & Material Sciences (AREA)
- Microelectronics & Electronic Packaging (AREA)
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
The application belongs to the technical field of energy, and particularly relates to a state of charge detection method, a state of charge detection device, energy storage equipment and a medium. The machine identifier and a normal shutdown identifier; if the shutdown identifier is an abnormal shutdown identifier, inquiring an error code according to the abnormal shutdown identifier; and determining the actual state of charge of the battery according to the inquiry result of the error code and the cache state of charge. Therefore, the method for detecting the state of charge provided by the application can determine the actual state of charge of the battery according to the query result of the shutdown identifier and the error code in the charging process of the energy storage device, so that the method for detecting the state of charge of the energy storage device when abnormal shutdown is caused by undervoltage is avoided, and the method comprises the following steps: the method comprises the steps that a shutdown identifier and a cache charge state stored in the energy storage device are obtained when the energy storage device is powered on, the shutdown identifier comprises an abnormal shutdown and records the actual charge state in time, so that a user cannot know and continuously uses the energy storage device to discharge, and the energy storage device is damaged.
Description
Technical Field
The invention relates to the technical field of new energy, in particular to a method and a device for detecting the state of charge of a battery pack, energy storage equipment and a medium.
Background
With the gradual reduction of petroleum resources and the gradual serious environmental pollution, the environmental protection and energy conservation become the trend and trend in the world at present. In recent years, the number of mechanical devices and energy storage products using batteries as a main power source or a part of the power source has been increasing. It can be seen that, under the current technological development trend, the application fields and the application degree of the batteries are increasing, and the importance of the batteries as energy sources is also gradually increasing.
The charging and discharging protection of the battery generally comprises hardware protection and software protection dual protection, and the software protection is usually triggered before the hardware protection. For most batteries, in order to save cost, the software protection part and the hardware protection part are not disposed on the same circuit board, for example, a hardware protection circuit is disposed on a certain circuit board and packaged together with the BATTERY cell as a BATTERY pack, and a software protection part such as a BMS (BATTERY MANAGEMENT SYSTEM) chip is integrated on another circuit board and connected to the BATTERY pack. The battery-associated circuit boards are typically powered by batteries. When the battery pack discharges, if the software protection lags behind the hardware protection, the battery will discharge to undervoltage and then trigger the hardware protection to directly cut off a discharge loop, so that the BMS chip suddenly cuts off power, and the real residual capacity of the battery cannot be stored before the BMS chip cuts off power.
Disclosure of Invention
The invention mainly aims to provide a method and a device for detecting the state of charge, energy storage equipment and a medium, and aims to ensure that the actual state of charge of a battery can be determined according to a query result of a shutdown identifier and an error code after the energy storage equipment is powered on.
According to an aspect of the embodiments of the present application, a method for detecting a state of charge is disclosed, which is applied to an energy storage device, and the method includes:
the method comprises the steps that when the energy storage device is powered on, a shutdown identifier and a cache charge state which are stored in the energy storage device are obtained, wherein the shutdown identifier comprises an abnormal shutdown identifier and a normal shutdown identifier;
if the shutdown identifier is an abnormal shutdown identifier, inquiring an error code according to the abnormal shutdown identifier;
and determining the actual state of charge of the battery according to the inquiry result of the error code and the cache state of charge.
In some embodiments of the present application, based on the above technical solutions, the determining the actual state of charge of the battery according to the error code query result and the cache state of charge includes:
and if the error code is inquired, determining the obtained cache charge state as the actual charge state of the battery.
In some embodiments of the present application, based on the above technical solution, after the error code is queried, the method further includes:
detecting the type of the inquired error codes;
and comparing the type of the inquired error code with preset reference data to output the trigger reason of abnormal shutdown of the energy storage device.
In some embodiments of the present application, based on the above technical solutions, determining the actual state of charge of the battery according to the error code query result and the cache state of charge includes:
and if the error code is not inquired, assigning the actual state of charge to be zero.
In some embodiments of the present application, based on the above technical solution, after the shutdown identifier is obtained during the power-on, the method further includes:
and resetting the shutdown identifier as an abnormal shutdown identifier.
In some embodiments of the present application, based on the above technical solution, after the resetting the shutdown identifier to the abnormal shutdown identifier, the method further includes:
if a shutdown instruction is received, storing the current actual charge state as a cache charge state;
assigning the shutdown identifier as a normal shutdown identifier;
and executing the shutdown instruction.
In some embodiments of the present application, based on the above technical solutions, the state of charge detection method further includes:
acquiring discharge parameters of the battery in a discharge process;
when the discharge parameters meet the undervoltage protection conditions, storing the current actual charge state as a cache charge state, and storing corresponding error codes according to the types of the discharge parameters meeting the undervoltage protection conditions;
and executing the undervoltage protection operation.
According to another aspect of the embodiments of the present application, a state of charge detection method is disclosed, which is applied to an energy storage device, and the method includes:
the method comprises the steps of acquiring a shutdown identifier and a cache charge state of a battery during power-on, wherein the shutdown identifier comprises a normal shutdown identifier and an abnormal shutdown identifier;
when the shutdown identifier is a normal shutdown identifier, determining the cache charge state as the actual charge state of the battery;
and when the shutdown identifier is an abnormal shutdown identifier, determining the actual state of charge to be zero.
According to an aspect of an embodiment of the present application, a state of charge detection device is disclosed, including:
the system comprises an acquisition module, a storage module and a control module, wherein the acquisition module is configured to acquire a shutdown identifier and a cache charge state stored in the energy storage device when the energy storage device is powered on, and the shutdown identifier comprises an abnormal shutdown identifier and a normal shutdown identifier;
the query module is configured to query an error code according to the abnormal shutdown identifier if the shutdown identifier is the abnormal shutdown identifier;
and the determining module is configured to determine the actual state of charge of the battery according to the query result of the error code and the cache state of charge.
According to an aspect of an embodiment of the present application, there is provided a computer program product or a computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer readable storage medium, and executes the computer instructions, so that the computer device executes the state of charge detection method according to the above technical solution.
In the charge state detection method provided by the application, the energy storage device can read a shutdown identifier and a charge state stored in the energy storage device after being powered on, wherein the shutdown identifier includes an abnormal shutdown identifier corresponding to abnormal shutdown and a normal shutdown identifier corresponding to a shutdown action executed according to a shutdown instruction, and the charge state is used for reflecting the remaining electric quantity of the energy storage device. And when the shutdown identifier is the abnormal shutdown identifier, inquiring an error code for recording the trigger reason of the abnormal shutdown, finally judging whether the previously inquired cache charge state is accurate according to the inquiry result of the error code, and finally determining the actual charge state of the battery.
Therefore, the charge state detection method provided by the application can ensure that the energy storage device determines the actual charge state of the battery after being powered on according to the shutdown identification and the query result of the error code, so that the situation that the energy storage device cannot acquire and display the accurate charge state after being powered on due to the fact that the energy storage device cannot timely record/update the accurate charge state during under-voltage abnormal shutdown is avoided, and the use experience of a user is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application. It is obvious that the drawings in the following description are only some embodiments of the application, and that for a person skilled in the art, other drawings can be derived from them without inventive effort.
Fig. 1 shows a schematic application environment of one of the technical solutions of the embodiment of the present application.
Fig. 2 is a flowchart illustrating steps of a state of charge detection method applied to an energy storage device according to an embodiment of the present application.
Fig. 3 is a flowchart illustrating steps of a state of charge detection method applied to an energy storage device according to another embodiment of the present application.
Fig. 4 schematically shows a structural block diagram of a state of charge detection device provided in an embodiment of the present application.
Fig. 5 schematically shows a block diagram of an energy storage device provided in an embodiment of the present application.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art.
Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the application. One skilled in the relevant art will recognize, however, that the embodiments of the present application can be practiced without one or more of the specific details, or with other methods, components, devices, steps, and so forth. In other instances, well-known methods, devices, implementations, or operations have not been shown or described in detail to avoid obscuring aspects of the application.
The block diagrams shown in the figures are functional entities only and do not necessarily correspond to physically separate entities. I.e. these functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor means and/or microcontroller means.
The flowcharts shown in the figures are illustrative only and do not necessarily include all of the contents and operations/steps, nor do they necessarily have to be performed in the order described. For example, some operations/steps may be decomposed, and some operations/steps may be combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
The following detailed description will be made of technical solutions of a state of charge detection method, a state of charge detection device, a power conversion device, a storage medium, and the like according to the present application, with reference to specific embodiments.
Fig. 1 shows a schematic application environment of one embodiment of the present application. As shown in fig. 1, the battery pack 10 can be externally discharged or charged by an external power supply 30 through a power conversion circuit 40, and a BMS board 20 for managing charging and discharging of the battery pack 10 is generally provided on the battery pack 10.
As shown in fig. 1, the battery pack 10 may be composed of a plurality of battery cells 11, and for example, the battery cells 11 may be connected in series to form the battery pack 10. It is understood that the battery cells 11 may also be connected in parallel, or in other combinations, to form the battery pack 10, which is not limited in this application.
The BMS board 20 electrically connected to the battery pack 10 is generally disposed adjacent to the battery pack 10, and the BMS board 20 includes charge and discharge switching tubes 22 disposed on a discharge circuit of the battery pack 10. For example, as shown in fig. 1, the charge/discharge switch 22 may be a MOS Transistor (Metal-Oxide-Semiconductor Field-Effect Transistor, MOSFET, metal-Oxide-Semiconductor Field Effect Transistor). In other embodiments, other devices with a switching function may be used, such as an IGBT (Insulated Gate Bipolar Transistor) or a triode, etc. the BMS board 20 is further provided with an AFE chip (analog front end) 21 for detecting a battery charging parameter, for example, for collecting a voltage, a current temperature, a temperature of the charging/discharging switching tube 22 of the battery pack, and controlling the on/off of the charging/discharging switching tube 22, etc. it is understood that the AFE chip 21 may accurately detect different charging parameters of the battery pack 10 on the BMS board 20, such as a voltage, a current of a single cell 11, a temperature of the charging/discharging switching tube 22, etc.
The power conversion circuit 40 may be disposed on a circuit board to perform a voltage conversion function, such as ac/dc conversion or dc conversion, to charge the battery pack 10 or discharge the electric energy of the battery pack 10. The battery pack 10 is externally discharged and charged through the charge and discharge switching tubes 22 and the power conversion circuit 40 on the BMS board 20. The external power source 30 charges the battery pack 10 through the power conversion circuit 40, and the circuit board on which the power conversion circuit 40 is located may be provided with an interface to access the external power source 30.
It is understood that the power conversion circuit 40, the BMS board 20, and the battery pack 10 may be integrated into the same device to form an energy storage device, or may be separate devices to form an energy storage system. For example, the BMS board 20 and the battery pack 10 may form an independent energy storage device, the circuit board on which the power conversion circuit 40 is located may be an independent inverter device, different interfaces are provided on the inverter device to access the energy storage device formed by the battery pack 10, other external power sources and loads, the energy storage device is connected to the inverter device, the loads are powered through the inverter device, or the external power sources are charged, and thus, the external power sources, the inverter device and the energy storage device form an energy storage system.
It is to be understood that the power conversion circuit 40 may further include a controller (not shown in fig. 1) for executing the charging control method according to the embodiments of the present application.
It is understood that in some other embodiments, the power conversion circuit 40 may be disposed on different circuit boards, for example, the related circuits of the ac-dc conversion part are disposed on a first circuit board to realize the ac-dc conversion function, and the related circuits of the dc-dc conversion part are disposed on a second circuit board to realize the dc conversion function.
It should be noted that, in the related battery technology, the charging and discharging protection of the battery generally includes a hardware protection and a software protection dual protection, and the software protection is usually triggered before the hardware protection. When the battery pack is discharged, if the software protection lags behind the hardware protection, the battery is directly shut down by triggering the hardware protection after discharging to undervoltage, and the real residual electric quantity of the battery cannot be stored before the controller is powered off.
Specifically, taking a lithium iron phosphate battery cell as an example, the under-voltage point of a single battery cell is 2.5V, wherein the software under-voltage protection point is 2.7V, and the hardware under-voltage protection point is 2.5V. Still taking fig. 1 as an example, the circuit board, such as the BMS board 20, on which the hardware protection circuit is located is generally directly connected to each cell 11 in the battery pack 10. The controller for software protection is usually located on the power conversion circuit 40, and is usually connected to the battery pack 10 only through the positive and negative electrodes, i.e., P +, P-, and B +, B-. Assuming that the total voltage of the battery pack 10 having 4 strings of the battery cells 11 reaches about 10.8V in total, the average voltage of a single battery cell 11, which can only be obtained by the software according to the total voltage, is 2.7V, and the software undervoltage protection point is not reached, however, if the hardware directly detects that the voltage of a certain battery cell 11 is lower than 2.5V, that is, the hardware undervoltage protection point is reached, the hardware protection of the battery pack 10 is triggered, the charging and discharging switching tube 22 on the battery pack 10 is directly disconnected, and at this time, the controller powered by the battery pack 10 is directly powered off, so that the current SOC value cannot be stored in the memory, for example, in FLASH. When the battery pack is started next time, the equipment directly reads the stored historical SOC value, and at the moment, the SOC value cannot truly reflect the state of charge of the battery pack. For example, if the historical SOC value stored in the FLASH is 100, the battery pack 10 is discharged from the SOC value of 100 to the under-voltage shutdown, and the controller is suddenly powered off due to triggering of the hardware protection, and the SOC value in the FLASH cannot be updated in time before the shutdown, then the battery pack 10 is discharged to cause the under-voltage shutdown of the device, but the SOC is still displayed as 100 when the device is restarted.
In order to solve the above problem, fig. 2 shows a flowchart of steps of a state of charge detection method in an embodiment of the present application, as shown in fig. 1, the state of charge detection method is applied to a controller, and the state of charge detection method mainly includes steps S100 to S300 as follows.
The following describes each method step in the state of charge detection method in detail.
Step S100, obtaining a shutdown identifier and a cache charge state stored in the energy storage device when the energy storage device is powered on.
Specifically, the shutdown flag may include an abnormal shutdown flag and a normal shutdown flag. For example, the shutdown flag may be a flag, where 1 indicates normal shutdown and 0 indicates abnormal shutdown. When the controller detects a shutdown instruction each time, the controller executes related operations before shutdown, such as storage of related state information, for example, SOC storage, and the like, sets the shutdown identifier to 1 after the related operations are executed, and finally shuts down the power supply. Here, the shutdown instruction includes a user-triggered shutdown instruction. For example, a user may initiate a shutdown operation via an associated shutdown key or application. It can be understood that the shutdown flag is reset to 0 after being read every time, therefore, if the shutdown is triggered by the shutdown instruction again, the shutdown flag is set to 1 to identify that the shutdown is normal shutdown, and if the shutdown is caused by sudden power failure, the controller does not set the shutdown flag in time, and the shutdown flag remains to 0, which indicates that the shutdown is not normal shutdown.
When the energy storage device is powered on every time, the controller acquires the stored shutdown identifier and the cache charge state, and can determine whether the previous shutdown is normal or not according to the shutdown identifier, so that the acquired cache charge state is determined. Here, the cache state of charge is the state of charge stored in the energy storage device, and if the energy storage device is normally turned off, the cache state of charge is the actual state of charge when the energy storage device is turned on again.
Step S200, if the shutdown identifier is an abnormal shutdown identifier, an error code is inquired according to the abnormal shutdown identifier.
Specifically, when the shutdown identifier is the abnormal shutdown identifier, it indicates that the last shutdown is not the normal shutdown triggered after receiving the shutdown instruction. At this time, the controller may query an error code for recording a trigger reason for abnormal shutdown. It can be understood that the error code is set by the controller, different error codes are used for different shutdown types, that is, different protection types, and each time the controller detects that the condition of charge-discharge protection is met, the corresponding error code is set, and corresponding protection is triggered, for example, charging or discharging is stopped, and the current actual remaining power is stored as the buffer charge state while protection is performed. That is, even if the energy storage device is abnormally shut down, if the energy storage device generates an error code before power failure and shutdown, it indicates that the controller has stored the trusted SOC in time before shutdown.
And step S300, determining the actual state of charge of the battery according to the query result of the error code and the cache state of charge.
Specifically, as described above, it can be determined whether the energy storage device records the actual remaining power in time when the energy storage device is turned off last time according to whether the error code can be queried, and finally whether the current cache charge state is accurate and the actual charge state of the battery are determined.
According to the charge state detection method, the shutdown identification and the charge state stored in the energy storage device are read when the energy storage device is powered on, wherein the shutdown identification comprises an abnormal shutdown identification generated corresponding to abnormal shutdown and a normal shutdown identification generated corresponding to shutdown action execution according to a shutdown instruction, and the charge state is used for reflecting the residual electric quantity of the energy storage device. And when the shutdown identifier is the abnormal shutdown identifier, inquiring an error code for recording the trigger reason of the abnormal shutdown, finally judging whether the previously inquired cache charge state is accurate according to the inquiry result of the error code, and finally determining the actual charge state of the battery.
Therefore, the charge state detection method provided by the application can determine the actual charge state of the battery according to the shutdown identification and the error code query result in the charging process of the energy storage device, so that the situation that the energy storage device cannot acquire and display the accurate charge state after being powered on due to the fact that the energy storage device cannot update the accurate charge state timely when abnormal shutdown is caused by undervoltage is avoided, and the use experience of a user is improved. In addition, the method provided by the embodiment of the application can also avoid the problem that the energy storage equipment is continuously used for discharging because a user cannot know the accurate charge state, so that the energy storage equipment is damaged.
Further, on the basis of the above embodiment, the determining the actual state of charge of the battery according to the query result of the error code and the cache state of charge in step S300 includes the following step S301.
Step S301, if the error code is inquired, determining the obtained cache charge state as the actual charge state of the battery.
When the energy storage device can inquire an error code for recording a trigger reason of abnormal shutdown according to the abnormal shutdown identifier, which indicates that the energy storage device is in the state before the last shutdown, the controller records the state before the shutdown, that is, the current battery residual capacity is recorded as the cache charge state, so that the obtained cache charge state has accuracy and can reflect the actual residual capacity of the battery, and the cache charge state is determined as the actual charge state of the battery.
It should be noted that, in some embodiments, after the energy storage device obtains the error code when being powered on, the stored error code is cleared, so as to record a new error code generated when the energy storage device is powered off abnormally again, and also avoid the error code of the history cache from affecting the subsequent detection process.
Further, on the basis of the above embodiment, after the error code is queried in the above step S301, the method further includes the following steps S302 and S303.
Step S302, the type of the queried error code is detected.
Step S303, comparing the type of the queried error code with preset reference data, so as to output a trigger reason for abnormal shutdown of the energy storage device.
Specifically, different trigger reasons causing abnormal shutdown of the energy storage device correspond to different types of error codes respectively, so that specific trigger reasons can be determined according to the types of the error codes for reference of a user. For example, if the energy storage device triggers discharge high-temperature protection due to overhigh temperature during discharge, and abnormal shutdown is caused, an error code a is generated; if the energy storage equipment triggers discharge low-temperature protection due to too low temperature during discharge, and abnormal shutdown is caused, generating an error code B; if the energy storage equipment triggers discharge overcurrent protection due to overlarge current during discharge, and abnormal shutdown is caused, generating an error code C; if the energy storage device triggers the undervoltage protection due to the fact that the voltage is too low during discharging, abnormal shutdown is caused, and then the error code D is generated.
Therefore, the embodiment can output the specific trigger reason for abnormal shutdown of the energy storage device according to the type of the error code so as to be referred by a user, and the practicability and the user experience of the technical scheme are improved.
Further, on the basis of the above embodiment, the determining the actual state of charge of the battery according to the query result of the error code and the cache state of charge in step S300 further includes the following step S304.
Step S304, if the error code is not queried, assigning the actual state of charge to zero.
Specifically, if the energy storage device fails to query an error code according to the abnormal shutdown identifier, it indicates that the energy storage device is caused by undervoltage triggering hardware protection when the energy storage device is shutdown last time, and the controller fails to record the actual remaining power of the battery as the buffer state of charge in time, so that the queried buffer state of charge does not have accuracy, and the battery pack is actually in an undervoltage and discharge-incapable state, and then assigns the actual state of charge of the battery to zero.
Further, on the basis of the above embodiment, after the power-off identifier is acquired at the power-on time in the above step S100, the method further includes the following step S101.
And S101, resetting the shutdown identifier to be an abnormal shutdown identifier.
Specifically, after the energy storage device acquires the shutdown identifier, the shutdown identifier is reset to be the abnormal shutdown identifier, so that even if the energy storage device is abnormally shutdown due to some reason in the current state and fails to record the shutdown state, the energy storage device can acquire the shutdown identifier as the abnormal shutdown identifier when being powered on and started next time, and thus it is determined that the current shutdown of the energy storage device is the abnormal shutdown.
Further, on the basis of the above embodiment, after resetting the shutdown flag to the abnormal shutdown flag in the above step S101, the method further includes steps S102 to S104 as follows.
And step S102, if a shutdown instruction is received, storing the current actual state of charge as a cache state of charge.
Step S103, assigning the shutdown identifier as a normal shutdown identifier.
And step S104, executing the shutdown instruction.
Specifically, after the shutdown identifier is reset to the abnormal shutdown identifier by the energy storage device, that is, after the initial state of the shutdown identifier is the abnormal shutdown identifier. When a shutdown instruction is received, the controller executes a normal shutdown process, stores and records the actual charge state of the battery, namely the current residual electric quantity, assigns the shutdown identifier as a normal shutdown identifier so as to identify the shutdown as normal shutdown when the battery is powered on and started next time, and then executes the shutdown instruction.
Further, on the basis of the above embodiment, the method further includes steps S401 to S403 as follows.
Step S401, obtaining the discharge parameters of the battery in the discharge process.
Step S402, when the discharge parameter meets the undervoltage protection condition, storing the current actual charge state as the buffer charge state, and storing the corresponding error code according to the type of the discharge parameter meeting the undervoltage protection condition.
In step S403, an undervoltage protection operation is performed.
Specifically, when the energy storage device is in the discharging process, if the voltage of the battery is normally detected to be lower than the undervoltage protection threshold value, namely the discharging parameter meets the undervoltage protection condition, the undervoltage protection is triggered at the moment, the current actual charge state of the battery is stored and recorded, an error code corresponding to the undervoltage protection is generated, and then the undervoltage protection operation is executed to shut down the battery. The above process is a normal shutdown process after the controller triggers the under-voltage protection.
It should be noted that the undervoltage protection threshold is usually set to an empirical value of 2.7V, and may be set to other values in other embodiments, which is not specifically limited herein; and the undervoltage protection condition may be that the battery voltage is continuously lower than the undervoltage protection threshold value within a certain period of time, and if the battery voltage is continuously lower than 2.7V in 300ms, the discharge parameter is regarded as meeting the undervoltage protection condition.
Further, as shown in fig. 3, another embodiment of the present application discloses a state of charge detection method applied to an energy storage device, where the method includes the following steps S501 to S503.
Step S501, a shutdown identifier and a cache charge state of a battery are obtained during power-on, wherein the shutdown identifier comprises a normal shutdown identifier and an abnormal shutdown identifier.
Step S502, when the shutdown identifier is a normal shutdown identifier, determining the cache charge state as the actual charge state of the battery.
Step S503, when the shutdown identifier is an abnormal shutdown identifier, determining the actual state of charge as zero.
Different from the foregoing embodiments, in this embodiment, the shutdown identifier is not set immediately after receiving the shutdown instruction, but is set after recording the battery remaining capacity as the cache charge state after receiving the shutdown instruction, and then the shutdown action is executed. Or, when the energy storage device triggers hardware protection/software protection due to other factors such as over-temperature, low temperature or over-current in the discharging process, the remaining battery capacity is recorded as the buffer charge state, then the shutdown identifier is set as the normal shutdown identifier, and then the shutdown action is executed. That is, at this time, it can be directly determined whether the correct remaining battery capacity is recorded before shutdown through the shutdown identifier. As long as the energy storage device can record the remaining battery capacity as the cache charge state before shutdown, the shutdown identifier is set as the normal shutdown identifier. When the energy storage device is powered off suddenly due to triggering of the under-voltage protection, and the remaining battery capacity cannot be recorded as the buffer charge state before the energy storage device is powered off, the shutdown identifier is not set at the moment and is in a reset state, namely, an abnormal shutdown identifier. On the basis, when the energy storage device is powered on and started next time, if the controller reads that the shutdown identifier is the normal shutdown identifier from the memory, the accuracy of the cache charge state is determined, and the cache charge state is determined as the actual charge state of the battery; if the read shutdown identifier is an abnormal shutdown identifier, it can be determined that the actual remaining capacity of the storage battery must not be stored before the energy storage device is shut down last time, and the cache charge state is not accurate, so that the actual charge state is determined to be zero.
Therefore, the energy storage device in the embodiment can directly judge whether the buffer charge state is accurate according to the shutdown identifier without combining the error code, and determine the actual charge state of the battery, so that the operation steps and the operation cost required for determining the actual charge state are reduced, and the energy storage device has higher practicability in practical application.
Embodiments of the apparatus of the present application are described below, which may be used to implement the state of charge detection methods of the above-described embodiments of the present application. Fig. 4 schematically shows a block diagram of a state of charge detection apparatus provided in an embodiment of the present application. As shown in fig. 4, the state of charge detection device 400 includes:
the obtaining module 410 is configured to obtain a shutdown identifier and a cache charge state stored in the energy storage device when the energy storage device is powered on, where the shutdown identifier includes an abnormal shutdown identifier and a normal shutdown identifier;
a query module 420 configured to query an error code according to the abnormal shutdown identifier if the shutdown identifier is the abnormal shutdown identifier;
a determining module 430 configured to determine an actual state of charge of the battery according to the query result of the error code and the cache state of charge.
In an embodiment of the present application, based on the above embodiment, the determining module includes:
a first determining unit configured to determine the acquired cache state of charge as an actual state of charge of the battery if the error code is queried.
In an embodiment of the present application, based on the above embodiment, the determining module further includes:
a comparison unit configured to detect a type of the queried error code; and comparing the type of the inquired error code with preset reference data to output the trigger reason of abnormal shutdown of the energy storage device.
In an embodiment of the present application, based on the above embodiment, the determining module further includes:
a second determining unit configured to assign the actual state of charge to zero if the error code is not queried.
In an embodiment of the present application, based on the above embodiment, the obtaining module includes:
a reset unit configured to reset the shutdown flag to an abnormal shutdown flag.
In an embodiment of the present application, based on the above embodiment, the obtaining module further includes:
the evaluation unit is configured to store the current actual state of charge as a cache state of charge if a shutdown instruction is received; and assigning the shutdown identifier as a normal shutdown identifier; and executing the shutdown instruction.
In an embodiment of the present application, based on the above embodiment, the state of charge detection module further includes:
the error code storage module is configured to acquire a discharge parameter of the battery in a discharge process; when the discharge parameters meet the undervoltage protection condition, storing the current actual charge state as a cache charge state, and storing corresponding error codes according to the type of the discharge parameters meeting the undervoltage protection condition; and executing the undervoltage protection operation.
The application also provides an energy storage device, which can be used for executing the state of charge detection method in the embodiment of the application. The energy storage device includes: the battery pack state of charge detection method comprises a battery module, a memory, a processor and a state of charge detection program which is stored on the memory and can run on the processor, wherein when the state of charge detection program is executed by the processor, the state of charge detection method of the battery pack is realized.
As shown in fig. 5, the energy storage device 500 may further include a power conversion module 540 and a first interface 550, in addition to the battery module 510, the memory 520 and the processor 530, wherein the first interface 550 may be used for connecting an external power source to charge the battery module 510.
It is understood that, in the present embodiment, the battery module 510 may be a battery pack 10 in which the BMS board shown in fig. 1 is integrated, that is, includes a plurality of battery cells 11 and the BMS board 20.
It is understood that the power conversion module 540 may be a power conversion circuit as shown in fig. 1, and the processor 530 and the memory 520 may be disposed on a circuit board on which the power conversion circuit is disposed, or may be disposed on other circuit boards in the energy storage device.
It is understood that more or fewer modules may be included in the energy storage device 500, for example, the power conversion module 540 may be used as a stand-alone power conversion device connected to the energy storage device 500, which is not limited in this application.
In particular, according to embodiments of the present application, the processes described in the various method flowcharts may be implemented as computer software programs. For example, embodiments of the present application include a computer program product comprising a computer program embodied on a computer-readable medium, the computer program comprising program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed over a network, and/or installed from a removable medium. The computer program, when executed by the processor, performs various functions defined in the state of charge detection apparatus or the energy storage device of the present application.
It should be noted that the computer readable media shown in the embodiments of the present application may be computer readable signal media or computer readable storage media or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a Read-Only Memory (ROM), an Erasable Programmable Read-Only Memory (EPROM), a flash Memory, an optical fiber, a portable Compact Disc Read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In this application, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
It should be noted that although in the above detailed description several modules or units of the device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the application. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a touch terminal, or a network device, etc.) to execute the method according to the embodiments of the present application. Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein.
This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains.
It will be understood that the present application is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.
Claims (10)
1. A state of charge detection method is applied to energy storage equipment, and is characterized by comprising the following steps:
the method comprises the steps that a shutdown identifier and a cache charge state stored in the energy storage device are obtained when the energy storage device is powered on, wherein the shutdown identifier comprises an abnormal shutdown identifier and a normal shutdown identifier;
if the shutdown identifier is an abnormal shutdown identifier, inquiring an error code according to the abnormal shutdown identifier;
and determining the actual state of charge of the battery according to the query result of the error code and the cache state of charge.
2. The state of charge detection method of claim 1, wherein said determining an actual state of charge of the battery from the error code query result and the cache state of charge comprises:
and if the error code is inquired, determining the obtained cache charge state as the actual charge state of the battery.
3. The state of charge detection method of claim 2, wherein after said querying for said error code, said method further comprises:
detecting the type of the inquired error codes;
and comparing the inquired error code type with preset reference data to output the trigger reason of abnormal shutdown of the energy storage equipment.
4. The state of charge detection method of claim 1, wherein determining the actual state of charge of the battery from the error code query result and the cache state of charge comprises:
and if the error code is not inquired, assigning the actual state of charge to be zero.
5. The state of charge detection method of claim 1, wherein after obtaining a shutdown flag at power up, the method further comprises:
and resetting the shutdown identifier as an abnormal shutdown identifier.
6. The state of charge detection method of claim 5, wherein after said resetting said shutdown flag to an abnormal shutdown flag, said method further comprises:
if a shutdown instruction is received, storing the current actual charge state as a cache charge state;
assigning the shutdown identifier as a normal shutdown identifier;
and executing the shutdown instruction.
7. The state of charge detection method of claim 1, further comprising:
acquiring discharge parameters of the battery in a discharge process;
when the discharge parameters meet the undervoltage protection conditions, storing the current actual charge state as a cache charge state, and storing corresponding error codes according to the types of the discharge parameters meeting the undervoltage protection conditions;
and executing the undervoltage protection operation.
8. A state of charge detection method is applied to energy storage equipment, and is characterized by comprising the following steps:
the method comprises the steps of acquiring a shutdown identifier and a cache charge state of a battery during power-on, wherein the shutdown identifier comprises a normal shutdown identifier and an abnormal shutdown identifier;
when the shutdown identifier is a normal shutdown identifier, determining the cache charge state as the actual charge state of the battery;
and when the shutdown identifier is an abnormal shutdown identifier, determining the actual state of charge to be zero.
9. An energy storage device, comprising: a battery module, a memory, a processor and a state of charge detection program stored on the memory and executable on the processor, the state of charge detection program when executed by the processor implementing a state of charge detection method according to any one of claims 1 to 8.
10. A storage medium having stored thereon a computer program which, when executed by a processor, implements a state of charge detection method according to any one of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211166801.6A CN115498295A (en) | 2022-09-23 | 2022-09-23 | State of charge detection method and device, energy storage equipment and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211166801.6A CN115498295A (en) | 2022-09-23 | 2022-09-23 | State of charge detection method and device, energy storage equipment and medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115498295A true CN115498295A (en) | 2022-12-20 |
Family
ID=84470613
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211166801.6A Pending CN115498295A (en) | 2022-09-23 | 2022-09-23 | State of charge detection method and device, energy storage equipment and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115498295A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117395544A (en) * | 2023-12-12 | 2024-01-12 | 西安荣耀终端有限公司 | Battery state data reporting method, terminal equipment and storage medium |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080125932A1 (en) * | 2006-11-29 | 2008-05-29 | Panasonic Ev Energy Co., Ltd. | Abnormality detecting device, abnormality detecting method, and computer readable medium storing an abnormality detecting program |
KR20130047174A (en) * | 2011-10-31 | 2013-05-08 | 주식회사 엘지화학 | Method for detecting abnormal power-off of battery management system and battery management system using the same |
CN106872908A (en) * | 2017-04-26 | 2017-06-20 | 安徽优旦科技有限公司 | BMS system exception power down SOC guard methods |
CN108874107A (en) * | 2018-05-31 | 2018-11-23 | 北京小米移动软件有限公司 | The control method and device of state-of-charge |
WO2019230110A1 (en) * | 2018-05-29 | 2019-12-05 | 株式会社日立製作所 | Battery control device, battery control system, and battery control method |
CN110967636A (en) * | 2019-06-24 | 2020-04-07 | 宁德时代新能源科技股份有限公司 | Battery state of charge correction method, device and system and storage medium |
WO2021049800A1 (en) * | 2019-09-11 | 2021-03-18 | 삼성전자 주식회사 | Method for diagnosing abnormal state of battery, electronic device therefor, and storage medium therefor |
CN112654877A (en) * | 2018-11-15 | 2021-04-13 | 深圳市欢太科技有限公司 | Charging detection method, charging detection device and terminal equipment |
KR20210079020A (en) * | 2019-12-19 | 2021-06-29 | 주식회사 엘지화학 | Device and method for detecting poor battery cell |
WO2021142676A1 (en) * | 2020-01-15 | 2021-07-22 | 深圳市大疆创新科技有限公司 | Battery abnormality detection method, system, battery, and movable platform |
CN114217229A (en) * | 2021-12-14 | 2022-03-22 | 珠海格力电器股份有限公司 | Battery SOC correction system, control method thereof, storage medium and electric vehicle |
CN114879048A (en) * | 2022-05-30 | 2022-08-09 | 重庆金康赛力斯新能源汽车设计院有限公司 | Battery detection method, device, equipment and storage medium |
CN115061051A (en) * | 2022-06-10 | 2022-09-16 | 重庆金康赛力斯新能源汽车设计院有限公司 | Method and device for identifying battery voltage abnormity, computer equipment and medium |
-
2022
- 2022-09-23 CN CN202211166801.6A patent/CN115498295A/en active Pending
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080125932A1 (en) * | 2006-11-29 | 2008-05-29 | Panasonic Ev Energy Co., Ltd. | Abnormality detecting device, abnormality detecting method, and computer readable medium storing an abnormality detecting program |
KR20130047174A (en) * | 2011-10-31 | 2013-05-08 | 주식회사 엘지화학 | Method for detecting abnormal power-off of battery management system and battery management system using the same |
CN106872908A (en) * | 2017-04-26 | 2017-06-20 | 安徽优旦科技有限公司 | BMS system exception power down SOC guard methods |
WO2019230110A1 (en) * | 2018-05-29 | 2019-12-05 | 株式会社日立製作所 | Battery control device, battery control system, and battery control method |
CN108874107A (en) * | 2018-05-31 | 2018-11-23 | 北京小米移动软件有限公司 | The control method and device of state-of-charge |
CN112654877A (en) * | 2018-11-15 | 2021-04-13 | 深圳市欢太科技有限公司 | Charging detection method, charging detection device and terminal equipment |
CN110967636A (en) * | 2019-06-24 | 2020-04-07 | 宁德时代新能源科技股份有限公司 | Battery state of charge correction method, device and system and storage medium |
WO2021049800A1 (en) * | 2019-09-11 | 2021-03-18 | 삼성전자 주식회사 | Method for diagnosing abnormal state of battery, electronic device therefor, and storage medium therefor |
KR20210079020A (en) * | 2019-12-19 | 2021-06-29 | 주식회사 엘지화학 | Device and method for detecting poor battery cell |
WO2021142676A1 (en) * | 2020-01-15 | 2021-07-22 | 深圳市大疆创新科技有限公司 | Battery abnormality detection method, system, battery, and movable platform |
CN114217229A (en) * | 2021-12-14 | 2022-03-22 | 珠海格力电器股份有限公司 | Battery SOC correction system, control method thereof, storage medium and electric vehicle |
CN114879048A (en) * | 2022-05-30 | 2022-08-09 | 重庆金康赛力斯新能源汽车设计院有限公司 | Battery detection method, device, equipment and storage medium |
CN115061051A (en) * | 2022-06-10 | 2022-09-16 | 重庆金康赛力斯新能源汽车设计院有限公司 | Method and device for identifying battery voltage abnormity, computer equipment and medium |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117395544A (en) * | 2023-12-12 | 2024-01-12 | 西安荣耀终端有限公司 | Battery state data reporting method, terminal equipment and storage medium |
CN117395544B (en) * | 2023-12-12 | 2024-05-07 | 西安荣耀终端有限公司 | Battery state data reporting method, terminal equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8847543B2 (en) | Secondary battery charging device and secondary battery charging system | |
US7630843B2 (en) | Method, apparatus, and system for power source failure prediction | |
US9461484B2 (en) | Electricity storage system, method for controlling secondary battery packs, and secondary battery pack | |
CN108808776B (en) | Battery system and battery health state detection method | |
JP5618393B2 (en) | Power storage system and secondary battery control method | |
US11095142B2 (en) | Power tool system and method for controlling power tool system | |
EP3133714A1 (en) | Battery monitoring method and apparatus | |
EP3185348B1 (en) | A battery information detection and control method, smart battery,terminal and computer storage medium | |
CN101420036A (en) | Power supply management device and method for battery | |
CN112448434B (en) | Charging control method and charging control device | |
CN115663939A (en) | Charging control method, charging control device, power conversion device, and medium | |
CN103956710A (en) | Battery charging and discharging protection method and battery management system | |
CN115498295A (en) | State of charge detection method and device, energy storage equipment and medium | |
US6049193A (en) | Method and device for executing a battery auto-learning | |
CN111130177B (en) | Management method, system and device of BBU | |
CN108306076B (en) | Linkage control method and system for air conditioners in battery room of data center | |
CN116345622A (en) | Switch tube protection method, battery pack and energy storage system | |
CN116365651A (en) | Charging and discharging control method and system, power conversion equipment and energy storage equipment | |
CN214380221U (en) | Battery charging and discharging protection device | |
CN115525461A (en) | Anomaly detection method for energy storage device and server | |
JP7539107B2 (en) | Charging system, charging method, and program | |
US20240255578A1 (en) | Energy management systems | |
CN116722627A (en) | Over-discharge protection method of battery pack, electric equipment and battery pack | |
CN116359765A (en) | Residual electric quantity determining method and device and energy storage equipment | |
CN115912559A (en) | Control method of battery system, energy storage device and battery system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |