Next Article in Journal
A Truck-Borne System Based on Cold Atom Gravimeter for Measuring the Absolute Gravity in the Field
Previous Article in Journal
Vibration Prediction of the Robotic Arm Based on Elastic Joint Dynamics Modeling
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Combined Feature Extraction and Random Forest for Laser Self-Mixing Vibration Measurement without Determining Feedback Intensity

School of Electrical Information Engineering, Northeast Petroleum University, Daqing 163318, China
*
Author to whom correspondence should be addressed.
Sensors 2022, 22(16), 6171; https://doi.org/10.3390/s22166171
Submission received: 22 July 2022 / Revised: 11 August 2022 / Accepted: 14 August 2022 / Published: 18 August 2022
(This article belongs to the Section Optical Sensors)

Abstract

:
To measure the vibration of a target by laser self-mixing interference (SMI), we propose a method that combines feature extraction and random forest (RF) without determining the feedback strength (C). First, the temporal, spectral, and statistical features of the SMI signal are extracted to characterize the original SMI signal. Secondly, these interpretable features are fed into the pretrained RF model to directly predict the amplitude and frequency (A and f) of the vibrating target, recovering the periodic vibration of the target. The results show that the combination of RF and feature extraction yields a fit of more than 0.94 for simple and quick measurement of A and f of unsmooth planar vibrations, regardless of the feedback intensity and the misalignment of the retromirror. Without a complex optical stage, this method can quickly recover arbitrary periodic vibrations from SMI signals without C, which provides a novel method for quickly implementing vibration measurements.

1. Introduction

The laser self-mixing interference (SMI) technique [1,2,3] is an important and advanced method for ultra-precision measurements. Many interesting and important fields are inseparable from it, such as human ECG signal detection [4]; spectrum measurement [5,6]; and the measurement of phase, displacement, and vibration [1,7,8,9]. Because the SMI signal can reliably reflect the microvibration of an object, by analyzing the continuous SMI signal, the amplitude and frequency (A and f) of the microvibration of an object can be obtained.
In the field of microvibration measurements, it is important to recover information regarding the vibration of the target [8,10]. Phase expansion and modulation methods are often introduced into SMI vibration measurements. A simplified phase modulation and demodulation scheme was used to convert the vibration of the target into phase information, which improved the resolution of SMI non-contact measurements [11,12]. After determining C, Saqib Amin et al. proposed a method for power spectrum analysis of the SMI signal. They simplified the optics and efficiently measured the raw vibrations under various feedback mechanisms [13]. However, all of the above methods call for the demodulation of the real-time phase of the SMI in advance, and the linewidth enhancement factor ( α ) and feedback strength must be calculated. Wang et al. used phase deconvolution to determine the value of C and reconstructed the amplitude of a target under quadratic feedback [14,15]. Zhang et al. used multiple feedback techniques in SMI to improve the resolution and accuracy of displacement reconstruction [16]. However, these methods require complex experimental setup. In addition, Huang et al. used the FFT to expand the spectrum of the SMI signal into a Bessel function to determine the parameters of the vibrating target in sinusoidal form based on the order of the primary harmonics [17]. However, this method, based on FFT, requires a complex analysis of the spectrum of the SMI signal each time and various linear estimates of parameters, such as the main harmonic order.
In recent years, artificial intelligence techniques have been used to process SMI signals [18]. Imran Ahmed et al. used a generative adversarial network (GAN) to enhance the SMI signal corrupted by various noises. They performed noise removal and waveform enhancement of SMI signals under different noise conditions [19,20]. Kou et al. used an artificial neural network (ANN) for the discrimination of stripe tilt direction after detecting the number of stripes [21]. However, the number of stripes identified using this method was limited. Barland et al. built an SMI displacement dataset using periodic vibration signals and performed displacement reconstruction using a CNN [22]. However, this method requires a complex neural network structure, and the tuning of hyperparameters is time-consuming. The methods mentioned above also need to be analyzed when C and α are known. For time-series analysis [18], many applications using random forest (RF) for forecasting have also been included [23,24]. Time series analysis based on short time windows also facilitates subsequent model building. For example, Daqing Wu and Chenxiang Wu designed a method to calculate the traveling time of vehicles on roads across time periods [25]. They used various optimization objectives by considering the time windows of various parameters that change within a time window. In addition, feature extraction has been specifically applied in image classification algorithms. Huayue Chen et al. performed local feature extraction and used an extreme learning machine model to classify various spectral images [26]. Although classification algorithms for 2D images tend to be mature, feature extraction can also be applied to 1D SMI signals. Typically, this is a time-consuming and complex task. For example, Wang et al. extracted the features of a pulse waveform based on the reconstruction of the waveform by combining the inversion points of the SMI signal [27]. In contrast to the aforementioned time-consuming methods of feature extraction, we refer to the feature extraction algorithm (TSFEL) developed by Barandas et al. to extract features practically and quickly from the SMI signal [28,29], avoiding various nonlinear parameter estimations, simplifying the analysis of SMI signal without C, and directly extracting features of SMI signals to facilitate the construction of a regression model that can quickly measure the value of the target.
In this study, we propose a method that combines feature extraction and random forest for vibration measurements in SMI. We extracted 367 features with strong interpretation from the original SMI signal and normalized these features into a 0–1 interval as a one-dimensional vector fed into the RF model. With the optimal depth and number of nodes assigned to the decision tree, this feature vector is fed into the pretrained RF to predict A and f of the vibrating signal. The algorithm departs from the traditional idea of vibration measurement by SMI and recovers the original vibration directly from the SMI signal without determining C in advance or estimating other complex parameters.
The contributions of this study can be summarized as follows:
(1).
The proposed algorithm for vibration measurement by laser SMI does not require determination of the value of feedback intensity or estimation of the various parameters;
(2).
The feature extraction technique for SMI signals reduces the dimensionality of the signal and improves the universality of vibration measurements without involving complex calculations and analysis; and
(3).
Based on a large SMI dataset, the machine learning technique used in laser SMI with random forest makes the predicted amplitude and frequency of vibration coincide almost perfectly with the real vibration.

2. Theory of Laser SMI

