CN113125966B - 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 PDF

Info

Publication number
CN113125966B
CN113125966B CN202110332600.8A CN202110332600A CN113125966B CN 113125966 B CN113125966 B CN 113125966B CN 202110332600 A CN202110332600 A CN 202110332600A CN 113125966 B CN113125966 B CN 113125966B
Authority
CN
China
Prior art keywords
data
battery
record data
module
working parameter
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.)
Active
Application number
CN202110332600.8A
Other languages
Chinese (zh)
Other versions
CN113125966A (en
Inventor
陆向远
王浩
林尚昆
谢铮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ubtech Robotics Corp
Original Assignee
Ubtech Robotics Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Ubtech Robotics Corp filed Critical Ubtech Robotics Corp
Priority to CN202110332600.8A priority Critical patent/CN113125966B/en
Publication of CN113125966A publication Critical patent/CN113125966A/en
Application granted granted Critical
Publication of CN113125966B publication Critical patent/CN113125966B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/36Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
    • G01R31/382Arrangements for monitoring battery or accumulator variables, e.g. SoC
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/0223User address space allocation, e.g. contiguous or non contiguous base addressing
    • G06F12/023Free address space management
    • G06F12/0238Memory 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 a 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 or not; if yes, the current operation data is used as operation record data to be written into a target position of the nonvolatile memory, and the reference working parameters are updated. Therefore, records generated by continuous operation of the battery are effectively recorded and a large amount of effective data are provided for fault diagnosis of the battery, and the problem that the conventional battery management system cannot effectively record the records generated by continuous operation of the battery and provide a large amount of effective data for fault diagnosis of the battery is solved.

Description

Battery monitoring data storage method, battery management system and battery monitoring device
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
Currently, conventional Battery Management Systems (BMS) generally only continuously monitor the voltage, current, temperature, etc. of the battery on-line, thereby performing alarm and emergency protection treatment for possible faults. However, conventional battery management systems generally do not continuously record the operational data of the battery, and the record generated by the continuous operation of the battery is far greater than the capacity of the conventional embedded nonvolatile memory, so that the conventional battery management system cannot provide further data analysis faults for the battery which has failed.
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 and effective data for fault diagnosis of the battery.
Disclosure of Invention
The 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 records generated by continuous operation of a battery and provides a large amount of effective data to carry out fault diagnosis on the battery.
A first aspect of an embodiment of the present application provides a battery monitoring data storage method, including:
collecting 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 which is written into a nonvolatile memory last time;
if yes, the current operation data is used as operation record data to be written into a target position of the nonvolatile memory, and the reference working parameters are updated.
A second aspect of an embodiment of the present application provides a battery management system, including:
the system comprises an acquisition module, a control module and a control module, wherein the acquisition module is used for acquiring current operation data of a battery, and the current operation data comprises at least one battery working parameter;
The judging module is connected with the acquisition module and is 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 or not, and the reference working parameter is the battery working parameter which is written into the nonvolatile memory last time;
The writing module is connected with the judging module and the nonvolatile memory, and is used for writing the current operation data into a target position of the nonvolatile memory as operation record data 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 the embodiments of the present application provides a battery monitoring device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the method as described above when executing the computer program.
A fourth aspect of the embodiments of the present application provides a computer-readable storage medium storing 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 are continuously collected, whether the difference value between the at least one battery working parameter in the current operation data and the reference working parameter is out of the target range is judged, the current operation data, which is the difference value between the at least one battery working parameter and the reference working parameter and is out of the target range, is used as the operation record data to be written into the target position of the nonvolatile memory, so that the effective front operation data which can represent the change of the working parameters is used as the operation record data to be written into, the continuous monitoring of the battery in the whole period is realized, the redundant repeated operation data are avoided, the unnecessary waste of the memory capacity is reduced, a large amount of effective operation data can be stored, a large amount of effective data can be provided for analyzing the operation and fault diagnosis of the battery, and the problems that records generated by the continuous operation of the battery cannot be effectively recorded and a large amount of effective data are provided for fault diagnosis of the battery in the traditional battery management system are solved.
Drawings
FIG. 1 is a flowchart of a method for storing battery monitoring data according to a first aspect of an embodiment of the present application;
FIG. 2 is another specific 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 according to a second aspect of the 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 schemes and beneficial effects to be solved more clear, the 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 for purposes of illustration only and are not intended to limit the scope of the application.
It will be understood that when an element is referred to as being "mounted" 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 is to be understood that the terms "length," "width," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," and the like are merely for convenience in describing and simplifying the description based on the orientation or positional relationship shown in the drawings, and do not indicate or imply that the devices or elements referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus are not to be construed as limiting the application.
Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature. In the description of the present application, the meaning of "a plurality" is two or more, unless explicitly defined otherwise.
The battery monitoring data storage method of the embodiment of the application is mainly suitable for the application scenes of the battery management system for monitoring the operation of the battery, particularly suitable for some scenes needing to monitor the operation and diagnose faults of the battery, such as scenes needing to store charge and discharge data and fault data of the battery so as to provide effective and massive data at any time to perform operation and fault analysis on the battery.
Fig. 1 shows a specific flowchart of a battery monitoring data storage method according to the first aspect of the embodiment of the present application, and for convenience of explanation, only the portions relevant to the present embodiment are shown, and the details are as follows:
The battery monitoring data storage method in the embodiment comprises the following steps:
Step S100: collecting current operation data of a battery, wherein the current operation data comprises at least one battery working parameter;
It is understood that the battery operating parameters include 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 operation parameters of the charge and discharge data include voltage, current, temperature, state of charge (State ofcharge, 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 acquired charge and discharge data with a standard threshold value, for example, by comparing the actual voltage of the battery with the standard voltage threshold value after the actual voltage of the battery is acquired, and outputting abnormal data indicating that the battery is under-voltage or under-voltage when the actual voltage is greater than or less than the standard voltage threshold value. Further, the abnormal data further comprises an abnormal grade, and the abnormal grade is determined by the difference value between the actual charge and discharge data of the battery and the standard threshold value.
It will be appreciated that the battery may be a lithium battery or other 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 which is written into the nonvolatile memory last time;
It is understood that the battery operating parameters include at least one of voltage, current, temperature, and state of charge. Different battery operating parameters correspond to different reference operating parameters, i.e., voltage versus reference voltage, current versus reference current, temperature versus reference temperature, state of charge versus reference state of charge. The reference operating parameter is a battery operating parameter that was last written to the non-volatile memory, i.e., a battery operating parameter carried in the current operating data last written to the non-volatile memory. According to the battery monitoring data storage method, when the difference value between any battery working parameter of the current operation data and the reference working parameter exceeds the target range, the current operation data is judged to change compared with the current operation data written last time. Alternatively, in other embodiments, it may be set whether any combination of two or more battery operating parameters changes at the same time according to the requirement, 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, the data granularity requirements. The target range for each different type of battery operating parameter and its reference operating parameter is set differently, for example, the target range for voltage change may be +/-100mV, the target range for current change may be +/-200mA, and the target range for temperature change may be +/-0.5 degrees.
It is understood that the non-volatile Memory may be Flash Memory (Flash Memory), read-only Memory (ROM), programmable Read-only Memory (Programmable Read-only Memory, PROM), electrically rewritable Read-only Memory (ELECTRICALLY ALTERABLE READ ONLY MEMORY, earm), erasable programmable Read-only Memory (Erasable programmable Read only Memory, EPROM), or electrically erasable programmable Read-only Memory (ELECTRICALLY ERASABLE PROGRAMMABLE READ ONLY MEMORY, EEPROM).
Step S300: if the difference value between the at least one battery working parameter in the current operation data and the reference working parameter is out of the target range, the current operation data is used as operation record data to be written into a target position of the nonvolatile memory, and the reference working parameter is updated.
It is understood that the target location is a write address. The operation record data includes at least one of a time point, charge-discharge data or abnormal data associated with the time point, and a serial number associated with the operation record 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 time of year, month, day, minute, second and the like. The serial numbers of the different types of operation record data can be separately ordered, 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. Every time one piece of operation record data is written, the serial number carried by the operation record data is added by one on the basis of the serial number of the last operation record data.
It will be appreciated 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 battery operation parameters included in the operation record data.
It will be appreciated that when the difference between the at least one battery operating parameter of the current operating data and the reference operating parameter is outside the target range, the current operating data is changed from the last written operating record data. According to the battery monitoring data storage method, by continuously collecting current operation data of the battery and writing only current operation data with certain change generated by a certain battery working parameter compared with a reference working parameter, redundant repeated operation data are prevented from being written while continuous monitoring of the whole period of the battery is ensured, unnecessary waste of memory capacity is reduced, a large amount of effective operation data can be stored, and therefore 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 where the operation record data with the minimum serial number is located in all operation record data stored in the nonvolatile memory is taken as a target position, and the current operation data to be written is written into the target position and the operation record data with the minimum serial number is covered.
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 the recently valid operational data.
Referring to fig. 2, in one embodiment, the battery monitoring data storage method further includes:
Step S400: scanning all sectors of the non-volatile memory;
it will be appreciated that all sectors of the non-volatile memory in this embodiment are used to store operational record data. In other embodiments, a portion of the sectors may also be selected for storing operational record 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 operation record data may be verified as valid by recording the fixed format and verification data.
Step S600: 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 (random access memory, RAM);
It will be appreciated that the file header includes the number of valid records, the write address of the next new run record data, and the sequence number of the next new run record data.
It will be appreciated that the header is updated once every time one run record data is written.
It will be appreciated that each piece of operation record data carries a serial number, and each piece of operation record data is added, the serial number increases in value. And comparing the sequence number size relationship of the operation record data to obtain the address of the operation record data with the maximum sequence number, and calculating the next address after the address as the writing position of the next operation record data.
Step S700: and writing the current operation data into a target position of the nonvolatile memory as operation record data according to the file header.
It will be appreciated that the target location is the write address of the next piece of new run record data.
It is appreciated that non-volatile memory has a read-write life limitation. The file header records key information such as the effective record number, the writing address of the next new running record data, the serial number of the next new running record data, and the like, and the file header needs to be updated every time when one new running record data is written. The file header is stored in the nonvolatile memory, so that the read-write times of the sector of the nonvolatile memory storing the file header are far greater than those of other common sectors, and the read-write life of the sector is short of the whole nonvolatile memory. According to the battery monitoring data storage method, only the operation record data are stored in the nonvolatile memory, and the file header is stored in the random access memory, so that the problem of read-write life of a certain sector caused by frequent reading does not exist in the nonvolatile memory, 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 power-down data volatile of the random access memory is solved.
It CAN be understood that the above 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 a manner of CAN communication, serial port communication, LAN communication and the like. For example:
The battery management system receives the synchronous time sent by the host and synchronizes the internal time with the host;
Acquiring an overall situation command of acquiring operation record data sent by a host, and replying a data packet containing the effective record number, the start record time and the end record time of the operation record data to the host;
and acquiring a command of the operation record data at a 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 number of each step in the foregoing embodiment does not mean that the execution sequence of each process should be determined by the function and the internal logic, and should not limit the implementation process of the embodiment of the present application.
Fig. 3 shows a schematic circuit diagram of a battery management system provided in a second aspect of the embodiment of the present application, where the battery management system is operated by applying the battery monitoring data storage method provided in the first aspect of the embodiment of the present application, and for convenience of explanation, only the portions relevant to the present embodiment are shown, and the details are as follows:
the battery management system in this embodiment includes: the device comprises an acquisition module 100, a judgment module 200, a writing 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 writing module 300, and the output end of the writing module 300 is connected with the nonvolatile memory 400.
The acquisition module 100 is configured to acquire current operation data of the battery, where the current operation data includes at least one battery operating parameter. The judging module 200 is configured to judge 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 written into the nonvolatile memory last time. The writing module 300 is configured to write the current operation data as operation record data to the target location of the nonvolatile memory 400 and update the reference operation parameter of the judging module 200 when the difference between the at least one battery operation parameter and the reference operation parameter in the current operation data is outside the target range. The nonvolatile memory 400 is used to store operation record data.
In one embodiment, when the storage address of the nonvolatile memory 400 is full, the writing module 300 is further configured to write the current running data to be written to the address where the running record data with the minimum serial number is located in all the running record data stored in the nonvolatile memory 400, and overwrite the running record data with the minimum serial number.
Referring to fig. 4, in one embodiment, the battery management system further includes: scanning module 500, statistics module 600, construction module 700, and random access memory 800. The output end of the scanning module 500 is connected with the input end of the statistics module 600, the input end of the building module 700 of the output end of the statistics module 600 is connected, the output end of the building module 700 is connected with the random access memory 800, and the random access memory 800 is also connected with the writing module 300. The scanning module 500 is used to scan all sectors of the nonvolatile memory 400. The statistics module 600 is used for counting the number of effective records of each operation record data, and calculating the writing address of the next new operation record data according to the address recorded by the maximum serial number in each operation record data. The construction module 700 is configured to construct a file header according to the number of valid records and the write address of the next new running 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 application. 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 steps in the above-described respective embodiments of the battery fault diagnosis method are implemented when the processor 60 executes the computer program 62, such as steps S100 to 300 shown in fig. 1. Or the processor 60 when executing the computer program 62 performs the functions of the modules/units of the apparatus embodiments described above, such as the functions of the modules 100 through 800 shown in fig. 4.
By way of example, the computer program 62 may be partitioned into one or more modules/units, which are stored in the memory 61 and executed by the processor 60 to complete the present application. One or more of the modules/units may be a series of computer program instruction segments capable of performing a specific function for describing the execution of the computer program 62 in the battery monitoring device 6. For example, the computer program 62 may be divided into a synchronization module, a summary module, an acquisition module, and a return module (modules in the virtual device).
The battery monitoring device 6 may be a computing device such as a desktop computer, a notebook computer, a palm computer, a cloud server, etc. The battery monitoring device may include, but is not limited to, a processor 60, a memory 61. It will be appreciated by those skilled in the art that fig. 5 is merely an example of the battery monitoring apparatus 6 and is not meant to be limiting of the battery monitoring apparatus 6, and may include more or fewer components than shown, or may combine certain components, or different components, e.g., the battery monitoring apparatus may further include input and output devices, network access devices, buses, etc.
The Processor 60 may be a central processing unit (Central Processing Unit, CPU), other general purpose Processor, digital signal Processor (DIGITAL SIGNAL Processor, DSP), application SPECIFIC INTEGRATED Circuit (ASIC), off-the-shelf Programmable gate array (Field-Programmable GATE ARRAY, FPGA) or other Programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. 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 memory card (SMART MEDIA CARD, SMC), a Secure Digital (SD) card, a flash memory card (FLASH CARD), or the like. Further, the memory 61 may also include both an internal storage unit and an external storage device of the battery monitoring apparatus 6. The memory 61 is used to store a computer program and other programs and data required for 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-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions. The functional units and modules in the embodiment may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit, where the integrated units may be implemented in a form of hardware or a form of a software functional unit. In addition, the specific names of the functional units and modules are only for distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working process of the units and modules in the above system may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and in part, not described or illustrated in any particular embodiment, reference is made to the related descriptions of other embodiments.
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 solution. 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 manners. For example, the apparatus/terminal device embodiments described above are merely illustrative, e.g., the division of the modules or units is merely a logical function division, and there may be additional divisions in actual implementation, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection via interfaces, devices or units, which may be in electrical, mechanical or other forms.
The units described as separate units may or may not be physically separate, and units shown 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 may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated modules/units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the present application may implement all or part of the flow of the method of the above embodiment, or may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, and when the computer program is executed by a processor, the computer program may implement the steps of each of the method embodiments described above. Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth. It should be noted that the computer readable medium contains content that can be appropriately scaled according to the requirements of jurisdictions in which such content is subject to legislation and patent practice, such as in certain jurisdictions in which such content is subject to legislation and patent practice, the computer readable medium does not include electrical carrier signals and telecommunication signals.
The above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application.

Claims (7)

1. A battery monitoring data storage method, comprising:
Collecting current operation data of a battery, wherein the current operation data comprises at least one battery working parameter, and the battery working parameter comprises at least one of voltage and temperature;
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 which is written into a nonvolatile memory last time;
The determining whether the difference between the at least one battery operating parameter in the current operating data and the reference operating parameter is outside the target range includes: the voltage is compared to a reference voltage and/or the temperature is compared to a reference temperature:
If yes, the current operation data is used as operation record data to be written into a target position of the nonvolatile memory, and the reference working parameters are updated;
The operation record data comprises 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 record data written last time;
scanning all sectors of the non-volatile memory;
counting the effective record quantity of each piece of operation record data, and determining the address of the operation record data with the maximum serial number in each piece of operation record data;
dynamically 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;
Writing the current operation data into a target position of the nonvolatile memory as operation record data according to the file header;
The file header comprises the effective record quantity, the writing address of the next new running record data and the serial number of the next new running record data, and the file header is updated once when one running record data is written in each time.
2. The battery monitoring data storage method of claim 1, wherein the battery operating parameters further comprise at least one of current and state of charge.
3. The battery monitoring data storage method of claim 1, comprising:
When the storage address of the nonvolatile memory is full, the address of the operation record data with the minimum serial number in all operation record data stored in the nonvolatile memory is used as the target position, and the current operation data to be written is written into the target position and covers the operation record data with the minimum serial number.
4. A battery management system, comprising:
The system comprises an acquisition module, a control module and a control module, wherein the acquisition module is used for acquiring current operation data of a battery, the current operation data comprise at least one battery working parameter, and the battery working parameter comprises at least one of voltage and temperature;
The judging module is connected with the acquisition module and is 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 or not, and the reference working parameter is the battery working parameter which is written into the nonvolatile memory last time;
The determining whether the difference between the at least one battery operating parameter in the current operating data and the reference operating parameter is outside the target range includes: the voltage is compared to a reference voltage and/or the temperature is compared to a reference temperature:
The writing module is connected with the judging module and the nonvolatile memory, and is used for writing the current operation data into a target position of the nonvolatile memory as operation record data 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
The nonvolatile memory is connected with the writing module and is used for storing the operation record data;
The operation record data comprises 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 record data written last time;
a scanning module for scanning all sectors of the nonvolatile memory;
The statistics module is connected with the scanning module and is used for counting the effective record quantity of each piece of operation record data and determining the address of the operation record data with the maximum serial number in each piece of operation record data;
the construction module is connected with the statistics module, and is 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
The random access memory is connected with the construction module and the writing module and is used for storing the file header;
The file header comprises the effective record quantity, the writing address of the next new running record data and the serial number of the next new running record data, and the file header is updated once when one running record data is written in each time.
5. The battery management system according to claim 4, comprising: when the storage address of the nonvolatile memory is full, the writing module is further configured to write the current operation data to be written into an address where the operation record data with the minimum serial number is located in all operation record data stored in the nonvolatile memory, and cover the operation record data with the minimum serial number.
6. A battery monitoring device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any one of claims 1 to 3 when the computer program is executed.
7. A computer readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the steps of the method according to any one of claims 1 to 3.
CN202110332600.8A 2021-03-29 2021-03-29 Battery monitoring data storage method, battery management system and battery monitoring device Active CN113125966B (en)

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 CN113125966A (en) 2021-07-16
CN113125966B true 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)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
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
CN115993940B (en) * 2023-03-23 2023-07-25 青岛鼎信通讯股份有限公司 Electric quantity loss prevention method and device, electric energy meter equipment and storage medium
CN116774091B (en) * 2023-08-24 2023-10-17 南京市计量监督检测院 High-precision power battery pack SOH online measurement system and method thereof

Citations (8)

* Cited by examiner, † Cited by third party
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
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

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI451248B (en) * 2012-01-13 2014-09-01 Phison Electronics Corp Data protecting method, memory controller and memory storage apparatus
CN104881611B (en) * 2014-02-28 2017-11-24 国际商业机器公司 The method and apparatus for protecting the sensitive data in software product

Patent Citations (8)

* Cited by examiner, † Cited by third party
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
CN103150235A (en) * 2013-03-29 2013-06-12 Tcl通讯(宁波)有限公司 Method and mobile terminal for automatically storing data in volatile memory
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

Also Published As

Publication number Publication date
CN113125966A (en) 2021-07-16

Similar Documents

Publication Publication Date Title
CN113125966B (en) Battery monitoring data storage method, battery management system and battery monitoring device
US20120206107A1 (en) Protection module and method for managing status data of the protection module
CN106940625B (en) Data storage method of intelligent electric meter
CN111045881A (en) Slow disk detection method and system
CN112684987A (en) Data classification storage method and device based on double-core intelligent electric meter
CN110457907A (en) A kind of firmware program detecting method and device
WO2023029753A1 (en) Device power supply method and apparatus, terminal device and storage medium
CN116360377A (en) Data processing method for battery cell formation component capacity and distributed control system
CN104657678B (en) Response protection monotone counter, read method and method of counting
CN107342880A (en) Abnormal information acquisition method and system
CN116323288A (en) Method and device for determining display state of charge and battery management chip
CN116360695A (en) Data storage method and device based on hybrid energy storage power supply
CN116381542A (en) Health diagnosis method and device of power supply equipment based on artificial intelligence
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
CN111835593B (en) Detection method based on nonvolatile storage medium, storage medium and electronic equipment
CN111639057A (en) Log message processing method and device, computer equipment and storage medium
CN202929707U (en) Electric vehicle data logger
JP3498702B2 (en) Computer system and trace information control method used therefor
CN114547144B (en) Time sequence data range query method, device and equipment
CN117368786B (en) SOC calibration method and device suitable for high-voltage cascade energy storage system
CN113435609B (en) Line loss abnormity detection method and device and terminal equipment
CN116259866B (en) Charging method, battery management system, battery, and readable storage medium
CN116774934A (en) Load data management method and device, electronic equipment and readable storage medium
CN116049022A (en) Electric energy meter freezing data storage method, electric energy meter and storage medium

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