Nothing Special   »   [go: up one dir, main page]

Academia.eduAcademia.edu
IEEE TRANSACTIONS ON NEURAL SYSTEMS AND REHABILITATION ENGINEERING, VOL. 9, NO. 2, JUNE 2001 113 A Reliable Gait Phase Detection System Ion P. I. Pappas, Milos R. Popovic, Thierry Keller, Volker Dietz, and Manfred Morari Abstract—A new highly reliable gait phase detection system, which can be used in gait analysis applications and to control the gait cycle of a neuroprosthesis for walking, is described. The system was designed to detect in real-time the following gait phases: stance, heel-off, swing, and heel-strike. The gait phase detection system employed a gyroscope to measure the angular velocity of the foot and three force sensitive resistors to assess the forces exerted by the foot on the shoe sole during walking. A rule-based detection algorithm, which was running on a portable microprocessor board, processed the sensor signals. In the presented experimental study ten able body subjects and six subjects with impaired gait tested the device in both indoor and outdoor environments (0–25 C). The subjects were asked to walk on flat and irregular surfaces, to step over small obstacles, to walk on inclined surfaces, and to ascend and descend stairs. Despite the significant variation in the individual walking styles the system achieved an overall detection reliability above 99% for both subject groups for the tasks involving walking on flat, irregular, and inclined surfaces. In the case of stair climbing and descending tasks the success rate of the system was above 99% for the able body subjects and above 96% for the subjects with impaired gait. The experiments also showed that the gait phase detection system, unlike other similar devices, was insensitive to perturbations caused by nonwalking activities such as weight shifting between legs during standing, feet sliding, sitting down, and standing up. Index Terms—Detection, force sensitive resistor, functional electrical stimulation, functional neuromuscular stimulation, gait cycle, gait phases, gyroscope, identification, walking. I. INTRODUCTION INCE the early 1960s a number of systems that applied functional electrical stimulation (FES) were successfully implemented to help individuals with spinal cord injury or brain trauma to restore the walking function [1]–[3], [11], [16]. Liberson et al. [1] unilaterally stimulated the ankle dorsiflexion muscles during the swing phase to compensate for the “drop-foot” problem.1 Later, various FES systems were designed to help subjects with both disabled legs, to walk. These FES systems provided bilateral leg stimulation. Commercial systems such as MikroFES (Jozef Stefan Institute of S Manuscript received June 28, 2000; revised January 18, 2001 and February 26, 2001. This work was supported in part by the Swiss National Science Foundation under Grant 5002–44985.2. I. P. I. Pappas and M. Morari are with the Automatic Control Laboratory, Swiss Federal Institute of Technology Zurich (ETHZ), ETL K28, CH-8092 Zurich, Switzerland (e-mail: pappas@aut.ee.ethz.ch; morari@aut.ee.ethz.ch). M. R. Popovic is with the Institute of Biomaterials and Biomedical Engineering, University of Toronto, Toronto, ON, M5S 3G9, Canada (e-mail: milos.popovic@utoronto.ca). T. Keller and V. Dietz are with ParaCare, Paraplegic Center of the University Hospital Balgrist, CH-8008 Zurich, Switzerland (e-mail: kellert@aut.ee.ethz.ch). Publisher Item Identifier S 1534-4320(01)04450-3. 1“Drop-foot” is the term commonly used to describe the inability of the subject to contract the ankle dorsiflexor muscles and to lift the foot off the ground, which is essential during the swing phase. Science, Slovenia), Odstock (Salisbury District Hospital, U.K.), WalkAide (Neuromotion, Canada), and Parastep (Sigmetics Inc., USA) were developed and successfully used for unilateral or bilateral leg stimulation in subjects with brain trauma and incomplete or complete spinal cord injury. Thus far several sensor combinations, including manual switches [2], [4], [16], foot switches [2], [4], [16], force sensitive resistors [7], inclinometers [8], goniometers [5], [7], gyroscopes [12], accelerometers [9], [10], electromyography (EMG) sensors [11], and implanted recording nerve-cuff electrodes [13], [14], were proposed to control the timing of the stimulation sequences generated by FES systems for walking. These sensors were used to distinguish between stance and swing phase during walking or to identify multiple gait cycle phases (events). In what follows, we will briefly review these sensors and their detection performance. The study carried out by Ott et al. in [4] and our study in [16] showed that a foot switch, due to its poor detection reliability, is not the appropriate solution for triggering stimulation sequences of a FES system for walking. In particular, the foot switch cannot differentiate foot loading and unloading sequences generated during walking from those that are caused by weight shifting between the legs during standing. In a study by Ng and Chizeck [5], measurements from goniometers at the hip, knee, and ankle joints were used in combination with a fuzzy model classification method to detect five different gait phases. However, the method suffered from frequent detection errors, as shown in the article. Kostov et al. in [7] used a machine learning technique to replicate the time-instances when a subject manually triggered the onset of the stimulation sequences while walking with a FES system for “drop-foot” compensation. Inputs to the detection algorithm were measurements from force sensitive resistors placed on the shoe insole and measurements from goniometers that recorded hip adduction/abduction, hip flexion/extension, knee flexion/extension, ankle flexion/extension, and ankle inversion/eversion. This system did not provide any information about the actual gait phase of the subject during walking. In a study by Dai et al. [8] different tilt sensors and inclinometers were used to detect the step intention (the moment when the lower leg tilts backward at the end of the stance phase) in order to trigger a FES system for “drop-foot” compensation. Experiments carried out at our laboratory indicate that this approach is not sufficiently reliable. We have discovered that during nonwalking tasks, such as sitting down and standing up, a subject with a “drop-foot” problem often had the shank moving in the range typical for walking, and a tilt sensor or an inclinometer identified this motion as a step intention. Kirkwood et al. in their case study presented in [6] combined measurements from goniometers and instrumented shoe insoles to derive four distinct gait phases using inductive learning 1534–4320/01$10.00 © 2001 IEEE 114 IEEE TRANSACTIONS ON NEURAL SYSTEMS AND REHABILITATION ENGINEERING, VOL. 9, NO. 2, JUNE 2001 techniques. The experiments performed in their laboratory showed that the detection accuracy of the proposed system was between 70% and 97%. That is insufficient for practical applications. In [12], Tong and Grant showed that with the use of two gyroscopes, one placed on the thigh and the other one on the shank, one can measure the knee angle during walking. In [9], Willemsen et al. suggested the use of accelerometers, placed below the knee, to distinguish stance and swing phases during the gait cycles. This system like the one proposed by Dai et al. in [8] provided only information about the transition between the stance and swing phases while other gait phases were not treated. In [10], Williamson and Andrews used three accelerometers mounted on the shank of the leg and a machine learning algorithm to detect the transitions between five gait phases during walking. The authors reported that except for occasional signal chattering and small time delays (average time delay was in the range 23–40 ms) the system had 100% detection reliability. This system still remains to be tested in the outdoor environment and during walking on irregular surfaces, slopes, and stairs. Graupe et al. in [11] used EMG measurements of the pectoralis muscles’ activity to trigger stimulation sequences of a neuroprosthesis that facilitated bipedal walking. Although very effective, the proposed system did not provide information about gait phases. Another interesting method for detecting transitions between the stance and swing phases is based on measurements of afferent nerve activity with implanted nerve-cuff electrodes. Strage and Hoffer [13] and Upshaw and Sinkjaer [14] implanted nerve-cuff electrodes in cats and humans, respectively, and reported that they could detect the transition between the stance and lift-off gait phases with reliability close to 99%. Systems measuring afferent nerve activity are invasive, sensitive to electromagnetic interference, and so far provide information about only one gait event. Despite the numerous sophisticated techniques for gait phase identification, in practice the most widely used method to trigger the electrical stimulation sequences is still a manual switch (push button), because up to now it was the most reliable method. The main disadvantages of the manual push-button control technique are that it requires the subject’s uninterrupted and continuous attention and that with the push-button the subject can only indicate a limited number of gait events. To improve the quality of the leg motion in future FES systems for walking it is crucial to precisely control the timing of the applied stimulation sequences. To achieve this, one possible approach is to develop an automatic, accurate, and reliable gait phase sensor that can provide information about multiple gait phases during walking and to use this information in a closed-loop scheme with the FES system. In this paper a new portable gait phase detection system (GPDS) for closed-loop FES walking applications is presented. The GPDS uses a different (new) sensor combination consisting of three force sensitive resistors that measure the force load on a shoe insole and a miniature gyroscope-chip that measures the rotational velocity of the foot. The system detects accurately and reliably in real time the four gait phases: stance, heel-off, swing, and heel-strike (definitions are provided in Appendix A). Experiments that involved ten healthy subjects and six subjects with impaired gait showed that the GPDS Fig. 1. Placement of the sensors used by the GPDS. reliably identified the above gait phases both in indoor and outdoor walking tasks, despite the large variation in walking styles and walking conditions. The experimental study included walking tasks such as walking on flat and irregular ground, walking on slopes, stepping over small obstacles, and climbing and descending stairs. Furthermore, the GPDS has the ability to distinguish “true” walking from feet sliding or shifting of the weight from one leg to the other while standing. Finally, the GPDS has the potential to be miniaturized to fit together with the microcontroller unit inside a 1-cm-thick shoe insole. Although the GPDS was developed for close-loop FES walking applications, it could also be used in gait analysis applications, as a diagnostic and screening tool for assessing gait pathologies, as a tool to provide biofeedback in rehabilitation applications, and for various virtual reality or computer games’ applications. II. METHODS AND MATERIALS A. Hardware Description The GPDS relies for the detection of the gait phases on two types of “off-the-shelf” sensors: 1) three force sensitive resistors (FSRs) that are used to measure forces exerted by the foot on the shoe insole during walking and standing, and 2) a gyroscope that measures the rotational velocity of the foot (see Fig. 1). The sensor signals were sampled at a frequency of 100 Hz with a resolution of 10 bits and processed on a 20-MHz microcontroller board (Hitachi SH7032). No calibration of the sensors was needed prior to the experiments. The FSRs (Interlink El. Inc. FSR 152 NS) were small (∅ cm) flat resistors whose resistance changes nonlinearly with applied force. One of the FSRs was placed underneath the heel and two underneath the first and fourth heads of the metatarsal bones. Two (instead of one) FSRs were used underneath the metatarsal heads since the foot is not always loaded symmetrically (irregular ground or asymmetric gait style). For the experiments the FSRs were taped with a masking tape on a 3-mm-thick shoe insole. The same insole and FSR sensors were used for each subject, but the insole size and positions of the FSRs were adjusted according to the individual’s foot size and form. The FSRs are not precision sen% part-to-part repeatability), therefore they sors (specified were only used as two-state switches to indicate when weight was applied to them and when not, which was achieved by measuring the voltage drop across each FSR connected in a voltage divider circuit. Their specified switching time delay was 1 ms. The FSRs alone neither can distinguish between true walking and weight shifting from one leg to the other, nor can they provide any information about the foot condition during the swing phase. PAPPAS et al.: RELIABLE GAIT PHASE DETECTION SYSTEM The miniature gyroscope (Murata ENC-03J, size 15.5 8.0 4.3 mm, weight 10 g) was attached to the posterior aspect (heel) of the shoe with its sensing axis oriented perpendicular to the sagittal plane to measure rotations of the foot in that plane (see Fig. 1). The Murata ENC-03J gyroscope measured the rotational velocity by sensing the mechanical deformation caused by the Coriolis force on an internal vibrating prism. The gyroscope signal was filtered by a third-order bandpass filter (0.25–25 Hz) with a 20-dB gain in the pass band. The frequencies outside the passband were filtered out because they were not related to the walking kinetics. The filtered gyroscope signal was used to directly estimate the angular velocity of the foot and it was integrated to estimate the inclination of the foot relative to the ground. A resetting mechanism was built in the algorithm to avoid accumulation of drift errors in the integrated signal. The foot inclination (integrated gyro signal) was reset to zero during the stance-phase when all three FSRs were loaded. A detailed discussion about the gyroscope signal processing and the effect of varying ambient temperature on the gyroscope performance was presented in [15]. B. The Gait Phase Detection Algorithm The GPDS divided the gait cycle in four different gait phases: stance, heel-off, swing, and heel-strike. These gait phases were represented in the form of a state machine with four distinct states. The loop frequency of the state machine was 100 Hz, i.e., equal to the sensor sampling frequency. The transitions between the states were governed by a knowledge-based algorithm, which was derived after off-line processing and testing of numerous experimental data sets. The algorithm allowed a total of seven different transitions (T1–T7) between the four gait phases, as illustrated in Fig. 2. A summary of the rules governing these transitions is given below. Note: In the following discussion we assume that the subject is viewed from the right lateral side and clockwise rotations are considered positive. The symbol represents the inclinais the tion angle of the heel with respect to the ground and threshold for the detection of the heel-off phase. The variables heel, metat1, and metat4 represent the status of the FSRs underneath the heel, and the first and fourth metatarsal heads, reand represent small threshold values spectively. Finally, for the detection of close to zero angular velocities and accelerations, respectively. Transitions Between States: heel-off) In the stance phase, the algorithm T1: stance awaits the beginning of the heel-off phase. The heel-off phase is detected when the heel FSR is not pressed and the inclination of the heel with respect to the ground exceeds a given threshold angle (3 ). The inclination of the heel is obtained by integrating the gyroscope signal. AND (heel = not Transition condition: pressed). T2: heel-off swing) In the heel-off phase the algorithm anticipates the transition to the swing phase. The condition for the transition to the swing phase is that none of the FSRs is pressed and that the rotation of the heel changes 115 Fig. 2. The GPDS divided the walking cycle into four gait phases: stance, heel-off, heel-strike, and swing. The arrows T1–T7 illustrate the possible transitions between the gait phases. from positive (in the heel-off phase) to negative direction. AND ( heel = metat4 = Transition condition: ' not pressed). heel-strike) In the swing phase the algorithm T3: swing awaits the transition to the heel-strike phase, which begins with the first contact of the foot with the ground. Thus, the heel-strike phase is detected as soon as any of the FSRs are pressed. In normal gait, the heel touches the ground first. However, when climbing stairs or in pathological gait styles, the first contact can be established with the front part of the foot. Transition condition: (heel = pressed) OR (metat1 = pressed) OR (metat4 = pressed). T4: heel-strike stance) After the heel-strike the next phase is stance, which begins when both the front and rear part of the foot touch the ground. This event is detected when the heel FSR and at least one of the front FSRs are pressed. It is not required that both front FSRs are pressed, because on irregular ground (or if the subject has a pathologic walking style) only one side of the foot may be loaded. A special case is when a subject climbs stairs and places only the front part of the foot on the step. According to the above rule the GPDS could not detect the stance phase. However, we know that during the stance phase the rotational velocity of the foot is close to zero. Therefore, the transition from the heelstrike phase to the stance phase is also detected if the rotational velocity and its derivative are close to zero. Transition condition: [(heel = pressed) AND ((metat1 = pressed) OR (metat4 = pressed))] OR [ AND ]. The following state transitions are allowed as well: stance) If the subject lifts the heel and then T5: heel-off places it back onto the ground (without going into a swing phase, as for normal walking) this event is detected in the gait phase detection algorithm by a transition from heel-off to stance (T5). If during the heel-off phase the status of the heel FSR is pressed, the algorithm transits to stance phase. Transition condition: heel = pressed. 116 IEEE TRANSACTIONS ON NEURAL SYSTEMS AND REHABILITATION ENGINEERING, VOL. 9, NO. 2, JUNE 2001 TABLE I SUBJECTS’ DATA FOR BOTH GROUPS A AND B T6: stance swing) In certain pathological gait-styles and occasionally in the first of a sequence of steps the foot does not go through a true heel-off phase (no detectable heel rotation) but moves directly from stance to swing phase. Such a transition (T6) takes place under the condition that none of the three FSRs is pressed and that the gyroscope signal indicates a negative rotational velocity of the foot. Transition condition: same as for T2. stance) In certain pathological gait styles the T7: swing heel-strike phase is too short and it can not be detected as a distinct phase. In this case the algorithm transits from the swing phase directly to the stance phase (T7). The condition for this transition is that the heel FSR and at least one of the front FSRs is pressed or that the rotational velocity and its derivative are close to zero. Transition condition: same as for T4. TABLE II ADDITIONAL INFORMATION ABOUT SUBJECTS IN GROUP B C. The Optical Motion Analysis System To validate the GPDS’ performance we have compared the GPDS output with the measurements obtained with the commercial optical motion analysis system Vicon 370 (Oxford Metrics Ltd., U.K.). Vicon tracked and measured the three-dimensional (3-D) trajectories of retro-reflective markers placed on the subject’s body, as shown in Figs. 3 and 4(b). Three Vicon cameras with sampling frequency 50 Hz were used to track the mm. The markers’ tramarker positions with accuracy of jectories were used to extract a “reference” gait phase signal that was later used to validate the accuracy of the GPDS output signal (how the reference signal was generated out of raw Vicon measurements is described in Appendix B). Fig. 3. Positions of the retroreflective markers that were placed on the knee, heel, and toe. The Vicon measurement system tracked and measured the 3-D trajectories of these markers during the experiments. III. EXPERIMENTAL STUDY An experimental study was carried out in order to quantify the detection success ratio of the GPDS on a wide variety of gait styles. The study involved a group of ten healthy adults (group A) and a group of six adults with various gait pathologies (group B). The subjects from the group A had no known orthopedic, metabolic, or neurological impairments or pain that could modify or influence their natural walking patterns (see Table I). Despite their gait pathologies, the subjects from the group B all were able to walk short distances with or without crutches (see Tables I and II). All subjects were informed about the purpose of the experiment and written consent was obtained from each subject prior to the study. The experimental study consisted of four parts. In Part I, the delay and accuracy of the GPDS output were evaluated using the reference gait phase signal obtained from the Vicon 370 system measurements. In Part II, performance of the GPDS was tested on a variety of walking tasks such as walking on level ground, walking on slopes, walking on irregular surfaces, and climbing stairs. Part III consisted of a number of nonwalking tasks to verify that the GPDS does not produce false gait detection during these tasks. Finally, the purpose of Part IV was to determine the range of walking speeds for which the GPDS yields reliable results. A. Experiments Part I—Comparison of the GPDS with a Motion Analysis System The goal of these experiments was to validate the GPDS output with an external reference measurement system and to quantify the delay time of the GPDS. For this purpose the 3-D optical motion analysis system Vicon 370 was used. Three randomly selected able-bodied subjects were asked to walk at least 20 steps at walking speeds of 3 and 5 km/h on a treadmill PAPPAS et al.: RELIABLE GAIT PHASE DETECTION SYSTEM 117 (a) (b) Fig. 4. (a) The gyroscope signal (top), the FSR signals (bottom), and the GPDS output signal (middle) for a sequence of three gait cycles of a subject walking on the treadmill. (b) Synchronized Vicon measurements of the heel marker (middle) and toe marker (bottom) trajectories in the vertical direction. From the marker measurements (reference points A, B, C, and D) we extracted a reference gait phase signal (top, solid line), which was used to evaluate the delay time of the GPDS output signal (top, broken line). (Note: ST stance, HO heel-off, SW swing, HS heel-strike, heel-FSR solid line, front-FSRs broken lines). = = = with retro-reflective markers placed on their heel, toe, and knee as shown in Fig. 3. Three Vicon cameras were used to track the trajectories of the body markers while the GPDS output signal was recorded. Based on the marker trajectories the reference gait phase signal was generated according to a set of rules given in Appendix B. Then the reference signal was compared to the measured GPDS output. = = = B. Experiments Part II—Four Walking Tasks The purpose of the second set of experiments was to test the performance of the GPDS on a large number of subjects during different walking tasks and under real environment conditions. The experiments were carried out for the largest part outdoors during winter time (temperatures: 0 C–10 C) and consisted of the following tasks: 118 IEEE TRANSACTIONS ON NEURAL SYSTEMS AND REHABILITATION ENGINEERING, VOL. 9, NO. 2, JUNE 2001 TABLE III DETECTION RESULTS OF THE EXPERIMENTS PART II 1) walk on level ground (length m); 2) walk up and down a steep cobblestone road (length m, 15% inclination); 3) walk on grass, snow, earth, step over small obstacles, and m, maximum step on and off the pavement (length cm); obstacle height steps). 4) ascend and descend the stairs ( All subjects of groups A and B participated in the experiments. Some subjects of the group B were not able to complete all of the tasks due to their disability. The subjects were asked to walk at their preferred speed carrying on their back a portable computer (3 kg), which recorded the GPDS output signal and the FSRs and gyroscope signals. To test if the system is robust to changes in ambient temperature the first half of task 1) was completed indoors and the second half outdoors. In these experiments the success rate of the GPDS was determined by comparing the GPDS output signal and raw sensor signals. The recorded sensor signals were plotted as shown in the example in Fig. 5(a) and the consistency between the GPDS output signal and the sensor signals was verified visually. Video recordings were employed in some cases to validate the described evaluation procedure. C. Experiments Part III—Nonwalking Tasks The purpose of the third set of experiments was to verify that the GPDS does not falsely identify any gait phases during nonwalking activities. Nonwalking activities such as standing up, sitting down, standing still, shifting the weight from one leg to the other during standing, and sliding of the feet, belong to our daily locomotion activity. Therefore, the GPDS must be robust against perturbations caused by these and similar nonwalking activities. All subjects of groups A and B participated in these experiments and were asked to perform the following tasks: 1) stand up from a chair and sit down (five repetitions); 2) stand, then bend the knees and touch the floor with the fingers (five repetitions); 3) stand upright and rotate in clockwise direction for 360 and in counter-clockwise direction for 360 around the subject’s own vertical axis (sliding of the feet was allowed but lifting of the feet was forbidden). D. Experiments Part IV—Speed Range The purpose of the last set of experiments was to determine the range of walking and running speeds for which the GPDS yields reliable results. Three randomly selected able body subjects were asked to walk/run on the treadmill. The treadmill speed was gradually increased from a slow speed of 0.5 km/h to a maximum speed of 13 km/h in steps of 0.5 km/h for the first step and 1 km/h for all consecutive steps ( km/h). Speed of 13 km/h corresponds to a fast jogging speed. For each subject, we recorded the sensor signals and the GPDS output signal for ten steps at each of the above speeds. IV. EXPERIMENTAL RESULTS A. Results Part I—Comparison of the GPDS with a Motion Analysis System In these experiments we validated the GPDS performance with Vicon measurements. A typical example of the gyroscope signal (top), FSRs signals (bottom), and GPDS output signal (middle) recorded during the walking of an able body subject is shown in Fig. 4(a). Synchronized Vicon measurements of the (heel and toe) marker positions in the vertical direction are shown in Fig. 4(b). A comparison between the reference gait signal (solid line), which was generated based on the heel and toe markers’ trajectories, and the GPDS output signal (broken line) is shown in Fig. 4(b)-top. The GPDS output correlated well with the reference gait phase signal for all trials. However, a time delay of the GPDS signal relative to the reference signal was observed, in particular in the detection of the heel-strike and stance phases. Averaged measurements of 60 gait cycles (three subjects and 20 steps per subject) at the walking speed 3 km/h indicated that the GPDS delay for the detection of the four gait phases relative to the reference signal was approximately 40 ms for heel-off, 35 ms for swing, 70 ms for heel-strike, and 70 ms for stance. Given that the Vicon sampling frequency was 50 Hz, the reference signal itself may lag additional 20 ms from the actual gait event. Therefore, in the worst case the gait phase detection delay was less than or equal to 90 ms. The time lag of the GPDS can be explained by the fact that the reference signal was based on a video signal, while the GPDS was partly based on force measurements (FSRs). For example, at the heel-strike phase, first the heel contacted the ground and then it was loaded with weight. Some authors differentiate during the heel-strike phase between “initial contact” and “weight acceptance” in order to emphasize the time-difference of the two events. In our case, the reference signal switched from swing to heel-strike at the “initial contact,” whereas the GPDS did it at the “weight acceptance” event. The other observed time delays can be all explained in the similar fashion. PAPPAS et al.: RELIABLE GAIT PHASE DETECTION SYSTEM 119 (a) (b) Fig. 5. Examples of different walking conditions. (a) Normal walking on level ground. (b) A subject with a weak gastrocnemius muscle. In the second and third step the excursion of the gyroscope signal in the heel-off phase was too low to be detected by the GPDS, which switched from the stance phase into the swing phase, skipping the heel-off phase. (Note: ST stance, HO heel-off, SW swing, HS heel-strike, heel-FSR solid line, front-FSRs broken lines.) = = = B. Results Part II—Four Walking Tasks The results of this set of experiments showed that the GPDS detected the gait phases with excellent reliability for many different walking tasks such as walking on level ground, on slopes, on irregular terrain, and on stairs (see Table III). During the first three tasks (walking on level ground, on slopes, and irregular terrain), we recorded a total of 2857 = = = steps for group A and 918 steps for group B. The GPDS detected correctly all four phases in all recorded steps of the group A and failed in 9 steps of the group B, which yields a success rate of 100% and 99%, respectively. A typical example of the GPDS sensor signals and output signals is shown in Fig. 5(a). The walking style of the subjects of group B was much more irregular and unpredictable compared to the able body subjects’ walking. For example, the subjects in group B 120 IEEE TRANSACTIONS ON NEURAL SYSTEMS AND REHABILITATION ENGINEERING, VOL. 9, NO. 2, JUNE 2001 (c) (d) Fig. 5. (Continued.) (c) A subject with a weak tibialis anterior muscle. As shown by the FSR signals, the front and rear parts of the foot were pressed simultaneously causing transition from swing into stance phase without going through heel strike phase. (d) Walking up stairs. Many subjects climbed the stairs “on their toes” without placing the heel on the ground. In this case to detect the stance phase the algorithm looked for angular velocity that was equal to 0. (Note: ST stance, HO heel-off, SW swing, HS heel-strike, heel-FSR solid line, front-FSRs broken lines.) = = = = often hesitated which leg to move forward when stepping over an obstacle. They sometimes paused, initiated a step, and terminated it abruptly. In some cases, usually at the first or last step of a sequence of steps, the subject performed steps with very poorly pronounced heel-off phases (i.e., the heel was not lifted at all, or was lifted below the detection threshold). In such a case, shown in Fig. 5(b), the GPDS skipped the heel-off phase = = switching directly from the stance phase to the swing phase. Similarly, as shown in Fig. 5(c), some group B subjects occasionally did not perform a well-pronounced heel-strike phase, but placed the foot flat on the ground without first performing the heel contact. In such cases the GPDS skipped the heel-strike phase switching directly from the swing phase to the stance phase. PAPPAS et al.: RELIABLE GAIT PHASE DETECTION SYSTEM 121 (e) Fig. 5. (Continued.) (e) Descending stairs. Compared to level ground walking during the heel-strike phase the gyroscope signal had a downward peak instead of an upward peak. The reason was that the foot touched the ground first with the front part of the foot and then with the heel. (Note: ST stance, HO heel-off, SW swing, HS heel-strike, heel-FSR solid line, front-FSRs broken lines.) = = = = = During the stair climbing task, we recorded from group A a total of 517 ascending and 424 descending steps. All gait phases, except for two (both during descending stairs), were correctly identified yielding overall success rate of 99.78%. From group B only three subjects were able to climb stairs and their steps during this exercise were very irregular. In total 64 ascending and 58 descending steps were recorded out of which 96% were correctly identified. One significant difference between the stair climbing task and the normal walking is that at the end of the swing phase the first contact with the ground (heel-strike) is in fact established with the front part of the foot, and not with the heel. Furthermore, some subjects climbed or descended the stairs using only the front part of their foot, i.e., only the front part of the foot was placed on the step while the heel remained “in the air.” As a result, the heel FSR was often not pressed at all during the entire gait cycle as shown in Fig. 5(d). To overcome this problem the algorithm also looked at the gyroscope signal in addition to the FES signals, since during stance the rotational velocity of the foot is always zero. Thus the algorithm detected the onset of the stance phase as soon as the gyroscope became still, and its rotational velocity and acceleration were close to zero. We have also observed a fundamental difference in the gyroscope signals of normal walking and the stair descending task. When walking on level ground (seen from the right lateral side) the foot rotates clockwise in the heel-off phase, then anti-clockwise in the swing phase, and again clockwise in the heel strike phase +-+ . During stair descending the situation is different. First the foot rotates clockwise, then anti-clockwise, and then again anti-clockwise +-- , because the toes contact the ground first and then the heel. In spite of this difference the GPDS identified the gait phases correctly as shown in Fig. 5(e). = In this set of experiments no specific information was obtained about the timing of the GPDS output relative to an external measurement system. The timing of the gait phases was explicitly examined in the previous set of experiments (Part I) and, since the hardware was not modified, the timing properties should remain the same. C. Results Part III—Nonwalking Tasks The results of these experiments showed that the GPDS was not only reliable during walking but was also robust (did not wrongly detect gait phases) during nonwalking tasks such as sitting down, standing up, bending the knees, and sliding the feet. During the nonwalking tasks, even though the FSR signals appeared identical to those of walking tasks (due to loading and unloading of the foot) the gyroscope signal amplitude was close to zero, indicating that the foot was not rotating, i.e., remained on the ground [see Fig. 6(a)]. Thus an advantage of the GPDS is that it does not need to be turned on and off every time the subject starts or stops walking but can remain in operation continuously. As shown by the summarized experimental results in Table IV the GPDS did not detect any gait phases during nonwalking tasks for both subject groups. One should note that there is a tradeoff between the detection robustness and the detection delay in the case of the GPDS. For example, in the stance phase inclinations of the heel larger then the selected threshold of 3 triggered the transition of the GPDS from stance into heel-off phase. To make the system more robust to perturbations during stance a larger threshold can be applied which would in turn cause greater delay in the detection of the heel-off phase during walking. 122 IEEE TRANSACTIONS ON NEURAL SYSTEMS AND REHABILITATION ENGINEERING, VOL. 9, NO. 2, JUNE 2001 (a) (b) Fig. 6. (a) Illustrates the sensor signals and the GPDS output during a nonwalking task where the subject rotated around his/hers own vertical axis. The FSR signals were similar to walking FRS signals because the subject shifted his/hers weight from one leg to the other, but the gyroscope signal amplitude remained minimal, since there was no foot rotation in the sagittal plane. The GPDS correctly identified that there was no gait-phase change. (b) Running at 13 km/h. Due to the high angular velocity of the foot the gyroscope signal saturated in the heel-off, swing, and heel-strike phases. However, all four gait phases were correctly identified. D. Results Part IV—Speed Range The aim of these experiments was to determine the range of walking/running speeds for which the GPDS yields reliable detection results. The experimental results showed that the GPDS detected the gait phases correctly (100% reliability) for all three test-subjects in the entire length of the experiment (ten steps at each of the speeds from 0.5 to 13 km/h). As shown in Fig. 6(b) for the running speed of 13 km/h the gait cycle and in particular the stance phase are quite short 0.6 and 0.1 s, respectively. Despite larger rotational velocities of the foot that caused the gyroscope signal to saturate during the heel-off, swing, and PAPPAS et al.: RELIABLE GAIT PHASE DETECTION SYSTEM TABLE IV DETECTION RESULTS OF THE EXPERIMENTS PART III 123 Besides its potential use in prosthetic and neuroprosthetic applications, the GPDS could be useful to analyze the subject’s gait dynamics, to monitor or screen gait pathologies, to trigger physiological experiments in the field of human locomotion or as a biofeedback device that trains patients to improve their gait pattern. Currently our team is attempting to integrate the GPDS into a shoe insole and to manufacture it as a stand-alone system that can be interfaced with any data acquisition system or a prosthetic device. APPENDIX I heel-strike gait phases, the GPDS maintained its detection reliability at 100%. V. CONCLUSIONS AND DISCUSSION A new gait phase detection sensor that reliably identified the transitions between stance, heel-off, swing, and heel-strike gait phases, was presented. This real-time system was based on a simple set of off-the-shelf sensors including three force sensitive resistors placed on a shoe insole and a miniature gyroscope placed at the posterior aspect (heel) of the shoe. The gyroscope’s output signal was used to estimate the rotational velocity of the foot in the sagittal plane as well as the foot’s inclination relative to the ground (integration of the gyroscope’s signal). A resetting mechanism of the integrated signal was applied during the stance phase to avoid unwanted drifts of the inclination measurements. The sampling frequency of the sensor signals and the loop frequency of the gait phase detection algorithm were 100 Hz and were carried out on a portable 20-MHz microcontroller board. The performance of the GPDS was verified using a standard Vicon 370 optical motion analysis system and with respect to raw FSRs and gyroscope measurements. Both able body subjects and subjects with walking impairments tested the GPDS by performing diverse walking and nonwalking tasks. The detection success rate for both groups of subjects for walking on level ground, slopes, and irregular terrain was above 99%. In the case of the stair climbing and descending tasks the GPDS achieved detection rate above 99% for able body subjects and above 96% for subjects with impaired gait. It is important to mention that the GPDS was challenged with a set of nonwalking tasks such as sliding of the feet, standing up and sitting down, and shifting weight during standing from one leg to the other. The experimental results have shown that the GPDS was very robust against such perturbations mainly due to the use of the gyroscope sensor which was insensitive to foot loading and unloading, but was sensitive to foot rotations in the sagittal plane. Another set of experiments showed that the GPDS detected the selected gait phases with the same reliability for all walking and running speeds from 0.5 to 13 km/h (fast jogging). This sensory system was tested in both indoor and outdoor environments and was shown that its detection performance did not depend on the ambient temperature that ranged from 0 C to 25 C. The experimental results also showed that the GPDS detected the gait phase events with a time delay that did not exceed 90 ms. The effect of the gait phase detection delays in a FES walking application yet need to be explored. A. Terminology The following is the terminology used in this document for describing the gait phases: stance phase: period when the foot is with its entire length in contact with the ground (angular ); velocity heel-off phase: period following the stance phase during which the front part of the foot is in contact with the ground and its heel is not; swing phase: period when the foot is in the air (not in contact with the ground) and swings forward; heel-strike period following the swing phase which phase: begins with the first contact of the foot with the ground (usually the heel, but not necessarily) and which ends when the entire foot touches the ground; walking cycle: period from one stance phase of the foot to the next stance phase of the same foot. B. Rules for Reference Signal Generation The following set of rules was used to generate the reference gait phase signal from the Vicon measurements. The heel marker reached its highest position at the beginning of the swing phase and it reached its lowest position at the initial contact of the heel with the ground (toes pointed upwards); see Fig. 4(b). The vertical position of the toe marker reached its first maximum at the end of the heel-off phase (in synchrony with the maximum vertical position of the heel marker), its second maximum was at the end of the swing phase, and it reached its lowest position during the stance phase. heel-off: The reference signal switched from stance the stance phase to the heel-off phase when the vertical position of the heel marker exceeded the threshold of 80 mm, i.e., 40 mm above its position during quiet standing, marked by the point A in Fig. 4(b). swing: The reference signal switched from heel-off the heel-off phase to the swing phase when the vertical position of the heel marker reached its maximum, marked by the point B in Fig. 4(b). heel-strike: The reference signal switched from swing the swing phase to the heel-strike 124 heel-strike IEEE TRANSACTIONS ON NEURAL SYSTEMS AND REHABILITATION ENGINEERING, VOL. 9, NO. 2, JUNE 2001 stance: phase when the vertical position of the heel marker reached its minimum, marked by the point C in Fig. 4(b). During the heel-strike phase the toe marker was continuously lowered until the foot was flat on the ground, i.e., until it reached the stance phase. The reference signal switched from the heel-strike phase to the stance phase when the toe marker stopped descending and settled around its minimum value, marked by point D in Fig. 4(b). ACKNOWLEDGMENT The authors would like to thank their former students G. von Bueren and S. Ibrahim, who worked on the first GPDS prototype, for their valuable contributions, and would like to express gratitude to all friends and patients of the Paraplegic Center of the University Hospital Balgrist for their support. REFERENCES [1] W. T. Liberson, H. J. Holmquest, D. Scot, and M. Dow, “Functional electrotherapy: Stimulation of the peroneal nerve synchronized with the swing phase of the gait of hemiplegic patients,” Arch. Phys. Med. Rehab., vol. 42, pp. 101–105, 1961. [2] L. Vodovnik, A. Kralj, U. Stanic, R. Acimovic, and N. Gros, “Recent applications of functional electrical stimulation to stroke patients in Ljubljana,” Clin. Orthopaed., vol. 131, pp. 64–70, 1978. [3] R. Kobetic and E. B. Marsolais, “Synthesis of paraplegic gait with multichannel functional neuromuscular stimulation,” IEEE Trans. Rehab. Eng., vol. 2, pp. 66–78, June 1994. [4] E. Ott, M. Munih, H. Benko, and A. Kralj, “Comparison of foot-switch and hand switch triggered FES correction of foot drop,” in Proc. 6th Vienna Int. Workshop FES, 1998, pp. 22–24. [5] S. K. Ng and H. J. Chizeck, “Fuzzy model identification for classification of gait events in paraplegics,” IEEE Trans. Fuzzy Syst., vol. 5, pp. 536–544, Aug. 1997. [6] C. A. Kirkwood, B. J. Andrews, and P. Mowforth, “Automatic detection of gait events: A case study using inductive learning techniques,” J. Biomed. Eng., vol. 11, pp. 511–516, Nov. 1989. [7] A. Kostov, B. J. Andrews, D. B. Popovic, R. B. Stein, and W. Armstrong, “Machine learning in control of functional electrical stimulation systems for locomotion,” IEEE Trans. Biomed. Eng., vol. 42, pp. 541–551, June 1995. [8] R. Dai, R. B. Stein, B. J. Andrews, K. B. James, and M. Wieler, “Application of tilt sensors in functional electrical stimulation,” IEEE Trans. Rehab. Eng., vol. 4, pp. 63–72, Dec. 1996. [9] A. Willemsen, F. Bloemhof, and H. Boom, “Automatic stance-swing phase detection from accelerometer data for peroneal nerve stimulation,” IEEE Trans. Biomed. Eng., vol. 37, pp. 1201–1208, Dec. 1990. [10] R. Williamson and B. J. Andrews, “Gait event detection for FES using accelerometers and supervised machine learning,” IEEE Trans. Rehab. Eng., vol. 8, pp. 312–319, June 2000. [11] D. Graupe, K. H. Kohn, A. Kralj, and S. Basseas, “Patient controlled electrical stimulation via EMG signature discrimination for providing certain paraplegics with primitive walking functions,” J. Biomed. Eng., vol. 5, no. 3, pp. 220–226, July 1983. [12] K. Tong and H. M. Granat, “A practical gait analysis system using gyroscopes,” Med. Eng. Phys., vol. 21, pp. 87–94, 1999. [13] K. D. Strange and J. A. Hoffer, “Gait phase information provided by sensory nerve activity during walking: Applicability as state controller feedback for FES,” IEEE Trans. Biomed. Eng., vol. 46, pp. 797–809, July 1999. [14] B. J. Upshaw and T. Sinkjaer, “Natural versus artificial sensors applied in peroneal nerve stimulation,” Artif. Organs, vol. 21, no. 3, pp. 227–231, 1999. [15] I. Pappas, T. Keller, and M. R. Popovic, “Experimental evaluation of the gyroscope sensor used in a new gait phase detection system,” in Proc. 4th Annu. Int. Conf. on FES, Sendai, Japan, 1999, pp. 143–146. [16] M. R. Popovic, T. Keller, I. P. I. Pappas, V. Dietz, and M. Morari, “Surface-stimulation technology for grasping and walking neuroprostheses,” IEEE Eng. Med. Biol. Mag., vol. 20, pp. 82–93, Jan. 2001. Ion P. I. Pappas received the Dipl.Ing. degree from the Department of Microtechnique at the Swiss Federal Institute of Technology in Lausanne (EPFL) in 1994. He completed his doctoral dissertation on the field of robotic visual control and micromanipulation at the Swiss Federal Institute of Technology in Zurich (ETHZ) in 1998. Since 1998, he has been a member of the Automatic Control Laboratory at the ETHZ. His research interests include functional electrical stimulation, robotics, modeling and control. Milos R. Popovic received the Dipl. Electrical Engineer degree from the University of Belgrade, Yugoslavia, in 1990, and the Ph.D. degree in mechanical engineering from the University of Toronto, ON, Canada, in 1996. From 1996 to 1997, he worked for Honeywell Aerospace in Toronto, previously known as AlliedSignal Aerospace Canada Inc. From 1997 to 2001, he led the Rehabilitation Engineering Group at the Swiss Federal Institute of Technology (ETH) and the Paraplegic Center of the University Hospital Balgrist (ParaCare), both in Zurich, Switzerland. Since 2001, he has been an Assistant Professor at the Institute of Biomaterials and Biomedical Engineering, University of Toronto, Canada. His research interests include functional electrical stimulation, modeling and control of linear and nonlinear dynamic systems, robotics, powers systems, signal processing, and safety analysis. Dr. Popovic and T. Keller received the Swiss National Science Foundation Technology Transfer Award, 1st place, in 1997. Thierry Keller was born in Berne, Switzerland, in 1968. He received the Dipl. Ing. degree in electrical engineering (M.Sc.E.E.) from the Swiss Federal Institute of Technology Zurich (ETHZ), Switzerland, in 1995. He is currently a Research Engineer at the Paraplegic Center of University Hospital Balgrist, Zurich, and at ETHZ. He developed various neuroprostheses that are used to improve walking and grasping functions in spinal cord injured subjects. His research interests include the development of control strategies for neuroprostheses using EMG recordings. Mr. Keller and Dr. M. R. Popovic received the Swiss National Science Foundation Technology Transfer Award, 1st place, in 1997. PAPPAS et al.: RELIABLE GAIT PHASE DETECTION SYSTEM Volker Dietz received the M.D. degree from the University of Tübingen, Germany, in 1971. He is a former Assistant Professor in the Department of Neurology and Neurophysiology at the University of Freiburg, Germany. Since 1992, he has been the head of the Paraplegic Center and the Chair of Paraplegiology at the University of Zurich, Switzerland. His research interests include human neuronal control of functional movements, pathophysiological basis of movement disorders, development aspects of stance and gait, electrophysiological assessment of motor defects, spinal cord dysfunction, prognostic clinical and electrophysiological outcome parameters of spinal cord injury, and establishment of new training programs in para- and tetraplegic patients. Dr. Dietz is a consultant to the German Research Council, VW Foundation, Swiss National Science Foundation, Danish National Research Foundation, British MRC Council, Research Council of the NASA/ESA, and the European Commission, and a member of the Scientific Committee’s International Spinal Research Trust. In 1998, he received the Preis der Hoffnung of the German Research Council. View publication stats 125 Manfred Morari received the diploma from the Swiss Federal Institute of Technology Zurich (ETHZ), Switzerland, and the Ph.D. from the University of Minnesota, Duluth, MN. He is the former McCollum-Corcoran Professor and Executive Officer for Control and Dynamical Systems at the California Institute of Technology. Since 1994, he has been the head of the Automatic Control Laboratory at the ETHZ. He has held appointments with Exxon R&E and ICI, and has consulted internationally for a number of major corporations. His interests include hybrid systems and the control of biomedical systems. Dr. Morari has received the Eckman Award of the AACC, the Colburn Award, and the Professional Progress Award of the AIChE, and was elected to the National Academy of Engineering (U.S.).