Comparison Between Multilayer Feedforward Neural Networks and a Radial Basis Function Network to Detect and Locate Leaks in Pipelines Transporting Gas



Similar documents
Analecta Vol. 8, No. 2 ISSN

A New Approach For Estimating Software Effort Using RBFN Network

An Introduction to Neural Networks

The Combination Forecasting Model of Auto Sales Based on Seasonal Index and RBF Neural Network

Sound Quality Evaluation of Hermetic Compressors Using Artificial Neural Networks

Using artificial intelligence for data reduction in mechanical engineering

SUCCESSFUL PREDICTION OF HORSE RACING RESULTS USING A NEURAL NETWORK

Chapter 2 The Research on Fault Diagnosis of Building Electrical System Based on RBF Neural Network

Electroencephalography Analysis Using Neural Network and Support Vector Machine during Sleep

Neural network software tool development: exploring programming language options

Artificial Neural Network for Speech Recognition

11: AUDIO AMPLIFIER I. INTRODUCTION

Performance Evaluation of Artificial Neural. Networks for Spatial Data Analysis

Appendices. Appendix A: List of Publications

Method of Combining the Degrees of Similarity in Handwritten Signature Authentication Using Neural Networks

Supply Chain Forecasting Model Using Computational Intelligence Techniques

Neural Networks and Support Vector Machines

An Artificial Neural Networks-Based on-line Monitoring Odor Sensing System

Application of Artificial Intelligence Techniques for Temperature Prediction in a Polymerization Process

Comparison of Supervised and Unsupervised Learning Classifiers for Travel Recommendations

Power Prediction Analysis using Artificial Neural Network in MS Excel

Neural Networks and Back Propagation Algorithm

International Journal of Advances in Engineering & Technology, Mar IJAET ISSN:

CHAPTER 6 Frequency Response, Bode Plots, and Resonance

Neural Network Design in Cloud Computing

Novelty Detection in image recognition using IRF Neural Networks properties

Signal to Noise Instrumental Excel Assignment

Application of Neural Network in User Authentication for Smart Home System

Iranian J Env Health Sci Eng, 2004, Vol.1, No.2, pp Application of Intelligent System for Water Treatment Plant Operation.

ON-LINE MONITORING SYSTEM OF WATER LEAKAGE DETECTION IN PIPE NETWORKS WITH ARTIFICIAL INTELLIGENCE

Bipolar Transistor Amplifiers

American International Journal of Research in Science, Technology, Engineering & Mathematics

ANALYZER BASICS WHAT IS AN FFT SPECTRUM ANALYZER? 2-1

Positive Feedback and Oscillators

Series and Parallel Resistive Circuits

degrees of freedom and are able to adapt to the task they are supposed to do [Gupta].

Development and optimization of a hybrid passive/active liner for flow duct applications

A Multi-level Artificial Neural Network for Residential and Commercial Energy Demand Forecast: Iran Case Study

Recurrent Neural Networks

Artificial Neural Networks and Support Vector Machines. CS 486/686: Introduction to Artificial Intelligence

AN APPLICATION OF TIME SERIES ANALYSIS FOR WEATHER FORECASTING

Tennis Winner Prediction based on Time-Series History with Neural Modeling

CHAPTER 5 PREDICTIVE MODELING STUDIES TO DETERMINE THE CONVEYING VELOCITY OF PARTS ON VIBRATORY FEEDER

ARTIFICIAL NEURAL NETWORKS IN THE SCOPE OF OPTICAL PERFORMANCE MONITORING

A Simple Feature Extraction Technique of a Pattern By Hopfield Network

Dynamic Process Modeling. Process Dynamics and Control

Lecture 6. Artificial Neural Networks

Detection of Leak Holes in Underground Drinking Water Pipelines using Acoustic and Proximity Sensing Systems

Optical Fibres. Introduction. Safety precautions. For your safety. For the safety of the apparatus

