|NDT.net Apr 2005 Vol. 10 No.4|
Development of an Automated Ultrasonic Testing SystemJiao Shuxiang
Robotics Research Centre, School of Mechanical & Production Engineering,
Nanyang Technological University, Singapore, 639798;
Stephen Brian Wong*
School of Mechanical & Production Engineering,
Nanyang Technological University, Singapore, 639798
firstname.lastname@example.org; phone (65) 6790 4343; fax (65) 6791 4062.
Corresponding Author Contact:
© SPIE - The International Society of Optical Engineers.
ABSTRACTNon-Destructive Testing is necessary in areas where defects in structures emerge over time due to wear and tear and structural integrity is necessary to maintain its usability. However, manual testing results in many limitations: high training cost, long training procedure, and worse, the inconsistent test results. A prime objective of this project is to develop an automatic Non-Destructive testing system for a shaft of the wheel axle of a railway carriage. Various methods, such as the neural network, pattern recognition methods and knowledge-based system are used for the artificial intelligence problem. In this paper, a statistical pattern recognition approach, Classification Tree is applied. Before feature selection, a thorough study on the ultrasonic signals produced was carried out. Based on the analysis of the ultrasonic signals, three signal processing methods were developed to enhance the ultrasonic signals: Cross-Correlation, Zero-Phase filter and Averaging. The target of this step is to reduce the noise and make the signal character more distinguishable. Four features: 1. The Auto Regressive Model Coefficients. 2. Standard Deviation. 3. Pearson Correlation 4. Dispersion Uniformity Degree are selected. And then a Classification Tree is created and applied to recognize the peak positions and amplitudes. Searching local maximum is carried out before feature computing. This procedure reduces much computation time in the real-time testing. Based on this algorithm, a software package called SOFRA was developed to recognize the peaks, calibrate automatically and test a simulated shaft automatically. The automatic calibration procedure and the automatic shaft testing procedure are developed.
Keywords: Ultrasonic nondestructive testing, pattern recognition, classification tree, ultrasonic signal processing
1. INTRODUCTIONPresently, most ultrasonic inspections are done manually. Most of the educational literature  on ultrasonic inspection has been written in technical language with engineering mathematics. Interpretation of ultrasonic NDT data can be a complex task, and interpreters must be highly skilled. When large engineering structures are inspected, the amount of data produced can be enormous, and a bottleneck can arise at the manual interpretation stage. Boredom and fatigue of operators can lead to unreliable and inconsistent results, where significant defects are not reported . In order to improve their performance, it is recognized that there are gains to be derived from automating the ultrasonic inspection procedure by using a manipulator. Progress has been considerable in many aspects, namely, the development of equipment and techniques. For the automatic characterization of the ultrasonic transducer, M. S. Obaidant and D. S. Abu-Saymeh compared the performance of a neural network and statistical pattern recognition techniques . The neural network method obtained a better result compared with the statistical pattern recognition techniques. An automated system based on a neural network for characterizing an ultrasonic transducer was proposed in 1998 .
Matthew Miller has developed an automated real-time data acquisition system for robotic weld quality monitoring . K.M. Abd El-Ghany developed software that has the ability to use Internet to transmit testing data . The expert can evaluate the ultrasonic scanning results for important structures without actually being present in the scanning site. Another useful tool is the simulation tool developed by Pierre Calmon . The simulation tool can compute the ultrasonic fields of the realistic NDT configuration as an aid to NDT education and NDT test procedure optimization.
In spite of all the modern automated inspection methods, defect classification still is a difficult task. Much work, essentially based on pattern recognition techniques and artificial intelligence methods using neural networks, has been published on the subject.
Two methods, "best-fit analysis" and "triangulation analysis", were used to do shape classification . Some success using neural networks has been reported with the use of the Hopfield  method and a back-propagation algorithm .
R. Drai  proposed a new signal processing technique known as "split spectrum processing". It improves the signal-to-noise ratio. The cross-correlation function is used to determine the resemblance between the echoes emanating from crack edges and small volumetric defects. "Split spectrum processing" was also used by Kwong Ki Yau .
I. Cornwel  used a rule-base expert system with fuzzy logic to deal with the problems of uncertainty during the automatic interpretation of ultrasonic NDT data . There are also some other similar knowledge based systems . Shaun W. Lawson describes the application of image processing and neural networks for the task of completely automating the decision making process involved in the interpretation of Time of Flight Diffraction (TOFD) images .
2. SIGNAL ANALYSIS AND ENHANCEMENTPreprocessing is the first step after the data acquisition. To some extent, preprocessing decides the performance of the automatic system. It is necessary to carry out a thorough study on the ultrasonic signal before carrying on the project.
Fig. 1 is the partial signal from the ultrasonic card: SOFRA4001H using a 5MHz compression wave probe placed on a flat aluminum specimen of 25mm thickness.
The A/D converter on the card is 8 bits with a 40 MHz sample frequency. So the maximum amplitude is 255. The buffer for the signal is 8 K bytes. The digital signal is rectified. Rectification will blur the frequency character of the signal. This is one of the hardware limitations. Non-rectified signal cannot be got from the card, so all the analysis has to be based on the rectified signal.
1.1. Enhancement by cross-correlation
1.2. Enhancement by zero-phase shift filter
First the low pass filter is designed as:
1.3. Enhancement by averaging
1.4. Enhancement result
3. AUTOMATIC DETECTION ALGORITHMWhichever classification algorithm is adopted, the feature selected decides the performance of the classification algorithm. In many problems, extracting 'features' from the raw data will result in significantly improved pattern recognition. Features capture characteristics of the inputs that are most relevant for the estimation or classification problem at hand. Typically, domain-specific knowledge is used to develop good features.
Based on the signal analysis and the shape of the peaks, the selected features are:
The next step is to choose the best set of features that discriminate the classes most efficiently. That is, enhance the separability among the different classes while increasing homogeneity within the respective class at the same time . Because the signal is rectified, the frequency information got blurred. The separability shown by the AR coefficients is little. So the three AR coefficients are eliminated, only taking standard deviation s, Pearson's "r" and Dispersion Uniformity Degree are left as the features. This step reduces the computation complexity.
After the feature space is obtained, the next task of a pattern recognition system is classification. The goal of a classifier is to classify objects of interest into one of the number of categories or classes . There are many methods to do the classification task. A neural network is the most often way mentioned in engineering papers. However, for the task to recognize the peaks, the classification tree is the better method.
A neural network classifier is suitable for the classification case shown in Fig. 3A. When the distance between class 1 and class 2 is short, in order to fulfill the classification task, more sample data is required to train the neural network, and of course more training time is also required to train the neural network . However, for the classification task shown in Fig. 3B, no matter how many samples used, no matter how long the neural network is trained, it is not possible to fulfill the classification task perfectly for the common forward neural network . The classification tree is not suitable for the classification task shown in Fig.3D, because the classification tree will produce a classification rule with zigzag form finally. That will result in a complex classification rule, or else a classifier with larger error rate. The classification tree is very suitable for the classification task shown in Fig. 3C, even the class-1 and class-2 have a small overlap part .
The task to classify the peaks in the non-destructive testing signal is much similar to the case shown in Fig. 4, just with a small overlap part.
Fig. 5 is the whole tree generated according the splitting algorithm expatiated. The strings beside the nodes (triangle) are the condition to split the nodes. The leafs (dot) are the classified samples. "78" stands for the class "non-peak" and "80" stands for the class "peak". This is the whole tree, which means that all the data in the sample set can be classified successfully by the classification rule descripted.
Obviously, the rule is to complex and is hard to explain. And more, this is not the perfect classification rule because the sample set does not include the entire possible situation and there are error data that is misclassified. So pruning the tree is necessary. After pruning, the ultimate classification tree is shown in Fig. 6.
It is easy to explain the classification rule shown in Fig. 6. That is: The samples are peak if they satisfy:
4. RESULTThe table below is the experiment result. The automatic peak detection algorithm can detect the peaks with very little difference comparing with the human operator. When the gain is too high (higher than 45db), the signal will be much noisy. Even human operator cannot recognize all the peaks properly. In practice, almost all the test procedure defines the gain range.
Two automatic procedures, the automatic calibration procedure and the automatic shaft testing procedure, are designed and realized in the SOFRA software. The experiment result of the automatic calibration is good. Compared with the real defect position (Defect 1: 300mm, Defect 2: 505mm: Defect 3: 712mm), the experimental result of the testing on the aluminum shaft is very good (ref. Fig. 7). SOFRA also shows the capability to do the C-Scan. This shows the possibility to automate other ultrasonic non-destructive testing procedures
5. CONCLUSIONThen, the statistical parameters are used as the features to do the classification task. For the real-time testing system, the outcome of using the classification tree to classify is much better than the outcome of using neural network to classify. The classification tree is used to decide the value of the features, and create the classification rule according to the ultimate optimized classification tree. The classification rule does the classification task very well.