CN113125966A - Battery monitoring data storage method, battery management system and battery monitoring device - Google Patents
Battery monitoring data storage method, battery management system and battery monitoring device Download PDFInfo
- Publication number
- CN113125966A CN113125966A CN202110332600.8A CN202110332600A CN113125966A CN 113125966 A CN113125966 A CN 113125966A CN 202110332600 A CN202110332600 A CN 202110332600A CN 113125966 A CN113125966 A CN 113125966A
- Authority
- CN
- China
- Prior art keywords
- data
- battery
- record data
- working parameter
- module
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 37
- 238000012544 monitoring process Methods 0.000 title claims abstract description 35
- 238000007726 management method Methods 0.000 title claims abstract description 25
- 238000013500 data storage Methods 0.000 title claims abstract description 20
- 238000012806 monitoring device Methods 0.000 title abstract description 14
- 238000004590 computer program Methods 0.000 claims description 19
- 230000002159 abnormal effect Effects 0.000 claims description 10
- 238000010276 construction Methods 0.000 claims description 3
- 238000003745 diagnosis Methods 0.000 abstract description 8
- 230000006870 function Effects 0.000 description 6
- 238000004891 communication Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 5
- 230000008569 process Effects 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000007599 discharging Methods 0.000 description 2
- 239000002699 waste material Substances 0.000 description 2
- 208000032953 Device battery issue Diseases 0.000 description 1
- WHXSMMKQMYFTQS-UHFFFAOYSA-N Lithium Chemical compound [Li] WHXSMMKQMYFTQS-UHFFFAOYSA-N 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000007405 data analysis Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 229910052744 lithium Inorganic materials 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/36—Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
- G01R31/382—Arrangements for monitoring battery or accumulator variables, e.g. SoC
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/02—Addressing or allocation; Relocation
- G06F12/0223—User address space allocation, e.g. contiguous or non contiguous base addressing
- G06F12/023—Free address space management
- G06F12/0238—Memory management in non-volatile memory, e.g. resistive RAM or ferroelectric memory
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
- Secondary Cells (AREA)
Abstract
A battery monitoring data storage method, a battery management system and a battery monitoring device comprise the following steps: collecting current operation data of the battery; judging whether the difference value between at least one battery working parameter in the current operation data and the reference working parameter is out of a target range; and if so, writing the current operation data serving as operation record data into a target position of the nonvolatile memory, and updating the reference working parameter. Therefore, the method and the device can effectively record the record generated by the continuous operation of the battery and provide a large amount of effective data to carry out fault diagnosis on the battery, and solve the problem that the traditional battery management system cannot effectively record the record generated by the continuous operation of the battery and provide a large amount of effective data to carry out fault diagnosis on the battery.
Description
Technical Field
The application belongs to the technical field of battery monitoring, and particularly relates to a battery monitoring data storage method, a battery management system and a battery monitoring device.
Background
At present, a conventional Battery Management System (BMS) generally monitors the voltage, current, temperature, etc. of a battery on line continuously, thereby performing alarm and emergency protection processing on a possible fault. However, the conventional battery management system generally does not continuously record the operation data of the battery, and the record generated by the continuous operation of the battery is much larger than the capacity of the conventional embedded nonvolatile memory, so that the conventional battery management system often cannot provide further data analysis for the battery which has a fault.
Therefore, the conventional battery management system has a problem in that it is not possible to effectively record the record generated by the continuous operation of the battery and provide a large amount of effective data for the fault diagnosis of the battery.
Disclosure of Invention
The present application aims to provide a battery monitoring data storage method, a battery management system and a battery monitoring device, and aims to solve the problem that the conventional battery management system cannot effectively record the record generated by the continuous operation of the battery and provide a large amount of effective data to perform fault diagnosis on the battery.
A first aspect of an embodiment of the present application provides a battery monitoring data storage method, including:
acquiring current operation data of a battery, wherein the current operation data comprises at least one battery working parameter;
judging whether the difference value between at least one battery working parameter in the current operation data and a reference working parameter is out of a target range, wherein the reference working parameter is the battery working parameter written into a nonvolatile memory last time;
and if so, writing the current operation data serving as operation record data into a target position of the nonvolatile memory, and updating the reference working parameters.
A second aspect of an embodiment of the present application provides a battery management system, including:
the acquisition module is used for acquiring current operation data of the battery, and the current operation data comprises at least one battery working parameter;
the judging module is connected with the collecting module and used for judging whether the difference value between at least one battery working parameter in the current operation data and a reference working parameter is out of a target range, and the reference working parameter is the battery working parameter written into a nonvolatile memory last time;
the writing module is used for writing the current operation data serving as operation record data into a target position of the nonvolatile memory and updating the reference working parameter of the judging module when the difference value between at least one battery working parameter in the current operation data and the reference working parameter is out of a target range; and
and the nonvolatile memory is connected with the writing module and is used for storing the operation record data.
A third aspect of embodiments of the present application provides a battery monitoring apparatus, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the steps of the method when executing the computer program.
A fourth aspect of embodiments of the present application provides a computer-readable storage medium, which stores a computer program, which, when executed by a processor, implements the steps of the method as described above.
According to the battery monitoring data storage method, the current operation data of the battery is continuously acquired, whether the difference value between at least one battery working parameter in the current operation data and the reference working parameter is out of the target range or not is judged, the current operation data of which the difference value between the at least one battery working parameter and the reference working parameter is out of the target range is written into the target position of the nonvolatile memory as the operation record data, the effective previous operation data capable of reflecting the change of the working parameter is written into the nonvolatile memory as the operation record data, the battery is continuously monitored in the whole period of time, the redundant repeated operation data are prevented from being written, unnecessary waste of the capacity of the memory is reduced, a large amount of effective operation data can be stored, a large amount of effective data can be provided to analyze the operation and fault diagnosis of the battery, and the problem that the records generated by the continuous operation of the battery cannot be effectively recorded and a large amount of effective operation data are provided in the traditional And effective data to diagnose the battery failure.
Drawings
Fig. 1 is a detailed flowchart of a battery monitoring data storage method provided in a first aspect of an embodiment of the present application;
FIG. 2 is another detailed flow chart of the battery monitoring data storage method shown in FIG. 1;
fig. 3 is a schematic structural diagram of a battery management system provided in a second aspect of an embodiment of the present application;
FIG. 4 is another schematic diagram of the battery management system shown in FIG. 3;
fig. 5 is a schematic diagram of a battery monitoring device according to an embodiment of the present invention.
Detailed Description
In order to make the technical problems, technical solutions and advantageous effects to be solved by the present application clearer, the present application is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
It will be understood that when an element is referred to as being "secured to" or "disposed on" another element, it can be directly on the other element or be indirectly on the other element. When an element is referred to as being "connected to" another element, it can be directly connected to the other element or be indirectly connected to the other element.
It will be understood that the terms "length," "width," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," and the like, refer to an orientation or positional relationship illustrated in the drawings for convenience in describing the present application and to simplify description, and do not indicate or imply that the referenced device or element must have a particular orientation, be constructed and operated in a particular orientation, and thus should not be construed as limiting the present application.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present application, "a plurality" means two or more unless specifically limited otherwise.
The battery monitoring data storage method is mainly suitable for application scenarios of a battery management system for monitoring battery operation, and is particularly suitable for scenarios requiring operation monitoring and fault diagnosis of a battery, for example, scenarios requiring storage of charging and discharging data and fault data of the battery so as to provide effective and massive data for operation and fault analysis of the battery at any time.
Fig. 1 shows a specific flowchart of a battery monitoring data storage method provided in a first aspect of an embodiment of the present application, and for convenience of description, only the relevant portions of the embodiment are shown, which are detailed as follows:
the battery monitoring data storage method in the embodiment includes:
step S100: collecting current operation data of the battery, wherein the current operation data comprises at least one battery working parameter;
it is understood that the battery operating parameter includes at least one of voltage, current, temperature, and state of charge. The current operation data includes charge and discharge data and/or abnormal data, wherein battery operating parameters of the charge and discharge data include voltage, current, temperature, State of charge (SOC), and the like of the battery in a charge and discharge State. The battery working parameters of the abnormal data comprise voltage, current, temperature, state of charge and the like of the battery under the fault types of overvoltage, undervoltage, overcurrent, overtemperature and the like. The abnormal data may be determined by comparing the currently collected charge and discharge data with a standard threshold, for example, after collecting the actual voltage of the battery, comparing the actual voltage with the standard voltage threshold, and outputting the abnormal data representing that the battery is in overvoltage or undervoltage when the actual voltage is greater than or less than the standard voltage threshold. Further, the abnormal data also comprises an abnormal grade, and the abnormal grade is determined by the difference value of the actual charging and discharging data of the battery and a standard threshold value.
It will be appreciated that the battery may be a lithium battery or the like type of power battery, or other battery that requires monitoring.
Step S200: judging whether the difference value between at least one battery working parameter in the current operation data and a reference working parameter is out of a target range, wherein the reference working parameter is the battery working parameter written into the nonvolatile memory last time;
it is understood that the battery operating parameter includes at least one of voltage, current, temperature, and state of charge. Different battery operating parameters correspond to different reference operating parameters, i.e. voltage is compared with a reference voltage, current is compared with a reference current, temperature is compared with a reference temperature, and state of charge is compared with a reference state of charge. The reference operating parameter is a battery operating parameter last written into the nonvolatile memory, that is, a battery operating parameter carried in current operating data last written into the nonvolatile memory. In the method for storing battery monitoring data in this embodiment, when a difference between any one of the battery operating parameters of the current operating data and the reference operating parameter exceeds a target range, it is determined that the current operating data changes compared with the current operating data written last time. Optionally, in other embodiments, it may also be set whether a combination of any two or more battery operating parameters changes simultaneously according to requirements, so as to determine whether to write the current operating data.
It will be appreciated that the target range may be adjusted accordingly based on the capacity of the non-volatile memory, data granularity requirements. The target range for each different type of cell operating parameter and its reference operating parameter may be set differently, for example, the target range for voltage variation may be +/-100mV, the target range for current variation may be +/-200mA, and the target range for temperature variation may be +/-0.5 degrees.
It is understood that the nonvolatile Memory may be a Flash Memory (Flash Memory), a Read-only Memory (ROM), a Programmable Read-only Memory (PROM), an Electrically alterable Read-only Memory (ear ROM), an Erasable Programmable Read-only Memory (EPROM), or an Electrically Erasable Programmable Read-only Memory (EEPROM).
Step S300: and if the difference value between at least one battery working parameter in the current operation data and the reference working parameter is out of the target range, writing the current operation data serving as operation record data into a target position of the nonvolatile memory, and updating the reference working parameter.
It will be appreciated that the target location is a write address. The operation log data includes at least one of a time point, charge and discharge data or abnormal data associated with the time point, and a serial number associated with the operation log data written last time. The time point is the time when the data is acquired, and the time point comprises specific time information such as year, month, day, hour, minute, second and the like. The serial numbers of different types of operation record data can be sorted separately, namely the serial numbers carried by the charge and discharge data and the abnormal data are two different serial numbers, so that different data types are distinguished. When writing a piece of operation record data, the sequence number carried by the operation record data is added to the sequence number of the last operation record data.
It is to be understood that, after the current operation data is written as operation record data to the target location of the nonvolatile memory, the reference operation parameters are updated to the respective battery operation parameters included in the operation record data.
It is understood that when the difference between at least one battery operating parameter of the current operation data and the reference operating parameter is outside the target range, the current operation data is changed from the last written operation record data. The battery monitoring data storage method in the embodiment continuously collects the current operation data of the battery, and only writes in the current operation data of which the working parameter of a certain battery changes to a certain extent compared with the reference working parameter, so that the battery is continuously monitored in the whole time period, the redundant repeated operation data are prevented from being written in, unnecessary waste of the capacity of a storage is reduced, a large amount of effective operation data can be stored, and a large amount of effective data can be provided for analyzing the operation and fault diagnosis of the battery.
In one embodiment, when the storage address of the nonvolatile memory is full, the address of the running record data with the minimum sequence number in all the running record data stored in the nonvolatile memory is used as a target position, and the current running data to be written is written into the target position and covers the running record data with the minimum sequence number.
It will be appreciated that when the non-volatile memory is full, the newly written rollback to the start address of the non-volatile memory overwrites the oldest record with the new record, thereby causing the non-volatile memory to store valid recent operating data.
Referring to fig. 2, in an embodiment, the method for storing battery monitoring data further includes:
step S400: scanning all sectors of the non-volatile memory;
it is understood that all sectors of the nonvolatile memory in the present embodiment are used for storing the operation log data. In other embodiments, a portion of the sectors may be selected for storing the operation log data.
Step S500: counting the effective record quantity of each operation record data, and determining the address of the operation record data with the maximum serial number in each operation record data;
it will be appreciated that the running record data may be validated by being recorded with fixed format and verification data.
Step S600: dynamically constructing a file header according to the effective record number and the address of the running record data with the maximum serial number, and storing the file header in a Random Access Memory (RAM);
it will be appreciated that the header includes the number of active records, the write address of the next new run record data, and the sequence number of the next new run record data.
It is understood that the header is updated every time a new run record is written.
It is understood that each piece of the operation record data carries a sequence number, and the value of the sequence number is increased when one piece of the operation record data is added. And comparing the serial number size relationship of the operation record data to obtain the address of the operation record data with the maximum serial number, and calculating the next address behind the address as the position for writing the next operation record data.
Step S700: and writing the current running data as running record data into a target position of the nonvolatile memory according to the file header.
It is understood that the target location is the write address of the next new run record data.
It is appreciated that non-volatile memory has read and write lifetime limitations. The file header records key information such as the effective record number, the write address of the next new run record data, the serial number of the next new run record data, and the like, and the file header needs to be updated every time a new run record data is written. The file header is generally stored in the nonvolatile memory, so that the number of reading and writing times of the sector of the nonvolatile memory storing the file header is far greater than that of other ordinary sectors, and the reading and writing life of the sector is a short plate of the whole nonvolatile memory. In the method for storing battery monitoring data in this embodiment, only the operation record data is stored in the nonvolatile memory, and the file header is stored in the random access memory, so that the nonvolatile memory does not have the problem of the read-write life of a certain sector due to frequent reading, and the access speed of the random access memory is faster than that of the nonvolatile memory. And the file header is dynamically constructed by scanning the nonvolatile memory, so that the problem of volatile data of the random access memory due to power failure is solved.
It CAN be understood that the above-mentioned battery monitoring data storage method is applied to a battery management system, and an external host CAN obtain each operation record data stored in a nonvolatile memory of the battery management system through CAN communication, serial communication, LAN communication, and the like. For example:
the battery management system receives the synchronization time sent by the host computer to synchronize the internal time with the host computer;
acquiring a general condition command for acquiring the running record data sent by the host, and replying a data packet containing the effective record quantity, the starting record time and the ending record time of the running record data to the host;
and acquiring a command of the operation record data of the specified time point sent by the host, and replying the operation record data corresponding to the time point to the host.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Fig. 3 shows a schematic circuit diagram of a battery management system provided in the second aspect of the embodiment of the present application, the battery management system operates by applying the battery monitoring data storage method provided in the first aspect of the embodiment of the present application, and for convenience of description, only the parts related to the embodiment are shown, and details are as follows:
the battery management system in this embodiment includes: the device comprises an acquisition module 100, a judgment module 200, a write-in module 300 and a nonvolatile memory 400, wherein the output end of the acquisition module 100 is connected with the input end of the judgment module 200, the output end of the judgment module 200 is connected with the input end of the write-in module 300, and the output end of the write-in module 300 is connected with the nonvolatile memory 400.
The acquisition module 100 is configured to acquire current operating data of the battery, where the current operating data includes at least one battery operating parameter. The determining module 200 is configured to determine whether a difference between at least one battery operating parameter in the current operating data and a reference operating parameter is outside a target range, where the reference operating parameter is a battery operating parameter last written into the nonvolatile memory. The writing module 300 is configured to, when a difference between at least one battery operating parameter in the current operating data and the reference operating parameter is outside the target range, write the current operating data as the operation record data into the target position of the nonvolatile memory 400, and update the reference operating parameter of the determining module 200. The nonvolatile memory 400 is used to store the operation log data.
In an embodiment, when the storage address of the nonvolatile memory 400 is full, the writing module 300 is further configured to write the current operation data to be written to an address where the operation record data with the smallest sequence number is located in all the operation record data stored in the nonvolatile memory 400, and overwrite the operation record data with the smallest sequence number.
Referring to fig. 4, in an embodiment, the battery management system further includes: a scanning module 500, a statistics module 600, a construction module 700, and a random access memory 800. The output of the scanning module 500 is connected to the input of the counting module 600, the output of the counting module 600 is connected to the input of the building module 700, the output of the building module 700 is connected to the random access memory 800, and the random access memory 800 is further connected to the writing module 300. The scanning module 500 is used to scan all sectors of the non-volatile memory 400. The counting module 600 is configured to count the effective record number of each piece of operation record data, and calculate a write address of the next piece of new operation record data according to an address recorded by the maximum sequence number in each piece of operation record data. The building module 700 is configured to build a file header according to the number of valid records and the write address of the next new run record data, and store the file header in the random access memory 800. The random access memory 800 is used to store a file header.
Fig. 5 is a schematic diagram of a battery monitoring device according to an embodiment of the present disclosure. As shown in fig. 5, the battery monitoring device 6 of this embodiment includes: a processor 60, a memory 61, and a computer program 62 stored in the memory 61 and executable on the processor 60. The processor 60, when executing the computer program 62, implements the steps in the various battery fault diagnosis method embodiments described above, such as the steps S100 to 300 shown in fig. 1. Alternatively, the processor 60, when executing the computer program 62, implements the functions of the modules/units in the above-described device embodiments, such as the functions of the modules 100 to 800 shown in fig. 4.
Illustratively, the computer program 62 may be divided into one or more modules/units, which are stored in the memory 61 and executed by the processor 60 to accomplish the present application. One or more of the modules/units may be a series of computer program instruction segments capable of performing specific functions that describe the execution of the computer program 62 in the battery monitoring device 6. For example, the computer program 62 may be partitioned into a synchronization module, a summarization module, an acquisition module, a return module (a module in a virtual device).
The battery monitoring device 6 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The battery monitoring device may include, but is not limited to, a processor 60, a memory 61. It will be understood by those skilled in the art that fig. 5 is merely an example of the battery monitoring apparatus 6, and does not constitute a limitation on the battery monitoring apparatus 6, and may include more or less components than those shown, or combine some components, or different components, for example, the battery monitoring apparatus may also include an input-output device, a network access device, a bus, etc.
The Processor 60 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 61 may be an internal storage unit of the battery monitoring device 6, such as a hard disk or a memory of the battery monitoring device 6. The memory 61 may also be an external storage device of the battery monitoring apparatus 6, such as a plug-in hard disk provided on the battery monitoring apparatus 6, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like. Further, the memory 61 may also include both an internal storage unit of the battery monitoring apparatus 6 and an external storage device. The memory 61 is used to store computer programs and other programs and data required by the battery monitoring device. The memory 61 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method of the embodiments described above can be realized by a computer program, which can be stored in a computer-readable storage medium and can realize the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.
Claims (10)
1. A battery monitoring data storage method, comprising:
acquiring current operation data of a battery, wherein the current operation data comprises at least one battery working parameter;
judging whether the difference value between at least one battery working parameter in the current operation data and a reference working parameter is out of a target range, wherein the reference working parameter is the battery working parameter written into a nonvolatile memory last time;
and if so, writing the current operation data serving as operation record data into a target position of the nonvolatile memory, and updating the reference working parameters.
2. The battery monitoring data storage method according to claim 1, wherein the operation log data includes at least one of a time point, charge and discharge data or abnormal data associated with the time point, and a serial number associated with operation log data written last time.
3. The battery monitoring data storage method of claim 1, wherein the battery operating parameter comprises at least one of voltage, current, temperature, and state of charge.
4. The battery monitoring data storage method of claim 2, comprising:
and when the storage address of the nonvolatile memory is full, taking the address of the running record data with the minimum serial number in all the running record data stored in the nonvolatile memory as the target position, and writing the current running data to be written into the target position and covering the running record data with the minimum serial number.
5. The battery monitoring data storage method of claim 2, further comprising:
scanning all sectors of the non-volatile memory;
counting the effective record quantity of each running record data, and determining the address of the running record data with the maximum serial number in each running record data;
dynamically constructing a file header according to the effective record quantity and the address of the running record data with the maximum serial number, and storing the file header in a random access memory;
and writing the current operation data serving as operation record data into a target position of the nonvolatile memory according to the file header.
6. A battery management system, comprising:
the acquisition module is used for acquiring current operation data of the battery, and the current operation data comprises at least one battery working parameter;
the judging module is connected with the collecting module and used for judging whether the difference value between at least one battery working parameter in the current operation data and a reference working parameter is out of a target range, and the reference working parameter is the battery working parameter written into a nonvolatile memory last time;
the writing module is used for writing the current operation data serving as operation record data into a target position of the nonvolatile memory and updating the reference working parameter of the judging module when the difference value between at least one battery working parameter in the current operation data and the reference working parameter is out of a target range; and
and the nonvolatile memory is connected with the writing module and is used for storing the operation record data.
7. The battery management system of claim 6, comprising: when the storage address of the nonvolatile memory is full, the writing module is further configured to write the current running data to be written into an address where the running record data with the minimum sequence number is located in all the running record data stored in the nonvolatile memory, and to overwrite the running record data with the minimum sequence number.
8. The battery management system of claim 6, further comprising:
a scanning module for scanning all sectors of the non-volatile memory;
the statistical module is connected with the scanning module and used for counting the effective record quantity of each operation record data and determining the address of the operation record data with the maximum serial number in each operation record data;
the construction module is connected with the statistical module and used for constructing a file header according to the effective record quantity and the address of the running record data of the maximum serial number and storing the file header in a random access memory; and
and the random access memory is connected with the construction module and the writing module and is used for storing the file header.
9. A battery monitoring apparatus comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the steps of the method according to any of claims 1 to 5 are implemented when the computer program is executed by the processor.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110332600.8A CN113125966B (en) | 2021-03-29 | 2021-03-29 | Battery monitoring data storage method, battery management system and battery monitoring device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110332600.8A CN113125966B (en) | 2021-03-29 | 2021-03-29 | Battery monitoring data storage method, battery management system and battery monitoring device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113125966A true CN113125966A (en) | 2021-07-16 |
CN113125966B CN113125966B (en) | 2024-05-17 |
Family
ID=76774218
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110332600.8A Active CN113125966B (en) | 2021-03-29 | 2021-03-29 | Battery monitoring data storage method, battery management system and battery monitoring device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113125966B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113515239A (en) * | 2021-07-27 | 2021-10-19 | 珠海美佳音科技有限公司 | Battery-powered temperature recording method, device, equipment and storage medium |
CN114579623A (en) * | 2022-02-22 | 2022-06-03 | 广东博力威科技股份有限公司 | Battery data processing method and device, electronic equipment and storage medium |
CN115993940A (en) * | 2023-03-23 | 2023-04-21 | 青岛鼎信通讯股份有限公司 | Electric quantity loss prevention method and device, electric energy meter equipment and storage medium |
CN116774091A (en) * | 2023-08-24 | 2023-09-19 | 南京市计量监督检测院 | High-precision power battery pack SOH online measurement system and method thereof |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102390282A (en) * | 2011-10-21 | 2012-03-28 | 上海恒动汽车电池有限公司 | Vehicle travelling recoding device and method of battery management system for electric vehicle |
CN102473878A (en) * | 2009-09-28 | 2012-05-23 | 株式会社日立制作所 | Battery system |
CN103150235A (en) * | 2013-03-29 | 2013-06-12 | Tcl通讯(宁波)有限公司 | Method and mobile terminal for automatically storing data in volatile memory |
US20130185479A1 (en) * | 2012-01-13 | 2013-07-18 | Phison Electronics Corp. | Data protecting method, memory controller and memory storage apparatus |
US20150248564A1 (en) * | 2014-02-28 | 2015-09-03 | International Business Machines Corporation | Protecting sensitive data in software products and in generating core dumps |
CN105676023A (en) * | 2015-12-30 | 2016-06-15 | 华自科技股份有限公司 | Recording method and system of fault recording data |
CN106370950A (en) * | 2016-09-12 | 2017-02-01 | 深圳市安和威电力科技股份有限公司 | Charging facility data recorder |
CN106716161A (en) * | 2016-10-28 | 2017-05-24 | 深圳市大疆创新科技有限公司 | Cell controlling method and system, and cell |
CN108365283A (en) * | 2018-05-04 | 2018-08-03 | 深圳市道通智能航空技术有限公司 | Device battery and unmanned plane |
CN109765493A (en) * | 2018-12-21 | 2019-05-17 | 北京双登慧峰聚能科技有限公司 | Battery energy storage system monitoring method and system |
-
2021
- 2021-03-29 CN CN202110332600.8A patent/CN113125966B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102473878A (en) * | 2009-09-28 | 2012-05-23 | 株式会社日立制作所 | Battery system |
CN102390282A (en) * | 2011-10-21 | 2012-03-28 | 上海恒动汽车电池有限公司 | Vehicle travelling recoding device and method of battery management system for electric vehicle |
US20130185479A1 (en) * | 2012-01-13 | 2013-07-18 | Phison Electronics Corp. | Data protecting method, memory controller and memory storage apparatus |
CN103150235A (en) * | 2013-03-29 | 2013-06-12 | Tcl通讯(宁波)有限公司 | Method and mobile terminal for automatically storing data in volatile memory |
US20150248564A1 (en) * | 2014-02-28 | 2015-09-03 | International Business Machines Corporation | Protecting sensitive data in software products and in generating core dumps |
CN105676023A (en) * | 2015-12-30 | 2016-06-15 | 华自科技股份有限公司 | Recording method and system of fault recording data |
CN106370950A (en) * | 2016-09-12 | 2017-02-01 | 深圳市安和威电力科技股份有限公司 | Charging facility data recorder |
CN106716161A (en) * | 2016-10-28 | 2017-05-24 | 深圳市大疆创新科技有限公司 | Cell controlling method and system, and cell |
CN108365283A (en) * | 2018-05-04 | 2018-08-03 | 深圳市道通智能航空技术有限公司 | Device battery and unmanned plane |
CN109765493A (en) * | 2018-12-21 | 2019-05-17 | 北京双登慧峰聚能科技有限公司 | Battery energy storage system monitoring method and system |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113515239A (en) * | 2021-07-27 | 2021-10-19 | 珠海美佳音科技有限公司 | Battery-powered temperature recording method, device, equipment and storage medium |
CN114579623A (en) * | 2022-02-22 | 2022-06-03 | 广东博力威科技股份有限公司 | Battery data processing method and device, electronic equipment and storage medium |
CN115993940A (en) * | 2023-03-23 | 2023-04-21 | 青岛鼎信通讯股份有限公司 | Electric quantity loss prevention method and device, electric energy meter equipment and storage medium |
CN116774091A (en) * | 2023-08-24 | 2023-09-19 | 南京市计量监督检测院 | High-precision power battery pack SOH online measurement system and method thereof |
CN116774091B (en) * | 2023-08-24 | 2023-10-17 | 南京市计量监督检测院 | High-precision power battery pack SOH online measurement system and method thereof |
Also Published As
Publication number | Publication date |
---|---|
CN113125966B (en) | 2024-05-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113125966B (en) | Battery monitoring data storage method, battery management system and battery monitoring device | |
CN110399380B (en) | Data processing method, electronic device and storage medium | |
CN111045881A (en) | Slow disk detection method and system | |
CN109496292B (en) | Disk management method, disk management device and electronic equipment | |
CN112331249B (en) | Method, device, terminal equipment and storage medium for predicting service life of storage device | |
WO2023029753A1 (en) | Device power supply method and apparatus, terminal device and storage medium | |
CN112684987A (en) | Data classification storage method and device based on double-core intelligent electric meter | |
CN115639971B (en) | Data writing method, data writing device, electronic device, storage medium, and program product | |
CN110515544B (en) | Data storage method and terminal equipment | |
CN113592138A (en) | Power load prediction method and device | |
CN116400249A (en) | Detection method and device for energy storage battery | |
CN110633255A (en) | Method and device for acquiring user use duration | |
CN110209349B (en) | Data processing method and terminal equipment | |
CN104657678B (en) | Response protection monotone counter, read method and method of counting | |
CN110221932A (en) | Computer and its control method | |
CN110098966B (en) | Wireless network capacity analysis method and equipment | |
CN113419667A (en) | Snapshot capacity calculation method and device, electronic device and computer-readable storage medium | |
CN116360695A (en) | Data storage method and device based on hybrid energy storage power supply | |
CN115756309A (en) | Battery management equipment parameter storage method, battery management equipment and energy storage system | |
CN112445835B (en) | Business data processing method and device, network management server and storage medium | |
CN114003477A (en) | Slow disk diagnosis information collection method, system, terminal and storage medium | |
CN106649069B (en) | User behavior statistical method and system | |
CN111857586A (en) | SSD Trim optimization method, system, terminal and storage medium | |
CN114547144B (en) | Time sequence data range query method, device and equipment | |
CN113918095B (en) | Hybrid cross storage method and device for data and electronic equipment |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |