Introduction

Gait analysis techniques have been used in clinical research to investigate the features of normal or abnormal gait, to quantify subsequent improvement after operation, and to assess balance and mobility monitoring. Objective measures of the motion analysis are necessary for better management of rehabilitation. Measurements of temporal parameters of gait are used for the evaluation of lower-extremity disorders and for the quantification of their subsequent improvement after therapeutic exercise. Various instruments have been developed to assist in the study of human gait. Motion analysis systems and force plates contain kinematics and kinetics in three planes to spatiotemporal measures of gait analysis, but their cost and intricate setting have limited those to use them for large trials and daily life [1]. Foot switches or pressure sensors attached to the sole are used temporal parameters [2, 3]. These techniques provide unsatisfactory results for abnormal walking and sensor attachment. Inexpensive and miniature accelerometer sensors have been used in a clinical setting [4]. Accelerometer is typically lightweight and wearable which facilitate unencumbered movement of the subject. And it can be used to detect simple temporal features of gait, such as the stride time. A uni-axial accelerometer to identify each heel strike was used by Evans et al. [5]. They demonstrated the possibility of detecting steps and stride time from trunk acceleration. Temporal parameters were measured using two accelerometers attached on thigh by Aminian et al. [6]. According to Zijlstra and Hof [7], a basic pattern of trunk acceleration with fixed relationships to spatio-temporal gait parameters could be expected during walking. Still, however, a portable and wireless acceleration data acquisition system to measure acceleration signals during walking and a gait analysis algorithm which can estimate temporal parameters has not been introduced. Also, the possibility to identify the main peaks of output signals such as heel strike and toe off from two accelerometers attached on each ankle compared with the standard reference based on footswitches has not been proposed.

In this study, we have developed a small, wireless, and portable three-axis acceleration data acquisition system to measure acceleration signal during walking and a gait analysis algorithm which can estimate temporal parameters of gait. We have also assessed its consistency by comparing its temporal parameters of gait with those of footswitches.

Methods

Subjects

The ten subjects (six men and four women, age: 25 ± 3 years) volunteered to participate in the validation study of gait cycles and walking step-peak detecting algorithm. Their average weight of the subjects 65 kg (range 48~85 kg), and their average height of the subjects was 166 cm (range 154~176 cm). Subjects with lower limb abnormalities, previous lower limb surgery, and low back pain as well as with neurological or surgical abnormalities on clinical examination were excluded from this study. Procedures were approved by the Human Investigation Committee of the Institution and all subjects signed informed consent form before participation.

Implementation of accelerometer system

Small and wireless system was built using three-axis accelerometer (MMA7260, Freescale, TX, USA). The sensitivity of accelerometer is calibrated by rotating device with variable speed, and measured to calibrate the accelerometer signals in gravitational constant g (=9.8 m/s2) as a unit. With the advantages of small-package size (6 × 6 × 1.45 mm; QFN-16 package) and low power consumption, the system could be powered by a small 3.7 V Li-Polymer cell battery (300 mAh). In order to detect heel strike and toe off time of ankle, small and sensitive pressure sensors (foot switch/ IESF-R-5L, CUI Inc., OR, USA) were connected to the proposed system and located in one’s shoes. So, we could observe contact time of heel and toe, also, acceleration of ankle at the same time. Overall specifications of the developed system are summarized in Table 1 and system configuration diagram and photos are shown in Figs. 1 and 2.

Fig. 1
figure 1

System block diagram of portable activity monitoring system

Fig. 2
figure 2

Photos of the portable activity monitoring system and foot switches

Table 1 Specification of the proposed portable activity monitoring system

Data processing

Both the accelerometer data and foot switch data from the pair of ankle devices were A/D converted and transmitted wirelessly to the PC-side receiver at the rate of 60 Hz. The Acknowledge 3.7.3 program (BIOPAC, USA) was used to store transmitted data. Then, three-dimensional acceleration data is transformed into a “signal vector magnitude (SVM) [8] which is represented as:

$${\text{SVM}} = {\sqrt {a^{2}_{x} + a^{2}_{y} + a^{2}_{z} } }$$
(1)

