Battery state of charge estimation method and device

By obtaining the battery operating parameter sequence, extracting time domain and spatial domain features and conducting spatiotemporal fusion, the problem of low battery state of charge estimation accuracy is solved and the accuracy of battery state of charge estimation is improved.

CN118425810BActive Publication Date: 2024-09-13CHENGDU CELIS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410892483.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-04
Publication Date
2024-09-13
Estimated Expiration
2044-07-04

AI Technical Summary

Technical Problem

The battery state-of-charge estimation method in the prior art has low accuracy and is affected by various uncertain factors such as battery aging, ambient temperature changes, and vehicle driving conditions, making it difficult to accurately measure the battery state-of-charge.

Method used

By obtaining the battery operating parameter sequence, extracting time domain features and spatial domain features, and performing spatiotemporal fusion processing, the battery state of charge is determined based on the spatiotemporal fusion features to improve the accuracy of the estimation results.

Benefits of technology

Through the use of spatiotemporal fusion features, the characteristics of the battery within a set time interval can be more comprehensively integrated, improving the accuracy of state-of-charge estimation, and overcoming the problem of low accuracy in the existing technology.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118425810B
    Figure CN118425810B
Patent Text Reader

Abstract

The present application relates to a method and device for estimating the state of charge of a battery, the method comprising: obtaining a battery operating parameter sequence of a target battery, the battery operating parameter sequence comprising battery operating parameters collected within a set time interval; extracting the time domain features and space domain features of the target battery within the set time interval from the battery operating parameter sequence; fusing the time domain features and the space domain features to obtain the time-space fusion features of the target battery within the set time interval; and determining the state of charge of the target battery at the end of the set time interval according to the time-space fusion features. Thus, the state of charge of the target battery can be accurately estimated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of batteries, and in particular to a method and device for estimating a battery state of charge. Background Art

[0002] Lithium-ion batteries have developed rapidly due to their high energy density, low self-discharge rate, almost no memory effect, high open circuit voltage, and long life, and eventually became the mainstream power system for electric vehicle equipment. In the practical application of lithium-ion batteries, estimating the battery's state of charge is a common and important link.

[0003] Since the battery's state of charge cannot be measured directly, it can only be estimated through parameters such as the battery terminal voltage, charge and discharge current, and internal resistance. These parameters are also affected by many uncertain factors such as battery aging, ambient temperature changes, and vehicle driving conditions. Therefore, accurately estimating the battery's state of charge has become an urgent problem to be solved in the development of electric vehicles. Summary of the invention

[0004] The present application provides a method and device for estimating the state of charge of a battery, so as to solve the technical problem of low accuracy of the method for estimating the state of charge of a battery in the prior art.

[0005] In a first aspect, the present application provides a method for estimating a battery state of charge, the method comprising:

[0006] Acquire a battery operating parameter sequence of a target battery, wherein the battery operating parameter sequence includes battery operating parameters collected within a set time interval;

[0007] Extracting the time domain features and space domain features of the target battery in the set time interval from the battery operation parameter sequence;

[0008] The time domain features and the space domain features are fused to obtain the time-space fusion features of the target battery in the set time interval;

[0009] The state of charge of the target battery at the end time of the set time interval is determined according to the time-space fusion feature.

[0010] In a possible implementation, extracting the time domain characteristics of the target battery in the set time interval from the battery operation parameter sequence includes:

[0011] Divide the set time interval according to preset time intervals to obtain time subintervals;

[0012] For each of the time subintervals, determining a battery operation parameter subsequence corresponding to the time subinterval from the battery operation parameter sequence, and performing aggregation processing on the battery operation parameter subsequences corresponding to the time subinterval to obtain the characteristics of the target battery in the time subinterval;

[0013] After obtaining the characteristics of the target battery in each of the time sub-intervals, the characteristics of the target battery in each of the time sub-intervals are aggregated to obtain the time domain characteristics of the target battery in the set time interval.

[0014] In a possible implementation manner, the battery operation parameter sequence includes a battery operation parameter sequence of at least two parameter dimensions, and the battery operation parameter subsequence includes a battery operation parameter subsequence of at least two parameter dimensions;

[0015] The aggregating the battery operation parameter subsequences corresponding to the time subintervals to obtain the characteristics of the target battery in the time subintervals includes:

[0016] Taking the battery operation parameter subsequence under each parameter dimension as a node, determining the feature vector of each node, and determining the Euclidean distance between the feature vectors of every two nodes to obtain a Euclidean distance matrix;

[0017] Constructing a graph according to the Euclidean distance matrix and at least two of the nodes to obtain a sub-feature graph of the target battery in the time sub-interval;

[0018] For each of the nodes, performing a graph convolution operation on the sub-feature graph and the node feature of the node to obtain an aggregate feature of the node;

[0019] According to the Euclidean distance matrix, a target node is determined from at least two of the nodes, and the aggregated features of the target node are determined as the features of the target battery in the time subinterval.

[0020] In a possible implementation, determining a target node from at least two of the nodes according to the Euclidean distance matrix includes:

[0021] For each row in the Euclidean distance matrix, determine the sum of the Euclidean distances in the row, each row in the Euclidean distance matrix corresponds to one of the nodes, including the Euclidean distances between the node and other nodes;

[0022] The node corresponding to the row with the smallest sum value is determined as the target node.

[0023] In a possible implementation, aggregating the characteristics of the target battery in each of the time subintervals to obtain the time domain characteristics of the target battery in the set time interval includes:

[0024] Determine the similarity between the features of the target battery in each two of the time subintervals to obtain a similarity matrix;

[0025] Constructing a graph according to the similarity matrix and the target node to obtain a characteristic graph of the target battery in the set time interval;

[0026] A graph convolution operation is performed on the feature graph and the aggregated features of the target node to obtain the time domain features of the target battery in the set time interval.

[0027] In a possible implementation, after performing the graph convolution operation on the feature graph and the aggregated features of the target node, the method further includes:

[0028] Determine an attention coefficient corresponding to the characteristic of the target battery in each of the time subintervals;

[0029] The convolution operation result is weighted based on the attention coefficient to obtain the time domain characteristics of the target battery in the set time interval.

[0030] In a possible implementation, extracting the spatial domain features of the target battery in the set time interval from the battery operation parameter sequence includes:

[0031] Extracting features of the battery operating parameter sequence at different scales to obtain features of the target battery corresponding to each scale;

[0032] According to the characteristics of the target battery corresponding to each of the scales, the spatial domain characteristics of the target battery in the set time interval are determined.

[0033] In a possible implementation, the battery operation parameter sequence includes a battery operation parameter sequence of at least two parameter dimensions; and determining the spatial domain characteristics of the target battery in the set time interval according to the characteristics of the target battery corresponding to each of the scales, includes:

[0034] The target battery is spliced ​​with features corresponding to each scale in each parameter dimension to obtain the spatial domain features of the target battery in the set time interval.

[0035] In a possible implementation, the extracting features of the battery operating parameter sequence at different scales to obtain features of the target battery corresponding to each scale includes:

[0036] Constructing graphs of the battery operating parameter sequence at different scales to obtain sub-feature graphs of the target battery corresponding to each scale;

[0037] Performing a graph convolution operation on the sub-feature graph of the target battery corresponding to each of the scales and the battery operating parameter sequence to obtain aggregate features of each battery operating parameter in the battery operating parameter sequence at each of the scales;

[0038] A target battery operating parameter is determined from the battery operating parameter sequence, and aggregated features of the target battery operating parameter at each of the scales are determined as features of the target battery corresponding to each of the scales.

[0039] In a possible implementation manner, the graph construction of the battery operation parameter sequence at different scales is performed to obtain a sub-feature graph of the target battery corresponding to each scale, including:

[0040] Performing a convolution operation on the battery operation parameter sequence to obtain a feature matrix of the target battery in the set time interval;

[0041] Multiplying the feature matrix and its transposed matrix to obtain the original adjacency matrix of the target battery in the set time interval;

[0042] Reconstructing the original adjacency matrix at different scales to obtain the adjacency matrix of the target battery at each scale;

[0043] For each of the scales, a graph is constructed according to the adjacency matrix of the target battery at the scale and the battery operation parameter sequence to obtain a sub-feature graph of the target battery corresponding to the scale.

[0044] In a possible implementation manner, determining the target battery operating parameter from the battery operating parameter sequence includes:

[0045] For each row in the original adjacency matrix, determine the sum of the elements in the row;

[0046] The battery operating parameter corresponding to the row with the smallest sum value is determined as the target battery operating parameter.

[0047] In a possible implementation manner, determining the state of charge of the target battery at the end time of the set time interval according to the spatiotemporal fusion feature includes:

[0048] The spatiotemporal fusion features are input into a trained battery state of charge estimation model, and the state of charge of the target battery at the cutoff time of the set time interval is obtained through the battery state of charge estimation model.

[0049] In a second aspect, the present application provides a device for estimating a battery state of charge, the device comprising:

[0050] A parameter sequence acquisition module, used to acquire a battery operation parameter sequence of a target battery, wherein the battery operation parameter sequence includes battery operation parameters collected within a set time interval;

[0051] A time domain feature extraction module, used to extract the time domain features of the target battery in the set time interval from the battery operation parameter sequence;

[0052] A spatial domain feature extraction module, used to extract the spatial domain features of the target battery in the set time interval from the battery operation parameter sequence;

[0053] A time-space fusion module, used to fuse the time domain features and the space domain features to obtain the time-space fusion features of the target battery in the set time interval;

[0054] The state of charge estimation module is used to determine the state of charge of the target battery at the end time of the set time interval according to the time-space fusion feature.

[0055] In a possible implementation, the time domain feature extraction module includes:

[0056] A time division unit, used to divide the set time interval according to preset time intervals to obtain time sub-intervals;

[0057] A sequence division unit, for determining, for each of the time subintervals, from the battery operation parameter sequence a battery operation parameter subsequence corresponding to the time subinterval;

[0058] A first aggregation unit is used to aggregate the battery operation parameter subsequence corresponding to each time subinterval to obtain the characteristics of the target battery in the time subinterval;

[0059] The second aggregation unit is used to, after obtaining the characteristic of the target battery in each of the time subintervals, aggregate the characteristic of the target battery in each of the time subintervals to obtain the time domain characteristic of the target battery in the set time interval.

[0060] In a possible implementation manner, the battery operation parameter sequence includes a battery operation parameter sequence of at least two parameter dimensions, and the battery operation parameter subsequence includes a battery operation parameter subsequence of at least two parameter dimensions; and the first aggregation unit includes:

[0061] A Euclidean distance calculation subunit, used to take the battery operation parameter subsequence under each parameter dimension as a node, determine the feature vector of each node, and determine the Euclidean distance between the feature vectors of every two nodes to obtain a Euclidean distance matrix;

[0062] A first graph construction subunit, configured to construct a graph according to the Euclidean distance matrix and at least two of the nodes to obtain a sub-feature graph of the target battery in the time subinterval;

[0063] A first graph convolution subunit is used to perform a graph convolution operation on the sub-feature graph and the node feature of the node for each of the nodes to obtain an aggregate feature of the node;

[0064] The first target determination subunit is used to determine a target node from at least two of the nodes according to the Euclidean distance matrix, and determine the aggregated features of the target node as the features of the target battery in the time subinterval.

[0065] In a possible implementation manner, the first target determination subunit is specifically configured to:

[0066] For each row in the Euclidean distance matrix, determine the sum of the Euclidean distances in the row, each row in the Euclidean distance matrix corresponds to one of the nodes, including the Euclidean distances between the node and other nodes;

[0067] The node corresponding to the row with the smallest sum value is determined as the target node.

[0068] In a possible implementation, the second polymerization unit includes:

[0069] A similarity calculation subunit, used to determine the similarity between the features of the target battery in each two of the time subintervals, and obtain a similarity matrix;

[0070] A second graph construction subunit is used to construct a graph according to the similarity matrix and the target node to obtain a characteristic graph of the target battery in the set time interval;

[0071] The second graph convolution subunit is used to perform a graph convolution operation on the feature graph and the aggregated features of the target node to obtain the time domain features of the target battery in the set time interval.

[0072] In a possible implementation, the device further includes:

[0073] An attention weighting subunit, used for determining an attention coefficient corresponding to the feature of the target battery in each of the time subintervals after performing a graph convolution operation on the feature graph and the aggregated features of the target node;

[0074] The convolution operation result is weighted based on the attention coefficient to obtain the time domain characteristics of the target battery in the set time interval.

[0075] In a possible implementation, the spatial domain feature extraction module includes:

[0076] A multi-scale feature extraction unit, used to extract features of the battery operation parameter sequence at different scales to obtain features of the target battery corresponding to each scale;

[0077] The third aggregation unit is used to determine the spatial domain feature of the target battery in the set time interval according to the feature of the target battery corresponding to each of the scales.

[0078] In a possible implementation manner, the battery operation parameter sequence includes a battery operation parameter sequence of at least two parameter dimensions; the third aggregation unit is specifically configured to:

[0079] The target battery is spliced ​​with features corresponding to each scale in each parameter dimension to obtain the spatial domain features of the target battery in the set time interval.

[0080] In a possible implementation, the multi-scale feature extraction unit includes:

[0081] A third graph construction subunit is used to construct graphs of the battery operation parameter sequence at different scales to obtain sub-feature graphs of the target battery corresponding to each scale;

[0082] A third graph convolution subunit is used to perform a graph convolution operation on the sub-feature graph of the target battery corresponding to each of the scales and the battery operation parameter sequence to obtain an aggregate feature of each battery operation parameter in the battery operation parameter sequence at each of the scales;

[0083] The second target determination subunit is used to determine the target battery operating parameters from the battery operating parameter sequence, and determine the aggregated features of the target battery operating parameters at each scale as the features of the target battery corresponding to each scale.

[0084] In a possible implementation manner, the third graph construction subunit includes:

[0085] A feature matrix extraction subunit, configured to perform a convolution operation on the battery operation parameter sequence to obtain a feature matrix of the target battery in the set time interval;

[0086] An adjacency matrix generating subunit, used for multiplying the feature matrix and its transposed matrix to obtain an original adjacency matrix of the target battery in the set time interval;

[0087] A multi-scale reconstruction subunit, used to reconstruct the original adjacency matrix at different scales to obtain the adjacency matrix of the target battery at each scale;

[0088] The fourth graph construction subunit is used to construct a graph for each of the scales according to the adjacency matrix of the target battery at the scale and the battery operation parameter sequence to obtain a sub-feature graph of the target battery corresponding to the scale.

[0089] In a possible implementation manner, the second target determination subunit is specifically configured to:

[0090] For each row in the original adjacency matrix, determine the sum of the elements in the row;

[0091] The battery operating parameter corresponding to the row with the smallest sum value is determined as the target battery operating parameter.

[0092] In a possible implementation manner, the state of charge estimation module is specifically used to:

