Preimpact Fall Detection for Elderly Based on Fractional Domain

%e aging population has become a growing worldwide problem. Every year, deaths and injuries caused by elderly people’s falls bring huge social costs. To reduce the rate of injury and death caused by falls among the elderly and the following social cost, the elderly must be monitored. In this context, falls detecting has become a hotspot for many research institutions and enterprises at home and abroad.%is paper proposes an algorithm framework to prealarm the fall based on fractional domain, using inertial data sensor as motion data collection devices, preprocessing the data by axis synthesis and mean filtering, and using fractional-order Fourier transform to convert the collected data from time domain to fractional domain. Based on the above, a multilayer dichotomy classifier is designed, and each node parameter selection method is given, which constructed a preimpact fall detection system with excellent performance. %e experiment result demonstrates that the algorithm proposed in this paper can guarantee better warning effect and classification accuracy with fewer features.


Introduction
According to a report of the World Health Organization (WHO) in 2018, about 400000 people die each year from fall around the world; fall has become the second leading cause of unintentional injury death and is also the number one cause of injury and death among the elderly in the community. e people needed for treatment of serious falls are 37.3 million per year [1], the fall in the low-and middleincome countries deaths accounted for 80% of the fall in the global death toll, and the proportion of people over 65 is the largest [2]. According to the 2018 Statistical Bulletin Social Service Development released by Ministry of Civil Affairs (MOCA) published, by the end of 2018, there are 249.49 million elderly people at or above the age of 60, accounting for 17.9 percent of the total population, of which 166.58 million are aged 65 or above, accounting for 1.9 percent of the total population. According to statistics, at least 20 million elderly fall 25 million times a year, directly resulting in medical costs more than 5 billion yuan. Every year in China, the social cost caused by elderly falls is estimated to be 16 billion∼80 billion; this cost will dramatically increase along with the aggravation of the aging population. To bring down the injury and death rate of elderly fall and the resulting social cost, the elderly must be detected [3], protected, or intervened for falls, and the premise of protection or intervention is the accurate monitoring of falls. In this context, fall monitoring has become a research hotspot for many scientific research institutions and enterprises at home and abroad.
Among them, fall detection is an effective fall protection strategy, in which the main idea is to automatically detect the occurrence of falls, so as to timely send out alarm and help information, save the time of rescue arrival, and thus greatly reduce the disability rate and death rate caused by falls. Although this method can accurately find the occurrence of falls, it still has its inherent limitations; that is, the detection takes place after the fall and the injury caused by the fall has already occurred, so the fall detection cannot fundamentally avoid the casualties caused by the fall.
Different from fall detection, the main idea of preimpact fall detection is to detect the occurrence of falls in the process from the occurrence of falls to the occurrence of an impact. erefore, preimpact fall detection can not only provide timely fall alarm and help and shorten the time of rescue arrival, but also break through the inherent limitations of fall detection, and work in cooperation with fall protection or intervention equipment to intervene or protect the person who falls, thereby radically avoiding or reducing the casualties caused by falls.
Several solutions for fall detection have been presented in the literature in recent years. In [12], an accelerometer installed at the waist detects the vertical acceleration of the inertial frame near the center of gravity of the body. e threshold method is used to distinguish the ongoing and unrecoverable fall motion from the nonfall motion. e advance time is 70 ms to 375 ms. In [10], acceleration, angular velocity, and body inclination are measured by inertial sensors, and the threshold method is used for fall detection. e lead time is 401.9 ± 46.9 ms, the sensitivity is 100%, and the specificity is 100%. Similarly, the authors of [11] use inertial sensors to measure the vertical velocity and displacement, and the threshold method is used for fall warning. e sensitivity is 93.6% and the specificity is 95.6%. Besides, in [13], the authors record 3D movements of the whole body, measure the linear acceleration of all body parts, and classify walking from accidental disturbances through artificial neural networks. e average detection time is 351 ± 123 ms, and the accuracy is 95.4%. ey also proposed that only by observing the feet and hands, the appropriate performance in terms of average detection time and accuracy can be obtained. e authors of [14] used the waist inertial sensor to measure acceleration and angular velocity and used the SVM algorithm based on hidden Markov model (HMM) for fall warning. e accuracy is 94.91%, the sensitivity is 97.22%, and the specificity is 93.75%. e present study tests the following hypotheses: is article mainly focuses on the research on efficient classification and early warning methods for the elderly to fall. e testers imitate the elderly walking, jogging, tripping, fainting, slipping while standing, and choosing wearables Inertial data sensor that includes a three-axis accelerometer and a three-axis gyroscope as data acquisition devices [15], preprocessing the data using the average filtering method and the fractional Fourier transform, selecting the classification algorithm that is easy to implement on the embedded system [16] and the appropriate motion feature as group standard, constructing a multilayer dichotomy classifier, and finally performing experimental verification. e rest of this article is arranged as follows. Section 2 is the theoretical basis; it introduces the method of inertial data acquisition and the principle of fractional Fourier transform and then applies it to the domain transformation of data to highlight different motions at different transformation orders. And Section 3 analyzes and compares fall detection algorithms based on the time domain threshold method, machine learning, and fractional domain. e experiments carried out are contained in Section 4. Finally, Section 5 describes the conclusions.