Then, in order to extract features points which are associated with gait cycle, LPF (f pass = 6 Hz, f stop = 10 Hz) was designed.

$$y{\left[ n \right]} = {\sum\limits_{i = 0}^{10} {b_{i} x{\left[ n \right]}} }$$
(2)

where x[n] is the input signal after SVM calculation and {b i } are the coefficients of low-pass filter. Frequency response of LPF is shown in Fig. 3. After low-pass filtering, in order to extract peak candidate points, least-square polynomial derivative approximations filter is applied. The difference equation for the five-point filter is:

$$y{\left[ n \right]} = \frac{1}{{10}}{\left( {2x{\left[ n \right]} + x{\left[ {n - 1} \right]} - x{\left[ {n - 3} \right]} - 2x{\left[ {n - 4} \right]}} \right)}$$
(3)
Fig. 3
figure 3

Frequency response of low-pass filter

Then, step peak detection algorithm, based on syntactic peak-valley detection algorithm was applied. From the detected step peaks of each subject, consecutive 20 steps were selected for the gait analysis. Figure 4 shows the flowchart of walking step-peak detection algorithm.

Fig. 4
figure 4

The flowchart of walking step-peak detection algorithm

Gait analysis

The proposed activity monitoring system was attached to the lateral side of the both ankles. Two footswitch sensors were placed inside each sole of shoes, under the heel and the first metatarsal. This way, the moments of heel strike and toe-off were directly detected. The subjects walked over a 5 m-straight corridor for 5 min. They were instructed to walk at their preferred speed while monitored wirelessly by the proposed activity monitoring system. Then from the data for the 20 consecutive steps, prominently repeating peaks of step-peak points were marked to calculate the temporal parameters of gait cycle. The Acknowledge 3.7.3 program was used for the visual inspection while comparing it with simultaneous footswitch data, and the following gait parameters were determined for the each gait cycle: stance time(ST), swing time(SW), single-limb support time(SS), and double-limb support time(DS; Fig. 5). From the 20 values for the each parameter in a single leg, statistical mean and standard deviation were calculated and used for the further statistical test.

Fig. 5
figure 5

The relationship between the ankle acceleration during gait cycles and the temporal gait parameters for each gait cycle: Stance time (ST), Swing time (SW), Single-limb support time (SS), and Double-limb support time (DS)

Statistical analysis

For the consistency study, the ICCs (Intraclass correlation coefficients) were used for each gait parameter. The ICCs value less than 0.75 were considered as ‘poor to moderate’, greater than 0.75 as ‘good’, and bigger than 0.90 as ‘excellent’ [9].

Experiments and results

The walking step-peaks which appear when left and right foots contact the ground, regarded as reference points in analyzing temporal parameters. Figure 5 shows the relationship between the ankle acceleration during gait cycles and the temporal gait parameters for each gait cycle. The red squares indicate step-peaks which are detected in gait cycles. As a validation study of walking step-peak detection algorithm, ten young subjects (25 ± 3 years) were instructed to walk on running machine at various predefined revolution speeds as summarized in Table 2. In order to compare detection accuracy, pedometer (HJ-150, OMROM, JAPAN) were used to all subjects, and real walking steps are countered by hand counter manually. Figure 6 shows examples of step-peak detection result at the speed of 2 and 4 km/h. When subject walked at the speed of 2 km/h, the intensity of acceleration (normal to ground plane) is not enough to trigger wire-spring of pedometer, but sensor has enough sensitivity to trace upward and downward acceleration of the body. At the speed of 4 km/h, a wire-spring of pedometer was triggered when the foot wearing the proposed monitoring system contacts the ground, but not triggered when the opposite foot contacts the ground. Even in this case, the accelerometer was enough to sense the small change of acceleration, and the proposed algorithm could detect correctly step-peaks as well. Figure 7 shows a whole step- peak detection result from one of our subjects. Over the speed of 6 km/h, the proposed algorithm and pedometer both could detect step-peaks correctly. Most of errors for pedometer were from the low intensity of vertical acceleration which might not enough to trigger wire-spring of pedometer. Overall accuracy of step-peak detection is summarized in Table 3. The accuracy of the proposed algorithm is 99.15% (±0.007) and 87.48% (±0.033) for a pedometer.

Fig. 6
figure 6

An example of walking step-peak detection result at speed of 2 and 4 km/h: the red triangle indicates automatically detected step-peak

Fig. 7
figure 7

The result of walking step-peak detection over various walking speeds

Table 2 Experiment protocol of running machine for the validation of walking step-peak detection algorithm.
Table 3 The accuracy comparison between the proposed walking step-peak detection and pedometer from a verification experiment

A typical example of ankle acceleration during gait cycles was plotted in Fig. 8. The results showed that the temporal parameters detected by the footswitches and those from the accelerometers matched well. The average temporal parameters of gait cycles were summarized in Table 4. The mean duration of the right and left stance, swing, single-limb support, and double-limb support phases showed the differences in the accelerometers and footswitches for 20 steps (Table 4). Temporal gait parameters measured with our system revealed high ICCs (Table 5). The ICCs of the stance time was greater than those of the swing, single support, and double support time.

Fig. 8
figure 8

The result of temporal gait parameter analysis. The vector sum of left and right foot ankle acceleration were plotted with output of footswitch over three strides for the comparison. Upper waveforms indicate raw signals of accelerometers and footswitches and bottom for filtered signals

Table 4 Gait temporal parameters calculated using the accelerometers placed on each ankle accelerometer and footswitch placed under each sole of foot
Table 5 Consistency comparison of ICC of variation for accelerometers and footswitches parameters for healthy subjects

Discussion

The purpose of this study was to develop and to verify a novel, portable and wireless gait cycle analysis system. To verify the proposed system, footswitches were selected as standard criteria because footswitches have been generally used to measure the beginning and end of walking [10, 11]. The result of the study showed that two peaks of acceleration for each gait cycle from the accelerometers could be found in normal gait. The first accelerometer peak meaning heel contact and the second peak meaning toe off matched well with footswitch actions, thus showing that gait phases were related to main peaks of acceleration. This result supported the study by Saremi et al. [1], which showed gait phases were related to main peaks of acceleration. In addition, the temporal parameters of gait from footswitches and those from the accelerometers were consistent enough that our system could be used as a valuable tool for gait analysis (Table 5).

This paper has focused on the pattern of accelerometer signal vector sum (SVM). The signals from accelerometers can provide useful information for gait analysis not in each of vertical, anterior-posterior, and medio-lateral axis but in the sum of three vectors. Acceleration is significantly influenced by the direction. But it may be not in one direction but in the sum of three directions. Walking is a natural locomotion and can be influenced by three directions.

In addition, the signals from the accelerometers on the ankle showed a higher consistency. This may be due to the activity of both ankles during forward progression. Walking is a distal lower-extremity performance which is primarily controlled by the ankle and foot.

ICCs were used to analyze the consistency in the temporal parameters of gait from footswitches and that of the accelerometers. The higher ICCs for temporal measures suggested that it could become a valuable tool for measuring phases of a gait cycle. Like other reliability coefficients, the ICC ranges from 0.00 to 1.00 [12]. It is calculated using variance estimates obtained through an analysis of variance. Therefore, it reflects both degree of correspondence and agreement among ratings.

The acceleration signal shape from our study was different from other studies, suggesting that the accelerometer position could affect the signal shape. The influence difference from the different accelerometer position on the body could be considered in the further studies.

The limitations of this study were small number of steps; only 20 steps from each subject were selected by automatic classification algorithm. Therefore, for generalization of our findings, further study is warranted with large number of subjects and automatic signal analysis program. Despite this limitation, our portable and wearable activity monitoring system was proved to be a valuable tool to calculate temporal parameters of gait. The 3D acceleration measurement system is inexpensive and comfortable to wear, and it can partially replace or complement the complex and expensive motion analysis.

Conclusion

In this study, portable and wireless activity monitoring system based on three-axis accelerometer was developed and its validity for detection of walking step-peak and calculating temporal gait parameters was confirmed. The main peaks of the acceleration data for heel strike and toe off could be accurately detected. This system was found to be a highly consistent tool to measure gait detection in healthy subjects in daily life for functional gait analysis. The system demonstrated the feasibility for being used for mass trials and functional gait monitoring.