Walking Gait Phase Detection Based on Acceleration Signals Using Voting-Weighted Integrated Neural Network

,


Introduction
As the most common form of human behavior, walking style is related to health status and individual di erences, which can be shown by the di erences of the gait phase [1].Detecting results of the gait phase can provide references for disease diagnosis and rehabilitation [2,3], which is of great signi cance to the patients' clinical rehabilitation.For example, an estimated gait disorder of 1.1 million children may have originated from di erent somatosensory disease in the United States [3].In addition, researchers have managed to program humanoid robots to use human-based gait trajectories generated via gait classi cation [4], as well as consistently control wearable assistive devices such as robotic prostheses [5] and orthoses [6] for the recovery of lower-limb mobility.For instance, Yan et al. [4] proposed that gait phase detection can also be used to facilitate the development human auxiliary equipment, such as the medical ankle joint (AF), hip joint (HK), and knee ankle joint (KAF) orthopedic devices, as well as exoskeletons and other equipment.Similarly, gait phase detection plays an important role in sports medicine [7] and rehabilitation medicine [8].
Computational methods for gait phase recognition fall into two main categories.e rst category is comprised of algorithms, which divide the gait phases based on the threshold selection of either raw or processed data [9].Secondly, some deep-learning approaches have emerged in recent years to substitute the aforementioned techniques that rely on traditional classi cation algorithms.Some have applied deep-learning algorithms to di erent types of sensors to detect gait phases.For instance, Mukherjee et al. [10] present a fully automated frontal (i.e., employing front and back views only) gait phase recognition approach using the depth information captured by multiple Kinect RGB-D cameras.However, the captured image information is easily disturbed by the external environment.Rosati et al. [11] proposed a method of hierarchical clustering to achieve recognition of the human gait phase by processing electromyography (EMG) data collected during gait, which has improved the abovementioned problems that are susceptible to environmental interference.However, muscle electrical signals are susceptible to factors such as sweat when collecting EMG data.Ding et al. [12] further improved the problems of the above EMG method and proposed a proportional fuzzy algorithm to achieve smooth recognition of the gait phase for foot pressure information processing, but the foot pressure will be affected by the wearer's weight, load, and other factors [13], and the pressure sensor also has a high failure rate.In recent years, researchers have started to study gait phase recognition methods based on inertial sensors (IMU).
is is mainly due to the fact that more information can be obtained by adopting a small number of inertial sensor modules and most of the inertial sensor modules are installed on the legs and feet, so as to avoid damage or discomfort to the wearer [14].At the same time, the information of IMU is basically unaffected by human body weight, belongings, clothing, sweat, and other factors, which is a prominent advantage compared to the method of plantar pressure or muscle electrical signal detection.In addition, inertial sensors are extremely cost effective [15] and acceleration signals acquired by inertial sensors exhibit typical waveform characteristics during the gait cycle.Previous studies have positioned inertial sensors on the instep, thigh, and calf [16][17][18].
is paper considers the position of the instep, lower leg, and thigh because the classifier has better classification performance at the lower extremity position [19].
For the recognition system, this paper designs an effective and adaptable gait detection method.Some research studies [13] indicate that a large amount of information can be obtained by using a small number of acceleration sensors that are located on the legs and feet to minimize sensor damage and discomfort to the person wearing the sensor.In this paper, we describe a system that uses three inertial sensor modules to obtain the acceleration information of the lower limbs of the human body.e collected acceleration data was reduced by the Principal Component Analysis (PCA) algorithm, which focuses on extracting the feature information of the original data and searches for a set of orthogonal low-wiki functions to represent a set of highdimensional data, improving the recognition rate and recognition speed [20,21].en, the paper divides the human gait into three phases and proposes a method of dividing the three gait phases.Finally, this paper proposes a VWF-DNN algorithm for detecting the gait phase, which is inspired by integrated learning.e core idea of the VWF-DNN algorithm is to use the three subneural networks with distinct differences to output the final classification result through the voting algorithm designed in this paper.e designed VWF-DNN with higher accuracy will be further evaluated with learned and unlearned data to test its suitability with acceleration classification.
is paper proposes an algorithmic model for detecting the gait phase, which uses the acceleration data from the instep, calf, and thigh to accurately detect two gait phase events.Finally, the effectiveness of the proposed VWI-DNN algorithm in gait phase detection is verified by the final recognition results.

