application of electrical capacitance tomography...

23
Research Article Application of Electrical Capacitance Tomography for Imaging Conductive Materials in Industrial Processes Wael Deabes , 1,2 Alaa Sheta, 3 Kheir Eddine Bouazza, 1,4 and Mohamed Abdelrahman 5 1 Department of Computer Science, Jamoum University College, Umm Al-Qura University, Makkah, Saudi Arabia 2 Department of Computer and System Engineering, Mansoura University, Egypt 3 Computer Science Department, Southern Connecticut State University, New Haven, CT, USA 4 Laboratoire dInformatique et des Technologies de lInformation dOran (LITIO), University of Oran, Algeria 5 Division of Academic Aairs, Colorado State University-Pueblo, Pueblo, CO, USA Correspondence should be addressed to Wael Deabes; [email protected] Received 5 September 2019; Accepted 27 November 2019; Published 28 December 2019 Academic Editor: Mohammad Haider Copyright © 2019 Wael Deabes et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited. This paper presents highly robust, novel approaches to solving the forward and inverse problems of an Electrical Capacitance Tomography (ECT) system for imaging conductive materials. ECT is one of the standard tomography techniques for industrial imaging. An ECT technique is nonintrusive and rapid and requires a low burden cost. However, the ECT system still suers from a soft-eld problem which adversely aects the quality of the reconstructed images. Although many image reconstruction algorithms have been developed, still the generated images are inaccurate and poor. In this work, the Capacitance Articial Neural Network (CANN) system is presented as a solver for the forward problem to calculate the estimated capacitance measurements. Moreover, the Metal Filled Fuzzy System (MFFS) is proposed as a solver for the inverse problem to construct the metal images. To assess the proposed approaches, we conducted extensive experiments on image metal distributions in the lost foam casting (LFC) process to light the reliability of the system and its eciency. The experimental results showed that the system is sensible and superior. 1. Introduction Electrical Capacitance Tomography (ECT) is a well- established technique for imaging material distribution inside closed pipes and asks. It is noninvasive and portable, has high-speed data acquisition and inexpensive construction, and is a safe method compared to other computed tomogra- phy technologies such as X-ray [1, 2]. Recently, many process applications, especially those which need dynamic monitor- ing and control, apply the ECT techniques. Multiphase ow applications, where one phase in the shape of particles, drop- lets, or bubbles exists in an unceasing carrier phase (i.e., gas or liquid), are good instances of the dynamic applications. The rst phase could be plastics, dry powder, or even metal [3]. Typically in the ECT system, capacitance measurements are collected between groups of electrodes evenly distributed around a border of the imaging area. These measurements are proportional to dielectric properties of the materials inside the imaging area, and they are used to generate tomo- graphic images describing the distribution of the materials [4]. The ECT system has two main computational problems: forward and inverse problems [5]. (i) The Forward Problem. The distribution of the mate- rials is known, and the capacitance measurements have to be determined by solving partial dierential equations modeling the ECT system [6]. (ii) The Inverse Problem. The capacitance measurements are identied, and images of the distribution of the material have to be generated using image recon- struction algorithms [7]. Solving the forward problem requires building an accu- rate module describing characteristics of the ECT system Hindawi Journal of Sensors Volume 2019, Article ID 4208349, 22 pages https://doi.org/10.1155/2019/4208349

Upload: others

Post on 30-Jul-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Application of Electrical Capacitance Tomography …downloads.hindawi.com/journals/js/2019/4208349.pdfthe fuzzy system theory [11]. The main advantage of the designed fuzzy model is

Research ArticleApplication of Electrical Capacitance Tomography for ImagingConductive Materials in Industrial Processes

Wael Deabes ,1,2 Alaa Sheta,3 Kheir Eddine Bouazza,1,4 and Mohamed Abdelrahman5

1Department of Computer Science, Jamoum University College, Umm Al-Qura University, Makkah, Saudi Arabia2Department of Computer and System Engineering, Mansoura University, Egypt3Computer Science Department, Southern Connecticut State University, New Haven, CT, USA4Laboratoire d’Informatique et des Technologies de l’Information d’Oran (LITIO), University of Oran, Algeria5Division of Academic Affairs, Colorado State University-Pueblo, Pueblo, CO, USA

Correspondence should be addressed to Wael Deabes; [email protected]

Received 5 September 2019; Accepted 27 November 2019; Published 28 December 2019

Academic Editor: Mohammad Haider

Copyright © 2019 Wael Deabes et al. This is an open access article distributed under the Creative Commons Attribution License,which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

This paper presents highly robust, novel approaches to solving the forward and inverse problems of an Electrical CapacitanceTomography (ECT) system for imaging conductive materials. ECT is one of the standard tomography techniques for industrialimaging. An ECT technique is nonintrusive and rapid and requires a low burden cost. However, the ECT system still suffersfrom a soft-field problem which adversely affects the quality of the reconstructed images. Although many image reconstructionalgorithms have been developed, still the generated images are inaccurate and poor. In this work, the Capacitance ArtificialNeural Network (CANN) system is presented as a solver for the forward problem to calculate the estimated capacitancemeasurements. Moreover, the Metal Filled Fuzzy System (MFFS) is proposed as a solver for the inverse problem to construct themetal images. To assess the proposed approaches, we conducted extensive experiments on image metal distributions in the lostfoam casting (LFC) process to light the reliability of the system and its efficiency. The experimental results showed that thesystem is sensible and superior.

1. Introduction

Electrical Capacitance Tomography (ECT) is a well-established technique for imagingmaterial distribution insideclosed pipes and flasks. It is noninvasive and portable, hashigh-speed data acquisition and inexpensive construction,and is a safe method compared to other computed tomogra-phy technologies such as X-ray [1, 2]. Recently, many processapplications, especially those which need dynamic monitor-ing and control, apply the ECT techniques. Multiphase flowapplications, where one phase in the shape of particles, drop-lets, or bubbles exists in an unceasing carrier phase (i.e., gas orliquid), are good instances of the dynamic applications. Thefirst phase could be plastics, dry powder, or even metal [3].

Typically in the ECT system, capacitance measurementsare collected between groups of electrodes evenly distributedaround a border of the imaging area. These measurements

are proportional to dielectric properties of the materialsinside the imaging area, and they are used to generate tomo-graphic images describing the distribution of the materials[4]. The ECT system has two main computational problems:forward and inverse problems [5].

(i) The Forward Problem. The distribution of the mate-rials is known, and the capacitance measurementshave to be determined by solving partial differentialequations modeling the ECT system [6].

(ii) The Inverse Problem. The capacitance measurementsare identified, and images of the distribution of thematerial have to be generated using image recon-struction algorithms [7].

Solving the forward problem requires building an accu-rate module describing characteristics of the ECT system

HindawiJournal of SensorsVolume 2019, Article ID 4208349, 22 pageshttps://doi.org/10.1155/2019/4208349

Page 2: Application of Electrical Capacitance Tomography …downloads.hindawi.com/journals/js/2019/4208349.pdfthe fuzzy system theory [11]. The main advantage of the designed fuzzy model is

and calculating capacitance measurements according tocertain material distribution. A finite element linear modelcalled a sensitivity matrix, based on linearizing the relationbetween the physical property and the measured capacitance,is generated to update the image [8]. The sensitivity matrix iscreated by dividing the domain of interest into smallelements; afterward, the capacitance data are obtained as alinear sum of different perturbations composing the overalldistribution. Although the use of the sensitivity matrixincreases the speed of solving the forward, the results areblurred and weak due to the linear approximation.

Practically, it is challenging to have an accurate modelfor a complex nonlinear system [4]. For some nonlinearsystems that have complex physical behavior, it can beimpossible to describe them by analytical equations.Therefore, parametric model identification is a well-suitedmethod for creating experimental models of complex sys-tems, especially when parameters of the system are notprecisely known. Compared to traditional nonlinear identi-fication methods, fuzzy systems not only do not requiredetailed knowledge about the model’s structure but alsoprovide accurate models directly from measured inpu-t/output data [9, 10]. Also, the uncertainties associatedwith the complex system can be represented easily usingthe fuzzy system theory [11]. The main advantage of thedesigned fuzzy model is not only precisely predicting theoutputs of the actual system but also adapting to changesin the behavior of the system.

The solution of the inverse problem is a tomographicimage generated after applying a predefined image recon-struction algorithm [12]. Typically, these algorithms are ill-posed since the number of unknowns (image pixels) is largerthan the number of knowns (capacitance measurements).The material distribution has a highly nonlinear effect onthe capacitance measurements; therefore, the inverse prob-lem solution is a challenging task [13].

The techniques that construct fuzzy models fromexperimental data are called fuzzy identification algorithms[14]. There are two methods, which can be combined, tointegrate between the expert knowledge and data in fuzzymodeling:

(1) A group of if-then rules expressing the expertknowledge written in linguistic form is built. In thiscase, the fuzzy model is well defined, although theparameters such as membership function parame-ters of this model can be optimized and tuned basedon the input-output data pairs. The optimizationalgorithm handles the fuzzy model as a network lay-ered structure, and the parameters of each layer canlearn the characteristics of the actual system fromthe collected data