The light output from the laser diode (LD) is reflected when it hits an external vibration. This part of the feedback light carrying information about the external object is returned to the resonant cavity of the laser, which then interferes with the laser inside the cavity, thereby modulating the output characteristics of the laser and thus generating the SMI signal. The circuit that forms the SMI is illustrated in Figure 1.
Combining the Lang-Kobayashi equation [30,31] and other theories [1,32,33], the phase and output power equations of SMI are expressed as follows:
ϕ 0 t = ϕ F t + C sin ϕ F t + tan 1 α
P F t = P 0 1 + m cos ϕ F t
The power ( P F t ) of the SMI is related to the phase of the feedback light, and P 0 denotes laser power without feedback. In SMI, C is defined as:
C = τ e x t τ t k e x t 1 + α 2
where τ t is the round-trip time for light in the laser cavity; k e x t is the coupling coefficient that depends on the reflectivity of the exit laser facet and the reflectivity of the target; τ e x t is the round-trip time for light in the external laser cavity formed by the remote vibrating target; L t is the length of the outer cavity, which varies with the vibrating target; and ϕ F t and ϕ 0 t represent the phases with and without light feedback, respectively. In Equations (4) and (5), ϕ 0 t and ϕ F t change linearly as L t periodically varies, where λ 0 is the initial optical wavelength, and λ F is the perturbed laser wavelength.
ϕ 0 t = 2 π 2 L t λ 0
ϕ F t = 2 π 2 L t λ F
In Equation (1), the value of C is changed by continuously adjusting the reflectivity and the position of the object relative to the light source. The SMI is in a strong feedback state during C 4.6 , where the stripes are jagged, and hysteresis occurs. During 1 < C < 4.6 , the SMI is in a medium-feedback state. During 0 < C 1 , the SMI operates in a weak feedback state, and the SMI signal is almost sinusoidal [11,34]. Without the addition of optical components, we studied the SMI signal in the weak-feedback state.
At 0 < C 1 , assuming that the amplitude of the periodic vibration signal is A and the frequency is f, the distance between LD and the target is denoted as:
L t = L 0 + A cos 2 π f t
where L 0 is the initial distance between LD and the moving object. Once C is determined, the phase equation of SMI is established. Thus, the real-time phase ( ϕ 0 t and ϕ F t ) of the SMI can be determined by combining Equations (1) and (2). Equation (4) shows that L t is determined in accordance with ϕ 0 t . However, according to Equations (1), (3) and (4), C constantly changes in the actual optical path, and different feedback intensities can affect the real-time phase of the SMI. In addition, because of the continuity of A and f, the number of stripes in a cycle in the SMI signal is not necessarily an integer multiple of the half wavelength, resulting in instability in vibration measurement. Therefore, we used RF to quickly determine A and f of the vibrating target without adding optical instruments and considering the value of C.

3. Methods of Study

3.1. Feature Extraction of SMI Signal

As shown in Figure 2, we combined the physical characteristics of SMI [1] and time-frequency analysis to downscale the SMI signal and extracted 367 features from the temporal, spectral, and statistical domains as inputs to the RF.
First, in the temporal SMI waveform, the difference in the vibrating direction led to a left–right flip in the tilt direction of the stripe. This variation can be characterized in terms of temporal tilt, skewness, and kurtosis in statistics. From the perspective of the energy analysis and symmetry of the SMI signal, we also extracted other rich temporal features and statistical characteristics. Secondly, although C does not need to be calculated, the spectrum of the SMI signal after the Fourier transform reflects some details of the vibration waveform. This spectrum is concentrated in an interval that not only contains the phase variation of SMI but also accommodates many valid and interesting features for analysis of SMI signals, such as the power bandwidth, spectral centroid, and entropy. Combined with the time-frequency analysis, we also observe undulating changes in frequency in different Fourier short-time windows, where the darker part corresponds to the main component of spectrum in temporal. These features can also be extracted as input to the RF. In addition, some features do not have a single coefficient, and multiple values exist, which are more interpretable in a physical sense than the original SMI signal. Without performing complex signal analysis and parameter estimation on the SMI signal, the extracted features are detailed in Table 1 [28,29]. Where s represents SMI signal and the length of SMI signal is L; Δ s is equal to s 1 s 0 , s 2 s 1 , s L 1 s L 2 .

3.2. Vibration Measurement Algorithm Based on Random Forest

Dimensionality reduction of the SMI signal by feature extraction improves the efficiency of model training and the accuracy of actual vibration measurements. Therefore, we propose an algorithm to accurately measure the amplitude and frequency of microvibrations with RF, as shown in Figure 3.
On the left half of Figure 3, we randomly selected a frame of the SMI signal for feature extraction. Inevitably, the values of the extracted features were not at the same quantization level. Features with smaller quantization units increase the dependence of the model on the unit of measurement. To avoid over-reliance on the unit of measurement and improve the convergence speed of the algorithm, all features must be normalized. We normalized the features of the extracted SMI signals in the interval [0, 1] without any pre-estimation of intermediate parameters and calculating the feedback intensity and linewidth factor, which improves the computational efficiency of the algorithm. The law of normalization is as follows:
x i , j = x i , j min j max j min j , i = 1 , 2 , , N , j = 0 , 1 , , 366
where x i , j is the value of the jth feature; max j and min j are the maximum and minimum values of the jth feature over N training samples, respectively; and x i , j is a value that falls within the interval [0, 1] after normalization. After normalization, these features were converted into a one-dimensional vector, which became the input of the RF model.
The RF regressor combines multiple decision trees by integration, sums the predictions of each tree, and averages them to obtain the best predictions of A and f of the vibrating target [35,36]. In addition, the robustness and stability of the RF were not destroyed by dynamic changes in C. The random forest integrates multiple classification and regressor trees (CART) with weak learning ability to form a powerful network to measure the A and f of the target vibration. The algorithm for the RF regression is shown on the right-hand side of Figure 3.
In the original SMI dataset, there are N samples, each of which is a feature vector of length M. K decision trees are constructed based on random sampling with put-back several times, and K new SMI sample sets are obtained. From a = 1 to a = K , we repeated the following steps to train the ath decision tree:
(i)
When splitting the nodes of each decision tree, some features are intercepted from the subvectors of the SMI feature vector on the nodes. Furthermore, the number of features selected for each node must not exceed the value of Max_feature;
(ii)
Select an optimal subset of features to continue training, split the nodes into sub-nodes, and select the nodes with the best split points.
(iii)
Once the number of layers of a node reaches its Max_depth, the splitting stops.
In this manner, the K decision tree was trained. To predict A and f from the SMI signal, a one-dimensional SMI feature vector was fed into each decision tree for regression. The mean value of the prediction of each decision tree was considered as final measurement of A and f of the original periodic vibration recovered from the SMI signal. Disregarding the effects of the magnitudes of A and f, we used R 2 _ s c o r e to observe the predictive effect of the model [37,38,39,40]. R 2 _ s c o r e was calculated as follows:
R 2 _ s c o r e = 1 i = 0 N 1 y i A , f , y ^ i A , f 2 i = 0 N 1 y i A , f , y ¯ i A , f 2
where y i A , f and y ^ i A , f are the true and predicted values, respectively, corresponding to the SMI feature vector, X = x i 0 , x i 1 , , x i N 1 , for the ith input in the prediction of N samples. The mean of the true labels of N samples was y ¯ i A , f .