[0093] The spatiotemporal fusion features are input into a trained battery state of charge estimation model, and the state of charge of the target battery at the cutoff time of the set time interval is obtained through the battery state of charge estimation model.

[0094] In a third aspect, the present application provides a device, comprising: at least one communication interface; at least one bus connected to the at least one communication interface; at least one processor connected to the at least one bus; at least one memory connected to the at least one bus, wherein the processor is configured to:

[0095] Acquire a battery operating parameter sequence of a target battery, wherein the battery operating parameter sequence includes battery operating parameters collected within a set time interval;

[0096] Extracting the time domain features and space domain features of the target battery in the set time interval from the battery operation parameter sequence;

[0097] The time domain features and the space domain features are fused to obtain the time-space fusion features of the target battery in the set time interval;

[0098] The state of charge of the target battery at the end time of the set time interval is determined according to the time-space fusion feature.

[0099] In a fourth aspect, the present application further provides a computer storage medium storing computer executable instructions, wherein the computer executable instructions are used to execute the battery state of charge estimation method described in any one of the above items of the present application.

[0100] The above technical solution provided by the embodiment of the present application has the following advantages over the prior art: the method provided by the embodiment of the present application obtains the battery operation parameter sequence of the target battery, the battery operation parameter sequence includes the battery operation parameters collected within a set time interval, extracts the time domain characteristics and space domain characteristics of the target battery in the set time interval from the battery operation parameter sequence, fuses the time domain characteristics and the space domain characteristics, obtains the time-space fusion characteristics of the target battery in the set time interval, and determines the charge state of the target battery at the end time of the set time interval based on the time-space fusion characteristics. Since the time-space fusion characteristics contain more comprehensive comprehensive characteristics of the target battery in the set time interval, estimating the charge state of the target battery based on the time-space fusion characteristics can improve the accuracy of the battery charge state estimation result. BRIEF DESCRIPTION OF THE DRAWINGS

[0101] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0102] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0103] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.

[0104] Figure 1 A flowchart of an embodiment of a method for estimating a battery state of charge provided in an embodiment of the present application;

[0105] Figure 2A flowchart of an embodiment of the present application for extracting time domain characteristics of a target battery in a set time interval from a battery operation parameter sequence;

[0106] Figure 3 A schematic diagram of the process of extracting time domain features provided in an embodiment of the present application;

[0107] Figure 4 A flowchart of an embodiment of the present application for aggregating a subsequence of battery operating parameters corresponding to a certain time subinterval to obtain the characteristics of a target battery in the time subinterval;

[0108] Figure 5 A flowchart of an embodiment of the present application for aggregating the characteristics of a target battery in each time sub-interval to obtain the time domain characteristics of the target battery in a set time interval;

[0109] Figure 6 A flowchart of an embodiment of the present application for extracting spatial domain features of a target battery in a set time interval from a battery operation parameter sequence;

[0110] Figure 7 A flowchart of an embodiment of the present application for extracting multi-scale features from a battery operating parameter sequence of a target battery to obtain multi-scale features of the target battery;

[0111] Figure 8 A flowchart of an embodiment of the present application for constructing a graph of a battery operating parameter sequence of a target battery at different scales to obtain a sub-feature graph of the target battery corresponding to each scale;

[0112] Fig. 9 A schematic diagram of transfer learning provided in an embodiment of the present application;

[0113] Fig.10 A block diagram of an embodiment of a battery state of charge estimation device provided in an embodiment of the present application;

[0114] Fig.11 A schematic diagram of the structure of a device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0115] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0116] The disclosure below provides many different embodiments or examples to realize the different structures of the present application. In order to simplify the disclosure of the present application, the parts and settings of specific examples are described below. Of course, they are only examples, and the purpose is not to limit the present application. In addition, the present application can repeat reference numbers and / or letters in different examples. This repetition is for the purpose of simplification and clarity, and does not itself indicate the relationship between the various embodiments and / or settings discussed.

[0117] In order to solve the technical problem of low accuracy of the battery state of charge estimation method in the prior art, the present application provides a battery state of charge estimation method and device, which can achieve accurate estimation of the battery state of charge.

[0118] Figure 1 The flowchart of an embodiment of a method for estimating a battery state of charge provided in an embodiment of the present application is as follows. Figure 1 As shown, the process includes the following steps:

[0119] Step 101: Acquire a battery operating parameter sequence of a target battery, where the battery operating parameter sequence includes battery operating parameters collected within a set time interval.

[0120] The target battery is a battery for which the state of charge needs to be estimated, such as a battery in an electric vehicle. In the technical solution of the embodiment of the present application, estimating the state of charge of the target battery is not limited to estimating the state of charge of the target battery at the current moment, but can also estimate the state of charge of the target battery at any time in the past, and the embodiment of the present application does not limit this.

[0121] Based on this, the above-mentioned set time interval is not limited to the time interval with the current moment as the end moment, and can be any time interval that has already occurred. For example, as of the current moment, the target battery has been charged (or discharged) for 50s, and the set time interval can be the time interval of 10s~50s. At this time, the charge state of the target battery at the current moment can be estimated. The set time interval can also be the time interval of 0~40s. At this time, the charge state of the target battery when it is charged (or discharged) for 40s can be estimated. It should be noted that the above is only based on the example of setting the duration of the time interval to 40s. In actual applications, technicians in this field can set the duration of the set time interval as needed, and the embodiments of the present application do not limit this.

[0122] In one embodiment, only the duration of the set time interval may be preset, such as 40s, and the user may set the time when the state of charge needs to be estimated as needed. Then, the set time interval may be determined based on the time set by the user and the preset duration.

[0123] In one embodiment, the battery operation parameter sequence includes a battery operation parameter sequence of at least two parameter dimensions. The parameter dimensions refer to the types of battery operation parameters. For example, the at least two parameter dimensions include voltage, current, temperature, and resistance. In the technical solution of the embodiment of the present application, the battery operation parameters of the target battery in at least two parameter dimensions are collected according to a preset collection time interval or a preset collection cycle.

[0124] Based on this, multiple battery operating parameters of the battery in each parameter dimension are collected within the above-mentioned set time interval. For example, see the following Table 1, which is an example of the battery operating parameter sequence of the target battery in at least two parameter dimensions obtained in step 101:

[0125] Table 1

[0126]

[0127] In the above Table 1, n represents the number of data in the sequence. For example, n is 40, which means that the battery operating parameter sequence includes 40 battery operating parameters.

[0128] Step 102: extracting the time domain features and space domain features of the target battery in a set time interval from the battery operation parameter sequence.

[0129] The time domain feature represents the change characteristics of the battery operating parameters of the target battery in the time dimension, while the space domain feature represents the characteristics of the battery operating parameters of the target battery in the spatial distribution. In the technical solution of the embodiment of the present application, by extracting the time domain features and space domain features of the target battery in a set time interval from the battery operating parameter sequence, and subsequently jointly estimating the state of charge of the target battery based on the time domain features and the space domain features, the accuracy of the battery state of charge estimation result can be improved.

[0130] In one embodiment, the battery operation parameter sequence is input into a trained spatiotemporal dual-channel graph convolution model, which includes a time channel graph convolution module and a space channel graph convolution module. The time channel graph convolution module is used to extract time domain features, and the space channel graph convolution module is used to extract space domain features. As for how to extract the time domain features and space domain features of the target battery in a set time interval from the battery operation parameter sequence, detailed explanations are given below through different embodiments, which will not be described in detail here.

[0131] Step 103: fuse the time domain features and the space domain features to obtain the time-space fusion features of the target battery in a set time interval.