(2) The fuzzy model is built using system data withoutusing any prior knowledge about the system underinvestigation to construct the fuzzy rules. It isassumed that the fuzzy parameters, rules, and mem-bership functions extract the system behavior embed-ded in the input-output data. The expert, in this case,

verifies based on his knowledge whether the fuzzymodel gained the required characteristics of the actualsystem or not. If not, he can modify the rules or pro-vide new data with more information

The second method for building the fuzzy models, inmost complex applications, is more practical than the expertknowledge-based method [9, 10]. It avoids the knowledgeextracting process from the expert, which is known as themost challenging stage in the reconstruction of the fuzzymodel. The fuzzy systems designed based on extracting theinformation from the supplied data are used for the givenproblem as well as changing design parameters and operatingconditions.

This paper presents novel methods for solving the for-ward and inverse problems of the ECT system for conductiveimaging materials in the lost foam casting (LFC) process. Abetter understanding of the characteristics of the moltenmetal inside the foam pattern is needed to reduce the fill-related defects and to improve the final casting [11]. One ofthe main problems associated with the ECT system for con-ductive imaging materials is shielding the sensors and makesit blind to any change. A nonlinear forward solver calledCapacitance Artificial Neural Network (CANN) has beendeveloped to solve the forward problem to overcome suchlimitations. It is based on the Feed-Forward Neural Network(FFNN)model. The use of FFNN combines the advantages ofsolving the forward problem nonlinearly with high speed andaccuracy. The training data are generated based on differentmodels developed to describe the behavior of the moltenmetal during the casting process [15–17]. All of them arestimulated by a finite element method to calculate thecapacitance measurements related to all different distribu-tions. To increase the accuracy of the neural network, somerandom metal distributions are generated and used to trainthe neural network.

Furthermore, a novel method for solving the inverseproblem is presented. This method applies a trained fuzzysystem to enhance the quality of the reconstructed imagesdescribing the metal distribution in the LFC process. Themethod consists of three phases, as shown in Figure 1.The first phase is a preprocessing where the capacitancemeasurements CN are filtered and normalized. These mea-surements are the inputs to the Metal Filled Fuzzy System(MFFS) in the second phase. The final reconstructed imageis generated in the last phase. This system takes CN andproduces the metal distribution G, where G is an imagewith an M ×M dimension. G represents the presence ofthe metal in each pixel of an image. In our case, N andM are 66 and 16, respectively. This system should be ableto predict the metal distribution inside the foam pattern(imaging area).

After recalling the lost foam casting process in Section 2and the components of the ECT system in Section 3, the threestages of the framework are theoretically and practically pre-sented and explained each in a separate section. Numericalresults explained in Section 7 show good performancesachieved by applying the proposed framework. The finalsection will conclude the proposed work.

2 Journal of Sensors

Page 3: Application of Electrical Capacitance Tomography …downloads.hindawi.com/journals/js/2019/4208349.pdfthe fuzzy system theory [11]. The main advantage of the designed fuzzy model is

2. Lost Foam Casting (LFC)

During the past two decades, many imaging techniquesapplied in industrial process applications have been devel-oped [18, 19]. One of the primary process applications is lostfoam casting (LFC). The LFC is a type of evaporative patterncasting process that has been used heavily in automotiveapplications, for example, cast iron, aluminum alloys, steels,and nickel. It is a simple and affordable technique at a lowcost for casting very complex molds made from foam. Thefoam pattern is placed surrounded by compact sand insidea flask. Afterward, molten metal is poured into decomposingthe foam pattern and produces a final casting [20, 21]. Thesteps of the LFC process are shown in Figure 2, while anexample of a final cast (cylinder valve and the head) and itsfoam mold is illustrated in Figure 3.

The LFC process has substantial environmental andenergy advantages over other traditional casting processes,such as simplicity, elimination of unwanted environmentalgarbage, and reduction of the processing cost. Moreover,the LFC can cast complex and delicate detailed geometriesand produces castings with smooth surface finishing, whichsignificantly reduces the machining times. It is crucial inthe LFC process to monitor the behavior of the molten metalwhile filling the foam pattern to discover and correct processfaults to enhance the final casting [23]. Therefore, capturingthe metal characteristics eliminates a variation in the processparameters and leads to a consistent filling process.

Usually, it uses inferred cameras and X-ray technologyfor imaging a metal fill profile during the casting [24]. TheX-ray tomography has many disadvantages, such as thehazard radiation, the big size, the fixed structure, and a high

cost. These disadvantages of the X-ray tomography drivedmanufacturers to look for a novel feasible technology thatcan capture the flow of the molten metal during the castingprocess. Recently, because of the advantages of the ECT sys-tem compared with the inferred and X-ray technologies, theLFC process implements the ECT system for imaging themetal during the casting process [25].

3. ECT System

Typically, the ECT system contains three parts, an array ofelectrodes, a data acquisition unit, and a computing device[26]. Assume we have a group of n electrodes, thus, eachtwo formulate a capacitive sensor. There is an external shield

Polystyrenepattern

Supportsand

Moltenmetal Polystyrene

burns;gas escapes

Figure 2: Lost foam casting (LFC) process.

Figure 3: Metal cylinder valve and its foam pattern [22].

Actualcapacitance

Filteringand

normalization

MFFSsystem

(inverse)

Reconstructed image

Grounded metal

Figure 1: The inverse system architecture.

3Journal of Sensors

Page 4: Application of Electrical Capacitance Tomography …downloads.hindawi.com/journals/js/2019/4208349.pdfthe fuzzy system theory [11]. The main advantage of the designed fuzzy model is

(flask) around these electrodes to eliminate external noisesand stray capacitance effects [27], as shown in Figure 4.The mutual capacitance is measured between every two elec-trodes where one active electrode works as a transmitter andthe other grounded electrodes work as receivers. Therefore,the number of independent capacitance measurements Nfor one distribution is computed as in the following:

N = n n − 1ð Þ2 , ð1Þ

where M is the total collected capacitance and n representselectrodes’ number. The array of sensors applied in this workhas n = 12 electrodes evenly distributed around the foampattern in Figure 4.

The linear forward model of the ECT is expressed as [12]

CM×1 = SM×NGN×1, ð2Þ

where C is the measurements, G is the image matrix, N is thenumber of images’ pixels which is around 256 pixels for a16 × 16 image, and the sensitivity matrix S is calculated foreach element k as follows:

Si,j kð Þ = Ci,j kð Þ − Cli,j

Chi,j − Cl

i,j, ð3Þ

where Cli,j are capacitance when the imaging region is full by

a low permittivity material and Chi,j are capacitance when

filled by the high permittivity one.As shown in Equation (2), the number of image pixels is

more significant than the measured data. Therefore, theproblem is ill-posed, and any small change in the measure-ments can cause a significant error in the image. Moreover,the sensitivity matrix is not square, and the reconstructedimage cannot be computed by using S−1 [28]. Hence, thereconstruction algorithms are classified into two types: non-iterative and iterative algorithms. Linear Back Projection

(LBP), Equation (4), is one of the noniterative algorithmswhich usually creates blurred images but applies lowcomputations:

G = STC: ð4Þ

While iterative algorithms such as Iterative Linear BackProjection (ILBP), shown in Equation (5), provide moreaccurate images, its time complexity is high and linearlyproportional with the number of iterations k:

Gk+1 =Gk − λST SGk − Cð Þ, ð5Þ

where λ is the relaxation parameter, SGk is the forwardproblem solution, and k is the iteration number [28].

Also, it is essential to mention that applying the ECTtechnique in the LFC process is a challenging task since,typically, the ECT works for imaging the nonconductivematerials [7, 29]. Existence of the grounded metal insidethe imaging area affects the sensitivity matrix dramatically.Therefore, applying the traditional image reconstructionalgorithms such as ILBP and Tikhonov algorithm is not fea-sible. Figure 5 illustrates this dramatic change between thelinear sensitivity matrix and the actual sensitivity matrix fora single piece of grounded metal put almost in the center ofthe imaging area. The sensitivity matrix between sensor pair(1-6) appears in Figure 5(a), while the sensitivity valuesbetween pair (1-5) are shown in Figure 5(b).

As shown in Figure 5, it is impossible to depend on thelinear sensitivity matrix in solving the ECT inverse problemwith conductive imaging materials. Also, in computing theactual sensitivity matrix, each iteration is time-consuming.Therefore, building novel reconstruction algorithms that donot use the sensitivity matrix is crucial, and the soft-computing techniques can play a vital role in solving thisproblem.

The proposed LFC process has extraordinary characteris-tics compared to the other industrial processes. One of thesecharacteristics is the high temperature, which can reach up to1400°F. Therefore, a particular ECT hardware system isrequired for the harsh foundry environment that was built.The new capacitance measuring circuits are designed to takeadvantage of the high molten metal temperature [30].

4. Forward Problem Solution

In this work, a soft-computing solution to the forward prob-lem is proposed. The solution will start by modeling the ECTproblem. The process requires an in-depth knowledge of theECT system as well as the metal fill problem. Initially, theECT forward model is built using ANSYS Finite Element(FE) software. This model is used to generate the capacitancemeasurements corresponding to any metal distribution inthe imaging area [4, 21]. Therefore, much data is createdwhere the inputs are predefined metal distributions and theoutputs are the resultant measurements.