Inertial Data Collection.
e experimental data were collected through 15 wearable inertial sensors integrating triaxial accelerometers and three-axis gyroscope. e inertial sensors are shown in Figure 1, and the map of wearables on the body is shown in Figure 2, among which the No. 12 sensor and the No. 8 sensor were not worn in the experiment.
e main parameters of the sensor are shown in Table 1.
In this paper, falls are classified into tripping, slipping, and fainting under the state of walking or jogging [17]. By imitating the fall of the elderly in the above common motion state, the tester uses the above data acquisition device to collect the inertial data during the moving process. ere were three participants in the experiment; all were males. e experimental scenario is shown in Figure 3.

Domain Transformation.
For human motion data, it is usually analyzed from the perspective of time domain or frequency domain. At present, most of the documents directly extract the corresponding features from the time domain for classification or judgment. Considering that human movement also contains certain frequency information, the accuracy of classification can be improved to some extent by introducing frequency-related features. erefore, by introducing fractional Fourier transform, this paper extracts features from the perspective of the fraction domain and makes it contain both time domain and frequency information [18].

Fractional Fourier Transform eory.
In the field of signal processing, the traditional Fourier transform is a mature and widely used mathematical tool. In 1980, V. Namias proposed the concept of fractional Fourier transform (FRFT) in a purely mathematical way, from the perspective of the characteristic value and characteristic function [19]. Subsequently, some researchers proposed the concept of fractional Fourier transforms from the perspective of optics. It can be proved that these definitions are completely equivalent. Because fractional-order Fourier transform can be realized by simple optical equipment, it is first applied in optical signal processing. Until recent years, scholars at home and abroad have found several fast algorithms of fractional Fourier transform, which has attracted much attention in the application of signal processing and other fields.
Fractional Fourier transform is the signal representation method in the fractional Fourier domain which, formed by the coordinate axis, rotates counterclockwise around the origin at any angle in the time-frequency plane. It is a timefrequency analysis method and a generalized Fourier transform.
e fractional Fourier transform has many properties that the traditional Fourier transform does not have and can be widely used in scientific research and engineering technology. e fractional Fourier transform is defined as follows [19].
Generally, the p-order of fractional Fourier transform of function f(u) can be represented as follows: f p (u) or F p f(u); among them, F p f(u) can be explained by the operator F p effects on function f(u), and its results are located on u domain. e basic definition of fractional Fourier transform is (1) )π is the kernel function of the fractional Fourier transform, A α � exp[−jπsgn(sin α)/4 + jα/2]/|sin α| 1/2 , α � pπ/2, and n is an integer. e following can be derived from the above: Among them, T t (x) � exp(−jπtx 2 ), t � tan (α/2), s � −csc(α).
Notice F 4n and F 4n±2 are, respectively, equal to the unit operator τ and parity operator P. For p � 1, we have α � π/2, A α � 1, and f 1 (u) � +∞ −∞ e −j2πut f(t)dt. erefore, f 1 (u) is the ordinary Fourier transform of f(u), and the function of zero order transformation is defined as equal to the function itself. Since the α � pπ/2 only appeared on the position of the trigonometric function parameter, p(or α) as a parameter is based on the definition of 4 (or 2π) as a cycle. e reason for choosing fractional Fourier transform to extract the feature vector, besides comparing the time domain and frequency domain, is that Li Chao derived the relationship between the time domain amplitude average A of the signal and the amplitude B of the fractional domain from the theoretical time width-bandwidth product [20].
According to the fractional domain sampling theorem, the relationship between fractional bandwidth and frequency bandwidth is where α is the rotation angle of the frictional domain and α � pπ/2.
Among them, u α for frequency of fractional domain and x(u α ) is the fractional domain transformation of signal x(t).
We know the following from the indefinite principle of the signal frequency domain: e indefinite principle of the fractional domain can be derived from (4)-(6): According to Parseval's theorem, the energy of the signal in the time domain is the same as that in the fractional domain:   Mathematical Problems in Engineering Among them, E represents total energy in time domain and E α represents total energy in frictional domain. Moreover, Considering (7)-(9), the average amplitude A of signal in time domain has a nonlinear relationship with amplitude B in fractional domain and is related to the angle change α of the fractional domain.
Hence, we can convert the sequence of values with no significant difference in amplitude in the time domain into a sequence of fractions with significant differences in amplitude by selecting an appropriate FRFT order [20]. e method can be used to recognize various signals of motion feature effectively and achieve the purpose of recognition. (2) is a calculation method in the continuous domain. is continuous transformation cannot be calculated in practice. It is usually necessary to sample and interpolate the continuous signal for numerical calculation. Using Shannon's interpolation formula and numerical integration operation, the discrete calculation formula of the fractional Fourier transform is shown in the following equation [19]:

Fractional Fourier Transform
Effect. According to the above theory, we could use fractional Fourier transform to process the inertial data collected by the inertial sensor. Compared with the simple time domain and frequency domain, the fraction domain has better diversity and can provide more optional characteristic value.
First of all, it is necessary to compare the output of various data after different or the same order of fractional Fourier transform: the results of the same set of data after different order [20] transformation are shown in Figure 4. e results of the same class of data after the transformation of the same order are shown in Figure 5, and the results of different classes of data after the transformation of the same order are shown in Figure 6.
It can be found that the same set of data has obvious differences after transformation of different orders, and data of different types also have certain differences after transformation of the same order. erefore, we can choose the appropriate order to maximize the difference and then use the appropriate characteristic value to distinguish different motion states.

Selection of Characteristic Value.
e experimental data are collected through 15 inertial sensors that integrate threeaxis accelerometers and three-axis gyroscopes worn on the body. After the collected data are subjected to fractional Fourier transform, appropriate characteristic value needed to be extracted and then classified based on the characteristic value. However, not all characteristic values are suitable for inertial data. In addition, redundant characteristic values will lead to excessive calculations, time costs, and storage costs and will also reduce the battery life of the device, while too few characteristic values cannot achieve the accuracy required to distinguish various motions, so appropriate characteristic values need to be selected for motion posture recognition.
According to the characteristics of inertial data and fractional Fourier transform, ten characteristic values including the maximum value, maximum absolute value, maximum difference, standard deviation, variance, root mean square, interquartile difference, mean value, peak mean value, and peak number are selected as initial features to construct feature vector, as shown in the following equation:

Preimpact Fall Detection Algorithm
In the field of preimpact fall detection, there are mainly two kinds of commonly used classification algorithms: threshold method [21] and machine learning method [13]. reshold method refers to judging whether a fall occurs by determining whether a certain feature or several features exceed the preset threshold [22] in the process of movement. Machine learning trains more accurate prediction models through appropriate features and then judges whether a fall occurs by using the model. In this chapter, the algorithm design of preimpact fall detection is studied from the view of fraction domain and compared with the threshold method and machine learning method in time domain.

Prealarm eory.
Based on the time-domain threshold method, the preimpact fall detection is to directly process the acceleration and angular velocity collected by the inertial sensor and set an appropriate threshold value. When the collected data exceed the threshold value, the fall trend is judged. For a piece of data collected in real time, it can be expressed in the following form: Among them, X t represents the characteristics of the data collected at time t and T represents the preset threshold.

Feature Selection.
In general, the threshold method can choose one feature as the maximum value of the data collected in real time or a combination of multiple features as the classification basis. Generally, a single feature can guarantee a certain precision rate and recall rate. Appropriately increasing the number of features can improve the precision rate and recall rate; on the contrary, excessive features will reduce the precision rate and recall rate. In this paper, four characteristics value including global maximum absolute value (GMA), the global maximum value (GM), interval maximum value (IM), and interval maximum absolute value (IMA) are analyzed. Figure 7 shows the changes of the characteristics in the time domain with the original data before and after the fall. Among them, Figure 7(a) is the characteristic change with the original angular velocity, and Figure 7(b) is the characteristic change with the original acceleration. ere is a clear difference in the amplitude of the inertial data generated by regular exercise and falling. erefore, falling can be detected by setting the threshold. Among these features, the maximum absolute value of the interval can quickly reflect the occurrence of a fall, while the global maximum can ensure a lower recall rate. us, these two features are selected for further classification analysis.

Classification Process and Result Analysis.
In this paper, the average T of the maximum absolute value of the training sample at the time of the fall is calculated, and the threshold is ranged from 60% to 140% of the average. e time t p when the threshold is reached is regarded as the predicted time of the fall. We compare t p with the actual time of fall t r to get the delay time t d , while comparing t p with the time t c that falling collision happened to calculate the lead time t a . We count the number of misjudgments N w that mixed up a normal movement with a fall and finally evaluate the pros and cons of the classification effect based on the above parameters. Table 2 shows the prealarm effect of fainting. When the threshold is 1.32 m/s 2 , there is a misjudgment. When the threshold is 1.54 m/s 2 while the number of misjudgments is 0, the lead time is the largest. Table 3 shows the average optimal early warning effect for independent monitoring of falls. It can be seen that when a single fall state is monitored independently, the average advance time without misjudgment can be as high as 413 ms. However, there is a large gap between the threshold values of each fall state. Here, take the 80%-120% of the maximum threshold value and give the early warning for all fall states under the same threshold condition. Table 4 shows the optimal prealarm effect for all fall states under the same threshold condition (8.49 m/s 2 ). It can be seen that multiple fall states need to be monitored at the same time. Compared to independent monitoring, the prealarm performance is obviously reduced. e fall data of another tester were verified under the condition of keeping the threshold value of 8.49 m/s 2 , and the prealarm effect is shown in Table 5.
From the data in Table 5, it can be found that walkingslipping and jogging-slipping cannot be detected. It can be seen that the threshold method is seriously restricted by personnel, and the threshold used by different testers is significantly different. In addition, the threshold method also has the defect that it cannot distinguish the type of fall.

