Disclosure of Invention
The invention aims to provide a temperature regulation method and a temperature regulation system for a main loop of a thermal hydraulic experimental system, which solve the problems that the main loop of the thermal hydraulic experimental system is difficult to maintain relatively stable and the flow fluctuation of the main loop is large in the experimental process while regulating and controlling the temperature.
The invention is realized by the following technical scheme:
a temperature regulation and control method for a main loop of a thermal hydraulic experiment system comprises the following steps
Collecting historical data of a thermal hydraulic experiment system, wherein the historical data comprises experiment branch heating power, primary side inlet fluid flow of a cooler, primary side inlet fluid temperature of the cooler, cooling water inlet fluid temperature and valve opening value;
training a valve opening prediction model to be trained by adopting experimental branch heating power, cooler primary side inlet fluid flow, cooler primary side inlet fluid temperature, cooling water inlet fluid temperature and valve opening value to obtain a valve opening prediction model after training;
taking real-time experimental branch heating power, primary side inlet fluid flow of a cooler, primary side inlet fluid temperature of the cooler and cooling water inlet fluid temperature as input parameters of a valve opening prediction model, and predicting in real time to obtain a valve opening feedforward value;
Obtaining a valve opening feedback value according to the deviation between the temperature of the main loop fluid and the target value of the temperature of the main loop fluid;
And adding the valve opening feedforward value and the valve opening feedback value to obtain a valve opening value XPoint, and respectively controlling the cooling water flow regulating valve, the bypass flow regulating valve of the main loop cooler and the bypass flow regulating valve of the main loop cooler according to the valve opening value to realize the temperature regulation and control of the main loop of the thermal hydraulic experimental system.
As one possible design, in the valve opening prediction model, the experimental branch heating power, the primary side inlet fluid flow rate of the cooler, the primary side inlet fluid temperature of the cooler, and the cooling water inlet fluid temperature are taken as input parameters, and the valve opening value is taken as an output result.
As one possible design, the valve opening feedback value is obtained by using a PID control algorithm.
As one possible design, the cooling water flow regulating valve is used for controlling, in particular, the opening of the cooling water flow regulating valve is regulated, and the regulating range is more than or equal to 0 and less than or equal to XB < XA and less than or equal to 1;
when XPoint is less than or equal to XB, the opening of the cooling water flow regulating valve is kept to be XB;
when XB is less than XPoint XA, the opening of the cooling water flow regulating valve is XPoint;
and when XA is less than or equal to XPoint, the opening of the cooling water flow regulating valve is kept to be XA.
As one possible design, the above-mentioned loop cooler bypass flow regulating valve controls, specifically, regulates the opening of the loop cooler bypass flow regulating valve, and the regulating range is 0 to or less XE < XF to or less 1;
When (1-Xpoint) is less than or equal to XE, the opening of the cooling water flow regulating valve is kept to be XE;
when XE < (1-Xpoint) < XF, the opening of the cooling water flow regulating valve is (1-Xpoint);
when XF is less than or equal to (1-XPoint), the opening degree of the cooling water flow regulating valve is kept to be XF.
As one possible design, the main circuit cooler branch flow regulating valve is used for controlling, specifically, the opening of the main circuit cooler branch flow regulating valve is regulated, and the regulating range is 0-XD < XC-1;
when XPoint is less than or equal to XD, the opening degree of the main loop cooler branch flow regulating valve is kept to be XD;
When XD is less than XPoint < XC, the opening degree of the main loop cooler branch flow regulating valve is XPoint;
when XC is less than or equal to XPoint, the opening degree of the branch flow regulating valve of the main loop cooler is kept to be XC.
A temperature regulation and control system of a main loop of a thermal hydraulic experimental system is applied to the thermal hydraulic experimental system and comprises
The system comprises a first parameter acquisition module, a second parameter acquisition module and a control module, wherein the first parameter acquisition module is used for acquiring historical data of a thermal hydraulic experimental system, and the historical data comprise experimental branch heating power, primary side inlet fluid flow of a cooler, primary side inlet fluid temperature of the cooler, cooling water inlet fluid temperature and valve opening value;
the model training module is used for training a valve opening prediction model to be trained by adopting experimental branch heating power, cooler primary side inlet fluid flow, cooler primary side inlet fluid temperature, cooling water inlet fluid temperature and valve opening value, and obtaining a valve opening prediction model after training;
The second parameter acquisition module is used for acquiring the heating power of a real-time experiment branch of the thermal hydraulic experiment system, the primary side inlet fluid flow of the cooler, the primary side inlet fluid temperature of the cooler and the cooling water inlet fluid temperature;
The prediction module inputs the heating power of the real-time experimental branch, the fluid flow of the primary side inlet of the cooler, the fluid temperature of the primary side inlet of the cooler and the fluid temperature of the cooling water inlet into a valve opening prediction model, and predicts to obtain a valve opening feedforward value;
The third parameter acquisition module is used for acquiring the temperature of the fluid of the main loop in real time;
the first calculation module is used for calculating a valve opening feedback value according to the deviation between the fluid temperature of the main loop and the target value of the fluid temperature of the main loop;
the second calculation module is used for adding the valve opening feedforward value and the valve opening feedback value to obtain a valve opening value;
The regulation and control module is connected with the thermal hydraulic experimental system and respectively controls the opening of the cooling water flow regulating valve, the bypass flow regulating valve of the main loop cooler and the bypass flow regulating valve of the main loop cooler according to the valve opening value so as to regulate and control the temperature of the main loop of the thermal hydraulic experimental system.
A host device includes
A memory for storing a computer program;
And the processor is used for realizing the temperature regulation and control method of the main loop of the thermodynamic hydraulic experimental system when executing the computer program.
A computer program product comprising computer programs/instructions which when executed by a processor implement the steps of a method for controlling the temperature of a main circuit of a thermal hydraulic experimental system as described above.
A computer readable storage medium, in which computer executable instructions are stored, the computer executable instructions when loaded and executed by a processor implement a method for controlling the temperature of a main loop of a thermal hydraulic experimental system as described above.
Compared with the prior art, the invention has the following advantages and beneficial effects:
Compared with the traditional control method, the invention has the advantages that the experimental body heating power is introduced as the input of the main loop temperature feedforward controller based on artificial intelligence, the rapid response to the power change of the thermal hydraulic experimental system with large hysteresis can be realized, the problem of severe fluctuation of main loop temperature control caused by system hysteresis in the large-range variable power working condition of the experimental branch is effectively avoided, the nonlinear characteristics of the heat exchanger are considered due to the introduction of the primary side inlet flow of the cooler, the primary side inlet temperature of the cooler and the cooling water temperature as the input of the valve opening prediction model, and therefore, the control precision of the temperature value can be effectively improved.
Detailed Description
For the purpose of making apparent the objects, technical solutions and advantages of the present invention, the present invention will be further described in detail with reference to the following examples and the accompanying drawings, wherein the exemplary embodiments of the present invention and the descriptions thereof are for illustrating the present invention only and are not to be construed as limiting the present invention. The specific conditions are not noted in the examples and are carried out according to conventional conditions or conditions recommended by the manufacturer. The reagents or apparatus used were conventional products commercially available without the manufacturer's attention.
It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Those of ordinary skill in the art will appreciate that implementing all or part of the above facts and methods may be accomplished by a program to instruct related hardware, the program involved or the program may be stored in a computer readable storage medium which when executed includes the steps of bringing out the corresponding method steps at this time, the storage medium may be a ROM/RAM, a magnetic disk, an optical disk, etc.
Because flow, temperature, heating power and the like on an experiment branch often change according to working condition requirements in a thermal hydraulic experiment process, in order to better provide proper inlet temperature adjustment for an experiment body, a main loop of a thermal hydraulic experiment system is often required to be controlled to maintain relatively stable temperature, and in order to keep the operation of a main circulating pump stable, the fluctuation range of the flow of the main loop is also required to be not large when the temperature of the main loop is adjusted. This is therefore in contradiction to the constantly changing conditions of the system heat source (bulk heating power), for which reason it is necessary to constantly adjust the main circuit temperature by adjusting the cooling water flow, the main circuit cooler bypass flow, and the main circuit cooler bypass flow. However, because the thermal hydraulic experimental system has the characteristics of nonlinearity and large hysteresis, the stability of the main loop of the thermal hydraulic experimental system is difficult to maintain. The invention provides a temperature regulation and control method for a main loop of a thermal hydraulic experiment system, which aims to solve the problems, maintain the main loop of the thermal hydraulic experiment system relatively stable in the experiment process, have small flow fluctuation of the main loop and improve the reliability and efficiency of experimental research.
Referring to fig. 1, the thermal hydraulic experimental system of fig. 1 is merely an example, and the temperature regulation method of the present invention is applicable to any thermal hydraulic experimental system.
In a first aspect, referring to fig. 2, the present invention provides a method for controlling the temperature of a main loop of a thermal hydraulic experiment system, including
S1, acquiring historical data of a thermal hydraulic experimental system, wherein the historical data comprises experimental branch heating power, primary side inlet fluid flow of a cooler, primary side inlet fluid temperature of the cooler, cooling water inlet fluid temperature and valve opening value.
The inventor researches and discovers that in the thermal hydraulic experiment process, the flow, the temperature, the heating power and the like on an experiment branch are often changed according to working condition requirements, so that in order to better provide proper inlet temperature adjustment for an experiment body, a main loop of the thermal hydraulic experiment system is often required to be controlled to maintain relatively stable temperature, and in order to keep the operation stability of a main circulating pump, the fluctuation range of the flow of the main loop is also required to be small when the temperature of the main loop is adjusted. Therefore, the system is contradictory to the condition that the system heat source (body heating power) is changed frequently, therefore, the cooling water flow, the bypass flow of the main loop cooler and the bypass flow of the main loop cooler are required to be adjusted continuously to adjust the temperature of the main loop, and the thermal hydraulic experimental system has the characteristics of nonlinearity and large hysteresis. The experimental branch heating power, the primary side inlet fluid flow of the cooler, the primary side inlet fluid temperature of the cooler and the cooling water inlet fluid temperature are used as inputs, and the valve opening feedforward value is predicted by the main loop temperature feedforward controller, so that the valve opening value with high accuracy of an actual result can be obtained, the prediction of the valve opening value can be realized, and the regulation and control of the main loop temperature can be further realized.
S2, referring to FIG. 4, training a valve opening prediction model to be trained by adopting experimental branch heating power, cooler primary side inlet fluid flow, cooler primary side inlet fluid temperature, cooling water inlet fluid temperature and valve opening value, and obtaining a valve opening prediction model after training.
Preferably, the valve opening prediction model adopts an artificial neural network algorithm or a convolution neural algorithm.
The artificial neural network algorithm or the convolution neural algorithm has remarkable advantages in the aspect of processing nonlinear relations and complex data modes, and is suitable for the control characteristics of multivariable nonlinear coupling of a thermal hydraulic experimental system. Firstly, artificial Neural Networks (ANN) and Convolutional Neural Networks (CNN) can learn and simulate the complex nonlinear relationship through the weighted connection and nonlinear activation functions of the multi-layer nodes, which enables them to more accurately predict the feedforward values of the valve opening under different input conditions, thereby improving the control accuracy, and secondly, they can automatically adjust weights through training, thereby realizing the self-adaption to system changes. The model can be continuously optimized through retraining along with accumulation of historical data so as to adapt to the change of system parameters or new operation conditions and ensure continuous optimization of regulation and control effects, the convolutional neural network is excellent in processing image data, the local connection and weight sharing mechanism is also suitable for processing data with spatial or time sequence characteristics, such as the change of primary side inlet fluid flow of a cooler along with time, the model is helpful for extracting key characteristics in input data, reducing redundant information and improving prediction efficiency, the neural network model can be generalized to unseen data through enough training, the model can provide reliable prediction even in the face of small change of experimental conditions, the change of experimental branch heating power has relatively direct influence on the temperature of an experimental main loop, the adoption of the neural network model is critical for maintaining the stability and control accuracy of the experimental system, and the structure of the neural network, particularly CNN, is suitable for parallel calculation, the calculation efficiency can be remarkably improved when a large amount of data is processed, and the quick response is critical for a real-time control system.
In some embodiments of the present invention, in the valve opening prediction model, the experimental branch heating power, the primary side inlet fluid flow rate of the cooler, the primary side inlet fluid temperature of the cooler, and the cooling water inlet fluid temperature are used as input parameters, and the valve opening value is used as an output result.
S3, taking real-time experimental branch heating power, primary side inlet fluid flow of the cooler, primary side inlet fluid temperature of the cooler and cooling water inlet fluid temperature as input parameters of a valve opening prediction model, and predicting in real time to obtain a valve opening feedforward value.
And S4, obtaining a valve opening feedback value according to the deviation of the main loop fluid temperature and the main loop fluid temperature target value.
In some embodiments of the present invention, the valve opening feedback value is obtained by using a PID control algorithm.
The method is used for monitoring the deviation between the fluid temperature of the main loop and the target temperature in real time, and can effectively reduce steady-state errors, inhibit oscillation and accelerate response speed through the combination of proportional, integral and differential terms, so that the system can reach the set temperature stably and accurately.
And S5, adding the valve opening feedforward value and the valve opening feedback value to obtain a valve opening value XPoint, and respectively controlling the cooling water flow regulating valve, the main loop cooler bypass flow regulating valve and the main loop cooler bypass flow regulating valve according to the valve opening value to realize the temperature regulation and control of the main loop of the thermal hydraulic experimental system.
The step is to control the cooling water flow regulating valve, the bypass flow regulating valve of the main loop cooler and the bypass flow regulating valve of the main loop cooler respectively, specifically, a split-control strategy is adopted to maintain the main loop temperature of the thermal hydraulic test to be relatively constant and the flow fluctuation of the main loop is not large.
In some embodiments of the present invention, the cooling water flow rate adjusting valve specifically adjusts the opening of the cooling water flow rate adjusting valve, where the adjusting range is 0-XB < XA-1;
when XPoint is less than or equal to XB, the opening of the cooling water flow regulating valve is kept to be XB;
when XB is less than XPoint XA, the opening of the cooling water flow regulating valve is XPoint;
and when XA is less than or equal to XPoint, the opening of the cooling water flow regulating valve is kept to be XA.
In some embodiments of the present invention, the loop cooler bypass flow control valve specifically adjusts the opening of the loop cooler bypass flow control valve, where the adjustment range is 0 to XE < XF to 1;
When (1-Xpoint) is less than or equal to XE, the opening of the cooling water flow regulating valve is kept to be XE;
when XE < (1-Xpoint) < XF, the opening of the cooling water flow regulating valve is (1-Xpoint);
when XF is less than or equal to (1-XPoint), the opening degree of the cooling water flow regulating valve is kept to be XF.
In some embodiments of the present invention, the main circuit cooler branch flow rate adjusting valve specifically adjusts the opening of the main circuit cooler branch flow rate adjusting valve, where the adjustment range is 0.ltoreq.XD < XC.ltoreq.1;
when XPoint is less than or equal to XD, the opening degree of the main loop cooler branch flow regulating valve is kept to be XD;
When XD is less than XPoint < XC, the opening degree of the main loop cooler branch flow regulating valve is XPoint;
when XC is less than or equal to XPoint, the opening degree of the branch flow regulating valve of the main loop cooler is kept to be XC.
According to the invention, the automatic control of the temperature of the main loop can be realized by an automatic control means according to the heating power working conditions of different experimental branches.
In a second aspect, the invention provides a temperature regulation system of a main loop of a thermal hydraulic experimental system, which is applied to the thermal hydraulic experimental system and comprises
The system comprises a first parameter acquisition module, a second parameter acquisition module and a control module, wherein the first parameter acquisition module is used for acquiring historical data of a thermal hydraulic experimental system, and the historical data comprise experimental branch heating power, primary side inlet fluid flow of a cooler, primary side inlet fluid temperature of the cooler, cooling water inlet fluid temperature and valve opening value;
the model training module is used for training a valve opening prediction model to be trained by adopting experimental branch heating power, cooler primary side inlet fluid flow, cooler primary side inlet fluid temperature, cooling water inlet fluid temperature and valve opening value, and obtaining a valve opening prediction model after training;
The second parameter acquisition module is used for acquiring the heating power of a real-time experiment branch of the thermal hydraulic experiment system, the primary side inlet fluid flow of the cooler, the primary side inlet fluid temperature of the cooler and the cooling water inlet fluid temperature;
The prediction module inputs real-time experimental branch heating power, primary side inlet fluid flow of the cooler, primary side inlet fluid temperature of the cooler and cooling water inlet fluid temperature into a valve opening prediction model, and predicts to obtain a valve opening feedforward value;
The third parameter acquisition module is used for acquiring the temperature of the fluid of the main loop in real time;
the first calculation module is used for calculating a valve opening feedback value according to the deviation between the fluid temperature of the main loop and the target value of the fluid temperature of the main loop;
the second calculation module is used for adding the valve opening feedforward value and the valve opening feedback value to obtain a valve opening value;
The regulation and control module is connected with the thermal hydraulic experimental system and respectively controls the opening of the cooling water flow regulating valve, the bypass flow regulating valve of the main loop cooler and the bypass flow regulating valve of the main loop cooler according to the valve opening value so as to regulate and control the temperature of the main loop of the thermal hydraulic experimental system.
Preferably, the prediction module includes a main loop temperature feedforward controller, configured to receive real-time experimental branch heating power, primary side inlet fluid flow of the cooler, primary side inlet fluid temperature of the cooler, and cooling water inlet fluid temperature, and a valve opening prediction model is provided in the prediction module, so as to output and predict a valve opening feedforward value.
Preferably, a heating power measuring point is arranged on an experiment branch pipeline of the thermal hydraulic experiment system, a temperature measuring point and a flow measuring point are arranged on a primary side inlet pipeline of the cooler, a temperature measuring point is arranged on a pipeline after a primary side outlet cooler branch and a cooler bypass are mixed to measure the temperature of a main loop fluid, and a cooling water temperature measuring point is arranged on a secondary side inlet pipeline of the cooler to accumulate historical data and real-time data. The heating power measuring point, the temperature measuring point and the flow measuring point can be any existing measuring equipment. The first parameter acquisition module and the second parameter acquisition module both comprise the measuring points.
Preferably, the regulation and control module comprises a branch controller and a valve controller, and the valve opening value is input into the branch controller and then controlled by the valve controller, so that the cooling water flow regulating valve, the bypass flow regulating valve of the main loop cooler and the bypass flow regulating valve of the main loop cooler are controlled, and finally the valve opening is regulated and controlled.
Preferably, referring to fig. 3, the cooling water flow regulating valve is controlled specifically by a split controller, wherein the opening value of the valve is limited in a limiter and then is set as the opening of the cooling water flow regulating valve, and the regulating range is more than or equal to 0 and less than or equal to XB < XA and less than or equal to 1;
when XPoint is less than or equal to XB, the opening of the cooling water flow regulating valve is kept to be XB;
when XB is less than XPoint XA, the opening of the cooling water flow regulating valve is XPoint;
When XA is less than or equal to XPoint, the opening of the cooling water flow regulating valve is kept to be XA;
The bypass flow regulating valve of the loop cooler is controlled by a branch controller, namely the opening of the bypass flow regulating valve of the main loop cooler is given after 1-XPoint is input into a limiter for limitation, and the regulating range is more than or equal to 0 and less than or equal to XE < XF is less than or equal to 1;
When (1-Xpoint) is less than or equal to XE, the opening of the cooling water flow regulating valve is kept to be XE;
when XE < (1-Xpoint) < XF, the opening of the cooling water flow regulating valve is (1-Xpoint);
When XF is less than or equal to (1-XPoint), the opening of the cooling water flow regulating valve is kept as XF;
the main loop cooler branch flow regulating valve is controlled by a branch controller, namely the opening value of the valve is limited in a limiter and then is set as the opening of the main loop cooler branch flow regulating valve, and the regulating range is more than or equal to 0 and less than or equal to XD < XC and less than or equal to 1;
when XPoint is less than or equal to XD, the opening degree of the main loop cooler branch flow regulating valve is kept to be XD;
When XD is less than XPoint < XC, the opening degree of the main loop cooler branch flow regulating valve is XPoint;
when XC is less than or equal to XPoint, the opening degree of the branch flow regulating valve of the main loop cooler is kept to be XC.
In a third aspect, the present invention provides a host device comprising
A memory for storing a computer program;
A processor, configured to implement a method for controlling a temperature of a main loop of a thermal hydraulic experimental system according to any one of claims 1 to 6 when executing the computer program.
In a fourth aspect, the present invention provides a computer program product comprising computer programs/instructions which, when executed by a processor, implement the steps of a method for regulating the temperature of a main circuit of a thermal hydraulic experimental system according to any one of claims 1 to 6.
In a fifth aspect, the present invention provides a computer readable storage medium having stored therein computer executable instructions which, when loaded and executed by a processor, implement a method for regulating and controlling the temperature of a main circuit of a thermal hydraulic experiment system according to any one of claims 1 to 6.
The foregoing description of the embodiments has been provided for the purpose of illustrating the general principles of the invention, and is not meant to limit the scope of the invention, but to limit the invention to the particular embodiments, and any modifications, equivalents, improvements, etc. that fall within the spirit and principles of the invention are intended to be included within the scope of the invention.