3.3. Validation Analysis Based on Simulation Dataset

Combining Equations (1)–(4) and the simulation code of SMI summarized in [1,32], we simulated and tested the RF using Python3.6, setting the wavelength ( λ ) of the laser to 650 nm.
Without considering the dynamics of C, we extracted the features of SMI signals directly from the temporal, statistical, and spectral domains to form a large set of SMI simulation data. In this way, we obtained 48,000 samples in the range of 0~100 Hz for f and 0~2 µm for A. For each SMI signal, we used 1200 sampling points as a window for flexible feature extraction using TSFEL to obtain 367 features corresponding to the amplitude and frequency of the original vibrating signal.
As shown in Figure 4, the extracted feature vectors were normalized. The distribution of the features indicated that the spectral features strongly contributed to the measurement of f. During validation of the proposed algorithm using the simulation dataset, 30% of the dataset was reserved for testing.
Some of the predicted results from the simulated test data are presented in Figure 5. Although the RF can output continuous values of both A and f, we compared their predicted values separately. The blue points represent the A and f values predicted by the model, whereas the red bars represents the real A and f of the vibration. Owing to the richness of our dataset, the amplitude error measured by RF was, at most, λ / 4 , and the measurement error was lower in the vast majority of samples. For the measurement of f, the true and measured values were almost perfectly fitted. Combining the predicted results of A and f, the performance score of RF in the simulation test set was 0.98 , which indicates that RF has a very high prediction capability for the SMI signal. We obtained a large amount of data from the optical platform and used this model to test and validate the experimental data in the next section.

4. Analysis of Experimental Results

4.1. SMI Experimental Dataset

To generate the SMI experimental dataset, we set λ of the laser diode to 650 nm and the sampling frequency of the acquisition card to 20 kHz. As shown in Figure 6, We used an acquisition card to transfer the acquired SMI signals to a PC. We extended the range of measurement by varying the vibration parameters of the vibrating source without estimating C. Thus, we built a large number of samples in the range of 0~8 µm for A and 5~25 Hz for f, forming the SMI experimental dataset. We collected 60,000 points for the SMI signal under each pair of parameters using 1200 sampling points and the corresponding A and f as a set of samples. These data were used for subsequent construction and training of the real RF.

4.2. Result Analysis

We extracted the features from the experimental signals and performed an analysis. As shown in Figure 7, the actual SMI signal was entrained with a significant amount of noise and contained many burrs. We used wavelet transform [41] to filter the SMI signal such that the curve was smoothed. Next, using Fourier transform and STFT, the spectrum and time-frequency maps were obtained. After Fourier transform, the spectrum of the SMI signal was entrained with noise, which could not be completely eliminated. However, the spectrum maps are also more concentrated in one interval, similar to the spectrum of the simulated signal, which does not affect the extraction of the basic features. After STFT, many features can be extracted from the short-time spectrum within each window function.
As shown in Figure 8, among the 367 extracted features, dense spectral features contributed the most to the original vibration. Although certain temporal features have higher scores, these high-scoring features are fewer and less widely distributed than the spectral features.
In addition, the contribution of the spectral features to the recovery of the original vibration was within a stable range, which helped maintain the predictive effect of the RF. This also indicates that the prediction accuracy of the model was not affected without considering the changes in C. The statistical features scored low, but there were some high-scoring features. Although the contribution of all features to the actual vibration from the SMI signal obtained from the optical platform is slightly lower than that of the simulated data, these features are essential. We also analyzed the performance of the experimental dataset compared with the simulated dataset, adjusting the various parameters of each decision tree in the RF.
In Figure 9a, when M a x _ d e p t h < 10 is applied, the RF appears to be overfitted. As the depth of each decision tree continued to increase, the prediction performance of RF steadily improved. Compared with the simulation dataset, the experimental data were affected by the physical environment and contained more noise. After filtering out the noise, although the prediction score was not as high as that of the simulation data, RF achieved an accuracy of more than 94 % on the experimental data during M a x _ d e p t h 10 . In addition, we analyzed the prediction effect of various Max_features. In Figure 9b, at each node of the decision tree in the forest, we found an optimal subset of features that resulted in the highest accuracy of the RF. Near M a x _ f e a t u r e = 25 , R 2 _ s c o r e starts to enter the flat state. This implies that the minimal length of this feature subset is approximately 50 when the RF achieves optimal performance.
Using the final model trained with the above optimal parameters, we reacquired SMI signals from the optical platform for testing and prediction. As shown in Figure 10, we adjusted various parameters of the vibration source to obtain different SMI signals. On the one hand, for the same oscillation pattern of the target, we randomly picked different starting points from the corresponding SMI signal and intercepted different sampling sequences as part of the test data. On the other hand, we also selected the SMI signals under different oscillation laws as another part of the test data. Using RF, we smoothly predicted the A and f of the original vibration corresponding to these SMI signals.
The prediction accuracy on the actual SMI signal is 94.75 % . The predicted A and f almost perfectly coincided with the real vibration. The predicted values at some points deviated from the true values due to the presence of noise and abrupt changes in the shape of the stripes. However, this deviation gradually decreased after several measurements.

5. Discussion

