Abstract

Through the study of scattered gamma beam intensity, material density could be obtained. Most important factor in this densitometry method is determining a relation between recorded intensity by detector and target material density. Such situation needs many experiments over materials with different densities. In this paper, using two different artificial neural networks, intensity of scattered gamma is obtained for whole densities. Mean relative error percentage for test data using best method is 1.27% that shows good agreement between the proposed artificial neural network model and experimental results.

1. Introduction

The gamma-ray photons lose their energy in a stopping medium by these processes: photoelectric effect, Compton effect, pair production, and photonuclear effect. With the analysis of these interactions, some information about characteristics of materials can be obtained. Compton scattering is strongly dependent on the materials density. Therefore, this method is very good choice for densitometry of unknown materials [16]. El Abd [7] has shown that scattering photons are more sensitive than transmitted photons in order to density meter and void fraction prediction. In [7], the void fraction has been predicted without using artificial neural network (ANN); therefore the error is considerable. In this paper, experimental data have been obtained from a density measurement tomography system [8]. These data were used for training the ANN. Set-up of this tomography system was shown in Figure 1.

In investigated tomography system [8], a NaI (Tl) scintillation detector in 3 × 3 inch dimensions has been used. The detector records scattered photons from target sample. The source is 137Cs with 8 mci activation. Distances between the sample from the source collimator and the detector are 5.56 cm and 6 cm, respectively. Investigated samples have dimensions and thickness of 1 × 2 cm2 and 1 cm, respectively. The time durations of measurement are 100 seconds. Relative stochastic error has inverse relation with the number of registered counts in detector. In this study because the scattering method is used and the number of counts in this method is less in comparison with the transmission method, therefore the measurement time should be increased in order to decrease the stochastic error. By taking 100-second time duration, the stochastic errors are in the range of 0.5%–1.5% (5000–20000 counts for different materials). The experimental results are shown in Table 1.

The aim of this study is increasing the precision of described tomography system by means of artificial neural networks (ANNs). In [911], some applications of artificial intelligence in density prediction and volume fraction measurement have been presented. In this study, registered counts in the scattering detector, which are obtained for some known materials with various densities by the experiments, are used as the input of the ANN. Also, the densities are used as the output of the ANN. In such situation, with one input and one output, increasing the hidden layers not only decreases error but also can increase it. Hence, two optimum structures with low error for using in densitometry system are proposed. Finally, using these feedforward multilayer perceptron ANNs, numbers of detected photons were obtained for some unknown materials.

2. First Suggested ANN

ANNs are so useful in prediction problems. ANNs can be defined as a mathematical system consisting of simple processing elements named neuron running in parallel, which can be generated as one or multiple layers [12]. The multilayer perceptron (MLP) networks are the most widely used neural networks that are feedforward networks with minimum three layers (input layer, hidden layer, and output layer). Each layer has a number of processing units and each unit is fully interconnected with weighted connections to units in the subsequent layer [13]. In this paper, two precise methods based on multilayer perceptron ANN have been presented to predict material density according to counted scattered photons. The first proposed MLP model is shown in Figure 2. The input variable used in this model is number of counted photons and the output is material density. The input to the node in the first hidden layer is given by [12, 13]: The output from th neuron of the second hidden layer is given by where is the input variables, is the bias term, is the weighting factor, and is the activation function of the hidden layer.

Required data set for training the network is obtained from described tomography system in the introduction. The training of presented MLP networks is done by Levenberg-Marquardt (LM) algorithm. In this method, first derivative and second derivative (hessian) are used for network weight correction [14]. One of the advantages of LM method is that it is not necessary to determine the learning rate from the beginning. The learning rate in this method can be updated adaptively. In order to develop the ANN model the total data are divided into two classes: 70% for training and 30% for testing the trained model. MATLAB 7.6.0 software was used for training the ANN model. Table 2 shows the specification of the first proposed ANN model being used in this study.

Table 3 shows the obtained results for the proposed ANN model, where the mean relative error percentage (), the root mean square error (), and the mean absolute error percentage () of the network are calculated by where is the number of data and “” and “” stand for experimental and predicted (ANN) values, respectively.

