InTech uses cookies to offer you the best online experience. By continuing to use our site, you agree to our Privacy Policy.

Computer and Information Science » Numerical Analysis and Scientific Computing » "Applications from Engineering with MATLAB Concepts", book edited by Jan Valdman, ISBN 978-953-51-2460-3, Print ISBN 978-953-51-2459-7, Published: July 7, 2016 under CC BY 3.0 license. © The Author(s).

Chapter 7

Virtual Instrument for the Analysis of Vibrations in Rotary Machines

By Claudio Urrea, Rodrigo Cisterna and John Kern
DOI: 10.5772/63736

Article top

Overview

Vibration analysis software structure.
Figure 1. Vibration analysis software structure.
Worksheet for data exportation to the analysis software.
Figure 2. Worksheet for data exportation to the analysis software.
“Vibration Analysis” screen.
Figure 3. “Vibration Analysis” screen.
FFT chart of data to be analyzed.
Figure 4. FFT chart of data to be analyzed.
Bar chart of frequency analysis.
Figure 5. Bar chart of frequency analysis.
Bar graph of orders taking as base frequency the machine’s recorded speed.
Figure 6. Bar graph of orders taking as base frequency the machine’s recorded speed.
“Histogram Analysis” screen. Searching 12 KCPM frequency.
Figure 7. “Histogram Analysis” screen. Searching 12 KCPM frequency.
“RMS Value and CF” screen.
Figure 8. “RMS Value and CF” screen.
3D and 2D TFT graphs.
Figure 9. 3D and 2D TFT graphs.
2D TFT graphs.
Figure 10. 2D TFT graphs.
Screen “Comparison with Rules and Standards.”
Figure 11. Screen “Comparison with Rules and Standards.”

Virtual Instrument for the Analysis of Vibrations in Rotary Machines

Claudio Urrea1, Rodrigo Cisterna1 and John Kern1
Show details

Abstract

In this chapter, the implementation of a “Virtual Instrument” developed in MATLAB/Simulink® that allows the analysis of the measurement of mechanical vibrations in rotating machines is presented. To accomplish this, we identified the main rotating machines used in industry, the parameters that can be relevant when an analysis of vibration is made, the typical vibration frequency spectra of certain electrical and mechanical failures, the most common regulations employed by the industry with respect to vibration levels in rotating machinery, the tools that are used for vibration analysis, and tools for developing MATLAB software that includes features for storing and managing data from a database, also allowing an analysis and diagnosis of vibration in rotating machines.

The development cost for this virtual instrument is very low compared with the tens of thousands of dollars of their equivalents now available in the market.

Keywords: virtual instrument, rotating machines, predictive maintenance, vibration analysis, vibration diagnostic

1. Introduction

Machine maintenance is one of the most important issues in any industry, since good maintenance procedures avoid catastrophic failures that threaten the productive process, and most important of all, the life of the workers involved [1].

Due to catastrophic failures, industrial maintenance has been evolved to prevent machines from failures, which looks for symptoms in machines that allow determining the most appropriate time for doing maintenance, and even more important, determining the exact failure occurring in a machine [2, 3].

This new form of industrial maintenance development, called “predictive maintenance,” requires new methodologies and expert analysis, which can act as “machine physicians,” able to determine a machine’s health condition based on those symptoms [4].

One of the most accurate predictive methods is vibration analysis [57], which implies the study of machine vibration signals as a symptom allowing to determine eventual failures in an incipient state [8], thus avoiding a possible catastrophic failure. A significant problem associated with this study has to do with cost, currently ranging from US$ 12,000 to US$ 40,000 [5]. On the other hand, MATLAB is a very powerful calculation tool that, among many other remarkable features, can be used to create matrix-type databases, perform complex calculations, and generates graphs, allowing the creation of graphical interfaces, etc., so undoubtedly we can use it to develop a software for storing vibration analysis data in a database and tools that permit the analysis of data stored in the same software, this being a first step toward the creation of a low-cost “virtual instrument” [9]. This software is limited, in this first development stage, to data acquisition from an Excel spreadsheet, along with the recording and analysis of the acquired data, leaving aside for the time being the capture of the machine’s vibrations stage through a transducer, the conditioning of the captured vibrations, as well as the subsequent data acquisition [10, 11].

2. Software development for vibration analysis

In this chapter, we present the development of a virtual analyzer of mechanical vibrations to be used in industry. This software was developed on MATLAB/Simulink due to that software’s calculation capacity and because it has a visual programming tool called GUIDE, which allows an easy development of a graphical interface for vibration analysis [12].