Materials and Methods
2.1.Data Collection.Twenty volunteers with weight range in 46 kg to 88 kg and height range in 155 cm to 190 cm were recruited for the experimental data collection.e details of personal information are shown in Figure 1. e subjects have no physical or nerve injury to their legs or feet, which may affect walking gait phase detection.
With the improvement of the sensor manufacturing process, this study selected three IMU modules as portable devices for obtaining acceleration information.e inertial sensor modules were placed on the foot dorsum, the outer side of the lower leg, and the outer side of the thigh.e arrangement of the acceleration sensor on the instep, calf, and thigh monitoring the lower limb movement is shown in Figure 2. e acceleration resolution of the three-axis inertial sensor module used in the experiment is 6.1e − 5 g, the stability of attitude measurement is 0.01 °, and the transmission baud rate in the experiment was set to 115200 bps.
In this experiment, all participants were asked to walk for at least 120 s on the configured treadmill with speeds at 0.78 m/s, 1.0 m/s, and 1.25 m/s, respectively.Participants walked normally three times on a treadmill at each speed, with all settings being the same in each state.In order to prevent the participants from affecting the gait due to fatigue, the experiment requires the participants to rest for 2 minutes for each walking test.In addition, data is only saved until the treadmill's running speed reaching the set speed.When the experiment was stopped and the treadmill began to slow down, we stopped collecting data.Moreover, each participant was asked to perform the same experiment under the same conditions to ensure the reliability and validity of the collecting process.

