Analysis of batch asymmetry and batch line position for the decision support in the glass melting process

This paper presents the results of research on the analysis of historical data from a vision system developed by the authors, installed inside a glass furnace in one of the packaging glassworks. In particular, the authors focused on analysis of the batch blanket asymmetry coefficient and the batch line position in the furnace tank. The information obtained from the vision system allows to see phenomena occurring in the glass furnace that were previously difficult to notice. Based on this, recommendations for operators have been formulated to facilitate the glass melting process more efficiently. Based on historical process data from the SCADA production system, several models were developed that allow the batch line position in the glass furnace to be estimated. The best accuracy was achieved using the model based on neural networks. Such a model can be used to optimise furnace operation, which is at present based on the experience of human operators.


Introduction
Glass furnaces are a crucial part of the production line in every glass factory. The operating parameters of furnaces have a decisive influence on the efficiency of the process and pollution (especially NO x emission), and on the quality of the final product. Therefore, its correct operation is extremely important. To a large extent, the parameters of the glass are estimated by the operator on the basis of the image from a camera installed inside the furnace. In particular, the operator should ensure the optimal positioning of the batch line (i.e. the distance to which the unmelted glass pieces reach) and similar distribution of the unmelted glass on both sides of the furnace. If the batch line moves too close to the working end of the furnace, the glass quality dramatically decreases, while the batch line too close to the front of the tank results in high emissions of NO x , and CO 2 [1] and unnecessary energy consumption, which is a significant part of production costs [2].
The subject of the research is a glass furnace with a capacity of approx. 150 tons a day. A schematic drawing of the furnace is shown in Fig. 1. It is a 6 × 10 m furnace with one hopper located on the left side. 1 Two gas burners (left and right) are used to melt the glass in the furnace, working alternately for 30 min. The process of changing the working burner (called the reversal) lasts one minute. During this time, neither of the burners are working. Every 30 min it is therefore possible to obtain an image of the glass pane inside the furnace, not obscured by the flame of a burner. This determines the maximum frequency at which the camera on the wall of the furnace opposite the burners can analyse the image. Two sets of electric electrodes are used to heat the glass from the bottom-one in the melting part of the furnace and the other at the break wall.

Previous work
Computer vision systems are becoming common elements of production lines. They are used for the inspection and control of industrial processes, including glass production. Various vision systems have been developed for monitoring different glass manufacturing stages, from the hot end of the production line, for example vision systems for gob inspection [7,8] to the inspection of semi-products and the final product [9,10]. Vision systems have also been applied for the inspection of furnace structure [11] or vision-based analysis of flames [12].
In the literature, there is also some research on computer vision for the automatic detection of batches in glass furnaces [13,14,19] the distribution of which is crucial for the correct control of the furnace. Vision systems can be used not only for full automation of the process, but also to help the operator to make correct decisions by making suggestions. They may also help by visually presenting the furnace interior, as in [15], where the image from a single furnace camera is used to create an enhanced 3D image of the furnace, which can be viewed from a virtual camera located at an arbitrary point in the furnace or using stereoscopic devices.
This study is a continuation of our previous research on the vision system supervising the operation of a glass furnace [3,4] and control systems in the glass industry [5]. In the above-mentioned works, we proposed an image processing method for automatic analysis of the symmetry of the glass melting process based on a series of images captured by a camera inside a glass furnace. We recommended a set of asymmetry indicators that are not influenced by asymmetries that result from glass melting technology (i.e. consecutive heating of first one, then the other side of the furnace). As a result of this research we proposed rule-based system which makes inferences about the asymmetry of chargers and burners from the distribution of the batch on the glass surface and the distribution of correlated colour temperature. The proposed method indicates the reasons for any asymmetry, for example whether heating of the left and right hand sides of the furnace is unbalanced or whether chargers are not working properly.
The above works resulted in the SCADA-like industrial vision system for glass furnaces supervision, which is briefly described in [6]. The system was implemented in the glassworks and the results of its operation are presented in the following chapters. In particular, we focused on analysis of historical data from the period of over a month of operation of the furnace, concerning the asymmetry of the batch and the position of the batch line. Based on the data, selected statistics of furnace operation were calculated. An attempt was also made to calculate the position of the batch line using regression and neural models, based on historical process data from the SCADA system.
The main contribution of this research is thorough analysis of the furnace process variables and indicators provided by the vision system over a long time. These studies gave deeper insight into the melting process and showed that it is possible to model certain aspects of the furnace operation by the use of machine learning technics based on historical data. Analysis performed here is, according to our knowledge, the first study of this type based on real data obtained during the glass melting process.