The database is called “basedatos,” and it is created as a variable in MATLAB’s Workspace and stored in the same place. To access it, we must load the database through the command “Load” at the time of starting the program.

The database is a structure where we include operation conditions and measurement data, such as date, observations, etc., and inside this structure, one of the fields is an arrangement called “signal,” where we include width, frequency, phase, and harmonics attenuation coefficient of the vibrational signal.

Another important feature of MATLAB is a compiler that creates an “.exe” file that allows the execution of the program without the need to have it previously installed, therefore allowing to run the vibration analyzer on any PC.

Several screens are created for the different “analyzer features” and for the “implementable tools” that can be accessed through buttons arranged on a main screen called “Main” for the program root, and “Vibration analysis” for the developed tools, as shown in Figure 1.

Those screens or graphical interfaces have many components, such as buttons, selection boxes, dialog boxes, etc., that must be named first. In order to do that, inside the option “property” of the “tag” section of the interface elements, the names that those components will have are entered by the user. The names should be easy to remember, so we commonly use abbreviations referring to names of the corresponding functions or components. The importance of naming the components is that, at the time of creating the program’s code, those components are called through the “Callbacks” function, for editing or capturing their values through the “set” and “get” functions, respectively.

media/fig1.png

Figure 1.

Vibration analysis software structure.

2.1. Analyzer features

2.1.1. Data acquisition from Excel

This function allows importing vibration data from an Excel spreadsheet, in this way filling the database more quickly than entering the data one by one.

2.1.2. Manual data entry

Manual entry allows entering specified data step by step with respect to the machine, the measurement point, sensor arrangement, the values of the measurement’s representative peaks, etc.

2.1.3. Editing data from the database

With this function, we can look for the already existing data inside the database and modify them, allowing the correction of possible errors.

2.1.4. Data comparison

Two measurements can be compared in parallel, to see their frequency spectra and the operation conditions at the time the measurement was made.

2.1.5. Vibration simulations

This function makes it possible to see how entering another vibration with a different phase and/or damping coefficient will affect the frequency spectrum of a given signal, as well as to simply see the frequency spectrum of a designed signal.

2.1.6. Vibration analysis

This is the software’s main function, where we can access different kinds of vibration analysis that can be carried out with discrete data, as is the case of these data.

The machines that can be analyzed with this software are as follows: DC motors, AC motors, rotodynamic pumps, hydraulic generators, steam generators, and SAG mills.

3. Implementable tools

This software’s basic tools allow capturing data from an Excel spreadsheet, store the data manually in the database, edit the data, compare fast Fourier transform (FFT) graphics, and simulate vibrations, looking at how they affect the data previously stored in the database. All those tools are part of the main features of the analyzer.

The fact that this software works with data entered in a discrete way limits the kind of vibration analysis tools that can be adapted to MATLAB. The tools that could be adapted to MATLAB are the following:

3.1. Frequency analysis

With this analysis, we can see the frequency spectrum of a vibration signal stored in the database, by varying the sampling frequency, and we can also see the spectrum in the form of a bar graph with a frequency error of 10−3, which allows a very good resolution and shows the peaks clearly. This technique uses the Fast Fourier Transform (FFT) [9, 13].

The “frequency analysis” screen has a signal finder, a sector where the values of operational conditions are printed once the “Load” button is pressed, and a sector where the kind of graph is chosen and the sampling frequency in the case of choosing an FFT graph is determined.

3.2. Order spectral analysis

To carry out this kind of analysis, we must take a reference value that will be 1X, and, from this reference, the other frequencies will be expressed as multiples of it, where this value is usually the machine speed [13].

To do this, we will take a reference value in (KCPM) by which every frequency of the spectrum to be analyzed will be divided.

This screen is very similar to that of the “frequency analysis,” but instead of entering the sampling frequency, we can choose a reference frequency to generate the orders, and those frequencies can be the speed or the net frequency stored for that datum in the database, or any other that can be written and selected.

3.3. Histogram analysis

With this function, we can see the evolution over time of a given frequency value in a specific machine, at a specific measurement point, and with a specific sensor arrangement.

Because of this, it is necessary to determine which are the machine, the point, and the arrangement from which we want to extract a given frequency to see its evolution in time. Hence, on this screen, there is a sector for determining each of those parameters, and another sector for determining the central frequency in (KCPM) that we are searching, along with a tolerance value in this same unit allowing a search range around the central frequency. There is also another sector for determining whether we want to look for frequencies from all the existing measurements in the database, or if we only want to graph the last “X” data from the database, with respect to date and time from the last measurement to the first stored measurement.

On this screen, we can search for data stored in the database and determine the RMS value of the vibration rate and the crest factor (CF), a value allowing to see the influence of the complete vibration signal over the signal’s highest peak [14].

