• No results found

5.6 Full gait cycle simulation

6.3.7 Post-processing

Once the trials had been recorded in Vicon, some post-processing was required to export the necessary information. All of the data (marker positions, GRF and joint moments) were exported as an ASCII file so as to provide numerical values to import into MATLAB for comparison with the project’s models.

A MATLAB script was coded to import the ASCII files and extract the necessary numerical values. The data chosen were from the first time frame where a force value was registered on force plate 2 and continued until the final time frame before a force value was recorded on force plate 3. This meant that the data would start with a double support period (on force plates 1 and 2) followed by a single support period (on force plate 2), giving the same half gait cycle as is simulated by the Sum model. In accordance with the simulation, bilateral symmetry was assumed.

Using the time frames defined by the force plate data, the marker data were selected. These gave the x, y and z coordinates of each of the markers, relative to the origin at the corner of force plate 1. In order to make this raw data usable for the simulations, the joint centre coordinates had to be calculated. All of the following calculations were taken from previous research into the topic of hip joint centre position prediction (Davis Iii et al., 1991; Harrington et al., 2007). For these calculations, all lengths were in millimetres. To calculate the hip joint centre, firstly, the pelvic origin, , must be defined. This is taken as the midpoint of the left and right ASIS marker vectors:

132

The posterior pelvis point, or sacrum, is defined as the midpoint of the posterior superior iliac spine (PSIS) markers:

Equation 6.2

Next, the axes of the pelvic coordinate system are defined. It should be noted at this point that the x, y and z axes’ definitions are not the same for the Vicon system as they are for the MATLAB models. The medio-lateral axis, ̂ , is taken as the vector from the left ASIS to the right ASIS. The proximal axis, ̂ , is taken as being perpendicular to the medio-lateral axis and the vector between the pelvic origin and the sacrum. Finally, the anterior axis, ̂ , is taken as perpendicular to the medio-lateral and proximal axes.

̂ | |

̂ | ̂ ̂ ( ) ( )|

̂ ̂ ̂

Equations 6.3, 6.4, 6.5

By consolidating these three axes into a single matrix, the direction cosine matrix for the pelvis (DCMP) is formed. ( ̂ ̂ ̂ ̂ ̂ ̂ ̂ ̂ ̂ ) Equation 6.6

133

The vector, HP, gave the positions of the hip joint centres within the pelvic coordinate frame. The ± symbol in the y direction indicates whether it is the left or right hip joint centre being calculated.

( ( ))

Equation 6.7

Where PD, pelvic depth, is “the distance between the midpoints of the line segments connecting the two ASIS and the two PSIS” (Harrington et al., 2007) and PW, pelvic width, is the distance between the left and right ASIS markers. The latter is a constant value calculated during the static trial (see Section ‎6.3.6).

Finally, the hip joint centre coordinates, relative to the global axis are calculated.

Equation 6.8

Since the model assumes that the left and right hips have the same coordinates, the mean values of the left and right hip joint centres’ positions were taken.

The knee and ankle joint centre calculations were much simpler. The mean of the lateral and medial markers’ coordinates, for the respective leg and joint, were taken.

The position of the HAT segment mass was taken as having the same x position as the combined hip joint and a y position was calculated using the static trial data and formulae from Winter (1979, 1991) detailed in Appendix ‎A.1.

In the Sum model, the origin of the Cartesian coordinates was defined as the point at which the heel of the lead foot contacts the ground. The coordinate origin defined for the Vicon system was the front right corner of force plate 1, as viewed by the walker. In order to equate the Vicon data to fit the model, all the marker data were offset in relation to the lead foot heel marker position at the start of the gait cycle.

134

For comparison with previous models, the segment angles were computed. For segment , the following calculation was used for the segment angle:

( )

Equation 6.9

Where and are the coordinates of the end of the segment closest to the start of the chain and and are the coordinates of the other end of the segment.

Once all the relevant data had been imported and extra calculations had been made for each trial, for a given subject, the following statistic data for that person were evaluated. Firstly, the data from each trial were normalised and interpolated to cover from 0% to 50% of a gait cycle, in 1% steps, in order to make trials of different time lengths more comparable. Next, from each percentage value, the mean magnitude over the five trials was taken for each kinematic and kinetic parameter. This allowed the calculation of a standard deviation value for each percentage of the gait cycle.

Related documents