Next Article in Journal
3D Simulations of Intracerebral Hemorrhage Detection Using Broadband Microwave Technology
Previous Article in Journal
Optimizing 802.15.4 Outdoor IoT Sensor Networks for Aerial Data Collection
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Feature Extraction Methods Proposed for Speech Recognition Are Effective on Road Condition Monitoring Using Smartphone Inertial Sensors

by
Frederico Soares Cabral
1,
Hidekazu Fukai
2,* and
Satoshi Tamura
2
1
Faculty of Engineering, National University of East Timor, Hera, East Timor
2
Faculty of Engineering, Gifu University, Gifu 501-1193, Japan
*
Author to whom correspondence should be addressed.
Sensors 2019, 19(16), 3481; https://doi.org/10.3390/s19163481
Submission received: 24 May 2019 / Revised: 26 July 2019 / Accepted: 30 July 2019 / Published: 9 August 2019
(This article belongs to the Section Physical Sensors)

Abstract

:
The objective of our project is to develop an automatic survey system for road condition monitoring using smartphone devices. One of the main tasks of our project is the classification of paved and unpaved roads. Assuming recordings will be archived by using various types of vehicle suspension system and speeds in practice, hence, we use the multiple sensors found in smartphones and state-of-the-art machine learning techniques for signal processing. Despite usually not being paid much attention, the results of the classification are dependent on the feature extraction step. Therefore, we have to carefully choose not only the classification method but also the feature extraction method and their parameters. Simple statistics-based features are most commonly used to extract road surface information from acceleration data. In this study, we evaluated the mel-frequency cepstral coefficient (MFCC) and perceptual linear prediction coefficients (PLP) as a feature extraction step to improve the accuracy for paved and unpaved road classification. Although both MFCC and PLP have been developed in the human speech recognition field, we found that modified MFCC and PLP can be used to improve the commonly used statistical method.

1. Introduction

East Timor is a new country that gained independence in 2002. It is located in Southeast Asia, to the east of Indonesia and to the northwest of Australia. Being a developing country, the roads have become an important infrastructure for the country’s economic growth. East Timor has more than 6000 km of road networks including 1426 km of national roads, 869 km of district roads, 716 km of urban roads, and more than 3000 km of rural roads (unpaved) [1,2,3].
To provide a good quality of road, regular monitoring activities are a major challenge for transport infrastructure management. Generally, two types of approaches have been used to monitor road conditions: One is a traditional approach in which the road condition is inspected manually and the other approach uses some existing commercial products such as “Road Scanner” [4]. Being time-consuming and requiring human experience are disadvantages of the traditional approach; meanwhile, the high cost of commercial products is not practical for an underdeveloped country such as East Timor.
Recently, the use of multisensor technology in research activities has increased due to a decrease in sensor prices. One of the research areas that has increased rapidly is road condition monitoring using multisensor technology. A smartphone device is one of the solutions chosen by many researchers to monitor road conditions due to the number of smartphone users increasing every year around the world [5], including East Timor [6], and also such devices are equipped with various sensors, i.e., an accelerometer, gyroscope, compass, global positioning system (GPS), etc. An accelerometer and gyroscope sensor can be used to collect information for the road surface by fixing the smartphone on the dashboard of a moving vehicle, while a GPS sensor can be used to record the location. Various types of road conditions such as potholes, bumps, anomaly, paved, unpaved, and roughness estimation can be identified by analyzing acceleration and gyroscope signals.
The overall aim of our project is to build an integrated system that surveys road surface conditions using smartphone sensors [7]. However, due to the fact that almost 50% of the road networks in East Timor are unpaved rural roads, there is a strong requirement for the classification of paved and unpaved roads. In addition to the paved and unpaved road classification, road surface qualification by roughness estimation is essential to provide riding comfort and safety. Therefore, in this study, we focused on the classification of paved and unpaved roads, which becomes a preliminary task when conducting roughness estimation for both paved and unpaved roads.
For the problem of road condition classification, various methodologies have been proposed so far. Generally, the entire process of road condition classification is divided into several steps such as preprocessing, feature extraction and classification. After signal acquisition, rotation, denoising, smoothing, segmentation, and thresholding are the main operations in the preprocessing step. The next feature extraction step is a process that transforms a regular vector into a manageable vector that is suitable for use as an input for subsequent classification methods. In the last classification step, the road conditions are evaluated from their features by certain methods to predict the class of the given data points. Here, the feature extraction step is important for obtaining a better result at the classification step.
This paper studies the influence of feature extraction method to improve the performance of the classification of paved and unpaved road. The results show that the frequency-based feature extraction, i.e., MFCC and perceptual linear prediction (PLP) obtained better performance than statistics-based feature extraction.
The remaining part of the paper is structured as follows. Section 2 describes related works, while Section 3 describes the system architecture. In Section 4, the classification method, dataset, and performance evaluation are described. Section 5 presents the experimental results using training and validation dataset as well as testing dataset then followed by map visualization. Section 6 describes the discussion. Finally, we summarize our results in Section 7.

2. Related Works

2.1. Related Works on the Use of Inertial Sensors

