A charging thermal runaway early warning and interception system fusing edge computing
By generating graph pruning masks through edge computing and reconstructing graph neural networks, combined with solving a system of differentiable equations, flexible control commands are generated, solving the problem of the lack of active intervention strategies in existing technologies and realizing the safe interception of thermal runaway during the charging process of electric vehicles.
Patent Information
- Application Number
- CN202611175580.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-04
- Publication Date
- 2026-11-20
AI Technical Summary
Existing technologies lack an evaluation mechanism for proactive intervention strategies in charging thermal runaway and cannot generate feedforward flexible control commands with physical hard constraints, making it difficult to implement safe closed-loop interception in the early stages of thermal runaway.
By integrating edge computing, a graph pruning mask is generated to perform node filtering and connection reorganization on a full-modal graph neural network, extracting local fault features. Combined with a preset charging intervention strategy, a system of differentiable equations is solved to generate feedforward flexible control commands, thereby achieving proactive interception.
It improves the real-time performance of fault feature extraction and the reliability of intervention decisions, ensures a smooth transition in the control process, and achieves proactive and safe closed-loop interception in the early stages of thermal runaway.
Smart Images

Figure CN123129727A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the technical field of electric vehicle charging control and relates to a charging thermal runaway early warning and interception system that integrates edge computing. Background Technology
[0002] With the development of fast charging technology for electric vehicles, high-rate charging can easily lead to uneven temperature distribution inside the battery. If the local temperature exceeds the safety limit, it may trigger a chain reaction and evolve into thermal runaway. How to accurately warn and effectively intervene in the very early stages of thermal runaway events is a pressing technical challenge that needs to be addressed.
[0003] Chinese Patent Publication No. CN121871449A discloses a method, system, and computer program product for early warning of thermal runaway in electric vehicle batteries. This solution collects battery operating data to extract multi-dimensional features, constructs a model using multi-scale feature extraction and adaptive graph topology learning, and outputs a risk score through cross-modal coupling and fusion. An early warning signal is generated when the risk score exceeds a preset threshold. This technology, through the fusion of temporal and spatial topological features, can detect early warning anomalies of thermal runaway to a certain extent.
[0004] While the aforementioned solution can detect anomalies in advance, its technical framework remains limited to passive alarms. The solution lacks an evaluation mechanism for proactive intervention strategies in response to the current abnormal state, making it difficult to predict the actual suppression effects of different control methods. Furthermore, it lacks the ability to transform early warning signals into closed-loop planning that conforms to underlying physical safety constraints, hindering its ability to guide charging equipment and vehicles in smooth, coordinated interception operations.
[0005] In summary, the technical problem that this invention aims to solve is that the existing technology lacks a pre-evaluation mechanism for the effectiveness of intervention strategies and cannot generate feedforward flexible control commands with physical hard constraints, making it difficult to implement proactive and safe closed-loop interception in the early stages of thermal runaway. Summary of the Invention
[0006] To address the aforementioned problems, this invention provides a charging thermal runaway early warning and interception system that integrates edge computing.
[0007] A charging thermal runaway early warning and interception system integrating edge computing includes: The data acquisition and mask generation module acquires real-time sensor data streams, extracts features from the real-time sensor data streams in both spatial and temporal dimensions, and generates graph-pruned masks. The graph structure reorganization module obtains a preset full-modal graph neural network, applies a graph pruning mask to the full-modal graph neural network to perform node filtering and connection reorganization, and obtains the current abnormal subgraph; The fault feature aggregation module performs intra-graph message passing on the current abnormal subgraph, aggregates the local fault structured feature data in the current abnormal subgraph, and extracts the inference initial state benchmark for the preset twin model nodes. The strategy pre-simulation and trajectory generation module obtains a set of preset charging intervention strategies, substitutes the set of preset charging intervention strategies and the initial state benchmark into the set of differentiable equations built into the twin model node for solving, and generates multiple sets of characteristic predicted evolution trajectories. The decision evaluation and output module integrates multiple sets of characteristic predicted evolution trajectories into the current anomalous subgraph, performs graph convolution aggregation operation on the integrated current anomalous subgraph, and generates intervention-oriented decision vectors. The trajectory planning and instruction generation module analyzes the intervention-oriented decision vector, combines it with preset physical constraint parameters to solve for time window constraints, and generates feedforward flexible control instructions. The collaborative execution and interception module issues feedforward flexible control commands and performs active interception of charging thermal runaway evolution based on the feedforward flexible control commands.
[0008] A further aspect of this invention involves acquiring a real-time sensing data stream, extracting features from the real-time sensing data stream in both spatial and temporal dimensions, and generating a graph pruning mask, comprising the following steps: Acquire real-time sensor data streams containing temperature, voltage, and current, and extract individual sensor data nodes from the real-time sensor data streams; Calculate the positional association features of each sensor data node in the physical space dimension, and extract the temporal evolution features of each sensor data node in the time dimension. Location-related features and temporal evolution features are spliced and fused to quantify the numerical correlation between each sensor data node and the abnormal state, and a graph pruning mask is generated.
[0009] A further aspect of this invention involves concatenating and fusing location-related features with temporal evolution features to quantify the numerical correlation between each sensor data node and the abnormal state, generating a graph pruning mask, including the following steps: The location-related features and temporal evolution features are concatenated to obtain a fused feature vector; Based on the preset weight matrix and bias vector, the fused feature vector is linearly transformed and then nonlinearly transformed through the activation function to obtain the numerical correlation. The numerical correlations of all sensor data nodes are combined into a vector to generate a graph pruning mask.
[0010] A further aspect of this invention involves obtaining a preset full-modal graph neural network, applying a graph pruning mask to the full-modal graph neural network to perform node filtering and connection reassembly, and obtaining the current abnormal subgraph, including the following steps: Obtain a preset pruning threshold, set the features of nodes in the graph pruning mask whose numerical correlation is lower than the pruning threshold to zero, and generate a binarized node preservation mask. The binarized node-preserving mask is applied to the node feature matrix and adjacency matrix of the full-modal graph neural network, and the connection edges of the nodes that are set to zero are removed. Preserve the twin model nodes in the full-modal graph neural network and output the recombined current anomalous subgraph.
[0011] A further aspect of this invention involves performing intra-graph message passing on the current abnormal subgraph, aggregating the structured feature data of local faults in the current abnormal subgraph, and extracting the inference initial state baseline for the preset twin model nodes, including the following steps: Drive the active nodes in the current abnormal subgraph to collect the hidden layer feature representation vectors of their directly connected neighbor nodes; The hidden layer feature representation vectors are aggregated and linearly transformed to update the hidden layer feature representation vectors of each active node. The hidden layer feature representation vectors of all neighboring nodes connected to the twin model node are aggregated and integrated into local fault structured feature data; The structured feature data of local faults are input into the twin model nodes to update the internal state tensor and generate the initial state baseline for inference.
[0012] A further aspect of this invention involves obtaining a preset set of charging intervention strategies, substituting the preset set of charging intervention strategies and the initial state baseline into a set of differentiable equations built into the twin model nodes for solution, and generating multiple sets of characteristic predicted evolution trajectories, including the following steps: Using the initial state baseline as the initial condition, each strategy in the preset charging intervention strategy set is substituted into the differentiable equation set for numerical integration and solution to generate the predicted differential temperature field distribution. Calculate the image information entropy change of each predicted differential temperature field distribution, and construct the information entropy evolution characteristic curve with time as the independent variable; Information entropy evolution characteristic curves are quantized and encoded to generate multiple sets of characteristic prediction evolution trajectories.
[0013] A further aspect of this invention involves fusing multiple sets of characteristic predicted evolution trajectories into the current anomalous subgraph, performing graph convolution aggregation operations on the fused current anomalous subgraph to generate an intervention-oriented decision vector, including the following steps: Inject multiple sets of characteristic prediction evolution trajectories as new feature dimensions into the twin model nodes of the current anomaly subgraph, and update the global state space parameter tensor of the current anomaly subgraph. Perform graph convolution aggregation and global graph pooling operations on the updated current abnormal subgraph, and evaluate the suppression performance score of each preset charging intervention strategy; Select target pre-implementation strategy labels that meet the preset safety baseline and rank first in the preset charging intervention strategy set in terms of suppression effectiveness score, bind them to the target suppression time parameter, and merge them to generate an intervention-oriented decision vector.
[0014] A further aspect of this invention involves analyzing the intervention-oriented decision vector, combining it with preset physical constraint parameters to solve for time window constraints, and generating feedforward flexible control commands, including the following steps: Analyze the intervention-oriented decision vector and extract the target pre-simulation strategy label and target suppression time parameter; The corresponding target function is called according to the target pre-simulation strategy label, and physical constraint parameters including actual communication response delay parameters and preset current change rate upper limit parameters are obtained; Using physical constraint parameters as preset control hard constraint boundaries and target suppression time parameters as the upper limit of the time window, the objective function is solved by sequential quadratic programming to generate a continuous current regulation planning curve. The continuous current regulation planning curve is discretized and packaged to generate feedforward flexible control commands.
[0015] A further aspect of this invention uses physical constraint parameters as preset control hard constraint boundaries and target suppression time parameters as the upper limit of the time window to perform sequential quadratic programming on the objective function, generating a continuous current regulation planning curve, including the following steps: Set the preset upper limit parameter of current change rate as an inequality constraint on current change rate. Set the target suppression time parameter to the upper limit of the time window for the planned end time; Under inequality constraints and time window limits, the minimum value of the objective function is calculated through iterative optimization to approximate the convergent solution of the objective and generate a continuous current regulation planning curve.
[0016] A further aspect of this invention involves issuing feedforward flexible control commands and, based on these commands, actively intercepting the evolution of charging thermal runaway, including the following steps: The feedforward flexible control command is sent to the pulse width modulation controller component of the charging pile; The pulse width modulation controller component analyzes the feedforward flexible control command, calculates the duty cycle adjustment parameters, dynamically switches the conduction state of the power switching devices in the main output circuit, and adjusts the output current. Simultaneously, a full-load power heat dissipation request message is sent to the vehicle battery management system to drive the heat dissipation system to operate and complete the coordinated adjustment operation.
[0017] In summary, the present invention has the following beneficial technical effects: 1. By generating a graph pruning mask, node filtering and connection reorganization are performed on a pre-defined full-modal graph neural network to obtain the current abnormal subgraph. This technique removes features and connections from irrelevant nodes in the model, focusing computational resources on potential anomaly sources and heat dissipation paths. This process reduces the data dimensionality and computational load of subsequent graph convolution operations, reduces data noise interference under normal operating conditions, helps improve the real-time performance of fault feature extraction in edge computing environments, and provides a lightweight network foundation for policy pre-drafting.
[0018] 2. By extracting the initial state baseline for simulation, the pre-set charging intervention strategy is substituted into a system of differentiable equations to generate a predicted evolution trajectory. This trajectory is then fused into the anomaly subgraph for global evaluation, generating an intervention-oriented decision vector. This technique pre-infers the suppression effect of different strategies on thermal runaway evolution within the system and dynamically selects target pre-simulation strategies that meet the safety baseline. This overcomes the limitation of existing technologies that can only perform unidirectional risk alarms, establishes a pre-simulation evaluation mechanism for intervention strategies, and improves the reliability of intervention decisions.
[0019] 3. The intervention-oriented decision vector is analyzed and constrained by physical constraint parameters including communication delay and maximum permissible rate of change of current, generating feedforward flexible control commands for execution. This technique transforms upper-level strategy labels into continuous current regulation planning curves constrained by hardware safety boundaries, thereby suppressing electrical overshoot and physical shocks caused by traditional step-down power outages and ensuring a smooth transition in the control process. This mechanism effectively connects algorithmic decision-making with underlying hardware execution capabilities, achieving proactive and safe closed-loop interception in the early stages of thermal runaway. Attached Figure Description
[0020] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below. The drawings are used to provide a further understanding of the present invention.
[0021] Figure 1 This discloses a schematic diagram of the framework in the embodiments of this application.
[0022] Figure 2 This discloses a flowchart of an embodiment of this application.
[0023] Figure 3 The present application discloses the curves showing the change of information entropy of the predicted differential temperature field image over time under different strategies in the embodiments of this application.
[0024] Figure 4 The present application discloses the temperature variation curves of abnormal hotspot areas over time under different strategies in the embodiments of this application. Detailed Implementation
[0025] The following is in conjunction with the appendix Figure 1 - Figure 4 A preferred description of the present invention is provided below.
[0026] See attached document Figure 1 - Figure 2 This invention proposes a charging thermal runaway early warning and interception system integrating edge computing, comprising the following modules: The data acquisition and mask generation module acquires real-time sensor data streams, extracts features from the real-time sensor data streams in both spatial and temporal dimensions, and generates graph-pruned masks. The graph structure reorganization module obtains a preset full-modal graph neural network, applies a graph pruning mask to the full-modal graph neural network to perform node filtering and connection reorganization, and obtains the current abnormal subgraph; The fault feature aggregation module performs intra-graph message passing on the current abnormal subgraph, aggregates the local fault structured feature data in the current abnormal subgraph, and extracts the inference initial state benchmark for the preset twin model nodes. The strategy pre-simulation and trajectory generation module obtains a set of preset charging intervention strategies, substitutes the set of preset charging intervention strategies and the initial state benchmark into the set of differentiable equations built into the twin model node for solving, and generates multiple sets of characteristic predicted evolution trajectories. The decision evaluation and output module integrates multiple sets of characteristic predicted evolution trajectories into the current anomalous subgraph, performs graph convolution aggregation operation on the integrated current anomalous subgraph, and generates intervention-oriented decision vectors. The trajectory planning and instruction generation module analyzes the intervention-oriented decision vector, combines it with preset physical constraint parameters to solve for time window constraints, and generates feedforward flexible control instructions. The collaborative execution and interception module issues feedforward flexible control commands and performs active interception of charging thermal runaway evolution based on the feedforward flexible control commands.
[0027] In one embodiment of the present invention, the data acquisition and mask generation module is used to perform the following steps: Acquire real-time sensor data streams containing temperature, voltage, and current, and extract individual sensor data nodes from the real-time sensor data streams; Calculate the positional association features of each sensor data node in the physical space dimension, and extract the temporal evolution features of each sensor data node in the time dimension. Location-related features and temporal evolution features are spliced and fused to quantify the numerical correlation between each sensor data node and the abnormal state, and a graph pruning mask is generated.
[0028] The system acquires real-time sensor data streams from charging edge nodes and calls the spatiotemporal attention module in the edge computing unit's memory to generate a graph pruning mask for the full-modal graph neural network. The edge computing unit establishes a communication connection with the vehicle's battery management system via the controller area network (CAN) bus. At a preset sampling period, such as every 100ms, the edge computing unit collects real-time data frames from the battery management system, including readings from N cell temperature monitoring points, a set of bus voltage readings, and a set of loop current readings. The sampling period is set to match the underlying message refresh frequency of mainstream electric vehicle controller area networks. If the sampling period is greater than 500ms, it is prone to missing millisecond-level high-frequency transient temperature rise glitches in the very early stages of thermal runaway evolution; if the sampling period is less than 10ms, it exceeds the physical response limit of the underlying sensors, not only generating a large amount of redundant and repetitive data but also causing the edge computing unit's operating memory to overflow. A 100ms sampling period achieves an engineering balance between capturing transient anomalies and saving system computing power.
[0029] The edge computing unit organizes the aforementioned real-time data frames into a sliding window data matrix arranged in chronological order in its running memory; this matrix constitutes the real-time sensing data stream. The real-time sensing data stream is maintained in a fixed-size first-in-first-out (FIFO) queue in the edge computing unit's memory, with the FIFO queue having a dimension of [missing information]. , here The time step, for example, is set to 128, which represents the number of consecutive data frames contained in the first-in-first-out queue. The basis for this is that 128 is an integer power of 2, which enables the sliding window data matrix to achieve reasonable byte alignment in memory and optimizes the parallel computing throughput of the graphics processor tensor core. 128 time steps of 100ms correspond to a physical time window of 12.8s. This time window covers the complete thermal inertial hysteresis cycle of a typical lithium-ion cell from micro-internal short circuit heat generation to heat conduction to the outer casing sensor, ensuring that the neural network can capture the complete local temporal evolution characteristics. The total number of cell temperature sensors in the battery pack, for example, is 96. In the current mainstream 400V high-voltage power battery system architecture, a 96-cell series physical topology is typically used, with each in-line series unit equipped with an NTC thermistor. This configuration allows each node of the graph neural network to be mapped to an independent physical cell unit, ensuring the physical accuracy of spatial topology reorganization; the number 2 corresponds to the two global electrical quantity nodes: bus voltage and loop current.
[0030] The node representing the loop current also serves as a mapping for the charging control actuator, and is defined as the twin model node below, such as node number 98, to connect to subsequent physical pre-calculations. The system activates the spatiotemporal attention module pre-loaded into the runtime memory. To align with the prior physical knowledge that battery thermal runaway typically manifests as localized temperature anomalies that evolve over time, the spatiotemporal attention module is designed as a composite structure. The graph attention network layer within this attention module is used to capture spatial dependencies, and the gated recurrent unit network layer is used to capture temporal dependencies.
[0031] Real-time sensor data streams are fed into the spatiotemporal attention module. Inside the module, a graph attention network layer processes the latest data slices and calculates the positional correlation features of each sensor data node in the physical space dimension based on a pre-set adjacency matrix of the battery cell physical arrangement. Simultaneously, a gated recurrent unit network layer with an attention mechanism processes the time series of each sensor in a time-ordered sliding window data matrix, extracting the temporal evolution features of each sensor in the time dimension.
[0032] The fully connected network layer concatenates and fuses location-related features with temporal evolution features, and then performs nonlinear transformation to analyze anomalous patterns. For each node in the full-modal graph neural network, a value between 0 and 1 is output. This value quantifies the numerical correlation between this physical component node and the current potential anomalous state, thereby assessing the contribution of each sensor data node to the deviation of the current system state from the normal behavior pattern. 0 indicates no correlation, and 1 indicates complete correlation. This setting provides a clear quantitative basis for subsequent graph pruning operations. The numerical correlations of all sensor data nodes together constitute a vector corresponding one-to-one with each node of the full-modal graph neural network; this vector is the graph pruning mask. The calculation process of numerical correlation can be expressed by the following formula:
[0033] Furthermore, graph pruning masking It can be represented as:
[0034] In the formula, Represents the first in a full-modal graphical neural network The numerical correlation between each node; The sigmoid activation function maps any real input to the range of 0 to 1, ensuring the probabilistic meaning of the output value. and These represent the weight matrix and bias vector of the fully connected network at the end of the spatiotemporal attention module, respectively. The weight matrix and bias vector were obtained through offline training on a large amount of historical charging data containing normal and fault conditions. To extract the target from the graph attention network layer The location-related feature vectors of each node; For extracting from the gated recurrent unit network layer targeting the first Temporal evolution feature vectors of each node; symbol This represents a vector concatenation operation, which connects two feature vectors end-to-end to form a higher-dimensional fused feature vector; Let be the total number of nodes in the full-modal graph neural network, and satisfy the mathematical relationship. Image pruning mask That is, the numerical correlation of all nodes. Composition Dimensional vector.
[0035] In this case, assuming the application scenario is a battery system with 98 monitoring nodes, 96 of which are cell temperature nodes, 1 is a voltage node, and 1 is a current node (i.e., a twin model node), then the full-modal graph neural network also contains 98 nodes, and the generated graph pruning mask is a 98-dimensional vector.
[0036] In this embodiment, assuming a charging scenario, the battery pack contains 98 monitoring nodes, where the temperature of the cell corresponding to node 3 begins to show a slight but continuous abnormal rise. The edge computing unit collects real-time sensor data streams containing this abnormal trend over the last 128 time steps. After receiving the real-time sensor data stream, the spatiotemporal attention module analyzes the data at the latest moment through the graph attention network layer. It finds that the temperature value of node 3 deviates from the normal statistical distribution relative to its physical neighbors, such as nodes 2 and 4, thus generating a location association feature with a high abnormal component. .
[0037] Meanwhile, the gated recurrent unit network layer analyzed the temperature sequence of node 3 over the past 128 time steps, identifying that the temperature rise slope of node 3 was increased compared to the historical normal pattern, thus generating a time-series evolution feature with a similarly high anomalous component. For node 88, which is far from the anomalous region, both its spatial and temporal behavior remain normal, and the generated feature vectors... and Then it will not carry any abnormal information.
[0038] During the fusion calculation, assuming that after processing through splicing and fully connected network layers, the numerical correlation of node 3 is calculated by substituting into the formula. The numerical correlation of node 88 After calculating the numerical correlation of all 98 nodes sequentially, the generated graph pruning mask is a 98-dimensional vector, for example... In the graph pruning mask, the value of the third element is close to 1, indicating that node 3 is the source of the anomaly that is currently highly relevant, while the corresponding element values of other normal nodes are close to 0.
[0039] In one embodiment of the present invention, the graph structure reorganization module is configured to perform the following steps: Obtain a preset pruning threshold, set the features of nodes in the graph pruning mask whose numerical correlation is lower than the pruning threshold to zero, and generate a binarized node preservation mask. The binarized node-preserving mask is applied to the node feature matrix and adjacency matrix of the full-modal graph neural network, and the connection edges of the nodes that are set to zero are removed. Preserve the twin model nodes in the full-modal graph neural network and output the recombined current anomalous subgraph.
[0040] The offline-built full-modal graph neural network is retrieved, and tensor multiplication operations are performed using graph pruning masks to dynamically reconstruct the graph structure and generate the current abnormal subgraph. The processor of the edge computing unit retrieves the offline-built full-modal graph neural network, which is in a statically frozen state, from the edge computing unit's memory. The nodes of the full-modal graph neural network represent physical and logical entities in the charging system, such as individual battery cells, voltage sensors, current sensors, cooling system valves, and charging control actuators; the edges of the full-modal graph neural network represent the physical coupling relationships or information flow relationships between these entities.
[0041] The processor retrieves the graph pruning mask generated in the preceding steps from the running memory. The processor then performs a dynamic graph structure reorganization operation, which includes filtering and reconstruction processes based on the graph pruning mask, dynamically modifying the original node features and topology of the full-modality graph neural network according to the graph pruning mask.
[0042] The processor sets a preset pruning threshold. This threshold is typically set between 0.1 and 0.2, based on offline simulation experiments on a large dataset of historical faults, aiming to optimize the signal-to-noise ratio. A lower preset pruning threshold retains more weakly correlated nodes related to the fault propagation path, preventing premature information loss; a higher threshold filters out noise more effectively but risks losing early, weak signals. A range of 0.1 to 0.2 strikes an engineering balance between computational efficiency and diagnostic accuracy.
[0043] The processor converts the floating-point graph pruning mask into a binary node-preserving mask based on a pruning threshold. By applying the binary node-preserving mask to the original node feature matrix of the full-modal graph neural network, the feature vectors of all nodes with numerical correlation below the pruning threshold are set to zero, thus disabling them at the feature level. Simultaneously, to reconstruct the graph's topology, the processor operates on the original adjacency matrix using the binary node-preserving mask, removing all edges connecting any node to a zeroed-out node, generating a new adjacency matrix. The process of converting to a binary node-preserving mask and generating the new node feature matrix and adjacency matrix can be defined by the following formulas:
[0044]
[0045]
[0046] In the formula, Preserving a mask for binarized nodes is a dimensional... Column vectors; The first step is to preserve the mask for binarized nodes. One element; The first pruning mask generated in the previous steps The numerical correlation between each node; The preset pruning threshold; This is the new node feature matrix generated after pruning. The dimensions of the new node feature matrix are the same as those of the original node feature matrix. same; and These represent the first and second characteristic matrices of the new node and the original node, respectively. Line, i.e., the first The feature vector of each node; This is the new adjacency matrix generated after pruning. The dimensions of the new adjacency matrix are the same as those of the original adjacency matrix. Same; symbol This represents the Hadamard product, which is the element-wise multiplication of matrices. For vectors The transpose of the binary node-preserving mask (column vector) and the transpose of the binary node-preserving mask (row vector) are multiplied by the outer product to obtain a... A matrix is used to mask all connections in the original adjacency matrix associated with the discarded node.
[0047] In the full-modal graph neural network, the twin model nodes representing the charging control actuators are programmatically locked to 1 in the graph pruning mask due to their role in subsequent pre-calculations. This ensures that the twin model nodes are preserved in any pruning operation. After the above node feature failure and edge connection reorganization processing, the original static graph structure is transformed into a dynamic graph structure containing only a few active nodes highly correlated with potential anomalies. This dynamic graph structure, containing only a few active nodes highly correlated with potential anomalies, is the current anomaly subgraph, providing a simplified computational object for subsequent intra-graph message passing.
[0048] In this embodiment, the processor retrieves a full-modal graph neural network containing 98 nodes and sets a preset pruning threshold. The value is 0.1. The processor traverses the graph pruning mask to generate a binarized node-preserving mask. .because , , , as well as ,but The corresponding elements of the vector are The processor applies a binarized node-preserving mask to the original node feature matrix. Since the first and 88th elements of the binarized node preservation mask are 0, the original node feature matrix... The feature vectors in rows 1 and 88 are replaced with zero vectors.
[0049] For updating the original adjacency matrix, assuming that in the original adjacency matrix... In the diagram, there is a connection between node 1 and node 2, that is... In the new adjacency matrix In the diagram, the corresponding value of the connection between node 1 and node 2 is calculated as follows: This indicates that the connection between node 1 and node 2 has been successfully pruned. As for the connection between node 2 and node 3, since both nodes have a mask value of 1, the connection between node 2 and node 3 remains intact. It was thus preserved.
[0050] By performing this operation on all nodes and edges, the original global graph structure containing 98 nodes is reorganized into a simplified graph structure containing only a few active nodes, such as nodes 2, 3, and 4, and their interconnections. This simplified graph structure is the current anomalous subgraph, which reduces the complexity of subsequent graph convolution calculations.
[0051] In one embodiment of the present invention, the fault feature aggregation module is configured to perform the following steps: Drive the active nodes in the current abnormal subgraph to collect the hidden layer feature representation vectors of their directly connected neighbor nodes; The hidden layer feature representation vectors are aggregated and linearly transformed to update the hidden layer feature representation vectors of each active node. The hidden layer feature representation vectors of all neighboring nodes connected to the twin model node are aggregated and integrated into local fault structured feature data; The structured feature data of local faults are input into the twin model nodes to update the internal state tensor and generate the initial state baseline for inference.
[0052] The process initiates the intra-graph message passing mechanism within the current anomalous subgraph, aggregating highly relevant local fault feature information and extracting the initial state baseline for inference of the Siamese model nodes. The processor activates the intra-graph message passing mechanism within the current anomalous subgraph, which includes performing graph convolution operations at a preset number of layers, such as k layers. Through iterative neighborhood aggregation, the intra-graph message passing mechanism enables fault information to propagate within the pruned subgraph structure. The feature representation of each active node includes its own state and the contextual information of surrounding nodes. (Preset number of layers) The number of steps is typically set to 2 to 4. The early propagation path of thermal runaway is usually limited to physically nearby cells. 2 to 4 steps of neighborhood information is sufficient to capture the local spread pattern of the fault and prevent excessive smoothing of information due to too many preset layers, which would overwhelm local abnormal features.
[0053] In each layer of computation, each active node in the current anomaly subgraph (i.e., the node with a value of 1 in the binarized node retention mask) performs an information aggregation and update operation. Specifically, each active node collects the current hidden layer feature representation vectors of all its directly connected neighbor nodes in the current anomaly subgraph topology and aggregates these vectors. The aggregated feature vectors undergo a linear transformation with the weight matrix of the graph's convolutional layer and are then processed with a non-linear activation function, such as a modified linear unit. The result is used as the node's hidden layer feature representation vector in the new layer. The hidden layer feature representation vector is the feature representation of an active node at the current network layer, and its dimension is determined by the network design, for example, 64 dimensions. The single-layer update process of this graph convolutional operation can be represented by the following formula:
[0054] In the formula, The index of the layer number in the graph convolution operation; For the first The matrix formed by the hidden layer feature representation vectors of all active nodes after the layer graph convolution operation; For the first The matrix formed by the hidden layer feature representation vectors of all nodes after the layer graph convolution operation, where This refers to the new node feature matrix generated in the previous step. ; For the first The trainable weight matrix of a layered graph convolutional network; It is a new adjacency matrix The matrix obtained after normalization, and the matrix obtained after normalization of the new adjacency matrix, are expressed by the following formula:
[0055] in, It is a diagonal matrix generated based on a binarized node preservation mask, whose diagonal elements are equal to the corresponding elements of the binarized node preservation mask, that is, only active nodes are added with self-loops; It is a diagonal matrix, and its diagonal elements are... The degree of the corresponding node; to ensure the validity of matrix operations, it is agreed that for the pruned node with a degree of 0, the Moore-Penrose generalized inverse operation is used, and the superscript is used. This means that its corresponding diagonal element is set to 0. To modify the activation function of the linear unit.
[0056] The single-layer update process of graph convolution operations is executed in parallel and iterated on all active nodes. Next. After After each iteration, the hidden layer feature representation vector of each active node has been fused with the features of each active node in the current anomaly subgraph. The system aggregates the hidden layer feature vectors of all neighboring nodes connected to the twin model node, and integrates these hidden layer feature vectors into a single high-dimensional local fault structured feature data. This process of aggregating neighbor node features to generate local fault structured feature data can be represented as follows:
[0057] in, This refers to the structured feature data of local faults; For the process After layer graph convolution operation, nodes The hidden layer feature representation vector; This represents the node in the twin model within the current anomaly subgraph. The set of directly connected neighbor nodes; This represents the element-wise summation of the hidden layer feature representation vectors of all neighboring nodes within the set.
[0058] The structured feature data of this local fault is input into the twin model node to update the internal state tensor maintained within the twin model node. The internal state tensor is a data structure within the twin model node used to store the initial conditions required before solving the differential equations characterizing the battery's electrothermal coupling behavior, such as initial temperature, initial state of charge, and initial internal resistance. The update process of the deduced initial state reference transforms the fault diagnosis information extracted from the current anomaly subgraph into the initial conditions of the physical equations within the twin model node through substitution or weighted assignment. The updated internal state tensor becomes the deduced initial state reference used for subsequent control pre-simulation calculations, i.e., the set of initial conditions filled and calibrated by the fault diagnosis information.
[0059] In this embodiment, following the aforementioned current abnormal subgraph, nodes 2, 3, 4, and the twin model node 98 are all active nodes, and node 98 is connected to nodes 3 and 4. Assume a preset number of layers for the graph convolution operation. The value is set to 2. In the first layer operation, node 3 aggregates the initial feature vectors of its neighboring nodes 2, 4, and 98, transforms them, and then updates node 3's own hidden layer feature representation vector. After two layers of computation, the hidden layer feature representation vectors of all active nodes are obtained, for example... and At this point, the system tracks the twin model node 98 and aggregates the hidden layer feature representation vectors of its neighboring nodes 3 and 4 connected to the twin model node 98, calculating the structured feature data of local faults. Assuming , ,but .
[0060] The structured feature data of local faults is input to node 98 of the twin model. Assuming that the internal state tensor of the twin model node requires the initial temperature field distribution vector and the initial charged state vector as input, the system decodes some elements of the structured feature data of local faults and assigns them to these state variables through a preset mapping function. For example, the first 10 elements of the structured feature data of local faults are linearly transformed and used as the initial temperature field distribution vector. After the assignment, the updated internal state tensor reflects the abnormal states near nodes 3 and 4 diagnosed from the graph, thus forming the initial state baseline for inference.
[0061] In one embodiment of the present invention, the strategy pre-simulation and trajectory generation module is used to perform the following steps: Using the initial state baseline as the initial condition, each strategy in the preset charging intervention strategy set is substituted into the differentiable equation set for numerical integration and solution to generate the predicted differential temperature field distribution. Calculate the image information entropy change of each predicted differential temperature field distribution, and construct the information entropy evolution characteristic curve with time as the independent variable; Information entropy evolution characteristic curves are quantized and encoded to generate multiple sets of characteristic prediction evolution trajectories.
[0062] The system triggers the live simulation calculation logic within the twin model node, introduces a pre-set charging intervention strategy set from the edge node database, and generates multiple sets of characteristic predicted evolution trajectories in parallel. The processor inherits the initial conditions based on the initial simulation state and awakens one or more differentiable equation sets within the twin model node. The twin model node uses these differentiable equation sets to simulate the electrochemical reactions, Joule heating, entropy-heat changes, and heat conduction and convection within the battery pack structure, thus mathematically characterizing the electrochemical and thermal conduction coupling dynamics of the battery during charging. The differentiable equation sets allow for optimization of model parameters or sensitivity analysis using backpropagation algorithms. The core of the differentiable equation sets can be illustrated by the following thermal balance equations:
[0063] The heat balance equation describes temperature Over time and spatial location Changes in temperature Changes in heat conduction terms and heat-producing items Joint influence; It is the density of the material; It is specific heat capacity; It is thermal conductivity; heat generation term It is electric current ,temperature and state of charge Complex functions, different intervention strategies are precisely through different Sequence inputs are used to influence heat generation.
[0064] Meanwhile, the processor retrieves a set of preset charging intervention strategies from the edge computing node's own database, such as a pre-configured structured query language database or key-value store, containing various dimensions. These preset charging intervention strategies are pre-defined based on expert knowledge and historical data, covering multiple intervention methods. For example, strategy one reduces the current to 50% of the rated value; strategy two uses a pulse current with a frequency of 1Hz and a duty cycle of 0.5; and strategy three maintains the current unchanged but initiates full-load power cooling.
[0065] The preset charging intervention strategy is defined as a series of parameterized control input sequences, such as different current values in constant current charging mode, duty cycle and frequency combinations in pulse charging mode, or current decay rate in gradient descent charging mode. The system initiates a parallel inference process, substituting the control input sequence of each preset charging intervention strategy as variables into a system of differentiable equations starting from the initial state baseline. Numerical integration methods are used to solve the system of differentiable equations within a preset time window, such as 5 minutes. To meet the real-time requirements of edge computing, the system of differentiable equations is constructed based on a physically reduced-order model or uses the graphics processor of the edge computing unit for parallel acceleration calculations to ensure that the pre-calculation solution is completed in the hundreds of milliseconds.
[0066] The process of solving a system of differentiable equations starting from the initial state baseline generates a time-varying, multi-dimensional battery state prediction matrix. This matrix contains the predicted temperature values at various key locations within the battery pack under the intervention of a pre-defined charging strategy. The processor extracts the predicted differential temperature field distribution from each battery state prediction matrix—that is, the difference matrix between the predicted temperature field at each time step and the initial temperature field—to observe the temperature change trend caused by the pre-defined charging intervention strategy and eliminate the influence of initial temperature field inhomogeneity.
[0067] For each predicted differential temperature field distribution, the system calculates the image information entropy of the predicted differential temperature field distribution at each time point. Image information entropy is used to quantify changes in the disorder or non-uniformity of the temperature field distribution. The preset charging intervention strategy is configured to suppress the formation of local hotspots, i.e., to prevent or reverse the entropy reduction phenomenon of the predicted differential temperature field, making the predicted differential temperature field tend towards a more uniform distribution, i.e., maintaining a high level of image information entropy. The formula for calculating image information entropy is:
[0068] In the formula, for Image information entropy for predicting the differential temperature field distribution at any given time; This represents the total number of pixels or grid points in the temperature field matrix. The probabilistic representation must satisfy... Specifically, this can be achieved using the absolute value normalization formula with a smoothing term:
[0069] The calculation shows that, among which For the first Predicted differential temperature for each grid point For very small positive numbers, such as The introduction of this smoothing term prevents computational anomalies such as zero denominators under extremely uniform temperature fields, ensuring numerical stability, and also ensures that the sum of all elements after normalization always equals 1, thereby guaranteeing the non-negativity of the input and its complete probabilistic meaning. Image information entropy The calculation is based on probability distribution and image information entropy. The result is a dimensionless pure numerical value, which conforms to the definition of information theory.
[0070] The system constructs information entropy evolution feature curves with time as the independent variable and information entropy as the dependent variable. The processor performs information quantization encoding on these multiple sets of information entropy evolution feature curves, extracting feature points such as peak entropy decrease, the time to reach the peak entropy decrease, and stable values. Alternatively, it transforms these multiple sets of information entropy evolution feature curves into fixed-dimensional vectors through an encoder network, thereby generating multiple sets of characteristic prediction evolution trajectories representing the prediction effects of various preset charging intervention strategies. These multiple sets of characteristic prediction evolution trajectories provide dimensionality reduction and structured representation of the information entropy evolution curves for comparison and evaluation by subsequent network layers.
[0071] In this embodiment, the twin model nodes have obtained an initial state baseline containing anomaly information. Now, the system retrieves three preset charging intervention strategies from the database: Strategy A (current halved), Strategy B (pulse charging), and Strategy C (no intervention). The processor assigns different current functions to the three preset charging intervention strategies. , , The solutions were substituted into a system of differentiable equations and solved in parallel. After numerical integration over a 5-minute time window, three sets of predicted temperature field data were obtained.
[0072] See appendix Figure 3 Strategy C corresponds to the no-intervention state, in which the temperature of the abnormal hot spot area rises exponentially and rapidly approaches the irreversible thermal runaway state. Strategy B corresponds to pulse charging, in which the temperature of the hot spot area fluctuates slightly, but the overall heating trend is suppressed and it is in an overall controllable state. Strategy A corresponds to the current halving strategy, and its prediction results show that the temperature rise rate of the original abnormal hot spot area is rapidly and smoothly slowed down and converges to the safe equilibrium temperature, showing the best thermal suppression capability.
[0073] The image information entropy changes of the predicted differential temperature field distribution for these three sets of data were calculated, and three information entropy evolution characteristic curves were plotted. The information entropy evolution characteristic curve corresponding to strategy C shows a steep downward trend, indicating a sharp entropy reduction. The information entropy evolution characteristic curve of strategy A shows a gentler decline, while the information entropy evolution characteristic curve of strategy B lies between strategy A and strategy C. The system quantizes and encodes these three information entropy evolution characteristic curves, extracting feature tuples for each curve, such as peak entropy reduction and the time to reach the peak entropy reduction, generating three sets of characteristic predicted evolution trajectories: trajectory A is (0.2, 300s), trajectory B is (0.5, 180s), and trajectory C is (1.8, 90s). These three sets of characteristic predicted evolution trajectories quantify the ability of different preset charging intervention strategies to suppress the risk of thermal runaway in the future, providing a data foundation for further decision-making.
[0074] In one embodiment of the present invention, the decision evaluation and output module is used to perform the following steps: Inject multiple sets of characteristic prediction evolution trajectories as new feature dimensions into the twin model nodes of the current anomaly subgraph, and update the global state space parameter tensor of the current anomaly subgraph. Perform graph convolution aggregation and global graph pooling operations on the updated current abnormal subgraph, and evaluate the suppression performance score of each preset charging intervention strategy; Select target pre-implementation strategy labels that meet the preset safety baseline and rank first in the preset charging intervention strategy set in terms of suppression effectiveness score, bind them to the target suppression time parameter, and merge them to generate an intervention-oriented decision vector.
[0075] The fused feature-based predicted evolutionary trajectories continue to perform graph convolution computation, quantifying and evaluating the intervention effectiveness of the diagnostic network, and outputting an intervention-oriented decision vector containing policy labeling and quantified time-sensitive data. The processor injects the generated multiple sets of feature-based predicted evolutionary trajectories as a new feature dimension back into the twin model nodes of the current anomaly subgraph. The quantized encoding vectors of each set of feature-based predicted evolutionary trajectories are concatenated to form a prediction effect feature vector, which replaces the original hidden layer feature expression vector of the twin model nodes. This injection operation of concatenating quantized encoding vectors forms a feedback mechanism, completing the feedback from the pre-simulation results to graph structure information, incorporating the analysis and prediction results for the future into the decision-making considerations of the graph neural network. After the update, the global state space parameter tensor of the current anomaly subgraph, i.e., the set of feature matrices describing the state of the entire graph system, contains predictive information about the future intervention consequences.
[0076] The system extracts the current anomalous subgraph after updating the global state space parameter tensor and performs graph convolution aggregation operation at the final network layer. After fusing the prediction information, the graph convolution aggregation operation at the final network layer performs a global evaluation of the state of the entire fault subgraph. The graph convolution aggregation operation at the final network layer includes one or two layers of graph convolution and a global graph pooling layer.
[0077] The graph convolutional layer continues message passing on the updated current anomaly subgraph, propagating the prediction information carried by the Siamese model nodes to other nodes in the current anomaly subgraph. Subsequent global graph pooling layers, such as global sum pooling or global mean pooling, aggregate the feature vectors of all nodes in the current anomaly subgraph into graph-level feature vectors. These graph-level feature vectors represent the overall state representation of the entire anomaly event after comprehensively considering various preset charging intervention strategies.
[0078] Graph-level feature vectors are fed into a classification and regression head network consisting of one or more fully connected layers. After training, the classification and regression head network evaluates the suppression effectiveness score of each pre-defined charging intervention strategy on the decreasing trend of the information entropy evolution feature curve. A higher suppression effectiveness score indicates a better effect of the corresponding pre-defined charging intervention strategy in suppressing local entropy reduction and mitigating the risk of thermal runaway. At this stage, the calculation of the suppression effectiveness score can be formalized as follows:
[0079] In the formula, Representing the The suppression effectiveness score of a preset charging intervention strategy; It is the original characteristic matrix The features of the row containing the twin model node are replaced with those of the first twin model node. The feature matrix of the new node after the characteristic prediction of the evolution trajectory of each strategy; The new adjacency matrix of the subgraph generated by the previous steps; Graph convolution aggregation operation representing the final network layer; This represents global graph pooling operations, such as summing or averaging node features; This represents the multilayer perceptron, i.e., the fully connected network, which is ultimately used to output the score.
[0080] One branch of the classification and regression head network outputs the suppression efficiency score for each preset charging intervention strategy, while the other branch outputs the time required to achieve the expected suppression effect. The system selects the preset charging intervention strategy with the highest suppression efficiency score that ensures the predicted differential thermal entropy deceleration rate is controlled within a preset safety baseline. The preset safety baseline condition is set based on predefined engineering thresholds, such as requiring the absolute value of the differential thermal entropy deceleration rate to be less than a certain value within 1 minute after intervention. The setting is based on a key physical engineering threshold that defines whether the system has returned to thermal equilibrium. When the absolute value of the entropy deceleration rate falls below this level, it means that the temperature field inside the battery pack has converged from a locally severe non-uniform state to a globally uniform state, and the Joule heat generated by the internal micro-short circuit has been completely offset by the system's heat dissipation power. It has entered a macroscopic quasi-static thermal equilibrium stage, marking that the thermal runaway chain reaction has been substantially blocked.
[0081] The system selects the pre-defined charging intervention strategy with the highest suppression effectiveness score from those that meet the criteria, using it as the target pre-implementation strategy label, which is represented as the identifier of the corresponding specific intervention strategy. Simultaneously, it binds the target suppression time parameter required for this pre-defined charging intervention strategy to achieve the suppression effect, such as the time when the predicted inflection point of the information entropy curve appears. This target suppression time parameter provides a basis for the timing planning of the downstream controller. The target pre-implementation strategy label and the target suppression time parameter are combined and packaged to form a structured data object, which is the intervention-oriented decision vector.
[0082] In this embodiment, the system has generated three sets of characteristic predicted evolution trajectories, namely trajectory A, trajectory B, and trajectory C. Now, the system injects the quantized encoding vectors of trajectories A, B, and C into the Siamese model nodes three times, and performs graph convolution aggregation operations at the final network layer level. After the quantized encoding vector of trajectory A is injected, the graph-level feature vector output by the graph neural network is processed... The suppression effectiveness score for strategy A was calculated to be 0.92. When the quantized encoding vector of trajectory B was injected, the suppression effectiveness score was 0.65. When the quantized encoding vector of trajectory C was injected, the suppression effectiveness score was only 0.11 because trajectory C had the worst information entropy evolution characteristic curve.
[0083] See appendix Figure 4 Strategy C's curve drops sharply, indicating a drastic decrease in entropy, meaning a rapid deterioration of local hotspots; Strategy B's curve falls between the two, exhibiting fluctuations; while Strategy A's information entropy curve decreases very gently, maintaining a high level of information entropy. In particular, Figure 4 The solid line shows a clear stagnation point at 120s, as indicated by the black dot in the figure. This point is extracted by the system as the target suppression time parameter. Combining the quantization output of the graph pooling network, strategy A ranks first with a performance score of 0.92.
[0084] The system checks whether the three information entropy evolution characteristic curves meet the preset safety baseline. It is assumed that strategies A and B both meet the baseline, while strategy C does not. Among strategies A and B that meet the preset safety baseline, strategy A ranks first with a suppression effectiveness score of 0.92. Strategy A is selected as the target pre-simulation strategy label. The inflection point of the information entropy curve of trajectory A is extracted from the data of trajectory A and found to occur at 120s. Therefore, 120s is used as the target suppression time parameter. The system merges the identifier "Policy_A" of strategy A with the target suppression time parameter 120s to generate an intervention-oriented decision vector, for example, a data packet in the format {"strategy_id":"Policy_A","target_time_s":120}, and outputs it to the next processing stage.
[0085] In one embodiment of the present invention, the trajectory planning and instruction generation module is used to perform the following steps: Analyze the intervention-oriented decision vector and extract the target pre-simulation strategy label and target suppression time parameter; The corresponding target function is called according to the target pre-simulation strategy label, and physical constraint parameters including actual communication response delay parameters and preset current change rate upper limit parameters are obtained; Using physical constraint parameters as preset control hard constraint boundaries and target suppression time parameters as the upper limit of the time window, the objective function is solved by sequential quadratic programming to generate a continuous current regulation planning curve. The continuous current regulation planning curve is discretized and packaged to generate feedforward flexible control commands.
[0086] The process of parsing the intervention-oriented decision vector to obtain the target pre-simulation strategy label, driving the background nonlinear trajectory planner to solve for time window constraints, and generating feedforward flexible control instructions that change continuously with time is as follows: The control framework software module of the edge computing unit receives the intervention-oriented decision vector generated by the aforementioned steps. The control framework software module parses the intervention-oriented decision vector and extracts the target pre-simulation strategy label and the target suppression time parameter. The target pre-simulation strategy label is used as a selection parameter, calling the corresponding objective function. The objective function is pre-stored in the objective function library and loaded by the nonlinear trajectory planner. For example, if the target pre-simulation strategy label is "Policy_A", then the mathematical expression defining "smoothly transitioning the current from the current value to 50% of the rated value within a preset time threshold" is loaded.
[0087] The preset time threshold is typically set between 0.5s and 3.0s, preferably 1.2s. This time threshold range is defined to balance the safety physical boundaries of the underlying electrical hardware with the critical hysteresis window of the battery cell thermodynamics. Specifically, the lower limit of this preset time threshold is strictly constrained by the aforementioned maximum allowable current change rate and the stray inductance on the DC bus side of the charging pile. If this time threshold is set too small, an extremely high current change rate ( This will induce a destructive inductive overvoltage on the DC bus. This not only risks damaging power semiconductor devices but also exacerbates battery polarization. The upper limit of the preset time threshold is constrained by the effective intervention time window for the cell's thermal runaway chain reaction. From the localized abnormal temperature rise caused by a micro-internal short circuit to the large-area melting and shrinkage of the separator, leading to irreversible positive thermal feedback, the evolution is extremely rapid. If the time threshold is set too high, the current reduction process becomes too slow, and the continuously input Joule thermal energy during this period will be sufficient to push the cell temperature above the safety threshold, causing active interception to fail. Setting the preset time threshold reasonably within this range provides sufficient time integration margin mathematically for the sequential quadratic programming solver, generating an S-shaped flexible control curve with a smooth first derivative, ensuring millisecond-level heat cutoff while achieving a smooth transition without electrical shock.
[0088] Meanwhile, two physical constraint parameters are introduced from the underlying driver interface or configuration file. The first is the actual communication response delay parameter of the charging physical actuator, such as 50ms. This reflects the sum of inherent hardware hysteresis in the issuance of industrial Ethernet commands, the parsing by the charging pile main control board, and the response of the underlying driver chip. Using this as a feedforward compensation parameter allows the nonlinear trajectory planner to predict hysteresis in advance, thereby effectively suppressing electrical overshoot oscillations that are easily caused in the control closed loop. The second is the preset upper limit parameter of the current change rate of the underlying electrical interface, such as no more than 100A per second. This is based on the dual considerations of the polarization characteristics of the power battery and electrical safety. If the current drop slope exceeds this hard boundary, it will not only induce a severe inductive overvoltage that may break down the insulation at the high-voltage contactor and power devices such as transistors and IGBTs on the output side of the charging pile, but also cause a sudden change in the transient gradient of lithium-ion concentration inside the cell, leading to secondary lithium plating damage. Setting this as a hard constraint ensures the safety and harmlessness of the early warning and interception actions. These two physical constraint parameters are set as the preset control hard constraint boundaries of the nonlinear trajectory planning algorithm, ensuring that the solved control commands are physically executable and safe.
[0089] The nonlinear trajectory planner performs the solution, which includes an embedded sequential quadratic programming solver algorithm. The sequential quadratic programming solver algorithm uses the loaded objective function as the optimization objective, preset hard control constraints as inequality constraints, and the objective suppression time parameter as the upper limit of the solution time window for iterative optimization calculations. In this step, the nonlinear trajectory planning problem can be formally described as the following constrained optimization control problem:
[0090] In the formula, It is the objective function selected by the objective pre-visualization strategy label, for example .in, This is a time penalty term used to drive the system to complete the transition within a preset time threshold; and The first term within the integral sign is the weighting coefficient. It aims to minimize the deviation between the actual current and the target current. The second term introduces a penalty for the rate of change of current, so that the system automatically slows down the adjustment rate when it approaches the target current, thereby naturally generating a smooth transition flexible control curve and avoiding the physical shock caused by the sudden change of derivative. It is the continuous current regulation planning curve to be solved; As a terminal state equality constraint, the system is forced to smoothly reach the target current value at the end of the time window to avoid trivial solutions caused by free-time optimization; and These represent the preset lower and upper limits of the current change rate, respectively, and constitute part of the preset hard constraint boundary of the control. The start time of the plan; To solve for the initial current value ; The planning end time must be less than or equal to the target suppression time parameter derived from the intervention-oriented decision vector. .
[0091] The sequential quadratic programming solver algorithm approximates the objective convergent solution by solving a quadratic programming subproblem in each iteration step, calculating a continuous sequence of control variables that minimizes the objective function value under constraints. This continuous sequence of control variables that minimizes the objective function value under constraints is the feedforward flexible control command accurate to the millisecond level.
[0092] In a specific embodiment, the system receives the intervention-oriented decision vector {"strategy_id": "Policy_A", "target_time_s": 120}. After parsing, the target pre-simulation strategy label is extracted as "Policy_A", and the target suppression time parameter is 120s. Based on "Policy_A", the system sets the time penalty weight coefficient. Weighting coefficient of change rate penalty Set weight coefficients Planning start time and target current This loads the objective function obtained by simplifying the aforementioned formula. ,in This is the rated current. The system reads the underlying hardware constraints and sets the preset upper limit for the current change rate to [value missing]. The current is Rated current The goal is to reduce it to 100A.
[0093] The sequential quadratic programming solver is activated, aiming to minimize the objective function within 120 seconds while satisfying the constraint that the current change rate does not exceed 100 A / s. The convergent solution calculated by the solver is a smoothly decreasing S-shaped curve, rather than a straight line or a step. For example, in the first few hundred milliseconds, the current decrease rate gradually increases to 100 A / s, then maintains this rate, and as it approaches the target current of 100 A, the decrease rate smoothly slows down, eventually stabilizing at 100 A within about 1 second. This curve is discretized into a series of instruction points with a time interval of 10 ms, such as [(0s, 200.0 A), (0.01s, 199.5 A), (0.02s, 198.0 A), ..., (1.00s, 100.0 A)]. This instruction sequence is packaged into feedforward flexible control instructions, ready to be sent to the underlying control components of the charging pile.
[0094] In one embodiment of the present invention, the cooperative execution and interception module is used to perform the following steps: The feedforward flexible control command is sent to the pulse width modulation controller component of the charging pile; The pulse width modulation controller component analyzes the feedforward flexible control command, calculates the duty cycle adjustment parameters, dynamically switches the conduction state of the power switching devices in the main output circuit, and adjusts the output current. Simultaneously, a full-load power heat dissipation request message is sent to the vehicle battery management system to drive the heat dissipation system to operate and complete the coordinated adjustment operation.
[0095] The process of issuing feedforward flexible control commands to the underlying electrical actuators of the charging pile, guiding the actuators to perform real-time dynamic coordinated adjustment operations, and actively intercepting the evolution of charging thermal runaway is as follows: The edge computing unit sends feedforward flexible control commands at high frequency through its integrated industrial communication bus interface. The receiving end of the feedforward flexible control commands is the pulse width modulation controller component integrated on the charging pile system motherboard. This command sending process establishes a low-latency control link that penetrates from the surface-level high-level intelligent algorithm to the underlying hardware actuators.
[0096] The pulse width modulation (PWM) controller component analyzes the timestamps and corresponding current setpoint sequences contained in each feedforward flexible control command. For each current setpoint, the component uses a proportional-integral-derivative (PI-DE) algorithm to compare the error between the actual detected current from the sensor and the current target current setpoint, calculating the specific duty cycle adjustment parameters required to drive the power switching devices in the main circuit. By dynamically switching the on / off state of the power switching devices in the main output circuit at high frequency, the PWM controller component can adjust the equivalent output voltage of the charging circuit, thereby causing the actual output current to decrease along the smooth trajectory planned by the feedforward flexible control command. This effectively cuts off and suppresses the system's thermal accumulation energy supplied to potential battery thermal runaway regions from the energy input end.
[0097] Simultaneously, the edge computing unit generates and sends a matching full-load power cooling request message to the vehicle battery management system via another communication channel. The full-load power cooling request message is a standardized instruction frame with the highest priority, such as a message with a preset identifier defined in the Controller Area Network Protocol (CLAN), ensuring that the cooling actuator is not interfered with by normal operating logic. This message instructs the vehicle battery management system to override the conventional temperature control strategy and allocate the battery pack's liquid cooling or air cooling system to full-load operating power to strip and dissipate excess heat generated inside the battery at a full-load heat dissipation rate.
[0098] Based on the software and hardware collaborative adjustment mechanism established by the feedforward flexible control command between the current flexible regulation on the charging pile side and the active heat dissipation on the vehicle side, the active interception of the source of the thermal runaway chain reaction of the battery pack is completed before the chain reaction of thermal runaway enters the irreversible stage. The essence of active interception is that in the very early time window when a large-scale thermal positive feedback has not yet formed inside the battery, that is, the vicious cycle of temperature rise leading to reaction acceleration, and reaction acceleration further leading to temperature rise, the battery effectively blocks the serious thermal runaway accident that may have evolved into bulging, fire or explosion point by simultaneously cutting off energy and dissipating heat.
[0099] Through the implementation of this step, the entire method forms a complete closed loop from data acquisition, mask generation, graph neural network diagnosis, differential equation pre-simulation, nonlinear trajectory planning to physical execution, effectively realizing a paradigm shift in electric vehicle charging safety from "passive threshold power cut-off" to "active prediction and flexible interception".
[0100] In this embodiment, the feedforward flexible control command is a sequence data packet containing timestamp-current value pairs, for example: [(0s, 200.0A), (0.01s, 199.5A), (0.02s, 198.0A), ..., (1.00s, 100.0A)]. The edge computing unit sends this sequence to the pulse width modulation controller component of the charging pile via industrial Ethernet. When the command node with a timestamp of 0.01s is executed, the internal proportional-integral-derivative controller calculates, based on the small error between the target current of 199.5A and the current actually fed back by the sensor of 200.0A, that the duty cycle of the pulse width modulation needs to be fine-tuned from the current 80.0% to 79.8%.
[0101] This duty cycle signal is applied to the gate driver, causing a slight drop in the equivalent output voltage of the charging pile, thus smoothly transitioning the actual output current to 199.5A. This closed-loop regulation process continues at a high frequency of once every 10ms, guiding the charging current to replicate the pre-simulated S-shaped target descent trajectory. Simultaneously, the edge computing unit sends a Controller Area Network (CAN) message with ID 0x18FF02E5 to the vehicle battery management system, its data segment defined as the highest level full-load power cooling request.
[0102] After receiving and verifying the message, the vehicle battery management system drives the electric water pump of the liquid cooling system to run at its rated maximum speed and fully activates the front cooling fan. Because the Joule heat generation rate of node 3, the potentially abnormal cell diagnosed in the previous steps, is significantly reduced due to the rapid and smooth decrease in charging current, and the locally accumulated heat is quickly dissipated by the liquid cooling system running at full power, the temperature of the cell is quickly pulled back to the safe operating range after a slight abnormal rise. This effectively completes a millisecond-level low-latency early warning and safe and harmless interception of potential thermal runaway evolution.
[0103] Each of the modules can be implemented in whole or in part through software, hardware, or a combination thereof. It supports hardware embedded in or independent of the processor in the computer device, and also supports software stored in the memory of the computer device, so that the processor can call and execute the operations corresponding to each of the above modules.
[0104] The above embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included within the protection scope of the present invention.
Claims
1. A charging thermal runaway early warning and interception system integrating edge computing, characterized in that, include: The data acquisition and mask generation module acquires real-time sensor data streams, extracts features from the real-time sensor data streams in both spatial and temporal dimensions, and generates graph-pruned masks. The graph structure reorganization module obtains a preset full-modal graph neural network, applies a graph pruning mask to the full-modal graph neural network to perform node filtering and connection reorganization, and obtains the current abnormal subgraph; The fault feature aggregation module performs intra-graph message passing on the current abnormal subgraph, aggregates the local fault structured feature data in the current abnormal subgraph, and extracts the inference initial state benchmark for the preset twin model nodes. The strategy pre-simulation and trajectory generation module obtains a set of preset charging intervention strategies, substitutes the set of preset charging intervention strategies and the initial state benchmark into the set of differentiable equations built into the twin model node for solving, and generates multiple sets of characteristic predicted evolution trajectories. The decision evaluation and output module integrates multiple sets of characteristic predicted evolution trajectories into the current anomalous subgraph, performs graph convolution aggregation operation on the integrated current anomalous subgraph, and generates intervention-oriented decision vectors. The trajectory planning and instruction generation module analyzes the intervention-oriented decision vector, combines it with preset physical constraint parameters to solve for time window constraints, and generates feedforward flexible control instructions. The collaborative execution and interception module issues feedforward flexible control commands and performs active interception of charging thermal runaway evolution based on the feedforward flexible control commands.
2. The charging thermal runaway early warning and interception system integrating edge computing according to claim 1, characterized in that, Acquire real-time sensor data streams, extract features from the real-time sensor data streams in both spatial and temporal dimensions, and generate graph pruning masks, including the following steps: Acquire real-time sensor data streams containing temperature, voltage, and current, and extract individual sensor data nodes from the real-time sensor data streams; Calculate the positional association features of each sensor data node in the physical space dimension, and extract the temporal evolution features of each sensor data node in the time dimension. Location-related features and temporal evolution features are spliced and fused to quantify the numerical correlation between each sensor data node and the abnormal state, and a graph pruning mask is generated.
3. The charging thermal runaway early warning and interception system integrating edge computing according to claim 2, characterized in that, The location-related features and temporal evolution features are concatenated and fused to quantify the numerical correlation between each sensor data node and the abnormal state, generating a graph pruning mask, including the following steps: The location-related features and temporal evolution features are concatenated to obtain a fused feature vector; Based on the preset weight matrix and bias vector, the fused feature vector is linearly transformed and then nonlinearly transformed through the activation function to obtain the numerical correlation. The numerical correlations of all sensor data nodes are combined into a vector to generate a graph pruning mask.
4. The charging thermal runaway early warning and interception system integrating edge computing according to claim 3, characterized in that, Obtain a preset full-modality graph neural network, apply a graph pruning mask to the full-modality graph neural network to perform node filtering and connection reorganization, and obtain the current abnormal subgraph, including the following steps: Obtain a preset pruning threshold, set the features of nodes in the graph pruning mask whose numerical correlation is lower than the pruning threshold to zero, and generate a binarized node preservation mask. The binarized node-preserving mask is applied to the node feature matrix and adjacency matrix of the full-modal graph neural network, and the connection edges of the nodes that are set to zero are removed. Preserve the twin model nodes in the full-modal graph neural network and output the recombined current anomalous subgraph.
5. The charging thermal runaway early warning and interception system integrating edge computing according to claim 1, characterized in that, Perform intra-graph message passing on the current abnormal subgraph, aggregate the structured feature data of local faults in the current abnormal subgraph, and extract the inference initial state baseline for the preset twin model nodes, including the following steps: Drive the active nodes in the current abnormal subgraph to collect the hidden layer feature representation vectors of their directly connected neighbor nodes; The hidden layer feature representation vectors are aggregated and linearly transformed to update the hidden layer feature representation vectors of each active node. The hidden layer feature representation vectors of all neighboring nodes connected to the twin model node are aggregated and integrated into local fault structured feature data; The structured feature data of local faults are input into the twin model nodes to update the internal state tensor and generate the initial state baseline for inference.
6. The charging thermal runaway early warning and interception system integrating edge computing according to claim 1, characterized in that, Obtain a set of preset charging intervention strategies, substitute the set of preset charging intervention strategies and the initial state baseline into the set of differentiable equations built into the twin model nodes for solving, and generate multiple sets of characteristic predicted evolution trajectories, including the following steps: Using the initial state baseline as the initial condition, each strategy in the preset charging intervention strategy set is substituted into the differentiable equation set for numerical integration and solution to generate the predicted differential temperature field distribution. Calculate the image information entropy change of each predicted differential temperature field distribution, and construct the information entropy evolution characteristic curve with time as the independent variable; Information entropy evolution characteristic curves are quantized and encoded to generate multiple sets of characteristic prediction evolution trajectories.
7. The charging thermal runaway early warning and interception system integrating edge computing according to claim 1, characterized in that, Multiple sets of characteristic predicted evolution trajectories are fused into the current anomaly subgraph. Graph convolution aggregation is then performed on the fused current anomaly subgraph to generate an intervention-oriented decision vector, including the following steps: Inject multiple sets of characteristic prediction evolution trajectories as new feature dimensions into the twin model nodes of the current anomaly subgraph, and update the global state space parameter tensor of the current anomaly subgraph. Perform graph convolution aggregation and global graph pooling operations on the updated current abnormal subgraph, and evaluate the suppression performance score of each preset charging intervention strategy; Select target pre-implementation strategy labels that meet the preset safety baseline and rank first in the preset charging intervention strategy set in terms of suppression effectiveness score, bind them to the target suppression time parameter, and merge them to generate an intervention-oriented decision vector.
8. A charging thermal runaway early warning and interception system integrating edge computing according to claim 7, characterized in that, The intervention-oriented decision vector is analyzed, and time window constraints are solved in combination with preset physical constraint parameters to generate feedforward flexible control commands, including the following steps: Analyze the intervention-oriented decision vector and extract the target pre-simulation strategy label and target suppression time parameter; The corresponding target function is called according to the target pre-simulation strategy label, and physical constraint parameters including actual communication response delay parameters and preset current change rate upper limit parameters are obtained; Using physical constraint parameters as preset control hard constraint boundaries and target suppression time parameters as the upper limit of the time window, the objective function is solved by sequential quadratic programming to generate a continuous current regulation planning curve. The continuous current regulation planning curve is discretized and packaged to generate feedforward flexible control commands.
9. A charging thermal runaway early warning and interception system integrating edge computing according to claim 8, characterized in that, Using physical constraint parameters as preset hard control boundaries and the target suppression time parameter as the upper limit of the time window, a sequential quadratic programming problem is solved for the objective function to generate a continuous current regulation planning curve, including the following steps: Set the preset upper limit parameter of current change rate as an inequality constraint on current change rate. Set the target suppression time parameter to the upper limit of the time window for the planned end time; Under inequality constraints and time window limits, the minimum value of the objective function is calculated through iterative optimization to approximate the convergent solution of the objective and generate a continuous current regulation planning curve.
10. A charging thermal runaway early warning and interception system integrating edge computing according to claim 1, characterized in that, Issuing feedforward flexible control commands and performing active interception of charging thermal runaway evolution based on these commands includes the following steps: The feedforward flexible control command is sent to the pulse width modulation controller component of the charging pile; The pulse width modulation controller component analyzes the feedforward flexible control command, calculates the duty cycle adjustment parameters, dynamically switches the conduction state of the power switching devices in the main output circuit, and adjusts the output current. Simultaneously, a full-load power heat dissipation request message is sent to the vehicle battery management system to drive the heat dissipation system to operate and complete the coordinated adjustment operation.
Citation Information
Patent Citations
Electric vehicle battery thermal runaway early warning method and system and computer program product
CN121871449A