The aim of this study was to perform vibration measurements in SMI utilizing feature extraction and random forest without determining C and to improve the interpretability and practicality of the algorithm.
In addition to RF, lasso and ridge have been studied in various fields [42]. For SMI vibration measurements, we compared each of these algorithms.
Although ridge does not rely on a large number of decision trees for integrated learning as RF does, its performance relies heavily on the change in the regularization coefficient ( γ ) and the choice of gradient solver. We used multiple cross-validation methods to continuously modify the value of γ in the range of 0–1 and evaluated the effect of each pretrained model on the experimental SMI test data. In Figure 11, to solve for the minimum of the loss function of the ridge regressor, we present a plot of R 2 _ s c o r e with γ under different gradient descent schemes.
The optimal solution of the ridge without considering C also differs depending on the gradient descent rules. In the SMI training data, we found that saga and sag reached local convergence ahead of time. However, the weight of the ridge derived from this convergence point is not globally optimal. As γ increases, the two laws, saga and sag, are the least effective for measuring A and f against actual vibration. In contrast, the remaining three gradient solvers are dedicated to determining the global optimal solution of the ridge through dynamic search [43,44]. The cholesky solver assigned the best weights of the ridge to 367 features, achieving the highest performance at γ = 0.05 , where the accuracy of the measurement was 77.41 % .
Furthermore, when analyzing the robustness of various algorithms, we varied the length of the SMI signal to be subjected to feature extraction. Under the optimal rule of gradient solution, we continuously adjusted γ to analyze the effects of vibration measurements under different lengths of SMI signal.
In Figure 12, at γ 0.002 , the ability of either ridge or lasso to measure the A and f with the 367 extracted features increases as γ continues to increase. The degree of underfitting decreased rapidly at this stage, and the model converged faster. However, compared to ridge, the coefficients of lasso can be adjusted in a very narrow range, which easily causes lasso to converge locally, resulting in the highest accuracy at a very low γ . However, as γ increases, the accuracy of lasso drops sharply, even to zero, exacerbating the instability of measuring the A and f of the actual vibration. From the analysis of the speed of convergence and stability of the measurement, ridge reached global convergence, although the value of γ at the highest performance occurred later than that of lasso. During γ > 0.05 , the accuracy decreases slowly, although the performance of the ridge continues to underfit as γ increases. This means that in addition to RF, ridge is also useful for any range of stable vibration measurements, not limited to existing A and f. Additionally, in Figure 12, we explored the effectiveness of these algorithms for measuring A and f with different lengths of SMI signals. Although the scoring curves of both algorithms were the lowest at a length of 1300 for the SMI signal, they could be improved by increasing the amount of training data. Overall, the accuracy of these algorithms for measuring A and f gradually increases as the length of the SMI signal increases. This suggests that adjusting the length of the SMI signal can significantly improve the measurements of A and f of the vibrating target using these algorithms.
As shown in Table 2, the accuracy of RF tends to be stable, regardless of the length of the SMI signal. The RF had the highest accuracy for the same length of SMI signal. Although the accuracy of the vibration measurement by ridge was 57.68 % at a length of 1300, the lowest value in Table 2, the accuracy can be improved to more than 0.8, when the length of the SMI signal was changed several times. In Figure 12, the convergence of ridge has a somewhat wider range, which is better than that of lasso. The accuracy of the measurement of A and f by lasso was maintained between 0.66 and 0.73 , which is difficult to improve. This is impractical for the measurement of a vibrating target using SMI. After feature extraction for SMI signals of arbitrary length, the RF had the highest accuracy for both A and f measurements. This shows that our proposed algorithm has no fixed limitation on the length of the SMI signal and is suitable for real-time vibration measurements.
After comparing the above algorithms, we found that our RF maintains the highest accuracy in both the simulation and experimental data, with the lowest measurement errors for A and f, making it more practical. The performance of lasso was the worst in terms of the experimental data. It has the lowest R 2 _ s c o r e when predicting A and f of the actual vibration. In terms of stability, the ridge outperformed the lasso in dealing with SMI signals containing noise when measuring microvibrations. It may be beneficial to combine ridge with RF, considering the creation of an integrated model so that the final algorithm will be more robust.
When the reflector in the laser cavity is misaligned when the object is vibrating, the round-trip time for the laser to hit the vibrating object and return to the laser cavity directly affects the value of the feedback intensity. However, no matter how the feedback intensity changes, the generated self-mixed signal always reflects the A and f of the original vibrating target. Therefore, our method has no requirement for a fixed position of the reflector in the laser cavity and has a good tolerance for misalignment of the reflector.
The idea is to measure the original vibration accurately, even without considering the feedback strength. For unsmooth planar vibrations, noise is inevitably superimposed on the SMI signal. In our experiments, we chose a reflection plane of vibration similar to the reflection diffusion surface, with no fixed requirement for the reflection coefficient of the plane, enabling the feedback light to return to the resonant cavity of the laser and interfere with the original output light to form the SMI signal. After filtering out the noise, we successfully performed effective vibration measurements with the proposed method. Thus, the method is applicable to a vibrating reflective diffuse surface. Additionally, in some cases, the target vibrates at high frequencies in the kilohertz and megahertz range, placing considerable demands on the high-frequency sampling accuracy of the sampling instrument. However, our method can still perform feature extraction of the generated SMI signal, which reflects information such as amplitude and frequency of the vibrating object. With subsequent research, our method can be used to measure vibrations at high frequencies.

6. Conclusions