Several studies have been proposed to use the accelerometer sensor for road condition monitoring. Eriksson et al. developed a system called “The Pothole Patrol” based on an accelerometer and GPS sensor to detect potholes and other road anomalies [8]. A system called “Nericell” was demonstrated by Mohan et al., which used several sensing components such as an accelerometer, a microphone, a GSM radio, and a GPS sensor to detect braking, stop-and-go traffic, and bumps [9]. An application of a machine learning technique, i.e., a support vector machine (SVM), was proposed to detect road anomalies using a smartphone device [10,11]. An accelerometer, a GPS, and a magnetometer in a smartphone device were used for breaking and bump detection using K-means clustering and a SVM technique [12]. Tomiyama et al. [13] investigated the use of a standalone accelerometer sensor for estimating road surface conditions based on the international roughness index (IRI) value. A collaborative system for monitoring road surface conditions was proposed by Alessandroni et al. [14]. In the study, an Android application called “SmartRoadSense” was built to compute the power of the prediction error ( P P E ) value in real-time. The authors estimated the road roughness by taking the average of ( P P E ) and visualized it with maps. Masino et al. proposed a real-time road damage detection system using an accelerometer sensor, an angular rate sensor and a GPS sensor [15]. A community sensor network for road roughness monitoring using a smartphone was proposed by Kumar et al. [16]. A fuzzy classifier has been used to classify roads into several categories, i.e., smooth, minor discomfort, moderate discomfort, major discomfort, and very rough [16]. The system involved a client application on a smartphone that collects acceleration data, processes the information and communicates to a central server followed by visualizing of the road conditions on Google Maps. Singh et al. proposed a system for detecting potholes and bumps was proposed by calculating the similarity of two signals using a dynamic time warping (DTW) technique [17].
Based on the above references, the majority of the studies have focused on the conditions of only a paved road, and, as far as we know, there is only one study that has discussed the classification of paved and unpaved roads using smartphone sensors [7]. However, in fact, the classification of paved and unpaved roads is still important in developing countries, and this is not an easy task because the vibration varies depending on the vehicle suspension type, vehicle speed, driving style, and so on. On the other hand, the vibration of a vehicle on rough paved roads is larger than that of smooth unpaved roads. Meanwhile, in the field of road condition monitoring, the feature extraction step has not been well discussed so far.

2.2. Related Work on Features Extraction from an Inertial Sensor

A feature is a distinctive or characteristic measurement, transform, or structural component extracted from a segment of a pattern, which can be used to minimize the loss of important information [18]. Feature extraction methods could be based on either calculating statistical characteristics or producing syntactic descriptions [18].
To deal with the classification/detection problem, many studies rely on feature extraction including the road condition monitoring field. As shown in Table 1, there are several relevant amounts of road condition monitoring works that apply feature extraction in different ways on different targets. For the features, most of these works are calculating statistical characteristics (mean, standard deviation, etc.) and common signal processing techniques (Fast Fourier-transform (FFT) and wavelets transform) to extract information from accelerometer signals.
In this study, we propose the use of advanced frequency-based features that are mostly used in speech recognition, i.e., mel-frequency cepstral coefficients (MFCC) and perceptual linear predictive (PLP) coefficient for feature extraction in a road condition monitoring task, especially for paved and unpaved road classification. In addition to the speech recognition field, both methods have been applied to other research areas including the HAR (human activity recognition) field [19,20,21].
In our previous work [7], we conducted paved and unpaved road classification based on statistics-based feature extraction, and we obtained more than 97% accuracy for the classification. However, when the dataset included new data that were recorded by a vehicle with soft suspension and at various speeds, we faced a decline in classification performance. Therefore, in this study, we tried to improve the classification results by focusing on the feature extraction steps.

3. System Architecture

The overall system architecture for paved and unpaved road classification is shown in Figure 1. Basically, there are five steps in this architecture i.e., data acquisition, preprocessing, feature extraction, paved and unpaved road classification, and visualization.

3.1. Data Acquisition

Road data were recorded using an Android application, which was developed in our laboratory. The application monitors 11 dimensions in total of the Android smartphone sensor data, i.e., three axis of the accelerometer and gyroscope, GPS, compass, and timestamp. The data were recorded at a sampling rate of 100 Hz for the accelerometer and gyroscope sensor, and at 1 Hz for the GPS sensor.
The data collection was conducted on the East Timor road network, including national roads, district roads, and rural roads. The road data were recorded on approximately 200 km of road and 32,264 data points were generated. The roads include various types, such as paved roads and unpaved roads, and features, such as potholes and bumps. The road data were collected using various types of smartphones and vehicles due to the assumption that the developed system will be used by local surveyors in practice. We used three different smartphone devices, i.e., Samsung Galaxy S8 (2), Samsung Galaxy A5 (1), and Asus ZenFone (1). To deal with the various types of vehicle suspension system, four types of vehicle were used, i.e., Toyota Land Cruiser Prado, Mitsubishi Pajero, Toyota Hi-Lux, and Daihatsu Xenia. We installed a data acquisition application, which we developed on each smartphone. The smartphone was fixed on the dashboard of each vehicle. For the verification purpose, we made recording with not only smartphones but also dash cam. The movies are used to check the actual road condition compared to the classification results using smartphone sensor data. In addition, we ordered the drivers to drive with the standard way of driving depends on the road condition.

3.2. Preprocessing

In practice, smartphones might be placed with various postures in the vehicle cabin. To overcome this situation, the Euler angle and a rotation matrix [17,22] are used to virtually reorient the angle of the smartphone. A third-order low-pass Butterworth filter [16] with a 5 Hz cut-off frequency was applied to remove undesired signals. The value of 5 Hz was chosen due to the minimum tolerance of the human body to vertical vibration being at 5 Hz according to the book [23].

3.3. Feature Extraction

This step is the main focus of this study. The objective is to find a suitable feature extraction method to improve accuracy for the classification of paved and unpaved roads. Usually, simple statistical features are used in a road surface monitoring system [7]. On the other hand, there are two well-known advanced feature extraction methods in speech signal processing, i.e., MFCC (mel-frequency cepstral coefficients) and PLP (perceptual linear predictive) coefficients. Each feature extraction method will be described in detail in Section 5.

3.4. Classification

In this step, the system classifies the road as paved or unpaved from the signal features by an appropriate classification method. The details are described in Section 4.

3.5. Visualization

The classification results were visualized on a map provided by Google Maps. In the map, we used green points to indicate paved roads and red points to indicate unpaved roads. There are three steps in the visualization process (Figure 2). The first step is to make default points for the entire road at 20 m intervals. In the second step, the “snap to roads” technique of the Google Roads API is applied to match the GPS points to the center of the roads. The last step is aggregation, in which the closest distance between new points and existing points is calculated, and the existing points are updated by taking the median value in the range of 20 m. A MySQL database was used to store the data including the classification result, latitude, and longitude.

4. Classification, Dataset, and Evaluation

4.1. Support Vector Machine (SVM)

The SVM is a supervised learning method used for regression, classification, and outlier detection. Before the advent of deep learning techniques, SVM was among the most popular methods for machine learning classification and regression problems. Currently, SVM is still a powerful method, especially for road condition monitoring. In SVM, model selection and parameter search play a crucial role. It is known that the general performance of SVM depends on good settings of the kernel, regularization (often known as the C parameter) and gamma ( γ ). The kernel transforms data into another dimension that can be used to clearly define the margin between classes. The kernel can be linear, radial basis function, polynomial and sigmoid. The C parameter trades the misclassification of training examples for simplicity in the decision surface. The γ parameter defines how far the influence of a single training example reaches [24]. In addition, the SVM has another advantage, i.e., prediction less computationally expensive compared to other methods such as Deep Learning.
In this study, we applied the SVM model to conduct the classification task. As will be described in Section 4.2, there are two experiments. The first is feature extraction analysis and the second experiment involves a test dataset. Therefore, the parameter settings for SVM are shown in Table 2.

4.2. Dataset

The dataset can be divided into three parts, i.e., training, validation, and testing. The training and validation datasets are used in the experiment for feature extraction analysis, i.e., statistical features and the MFCC and PLP coefficients with 23,356 data points. These datasets contain various road conditions (i.e., paved, unpaved, rough, smooth, potholes, and bumps), different suspension systems (i.e., soft or hard), and different speeds (i.e., 20, 40, 60, or 80 km/h). Each paved and unpaved road consists of 11,678 data points.
On the other hand, the testing dataset is used to evaluate the proposed feature extraction methods considering the conditions mentioned above (this part will be described in Section 5). The testing datasets consists of 8908 data points where 6286 data points for paved and 2622 data points for the unpaved road. The distributions of data for both paved and unpaved road were unbalanced due to the experiment for potholes are exists only on the paved road.

4.3. Performance Evaluation

The model performance is evaluated according to the accuracy score defined as
A c c u r a c y = T P T P + F P + F N + T N
where TP is true positive, FP is false positive, FN is false negative, and TN is true negative. The datasets were divided into two classes: label 0 for paved road and label 1 for unpaved road.
To increase the significance of the results, the training and validation datasets were divided into ten subsets by k-fold cross-validation methods [24]. The results presented in Section 5 are the average values obtained by ten k-fold cross-validation data.

5. Experiments and Results

In this section, we present two experiments such as the evaluation of three different feature extraction methods, i.e., the statistical features and MFCC and PLP coefficients using training and validation dataset and the experiments using testing dataset. Both MFCC and PLP have been proposed in the speech recognition field. To adapt them to the road condition classification task, we used them with some modifications. The SVM model is applied as the classification model to compare the performance of each feature extraction method. Finally, we discuss the effectiveness of the modified MFCC and modified PLP, which we propose in this study, for the classification task in road monitoring.

5.1. The Experiment Using Training and Validation Dataset

5.1.1. Statistical Feature Extraction

Figure 3 shows the steps used for calculating statistical feature extraction. The filtered signals from the preprocessing step are then sampled into fixed-size sliding windows of 2 s with 20% overlaps. From the time domain signals, the data were also transformed into the frequency domain through a fast Fourier-transform (FFT). For each sample window, a vector of features, such as the mean, variance, standard deviation, mean absolute deviation, maximum, minimum, etc., are obtained for both the time and frequency domain [25].
A total of thirteen statistical methods were used to compute the features in both the time and frequency domains from accelerometer (x, y, z) and gyroscope (x, y, z) signals. Table 3 shows the list of computing statistical feature vectors. The extracted statistical features consist of a total of 130 feature vectors.
Commonly, some information from only the vertical axis of the accelerometer sensor is used in road condition monitoring. However, vibration will occur in all three axes. Therefore, we adopted in total the three axes of the accelerometer and gyroscope, and the performance was increased significantly once all axes were included, as shown in Figure 4. The main analysis for statistical feature extraction is the comparison of the time and frequency domain features. As shown in Figure 5, the best result was obtained from the time-frequency domain; however, the frequency-domain features obtained a lower result.

5.1.2. Mel Frequency Cepstral Coefficients (MFCCs)

The Mel Frequency Cepstral Coefficient (MFCC) is a feature widely used in automatic speech recognition. The MFCC technique concentrates resolution analysis at low frequencies [21]. The general workflow of MFCCs is shown in Figure 6.
There are six steps in computing MFCC coefficients. The first step is amplifying the high frequency on the signal by applying a pre-emphasis filter. San-Segundo et al. [21] described that the pre-emphasis step may be unnecessary because the frequency range in the inertial signal is smaller than the speech signal. This argument is strengthened by our experiments with and without pre-emphasis, as shown in Figure 7. The figure shows that there is an improvement in the accuracy score when removing the pre-emphasis step.
The next step is the application of a Hamming window to split the signal into the short-time scale in order to obtain a good approximation of the frequency spectrum when computing the fast Fourier transform (FFT). Furthermore, the frequency band energy from the FFT signal is computed by applying a mel filter bank (Equation (2)).
M e l ( f ) = 2595 * log ( 1 + f 700 )
The next step is the energy band logarithm which is used to compute the logarithm of the frequency band energy. An experiment was also done to confirm the efficiency of this step, as shown in Figure 8. The figure shows that the performance increases when removing this step.
The next step is computing Discrete Cosine Transform (DCT) to compress the frequency information. To determine the number of MFCC coefficients, an additional experiment was carried out. Figure 9 shows that there is a decrease in performance after the coefficient of 10. Therefore, in this study, 10 MFCC coefficients are chosen as the best alternative.
The next analysis involves adding the energy of the framed signal (Equation (3)). The performance was increased significantly when adding energy of framed signals, as shown in Figure 10.
E n e r g y = i = 1 n ( x i ) 2
The final analysis for MFCC feature extraction is the adding of the deltas ( Δ ) and delta–deltas ( Δ Δ ) coefficients. The performance of a speech recognition system can be greatly enhanced by adding time derivatives to the basic static parameters [21]. The deltas coefficient is also known as the differential and acceleration coefficient [26]. The signal derivatives provide information about the signal evolution [21]. The deltas coefficients are defined as follows
d t = n = 1 N n ( C t + n C t n ) 2 n = 1 N n 2
where ( d t ) is a deltas coefficient at time t in terms of the static coefficients C t + n to C t n . The typical value of the deltas window size ( N ) is 2. The same formula is applied to the deltas coefficients to obtain the acceleration coefficients [27]. In this experiment, we added the deltas and delta–deltas coefficient for the proposed MFCC coefficients, i.e., 10 features of MFCC and a feature for the energy. Figure 11 shows that there is almost no change when adding a deltas coefficient with 132 features. However, there was a significant increase in the accuracy score when adding delta–deltas coefficients with 198 features. Finally, the proposed steps of MFCC for paved and unpaved road classification are shown in Figure 12. From the original MFCC, we removed the pre-emphasis step; however, we added the energy of the framed signal and both deltas and delta–deltas coefficients to adapt the paved and unpaved road classification task.