4.1. Data Generation. How the molten metal replaces thefoam pattern during the casting process stimulates the

4

11

Flask(external shield)

5

610

12

Guards

Electrodes

Sand

1

89

Metal

Imaging area(foam)

2 3

7

Figure 4: A cross-sectional view of ECT electrode system with 12electrodes.

4 Journal of Sensors

Page 5: Application of Electrical Capacitance Tomography …downloads.hindawi.com/journals/js/2019/4208349.pdfthe fuzzy system theory [11]. The main advantage of the designed fuzzy model is

training data generation. The movement of the molten metalis correlated with the styles of the decomposition of the foampattern. There are several physical mechanisms to decom-pose the foam pattern, which depend on different factorssuch as the kind of foam beads as well as the location of thegate where the metal enters the foam [31]. The foam decom-position is classified into three modes: contact mode, gapmode, and collapsed mode [15].

(1) Contact mode is shown in Figure 6(a), where themolten metal flows and presses gradually againstthe foam

(2) Gap mode happens when a finite gap of air causedby polymer vapor between the molten metal andthe decomposing foam pattern as illustrated inFigure 6(b)

(3) Collapse mode happens because of the foam joininginterbead pattern porosity to the coated surface, asshown in Figure 6(c). The liquid metal forms shapeslike fingers inside the foam pattern and the airexhausts through the coating

Actually, the implementation of the ECT system forconductive imaging materials is entirely different from thetraditional ECT for imaging the dielectric constant of

nonconductive materials. After the foam decompositionhappened, the grounded metal shields the electrical fieldbetween the transmitting electrodes and the receivers, caus-ing significant changes in the capacitance measurements.We capture these measurements and use it in generatingthe distribution of the metal inside the imaging area. There-fore, the dielectric constant of the decomposed foam duringthe three decomposition modes does not have that mucheffect on the measurements. However, we used it for simulat-ing the behavior of the molten metal during the castingprocess to generate the required data for training the neuralnetwork in the next section.

An FE model is built to simulate the flow of the moltenmetal in these different foam decomposition modes. Typi-cally, the starting point of the metal filling is the gate; then,the shape of how the metal replaces the foam depends onthe foam decomposition mode. According to the metal distri-bution, capacitance measurements are computed and nor-malized from the FE model, as given in

CN = CFi − Ci

CFi − CM

i

, ð6Þ

where CFi and CM

i are capacitance measurements when theimaging area is empty and filled by the metal, respectively,

1 2 3

9 8 7

12

11

10

4

5

6

1 2 3

9 8 7

12

11

10

4

5

6

1 –6 (linear sensitivity) 1 –6 (actual sensitivity)

1 2 3

9 8 7

12

11

10

4

5

6

1 2 3

9 8 7

12

11

10

4

5

6

1 –5 (linear sensitivity)(a)

(b)

1 –5 (actual sensitivity)

1 2 3

9 8 7

12

11

10

4

5

6

Actual distribution

–0.84

–0.42

–0.00

Figure 5: Linear and actual sensitivity matrices for electrode pairs (a) (1-6) and (b) (1-5) for a single piece of metal.

5Journal of Sensors

Page 6: Application of Electrical Capacitance Tomography …downloads.hindawi.com/journals/js/2019/4208349.pdfthe fuzzy system theory [11]. The main advantage of the designed fuzzy model is

and Ci is the measurement vector equivalent to a predefinedmetal distribution. The gate is placed at various locationswhile generating the data to simulate all probable metaldistributions during the casting process. For example, to sim-ulate the collapsed mode, the molten metal is filled from dif-ferent gates simultaneously to represent the random motionof the metal in this mode.

For illustration, some metal distributions simulating thecontact mode of the filling are listed in Figure 7, while thenormalized capacitance data computed from the FE modeland corresponding to the second and last distributions aredisplayed in Figure 8. According to the second metal distri-bution, where a small piece of the metal exists between elec-trodes 6 and 7, the measured capacitance between electrodes

(a) Contact mode as shown in the X-ray image of a regular

and smooth filling of 8 mm thick foam plate [17]

(b) Gap mode as shown in the neutron radiograph

image of a side-filling of 12mm thick foam plate [16]

(c) Collapse mode as shown in the X-ray image of a rapid

and irregular filling of 8 mm thick foam plate [16]

Figure 6: Different types of foam decomposition.

Figure 7: Metal distributions simulating the contact mode.

6 Journal of Sensors

Page 7: Application of Electrical Capacitance Tomography …downloads.hindawi.com/journals/js/2019/4208349.pdfthe fuzzy system theory [11]. The main advantage of the designed fuzzy model is

6 and 7 and the others is almost saturated and reachesmaximum value one, while the rest of the measurementsare small since there is no metal at their sensing region, asshown in Figure 8(a), whereas filling half of the imaging areaby metal, the last metal distribution shown in Figure 7, makesmany of the capacitance values equal to one, as shown inFigure 8(b).

4.2. The CANN: Forward Problem Solver. The forward prob-lem of the ECT system is a highly nonlinear problem, wherechoosing a modeling method for this problem is a big chal-lenge. Artificial Neural Network (ANN) is an appropriatecandidate for modeling this problem to overcome the highnonlinearity of the system. The ANN has proven to be suc-cessful in modeling the dynamics of nonlinear and sophisti-cated systems. Historically, ANN was used to model manymanufacturers processed with a high level of nonlinearitywith very accurate results. The ANN consists of I/O neurons,transfer function, and hidden layers. One of the crucial stagesin the development of the ANN is the network topology,where selecting an optimal number of hidden neurons is cru-cial. Typically, this number intensely affects the complexityof the system.

In this work, there is only m output neuron corre-sponding to the number of measurement Ciði = 1,⋯, 66Þ;hence, a Multi-Input Multi-Output (MIMO) structure hadbeen utilized to model the system. ANN with one hiddenlayer structure is implemented since it arbitrarily performsthe process mapping in a sufficient way [32].

A trial and error approach is adopted to identify the opti-mal topology of the ANN. The number of neurons increasedfrom five to forty in the trial stage, which significantlydecreased the error. The ANN model is considered as aneffective representation of the process and its data. Initially,weights of the ANN are arbitrarily selected, and throughmultiple runs during the training phase, these weights areoptimized. The final CANN model is composed of onehidden layer with twenty-five neurons for best modelingthe forward problem in the ECT system.

4.3. Model Estimation. Another critical stage of the ANNdeployment is applying an efficient iterative search algorithmfor updating the weights of the ANN. The batch BackPropagation (BP) [33] learning algorithm is very robust,and it provides a fast convergence. Therefore, it is appliedas a search algorithm for updating the weights. The mean

Mea

sure

men

ts

1

–0.10

0.10.20.30.40.50.60.70.80.9

Sensor #650 5 10 15 20 25 30 35 40 45 50 55 60

(a)

Mea

sure

men

ts

1

0

0.10.20.30.40.5

0.60.70.80.9

Sensor #650 5 10 15 20 25 30 35 40 5045 55 60

(b)

Figure 8: Normalized capacitance measurements of (a) third metal distribution and (b) last metal distribution in Figure 7.

7Journal of Sensors

Page 8: Application of Electrical Capacitance Tomography …downloads.hindawi.com/journals/js/2019/4208349.pdfthe fuzzy system theory [11]. The main advantage of the designed fuzzy model is

square error (MSE) shown in Equation (7) is used as anevaluating criteria for the ANN outputs:

MSE = 1N

〠i=N

i=1yi − yið Þ2, ð7Þ

where N is the total number of the dataset, yi is the actualtarget i value, and yi is the corresponding estimated i value.

In this research work, we adopted a fixed ANN structurewith a variable number of neurons in the hidden layer tochoose the best number based on the normalized trainingerror. Figure 9 shows the convergence of the CANN systemwith different numbers of neurons (15, 25, 50, and 66). Also,the numerical values of changing the number of neurons inthe hidden layer on the normalized errors during the trainingand testing phases are listed in Table 1. Since the error differ-ence between 50 and 66 neurons is too small, we adjusted thesize of the hidden layer at 50 neurons. Our research experi-ments show that the adopted structure is adequate for model-ing the problem. Figures 10 and 11 show the convergence ofthe CANN system with 50 neurons with single and multiplefilling points, respectively.

The training and validation are crucial stages during thedevelopment of the ANN. A set of I/O data is used duringthe training phase to adjust the weights until the specified

input yields the desired output with an acceptable error or apredefined iteration number is reached. The validity of themodel is tested by measuring the MSE between the targetand the network output. The modeling process is repeatedif the model cannot reach precise accuracy. A simple fitnessfunction to estimate the computed capacitance is given in

NEC = CA�� − CE��CA�� �� , ð8Þ

where NEC is the normalized error in G and CA and CE arethe actual and estimated capacitance output from the CANNsystem. Table 2 states the computed normalized error for theforward systems with single and multiple filling points. Theoutputs of the CANN system compared with the actual capac-itance measurements are shown in Figure 12. Figures 12(a)