3.4. Time-frequency transform

Through this analysis, we can see the evolution in time of the complete vibration signal [13], and it is similar to the histogram analysis, but considering all the frequencies of the signals.

In order to do that we arrange data in the same way as on the “histogram analysis” screen, only varying the way the chart is created, since we must capture all the frequency-width pairs of all the data or of the last “X” data, which can be selected at will, and graph them next to one another to form a three-dimensional (3D) surface.

For this analysis, we considered two kinds of charts, a two-dimensional (2D) one that permits a simpler analysis of vibration evolution, and a 3D one that allows the signal peaks to be seen, but making the determination of the coordinates of the points more complex. The 2D chart is generated after pressing the “CONTOUR GRAPH” button and the 3D chart by pressing the “3D TFT CHART.”

3.5. Comparison with rules and standards

On this screen, we can make comparisons with ISO2372, ISO2373, and ISO10816 standards, which require RMS values of the vibration rate. These standards were chosen because they are widely used in industry [15, 16].

4. Software operation

In order to see the operation of this analyzer based on real measurements, we invented a series of measurements to test the performance of the analysis tools in order to see the evolution in time of the measurements.

The data exported from Excel have a structure that facilitates their storage in the software’s database. This structure is shown in Figure 2.

media/fig2.png

Figure 2.

Worksheet for data exportation to the analysis software.

From the “Main” screen, we access, pressing the corresponding button, the “Vibration Analysis” screen, as shown in Figure 3.

media/fig3.png

Figure 3.

“Vibration Analysis” screen.

By means of the “Frequency Analysis” tool, we can get an FFT graph of a specific datum, or a representation of this FFT on a bar graph, as shown in Figures 4 and 5.

media/fig4.png

Figure 4.

FFT chart of data to be analyzed.

media/fig5.png

Figure 5.

Bar chart of frequency analysis.

The tool “Spectral Analysis in Orders” allows the generation of a chart in orders taking as base frequency the machine’s recorded speed, the net frequency, or any desired value, and the graph obtained is an FFT chart or a representation of the FFT on a bar graph, as shown in Figure 6.

media/fig6.png

Figure 6.

Bar graph of orders taking as base frequency the machine’s recorded speed.

The “Histogram Analysis” tool allows seeing the evolution of a given frequency of the vibration spectrum. Here, we choose the machine, the point and the sensor arrangement, when the measurement was made, selecting the frequency we want to survey, along with a tolerance range in case the exact desired value is not found. Figure 7 shows this screen, where we are looking for the 12 KCPM with a frequency tolerance of 0.5 KCPM.

media/fig7.png

Figure 7.

“Histogram Analysis” screen. Searching 12 KCPM frequency.

The exact frequency obtained and the dates of the measurement are shown above the histogram bars.

With the “RMS and CF value” tool, we can calculate the RMS value and the CF, displaying the signal’s FFT or the signal as a function of time, so we can see the location of those values inside the vibration spectrum, as shown in Figure 8.

media/fig8.png

Figure 8.

“RMS Value and CF” screen.

The “Time-Frequency Transform (TFT)” tool allows getting two kinds of graphs that represent the frequency, width, and time variables of the measured vibration spectra. One of the graphs is a 3D presentation of those variables (see Figure 9), and the other is a 2D contour line presentation of the 3D image, allowing a better analysis (see Figure 10).

media/fig9.png

Figure 9.

3D and 2D TFT graphs.

media/fig10.png

Figure 10.

2D TFT graphs.

With the tool “Comparison with Rules and Standards,” we can, after calculating the rms value, get a vibration severity evaluation, according to ISO 2372, ISO 2373, and ISO10816 standards. In this function, we select the rule with which we want the data to be compared, selecting the machine’s classification in accordance with the chosen rule, and then pressing the “Compare” button. This gives an evaluation of the vibration severity of the machine, according to the selected standard. This is shown in Figure 11.

media/fig11.png

Figure 11.

Screen “Comparison with Rules and Standards.”

5. Conclusions and future development

A powerful software for vibration analysis was developed, with a very low cost compared with the tens of thousand dollars that a system for acquisition and analysis of mechanical vibrations can effectively cost.

This software, developed in MATLAB, has powerful tools like the creation of FFT graphs or bar graphs allowing to see more clearly the FFT peaks, order charts, histograms of some frequencies in a given time period, calculation of the RMS value and CF of a given frequency spectrum, creation of TFT graphs in 3D and 2D, and comparison of frequency spectra with ISO 2372, ISO 2373, and ISO 10816 standards.

