Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
49-54
Abstract: With respect to the problem that it is difficult to pick out eggs with small cracks, a novel vibrating
type of eggshell cracks detection system using a magnetostrictive transducer was developed firstly. Then the
acoustic signals was recorded while the transducer vibrating with the swept frequency from 1 to 14000 Hz.
Thirdly, the wavelet and Burg power spectrum were used for data pretreatment and feature extraction
respectively. By comparing the spectrums of intact eggs and hairline cracked eggs, the characteristic frequency
of 4500~8000 Hz was found. Moreover, five feature parameters were defined for further analysis. In addition,
the Support Vector Machine (SVM) based classifier was applied to build the model for identifying the cracked
eggs from intact eggs. The experimental results show that the useful information of the acoustic signals was
enhanced significantly and the identification accuracy reaches to 100 % and 98 % for training set and testing set
respectively. This paper proposes a novel method for discriminating eggshell cracks using a magnetostrictive
transducer in conjunction with the signal power spectrum analysis and LIBSVM methods which results show its
feasibility. Copyright © 2015 IFSA Publishing, S. L.
Keywords: Magnetostrictive transducer, Power spectrum, SVM, Nondestructive testing, Eggshell crack.
http://www.sensorsportal.com/HTML/DIGEST/P_2622.htm 49
Sensors & Transducers, Vol. 186, Issue 3, March 2015, pp. 49-54
several times of impact in the certain region of an microphone. The sampled acoustic signals contain
egg during detection [6]. What’s more, it’s difficult rich information about the egg’s quality. By
to detect the microcracks such as hairline cracks of analyzing the acoustic signals we can identify the egg
the eggs accurately by the existing methods. is intact or not.
In the paper, we firstly introduced the developed
eggs cracks detection system using a magneto-
strictive transducer. Then several signal processing
methods was applied to enhance the useful
information and improve the identification precision.
In addition, the paper tried to identify the eggshell
crack in different regions. The rest of this paper is
organized as the following structures: The
experimental conditions, experimental facility and
the vibration signal acquisition method is shown
firstly. Then vibration signals were filtered by
wavelet filters to remove the noise and the data was
normalized in Section 3. How to extract the useful
information from vibration signals is illustrated in
Section 4. The identifying method and result are
given in Section 5 which show the validity of it. The (a) The schematic diagram
last section draws the conclusion. 1 - Experimental egg sample, 2 - Magnetostrictive
transducer, 3 - Circuit board, 4 - Shell, 5 - Cables,
6 - Computer, 7 – Microphone
2. Acoustic Vibration Signal Detecting
Systems
2.1. Samples Preparation
The experimental eggs were bought from a
poultry farm and stored at a refrigerator in the
temperature of about 4 oC (Centigrade) for 3 days.
The eggs mass ranged from 53 to 68 gram and the
diameters at the equator were from 35 to 41 mm.
Several irregular eggs were removed from the
samples based on the surface color and strength. A (b) The experimental system
total number of 210 intact eggs were used in the
experiments. Then each egg was handled manually to Fig. 1. The schematic diagram and picture
of the experimental system.
be micro cracked such as hairline cracked for further
testing. Finally, 210 intact eggs and 210 cracked eggs
were used in the experiment. 270 eggs including 3. Acoustic Signals Pretreatment
150 intact eggs and 120 cracked eggs (40 eggs
cracked at the top, 40 eggs cracked at the middle and The original acoustic vibration signals are shown
40 eggs cracked at the bottom) were employed as in Fig. 2(a). The frequency range of the acoustic
training set and 150 ones including 60 intact eggs vibration signals is from 1 Hz to 14 kHz, so the
and 90 cracked eggs (30 eggs cracked at the top, signals with the frequency higher than 14 kHz should
30 eggs cracked near the equator and 30 eggs be removed. The multi-resolution wavelet was used
cracked at the bottom) as prediction set. to filter the noises from the acoustic vibration
signals. The multi-resolution wavelet analysis is a
method to get the signal features at different levels;
2.2. Experimental System and Procedure its nature is to decompose the signals in a serious of
As shown in Fig. 1, we firstly developed a different level spaces. The fine information and
vibrating type of eggshell cracks detection system coarse information of the signals are in the small
using a magnetostrictive transducer. The subsequent scale space and big scale space respectively. The
detection of eggshell cracks was carried out in the signals can be analyzed from low resolution to high
vibrating system that mentioned above. Firstly, the resolution along with the change of the scale [7]. The
swept vibration signal from 1 to 14 kHz was created signal xn (n) can be decomposed by
in the computer by software. Then it was amplified
by circuit board to drive the magnetostrictive xk( j ) = h(n − 2k ) xn( j −1) , j ≥ 1, j ∈ Z , (1)
transducer. The collision between the egg and the n
magnetostrictive transducer generated sounds. In the
meanwhile, the computer recorded the acoustic d k( j ) = g (n − 2k ) xn( j −1) , j ≥ 1, j ∈ Z , (2)
signals at 44 kHz sampling rate through a n
50
Sensors & Transducers, Vol. 186, Issue 3, March 2015, pp. 49-54
where xk( j ) and d k( j ) are the discrete coarse algorithms above. The original acoustic vibration
coefficient and fine coefficient respectively under the signal in time domain and frequency domain are
level j decomposition; h(n) and g (n) are the shown in Fig. 2(a) and Fig. 2(c) respectively. We
employed the wavelet function Daubechies 10 to
coefficients of the low-pass filter and high-pass filter decompose the signals to 5 layers. The acoustic
respectively. And the signal reconstruction signals were reconstructed after the high frequency
algorithm is coefficients of the wavelet being set to zero. The
xk( j −1) = h( n − 2k ) xk( j ) + g (n − 2k ) d k( j ) ,
frequency spectrum of the original acoustic signal
(3) compared with that of the processed acoustic signal
n n
are shown in Fig. 2(b) and Fig. 2(d) respectively. It’s
(0) clear that the processed acoustic signal is smooth
where xk is equal to the original signal x (k ) . The enough for further analysis.
acoustic vibration signals can be handled by the
(a) Original acoustic signals in time domain (b) Acoustic signals in time domain after filtering
(c) Frequency spectrum of the original acoustic signals (d) Frequency spectrum of signals after filtering
Fig. 2. Acoustic signals and the spectrum before and after filtering.
4. Feature Extraction of the Eggshell’s which makes the sum energy of forward prediction
Acoustic Signals error and backward prediction error minimum. It can
avoid of the calculation of the self-correlation
The vibration signals that collected using our functions and the results estimated so it is very near
experimental system are stationary stochastic signals. to the true values by making use of less data. The
It’s difficult to extract the signal features effectively calculation steps of the algorithm are as follows [8]:
between intact and cracked eggs using traditional a) Calculate the reflection coefficient k1 by
methods such as FFT analysis technique, AR model,
N −1
−2 emf −1 (n)emf −1 ( n − 1)
ARMA model, et al., directly. In order to meet the
measuring precision, the paper tried to adopt power
spectral estimation method because it is a powerful km = N −1
n=m
N −1 (4)
e (n) + em−1 (n − 1)
f 2 b 2
tool for stationary stochastic signals analysis with the m−1
advantages of high resolution and less calculation. n=m n=m
The Burg AR is chosen by comparing power spectral
estimation methods such as Periodogram, Welch’s,
With the initial conditions e0f = e0b = x(n) .
Burge, Yule-Walker, MUSIC power spectrum, et al.
b) The sum of the forward prediction error and
backward prediction error p1fb = (1 − k12 ) rx (0) and the
4.1. Burg AR Method parameters of AR model a1 (1) = k1 can be calculated
while the model order is m = 1 according to the self-
Burg is a regressive spectrum estimation method
correlation function
with the recursive constrain of Levinson-Durbin,
51
Sensors & Transducers, Vol. 186, Issue 3, March 2015, pp. 49-54
2
1 N −1 4500~8000 Hz. So the feature parameters used for
rx (0) =
N
x ( n)
n =0
(5) further analysis are defined as shown in Table 1,
where Si means a signal spectrum value.
c) According to the Formula (6-7)
am (k ) = am −1 ( k ) + km am−1 (n − k ) , (8)
am (m) = km , (9)
4.3. The Chosen of Feature Parameters Mean spectrum amplitude from 8000
5000 ( Si )
X4
5000 to 8000 Hz X4 = f
52
Sensors & Transducers, Vol. 186, Issue 3, March 2015, pp. 49-54
53
Sensors & Transducers, Vol. 186, Issue 3, March 2015, pp. 49-54
Acknowledgments [4]. Jenshin L., Lin Y., Hsieh M., An automatic system
for eggshell quality monitoring, Transactions ASAE,
This work is supported by the Natural Science Vol. 44, Issue 3, 2001, pp. 1028-1034.
Foundation of Jiangsu Province (BK20130696), the [5]. Jun Wang, Ruishe Jiang, Eggshell crack detection by
dynamic frequency analysis, Eur Food Res Technol.,
Fundamental Research Funds for the Central Vol. 211, 2005, pp. 214-220.
Universities (KYZ201427), and the National Natural [6]. Li Sun, Xiakun Bi, Lin Hao, Jiewen Zhao, JianRong
Science Foundation for the youth (Project Cai, On-line detection of eggshell crack based on
No. 61401215). acoustic resonance analysis, Journal of Food
Engineering, Vol. 116, 2013, pp. 240-245.
[7]. Mallat S. A., Theory for multi-resolution signal
References decomposition: The wavelet representation, IEEE
Transactions on PAMI, Vol. 11, Issue 7, 1989,
[1]. Mahmoud Omid, Mahmoud Soltani, Mohammad pp. 674-693.
Hadi Dehrouyeh, Seyed Saeid Mohtasebi, Hojat [8]. He Z. S., Xia W., Modern digital signal processing,
Ahmadi, An expert egg grading system based on Tsinghua University Press, Bejing, 2009.
machine vision and artificial intelligence techniques, [9]. Espina Jordi, Ortega Carlos, de Lillo Liliana, et al.,
Journal of Food Engineering, Vol. 118, 2013, Reduction of Output Common Mode Voltage Using a
pp. 70-77. Novel SVM Implementation in Matrix Converters for
[2]. Loredana Lunadei, Luis Ruiz-Garcia, Luigi Bodria, Improved Motor Lifetime, IEEE Transactions on
Riccardo Guidetti, Automatic identification of Industrial Electronics, Vol. 61, Issue 11, 2014,
defects on eggshell through a multispectral vision pp. 5903-5911.
system, Food Bioprocess Technology, Vol. 5, 2012, [10]. Chih-Chang, Chih-Jen Lin, LIBSVM: A library for
pp. 3042-3050. support vector machines, ACM Transactions on
[3]. Lin Hao, Jie-Wen Zhao, Quan-Sheng Chen, Jian- Intelligent Systems and Technology, Vol. 2, Issue 3,
Rong Cai, Ping Zhou, Eggshell crack detection based 2011, pp. 1-27.
on acoustic impulse response and supervised pattern [11]. http://www.csie.ntu.edu.tw/~cjlin/
recognition, Czech Journal of Food Science, Vol. 27,
Issue 6, 2009, pp. 393-402.
___________________
2015 Copyright ©, International Frequency Sensor Association (IFSA) Publishing, S. L. All rights reserved.
(http://www.sensorsportal.com)
54