The training and testing results of the presented ANN model are shown in Figure 3. From Table 3 and Figure 3, clearly the predicted unknown material density by ANN model is close to the experimental results. These results show the applicability of ANN as an accurate and reliable model for the prediction of density according to the counted gamma photons.

Prediction results about number of the scattered photons from some different materials are given in Table 4.

3. Second Suggested ANN

To have simpler and smaller size network, by considering the number and variety of the inputs, another network is proposed, as shown in Figure 5. The proposed ANN includes only two layers and two neurons; each layer consists of one neuron.

The properties of the second suggested ANN are illustrated in Table 5. As shown in this Table, the presented network has smaller and more optimum size in comparison with the first suggested ANN. Furthermore, the number of epochs for weight iterations to approach the requested response is increased. LM learning results in local convergences of the gradient function in primal weight corrections. To avoid this fact, the epoch of the iterations is increased. Due to second order convergence of LM learning, the learning process has a good speed and it can achieve the requested response, rapidly.

Like the previous network, whole of the data are parted in two classes: 70% for train and 30% for test. The defined errors for training and testing of the second proposed ANN are shown in Table 6.

As seen from Table 6, the MAE% and MRE% of this network architecture for train and test data and also the RMSE error for train data have significant values compared to the pervious complex network. But, the value of RMSE error for test data has a small amount of 0.0167, which is the most important factor. The RMSE has 192.21% reduction from the previous architecture and validates the efficiency of this simple and optimum network.

Train and test results of the proposed ANN model are shown in Figure 5. The simulation results are in good agreement with experimental result in train and test mode.

Most important advantage of this architecture, in comparison with the previous one, is avoidance of the complications, which simplifies the implementation of the proposed ANN. In addition, a simple relation can be determined from this network to calculate the density of materials as a function of number of detected photons: where ,  , and   (gr/cm3).

It is for the first time that a simple formula is presented, which can predict the density of every material according to the scattered counted photons with high precision.

The predicted results about applied materials in Table 4 using second ANN are given in Table 7.

4. ANN Validation Using K-Fold Cross Validation

For a neural network, which has a few number of inputs, the validation is so necessary to ensure the achieved results and predictions. Several methods have been presented for validation such as K-fold cross validation [15]. In this method, the data are parted to K batches. The value of K can be determined by the requested accuracy and the numbers of inputs. Firstly, one of these batches is considered as test inputs, while the others are assumed as train inputs. Then the considered batch as test inputs will be classified in train inputs and another batch from the train inputs will be applied to the network. The above described trend is continuing K time. Finally, test errors for all of the occurred training states are calculated. The error averages are compared with test errors of the proposed ANN and can validate the accuracy of the modeled ANN for next results and predictions. For the proposed method K is considered five and data are classified as twin batches: [] [] [] [] []. Because of using LM learning, the epoch is fixed to 400 for all of the training processes. The validation results show that the second suggested ANN has less error average of RMSE in various tests (0.0934) (Figure 4). This value is an acceptable validation average error for a MLP in weight correction iterations. The variation of RMSE errors for various batches in order to various Ks is illustrated in Figure 6.

5. Conclusion

The number of scattered and counted gamma photons highly depends on material density. A tomography system based on this principle was designed in order to measure the density of various materials. The measurement precision in such systems is an important issue in the industry. One solution for improving the precision is increasing the number of experiments and calibration measurements with more and more different materials, which is a hard task due to problems related to experimental works. Another solution is using the artificial intelligence which is an easy and powerful tool in prediction problems. In this study, registered counts in the scattering detector obtained by the designed tomography system are used as the input of the ANN. Also the densities are used as the output of the ANN. Two different multilayer perceptron artificial neural networks are proposed to predict material density. According to few numbers of inputs and having one kind of input and output, K-fold cross validation was applied. The results of proposed ANNs show that the presented model could be employed in densitometry of materials. Using second ANN, a simple formula to predict the materials density was presented.

Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.