Next Article in Journal
A Machine Learning Approach for Predicting Non-Suicidal Self-Injury in Young Adults
Next Article in Special Issue
Estimation of Tibiofemoral Joint Contact Forces Using Foot Loads during Continuous Passive Motions
Previous Article in Journal
Human Blood Platelets Adsorption on Polymeric Materials for Liquid Biopsy
Previous Article in Special Issue
Assessment of Pain Onset and Maximum Bearable Pain Thresholds in Physical Contact Situations
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Machine Learning Model for Predicting Sit-to-Stand Trajectories of People with and without Stroke: Towards Adaptive Robotic Assistance

1
Bristol Robotics Laboratory, Faculty of Environment and Technology, University of the West of England, Bristol BS16 1QY, UK
2
Faculty of Health and Applied Sciences, University of the West of England, Bristol BS16 1DD, UK
*
Author to whom correspondence should be addressed.
Sensors 2022, 22(13), 4789; https://doi.org/10.3390/s22134789
Submission received: 27 May 2022 / Revised: 13 June 2022 / Accepted: 22 June 2022 / Published: 24 June 2022

Abstract

:
Sit-to-stand and stand-to-sit transfers are fundamental daily motions that enable all other types of ambulation and gait. However, the ability to perform these motions can be severely impaired by different factors, such as the occurrence of a stroke, limiting the ability to engage in other daily activities. This study presents the recording and analysis of a comprehensive database of full body biomechanics and force data captured during sit-to-stand-to-sit movements in subjects who have and have not experienced stroke. These data were then used in conjunction with simple machine learning algorithms to predict vertical motion trajectories that could be further employed for the control of an assistive robot. A total of 30 people (including 6 with stroke) each performed 20 sit-to-stand-to-sit actions at two different seat heights, from which average trajectories were created. Weighted k-nearest neighbours and linear regression models were then used on two different sets of key participant parameters (height and weight, and BMI and age), to produce a predicted trajectory. Resulting trajectories matched the true ones for non-stroke subjects with an average R 2 score of 0.864 ± 0.134 using k = 3 and 100% seat height when using height and weight parameters. Even among a small sample of stroke patients, balance and motion trends were noticed along with a large within-class variation, showing that larger scale trials need to be run to obtain significant results. The full dataset of sit-to-stand-to-sit actions for each user is made publicly available for further research.

1. Introduction

Stroke occurs when there is lack of blood supply to the brain and can cause a wide variety of physical, psychological and cognitive problems, leading to long-term disability [1]. According to the World Stroke Organisation, over 13 million people have a stroke each year (https://www.world-stroke.org/, accessed on 26 May 2022). In the UK alone, there are estimated to be around 1.3 million stroke survivors, with instances potentially increasing 60% from 2015 to 2035 [2]. The financial burden of stroke rehabilitation on healthcare services is also rising rapidly, which, combined with the problem of staff shortages (https://nhsfunding.info/symptoms/10-effects-of-underfunding/staff-shortages, accessed on 26 May 2022), increases the need to consider technological solutions for supporting people with stroke.
Robotics has emerged as a promising beacon in physical assistance to address service shortage and support healthcare workers in the care and rehabilitation of people with stroke. Mobility assistive robotic devices include (but are not restricted to) smart walkers [3] and sit-to-stand (STS) aids [4], which help people who need physical assistance to perform activities of daily living (ADLs). ADLs are defined as self-care tasks, such as bathing, dressing, toileting, transferring, and feeding [5]. Transfers such as getting in and out of bed, chair or toilet involve STS.
STS activities are thus key for independent living, and are performed around 60 times per day in healthy adults [6], enabling functional independence for activities such as walking and toileting. However, transfers (including STS) are the most common cause of falls in people with stroke [7], with STS activities presenting a higher risk of falls for those with impaired strength, balance or posture [8]. Falls are a major hazard for people with stroke, causing injury, lengthening hospitalisations and impacting rehabilitation [9]. Therefore, minimising the risk of falls during these actions is crucial in the creation of assistive devices for stroke rehabilitation.
The ultimate goal of this research is to provide the basis for the development of personalized home assistance for people with stroke during STS transfers, promoting their independence and rehabilitation. Existing manual handling assistive equipment, such as slings and hoists, require constant physical support from the carer to the patient using the device, resulting in increasing work-related musculoskeletal disorders, a major safety concern in today’s healthcare environment [10]. Moreover, the use of a non-perfect fitting device can be uncomfortable or even dangerous, e.g., if it is too large, the patient might slip through.
More advanced robotic solutions have been studied to assist with STS transfer, such as the ballbot [4], a single-wheeled mobile robot that can help a user stand with the aid of two arms that can be held onto during the STS motion. Although the ballbot can apply varying levels of assistance, its maximum pulling force is quite low, and it does not have any functionality for preventing falls, limiting its use with more vulnerable users. Moreover, this robot creates the same profile for all users and is less adaptable to individual needs. Another example is ROBEAR (https://www.riken.jp/en/news_pubs/research_news/pr/2015/20150223_2/, accessed on 26 May 2022), a bear-shaped robot aiding with both STS transfers and rising from bed. ROBEAR, only a prototype, does not have any adaptive capabilities for users of varied ability levels and requires supervision from healthcare workers, limiting its use for maintaining independence. Exoskeletons have also been explored for STS assistance, with some small-scale studies showing that such devices can reduce load on a users’ muscles during STS movements [11,12]. Because these devices are only affixed to the lower body, they benefit from not requiring a user to grip onto handles during STS, but conversely, this creates added risk from the upper body not being supported. Moreover, being “permanently” attached to the participant, exoskeletons may not prove comfortable for everyday use.
One of the main issues with the implementation of these devices into practice is the lack of adaptability. Adaptability in assistive robots is a key enabler, as behaviours can vary between patients who may also progress or regress in their rehabilitation [13]. The assistance provided by the robot should therefore adapt to these individual needs. Failure to do so can result in weakness of the user when too much assistance is provided, or reduced motivation when too little support is given and the person is unable to complete the task. Moreover, an adaptive strategy enhances intuitiveness and natural use of the device, endowing the robot with partial autonomy and unloading the user and/or carer from the burden of regulating the device. To tackle robot adaptability, this project focuses on two main objectives: (i) using biomechanical analysis to understand different motor patterns of sit-to-stand and stand-to-sit movements in individuals with and without stroke, and (ii) trajectory prediction for STS focusing on informing a user-centric adaptive control approach for assistive robots.
To capture full-body biomechanical data, it is possible to use vision-based motion capture systems, such as Microsoft’s Kinect (https://azure.microsoft.com/en-us/services/kinect-dk/, accessed on 26 May 2022). Previous work has used these systems to great effect, particularly when motion is constrained to a single plane [14]. It also shows high reliability for gait analysis [15]. However, vision-based systems present several issues, such as the underestimation of joint angles [16] and larger errors when estimating unconventional positions [17]. Thus, although such systems are lower in cost than IMU-based systems, their potential inaccuracy as well as their often lower capture rate reduces their ability for use in clinical trials. Taking into account these factors, we decided to use more precise IMU-based recordings for the creation of the dataset, while we considered that due to cost-effectiveness and usability issues (people with disabilities might have issues using wearable devices), the developed assistive device would use a machine-vision-based system.
Biomechanical analysis of STS movements has been carried out for many years, with studies focusing on a wide variety of factors often combining adjustments to experimental parameters, such as seat heights [18,19] or allowing arm use for momentum [20]; with measuring biomechanical factors, such as angles and moments of individual joints [18,21] or body weight distribution at points of contact [22]. However, these studies often only capture or provide partial data of the body mechanics. For example, in [21], pressure data were recorded for participants’ feet but not from under the seat, giving an incomplete picture of how weight is distributed and transferred during STS movements. Authors in [19] simplified the human model by negating the participants’ arms for ease of calculation, which then loses balancing and momentum gaining forces generated by the upper limbs. In works such as [19,21,22] among others, the authors enforced strict rules about how the participants should sit and perform the STS movements, which does aid the consistency of findings but fundamentally fails to recreate how people perform STS actions in their everyday lives. Moreover, the data from these studies are usually difficult to retrieve and proprietary, and to the authors’ knowledge, no open-source database containing full biomechanical data for sit-to-stand-to-sit (STSTS) is currently available. Some datasets do exist but are quite limited, such as only using one accelerometer to measure trajectories [23], solely measuring force data from a balance board [24], or using unnatural or ‘perturbed’ motions [25]. Also uncommon are datasets containing data from users with pathological conditions [26]. Another limitation of many existing studies is the focus on sit-to-stand without including stand-to-sit, an equally important transfer. Stand-to-sit may introduce extra risks or complications to the movement trajectory of an impaired person due to the fact that gravity is acting with the participant, requiring additional muscle control from the subject to sit down safely [27]. By capturing the full biomechanical data alongside pressure data on both the seat and floor, for all multiple seat heights, sit-to-stand as well as stand-to-sit movements, and for both stroke and non-stroke participants, this study aims to create a comprehensive open-source dataset available for future research in this field.
Based on these recorded data, a trajectory prediction algorithm can be applied to retrieve the estimated motion of a user. However, though trajectory prediction has been widely documented for walking [26], it is very scarce for STSTS movements. Previous works such as [28], have used cost functions to generate trajectories for different groups of individuals and even applied them to an assistive device achieving high success rates [29]. In [28], full-body motion capture in addition to force data from sensors under the feet and seat were used to calculate trajectories. However, the participants had to stand up from a bicycle seat which would be sat on and stood up from in a different way to a traditional chair; therefore, the trajectories recorded might not necessarily reflect how a participant may move in their everyday life. Similarly to the current study, in [29] an Xsens MVN motion capture suit was used to monitor healthy participants with high accuracy and frame rate for their unimpaired subjects. For the older subjects, however, an optical marker system was used to capture biomechanical data, and this inconsistency may have created extra variations in the data from the two participant groups. Due to the task at hand, where the sample space for participant heights and weights was fairly small, the small distances between datapoints allows algorithms, such as weighted k-nearest neighbours ( k - N N ) [30], to generate accurate results.
The aim of the proposed study in this manuscript is thus to evaluate whether simple machine learning algorithms such as k - N N can be used to predict STSTS trajectories to inform adaptive robotic control strategies for people with stroke.

2. Materials and Methods

The methodology for this work is split into two sections. First, the data collection method and the experimental setup for capturing the STSTS data is presented. Second, the processing of the recorded biomechanical data for the prediction of movement trajectory is described.

2.1. Data Collection

Participants were recruited from two populations: non-stroke participants recruited from staff and students working within the Bristol Robotics Laboratory, who all reported no physical health problems affecting gait, musculature strength or balance; and those who had experienced stroke. Stroke patients were recruited from Bristol After Stroke, a voluntary organisation in the South West of England. Eligibility criteria were as follows: people with stroke aged over 18 years resulting in unilateral weakness, shoulder muscle strength 3 on Medical Research Council (MRC) scale, medically stable, able to sit to stand independently and able to provide informed written consent. Table 1 shows the distribution of recruited participants from both non-stroke and stroke-affected populations. These criteria were chosen to select participants with mild stroke, or who had significantly recovered from a more serious stroke, and whose STSTS trajectories might not be too dissimilar to those of people without stroke. Analysing mild conditions will (i) reduce the risk of fall and fatigue during the STSTS recordings, and (ii) help validate the proposed methodology in people with mild impairments, after which further research can progress to adapting to users with more severe impairments. We took ‘able to sit to stand independently’ to mean without assistance from mechanical aids or people, as research suggests that later stages of stroke rehabilitation benefit from exercises focusing on lower body strength without external support [31,32].

2.1.1. Experimental Setup

This study combined three synchronised sensors to capture each participant’s STSTS data. Figure 1 shows the setup of these sensors during experiments with a non-stroke subject, and Figure 2 outlines the experimental procedure.
A full-body motion capture suit (MVN Link, Xsens Technologies, Enschede, The Netherlands) (https://www.xsens.com/, accessed on 26 May 2022), with 17 Inertial Measurement Units (IMU) held tightly to the body with rubberised straps. These were positioned on each shoulder, upper arm, wrist, hand, thigh, shin and foot, as well as the pelvis, sternum and head. Each sensor transmitted position and orientation at 100 Hz. Sensors on the feet were attached using tape to better maintain a fixed position. The XSens sensors are wired together in a chain to a power pack and transmitter device located on the participant’s back, with enough slack to allow freedom of movement. The data are streamed from the transmitter to a PC wirelessly.
A pressure sensing mat (Seating Mat Dev Kit, SensingTex, Barcelona, Spain) (http://sensingtex.com/sensing-mats/seating-mat/, accessed on 26 May 2022). The seating mat comprised 16 × 16 pressure sensors in a 30 × 30 cm square fabric, placed with the participant sitting in the centre. Each sensor output an integer value from 0 to 1024, at 4 ± 1 Hz. This enabled analysis of a participant’s weight distribution when seated and preparing to stand and when returning to the seated position.
Finally, a bespoke balance board, which consisted of a square plywood sheet with force sensors (Model YZC-161B) in the four corners in a 0.855 × 0.86 m grid to measure a participant’s centre of force in the X-Y plane, transmitted at 85 ± 5 Hz.
Each of these sensory systems had its own calibration procedure. The XSens suit calibration was built into the XSens MVN analyze software (https://www.xsens.com/products/mvn-analyze, accessed on 26 May 2022), and consisted of a routine where the participant had to sequentially stand statically with feet hip width apart, arms straight and head forward for 5 s; walk forwards at a comfortable pace for 5 s; and turn 180 degrees and walk back to their starting position. For the SensingTex Seating Mat, an attached microcontroller unit contains firmware that translates the pressure signals from each sensor into 8-bit values. This was then calibrated by adding known weights to the seating mat and converting the total reading from all sensors under pressure into a weight value. The bespoke balance board contains a an Arduino Nano (https://store.arduino.cc/products/arduino-nano, accessed on 26 May 2022) microcontroller which converts the force sensor signals into weight values. This was calibrated by adding known weights to the individual sensors and adjusting internal variables to obtain accurate readings.

2.1.2. Experimental Protocol

Previous research has suggested standard methods for measuring STS biomechanics. Often, the sit-to-stand motion is repeated 3–5 times per trial, with breaks in between trials to avoid patient fatigue. Seats can be set to a range of fixed heights [19,21], or increased as a percentage of knee height for each participant [33,34,35]. Participants are often asked to keep their arms crossed in from of their chest [21,34]. Instead, in this study, we allowed the motion of the arms to (i) record natural movements, and (ii) reduce the risk of falls introduced by monitoring people with stroke who may suffer from impaired balance. Participants were asked to keep their hands in a comfortable position, but to avoid contacting external surfaces to provide extra leverage during the STSTS trials. Research has shown that a proportion of elderly and impaired users prefer to use external surfaces, such as chair arms or their own knees, as compensatory behaviours [36], but in contrast, some stroke rehabilitation trials have chosen to prohibit the use of these techniques, resulting in improved strength and function of the lower limbs [31,32], helping to support the reason for using these limitations in the current study.
In this study, each participant performed four sets of 5 STSTS actions, completing a total of 20 repetitions. Based also on the literature regarding STS experiments with people with stroke [8], we decided to perform the first two sets using a seat height of 100% of the participant’s knee height (measured from the floor to the base of the patella), and the latter two using 115% knee height. In some previous studies, lower seat heights, such as 60% or 85% knee height, were also tested, which were found to increase forces required on the knee and hip joints in order to stand. These lowered seat heights were not examined in this study to avoid extra strain on participants during sit-to-stand, and less velocity during stand-to-sit actions. Participants were asked to complete the 5 STSTS at their own pace, raising a hand above the shoulder as a marker of completion of the action. Participants were allowed to take as much time as required between sets to allow for full recovery.

2.2. STSTS Trajectory Prediction

Figure 3 outlines the data processing used to obtain final movement trajectories. Trajectories were predicted using only data from the non-stroke participants, so that generated trajectories would be based on ‘ideal’ data and not influenced by impaired movements.
Data from the seating mat and balance board were synchronised using interpolation to match the 100 Hz of the XSens suit and create identical timestamps. To do so, the Python’s SciPy library [37] was used with the linear interpolation function. Recordings of each set of 5 STSTS actions were split into individual sit-to-stand and stand-to-sit trials using the participant’s hand raise as a marker. The data from each action were manually trimmed to remove excess data from the onset of the actual movement to the end. This was done to ensure that trial averages were only calculated on data from the participants actual movement, and was based on the neck position on the assumption that the upper body is first to move during STS movements to gain momentum.
To obtain average trajectories for each participant, following previous research [11,29], the 10 trials for each seat height were first stretched to equal length ( n = 1000 frames) by interpolation, after which the mean and standard deviation for the trials could be calculated. After each user’s average trial had been calculated, the next stage was to begin creating a model to match these average trials based on users of similar height and weight, or age and Body Mass Index (BMI).
The literature often highlights how displacements of the centre of mass (CoM) are a predictor and cause of falls [7,22]. Calculating CoM dynamically is computationally expensive, and many studies opt for using simplified human models [38], which has been show to affect the accuracy of resultant predictions [39]. This study focuses on the potential use of robotic assistance to prevent users arriving at an unstable body position that could lead to a fall. Taking into account that shoulders are a commonly included key points for motion tracking using computer vision systems [40], this study opted for using an easy-to-estimate virtual point in between the shoulders of each participant as the origin for the created trajectory. These virtual data were created using the midpoint of the Left ( Z s l ) and Right ( Z s r ) shoulder positions recorded from the Xsens data, calculated using Equation (1).
Z m = Z s r + Z s l 2
Afterwards, we focused on obtaining a simplified prediction algorithm that needs as few variables as possible to retrieve the user’s trajectory and can be seamlessly implemented in a robotic solution. We focused on the sagittal plane of movement (x axis in Figure 1), assuming that robotic support will be predominantly in the vertical direction providing assistance for weight bearing, and the robot would behave as a follower in the longitudinal direction. Nevertheless, the movement and behaviour in all three axes were captured and are published to enable further research in this area (see Section 3).
To predict the trajectory, the weighted k-nearest neighbours ( k - N N ) algorithm [30] was implemented using the coordinates of participant height against participant weight, as well as for age against BMI using Equation (2). Each participant was removed from the dataset in turn, with their height and weight or age and BMI values reserved as a coordinate for test data. The nearest neighbours to this test coordinate were then weighted according to their distance to the test coordinate, then combined to create a single trajectory at each time stamp i, Z i . Additionally, we assumed the possibility of the user manually adjusting an assistive device to a comfortable height before performing a sit-to-stand action. Thus, the true starting measured position Z m , 0 for the removed user was saved, and the predicted mid-shoulder trajectory at each time instant i shifted to a new estimate Z i , matching this true starting point.
B M I = W e i g h t ( k g ) H e i g h t ( m ) 2
Z i = Z i Z 0 + Z m , 0
The height and trajectory end points for all users (except the removed test user) were then plotted against each other, producing a weak positive correlation (0.28 using python’s SciKit Learn library [41]). A linear regression model was then built off these data [42], which, when fed the test user’s height as an input, could predict their end point Z r , n , where n is the length of the trajectory vector. The predicted trajectory was then scaled to finish on this predicted end point.
Z i = Z i + i n ( Z r , n Z n )
The true trajectory for the removed participant was compared with this generated trajectory, and the coefficient of determination R 2 [43] for these two curves was found using Equation (5). This was repeated for each user, and then for different values of k (k = 2, k = 3, k = 4, k = 5). The average and standard deviation of the R 2 value over all users for each value of k were calculated. Terms are as described previously, and Z ¯ i represents the mean value of Z at time step i.
R 2 = 1 i = 0 n ( Z i Z i ) 2 i = 0 n ( Z i Z ¯ i ) 2
Pressure data from the four balance board sensors were analysed by observing the difference in pressure on each side of the board to determine how participants weighted each of their legs during the STSTS movements:
P L = P F L + P R L P R = P F R + P R R ,
with P F L and P F R representing the pressure on the front left and right sensors respectively, P R L and P R R representing the pressure on the rear left and right sensors, respectively.
The centre of pressure ( C o P ) was also retrieved from balance board data (7):
C o P x = P F L F L x + P F R F R x + P R L R L x + P R R R R x P F L + P F R + P R L + P R R C o P y = P F L F L y + P F R F R y + P R L R L y + P R R R R y P F L + P F R + P R L + P R R
F L x , F L y , F R x , F R y represent the x and y distance of the front left and right sensors from the centre of the balance board, and R L x , R L y , R R x , R R y represent the x and y distance of the rear left and right sensors from the centre of the balance board, with the exact measurements shown in Equation (8) (values in m).
( F L x , F L y ) = ( 0 , 0.855 ) ( F R x , F R y ) = ( 0.86 , 0.055 ) ( R L x , R L y ) = ( 0 , 0 ) ( R R x , R R y ) = ( 0.86 , 0 )
We hypothesise that people with stroke, who may have impaired balance, would find it harder to regulate their centre of pressure during STSTS movements, which would be shown by a larger range of C o P values for these participants.

3. Results

The results from this study are split into two sections. First, we present the analysis of the data captured from the seating mat and balance board sensors. These are not used later for trajectory generation, but provide a valuable qualitative comparison of the non-stroke participants against those with stroke. Second, we validate the k - N N and linear regression algorithms on predicting STSTS trajectories using the data from non-stroke participants using the XSens motion capture suit.
All the presented and used data in this section are publicly available in both raw and processed forms at [44].

3.1. STSTS Dataset Analysis

3.1.1. Balance Board

Figure 4a shows the average force applied to the balance board’s left sensors (front and rear) compared with the force on right sensors for selected non-stroke and stroke participants over 10 repetitions with seat set at 100% knee height. For the non-stroke participants, a similar amount of force was applied on each side of the body during the sit-to-stand motions, whereas for the stroke-affected participants, a lot more of the weight was taken up by the unimpaired side, in this case, the left leg. This is particularly noticeable around the middle of the STS motion, as weight is being transferred from the seat and onto the feet but before the participant has become fully stable. Also noticeable for the stroke participants is a reduction in force on the balance board just after the beginning of the motion.
Figure 4b shows similar features for the stand-to-sit movement, with the stroke subject greatly favouring the unimpaired leg over the impaired, and the non-stroke subject showing much more even weighting of the legs. The mean difference in weight applied to each leg over the whole action was calculated for each participant using Equation (9), where P F L , i represents pressure on the front left force cell at time step i. The average difference for non-stroke subjects was 2.08 ± 1.75 kg, and for stroke subjects, this was 4.53 ± 4.05 kg. For stand-to-sit, these values were 2.52 ± 1.88 kg for non-stroke and 5.13 ± 4.07 kg for stroke participants.
W e i g h t D i f f e r e n c e = i = 0 i = n | ( P F L , i + P R L , i ) ( P F R , i + P R R , i ) | n
Figure 5 shows the differences between centre of pressure trajectories for stroke and non-stroke participants. Some of the stroke-affected participants show much larger displacements in both the x and y directions, demonstrating that these participants struggled with balance, and may be at greater risk of falls. Non-stroke participants generally showed little displacement in the x-direction.

3.1.2. Seating Mat

Though the full quantitative analysis of the seating mat data is out of the scope of this paper, here we present some brief qualitative analysis highlighting the differences between non-stroke and stroke participants. Figure 6a shows the average progression of pressure applied to the seating mat over the course of 10 sit-to-stand movements for two representative participants, one non-stroke, and one with stroke. Each coloured pixel represents the weight in kilograms applied to each sensor on the mat. It must be noted that this image does not show the full STS trajectory, as when the participant is preparing to stand, and when their weight is fully off the mat, the pressure on the seating mat remains quasi-static.
It can be observed that for the non-stroke subject, the seat-off movement was more gradual and smooth, taking around 40% (55% − 15%) of the total movement time to reach seat off. Instead, the stroke participant created more instant velocity to generate the necessary impulse for seat-off, thus shortening the time of this event (around 25% of the total movement). Also notable is that, as can be observed in Figure 6a, the stroke participant was seated further forward on the seating mat, having less contact surface with the chair.
Figure 6b shows the average weight distribution on the seating mat for the same stroke and non-stroke subjects, this time during the stand-to-sit action. In this graph, matching timestamps are shown for each subject, and it is clear again that the participant with stroke greatly favours one leg (in this case their right) for weighting first, and only reduces weight on that leg at the very end of the action when they have achieved a stable position. Again, the stroke subject sits further forward on the seating mat. The non-stroke participant shows a slight favouritism of one limb over the other, but much less pronounced than the non-stroke user, and weights both limbs at a similar rate.

3.2. STSTS Trajectory Prediction

Figure 7 shows a visualisation of the marker data captured by the XSens suit, overlaid onto images of a non-stroke participant performing the sit-to-stand motion. This image shows the progression of the participant over key moments of the sit-to-stand movement, including seated stationary, preparing to stand, seat off, obtaining standing balance, and finally standing stationary.
Table 2 and Table 3 show the average R 2 values for different k-nearest neighbours when comparing each non-stroke participant’s true trajectory against that predicted by the algorithm. Table 2 shows results when using height and weight as k - N N coordinates, while Table 3 shows results when using age and BMI. The highest score is for k = 3 for height and weight coordinates, with the average R 2 score over all participants of 0.864 ± 0.134 for sit-to-stand at 100% seat height.
For both types of k - N N coordinates, sit-to-stand gave higher average R 2 results than stand-to-sit, and also 100% seat height gave higher results than 115% seat height, as well as larger standard deviations in both cases. Using height and weight gave very similar results for sit-to-stand than age and BMI, with a maximum difference of 0.036 for k = 2 at 115% seat height. However, age and BMI coordinates did generate more accurate trajectories for stand-to-sit, particularly for higher values of k. The maximum difference was 0.173 for k = 4 at 115% seat height, also showing a standard deviation almost half the size of that for height and weight coordinates.
Only 6 stroke-affected participants were measured, each with significantly varying levels of impairment and movement patterns. Due to the small and diverse sample, averaging stroke participants data would have neglected the differences that arise from having suffered from impairments on different sides of their bodies. Thus, we made the decision to display and analyse each participant with stroke separately rather than focusing solely on average values.
Figure 8 shows each stroke participants’ sit-to-stand and stand-to-sit graphs, at 100% seat height on the left and 115% seat height on the right. Red lines show the true trajectories for each participant, averaged over their 10 trials, with standard deviation lines also shown. Blue and green lines represent trajectories predicted for that user by the k - N N and linear regression model, using k = 3 . These graphs show a huge variation in how well the predicted trajectory matches with the participants’ true movement, with a top R 2 score of over 0.99 for the third participant’s sit-to-stand action at 100% seat height, but only 0.11 for the same action for the first participant. The average R 2 score for the sit-to-stand action at 100% seat height for the stroke participants was 0.816 ± 0.267 when using age and BMI as k - N N coordinates, which is a slightly lower average than that for the non-stroke participants, and with a much higher standard deviation. Sit-to-stand movements at 115% seat height are closest in average score to those from the non-stroke participants, with even a smaller standard deviation. Table 4 and Table 5 show the full results for each participant and action. Note that in this case, the predicted trajectory represents an ‘ideal’ behaviour of the participant as a non-stroke subject. A larger error (smaller R 2 value) corresponds to a larger deviation between the stroke and ‘ideal’ trajectories.

4. Discussion

This study used a k - N N and linear regression model to produce trajectories for unseen participants during sit-to-stand and stand-to-sit movements, which in most cases only deviated from the true path by a few centimetres (see Table 2 and Table 3). This was most accurate for subjects near to average heights and weights, as their nearest neighbours were more likely to be a lot closer than for subjects on the fringes of the dataset. This model was able to recreate the full mid-shoulder trajectories from non-stroke subjects with an average R 2 score of 0.864 ± 0.134 for sit-to-stand movements starting from 100% seat height and using height and weight as k - N N coordinates, in most cases deviating from the true trajectory by no more than 5 cm. For 115% seat height, though we still had achieved some level of prediction, the R 2 score decreased and error increased for both sit-to-stand and stand-to-sit movements. This could be due to a raised seat height being less familiar to participants, which as a result created more variation in how they distributed their weight and generated momentum, changing their STS patterns. Additionally, balance could have played a role in the repeatability of the motions, as at 115% height, the seating position was less stable and the impulse to stand up could have been less predictable. A larger number of participants would increase the accuracy of the model, and is an aim for the future of this project.
Comparing the use of height and weight, and age and BMI as k - N N coordinates, the former provided the highest single score, but only by a very narrow margin, whereas age and BMI was shown to more successful for stand-to-sit trials, including having a generalized smaller error. Age and BMI was also more successful at predicting trajectories for higher values of k, which can avoid chances of overfitting [45]. For these reasons, our results suggest that using age and BMI as k - N N parameters is more successful for predicting STSTS movements.
After validating the prediction model, it was also used to estimate ‘ideal’ trajectories for stroke subjects, which could be used for the control of an assistive devices. As it can be observed in Figure 8 and Table 4 and Table 5, the difference between ‘ideal’ and real trajectories varied depending on the subject. For example, subject S 1 exhibited a deep lowering behaviour at around 40% of the movement, that reflected the impulse taken during the sit-to-stand and that is not present in an ‘ideal’ trajectory. Thus, a control could be envisioned in which the robot tries to follow such ‘ideal’ trajectory depending on the level of impairment and assistance needed by the subject. Conversely, participant S 3 was in a good physical state and had little level of impairment, which was visible from the small difference between the the ‘ideal’ and measured trajectories. Thus, in this case, the robot would provide little assistance to the person’s movement. Table 4 and Table 5 shows that using age and BMI as k - N N coordinates results in higher average R 2 values across all movements, and therefore is more appropriate for use in future work.
Moreover, in this work, we managed to create a comprehensive data-set of full-body biomechanics and force data for 30 participants, including 6 who had experienced stroke. These data allowed for a first comparison analysis of body motion for people with and without stroke during STSTS movements, and opens the door for further research on physiological studies and robotic assistance.
Based on the results shown in Figure 5, the range of displacement during sit-to-stand, particularly in the x-direction of the CoP, could be used as an indicator of potential falls, and utilized by an assistive robot to take preventive actions. Despite being able to see large differences in body position and applied forces (Figure 8) for some stroke subjects, the small sample size of stroke participants meant that quantitative analysis of these differences could not be performed reliably. However, the large range of ability levels within the stroke subjects group highlights the importance of future assistive devices to be adaptive to the individual user, and thus to have personalized predictions of their movements.
It must be also pointed out the difference in ages between the two groups, with averages of 37.2 ± 12 years for non-stroke and 66.5 ± 10.7 years for stroke participants. Although some non-stroke participants tested were in their fifties and sixties, the majority were much younger than participants in the stroke group. This could mean that some of the biomechanical differences seen in the stroke group were influenced by age as well as the effects of the stroke. Further research will expand the number of stroke participants tested, including younger people with stroke, to reduce this age discrepancy.
Other trends noted in the stroke-affected participants included a ‘rocking back’ motion when preparing to stand, seen both in the seating mat data with a higher weight applied just before standing, Figure 6, and also mirrored in the balance board data, Figure 4, where participants removed some weight from the feet just before acting. Additionally, some stroke participants exhibited a large difference between weight applied to each foot during STSTS motions, highlighting favouritism of their unimpaired limb and potential increased risk of falls. A key observation is that these trends were not homogeneous among the groups, with some stroke participants showing very little difference between weight applied to each foot, with some non-stroke participants also showing some favouritism of one leg. Larger sample sizes would help to determine more definitive trends within these groups, and create segmentation within groups further than just ‘stroke’ and ‘non-stroke’.
It is possible that some of the stroke-affected participants may use compensatory behaviours, such as pushing off the arms of a chair when performing STS movements in their everyday lives [36,46]. Prohibiting these behaviours in this study may have affected how the participants performed STSTS movements, but care was taken to ensure that all participants were able to safely perform STSTS movements independently.
People with stroke demonstrate considerable asymmetry of weight distribution during sit to stand, demonstrating significantly increased weight bearing on the unaffected side [47,48]. Stroke survivors also commonly exhibit a reduced peak vertical reaction force, an increased time to complete the movement of sit to stand and a larger medio-lateral centre of pressure displacement compared with healthy adults [47]. This also can be seen when looking at the data from the force sensors in Figure 4; the non-stroke participant spreads the weight much more evenly over their two legs, and it is clear that they favour weighting one leg throughout the whole movement, which is also shown in the higher weight distribution imbalance for stroke participants using Equation (9). The non-stroke person sits much further back on the seating mat than the person with stroke in Figure 6, and it has been shown that sitting or ‘scooting’ forward on a chair can make performing STS movements easier for elderly people [46,49], thus showing that the non-stroke user is able to apply more torque to their legs. Comparing the first frame of the stroke patient with the second and third frames, more weight is applied to the seating mat just before the patient stands, representing the patient ‘rocking’ backwards to build momentum for the stand movement. This was also observed visually during the trials.
The data created in this research are a valuable starting point for further designs of assistive robots. We demonstrated that simple machine learning algorithms are able to predict STSTS movement trajectories with relative accuracy, which could be used as inputs for a robot aiming to follow a user’s STSTS trajectory. We highlighted areas where true trajectories differ from predictions, which a robot could use to adapt the level of assistance it is providing to guide the user back to a safe path. We showed that impaired participants tend to exhibit more unstable forces when standing, which could be used as indicators of potential falls and trigger a robot to take preventative measures. Building upon previous datasets found in literature [23,24,25], this dataset combines full-body biomechanics with force data from multiple sensors, allowing for more thorough analysis and comparison between sensors. Further exploration of this dataset could involve analysing participant velocities and accelerations to determine the maximum forces that a STSTS assistive robot would need to be able to apply to operate safely for a wide variety of users. Another avenue could be to focus on a participants’ movement in the horizontal plane and their centre of pressure, as a robot may attempt to prevent falls by reducing movement in these parameters.
A limitation of this study is that it focused on stroke participants who were able to stand safely by themselves to minimize the risk of falls or injury. Stroke participants were recruited from within the Bristol After Stroke charity, which is based in the community rather than in hospital or other rehabilitation settings, and therefore supports more able patients. This means the dataset does not include trajectories of persons severely physically impaired by stroke and therefore does not show the likely larger variation in trajectories, body positions and applied forces that these subjects might demonstrate.
However, a STSTS assistive robot is likely to target a wider range of impaired subjects, possibly including those who might be unable to stand independently. Further research should focus on testing and recording these user’s biomechanical data when given the minimum assistance required to allow them to perform STSTS movements. These recordings would help to determine physical additional requirements of a STSTS robot, such as workspace, force limits, and safety measures, as more severely impaired users are likely to exhibit more extreme behaviours. Measuring this variety of movement patterns will be useful for the safety testing and validation of such robots. In addition to a wider variety of user ability levels, future work could investigate more variability in STSTS scenarios, such as rising from lowered seats, which, although are not ideally suited for impaired users, are still situations that may arise in a home environment.

5. Conclusions

This manuscript presents an algorithm to estimate sit-to-stand and stand-to-sit trajectories from a minimal set of biomechanical parameters. The proposed model was able to recreate full mid-shoulder trajectories from non-stroke subjects with an average R 2 score of 0.864 ± 0.134. The model was then used to predict ‘ideal’ trajectories for people who have suffered a stroke. Moreover, pressure data from both seat and underfoot sensors were presented alongside full biomechanical recordings to form an open-source database (Section 3) that will serve to inform future studies in STSTS motion assistance. The predicted trajectories could be used by an assistive device to guide the motion of a person who has experienced a stroke towards a pre-stroke pattern. The lack of previously existing comprehensive datasets accentuates the significance of the presented open-source data, which can enable further analysis to be carried out and combined with the findings in this study. Additionally, the use of simple machine learning techniques to predict personalized trajectories with minimal biometrical inputs, shows that future assistive devices do not necessarily need to rely on complicated systems to provide adaptable assistance to different users. Future work will focus on applying the generated trajectories into an existing assistive robot, to assess the safety and comfort of the generated control.

Author Contributions

Conceptualization, T.B., P.K. and V.R.G.; methodology, T.B., P.K. and V.R.G.; software, T.B. and V.R.G.; validation, T.B., P.K. and V.R.G.; formal analysis, T.B., P.K. and V.R.G.; investigation, T.B., P.K. and V.R.G.; resources, T.B., P.K. and V.R.G.; data curation, T.B.; writing—original draft preparation, T.B. and V.R.G.; writing—review and editing, T.B., P.K. and V.R.G.; visualization, T.B.; supervision, P.K. and V.R.G. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

This study was reviewed and approved by the Faculty Research Ethics Committee of the Faculty of Environment & Technology of the University of the West of England (UWE REC REF No: FET-2122-01), where the experiments were conducted. All subjects gave written informed consent.

Informed Consent Statement

Informed consent was obtained from all subjects involved in the study. None of the published data contain information that may identify any of the individuals tested.

Data Availability Statement

Data available in a publicly accessible repository at https://github.com/Assistive-Robotics-Lab/STS_Dataset [44], accessed on 26 May 2022.

Acknowledgments

The authors would like to thank Bristol After Stroke charity, for their assistance in recruiting participants with stroke.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
STSSit to stand
STSTSSit to stand to sit
C o P Centre of pressure
k - N N k-nearest neighbours
LRLinear regression
IMUInertial measurement unit
BMIBody mass index
R 2 Coefficient of determination
Z s r z position of the participant’s right shoulder
Z s l z position of the participant’s left shoulder
Z m Midshoulder z coordinate
Z m , 0 True z position of the participant’s midshoulder at time 0
Z i Predicted z position of the participant’s midshoulder created from k - N N algorithm
Z 0 Initial predicted trajectory created from k - N N algorithm
Z i Predicted trajectory with start position adjusted by participant’s true start position
Z i Final predicted trajectory with end point adjusted through LR
Z n Predicted end-point trajectory from k - N N algorithm
Z r , n Predicted end-point of midshoulder trajectory from LR
F L x , F L y x , y position of the front left balance board sensor
F R x , F R y x , y position of the front right balance board sensor
R L x , R L y x , y position of the rear left balance board sensor
R R x , R R y x , y position of the rear right balance board sensor
P F L Pressure reading on the front left balance board sensor
P F R Pressure reading on the front right balance board sensor
P R L Pressure reading on the rear left balance board sensor
P R R Pressure reading on the rear right balance board sensor

References

  1. Chemerinski, E.; Robinson, R.G. The neuropsychiatry of stroke. Psychosomatics 2000, 41, 5–14. [Google Scholar] [CrossRef]
  2. King, D.; Wittenberg, R.; Patel, A.; Quayyum, Z.; Berdunov, V.; Knapp, M. The future incidence, prevalence and costs of stroke in the UK. Age Ageing 2020, 49, 277–282. [Google Scholar] [CrossRef] [PubMed]
  3. Martins, M.; Santos, C.; Frizera, A.; Ceres, R. A review of the functionalities of smart walkers. Med. Eng. Phys. 2015, 37, 917–928. [Google Scholar] [CrossRef] [PubMed]
  4. Shomin, M.; Forlizzi, J.; Hollis, R. Sit-to-stand assistance with a balancing mobile robot. In Proceedings of the 2015 IEEE International Conference on Robotics and Automation (ICRA), Seattle, WA, USA, 26–30 May 2015; pp. 3795–3800. [Google Scholar] [CrossRef]
  5. Katz, S.; Ford, A.B.; Moskowitz, R.W.; Jackson, B.A.; Jaffe, M.W. Studies of Illness in the Aged: The Index of ADL: A Standardized Measure of Biological and Psychosocial Function. JAMA 1963, 185, 914–919. [Google Scholar] [CrossRef] [PubMed]
  6. Dall, P.M.; Kerr, A. Frequency of the sit to stand task: An observational study of free-living adults. Appl. Ergon. 2010, 41, 58–61. [Google Scholar] [CrossRef] [Green Version]
  7. Nyberg, L.; Gustafson, Y. Patient falls in stroke rehabilitation: A challenge to rehabilitation strategies. Stroke 1995, 26, 838–842. [Google Scholar] [CrossRef]
  8. Janssen, W.G.; Bussmann, H.B.; Stam, H.J. Determinants of the sit-to-stand movement: A review. Phys. Ther. 2002, 82, 866–879. [Google Scholar] [CrossRef]
  9. Batchelor, F.A.; Mackintosh, S.F.; Said, C.M.; Hill, K.D. Falls after stroke. Int. J. Stroke 2012, 7, 482–490. [Google Scholar] [CrossRef]
  10. Noble, N.L.; Sweeney, N.L. Barriers to the Use of Assistive Devices in Patient Handling. Workplace Health Saf. 2018, 66, 41–48. [Google Scholar] [CrossRef]
  11. Kamali, K.; Akbari, A.A.; Akbarzadeh, A. Trajectory generation and control of a knee exoskeleton based on dynamic movement primitives for sit-to-stand assistance. Adv. Robot. 2016, 30, 846–860. [Google Scholar] [CrossRef]
  12. Shepherd, M.K.; Rouse, E.J. Design and validation of a torque-controllable knee exoskeleton for sit-to-stand assistance. IEEE/ASME Trans. Mechatron. 2017, 22, 1695–1704. [Google Scholar] [CrossRef]
  13. Squeri, V.; Basteris, A.; Sanguineti, V. Adaptive regulation of assistance ‘as needed’ in robot-assisted motor skill learning and neuro-rehabilitation. In Proceedings of the 2011 IEEE International Conference on Rehabilitation Robotics, Zurich, Switzerland, 29 June–1 July 2011; pp. 1–6. [Google Scholar] [CrossRef]
  14. Chaparro-Rico, B.D.M.; Cafolla, D.; Ceccarelli, M.; Castillo-Castaneda, E. Experimental characterization of NURSE, a device for arm motion guidance. J. Healthc. Eng. 2018, 2018, 303282. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  15. Chaparro-Rico, B.D.; Cafolla, D. Test-retest, inter-rater and intra-rater reliability for spatiotemporal gait parameters using SANE (an eaSy gAit aNalysis systEm) as measuring instrument. Appl. Sci. 2020, 10, 5781. [Google Scholar] [CrossRef]
  16. Pfister, A.; West, A.M.; Bronner, S.; Noah, J.A. Comparative abilities of Microsoft Kinect and Vicon 3D motion capture for gait analysis. J. Med. Eng. Technol. 2014, 38, 274–280. [Google Scholar] [CrossRef]
  17. Obdržálek, Š.; Kurillo, G.; Ofli, F.; Bajcsy, R.; Seto, E.; Jimison, H.; Pavel, M. Accuracy and robustness of Kinect pose estimation in the context of coaching of elderly population. In Proceedings of the 2012 Annual International Conference of the IEEE Engineering in Medicine and Biology Society, San Diego, CA, USA, 28 August–1 September 2012; pp. 1188–1193. [Google Scholar]
  18. Arborelius, U.P.; Wretenberg, P.; Lindberg, F. The effects of armrests and high seat heights on lower-limb joint load and muscular activity during sitting and rising. Ergonomics 1992, 35, 1377–1391. [Google Scholar] [CrossRef]
  19. Munro, B.J.; Steele, J.R.; Bashford, G.M.; Ryan, M.; Britten, N. A kinematic and kinetic analysis of the sit-to-stand transfer using an ejector chair: Implications for elderly rheumatoid arthritic patients. J. Biomech. 1997, 31, 263–271. [Google Scholar] [CrossRef]
  20. Ellis, M.; Seedhom, B.; Wright, V. Forces in the knee joint whilst rising from a seated position. J. Biomed. Eng. 1984, 6, 113–120. [Google Scholar] [CrossRef]
  21. Hurley, S.T.; Rutherford, D.J.; Hubley-Kozey, C. The effect of age and seat height on sit-to-stand transfer biomechanics and muscle activation. Phys. Occup. Ther. Geriatr. 2016, 34, 169–185. [Google Scholar] [CrossRef]
  22. Cheng, P.T.; Wu, S.H.; Liaw, M.Y.; Wong, A.M.; Tang, F.T. Symmetrical body-weight distribution training in stroke patients and its effect on fall prevention. Arch. Phys. Med. Rehabil. 2001, 82, 1650–1654. [Google Scholar] [CrossRef]
  23. Marques, D.L.; Neiva, H.P.; Pires, I.M.; Marinho, D.A.; Marques, M.C. Accelerometer data from the performance of sit-to-stand test by elderly people. Data Brief 2020, 33, 106328. [Google Scholar] [CrossRef]
  24. Yamako, G.; Chosa, E.; Totoribe, K.; Fukao, Y.; Deng, G. Quantification of the sit-to-stand movement for monitoring age-related motor deterioration using the Nintendo Wii Balance Board. PLoS ONE 2017, 12, e0188165. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  25. Holmes, P.D.; Danforth, S.M.; Fu, X.Y.; Moore, T.Y.; Vasudevan, R. Characterizing the limits of human stability during motion: Perturbative experiment validates a model-based approach for the Sit-to-Stand task. R. Soc. Open Sci. 2020, 7, 191410. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  26. Kolaghassi, R.; Al-Hares, M.K.; Sirlantzis, K. Systematic Review of Intelligent Algorithms in Gait Analysis and Prediction for Lower Limb Robotic Systems. IEEE Access 2021, 9, 113788–113812. [Google Scholar] [CrossRef]
  27. Chen, H.B.; Wei, T.S.; Chang, L.W. Postural influence on Stand-to-Sit leg load sharing strategies and sitting impact forces in stroke patients. Gait Posture 2010, 32, 576–580. [Google Scholar] [CrossRef] [PubMed]
  28. Kuželički, J.; Žefran, M.; Burger, H.; Bajd, T. Synthesis of standing-up trajectories using dynamic optimization. Gait Posture 2005, 21, 1–11. [Google Scholar] [CrossRef]
  29. Geravand, M.; Korondi, P.Z.; Werner, C.; Hauer, K.; Peer, A. Human sit-to-stand transfer modeling towards intuitive and biologically-inspired robot assistance. Auton. Robots 2017, 41, 575–592. [Google Scholar] [CrossRef] [Green Version]
  30. Dudani, S.A. The distance-weighted k-nearest-neighbor rule. IEEE Trans. Syst. Man Cybern. 1976, 4, 325–327. [Google Scholar] [CrossRef]
  31. Dean, C.M.; Richards, C.L.; Malouin, F. Task-related circuit training improves performance of locomotor tasks in chronic stroke: A randomized, controlled pilot trial. Arch. Phys. Med. Rehabil. 2000, 81, 409–417. [Google Scholar] [CrossRef]
  32. Dean, C.M.; Channon, E.F.; Hall, J.M. Sitting training early after stroke improves sitting ability and quality and carries over to standing up but not to walking: A randomised controlled trial. Aust. J. Physiother. 2007, 53, 97–102. [Google Scholar] [CrossRef]
  33. Galli, M.; Cimolin, V.; Crivellini, M.; Campanini, I. Quantitative analysis of sit to stand movement: Experimental set-up definition and application to healthy and hemiplegic adults. Gait Posture 2008, 28, 80–85. [Google Scholar] [CrossRef]
  34. Schenkman, M.; Riley, P.; Pieper, C. Sit to stand from progressively lower seat heights—Alterations in angular velocity. Clin. Biomech. 1996, 11, 153–158. [Google Scholar] [CrossRef]
  35. Su, F.C.; Lai, K.; Hong, W. Rising from chair after total knee arthroplasty. Clin. Biomech. 1998, 13, 176–181. [Google Scholar] [CrossRef]
  36. Van Der Kruk, E.; Silverman, A.K.; Reilly, P.; Bull, A.M. Compensation due to age-related decline in sit-to-stand and sit-to-walk. J. Biomech. 2021, 122, 110411. [Google Scholar] [CrossRef]
  37. Virtanen, P.; Gommers, R.; Oliphant, T.E.; Haberland, M.; Reddy, T.; Cournapeau, D.; Burovski, E.; Peterson, P.; Weckesser, W.; Bright, J.; et al. SciPy 1.0: Fundamental algorithms for scientific computing in Python. Nat. Methods 2020, 17, 261–272. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  38. Maroger, I.; Ramuzat, N.; Stasse, O.; Watier, B. Human Trajectory Prediction Model and its Coupling with a Walking Pattern Generator of a Humanoid Robot. IEEE Robot. Autom. Lett. 2021, 6, 6361–6369. [Google Scholar] [CrossRef]
  39. Gill, N.; Preece, S.J.; Young, S.; Bramah, C. Are the arms and head required to accurately estimate centre of mass motion during running? Gait Posture 2017, 51, 281–283. [Google Scholar] [CrossRef] [Green Version]
  40. Chen, W.; Jiang, Z.; Guo, H.; Ni, X. Fall detection based on key points of human-skeleton using openpose. Symmetry 2020, 12, 744. [Google Scholar] [CrossRef]
  41. Pedregosa, F.; Varoquaux, G.; Gramfort, A.; Michel, V.; Thirion, B.; Grisel, O.; Blondel, M.; Prettenhofer, P.; Weiss, R.; Dubourg, V.; et al. Scikit-learn: Machine Learning in Python. J. Mach. Learn. Res. 2011, 12, 2825–2830. [Google Scholar]
  42. Montgomery, D.C.; Peck, E.A.; Vining, G.G. Introduction to Linear Regression Analysis; John Wiley & Sons: Hoboken, NJ, USA, 2021. [Google Scholar]
  43. Nagelkerke, N.J. A note on a general definition of the coefficient of determination. Biometrika 1991, 78, 691–692. [Google Scholar] [CrossRef]
  44. Bennett, T.; Ruiz Garate, V. STS Dataset. 2022. Available online: https://github.com/Assistive-Robotics-Lab/STS_Dataset (accessed on 26 May 2022).
  45. Kramer, O. K-nearest neighbors. In Dimensionality Reduction with Unsupervised Nearest Neighbors; Springer: New York, NY, USA, 2013; pp. 13–23. [Google Scholar]
  46. Komaris, D.S.; Govind, C.; Murphy, A.; Ewen, A.; Riches, P. Identification of movement strategies during the sit-to-walk movement in patients with knee osteoarthritis. J. Appl. Biomech. 2018, 34, 96–103. [Google Scholar] [CrossRef] [Green Version]
  47. Cheng, P.T.; Liaw, M.Y.; Wong, M.K.; Tang, F.T.; Lee, M.Y.; Lin, P.S. The sit-to-stand movement in stroke patients and its correlation with falling. Arch. Phys. Med. Rehabil. 1998, 79, 1043–1046. [Google Scholar] [CrossRef]
  48. Engardt, M.; Olsson, E. Body weight-bearing while rising and sitting down in patients with stroke. Scand. J. Rehabil. Med. 1992, 24, 67–74. [Google Scholar] [PubMed]
  49. Dolecka, U.E.; Ownsworth, T.; Kuys, S.S. Comparison of sit-to-stand strategies used by older adults and people living with dementia. Arch. Gerontol. Geriatr. 2015, 60, 528–534. [Google Scholar] [CrossRef] [PubMed]
Figure 1. Participant wearing XSens suit, seated on the sensor mat attached to a rigid board on an adjustable plinth, with feet placed on the balance board. This setup shows the seat at 115% knee height. Reference frames are shown for guidance on the following methods and results. Yellow and black tape in the middle of the balance board was to help the participants stand near the centre, although they were allowed to move their feet at will to keep themselves balanced and comfortable.
Figure 1. Participant wearing XSens suit, seated on the sensor mat attached to a rigid board on an adjustable plinth, with feet placed on the balance board. This setup shows the seat at 115% knee height. Reference frames are shown for guidance on the following methods and results. Yellow and black tape in the middle of the balance board was to help the participants stand near the centre, although they were allowed to move their feet at will to keep themselves balanced and comfortable.
Sensors 22 04789 g001
Figure 2. Flow chart depicting data capture procedure for each participant.
Figure 2. Flow chart depicting data capture procedure for each participant.
Sensors 22 04789 g002
Figure 3. Flow chart depicting data processing and trajectory prediction for each participant.
Figure 3. Flow chart depicting data processing and trajectory prediction for each participant.
Sensors 22 04789 g003
Figure 4. (a) Average weight placed on each side of the balance board for stroke (top) and non-stroke (bottom) users, 10 sit-to-stand movements, at 100% seat height. (b) Weight placed on each side of the balance board for stroke (top) and non-stroke (bottom) users, stand-to-sit movement, at 100% seat height.
Figure 4. (a) Average weight placed on each side of the balance board for stroke (top) and non-stroke (bottom) users, 10 sit-to-stand movements, at 100% seat height. (b) Weight placed on each side of the balance board for stroke (top) and non-stroke (bottom) users, stand-to-sit movement, at 100% seat height.
Sensors 22 04789 g004
Figure 5. Centre of pressure trajectories for stroke and non-stroke participants, with the start position of each line normalised to (0,0). Each colour represents a participant. Single examples highlighted solely for clarity of comparison.
Figure 5. Centre of pressure trajectories for stroke and non-stroke participants, with the start position of each line normalised to (0,0). Each colour represents a participant. Single examples highlighted solely for clarity of comparison.
Sensors 22 04789 g005
Figure 6. Average weight distribution on seat mat during (a) sit-to-stand action, and (b) stand-to-sit actions. Each sensor reading weight is in kg. Percentage progress through movement is highlighted in white.
Figure 6. Average weight distribution on seat mat during (a) sit-to-stand action, and (b) stand-to-sit actions. Each sensor reading weight is in kg. Percentage progress through movement is highlighted in white.
Sensors 22 04789 g006
Figure 7. Example of full sit-to-stand action, showing points captured from individual markers.
Figure 7. Example of full sit-to-stand action, showing points captured from individual markers.
Sensors 22 04789 g007
Figure 8. Trajectories predicted by k - N N and linear regression model imposed over stroke participants’ (labelled S1S6) recorded trajectories. Two left columns show sit-to-stand and stand-to-sit for 100% seat height. Two right columns show sit-to-stand and stand-to-sit for 115% seat height. Red lines show participants average true trajectory with standard deviations. Blue lines are trajectories predicted by the k - N N and linear regression model using height and weight as k - N N coordinates. Green lines are for predicted trajectories using age and BMI as k - N N coordinates. The y axes on each graph represent the Z position of the mid-shoulder point, and the x axes show percentage completion of the STSTS movement.
Figure 8. Trajectories predicted by k - N N and linear regression model imposed over stroke participants’ (labelled S1S6) recorded trajectories. Two left columns show sit-to-stand and stand-to-sit for 100% seat height. Two right columns show sit-to-stand and stand-to-sit for 115% seat height. Red lines show participants average true trajectory with standard deviations. Blue lines are trajectories predicted by the k - N N and linear regression model using height and weight as k - N N coordinates. Green lines are for predicted trajectories using age and BMI as k - N N coordinates. The y axes on each graph represent the Z position of the mid-shoulder point, and the x axes show percentage completion of the STSTS movement.
Sensors 22 04789 g008
Table 1. Parameters with means and standard deviations of participants.
Table 1. Parameters with means and standard deviations of participants.
Non-Stroke, n = 24Stroke, n = 6
Gender Split (M/F)14/103/3
Age (years)37.2 (±12.0)66.5 (±10.7)
Height (cm)175 (±8)170 (±5.3)
Weight (kg)74.7 (±14.9)87.0 (±18.0)
Table 2. Average R 2 with standard deviation values for different values of k when using height and weight as k - N N coordinates.
Table 2. Average R 2 with standard deviation values for different values of k when using height and weight as k - N N coordinates.
100% Seat Height115% Seat Height
kSit-to-StandStand-to-SitSit-to-StandStand-to-Sit
20.854 ± 0.1380.666 ± 0.4480.719 ± 0.3570.639 ± 0.397
30.864 ± 0.1340.653 ± 0.3760.762 ± 0.3230.579 ± 0.443
40.832 ± 0.1860.516 ± 0.5700.784 ± 0.2810.441 ± 0.644
50.830 ± 0.2150.617 ± 0.4530.799 ± 0.2470.552 ± 0.543
Table 3. Average R 2 with standard deviation values for different values of k when using age and BMI as k - N N coordinates.
Table 3. Average R 2 with standard deviation values for different values of k when using age and BMI as k - N N coordinates.
100% Seat Height115% Seat Height
kSit-to-StandStand-to-SitSit-to-StandStand-to-Sit
20.861 ± 0.1520.645 ± 0.3160.755 ± 0.3240.598 ± 0.356
30.854 ± 0.1510.723 ± 0.2610.754 ± 0.3240.676 ± 0.314
40.833 ± 0.1860.703 ± 0.2940.759 ± 0.2840.614 ± 0.358
50.852 ± 0.1960.733 ± 0.2660.787 ± 0.2730.635 ± 0.332
Table 4. R 2 values for different stroke participants for sit-to-stand and stand-to-sit actions at different seat heights, using k = 3 and height and weight as k - N N coordinates.
Table 4. R 2 values for different stroke participants for sit-to-stand and stand-to-sit actions at different seat heights, using k = 3 and height and weight as k - N N coordinates.
ParticipantSit-to-Stand, 100%Stand-to-Sit, 100%Sit-to-Stand, 115%Stand-to-Sit, 115%
S10.1120.3720.4950.287
S20.9290.4740.894−0.007
S30.9890.9660.9910.967
S40.8430.3870.6740.759
S50.708−0.5090.365−1.82
S60.8230.9660.9170.9
Average 0.734 ± 0.320 0.443 ± 0.541 0.723 ± 0.253 0.181 ± 1.051
Table 5. R 2 values for different stroke participants for sit-to-stand and stand-to-sit actions at different seat heights, using k = 3 and age and BMI as k - N N coordinates.
Table 5. R 2 values for different stroke participants for sit-to-stand and stand-to-sit actions at different seat heights, using k = 3 and age and BMI as k - N N coordinates.
ParticipantSit-to-Stand, 100%Stand-to-Sit, 100%Sit-to-Stand, 115%Stand-to-Sit, 115%
S10.2820.2810.7520.355
S20.9520.4820.9200.488
S30.9960.8190.9860.832
S40.9290.5840.8620.825
S50.8450.1370.638−1.065
S60.8930.9720.9630.932
Average 0.816 ± 0.267 0.546 ± 0.316 0.854 ± 0.135 0.395 ± 0.749
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Bennett, T.; Kumar, P.; Garate, V.R. A Machine Learning Model for Predicting Sit-to-Stand Trajectories of People with and without Stroke: Towards Adaptive Robotic Assistance. Sensors 2022, 22, 4789. https://doi.org/10.3390/s22134789

AMA Style

Bennett T, Kumar P, Garate VR. A Machine Learning Model for Predicting Sit-to-Stand Trajectories of People with and without Stroke: Towards Adaptive Robotic Assistance. Sensors. 2022; 22(13):4789. https://doi.org/10.3390/s22134789

Chicago/Turabian Style

Bennett, Thomas, Praveen Kumar, and Virginia Ruiz Garate. 2022. "A Machine Learning Model for Predicting Sit-to-Stand Trajectories of People with and without Stroke: Towards Adaptive Robotic Assistance" Sensors 22, no. 13: 4789. https://doi.org/10.3390/s22134789

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop