Control method and system of whole vehicle thermal management system based on multi-dimensional data

By using a hybrid architecture of TCN encoder, Transformer encoder and Cross attention decoder in automotive thermal management systems, the problems of insufficient data processing capabilities and poor multi-source data fusion effect are solved, and the control accuracy is significantly improved.

CN120056692AActive Publication Date: 2025-05-30JIANGLING MOTORS
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202510545244.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-28
Publication Date
2025-05-30
Estimated Expiration
2045-04-28

AI Technical Summary

Technical Problem

In the prior art, the data processing capability of the automotive thermal management system control model and the poor multi-source data fusion effect lead to inaccurate control.

Method used

The neural network architecture consisting of TCN encoder, Transformer encoder and Cross attention decoder is adopted to extract multi-scale timing features and long-term dependencies through multi-layer causal convolution and multi-head self-attention mechanisms, and the adaptive fusion of multi-source information is achieved through Cross attention decoder.

Benefits of technology

It effectively solves the limitations of traditional methods when processing long-sequence data and lacks deep mining of timing characteristics, and significantly improves the control accuracy of the thermal management system of new energy vehicles.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120056692A_ABST
    Figure CN120056692A_ABST
Patent Text Reader

Abstract

The invention discloses a control method and system of a whole vehicle thermal management system based on multi-dimensional data, and relates to the technical field of vehicles, and the method comprises the steps: collecting the multi-dimensional data related to the control of the thermal management system of the vehicle in real time; the method comprises the following steps: establishing a neural network architecture formed by a TCN encoder, a Transform encoder and a Cross attention decoder, and carrying out model training to obtain a hybrid deep learning model; and inputting the multi-dimensional data into the hybrid deep learning model to obtain corresponding control information, and controlling the thermal management system of the vehicle according to the control information. According to the invention, the problem of inaccurate control caused by insufficient data processing capability and poor multi-source data fusion effect of an automobile thermal management system control model in the prior art is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of vehicle technology, and in particular to a control method and system for a vehicle thermal management system based on multi-dimensional data. Background Art

[0002] In today's world, as a clean energy means of transportation, new energy vehicles (NEVs) are rapidly growing in market share and are gradually becoming the first choice for the public's daily travel. Among the core technologies of new energy vehicles, the performance of the power battery system is crucial. Lithium-ion power batteries have become the mainstream choice for new energy vehicle power batteries due to their advantages such as high energy density, large specific power, light weight and long cycle life. However, the performance of lithium-ion power batteries is closely related to their operating temperature. Studies have shown that battery operating temperatures outside the optimal range will lead to a significant decrease in charge and discharge efficiency, accelerated attenuation of cycle life, and even cause serious safety problems. Therefore, an efficient and stable thermal management system plays a decisive role in ensuring battery performance and vehicle safety.

[0003] At present, the thermal management systems of lithium-ion power batteries on the market mainly adopt three modes: air cooling, liquid cooling and direct cooling. The air cooling mode is widely used because of its simple structure and low cost, but its cooling capacity is limited, it is difficult to meet the heat dissipation requirements of high-power batteries, and the temperature uniformity is poor. Although the cooling effect of the liquid cooling mode is significantly better than that of air cooling, and the temperature control is more precise, its system structure is complex, which not only increases the weight and cost of the vehicle, but also puts higher requirements on the layout space of the vehicle, and the maintenance cost is high. Although the direct cooling mode has advantages in cooling efficiency and response speed, its control method still has problems such as poor stability, large temperature fluctuations, and the need to improve system reliability.

[0004] In response to the problems existing in the above-mentioned cooling modes, the industry has begun to try to optimize the performance of the thermal management system through intelligent control algorithms. Among them, the control method based on deep learning has attracted attention because it can handle complex nonlinear relationships. For example, in the prior art, the thermal management system is regulated by acquiring and analyzing navigation system information in real time and combining it with the internal sensor data of the vehicle. However, this method still has the following problems in practical applications: First, the LSTM model it uses is prone to the gradient vanishing problem, resulting in limited long sequence data processing capabilities; second, in terms of data fusion, this method does not give enough consideration to the interactive relationship between features, the multi-source data fusion method is too simple, and there is a lack of deep mining of time series features, which ultimately leads to inaccurate control of the thermal management system. Summary of the invention

[0005] In view of this, the purpose of the present invention is to provide a control method and system for a vehicle thermal management system based on multi-dimensional data, aiming to solve the problems of insufficient data processing ability of the control model of the vehicle thermal management system and inaccurate control caused by poor multi-source data fusion effect in the prior art.

[0006] The embodiments of the present invention are implemented as follows: A control method for a vehicle thermal management system based on multi-dimensional data, the method includes: During the driving process of the vehicle, multi-dimensional data related to the control of the vehicle's thermal management system is collected in real time; A neural network architecture composed of a TCN encoder, a Transformer encoder, and a Cross attention decoder is established, and a hybrid deep learning model obtained by training the model with the neural network architecture is obtained; The multi-dimensional data is input into the hybrid deep learning model to obtain corresponding control information, and the vehicle's thermal management system is controlled according to the control information. The control information includes the opening degree of the electronic expansion valve of the battery pack cooling system, the opening degree of the electronic expansion valve of the occupant compartment air conditioning system, and the compressor speed; Among them, the TCN encoder is used to extract multi-scale time series features through multi-layer causal convolution and different dilation coefficients of multi-layer causal convolution. The Transformer encoder is used to capture the long-term dependence relationship in the features through the multi-head self-attention mechanism. The Cross attention decoder is used to calculate the attention weights between the features output by the TCN encoder and the Transformer encoder to achieve the adaptive fusion of multi-source information.

