The present application claims priority under 35 U.S.C. 119(a-d) to CN 202010895227.2, filed Aug. 31, 2020.
The invention relates to the technical field of radiation temperature measurement, and more particularly to a multi-spectral temperature measurement device based on an adaptive emissivity model and a temperature measurement method thereof.
Multi-spectral temperature measurement is a temperature measurement method that indirectly obtains the true temperature by measuring the spectral radiance of an object under multiple wavelength conditions. It does not require auxiliary equipment and additional information, and has no special requirements for the object to be measured, so it is especially suitable for measuring the true temperature of high-temperature targets. However, there are several difficulties in measuring target temperature under high temperature background as follows.
1. The pyrometer will receive radiation from the target surface and the high-temperature environment at the same time during temperature measurement. If the influence of the high-temperature background is ignored, the multi-spectral temperature measurement method is used to solve the problem. The calculated temperature value will have a large error.
2. Since the true temperature of the surface of the object is unknown, the use of multi-spectral temperature measurement to measure the temperature will result in over-determined equations with the number of unknowns greater than the number of equations, which cannot be solved directly. A commonly used method is to assume the emissivity change law with wavelength in advance and substitute it into the over-determined equations to solve it. However, if the hypothetical model differs greatly from the actual situation, a large error will occur.
3. Even if the emissivity model is determined, it is more difficult to directly solve the equation set consisting of the radiation relationship of each channel of the pyrometer, and it needs to be transformed into a constrained optimization problem. In order to solve such problems, a high precision and short time-consuming calculation algorithm is required.
In order to more accurately measure the temperature of the surface of an object in a high-temperature environment, the present invention provides a multi-spectral temperature measurement device and a temperature measurement method based on an adaptive emissivity model. The present invention provides the following technical solutions:
A multi-spectral temperature measuring device based on an adaptive emissivity model, comprises: a pyrometer, a radiation detector, a constant temperature furnace, a cooling chamber, a cold air inlet pipe, a cold air outlet pipe, a thermocouple and a thermocouple collection card;
wherein the pyrometer is connected to a radiation detector, and the constant-temperature furnace has a small hole larger than the radiation detector. The radiation detector measures the optical radiation data of the sample to be tested through the small hole. The sample to be tested is placed in the cooling chamber, so A cold air inlet pipe and a cold air outlet pipe are arranged in the cooling cavity, the sample to be tested is connected to a thermocouple, and the thermocouple is connected to a thermocouple acquisition card.
Preferably, the thermocouple adopts a K-type thermocouple, and the thermocouple acquisition card adopts a 16-channel thermocouple acquisition card.
A multi-spectral temperature measurement method based on an adaptive emissivity model, comprises the following steps of:
step 1: collecting the spectral radiation data of the sample to be tested within a certain wavelength range through a pyrometer;
step 2: training the BP network and select the emissivity model based on the spectral radiation data of the sample to be tested;
step 3: inputting the spectral radiation data of the sample to be tested into the trained BP network, and select the emissivity model;
step 4: according to the selected emissivity model, transforming the emissivity model into a single objective constrained optimization equation to obtain the objective equation; and
step 5: according to the target equation, the temperature of the sample to be tested is solved.
Preferably, the step 1 specifically comprises:
collecting the spectral radiation data of the sample to be tested in the wavelength range of 1.7-2.2 microns by a pyrometer; wherein the collection process is divided into a stable phase, two cooling processes and two heating processes; first, the temperature of the temperature control room is adjusted to 690° C. to maintain, it takes about 30 s to reach the stable stage; then the cold air is introduced from the cold air inlet pipe to the cooling chamber to reduce the surface temperature of the sample to be tested.
after maintaining it for about 150 s, the cold air is stopped to reach the first cooling stage; after that, the temperature of the sample gradually recovered; after the recovery process lasted 489 s, the temperature of the sample recovered to 681.5° C., reaching the first heating stage; pass the cold air into the cooling chamber again from the cold air inlet pipe to reduce the surface temperature of the sample to be tested; after maintaining for about 150 seconds, stop passing the cold air to the second cooling stage; the temperature of the sample gradually recovered; after the recovery process lasted 489 s, the temperature of the sample recovered to 681.5° C., reaching the second heating stage, completing the collection of the spectral radiation data of the sample to be tested.
Preferably, the step 2 specifically comprises:
step 2.1: according to the four emissivity models, within the range of 1.7-2.2 microns, take one point every 0.1 microns, a total of 6 wavelength points, select the emissivity range of 0.3-1, within the emissivity range and six wavelengths under the conditions of, seven different emissivity data are generated, each with 74 groups, a total of 518 emissivity samples, and in each emissivity sample, 70 groups are taken as the training set emissivity source data, and the remaining 4 sets of emissivity source data as test set;
step 2.2: taking seven 0-1 combinations as classification labels, 1-0-0-0-0-0-0 as the first emissivity label, and 0-1-0-0-0-0-0 as the second One emissivity tag, 0-0-1-0-0-0-0 as the third emissivity tag, 0-0-0-1-0-0-0 as the fourth emissivity tag, 0-0-0-0-1-0-0 as the fifth emissivity label, 0-0-0-0-0-1-0 as the sixth emissivity label, 0-0-0-0-0-0-1 as the seventh emissivity tag;
step 2.3: setting the temperature conditions. Set the ambient temperature to 690° C. Take one point every 10° C. within the range of 575-685° C. for the blackbody temperature. There are 12 temperature points in total. The generated 518 sets of emissivity samples are used in 12 spectral radiation data is generated under temperature conditions, a total of 6216 sets of samples, of which, the spectral radiation data generated from the training set emissivity source data is used as the training sample, a total of 5880 sets, accounting for 94.6% of the total sample, the test set emissivity the spectrum data generated by the source data is used as the test sample, a total of 336 groups, accounting for 5.4% of the total sample;
step 2.4: using a typical three-layer BP network structure, the number of hidden layers is 1 layer, where the number of neurons in the input layer corresponds to the number of wavelengths, which is 6, the number of neurons in the hidden layer is 20, and the number of neurons in the output layer Neurons are used to display the classification results. According to the seven 0-1 combinations, the number of neurons should be set to 7, and the final network structure should be 6-20-7. For the results of the BP neural network, it should be converted to seven according to 0-1 combination, and set the maximum value of the seven neurons to 1, and set the rest to zero to correspond to the classification label;
step 2.5: initializing the network parameters, normalize the spectrum data and transmit it to the BP network. According to the rules of the gradient descent method, the input data is propagated forward and the error is propagated back. The network parameters are constantly updated, and two abort rules are set for iteration, completing BP network training; the two termination rules are specifically;
wherein one of the rules is: the maximum number of iterations is set to 10000; the other is: when the data has not changed for 40 consecutive times, it is not necessary to wait until the maximum number of iterations, and directly terminate.
Preferably, the four emissivity models include an exponential model, a sine model, a linear model and a quadratic model.
Preferably, the type of spectral data is one-to-one corresponding to the type of emissivity shape, and the following formulas are used for different blackbody temperatures and Generate spectral data at ambient temperature:
M
λ,T
=ελMλ,T
wherein Mλ,T
Preferably the step 3 is specifically:
selecting six wavelengths, respectively 1.7, 1.8, 1.9, 2.0, 2.1, 2.2 microns, and input the acquired spectrum data into the trained BP network according to the same normalization method as the training data. The judgment rule of the network output result according to the principle of taking the maximum value as 1 and the remaining values as 0, each corresponds to seven classification labels to indicate the classification of spectral data by the network;
selecting the emissivity model with the highest recognition rate of the number of temperature points as the emissivity model; after the recognition of the BP network, the sine model has the highest recognition rate, and the sine model is selected.
Preferably, the step 4 specifically comprises:
according to the selected emissivity model, transforming the emissivity model into a single-objective constraint optimization equation. For a multi-wavelength pyrometer with n channels, after selecting the emissivity model, a set of emissivity values equal to the number of channels is obtained, determining the implicit function equation group between the emissivity coefficient and the target true temperature, and express the implicit function equation group between the emissivity coefficient and the target true temperature by the following formula:
wherein λn is the wavelength of an nth channel, εn is the emissivity of an nth channel at a wavelength λn, Mλ
converting the implicit function equations between the emissivity coefficient and the target true temperature into an optimized equation for solving the emissivity and the true temperature, and get the target equation through the following formula Δ:
wherein, ελ
Preferably the step 5 specifically comprises:
step 5.1: initializing the population parameters, and set the feasible range of the emissivity model parameters according to the selected emissivity model, the number of population individuals npop, the crossover rate pc, the mutation rate pm, the number of clusters k, the proportion of individuals for symmetric solution px, and the parameters of the maximum number of iterations D;
step 5.2: generating an initial population within the range of feasible solution parameters of the emissivity model, and perform a non-dominated sorting on all individuals in the order of fitness from good to poor according to the target equation;
step 5.3: dividing the population into k clusters according to the Euclidean distance between individuals according to the K-means algorithm, randomly select two clusters, first randomly selecting two individuals in each cluster to perform the binary tournament algorithm, and then performing the crossover operation for pc·npop times, the new individuals pop1 is generated by the cross to form a population;
step 5.4: determining the rules of mutation, randomly selecting pm·npop individuals to perform mutation operations, and the new individuals generated by mutation form a pop2 population, wherein the mutation rules are expressed by the following formula XR+1:
X
R+1
=X
R
+F·(XBestR−XiR)
wherein R represents the Rth generation, X represents an individual in the population, XiR represents any random individual in the Rth generation that is different from X, XBestR represents the individual that produces the optimal temperature solution in the Rth generation, and F is the influencing factor with a value range is between 0-1, indicating the weight of the optimal individual in the mutation process;
step 5.5: finding the symmetric solutions for the number of px·npop individuals at the back after non-dominated sorting, and group all the symmetric solutions produced by this process into a population pop3;
step 5.6: combining pop0 pop1 pop2 pop3 to form a temporary population, sort all individuals in the temporary population species non-dominantly, select the first npop individuals to form a new generation population pop0 according to the elite retention strategy, and eliminate all other individuals;
step 5.7: repeating steps 3 to 6 until the maximum number of iterations of 1000 is completed, at this time, the individual at the top is the final temperature solution.
These and other objectives, features, and advantages of the present invention will become apparent from the following detailed description, the accompanying drawings, and the appended claims.
The present invention will be described in detail below in conjunction with specific embodiments.
According to
As shown in
The pyrometer is connected to a radiation detector, and the constant-temperature furnace has a small hole larger than the radiation detector. The radiation detector measures the optical radiation data of the sample to be tested through the small hole. The sample to be tested is placed in the cooling chamber, so a cold air inlet pipe and a cold air outlet pipe are arranged in the cooling cavity, the sample to be tested is connected to a thermocouple, and the thermocouple is connected to a thermocouple acquisition card.
The thermocouple adopts a K-type thermocouple, and the thermocouple acquisition card adopts a 16-channel thermocouple acquisition card.
A multi-spectral temperature measurement method based on an adaptive emissivity model, comprises steps as follows.
Step 1: collect the spectral radiation data of the sample to be tested in a certain wavelength range through a pyrometer;
wherein the step 1 specifically comprises:
collecting spectral radiation data of the sample to be tested in the wavelength range of 1.7-2.2 microns by a pyrometer; wherein collection process is divided into a stable phase, two cooling processes and two heating processes; first, the temperature of the temperature control room is adjusted to 690° C. to maintain It takes about 30 s to reach the stable stage; then the cold air is introduced from the cold air inlet pipe to the cooling chamber to reduce the surface temperature of the sample to be tested; after maintaining for about 150 s, the cold air is stopped to reach the first cooling stage;
After that, the temperature of the sample gradually recovered. After the recovery process lasted for 489 s, the temperature of the sample recovered to 681.5° C., reaching the first heating stage;
Pass the cold air into the cooling chamber again from the cold air inlet pipe to reduce the surface temperature of the sample to be tested. After maintaining for about 150 seconds, stop passing the cold air to the second cooling stage;
The temperature of the sample gradually recovered. After the recovery process lasted 489 s, the temperature of the sample recovered to 681.5° C., reaching the second heating stage, completing the collection of the spectral radiation data of the sample to be tested.
Step 2: Train the BP network and select the emissivity model based on the spectral radiation data of the sample to be tested;
There are several common emissivity models as follows. The four emissivity models include exponential model, sine model, linear model and quadratic model as shown by equations (1)-(4).
ln ε(λ,T)=a+bλ (1)
ε(λ,T)=aλ2+bλ+c (2)
ε(λ,T)=a0+a1λ (3)
ε(λ,T)=a+b sin(cλ+d) (4)
First, according to these equations, the emissivity data of various shapes are generated and classified through theoretical simulation, which can be covered by the seven trends shown in
As shown in
Step 2.1: According to the four emissivity models, within the range of 1.7-2.2 microns, take one point every 0.1 microns, a total of 6 wavelength points, select the emissivity range of 0.3-1, within the emissivity range and six wavelengths Under the conditions of, seven different emissivity data are generated, each with 74 groups, a total of 518 emissivity samples, and in each emissivity sample, 70 groups are taken as the training set emissivity source data, and the remaining 4 sets of emissivity source data as test set;
Take seven 0-1 combinations as classification labels, 1-0-0-0-0-0-0 as the first emissivity label, and 0-1-0-0-0-0-0 as the second One emissivity tag, 0-0-1-0-0-0-0 as the third emissivity tag, 0-0-0-1-0-0-0 as the fourth emissivity tag, 0-0-0-0-1-0-0 as the fifth emissivity label, 0-0-0-0-0-1-0 as the sixth emissivity label, 0-0-0-0-0-0-1 as the seventh emissivity tag;
Step 2.3: Set the temperature conditions. Set the ambient temperature to 690° C. Take one point every 10° C. within the range of 575-685° C. for the blackbody temperature. There are 12 temperature points in total. The generated 518 sets of emissivity samples are used in 12 Spectral radiation data is generated under temperature conditions, a total of 6216 sets of samples, of which, the spectral radiation data generated from the training set emissivity source data is used as the training sample, a total of 5880 sets, accounting for 94.6% of the total sample, the test set emissivity The spectrum data generated by the source data is used as the test sample, a total of 336 groups, accounting for 5.4% of the total sample;
Step 2.4: Using a typical three-layer BP network structure, the number of hidden layers is 1 layer, where the number of neurons in the input layer corresponds to the number of wavelengths, which is 6, the number of neurons in the hidden layer is 20, and the number of neurons in the output layer Neurons are used to display the classification results. According to the seven 0-1 combinations, the number of neurons should be set to 7, and the final network structure is 6-20-7. As shown in
Step 2.5: Initialize the network parameters, normalize the spectrum data and transmit it to the BP network. According to the rules of the gradient descent method, the input data is propagated forward and the error is propagated back. The network parameters are constantly updated, and two abort rules are set for iteration., Complete BP network training;
The two termination rules are specifically: one of the rules is: the maximum number of iterations is set to 10000; the other is: when the data has not changed for 40 consecutive times, it is not necessary to wait until the maximum number of iterations, and directly terminate.
Corresponding one-to-one between the type of spectral data and the type of emissivity shape, the spectral data is generated under different blackbody temperatures and ambient temperatures through the following formula:
M
λ,T
=ελMλ,T
wherein Mλ,T
The difference between the generated spectral shapes is used as the basis for neural network recognition.
Step 3: Input the spectral radiation data of the sample to be tested into the trained BP network, and select the emissivity model;
If there is only one black body temperature point to be measured, then the emissivity model recognized by the neural network shall prevail; if there is more than one black body temperature point to be measured, the spectral data at all temperature points are input to the neural network and selected The emissivity model with the highest total number of identifications is used as the emissivity model of the object. Specifically: if the temperature of the surface of the object is constant, that is, there is only one temperature point to be measured, then the emissivity model type output by the neural network is the emissivity model suitable for temperature measurement. If the temperature of the surface of the object changes, that is, there are multiple temperature points that need to be measured, then the emissivity model with the most judgment results of all temperature points by the neural network is the main one.
The step 3 is specifically:
Select six wavelengths, respectively 1.7, 1.8, 1.9, 2.0, 2.1, 2.2 microns, and input the acquired spectrum data into the trained BP network according to the same normalization method as the training data; and according to the principle, take the maximum value the judgment rule of the network output result as 1 and the remaining values as 0, respectively corresponding to seven classification labels to indicate the classification of the spectrum data by the network;
The emissivity model with the highest recognition rate of the number of temperature points is selected as the emissivity model. After BP network recognition, the sine model has the highest recognition rate, and the sine model is selected.
Step 4: According to the selected emissivity model, transform the emissivity model into a single objective constrained optimization equation to obtain the objective equation;
The step 4 is specifically as follows.
According to the selected emissivity model, the emissivity model is converted into a single-objective constraint optimization equation. For a multi-wavelength pyrometer with n channels, after selecting the emissivity model, a set of emissivity values equal to the number of channels is obtained, determine the implicit function equation group between the emissivity coefficient and the target true temperature, and express the implicit function equation group between the emissivity coefficient and the target true temperature by the following formula:
Wherein λn is the wavelength of an nth channel, εn is the emissivity of the nth channel at the wavelength λn, Mλ
Convert the implicit function equations between the emissivity coefficient and the target true temperature into an optimized equation for solving the emissivity and the true temperature, and get the target equation through the following formula Δ:
Wherein ελ
Step 5: According to the target equation, the temperature of the sample to be tested is solved.
According to
step 5.1: initializing the population parameters, and set the feasible range of the emissivity model parameters according to the selected emissivity model, the number of population individuals npop the crossover rate pc, the mutation rate pm, the number of clusters k, the proportion of individuals for symmetric solution px, and the parameters of the maximum number of iterations D;
step 5.2: generating an initial population within the range of feasible solution parameters of the emissivity model, and perform a non-dominated sorting on all individuals in the order of fitness from good to poor according to the target equation;
step 5.3: dividing the population into k clusters according to the Euclidean distance between individuals according to the K-means algorithm, randomly select two clusters, first randomly selecting two individuals in each cluster to perform the binary tournament algorithm, and then performing the crossover operation for pc·npop times, the new individuals pop1 is generated by the cross to form a population;
step 5.4: determining the rules of mutation, randomly selecting pm·npop individuals to perform mutation operations, and the new individuals generated by mutation form a pop2 population, wherein the mutation rules are expressed by the following formula XR+1:
X
R+1
=X
R
+F·(XBestR−XiR)
wherein R represents the Rth generation, X represents an individual in the population, XiR represents any random individual in the Rth generation that is different from X, XBestR represents the individual that produces the optimal temperature solution in the Rth generation, and F is the influencing factor with a value range is between 0-1, indicating the weight of the optimal individual in the mutation process;
step 5.5: finding the symmetric solutions for the number of px·npop individuals at the back after non-dominated sorting, and group all the symmetric solutions produced by this process into a population pop3;
step 5.6: combining pop0 pop1 pop2 pop3 to form a temporary population, sort all individuals in the temporary population species non-dominantly, select the first npop individuals to form a new generation population pop0 according to the elite retention strategy, and eliminate all other individuals;
step 5.7: repeating steps 3 to 6 until the maximum number of iterations of 1000 is completed, at this time, the first individual is the final temperature solution.
1. Improvement of the Way of Selecting Individuals for Crossover Operation
For the multi-spectral radiation temperature measurement constrained optimization equation, the NSGA-II algorithm will randomly generate a certain number of individuals within the feasible region of the emissivity model parameters, and each individual represents a temperature solution. Crossover is an important operation to produce new individuals and determines the evolution direction of the population. The traditional NSGA-II algorithm randomly selects two individuals from the population through a binary tournament for comparison, and then selects the individual with a higher level of dominance to participate in the crossover operation. However, this selection method may lead to the selection of two very similar individuals, resulting in the temperature solutions of the representatives of the two parents being similar to the temperature solutions obtained by their children, which is not conducive to the evolution of the population. In order to solve this problem, the K-means algorithm is introduced. First, according to the Euclidean distance between individuals, all individuals in the population are divided into several clusters. The individuals in the same cluster are similar to each other, and the individuals in different clusters are quite different. Before the crossover operation, two clusters are randomly selected, and two individuals in each cluster are selected for the tournament, and the better individual in each cluster is selected as the parents of the crossover operation. The temperature solution obtained in this way must be Will not repeat the temperature solution represented by the parents, thereby increasing the diversity of the population.
2. Improvements to the Mutation Operator
The traditional NSGA-II algorithm uses polynomial mutation or uniform mutation to complete the mutation operation. This mutation is too random and may cause the temperature value obtained by the mutated individual to be worse, which is not conducive to the improvement of population quality. In order to avoid this phenomenon, it is necessary to control the direction of the variation to make it change in the direction conducive to the production of better temperature solutions. This paper adopts the method of introducing the difference equation, and makes the mutated individual approach the direction of the optimal temperature solution in the current population. This method is shown by the following equation.
X
R+1
=X
R
+F·(XBestR−XiR);
wherein R represents the Rth generation, X represents an individual in the population, and XiR represents any random individual different from X in the Rth generation, XBestR represents the individual that produces the optimal temperature solution in the Rth generation, F is the influence factor, with a value range of 0-1, which represents the weight of the optimal individual in the mutation process.
3. Find the Centrosymmetric Solution of Individuals with Poor Fitness
In order to reduce the possibility of falling into a local optimal solution, the search range must be increased on the basis of the original population. This paper uses the solution of the symmetric position of the poor individual. As shown in
1. Analysis of Simulation Results
After the program iteration is completed, the recognition results of the training set spectral data are shown in Table 1. Among them, the average recognition rate of the training set is 89.2%, the emissivity model with the highest recognition rate is the linear model (up), the recognition rate is 98.9%, and the second is the quadratic model (opening downward), the recognition rate is 96%. The two worst-recognized models in the training set are the exponential model (ascending) and the sine model, with recognition rates of only 78.9% and 79.8%. The results of the test samples are shown in Table 2. The average recognition rate is 81.8%. The exponential model (down), linear model (up), and quadratic model (open downward) have the highest recognition rate, which is 100%. The worst recognition rate is the exponential model (up) and the sine model, the recognition rate is only 56.2% and 50%.
50%
Since the values of emissivity generated by various emissivity model equations are completely random, it is possible to generate data with larger shape amplitude or data with smaller shape amplitude. Similar trends may also occur between the two models. If the generated emissivity value is just in the part where the shape of the two emissivity models is similar, then the shape of the spectral data generated by the two models under the same conditions will be different, leading to bias in the judgment of the neural network.
Due to the large wavelength range of the spectrum data measured through experiments, the appropriate wavelength should be selected according to the number of channels of the multi-spectral pyrometer. Again, choose six wavelengths, 1.7, 1.8, 1.9, 2.0, 2.1, 2.2 microns, respectively, and input the spectral data obtained from the experiment into the trained neural network in the same normalized manner as the training data. The judgment rule of the network output result is consistent with the simulation process. According to the principle of taking the maximum value as 1 and the remaining values as 0, there are seven classification labels respectively corresponding to the classification of the spectrum data by the network.
In this experiment, two heating and two cooling processes were carried out, resulting in a total of 598 temperature points. There are many temperature points, so the emissivity model with the highest recognition rate of temperature points should be selected as the emissivity model used in this experiment. After the identification of the network, the identification results are shown in Table 3. It can be seen that the sine model has the highest degree of recognition. This shows that for this experiment, the sine model is theoretically the most realistic emissivity model for the object, so the sine model should be used for the subsequent calculation of the temperature.
According to the self-adaptive recognition result of the neural network, the sine model is selected as the emissivity model, and the temperature measurement curve shown in
The above is only a preferred embodiment of a multi-spectral temperature measurement device and its temperature measurement method based on an adaptive emissivity model, and protection of a multi-spectral temperature measurement device and its temperature measurement method based on an adaptive emissivity model The scope is not limited to the above-mentioned embodiments, and all technical solutions under this idea belong to the protection scope of the present invention. It should be pointed out that for those skilled in the art, several improvements and changes made without departing from the principle of the present invention should also be regarded as the protection scope of the present invention.
Number | Date | Country | Kind |
---|---|---|---|
202010895227.2 | Aug 2020 | CN | national |