5.1.3. Perceptual Linear Predictive (PLP)

Perceptual Linear Predictive (PLP) is a well-known frequency-based feature extraction method that is widely used in speech recognition. In the PLP technique, several well-known properties of hearing are simulated by practical engineering approximations, and the resulting auditory-like spectrum of speech is approximated by an autoregressive all-pole model [28]. The general workflow of PLP is shown in Figure 13. PLP consists of the following steps. (i) The application of the hamming window to split the signal into a short-time scale to obtain a good approximation of the frequency spectrum when computing the fast Fourier-transform (FFT). (ii) Frequency warp into the Bark scale to find the low frequency resolution (Equation (5)).
B a r k ( f ) = 13 arctan ( 0.00076 f ) + 3.5   arctan ( ( f 700 ) 2 )
(iii) The equal loudness curve is used to simulate the sensitivity of hearing about the 40 dB level [28]. This step is similar to the pre-emphasis step in MFCC. Based on the discussion of MFCC in the previous section, the pre-emphasis step may be unnecessary due to the frequency range in the inertial signal being smaller than that in the speech signal. Therefore, to prove this argument, an experiment is carried out by removing the equalization step, as shown in Figure 14. The figure shows that there is a slight improvement when removing the equalization step. Hence, this step is removed to reduce the computational time.
(iv) The next step is the intensity–loudness conversion. This step is an approximation to the power law of hearing by taking the power of 0.33 of the intensity [28,29]. This step is equivalent to the energy band logarithm in MFCC [21]. In the MFCC analysis, the result was decreased when removing the energy band logarithm. However, in contrast, in PLP computation, the result is increased when excluding the amplitude compression (Figure 15). (v) The last step prior to the PLP coefficients is application of an inverse discrete Fourier-transform (IDFT). (vi) The PLP coefficients are obtained by applying a linear predictive coding (LPC).
In PLP computation, it is known that a relative spectra (RASTA) filter can improve the recognizer performance [21,30]. The RASTA filter is applied to suppress slow and quick changes of the signal [30]. In this study, the RASTA filter was unable to improve the classification performance (Figure 16) due to the slow and fast changes in the signal being part of the anomalous pattern that needs to be taken into account, i.e., breaking event, potholes, and bumps (for further investigation of anomaly detection on the classified paved roads).
Similar to MFCC, the next analysis involved defining the number of PLP coefficients. Figure 17 shows that there is a decrease in performance after the coefficient of 12. Therefore, a coefficient of 12 is defined as the best alternative. The energy of the framed signal was added based on the experience in the MFCC experiment.
The final analysis for PLP feature extraction is the addition of deltas and delta–deltas coefficients. When adding a single deltas coefficient, the performance was decreased; however, it was improved when adding a double deltas coefficient in the PLP computation (Figure 18). Finally, the proposed PLP computation for the smartphone inertial signal is shown in Figure 19. From the original PLP, we added the energy of the framed signal and delta–deltas coefficients; however, we removed the equal-loudness curve and amplitude compression to adapt the paved and unpaved road classification task.

5.2. The Experiment Using Test Dataset

To ensure that the use of advanced frequency-based feature extraction methods are useful in a road condition classification problem, i.e., paved and unpaved road, we tried to evaluate the proposed feature extraction methods using a test dataset, which considers various road conditions (i.e., paved, unpaved, smooth, rough, potholes, and bumps), different vehicle suspension system (i.e., soft or hard), and different vehicle speeds (i.e., 20, 40, 60, or 80 km/h). In addition, the test dataset was different from the training dataset. In this study, we have not compared the result based on the Smartphone sensor yet. On the other hand, we found that there are up to ~5% of errors on sensor values. We have not evaluated the influences of such errors on classification results yet. We are trying to find an automatic way to calibrate the sensor values using initial part of recording data.
The test dataset is divided into three parts, i.e., suspension, road condition, and speed. The first part is the suspension, which consists of hard and soft vehicle suspension systems. The second part is the road condition, which consists of several road conditions, i.e., potholes and bumps, the roughness of a paved road, and the smoothness of an unpaved road. The last part is the speed, which consists of different vehicle speeds on the same road segment, i.e., 20, 40, 60, or 80 km/h.
The overall result for the test dataset is shown in Table 4. The table shows that the use of advanced frequency-based features, i.e., MFCC and PLP, achieved a better result than the statistics-based features.
The following describes the results for the suspension, road condition, and speed.

5.2.1. Soft vs. Hard Suspension