[0007] Further, in the above control method for a vehicle thermal management system based on multi-dimensional data, the TCN encoder includes a first-layer causal convolution layer and a second-layer causal convolution layer. The first-layer causal convolution layer uses 16 convolutional kernels, the dilation coefficient is 1, and the convolutional kernel size is 3×1; the second-layer causal convolution layer uses 32 convolutional kernels, the dilation coefficient is 2, and the convolutional kernel size is 3×1; The TCN encoder receives the input features, performs causal convolution processing on the input features using the first-layer causal convolution layer, and performs residual connection with the input features to obtain preliminary input features; The preliminary input features are sequentially processed through Layer Normalization and the ReLU activation function. The obtained target input features are subjected to causal convolution processing using the second-layer causal convolution layer and residual connection with the target input features to obtain the final input features. The final input features are sequentially processed through Layer Normalization and the ReLU activation function to obtain the output features of the TCN encoder, so as to achieve multi-scale time series feature extraction.

[0008] Furthermore, for the above control method of the vehicle thermal management system based on multi-dimensional data, the processing formula for causal convolution processing is as follows: ; Among them, is the output function, is the input data at time point t, is the time window size, is the weight system, which is used to adjust the importance of data at different time points, is the step size, which is used to control the sampling interval, means pushing forward time units, represents the historical data points, is the parameterized variation function, which is used to perform non-linear transformation on the input data, is the sigmoid function, is the regularization coefficient, which is used to balance the model complexity, is the set of regularization functions, represents the number of regularization terms, represents the l-th regularization function.

[0009] Furthermore, for the above control method of the vehicle thermal management system based on multi-dimensional data, the Transformer encoder includes position encoding, multi-head attention mechanism, and feed-forward neural network; The Transformer encoder receives the input features. After position encoding, the features generated by the multi-head attention mechanism are connected in residual with the features after position encoding to obtain the preliminary input features; The preliminary input features are processed by Layer Normalization and activation function. The features generated by the feed-forward neural network are connected in residual with the features after being processed by Layer Normalization and activation function to obtain the target input features; The target input features are processed by Layer Normalization and activation function to obtain the output features of the Transformer encoder.

[0010] Furthermore, for the above control method of the vehicle thermal management system based on multi-dimensional data, the expression of the multi-head attention mechanism of the Transformer encoder is as follows: ; Among them, Q, K, and V represent the query matrix, key matrix, and value matrix respectively, d is the dimension of the attention head, R is the number of attention heads, is the weight coefficient of the r-th attention head; is the query transformation matrix for the r-th attention head; is the bias matrix for the r-th attention head; is the output transformation matrix for the r-th attention head, and T is the matrix transpose operation; The computational expression of the feed-forward neural network is: ; where, W 1 = [64, 256], W 2 = [256, 64], b 1 =

[256] , b 2 =

[64] .

[0011] Furthermore, for the above control method of the vehicle thermal management system based on multi-dimensional data, where the Cross-attention decoder includes a cross-attention layer, a feed-forward neural network, and an activation function layer; The Cross-attention decoder receives the output features of the TCN encoder and the Transformer encoder, and sequentially uses the cross-attention layer, the feed-forward neural network, and the activation function layer to perform feature extraction to obtain the output features of the Cross-attention decoder; wherein, residual connections are set in both the cross-attention layer, the feed-forward neural network, and the activation function layer.

[0012] Furthermore, for the above control method of the vehicle thermal management system based on multi-dimensional data, where the computational expression of the cross-attention layer is: ; ; The computational expression of the feed-forward neural network is: ; The computational expression of the activation function layer is: ; where, W 1 = [64, 256], W 2 = [256, 64], b 1 =

[256] , b 2 =

[64] , Q comes from the Cross-attention decoder, K and V come from the outputs of the TCN encoder and the Transformer encoder, X is the input feature, Multi-Head represents the multi-head attention operation, and Layer Norm is layer normalization.

[0013] Another object of the present invention is to provide a control system for a vehicle thermal management system based on multi-dimensional data, characterized in that the system comprises: An acquisition module, configured to collect, in real time during vehicle driving, multi-dimensional data related to the control of the vehicle's thermal management system; A training module, configured to establish a neural network architecture composed of a TCN encoder, a Transformer encoder, and a Cross attention decoder, and obtain a hybrid deep learning model obtained by training the neural network architecture; A control module, configured to input the multi-dimensional data into the hybrid deep learning model to obtain corresponding control information, and control the vehicle's thermal management system according to the control information, where the control information includes the opening degree of the electronic expansion valve of the battery pack cooling system, the opening degree of the electronic expansion valve of the occupant compartment air conditioning system, the rotational speed of the electric fan, and the rotational speed of the compressor; Wherein, the TCN encoder is used to extract multi-scale time series features through multi-layer causal convolution and different dilation coefficients of multi-layer causal convolution, the Transformer encoder is used to capture long-term dependencies in the features through the multi-head self-attention mechanism, and the Cross attention decoder is used to calculate the attention weights between the features output by the TCN encoder and the Transformer encoder to achieve adaptive fusion of multi-source information.

[0014] Another object of the embodiments of the present invention is to provide a readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the steps of the above method are implemented.