For vibration measurement by SMI, we proposed an algorithm for vibration measurement based on feature extraction of the SMI signal and RF without determining any feedback coefficients. This algorithm directly dimensionalizes the SMI signal, extracts the features of the SMI signal, and combines the RF to recover A and f of the original vibrating target. Compared to existing studies in vibration measurement by laser SMI, our experimental results show that this method is simple to operate, not involving complex optical platforms and calculation for phase unwrapping, and does not require the determination of any optical parameters, such as C. This method is tolerant to misalignment of the retromirror in the laser cavity and can be applied to a vibrating reflecting diffusing surface. Furthermore, the method has no fixed requirement for the selection of a laser [45,46]. If the threshold current is within the permissible range of the laser and the output light at a certain wavelength can produce an SMI signal, vibration measurement can be achieved [47]. Therefore, the method is inclusive of laser selection, convenient for various advanced laser materials for SMI and vibration measurement, and has a high degree of universality.
To construct the feature vector of the SMI signal, we extracted rich features from the spectral, statistical, and temporal domains as inputs to the RF. This eigenvector provides strong interpretability for vibration measurements using RF. When assessing the feature importance, each feature provides a stable contribution to the prediction performance of A and f. Furthermore, by comparing and analyzing multiple algorithms, we verified that the extracted features of the SMI signal are best suited for vibration measurements using RF.
In summary, relying on a large amount of SMI data, this algorithm for vibration measurement can be a valuable element for various types of laser sensing devices. Although the increased amount of data and good preprocessing efforts help to improve the measurement accuracy, it requires a lot of time to collect SMI signals from optical platforms to further investigate the correspondence between the SMI signals and the original vibration. Therefore, we emphasize that machine learning algorithms incorporating SMI for vibration measurements rarely have hard and fast rules, and these designs are often a research area of their own. Our next step will be to combine the theory of laser SMI to improve machine learning methods so that only a limited number of training samples are needed to be equally useful for a wide range of vibration measurements.

Author Contributions

H.L.: guidance, software, methodology; M.C.: formal analysis, algorithm designer, data curation, writing—original draft, writing—review and editing, formal analysis; C.J.: data acquisition, project administration, methodology, validation, writing—review, funding acquisition; L.K.: writing—review; K.S.: writing—review. All authors have read and agreed to the published version of the manuscript.

Funding

This research was supported by the Natural Science Foundation of Heilongjiang Province with Grant Number LH2021F008.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data presented in this study are available on request from the corresponding author. The data are not publicly available due to privacy or ethical restrictions.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
SMISelf-mixing interference
α Linewidth enhancement factor
CFeedback strength
FFTFast Fourier transform
ECGElectrocardiogram
GANGeneral adversarial network
ANNArtificial neural network
CNNConvolutional neural network
TSFELTime series feature extraction library
CARTClassification and regression tree
RFRandom forest
RidgeRidge regressor
LassoLasso regressor