Data Preprocessing.
Since each data sample contains multiple features from different sensors and each data in the same IMU module includes three acceleration data in X, Y, and Z directions, abundant data with different dimensions will lead to excessive complexity and easy overfitting of the detection model.In order to reduce the dimension of data set, the PCA method was adopted to synthesize the threedirectional acceleration information a x , a y , and a z of every IMU sensors into a new dimension variable Comp.PCA [22] is a general tool for dimensionality reduction and data analysis, and its essence is to project the data samples in the high-dimensional space into the low-dimensional space through linear transformation, while preserving the original data features as much as possible [23].With the dimension reduction process, the compressed Comp can avoid the excessive information lose and adjust input dimension before passing acceleration data into the subsequent classifier.
e Comp is calculated as follows: where a x , a y , and a z represent the acceleration in the X-, Y-, and Z-directions, respectively.Comp is a one-dimensional data by combining three-directions movement, which can improve the response performance of the algorithm and avoid overfitting during late training.e combined acceleration "Comp" of the instep, calf, and thigh together constitutes the input vector of the model, where z_1, z_2, and z_3 represent the coefficients of the acceleration in three directions.
e distribution of z_1, z_2, and z_3 corresponding to different body parts at asynchronous speed is shown in Table 1.
Based on the above experiment, we can get the curve of the acceleration in the X, Y, and Z directions and the combined acceleration as shown in Figure 3.
e human walking process is a rhythmic movement, and a complete gait cycle definition is from the unilateral heel to the ipsilateral heel again [21].A two-phase model has proven to be sufficient to control the knee module of an active orthosis [9].Nonetheless, the most widespread approach relies on a four-phase model [24], which are independently written as (1) Heel Strike (HS), (2) the loading response phase or Flat Foot (FF), (3) the heel lifting or Heel-Off (HO) and (4) the initial Swing Phase (SW). is four-phase model of gait granularity has been used for the actuation of multiple robotic ankle-foot orthoses [25,26].Complexity 3 soft max(q) i � e q i ′  n i�1 e q i ′ . ( To ensuring the scientificity of gait classification, the walking cycle in this paper was also divided into HS, FF, HO, and SW.During normal walking, the acceleration signals in the three directions of the foot, thigh, and calf exhibit periodicity.e sway phase accounts for approximately 40% of the total gait phase, and the stance phase accounts for approximately 60% of the total gait phase [27].We can approximate that the stance phase is the biggest phase in the walking cycle.According to the division of gait phase, the phase division in this paper is shown in Figure 4. Except for the gait phase division, feature selection is also used to extract meaningful information or noise from acceleration signals.After this processing, the key features effectively representing different gait phases are obtained from time domain for the subsequent recognition model.In this paper, the standard deviation (SD), mean absolute value (Mav), maximum value (Max), minimum value (Min), and median (Med) are selected to handle with acceleration signals as feature vectors.Since the vectors composed of single and multiple feature sets will produce different accuracy rates, we merged SD, Max, Min, Med, and Mav feature vectors to form the input feature vector in order to improve the recognition accuracy.

Voting-Weighted Integrated Neural Network.
e next step is to design an algorithm to recognize the timings vectors related to the acceleration signal.As the commonly classifier with excellent performance [28], the DNN is a feedforward artificial neural network consisting of an input layer, an output layer, and at least two hidden layers [29].Although the DNN is a strong classifier, sometimes the subneural network still misjudges certain situations, leading to the misclassification of results [30].
us, the voting fusion of the neural network is proposed to solve the instability of the subneural network, which may be insensitive to the data of some input layers due to a single network structure [31], and results in errors in the output layer.e output of the integrated neural network is determined by the output of each integrated neural network under the sample [32], which can improve the classification performance and generalization performance of the classifier to some extent [33,34].erefore, inspired by the AdaBoosting algorithm [35] and Bagging [36] algorithm in current integrated learning, this paper further proposes a novel VWI-DNN algorithm (the entire structure is shown in Figure 5) by 4 Complexity modifying the traditional DNN network.Our work aims to construct a general neural network structure allowing for different voting decisions at each submodel and demonstrate its use as a practical way to massively increase model capacity.Firstly, we chose three advanced deep neural networks instead of the perceptual layer network as the classifiers and named them SNN_1, SNN_2, SNN_3, so as to improve the classification performance of the network.
e research mainly focuses on the design of three subneural networks and the optimization of network parameters, as well as the fusion method of the output results of these three subneural networks.SNN_1, SNN_2, and SNN_3 have one common input layer and two hidden layers, so that they can have a Complexity common network structure.In addition, three independent and different networks are set up in the third hidden layer. is design can simplify the network and share the weight information.e latter network structure maintains their independence, the number of neurons, and activation functions, and the number of hidden layers exist certain differences.e neural network has associated nonlinearities and are trained using greedy hierarchical supervision, and the final learning rate was manually specified and set to 0.05.Finally, the three subneural networks output their respective classification results through the Softmax regression layer.Some parameters of the structure of the entire network are shown in Table 2, where HL_x represents the xth hidden layer and the "Dropout column" represents the sparse rate that needs to be set.
e goal of the WWI-DNN algorithm is to identify the three gait phases of the human body, which solves the multiclassification task.However, the output of the neural network does not necessarily represent a probability distribution, so the output of the neural network must be transformed into a probability distribution through the Softmax regression layer, whose expression is shown in the following equation: en, the focus of the VWI-DNN algorithm is to establish a voting fusion mechanism.In the process of output fusion, the establishment of fusion algorithm is the core content of information fusion [37,38].e concept of voting fusion was therefore proposed to obtain more accurate results from multiple unreliable data.After years of development, there have been numerous voting algorithms, such as majority voting fusion, logical voting fusion, median voting fusion, and weighted average voting fusion.e voting weight of an excellent voting fusion algorithm should not be artificially set.It is more reasonable that its voting weight should be larger when a subneural network performs well and vice versa.In the AdaBoosting algorithm theory, the weight information is updated with the classification error rate, but the weight update is problematic when the error rate is higher than 50%.In order to avoid this problem, considering that good performance classifiers should be rewarded and poor performance classifiers should be punished, this paper proposes a weighted sum voting algorithm.e algorithm of weighted summation is to add the weights of the three networks to output the same result, respectively, and regard the sum of the weights as the fusion result.is is also a simple and effective information fusion algorithm.
In order to solve the multiple classifier weight problem, this paper introduces the weighting function.
is paper used the classification accuracy to determine the weight coefficient of each classifier.Equation (3) shows how to solve the accuracy of each classifier, and we need to set the corresponding weighting function to determine the weight coefficient of the classification.e image of the weighting function is given in Figure 6, and its expression is as shown in equation ( 5), wherein the expression of the reward function is indicated in equation ( 4).It can be seen that the derivative value of the reward function (Deriv_reward) has a negative correlation with the value of the abscissa, which is why this paper chooses it as a reward function.Such a function can make the model with good performance get larger reward.When the accuracy ε t is less than 40%, the weight should be reduced, so the weight coefficient is taken as ω i • exp(ε i − 1); similarly, when the accuracy ε t is more than 40%, the classification performance of the weak classifier can be considered great, and its weight should be increased, so the weight should be taken reward(ε t ).Meanwhile, in order to make the new weight available in [0,1], this paper normalizes c by using equation (6).In addition, given that one classifier cannot be made large on its own, this paper sets a minimum threshold of 0.26 for each classifier's weight.e classification weight of each classifier is obtained according to equation (7).e given ω initial value ω 0 is 33.33% and the initial value c 0 of c is 1.0.
e next step is to confirm the weight of the classifier.e classification result of each classifier is calculated by using equation (8).When the classification results are the same, the weights of these classifiers should be added and obtained the weight corresponding to each gait phase. is process can be expressed by equation (9), where c k indicates the probability output corresponding to the human gait phase k. e final classification result should be determined by the maximum weight value corresponding to each gait phase, thereby obtaining the final integrated output q, whose expression is as shown in equation (10), where n correct denotes the number of samples correctly classified, N total denotes the total number of samples, q i ′ denotes the value output by the ith subneural network through the output layer, and ω i denotes the weight of the ith neural network corresponding to the gait phase k, and when k � 1, it represents the starting phase; when k � 2, it indicates the swing phase; when k � 3, it indicates the foot phase.
Finally, the task of the VWI-DNN algorithm is to solve the problem of internal parameter update and optimization of each subneural network.e neural network generally updates the internal parameters of the network architecture by optimizing the loss function value.When using neural networks for classification, the usual function is the cross-entropy loss function [39] which characterizes the distance 6 Complexity between two probability parts so that the cross-entropy loss function can be used to calculate the distance between the predicted probability distribution and the probability distribution of the real answer.According to the cross-entropy loss function equation (11), we can obtain the loss function equations ( 12)-( 14) of the three subneural networks.When we train this network, we hope that the parameters of the first subneural network would not be changed when we train the other two neural networks.But the reality is that when you train any of the three subneural networks, the parameters of the shared layer will change.erefore, if the optimizer optimizes the three loss functions separately, the shared layer parameters will be changed reciprocally and the ideal result will not be achieved.In order to improve this situation, this paper proposes a method to optimize the global loss by using a classifier.e optimizer no longer optimizes the three crossentropy loss functions separately but only optimizes the sum of the three loss functions (loss_sum), which can ensure that the shared layer parameters can achieve a better result and the training speed can be improved.e loss_sum expression is shown in equation (15).
where q i (x) denotes the probability distribution of the three subneural networks predicting the phase of the three types of gaits after passing through the Softmax layer and p i (x) denotes the distribution of the real samples.
To avoid overfitting, 70% of the sample set was selected for training and 30% for testing.After training the three learning models 10,000 times with the same training set, the same test set was used to test the trained models, and the classification accuracy, macro-F value, and area ender curve (AUC) after the test were recorded.e entire process of this study is shown in Figure 7.

Evaluation Methods.
Comparing the classification performance of different classifiers cannot determine the effectiveness of the algorithm by a single metric and there are many other methods commonly used to obtain a full census.e evaluation metrics including Precision, Recall, Accuracy, and F1-score are used to compare different methods.Precision and Recall are widely used in the fields of information retrieval and statistical classification to evaluate the quality of results, where the higher the Precision and Recall value, the better the method performs.F1 combines the results of P and R, and when F1 is high, it indicates that Precision and Recall are both high, and this evaluation index is relatively effective.However, the classifier of this paper performs multiclassification task.We hope to comprehensively investigate the Precision and Recall on several binary confusion matrices, and the most direct way is to calculate macro-F1 [40].While, Accuracy reflects the ratio of the samples correctly classified by the classifier to the total samples for a given test data set.According to equations ( 16)-( 21), we can calculate these evaluation factors, where TP, TN, FP, and FN, respectively, Complexity represent true positive, true negative, false positive, and false negative.
In order to better analyze the performance of the classifier, this paper introduces the AUC under receiver operating characteristic (ROC) as the evaluation index of the algorithm.Spackman was the first to adopt ROC diagram for machine learning, and he proved the value of the ROC curve in evaluation [41].In recent years, it has been applied more and more in machine learning and data mining research, partly because people realized that simple classification accuracy is usually not a good indicator to measure performance [42].e AUC of each algorithm can be calculated to compare, and the algorithm that has the largest AUC will have the best diagnostic value:

Results.
e joint confusion matrix of three gait phase recognition results at different synchronization speeds are, respectively, shown in Figures 8-10.According to Figures 8-10, we can easily get Tables 3-5 which, respectively, classifies the performance for each training function in terms of HS, FF, HO, and SW phase under three kinds of sync speed.According to Tables 3-5, it can be observed that all of Bagging, Boosting, and VWI-DNN have macro-F1 of HS and SW phase recognition nearly up to 100%.While from the results obtained by F1, Bagging, and AdaBoosting have poor recognition effects on FF and HO phases.In particular, Bagging has a case where macro-F1 of the FF and HO phases is 0. It can also be clearly seen from the observation of Figure 8 that the Bagging algorithm can easily recognize the FF phase as the HO phase and the HO phase as the FF phase.e Bagging algorithm is extremely poor in HO phase and FF phase recognition.It can be seen from Table 5 that although Bagging and AdaBoosting have poor recognition of FF phase and HO phase, VWI-DNN algorithm proposed in this paper still has more than 98% macro-F1 value for the FF and HO phase.e three training functions have higher accuracy for SW and HS phases recognition at three paces, generally reaching more than 98%.As aforementioned, macro-F1 can comprehensively In order to comprehensively measure macro-F1 in four gait phases, macro-F1 was introduced in this paper.According to equations ( 16)-( 20), the corresponding macro-F1 can be calculated, and the corresponding Table 6 was obtained.According to Table 5, the recognition accuracy of the VWI-DNN algorithm is as high as 98% or more, while the other two training functions have lower accuracy.Especially, the Bagging algorithm has a phase recognition accuracy of less than 77% at three paces.It can be clearly seen from Figures 11 and 12 that the VWI-DNN algorithm is higher in accuracy and macro-F1 than the other two algorithms at any of the paces.By observing the AUC, we can also see that the VWI-DNN algorithm can reach 1.0, which is high.Figure 13 also illustrates the relationship between the three algorithms corresponding to the AUC at the unsynchronized paces.From Figure 14, it can be found that the Accuracy, macro-F1, and AUC of the VWI-DNN algorithm do not change much with the increase of the pace, which is relatively stable.

Discussion.
is study demonstrated the capability of the proposed system to detect gait phases based on acceleration signals.To support this hypothesis, this paper proposes to use the voting-weighted integrated neural network to identify the gait phase and compares it with other integrated learning algorithms to verify the effectiveness of the algorithm.

Acceleration Signals Analysis.
Walking activity emanated from the human body is important, and this information can be extracted through the use of acceleration signals.Although the VWF-DNN algorithm has shown certain validity in the classification of acceleration signals for gait event detection, it still needs to be further optimized in the future.In this study, the inertial sensor module needed to be placed at a designated location on the instep, lower leg, and thigh of each subject.However, due to the height, weight, gender, etc. of each subject, the sensors cannot be accurately placed in the specified position and can only be installed at an approximate designated position, which needs further investigation [43].
To characterize acceleration signals, there are three main cascaded modules which are data processing, feature extraction, and classification methods.It should be noted that the classification accuracy depends greatly on the features extracted.Moreover, four combined features is better than a single or two features for upper limb movement.is shows  3-5, it can be shown that the model has a poor recognition effect on the FF and HO phases. is may be due to the fact that the two adjacent phase features are too similar.In addition, Figures 8-10 also illustrate that the phase difference between the FF and HO phase characteristics are not obvious, but the proposed VWI-DNN algorithm in this paper can significantly improve this situation.
Regarding the effective classification of acceleration signals, the five TD features provide better classification of gait events and the average accuracy of the VWF-DNN algorithm for HS, FF, HO, and SW phases is 99.2%. is study was then compared to some of the previous research studies.With regard to the gait event, different walking conditions by IMU located on foot show 82.2% accuracy using the ANN [39].Similar result is achieved when five gait phases were classified using IMUs 82% accuracy [40].In addition, this is important for the development of assistive devices for the lower leg, as they have strong relationships with the gait event [41].To propose a system that may be applied to any individual, the generalization of trained VWF-DNN algorithm was tested on unlearned data of acceleration signals.
is study found that the proposed system could predict the gait event successfully for the unlearned data.In general, the detection of HS, FF, HO, and SW phases based on acceleration signals seemed reliable.
In reviewing the literature, the reliability of IMUs was questioned.It is interesting to note that the percentage of stance and swing phases of footswitch data was in line with the theory of the gait cycle as 60% of the complete cycle was the stance phase while the remaining percent was swing phase 40% [42].According to Observation Tables 3 and 4, it can be found that the recognition of FF and HO phases by Bagging and AdaBoosting is generally low, while other two phases is very high.In addition, according to observations of Figures 8-10, we can also see that Bagging and AdaBoosting divided FF phase into HO phase and also divide HO phases into FF phases.ese results indicate that the features we extracted may require further discussion.

Gait Phase Detection.
e purpose of this study was to apply a machine learning to predict HS, FF, HO, and SW from acceleration signals.In support of the hypothesis aforementioned, this study proposes the VWI-DNN algorithm and uses it to successfully predict HS, FF, HO, and SW phases.e results of learned data indicated that the acceleration signals had low variability and stability during walking on the ground.Compared with the research carried out by Nazmi et al. [1], this study can obtain higher recognition accuracy, but the neural network model used in this study was too complicated, which may lead to longer training time.Some portable gait event detection applications require functional electronic simulators, dynamic gait monitoring, and gait biofeedback [44], but currently no wearable sensors meet these requirements.
e VWI-DNN algorithm used a voting mechanism to fuse results and used three subneural networks to vote.Whether the three subneural networks are set up properly needs further exploration.e selection of the bonus penalty function takes the derivative changes and actual effects into account, but it still avoids the occasional occurrence of improper rewards and punishments, resulting in the final  classification results are not ideal.Nevertheless, the model used in this paper can still achieve the recognition accuracy and the macro-F1 value, which were higher than 98%.And as can be seen from Figure 13, the AUC value of VWI-DNN algorithm reaches the maximum value of 1.It can be seen from the performance of each classifier in the AUC that the classification result obtained by the VWI-DNN algorithm is more reliable.
In terms of the generalization of the proposed system, this study revealed the VWI-DNN algorithm achieved better performance in gait phase recognition.e VWI-DNN algorithm based on the voting weighting mechanism detects HS, FF, HO, and SW phases with higher recognition accuracy, macro-F1, and AUC than existing Bagging and AdaBoosting.However, the macro-F1 of the FF and HO phases obtained by Bagging and AdaBoosting are very low.According to Figures 8-10, these results indicate that the HS and SW phase was reasonably accurate and FF and HO phases should yield more warnings.Even so, using the VWI-DNN algorithm proposed in this paper still obtains a good recognition effect on the FF and HO phases, and in some sense compensates for the defects of dividing the two phases.
e study also shows that the proposed use of vector difference to distinguish between ST and IL phases does have a certain effect.In addition, it is possible to explain that the VWI-DNN algorithm proposed in this paper has strong performance in the field of gait phase division.

Limitations.
ere are some limitations to this study.Even though VWI-DNN has shown its usefulness in classifying acceleration signals for gait event detection, a further evaluation is needed using other machine learning 12 Complexity approaches.Future works should improve the classification accuracy by improving the method of extracting features, gait phase recognition algorithm, etc.In this study, the wearing three inertial sensor modules were assumed to be an acceptable wearable sensor compared to other wearable sensors.However, the wearing of the sensor in practice may have a potential impact on the gait of the person who has not yet been investigated.e detection of gait phase in this study relied on data collected by IMUs.Although acceleration sensors have low cost and fast dynamic response, the accuracy might be affected by the circuit design and placement of sensors.Different walking styles could lead to erroneous placement of IMUs.However, as the sensor processing advances and algorithm innovations, these errors are further reduced.erefore, IMU can possibly be applied in large scale in the direction of gait detection in the near future.

Conclusion
In order to recognize the walking gait phase accurately, this work proposed a VWI-DNN model to analyze multidimensional acceleration signals and detect different gait events including HS, FF, HO, and SW.It consists of three main parts, data preprocessing, multistream integrated neural network, and voting-weighted function, where data preprocessing employs PCA dimensionality reduction, four-phase division, and key feature selection in time domain.In addition, multiple refined DNNs are applied to design a multistream integrated neural network, which utilizes the mixture-granularity information to form a high-dimensional feature.Finally, a votingweighted function is developed to fuse dissimilar submodels as a unified representation for distinguishing small discrepancy among different gait phases.It constructs a general neural network allowing for fusing different voting decisions at each submodel and demonstrates its use as a practical way to massively increase model capacity.Experiments and discussion demonstrate the effectiveness of the VWI-DNN with higher accuracy and macro-F1 up to 99.5%, which outperform other voting methods.
e network generates large number of parameters, which increases the time for model classification.erefore, the model can only be trained on the GPU and the IMU data cannot be classified online on a convenient mobile device.Our future work is to try a lightweight network to compress the model parameters and speed.And we will attempt to combine our method with the newly updated work for other gait phase detection applications, such as rehabilitation training robot and medical Internet of ings.

Data Availability
e acceleration data used to support the findings of this study have not been made available since these data are related to the personal privacy of each volunteer involved in the experiment.

Figure 1 :Figure 2 :
Figure 1: Information about volunteers participating in this experiment.

Figure 3 :
Figure 3: Acceleration data collected under the three body parts: foot (a), thigh (b), and calf (c).a_x represents the acceleration in the x-axis direction, a_y represents the acceleration in the y-axis direction, a_z represents the acceleration in the z-axis direction, and a_com represents the combined acceleration.

Figure 4 : 3 Figure 5 :
Figure 4: Phase division diagram of gait.Green curve represents the acquired foot acceleration data, brown curve represents the acquired calf acceleration data, and blue curve represents the collected thigh acceleration data.

Figure 12 :
Figure 12: More tag data set classifier macro-F1 distribution under sync speed.

Table 3 :
Summary of classification performance of bagging at unsynchronized speed.

Table 4 :
Summary of classification performance of AdaBoosting at unsynchronized speed.

Table 5 :
Summary of classification performance of VWI-DNN at unsynchronized speed.

Table 6 :
Summary of classification performance for different training functions.