[0015] Another object of the embodiments of the present invention is to provide an electronic device, including a memory, a processor, and a computer program stored on the memory and running on the processor, and when the processor executes the program, the steps of the above method are implemented.

[0016] The present invention designs a hybrid architecture of a TCN encoder, a Transformer encoder, and a Cross attention decoder. This architecture realizes multi-scale temporal feature extraction through multi-layer causal convolutions and different dilation coefficients of multi-layer causal convolutions, uses the multi-head self-attention mechanism of the Transformer encoder to capture the long-term dependence of features, and combines the Cross attention decoder to calculate the attention weights between the features output by the TCN encoder and the Transformer encoder, realizing the adaptive fusion of multi-source information, effectively solving the limitations of traditional methods in processing long-sequence data and the defects such as the lack of in-depth mining of temporal features, improving the prediction accuracy of the model, and thus significantly improving the control accuracy of the new energy vehicle thermal management system. It solves the problems of insufficient data processing ability of the control model of the vehicle thermal management system and inaccurate control caused by poor multi-source data fusion effect in the prior art.

[0017] In addition, the present invention at least also has the following beneficial effects: 1. By improving the causal convolution and dilation coefficient of the TCN encoder, multi-scale temporal feature extraction is realized, effectively capturing local temporal dependence, and at the same time avoiding the problem of gradient disappearance existing in traditional RNNs; adopting a multi-layer causal convolution structure, multi-scale receptive fields are realized through different dilation coefficients. The first-layer causal convolution performs preliminary temporal feature extraction, and the second-layer causal convolution further extracts higher-level temporal patterns; at the same time, residual connections and LayerNormalization are introduced to optimize gradient flow and numerical stability; 2. The improved multi-head self-attention mechanism of the Transformer encoder can establish direct associations at any position in the sequence, supports parallel computing and has higher training efficiency, and can effectively capture long-term dependencies; 3. The improved Cross attention decoder realizes the adaptive fusion of multi-source information by calculating the attention weights between the features output by the TCN encoder and the Transformer encoder, improves the model's comprehensive understanding ability of spatio-temporal features, enhances the model's processing ability for multi-source heterogeneous data, and finally maps the fused features to the target output space through a fully connected layer, improving the feature utilization efficiency. Description of the Drawings

[0018] Figure 1 It is a flowchart of the control of a vehicle thermal management system based on multi-dimensional data provided in the first embodiment of the present invention; Figure 2 It is a schematic diagram of the neural network architecture in a control method of a vehicle thermal management system based on multi-dimensional data provided in an embodiment of the present invention; Figure 3Schematic diagram of the TCN encoder architecture in a control method for a vehicle thermal management system based on multi-dimensional data provided by an embodiment of the present invention; Figure 4 Schematic diagram of the Transformer encoder architecture in a control method for a vehicle thermal management system based on multi-dimensional data provided by an embodiment of the present invention; Figure 5 Schematic diagram of the Cross attention decoder architecture in a control method for a vehicle thermal management system based on multi-dimensional data provided by an embodiment of the present invention Figure 6 Schematic diagram of the change of the loss function of the training set and the validation set in a control method for a vehicle thermal management system based on multi-dimensional data provided by an embodiment of the present invention; Figure 7 Comparison diagram of the predicted value and the true value of the opening degree of the battery pack electronic expansion valve in a control method for a vehicle thermal management system based on multi-dimensional data provided by an embodiment of the present invention; Figure 8 Comparison diagram of the predicted value and the true value of the opening degree of the passenger compartment air conditioner electronic expansion valve in a control method for a vehicle thermal management system based on multi-dimensional data provided by an embodiment of the present invention; Figure 9 Comparison diagram of the predicted value and the true value of the compressor speed in a control method for a vehicle thermal management system based on multi-dimensional data provided by an embodiment of the present invention; Figure 10 Comparison diagram of the control accuracy of the passenger compartment temperature under various typical working conditions between the embodiment of the present invention and the prior art; Figure 11 Comparison diagram of the COP between the embodiment of the present invention and the prior art; Figure 12 Block diagram of the control system of the vehicle thermal management system based on multi-dimensional data in the third embodiment of the present invention.

[0019] The following specific embodiments will further illustrate the present invention in conjunction with the above-mentioned drawings. Specific Embodiments

[0020] To facilitate the understanding of the present invention, the present invention will be described more comprehensively below with reference to the relevant drawings. Several embodiments of the present invention are given in the drawings. However, the present invention can be implemented in many different forms and is not limited to the embodiments described herein. On the contrary, these embodiments are provided to make the disclosure of the present invention more thorough and comprehensive.

[0021] It should be noted that when an element is referred to as "fixedly provided on" another element, it can be directly on the other element or there can also be an intermediate element. When an element is considered to be "connected to" another element, it can be directly connected to the other element or there may be an intermediate element at the same time. The terms "vertical", "horizontal", "left", "right" and similar expressions used herein are only for illustrative purposes.

[0022] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the technical field to which this invention belongs. The terms used in the specification of this invention are only for the purpose of describing specific embodiments and are not intended to limit this invention. The term "and / or" used herein includes any and all combinations of one or more of the related listed types.

[0023] Example 1 Please refer to Figure 1 , which shows the control method of the vehicle thermal management system based on multi-dimensional data proposed in the first embodiment of the present invention. The method includes step S10 to step S12.

[0024] Step S10, during the driving process of the vehicle, multi-dimensional data related to the control of the thermal management system of the vehicle is collected in real time.

[0025] Through the distributed sensor network of the vehicle thermal management system, multi-dimensional data under the vehicle operating state is collected in real time. Among them, the multi-dimensional data includes the average temperature of the battery pack cells related to the power battery system, the output current of the battery pack, the output voltage of the battery pack; the light intensity, the opening degree of the external circulation air door, the ambient temperature related to the environment; and parameters such as the average temperature of the passenger compartment. During the data collection process, the sampling time series length and the sampling frequency can be set according to the actual situation, and a high-precision time stamp is used to ensure data synchronization.

[0026] Step S11, a neural network architecture composed of a TCN encoder, a Transformer encoder, and a Cross attention decoder is established, and a hybrid deep learning model obtained by model training of the neural network architecture is obtained.

[0027] Among them, the TCN encoder is used to extract multi-scale time series features through multi-layer causal convolution and different dilation coefficients of multi-layer causal convolution. The Transformer encoder is used to capture the long-term dependence relationship in the features through the multi-head self-attention mechanism. The Cross attention decoder is used to calculate the attention weights between the features output by the TCN encoder and the Transformer encoder to achieve the adaptive fusion of multi-source information.

[0028] Specifically, as Figure 2 shown, the neural network architecture includes a TCN encoder, a Transformer encoder, and a Cross-attention decoder. The features output after the processing of the TCN encoder and the Transformer encoder are adaptively fused in the Cross-attention decoder and finally the predicted data is output.

[0029] More specifically, as Figures 3 to 5 shown, the TCN encoder includes a first-layer causal convolutional layer and a second-layer causal convolutional layer. The first-layer causal convolutional layer uses 16 convolutional kernels, with a dilation coefficient of 1 and a convolutional kernel size of 3×1; the second-layer causal convolutional layer uses 32 convolutional kernels, with a dilation coefficient of 2 and a convolutional kernel size of 3×1; The TCN encoder receives the input features, performs causal convolution processing using the first-layer causal convolutional layer and makes a residual connection with the input features to obtain preliminary input features; The preliminary input features are successively processed by Layer Normalization and the ReLU activation function. The obtained target input features are then processed by the second-layer causal convolutional layer and make a residual connection with the target input features to obtain the final input features. The final input features are successively processed by Layer Normalization and the ReLU activation function to obtain the output features of the TCN encoder, so as to achieve multi-scale time-series feature extraction.

[0030] The TCN encoder adopts a multi-layer causal convolutional structure, and each layer contains a residual connection to alleviate the problem of gradient disappearance. Since various parameters of different dimensions need to be considered to enhance the data feature extraction ability, a double non-linear transformation is added to the TCN encoder ; in order to achieve automatic feature selection, noise suppression, and time-series dependence modeling, and improve the adaptability of the model, learnable parameters in the adaptive weight mechanism are introduced ; in order to achieve dynamic balance of model complexity, effectively prevent overfitting, improve the generalization ability of the model, and enhance the sparse expression ability of features, a regularization strength control mechanism is introduced .

[0031] Therefore, the processing formula for the causal convolution processing in the TCN encoder is: ; where is the output function, is the input data at time point t, is the time window size, is the weight system, which is used to adjust the importance of data at different time points, is the step size, used to control the sampling interval, represents pushing forward by [number of] time units, represents historical data points, is a parameterized transformation function, used to perform non-linear transformation on the input data, is the sigmoid function, is the regularization coefficient, used to balance the model complexity, is the set of regularization functions, represents the number of regularization terms, represents the l-th regularization function.

[0032] In the Transformer encoder part, the Transformer encoder includes positional encoding, multi-head attention mechanism and feed-forward neural network; The Transformer encoder receives the input features. After positional encoding, the features generated by the multi-head attention mechanism are residually connected with the features after positional encoding to obtain the preliminary input features; The preliminary input features are processed by Layer Normalization and activation function, and the features generated by the feed-forward neural network are residually connected with the features after being processed by Layer Normalization and activation function to obtain the target input features; The target input features are processed by Layer Normalization and activation function to obtain the output features of the Transformer encoder.

[0033] Among them, considering that the influence degrees of different input variables on the output are different, in order to realize the dynamic weight allocation of different attention heads, enable the model to automatically adjust the focus of attention according to the input data and task characteristics, and thus improve the pertinence of feature extraction and the generalization ability of the model, a learnable weight coefficient is introduced; in order to improve the expression ability and flexibility of the attention mechanism, a bias matrix is introduced to provide additional learnable parameters for the attention mechanism; in order to enable different heads to learn and focus on different feature patterns, thereby enhancing the model's ability to capture diverse features, an independent query transformation matrix and output transformation matrix are introduced.

[0034] Therefore, the expression of the multi-head attention mechanism of the Transformer encoder is: ; where Q, K, and V represent the query matrix, key matrix, and value matrix respectively, d is the dimension of the attention head, and R is the number of attention heads, is the weight coefficient of the r-th attention head; is the query transformation matrix of the r-th attention head; is the bias matrix of the r-th attention head; is the output transformation matrix of the r-th attention head, and T represents the matrix transpose operation.

[0035] The calculation expression of the feed-forward neural network is: ; where, W 1 = [64, 256], W 2 = [256, 64], b 1 =

[256] , b 2 =

[64] .