Keywords: Image complexity, PSNR, Levenberg-Marquardt, Multi-layer neural network.

Stock Prediction using Artificial Neural Networks

CIRCUITS LABORATORY EXPERIMENT 3. AC Circuit Analysis

Optimum Design of Worm Gears with Multiple Computer Aided Techniques

The relation between news events and stock price jump: an analysis based on neural network

6.2.8 Neural networks for data mining

Lecture 14. Point Spread Function (PSF)

Programmable-Gain Transimpedance Amplifiers Maximize Dynamic Range in Spectroscopy Systems

APPLICATION NOTE TESTING PV MICRO INVERTERS USING A FOUR QUADRANT CAPABLE PROGRAMMABLE AC POWER SOURCE FOR GRID SIMULATION. Abstract.

Detection of Heart Diseases by Mathematical Artificial Intelligence Algorithm Using Phonocardiogram Signals

RF Network Analyzer Basics

Introduction to Machine Learning and Data Mining. Prof. Dr. Igor Trajkovski

SURVIVABILITY ANALYSIS OF PEDIATRIC LEUKAEMIC PATIENTS USING NEURAL NETWORK APPROACH

3 An Illustrative Example

Final Year Project Progress Report. Frequency-Domain Adaptive Filtering. Myles Friel. Supervisor: Dr.Edward Jones

A Time Series ANN Approach for Weather Forecasting

Industrial Steam System Process Control Schemes

NTC Project: S01-PH10 (formerly I01-P10) 1 Forecasting Women s Apparel Sales Using Mathematical Modeling

Prediction Model for Crude Oil Price Using Artificial Neural Networks

Making Accurate Voltage Noise and Current Noise Measurements on Operational Amplifiers Down to 0.1Hz

Hideo Okawara s Mixed Signal Lecture Series. DSP-Based Testing Fundamentals 46 Per-pin Signal Generator

Artificial Neural Network and Non-Linear Regression: A Comparative Study

EFFICIENT DATA PRE-PROCESSING FOR DATA MINING

Harmonics and Noise in Photovoltaic (PV) Inverter and the Mitigation Strategies

Online Tuning of Artificial Neural Networks for Induction Motor Control

Neural Computation - Assignment

Transistor Amplifiers

Analog and Digital Filters Anthony Garvert November 13, 2015

Scaling and Biasing Analog Signals

Electricity. Confirming Coulomb s law. LD Physics Leaflets P Wie. Electrostatics Coulomb s law

Sound Pressure Measurement

Follow links Class Use and other Permissions. For more information, send to:

Artificial Neural Network, Decision Tree and Statistical Techniques Applied for Designing and Developing Classifier

NEURAL networks [5] are universal approximators [6]. It

See Horenstein 4.3 and 4.4

Feed-Forward mapping networks KAIST 바이오및뇌공학과 정재승

THE HUMAN BRAIN. observations and foundations

Sound absorption and acoustic surface impedance

E. K. A. ADVANCED PHYSICS LABORATORY PHYSICS 3081, 4051 NUCLEAR MAGNETIC RESONANCE

SELECTING NEURAL NETWORK ARCHITECTURE FOR INVESTMENT PROFITABILITY PREDICTIONS

Introduction to Digital Audio

THREE DIMENSIONAL REPRESENTATION OF AMINO ACID CHARAC- TERISTICS

FLUID FLOW Introduction General Description

Chapter 4: Artificial Neural Networks

Data Mining using Artificial Neural Network Rules

Transcription:

A publication of 1375 CHEMICAL ENGINEERINGTRANSACTIONS VOL. 32, 2013 Chief Editors:SauroPierucci, JiříJ. Klemeš Copyright 2013, AIDIC ServiziS.r.l., ISBN 978-88-95608-23-5; ISSN 1974-9791 The Italian Association of Chemical Engineering Online at: www.aidic.it/cet Comparison Between Multilayer Feedforward Neural Networks and a Radial Basis Function Network to Detect and Locate Leaks in Pipelines Transporting Gas Rejane B. Santos a *, Markus Rupp b, Santiago J. Bonzi c, Ana Maria F. Fileti a a School of Chemical Engineering, Department of Chemical Systems Engineering, Univerty of Campinas (UNICAMP), 13083-970, Campinas/SP, Brazil. b School V- Mechanical Engineering and Transport Systems, Technical University of Berlin, Straße des 17. Juni 135, 10623 Berlin, Germany. c School of Chemical Engineering, University of Litoral, Boulevard Pelegrini 2750, (3000) Santa FE, Argentina. rejanebs@yahoo.com.br An artificial neural network is a technique of artificial intelligence that has the ability to learn from experiences, improving its performance by adapting to the changes in the environment. The main advantages of neural networks are: the possibility of efficient manipulation of large amounts of data and its ability to generalize results. Considering the great potential of this technique, this paper aims to establish a comparison between Multilayer Feedforward - a Multilayer Perceptron network (MLP) with feedforward learning - and a Radial Basis Function Network (RBF). The RBF and MLP networks are usually employed in the same kind of applications (nonlinear mapping approximation and pattern recognition), however their internal calculation structures are different. A comparison was made by using experimental data from a microphone installed inside a galvanized iron pipeline of 60 m length, under various operating conditions. The signal from the microphone coupled to a data acquisition board in a microcomputer was decomposed in different frequency noises. The dynamics of these noises in time were used as inputs to the neural models to locate and determine the magnitude of the leaks (model outputs). The results obtained from the test sets, with leaks caused intentionally, showed that the two neural structures were able to detect and locate leaks in pipes. Nevertheless, the Multilayer Perceptron network showed a slightly better performance. 1. Introduction An artificial neural network (ANN) has the ability to learn from experiences, improving its performance and adapting to the changes in the environment. The main advantages of neural networks are: the possibility of efficient manipulation of large amounts of data and its ability to generalize results. Artificial neural networks are parallel distributed systems composed of simple processing units (artificial neurons) that calculate with certain mathematical functions (usually nonlinear). Such units are arranged in one or more layers and interconnected by a large number of connections. In most models these connections are associated with weights, which store the knowledge acquired by the model and serve to consider the input received by each neuron network (Braga et al., 2007). According Barradas et al. (2009), there is a special interest in application of artificial neural networks (ANN) for solving fault diagnosis problems because of their classification and function approximation capabilities. ANN approach is convenient when an analytical model is difficult to obtain. Considering the great potential of this technique, th is paper aims to establish a comparison between a Multilayer Perceptron network (MLP) and a Radial Basis Function Network (RBF). The RBF and MLP networks are usually used in the same kind of applications (nonlinear mapping approximation and pattern recognition), however their internal calculation structures are different.