Preimpact Fall Detection Based on Machine Learning.
In addition to the threshold method, machine learning is also a common class of preimpact fall detection algorithms. Common machine learning algorithms include support vector machine (SVM) [14,[23][24][25], decision tree (DT), artificial neural network (ANN) [26], and k-nearest neighbor (K-NN) [27], which all can be used for model construction. Some have preferable performance including convolutional neural network (CNN), a class of support vector machine (1SVM), CNN+1SVM [28], hidden Markov model (HMM) [29], K-NN, and ANN [30]. is paper used the MATLAB machine learning toolbox to employ commonly used machine learning algorithms to conduct classification training on the training set and selected two algorithms with the best classification results. Table 6 shows the selected classification algorithms and classification accuracy. e data in the test set are intercepted through a sliding window simulating real-time data reading. After extracting its features, the data are sent to the trained model for classification. Finally, the classification results are compared with the actual motion curves. Figure 8 is the real-time simulation classification rendering of walking-fainting. Among them, the red curve represents the original data, the blue curve represents the classification effect of the weighted KNN algorithm, and the yellow curve represents the classification effect of the bagged trees algorithm of integrated learning. Among the classification results, 1-6 correspond to walking, jogging, fainting, tripping, and slipping, respectively.
It can be seen that the bagged trees algorithm of integrated learning has almost no misjudgment before falling, with an accuracy rate of 98.62%, while the weighted KNN algorithm has several misjudgments with an accuracy rate of 88.94%. Moreover, both algorithms give an alarm at the time of 217 sampling points, which are 11 sampling points in advance, namely, 367 ms, compared with 228 sampling points where the fall collision [12] occurs. Table 7 shows the fall prealarming accuracy and lead time of part of the test set. On the left side, we have the prediction result of the KNN algorithm, and the prediction result of the integrated learning algorithm is on the right side.
e lead time is calculated by the time difference       between the time when the fall was predicted to be correct for the first time and the time when the fall collision occurred. It can be seen that walking in the motion state is more likely to predict falling than jogging in the motion state, and jogging state is more difficult to distinguish from falling state in the time domain.

Preimpact Fall Detection Algorithm Based on Fractional
Domain. On the basis of the research in Sections 3.1 and 3.2, considering that human body motion also contains certain frequency information, if frequency-related features are introduced, the classification accuracy can be improved to a certain extent. erefore, this paper considers introducing the fractional Fourier transform to extract features from the perspective of the fractional domain, so that it contains both information of time domain and frequency. e theory of the fractional Fourier transform has been explained in Section 2.2. In this section, the data collected in the sliding window take the mixed order fractional Fourier transform, converted to the mixed order fractional domain, and then feature extraction is performed. According to the pairwise classification of these features, the most effective combination and the relief algorithm are used to calculate the weights of each feature and reduced the dimension. Finally, a multilayer dichotomy classifier is constructed.

Classification Method Selection.
To apply the fractional Fourier transform to fall prealarming, the classification algorithm must first be determined. In the commonly used threshold method and machine learning method, although the threshold method is simple to calculate, it is limited by the data and difficult to achieve the optimization by setting the threshold based on experience. Although most machine learning methods can provide high classification performance, the calculation of their prediction results is more complicated, which is not easy to implement on the on-board chip and will significantly increase computing power consumption and reduce battery life. Support vector machine (SVM) have mature and optimized classification algorithms, which is also suitable for implementation on onboard low-power chips. us, support vector machines are the most suitable choice.
Considering the classifier design idea, each step of classification is a dichotomy classification, and the number of features used in the final classification needs to be reduced as much as possible. After verification, only 2-3 features are required to achieve a better classification effect. erefore, the kernel function of SVM can be defined as the simplest linear kernel function or polynomial kernel function, and its expression is shown in the following: k(x, y) � ax T y + c d .
In summary, this article sets the classification algorithm of each subnode to SVM and directly uses the quadratic SVM tool in Matlab classification learner toolbox for classification analysis.

Evaluation Method of the Transformation Order of the Best Classification.
Considering that the transformation order and features required to separate any two motion states may be different, this paper uses the traversal method to calculate the classification effect of any two sets of motion states using all features at all orders. Table 8 is the best training effect of any two kinds of sports classified by the 20 sets of features calculated from the acceleration and angular velocity collected by the waist sensor. e upper part and the lower part, respectively, indicate the sensitivity and specificity of the classification. Table 9 shows the order of the best classification effect.
It can be seen from Table 9 that there are two cases for the best classification effect: the classification of walking and jogging has better sensitivity under the 0.3-order transformation and better specificity under the 0.1-order transformation; that means the best sensitivity and best specificity are not in the same transformation order. e sensitivity and specificity of walking-slipping classification can reach 100% under 0.2-order transformation; that is, the best sensitivity and best specificity are in the same transformation order. For the latter, the order can be directly used for classification, while for the former, a new order needs to be found that can satisfy high sensitivity and specificity at the same time.
ROC (Receiver Operating Characteristic) curve is usually used in machine learning to reflect the changes of model performance with the changes of a specific external stimulus. Referring to the ideas of the ROC curve, the true positive rate (TPR) and the false positive rate (FPR) were plotted as the ROC curve with the transformation order as the external stimulus condition during the process that the transformation order change from 0 to 1 in the process plots order. According to the Note. e prediction result of KNN algorithm is on the left side, and the prediction result of integrated learning algorithm is on the right side.
nature of the ROC curve, the point closer to the coordinate (0, 1) indicates that the classification effect of the point is better. Define the rectangular area S TF surrounded by four straight lines y � TPR, y � 0, x � FPR, x � 1 to represent the distance from (0,1). Draw the rectangular area corresponding to each order as a curve, as shown in Figure 9. Figure 9 shows the curve of the classification effect of walking-fainting with the change of transformation order. Among them, Figure 9(a) is the ROC curve. Since the TPR and FPR evaluating the classification effect do not show monotonicity with the increase of the change order, thus Figure 9(a) is not the ROC curve in the usual sense. Figure 9(b) is the curve. According to the property of the ROC curve, the curve directly reflects the classification effect. erefore, the optimal classification order and the corresponding optimal classification effect of this order can be determined according to Figure 9(b).
In this figure, the classification effect is best after the fractional Fourier transform of order 0.4, with the corresponding true positive rate of 99.74% and false positive rate of 2.86%.
In summary, on the basis of using all the feature values, the best transformation order for distinguishing walking and fainting through the waist sensor is 0.4 order.

Feature Dimension Reduction.
e feature vector used in the current classification is shown in (12); both acceleration and angular velocity need to be calculated once for each feature vector, so there are a total of 20 features actually used for classification. Considering that the classification algorithm is employed on a wearable device, exorbitant calculation amount will significantly increase the power consumption of the device, thereby reducing the battery life of the device. us, the number of features used in classification must be reduced.
Relief's feature classification algorithm is a feature dimensionality reduction algorithm mainly for dichotomy classification problems. Considering that the classifier used in this article is a multilayer dichotomy classifier, only two classes of objects at a time, there is no need to use Relief's extended algorithm Relief-F. is section still takes the classification of walkingfainting as an example to reduce the dimensionality of the walking-fainting data in the training set through the Relief algorithm. Table 10 is the evaluation value of each feature of the walking-fainting motion state under each order of fractional Fourier transform, in which MA stands for MaxABS, PM stands for PksMean, and PN stands for PksNum. e first ten features are calculated by acceleration, while the last ten features are calculated by angular velocity.
It can be seen from Table 10 that the Var., Std., and RMS of acceleration and the Var., MaxABS, and Std. of angular velocity have higher weights, indicating that these features have a higher contribution to distinguish between walking and fainting. e lower weights of the PksNum and PksMean features of acceleration and angular velocity indicate that these features have a lower contribution to distinguish between walking and fainting. e IQR of angular velocity has lower weights under the transformations of 0.6, 0.7, 0.8, and 0.9 order. Referring to the conclusion of previous Section 3.2.2, walking and fainting have the best classification effect under the 0.1-order and 0.4-order transformation, while the highest feature weight also appears under the 0.1-order transformation, indicating the reliability of the algorithm. erefore, the feature can be filtered by the weight, namely, feature dimensionality reduction.
Considering the combination relationship between features, the classification effect of selecting the two features with the highest weights for classification is not necessarily better than the other feature combinations, so the optimal solution for feature dimensionality reduction is not necessarily the top feature. e main idea of the boosting algorithm in integrated learning is selected in this paper to make feature selection. e main idea of the boosting algorithm is to construct a strong classifier through several weak classifiers, which is a serial iterative model. For the series of weak classifier combinations ABC, classifier A will generate a prediction result for the training sample, send the wrong part of this result to classifier B for training, and then send the wrong part of the prediction result of B into the classifier C for training. rough continuous iteration, several weak classifiers can be used to form a strong classifier with outstanding performance.
Referring to the main idea of the boosting algorithm, first the angular velocity var. of order 0.1 is selected, which is the feature with the highest weight in Table 10, and then the classification effect of the combination with other features based on this feature is traversed. Find the feature vector composed of two features with the best classification effect. Table 11 shows the result of the feature pair composed of the angular velocity var. and other features and sent to the SVM for training. e first ten features in the table are calculated from acceleration, and the last ten are calculated from angular velocity.
Since the order and feature group of the maximum value in Tables 11 and 12 are not completely the same, this paper chooses the form of obtaining the maximum value of the product to select the final transformation order and feature  group. Table 13 is the result of multiplying the values in Tables 11 and 12 in the same position. According to the calculation results in Table 13, take the maximum value to determine the classification parameters of walking and fainting: the angular velocity (var.) and acceleration (range) under the 0.1-order transformation. At this time, S TF is 0.951.

Multilayer Dichotomy Classifier Construction.
From the conclusions in Sections III-C-(b) and III-C-(c), the best classification order and feature group for separating a certain individual motion state from all sports can be calculated in turn and then iteratively, until the classification of all motion states is completed. Finally, we build a multilayer dichotomy classifier on the grounds of the calculation results. In addition, to ensure efficiency, the feature values used for classification are limited to no more than three. Table 14 shows the optimal classification effect between every two movements and the transformation order and the feature group used. Among them, the left side of the first row of each grid is that of the training set, and that of the test set is on the right side. In the second row of each grid, the transformation order is outside the brackets, and the feature  e feature combinations are represented by numbers instead of feature names, and the order is consistent with formula (12), 1-10 indicates the feature calculated from acceleration, and 11-20 indicates the feature calculated from angular velocity.
According to general laws, falls usually occur after the state of regular motion. erefore, the first layer of the classifier is the classification of regular motion, which divides the current motion into walking or jogging and then monitors the occurrence of falls in real time and finally divides the types of falls. Table 15 shows the optimal classification effect of the preimpact fall detection for walking and jogging and its transformation order and feature group used. Figure 10 shows the distribution of the features for classification of walking and jogging with the three falling states. According to the results, the preimpact fall detection parameters of two conventional states are classified.
After separating the fallen state from the regular motion state, the preliminary preimpact fall detection has been completed. e next step is to classify the three falling states. Using the same method, find the best classification order and feature group that separates one of the three falling states. Finally, separate the remaining two falling states according to Table 14. At this point, the preimpact fall detection and the classification of falling states are completed. Table 16 shows the optimal classification effect of a falling state  separated from the three falling states, its transformation order, and the feature group used. e classification that prioritizes the fainting state for separation works best, while the classification parameters of separating slipping and tripping states can be found in Table 14, which are 0.9 order and No. 5, 11, and 19 features. According to the above, a multilayer dichotomy classifier is constructed, as shown in Figure 11. In Figure 11, the training set accuracy of classifier a-g is, respectively, 99%, 95%, 94.5%, 87.3%, 87.3%, 85%, and 85%. e accuracy of the testing set is 95%, 94%, 91.5%, 92%, 92%, 88%, and 88%, respectively.

Experimental Design.
In the experiment of this section, we use the method described in Chapter II-A to obtain data, and the software is used to preprocess the collected data, specify order fractional Fourier transform, extract feature, and classify motion state.
In the experiment, we recorded 50 fall events for each tester. Since walking and jogging are indistinguishable in static pictures, the following only shows the cases of fainting, tripping, and slipping in the walking state in the experiment, as shown in Figure 12.

Experimental Result.
e classification result of the collected motion data is shown in Figure 13. Among them, Figures 13(a), 13(c), and 13(e) are the preimpact fall detection effects of fainting, tripping, and slipping during walking; Figures 13(b), 13(d), and 13(f ) are the preimpact fall detection effect of fainting, tripping, and slipping during jogging. Walking, jogging, fainting, tripping, and slipping are numbered 1-5 in sequence. It can be seen that during    walking, the occurrence of falls can be better warned, the average delay time is 89 ms, and the average lead time is 456 ms; the inertial data caused by jogging fluctuate greatly, so it is easy to be confused with falling. erefore, the preimpact fall detection during jogging is generally inferior to walking, with an average delay time of 322 ms and an average lead time of 240 ms. e algorithm proposed in this paper is compared with the threshold method and machine learning method, as shown in Table 17.

Discussion
A key goal of this article is to achieve efficient classification and early warning of falls for the elderly. e previous assumption is that it has higher classification performance and accuracy. From the experimental results, we can see that compared with other methods such as threshold method, this article proposes the algorithm which had enhanced the classification ability of falls and improves the accuracy and time of early warning. is will provide useful help for future fall detection research.   (10,9,5) 0.9-order (5,11,19) 0.9-order (5,11,19) 0.1-order (10,9,5) a b c d e f g However, the physical fitness of the experimenters in this study has limitations. It can be seen from the previous experiments that it has some influence on the fall classification results. In the follow-up, we consider collecting more fall data of the elderly to further improve the training of the classification model.

Conclusion
According to Section IV-B, the method proposed in this paper can better adapt to the movement feature of different people and distinguish different falling states compared to the threshold method. Compared with most machine learning methods, fewer feature values are used, which improves accuracy and lead time. Meanwhile, the classification boundary function of each subclassifier using SVM is a quadratic polynomial, which is more suitable for running on embedded systems. e experiment results show that compared with other methods, the method proposed in this paper has a better preimpact fall detection effect during walking. It can ensure better preimpact fall detection effect and classification accuracy using fewer features. e average lead time reaches 456 ms, and the average delay time is 89 ms. For the preimpact fall detection during jogging, the average lead time of the method proposed in this paper is 240 ms, and the average delay time is 322 ms.
Data Availability e data were collected by the project team using public equipment.

Conflicts of Interest
e authors declare that they have no conflicts of interest.

Authors' Contributions
Ning Liu, Dedi Zhang, Zhong Su, and Tianrun Wang contributed equally to this work.