Crite

rion

103

102

101

100

10–1

10–2

Trained ANN with the input G256 and the output C66

15 neurons25 neurons

50 neurons66 neurons

0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5terations × 104

Figure 9: The convergence of the CANN system with different numbers of neurons.

Table 1: Effect of the number of neurons on the training and testingnormalized errors.

Number of neurons 15 25 50 60

Training phase errors 0.1086 0.0724 0.0442 0.0416

Testing phase errors 0.1221 0.0750 0.0465 0.0471

8 Journal of Sensors

Page 9: Application of Electrical Capacitance Tomography …downloads.hindawi.com/journals/js/2019/4208349.pdfthe fuzzy system theory [11]. The main advantage of the designed fuzzy model is

and 12(b) show training and testing examples for the singlefilling points, while Figures 12(c) and 12(d) show some otherexamples of the multiple filling points.

5. Fuzzy Logic Modeling

5.1. Fuzzy Identification. A complex modeling problem canbe decomposed into several simpler subproblems using fuzzymodels. The fuzzy identification method is considered as a

Trained ANN with the input G256 and the output C66

Crite

rion

0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5Iterations

102

101

100

10–1

10–2

× 104

Figure 10: The convergence of the CANN system with 50 neurons with single filling.

Trained ANN with the input G256 and the output C66

0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5Iterations

Crite

rion

102

101

100

10–1

10–2

× 104

Figure 11: The convergence of the CANN system with 50 neurons with multiple filling.

Table 2: The computed normalized error for the forward CANNsystems.

Single filling Multiple filling

Training phase 0.0655 0.0430

Testing phase 0.0747 0.0448

9Journal of Sensors

Page 10: Application of Electrical Capacitance Tomography …downloads.hindawi.com/journals/js/2019/4208349.pdfthe fuzzy system theory [11]. The main advantage of the designed fuzzy model is

Sensor number

0

0.2

0.4

0.6

0.8

1

Nor

mal

ized

capa

cita

nce

Sensor number

0

0.2

0.4

0.6

0.8

1

Nor

mal

ized

capa

cita

nce

20 40 60 Sensor number

0

0.2

0.4

0.6

0.8

1

Nor

mal

ized

capa

cita

nce

20 40 60 Sensor number

0

0.2

0.4

0.6

0.8

1

Nor

mal

ized

capa

cita

nce

20 40 60 20 40 60

(a) Single filling (training case)

Sensor number

0

0.2

0.4

0.6

0.8

1

Nor

mal

ized

capa

cita

nce

20 40 60 20 40 60 Sensor number

0

0.2

0.4

0.6

0.8

1

Nor

mal

ized

capa

cita

nce

20 40 60 Sensor number

0

0.2

0.4

0.6

0.8

1

Nor

mal

ized

capa

cita

nce

20 40 60 Sensor number

0

0.2

0.4

0.6

0.8

1

Nor

mal

ized

capa

cita

nce

(b) Single filling (testing case)

Figure 12: Continued.

10 Journal of Sensors

Page 11: Application of Electrical Capacitance Tomography …downloads.hindawi.com/journals/js/2019/4208349.pdfthe fuzzy system theory [11]. The main advantage of the designed fuzzy model is

useful decompression tool for a nonlinear system modelingwhere the available data are partitioned into subsets. A sim-ple linear model [34] approximates each subset. This way,we achieve a reasonable balance between the complicity andthe accuracy of the model. A fuzzy clustering tool can

smoothly divide the data into subsets without any suddentransitions and also integrate diverse types of knowledge inthe same framework. In contrast to the traditional clusteringmethods, the fuzzy clustering allows the individuals tobecome useable by several groups simultaneously with

20 40 60 Sensor number

0

0.2

0.4

0.6

0.8

1

Nor

mal

ized

capa

cita

nce

Sensor number

0

0.2

0.4

0.6

0.8

1

Nor

mal

ized

capa

cita

nce

Sensor number

0

0.2

0.4

0.6

0.8

1

Nor

mal

ized

capa

cita

nce

Sensor number

0

0.2

0.4

0.6

0.8

1

Nor

mal

ized

capa

cita

nce

20 40 60

20 40 60 20 40 60

(c) Multiple filling (training case)

Sensor number

0

0.2

0.4

0.6

0.8

1

Nor

mal

ized

capa

cita

nce

Sensor number

0

0.2

0.4

0.6

0.8

1

Nor

mal

ized

capa

cita

nce

Sensor number

0

0.2

0.4

0.6

0.8

1

Nor

mal

ized

capa

cita

nce

20 40 60 20 40 60

20 40 60 20 40 60 Sensor number

0

0.2

0.4

0.6

0.8

1

Nor

mal

ized

capa

cita

nce

(d) Multiple filling (testing case)

Figure 12: Actual and estimated capacitance using the CANN.

11Journal of Sensors

Page 12: Application of Electrical Capacitance Tomography …downloads.hindawi.com/journals/js/2019/4208349.pdfthe fuzzy system theory [11]. The main advantage of the designed fuzzy model is

different membership degrees. The fuzzy modeling processconsists of two stages [9, 35]:

(1) Identifying the operating regions using heuristics ordata clustering techniques

(2) Determining the parameters of each submodel usingoptimization techniques such as the least-squarestechnique

From this point of view, fuzzy identification is consideredas a sophisticated search method that can build an accuratemodel from complex data. Fuzzy logic is used in this researchto formulate a binary image model by aggregating a set of lin-earized local subsystems which identify the nonlineardynamics of the metal filling process. Methods that can auto-matically generate fuzzy models from measurements, mostlyfrom the system data, have been developed. A comprehensivemethodology combining fuzzy sets and system identificationtools is applied in this work. A MATLAB toolbox calledFuzzy Modeling and Identification (FMID) [35] is imple-mented based on this methodology. The fuzzy clusteringmethod is applied to build linear subsets from the existingdata. Afterward, the association between the offered identifi-cation algorithm and the linear regression is implemented.

5.2. Fuzzy Clustering. Many clustering algorithms have beenintroduced in the literature [36]. Based on the similaritiesamong objects, a cluster analysis method is applied to classifythese objects and organize them into groups. Fuzzy clusteringalgorithms are useful in situations where a little prior knowl-edge exists since they do not rely on the underlying statisticaldistribution of data. The clustering algorithms can reveal theunderlying structures in data as well as reduce the complexityin modeling and optimization processes. These techniquesare usually used with data representing observations of somephysical process. Typically, a cluster can be defined as agroup of individuals similar to each other more than individ-uals in other clusters [37]. Clusters with different geometricalshapes, sizes, and densities can be exposed to the data. In par-ticular, an objective function to evaluate the interest of parti-tions is applied via the fuzzy clustering algorithm. Nonlinearoptimization algorithms, such as the least-squares optimiza-tion, are utilized to search for the local extreme of the objec-tive function. Hence, clustering with fuzzy objective functionhas strong relationships with the statistical regression andsystem identification methods [35].

One of the main concerns when using fuzzy identifica-tion via data clustering is the selection of the optimal numberof clusters K . In many cases, data does not have any priorinformation about its structure, and thus, the number ofessential subsets K in the data is estimated during the cluster-ing process. There are two approaches to decide the propernumber of clusters in data [36]:

(1) The first approach is to cluster the available data atdifferent values of K and afterward compute validitymeasures to evaluate the quality of the attained clus-ters. There are many scalar validity measures in theliterature [38]

(2) The second approach is to work with an appropri-ately large number of K , then repeatedly decrease thisnumber by combining similar clusters based on somepredefined measures

The second algorithm works as follows:

(1) Given the input-output sequences of Nd measure-ments Z = ðuðkÞ, yðkÞÞ, k = 1,⋯,Nd , to be clusteredbased on a chosen number K which is the same asthe fuzzy rules in this case

(2) Divide the data into a group of local linear submodelsby the Gustafson-Kessel (GK) algorithm [39, 40](applied in this study), in order to compute thefuzzy partition matrix, U = ½μik�, with i = 1, 2,⋯,K and k = 1, 2,⋯,Nd , the prototype matrix, V =½v1,⋯, vK �, and cluster covariance matrices F =½F1,⋯, Fk� (Fi are positive definite)

(3) Compute the antecedent membership functions Aifrom the cluster parameters (U , V , and F)

(4) Estimate the consequent parameters ai and bi by theleast-squares method

5.3. Identification of TS Fuzzy Model. Methods for imple-menting Takagi-Sugeno (TS) fuzzy models from the fuzzyclusters are reviewed in this section. The structure of the TSmodel is described, and methods for creating the antecedentmembership functions and assessing the consequent param-eters are discussed.

ANSYSsimulation

Fuzzymodel selection

Estimation offuzzy

parameters

Fuzzymodel

validation

Modelvalid?

Modelaccepted

Priorknowledgeof metal fill

Figure 13: The system identification process for developing thefuzzy logic systems.

12 Journal of Sensors

Page 13: Application of Electrical Capacitance Tomography …downloads.hindawi.com/journals/js/2019/4208349.pdfthe fuzzy system theory [11]. The main advantage of the designed fuzzy model is

Each cluster attained from the clustering process is con-sidered as a local approximation of the regression hypersur-face. Analytically, the antecedent membership functions arerepresented by calculating the distance of xðkÞ from the pro-totypes vi and then calculating the membership degree ininverse proportion to this distance. Therefore, if Fx = ½ f ij�,i ≥ 1, j ≤ p, includes all but the last column and the lastrow of the cluster covariance matrix F, the correspondingnorm inducing matrix is given by

Axi = det Fx

ið Þ½ �1/p Fxið Þ−1: ð9Þ

Let vxi = ½v1i,⋯, vpi�T denote the projection of the clustercenter onto X. Then, the distance between the antecedentvector x and the projection of the cluster center vxi iscalculated as

DAxix, vxið Þ = x − vxið ÞTAx

i x − vxið Þ: ð10Þ

This distance is transformed into the membershipfunction by

βi xð Þ = 1

∑Kj=1 DAx

ix, vxið Þ/DAx

ix, vxj

� �� �2/ m−1ð Þ , ð11Þ

where m is the fuzziness parameter in the GK algorithm.Note that the sum is one when adding up the membershipdegrees of all the rules; therefore, this equation calculatesthe correlation degree between all the rules.

On the other side, the consequent parameters ai and biare estimated using the weighted ordinary least-squaresmethod. Let Xe represent the matrix ½X 1� andWi a diagonalmatrix in RN×N which is the membership degree μik as its k

th

diagonal element, then

ai

bi

" #= XT

e WiXe

� �XTe Wiy ð12Þ

is the least-squares solution of

y = Xe

ai

bi

" #, ð13Þ

where columns of Xe are linearly independent and kth datapair ðxk,ykÞ is weighted by μik.

This algorithm for building the TS fuzzy model is devel-oped and implemented by Babuska [41]. He developed aMATLAB toolbox called the Fuzzy Modeling and Identifica-tion (FMID) toolbox, which is used in this work.

6. Inverse Problem Solution

The use of the fuzzy logic approach is proposed for the firsttime in the literature to solve the inverse problem of theECT system design to solve the image conductive materials.Building a fuzzy system with the advantage of decomposingthe domain of nonlinear to several sublinear domains based

(a) (b)

Figure 14: Images of the actual ECTmodel show the wireless sensors in (a) and the distribution of the sensors around 4 pieces of metal in (b).

k

L

V

C1

G1

G2C2

C66 Estimatedimage

G16x16

FL

FL

FLG256

Figure 15: The MFFS system architecture.

13Journal of Sensors

Page 14: Application of Electrical Capacitance Tomography …downloads.hindawi.com/journals/js/2019/4208349.pdfthe fuzzy system theory [11]. The main advantage of the designed fuzzy model is

10 20 30 40 50 600

0.2

0.4

0.6

0.8

1Measurements of G33 before thresholding

10 20 30 40 50 600

0.2

0.4

0.6

0.8

1 Measurements of G33 after thresholding

Figure 16: Measurements of C20 before/after thresholding with level 0.1.

10 20 30 40 50 600

0.2

0.4

0.6

0.8

1Measurements of G20 before thresholding

Measurements of G20 before thresholding

10 20 30 40 50 600

0.2

0.4

0.6

0.8

1

Figure 17: Measurements of C33 before/after thresholding with level 0.1.

14 Journal of Sensors

Page 15: Application of Electrical Capacitance Tomography …downloads.hindawi.com/journals/js/2019/4208349.pdfthe fuzzy system theory [11]. The main advantage of the designed fuzzy model is

on the number of the membership function is proposed.Fuzzy logic shows a significant level of accuracy and mean-while provides a logical relationship between the systeminputs and outputs [42–46].

Figure 13 shows the steps of the fuzzy modeling process[47], and they can be listed as follows:

(1) Create a set of capacitance measurements corre-sponding to predefined grounded metal distributionsusing the CANN system described in Section 4.2

(2) Propose a suitable solution model for the inverseproblem, as shown in Figure 1

(3) Obtain a proper number of clusters by a trial anderror method to attain a suitable error value in boththe training and testing phases

(4) Get the product space of the possible cluster sets

(5) Build the membership functions and its fuzzy rulesbased on the input and output patterns

(6) Apply the least-squares method to estimate the con-sequence parameters of the model and calculate itsoutput [41]

6.1. The MFFS: Inverse Problem Solver. The traditional designof the fuzzy systems and its applications were presented in[48]. Typically, the Metal Filled Fuzzy System (MFFS)consists of if-then fuzzy rules, which have two parts: the ante-cedent and the consequence. The antecedent part containsinformation about the operation conditions of the 440process, while a valid linear regression model represents theconsequent part.

Consider a nonlinear system has inputs C1, C2,⋯, Cnvariables and g one output variable, existing of the metal inone pixel. The function transferring these inputs to the out-put g is represented as

g = f C1, C2,⋯, Cnð Þ: ð14Þ

The main goal is the development of a fuzzy model

Table 3: Output rules corresponding to pixel 101 of image G.

G1101 = −3:22 · 101C2 + 1:50 · 102C3 − 3:25 · 102C4 + 4:44 · 102C5 − 2:49 · 102C6 + 2:06 · 101C7 − 2:06 · 101C8 + 1:46 · 101C9 − 7:25 · 10−1C10

+ 3:33 · 101C14 − 1:10 · 102C15 + 8:42 · 101C16 − 5:60 · 100C17 + 2:12 · 101C18 − 2:09 · 101C19 − 1:27 · 100C20 + 8:75 · 10−1C21+ 4:58 · 101C24 − 3:64 · 101C25 − 1:41 · 101C26 + 1:03 · 101C27 − 1:18 · 102C28 + 1:48 · 102C29 − 4:08 · 101C30 + 1:29 · 101C34− 3:54 · 101C35 + 2:92 · 102C36 − 3:20 · 102C37 + 6:78 · 100C38 + 2:24 · 101C42 − 2:86 · 102C43 + 2:54 · 102C44 + 2:22 · 102C45− 5:45 · 100C48 + 1:72 · 102C49 − 4:41 · 101C50 − 4:46 · 102C51 − 5:05 · 101C54 − 4:32 · 101C55 + 2:71 · 102C56 + 8:33 · 100C59− 2:01 · 101C60 − 8:67 · 10−1C62 + 8:28 · 100C63 − 3:50 · 100C65 + 2:03 · 10−1C66 − 1:57 · 10−2

G2101 = −4:23 · 10−1C2 + 3:64 · 100C3 − 4:71 · 100C4 + 1:16 · 100C5 + 1:46 · 101C6 − 3:03 · 101C7 + 4:42 · 101C8 − 3:95 · 101C9 + 1:36 · 101C10

+ 2:76 · 10−1C14 + 1:56 · 100C15 − 6:47 · 100C16 + 6:94 · 100C17 − 1:70 · 100C18 − 1:63 · 100C19 + 1:04 · 100C20 + 8:61 · 10−2C21− 3:87 · 10−1C24 + 6:94 · 100C17 − 1:70 · 100C18 − 1:63 · 100C19 + 1:04 · 100C20 + 8:61 · 10−2C21 − 3:87 · 10−1C24 − 6:88 · 100C35+ 1:21 · 101C36 − 2:86 · 100C37 + 7:86 · 10−1C25 + 1:11 · 100C26 + 1:41 · 100C27 − 6:88 · 100C35 + 1:21 · 101C36 − 2:86 · 100C37+ 7:86 · 10−1C25 + 1:11 · 100C26 + 1:41 · 100C27 − 9:84 · 100C28 + 1:04 · 101C29 − 2:98 · 100C30 − 2:58 · 10−1C34 − 5:82 · 100C38− 1:20 · 100C42 + 7:83 · 100C43 − 1:52 · 101C44 + 1:31 · 101C45 + 3:73 · 100C48 − 9:17 · 100C49 + 9:22 · 100C50 − 6:08 · 100C51− 8:70 · 10−1C54 + 2:32 · 100C55 − 1:03 · 101C56 − 4:48 · 100C59 + 2:68 · 101C60 + 6:99 · 100C62 − 4:44 · 101C63 + 4:55 · 101C65− 6:73 · 101C66 − 3:17 · 10−2

G3101 = 2:92 · 100C2 + 5:77 · 100C3 − 5:99 · 100C4 − 8:38 · 101C5 + 1:29 · 102C6 − 9:62 · 101C7 + 3:40 · 101C8 + 1:11 · 101C9 − 1:32 · 100C10

− 4:96 · 100C14 + 1:66 · 101C15 − 1:79 · 101C16 − 9:88 · 10−1C17 + 5:55 · 101C18 − 5:89 · 101C19 + 2:95 · 100C20 − 7:33 · 10−1C21+ 4:14 · 10−1C24 + 5:49 · 10−1C25 + 5:97 · 100C26 − 4:82 · 100C27 − 1:27 · 101C28 + 2:38 · 101C29 − 1:23 · 101C30 − 2:56 · 100C34− 1:54 · 101C35 + 3:60 · 101C36 − 3:93 · 101C37 + 8:53 · 100C38 + 6:93 · 100C42 − 1:24 · 101C43 + 1:16 · 101C44 + 2:74 · 101C45− 1:43 · 100C48 − 1:19 · 100C49 + 4:07 · 100C50 + 6:78 · 101C51 + 2:18 · 100C54 + 8:58 · 100C55 − 1:36 · 102C56 − 9:59 · 100C59+ 4:87 · 101C60 + 2:16 · 100C62 − 2:70 · 10−1C63 − 3:00 · 100C65 + 4:95 · 10−2C66 + 9:91 · 100

G1225 = −2:87 · 10−1C8 + 3:52 · 10−1C9 − 1:04 · 10−2C18 + 2:42 · 10−2C19 + 3:24 · 10−2C27 − 3:96 · 10−2C28 + 2:66 · 10−2C35 − 2:09 · 10−2C36

− 1:07 · 10−1C42 + 9:46 · 10−2C43 − 1:87 · 10−1C48 + 1:83 · 10−1C49 − 1:69 · 10−1C53 + 1:81 · 10−1C54 + 1:29 · 10−1C58+ 6:61 · 100C61 − 5:52 · 10−1C62 + 1:55 · 10−2C63 + 2:83 · 100C64 − 2:66 · 10−1C65 − 2:21 · 10−3

G2225 = −1:81 · 10−2C8 + 4:90 · 10−2C9 + 4:37 · 100C18 − 4:76 · 100C19 − 1:02 · 102C27 + 9:31 · 101C28 + 2:44 · 102C35 − 1:95 · 102C36

− 2:86 · 102C42 + 1:63 · 102C43 + 1:98 · 102C48 − 2:61 · 101C49 − 5:86 · 101C53 − 3:82 · 101C54 + 9:48 · 100C58 + 3:61 · 10−1C61− 1:29 · 10−1C62 − 3:25 · 10−3C63 + 3:90 · 10−2C64 + 4:63 · 10−2C65 − 1:82 · 10−2

G3225 = 4:61 · 100C8 − 1:52 · 100C9 − 2:17 · 100C18 + 1:29 · 10−1C19 + 2:40 · 10−1C27 + 3:03 · 10−1C28 + 3:47 · 10−2C35 − 2:37 · 10−2C36

+ 2:54 · 10−1C42 − 3:18 · 10−1C43 − 5:92 · 10−1C48 + 2:58 · 10−2C49 + 4:72 · 10−1C53 + 2:26 · 10−1C54 − 5:26 · 10−2C58 − 9:06 · 10−1C61+ 9:30 · 10−2C62 − 2:46 · 100C63 − 4:24 · 10−2C64 + 1:21 · 100C65 − 2:81 · 10−1

15Journal of Sensors

Page 16: Application of Electrical Capacitance Tomography …downloads.hindawi.com/journals/js/2019/4208349.pdfthe fuzzy system theory [11]. The main advantage of the designed fuzzy model is

describing the nonlinear function f between the input Ciði = 1,⋯, nÞ and the output g. The fuzzy rules for a non-linear multi-input/single-output (MISO) fuzzy system arerepresented as

Rk :If C1 isAk1 and⋯ andCn isAkn, then gk= ak1C1 + ak2C2+⋯+aknCn + ak0,

ð15Þ

where k is the rule number. For instance, in a model withthree inputs n = 3 and a single output system, there aretwo rules i = 1, 2. The system is as follows:

R1 : If C1 isA11, C2 isA12, andC3 isA13, theng1 = f1 C1,⋯, Cnð Þ,R2 : If C1 isA21, C2 isA22, andC3 isA23, theng2 = f2 C1,⋯, Cnð Þ,

ð16Þ

where the output g1 is equivalent to the input domainvariables C1, C2, and C3 applying membership functionA11, A12, and A13. The TS inference system generatingthe output g using the weighted mean measure of the inputsC is given as

g = ∑ni=1μigi∑iμi

, ð17Þ

where μi is the degree of fulfillment of the ith rule. There is aspecial case when the consequences of TS rules are linear, andthe system parameters are as follows:

R1 : If C1 isA11, C2 isA12, andC3 isA13, theng1= a11C1 + a12C2 + a13C3 + a10,

R2 : If C1 isA21, C2 isA22, andC3 isA23, theng2= a11C1 + a12C2 + a13C3 + a20:

ð18Þ

6.2. MFFS Parameter Estimation. The membership functiondefines the relation between the input and the output of thefuzzy model. When applying the fuzzy membership func-tions, the rule becomes valid over a fuzzy region for the inputand output variables defined in the antecedent part of therule. The TS fuzzy model is an appropriate choice for model-ing dynamic datasets.

In the rule-based fuzzy systems, the following quantitiesentail to be identified: (1) the antecedents, (2) the member-ship functions of the consequent, and (3) the parameters ofthe consequent membership functions. Usually, the userselects the number of rules σ (clusters).

6.3. Validation Criteria. The normalized error, described inEquation (19), is a common validation measure to quantifythe quality of the generated metal fill distributions and works

50 100 150 200 2500

0.05

0.1

0.15

0.2

0.25Normalized error over each MFFS output for G

Pixel number of the developed image G

Figure 18: Normalized error of each subsystem of the MFFS in the single filling case.

16 Journal of Sensors

Page 17: Application of Electrical Capacitance Tomography …downloads.hindawi.com/journals/js/2019/4208349.pdfthe fuzzy system theory [11]. The main advantage of the designed fuzzy model is

as a normalized fitness function to calculate the reliability ofthe results:

NEG = GA − GE�� ��GA�� �� , ð19Þ

where NEG is the normalized error in G and GA and GE arethe actual and the MFFS generated grounded metal distribu-tion, respectively. A normalized fitness function to calculatethe reliability of the results is commonly used in this case.

7. Experiments and Results

7.1. Experimental Setup. To test the tomography system andthe reconstruction technique, a hardware model was usedfor simulating a casting process in the lab. The model consistsof a cylindrical tube working as a flask. Figure 14(a) shows 12electrodes mounted on the circumference of the flask aroundthe foam pattern and four pieces of metal embedded in thesand in front of electrodes. Every two electrodes comprise acapacitive sensor at a time, with one electrode connected tothe source signal working as a transmitter and the otherworks as a receiver. Each sensing set is connected to a mea-suring circuit to measure the mutual capacitance betweenthe two electrodes, as shown in Figure 14(b). Another circuit(Mote) is used to send the measured data wirelessly to the

base station attached to each measuring circuit. A controlunit is also used to send signals to the measuring units whichcollect the data from the sensors. A stop command is used tostop the process.

A LabVIEW program is implemented on the control unitto send the commands to the measuring circuits, collect thedata, and make some preprocessing operation on the datato be suitable for the reconstruction algorithm. The vectorof measurements consists of 66 values. These values arecollected when the imaging area is full of foam and afterreplacing all the foam by grounded metal, as calculatedin Equation (6).

The range of capacitance measurements changes depend-ing on the distance between the grounded metal and eachsensor. For example, if the metal is located very close to onesensor, the normalized capacitance values from that sensorwill be very high, almost one. Meanwhile, the measurementsfrom the neighboring sensors will be medium, and the

50 100 150 200 2500

0.05

0.1

0.15

0.2

0.25

0.3

0.35

0.4

0.45

0.5Normalized error over each MFFS output for G

Pixel number of the developed image G

Figure 19: Normalized error of each subsystem of the MFFS in the multiple filling case.

Table 4: The normalized error of proposed fuzzy systems for singleand multiple filling points.

Single filling Multiple filling

Training phase 0.0154 0.0918

Testing phase 0.0706 0.0617

17Journal of Sensors

Page 18: Application of Electrical Capacitance Tomography …downloads.hindawi.com/journals/js/2019/4208349.pdfthe fuzzy system theory [11]. The main advantage of the designed fuzzy model is

Actual Actual Actual Actual Actual Actual

Estimated Estimated Estimated Estimated Estimated Estimated

Error Error Error Error Error Error

(a)

Actual Actual Actual Actual Actual Actual

Estimated Estimated Estimated Estimated Estimated Estimated

Error Error Error Error Error Error

(b)

Figure 20: Continued.

18 Journal of Sensors

Page 19: Application of Electrical Capacitance Tomography …downloads.hindawi.com/journals/js/2019/4208349.pdfthe fuzzy system theory [11]. The main advantage of the designed fuzzy model is

measurements will be shallow from sensors that are far away.If the molten metal is concentrated in the middle of the imag-ing area, the normalized measurements will be shallow fromall the sensors.

7.2. Setup of the MFFS. This section describes the structure ofthe proposed MFFS system for solving the inverse problemand how we generate images G from the capacitance mea-surements C. The proposed method was assessed based ondata generated from the CANN system.

Our model has 256 fuzzy subsystems created that is equalto the number of pixels in the generated image. Each fuzzysubsystem represents the relationship between a particularpixel in the image and corresponding measurements C’s.

Although the number of fuzzy subsystems is high, thegeneral interconnectivity of the entire fuzzy system is system-atically low, which produces a smooth and straightforwardrelationship between the pixels and measurements.

The structure of the MFFS is presented in Figure 15,where inputs to the system are C1 to C66 capacitance

Actual Actual Actual Actual Actual Actual

Estimated Estimated Estimated Estimated Estimated Estimated

Error Error Error Error Error Error

(c)

Actual Actual Actual Actual Actual Actual

Estimated Estimated Estimated Estimated Estimated Estimated

Error Error Error Error Error Error

(d)

Figure 20: Actual and estimated metal distributions using the MFFL system: (a) single filling points during training, (b) single filling pointsduring testing, (c) multiple filling points during training, and (d) multiple filling points during testing.

19Journal of Sensors

Page 20: Application of Electrical Capacitance Tomography …downloads.hindawi.com/journals/js/2019/4208349.pdfthe fuzzy system theory [11]. The main advantage of the designed fuzzy model is

measurements representing all the independent measure-ments between 12 electrodes mounted around the area ofinterest. The inputs for each of the 256 fuzzy subsystemsare selected as a set of measurements. Each set of measure-ments for each pixel is selected as clarified in Section 7.3 bysimulating the FMID toolbox [41].

7.3. Selection of MFFS Input Based on the Sensitivity Matrix.A sensitivity matrix is used in the selection process of themeasurement set of each fuzzy subsystem. Every element inthe sensitivity matrix represents the effect of altering the cor-responding pixel in the distribution from foam to the metalon all sensor measurements. The sensitivity matrix is calcu-lated using a finite element analysis package [29]. The sizeof the sensitivity matrix is n ×m where n = 256 is the numberof pixels of the image and m = 66 is the number of measure-ments. A threshold value is applied to the sensitivity matrixto select the most significant measurements affected bychanging the status of the corresponding pixel. This methodcuts the number of inputs to each fuzzy subsystem. Thegraphical presentations of the measurements affecting G20and G33 before and after applying the threshold are shownin Figures 16 and 17, respectively.

The output image from the MFFS consists of 256 pixels.Table 3 has samples of the fuzzy rules for pixels 101 and255, which present the relations between each of the pixelsin the image and its corresponding capacitance measure-ments. Thus, for pixel number 101, it is found that G101is mostly affected by the measurement C’s given inTable 3. Also, for the pixel 225, G225 is affected by themeasurements C’s given in the same Table 3. In this case,we found that the measurements which mostly affect themodeling process of the pixel 225 are C8, C9, C18, C19,C27, C28, C35, C36, C42, C43, C48, C49, C53, C54, C58, C61,C62, C63, C64, and C65.

7.4. Developed Fuzzy Models for Single/Multiple Metal FillingPoints. The inverse problem for creating metal fill images issolved by MFFS explained in the above process. Differentmetal distributions with a single filling point as well as multi-ple points have been fed to the CANN model (forward prob-lem solver), and the corresponding measurements have beencollected. The system is trained by utilizing these data of themetal distributions and its corresponding measurements.Figure 18 demonstrates the normalized error during the test-ing phase of the single filling point, where each line in the fig-ure denotes the average error of a certain pixel. Figure 19presents the normalized error for multiple filling points.

Table 4 contains the overall mean square error for thesingle and multiple filling points. The MFFS is significantlyable to have a high level of accuracy and meanwhile providea logical relationship between the system inputs and outputs.

Some of these data is shown in the top row ofFigures 20(a) and 20(c) for single and multiple filling points,respectively. For testing the performance of the proposedfuzzy system, a distinct set of examples has been created butnot used during the training phase. How the MFFS responsesto these training patterns is shown in Figures 20(b) and 20(d).

8. Conclusion

In this research, we explored the idea of using a combinationof Artificial Neural Networks (ANNs) and Fuzzy Identifica-tion System (FIS) to build a rapid and adequate solver forthe forward and inverse problems of the Electrical Capaci-tance Tomography (ECT) system for conductive imagingmaterials during the lost foam casting process. We imple-mented the ANN system to estimate capacitance measure-ments of an ECT system to solve the forward problem,while theMFFS has been applied to solve the inverse problemthrough constructing tomographic images. The proposedapproach is augmented by inspecting different modes of fill-ing the foam patterns by molten metal, which are then stim-ulated by exploiting the ANSYS software. The proposedfuzzy model was shed light on, analyzed, and verified byexamples of single and multiple filling points. The finalresults show that the system is fast and generates accuratefinal metal distribution images.

Data Availability

The data is available on request.

Conflicts of Interest

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

Acknowledgments

The authors would like to thank the Deanship of ScientificResearch at Umm Al-Qura University for continuoussupport. This work was supported financially by the Dean-ship of Scientific Research at Umm Al-Qura University(Grant number: 17-ENG-1-01-0001).

References

[1] N. A. A. Rahman, R. A. Rahim, A. M. Nawi et al., “A review onelectrical capacitance tomography sensor development,” Jur-nal Teknologi, vol. 73, no. 3, 2015.

[2] L. Zhang, Y. Zhai, X. Wang, and P. Tian, “Reconstructionmethod of electrical capacitance tomography based on waveletfusion,” Measurement, vol. 126, pp. 223–230, 2018.

[3] J. Yao and M. Takei, “Application of process tomography tomultiphase flow measurement in industrial and biomedicalfields: a review,” IEEE Sensors Journal, vol. 17, no. 24,pp. 8196–8205, 2017.

[4] M. A. Abdelrahman, A. Gupta, and W. A. Deabes, “A feature-based solution to forward problem in electrical capacitancetomography of conductive materials,” IEEE Transactions onInstrumentation and Measurement, vol. 60, no. 2, pp. 430–441, 2011.

[5] J. Xiao, Z. Liu, P. Zhao, Y. Li, and J. Huo, “Deep learning imagereconstruction simulation for electromagnetic tomography,”IEEE Sensors Journal, vol. 18, no. 8, pp. 3290–3298, 2018.

[6] W. Deabes and M. Abdelrahman, “Solution of the forwardproblem of electric capacitance tomography of conductivematerials,” in WMSCI 2009 – The 13th World Multi-Conference on Systemics, Cybernetics and Informatics, Jointly

20 Journal of Sensors

Page 21: Application of Electrical Capacitance Tomography …downloads.hindawi.com/journals/js/2019/4208349.pdfthe fuzzy system theory [11]. The main advantage of the designed fuzzy model is

with the 15th International Conference on Information SystemsAnalysis and Synthesis, ISAS 2009 – Proc., pp. 83–89, Orlando,FL, USA, 2009.

[7] T. Wondrak and M. Soleimani, “A novel metal flow imagingusing electrical capacitance tomography,” MeasurementScience and Technology, vol. 28, no. 6, article 064001, 2017.

[8] P. Jiang, S. Fan, T. Xiong, and H. Huang, “Investigation on thesensitivity distribution in electrical capacitance tomographysystem,” TELKOMNIKA Indonesian Journal of ElectricalEngineering, vol. 11, no. 12, pp. 7088–7093, 2013.

[9] R. Babuška, “Fuzzy modeling for control,” in Vol. 12 ofInternational Series in Intelligent Technologies, pp. 49–74,Springer, Netherlands, Dordrecht, 1998.

[10] O. Nelles, Nonlinear System Identification, Springer, Berlin,Heidelberg, 2001.

[11] W. A. Deabes and M. A. Abdelrahman, “A nonlinear fuzzyassisted image reconstruction algorithm for electrical capaci-tance tomography,” ISA Transactions, vol. 49, no. 1, pp. 10–18,2010.

[12] W. Q. Yang and L. Peng, “Image reconstruction algorithms forelectrical capacitance tomography,” Measurement Science andTechnology, vol. 14, no. 1, pp. R1–R13, 2003.

[13] J. Ye, H. Wang, and W. Yang, “Image reconstruction forelectrical capacitance tomography based on sparse representa-tion,” IEEE Transactions on Instrumentation and Measure-ment, vol. 64, no. 1, pp. 89–102, 2015.

[14] R. Banasiak, R.Wajman, T. Jaworski et al., “Study on two-phaseflow regime visualization and identification using 3D electricalcapacitance tomography and fuzzy-logic classification,” Inter-national Journal of Multiphase Flow, vol. 58, pp. 1–14, 2014.

[15] D. Caulk, “Analysis of mold filling in lost foam casting ofaluminum: part II-example applications,” InternationalJournal of Metalcasting, vol. 3, no. 1, pp. 7–25, 2009.

[16] D. A. Caulk, “A pattern decomposition model for lost foamcasting of aluminum: part III-collapse mode,” Transactionsof the American Foundrymens Society, vol. 114, pp. 1–14, 2007.

[17] D. Caulk, “A pattern decompositionmodel for lost foam castingof aluminum: part II - gapmode,” in 110th Annual MetalcastingCongress, vol. 114 of Transactions of the American FoundrySociety, pp. 857–873, Columbus, OH, USA, 2006https://www.tib.eu/en/search/id/tema%3ATEMA20061005095/A-pattern-decomposition-model-for-lost-foam-casting/#documentinfo.

[18] C. Tan, J. Zhao, and F. Dong, “Gas–water two-phase flowcharacterization with electrical resistance tomography andmultivariate multiscale entropy analysis,” ISA Transactions,vol. 55, pp. 241–249, 2015.