Vision system
The research presented in this paper is based on the vision system created by the authors, whose prototype version was described in [3]. It was initially used for the extraction of relevant glass melting parameters based on pairwise comparisons [4]. The system was later developed [6], and the current version is equipped with tools for remote connection to the glassworks, making it possible to collect and process data remotely in real time. It also includes tools for statistical analysis of data, such as statistics describing the variability of the distribution of the batch over time, including symmetry analysis. The interface of the system is presented in Fig. 2.
Our vision system calculates the distribution of the batch at each reversal, based on an image from a camera placed in the furnace. Then, on the basis of the distribution, the average asymmetry value of the batch is calculated based on the following procedure: Since the nature of the asymmetry differs significantly depending on which burner preceded the given reversal (which will be further elaborated in the next chapter), the trend is drawn separately for the left burner (more precisely-for the series of every second reversal preceded by operation of the left burner) and for the right burner.
Additionally, on the basis of the batch coverage, the location of the batch line is calculated. The location in this  Figure 3 shows different examples of recognising this line. The first three examples are correct, and the last is incorrect. In practice, incorrect identification is rare. It is usually caused by misclassifying stubble on the camera as a batch. During the analysed period, incorrect line recognition occurred 47 times out of 1678 reversals, which is 2.8% of all cases.
For correct operation, the vision system needs information from the furnace control system, such as the beginning of the reversal (initiates analysis of the camera image), time to the next reversal (for information purposes) and information about which burner is currently operating (to divide the asymmetry into the left and right burner). This information is obtained from the SCADA system using the OPC protocol (for security reasons, the system is not connected directly to the PLC).

Data analysis
Data from 35 days of continuous operation of the installation (about 847 h) were taken for analysis. The data cover 1678 reversals. The average value of the batch asymmetry is − 11% (this means that, statistically, 11 per cent more batch is on the right side of the furnace). The smallest registered asymmetry is − 32%, the highest is 7%, and the standard deviation is 7%. Statistically, the asymmetry distribution resembles a normal distribution with a slightly outlined bimodality (see the histogram in Fig. 4). On the basis of the plot of the asymmetry differences (differences of consecutive asymmetry values), we can conclude that the asymmetry fluctuates strongly from reversal to reversal. The variance of the differences is high, reaching approx. 136.

Analysis of the asymmetry of the batch distribution
The oscillation of the asymmetry from reversal to reversal shows that batch asymmetry depends on the burner that was operating before the reversal. In fact, when analysing the asymmetry for each burner separately, we can see interesting relationships. The asymmetry after the operation of the left burner means that we only analyse the measurements taken during the reversals directly preceded by the operation of the left burner (see the left chart in Fig. 5). The asymmetry for the reversals preceded by operation of the right burner is presented in the chart on the right.
First, there is a clear difference in the mean values of asymmetry: − 16 for the left burner compared to − 6 for the right burner. Both averages are negative (which means statistically more batch on the right side of the furnace), but for the right burner the absolute value is much smaller than for the left burner. This means that, after operation of the left burner, approx. 10% more of the batch is accumulated on the right side of the furnace than after the operation of the right burner. Therefore, the batch distribution after operation of the left burner has much greater asymmetry. The standard deviation for both cases is 5%, which is approx. 29% lower than for analysis of all measurements without separation into the right and left burners. This proves that the process has a different character for the left and right burner.  In addition to the asymmetry distribution, the degree of batch coverage of the furnace tank was also analysed. In our vision system the image of the tank has been divided into three zones (dashed lines in Fig. 2e). These are the batch zone, the melting zone and the glass zone. During each reversal, coverage percentage is calculated for the left and right size of each zone. Figure 6 shows the coverage charts of each zone for 1678 consecutive reversals. These trends reveal some interesting information: • Oscillations are much larger for the right side of the furnace (greater deviations from the mean). • In the batch zone, the mean coverage value for the right side is approx. 8% greater, and the standard deviation 22% greater, than for the left side. • In the melting zone, the mean value for the right side is approx. 54% greater, and the standard deviation 45% greater, than for the left side. • In the glass zone, the mean value for the right side is similar, and the standard deviation is 28% larger, than for the left side.
The greatest asymmetries are in the middle of the furnace. The distribution of the batch on the left side of the furnace is more stable (less variance).

Analysis of the batch line
Time series of the batch line positions for 1678 reversals are presented in Fig. 7. The values represent the distance of the batch line from the burner wall in cm.
Analysis of the chart shows that the position of the batch line, unlike the asymmetry coefficient, is non-stationary due to mean value. This is mainly because the batch line position largely depends on the actual furnace pull value. In Table 1 we present the statistics (standard deviation and variance) for the time series of batch line position and batch asymmetry, normalised to the range [0, 1]. The results are shown for the raw time series and their differences. The variance of both raw time series is very similar (approx. 0.03), while in the case of differences, the asymmetry variance (0.0378) is greater than the batch line position variance (0.0272) by approx. 39%. This means that the asymmetry is much more variable from reversal to reversal than the batch line. Unlike asymmetry, burner reversals do not have much of an effect on the batch line position.

Analysis of the relationship between batch asymmetry and batch line and other process variables
One of the goals of this research was to discover the relationship between the batch asymmetry, the batch line position,  and other process variables that have the greatest impact on the operating parameters of the glass furnace. These other variables were logged by the SCADA production system in the glassworks. The variables, directly related to the operation of the furnace, were used for analysis, as listed in Table 2.
For the same period as for the asymmetry and batch line analysis (35 days of continuous operation of the installation), data were collected from SCADA (logged with a sampling period of 1 s). Each variable is 2,764,801 samples long. The time series of these variables are presented in Fig. 8.
As can be seen the data are not continuous. There are some gaps in the analysed period. The shortest gap is two minutes long and the longest is over 18 h (see Table 3). It is difficult to say why the SCADA system did not log data during these periods.
The batch charger parameters (like the feeder positions and the feeding hopper speed) are certainly important for the asymmetry of the batch. However, these variables remained constant throughout the observation period and were therefore not included in analysis.
Data regarding the batch distribution and position of the batch lines were collected from the vision system every 30 min. This is due to the fact that analysis of the glass surface can only be performed during the reversal, when there is no flame in the camera's field of view. On the other hand, data from SCADA are logged every second, which causes a problem in analysis. Therefore, we divided SCADA measurements into 30-min firing fragments and 1-min reversal fragments. Each 30-min data packet was aggregated to its average value. Thanks to this, it is possible to check how the averaged values of the process variables from the firing period affect the parameters calculated in the reversal period (the asymmetry and batch line position).
For example, the plot of the MG_FLOW_PV variable (burner gas flow) shown in Fig. 8 is very densely sampled (2,764,801 samples). Therefore, its character is not clearly visible. Figure 9 shows a fragment of the plot, including three reversals. The data range between two consecutive reversals is the firing cycle (during the reversal, the gas flow drops to zero). For each cycle, the average value was calculated from 1800 samples (which corresponds to 30 min of firing). These values constitute a new time series of the aggregated process variable. The above procedure was applied to all analysed variables from SCADA. The charts of aggregated variables are presented in Fig. 10, where each point is the average of the 30-min firing periods.  To check the linear relationship between the process variables, the cross-correlation coefficients for each pair of variables were calculated (see Table 4).
From the above matrix we can conclude that: • There is no linear correlation between the batch asymmetry and the batch line. • There is no linear correlation between batch asymmetry and other SCADA variables. • There is a clear linear correlation between the batch line and the other process variables, especially MG_FLOW_ PV, FU_PULL, EBB_PWR_PV.
Certainly, the fact that there is no simple linear relationship in the data does not mean that there is no more complicated non-linear relationship. The above results suggest that batch asymmetry probably depends mainly on the parameters of the batch hopper operation, which we are not able to check here due to the lack of variability of these parameters. The other parameters that we considered apparently do not affect the asymmetry value. However, we can see the potential of predicting the position of the batch line based on other variables, which will be the subject of the next section.

Estimation of batch line position
We used machine learning methods to create a number of models predicting the position of the batch line on the basis of selected process variables. The best of the several dozen tested models turned out to be the regression model, calculated using the GPR method (Gaussian Process Regression-a non-parametric kernel-based probabilistic model) [18]. The input variables are listed in Table 5.
The mean square error of the model fit to the actual data (calculated using the five-fold cross-validation method) is 38.6 (RMSE), and the fit factor R 2 is 0.56. These results show that the model is not very accurate.  Since the classical methods did not give satisfactory results, we used artificial neural networks. We arbitrarily assumed a shallow network with three hidden layers (see Fig. 11). The inputs and outputs were the same as for the regression model. The data were randomly divided into a training set (70%), used to train the network, a validation set (15%), used to assess the effectiveness of the learning process, and a test set (15%), on which the final accuracy of the model was verified.
Since the learning method and the number of neurons in individual hidden layers are hyperparameters that cannot be determined optimally in advance, a simple method was used to search the space of parameters. For each of 11 back propagation-based learning methods (such as BFGS quasi-Newton, Conjugate gradient, Gradient descent with adaptive learning rate, Gradient descent with momentum, Levenberg-Marquardt, and Bayesian regularisation), all combinations of architectures with three hidden layers, where the number of neurons in each layer varied from 10 to 50 with a step of 10, were created and trained. As a result, 1375 networks were obtained, the best of which was the network size [h1 = 30, h2 = 20, h3 = 30] and the learning method based on back-propagation with Bayesian regularisation [19].
When analysing the results shown in Fig. 12, it can be seen that the model follows the trend in the data, although it does not reflect all the details. The histogram of the model residuals (the differences between the model and the actual data) and the auto-correlation waveform of the residuals indicates that the residuals are practically uncorrelated white noise. This means that the residuals do not contain any useful information, so the model is adequate. The mean square error of fitting the model output to the real data is 31.3, and the fit coefficient R 2 is 0.84. The results are much better than for the regression model. Such a model could be used to predict the position of the batch line depending on other process variables in the glass furnace.

Conclusion
The information obtained from our vision system allowed observation of phenomena occurring in glass furnaces, which were previously difficult to notice. Historical data on batch asymmetry show that the furnace distributes the batch asymmetrically-10% more batch is accumulated on the right side of the furnace. Moreover, data analysis showed that the asymmetry was greatly influenced by which burner was running before the reversal, and that asymmetry was much greater after operation of the left burner. The large asymmetry of the batch in the furnace is disadvantageous, as it makes it difficult to melt the batch evenly and may lead to the penetration of the unmelted batch into the working end.
Historical data of the batch line position allows an assessment of whether the operator is controlling the process optimally. Typically, operators tend to shorten the batch line unnecessarily to avoid the risk of unmelted glass entering the working end. However, doing so leads to much higher energy consumption and process inefficiency.
Summarising this research, it can be stated that: • On the basis of the available data, it is not possible to find a relationship between the asymmetry of the batch and other process variables. Perhaps carrying out some experiments on the object, such as changing the batch charger parameters in a carefully planned scenario, would provide new data useful for this analysis. • The location of the batch line can be estimated based on aggregated SCADA data. We have tested several models and the best accuracy was achieved using the model based on neural network. Revealing a complex relationship between process parameters and batch line position can be used for optimisation of the furnace operation, which is currently based on the experience of human operators.
In future research, additional process variables logged in SCADA can be included in analysis. These variables may include gas calorific value or the level of a glass cullet in the batch (as it acts as a fluxing agent and decreases the melting energy). Perhaps it would make sense to build a separate model for each burner, because, as research has shown, the process is slightly different depending on which burner is working.
From the point of view of the process operator, running the process as efficiently as possible is important. Therefore, operators should observe the following recommendations: • The operator should control the batch asymmetry trend and properly adjust the batch charger settings and the load of both burners so that the asymmetry coefficient is as close as possible to zero. • The operator should also control the trend of the line position of the batch and adjust the amount of energy supplied to the furnace appropriately, to ensure optimal line position. Too short a line increases energy consumption, and too long a line may result in the penetration of unmelted glass into the working end.