[0132] In one embodiment, the above-mentioned fusion processing of the time domain features and the space domain features to obtain the time-space fusion features of the target battery in the set time interval refers to: splicing the time domain features and the space domain features, and determining the splicing operation result as the time-space fusion features of the target battery in the set time interval.

[0133] It can be seen that the spatiotemporal fusion features contain more comprehensive integrated features of the target battery in the set time interval. Therefore, the subsequent estimation of the state of charge of the target battery based on the spatiotemporal fusion features can improve the accuracy of the battery state of charge estimation results.

[0134] Step 104: Determine the state of charge of the target battery at the end time of the set time interval according to the spatiotemporal fusion characteristics.

[0135] In one embodiment, the specific implementation of determining the charge state of the target battery at the end of the set time interval based on the time-space fusion features includes: inputting the time-space fusion features obtained in the above step 103 into a trained battery state of charge estimation model to obtain the charge state of the target battery at the end of the set time interval through the model.

[0136] As an optional implementation method, the battery state of charge estimation model adopts the LSTM (Long Short-Term Memory) model structure. The LSTM model structure can effectively process time series data and capture its long-term dependencies, and learn the patterns and trends of time series data. Based on this, the battery state of charge estimation model constructed using the LSTM model structure can effectively and accurately estimate the state of charge of the target battery.

[0137] The technical solution provided by the embodiment of the present application obtains the battery operation parameter sequence of the target battery, the battery operation parameter sequence includes the battery operation parameters collected within a set time interval, extracts the time domain characteristics and space domain characteristics of the target battery in the set time interval from the battery operation parameter sequence, fuses the time domain characteristics and space domain characteristics, obtains the time-space fusion characteristics of the target battery in the set time interval, and determines the charge state of the target battery at the end time of the set time interval according to the time-space fusion characteristics. Since the time-space fusion characteristics contain more comprehensive comprehensive characteristics of the target battery in the set time interval, estimating the charge state of the target battery according to the time-space fusion characteristics can improve the accuracy of the battery charge state estimation result.

[0138] Figure 2 The present invention provides a flowchart of an embodiment of extracting the time domain characteristics of a target battery in a set time interval from a battery operation parameter sequence. Figure 2 As shown, the process includes the following steps:

[0139] Step 201: Divide a set time interval according to preset time intervals to obtain time sub-intervals.

[0140] In one embodiment, the set time interval is equally divided according to a preset time interval to obtain a plurality of time sub-intervals of the same duration.

[0141] For example, if the time interval is set to 0~40s and the preset time interval is 10s, then the time interval is divided every 10s to obtain four time sub-intervals: 0~10s, 10s~20s, 20s~30s, and 30s~40s.

[0142] Step 202: for each time sub-interval, determine a battery operation parameter sub-sequence corresponding to the time sub-interval from the battery operation parameter sequence, and perform aggregation processing on the battery operation parameter sub-sequences corresponding to the time sub-interval to obtain the characteristics of the target battery in the time sub-interval.

[0143] The battery operating parameter subsequence corresponding to the time subinterval mentioned above includes the battery operating parameters collected within the time subinterval.

[0144] Furthermore, in the case where the battery operation parameter sequence includes battery operation parameter sequences of at least two parameter dimensions, here, for each time subinterval, a battery operation parameter subsequence corresponding to the time subinterval will be determined from the battery operation parameter sequence of each parameter dimension.

[0145] For example, assuming that the time interval is set to 0-40s, and assuming that the battery operating parameters under at least two parameter dimensions are collected every 2s within the set time interval, then 20 battery operating parameters will be collected under each parameter dimension. Further assuming that four time subintervals are obtained in step 201: 0-10s, 10s-20s, 20s-30s, and 30s-40s, then by executing step 202, the processing results shown in the following Table 2 can be obtained:

[0146] Table 2

[0147]

[0148] In addition, the results of the above table 2 can also be seen Figure 3 The line chart shown in the example.

[0149] On this basis, aggregating the battery operating parameter subsequences corresponding to the time subintervals means aggregating the battery operating parameter subsequences under at least two parameter dimensions corresponding to the time subintervals. The characteristics of the target battery in each time subinterval thus obtained aggregate the information of at least two parameter dimensions, which enables the working state of the target battery in each time subinterval to be more comprehensively represented.

[0150] In one embodiment, if Figure 4 As shown, the specific implementation of step 202 includes the following steps:

[0151] Step 401: Take each battery operation parameter subsequence under each parameter dimension as a node, determine the feature vector of each node, and determine the Euclidean distance between the feature vectors of every two nodes to obtain a Euclidean distance matrix.

[0152] First of all, Figure 4 The flow shown describes the implementation process of obtaining the characteristics of the target battery in a certain time sub-interval, and this implementation process is applicable to each time sub-interval.

[0153] Step 402: construct a graph according to the Euclidean distance matrix and at least two nodes to obtain a sub-feature graph of the target battery in the time sub-interval.

[0154] For ease of understanding, the specific implementation of step 401 and step 402 is uniformly described below in conjunction with the example in Table 2 above:

[0155] The input of the graph convolutional network includes the graph structure and the corresponding features. For the graph structure, the technical solution of the embodiment of the present application adopts G=(V, E, A), where V represents the set of nodes in the graph structure, E represents the set of edges in the graph structure, and A represents the adjacency matrix of the graph structure. Based on this, in order to obtain the sub-feature graph of the target battery in a certain time sub-interval, it is necessary to determine the nodes, edges and adjacency matrix.

[0156] Here, taking the time sub-interval of 0 to 10 seconds as an example, the four battery operation parameter sub-sequences in the time sub-interval are taken as four nodes, as shown in the following Table 3:

[0157] Table 3

[0158]

[0159] Then, feature encoding technology, such as Embedding encoding technology, is used to perform feature encoding on each node (ie, the battery operation parameter subsequence) to obtain a feature vector of each node. Please refer to Table 3 above.

[0160] Then, the Euclidean distance between the feature vectors of every two nodes is determined to obtain a Euclidean distance matrix, which is used as a set of edges and is denoted as E. The following is an example of the Euclidean distance matrix E:

[0161]

[0162] In the above Euclidean distance matrix E, E ij represents the Euclidean distance between the feature vectors of the i-th node and the j-th node. The values ​​of i and j are 1, 2, 3, and 4. For example, E 12 represents the Euclidean distance between the feature vectors of the first and second nodes, E 32 It represents the Euclidean distance between the feature vectors of the third node and the second node, and so on. We will not elaborate on them one by one here.

[0163] It can be seen that each row in the Euclidean distance matrix corresponds to a node, including the Euclidean distance between the node and each other node.

[0164] It should be noted here that in the above Euclidean distance matrix, when i and j are the same, for example, E 11 、E 22 、E 33 、E 44 These elements represent the Euclidean distance between a node and itself, and their values ​​are 0.

[0165] Then, the Euclidean distance matrix E is used as the adjacency matrix.

[0166] At this point, the graph is constructed based on the Euclidean distance matrix and at least two nodes to obtain the sub-feature graph of the target battery in a certain time sub-interval. Figure 3 .

[0167] Step 403: For each node, perform a graph convolution operation on the sub-feature graph and the node feature of the node to obtain the aggregated feature of the node.

[0168] The node characteristics mentioned above are the battery operating parameters in the node.

[0169] In one embodiment, for each node, the calculation process of performing a graph convolution operation on the above sub-feature graph and the node feature of the node is shown in the following formula (1):

[0170] Formula (1)