[19] A. P. Druschitz and H. Littleton, “Advanced lost foam castingprocesses and materials,” SAE International Journal of Mate-rials and Manufacturing, vol. 2, no. 1, pp. 140–146, 2009.

[20] M. Abdelrahman, J. P. Arulanantham, R. Dinwiddie,G. Walford, and F. Vondra, “Monitoring metal-fill in a lostfoam casting process,” ISA Transactions, vol. 45, no. 4,pp. 459–475, 2006.

[21] W. A. Deabes, H. H. Amin, and M. Abdelrahman, “Optimizedfuzzy image reconstruction algorithm for ect systems,” in 2016IEEE International Conference on Fuzzy Systems (FUZZ-IEEE), pp. 1209–1215, Vancouver, BC, Canada, 2016.

[22] “C. Campany,” http://www.investmentcastchina.com/lost-foam-casting/.

[23] A. Smith, M. Abdelrahman, and W. Deabes, “A confidenceprediction system for metal fill visualization using electrical

capacitance tomography,” in 2009 41st Southeastern Sympo-sium on System Theory, pp. 122–126, Tullahoma, TN, USA,2009.

[24] J. K. Kim, J. A. Fessler, and Z. Zhang, “Forward-projectionarchitecture for fast iterative image reconstruction in X-rayCT,” IEEE Transactions on Signal Processing, vol. 60, no. 10,pp. 5508–5518, 2012.

[25] A. K. Allam and W. A. Deabes, “Electrical capacitance tomog-raphy digital processing platform (ECT-DPU),” in IECON2016 - 42nd Annual Conference of the IEEE Industrial Electron-ics Society, pp. 4767–4771, Florence, Italy, 2016.

[26] I. Saied and M. Meribout, “Electronic hardware design ofelectrical capacitance tomography systems,” PhilosophicalTransactions of the Royal Society A: Mathematical, Physicaland Engineering Sciences, vol. 374, no. 2070, article20150331, 2016.

[27] W. N. Abd Rashid, E. J. Mohamad, R. Abdul Rahim,J. Abdullah, and H. L. Mohmad Ameran, “Electrical capaci-tance tomography: a review on portable ECT system and hard-ware design,” Sensor Review, vol. 36, no. 1, pp. 64–70, 2016.

[28] Ø. Isaksen, “A review of reconstruction techniques for capaci-tance tomography,” Measurement Science and Technology,vol. 7, no. 3, pp. 325–337, 1996.

[29] W. A. Deabes and M. Abdelrahman, “Shape reconstructionmethod for imaging conductive materials in electrical capaci-tance tomography,” in IECON 2016 - 42nd Annual Conferenceof the IEEE Industrial Electronics Society, pp. 1055–1060,Florence, Italy, 2016.

[30] W. Deabes, M. Abdelrahman, and P. K. Rajan, “A new widefrequency band capacitance transducer with application tomeasuring metal fill time,” Sensors & Transducers, vol. 100,no. 1, p. 72, 2009.

[31] W. D. Griffiths and M. J. Ainsworth, “Instability of the liquidmetal–pattern interface in the lost foam casting of aluminumalloys,” Metallurgical and Materials Transactions A: PhysicalMetallurgy and Materials Science, vol. 47, no. 6, pp. 3137–3149, 2016.

[32] O. Costilla-Reyes, P. Scully, and K. B. Ozanyan, “Deep neuralnetworks for learning spatio-temporal features from tomogra-phy sensors,” IEEE Transactions on Industrial Electronics,vol. 65, no. 1, pp. 645–653, 2018.

[33] M. S. Al-Duais and F. S. Mohamad, “A review on enhance-ments to speed up training of the batch back propagation algo-rithm,” Indian Journal of Science and Technology, vol. 9,no. 46, 2016.

[34] S.-h. Tsai and Y.-w. Chen, “A novel identification method forTakagi–Sugeno fuzzy model,” Fuzzy Sets and Systems,vol. 338, pp. 117–135, 2018.

[35] L. Zhang, X. Chang, and H. R. Karimi, “Fuzzy modeling andcontrol for a class of inverted pendulum system,” Abstract andApplied Analysis, vol. 2014, Article ID 936868, 6 pages, 2014.

[36] D. Xu and Y. Tian, “A comprehensive survey of clusteringalgorithms,” Annals of Data Science, vol. 2, no. 2,pp. 165–193, 2015.

[37] P. Nerurkar, A. Shirke, M. Chandane, and S. Bhirud, “Empir-ical analysis of data clustering algorithms,” Procedia ComputerScience, vol. 125, pp. 770–779, 2018.

[38] U. Kokate, A. Deshpande, P. Mahalle, and P. Patil, “Datastream clustering techniques, applications, and models: com-parative analysis and discussion,” Big Data and CognitiveComputing, vol. 2, no. 4, p. 32, 2018.

21Journal of Sensors

Page 22: Application of Electrical Capacitance Tomography …downloads.hindawi.com/journals/js/2019/4208349.pdfthe fuzzy system theory [11]. The main advantage of the designed fuzzy model is

[39] F. Di Martino and S. Sessa, “Extended Gustafson–Kesselgranular hotspot detection,” Granular Computing, 2018.

[40] A. F. B. Firmansyah and S. Pramana, “Ensemble based Gustaf-son Kessel fuzzy clustering,” Journal of Data Science and ItsApplications, vol. 1, no. 1, pp. 1–9, 2018.

[41] R. Babuška, “Fuzzy modeling and identification for use withMatlab,” in System, pp. 405–446, Delft University of Technol-ogy, Delft, the Netherland, 1999.

[42] A. F. Sheta, “Modeling the Tennessee Eastman chemical pro-cess reactor using fuzzy logic,” in Fuzzy Systems Engineering,pp. 195–223, Springer, Berlin Heidelberg, 2005.

[43] H. Al-Hiary, M. Braik, A. Sheta, and A. Ayesh, “Identificationof a chemical process reactor using soft computing tech-niques,” in 2008 IEEE International Conference on Fuzzy Sys-tems (IEEE World Congress on Computational Intelligence),pp. 845–853, China, 2008.

[44] M. Abdelrahman, A. Sheta, and W. Deabes, “Fuzzy mathe-matical modeling for reconstructing images in ECT ofmanufacturing processes,” in 2009 International Conferenceon Computer Engineering & Systems, pp. 461–468, Cairo,Egypt, 2009.

[45] A. F. Sheta, P. Rausch, and A. S. A. Afeef, “A monitoring andcontrol framework for lost foam casting manufacturing pro-cesses using genetic programming,” International Journal ofBio-Inspired Computation, vol. 4, no. 2, p. 111, 2012.

[46] A. F. Sheta and S. Aljahdali, “Software effort estimationinspired by cocomo and fp models: a fuzzy logic approach,”International Journal of Advanced Computer Science andApplications, vol. 4, no. 11, 2013.

[47] R. Babuška, “Fuzzy systems, modeling and identification,”2001, http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.29.9152.

[48] A. Lotfi and J. M. Garibaldi, Applications and Science in SoftComputing, Springer, Berlin, Heidelberg, 2004.

22 Journal of Sensors

Page 23: Application of Electrical Capacitance Tomography …downloads.hindawi.com/journals/js/2019/4208349.pdfthe fuzzy system theory [11]. The main advantage of the designed fuzzy model is

International Journal of

AerospaceEngineeringHindawiwww.hindawi.com Volume 2018

RoboticsJournal of

Hindawiwww.hindawi.com Volume 2018

Hindawiwww.hindawi.com Volume 2018

Active and Passive Electronic Components

VLSI Design

Hindawiwww.hindawi.com Volume 2018

Hindawiwww.hindawi.com Volume 2018

Shock and Vibration

Hindawiwww.hindawi.com Volume 2018

Civil EngineeringAdvances in

Acoustics and VibrationAdvances in

Hindawiwww.hindawi.com Volume 2018

Hindawiwww.hindawi.com Volume 2018

Electrical and Computer Engineering

Journal of

Advances inOptoElectronics

Hindawiwww.hindawi.com

Volume 2018

Hindawi Publishing Corporation http://www.hindawi.com Volume 2013Hindawiwww.hindawi.com

The Scientific World Journal

Volume 2018

Control Scienceand Engineering

Journal of

Hindawiwww.hindawi.com Volume 2018

Hindawiwww.hindawi.com

Journal ofEngineeringVolume 2018

SensorsJournal of

Hindawiwww.hindawi.com Volume 2018

International Journal of

RotatingMachinery

Hindawiwww.hindawi.com Volume 2018

Modelling &Simulationin EngineeringHindawiwww.hindawi.com Volume 2018

Hindawiwww.hindawi.com Volume 2018

Chemical EngineeringInternational Journal of Antennas and

Propagation

International Journal of

Hindawiwww.hindawi.com Volume 2018

Hindawiwww.hindawi.com Volume 2018

Navigation and Observation

International Journal of

Hindawi

www.hindawi.com Volume 2018

Advances in

Multimedia

Submit your manuscripts atwww.hindawi.com