To confirm the influence of vehicle suspension type on the classification result, we conducted experiments using several different vehicle suspension systems on the same road segment, i.e., soft and hard suspension. The difference between soft and hard suspension is the sensitivity in producing an amplitude response where the soft suspension produces a higher amplitude than the hard suspension. Table 5 shows that the use of soft suspension affects the performance of the classification due to the soft suspension producing a high amplitude even though the vehicle passes a roughly paved road. Therefore, the signal showed almost the same characteristics as the smooth unpaved road. Therefore, the soft suspension achieved a lower result than the hard suspension in all feature extraction methods. Nevertheless, the frequency-based features could significantly overcome the use of different suspension systems. As shown in Table 5, the frequency-based features, i.e., MFCC and PLP, obtained a better result than the statistical features, especially for the use of a soft suspension.

5.2.2. Pothole and Rough Paved vs. Smooth Unpaved

To differentiate a pothole, rough paved road, and smooth unpaved road, an experiment was conducted. The test dataset used in this experiment consisted of potholes, bumps, rough roads (paved) and smooth roads (unpaved). This experiment was conducted to ascertain how accurate the system was in distinguishing the condition of the roads mentioned earlier (for further investigation of pothole and bump detection, as well as roughness estimates). Table 6 shows that the statistical method achieves poor results compared to MFCC and PLP, especially for the pothole and rough road (paved). On the other hand, for the unpaved road, the three methods produce very good results.

5.2.3. Different Vehicle Speed

In a road segment of both paved and unpaved roads, four different vehicle speeds were conducted: 20, 40, 60, or 80 km/h. Table 7 shows that the statistical method is less accurate for paved when compared to the MFCC and PLP methods. In contrast, on the unpaved road type, all methods achieve a good result.

5.3. Results of Visualization

As discussed earlier, the results of classification can be visualized based on a map. Figure 20 shows a geographical visualization of our result on a map provided by Google Maps. Each point represents an aggregation of classification results, where the green points represent paved road and red points represent the unpaved road. As shown in Figure 20a,b, there is misclassification in both the paved and unpaved road sections.

6. Discussion

Based on this series of analysis using training and validation datasets, we concluded that both MFCC and PLP coefficients are very effective in the feature extraction step for the task of classifying paved and unpaved roads with improved accuracy, compared to statistical feature extraction. Basically, both MFCC and PLP were designed for speech recognition; however, these methods have also been used in other research areas, such as human activity recognition (HAR) [19,20,21] and environmental sound recognition [31]. Inspired by the workflow analysis for both MFCC and PLP described in the article [21], we propose a final computation procedure for paved and unpaved road classification, as shown in Figure 12 (MFCC) and Figure 19 (PLP). In the analysis, the pre-emphasis signal was eliminated due to the frequency range in the inertial signal being smaller than that in the speech signal. As a result, there were improvements in performance observed when removing the pre-emphasis step in both MFCC and PLP computation (Figure 7 and Figure 14). Taking the logarithm of mel filter bank in MFCC computation produces large variations in energy; therefore, removing the energy band logarithm step provokes a decrease in performance (Figure 8), hence this step is maintained. Contrarily, removing a cube root of the bark filter bank in PLP computation provides a small improvement due to the energy variations being not much different (Figure 15); hence, this step is removed. One of the advantages of MFCC and PLP is the delta coefficients. Our analysis proved that adding a delta–deltas coefficient can improve performance (Figure 11 and Figure 18). In addition to the deltas coefficient, a RASTA filter is also believed to be able to improve performance significantly, as evidenced in the article [21]. The RASTA is a filter that will suppress slow and quick changes of a signal. However, in this study, it was shown that applying the RASTA filter showed a decrease in performance (Figure 16) due to fast and slow changes in the signals being also taken into account, i.e., high speed when passing through potholes or bumps. In addition, the MFCC and PLP are effectively implemented in road condition classification due to both techniques efficiently compress the frequency information. In the next section, only the proposed computation for Statistical, MFCC, and PLP will be used in the experiments over test dataset.
On the other hand, the experiments over test datasets, it can be concluded that there is a significant influence on the use of suspension types (i.e., hard and soft). The result shows that in the classification for the unpaved road, all three methods achieved a better result rather than classification for the paved road. This result is due to the vehicle with soft suspension producing high amplitude when passing through a rough section of paved road. This signal has similar characteristics to the unpaved road signal. Nevertheless, the MFCC and PLP methods achieved better results compared to the statistical method in all experiments.
It is important to note that the frequency-based features, i.e., MFCC and PLP, worked well in this task due to the following aspects; the first aspect is the energy concentration in the lower frequency range. The frequency ranges for speech and inertial signals are different; however, the energy of both signals is concentrated in the lower frequency range [21]. The analysis was done by applying the warping schema, i.e., mel and Bark scale. The second aspect is a cepstral analysis, which is used to extract the important pattern [21]. The last aspect is taking the energy of the frame.

7. Conclusions

This work was conducted to improve the accuracy of paved and unpaved road classification by making a detailed investigation of the feature extraction method. Signals were extracted from the acceleration and gyroscope sensors in a common smartphone. In this study, data collection was conducted on the East Timor road network, which consists of different road conditions, i.e., smooth, rough, potholes, and bumps, on a paved road and an unpaved road. The data collection involved four different vehicles, i.e., Toyota Land Cruiser Prado, Mitsubishi Pajero, Toyota Hi-Lux, and Daihatsu Xenia, as well as different smartphone devices, i.e., Samsung Galaxy S8, Samsung Galaxy A5, and Asus ZenFone.
To improve the performance of classification, this study proposes a well-known frequency-based feature extraction, i.e., MFCC and PLP coefficients, which are commonly used in speech signal processing. For a final proposal of both MFCC and PLP computations, several experiments are conducted. In the analysis, some steps are discarded, i.e., pre-emphasis of MFCC and equal-loudness curve and amplitude compression of PLP. On the other hand, the energy of the framed signal was added to the computation. The performance was significantly improved when adding delta–deltas coefficients to the computation step for both MFCC and PLP.
Other experiments are also conducted for the road conditions. In the experiments, the test dataset was divided into three parts, i.e., road, suspension, and speed. The experimental results concluded that there was a significant influence on the use of suspension type and vehicle speed for the road surface conditions monitoring. In particular, the statistics-based method achieved poor results compared to the MFCC and PLP method. Finally, based on all experiments either using validation or test datasets, one can conclude that the use of frequency-based features overcomes the performance of statistics-based features.
Our future work will focus on pothole and bump detection, pothole size estimation, and roughness estimation for both paved and unpaved roads based on roughness indices.