[0171] In the above formula (1), Represents the aggregated features of node i. Represents the set of weight matrices for each time subinterval. is the symmetric normalized adjacency matrix. Represents the adjacency matrix set corresponding to each time subinterval. Represents a set of battery operating parameter subsequences in each time subinterval. is the activation function.

[0172] Step 404: determine a target node from at least two nodes according to the Euclidean distance matrix, and determine the aggregated features of the target node as the features of the target battery in the time subinterval.

[0173] Among them, according to the Euclidean distance matrix, the specific implementation of determining the target node from at least two nodes includes: for each row in the Euclidean distance matrix, determining the sum of the Euclidean distances in the row, each row in the Euclidean distance matrix corresponds to a node, including the Euclidean distances between the node and other nodes, and determining the node corresponding to the row with the smallest sum as the target node.

[0174] It can be understood by those skilled in the art that if the sum of the Euclidean distances between a node and other nodes is the smallest, it means that the sum of the distances between the node and other nodes is the smallest, which means that the node is more important and more representative than other nodes. It can be seen that the target node refers to the most important and representative node in a certain time subinterval. On this basis, the aggregated features of the target node can be determined as the features of the target battery in the time subinterval.

[0175] Step 203: After obtaining the characteristics of the target battery in each time sub-interval, aggregate the characteristics of the target battery in each time sub-interval to obtain the time domain characteristics of the target battery in the set time interval.

[0176] It can be seen from the description of step 203 that in the technical solution of the embodiment of the present application, the characteristics of the target battery in multiple time sub-intervals are aggregated to obtain the time domain characteristics of the target battery in the set time interval.

[0177] In one embodiment, if Figure 5 As shown, the specific implementation of step 203 includes the following steps:

[0178] Step 501: Determine the similarity between the features of the target battery in every two time subintervals to obtain a similarity matrix.

[0179] Optionally, the similarity is cosine similarity.

[0180] For ease of understanding, the specific implementation of step 501 is further described below in conjunction with the example in Table 2 above:

[0181] In the example of Table 2 above, there are 4 time sub-intervals, so the similarity matrix (denoted as A2) can be seen in the following example:

[0182]

[0183] In the above similarity matrix, A ij represents the similarity between the features corresponding to the i-th time subinterval and the j-th time subinterval. The values ​​of i and j are 1, 2, 3, and 4. For example, A 12 Indicates the similarity between the features corresponding to the first time subinterval and the second time subinterval.

[0184] It should be noted here that in the above similarity matrix, when i and j are the same, for example, A 11 , A 22 , A 33 , A 44 These elements represent the similarity between themselves and their values ​​are 1.

[0185] Step 502: construct a graph based on the similarity matrix and the target node to obtain a characteristic graph of the target battery in a set time interval.

[0186] Here, the similarity matrix is ​​used as a set of edges, and the similarity matrix is ​​used as an adjacency matrix. So far, the graph is constructed based on the similarity matrix and the target node, and the characteristic graph of the target battery in the set time interval is obtained. Figure 3 .

[0187] Step 503: Perform a graph convolution operation on the above feature graph and the aggregated features of the target node to obtain the time domain features of the target battery in a set time interval.

[0188] In one embodiment, a graph convolution operation is performed on the above-mentioned feature graph and the aggregated features of the target node to obtain the calculation process of the time domain features of the target battery in the set time interval as shown in the following formula (2):

[0189] Formula (2)

[0190] In the above formula (2), It represents the characteristics of the target nodes in each time sub-interval after aggregation, that is, the time domain characteristics of the target battery in the set time interval. Represents the weight matrix of the above feature map. is the symmetric normalized adjacency matrix. Represents the aggregate feature set of the target node.

[0191] In addition, in one embodiment, after performing a graph convolution operation on the feature graph and the aggregated features of the target node, it also includes: determining the attention coefficient corresponding to the features of the target battery in each time sub-interval, and weighting the convolution operation results based on the attention coefficient to obtain the time domain features of the target battery in the set time interval.

[0192] Optionally, the attention coefficient corresponding to the feature in each time sub-interval (that is, the aggregated feature of the target node) is obtained through a Sigmoid activation function.

[0193] By weighting the convolution operation results based on the above-mentioned attention coefficient, the key nodes in the time series can be highlighted (the key node here refers to one of the multiple target nodes), so that the key node has a greater contribution in the battery state of charge estimation process.

[0194] Figure 2 The process shown is to divide the complete battery operation parameter sequence into time sub-intervals, and then aggregate the corresponding battery operation parameter sub-sequences in each time sub-interval to obtain the characteristics of the target battery in each time sub-interval, so that the working state of the target battery in each time sub-interval can be more comprehensively represented. Furthermore, by aggregating the characteristics of the target battery in each time sub-interval again, the change characteristics of the battery operation parameters of the target battery in the time dimension can be obtained, that is, the time domain characteristics of the target battery in the set time interval can be obtained.

[0195] Figure 6The present invention provides a flowchart of an embodiment of extracting the spatial domain characteristics of a target battery in a set time interval from a battery operation parameter sequence. Figure 6 As shown, the following steps are included:

[0196] Step 601 : extracting features of a battery operation parameter sequence of a target battery at different scales to obtain features of the target battery corresponding to each scale.

[0197] Taking three scales as an example, by executing step 601 , the characteristics of the target battery at three different scales can be obtained.

[0198] Further, in the case where the battery operation parameter sequence of the target battery includes battery operation parameter sequences of at least two parameter dimensions, feature extraction will be performed on the battery operation parameter sequence under each parameter dimension at different scales to obtain the features of the target battery corresponding to each scale under the parameter dimension. Here, three scales are still taken as an example, and by executing step 601, features as shown in the following Table 4 can be obtained:

[0199] Table 4

[0200]

[0201] In the above Table 4, H ik represents the characteristics of the target battery corresponding to scale k under the parameter dimension Xi. For example, H 11 It indicates the characteristics of the target battery corresponding to scale 1 in the parameter dimension of voltage, H 22 It indicates the characteristics of the target battery corresponding to scale 2 under the parameter dimension of current, H 33 Indicates the characteristics of the target battery corresponding to scale 3 under the parameter dimension of temperature, H 42 It indicates that the target battery has the characteristic of scale 2 under the parameter dimension of resistance. And so on, which will not be described in detail here.

[0202] As for how to extract the features of the battery operating parameter sequence of the target battery at different scales and obtain the features of the target battery corresponding to each scale, the following is Figure 7 The illustrated embodiments are provided for illustrative purposes only and will not be described in detail herein.

[0203] Step 602: Determine the spatial domain features of the target battery in a set time interval according to the features of the target battery corresponding to each scale.

[0204] In one embodiment, when the battery operating parameter sequence of the target battery includes battery operating parameter sequences of at least two parameter dimensions, the specific implementation of step 602 includes: splicing the characteristics of the target battery corresponding to each scale in each parameter dimension to obtain the spatial domain characteristics of the target battery in the set time interval.

[0205] Taking the example in Table 4 above as an example, the following spatial domain features are obtained in step 602:

[0206] {H 11 ,H 12 ,H 13 ,H 21 ,H 22 ,H 23 ,H 31 ,H 32 ,H 33 ,H 41 ,H 42 ,H 43}

[0207] Figure 6 The process shown can extract hierarchical structural information by performing feature extraction on the battery operation parameter sequence of the target battery at different scales, so that the working state of the target battery within the set time interval can be more comprehensively represented.

[0208] Figure 7 The present invention provides a flow chart of an embodiment of extracting multi-scale features from a battery operating parameter sequence of a target battery to obtain multi-scale features of the target battery. Figure 7 As shown, the following steps are included:

[0209] Step 701: construct graphs of battery operation parameter sequences at different scales to obtain sub-feature graphs of the target battery corresponding to each scale.

[0210] In one embodiment, when the battery operating parameter sequence includes a battery operating parameter sequence of at least two parameter dimensions, a graph of the battery operating parameter sequence under each parameter dimension is constructed at different scales to obtain a sub-feature graph of the target battery corresponding to each scale under the parameter dimension.

[0211] For example, assuming that the parameter dimensions include current and resistance, and assuming that three scales are preset, for the convenience of description, they are recorded as scale 1, scale 2, and scale 3. Then, here we can obtain the sub-feature graphs corresponding to scale 1, scale 2, and scale 3 of the target battery under the parameter dimension of current; and the sub-feature graphs corresponding to scale 1, scale 2, and scale 3 of the target battery under the parameter dimension of resistance.

[0212] Specifically, Figure 8 As shown, the battery operation parameter sequence of the target battery is constructed at different scales, and the specific implementation of obtaining the sub-feature graph of the target battery corresponding to each scale includes the following steps:

[0213] Step 801: Perform a convolution operation on the battery operation parameter sequence of the target battery to obtain a feature matrix of the target battery in a set time interval.

[0214] The above-mentioned convolution operation can be performed by convolution operation on the battery operation parameter sequence of the target battery in the parameter dimension through a one-dimensional convolutional neural network.

[0215] Step 802: multiply the above feature matrix by its transposed matrix to obtain the original adjacency matrix of the target battery in the set time interval.

[0216] Let the above feature matrix be H i , then the original adjacency matrix obtained in step 802 .

[0217] Step 803: reconstruct the original adjacency matrix at different scales to obtain the adjacency matrix of the target battery at each scale.

[0218] In one embodiment, according to the min-k sorting mechanism, the original adjacency matrix A is i The first k maximum values ​​of each row in A are set to 1, and the rest are set to 0. By taking different values ​​of k, we can get adjacency matrices of different scales. For example, if the value of k is 1, 2, and 3, we can get adjacency matrices of three different scales, denoted as A. ik , where the values ​​of k are 1, 2, and 3, respectively representing the adjacency matrix corresponding to k = 1, 2, and 3. Here, the more values ​​of k there are, the more hierarchical structural information can be obtained.

[0219] Step 804: For each scale, a graph is constructed according to the adjacency matrix at the scale and the battery operation parameter sequence of the target battery to obtain a sub-feature graph of the target battery corresponding to the scale.

[0220] Here, the battery operation parameter sequence is taken as a node. For each scale, a graph is constructed according to the adjacency matrix at the scale and the above-mentioned at least two nodes to obtain the sub-feature graph of the target battery corresponding to the scale.

[0221] Step 702: Perform a graph convolution operation on the sub-feature graph corresponding to each scale of the target battery and the battery operating parameter sequence of the target battery to obtain the aggregated features of each battery operating parameter in the battery operating parameter sequence at each scale.

[0222] In one embodiment, a graph convolution operation is performed on the sub-feature graphs corresponding to at least two scales of the target battery and the battery operation parameter sequence of the target battery to obtain the calculation process of the aggregated features of each battery operation parameter in the battery operation parameter sequence at each scale as shown in the following formula (3):

[0223] Formula (3)

[0224] In the above formula (3), Represents the aggregated features of the battery operating parameters corresponding to node i at scale k.

[0225] Step 703: determine the target battery operating parameters from the battery operating parameter sequence of the target battery, and determine the aggregated features of the target battery operating parameters at each scale as the features of the target battery corresponding to each scale.

[0226] Similar to the target node mentioned above, the target battery operating parameter here refers to the most important and representative battery operating parameter in the battery operating parameter sequence. On this basis, the aggregated features of the target battery operating parameters at each different scale can be determined as the features of the target battery corresponding to each scale.

[0227] In one embodiment, the specific implementation of determining the target battery operating parameter from the battery operating parameter sequence of the target battery includes: for each row in the original adjacency matrix mentioned in step 802, determining the sum of the elements in the row, each row in the original adjacency matrix corresponds to a battery operating parameter in the battery operating parameter sequence. The battery operating parameter corresponding to the row with the smallest sum is determined as the target battery operating parameter.

[0228] Figure 7 The process shown realizes the feature extraction of the battery operation parameter sequence of the target battery at different scales, and obtains the characteristics of the target battery at different scales, so that hierarchical structural information can be extracted, so that the working state of the target battery within the set time interval can be more comprehensively represented.

[0229] It can be seen from the description in the above embodiments that Fig. 9 As shown, in the technical solution of the embodiment of the present application, the battery operation parameter sequence of the target battery within the set time interval can be first input into the trained spatiotemporal dual-channel graph convolution module, and the time channel graph convolution module and the space channel graph convolution module in the spatiotemporal dual-channel graph convolution module respectively extract the time domain features and the space domain features. Then, the extracted time domain features and space domain features are fused into spatiotemporal domain features and input into the trained LSTM module to estimate the state of charge. It can be seen from this that in the technical solution of the embodiment of the present application, the battery state of charge is estimated by using a model technology based on deep learning, which can not only accurately estimate the battery state of charge, but also have a higher estimation effect.

[0230] Furthermore, since in practical applications, the distribution of monitoring data for different types of batteries is different, this will lead to distribution differences between the collected data and result in performance degradation when the model trained with previously collected data is applied to the state of charge estimation task for other types of batteries. On the other hand, deep learning models cannot work effectively with a small amount of data, while a large amount of data will lead to a huge computational burden. At the same time, obtaining enough labeled training samples is also a labor-intensive and costly task, which limits the application of battery state of charge estimation methods in electric vehicles.

[0231] In this regard, the technical solution of the embodiment of the present application proposes the construction of a state of charge estimation model based on transfer learning. The state of charge estimation model mentioned here refers to a model composed of the spatiotemporal dual-channel graph convolution module and the LSTM module described above. Transfer learning is a learning process that uses the similarities between projects to apply the knowledge acquired in the old field (source field) to the new field (target field), with the goal of pursuing better results in new tasks. Model-based transfer learning can be developed to migrate the trained feature extraction network from one working state to another. The knowledge of the source field is transferred to the target field, and the training data is harmlessly expanded without restarting the network training, thereby improving the training efficiency.

[0232] Based on this, Figure 4 As shown in the figure, the state of charge estimation model trained in the source domain is migrated to the target domain. During the migration training process, the parameters of the above-mentioned spatiotemporal dual-channel graph convolution module remain unchanged. Only the parameters of the LSTM module are updated, thereby achieving parameter sharing and reducing the training and prediction time of the state of charge estimation model.

[0233] In one embodiment, a root mean square error (RMSE) is used as an evaluation index of the state of charge estimation performance:

[0234] Fig.10This is a block diagram of an embodiment of a battery state of charge estimation device provided in an embodiment of the present application. Fig.10 As shown, the device comprises:

[0235] A parameter sequence acquisition module 1001 is used to acquire a battery operation parameter sequence of a target battery, wherein the battery operation parameter sequence includes battery operation parameters collected within a set time interval;

[0236] A time domain feature extraction module 1002 is used to extract the time domain feature of the target battery in the set time interval from the battery operation parameter sequence;

[0237] A spatial domain feature extraction module 1003 is used to extract the spatial domain features of the target battery in the set time interval from the battery operation parameter sequence;

[0238] A time-space fusion module 1004 is used to fuse the time domain features and the space domain features to obtain the time-space fusion features of the target battery in the set time interval;

[0239] The state of charge estimation module 1005 is used to determine the state of charge of the target battery at the end time of the set time interval according to the time-space fusion feature.

[0240] In a possible implementation, the time domain feature extraction module 1002 includes:

[0241] A time division unit, used to divide the set time interval according to preset time intervals to obtain time sub-intervals;

[0242] A sequence division unit, for determining, for each of the time subintervals, from the battery operation parameter sequence a battery operation parameter subsequence corresponding to the time subinterval;

[0243] A first aggregation unit is used to aggregate the battery operation parameter subsequence corresponding to each time subinterval to obtain the characteristics of the target battery in the time subinterval;

[0244] The second aggregation unit is used to, after obtaining the characteristic of the target battery in each of the time subintervals, aggregate the characteristic of the target battery in each of the time subintervals to obtain the time domain characteristic of the target battery in the set time interval.

[0245] In a possible implementation manner, the battery operation parameter sequence includes a battery operation parameter sequence of at least two parameter dimensions, and the battery operation parameter subsequence includes a battery operation parameter subsequence of at least two parameter dimensions; and the first aggregation unit includes:

[0246] A Euclidean distance calculation subunit, used to take the battery operation parameter subsequence under each parameter dimension as a node, determine the feature vector of each node, and determine the Euclidean distance between the feature vectors of every two nodes to obtain a Euclidean distance matrix;

[0247] A first graph construction subunit, configured to construct a graph according to the Euclidean distance matrix and at least two of the nodes to obtain a sub-feature graph of the target battery in the time subinterval;

[0248] A first graph convolution subunit is used to perform a graph convolution operation on the sub-feature graph and the node feature of the node for each of the nodes to obtain an aggregate feature of the node;

[0249] The first target determination subunit is used to determine a target node from at least two of the nodes according to the Euclidean distance matrix, and determine the aggregated features of the target node as the features of the target battery in the time subinterval.

[0250] In a possible implementation manner, the first target determination subunit is specifically configured to:

[0251] For each row in the Euclidean distance matrix, determine the sum of the Euclidean distances in the row, each row in the Euclidean distance matrix corresponds to one of the nodes, including the Euclidean distances between the node and other nodes;

[0252] The node corresponding to the row with the smallest sum value is determined as the target node.

[0253] In a possible implementation, the second polymerization unit includes:

[0254] A similarity calculation subunit, used to determine the similarity between the features of the target battery in each two of the time subintervals, and obtain a similarity matrix;

[0255] A second graph construction subunit is used to construct a graph according to the similarity matrix and the target node to obtain a characteristic graph of the target battery in the set time interval;

[0256] The second graph convolution subunit is used to perform a graph convolution operation on the feature graph and the aggregated features of the target node to obtain the time domain features of the target battery in the set time interval.

[0257] In a possible implementation, the device further includes:

[0258] An attention weighting subunit, used for determining an attention coefficient corresponding to the feature of the target battery in each of the time subintervals after performing a graph convolution operation on the feature graph and the aggregated features of the target node;

[0259] The convolution operation result is weighted based on the attention coefficient to obtain the time domain characteristics of the target battery in the set time interval.

[0260] In a possible implementation, the spatial domain feature extraction module 1003 includes:

[0261] A multi-scale feature extraction unit, used to extract features of the battery operation parameter sequence at different scales to obtain features of the target battery corresponding to each scale;

[0262] The third aggregation unit is used to determine the spatial domain feature of the target battery in the set time interval according to the feature of the target battery corresponding to each of the scales.

[0263] In a possible implementation manner, the battery operation parameter sequence includes a battery operation parameter sequence of at least two parameter dimensions; the third aggregation unit is specifically configured to:

[0264] The target battery is spliced ​​with features corresponding to each scale in each parameter dimension to obtain the spatial domain features of the target battery in the set time interval.

[0265] In a possible implementation, the multi-scale feature extraction unit includes:

[0266] A third graph construction subunit is used to construct graphs of the battery operation parameter sequence at different scales to obtain sub-feature graphs of the target battery corresponding to each scale;

[0267] A third graph convolution subunit is used to perform a graph convolution operation on the sub-feature graph of the target battery corresponding to each of the scales and the battery operation parameter sequence to obtain an aggregate feature of each battery operation parameter in the battery operation parameter sequence at each of the scales;

[0268] The second target determination subunit is used to determine the target battery operating parameters from the battery operating parameter sequence, and determine the aggregated features of the target battery operating parameters at each scale as the features of the target battery corresponding to each scale.

[0269] In a possible implementation manner, the third graph construction subunit includes:

[0270] A feature matrix extraction subunit, configured to perform a convolution operation on the battery operation parameter sequence to obtain a feature matrix of the target battery in the set time interval;

[0271] An adjacency matrix generating subunit, used for multiplying the feature matrix and its transposed matrix to obtain an original adjacency matrix of the target battery in the set time interval;

[0272] A multi-scale reconstruction subunit, used to reconstruct the original adjacency matrix at different scales to obtain the adjacency matrix of the target battery at each scale;

[0273] The fourth graph construction subunit is used to construct a graph for each of the scales according to the adjacency matrix of the target battery at the scale and the battery operation parameter sequence to obtain a sub-feature graph of the target battery corresponding to the scale.

[0274] In a possible implementation manner, the second target determination subunit is specifically configured to:

[0275] For each row in the original adjacency matrix, determine the sum of the elements in the row;

[0276] The battery operating parameter corresponding to the row with the smallest sum value is determined as the target battery operating parameter.

[0277] In a possible implementation manner, the state of charge estimation module 1005 is specifically configured to:

[0278] The spatiotemporal fusion features are input into a trained battery state of charge estimation model, and the state of charge of the target battery at the cutoff time of the set time interval is obtained through the battery state of charge estimation model.

[0279] like Fig.11 As shown, an embodiment of the present application provides a device, including a processor 111, a communication interface 112, a memory 113 and a communication bus 114, wherein the processor 111, the communication interface 112, and the memory 113 communicate with each other through the communication bus 114.

[0280] Memory 113, used for storing computer programs;

[0281] In one embodiment of the present application, the processor 111 is used to execute the program stored in the memory 113 to implement the battery state of charge estimation method provided by any of the above method embodiments, including:

[0282] Acquire a battery operating parameter sequence of a target battery, wherein the battery operating parameter sequence includes battery operating parameters collected within a set time interval;

[0283] Extracting the time domain features and space domain features of the target battery in the set time interval from the battery operation parameter sequence;

[0284] The time domain features and the space domain features are fused to obtain the time-space fusion features of the target battery in the set time interval;

[0285] The state of charge of the target battery at the end time of the set time interval is determined according to the time-space fusion feature.

[0286] An embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the battery state of charge estimation method provided in any of the aforementioned method embodiments are implemented.

[0287] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0288] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a general hardware platform, and of course, by hardware. Based on this understanding, the above technical solution, in essence, or the part that contributes to the relevant technology, can be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiment.

[0289] It should be understood that the terms used herein are only for the purpose of describing specific example embodiments and are not intended to be limiting. Unless the context clearly indicates otherwise, the singular forms "one", "an" and "said" as used herein may also be meant to include plural forms. The terms "include", "comprise", "contain", and "have" are inclusive, and therefore specify the existence of stated features, steps, operations, elements and / or parts, but do not exclude the existence or addition of one or more other features, steps, operations, elements, parts, and / or combinations thereof. The method steps, processes, and operations described herein are not interpreted as necessarily requiring them to be performed in the specific order described or illustrated, unless the execution order is clearly indicated. It should also be understood that additional or alternative steps may be used.

[0290] The above description is only a specific implementation of the present application, so that those skilled in the art can understand or implement the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest range consistent with the principles and novel features applied for herein.

Claims

1. A method for estimating a battery state of charge, characterized in that: The method comprises: Acquire a battery operating parameter sequence of a target battery, wherein the battery operating parameter sequence includes battery operating parameters collected within a set time interval; Extracting the time domain features and space domain features of the target battery in the set time interval from the battery operation parameter sequence; The time domain features and the space domain features are fused to obtain the time-space fusion features of the target battery in the set time interval; Determine the state of charge of the target battery at the end time of the set time interval according to the spatiotemporal fusion feature; Extracting the time domain characteristics of the target battery in the set time interval from the battery operation parameter sequence includes: Divide the set time interval according to preset time intervals to obtain time subintervals; For each of the time subintervals, determining a battery operation parameter subsequence corresponding to the time subinterval from the battery operation parameter sequence, and performing aggregation processing on the battery operation parameter subsequences corresponding to the time subinterval to obtain the characteristics of the target battery in the time subinterval; After obtaining the characteristics of the target battery in each of the time sub-intervals, the characteristics of the target battery in each of the time sub-intervals are aggregated to obtain the time domain characteristics of the target battery in the set time interval.

2. The method according to claim 1, characterized in that The battery operation parameter sequence includes a battery operation parameter sequence of at least two parameter dimensions, and the battery operation parameter subsequence includes a battery operation parameter subsequence of at least two parameter dimensions; the aggregating the battery operation parameter subsequences corresponding to the time subinterval to obtain the characteristics of the target battery in the time subinterval includes: Taking the battery operation parameter subsequence under each parameter dimension as a node, determining the feature vector of each node, and determining the Euclidean distance between the feature vectors of every two nodes to obtain a Euclidean distance matrix; Constructing a graph according to the Euclidean distance matrix and at least two of the nodes to obtain a sub-feature graph of the target battery in the time sub-interval; For each of the nodes, performing a graph convolution operation on the sub-feature graph and the node feature of the node to obtain an aggregate feature of the node; According to the Euclidean distance matrix, a target node is determined from at least two of the nodes, and the aggregated features of the target node are determined as the features of the target battery in the time subinterval.

3. The method according to claim 2, characterized in that Determining a target node from at least two of the nodes according to the Euclidean distance matrix includes: For each row in the Euclidean distance matrix, determine the sum of the Euclidean distances in the row, each row in the Euclidean distance matrix corresponds to one of the nodes, including the Euclidean distances between the node and other nodes; The node corresponding to the row with the smallest sum value is determined as the target node.

4. The method according to claim 2, characterized in that: The aggregating the characteristics of the target battery in each of the time sub-intervals to obtain the time domain characteristics of the target battery in the set time interval includes: Determine the similarity between the features of the target battery in each two of the time subintervals to obtain a similarity matrix; Constructing a graph according to the similarity matrix and the target node to obtain a characteristic graph of the target battery in the set time interval; A graph convolution operation is performed on the feature graph and the aggregated features of the target node to obtain the time domain features of the target battery in the set time interval.

5. The method according to claim 4, characterized in that After performing the graph convolution operation on the feature graph and the aggregated features of the target node, the method further includes: Determine an attention coefficient corresponding to the characteristic of the target battery in each of the time subintervals; The convolution operation result is weighted based on the attention coefficient to obtain the time domain characteristics of the target battery in the set time interval.

6. The method according to claim 1, characterized in that Extracting the spatial domain features of the target battery in the set time interval from the battery operation parameter sequence includes: Extracting features of the battery operating parameter sequence at different scales to obtain features of the target battery corresponding to each scale; According to the characteristics of the target battery corresponding to each of the scales, the spatial domain characteristics of the target battery in the set time interval are determined.

7. The method according to claim 6, characterized in that The battery operation parameter sequence includes a battery operation parameter sequence of at least two parameter dimensions; and determining the spatial domain characteristics of the target battery in the set time interval according to the characteristics of the target battery corresponding to each of the scales, includes: The target battery is spliced ​​with features corresponding to each scale in each parameter dimension to obtain the spatial domain features of the target battery in the set time interval.

8. The method according to claim 6, characterized in that The extracting features of the battery operation parameter sequence at different scales to obtain the features of the target battery corresponding to each scale includes: Constructing graphs of the battery operation parameter sequence at different scales to obtain sub-feature graphs of the target battery corresponding to each scale; Performing a graph convolution operation on the sub-feature graph of the target battery corresponding to each of the scales and the battery operating parameter sequence to obtain aggregate features of each battery operating parameter in the battery operating parameter sequence at each of the scales; A target battery operating parameter is determined from the battery operating parameter sequence, and aggregated features of the target battery operating parameter at each scale are determined as features of the target battery corresponding to each scale.

9. The method according to claim 8, characterized in that The graph construction of the battery operation parameter sequence at different scales is performed to obtain a sub-feature graph of the target battery corresponding to each scale, including: Performing a convolution operation on the battery operation parameter sequence to obtain a feature matrix of the target battery in the set time interval; Multiplying the feature matrix and its transposed matrix to obtain the original adjacency matrix of the target battery in the set time interval; Reconstructing the original adjacency matrix at different scales to obtain the adjacency matrix of the target battery at each scale; For each of the scales, a graph is constructed according to the adjacency matrix of the target battery at the scale and the battery operation parameter sequence to obtain a sub-feature graph of the target battery corresponding to the scale.

10. The method according to claim 9, characterized in that The determining a target battery operating parameter from the battery operating parameter sequence includes: For each row in the original adjacency matrix, determine the sum of the elements in the row; The battery operating parameter corresponding to the row with the smallest sum value is determined as the target battery operating parameter.

11. The method according to claim 1, characterized in that: The step of determining the charge state of the target battery at the end time of the set time interval according to the spatiotemporal fusion feature includes: The spatiotemporal fusion features are input into a trained battery state of charge estimation model, and the state of charge of the target battery at the cutoff time of the set time interval is obtained through the battery state of charge estimation model.

12. A battery state of charge estimation device, characterized in that: The device comprises: A parameter sequence acquisition module, used to acquire a battery operation parameter sequence of a target battery, wherein the battery operation parameter sequence includes battery operation parameters collected within a set time interval; A time domain feature extraction module, used to extract the time domain features of the target battery in the set time interval from the battery operation parameter sequence; A spatial domain feature extraction module, used to extract the spatial domain features of the target battery in the set time interval from the battery operation parameter sequence; A time-space fusion module, used to fuse the time domain features and the space domain features to obtain the time-space fusion features of the target battery in the set time interval; A state of charge estimation module, used to determine the state of charge of the target battery at the end time of the set time interval according to the spatiotemporal fusion feature; Extracting the time domain characteristics of the target battery in the set time interval from the battery operation parameter sequence includes: Divide the set time interval according to preset time intervals to obtain time subintervals; For each of the time subintervals, determining a battery operation parameter subsequence corresponding to the time subinterval from the battery operation parameter sequence, and performing aggregation processing on the battery operation parameter subsequences corresponding to the time subinterval to obtain the characteristics of the target battery in the time subinterval; After obtaining the characteristics of the target battery in each of the time sub-intervals, the characteristics of the target battery in each of the time sub-intervals are aggregated to obtain the time domain characteristics of the target battery in the set time interval.