CN116545591B - BMS battery management system-based data transmission method - Google Patents

BMS battery management system-based data transmission method Download PDF

Info

Publication number
CN116545591B
CN116545591B CN202310814576.0A CN202310814576A CN116545591B CN 116545591 B CN116545591 B CN 116545591B CN 202310814576 A CN202310814576 A CN 202310814576A CN 116545591 B CN116545591 B CN 116545591B
Authority
CN
China
Prior art keywords
increment
voltage data
moment
determining
voltage
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
CN202310814576.0A
Other languages
Chinese (zh)
Other versions
CN116545591A (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.)
Kurz Electronic Technology Nantong Co ltd
Original Assignee
Kurz Electronic Technology Nantong Co ltd
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 Kurz Electronic Technology Nantong Co ltd filed Critical Kurz Electronic Technology Nantong Co ltd
Priority to CN202310814576.0A priority Critical patent/CN116545591B/en
Publication of CN116545591A publication Critical patent/CN116545591A/en
Application granted granted Critical
Publication of CN116545591B publication Critical patent/CN116545591B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/42Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
    • 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
    • G01R31/3835Arrangements for monitoring battery or accumulator variables, e.g. SoC involving only voltage measurements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/10Pre-processing; Data cleansing
    • G06F18/15Statistical pre-processing, e.g. techniques for normalisation or restoring missing data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • G06F18/243Classification techniques relating to the number of classes
    • G06F18/2431Multiple classes
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M7/00Conversion of a code where information is represented by a given sequence or number of digits to a code where the same, similar or subset of information is represented by a different sequence or number of digits
    • H03M7/30Compression; Expansion; Suppression of unnecessary data, e.g. redundancy reduction
    • H03M7/40Conversion to or from variable length codes, e.g. Shannon-Fano code, Huffman code, Morse code
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0009Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the channel coding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q9/00Arrangements in telecontrol or telemetry systems for selectively calling a substation from a main station, in which substation desired apparatus is selected for applying a control signal thereto or for obtaining measured values therefrom
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/60Other road transportation technologies with climate change mitigation effect
    • Y02T10/70Energy storage systems for electromobility, e.g. batteries

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Evolutionary Computation (AREA)
  • Evolutionary Biology (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Engineering & Computer Science (AREA)
  • General Chemical & Material Sciences (AREA)
  • Chemical Kinetics & Catalysis (AREA)
  • Electrochemistry (AREA)
  • Chemical & Material Sciences (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Probability & Statistics with Applications (AREA)
  • Signal Processing (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

The invention relates to the technical field of data transmission, in particular to a data transmission method based on a BMS battery management system. The method comprises the following steps: the method comprises the steps that based on a BMS battery management system, time sequence sampling is conducted on battery voltage to obtain a voltage data set, and according to first voltage data of each moment and second voltage data of the last moment, voltage data increment of each moment is determined to obtain a time sequence increment set of the voltage data increment; determining a first increment change amount and a second increment change amount of the last moment of each moment according to the voltage data increment, and determining the local importance degree of the voltage data increment of each moment in a time sequence increment set according to the first increment change amount and the second increment change amount; the method and the device for transmitting the voltage data increment determine the coding priority of the voltage data increment according to the local importance degree, and perform coding processing on the voltage data increment according to the coding priority to obtain the increment data code and transmit the increment data code.

Description

BMS battery management system-based data transmission method
Technical Field
The invention relates to the technical field of data transmission, in particular to a data transmission method based on a BMS battery management system.
Background
The storage battery is used as a direct current power supply, and the voltage of a storage battery power grid is different due to the operation of the load element. To avoid quality problems in use of the battery or damage to important equipment caused by anomalies in the load cells, battery management systems (Battery Management System, BMS) are often added to the battery for real-time monitoring. By loading the load element, the voltage forms different voltage data segments along with time sequence, the segmented data can change around a certain average value for a long time, and surge is formed in the power grid, so that voltage fluctuation is caused, and therefore, the fluctuating voltage needs to be recorded and transmitted.
In the related art, the huffman coding is directly used to code the increment of the voltage data, in this way, the huffman coding uses fewer bytes to represent the data with high repeatability, but the increment of the abnormal voltage fluctuation is easy to use more bytes to represent due to lower repeatability, and the more bytes are more easy to generate data damage due to byte loss in the transmission process, thus seriously affecting the reliability of the data transmission of the BMS battery management system.
Disclosure of Invention
In order to solve the technical problem of insufficient data transmission reliability of a BMS battery management system, the invention provides a data transmission method based on the BMS battery management system, which adopts the following technical scheme:
the invention provides a data transmission method based on a BMS battery management system, which comprises the following steps:
the method comprises the steps that based on a BMS battery management system, time sequence sampling is conducted on battery voltage to obtain a voltage data set, voltage data increment of each moment is determined according to first voltage data of each moment and second voltage data of the last moment, the voltage data set is traversed, and a time sequence increment set of the voltage data increment is obtained;
determining a first increment change amount and a second increment change amount at the last moment of each moment according to the voltage data increment, and determining the local importance degree of the voltage data increment at each moment in the time sequence increment set according to the first increment change amount and the second increment change amount;
and determining the coding priority of the voltage data increment according to the local importance degree, performing coding processing on the voltage data increment according to the coding priority to obtain an increment data code, and transmitting the increment data code.
Further, the determining, according to the first delta variation and the second delta variation, a local importance degree of the voltage data delta at each moment in the time sequence delta set includes:
performing reverse normalization processing on the voltage data increment at each moment to obtain an initial influence factor, and taking the product of the initial influence factor and the second increment variation as an increment variation influence factor;
determining the absolute value of the sum of the first increment change amount and the increment change influence factor as a first change factor;
determining the absolute value of the sum of the first increment change amount and the second increment change amount as a second change factor;
calculating the ratio of the second change factor to the first change factor, and taking the ratio as the local importance degree of the voltage data increment in the time sequence increment set.
Further, the determining the coding priority of the voltage data increment according to the local importance degree includes:
traversing the time sequence increment set, taking the voltage data increments with the same numerical value as the same category, and counting the categories of the voltage data increments to generate an increment category sequence;
according to the increment class sequence, carrying out mean variance calculation processing on the local importance degree of the voltage data increment of each class to obtain importance degree variances of the voltage data increment of each class;
and determining the coding priority of the voltage data increment according to the importance variance.
Further, the determining the coding priority of the voltage data increment according to the importance variance includes:
and carrying out normalization processing on the importance degree variance of the voltage data increment of each category according to the sum value of the importance degree variances of the voltage data increments of all the categories in the increment category sequence to obtain the coding priority of the voltage data increment.
Further, the encoding the voltage data increment according to the encoding priority to obtain an increment data encoding, including:
and sequencing the voltage data increment according to the numerical value of the coding priority, generating a sequencing result, constructing a Huffman coding tree according to the sequencing result, and coding the voltage data increment according to the Huffman coding tree to obtain the data increment code.
Further, the determining the voltage data increment at each time according to the first voltage data at each time and the second voltage data at the last time includes:
determining a difference between the first voltage data and the second voltage data as the voltage data increment at each moment.
Further, the determining the first increment change amount at each time and the second increment change amount at the last time according to the voltage data increment includes:
in the time sequence increment set, taking the difference value between the voltage data increment at each moment and the voltage data increment at the initial moment as the first increment variation; and taking the difference value between the voltage data increment at the last moment and the voltage data increment at the initial moment as the second increment variation.
The invention has the following beneficial effects:
according to the invention, the time sequence increment set of the voltage data increment is obtained, so that the voltage data increment can be counted, the fluctuation of the voltage data is expressed in an increment form, the voltage data increment is transmitted subsequently, the fluctuation of the voltage data can be more intuitively reflected, and the data transmission effect is improved; the local importance degree of the voltage data increment at each moment in the time sequence increment set is determined according to the first increment change amount and the second increment change amount, and the importance of the voltage data increment is determined according to the local importance degree, so that more important voltage data can be identified as abnormal data, and the abnormal data can be effectively transmitted in the data transmission process; the coding priority of the voltage data increment is determined according to the local importance degree, and the voltage data increment with higher local importance degree is transmitted more stably, so that the probability of important voltage data loss caused by interference packet loss in the transmission of the voltage data is reduced.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions and advantages of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are only some embodiments of the invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a data transmission method based on a BMS battery management system according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a voltage data set according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a huffman coding tree according to an embodiment of the present invention.
Detailed Description
In order to further describe the technical means and effects adopted by the present invention to achieve the preset purposes, the following detailed description refers to the specific implementation, structure, features and effects of a data transmission method based on a BMS battery management system according to the present invention with reference to the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" means that the embodiments are not necessarily the same. Furthermore, the particular features, structures, or characteristics of one or more embodiments may be combined in any suitable manner.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
The following specifically describes a specific scheme of a data transmission method based on a BMS battery management system according to the present invention with reference to the accompanying drawings.
Referring to fig. 1, a flowchart of a data transmission method based on a BMS battery management system according to an embodiment of the invention is shown, where the method includes:
s101: and (3) carrying out time sequence sampling on the battery voltage based on the BMS battery management system to obtain a voltage data set, determining the voltage data increment of each moment according to the first voltage data of each moment and the second voltage data of the last moment, traversing the voltage data set, and obtaining a time sequence increment set of the voltage data increment.
In the embodiment of the invention, the voltage data can be sampled according to the preset sampling frequency to obtain the voltage data set, wherein the voltage data set is a time sequence voltage data set, and the voltage data in the voltage data set is sequenced according to the sequence of sampling time so as to be convenient for subsequent analysis of the voltage data. For example, the sampling frequency may be set to 300 times per second, as shown in fig. 2, fig. 2 is a schematic diagram of a voltage data set provided by an embodiment of the present invention, that is, 300 times of voltage data are collected in 1 second, and the collected voltage data are sequentially generated according to the sequence of collection, the voltage data in fig. 2 may be obviously divided into three data segments, the BMS battery monitoring system is connected to the storage battery and the whole power grid, the voltage of the storage battery has normal voltage fluctuation due to the unloading and loading of the load element, and is stabilized in a section after the fluctuation, if a larger voltage fluctuation is generated in a certain stable section, the voltage fluctuation in the sampling section of 260-280 in fig. 2 may be regarded as abnormal fluctuation, and of course, the setting of the sampling frequency may be adjusted according to the actual storage battery condition, so as not to limit the situation.
In the embodiment of the present invention, according to the first voltage data at each time and the second voltage data at the last time, the voltage data increment at each time is determined, and the difference between the first voltage data and the second voltage data can be determined to be the voltage data increment at each time, that is, the voltage data increment at each time is the difference between the voltage data at the time and the voltage data at the last time, for example, the voltage data increment at the 160 th sampling time is the difference between the first voltage data obtained by the 160 th sampling and the second voltage data obtained by the 159 th sampling, and because of the fluctuation of the voltage data, the difference between the first voltage data and the second voltage data can be a positive value or a non-positive value, which is not limited.
In the embodiment of the invention, the time sequence increment set is generated by calculating the voltage data increment at different moments and sequencing according to the time sequence, wherein the time sequence increment set comprises the voltage data increment sequenced according to the sampling moment, as shown in a voltage data increment formula:
in the method, in the process of the invention,indicate->Voltage data increment at sub-sampling time, +.>Sequence number indicating sampling time, +.>,/>Is a positive integer>Indicate->First voltage data of time, < >>Indicate->Second voltage data from the moment immediately above, in particular in +.>When (I)>,/>Voltage data increment representing initial time, +.>The voltage data representing the initial time, that is, the voltage data increment at the initial time is the same as the voltage data at the initial time, wherein the initial time is the time of initial sampling of the voltage data.
Because the voltage data has sectionality, when the conditions of connecting and electrically shorting the load element and the like occur, the current load element is suddenly unloaded from the main power grid, so that the high current of the line is fused, the load element is loaded to the main power grid, the voltage is subjected to two jumps to form abnormal fluctuation for the sampling interval of the current voltage data, but the numerical value of the voltage data after the jumps is the numerical value of the voltage data unloaded and loaded by the normal load element, therefore, the management of the battery can not be effectively realized by directly transmitting the voltage data.
S102: and determining the first increment change amount and the second increment change amount of each moment according to the voltage data increment, and determining the local importance degree of the voltage data increment of each moment in the time sequence increment set according to the first increment change amount and the second increment change amount.
The increment change amount is a value of voltage increment change from an initial time to a designated time, the first increment change amount is an increment change amount at a certain time, and the second increment change amount is an increment change amount at a time immediately before the certain time. In the embodiment of the invention, determining the first increment change amount at each moment and the second increment change amount at the last moment according to the voltage data increment comprises the following steps: in the time sequence increment set, taking the difference value between the voltage data increment at each moment and the voltage data increment at the initial moment as a first increment variation; and taking the difference value between the voltage data increment at the last moment and the voltage data increment at the initial moment as a second increment variation.
In the embodiment of the invention, the increment variable quantity at a certain moment can be obtained by using an increment variable quantity formula, wherein the increment variable quantity formula is shown as follows:
in the method, in the process of the invention,indicate->Incremental change of subsampling moment, +.>Sequence number indicating sampling time, +.>,/>Is a positive integer>Indicate->Voltage data increment at sub-sampling time, +.>Representing the voltage data increment at the initial time.
As can be seen from the incremental change amount formula, the difference between the voltage data increment at a certain time and the voltage data increment at the initial time is used as the incremental change amount at that time.
In the embodiment of the present invention, determining, according to a first delta variation and a second delta variation, a local importance degree of a voltage data delta at each moment in a time sequence delta set includes: performing reverse normalization processing on the voltage data increment at each moment to obtain an initial influence factor, and taking the product of the initial influence factor and the second increment variation as an increment variation influence factor; determining the absolute value of the sum of the first increment change amount and the increment change influence factor as a first change factor; determining the absolute value of the sum of the first increment change amount and the second increment change amount as a second change factor; calculating the ratio of the second change factor to the first change factor, and taking the ratio as the local importance degree of the voltage data increment in the time sequence increment set.
Because the Huffman coding is directly carried out on the voltage data increment, and the probability of losing important abnormal data is high, the embodiment of the invention can calculate the local importance degree of each voltage data increment in the time sequence increment set, and process the voltage data increment according to the local importance degree so as to improve the reliability of the voltage data increment transmission.
In the embodiment of the invention, the local importance degree of the voltage data increment at each moment in the time sequence increment set can be obtained by a local importance degree formula, wherein the local importance degree formula is shown as follows:
in the formula of the local importance level,indicate->Local importance of the voltage data increment at the sub-sampling instant,/->A sequence number indicating the sampling instant of time,/>,/>is a positive integer>Indicate->The first incremental change in sub-sampling time,indicate->A second incremental change of subsampling moment, < >>Indicate->Voltage data increment at sub-sampling time, +.>Representing natural constant->Representing the initial influencing factor>Representing the delta change influencing factor->Representing absolute value>Representing a first variation factor, ">Representing a second variation factor.
By local importanceThe degree formula can be known if the firstVoltage data increment at sub-sampling time>The larger the value of (2), the initial influencing factor +.>The smaller the value of (2), the smaller the first change factor, the unchanged the second change factor, the greater the local importance>The voltage data representing the sampling time is more likely to belong to abnormal data such as jump data or fluctuation data, so that the local importance degree is effectively ensured>Reliability of (3).
S103: and determining the coding priority of the voltage data increment according to the local importance degree, coding the voltage data increment according to the coding priority to obtain an increment data code, and transmitting the increment data code.
The coding priority may represent the priority of coding, and it is understood that the larger the coding priority is, the shorter the coding length can be used, and the smaller the coding priority is, the longer the coding length can be used.
In the embodiment of the invention, the method for determining the coding priority of the voltage data increment according to the local importance degree comprises the following steps: traversing the sequence increment set, taking voltage data increments with the same value as the same category, and counting the categories of the voltage data increments to generate an increment category sequence; according to the increment class sequence, carrying out mean variance calculation processing on the local importance degree of the voltage data increment of each class to obtain the importance degree variance of the voltage data increment of each class; and determining the coding priority of the voltage data increment according to the importance degree variance.
The same voltage data increment is the same in value, and it can be understood that in the process of encoding the voltage data increment, the voltage data increment with the same value can be encoded into the same encoding value, so that the sequence increment set can be traversed, the voltage data increment with the same value is counted into the same category, the category of the counted voltage data increment generates an increment category sequence, and the local importance degree of the voltage data increment of each category can be calculated conveniently.
In the embodiment of the invention, the local importance degree of the same voltage data increment can be subjected to mean variance calculation processing by using an importance degree variance formula to obtain the importance degree variance of the voltage data increment, wherein the importance degree variance formula is shown as follows, a sequence increment set can be traversed, the voltage data increment with the same value is used as the same category, and an increment category sequence is generated by counting the category of the voltage data increment:
in the method, in the process of the invention,representing class +.>Importance variance of voltage data increment of +.>Index of category representing voltage data increment in increment category sequence, +.>Representation category->The number of voltage data increments, +.>Representation category->Index of voltage data increment of>Representation category->Middle->Local importance of the individual voltage data increments, +.>Representation category->The average of the local importance of all voltage data increments.
As can be seen from the importance variance formula, in categoryThe category +.>The local importance degree of all voltage data increment in the system fluctuates in a stable numerical area, namely, the local importance degree corresponding to the same voltage data increment at different moments fluctuates less, and the probability of abnormal voltage data is lower; in category->When the importance variance value of the voltage data increment of (2) is large, the category +.>The local importance degree fluctuation of all the voltage data increment is larger, namely, the local importance degree fluctuation corresponding to the same voltage data increment is larger at different moments, and abnormal voltage data is more likely to occur.
In the embodiment of the invention, the method for determining the coding priority of the voltage data increment according to the importance variance comprises the following steps: and carrying out normalization processing on the importance degree variance of the voltage data increment of each category according to the sum value of the importance degree variances of the voltage data increments of all the categories in the increment category sequence, so as to obtain the coding priority of the voltage data increment.
After determining the importance degree variance, the importance degree variance of each class of voltage data increment may be normalized, and the ratio of the importance degree variance of the voltage data increment of the same class to the importance degree variance and the value of the voltage data increment of all classes is used as the coding priority, so that the subsequent coding transmission is performed according to the coding priority. The coding priority of the voltage data increment is obtained using a coding priority formula, which can be shown as follows:
in the method, in the process of the invention,representation category->Priority of encoding of voltage data increments, +.>Index of category representing voltage data increment in increment category sequence, +.>,/>Representing class +.>Importance variance of voltage data increment of +.>Representing all voltage data increments in an incremental class sequenceTotal number of categories of quantity, +.>Representing class +.>The importance variance of the voltage data increment of (a).
As can be seen from the coding priority formula, if the value of the importance variance of the voltage data increment of a certain class in the increment class sequence is larger, the coding priority is larger, that is, the coding length used by the voltage data increment of the class is shorter; if the value of the importance variance of the voltage data increment of a certain class in the increment class sequence is smaller, the coding priority is smaller, that is, the coding length used for the voltage data increment of the class is longer.
In some embodiments, huffman tree may be used for encoding, or may be self-configured for encoding, which is not limited thereto.
Preferably, in the embodiment of the present invention, the encoding processing of the voltage data increment according to the encoding priority to obtain the increment data encoding includes: and sequencing the voltage data increment according to the numerical value of the coding priority, generating a sequencing result, constructing a Huffman coding tree according to the sequencing result, and coding the voltage data increment according to the Huffman coding tree to obtain a data increment code.
In the embodiment of the invention, the numerical values of the coding priorities can be ordered from small to large to generate an ordering result, then two voltage data increments with the smallest coding priorities are selected as leaf nodes at the bottommost layer of the Huffman coding tree, the Huffman coding tree is constructed layer by layer from the leaf nodes at the bottommost layer to the root node according to the ordering result, and the voltage data increments are coded according to the Huffman coding tree to generate data increment codes corresponding to different types of voltage data increments.
It will be understood that if the coding priority of a certain type of voltage data increment is the largest, it may indicate that abnormal voltage data is more likely to occur at the time corresponding to the voltage data increment, a shorter coding length is given to the abnormal voltage data during coding, and if the coding priority of a certain type of voltage data increment is the smallest, it may indicate that the probability of abnormal voltage data occurring at the time corresponding to the voltage data increment is the smallest, a longer coding length is given to the abnormal voltage data during coding.
For example, as shown in fig. 3, fig. 3 is a schematic diagram of a huffman coding tree according to an embodiment of the present invention, and as can be seen from fig. 3, the delta category sequence includesThe four types of voltage data increment are sequenced from small to large according to the value of the coding priority of the voltage data increment, and a sequencing result is generated>When constructing Huffman coding tree, the voltage data increment with the minimum coding priority value is increased>And voltage data increment->As the bottom leaf node of Huffman tree, then building Huffman tree from small to large according to the value of coding priority, adding 1 to the left subtree of Huffman tree, adding 0 to the right subtree, generating voltage data increment of ++>The data delta encoding of (2) is: "111", voltage data increment of->The data delta encoding of (2) is: "110", voltage data increment of->The data delta encoding of (2) is: "10", and voltage data increment of +.>Number of (2)The incremental coding is as follows: "0". As can be seen from this encoding, the greater the encoding priority of the voltage data increment, the shorter the length of the data increment encoding corresponding to the encoding, and the smaller the encoding priority of the voltage data increment, the longer the length of the data increment encoding corresponding to the encoding.
In the embodiment of the invention, after the data increment coding is determined, the data increment coding is transmitted according to the time sequence, and in the transmission process, the shorter the coding length corresponding to the voltage data increment at the abnormal moment is, the smaller the probability of data loss caused by the interference packet loss is in the transmission process, and the stronger the protection of abnormal data in the transmission process is.
According to the invention, the time sequence increment set of the voltage data increment is obtained, so that the voltage data increment can be counted, the fluctuation of the voltage data is expressed in an increment form, the voltage data increment is transmitted subsequently, the fluctuation of the voltage data can be more intuitively reflected, and the data transmission effect is improved; the local importance degree of the voltage data increment at each moment in the time sequence increment set is determined according to the first increment change amount and the second increment change amount, and the importance of the voltage data increment is determined according to the local importance degree, so that more important voltage data can be identified as abnormal data, and the abnormal data can be effectively transmitted in the data transmission process; the coding priority of the voltage data increment is determined according to the local importance degree, and the voltage data increment with higher local importance degree is transmitted more stably, so that the probability of important voltage data loss caused by interference packet loss in the transmission of the voltage data is reduced.
It should be noted that: the sequence of the embodiments of the present invention is only for description, and does not represent the advantages and disadvantages of the embodiments. The processes depicted in the accompanying drawings do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments.

Claims (3)

1. A data transmission method based on a BMS battery management system, the method comprising:
the method comprises the steps that based on a BMS battery management system, time sequence sampling is conducted on battery voltage to obtain a voltage data set, voltage data increment of each moment is determined according to first voltage data of each moment and second voltage data of the last moment, the voltage data set is traversed, and a time sequence increment set of the voltage data increment is obtained;
determining a first increment change amount and a second increment change amount at the last moment of each moment according to the voltage data increment, and determining the local importance degree of the voltage data increment at each moment in the time sequence increment set according to the first increment change amount and the second increment change amount;
determining the coding priority of the voltage data increment according to the local importance degree, performing coding processing on the voltage data increment according to the coding priority to obtain an increment data code, and transmitting the increment data code;
the determining, according to the first delta variation and the second delta variation, a local importance degree of the voltage data delta at each moment in the time sequence delta set includes:
performing reverse normalization processing on the voltage data increment at each moment to obtain an initial influence factor, and taking the product of the initial influence factor and the second increment variation as an increment variation influence factor;
determining the absolute value of the sum of the first increment change amount and the increment change influence factor as a first change factor;
determining the absolute value of the sum of the first increment change amount and the second increment change amount as a second change factor;
calculating the ratio of the second change factor to the first change factor, and taking the ratio as the local importance degree of the voltage data increment in the time sequence increment set;
the determining the coding priority of the voltage data increment according to the local importance degree comprises the following steps:
traversing the time sequence increment set, taking the voltage data increments with the same numerical value as the same category, and counting the categories of the voltage data increments to generate an increment category sequence;
according to the increment class sequence, carrying out mean variance calculation processing on the local importance degree of the voltage data increment of each class to obtain importance degree variances of the voltage data increment of each class;
determining the coding priority of the voltage data increment according to the importance variance;
the determining the coding priority of the voltage data increment according to the importance variance comprises the following steps:
normalizing the importance degree variance of the voltage data increment of each category according to the sum value of the importance degree variances of the voltage data increments of all categories in the increment category sequence to obtain the coding priority of the voltage data increment;
the step of performing the encoding processing on the voltage data increment according to the encoding priority to obtain an increment data encoding includes:
and sequencing the voltage data increment according to the numerical value of the coding priority, generating a sequencing result, constructing a Huffman coding tree according to the sequencing result, and coding the voltage data increment according to the Huffman coding tree to obtain the data increment code.
2. The method of claim 1, wherein determining the delta voltage data for each time based on the first voltage data for each time and the second voltage data for the previous time comprises:
determining a difference between the first voltage data and the second voltage data as the voltage data increment at each moment.
3. The method of claim 1, wherein said determining a first delta change for each time instant and a second delta change for a time instant immediately preceding the first delta change from said voltage data delta comprises:
in the time sequence increment set, taking the difference value between the voltage data increment at each moment and the voltage data increment at the initial moment as the first increment variation; and taking the difference value between the voltage data increment at the last moment and the voltage data increment at the initial moment as the second increment variation.
CN202310814576.0A 2023-07-05 2023-07-05 BMS battery management system-based data transmission method Active CN116545591B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310814576.0A CN116545591B (en) 2023-07-05 2023-07-05 BMS battery management system-based data transmission method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310814576.0A CN116545591B (en) 2023-07-05 2023-07-05 BMS battery management system-based data transmission method

Publications (2)

Publication Number Publication Date
CN116545591A CN116545591A (en) 2023-08-04
CN116545591B true CN116545591B (en) 2023-09-26

Family

ID=87447431

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310814576.0A Active CN116545591B (en) 2023-07-05 2023-07-05 BMS battery management system-based data transmission method

Country Status (1)

Country Link
CN (1) CN116545591B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107719153A (en) * 2017-09-07 2018-02-23 浙江吉利汽车研究院有限公司 Collection plate address automatic allocating method and device in battery management system
CN110015125A (en) * 2017-08-17 2019-07-16 上海汽车集团股份有限公司 A kind of coding, transmission method and the device of battery core voltage
WO2020244588A1 (en) * 2019-06-05 2020-12-10 深圳市道通智能航空技术有限公司 Battery management system, battery management method, power source module, and unmanned aerial vehicle
CN113960479A (en) * 2020-07-20 2022-01-21 意法半导体应用有限公司 Processing system for monitoring cell voltage, related battery monitoring system and electric vehicle
CN115913249A (en) * 2022-12-19 2023-04-04 双一力(宁波)电池有限公司 Battery data compression method, storage method and battery management system
WO2023052521A1 (en) * 2021-09-30 2023-04-06 TWAICE Technologies GmbH Determination of an ageing value for batteries with current-voltage time series in time domain and load domain

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20220100247A1 (en) * 2020-09-26 2022-03-31 Intel Corporation Hierarchical power management apparatus and method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110015125A (en) * 2017-08-17 2019-07-16 上海汽车集团股份有限公司 A kind of coding, transmission method and the device of battery core voltage
CN107719153A (en) * 2017-09-07 2018-02-23 浙江吉利汽车研究院有限公司 Collection plate address automatic allocating method and device in battery management system
WO2020244588A1 (en) * 2019-06-05 2020-12-10 深圳市道通智能航空技术有限公司 Battery management system, battery management method, power source module, and unmanned aerial vehicle
CN113960479A (en) * 2020-07-20 2022-01-21 意法半导体应用有限公司 Processing system for monitoring cell voltage, related battery monitoring system and electric vehicle
WO2023052521A1 (en) * 2021-09-30 2023-04-06 TWAICE Technologies GmbH Determination of an ageing value for batteries with current-voltage time series in time domain and load domain
CN115913249A (en) * 2022-12-19 2023-04-04 双一力(宁波)电池有限公司 Battery data compression method, storage method and battery management system

Also Published As

Publication number Publication date
CN116545591A (en) 2023-08-04

Similar Documents

Publication Publication Date Title
CN107957562B (en) Online prediction method for residual life of lithium ion battery
CN112433907B (en) Method and device for processing host operation parameter data of uninterruptible power supply and electronic device
CN111669123B (en) Method and device for fault diagnosis of photovoltaic string
CN115511013B (en) Large-scale energy storage power station abnormal battery identification method, device and storage medium
CN115801901A (en) Compression processing method for enterprise production emission data
CN115658628B (en) Production data intelligent management method for MES system
CN110571925A (en) Method for analyzing power quality by using data of power distribution network monitoring terminal
CN106067142B (en) Electric energy quality data representation method
CN114900191A (en) Improved algorithm for revolving door algorithm compression differential protection data
CN115856456A (en) Cable charge test data transmission method
CN117332215B (en) High-low voltage power distribution cabinet abnormal fault information remote monitoring system
CN116545591B (en) BMS battery management system-based data transmission method
CN117148045A (en) Fault studying and judging management system for running state of power distribution network
CN117353751B (en) Unmanned charging pile transaction data intelligent management system based on big data
CN115796708A (en) Intelligent quality inspection method, system and medium for big data for engineering construction
CN113533995A (en) Power battery consistency detection method
CN116743180A (en) Intelligent storage method for energy storage power supply data
CN117040542A (en) Intelligent comprehensive distribution box energy consumption data processing method
CN116774077A (en) Method, device, equipment and storage medium for detecting health of energy storage power station battery
CN115078892B (en) State remote monitoring system for single-machine large-transmission frequency converter
CN108665376B (en) Nuclear density estimation method for determining maximum value of cellular load in space load prediction
CN115173865A (en) Battery data compression processing method for energy storage power station and electronic equipment
CN110209837A (en) A kind of generation method and computing device of device information dictionary
CN113447712B (en) Method for discovering electricity stealing of special variable metering device through multi-dimensional combination
CN114069853B (en) Multi-energy charge data online compression and reconstruction method based on segmented symbol representation

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