Whole vehicle thermal management control method of pure electric vehicle
By dividing the thermal management system of pure electric vehicles into sub-modules and performing neural network order reduction processing, combined with integrated learning and genetic algorithms, the complexity and nonlinear problems of the thermal management system model in the existing technology are solved, and efficient thermal management is achieved. The control strategy improves the calculation speed and model accuracy.
Patent Information
- Application Number
- CN202410697314.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-31
- Publication Date
- 2024-09-27
AI Technical Summary
The existing pure electric vehicle thermal management system model reduction method is difficult to reflect the highly nonlinear relationship between the system input and output ends, and cannot simultaneously meet the requirements of model accuracy and control real-time performance, resulting in high computational complexity and time cost of control solution. big.
A modular strategy is used to divide the vehicle thermal management system into the passenger compartment, battery, heat pump and electric drive sub-modules, and a BP neural network reduced-order model is established respectively, and is integrated through an integrated learning algorithm to build an integrated thermal management system reduced-order model. , using genetic algorithms to optimize model parameters and improve calculation speed and model accuracy.
It achieves the reduction of computational complexity while maintaining model accuracy, improves the rapid solution and online estimation capabilities of thermal management control, and provides a foundation for the intelligent control strategy of pure electric vehicles.
Smart Images

Figure CN118700776A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of automobile thermal management system control, and in particular to a whole vehicle thermal management control method for a pure electric vehicle. Background Art
[0002] As one of the most promising new energy vehicles, research on pure electric vehicles is currently a hot topic. Since pure electric vehicles have poor adaptability to extreme environments, especially in terms of power battery safety and passenger cabin environmental comfort, designing an efficient and energy-saving vehicle thermal management system is of great significance to ensuring the performance of key components of pure electric vehicles, passenger cabin comfort, battery safety, and vehicle range.
[0003] When controlling the thermal management system of a pure electric vehicle, since the thermal management system is a complex nonlinear time-varying system with large time delay, the computational complexity of the control solution is relatively large, and the time cost of the solution process is also quite high. Therefore, reducing the order of the thermal management model to simplify the computational complexity while maintaining the model accuracy has very practical value in the field of thermal management control.
[0004] At present, the existing methods for reducing the order of the thermal management system model of pure electric vehicles are mainly divided into two categories: system identification method and modal decomposition method. The essence of the system identification method is to use the experimental data of input and output to directly construct the corresponding relationship between the input and output of the system. The core of the modal decomposition method is to transform the high-dimensional model into a low-dimensional one and superimpose it on a low-dimensional spatial coordinate system, which can clearly reflect the dynamic change characteristics of the system over time and space.
[0005] The disadvantages of the above-mentioned pure electric vehicle thermal management system model reduction method in the prior art include: it is difficult to reflect the highly nonlinear relationship between the input and output ends of the system for the control solution problem of the integrated thermal management system, and it is also impossible to simultaneously meet the requirements of model accuracy and control real-time performance.
[0006] When this method is used to control the thermal management system of a pure electric vehicle, due to the complexity, nonlinearity and time-varying nature of the thermal management system, the control solution calculation complexity is relatively large and the solution time cost is quite high. Summary of the invention
[0007] The embodiment of the present invention provides a whole vehicle thermal management control method for a pure electric vehicle, so as to achieve effective thermal control management of the pure electric vehicle.
[0008] In order to achieve the above object, the present invention adopts the following technical scheme.
[0009] A vehicle thermal management control method for a pure electric vehicle, comprising:
[0010] The integrated model of pure electric vehicle is divided into passenger compartment submodule, battery submodule, heat pump submodule and electric drive submodule by adopting modular strategy.
[0011] Establishing BP neural network reduced-order models of the passenger compartment submodule, battery submodule, heat pump submodule and electric drive submodule respectively, and training each BP neural network reduced-order model using a neural network model data set to obtain each trained BP neural network reduced-order model;
[0012] An integrated learning algorithm is used to integrate the passenger compartment submodule, battery submodule, heat pump submodule and electric drive submodule to obtain an integrated thermal management system reduced-order model. The integrated thermal management system reduced-order model integrates the thermal management control data output by each trained BP neural network reduced-order model to obtain the thermal management control strategy of the pure electric vehicle.
[0013] Preferably, the modular strategy used to divide the all-electric vehicle integrated model into a passenger compartment submodule, a battery submodule, a heat pump submodule and an electric drive submodule includes:
[0014] The integrated model of the pure electric vehicle is divided into four sub-modules, namely, a passenger compartment sub-module, a battery sub-module, a heat pump sub-module and an electric drive sub-module. The four sub-modules are neural network models. The four sub-modules communicate and calculate by relying on two physical quantities, electricity and heat. The passenger compartment temperature output by the passenger compartment sub-module will be used as the input signal of the heat pump sub-module, and the battery temperature output by the battery sub-module will be used as the input signal of the heat pump sub-module. The input data of the battery sub-module is the battery state of charge SOC at the current moment, and the output data is the battery SOC at the next moment.
[0015] Preferably, the BP neural network reduced-order models of the passenger compartment submodule, the battery submodule, the heat pump submodule and the electric drive submodule are respectively established, and each BP neural network reduced-order model is trained using a neural network model data set to obtain each trained BP neural network reduced-order model, including:
[0016] Establishing BP neural network reduced-order models of the passenger compartment submodule, battery submodule, heat pump submodule and electric drive submodule respectively, wherein the BP neural network reduced-order model is a multi-layer perceptron structure, including an input layer, a hidden layer and an output layer, and a plurality of neurons are distributed in the hidden layer;
[0017] A neural network model data set is constructed according to the actual working conditions of cooling and heating of a pure electric vehicle, and the neural network model data set is divided into a training set and a test set in a ratio of 7:3, the training set is used for training the BP neural network reduced-order model, and the test set is used for verification and hyperparameter adjustment of the BP neural network reduced-order model, wherein the hyperparameters include a learning rate, the number of hidden layers, and the number of hidden layer nodes;
[0018] The Adam optimizer is used to adaptively adjust the learning rate during the iteration process to determine the learning rate of the BP neural network reduced-order model. The BP neural network reduced-order model of each submodule is trained with different numbers of hidden layer nodes. The influence of the number of hidden layer nodes on the BP neural network reduced-order model is analyzed by predicting the average relative error of the output, and the optimal number of hidden layers and hidden layer nodes is determined.
[0019] The training data in the training set are input into the input layer of the BP neural network reduced-order model of each submodule, the training data are transmitted to the output layer through the nonlinear activation of the hidden layer, the output data of the output layer is compared with the expected output, and the error is obtained. If the error exceeds the set range, the error is propagated back from the output layer layer by layer through the back propagation mechanism, and the weights and thresholds between the layers of the BP neural network reduced-order model are adjusted according to the error. The above processing process is continuously iterated until the prediction error reaches the accuracy requirement or the number of training times reaches the preset value, and each trained BP neural network reduced-order model is obtained.
[0020] Preferably, the integrated learning algorithm is used to integrate the passenger compartment submodule, the battery submodule, the heat pump submodule and the electric drive submodule to obtain an integrated thermal management system reduced-order model, including:
[0021] The passenger compartment submodule, battery submodule, heat pump submodule and electric drive submodule are used as weak learners in the integrated learning architecture, and the passenger compartment submodule, battery submodule, heat pump submodule and electric drive submodule are respectively integrated and learned by using the boosting algorithm, and the initial weight coefficient of each training sample is set, and the first round of training is performed on the weak learners corresponding to the four submodules by using each training sample, and the weight coefficient of the training sample is updated according to the prediction error performance of the weak learner, so that the weight of the training sample with a high prediction error rate becomes higher, and the second round of training is performed on the weak learners corresponding to the four submodules by using the training samples with adjusted weight coefficients, and the above processing process is repeatedly iterated until the specified number of cycles is reached, and the passenger compartment submodule, battery submodule, heat pump submodule and electric drive submodule optimized by the boosting algorithm are obtained;
[0022] The weak learners corresponding to the passenger compartment submodule, battery submodule, heat pump submodule and electric drive submodule optimized by the Boosting algorithm are fused by combining the bagging Stacking algorithm with the K-fold cross-validation method to obtain a reduced-order model of the integrated thermal management system. The reduced-order model of the integrated thermal management system adopts the mean method strategy to sum the predicted outputs of each weak learner and take the average as its final prediction result.
[0023] Preferably, the integrated thermal management system reduced-order model fuses the thermal management control data output by each trained BP neural network reduced-order model to obtain the thermal management control strategy of the pure electric vehicle, including:
[0024] The genetic algorithm is used to optimize the connection weights and thresholds of each layer of the trained BP neural network reduction model. In the genetic algorithm optimization process, the weight threshold of the BP neural network reduction model is first encoded to generate an initial population, and then the fitness of the individuals in the population is calculated. The fitness is the predicted output error of the BP neural network reduction model. The fitness is used to measure the quality of the individual, and the individuals with high fitness are selected to stay, and the individuals with low fitness are eliminated. The selected individuals are cross-paired in pairs, and some genes in the chromosomes are exchanged and inherited to the next generation. The next generation will be mutated to produce new excellent individuals in the next generation to increase population diversity. The above process is iterated and executed continuously until the solution time is reached or the error requirement is met or the solution cannot be improved. The cycle is exited and the optimization ends, and the optimized BP neural network reduction model is obtained.
[0025] The thermal management control data output by the optimized BP neural network reduced-order models of the four sub-modules are used as the input of the integrated thermal management system reduced-order model. The integrated thermal management system reduced-order model fuses the thermal management control data output by the BP neural network reduced-order models of each sub-model to obtain the thermal management control strategy for the entire pure electric vehicle.
[0026] It can be seen from the technical solutions provided by the above-mentioned embodiments of the present invention that the vehicle-integrated neural network reduced-order model constructed by the present invention can ensure the accuracy of the model while improving the calculation speed, thereby achieving fast solution and online estimation, and providing a basis for the research on intelligent control strategies of pure electric vehicles.
[0027] Additional aspects and advantages of the present invention will be given in part in the following description, which will become obvious from the following description, or may be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.
[0029] Figure 1 A schematic diagram of the input and output relationship of each submodule and the signal transmission relationship between modules in a pure electric vehicle integrated model provided by an embodiment of the present invention;
[0030] Figure 2 A three-layer BP neural network structure diagram provided by an embodiment of the present invention;
[0031] Figure 3 A BP neural network training flow chart provided in an embodiment of the present invention;
[0032] Figure 4 A schematic diagram of the effect of the number of hidden layer nodes on a neural network model provided by an embodiment of the present invention;
[0033] Figure 5 A genetic algorithm implementation flow chart provided in an embodiment of the present invention;
[0034] Figure 6 An integrated learning basic model provided by an embodiment of the present invention;
[0035] Figure 7 A schematic diagram of a Boosting algorithm learning mechanism provided by an embodiment of the present invention;
[0036] Figure 8 A Stacking algorithm learning mechanism provided by an embodiment of the present invention;
[0037] Fig. 9 A five-fold cross-validation method application process provided by an embodiment of the present invention;
[0038] Fig.10 A CLTC-P cycle operating speed curve provided by an embodiment of the present invention;
[0039] Fig.11 A curve showing the variation of the mean square error of each submodule with the number of training times provided in an embodiment of the present invention;
[0040] Fig.12 A neural network model prediction output curve for each submodule provided in an embodiment of the present invention;
[0041] Fig.13 A comparison curve of the average relative error of the predicted output of each submodule provided in an embodiment of the present invention;
[0042] Fig.14 A fitness change curve of each submodule genetic algorithm provided by an embodiment of the present invention;
[0043] Fig.15 A comparison curve of the prediction outputs of the BP model of each submodule and the GA-BP model provided in an embodiment of the present invention;
[0044] Fig.16 A comparison of the average relative errors of the prediction outputs of the BP and GA-BP neural network models of each submodule provided in an embodiment of the present invention;
[0045] Fig.17 A passenger compartment temperature change comparison curve provided by an embodiment of the present invention;
[0046] Fig.18 A battery SOC change comparison curve provided by an embodiment of the present invention;
[0047] Fig.19 A comparison of error indicators of the prediction output of a reduced-order model of a whole vehicle provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0048] The embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be interpreted as limiting the present invention.
[0049] It will be understood by those skilled in the art that, unless expressly stated, the singular forms "one", "said", and "the" used herein may also include plural forms. It should be further understood that the term "comprising" used in the specification of the present invention refers to the presence of the features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof. It should be understood that when we refer to an element as being "connected" or "coupled" to another element, it may be directly connected or coupled to the other element, or there may be intermediate elements. In addition, the "connection" or "coupling" used herein may include wireless connection or coupling. The term "and / or" used herein includes any unit and all combinations of one or more associated listed items.
[0050] It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as those generally understood by those skilled in the art in the art to which the present invention belongs. It should also be understood that terms such as those defined in common dictionaries should be understood to have meanings consistent with the meanings in the context of the prior art, and will not be interpreted with idealized or overly formal meanings unless defined as herein.
[0051] To facilitate understanding of the embodiments of the present invention, several specific embodiments will be further explained below with reference to the accompanying drawings, and each embodiment does not constitute a limitation on the embodiments of the present invention.
[0052] The embodiment of the present invention establishes a vehicle thermal management control method for a pure electric vehicle based on a neural network model trained by data samples. The method adopts a modular order reduction strategy to divide the vehicle system into four sub-modules, namely the passenger compartment, battery, heat pump and electric drive sub-module. Each module relies on two physical quantities, electricity and heat, for communication and calculation. Then, each subsystem is subjected to neural network order reduction processing, and the model is optimized based on a genetic algorithm to select the optimal weights and thresholds to ensure the prediction accuracy of the sub-model. Then, an integrated learning algorithm (Boosting algorithm and Stacking algorithm) is used to fuse the model and establish a reduced-order model of an integrated thermal management system, taking into account both model accuracy and calculation speed, providing a basis for subsequent research in the field of control.
[0053] A vehicle thermal management control method for a pure electric vehicle provided by an embodiment of the present invention comprises the following steps:
[0054] Step 1: Use a modular strategy to divide the integrated model of the pure electric vehicle into a passenger compartment sub-module, a battery sub-module, a heat pump sub-module, and an electric drive sub-module.
[0055] Due to the complex structure, multiple control components and high calculation dimension of the integrated thermal management system, if the model of the vehicle thermal management system is directly reduced in order, the nonlinear fitting relationship between multiple inputs and multiple outputs cannot be guaranteed, resulting in reduced model accuracy. Therefore, a modular reduction strategy is adopted to perform neural network reduction on each subsystem, and then integrate and fuse them to form an integrated thermal management reduced-order model.
[0056] Based on the established integrated thermal management system, the integrated model of pure electric vehicles is divided into four submodules, namely the passenger compartment submodule, battery submodule, heat pump submodule and electric drive submodule. The four submodules communicate and calculate based on the two physical quantities of electricity and heat. The input and output of each submodule and the signal transmission relationship between the modules are as follows: Figure 1 shown.
[0057] First of all, from the overall level, the above submodules are neural network models, and the total input is divided into three categories: environmental parameters, driving conditions and control quantities. Environmental parameters refer to ambient temperature, air humidity, light intensity, etc.; driving conditions refer to driving speed; control quantities refer to compressor speed, expansion valve opening, PTC power, etc. The total output of the neural network model is the passenger compartment temperature and battery SOC (State of Charge), and the main indicators examined are passenger compartment thermal comfort and vehicle energy consumption.
[0058] Secondly, from the perspective of the module, the four submodules are mutually input and output, and communicate with each other. For example, the passenger compartment temperature, one of the outputs of the passenger compartment submodule, will be given as an input signal to the heat pump submodule, and the battery temperature, one of the outputs of the battery submodule, will also be given as an input signal to the heat pump submodule. In addition, the module itself also has a closed-loop relationship, and its own output is used as its input for the next second. For example, if the input and output of the battery submodule both have battery SOC, the input is the battery SOC at the current moment, and the output is the battery SOC at the next moment, and then it is fed back to the input interface to update the SOC value and iterate in a cycle.
[0059] Step 2: Establish BP neural network reduced-order models of the passenger compartment submodule, battery submodule, heat pump submodule and electric drive submodule respectively, and use the neural network model data set to train each BP neural network reduced-order model to obtain each trained BP neural network reduced-order model.
[0060] BP (Back Propagation) neural network is a multi-layer feedforward neural network that relies mainly on the error back propagation algorithm for training. Its core learning principle is to use the gradient descent method to continuously optimize the weights and thresholds of the network. More importantly, during the training process, the goal of minimizing the sum of squared errors between the actual output and the expected output can be achieved without setting the mathematical relationship between the input and output in advance.
[0061] The BP neural network can be regarded as a multi-layer perceptron structure, which includes an input layer, a hidden layer, and an output layer. The hidden layer can be composed of one, two, or more layers, and there are multiple neurons distributed in each layer. These neurons are connected by weights to form an overlay neural network structure. In the process of network training and learning, the output results of the network are continuously optimized by adjusting the weights and thresholds, thereby realizing the learning and approximation of complex patterns and relationships. Figure 2 A three-layer BP neural network structure diagram provided in an embodiment of the present invention. n represents the input signal received by the neural network input layer, that is, the input data of each submodule; h1, h2, ..., h p Represents the intermediate output signal of the hidden layer of the neural network, which needs to be obtained by the network itself training; y1, y2, ..., y m Represents the output signal of the neural network output layer, that is, the output data of each sub-module.
[0062] The core idea of BP neural network includes two main steps: signal forward propagation and error back propagation. During the forward propagation process, the input signal is transmitted to the output layer through the nonlinear activation of the hidden layer, and then compared with the expected output to obtain the error. If the error exceeds the set range, the error back propagation mechanism will be activated, and the error will be transmitted back from the output layer layer by layer. At the same time, the weights and thresholds between the layers of the network will be adjusted according to the error to improve the accuracy of the predicted output. This process will be continuously updated and iterated until the prediction error meets the accuracy requirement or the number of training times reaches the preset value. The trained BP neural network has the ability to process similar input signals and can output corresponding prediction results. A training flow chart of a BP neural network provided in an embodiment of the present invention is shown as follows: Figure 3 shown.
[0063] The implementation process of the forward propagation of neural network signals mainly includes the following steps:
[0064] The output of the hidden layer node is:
[0065]
[0066] In the formula, h j represents the activation output of the jth node in the hidden layer, w ij represents the weight vector between the i-th input node and the j-th hidden layer node, b j Represents the threshold from the input layer to the jth hidden layer node.
[0067] The predicted output of the output layer node is:
[0068]
[0069] In the formula, O k represents the predicted output of the kth node in the output layer, w jk represents the weight vector between the jth hidden layer node and the kth output layer node, b k Represents the threshold of the hidden layer to the kth output layer node.
[0070] The function f in the above two formulas is called the activation function, and Sigmoid is used as the activation function:
[0071]
[0072] The initial weights and thresholds in the neural network are random. When the predicted output is different from the expected output Y, a prediction error will occur. The prediction error of the neural network for each sample is:
[0073]
[0074] The implementation process of neural network error back propagation mainly includes the following steps.
[0075] The gradient of the prediction error with respect to the neural network connection weights and threshold is:
[0076]
[0077] Based on the gradient descent method, the neural network connection weights and thresholds can be adjusted according to the above gradient results in the negative gradient direction of the target:
[0078]
[0079]
[0080] Where w′ jk , b′ k , w′ ij , b′ j represents the adjusted weights and thresholds; η represents the learning rate.
[0081] Before establishing the BP neural network reduction model of each submodule, it is necessary to construct a neural network model data set. The neural network model data set is taken from the simulation output of the built integrated thermal management model. Multiple cooling and heating working conditions are simulated. A total of 9,000 sets of data are taken to form the data set to ensure its comprehensiveness. The neural network model data set is divided into a training set and a test set in a ratio of 7:3. The training set is used for model training, and the test set is used for model verification and adjustment of model hyperparameters.
[0082] according to Figure 1 And the divided data set, determine the number of nodes in the input layer and output layer of each submodule. The number of input layer nodes of the heat pump submodule is 10, and the number of output layer nodes is 5; the number of input layer nodes of the battery submodule is 9, and the number of output layer nodes is 4; the number of input layer nodes of the passenger compartment submodule is 6, and the number of output layer nodes is 4; the number of input layer nodes of the electric drive submodule is 3, and the number of output layer nodes is 2.
[0083] When building a BP neural network reduced-order model, the expression accuracy of each sub-model will be affected by many aspects, such as hyperparameters such as learning rate, number of hidden layers, number of hidden layer nodes, etc. Because the thermal management model is highly complex, the neural network structure needs to have strong nonlinear expression capabilities, so the selection of these hyperparameters is particularly important.
[0084] First, the learning rate parameters for each sub-model are selected. In the neural network training process, the learning rate is one of the key factors for adjusting the weights and thresholds of each layer, and determines the learning speed of the model. If the learning rate is selected too small, the adjustment range of the weights and thresholds at each step of the neural network training will be very small, resulting in slow network convergence speed, and it is very likely to fall into the local optimal solution; and if the learning rate is selected too large, the adjustment range of the weights and thresholds will be large, resulting in the network failing to converge and oscillating near the optimal solution. In order to overcome these problems, the present invention selects the Adam optimizer, which can adaptively adjust the learning rate continuously during the iteration process based on the initial learning rate to achieve gradual convergence of the model. In the present invention, 0.01 is selected as the initial learning rate.
[0085] Then the number of hidden layers of each sub-model is selected. Because the present invention divides the thermal management system neural network reduction model into four sub-modules, the model complexity of each module is relatively low. At the same time, the complexity of the later model integration must also be considered. Therefore, a three-layer network is selected for training when building each model.
[0086] Finally, the number of hidden layer nodes for each sub-model is selected. If the number of hidden layer nodes is too small, the network's learning ability will be poor, resulting in poor performance, large prediction errors, and lack of generalization; if the number of hidden layer nodes is too large, although the prediction error can be reduced, the training time will be prolonged, and it is also easy to fall into the local optimal solution, resulting in "overfitting". The selection of the number of hidden layer nodes is related to the input and output dimensions. The following empirical formula can be used to determine the range of the number of nodes:
[0087]
[0088] Where n is the number of input layer nodes, m is the number of hidden layer nodes, l is the number of output layer nodes, and a is a constant between 0 and 10.
[0089] After determining the range according to the above formula, the BP neural network reduction model of each submodule is trained with different numbers of hidden layer nodes within the range. The influence of the number of hidden layer nodes on the BP neural network reduction model is analyzed by predicting the average relative error of the output, so as to determine the optimal number of hidden layer nodes. The four submodules are trained separately. Figure 4 A schematic diagram of the effect of the number of hidden layer nodes on the neural network model provided by an embodiment of the present invention, the results are as follows Figure 4As shown in the figure, when the number of hidden layer nodes of the heat pump submodule is 8, the average relative error of the system is the smallest, which is 7.5‰; when the number of hidden layer nodes of the battery submodule is 7, the average relative error of the system is the smallest, which is 1.6‰; when the number of hidden layer nodes of the passenger compartment submodule is 7, the average relative error of the system is the smallest, which is 8.3‰; when the number of hidden layer nodes of the electric drive module is 8, the average relative error of the system is the smallest, which is 2.4‰.
[0090] Step 3: Use an integrated learning algorithm to integrate the passenger compartment submodule, battery submodule, heat pump submodule and electric drive submodule to obtain an integrated thermal management system reduced-order model. The integrated thermal management system reduced-order model integrates the thermal management control strategies output by each trained BP neural network reduced-order model to obtain the thermal management control strategy of the pure electric vehicle.
[0091] The core idea of Genetic Algorithm (GA) is genetic genetics and Darwin's theory of evolution. It seeks the optimal solution to a problem by simulating the survival of the fittest and natural evolution of organisms. Genetic algorithm regards the solution in the actual problem as an individual in the genetic space, and uses the fitness function to evaluate the quality of each individual. In the genetic process, replication, crossover and mutation will occur between individuals to simulate the process of biological evolution. After multiple iterations of evolution, individuals with better adaptability are retained, while individuals with poorer adaptability are eliminated. This genetic iteration process can continuously optimize the solution to the problem and effectively search the solution space until the optimal solution to the problem is found and the preset accuracy requirements are met.
[0092] Genetic algorithm is similar to neural network training, and is also a process of continuous updating and iteration. The present invention applies genetic algorithm to the determination of hyperparameters of the BP neural network reduction model of each submodule, mainly to optimize and select the connection weights and thresholds of each layer of the BP neural network reduction model. In the genetic algorithm optimization process, the weight threshold of the BP neural network reduction model must be encoded first to generate an initial population. Then the fitness of the individuals in the population is calculated, and the fitness in the present invention is the predicted output error of the BP neural network reduction model. The fitness is used to measure the quality of the individual, and the individuals with high fitness are selected to stay, and the individuals with low fitness are eliminated. The selected individuals will cross-pair in pairs, exchange certain genes in the chromosomes and pass them on to the next generation, and will perform mutation operations on the next generation to produce new excellent individuals and increase population diversity. This process is continuously iterated until the solution time is reached or the error requirements are met or the solution cannot be made better, the cycle is exited, and the optimization ends. The above-mentioned related parameters are set.
[0093] A genetic algorithm implementation flow chart proposed in an embodiment of the present invention is as follows: Figure 5 As shown, the processing includes the following:
[0094] (1) Initialize the population. The real number coding method is used to perform chromosome coding on the initial weight threshold of the BP neural network reduction model. The length of the chromosome coding depends on the number of nodes in each layer. The calculation formula is as follows:
[0095] N=nm+ml+m+l# (4-17)
[0096] Where N represents the sum of the number of weights and thresholds in the neural network, n represents the number of input layer nodes, m represents the number of hidden layer nodes, and l represents the number of output layer nodes.
[0097] (2) Fitness calculation, saving the optimal chromosome. In genetic algorithms, the quality of individuals is usually evaluated with the help of fitness functions. The present invention determines the adaptability of the BP neural network reduced-order model based on the error between the predicted value and the expected value of the BP neural network reduced-order model, providing a basis for subsequent selection operations. The main calculation formula of the fitness function is as follows:
[0098]
[0099] In the formula, N represents the population size, P i represents the individuals in the population, Y ki represents the expected output of the i-th node on the k-th chromosome, O ki Represents the predicted output, and α is a constant.
[0100] (3) Selection operator. When selecting a population, the weight threshold with high fitness is retained, and the weight threshold with low fitness is eliminated. The probability of a weight threshold being selected and retained is proportional to the fitness. The higher the fitness, the higher the possibility of being retained. The calculation formula is as follows:
[0101]
[0102]
[0103] In the formula, p i represents the probability of weight threshold i being selected, F i represents the fitness of weight threshold i, f i Take the inverse value of coefficient k, and N represents the population size.
[0104] (4) Crossover operator. The crossover operation is performed randomly in the genetic algorithm. The real number crossover method is used to apply the crossover operator to the retained population. By exchanging certain genes in the chromosomes, the excellent genes of individuals with high fitness are inherited to the next generation, that is, the weight coefficient of the high fitness weight threshold is retained and inherited. The kth chromosome w k and the lth chromosome w lThe crossover operation at position j is as follows:
[0105] w kj =w kj (1-b)+w lj b# (4-22)
[0106] w lj =w lj (1-b)+w kj b# (4-23)
[0107] In the formula, b represents a random number between [0, 1].
[0108] (5) Mutation operator. The mutation operation in the genetic algorithm simulates the process of random mutation of chromosomes. It introduces new mutant individuals by making small random changes to the genes of selected individuals, that is, making small changes to the weight coefficients of the corresponding weight thresholds. This helps to increase the diversity of the algorithm and explore the breadth of the solution space, effectively avoiding falling into the local optimal solution. ij The mutation operation is as follows:
[0109]
[0110] In the formula, w max Represents gene w ij The upper limit of w min Represents gene w ij The lower limit of, r represents a random number between [0, 1], r2 represents a random number, G max represents the maximum number of evolutions, and g represents the current number of iterations.
[0111] According to the above steps, the genetic algorithm is used to optimize the connection weight thresholds of each layer of the BP neural network reduction model of the four sub-modules. The optimization parameters are shown in Table 1.
[0112] Table 1 Genetic algorithm optimization parameter settings
[0113]
[0114]
[0115] After the present invention completes the construction of the BP neural network reduction model of the four submodules, when the BP neural network reduction model is being fused, the error in data transmission between the BP neural network reduction models will continue to accumulate, resulting in a problem of excessive deviation in prediction accuracy. To address this problem, based on the data interaction relationship between the submodules, the Boosting and Stacking integrated learning algorithms are used to integrate the four submodules to enhance the model accuracy of the vehicle reduction model.
[0116] The essence of ensemble learning is to build a stronger and more comprehensive strong supervision model by combining multiple weak supervision models. The principle of ensemble learning provided by the embodiment of the present invention is as follows: Figure 6 As shown in the figure. By integrating multiple weak learners, the ensemble learning algorithm can effectively avoid the overfitting problem that may exist in a single learner and significantly improve the accuracy and stability of the prediction results.
[0117] Ensemble learning algorithms can be divided into homogeneous algorithms and heterogeneous algorithms according to whether the weak learners are of the same type or different types. Homogeneous algorithms mainly include boosting and bagging algorithms. Boosting requires weak learners to be interrelated, while bagging does not. Heterogeneous algorithms integrate and fuse different types of weak learners. The main representative algorithm is the stacking algorithm.
[0118] The four submodule neural network models constructed above are regarded as weak learners in the integrated learning architecture. In order to ensure that the integrated strong learner has strong prediction performance, the weak learner itself needs to have high model accuracy. The present invention first uses the Boosting algorithm to perform integrated learning on the BP neural network reduced-order models of each submodule to enhance the prediction accuracy of the weak learner; then the Stacking algorithm is used to fuse the four submodules to obtain the integrated thermal management system reduced-order model. The integrated thermal management system reduced-order model is then integrated and learned to enhance the model accuracy and prediction performance of the vehicle reduced-order model.
[0119] In order to ensure that the four submodule models have high prediction accuracy, based on the GA-BP neural network model, the Boosting algorithm is used to perform integrated learning training on each submodule to obtain a stronger learner with better effect. Figure 7 As shown. Taking the heat pump submodule as an example, the first round of training is performed on the training set. At this time, the weight of the training sample is the initial weight w1. The first model trained with the training set D1 is the weak learner 1. The weight coefficient a1 of the training sample is updated according to the prediction error performance e1 of the weak learner, so that the weight of the training sample with a high prediction error rate becomes higher. Then, the next round of weak learner 2 is trained with the training set D2 with the weight w2 after adjusting the coefficient. During the training process, the training samples with increased weights in the previous round are trained. This process is iterated repeatedly until the specified number of cycles is reached. Finally, the results of these weak learners are integrated to obtain a stronger learner with better results, that is, the heat pump submodel finally optimized by the Boosting algorithm.
[0120] When performing model fusion on weak learners, the mean method strategy is adopted. The prediction outputs of weak learners are summed and averaged as the prediction output of the strong learner, which is the final prediction result of each submodule model. The calculation formula is as follows:
[0121]
[0122] In the formula, represents the final prediction result of the model, L represents the number of weak learners, y′ i (x) represents the prediction result of each weak learner.
[0123] According to the above process, the Boosting algorithm is integrated and learned for the battery, passenger compartment and electric drive module respectively to improve the prediction accuracy of each sub-model, laying the foundation for the subsequent Stacking algorithm integrated model fusion.
[0124] The Stacking algorithm is a heterogeneous ensemble learning algorithm based on a combination of hierarchical models. It is both an ensemble learning method and a model fusion strategy. The Stacking algorithm is different from the iterative process of generating weak learners by the Boosting algorithm. Its core idea is to construct a two-layer structure: a base model layer and a meta-model layer. In the present invention, the base model layer is a BP neural network reduced-order model of four sub-modules, and the meta-model layer is a whole-vehicle neural network model after the fusion of the four sub-modules, which can correct the prediction error of the base model.
[0125] An integrated learning mechanism of a Stacking algorithm provided by an embodiment of the present invention is as follows Figure 8 As shown in the figure, its essence is to integrate the prediction results of multiple base models, use it as the input of the meta-model, and then use the output of the meta-model as the prediction result of the integrated model. This two-layer structure can effectively avoid the redundancy and complexity of the integrated model, greatly improving the training speed and prediction performance of the model.
[0126] In the Stacking algorithm, the base model layer is trained using the original data set, while the training data of the meta-model layer is obtained by processing the prediction results of the base model layer. However, if the prediction results of the base model are directly used to train the meta-model, the meta-model may overfit. The present invention adopts the K-fold cross-validation method to solve this problem and improve the prediction performance of the integrated model. Take five-fold cross-validation (K=5) as an example to illustrate its application process in the Stacking algorithm. Fig. 9 shown.
[0127] The present invention combines the Stacking algorithm with the K-fold cross-validation method to complete the fusion of the integrated thermal management system reduced-order model, and uses the thermal management control data output by the optimized BP neural network reduced-order model of the four submodules as the input of the integrated thermal management system reduced-order model, that is, the integrated thermal management system reduced-order model fuses the prediction results of the BP neural network reduced-order model of each submodel to obtain the thermal management control strategy of the pure electric vehicle. In this way, the diversity of the output results of each submodel can be guaranteed, and the error problem caused by the transmission of prediction data between modules can also be reduced. The thermal management control data output by the BP neural network reduced-order model of the passenger compartment module includes: passenger compartment temperature, refrigerant flow rate, refrigerant temperature and fan current signal data at the next moment. The thermal management control data output by the BP neural network reduced-order model of the battery module includes: battery temperature, SOC, refrigerant flow rate and refrigerant temperature data at the next moment. The thermal management control data output by the BP neural network reduced-order model of the heat pump air conditioner includes: refrigerant flow rate, refrigerant temperature, compressor speed and current signal data. The thermal management control data output by the BP neural network reduced-order model of the electric drive module includes: the waste heat recovery amount and the driving current signal at the next moment. The thermal management control strategy output by the reduced-order model of the integrated thermal management system includes: passenger compartment temperature, battery SOC, compressor speed and current, battery temperature and waste heat recovery amount data.
[0128] Taking the CLTC cycle condition as an example, five CLTC-P cycle simulation tests are carried out to illustrate the model reduction method proposed in the present invention. Fig.10 A schematic diagram of a CLTC-P cycle speed curve provided by an embodiment of the present invention. Based on the above design, the neural network model of each module is established using Matlab software. The four submodules are trained with 200 steps. The training process is as follows: Fig.11 As shown in Figure 2, the best mean square error of the test set of the heat pump module is 9.6×10 -5 , located in the 142nd training; the best mean square error of the test set of the battery module is 1.6×10 -7 , located at the 200th training; the best mean square error of the test set of the crew compartment submodule is 1.7×10 -4 , located in the 174th training; the best mean square error of the test set of the electric drive module is 1.1×10 -4 , located at the 170th training. The neural network models of the four modules all converged effectively and were within a reasonable range.
[0129] Fig.11The following is a schematic diagram of the mean square error of each module versus the number of training times provided in an embodiment of the present invention. Since each submodule has multiple outputs, they cannot be fully displayed due to space limitations, so only one of the more important outputs in each submodule is analyzed. The predicted output results of the neural network model of the four submodules are shown in Figure 2. Fig.12 As shown in , the predicted output of each module can maintain a small error with the expected value in the 1500s test data set. However, combined with the average relative error comparison curve of the predicted output of each submodule, as shown in Fig.13 As shown, it can also be observed that the places where the errors between the predicted value and the expected value are large appear at the inflection point. This phenomenon occurs because the neural network model may have overfitted during training. Since the data at the inflection point changes dramatically, the neural network overfits the local features and ignores the overall trend.
[0130] As shown in Table 2, the prediction output errors of 1500s data of each submodule are shown. Among them, the observed output of the heat pump module is the compressor energy consumption, and the average relative error of its predicted data is 7.5‰, the average absolute error is 9.74W, and the maximum absolute error is 29.6W; the observed output of the battery module is the battery SOC, and the average relative error of its predicted data is 1.6‰, the average absolute error is 0.029%, and the maximum absolute error is 0.12%; the observed output of the passenger compartment submodule is the passenger compartment temperature, and the average relative error of its predicted data is 8.3‰, the average absolute error is 0.035℃, and the maximum absolute error is 0.12℃; the observed output of the electric drive module is the waste heat recovery, and the average relative error of its predicted data is 2.4‰, the average absolute error is 3.74W, and the maximum absolute error is 13.6W. From the above analysis, it can be seen that the neural networks of the four submodules can accurately predict the model output, and the error is within a reasonable range, ensuring high model accuracy and prediction performance.
[0131] Table 2 Comparison of prediction output error indicators of each submodule
[0132]
[0133] After completing the construction of the BP neural network reduction model of the four sub-modules, the genetic algorithm optimization of the neural network model of each module was realized using Matlab software. The changes in the fitness values of the four sub-models during the network training process are as follows: Fig.14 As shown, when the populations of the four module genetic algorithms evolved to 43, 29, 31 and 55 generations respectively, the fitness values tended to be stable and the optimal individuals were obtained.
[0134] as follows Fig.15As shown in the figure, the prediction output comparison curves of the four submodule BP neural network and GA-BP neural network models are shown. In order to better compare the optimization effect of the genetic algorithm, a relatively short period of time in the prediction output data of each submodel is intercepted for local observation. As can be seen from the figure, the prediction output value of the GA-BP model after genetic algorithm optimization is closer to the expected value than the BP model, and the error with the expected value is kept smaller in almost all time periods.
[0135] like Fig.16 As shown in the figure, the average relative error comparison of the predicted output of the BP neural network and the GA-BP neural network model of each submodule is shown. It can be clearly observed from the figure that the area enclosed by the GA-BP model of the four submodules is smaller than that of the BP model, indicating that the GA-BP model optimized by the genetic algorithm has a smaller output error and more accurate prediction performance. Among them, the optimization effect of the heat pump and passenger compartment submodules is significant, while the optimization effect of the battery and electric drive modules is relatively weak. The reason is that the structure of the neural network model of the battery and electric drive module is relatively simple, and the BP model can already search for the global optimal solution very well, while the number of inputs and outputs of the neural network model of the heat pump and passenger compartment submodules is large and the structure is complex. The genetic algorithm can continuously iterate and update to assist the BP model in searching for the global optimal solution.
[0136] As shown in Table 3, the prediction output error indicators of the BP neural network and GA-BP neural network models of each submodule are compared. Among them, after the heat pump model is optimized by the genetic algorithm, the average relative error of its predicted data is 4.3‰, and the effect is optimized by 42.7%; the average absolute error is 6.17W, the effect is optimized by 36.7%; the maximum absolute error is 24.6W, and the effect is optimized by 16.9%. After the battery model is optimized by the genetic algorithm, the average relative error of its predicted data is 1.4‰, and the effect is optimized by 12.5%; the average absolute error is 0.025%, and the effect is optimized by 13.8%; the maximum absolute error is 0.1%, and the effect is optimized by 20%. After the passenger compartment model is optimized by the genetic algorithm, the average relative error of its predicted data is 2.1‰, and the effect is optimized by 74.7%; the average absolute error is 0.009℃, and the effect is optimized by 74.3%; the maximum absolute error is 0.04℃, and the effect is optimized by 66.7%. After the electric drive model was optimized by genetic algorithm, the average relative error of its predicted data was 2.3‰, and the effect was optimized by 4.2%; the average absolute error was 3.61W, and the effect was optimized by 3.5%; the maximum absolute error was 12.8W, and the effect was optimized by 5.9%. From the above analysis, it can be seen that after the neural network of the four submodules was optimized by genetic algorithm, the error of the model prediction output was effectively reduced, and better model accuracy and prediction performance were obtained.
[0137] Table 3 Comparison of prediction output error indicators of BP and GA-BP neural network models in each submodule
[0138]
[0139] Finally, based on the data interaction relationship between modules, the Boosting and Stacking ensemble learning algorithms are used to integrate the model, and the neural network models of the four submodules are integrated and learned using Matlab software to build an integrated fusion reduced-order model. A 200s prediction is performed under the cooling conditions set in Section 3.4.2, and the effect analysis is performed on the thermal comfort of the passenger compartment and the energy consumption of the whole vehicle, that is, the total output of the observed neural network model: passenger compartment temperature and battery SOC, such as Fig.17 and 18 As shown in the figure, it can be seen that the integrated model after the integrated learning of Boosting and Stacking algorithms has stronger prediction accuracy and obvious improvement effect. Among them, the prediction results of the independent model are very different from the original model. Deviations begin to appear from the 8th second, and the deviation becomes larger and larger as time goes by. This phenomenon occurs because when the neural network models of each submodule transmit communication data to each other, there will be a slight deviation in each iteration. Then, during the iteration process, the error continues to accumulate, resulting in worse prediction accuracy. The integrated model can effectively reduce the accumulation of errors during the iteration process because of the existence of the base model and the meta-model. The model accuracy has always remained relatively high, and the relative error with the original calculation model has always been maintained within 3%.
[0140] like Fig.19 As shown in Table 4, the error indicators of the predicted output of the vehicle reduced-order model are compared. It can be clearly observed from the figure that the integrated prediction reduced-order model has a more significant advantage over the independent prediction reduced-order model. The area surrounded by its three error indicators is smaller, which means that it has more accurate prediction accuracy. Among them, under independent fusion, the average relative error of the passenger compartment temperature is 12.86%, the average absolute error is 5.92℃, and the maximum absolute error is 11.5℃. Under integrated fusion, the average relative error of the passenger compartment temperature is 0.55%, and the effect is improved by 95.7%; the average absolute error is 0.25℃, and the effect is improved by 83.1%; the maximum absolute error is 0.9℃, and the effect is improved by 92.2%. For another output object, battery SOC, under independent fusion, its average relative error is 28.4‰, the average absolute error is 0.023%, and the maximum absolute error is 0.037%. Under the integrated fusion, the average relative error of battery SOC is 3.7‰, with an effect improvement of 87.0%; the average absolute error is 0.003%, with an effect improvement of 86.9%; the maximum absolute error is 0.011%, with an effect improvement of 70.3%.
[0141] Table 4 Comparison of error indicators of vehicle reduced-order model prediction output
[0142]
[0143] From the above analysis, it can be seen that the optimization effect of the model integration fusion strategy based on the ensemble learning algorithm is significant. It can predict the model output more accurately, effectively reduce the error, and ensure the prediction performance of the reduced-order neural network model of the whole vehicle.
[0144] To summarize, the embodiments of the present invention address the strong nonlinearity and large time-lag characteristics of the thermal management system of pure electric vehicles, solve the problems of slow real-time control response and poor effect caused by large model calculation amount and slow speed, and establish an integrated neural network reduced-order model for the whole vehicle, which can ensure the accuracy of the model while improving the calculation speed, thereby achieving fast solution and online estimation, and providing a basis for improving the real-time and accuracy of the intelligent control strategy of pure electric vehicles.
[0145] Those skilled in the art can understand that the accompanying drawings are only schematic diagrams of an embodiment, and the modules or processes in the accompanying drawings are not necessarily required to implement the present invention.
[0146] It can be known from the description of the above implementation methods that those skilled in the art can clearly understand that the present invention can be implemented by means of software plus a necessary general hardware platform. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which can be stored in a storage medium such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in the various embodiments of the present invention or certain parts of the embodiments.
[0147] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device or system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. The device and system embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0148] The above is only a preferred specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. A vehicle thermal management control method for a pure electric vehicle, characterized in that: include: The integrated model of pure electric vehicle is divided into passenger compartment submodule, battery submodule, heat pump submodule and electric drive submodule by adopting modular strategy. Establishing BP neural network reduced-order models of the passenger compartment submodule, battery submodule, heat pump submodule and electric drive submodule respectively, and training each BP neural network reduced-order model using a neural network model data set to obtain each trained BP neural network reduced-order model; An integrated learning algorithm is used to integrate the passenger compartment submodule, battery submodule, heat pump submodule and electric drive submodule to obtain an integrated thermal management system reduced-order model. The integrated thermal management system reduced-order model integrates the thermal management control data output by each trained BP neural network reduced-order model to obtain the thermal management control strategy of the pure electric vehicle.
2. The method according to claim 1, characterized in that The modular strategy used to divide the integrated model of the pure electric vehicle into a passenger compartment submodule, a battery submodule, a heat pump submodule and an electric drive submodule includes: The integrated model of the pure electric vehicle is divided into four sub-modules, namely, a passenger compartment sub-module, a battery sub-module, a heat pump sub-module and an electric drive sub-module. The four sub-modules are neural network models. The four sub-modules communicate and calculate by relying on two physical quantities, electricity and heat. The passenger compartment temperature output by the passenger compartment sub-module will be used as the input signal of the heat pump sub-module, and the battery temperature output by the battery sub-module will be used as the input signal of the heat pump sub-module. The input data of the battery sub-module is the battery state of charge SOC at the current moment, and the output data is the battery SOC at the next moment.
3. The method according to claim 1 or 2, characterized in that: The BP neural network reduced-order models of the passenger compartment submodule, the battery submodule, the heat pump submodule and the electric drive submodule are respectively established, and each BP neural network reduced-order model is trained using a neural network model data set to obtain each trained BP neural network reduced-order model, including: Establishing BP neural network reduced-order models of the passenger compartment submodule, battery submodule, heat pump submodule and electric drive submodule respectively, wherein the BP neural network reduced-order model is a multi-layer perceptron structure, including an input layer, a hidden layer and an output layer, and a plurality of neurons are distributed in the hidden layer; A neural network model data set is constructed according to the actual working conditions of cooling and heating of a pure electric vehicle, and the neural network model data set is divided into a training set and a test set in a ratio of 7:3, the training set is used for training the BP neural network reduced-order model, and the test set is used for verification and hyperparameter adjustment of the BP neural network reduced-order model, wherein the hyperparameters include a learning rate, the number of hidden layers, and the number of hidden layer nodes; The Adam optimizer is used to adaptively adjust the learning rate during the iteration process to determine the learning rate of the BP neural network reduced-order model. The BP neural network reduced-order model of each submodule is trained with different numbers of hidden layer nodes. The influence of the number of hidden layer nodes on the BP neural network reduced-order model is analyzed by predicting the average relative error of the output, and the optimal number of hidden layers and hidden layer nodes is determined. The training data in the training set are input into the input layer of the BP neural network reduced-order model of each submodule, the training data are transmitted to the output layer through the nonlinear activation of the hidden layer, the output data of the output layer is compared with the expected output, and the error is obtained. If the error exceeds the set range, the error is propagated back from the output layer layer by layer through the back propagation mechanism, and the weights and thresholds between the layers of the BP neural network reduced-order model are adjusted according to the error. The above processing process is continuously iterated until the prediction error reaches the accuracy requirement or the number of training times reaches the preset value, and each trained BP neural network reduced-order model is obtained.
4. The method according to claim 3, characterized in that The integrated learning algorithm is used to integrate the passenger compartment submodule, battery submodule, heat pump submodule and electric drive submodule to obtain an integrated thermal management system reduced-order model, including: The passenger compartment submodule, battery submodule, heat pump submodule and electric drive submodule are used as weak learners in the integrated learning architecture, and the passenger compartment submodule, battery submodule, heat pump submodule and electric drive submodule are respectively integrated and learned by using the boosting algorithm, and the initial weight coefficient of each training sample is set, and the first round of training is performed on the weak learners corresponding to the four submodules by using each training sample, and the weight coefficient of the training sample is updated according to the prediction error performance of the weak learner, so that the weight of the training sample with a high prediction error rate becomes higher, and the second round of training is performed on the weak learners corresponding to the four submodules by using the training samples with adjusted weight coefficients, and the above processing process is repeatedly iterated until the specified number of cycles is reached, and the passenger compartment submodule, battery submodule, heat pump submodule and electric drive submodule optimized by the boosting algorithm are obtained; The weak learners corresponding to the passenger compartment submodule, battery submodule, heat pump submodule and electric drive submodule optimized by the Boosting algorithm are fused by combining the bagging Stacking algorithm with the K-fold cross-validation method to obtain a reduced-order model of the integrated thermal management system. The reduced-order model of the integrated thermal management system adopts the mean method strategy to sum the predicted outputs of each weak learner and take the average as its final prediction result.
5. The method according to claim 4, characterized in that The integrated thermal management system reduced-order model fuses the thermal management control data output by each trained BP neural network reduced-order model to obtain the thermal management control strategy of the pure electric vehicle, including: The genetic algorithm is used to optimize the connection weights and thresholds of each layer of the trained BP neural network reduction model. In the genetic algorithm optimization process, the weight threshold of the BP neural network reduction model is first encoded to generate an initial population, and then the fitness of the individuals in the population is calculated. The fitness is the predicted output error of the BP neural network reduction model. The fitness is used to measure the quality of the individual, and the individuals with high fitness are selected to stay, and the individuals with low fitness are eliminated. The selected individuals are cross-paired in pairs, and some genes in the chromosomes are exchanged and inherited to the next generation. The next generation will be mutated to produce new excellent individuals in the next generation to increase population diversity. The above process is iterated and executed continuously until the solution time is reached or the error requirement is met or the solution cannot be improved. The cycle is exited and the optimization ends, and the optimized BP neural network reduction model is obtained. The thermal management control data output by the optimized BP neural network reduced-order models of the four sub-modules are used as the input of the integrated thermal management system reduced-order model. The integrated thermal management system reduced-order model fuses the thermal management control data output by the BP neural network reduced-order models of each sub-model to obtain the thermal management control strategy for the entire pure electric vehicle.
Citation Information
Cited By
In-vehicle air conditioner control method, device, equipment, medium and program product
CN119974895A
Hardware-in-the-loop test method and device based on model order reduction control strategy
CN120508089A
Predictive temperature control system for thermal management system of new energy heavy truck
CN120620955A
A predictive temperature control system for thermal management of new energy heavy-duty trucks
CN120620955B
Whole vehicle thermal management model reduction method, device, medium and equipment
CN121457294B