References

  1. Kliese, R.; Taimre, T.; Bakar, A.A.A.; Lim, Y.L.; Bertling, K.; Nikolić, M.; Perchoux, J.; Bosch, T.; Rakić, A.D. Solving self-mixing equations for arbitrary feedback levels: A concise algorithm. Appl. Opt. 2014, 53, 3723–3736. [Google Scholar] [CrossRef] [PubMed]
  2. Fei, L.; Zhang, S. The discovery of nanometer fringes in laser self-mixing interference. Opt. Commun. 2007, 273, 226–230. [Google Scholar] [CrossRef]
  3. Zhu, W.; Chen, Q.; Wang, Y.; Luo, H.; Wu, H.; Ma, B. Improvement on vibration measurement performance of laser self-mixing interference by using a pre-feedback mirror. Opt. Lasers Eng. 2018, 105, 150–158. [Google Scholar] [CrossRef]
  4. Yaqin, M.A.; Yunifar, R.I.; Ariyanti, N.D.; Zulfikar, A.Z.; Syamsudin, S.; Buka, O.; Nasori, N.; Endarko, E.; Rubiyanto, A. Vibration Sensor Based On Self-Mixing Interferometry To Identify Human Heart Rate. J. Phys. Conf. Ser. 2020, 1505, 012056. [Google Scholar] [CrossRef]
  5. Zhang, S.; Zhang, S.; Sun, L.; Tan, Y. Spectrum Broadening in Optical Frequency-Shifted Feedback of Microchip Laser. IEEE Photon-Technol. Lett. 2016, 28, 1593–1596. [Google Scholar] [CrossRef]
  6. Zhao, Y.; Zhou, J.; Lu, L. Measurement of the free spectral range of the laser cavity based on multi-longitudinal mode laser self-mixing vibrator. Measurement 2018, 135, 467–472. [Google Scholar] [CrossRef]
  7. Zhang, S.; Zhang, S.; Tan, Y.; Sun, L. A microchip laser source with stable intensity and frequency used for self-mixing interferometry. Rev. Sci. Instrum. 2016, 87, 053114. [Google Scholar] [CrossRef]
  8. Li, J.; Tan, Y.; Zhang, S. Generation of phase difference between self-mixing signals in a-cut Nd:YVO_4 laser with a waveplate in the external cavity. Opt. Lett. 2015, 40, 3615. [Google Scholar] [CrossRef]
  9. Tan, Y.; Zhang, S.; Zhang, Y. Laser feedback interferometry based on phase difference of orthogonally polarized lights in external birefringence cavity. Opt. Express 2009, 17, 13939–13945. [Google Scholar] [CrossRef]
  10. Yunkun, Z.; Chenchen, W.; Yuanyang, Z.; Desheng, Z.; Liang, L. An All-Fiber Self-Mixing Range Finder With Tunable Fiber Ring Cavity Laser Source. J. Lightwave Technol. 2021, 39, 4217–4224. [Google Scholar]
  11. Tao, Y.; Wang, M.; Guo, D.; Hao, H.; Liu, Q. Self-mixing vibration measurement using emission frequency sinusoidal modulation. Opt. Commun. 2015, 340, 141–150. [Google Scholar] [CrossRef]
  12. Jiang, C.; Li, C.; Yin, S.; Huang, Z. Multiple self-mixing interferometry algorithm based on phase modulation for vibration measurement. Opt. Quantum Electron. 2017, 49, 111. [Google Scholar] [CrossRef]
  13. Amin, S.; Zabit, U.; Bernal, O.D.; Hussain, T. High Resolution Laser Self-Mixing Displacement Sensor Under Large Variation in Optical Feedback and Speckle. IEEE Sens. J. 2020, 20, 9140–9147. [Google Scholar] [CrossRef]
  14. Wei, L.; Xi, J.; Yu, Y.; Chicharo, J. Phase Unwrapping of Self-mixing Signals Observed in Optical Feedback Interferometry for Displacement Measurement. In Proceedings of the 2006 International Symposium on Intelligent Signal Processing and Communications, Yonago, Japan, 12–15 December 2006; pp. 780–783. [Google Scholar] [CrossRef]
  15. Wang, X.; Song, X.; Tan, R.; Chen, P.; Gao, B. Micro-vibration measurement based on current modulation and secondary feedback self-mixing interference technology. Opt. Rev. 2019, 26, 241–246. [Google Scholar] [CrossRef]
  16. Zhang, Z.; Wang, F.; Yuan, T.; Li, C. Multiple self-mixing interferometry based on lock-in amplifier analysis for vibration measurement. Opt. Rev. 2020, 27, 313–320. [Google Scholar] [CrossRef]
  17. Huang, Z.; Sun, X.; Li, C. Self-mixing interference signal analysis based on Fourier transform method for vibration measurement. Opt. Eng. 2013, 52, 053601. [Google Scholar] [CrossRef]
  18. Masini, R.P.; Medeiros, M.C.; Mendes, E.F. Machine learning advances for time series forecasting. J. Econ. Surv. 2021. [Google Scholar] [CrossRef]
  19. Ahmed, I.; Zabit, U.; Salman, A. Self-Mixing Interferometric Signal Enhancement Using Generative Adversarial Network for Laser Metric Sensing Applications. IEEE Access 2019, 7, 174641–174650. [Google Scholar] [CrossRef]
  20. Song, M.; Zhang, J.; Chen, H.; Li, T. Towards Efficient Microarchitectural Design for Accelerating Unsupervised GAN-Based Deep Learning. In Proceedings of the 2018 IEEE International Symposium on High Performance Computer Architecture (HPCA), Vienna, Austria, 24–28 February 2018; IEEE: Piscataway, NJ, USA, 2018; pp. 66–77. [Google Scholar] [CrossRef]
  21. Kou, K.; Wang, C.; Lian, T.; Weng, J. Fringe slope discrimination in laser self-mixing interferometry using artificial neural network. Opt. Laser Technol. 2020, 132, 106499. [Google Scholar] [CrossRef]
  22. Barland, S.; Gustave, F. Convolutional neural network for self-mixing interferometric displacement sensing. Opt. Express 2021, 29, 11433–11444. [Google Scholar] [CrossRef]
  23. Obata, S.; Cieszewski, C.; Iii, R.; Bettinger, P. Random Forest Regression Model for Estimation of the Growing Stock Volumes in Georgia, USA, Using Dense Landsat Time Series and FIA Dataset. Remote Sens. 2021, 13, 218. [Google Scholar] [CrossRef]
  24. Luciano, A.C.D.S.; Picoli, M.C.A.; Duft, D.G.; Rocha, J.V.; Leal, M.R.L.V.; le Maire, G. Empirical model for forecasting sugarcane yield on a local scale in Brazil using Landsat imagery and random forest algorithm. Comput. Electron. Agric. 2021, 184, 106063. [Google Scholar] [CrossRef]
  25. Wu, D.; Wu, C. Research on the Time-Dependent Split Delivery Green Vehicle Routing Problem for Fresh Agricultural Products with Multiple Time Windows. Agriculture 2022, 12, 793. [Google Scholar] [CrossRef]
  26. Chen, H.; Miao, F.; Chen, Y.; Xiong, Y.; Chen, T. A Hyperspectral Image Classification Method Using Multifeature Vectors and Optimized KELM. IEEE J. Sel. Top. Appl. Earth Obs. Remote Sens. 2021, 14, 2781–2795. [Google Scholar] [CrossRef]
  27. Wang, X.-L.; Lü, L.-P.; Hu, L.; Huang, W.-C. Real-time human blood pressure measurement based on laser self-mixing interferometry with extreme learning machine. Optoelectron. Lett. 2020, 16, 467–470. [Google Scholar] [CrossRef]
  28. Barandas, M.; Folgado, D.; Fernandes, L.; Santos, S.; Abreu, M.; Bota, P.; Liu, H.; Schultz, T.; Gamboa, H. TSFEL: Time Series Feature Extraction Library. SoftwareX 2020, 11, 100456. [Google Scholar] [CrossRef]
  29. Peeters, G.; Giordano, B.L.; Susini, P.; Misdariis, N.; McAdams, S. The Timbre Toolbox: Extracting audio descriptors from musical signals. J. Acoust. Soc. Am. 2011, 130, 2902–2916. [Google Scholar] [CrossRef]
  30. Gao, Y.; Yu, Y.; Xi, J.; Guo, Q. Simultaneous measurement of vibration and parameters of a semiconductor laser using self-mixing interferometry. Appl. Opt. 2014, 53, 4256–4263. [Google Scholar] [CrossRef]
  31. Lang, R.; Kobayashi, K. External optical feedback effects on semiconductor injection laser properties. IEEE J. Quantum Electron. 1980, 16, 347–355. [Google Scholar] [CrossRef]
  32. Zhang, Z.; Jiang, C.; Shen, L.; Li, C.; Huang, Z. Vibration Measurement Based on the Local Maximum Detection Algorithm for Laser Self-Mixing Interferometry. IEEE Access 2020, 8, 63462–63469. [Google Scholar] [CrossRef]
  33. Ehtesham, A.; Zabit, U.; Bernal, O.D.; Raja, G.; Bosch, T. Analysis and Implementation of a Direct Phase Unwrapping Method for Displacement Measurement Using Self-Mixing Interferometry. IEEE Sensors J. 2017, 17, 7425–7432. [Google Scholar] [CrossRef]
  34. Donati, S.; Giuliani, G.; Merlo, S. Laser diode feedback interferometer for measurement of displacements without ambiguity. IEEE J. Quantum Electron. 1995, 31, 113–119. [Google Scholar] [CrossRef]
  35. Desai, S.; Ouarda, T.B. Regional hydrological frequency analysis at ungauged sites with random forest regression. J. Hydrol. 2020, 594, 125861. [Google Scholar] [CrossRef]
  36. Zhang, W.; Wu, C.; Li, Y.; Wang, L.; Samui, P. Assessment of pile drivability using random forest regression and multivariate adaptive regression splines. Georisk Assess. Manag. Risk Eng. Syst. Geohazards 2019, 15, 27–40. [Google Scholar] [CrossRef]
  37. Boran, S.; Kamil, D.; Kubra, T. Student Performance Prediction and Classification Using Machine Learning Algorithms. In Proceedings of the 2019 8th International Conference on Educational and Information Technology, Toyama, Japan, 7–12 July 2019; Association for Computing Machinery: Cambridge, UK, 2019; pp. 7–11. [Google Scholar] [CrossRef]
  38. Nakagome, S.; Luu, T.P.; He, Y.; Ravindran, A.S.; Contreras-Vidal, J.L. An empirical comparison of neural networks and machine learning algorithms for EEG gait decoding. Sci. Rep. 2020, 10, 4372. [Google Scholar] [CrossRef] [PubMed]
  39. Han, J.-H.; Chi, S.-Y. Consideration of manufacturing data to apply machine learning methods for predictive manufacturing. In Proceedings of the 2016 Eighth International Conference on Ubiquitous and Future Networks (ICUFN), Vienna, Austria, 5–8 July 2016; pp. 109–113. [Google Scholar] [CrossRef]
  40. Hulot, P.; Aloise, D.; Jena, S.D. Towards Station-Level Demand Prediction for Effective Rebalancing in Bike-Sharing Systems. In Proceedings of the 24th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, London, UK, 19–23 August 2018; Association for Computing Machinery: London, UK, 2018; pp. 378–386. [Google Scholar] [CrossRef]
  41. Arneodo, A.; Grasseau, G.; Holschneider, M. Wavelet Transform of Multifractals. Phys. Rev. Lett. 1988, 61, 2281–2284. [Google Scholar] [CrossRef] [PubMed]
  42. Gana, R. Ridge regression and the Lasso: How do they do as finders of significant regressors and their multipliers? Commun. Stat. Simul. Comput. 2020, 1–35. [Google Scholar] [CrossRef]
  43. Zhou, X.; Ma, H.; Gu, J.; Chen, H.; Deng, W. Parameter adaptation-based ant colony optimization with dynamic hybrid mechanism. Eng. Appl. Artif. Intell. 2022, 114, 105139. [Google Scholar] [CrossRef]
  44. An, Z.; Wang, X.; Li, B.; Xiang, Z.; Zhang, B. Robust visual tracking for UAVs with dynamic feature weight selection. Appl. Intell. 2022, 1–14. [Google Scholar] [CrossRef]
  45. Fan, T.; Byer, R. Diode laser-pumped solid-state lasers. IEEE J. Quantum Electron. 1988, 24, 895–912. [Google Scholar] [CrossRef]
  46. Peng, Z.; Ma, Y.; Peng, F.; Sun, H.; Ding, S.; Zhang, Q.; Yu, X. Diode-pumped passively Q-switched Nd:GdYTaO4 laser based on two-dimensional WS2 nanosheet. Opt. Laser Technol. 2018, 109, 319–322. [Google Scholar] [CrossRef]
  47. Zhang, Y.; Xu, K.; Wang, P. New study on self-mixing interference effects in LD-pumped laser, Photonics Asia. In Semiconductor Lasers and Applications II; SPIE: Bellingham, WA, USA, 2005; Volume 5628. [Google Scholar] [CrossRef]