[0036] The Cross attention decoder includes a cross-attention layer, a feed-forward neural network, and an activation function layer. The Cross attention decoder receives the output features of the TCN encoder and the Transformer encoder; Successively use the cross-attention layer, the feed-forward neural network, and the activation function layer to perform feature extraction to obtain the output features of the Cross attention decoder: wherein, residual connections are set in both the cross-attention layer, the feed-forward neural network, and the activation function layer.

[0037] The calculation expression of the cross-attention layer is: ; where Q comes from the decoder, and K and V come from the outputs of the TCN encoder and the Transformer encoder. In specific implementation, the calculation of the cross-attention layer satisfies the following formula: Cross-attention layer calculation: ; Feed-forward network calculation: ; Output layer calculation: ; where, W 1 = [64, 256], W 2 = [256, 64], b 1 =

[256] , b 2 =

[64] , X is the input feature, Multi Head represents the multi-head attention operation, and Layer Norm is the layer normalization.

[0038] The FFN is a feed-forward neural network. The model adopts a dropout mechanism to prevent overfitting and uses a linear activation function in the final output layer to generate prediction results. This architecture design can not only effectively capture local temporal features but also model long-term dependencies through self-attention and cross-attention mechanisms, thereby improving the prediction accuracy of the control parameters of the thermal management system. In addition, to improve the generalization ability of the model, a Dropout mechanism is added between key layers to prevent overfitting, and residual connections are used to ensure the training stability of deep networks.

[0039] In step S12, the multi-dimensional data is input into the hybrid deep learning model to obtain corresponding control information, and the thermal management system of the vehicle is controlled according to the control information. The control information includes the opening degree of the electronic expansion valve of the battery pack cooling system, the opening degree of the electronic expansion valve of the passenger compartment air conditioning system, and the compressor speed.

[0040] Specifically, the hybrid deep learning model has mastered the internal logic of generating control information based on multi-dimensional data. By inputting the real-time data collected by various vehicle sensors, such as the average temperature of the battery pack cells, the output current of the battery pack, the output voltage of the battery pack, the light intensity, the opening degree of the external circulation air door, the ambient temperature, and the average temperature of the passenger compartment, into the hybrid deep learning model, the opening degree of the electronic expansion valve of the battery pack cooling system, the opening degree of the electronic expansion valve of the passenger compartment air conditioning system, and the compressor speed can be obtained.

[0041] Among them, in an optional embodiment of the present invention, before the multi-dimensional data is input into the hybrid deep learning model, the data is preprocessed to improve the prediction accuracy. For example, data cleaning and enhancement processing are first performed to achieve data outlier detection and processing, missing value filling, and data smoothing. Then, the processed data is subjected to multi-modal data normalization processing to eliminate the influence of different dimensions and magnitudes and enhance the comparability of the data. After obtaining the corresponding predicted control information, the data is a normalized value at this time, and it is necessary to perform inverse conversion to obtain the real value, so as to obtain the final opening degree of the electronic expansion valve of the battery pack cooling system, the opening degree of the electronic expansion valve of the passenger compartment air conditioning system, and the compressor speed.

[0042] Exemplarily, when combined with the specific application scenario in the automotive field, the trained model parameters and structure can be converted into a format suitable for in-vehicle controllers, such as the TensorRT format, and the model can be deployed to the electronic control unit of the new energy vehicle thermal management system through the CAN bus communication protocol. In the actual deployment process, combined with the fault diagnosis and anomaly detection mechanisms, it is ensured that the model can make real-time control decisions stably and reliably under various working conditions, realizing the precise adjustment of the opening degree of the electronic expansion valve of the battery pack cooling system, the opening degree of the electronic expansion valve of the passenger compartment air conditioning system, the electronic fan speed, and the compressor speed, thereby optimizing the performance of the vehicle's thermal management system.

[0043] In summary, the control method of the vehicle thermal management system based on multi-dimensional data in the above embodiments of the present invention is designed with a hybrid architecture of a TCN encoder, a Transformer encoder, and a Cross attention decoder. This architecture realizes multi-scale time-series feature extraction through multi-layer causal convolution and different dilation coefficients of multi-layer causal convolution, captures the long-term dependence relationship of features by using the multi-head self-attention mechanism of the Transformer encoder, and combines the Cross attention decoder to calculate the attention weights between the features output by the TCN encoder and the Transformer encoder, realizing the adaptive fusion of multi-source information, effectively solving the limitations of traditional methods in processing long-sequence data and the defects such as the lack of in-depth mining of time-series features, improving the accuracy of model prediction, and thus significantly improving the control accuracy of the new energy vehicle thermal management system. It solves the problems of insufficient data processing ability of the control model of the vehicle thermal management system and inaccurate control caused by poor multi-source data fusion effect in the prior art.

[0044] Example 2 This embodiment also proposes a control method of a vehicle thermal management system based on multi-dimensional data. The difference between the control method of the vehicle thermal management system based on multi-dimensional data in this embodiment and the control method of the vehicle thermal management system based on multi-dimensional data proposed in Embodiment 1 is as follows: Obtain a training data set composed of historical multi-dimensional data and corresponding control information, first perform data cleaning and enhancement processing, outlier detection and processing, missing value filling, and data smoothing on the collected training data set, then perform multi-modal data standardization processing, and divide the training data set into a training set, a test set, and a validation set according to a preset ratio; Use the training set to train the model of the neural network architecture, and use the validation set to perform systematic hyperparameter tuning on the trained hybrid deep learning model; Use the pre-divided test set to evaluate the optimized hybrid deep learning model, evaluate the deviation degree between the predicted value and the actual value, and verify the robustness and generalization ability of the model.

[0045] Among them, first perform data cleaning and enhancement processing on the collected original training data set to realize outlier detection and processing, missing value filling, and data smoothing of the original data. Then perform multi-modal data standardization processing on the processed data to eliminate the influence of different dimensions and magnitudes, enhance the comparability of the data. The standardization formula adopts the minimum-maximum processing method to ensure that the data is within a unified range, which is convenient for subsequent model training and prediction. The formula for the standardization processing is: ; Among them, is the normalized value, is the original value, is the maximum value among the original values, is the minimum value among the original values.

[0046] The time window segmentation process is performed on the standardized data, with 1 second used as the window length. This refined time granularity design helps the TCN encoder better capture local temporal features, while enabling the Transformer encoder to more effectively learn long-range dependencies.

[0047] In terms of dataset partitioning, a standard three-segment partitioning strategy is adopted: the overall data is sequentially partitioned into a training set, a validation set, and a test set according to the ratio of 50%-25%-25%. Specifically, the first 50% of the dataset is used as the training set for model parameter learning and optimization, focusing on training the convolutional layer parameters of the TCN encoder, the multi-head self-attention mechanism parameters of the Transformer encoder, and the cross-attention weights of the Cross attention decoder; the middle 25% of the data is used as the validation set for performance evaluation and hyperparameter tuning during model training, especially for optimizing key hyperparameters such as the dilation coefficient of the TCN encoder and the number of attention heads of the Transformer encoder; the last 25% of the data is used as the test set to evaluate the generalization ability and actual prediction effect of the model.

[0048] For the training implementation of the hybrid deep learning model (the hybrid model of TCN encoder-Transformer encoder-Cross attention decoder), this embodiment provides multiple technical path options: it can be implemented through self-programming in MATLAB or Python, or a mature deep learning framework such as MindSpore can be selected.

[0049] In this embodiment, considering the rich ecosystem of the deep learning framework and the native support for the attention mechanism, the PyTorch framework based on Python is selected for model training and optimization. This implementation method can not only make full use of the dynamic computing characteristics and GPU acceleration capabilities of PyTorch, but also conveniently implement complex attention mechanisms and causal convolution operations, while facilitating flexible adjustment and optimization of the model structure.

[0050] The hyperparameters of the trained model are adjusted using the validation set data. In terms of training parameters, the TCN encoder, Transformer encoder, and Cross attention decoder all use a Dropout rate of 0.2. The initial learning rate is set to 0.001, combined with a warmup strategy of 500 steps, and the batch size is set to 128. To prevent overfitting, an early stopping mechanism is introduced, and training stops when the improvement in the validation set loss does not exceed 10 -4 during consecutive 10 epochs.

[0051] In addition, in terms of model training optimization, to ensure prediction accuracy, the mean squared error (MSE) is used as the loss function. Overfitting is avoided through the early stopping strategy. Parameter search is carried out using a combination of grid search and Bayesian optimization, and the mean squared error (MSE) on the validation set is used as the evaluation metric. To prevent overfitting, an early stopping mechanism is introduced, and training stops when the validation set loss does not improve during consecutive epochs. Through this systematic hyperparameter tuning process, it is ensured that the model can achieve the optimal prediction accuracy while maintaining good generalization ability.

[0052] After model training, the change trend of the loss function is as Figure 6 shown. From the training process, the hybrid model of the TCN encoder, Transformer encoder, and Cross attention decoder shows good convergence performance on both the training set and the validation set. The loss function shows a steady downward trend, and there is no obvious overfitting phenomenon, which verifies the effectiveness of the regularization mechanism with a Dropout rate of 0.2 in the model.

[0053] The verification results on the test set are as Figure 7 , Figure 8 , Figure 9 shown. The results show that the hybrid model of the TCN encoder, Transformer encoder, and Cross attention decoder exhibits excellent prediction performance. Among them, the TCN encoder effectively captures the local temporal features of parameter changes through a multi-layer causal convolution structure, while the multi-head self-attention mechanism of the Transformer encoder successfully models long-term dependencies. The two achieve effective feature fusion through the cross-attention mechanism of the Cross attention decoder. This deeply integrated architecture enables the model to accurately predict key control parameters such as the opening degree of the electronic expansion valve of the battery pack cooling system, the opening degree of the electronic expansion valve of the occupant compartment air conditioning system, and the compressor speed.

[0054] From Figure 10From the comparison of the occupant compartment temperature changes under different driving cycle conditions shown, it can be seen that the technical solution of the embodiment of the present invention has a better temperature control effect compared with the technical solution of the prior art. Under each condition, the temperature control curve of the technical solution of the embodiment of the present invention is smoother, especially in the stage of rapid temperature change, showing a stronger response speed and control stability. From Figure 11 From the comparison results of COP under different conditions shown, it can be seen that the control strategy of the embodiment of the present invention has significant advantages compared with the existing LSTM method.

[0055] In summary, the control method of the vehicle thermal management system based on multi-dimensional data in the above embodiments of the present invention is designed with a hybrid architecture of a TCN encoder, a Transformer encoder, and a Cross attention decoder. This architecture realizes multi-scale time-series feature extraction through multi-layer causal convolution and different dilation coefficients of multi-layer causal convolution, captures the long-term dependence relationship of features using the multi-head self-attention mechanism of the Transformer encoder, and combines the Cross attention decoder to calculate the attention weights between the features output by the TCN encoder and the Transformer encoder, realizing the adaptive fusion of multi-source information, effectively solving the limitations of traditional methods in processing long-sequence data and the defects such as the lack of in-depth mining of time-series features, improving the accuracy of model prediction, and thus significantly improving the control accuracy of the new energy vehicle thermal management system. It solves the problem of insufficient data processing ability of the control model of the vehicle thermal management system and inaccurate control caused by poor multi-source data fusion effect in the prior art.

[0056] Example 3 Please refer to Figure 12 , which shows the control system of the vehicle thermal management system based on multi-dimensional data proposed in the third embodiment of the present invention. The system includes: An acquisition module 100, configured to collect multi-dimensional data related to the control of the vehicle's thermal management system in real time during the vehicle's driving process; A training module 200, configured to establish a neural network architecture composed of a TCN encoder, a Transformer encoder, and a Cross attention decoder, and obtain a hybrid deep learning model obtained by training the model with the neural network architecture; A control module 300, configured to input the multi-dimensional data into the hybrid deep learning model to obtain corresponding control information, and control the vehicle's thermal management system according to the control information. The control information includes the opening degree of the electronic expansion valve of the battery pack cooling system, the opening degree of the electronic expansion valve of the occupant compartment air conditioning system, the rotational speed of the electric fan, and the rotational speed of the compressor; Among them, the TCN encoder is used to extract multi-scale time series features through multi-layer causal convolutions and different dilation coefficients of multi-layer causal convolutions. The Transformer encoder is used to capture the long-term dependencies among features through the multi-head self-attention mechanism. The Cross attention decoder is used to calculate the attention weights between the features output by the TCN encoder and the Transformer encoder to achieve the adaptive fusion of multi-source information.

[0057] The functions or operation steps implemented when the above-mentioned modules are executed are substantially the same as those in the above method embodiments, and will not be elaborated here.

[0058] Example 4 On the other hand, the present invention also provides a readable storage medium, on which a computer program is stored. When the program is executed by a processor, the steps of the method described in any one of the above-mentioned Embodiment 1 to Embodiment 2 are implemented.

[0059] Example 5 On the other hand, the present invention also provides an electronic device, which includes a memory, a processor, and a computer program stored on the memory and running on the processor. When the processor executes the program, the steps of the method described in any one of the above-mentioned Embodiment 1 to Embodiment 2 are implemented.

[0060] The technical features of each of the above embodiments can be combined arbitrarily. For the sake of brevity of description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered to be within the scope described in this specification.

[0061] Those skilled in the art can understand that the logic and / or steps represented in the flowchart or described in other ways herein, for example, can be considered as a definite sequence list of executable instructions for implementing logical functions, and can be specifically implemented in any storage medium for use by an instruction execution system, apparatus, or device (such as a computer-based system, a system including a processor, or other systems that can fetch and execute instructions from the instruction execution system, apparatus, or device), or in combination with these instruction execution systems, apparatus, or devices. For the purposes of this specification, a "storage medium" can be any device that can contain, store, communicate, propagate, or transmit a program for use by or in combination with an instruction execution system, apparatus, or device.

[0062] More specific examples (nonexhaustive list) of storage media include the following: electrical connection parts (electronic devices) having one or more wirings, portable computer disk cartridges (magnetic devices), random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber devices, and portable compact disc read only memory (CDROM). Additionally, the storage media can even be paper or other suitable media on which the program can be printed, since the program can be obtained electronically, for example, by optically scanning the paper or other media, followed by editing, interpretation, or otherwise processing as appropriate, and then stored in a computer memory.

[0063] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, any one or a combination of the following techniques well known in the art can be used: discrete logic circuits having logic gate circuits for implementing logical functions on data signals, application specific integrated circuits having appropriate combinational logic gate circuits, programmable gate arrays (PGA), field programmable gate arrays (FPGA), etc.

[0064] In the description of this specification, the description with reference to terms such as "one embodiment", "some embodiments", "example", "specific example", or "some examples", etc. means that the specific features, structures, materials, or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.

[0065] The above-described embodiments merely represent several implementation manners of the present invention, and their descriptions are relatively specific and detailed, but should not be construed as a limitation on the scope of the patent of the present invention. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present invention, several modifications and improvements can still be made, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention should be subject to the appended claims.

Claims

1. A control method for a vehicle thermal management system based on multi-dimensional data, characterized in that: The method comprises: During the driving process of the vehicle, real-time collection of multi-dimensional data related to the control of the thermal management system of the vehicle; Establish a neural network architecture consisting of a TCN encoder, a Transformer encoder, and a Cross attention decoder, and obtain a hybrid deep learning model obtained by model training using the neural network architecture; Inputting the multi-dimensional data into a hybrid deep learning model to obtain corresponding control information, and controlling the thermal management system of the vehicle according to the control information, wherein the control information includes the opening degree of the electronic expansion valve of the battery pack cooling system, the opening degree of the electronic expansion valve of the passenger compartment air conditioning system, and the speed of the compressor; Among them, the TCN encoder is used to realize multi-scale temporal feature extraction through multi-layer causal convolution and different expansion coefficients of multi-layer causal convolution. The Transformer encoder is used to capture the long-term dependencies among features through the multi-head self-attention mechanism. The Cross attention decoder is used to calculate the attention weights between the features output by the TCN encoder and the Transformer encoder to realize the adaptive fusion of multi-source information.

