A method and device for training a neural network model for online control of a turbine cooler
By establishing the thermodynamic response model of the turbine cooler and training the online control neural network model, the problems of low control accuracy and poor energy efficiency in the existing technology are solved, and efficient automation and intelligent control of the turbine cooler are achieved.
Patent Information
- Application Number
- CN202411157843.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-22
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2044-08-22
AI Technical Summary
It is difficult to establish an accurate mathematical model for online and real-time calculation of optimal control quantities of turbine coolers with existing technology, resulting in low control accuracy and poor energy efficiency.
By establishing the thermodynamic response model of the turbine cooler, the optimal control parameter set is generated, and based on these parameters, the online control neural network model is trained, including the classification state recognition convolution layer, the fully connected input layer and the instruction generation neural network layer, and automatically adapts Generate control parameters to improve the automation, intelligence and real-time nature of control.
It realizes continuous control of the optimal control parameters of the turbine cooler, improves the control performance, overcomes the inherent error problem of the offline optimization method, and improves the control accuracy and energy efficiency.
Smart Images

Figure CN118672140B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of aerospace technology, and in particular to a method and device for training a neural network model for online control of a turbine cooler. Background Art
[0002] As a highly efficient heat exchange device, the turbine cooler is widely used in aircraft environmental control tasks. It uses the rotation effect generated by the turbine to enhance the heat exchange between the fluid and the cooling medium, thereby achieving rapid regulation of the fluid temperature. With the continuous development of aircraft technology, the control accuracy and efficiency requirements of the turbine cooler are also increasing, making the control method of the turbine cooler an important research direction. Limited by the limitations of mathematical modeling technology and controller hardware performance, it is difficult to establish an accurate mathematical model for online real-time solution of the optimal control quantity of the turbine cooler.
[0003] At present, the control parameters for airborne turbine coolers are mostly set based on expert experience or offline optimization. The control parameter table under different working conditions is set in advance, and then the real-time flight parameters and environmental parameters are interpolated and calculated to obtain the real-time control parameters. However, this type of control method has inherent errors in mathematical principles, and the existence of this inherent error will eventually affect the final energy efficiency of the turbine cooler and cause energy consumption to increase. Summary of the invention
[0004] In view of this, the present application provides a method and device for training an online control neural network model of a turbine cooler, which can solve the problems of low timeliness and low control accuracy caused by offline optimization of the turbine cooler control model.
[0005] Specifically, the present application is implemented through the following technical solutions:
[0006] The first aspect of the present application provides a method for training a neural network model for online control of a turbine cooler, the method comprising:
[0007] Establish a thermodynamic response model for the turbo cooler;
[0008] generating an optimal control parameter set based on the thermodynamic response model;
[0009] Generate a control parameter sample set based on the optimal control parameter set, wherein the control parameter sample set at least includes operating parameters of the turbine cooler, flight-related parameters, and optimal control parameters corresponding thereto;
[0010] An online control neural network model is trained based on the control parameter sample set, wherein the online control neural network model includes at least a classification state recognition convolution layer, a fully connected input layer and an instruction generation neural network layer, the classification state recognition convolution layer takes the operating parameters of the turbine cooler as input, the fully connected input layer takes the output of the classification state recognition convolution layer and the flight-related parameters as input, the instruction generation neural network layer is connected to the fully connected input layer, and the output is the optimal control parameter.
[0011] A second aspect of the present application provides a turbine cooler online control neural network model training device, the device comprising a building module, a generating module and a training module;
[0012] Wherein, the establishment module is used to establish a thermodynamic response model of the turbine cooler;
[0013] The generating module is used to generate an optimal control parameter set based on the thermodynamic response model;
[0014] The generating module is further used to generate a control parameter sample set based on the optimal control parameter set, wherein the control parameter sample set at least includes an operating condition parameter of a turbine cooler, a flight-related parameter, and an optimal control parameter corresponding thereto;
[0015] The training module is used to train an online control neural network model based on the control parameter sample set, wherein the online control neural network model includes at least a classification state recognition convolution layer, a fully connected input layer and an instruction generation neural network layer, the classification state recognition convolution layer takes the operating parameters of the turbine cooler as input, the fully connected input layer takes the output of the classification state recognition convolution layer and the flight-related parameters as input, the instruction generation neural network layer is connected to the fully connected input layer, and the output is the optimal control parameter.
[0016] The method and device for training the online control neural network model of the turbine cooler provided in the present application construct an online controller, and a classification state recognition convolution layer is provided at the front end of the controller for state recognition of the working condition data as prompt information for generating control instructions. Based on the above structure, the online controller can comprehensively consider the working condition parameters of the turbine cooler environment and the flight-related parameters of the online controller itself, and automatically and adaptively generate control parameters, thereby improving the automation, intelligence and real-time performance of the turbine cooler control. Further, in order to improve the performance of the neural network model for generating control instructions, the method provided by the present invention, according to the structure of the neural network model with the classification state recognition convolution layer, is based on the offline mathematical model, and a large number of training samples are customized to optimize the effect of model training. In this way, the inherent error problem of the optimal control parameter solution method based on "offline optimization + table lookup interpolation" is overcome, and the function mapping relationship between different flight states of the turbine cooler and the optimal control parameter quantity is fitted based on the neural network, so as to realize the continuous control of the optimal control parameters of the turbine cooler and improve the control performance of the turbine cooler. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 A flowchart of Embodiment 1 of the training method for a neural network model for online control of a turbine cooler provided in the present application;
[0018] Figure 2 This is a schematic diagram of the structure of an online control neural network model shown in an exemplary embodiment of the present application;
[0019] Figure 3 A schematic diagram of a deployment process of a neural network model for online control of a turbine cooler according to an exemplary embodiment of the present application;
[0020] Figure 4 This is a structural schematic diagram of Example 1 of the turbine cooler online control neural network model training device provided in this application. DETAILED DESCRIPTION
[0021] Here, exemplary embodiments are described in detail, and examples thereof are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application.
[0022] The terms used in this application are only for the purpose of describing specific embodiments and are not intended to limit this application. The singular forms of "a", "said" and "the" used in this application are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used in this article refers to and includes any or all possible combinations of one or more associated listed items.
[0023] It should be understood that although the terms first, second, third, etc. may be used in the present application to describe various information, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".
[0024] Specific embodiments are given below to introduce the technical solution of the present application in detail.
[0025] Figure 1 This is a flowchart of the first embodiment of the training method for the online control neural network model of the turbine cooler provided in this application. Figure 1 , the method provided in this embodiment may include:
[0026] S101. Establish a thermodynamic response model of a turbine cooler.
[0027] It should be noted that the turbine cooler is a heat exchange device, which is mainly used in cooling systems in high temperature and high pressure environments such as aircraft engines and gas turbines. Its function is to transfer heat from the high temperature area through a cooling medium (usually air or liquid) to ensure that the equipment operates within the optimal temperature range and avoid efficiency loss or damage due to overheating. The turbine cooler is mainly composed of a cooling medium inlet, a heat exchange area, and a cooling medium outlet. The working principle of the turbine cooler is based on heat conduction and convection heat transfer. Through the temperature difference between the cooling medium and the high temperature airflow, the heat is transferred from the high temperature side to the low temperature side, and finally the cooling effect is achieved.
[0028] It should be noted that the thermodynamic response model is a mathematical model that describes the response behavior of the system under different thermodynamic states. For a turbine cooler, the thermodynamic response model is used to predict its performance under different operating conditions, such as the flow rate, temperature change and flow rate of the cooling medium. This model is based on the laws of thermodynamics and the principles of heat transfer, and describes the dynamic behavior of the turbine cooler through mathematical expressions and parameters. Specifically, the process of establishing a thermodynamic response model includes:
[0029] (1) Obtaining input and output data of the turbine cooler under different operating conditions.
[0030] It should be noted that the input and output data of the turbine cooler under different operating conditions can be obtained through experimental measurement or from actual operating data, wherein the data should be guaranteed to cover enough operating conditions. For example, in one embodiment, the input data of the turbine cooler under different operating conditions may include input flow, temperature, speed, etc.; the output data of the turbine cooler under different operating conditions may include output flow, temperature and speed. Among them, different operating conditions may include high temperature and high pressure operating conditions, low temperature and low pressure operating conditions, large flow operating conditions, small flow operating conditions, etc.
[0031] (2) Determine the mathematical structure of the model based on the principles of thermodynamics and heat transfer.
[0032] It should be noted that for the description of the principles of thermodynamics and heat transfer, please refer to the relevant technology, which will not be described in detail in this embodiment. For example, in one embodiment, the mathematical structure of the model is determined to include aspects such as the energy balance equation, the heat transfer equation, the logarithmic mean temperature difference method, and the calculation of the cooling gas flow rate. Among them, the energy balance equation describes the conservation of energy in the turbine cooler, and is mainly used to calculate the transfer of heat in the turbine cooler; the heat transfer equation is used to describe the transfer of heat in the turbine cooler through the heat exchanger, and the heat transfer coefficient, heat exchange area and temperature difference are mainly used to calculate the transferred heat; the logarithmic mean temperature difference method is used to calculate the average temperature difference in the heat exchange process; the cooling gas flow rate is used to describe the flow rate of the cooling medium in the turbine cooler.
[0033] (3) Establishing a thermodynamic response model based on the input and output data of the turbine cooler under different operating conditions and the determined mathematical structure of the model.
[0034] It should be noted that the established thermodynamic response model can calculate the flow rate, temperature, flow rate, etc. of the cooling gas in real time according to the input operating parameters and environmental conditions.
[0035] S102: Generate an optimal control parameter set based on the thermodynamic response model.
[0036] It should be noted that an offline optimization algorithm can be used to generate an optimal control parameter set, and these parameters are used to optimize the performance of the turbine cooler. Specifically, the offline optimization algorithm can be a genetic algorithm or a particle swarm algorithm. The specific implementation can be selected according to actual needs, and this is not limited in this embodiment. Among them, the optimal control parameter set at least includes the operating parameters of the turbine cooler and the corresponding optimal control parameters.
[0037] S103, generating a control parameter sample set based on the optimal control parameter set, wherein the control parameter sample set at least includes operating parameters of the turbine cooler, flight-related parameters, and optimal control parameters corresponding thereto.
[0038] Specifically, generating a control parameter sample set based on the optimal control parameter set includes:
[0039] (1) Establish a thermodynamic response model of the turbine cooler.
[0040] (2) Calculating a turbine cooler inlet pressure based on the flight-related parameters and the thermodynamic response model.
[0041] Specifically, the inlet pressure of the turbine cooler can be calculated using the standard atmospheric model and aerodynamic formulas. The standard atmospheric model is a model used to describe the temperature, pressure, density and other characteristics of the earth's atmosphere at different altitudes. The commonly used standard atmospheric model is the International Standard Atmosphere (ISA) model, which is based on the average atmospheric state in mid-latitudes. The aerodynamic formula is mainly used to study the movement of objects in the air. The main forces involved include the lift equation, the drag equation, etc. For details, please refer to the description of the relevant technology, which will not be repeated here.
[0042] In this way, through the standard atmosphere model, parameters such as temperature, pressure and density at different altitudes can be obtained. These parameters are the basis for aerodynamic calculations. Combined with aerodynamic formulas, the force conditions of objects in the air can be analyzed and calculated, providing a theoretical basis for the design and optimization of aircraft, turbine coolers, etc.
[0043] (3) optimizing the turbine cooler inlet pressure based on an offline optimization algorithm to generate optimal control parameters;
[0044] Specifically, the offline optimization algorithm includes:
[0045] (31) Initialize the particle swarm size of the optimal control parameter set.
[0046] For example, in one embodiment, the particle swarm size can be set to 100. It should be noted that when initializing the particle swarm size of the optimal control parameter set, the initial position and speed of each particle can also be set, wherein the position of each particle represents the inlet pressure of the turbine cooler and other related control parameters.
[0047] (32) According to the particle velocity of the particle group, the turbine cooler inlet pressure evaluation function is established.
[0048] It should be noted that the particle speed of the particle group can be set according to actual needs and is not limited in this embodiment.
[0049] (33) Evaluate the performance of each particle based on the evaluation function.
[0050] Specifically, the inlet pressure of the turbine cooler can be calculated according to the position of the particles, and its performance can be evaluated, wherein the performance can be an objective function value such as energy consumption and efficiency.
[0051] (34) The speed and position of each particle are updated according to the performance of the particle and in combination with the speed and position update formula of the particle swarm algorithm.
[0052] In the specific implementation, for each inlet pressure particle, its current fitness value is compared with its individual historical optimal value, the isolation optimal value and the corresponding inlet pressure value are updated, and then the speed and position of each particle are updated according to the speed and position update formula of the particle swarm algorithm.
[0053] (35) Check whether the termination condition of the iteration is met. If so, stop the iteration; if not, continue the loop iteration.
[0054] Check whether the iteration termination condition is met. If the maximum number of iterations is not reached, the iteration is repeated; if the set termination condition is reached, the iteration is stopped and the optimal inlet pressure value at the flight state point is output; switch to the next flight state point and execute the above particle swarm optimization process until the entire preset flight envelope state point is traversed to form the corresponding optimal control parameter (compressor optimal inlet pressure) sample set at each flight state point.
[0055] (4) Generate a control parameter sample set based on the optimal control parameters and the corresponding flight-related parameters.
[0056] Specifically, the control parameter sample set includes at least operating parameters of the turbine cooler, flight-related parameters, and corresponding optimal control parameters.
[0057] Among them, the operating parameters of the turbine cooler include at least the operating parameters of the turbine cooler under the load state, and the classification state recognition convolution layer identifies the operating state of the turbine cooler based on the operating parameters; the flight-related parameters include at least flight altitude, flight speed, power generation and heat load; and the optimal control parameter is the optimal inlet pressure of the turbine cooler.
[0058] S104. Training an online control neural network model based on the control parameter sample set, wherein the online control neural network model comprises at least a classification state recognition convolution layer, a fully connected input layer and an instruction generation neural network layer, the classification state recognition convolution layer takes the operating parameters of the turbine cooler as input, the fully connected input layer takes the output of the classification state recognition convolution layer and the flight-related parameters as input, the instruction generation neural network layer is connected to the fully connected input layer, and the output is the optimal control parameter.
[0059] Figure 2 This is a schematic diagram of the structure of an online control neural network model shown in an exemplary embodiment of the present application. Please refer to Figure 2The classification state recognition convolution layer includes an input layer, a preset number of convolution layers and a classification state recognition output layer; wherein the input layer is used to receive the operating parameters of the turbine cooler, the preset number of convolution layers are used to extract the multi-dimensional features of the operating parameters, and the classification state recognition output layer is used to identify the classification state recognition results of the operating parameters of the turbine cooler according to the multi-dimensional features.
[0060] The instruction generation neural network layer includes a preset number of fully connected layers and an output layer; wherein the fully connected layer includes a preset number of fully connected convolutional layers, the first convolutional layer in the fully connected layer is connected to the fully connected input layer, and is used to extract the multi-dimensional features of the input information of the fully connected input layer, and the output layer is used to predict and output optimal control parameters based on the multi-dimensional features.
[0061] It should be noted that training the online control neural network model based on the control parameter sample set can enable the neural network to better fit the mapping relationship between different flight state points of the turbine cooler and the optimal control parameters.
[0062] Please continue to refer to Figure 2 , the number of convolutional layers is set according to actual needs and is not limited in this embodiment. For example, in one embodiment, a 4-layer one-dimensional convolutional neural network is designed for flight state recognition, the number of input neuron nodes is 4, and the input vectors are real-time flight altitude, real-time flight speed, power generation, and heat load; the number of convolution kernels of the four convolutional layers is 16, 32, 32, 16, the convolution kernel length is 3, and the number of output layer neuron stages is 1; a 5-layer fully connected network is designed as an online control neural network, and the number of neuron nodes in each network layer is 5, 400, 400, 400, 1, respectively, where the first layer is the input layer, and the real-time flight altitude, real-time flight speed, power generation, and heat load of the power and thermal management system are input, and the last layer is the output layer, and the output value is the turbine cooler inlet pressure, as shown in Table 1:
[0063] Table 1 Structural parameters of online control neural network
[0064] Layer number Layer structure Number of neuron nodes ① Input Layer 4 ② Fully connected layer / activation layer 400 ③ Fully connected layer / activation layer 400 ④ Fully connected layer / activation layer 400 ⑤ Output Layer 1
[0065] It should be noted that, after the online control neural network model is trained based on the control parameter sample set, the model is further compressed; wherein the model is compressed, including:
[0066] Reducing the number of neuron nodes in each neural network layer of the trained online control neural network model based on pruning;
[0067] Retraining the pruned online control neural network model using the optimal control parameter set; wherein the prediction accuracy of the retrained online control neural network model is greater than a preset threshold, and the prediction time is less than a preset threshold;
[0068] Repeat the above steps of pruning to reduce the number of neuron nodes and retraining using the optimal control parameters until an optimal online control neural network that meets the control parameter prediction accuracy and algorithm real-time performance is obtained.
[0069] It should be noted that, considering the limited computing and storage resources of embedded chips, the structure of the trained neural network model needs to be optimized to reduce the hardware computing and storage resources consumed when deploying the algorithm and improve the real-time performance of the algorithm. Please refer to the example in Table 1. For example, the final optimization is to a 5-layer neural network as the final network structure state. The number of neurons in the 5-layer neural network is 4, 20, 40, 20, and 1 respectively. The structural parameters of the online control neural network after optimization are shown in Table 2:
[0070] Table 2 Structural parameters of the optimized online control neural network
[0071] Layer number Layer structure Number of neuron nodes ① Input Layer 4 ② Fully connected layer / activation layer 20 ③ Fully connected layer / activation layer 40 ④ Fully connected layer / activation layer 20 ⑤ Output Layer 1
[0072] Figure 3 This is a schematic diagram of the deployment process of the neural network model for online control of a turbine cooler shown in an exemplary embodiment of the present application. Please refer to Figure 3 In order to deploy the online control neural network model in the embedded main control chip of PTMU, it is necessary to develop the neural network reasoning calculation library from Python language to C++ language. To this end, it is necessary to export the trained neural network model parameters, reconstruct the basic neural network operator library such as the fully connected layer and activation layer based on C++ language, and reconstruct the neural network forward reasoning model based on C++ language in the main control program, and finally output the control target prediction value. Specifically, deploy the online control neural network model, and the deployment includes:
[0073] Saving control parameters and neuron weight parameters of the optimal online control neural network model;
[0074] Reconstructed neural network operator library based on C++ language;
[0075] Reconstruct the neural network forward reasoning model based on C++ language and output the control target prediction value.
[0076] The method for training the online control neural network model of the turbine cooler provided in this embodiment establishes a thermodynamic response model of the turbine cooler, thereby generating an optimal control parameter set based on the thermodynamic response model, and then generating a control parameter sample set based on the optimal control parameter set, wherein the control parameter sample set at least includes the operating parameters of the turbine cooler, the flight-related parameters and the corresponding optimal control parameters, and finally, the online control neural network model is trained based on the control parameter sample set. The method and device provided by the present invention construct an online controller, and a classification state recognition convolution layer is provided at the front end of the controller, which is used to perform state recognition on the operating data as a prompt information for generating control instructions. Based on the above structure, the online controller can comprehensively consider the operating parameters of the turbine cooler environment and the flight-related parameters of the online controller itself, and automatically and adaptively generate control parameters, thereby improving the automation, intelligence and real-time performance of the turbine cooler control. Furthermore, in order to improve the performance of the neural network model for generating control instructions, the method provided by the present invention, according to the structure of the neural network model with a classification state recognition convolution layer, is based on an offline mathematical model, and a large number of training samples are customized to optimize the effect of model training. In this way, the inherent error problem of the optimal control parameter solution method based on "offline optimization + table interpolation" is overcome, and the function mapping relationship between different flight states of the turbine cooler and the optimal control parameter quantity is fitted based on the neural network, so as to realize the continuous control of the optimal control parameters of the turbine cooler; in view of the problem that the optimal control parameters of the turbine cooler under a wide flight envelope are mapped to piecewise continuity, a multi-task neural network algorithm model is designed to realize pattern recognition and optimal control parameter fitting tasks for the original input data, thereby improving the control performance of the turbine cooler. At the same time, based on the network pruning method, the network of the trained online control neural network model is compressed, and the compressed neural network is deployed in the turbine cooler control program, which can meet the real-time requirements of the intelligent control algorithm, realize real-time online control of the turbine cooler, and avoid the problem that the mathematical model for accurately solving the optimal control parameters is difficult to solve in real time online. In addition, based on the genetic algorithm and the thermodynamic response model of the turbine cooler, the optimal control quantity corresponding to the turbine cooler at different flight state points in the entire flight envelope is optimized offline to form a data set; a multi-task neural network is constructed to simultaneously realize pattern recognition and optimal control law fitting tasks for input vectors such as flight state and environmental parameters. The data set obtained by offline optimization is used to train the neural network to realize the fitting of the mapping relationship between the real-time flight state of the turbine cooler and the optimal control parameters, and to achieve the optimal control quantity output under multiple control modes.
[0077] Corresponding to the aforementioned embodiment of a method for training a neural network model for online control of a turbine cooler, the present application also provides an embodiment of a device for training a neural network model for online control of a turbine cooler.
[0078] Figure 4 This is a schematic diagram of the structure of the embodiment 1 of the turbine cooler online control neural network model training device provided in this application. Figure 4 , the device provided in this embodiment includes an establishment module 410, a generation module 420 and a training module 430;
[0079] Wherein, the establishment module 410 is used to establish a thermodynamic response model of the turbine cooler;
[0080] The generating module 420 is used to generate an optimal control parameter set based on the thermodynamic response model;
[0081] The generating module 420 is further configured to generate a control parameter sample set based on the optimal control parameter set, wherein the control parameter sample set at least includes operating parameters of the turbine cooler, flight-related parameters, and optimal control parameters corresponding thereto;
[0082] The training module 430 is used to train an online control neural network model based on the control parameter sample set, wherein the online control neural network model includes at least a classification state recognition convolution layer, a fully connected input layer and an instruction generation neural network layer, the classification state recognition convolution layer takes the operating parameters of the turbine cooler as input, the fully connected input layer takes the output of the classification state recognition convolution layer and the flight-related parameters as input, the instruction generation neural network layer is connected to the fully connected input layer, and the output is the optimal control parameter.
[0083] The device of this embodiment can be used to perform Figure 1 The steps, specific implementation principles and implementation processes of the method embodiment shown are similar and will not be repeated here.
[0084] The implementation process of the functions and effects of each unit in the above-mentioned device is specifically described in the implementation process of the corresponding steps in the above-mentioned method, and will not be repeated here.
[0085] For the device embodiment, since it basically corresponds to the method embodiment, the relevant parts can refer to the partial description of the method embodiment. The device embodiment described above is only 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 present application scheme. A person of ordinary skill in the art can understand and implement it without paying any creative work.
[0086] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application.
Claims
1. A method for training a neural network model for online control of a turbine cooler. It is characterized in that The method comprises: Establish a thermodynamic response model for the turbine cooler; generating an optimal control parameter set based on the thermodynamic response model; Generate a control parameter sample set based on the optimal control parameter set, wherein the control parameter sample set at least includes operating parameters of the turbine cooler, flight-related parameters, and optimal control parameters corresponding thereto; An online control neural network model is trained based on the control parameter sample set, wherein the online control neural network model at least includes a classification state recognition convolution layer, a fully connected input layer and an instruction generation neural network layer, the classification state recognition convolution layer uses the operating parameters of the turbine cooler as input, the fully connected input layer uses the output of the classification state recognition convolution layer and the flight-related parameters as input, and the instruction generation neural network layer is connected to the fully connected input layer, and the output is the optimal control parameter; The classification state recognition convolution layer includes an input layer, a preset number of convolution layers and a classification state recognition output layer; wherein the input layer is used to receive the operating parameters of the turbine cooler, the preset number of convolution layers are used to extract the multi-dimensional features of the operating parameters, and the classification state recognition output layer is used to identify the classification state recognition result of the operating parameters of the turbine cooler according to the multi-dimensional features; The instruction generation neural network layer includes a preset number of fully connected layers and an output layer; wherein the fully connected layer includes a preset number of fully connected convolutional layers, the first convolutional layer in the fully connected layer is connected to the fully connected input layer, and is used to extract multi-dimensional features of input information of the fully connected input layer, and the output layer is used to predict and output optimal control parameters according to the multi-dimensional features; Generating a control parameter sample set based on the optimal control parameter set comprises: calculating a turbine cooler inlet pressure based on the flight-related parameters and the thermodynamic response model; Optimizing the turbine cooler inlet pressure based on an offline optimization algorithm to generate optimal control parameters; A control parameter sample set is generated based on the optimal control parameters and the corresponding flight-related parameters.
2. The method according to claim 1, It is characterized in that The operating parameters of the turbine cooler include at least the operating parameters of the turbine cooler under load state, and the classification state recognition convolution layer identifies the operating state of the turbine cooler based on the operating parameters; the flight-related parameters include at least flight altitude, flight speed, power generation and heat load; and the optimal control parameter is the optimal inlet pressure of the turbine cooler.
3. The method according to claim 1, It is characterized in that The process of establishing the thermodynamic response model includes: Acquiring input and output data of the turbine cooler under different operating conditions; Determine the mathematical structure of the model based on the principles of thermodynamics and heat transfer; A thermodynamic response model is established based on the input and output data of the turbine cooler under different operating conditions and the determined mathematical structure of the model.
4. The method according to claim 1, It is characterized in that The offline optimization algorithm includes: Initialize the particle swarm size of the optimal control parameter set; According to the particle velocity of the particle group, the evaluation function of the turbine cooler inlet pressure is established; Evaluate the performance of each particle based on the evaluation function; According to the performance of the particle and in combination with the speed and position update formula of the particle swarm algorithm, the speed and position of each particle are updated; Check whether the termination condition of the iteration is met. If it is met, stop the iteration; if not, continue the loop iteration.
5. The method according to claim 1, It is characterized in that After the online control neural network model is trained based on the control parameter sample set, the method further includes compressing the model; wherein the compressing the model includes: Reducing the number of neuron nodes in each neural network layer of the trained online control neural network model based on pruning; Retraining the pruned online control neural network model using the optimal control parameter set; wherein the prediction accuracy of the retrained online control neural network model is greater than a preset threshold, and the prediction time is less than a preset threshold; Repeat the above steps of pruning to reduce the number of neuron nodes and retraining using the optimal control parameters until an optimal online control neural network that meets the control parameter prediction accuracy and algorithm real-time performance is obtained.
6. The method according to claim 5, It is characterized in that After the online control neural network model is trained based on the control parameter sample set, the online control neural network model is deployed. The deployment includes: Saving control parameters and neuron weight parameters of the optimal online control neural network model; Reconstructed neural network operator library based on C++ language; Reconstruct the neural network forward reasoning model based on C++ language and output the control target prediction value.
7. A neural network model training device for online control of a turbine cooler, It is characterized in that The device comprises a building module, a generating module and a training module; wherein, The establishment module is used to establish a thermodynamic response model of the turbine cooler; The generating module is used to generate an optimal control parameter set based on the thermodynamic response model; The generating module is further used to generate a control parameter sample set based on the optimal control parameter set, wherein the control parameter sample set at least includes an operating condition parameter of a turbine cooler, a flight-related parameter, and an optimal control parameter corresponding thereto; The training module is used to train an online control neural network model based on the control parameter sample set, wherein the online control neural network model at least includes a classification state recognition convolution layer, a fully connected input layer and an instruction generation neural network layer, the classification state recognition convolution layer uses the operating parameters of the turbine cooler as input, the fully connected input layer uses the output of the classification state recognition convolution layer and the flight-related parameters as input, and the instruction generation neural network layer is connected to the fully connected input layer, and the output is the optimal control parameter; The classification state recognition convolution layer includes an input layer, a preset number of convolution layers and a classification state recognition output layer; wherein the input layer is used to receive the operating parameters of the turbine cooler, the preset number of convolution layers are used to extract the multi-dimensional features of the operating parameters, and the classification state recognition output layer is used to identify the classification state recognition result of the operating parameters of the turbine cooler according to the multi-dimensional features; The instruction generation neural network layer includes a preset number of fully connected layers and an output layer; wherein the fully connected layer includes a preset number of fully connected convolutional layers, the first convolutional layer in the fully connected layer is connected to the fully connected input layer, and is used to extract multi-dimensional features of input information of the fully connected input layer, and the output layer is used to predict and output optimal control parameters according to the multi-dimensional features; Generating a control parameter sample set based on the optimal control parameter set comprises: calculating a turbine cooler inlet pressure based on the flight-related parameters and the thermodynamic response model; Optimizing the turbine cooler inlet pressure based on an offline optimization algorithm to generate optimal control parameters; A control parameter sample set is generated based on the optimal control parameters and the corresponding flight-related parameters.
Citation Information
Patent Citations
Method for inspecting novel integrated electronic regulator for aeroengine
CN108061656A
Turbine cooler fault diagnosis device and method with real-time database
CN114755038A