1376 To perform the comparison between the two model structures, experimental data was used from an experimental pipeline system in order to detect and locate leaks. Some authors in literature, such as Caputo e Pelagagge (2003) have employed neural networks as a tool for data analysis aiming at the detection of leaks. The authors proposed a simplified approach to detect and locate leaks using ANNs as overall rating between the patterns of pressure and flow. They adopted ANNs architectures of two levels. The first level identifies the leakage, while the second level estimates precisely the magnitude and location of leaks. Shibata et al. (2009) developed a leak detection system when aninalyzg the sound noise generated by leak occurrence in a pipeline transporting gas. In order to diagnose pipeline crash, sound noise data were sampled by applying Fast Fourier Transform. The sound noise data were obtained through a microphone inserted at a certain distance from the crash position. Classification and discrimination of cracks are carried out using Neural Networks. The results showed that acoustic diagnosis can be used to classify a leakage sound noise in a pipeline. These studies have shown promising and flexible results, constituting an incentive for the development of this work. 1.1 Fundamentals of MLP networks Multilayer Perceptron networks (MLP) have been applied to distinct areas, performing tasks such as function fitting and pattern recognition problems, by using the supervised training with an algorithm known as error back propagation. A basic neuron with R inputs is shown below (Figure 1). Each input (i) is weighted with an appropriate w. The sum of the weighted inputs and the bias are forming the input to the activation function f. Eq (1) is the appropriate mathematical expression. Figure 1: An elementary neuron with R inputs. a= ( + ) (1) Where is the vector of input data; a is the output signal of the neuron; w are the weights between the neurons and b is the bias added to the neurons. Each neuron in the network includes an activation function (f).multilayer Perceptron networks (MLP) often have one or more hidden layers of sigmoid neurons, followed by an output layer of linear neurons. The logarithmic and hyperbolic tangent functions are the most important nonlinear activation functions for MLP (logsig and tansig Matlab functions, respectively).these sigmoid output neurons are often used for pattern recognition problems, while linear output neurons are used for mapping problems. In Matlab the command for linear activation function is purelin. Multiple layers of neurons with nonlinear activation function allow the network to learn nonlinear relationships between input and output vectors. 1.2 Fundamentals of RBF networks Radial basis function (RBF) networks have the advantages of an easy design (just three layer architecture), good generalization, and high tolerance of input noises and ability of online learning. From the point of generalization, RBF networks can respond well well to patterns that were not used for training (Yu et al., 2011). A radial basis function neural network has an input, hidden and output layer. The input layer is composed of an input vector i(figure 2). The hidden layer consists of RBF activation function as networks neuron. The net input to the RBF activation function is the vector distance between its weight (w) and the input vector (i), multiplied by the bias b. Equation (2) shows the mathematical expression of one artificial neuron of a radial basis function network.

1377 Radial functions are a special class of functions whose value increases or decreases in relation to the distance from a central point. There are different types of radial basis functions, but the most used is the Gaussian function. In Matlab the command for using a radial basis function is radbas. According to Yu et al. (2011), RBF networks are simpler than MLP networks. In spite of having more complex architectures, it is well known that the MLP networks have been applied successfully in several difficult problems. RBFs act as local approximation networks and their outputs are determined by specified hidden units in certain local receptive fields. On the other hand, MLP networks work globally and the network outputs are decided by all the neurons. Figure 2: Radial basis network with R inputs. a= ( ) (2) 2. Experimental System To perform the comparison between the two models, experimental data were obtained in the piping system located in the laboratory of the School of Chemical Engineering/ UNICAMP.The pipeline consisted of galvanized iron with a length of 60 m and ½" in diameter. A domestic type LGP vessel has been used as pressure vessel. The pipeline was operated with a continuous feed of compressed air, which was fed through the pressure vessel, installed at the inlet of the pipeline. Outputs were installed at two positions along the pipe. One directly at the inlet of the pipe (0 m) and the other one 3 m further. To get information about various magnitudes of leak flow, inside the installed outlets plates of iron with an orifice in it were installed as well. The size of these orifices varied from 1 mm to 3 mm in diameter. So with these settings it was possible to simulate leaks at two different positions with various magnitudes. Leaks were monitored through a microphone, installed inside the pressure vessel and connected to a computer. Figure (3) shows a scheme of the experimental setup. Figure 3: Experimental setup with the microphone installed in the pressure vessel. The signal conditioning circuits used in this study consisted of the microphone pre-amplifier and the bandpass filters circuits, which are electronic circuits capable of converting the analog signals into digital signals.

1378 Thus, the signal emitted by the microphone first passed through the pre-signal amplifier and then through a bank of band-pass filters. Signals were transformed from the preamplifier into three independent amplitude signals, each with a specific frequency of 1 khz, 5 khz and 9 khz. These three frequencies were chosen because they showed the best response to the noise signals which were generated by the microphone. In the first stage of this work leak detection experiments were carried out, with the amplitude signal data acquisition, when leakage occurred, thus providing the required data for training the neural models (MLP network and RBF network). The data files were the same for both types of networks, in other words, the data used for training and testing the Multilayer Perceptron network were the same used for the Radial Basis Function network. In each experiment the pipeline was set to operate with a continuous feed of air, at a pressure of 6 kgf/cm². After the data acquisition software was ready to record noises, leaks in the pipeline were simulated by opening the valves installed in the outlets located at the inlet of the pipeline or 3 m further. With a complete set of experiments, a data file was generated, showing the dynamic profiles of threefrequency signals. Initially, the system pressure was not used as input of the neural models, therefore when working with gas there is a small pressure variation in the occurrence of leaks, becoming less significant compared to the microphone signal. 3. Development of the neural models With the experimental data coming from the acoustic system, noises of different frequencies were obtained. These noises were processed in the filter bank, resulting in three voltage signals with frequency bands of 1 khz, 5 khz and 9 khz. The dynamic of these noises in time were used as input for the neural models in order to determine the magnitude and location of the leaks (models outputs). These signals first were smoothed by calculating the moving average from 40 steps back. Network training was carried out with data obtained with and without leak occurrence. These data were organized in files, separating the training set from the test data. The measured noise signals, corresponding to the three frequency bands of 1 khz, 5 khz and 9 khz, were used as input to the neural models at current time (k) and at three previous instants (k-1, k-2 and k-3), so in total 12 entries. The artificial neural network training program used in this study was implemented in Matlab software. For each type of neural network (MLP and RBF), two independent models (neural model 1 and 2) were developed. In the training, data from two different locations of leakage were used to determine the magnitude and location of the leak.so that, the first neural model, was responsible for leak occurrence and leak magnitude. And the second model to locate the leak, detected by the first model. The data set used for training neural model 1 were those obtained without leak occurrence and with leak occurrence through orifices of 1, 2 and 3 mm in diameter, the leak locations were at the inlet (0 m) and 3 m further from the inlet of the pipeline. Neural model 2, which has the function of locating the leak detected by neural model 1, is activated when the output of neural model 1 is different from zero. For its training, data were used from leakage situations at 0 and 3 m from the inlet of the pipe. 4. Results Figure (4) shows the change in the amplitude of the sound noise generated by gas leakage in the pipeline through orifices of 1 mm and 3 mm of diameter. At (0m) the beginning of the pipeline, the operating pressure was 6kgf/cm².These are the transient profile plots which allow the operator to notice the occurrence of a leakage. Figure (4)also shows that, when the leak occurs, the amplitude of the sound noise changes directly and very heavily so that it s very easy to detect a leak. Two neural models for each type of neural network (Multilayer Perceptron network and Radial Basis Function Network) have been developed to predict the leak magnitude and leak location. Neural model 1 for each type of neural network was developed to detect the leak and to determine its magnitude. Neural model 2 was developed to locate the leak detected by model 1 and only gets activated when the output of neural model 1is different from zero. To find out the best configuration of the neural models, several off-line tests were conducted, observing the dispersion plots obtained (predicted output versus actual data - target). To obtain an accurate model, the test data should appear in the form of a straight line coincident to the diagonal.

1379 Figure (5) shows the dispersion plots obtained from the test points, which data was not used to train the network. The first set of points (set 1), in the two graphs, mean no leak occurrence in the pipe. The second set (set 2) indicates a leak with a diameter of 1 mm. The third set (set 3) points out leakages of 2 mm and, finally, the fourth set (set 4) means a leak of 3 mm in magnitude. It is observed that the Multilayer Perceptron (MLP) and Radial Basis Function (RBF) were able to determine the occurrence and size of the leak. The adjustments of both networks were considered accurate, because: The MLP network showed the following results: R = 0.9998 (approximately one), the linear coefficient = 0.0102 (close to zero) and the slope = 0.9969 (close to unity) (i. e., a straight line coincident to the diagonal) and the RBF network showed: R = 0.999 (approximately one), the linear coefficient = 0.016 (close to zero) and the slope = 1.0061 (close to unity) (i. e., a straight line coincident to the diagonal). Figure 4: Amplitude of the sound noise generated by gas leakage in the pipeline through orifices of 1 mm and 3 mm (leak location at the inlet of the pipeline). Figure 5: Test set dispersion plots (predicted output versus actual data) from the neural models 1: (a) Multilayer Perceptron network and (b) Radial Basis Function network. After training and test from neural models, it was found that the RBF networks less time to training, about 3 times faster than the MLP network. On the other hand, the MLP networks showed smaller maximum absolute errors than models RBF as Figures 6 and 7. Figure (6) shows the difference between the predicted, calculated output (of leak occurrence and magnitude) and the real, measured output (error - mm). And Neural model 1 showed a satisfactory error performance. The maximum absolute errors for the Multilayer Perceptron (MLP) and Radial Basis Function (RBF) of detecting leakages were considered acceptable: 0.06 mm and 0.17 mm. The training of Model neural 1 for Multilayer Perceptron and Radial Basis Function networks was carried out using data with and without the occurrence of leak and training of the Model neural 2 (for MLP and RBF) was performed only with data leak occurrence, being activated with the leak detected by the Model neural 1. Figure (7) as well shows the difference between the predicted, calculated output and the actual unseen data (error - m). But this time the error performance is watching output 2 (location of the leakage). Also

1380 neural model 2 showed satisfactory results. The maximum absolute errors of the Multilayer Perceptron (MLP) and Radial Basis Function (RBF) networks for the location were: 0.1109 m and 2.17 m. But it clearly turned out, that the MLP network is way better suitable to locate a leakage than the RBF network. Figure 6: Difference between the predict output and actual data (leak magnitude). (a) Neural model 1 using Multilayer Perceptron network and (b) Neural model 1 using Radial Basis Function network. Figure 7: Difference between the predict output and actual data (leak location). (a) Neural model 2 using Multilayer Perceptron network and (b) Neural model 2 using Radial Basis Function network. 5. Conclusions The experimental results showed that it is possible to detect leaks in gas pipelines based on the acoustic method, since there was a sharp increase in the amplitude of noise in the presence of the leak. The neural models 1 were successfully developed in order to detect and determine the size of a leak and the neural models 2, locate the leak detected by the neural models 1. From the results, it was observed that the two types of networks (Multilayer Perceptron and Radial Basis Function)were able to detect and locate leaks. However, the Multilayer Perceptron network showed higher accuracy mainly to locate the intentionally triggered leakages. The Radial Basis Function network showed maximum absolute error of about 2 meters from the actual local of the leak, i. e., twenty times the error of the MLP model. This is probably due to the global approximation usually obtained from MLPs. References BarradasI., Garza L.E., Menendez R.M., 2009, Leak Detection in a Pipeline Using Artificial Neural Networks,14thIberoamerican Congress on Patter Recognition, 637-644. Braga A. P.,Carvalho A.P.L.F., Ludermir T.B., 2007, Redes Neurais: teorias e aplicações, 2 ed., LTC, Rio de Janeiro. Caputo, A.C, Pelagagge, P. M., 2003, Using neural networks to monitor piping systems. Process Safety Progress, 22 (No 2), 119-127. Shibata A., Konichi M., Abe, Y., Hasegawa R., Watanable M.,Kamijo H.,2009, Neuro based classification of gas leakage sounds in pipeline, Proceedings of International Conference on Networking, Sensing and Control, 298-302. Yu H., Xie T., Paszezynski S., Wilamowski B. M., Advantages of Radial Basis Function Networks for Dynamics System Design, 2011, IEEE Transactions on Industrial Electronics, 58(12).