Author Contributions

H.F. conceptualized and designed the study; H.F. and F.S.C. have contributed to data collection; F.S.C. developed the software for data acquisition and performed the data analysis with the supervision of H.F. and S.T.; All authors contributed to the methodology; F.S.C. wrote the manuscript with support from H.F.; All authors approved the final version of the manuscript.

Funding

This research received no external funding.

Acknowledgments

This work is conducted in collaboration of the Faculty of Engineering, Science and Technology (FoEST) of the National University of Timor Lorosa’e (UNTL) and the Faculty of Engineering of Gifu University of Japan, supported by the Project for Capacity Development of Faculty of Engineering, Science and Technology, The National University of Timor Lorosa’e (UNTL) Phase 2 (CADEFEST2) of the Japan International Cooperation Agency (JICA). The authors would like to thank Mateus Pinto, Carlito Pinto, and Fernão Mouzinho for contributions to data collection.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Timor-Leste Strategic Plan 2011–2030. Available online: http://timor-leste.gov.tl/wp-content/uploads/2011/07/Timor-Leste-Strategic-Plan-2011-20301.pdf (accessed on 11 December 2018).
  2. Building a Sustainable Rural Road Network in Timor-Leste. Available online: https://dfat.gov.au/about-us/publications/Documents/roads-for-development-ilo-ausaid-concept-note.pdf (accessed on 11 December 2018).
  3. Roads for Development (R4D). Available online: https://dfat.gov.au/about-us/publications/Documents/roads-for-development-project-document.pdf (accessed on 11 December 2018).
  4. Beyond the Surface. Available online: http://www.roadscanners.com (accessed on 11 December 2018).
  5. The Statistics Portal. Available online: https://www.statista.com (accessed on 11 December 2018).
  6. Quarterly Statistical Indicators. Available online: http://www.statistics.gov.tl/category/surveyindicators/quarterly-statistical-indicators (accessed on 11 December 2018).
  7. Cabral, F.S.; Pinto, M.; Mouzinho, F.A.; Fukai, H.; Tamura, S. An Automatic Survey System for Paved and Unpaved Road Classification and Road Anomaly Detection using Smartphone Sensor. In Proceedings of the 2018 IEEE International Conference on Service Operations and Logistics, and Informatics (SOLI), Singapore, 31 July–2 August 2018; IEEE: Piscataway, NJ, USA, 2018; pp. 65–70. [Google Scholar]
  8. Eriksson, J.; Girod, L.; Hull, B.; Newton, R.; Madden, S.; Balakrishnan, H. The pothole patrol: Using a mobile sensor network for road surface monitoring. In Proceedings of the 6th International Conference on Mobile Systems, Applications, and Services, Breckenridge, CO, USA, 17–20 June 2008; ACM: New York, NY, USA, 2008; pp. 29–39. [Google Scholar]
  9. Mohan, P.; Padmanabhan, V.N.; Ramjee, R. Nericell: Rich monitoring of road and traffic conditions using mobile smartphones. In Proceedings of the 6th ACM Conference on Embedded Network Sensor Systems, Raleigh, NC, USA, 5–7 November 2008; ACM: New York, NY, USA, 2008; pp. 323–336. [Google Scholar]
  10. Tai, Y.; Chan, C.; Hsu, J.Y. Automatic road anomaly detection using smart mobile device. In Proceedings of the Conference on Technologies and Applications of Artificial Intelligence, Hsinchu, Taiwan, 18–20 November 2010. [Google Scholar]
  11. Seraj, F.; van der Zwaag, B.J.; Dilo, A.; Luarasi, T.; Havinga, P. RoADS: A road pavement monitoring system for anomaly detection using smart phones. In Big Data Analytics in the Social and Ubiquitous Context; Springer: Cham, Switzerland, 2014; pp. 128–146. [Google Scholar]
  12. Bhoraskar, R.; Vankadhara, N.; Raman, B.; Kulkarni, P. Wolverine: Traffic and road condition estimation using smartphone sensors. In Proceedings of the 4th International Conference on Communication Systems and Networks (COMSNETS 2012), Bangalore, India, 3–7 January 2012; IEEE: Piscataway, NJ, USA, 2012; pp. 1–6. [Google Scholar]
  13. Tomiyama, K.; Kawamura, A.; Nakajima, S.; Ishida, T.; Jomoto, M. A mobile profilometer for road surface monitoring by use of accelerometers. In Proceedings of the 7th Symposiumon Pavement Surface Characteristics: SURF 2012, Norfolk, VA, USA, 19–22 September 2012. [Google Scholar]
  14. Alessandroni, G.; Klopfenstein, L.; Delpriori, S.; Dromedari, M.; Luchetti, G.; Paolini, B.; Seraghiti, A.; Lattanzi, E.; Freschi, V.; Carini, A.; et al. Smartroadsense: Collaborative road surface condition monitoring. In Proceedings of the UBICOMM 2014 Eighth International Conference on Mobile Ubiquitous Computing, Systems, Services and Technologies, Rome, Italy, 24–28 August 2014; pp. 210–215. [Google Scholar]
  15. Masino, J.; Thumm, J.; Frey, M.; Gauterin, F. Learning from the crowd: Road infrastructure monitoring system. J. Traffic Transp. Eng. 2017, 4, 451–463. [Google Scholar] [CrossRef]
  16. Kumar, R.; Mukherjee, A.; Singh, V. Community sensor network for monitoring road roughness using smartphones. J. Comput. Civ. Eng. 2016, 31, 04016059. [Google Scholar] [CrossRef]
  17. Singh, G.; Bansal, D.; Sofat, S.; Aggarwal, N. Smart patrolling: An efficient road surface monitoring using smartphone sensors and crowdsourcing. Pervasive Mob. Comput. 2017, 40, 71–88. [Google Scholar] [CrossRef]
  18. Cvetkovic, D.; Übeyli, E.D.; Cosic, I. Wavelet transform feature extraction from human PPG, ECG, and EEG signal responses to ELF PEMF exposures: A pilot study. Digit. Signal Process. 2008, 18, 861–874. [Google Scholar] [CrossRef]
  19. Takeuchi, S.; Tamura, S.; Hayamizu, S. Human action recognition using acceleration information based on hidden markov model. In Proceedings of the APSIPA ASC 2009: Asia-Pacific Signal and Information Processing Association, Sapporo, Japan, 4–7 October 2009; pp. 829–832. [Google Scholar]
  20. Nickel, C.; Busch, C. Classifying accelerometer data via hidden markov models to authenticate people by the way they walk. IEEE Aerosp. Electron. Syst. Mag. 2013, 28, 29–35. [Google Scholar] [CrossRef]
  21. San-Segundo, R.; Montero, J.M.; Barra-Chicote, R.; Fernández, F.; Pardo, J.M. Feature extraction from smartphone inertial signals for human activity segmentation. Signal Process. 2016, 120, 359–372. [Google Scholar] [CrossRef]
  22. Li, X.; Goldberg, D.W. Toward a mobile crowdsensing system for road surface assessment. Comput. Environ. Urban Syst. 2018, 69, 51–62. [Google Scholar] [CrossRef]
  23. Sayers, M.W.; Karamihas, S.M. The Little Book of Profiling; University of Michigan: Ann Arbor, MI, USA, 1998; p. 705. [Google Scholar]
  24. Pedregosa, F.; Varoquaux, G.; Gramfort, A.; Michel, V.; Thirion, B.; Grisel, O.; Blondel, M.; Prettenhofer, P.; Weiss, R.; Dubourg, V.; et al. Scikit-learn: Machine Learning in Python. J. Mach. Learn. Res. 2011, 12, 2825–2830. [Google Scholar]
  25. Anguita, D.; Ghio, A.; Oneto, L.; Parra, X.; Reyes-Ortiz, J.L. A public domain dataset for human activity recognition using smartphones. In Proceedings of the European Symposium on Artificial Neural Networks (ESANN), Computational Intelligence and Machine Learning, Bruges, Belgium, 24–26 April 2013. [Google Scholar]
  26. Lyons, J. Mel Frequency Cepstral Coefficient (MFCC) Tutorial. Available online: http://practicalcryptography.com/miscellaneous/machine-learning/guide-mel-frequency-cepstral-coefficients-mfccs/ (accessed on 1 October 2018).
  27. Young, S.; Evermann, G.; Gales, M.; Hain, T.; Kershaw, D.; Liu, X.; Moore, G.; Odell, J.; Ollason, D.; Povey, D.; et al. The HTK book. Camb. Univ. Eng. Dep. 2002, 3, 175. [Google Scholar]
  28. Hermansky, H. Perceptual linear predictive (PLP) analysis of speech. J. Acoust. Soc. Am. 1990, 87, 1738–1752. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  29. Hönig, F.; Stemmer, G.; Hacker, C.; Brugnara, F. Revising perceptual linear prediction (PLP). In Proceedings of the Ninth European Conference on Speech Communication and Technology, Lisbon, Portugal, 4–8 September 2005. [Google Scholar]
  30. Hermansky, H.; Morgan, N. RASTA processing of speech. IEEE Trans. Speech Audio Process. 1994, 2, 578–589. [Google Scholar] [CrossRef]
  31. Chu, S.; Narayanan, S.; Kuo, C.C.J. Environmetal sound recognition with time-frequency audio features. IEEE Trans. Audiospeechand Lang. Process. 2009, 17, 1142–1158. [Google Scholar] [CrossRef]
