^{1}

^{1}

In order to improve the quality of clinker produced by pellet rotary kiln, flame temperature that it is a very important factor of affecting on the quality of clinker is studied. The flame images collected from pellet rotary kiln are decomposed into three gray images by the method of RGB, so we can get more information of flame. Taking advantage of gray level co-occurrence matrix, the monitoring model for flame temperature based on image texture is established with RGB channels. In order to test the universality of the algorithm, candle flame temperature is detected by this method. The maximum error of the model is less than 3%.

During the process of pellet production, rotary kiln is the key equipment. There is a very vital relationship between the temperature of the kiln and the quality of sintering. However the state of the flames in the rotary kiln has been observed by the man who depends on personal experience. It can make the workers so tired that it leads to accidents.

Zhou Huaichun [

In this paper, we used the gray level co-occurrence matrix to describe the texture characteristics, and study the relationship between temperature and the texture characteristics including energy, entropy, contrast, correlation in each channel of RGB. Texture-temperature model is made. The method can monitor the real-time temperature status in different parts of the flame, and the error is small.

Texture is a kind of visual feature to reflect gray-level in the neighborhood, which does not depend on the color or brightness variation [

Texture, as a kind of regional feature, is a description of the spatial distribution of each pixel in the image. There are many methods to extract texture, such as the local statistical characteristics, characteristics of the random field model, and the characteristics of spatial frequency. Among them, the most widely used method is based on the gray level co-occurrence matrix [

Gray level co-occurrence matrix is a matrix function of distance and angle of pixels. By calculating the correlation between the two points of a certain distance and a certain direction in the image, it can reflect the comprehensive information of the direction, distance, amplitude and speed of the image.

In order to describe the texture state more intuitively by the co-occurrence matrix, some parameters which reflect the matrix condition are derived from the gray level co-occurrence matrix.

(1) Energy

It provides the sum of squared elements in the gray-level co-occurrence matrix (GLCM), also known as uniformity or the angular second moment. The mathematical definition of energy is as follows:

f 1 = ∑ i = 0 L − 1 ∑ j = 0 L − 1 P i j 2 . (1)

When the distribution of P i j value is more concentrated, the energy is larger; when the distribution of P i j value is more dispersed, the energy is smaller.

(2) Correlation

Correlation is the similarity degree of the elements in line or column direction. Therefore, the relevant value reflects the local gray correlation. When the matrix element value is similar, the correlation value is big. On the contrary, if the pixel value of the matrix is much different, then the correlation value is small. The mathematical definition of correlation is as follows.

f 2 = 1 σ x σ y ∑ i = 0 L − 1 ∑ j = 0 L − 1 ( i - μ x ) ( j - μ y ) P i j , (2)

where, δ x , δ y , μ x , μ y is respectively mean value and standard deviation of m_{x}_{ }and m_{y}.

m x = ∑ j = 0 L − 1 P i j , m y = ∑ i = 0 L − 1 P i j . (3)

(3) Entropy

Entropy is a measure of the information in the image. The texture information also belongs to the image information. It represents the degree of heterogeneity or complexity of the texture in the image. The mathematical expression of entropy is as follows.

f 3 = − ∑ i = 0 L − 1 ∑ j = 0 L − 1 P i j log 2 P i j . (4)

If the distribution of P i j is more uniform, the entropy is larger; on the contrary, when the value distribution is relatively concentrated, the entropy is small.

(4) Contrast

The contrast reflects the clarity of the image and depth of texture. The deeper the texture is, the greater the contrast is. The results are better. On the contrary, if the contrast is small, they are shallow grooves, the effect is fuzzy. The greater the gray level difference is, the greater the contrast is [

f 4 = ∑ n = 0 l − 1 n 2 { ∑ i = 0 L − 1 ∑ j = 0 L − 1 P i j } . (5)

(1) Image denoising

In order to study the temperature of flame, the flame stratification is used, as shown in

(2) Image segmentation

In the process of flame segmentation, threshold segmentation method is used, and the threshold value is set according to the actual demand. In order to study the relationship between texture and temperature more accurately, the image is divided more detailedly, as shown in

Texture is used to study the characteristics of a region. It is not meaningful to study the texture of a single point separately. We use threshold segmentation method to divide an image into some grades according to every 10 gray levels. The average temperature within a certain range is calculated, and the values of the texture features of the RGB in this gray range are also calculated. The table is shown in

At different temperatures, there is a certain difference in the characteristics of flame texture. The gray mean value of the RGB three channels in different parts of the flame is calculated, and the 4 directions of the gray level co-occurrence matrix are 0˚, 45˚, 90˚, 135˚. Texture feature parameters of energy, entropy, correlation, contrast calculation are calculated, interval distance is 1. Data show that the image texture is not obvious direction, so we take ^{ θ = 0 o } to analyze the texture parameters.

No. | Grey scale | Temperature/˚C | No. | Grey scale | Temperature/˚C |
---|---|---|---|---|---|

1 | 235 - 230 | 1315 | 9 | 160 - 150 | 1102 |

2 | 230 - 220 | 1271 | 10 | 150 - 140 | 1075 |

3 | 220 - 210 | 1247 | 11 | 140 - 130 | 1050 |

4 | 210 - 200 | 1223 | 12 | 130 - 120 | 1027 |

5 | 200 - 190 | 1199 | 13 | 120 - 110 | 1002 |

6 | 190 - 180 | 1176 | 14 | 110 - 100 | 986 |

7 | 180 - 170 | 1146 | 15 | 100 - 90 | 963 |

8 | 170 - 160 | 1124 | 16 | 90 - 80 | 930 |

The gray level series of the image is 256 grades, when the series is large; the amount of computation of the gray level co-occurrence matrix is increased. In general, the image gray series is compressed to 8 or 16 grades. In this paper, the gray series is compressed to 16 grades. Now we study the relationship between the characteristic parameters and temperature of the flame texture at ^{ θ = 0 o } .

The original image data is used directly to fit the texture-temperature curve, the error is larger, so it is decomposed into RGB three channels. Then we calculate the characteristic parameters of the gray level image co-occurrence matrix of each channel of RGB: energy, entropy, contrast, correlation, shown in Figures 4-7.

By the corresponding relationship between the temperature and the characteristic parameters of the texture, the curves of energy, entropy, contrast, correlation and temperature were used to fit the function of three elements respectively.

T = a 0 + a 1 ∗ R e + a 2 ∗ G e + a 3 ∗ B e (6)

where, a 0 , a 1 , a 2 , a 3 are the coefficients that need to be determined.

Linear regression equations for predicting temperature T were obtained by using linear regression function in MATLAB.

y = − 567.6838 + 29719.193 R e - 23238.34 G e − 4535.4337 B e . (7)

R_{e}, G_{e}, B_{e} are the energy values of RGB channels, respectively.

y = 1322.457 − 1878.312 R e - 522.1135 G e + 1827.884 B e . (8)

R_{e}, G_{e}, B_{e}_{ }are the entropy values of RGB channels, respectively.

y = 918.0775 − 16.485 R e + 411.9603 G e − 360.4216 B e . (9)

R_{e}, G_{e}, B_{e}_{ }are the contrast values of RGB channels, respectively.

y = 1168.9095 + 720.2306 R e - 122.243 G e − 32.5915 B e . (10)

R_{e}, G_{e}, B_{e} are the correlation values of RGB channels, respectively.

Now, the fitted function is evaluated, the result is shown in

The temperature of the certain point can be calculated by calculating the correlation value of the flame RGB.

The larger the correlation coefficient is, and the more close to 1 it is, the more significant the regression equation is. The smaller the residual error is, the more close to the predicted temperature.

In order to test the universality of the algorithm, candle flame temperature is detected. In the laboratory, a thermocouple is used to get the candle flame. The candle temperatures of the outer flame, middle flame and inner flame were collected respectively, as shown in

With the same method, candle flame is treated into RGB channels, the relationship of temperature and gray is established. Taking advantage of the linear regression function in MATLAB, the regression equation of the temperature prediction is:

T = 912.6425 + 244.1788 R e + 105.4766 G e − 505.787 B e (11)

where, R e , G e , B e are the correlation values of RGB channels, respectively.

We measured some other points in the candle flame, calculated values were obtained by Expression (13), shown in

Parameters Statistics | Energy | Entropy | Contras | Correlation |
---|---|---|---|---|

Correlation coefficient | 0.9000 | 0.9000 | 0.9740 | 0.9857 |

Value of F | 38.5 | 55.0 | 149.5542 | 275.1285 |

Residual square | 1612.0 | 1162.0 | 446.5270 | 245.6682 |

Measured values | Calculated values | Errors | Error percentage |
---|---|---|---|

767 | 771.7056 | −4.7056 | 0.6135 |

769 | 759.4310 | 9.5690 | 1.2443 |

774 | 779.3448 | −5.3448 | 0.6905 |

763 | 781.5927 | −18.5926 | 2.4367 |

892 | 895.6841 | −3.6841 | 0.4130 |

901 | 885.6665 | 15.3335 | 1.7018 |

904 | 890.4554 | 13.5446 | 1.4982 |

The largest error of the measured values and calculated values of the candle flame temperature is less than 3%. This shows that the algorithm is universal.

In this paper, the color image of flame in rotary kiln is decomposed into three gray images of RGB. The curves of energy, entropy, contrast, correlation and temperature of each channel’s texture parameters are compared. In these texture feature parameters, the relationship between the correlation and the temperature is the most obvious. In this paper, the relationship between texture and temperature is used to establish the model of flame temperature monitoring, effectively monitor the flame image, and calculate the corresponding temperature value. It is simple and easy to implement. The algorithm is also universal.

Lin, C.L. and Wu, Y.F. (2017) Temperature Calculation of Pe- llet Rotary Kiln Based on Texture. Intelligent Control and Automation, 8, 67-74. https://doi.org/10.4236/ica.2017.82005