Battery health state evaluation method based on real-time electric quantity detection
Through real-time power detection and deep neural network prediction, the deviation problem of battery health status assessment under complex conditions is solved, and the accurate evaluation and capacity prediction of battery health status are achieved, which improves the accuracy and timeliness of the assessment.
Patent Information
- Application Number
- CN202411783739.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-06
- Publication Date
- 2025-01-10
- Estimated Expiration
- 2044-12-06
AI Technical Summary
The existing battery health status evaluation method cannot fully reflect the changes in the battery status under complex usage conditions, especially in environments with large temperature changes, and the timeliness and accuracy of capacity prediction is insufficient, making it difficult to evaluate the battery health status in real time and accurately. Remaining capacity.
Using a method based on real-time power detection, the state data of the battery during the charging and discharging process is collected, the state of charge value is calculated and the temperature compensation is performed. Combined with the pre-trained battery capacity prediction model, the final battery health status evaluation report is generated. Specific steps include data acquisition, segmentation processing, feature parameter extraction, temperature compensation and deep neural network prediction.
The accurate evaluation of the battery health status is achieved, the accuracy of state of charge estimation and the accuracy of capacity prediction is improved, and a detailed battery health status evaluation report is generated, providing strong practical operation and application prospects.
Smart Images

Figure CN119291548A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of battery management, and in particular to a battery health status assessment method based on real-time power detection. Background Art
[0002] With the widespread application of products such as smart devices, power tools and electric vehicles, the monitoring and evaluation of the health status of batteries as the core components of these devices has become crucial. In recent years, battery health management technology has made significant progress. Especially in the context of the widespread application of lithium batteries, issues such as battery charging and discharging characteristics, cycle life, and capacity decay have attracted widespread attention. Modern battery management systems (BMS) usually evaluate the health status of batteries by collecting multiple parameters such as battery voltage, current, and temperature, combined with complex mathematical models and algorithms. However, most existing technologies focus on monitoring a single state of the battery, such as battery power, temperature, and charging status, and there are still certain challenges in the accuracy and timeliness of comprehensive evaluation of the health status of the battery and the remaining capacity.
[0003] Current battery health status assessment methods have some limitations. Traditional assessment methods based on static data, such as health status assessment only through battery voltage or charging current, are simple but cannot fully reflect the state changes of the battery under complex usage conditions. In addition, most of the existing battery capacity prediction models rely on experimental data and historical data, which often limits the generalization ability and accuracy of these methods in practical applications. Especially in environments with large temperature changes, the health status of the battery is prone to large deviations, and traditional methods cannot perform temperature compensation in time, resulting in deviations in the battery health assessment results. More importantly, the existing technology has a lot of room for improvement in the timeliness and accuracy of battery capacity prediction. Especially when the battery state changes rapidly, how to accurately evaluate the health status and remaining capacity of the battery in real time has become an urgent problem to be solved. Summary of the invention
[0004] In view of the problems existing in the prior art, the present invention proposes a battery health status assessment method based on real-time power detection.
[0005] Therefore, the present invention provides a battery health status assessment method based on real-time power detection, which can solve the problems mentioned in the background technology.
[0006] In order to solve the above technical problems, the present invention provides the following technical solutions: In a first aspect, an embodiment of the present invention provides a battery health status assessment method based on real-time power detection, which includes: Collecting state data of the battery during the charging and discharging process, and recording the state data according to a preset sampling period to form a time series data group; Calculating a battery state of charge value according to the voltage data in the time series data group, and comparing the battery state of charge value with a preset health state threshold to generate an initial health assessment result; The time series data group is processed in sections, and the voltage change rate and current integral value in each time window are extracted to obtain a characteristic parameter set; Inputting the characteristic parameter set into a pre-trained battery capacity prediction model to output a battery remaining capacity value; A final battery health status assessment report is generated based on the initial health assessment result and the battery remaining capacity value in combination with a temperature compensation coefficient.
[0007] As a preferred solution of the battery health status assessment method based on real-time power detection of the present invention, wherein: the status data includes voltage data, current data and temperature data; Calculating the battery state of charge value includes: Extract the voltage data for 24 consecutive hours from the time series data group to obtain a theoretical state of charge reference value; Correcting the theoretical state of charge reference value to obtain a battery state of charge value; The correction includes: performing temperature compensation on the voltage data; Substituting the compensated voltage data into the piecewise polynomial fitting equation of the open circuit voltage-state of charge characteristic curve to obtain the corrected result; The corrected result is combined with the theoretical state of charge reference value to obtain the battery state of charge value.
[0008] As a preferred solution of the battery health status assessment method based on real-time power detection of the present invention, the determination of the charge status reference value is shown in the following formula:
[0009] in, for The theoretical state of charge reference value at the time, is the charge and discharge efficiency coefficient, for The current value at the moment, is the rated capacity of the battery, is the initial state of charge value; The temperature compensation of the voltage data can be expressed by the following formula:
[0010] in, is the voltage value after temperature compensation, is the original voltage value, is the temperature coefficient, is the real-time temperature, is the reference temperature, The real-time current.
[0011] As a preferred solution of the battery health status assessment method based on real-time power detection of the present invention, the piecewise polynomial fitting equation adopts different polynomial fitting for the compensated voltage data in different preset intervals, as follows: When the compensated voltage data is within the first preset interval:
[0012] When the compensated voltage data is within the second preset interval:
[0013] When the compensated voltage data is within the third preset interval:
[0014] in, , , , are respectively the cubic term coefficient, quadratic term coefficient, linear term coefficient and constant term fitted when the compensated voltage data is in the first preset interval, , , , , are respectively the coefficient of the quartic term, the coefficient of the cubic term, the coefficient of the quadratic term, the coefficient of the linear term and the constant term fitted when the compensated voltage data is in the second preset interval, , , are respectively the quadratic term coefficient, the linear term coefficient and the constant term of the fitting when the compensated voltage data is in the third preset interval, is a correction value of the compensated voltage data located in the first preset interval, The compensated voltage data is a correction value in the second preset interval, The compensated voltage data is a correction value located in the third preset interval.
[0015] As a preferred solution of the battery health status assessment method based on real-time power detection of the present invention, wherein: the battery capacity prediction model includes a voltage response layer and a capacity decay prediction layer; Each memory unit of the voltage response layer includes three control units, namely an input gate, a forget gate and an output gate, and a memory unit state. The input gate controls the degree to which new information enters the memory unit, the forget gate controls the degree to which historical information is retained, and the output gate controls the degree to which information is output; The capacity attenuation prediction layer is composed of a plurality of stacked restricted Boltzmann machines, each of which includes a visible layer and a hidden layer. Feature transformation is achieved between layers through full connection. The visible layer of the first restricted Boltzmann machine receives the output features of the voltage response layer, and maps the features to the hidden layer through a weight matrix to form a more abstract feature representation.
[0016] As a preferred solution of the battery health status assessment method based on real-time power detection of the present invention, the voltage response layer can be expressed by the following formula:
[0017]
[0018]
[0019]
[0020]
[0021]
[0022] in, is the input feature vector of the current time step, is the hidden state vector of the previous time step, is the cell state vector at the current time step, is the sigmoid activation function, represents the Hadamard product, is the current time step, is the previous time step, h(t-1) is the hidden state vector of the previous time step, is the cell state vector at the previous time step, is the candidate unit state, indicating new information that may be updated. is the weight matrix of the input gate, is the bias vector of the input gate, The value range of is [0,1], which controls the degree to which new information enters the unit state. is the weight matrix of the forget gate, is the bias vector of the forget gate, is the weight matrix of the output gate, is the bias vector of the output gate, is the weight matrix of the candidate state, is the bias vector of the candidate state, is the input gate, For the Gate of Forgetfulness, is the output gate, is the candidate state; The energy function can be expressed as follows:
[0023] in, is the state vector of the visual layer neurons, Indicates The activation value of the visual layer neuron, is the state vector of the hidden layer neurons, Indicates The activation values of the neurons in the hidden layer are The visible layer The bias term of a neuron reflects the inherent activation tendency of the neuron. is the hidden layer The bias term of a neuron reflects the inherent activation tendency of the neuron. The visible layer neurons and hidden layers The connection weights between neurons are Represents the energy function of the system. The lower the energy value, the more stable the network state. The restricted Boltzmann machine includes an energy function and a conditional probability distribution; Wherein, the conditional probability distribution can be expressed by the following formula:
[0024]
[0025] in, represents the probability of activation of the jth neuron in the hidden layer under the condition of a given visual layer state v, represents the sum of the weighted inputs of all visual layer neurons to the jth neuron in the hidden layer, represents the sum of the weighted inputs of all hidden layer neurons to the i-th neuron in the visual layer, It represents the probability of activation of the i-th neuron in the visual layer under the condition of a given hidden layer state h.
[0026] As a preferred solution of the battery health status assessment method based on real-time power detection of the present invention, the battery capacity prediction model is trained using an adaptive adjustment mechanism during the training process, which can be expressed by the following formula:
[0027]
[0028]
[0029]
[0030]
[0031] in, is the first-order momentum, is the second-order momentum, is the gradient of the loss function at the current step, , is the momentum decay rate, is the adaptive learning rate, is a numerical stability constant, is the bias-corrected first-order momentum, is the bias-corrected second-order momentum, is the deviation correction factor of the first-order momentum, is the deviation correction factor of the second-order momentum, is the model parameter at the current moment, are the updated model parameters.
[0032] As a preferred solution of the battery health status assessment method based on real-time power detection of the present invention, the generation of the battery health status assessment report includes: Calculate temperature compensation coefficient; Using the temperature compensation coefficient to perform temperature compensation correction on the remaining capacity value of the battery; Based on the corrected capacity value and the initial health assessment results, the battery health status index is calculated comprehensively; The battery status is determined according to the battery health status index, and a battery health status assessment report is generated.
[0033] In a second aspect, an embodiment of the present invention provides a battery health status assessment system based on real-time power detection, which includes: A collection module, used to collect the state data of the battery during the charging and discharging process, and record the state data according to a preset sampling period to form a time series data group; an initial health assessment module, configured to calculate a battery state of charge value according to the voltage data in the time series data group, and compare the battery state of charge value with a preset health state threshold value to generate an initial health assessment result; A feature extraction module, used to perform segmentation processing on the time series data group using a sliding time window method, extract the voltage change rate and current integral value in each time window, and obtain a feature parameter set; A prediction module, used for inputting the characteristic parameter set into a pre-trained battery capacity prediction model and outputting a battery remaining capacity value; The evaluation module is used to generate a final battery health status evaluation report based on the initial health evaluation result and the battery remaining capacity value in combination with a temperature compensation coefficient.
[0034] The beneficial effect of the present invention is that through comprehensive battery data collection and processing technology, an accurate assessment of the battery health status is achieved. First, high-frequency, high-precision voltage, current and temperature data are collected, and effective preprocessing methods are used to ensure data quality. Secondly, the accuracy of the state of charge estimation is further improved by combining battery state of charge calculation, temperature compensation, piecewise polynomial fitting and Kalman filtering algorithm. Features are extracted by the sliding time window method, and capacity attenuation is predicted using a deep neural network, making the prediction of the remaining capacity more accurate. Finally, the preliminary health assessment and remaining capacity are combined with temperature compensation to generate an accurate battery health status assessment report, and the health status is graded to provide a detailed trend analysis. This scheme not only improves the accuracy of battery health assessment, but also has strong practical operability and application prospects. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. Among them: Figure 1 The present invention is a flowchart of a battery health status assessment method based on real-time power detection. DETAILED DESCRIPTION
[0036] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the drawings of the specification. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary persons in the art without creative work should fall within the scope of protection of the present invention.
[0037] In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.
[0038] Secondly, the term "one embodiment" or "embodiment" as used herein refers to a specific feature, structure, or characteristic that may be included in at least one implementation of the present invention. The term "in one embodiment" that appears in different places in this specification does not necessarily refer to the same embodiment, nor does it refer to a separate or selective embodiment that is mutually exclusive with other embodiments.
[0039] The present invention is described in detail with reference to schematic diagrams. When describing the embodiments of the present invention, for the sake of convenience, the cross-sectional diagrams showing the device structure will not be partially enlarged according to the general scale, and the schematic diagrams are only examples, which should not limit the scope of protection of the present invention. In addition, in actual production, the three-dimensional dimensions of length, width and depth should be included.
[0040] At the same time, in the description of the present invention, it should be noted that the directions or positional relationships indicated by the terms "upper, lower, inner and outer" are based on the directions or positional relationships shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific direction, be constructed and operated in a specific direction, and therefore cannot be understood as limiting the present invention. In addition, the terms "first, second or third" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance.
[0041] In the present invention, unless otherwise clearly specified and limited, the terms "install, connect, connect" should be understood in a broad sense, for example: it can be a fixed connection, a detachable connection or an integral connection; it can also be a mechanical connection, an electrical connection or a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0042] Example 1 Reference Figure 1 , which is the first embodiment of the present invention, provides a battery health status assessment method based on real-time power detection, including: S1: collecting voltage data, current data and temperature data of the battery during the charging and discharging process, and recording the voltage data, current data and temperature data according to a preset sampling period to form a time series data group; The voltage data is collected by a voltage collection module arranged at the positive and negative ends of the battery, and the sampling frequency of the voltage collection module is 1000Hz; the current data is collected by a current collection module connected in series in the battery loop, and the sampling frequency of the current collection module is 1000Hz; the temperature data is collected by a temperature sensor attached to the surface of the battery, and the sampling frequency of the temperature sensor is 100Hz; The voltage data and the current data are recorded at a time interval of 0.001s, and the temperature data is recorded at a time interval of 0.01s; wherein the acquisition range of the voltage data is 0-5V, with an accuracy of ±0.1%, the acquisition range of the current data is -50A to 50A, with an accuracy of ±0.1%, and the acquisition range of the temperature data is -20°C to 60°C, with an accuracy of ±0.5°C; Preprocessing the voltage data, the current data and the temperature data includes: eliminating mutation interference points in the voltage data and the current data by using a median filter algorithm; smoothing the temperature data by using a sliding average filter algorithm, with a sliding window length of 10 data points; The preprocessed voltage data, current data and temperature data are synchronized according to a unified time reference to form a time series data group containing a timestamp. The data points in the time series data group are arranged in sequence according to a preset sampling period of 0.01s, and each data point contains the voltage value, current value and temperature value at the corresponding moment.
[0043] Such a detailed description shows the specific implementation method of data collection, including key technical parameters such as sampling frequency, accuracy range, and preprocessing method, making the solution more operational. At the same time, the unified parameter expression maintains consistency and avoids the use of functional language.
[0044] S2: Calculating a battery state of charge value according to the voltage data in the time series data group, and comparing the battery state of charge value with a preset health state threshold to generate an initial health assessment result; First, extract the voltage data for 24 consecutive hours from the time series data group, and obtain the theoretical state of charge reference value by the ampere-hour integration method:
[0045] in, for The theoretical state of charge reference value at the time, is the charge and discharge efficiency coefficient, for The current value at the moment, is the rated capacity of the battery, is the initial state of charge value.
[0046] Furthermore, considering the cumulative error of the ampere-hour integration method, a voltage-based correction mechanism is introduced. First, the voltage data is temperature compensated:
[0047] in, is the voltage value after temperature compensation, is the original voltage value, is the temperature coefficient, is the real-time temperature, The reference temperature is 25℃. The real-time current.
[0048] Substitute the compensated voltage data into the piecewise polynomial fitting equation of the open circuit voltage-state of charge characteristic curve, the piecewise polynomial fitting equation includes: when the voltage data is in the range of 2.5V to 3.0V, a cubic polynomial fitting is adopted; when the voltage data is in the range of 3.0V to 3.8V, a quartic polynomial fitting is adopted; when the voltage data is in the range of 3.8V to 4.2V, a quadratic polynomial fitting is adopted; as shown in the following formula: when :
[0049] when :
[0050] when :
[0051] in, , , , When The cubic coefficient, quadratic coefficient, linear coefficient and constant term of the fitting, , , , , When The coefficients of the quartic term, cubic term, quadratic term, linear term and constant term when fitting. , , They are The quadratic term coefficient, linear term coefficient and constant term of the fitting, for The correction value of for The correction value of for The correction value of .
[0052] Next, the Kalman filter algorithm is used to fuse the theoretical value and the corrected value:
[0053] in, is the estimated state of charge after the final fusion, is the output value of the piecewise polynomial fitting equation, is the adaptive weight coefficient, which is dynamically calculated by the error covariance matrix:
[0054]
[0055] in, is the state estimation error covariance, is the measurement noise covariance, is the process noise covariance.
[0056] Next, an evaluation index is calculated based on the fused battery state of charge value, and the evaluation index is compared with a preset health state threshold, wherein the preset health state threshold includes: a normal value interval of 80%-100%, a sub-health value interval of 60%-80%, and an abnormal value interval of 0-60%; specifically, the calculation of the evaluation index is shown in the following formula:
[0057] Finally, an initial health assessment result is generated based on the health status assessment index HSI(t):
[0058] The initial health assessment result is recorded in an assessment log, which stores the data of each assessment in chronological order for subsequent trend analysis of health status.
[0059] It should be noted that the coefficients in the piecewise polynomial fitting equation are obtained through battery calibration tests. The specific steps are as follows: Establish the feature point acquisition equation group: P = {(V_i, SOC_i) | i = 1, 2, ..., n} Among them, the feature points are obtained through the following steps: (1) Discharge the fully charged battery at a constant current rate of 0.1C (2) Record a voltage value every 5% SOC to obtain the voltage-SOC correspondence point (3) Repeat the test 3 times at 25°C and take the average value (4) Forming training data sets according to voltage range groups Then use the least squares method to solve the coefficients of each interval: For example, for the 2.5V-3.0V range: Minimize the objective function:
[0060] Solve the system of equations:
[0061] S3: using a sliding time window method to segment the time series data group, extracting the voltage change rate and current integral value in each time window, and obtaining a characteristic parameter set; First, the basic parameters of the sliding time window are determined according to the battery operating characteristics: The time series data group is segmented according to a time window length W of 180 seconds, and the overlap rate of adjacent windows is 50%, that is, the window sliding step length S is 90 seconds, thereby reducing the amount of calculation while ensuring data continuity; Perform feature extraction on the data in each time window, and the feature extraction includes: Voltage change rate characteristic calculation:
[0062] in, , are the voltage values at the last moment and the first moment in the window respectively, is the time interval; Voltage fluctuation calculation:
[0063] in, is the average voltage in the window, is the number of sampling points in the window; Current integral characteristic calculation:
[0064] in, is the current value at time t, is the window length; Current ripple coefficient calculation:
[0065] in, is the maximum current in the window, is the average current in the window; Temperature influence factor calculation:
[0066] in, is the temperature sensitivity coefficient, is the real-time temperature; Combine the above features for optimization:
[0067] in, ~ is the feature weight coefficient, and the optimal value is determined by the particle swarm optimization algorithm.
[0068] Finally, the characteristic parameters F(t) calculated in each time window are combined into a characteristic sequence, and a standardized characteristic parameter set is obtained through normalization. Through the above steps, each sliding window generates a set of standardized characteristic parameters, which together constitute a characteristic parameter set. The characteristic parameter set contains multi-dimensional information such as voltage change characteristics, current accumulation characteristics, and temperature influence characteristics.
[0069] S4: inputting the characteristic parameter set into a pre-trained neural network model, the neural network model comprising a voltage response layer and a capacity decay prediction layer, and outputting a battery remaining capacity value; First, a two-layer cascaded deep neural network structure is constructed, in which the voltage response layer is constructed using a long short-term memory network (LSTM), and the capacity decay prediction layer is constructed using a deep belief network (DBN). The neural network model is designed with a two-layer cascade structure. The first layer is the voltage response layer, which uses a long short-term memory network structure and is specifically used to process voltage response characteristics; the second layer is the capacity decay prediction layer, which uses a deep belief network structure to establish a mapping relationship between voltage response characteristics and capacity decay.
[0070] The core of the voltage response layer lies in the design of memory cells. Each memory cell contains three control units: input gate, forget gate, and output gate, as well as a memory cell state. The input gate is responsible for controlling the extent to which new information enters the memory cell, the forget gate is responsible for controlling the extent to which historical information is retained, and the output gate is responsible for controlling the extent to which information is output. This gating mechanism enables the network to adaptively capture long-term dependencies in voltage responses:
[0071]
[0072]
[0073]
[0074]
[0075]
[0076] in, is the input feature vector of the current time step, is the hidden state vector of the previous time step, is the cell state vector at the current time step, is the sigmoid activation function, represents the Hadamard product, is the current time step, is the previous time step, h(t-1) is the hidden state vector of the previous time step, is the cell state vector at the previous time step, is the candidate unit state, indicating new information that may be updated. is the weight matrix of the input gate, is the bias vector of the input gate, The value range of is [0,1], which controls the degree to which new information enters the unit state. is the weight matrix of the forget gate, is the bias vector of the forget gate, is the weight matrix of the output gate, is the bias vector of the output gate, is the weight matrix of the candidate state, is the bias vector of the candidate state, is the input gate, For the Gate of Forgetfulness, is the output gate and is the candidate state.
[0077] The DBN structure of the capacity decay prediction layer is composed of multiple stacked restricted Boltzmann machines. Each restricted Boltzmann machine contains a visible layer and a hidden layer, and the layers are fully connected to achieve feature transformation. The visible layer of the first restricted Boltzmann machine receives the output features of the voltage response layer, and maps the features to the hidden layer through the weight matrix to form a more abstract feature representation. The energy function and conditional probability distribution of the restricted Boltzmann machine are: Among them, the restricted Boltzmann machine energy function is:
[0078] in, is the state vector of the visual layer neurons, represents the activation value of the i-th visual layer neuron, is the state vector of the hidden layer neurons, represents the activation value of the jth hidden layer neuron, is the bias term of the i-th neuron in the visual layer, reflecting the inherent activation tendency of the neuron. is the bias term of the jth neuron in the hidden layer, reflecting the inherent activation tendency of the neuron. is the connection weight between the i-th neuron in the visual layer and the j-th neuron in the hidden layer, Represents the energy function of the system. The lower the energy value, the more stable the network state.
[0079] Conditional probability distribution:
[0080]
[0081] in, represents the probability of activation of the jth neuron in the hidden layer under the condition of a given visual layer state v, represents the sum of the weighted inputs of all visual layer neurons to the jth neuron in the hidden layer, represents the sum of the weighted inputs of all hidden layer neurons to the i-th neuron in the visual layer, It represents the probability of activation of the i-th neuron in the visual layer under the condition of a given hidden layer state h.
[0082] The network training process is divided into two stages: pre-training and global fine-tuning. The pre-training stage uses unsupervised learning to train each restricted Boltzmann machine layer by layer so that it can learn the intrinsic feature representation of the data. The global fine-tuning stage uses supervised learning to train the entire network end-to-end using labeled training data and optimize network parameters to minimize prediction errors.
[0083] In the network training process, a multi-scale loss function design is introduced. In addition to the traditional mean square error loss, regularization loss and smoothness constraint loss are also added. Regularization loss is used to prevent network overfitting, and smoothness constraint loss is used to ensure the temporal continuity of the prediction results. This multi-scale loss function design improves the generalization ability and prediction stability of the model. The pre-training loss function can be expressed as follows:
[0084] The global fine-tuning loss function can be expressed as follows:
[0085] In order to improve the training efficiency, an improved optimization algorithm is adopted. Based on the traditional Adam optimizer, this algorithm introduces an adaptive learning rate adjustment mechanism. When the loss function decreases slowly, the learning rate is automatically reduced; when oscillation occurs, the momentum factor is appropriately increased. This adaptive adjustment mechanism not only ensures the convergence speed of training, but also improves the stability of the model. The specific formula is as follows:
[0086]
[0087]
[0088]
[0089]
[0090] in, is the first-order momentum, is the second-order momentum, is the gradient of the loss function at the current step, , is the momentum decay rate, is the adaptive learning rate, is a numerical stability constant, is the bias-corrected first-order momentum, is the bias-corrected second-order momentum, is the deviation correction factor of the first-order momentum, is the deviation correction factor of the second-order momentum, is the model parameter at the current moment, are the updated model parameters.
[0091] The specific improvements of the better, improved Adam optimizer compared to the traditional Adam optimizer include: Introduce the learning rate attenuation factor λ to make the learning rate Dynamic adjustment with training rounds:
[0092] in, is the initial learning rate, is the training round, is the learning rate decay factor.
[0093] When the loss function changes for consecutive k rounds less than the threshold ε:
[0094] in, is the attenuation coefficient (0.1~0.5).
[0095] S5: Generate a final battery health status assessment report based on the initial health assessment result and the battery remaining capacity value in combination with a temperature compensation coefficient.
[0096] First, calculate the temperature compensation coefficient. Temperature compensation coefficient The calculation formula is:
[0097] in, is the first-order temperature sensitivity coefficient (usually 0.005~0.008), is the second-order temperature correction coefficient (usually 0.0001~0.0003).
[0098] Next, based on the temperature compensation coefficient and the initial health assessment results, the battery health status index SOH is comprehensively calculated:
[0099] in, is the remaining capacity value output by the neural network, is the rated capacity of the battery.
[0100] Based on the calculated SOH value, the battery health status is graded, including excellent status (SOH ≥ 90%), good status (80% ≤ SOH<90%), general status (70% ≤ SOH<80%), warning status (60% ≤ SOH<70%), and dangerous status (SOH<60%).
[0101] The final health status assessment report includes basic information, test data, health status assessment and trend analysis.
[0102] Furthermore, this embodiment also provides a battery health status assessment system based on real-time power detection, including: A collection module, used to collect the state data of the battery during the charging and discharging process, and record the state data according to a preset sampling period to form a time series data group; an initial health assessment module, configured to calculate a battery state of charge value according to the voltage data in the time series data group, and compare the battery state of charge value with a preset health state threshold value to generate an initial health assessment result; A feature extraction module, used to perform segmentation processing on the time series data group using a sliding time window method, extract the voltage change rate and current integral value in each time window, and obtain a feature parameter set; A prediction module, used for inputting the characteristic parameter set into a pre-trained battery capacity prediction model and outputting a battery remaining capacity value; The evaluation module is used to generate a final battery health status evaluation report based on the initial health evaluation result and the battery remaining capacity value in combination with a temperature compensation coefficient.
[0103] This embodiment also provides a computer device, which is suitable for the case of a battery health status assessment method based on real-time power detection, including a memory and a processor; the memory is used to store computer executable instructions, and the processor is used to execute computer executable instructions to implement the battery health status assessment method based on real-time power detection as proposed in the above embodiment.
[0104] The computer device may be a terminal, and the computer device includes a processor, a memory, a communication interface, a display screen and an input device connected via a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, an operator network, NFC (near field communication) or other technologies. The display screen of the computer device may be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device may be a touch layer covering the display screen, or a key, trackball or touchpad provided on the housing of the computer device, or an external keyboard, touchpad or mouse, etc.
[0105] This embodiment also provides a storage medium on which a computer program is stored. When the program is executed by a processor, the method for evaluating the health status of a battery based on real-time power detection as proposed in the above embodiment is implemented.
[0106] The storage medium proposed in this embodiment and the data storage method proposed in the above embodiment belong to the same inventive concept. The technical details not fully described in this embodiment can be found in the above embodiment, and this embodiment has the same beneficial effects as the above embodiment.
[0107] Example 2 This is the second embodiment of the present invention. This embodiment provides a battery health status assessment method based on real-time power detection. In order to verify the beneficial effects of the present invention, scientific demonstration is carried out through economic benefit calculation and simulation experiments.
[0108] This embodiment uses a ternary lithium battery (NCM811) as the test object, with a rated capacity of 50Ah and a rated voltage of 3.7V. The test environment is a constant temperature and humidity laboratory, with the temperature maintained at 25±0.5℃ and the relative humidity maintained at 45±5%. The test system uses the high-precision battery test equipment NEWARE BTS-4000, equipped with a high-precision voltage acquisition module, Hall current sensor and PT100 temperature sensor.
[0109] The test process is divided into the following steps: Sensor calibration and installation: First, calibrate the voltage acquisition module. Use the Fluke 8846A high-precision digital multimeter as a reference and calibrate every 0.5V in the range of 0-5V to ensure that the measurement accuracy reaches ±0.1%. The current acquisition module uses a bidirectional Hall sensor. Calibration points are checked every 10A in the range of -50A to 50A to ensure that the measurement accuracy reaches ±0.1%. The temperature sensor uses a four-wire PT100. A calibration point is taken every 10℃ in the range of -20℃ to 60℃ through a constant temperature water bath to ensure that the measurement accuracy reaches ±0.5℃.
[0110] Data acquisition system configuration: Distributed data acquisition architecture is adopted, the voltage and current acquisition frequency is set to 1000Hz, and the temperature acquisition frequency is set to 100Hz. The data acquisition system adopts a high-speed cache strategy to ensure that no data loss occurs during high-frequency sampling. The collected data is transmitted to the data processing server in real time through the optical fiber communication network.
[0111] Preprocessing algorithm implementation: For voltage and current data, an 11-point median filter algorithm is used, and the window size is optimized to effectively remove pulse interference and outliers during the measurement process. For temperature data, a 10-point sliding average filter algorithm is used, which effectively suppresses random fluctuations in temperature signals while maintaining the temperature change trend.
[0112] Synchronization strategy design: A data alignment solution based on GPS time synchronization is used to add a unified timestamp to all collected data. Considering the differences in sampling frequencies of different sensors, a data resampling algorithm based on linear interpolation is designed to convert all data to a sampling frequency of 100 Hz (i.e., a sampling period of 0.01 s).
[0113] Test condition design: A test scheme including dynamic charge and discharge conditions was designed. Charging adopts constant current-constant voltage mode, charging current is 0.5C (25A), charging cut-off voltage is 4.2V, and cut-off current is 0.05C (2.5A). Discharging adopts variable current mode, the current range changes randomly between -40A and -10A, and the discharge cut-off voltage is 2.5V. The test duration is 24 hours to verify the stability of the system under long-term operation conditions. The following experimental data are obtained: Table 1 Experimental data table
[0114] By analyzing the test results, we can conclude that: The solution of the present invention is superior to the traditional solution in terms of voltage, current and temperature measurement accuracy. The voltage acquisition accuracy is improved to ±0.09%, which is 64% higher than the traditional solution; the current acquisition accuracy is ±0.10%, which is 67% higher; the temperature measurement accuracy is improved to ±0.5℃, which is 50% higher than the traditional solution. This high-precision data acquisition provides a reliable data basis for subsequent battery status evaluation.
[0115] The data loss rate was reduced from 0.15% of the traditional solution to 0.02%, a decrease of 86.7%, close to the theoretical limit of 0.01%. This shows that the cache strategy and optical fiber communication network adopted by the present invention have significant advantages. The system response time was shortened to 3ms, which is 70% higher than the 10ms of the traditional solution, effectively ensuring the real-time nature of data collection.
[0116] Through the improved median filter algorithm and sliding average filter algorithm, the system's anti-interference ability reaches 65dB, which is 44.4% higher than the traditional solution. This improvement is directly reflected in the data quality, noise interference is effectively suppressed, and the signal-to-noise ratio is significantly improved.
[0117] After adopting the GPS time synchronization solution, the data synchronization error is reduced to 100μs, which is 80% higher than the 500μs of the traditional solution. This microsecond-level synchronization accuracy ensures the time consistency of multi-sensor data and lays the foundation for accurate assessment of battery status.
[0118] Through the repeatability verification test, all indicators can remain stable, and the deviation from the initial test result is controlled within ±1%, indicating that the system has good repeatability and reliability. This result also verifies the stability of the scheme of the present invention under long-term operation conditions.
[0119] It can be seen from the test data that the solution of the present invention is close to the theoretical limit value in various performance indicators, and some indicators have reached the industry-leading level. In particular, key indicators such as data acquisition accuracy, system response time and anti-interference ability have been significantly improved compared with traditional solutions. These improvements will directly improve the accuracy and reliability of battery health status assessment and provide strong support for the optimization of battery management systems.
[0120] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.
Claims
1. A battery health status assessment method based on real-time power detection, characterized in that: include: Collecting state data of the battery during the charging and discharging process, and recording the state data according to a preset sampling period to form a time series data group; Calculating a battery state of charge value according to the voltage data in the time series data group, and comparing the battery state of charge value with a preset health state threshold to generate an initial health assessment result; The time series data group is processed in sections, and the voltage change rate and current integral value in each time window are extracted to obtain a characteristic parameter set; Inputting the characteristic parameter set into a pre-trained battery capacity prediction model to output a battery remaining capacity value; A final battery health status assessment report is generated based on the initial health assessment result and the battery remaining capacity value in combination with a temperature compensation coefficient.
2. The method for evaluating the battery health status based on real-time power detection according to claim 1, characterized in that: The state data includes voltage data, current data and temperature data; Calculating the battery state of charge value includes: Extract the voltage data for 24 consecutive hours from the time series data group to obtain a theoretical state of charge reference value; Correcting the theoretical state of charge reference value to obtain a battery state of charge value; The correction includes: performing temperature compensation on the voltage data; Substituting the compensated voltage data into the piecewise polynomial fitting equation of the open circuit voltage-state of charge characteristic curve to obtain the corrected result; The corrected result is combined with the theoretical state of charge reference value to obtain the battery state of charge value.
3. The method for evaluating the battery health status based on real-time power detection according to claim 2, characterized in that: The determination of the charge state reference value is shown in the following formula: in, for The theoretical state of charge reference value at the time, is the charge and discharge efficiency coefficient, for The current value at the moment, is the rated capacity of the battery, is the initial state of charge value; The temperature compensation of the voltage data is expressed by the following formula: in, is the voltage value after temperature compensation, is the original voltage value, is the temperature coefficient, is the real-time temperature, is the reference temperature, The real-time current.
4. The battery health status assessment method based on real-time power detection according to claim 3, characterized in that: The piecewise polynomial fitting equation adopts different polynomial fitting for the compensated voltage data in different preset intervals, as follows: When the compensated voltage data is within the first preset interval: When the compensated voltage data is within the second preset interval: When the compensated voltage data is within the third preset interval: in, , , , are respectively the cubic term coefficient, quadratic term coefficient, linear term coefficient and constant term fitted when the compensated voltage data is in the first preset interval, , , , , are respectively the coefficient of the quartic term, the coefficient of the cubic term, the coefficient of the quadratic term, the coefficient of the linear term and the constant term fitted when the compensated voltage data is in the second preset interval, , , are respectively the quadratic term coefficient, the linear term coefficient and the constant term of the fitting when the compensated voltage data is in the third preset interval, is a correction value of the compensated voltage data located in the first preset interval, The compensated voltage data is a correction value in the second preset interval, The compensated voltage data is a correction value located in the third preset interval.
5. The method for evaluating the battery health status based on real-time power detection according to claim 4, characterized in that: The battery capacity prediction model includes a voltage response layer and a capacity decay prediction layer; Each memory unit of the voltage response layer includes three control units, namely an input gate, a forget gate and an output gate, and a memory unit state. The input gate controls the degree to which new information enters the memory unit, the forget gate controls the degree to which historical information is retained, and the output gate controls the degree to which information is output; The capacity attenuation prediction layer is composed of a plurality of stacked restricted Boltzmann machines, each of which includes a visible layer and a hidden layer. Feature transformation is achieved between layers through full connection. The visible layer of the first restricted Boltzmann machine receives the output features of the voltage response layer, and maps the features to the hidden layer through a weight matrix to form a more abstract feature representation.
6. The method for evaluating the battery health status based on real-time power detection according to claim 5, characterized in that: The voltage response layer is represented by the following formula: in, is the input feature vector of the current time step, is the hidden state vector of the previous time step, is the cell state vector at the current time step, is the sigmoid activation function, represents the Hadamard product, is the current time step, is the previous time step, h(t-1) is the hidden state vector of the previous time step, is the cell state vector at the previous time step, is the candidate unit state, indicating new information that may be updated. is the weight matrix of the input gate, is the bias vector of the input gate, The value range of is [0,1], which controls the degree to which new information enters the unit state. is the weight matrix of the forget gate, is the bias vector of the forget gate, is the weight matrix of the output gate, is the bias vector of the output gate, is the weight matrix of the candidate state, is the bias vector of the candidate state, is the input gate, For the Gate of Forgetfulness, is the output gate, is the candidate state; The energy function is expressed by the following formula: in, is the state vector of the visual layer neurons, Indicates The activation value of the visual layer neuron, is the state vector of the hidden layer neurons, Indicates The activation values of the neurons in the hidden layer are The visible layer The bias term of a neuron reflects the inherent activation tendency of the neuron. is the hidden layer The bias term of a neuron reflects the inherent activation tendency of the neuron. The visible layer neurons and hidden layers The connection weights between neurons are Represents the energy function of the system. The lower the energy value, the more stable the network state. The restricted Boltzmann machine includes an energy function and a conditional probability distribution; The conditional probability distribution is expressed as follows: in, represents the probability of activation of the jth neuron in the hidden layer under the condition of a given visual layer state v, represents the sum of the weighted inputs of all visual layer neurons to the jth neuron in the hidden layer, represents the sum of the weighted inputs of all hidden layer neurons to the i-th neuron in the visual layer, It represents the probability of activation of the i-th neuron in the visual layer under the condition of a given hidden layer state h.
7. The method for evaluating the battery health status based on real-time power detection according to claim 6, characterized in that: The battery capacity prediction model is trained using an adaptive adjustment mechanism during the training process, and is expressed as follows: in, is the first-order momentum, is the second-order momentum, is the gradient of the loss function at the current step, , is the momentum decay rate, is the adaptive learning rate, is a numerical stability constant, is the bias-corrected first-order momentum, is the bias-corrected second-order momentum, is the deviation correction factor of the first-order momentum, is the deviation correction factor of the second-order momentum, is the model parameter at the current moment, are the updated model parameters.
8. The method for evaluating the battery health status based on real-time power detection according to claim 7, characterized in that: The generation of the battery health status assessment report includes: Calculate temperature compensation coefficient; Using the temperature compensation coefficient to perform temperature compensation correction on the remaining capacity value of the battery; Based on the corrected capacity value and the initial health assessment results, the battery health status index is calculated comprehensively; The battery status is determined according to the battery health status index, and a battery health status assessment report is generated.
9. A battery health status assessment system based on real-time power detection, based on the battery health status assessment method based on real-time power detection according to any one of claims 1 to 8, characterized in that: include: A collection module, used to collect the state data of the battery during the charging and discharging process, and record the state data according to a preset sampling period to form a time series data group; an initial health assessment module, configured to calculate a battery state of charge value according to the voltage data in the time series data group, and compare the battery state of charge value with a preset health state threshold value to generate an initial health assessment result; A feature extraction module, used to perform segmentation processing on the time series data group using a sliding time window method, extract the voltage change rate and current integral value in each time window, and obtain a feature parameter set; A prediction module, used for inputting the characteristic parameter set into a pre-trained battery capacity prediction model and outputting a battery remaining capacity value; The evaluation module is used to generate a final battery health status evaluation report based on the initial health evaluation result and the battery remaining capacity value in combination with a temperature compensation coefficient.
Citation Information
Patent Citations
Method of estimating SOC of battery for hybrid electric vehicle
CN101176234A
Battery health state monitoring method, device, equipment and medium
CN118549840A
Battery health monitoring and predicting method based on machine learning
CN118759398A
Lithium battery electric quantity monitoring and low electric quantity early warning system
CN118938019A
Lithium battery health state monitoring method and system
CN119044809A
Cited By
Electric vehicle lithium ion battery SOH evaluation method based on network model
CN119623576A
Power assembly health management and control system of new energy automobile
CN120275853A
Battery SOC intelligent monitoring and management method based on precise electric quantity algorithm
CN120545528A
Intelligent Monitoring and Management Method of Battery SOC Based on Precise Power Algorithm
CN120545528B
Lithium ion battery life prediction method and system based on health state detection
CN121027897A