Figure 1. Circuit for forming SMI.
Figure 1. Circuit for forming SMI.
Sensors 22 06171 g001
Figure 2. Feature extraction in different aspects of the SMI signal. (a) Temporal signal. Sampling rate: 20 kHz, A = 1.05 μm, f = 62.5 Hz, C = 0.1. (b) Spectrogram of the SMI signal. (c) SMI STFT analysis plot. Hamming window; window length: 256; overlap points: 128.
Figure 2. Feature extraction in different aspects of the SMI signal. (a) Temporal signal. Sampling rate: 20 kHz, A = 1.05 μm, f = 62.5 Hz, C = 0.1. (b) Spectrogram of the SMI signal. (c) SMI STFT analysis plot. Hamming window; window length: 256; overlap points: 128.
Sensors 22 06171 g002
Figure 3. Vibration measurement framework combining RF and SMI.
Figure 3. Vibration measurement framework combining RF and SMI.
Sensors 22 06171 g003
Figure 4. Extracted features from different aspects after normalization. (a) 334 spectral features, (b) 16 temporal features, and (c) 17 statistical features.
Figure 4. Extracted features from different aspects after normalization. (a) 334 spectral features, (b) 16 temporal features, and (c) 17 statistical features.
Sensors 22 06171 g004
Figure 5. Prediction of A and f in the simulation test. (a) Measurement of A in the range of 0~2 µm. (b) Measurement of f in the range of 0~100 Hz.
Figure 5. Prediction of A and f in the simulation test. (a) Measurement of A in the range of 0~2 µm. (b) Measurement of f in the range of 0~100 Hz.
Sensors 22 06171 g005
Figure 6. Platform for acquiring SMI microvibration data.
Figure 6. Platform for acquiring SMI microvibration data.
Sensors 22 06171 g006
Figure 7. (a) SMI signal obtained with an optical platform with A = 2.075 µm and f = 25 Hz. (b) The waveform of an actual SMI signal with wavelet transform. (c) Fourier transform of SMI signal after wavelet transform. (d) STFT of SMI signal. Hamming window; window points: 256; overlapping points: 128.
Figure 7. (a) SMI signal obtained with an optical platform with A = 2.075 µm and f = 25 Hz. (b) The waveform of an actual SMI signal with wavelet transform. (c) Fourier transform of SMI signal after wavelet transform. (d) STFT of SMI signal. Hamming window; window points: 256; overlapping points: 128.
Sensors 22 06171 g007
Figure 8. Temporal, statistical, and spectral feature importance analysis on simulated and experimental dataset.
Figure 8. Temporal, statistical, and spectral feature importance analysis on simulated and experimental dataset.
Sensors 22 06171 g008
Figure 9. Performance curves under various parameters of RF. (a) R 2 _ s c o r e with different Max_depth. (b) R 2 _ s c o r e with different Max_feature.
Figure 9. Performance curves under various parameters of RF. (a) R 2 _ s c o r e with different Max_depth. (b) R 2 _ s c o r e with different Max_feature.
Sensors 22 06171 g009
Figure 10. Vibration measurements on SMI experimental data. (a) Measurement of A in the range of 0~8 µm. (b) Measurement of f in the range of 5~25 Hz.
Figure 10. Vibration measurements on SMI experimental data. (a) Measurement of A in the range of 0~8 µm. (b) Measurement of f in the range of 5~25 Hz.
Sensors 22 06171 g010
Figure 11. Joint analysis of gradient solver and γ for vibration measurement by SMI.
Figure 11. Joint analysis of gradient solver and γ for vibration measurement by SMI.
Sensors 22 06171 g011
Figure 12. Curves of the accuracy of measuring A and f with γ under different lengths of SMI signals. (a) Accuracy changes with γ on ridge. (b) Accuracy changes with γ on lasso.
Figure 12. Curves of the accuracy of measuring A and f with γ under different lengths of SMI signals. (a) Accuracy changes with γ on ridge. (b) Accuracy changes with γ on lasso.
Sensors 22 06171 g012
Table 1. List of 367 values of extracted features.
Table 1. List of 367 values of extracted features.
Temporal Features
NameDefinitionNumber of Values
Absolute energyIntegration of the square of the voltage of the SMI signal1
Total energyTotal energy in a frame of SMI signal: i = 0 L 1 s i 2 / t L 1 t 0 1
Mean absolute diffMean absolute differences of SMI signal: mean ( Δ s )1
Median absolute diffMedian absolute differences of SMI signal: median ( Δ s )1
Signal distanceTotal distance traveled by SMI signal1
Signal slopeThe degree of inclination of the stripes of SMI and the direction of the original vibration1
Positive turning pointsThe number of points where the signal starts to rise from the trough point1
Negative turning pointsThe number of points where the signal starts to fall from the peak point1
Mean diffMean of differences of SMI signal: mean Δ s 1
Median diffMedian of differences of SMI signal: median Δ s 1
Neighborhood peaksThe number of peaks from a defined neighbourhood of SMI signalm1
AutocorrelationAutocorrelation of the SMI signal1
CentroidThe centroid of the SMI waveform along the time axis 1
Area under the curveComputes the area under the waveform of the SMI signal with the trapezoid rule1
Sum absolute diffSum of absolute differences of SMI signal: i = 0 L 1 Δ s i 1
Zero crossing rateThe total number of times that the SMI signal changes from positive to negative or vice versa1
Statistical Features
NameDefinitionNumber of Values
ECDF percentileComputes the values of empirical cumulative distribution function along the time axis2
HistogramThe values of histograms of the SMI signal5
Interquartile rangeComputes the interquartile range of the data points of the SMI signal1
Root mean squareSquare root of the arithmetic mean (average) of the squares of original signal1
Standard deviationStandard deviation of the SMI signal1
Median absolute deviationMedian absolute deviation of the SMI signal: m e d i a n s m e d i a n s 1
Mean absolute deviation i = 0 L 1 s i 2 m e a n s / L 1
Variance m e a n s m e a n s 2 1
Mean Mean value of the SMI signal1
Median Median value of the SMI signal1
Kurtosis Describes the steepness of the pattern of all fetched values in the SMI signal1
Skewness Describes the symmetry of the waveform of the SMI signal1
Statistical Features
NameDefinitionNumber of Values
Spectral kurtosisMeasures the flatness of the spectrum around the mean value of the SMI signal.1
Spectral variationComputes the amount of variation of the spectrum over time1
Spectral slopeComputed using a linear regression over the spectral amplitude values1
Spectral maximumMaxium frequency of the SMI signal1
Spectral medianMedian frequency of the SMI signal1
Spectral entropyNormalized value of spectral entropy of the SMI signal based on Fourier transform1
Fundamental frequencyExplains the content of the signal spectrum1
Spectral roll-offThe frequency at which 95% of the signal magnitude is contained1
Spectral skewnessMeasure of the flatness of the spectrum around its mean value1
Spectral spreadThe spread of the spectrum around its mean value1
Positive turning pointsThe number of positive turning points of the fft magnitude signal1
Fft mean coefficientComputes the mean value of each spectrogram frequency256
Max power spectrumComputes the maxium power spectrum density of the SMI signal1
Spectral centroidThe spectral center of gravity1
DecreaseThe decreasing in the spectral amplitude1
Spectral distanceDistance of cumulative sum for the SMI signal of FFT elements to the respective regression1
Wavelet absolute meanThe discrete wavelet transform (CWT) absolute mean value of each wavelet scale9
Wavelet standard deviationThe CWT standard deviation of each wavelet scale9
LPCCThe linear prediction cepstral coefficients13
MFCCMel frequency cepstral coefficients, which provide the power information12
Power bandwidthPower spectrum density bandwidth of the SMI signal1
Wavelet energyThe CWT energy of each wavelet scale9
Wavelet varianceThe CWT variance value of each wavelet wavelet scale9
Wavelet entropyThe CWT entropy of the SMI signal1
Table 2. Accuracy of different lengths of SMI signals for the measurement of A and f.
Table 2. Accuracy of different lengths of SMI signals for the measurement of A and f.
Frame6007008009001000
RF88.95%88.37%92.92%90.27%94.63%
Lasso66.58%67.84%72.67%70.03%78%
Ridge67.86%67.35%75.04%72.67%80%
Frame11001200130014001500
RF93.15%94.75%92.78%93.65%94.63%
Lasso66.58%66.58%67.84%72.67%70.03%
Ridge76.39%77.41%57.68%74.42%81.84%
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Liang, H.; Chen, M.; Jiang, C.; Kan, L.; Shao, K. Combined Feature Extraction and Random Forest for Laser Self-Mixing Vibration Measurement without Determining Feedback Intensity. Sensors 2022, 22, 6171. https://doi.org/10.3390/s22166171

AMA Style

Liang H, Chen M, Jiang C, Kan L, Shao K. Combined Feature Extraction and Random Forest for Laser Self-Mixing Vibration Measurement without Determining Feedback Intensity. Sensors. 2022; 22(16):6171. https://doi.org/10.3390/s22166171

Chicago/Turabian Style

Liang, Hongwei, Minghu Chen, Chunlei Jiang, Lingling Kan, and Keyong Shao. 2022. "Combined Feature Extraction and Random Forest for Laser Self-Mixing Vibration Measurement without Determining Feedback Intensity" Sensors 22, no. 16: 6171. https://doi.org/10.3390/s22166171

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