This is a first stage in the development of this kind of “virtual instrument,” since many parts still remain unsolved, like direct data acquisition from the machine, capturing and conditioning vibration signals for further storage in the database of the designed software, and this is an actual challenge to be faced in the short term.

Another interesting point for further development is the creation of an intelligent system (expert system, neural net, artificial intelligence, etc.) able to determine which is the possible failure appearing with vibration as a symptom.

The main file that contains the folders with the programming codes of the computational simulator (virtual instrument) presented in this chapter can be downloaded directly from the following website: http://www.mathworks.com/matlabcentral/fileexchange/56693-virtual-instrument-for-the-analysis-of-vibrations-in-rotary-machines

Acknowledgements

This work was supported by Proyectos Basales and the Vicerrectoría de Investigación, Desarrollo e Innovación of the Universidad de Santiago de Chile, Chile.

References

1 - Afefy I. H. Maintenance planning based on computer-aided preventive maintenance policy. In: International MultiConference of Engineers and Computer Scientists; 14–16 March, 2012; The Royal Garden Hotel, Kowloon, Hong Kong. Hong Kong: Newswood Limited; 2012. p. 1378–1383.
2 - Yan H.-C., Zhou J.-H. and Pang C. K. Gamma process with recursive MLE for wear PDF prediction in precognitive maintenance under aperiodic monitoring. Mechatronics. 2005;31:68–77.
3 - Widodo A., Yang B.-S., Gu D.-S. and Choi B.-K. Intelligent fault diagnosis system of induction motor based on transient current signal. Mechatronics. 2009;19(5):680–689.
4 - Bittencourt A., Saarinen K., Sander-Tavallaey S., Gunnarsson S. and Norrlöf M. A data-driven approach to diagnostics of repetitive processes in the distribution domain – applications to gearbox diagnostics in industrial robots and rotating machines. Mechatronics. 2014;24(8):1032–1041.
5 - San Román O. and Herrera J. Predictive fault system for critical equipment in the SAG plant of CODELCO Chile, Andina division [thesis]. Santiago, Chile: Universidad de Santiago de Chile, Departamento de Ingeniería Eléctrica; 2000.
6 - Czmochowski J., Moczko P., Odyjas P. and Pietrusiak D. Tests of rotary machines vibrations in steady and unsteady states on the basis of large diameter centrifugal fans. Maintenance and Reliability. 2014;6(2):211–216.
7 - Zarei J., Tajeddini M. A. and Karimi H. R. Vibration analysis for bearing fault detection and classification using an intelligent filter. Mechatronics. 2014;24(2):151–157.
8 - Xuejun L., Lingli J. and Fulei C. Design and implementation of the hardware and software of portable displacement-acceleration vibration signal measurement system. Journal of Electronic Measurement and Instrument. 2008, 2, pp. 56–61.
9 - Estupiñán P. E., San Martín C. and Canales M. L. Development of a virtual instrument for the dynamic balancing of rotors. Ingeniare – Revista Chilena de Ingeniería. 2006;14(2):146–152.
10 - Lakhoua M. N. Surveillance of pump vibrations using a supervisory control and data acquisition system. Journal of Control Engineering and Applied Informatics. 2010;12(1):15–20.
11 - Sanz F. A., Ramirez J. M. and Correa R. E. Hybrid method for the diagnosis of electrical rotary machines by vibration signals. In: North American Power Symposium (NAPS); 26–28 September; Arlington, TX; 2010. p. 1–6.
12 - MathWorks. MathWorks – MATLAB and Simulink for Technical Computing [Internet]. Available from: http://www.mathworks.com/?requested-Domain=www.mathworks.com [Accessed: Jan 12, 2016].
13 - Saavedra P. Monitoring and diagnosis of mining critical machines' mechanical condition. In: Conferencia Latinoamericana. Gestión Mantención y Confiabilidad Operacional, 13° Congreso Iberoamericano de Mantenimiento. Valparaiso, Chile. 2005.
14 - Moreno R., Pintado P., Alonzo F., Chicharro J., Morales A. and Nieto A. Assessment and comparison of fault diagnosis in gears using mechanical vibration signals. In: 8° Congreso Iberoamericano de Ingeniería Mecánica; 23–25 October; Cusco, Perú 2007. Código 585.
15 - A-Maq S.A. Machinery analysis: a tutorial on vibrations for mechanical maintenance. Medellín, Colombia. Jorge Marcel. 2005. 41 p.
16 - International Standard ISO. ISO 10816-1: Mechanical vibration – evaluation of machine vibration by measurements on non rotating part. Nicola Perou. Berlin, Germany. 2005.