Abstract
To improve human–machine cooperation and enhance the accuracy of gait recognition in wearable lower limb exoskeletons, an enhancement method of gait recognition based on adaptive feature selection and an optimized machine learning algorithm was proposed. In this study, surface electromyography (sEMG) signals of rectus femoris, medialis femoris, lateralis femoris, semitendinosus, and biceps femoris were recorded during level-ground walking. Then, time-domain (TD), frequency domain (FD), time-frequency domain (T-FD), and nonlinear features were extracted. The integrated values of electromyography, variance, root-mean-square, and wavelength were selected as the time-domain features, and the mean power frequency and median frequency were selected as the frequency domain features. Wavelet packet energy was selected as the time-frequency domain feature. Nonlinear features, including approximate entropy, sample entropy, and fuzzy entropy of sEMG were extracted. To reduce feature dimension and improve the calculation efficiency, adaptive feature selection was performed by particle swarm optimization combined with sigmoid function. Then, the feature matrix was determined as the input for a random forest classifier to recognize different gait phases. An adaptive optimization mechanism based on Bayesian optimization was applied to random forest. Compared with random forest, the overall performance of the optimized model was improved. Its accuracy was increased by 3.57%. The feature selection and adaptive optimization mechanisms in gait recognition not only enhance the accuracy of random forest algorithms applied to sEMG for gait prediction but also facilitate the flexibility and consistency required for lower limb exoskeleton gait control.