- Open Access
A portable system for collecting anatomical joint angles during stair ascent: a comparison with an optical tracking device
Dynamic Medicine volume 8, Article number: 3 (2009)
Assessments of stair climbing in real-life situations using an optical tracking system are lacking, as it is difficult to adapt the system for use in and around full flights of stairs. Alternatively, a portable system that consists of inertial measurement units (IMUs) can be used to collect anatomical joint angles during stair ascent. The purpose of this study was to compare the anatomical joint angles obtained by IMUs to those calculated from position data of an optical tracking device.
Anatomical joint angles of the thigh, knee and ankle, obtained using IMUs and an optical tracking device, were compared for fourteen healthy subjects. Joint kinematics obtained with the two measurement devices were evaluated by calculating the root mean square error (RMSE) and by calculating a two-tailed Pearson product-moment correlation coefficient (r) between the two signals.
Strong mean correlations (range 0.93 to 0.99) were found for the angles between the two measurement devices, as well as an average root mean square error (RMSE) of 4 degrees over all the joint angles, showing that the IMUs are a satisfactory system for measuring anatomical joint angles.
These highly portable body-worn inertial sensors can be used by clinicians and researchers alike, to accurately collect data during stair climbing in complex real-life situations.
In terms of self-rated health, the most important activities of daily living are those involving mobility . Self-reported difficulty in stair climbing has shown to be useful in assessing and defining functional status of older adults . Obtaining accurate data about mobility is therefore of great clinical relevance and could lead to further improvements in various rehabilitation treatments . Compared to level walking only a limited number of studies have investigated the kinematics and kinetics of normal stair climbing [4–11]. In general, kinematics and biomechanical aspects of stair climbing are studied using laboratory staircases combined with an optical motion analysis system [4, 11]. Although this kind of research yields valuable information, the results only remain valid in conditions where no anticipation or reaction to a real-world environment is required. In addition, it is almost impossible to use any form of optical tracking on stairwells, as the vertical shaft which contains the staircase limits the placement of cameras. Collecting data during stair climbing in a more real-life, complex environment requires a portable and lightweight measuring device. Zhou et al (2006) showed that inertial measurement units (IMUs) consisting of gyroscopes, accelerometers and magnetometers used to measure upper limb motion can accurately estimate arm position . Accelerometers and gyroscopes have also been proven to be able to correctly record shank, thigh and knee angles during level walking and a variety of lower leg exercises [13, 14]. Although, a miniature gyroscope attached to the shank is able to detect different cycles during stair ascent  and position data of the foot can be gathered with the combination of a gyroscope and two accelerometers , a portable system that can collect anatomical joint angles during stair climbing has not yet been reported.
The purpose of this study is to compare the anatomical joint angles determined by IMUs during stair ascent, to those joint angles acquired with an optical tracking device. Measuring stair climbing can be of great clinical relevance, as according to the Canadian Institute for Health Information the most common specified type of falls (23%) for people of 65 years and over are falls on or from stairs and steps . Furthermore, it has also been shown that, for certain patient groups, stair climbing can be a more critical pre-clinical assessment than walking .
Fourteen healthy subjects, nine men and five women, with a mean age of 27 years (range 20 to 37) voluntarily participated in this study. Their mean (± standard deviation) height and weight were 175 (± 8) cm and 69 (± 10) kg. The protocol was approved by the College Research Ethics Committee. All subjects gave written informed consent before the experiment. Each subject was asked to ascend a staircase consisting of four steps during twelve separate trials. Subjects were instructed to climb the stairs in the way they felt most comfortable. Each step was 62 cm wide, 23 cm long and 15 cm high giving the stair a pitch angle of 31 degrees. The subject stood in front of the stair and started ascending the stair when a verbal signal was given.
Six IMUs (MTx, Xsens Technologies B. V., Enschede, Netherlands) were placed on the dorsal side of both forefeet , halfway up the medial surface of the tibias  and two thirds up the tensor fascia latae of each leg using double-sided adhesive tape with additional elastic straps to hold them in place (Figure 1). Straps were used to provide a preloading force and thereby decreasing measuring errors . The sensors were securely attached to each body segment in order to assure that the orientation of the sensor with respect to the body segment did not change. Observations made during a pilot study indicated that the current positions used for sensor placement, minimized relative motion between sensor and underlying bones.
During static stance, the X-axis of each IMU coordinate system was physically placed to be in the sagittal plane after an analytically alignment of the axes by software (MT Software V2.8.1, Xsens Technologies B. V., Enschede, Netherlands). The software program placed the Z-axis of each IMU in line with gravity (vertical plane) with the new X-axis of the sensor perpendicular to the Z-axis and along the line of the original X-axis . The non-orthogonality between the axes of the body-fixed co-ordinate system is less then 0.1° .
Active Codamotion (Codamotion, Charnwood Dynamics, Leicestershire, UK) markers were placed (Figure 1) on the toe (5th metatarsal head), ankle (lateral malleolus), knee (fibula head and lateral femoral condyle), hip (trochanter major) and on the side of stairs. These markers were fixed using double-sided adhesive tape. The Bilateral Segmental Gait Analysis system configuration was used for data acquisition by the Codamotion and Motion Tracker software. The cameras of the optical tracking device were positioned in such a way, that the position data of the markers on the right side could always be obtained during stair ascent. Data for both the Codamotion and the IMUs was acquired at 100 Hz and an electronic pulse was used to synchronize the two measurement devices. All further data analysis was done using Matlab (MathWorks, Inc, Natick, Massachussetts, USA).
The lower extremity could be approximated as a multi-link chain, with each body part as a rigid segment represented by one IMU . Only movements around the transverse axis (resulting in flexion-extension kinematics) were studied, as the largest range of motions of the lower extremity occur around this axis during stair climbing .
The rotation matrix (RDCM), which was acquired from each IMU, was used to determine the Euler angle (θ) that represented rotation around the transverse axis. This angle is calculated by combining the value A31 obtained from the IMU with the element in row three, column one of the Euler sequence ().
The angle (θ) for each of the six IMUs combined with segment lengths of the foot, shank and thigh were used in a six-link sagittal model (Figure 2). The segment lengths were calculated from anthropometric data , which was a percentage of the body height of each subject in order to keep the model simple.
The knee angle (α) was determined with the IMUs, by subtracting the angle around the transverse axis of the shank from that of the thigh. The flexion-extension angle of the ankle was found by subtracting the lower leg angle from the foot angle in the sagittal plane, while the thigh angle was represented by the upper leg angle with respect to the vertical axis .
For the optical tracking device the knee angle was defined as the angle between a spatial vector joining the lateral malleolus to the fibula head and a spatial vector joining the lateral femoral epicondyle to the greater trochanter . The equations used are directly taken from  and the computations were carried out in three steps,
In which x6, y6, z6 are spatial coordinates of the trochanter major; x5, y5, z5 are spatial coordinates of the epicondylus fermoris lateralis; x4, y4, z4 are spatial coordinates of the head of the fibula; x3, y3, z3 are spatial coordinates of the malleolus lateralis. L65 is the length between the epicondylus fermoris lateralis and the trochanter major, while L43 is the distance between the head of the fibula and the malleolus lateralis. This calculation method described by Kiss, Kocsis and Knoll determines a knee angle (α) which only depends on the relative position of the shank to the thigh .
The same calculation can be applied for the determination of the ankle angle (β), by using the spatial coordinates of the most lateral aspect of the calcaneus (x2, y2, z2) and the 5th metatarsal head (x1, y1, z1) instead of those of the epicondylus fermoris lateralis and the trochanter major and by replacing the distance between the head of the fibula and the malleolus lateralis with the distance between the most lateral aspect of the calcaneus and the 5th metatarsal head. The thigh angle (γ) was defined as the angle between a spatial vector joining the epicondylus fermoris lateralis and the trochanter major and a vertical spatial vector.
Time was converted to percentages, starting from the onset of movement until the top of the stairs was reached, to allow accurate comparisons within subjects. All angles were normalized in time per trial and subject by calculating the mean angle per percentage of time.
Data was normally distributed as observed in the probability plots and histograms. All anatomical joint angles on the right leg, obtained with the two measurement devices, were evaluated by calculating a two-tailed Pearson product-moment correlation coefficient (r) and by calculating the root mean square error (RMSE) between the two signals [14, 25]. A paired t-test was used to compare the maximum range of motion obtained by IMUs with those obtained by the optical tracking device per subject (n = 14) and to determine if the slopes of the linear regressions differed from one. The significance level was set at 0.05.
The relationships between anatomical angles obtained by the two measurement devices were shown to be linear (Figure 3). The slopes for the ankle and thigh each differed by about 15% from unity (p < 0.01), whilst the slope for the knee did not (p = 0.10).
During a hundred trials subjects took their first step with the right foot, while they started with the left in 68 trials (Figure 4). Seven subjects started all trials with the right foot, three constantly started with the left and four participants alternated between left and right foot. It was observed that the IMUs on average had higher peak values at the ankle and thigh compared to the optoelectronic system, while the opposite was found for the knee (Figure 4).
A significant difference was found between the maximum range of motion of the ankle and thigh (p < 0.01) obtained with the IMUs compared to those acquired with the optical tracking device (Table 1). No difference was found for the maximum range of motion at the knee joint (p = 0.47).
The aim of the study was to investigate if the anatomical joint angles determined by IMUs sufficiently approximate the anatomical joint angles that were gathered with an optical tracking device. Strong correlations and mean RMSE of 4 to 5 degrees were found for all angles, comparable to those obtained using a similar system to track upper limb motion . Similar correlations were also found for linear acceleration trajectories obtained from IMUs, when compared with those derived from optical tracking position data . Yet, in this study the mean RMSE as a percentage of the maximum value (4 to 9 percent) was higher than the percentages found for the linear acceleration trajectories, which were in the region of 1 to 6 percent.
In the unpublished pilot study to this paper, which compared the equipment component of both systems, Pearson's correlation coefficients of 0.999 (p < 0.001) between the IMUs and optical tracking device were found, with a RMSE of 1°. As the RMSE during stair climbing (4–5°) was greater than the RMSE found in the pilot study (1°), a small misalignment between the two coordinate systems could have been present. This misalignment might be explained by the fact that the IMUs were placed in the middle of the body segments, whilst the active markers of the optical tracking device were positioned on bony landmarks. However, these locations were chosen in order to minimize any motion artefact. Despite optimizing placement of markers, both systems suffer from motion artefacts. A translational displacement between bony landmark and marker is likely to occur during stair climbing, causing errors in estimating position during movement [27, 28], which in turn leads to inaccuracies in determining angles. The IMUs measure orientation rather than position and are consequently less prone to errors caused by translational displacement of the sensors. Errors related to movement can however still occur in the IMUs, because of rotational displacement of the sensor relative to the body segment, due to for example change in muscle contour. Future research is needed to investigate to what extent the IMUs are prone to this kind of error.
High accelerations can easily lead to an increase in errors, as many IMUs use the accelerometer unit as an inclinometer . If the magnitude of the acceleration can no longer be neglected with respect to the gravity, the accuracy of the orientation measurement will be reduced, making this kind of IMUs unsuitable to measure human movements during which high accelerations are occurring.
The range of motion, measured with the optical tracking device, at the ankle (54° ± 8) and the knee (92° ± 6) was comparable to the range (respectively, 56° ± 7 and 86° ± 5) observed by Mian et al (2007) in young adults climbing stairs . However, the range of motion at the thigh (49° ± 4) was higher then the range (30° ± 4) reported by Mian et al (2007), which might be related to a difference in the method used to calculate joint angles, at the hip, from optical tracking data.
Maximum range of motion of the knee angle was similar between the two measurement devices, but did differ in the thigh and ankle angles. Any inaccuracies in range of motion of the ankle angles were further increased by taking the foot as a single rigid segment, as motion occurs between the different parts of the foot . The fact that the foot is multi segmental, might explain why an IMU placed on the dorsal part of the foot provides a different range of motion compared to the optical markers placed on the heel and the toe. Some further clues about the differences found between the two systems are provided by inspection of individual traces which deviate strongly from the rest (Figure 3). Data inspection showed that these deviations occurred in the optical tracking marker position, presumably due to movement of the marker with respect to the bony landmark.
Activities of daily living have been previously investigated using mobile sensors, consisting of uniaxial accelerometers . More recently, inertial sensors, similar to those used in this study, were utilized to track upper limb motion without showing any notable drift in the estimation of the movements . No significant drift problems arose during data collection in this study, although future work is needed to determine how well the proposed method works during longer data collection periods.
In general, IMUs provide a good alternative for measuring joint angles of the lower extremity during stair ascent when compared to positional markers. In addition, they provide the opportunity to perform accurate measurements in complex real-life environments using a non constraining measurement device. Furthermore, the IMUs were easy to set up, giving rise to the opportunity for clinicians and researchers to measure stair climbing out of the laboratory setting.
Valderrama Gama E, Damian J, Perez del Molino J, Lopez M, Perez M, Iglesias F: Short report. Association of individual activities of daily living with self-rated health in older people. Age and Ageing. 2000, 29: 267-270. 10.1093/ageing/29.3.267.
Verghese J, Wang C, Xue X, Holtzer R: Self-Reported Difficulty in Climbing Up or Down Stairs in Nondisabled Elderly. Archives of Physical Medicine and Rehabilitation. 2008, 89: 100-104. 10.1016/j.apmr.2007.08.129.
Veltink PH, Bussmann HB, de Vries W, Martens WL, Van Lummel RC: Detection of static and dynamic activities using uniaxial accelerometers. IEEE Trans Rehabil Eng. 1996, 4: 375-385. 10.1109/86.547939.
Protopapadaki A, Drechsler WI, Cramp MC, Coutts FJ, Scott OM: Hip, knee, ankle kinematics and kinetics during stair ascent and descent in healthy young individuals. Clin Biomech (Bristol, Avon). 2007, 22: 203-210. 10.1016/j.clinbiomech.2006.09.010.
Riener R, Rabuffetti M, Frigo C: Stair ascent and descent at different inclinations. Gait & Posture. 2002, 15: 32-44. 10.1016/S0966-6362(01)00162-X.
Thambyah A, Thiagarajan P, Goh Cho Hong J: Knee joint moments during stair climbing of patients with anterior cruciate ligament deficiency. Clinical Biomechanics. 2004, 19: 489-496. 10.1016/j.clinbiomech.2004.02.006.
Mian OS, Thom JM, Narici MV, Baltzopoulos V: Kinematics of stair descent in young and older adults and the impact of exercise training. Gait & Posture. 2007, 25: 9-17. 10.1016/j.gaitpost.2005.12.014.
McFadyen BJ, Winter DA: An integrated biomechanical analysis of normal stair ascent and descent. Journal of Biomechanics. 1988, 21: 733-744. 10.1016/0021-9290(88)90282-5.
Nadeau S, McFadyen BJ, Malouin F: Frontal and sagittal plane analyses of the stair climbing task in healthy adults aged over 40 years: what are the challenges compared to level walking?. Clinical Biomechanics. 2003, 18: 950-959. 10.1016/S0268-0033(03)00179-7.
Costigan PA, Deluzio KJ, Wyss UP: Knee and hip kinetics during normal stair climbing. Gait & Posture. 2002, 16: 31-37. 10.1016/S0966-6362(01)00201-6.
Mian OS, Narici MV, Minetti AE, Baltzopoulos V: Centre of mass motion during stair negotiation in young and older men. Gait & Posture. 2007, 26: 463-469. 10.1016/j.gaitpost.2006.11.202.
Zhou H, Hu H, Tao Y: Inertial measurements of upper limb motion. Medical and Biological Engineering and Computing. 2006, V44: 479-487. 10.1007/s11517-006-0063-z.
Mayagoitia RE, Nene AV, Veltink PH: Accelerometer and rate gyroscope measurement of kinematics: an inexpensive alternative to optical motion analysis systems. Journal of Biomechanics. 2002, 35: 537-542. 10.1016/S0021-9290(01)00231-7.
O'Donovan KJ, Kamnik R, O'Keeffe DT, Lyons GM: An inertial and magnetic sensor based technique for joint angle measurement. Journal of Biomechanics. 2007, 40: 2604-2611. 10.1016/j.jbiomech.2006.12.010.
Coley B, Najafi B, Paraschiv-Ionescu A, Aminian K: Stair climbing detection during daily physical activity using a miniature gyroscope. Gait & Posture. 2005, 22: 287-294. 10.1016/j.gaitpost.2004.08.008.
Scapellato S, Cavallo F, Martelloni C, Sabatini AM: In-use calibration of body-mounted gyroscopes for applications in gait analysis. Sensors and Actuators A: Physical. 2005, 123–124: 418-422.
Canadian Institute for Health Information: National Trauma Registry Report Major Injury in Canada (includes 2001–2002 data). 2003, Ottawa: Canadian Institute for Health Information
Kassi J-P, Heller MO, Stoeckle U, Perka C, Duda GN: Stair climbing is more critical than walking in pre-clinical assessment of primary stability in cementless THA in vitro. Journal of Biomechanics. 2005, 38: 1143-1154. 10.1016/j.jbiomech.2004.05.023.
Kwakkel S, Godha S, Lachapelle G: Foot and Ankle Kinematics During Gait Using Foot Mounted Inertial System. ION NTM San Diego CA. 2007
Forner-Cordero AM-AM, Forner-Cordero I, Alcántara E, Moreno JC, Pons JL: Study of the motion artefacts of skin-mounted inertial sensors under different attachment conditions. Physiological Measurement. 2008, 29: N21-N31(21). 10.1088/0967-3334/29/4/N01.
XsensTechnologies: MTi and MTx User Manual and Technical Documentation. Enschede. 2006
Winter DA: Biomechanics and motor control of human movement. 1990, New York Wiley
Liang Dong JW, Xiaoming Bao, Wendong Xiao: Tracking of Thigh Flexion Angle during Gait Cycles in an Ambulatory Activity Monitoring Sensor Network. ACTA AUTOMATICA SINICA – Special issue on Sensor Networks and Applications. 2006, 32: 938-946.
Kiss RM, Kocsis L, Knoll Z: Joint kinematics and spatial-temporal parameters of gait measured by an ultrasound-based system. Medical Engineering & Physics. 2004, 26: 611-620. 10.1016/j.medengphy.2004.04.002.
Thies SB, Tresadern P, Kenney L, Howard D, Goulermas JY, Smith C, Rigby J: Comparison of linear accelerations from three measurement systems during "reach & grasp". Medical Engineering & Physics. 2007, 29: 967-972. 10.1016/j.medengphy.2006.10.012.
Zhou H, Stone T, Hu H, Harris N: Use of multiple wearable inertial sensors in upper limb motion tracking. Medical Engineering & Physics. 2008, 30: 123-133. 10.1016/j.medengphy.2006.11.010.
Cappozzo A, Catani F, Leardini A, Benedetti MG, Croce UD: Position and orientation in space of bones during movement: experimental artefacts. Clinical Biomechanics. 1996, 11: 90-100. 10.1016/0268-0033(95)00046-1.
Garling EH, Kaptein BL, Mertens B, Barendregt W, Veeger HEJ, Nelissen RGHH, Valstar ER: Soft-tissue artefact assessment during step-up using fluoroscopy and skin-mounted markers. Journal of Biomechanics. 2007, 40: S18-S24. 10.1016/j.jbiomech.2007.03.003.
Luinge HJ, Veltink PH: Measuring orientation of human body segments using miniature gyroscopes and accelerometers. Med Biol Eng Comput. 2005, 43: 273-282. 10.1007/BF02345966.
MacWilliams BA, Cowley M, Nicholson DE: Foot kinematics and kinetics during adolescent gait. Gait & Posture. 2003, 17: 214-224.
This work was funded by a joint Medical Research Council and Graduate School Studentship of King's College London.
The authors declare that they have no competing interests.
JB conceived the study, participated in study design, data collection, calculation, and statistical analysis, drafted and revised manuscript. RM conceived the study, participated in study design and revised manuscript. IS conceived the study, participated in study design, and statistical analysis, revised manuscript and gave final approval of the version to be published. All authors read and approved the final manuscript.
About this article
Cite this article
Bergmann, J.H., Mayagoitia, R.E. & Smith, I.C. A portable system for collecting anatomical joint angles during stair ascent: a comparison with an optical tracking device. Dyn Med 8, 3 (2009) doi:10.1186/1476-5918-8-3
- Root Mean Square Error
- Inertial Measurement Unit
- Stair Climbing
- Knee Angle
- Optical Tracking