2. The control method of the vehicle thermal management system based on multi-dimensional data according to claim 1 is characterized in that: The TCN encoder includes the first causal convolution layer and the second causal convolution layer. The first causal convolution layer uses 16 convolution kernels, the expansion factor is 1, and the convolution kernel size is 3×1; the second causal convolution layer uses 32 convolution kernels, the expansion factor is 2, and the convolution kernel size is 3×1; The TCN encoder receives the input features and uses the first causal convolution layer to perform causal convolution processing and residual connection with the input features to obtain preliminary input features; The preliminary input features are processed by Layer Normalization and ReLU activation function in turn, and the obtained target input features are causally convolved by the second causal convolution layer and residually connected with the target input features to obtain the final input features. The final input features are processed by Layer Normalization and ReLU activation function in turn to obtain the output features of the TCN encoder to achieve multi-scale time series feature extraction.

3. The control method of the vehicle thermal management system based on multi-dimensional data according to claim 2 is characterized in that: The processing formula for causal convolution processing is: ; in, is the output function, is the input data at time point t, is the time window size, It is a weight system used to adjust the importance of data at different time points. is the step size, used to control the sampling interval, Push forward time unit, represents historical data points, is a parameterized variation function used to perform nonlinear transformation on input data. is the sigmoid function, is the regularization coefficient, which is used to balance the model complexity. is the set of regularization functions, represents the number of regularization terms, represents the lth regularization function.

4. The control method of the vehicle thermal management system based on multi-dimensional data according to claim 1, characterized in that: The Transformer encoder includes position encoding, multi-head attention mechanism, and feedforward neural network; The Transformer encoder receives the input features, and after position encoding, the features generated by the multi-head attention mechanism are residually connected with the features after position encoding to obtain the preliminary input features; The initial input features are processed by Layer Normalization and activation function, and then the features generated by the feedforward neural network are connected with the feature residuals processed by Layer Normalization and activation function to obtain the target input features; The target input features are processed by Layer Normalization and activation function to obtain the output features of the Transformer encoder.

5. The control method of the vehicle thermal management system based on multi-dimensional data according to claim 4 is characterized in that: The expression of the multi-head attention mechanism of the Transformer encoder is: ; Where Q, K, V represent the query matrix, key matrix, and value matrix respectively, d is the dimension of the attention head, and R is the number of attention heads. is the weight coefficient of the rth attention head; is the query transformation matrix of the rth attention head; is the bias matrix of the rth attention head; is the output transformation matrix of the rth attention head, and T is the matrix transpose operation; The calculation expression of the feedforward neural network is: ; Among them, W1=[64,256], W2=[256,64], b1=[256], b2=[64].

6. The control method of the vehicle thermal management system based on multi-dimensional data according to claim 1, characterized in that: The Cross attention decoder includes a cross attention layer, a feedforward neural network, and an activation function layer; The Cross attention decoder receives the output features of the TCN encoder and the Transformer encoder, and extracts features using the cross attention layer, feedforward neural network, and activation function layer in turn to obtain the output features of the Cross attention decoder; Among them, residual connections are set in the cross attention layer, feedforward neural network and activation function layer.

7. The control method of the vehicle thermal management system based on multi-dimensional data according to claim 1 is characterized in that: The calculation expression of the cross attention layer is: ; ; The calculation expression of the feedforward neural network is: ; The calculation expression of the activation function layer is: ; Among them, W1=[64,256], W2=[256,64], b1=[256], b2=[64], Q comes from the Cross attention decoder, K and V come from the outputs of the TCN encoder and Transformer encoder, X is the input feature, Multi Head represents the multi-head attention operation, and Layer Norm is the layer normalization.

8. A control system for a vehicle thermal management system based on multi-dimensional data, characterized in that: The system comprises: A collection module, used for collecting multi-dimensional data related to the control of the thermal management system of the vehicle in real time during the driving process of the vehicle; A training module is used to establish a neural network architecture consisting of a TCN encoder, a Transformer encoder, and a Cross attention decoder, and obtain a hybrid deep learning model obtained by model training of the neural network architecture; A control module, configured to input the multi-dimensional data into a hybrid deep learning model to obtain corresponding control information, and control the thermal management system of the vehicle according to the control information, wherein the control information includes an opening degree of an electronic expansion valve of a battery pack cooling system, an opening degree of an electronic expansion valve of a passenger compartment air conditioning system, an electronic fan speed, and a compressor speed; Among them, the TCN encoder is used to realize multi-scale temporal feature extraction through multi-layer causal convolution and different expansion coefficients of multi-layer causal convolution. The Transformer encoder is used to capture the long-term dependencies among features through the multi-head self-attention mechanism. The Cross attention decoder is used to calculate the attention weights between the features output by the TCN encoder and the Transformer encoder to realize the adaptive fusion of multi-source information.

9. A readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.

10. An electronic device, characterized in that: The method comprises a memory, a processor and a computer program stored in the memory and running on the processor, wherein the processor implements the steps of the method according to any one of claims 1 to 7 when executing the program.

Citation Information

Patent Citations

  • Multi-view 3D target detection method, memory and system based on aerial view

    CN114821505A

  • Seismic noise removal method and device based on stacked feedback residual network

    CN115577247A

  • BEVFormer and neighborhood attention Transform fused end-to-end automatic driving trajectory planning system, method and training method

    CN117516581A

  • Nail and breast multi-mode ultrasonic image classification method and system based on deep learning network

    CN118470432A

  • New energy vehicle thermal management system control method based on deep learning

    CN118560223A