Figure 1. Overall system architecture for paved and unpaved road classification.
Figure 1. Overall system architecture for paved and unpaved road classification.
Sensors 19 03481 g001
Figure 2. The map visualization process.
Figure 2. The map visualization process.
Sensors 19 03481 g002
Figure 3. An architecture for statistical feature extraction.
Figure 3. An architecture for statistical feature extraction.
Sensors 19 03481 g003
Figure 4. Comparison of inertial sensor and axis.
Figure 4. Comparison of inertial sensor and axis.
Sensors 19 03481 g004
Figure 5. Comparison of statistical feature extraction.
Figure 5. Comparison of statistical feature extraction.
Sensors 19 03481 g005
Figure 6. The general Mel Frequency Cepstral Coefficient (MFCC) computation steps.
Figure 6. The general Mel Frequency Cepstral Coefficient (MFCC) computation steps.
Sensors 19 03481 g006
Figure 7. Accuracy score based on pre-emphasis.
Figure 7. Accuracy score based on pre-emphasis.
Sensors 19 03481 g007
Figure 8. A comparison when removing the energy band logarithm.
Figure 8. A comparison when removing the energy band logarithm.
Sensors 19 03481 g008
Figure 9. A comparison of the number of MFCC coefficients.
Figure 9. A comparison of the number of MFCC coefficients.
Sensors 19 03481 g009
Figure 10. A comparison when removing the energy framed signals.
Figure 10. A comparison when removing the energy framed signals.
Sensors 19 03481 g010
Figure 11. Accuracy score based on MFCC with deltas coefficient.
Figure 11. Accuracy score based on MFCC with deltas coefficient.
Sensors 19 03481 g011
Figure 12. A proposed step for MFCC feature extraction.
Figure 12. A proposed step for MFCC feature extraction.
Sensors 19 03481 g012
Figure 13. The general Perceptual Linear Predictive (PLP) computation steps.
Figure 13. The general Perceptual Linear Predictive (PLP) computation steps.
Sensors 19 03481 g013
Figure 14. A comparison when removing the equalization in PLP computation.
Figure 14. A comparison when removing the equalization in PLP computation.
Sensors 19 03481 g014
Figure 15. A comparison when removing the compression in PLP computation.
Figure 15. A comparison when removing the compression in PLP computation.
Sensors 19 03481 g015
Figure 16. A comparison of the added RASTA filter.
Figure 16. A comparison of the added RASTA filter.
Sensors 19 03481 g016
Figure 17. A comparison of the number of PLP coefficients.
Figure 17. A comparison of the number of PLP coefficients.
Sensors 19 03481 g017
Figure 18. Accuracy score based on PLP with deltas coefficient.
Figure 18. Accuracy score based on PLP with deltas coefficient.
Sensors 19 03481 g018
Figure 19. A proposed step for PLP feature extraction.
Figure 19. A proposed step for PLP feature extraction.
Sensors 19 03481 g019
Figure 20. Result of maps visualization: (a) paved roads and (b) unpaved roads.
Figure 20. Result of maps visualization: (a) paved roads and (b) unpaved roads.
Sensors 19 03481 g020
Table 1. Previous research on smartphone base in road surface monitoring.
Table 1. Previous research on smartphone base in road surface monitoring.
ReferencesApplicationsSensorsFeaturesMethods
Tai et al. [10]Anomaly detectionAccelerometer & GPS Mean, standard deviation, accelerometer range, maximum, minimum, and mean speed SVM
Bhoraskar et al. [12]Traffic and road condition estimationAccelerometer & GPS Mean, standard deviation, and difference metric K-means and SVM
Tomiyama et al. [13]Road roughness estimation Accelerometer & GPS Velocity and slope profile International Roughness Index (IRI)
Seraj et al. [11]Anomaly detectionAccelerometer, gyroscope & GPS1. Time domain (mean, standard deviation, variance, peak to peak, root mean square, zero crossing rate, mean of absolute value, correlation of all axis, tilt angles, wave form length and signal magnitude area)SVM
2. Frequency domain (mean, median, and energy).
3. Wavelet transform
Masino et al.Road damages detection Accelerometer, gyroscope & GPS Wavelets transform, distance between trajectories, and PCA SVM
Kumar et al. [16]Road roughness monitoring Accelerometer & GPSMean of absolute value Fuzzy classifier
Singh et al. [17]Road surface monitoring Accelerometer & GPS Speed and distance matrix DTW
Cabral et al. [7]Paved and unpaved road classification and anomaly detectionAccelerometer, gyroscope & GPS Mean, standard deviation, variance, mean absolute deviation, maximum, minimum, root mean square, signal magnitude area, interquartile range, correlation coefficients of axis, energy, entropy, and skewness SVM, HMM, ResNet, k-NN & DTW
Table 2. Parameters setting for the support vector machine (SVM) model.
Table 2. Parameters setting for the support vector machine (SVM) model.
Features Extraction MethodParameters
KernelCGamma
Exp. 1 & 2Exp. 1Exp. 2Exp. 1Exp. 2
StatisticalRadial Basis Function10050.0010.0001
MFCC + Δ + Δ Δ 500.00001
PLP + Δ + Δ Δ 1000.0001
Table 3. List of computing feature vector for statistical method.
Table 3. List of computing feature vector for statistical method.
FeaturesTime DomainFrequency DomainTime-Frequency Domain
Mean6612
Variance6612
Standard Deviation6612
Mean absolute deviation6612
Maximum6612
Minimum6612
Root mean square6612
Signal magnitude area224
Interquartile range6612
Correlation coefficient606
Energy066
Entropy6612
Skewness066
Table 4. An overall result of test dataset.
Table 4. An overall result of test dataset.
Features ExtractionNumber of FeaturesModel Accuracy (%)
Statistical13086.23
MFCC + Δ + Δ Δ 19898.07
PLP + Δ + Δ Δ 25296.80
Table 5. Results from different suspension systems.
Table 5. Results from different suspension systems.
Features ExtractionNumber of FeaturesModel Accuracy (%)
SoftHard
Statistical13081.6797.53
MFCC + Δ + Δ Δ 19897.9699.57
PLP + Δ + Δ Δ 25296.9299.32
Table 6. Results from different road conditions.
Table 6. Results from different road conditions.
Features ExtractionNumber of FeaturesModel Accuracy (%)
Pothole 1Rough 1Smooth 2
Statistical13055.2888.4488.88
MFCC + Δ + Δ Δ 19896.5798.8296.38
PLP + Δ + Δ Δ 25285.6897.6697.55
1 Paved, 2 Unpaved.
Table 7. Results from different vehicle speeds.
Table 7. Results from different vehicle speeds.
Features ExtractionNumber of FeaturesModel Accuracy (%)
PavedUnpaved
Statistical13085.4399.69
MFCC + Δ + Δ Δ 19898.8898.71
PLP + Δ + Δ Δ 25299.6199.06

Share and Cite

MDPI and ACS Style

Cabral, F.S.; Fukai, H.; Tamura, S. Feature Extraction Methods Proposed for Speech Recognition Are Effective on Road Condition Monitoring Using Smartphone Inertial Sensors. Sensors 2019, 19, 3481. https://doi.org/10.3390/s19163481

AMA Style

Cabral FS, Fukai H, Tamura S. Feature Extraction Methods Proposed for Speech Recognition Are Effective on Road Condition Monitoring Using Smartphone Inertial Sensors. Sensors. 2019; 19(16):3481. https://doi.org/10.3390/s19163481

Chicago/Turabian Style

Cabral, Frederico Soares, Hidekazu Fukai, and Satoshi Tamura. 2019. "Feature Extraction Methods Proposed for Speech Recognition Are Effective on Road Condition Monitoring Using Smartphone Inertial Sensors" Sensors 19, no. 16: 3481. https://doi.org/10.3390/s19163481

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop