Spinal Cord Stimulation Improves Feedback Control of Reaching Post-Stroke

preprint OA: closed CC-BY-NC-ND-4.0
📄 Open PDF Full text JSON View at publisher

Abstract

Cervical spinal cord stimulation (SCS) improves arm function in people with chronic post-stroke hemiparesis, yet its mechanism remains unclear. The leading hypothesis is that SCS enhances motor drive to agonist muscles. To test this, we developed a proportional-derivative (PD) control model of agonist–antagonist interactions and estimated feedback control gains in 12 healthy and 5 stroke participants. In healthy individuals, gains followed a stereotypical structure that we showed was optimal for generating smooth, stable movements. In stroke participants, this structure was disrupted but shifted toward neurotypical (optimal) values with SCS. Contrary to the prevailing hypothesis, the most consistent effect of SCS was a reduction in stabilization (derivative) gains rather than an increase in motor drive (proportional) gains, suggesting engagement of inhibitory control mechanisms of antagonist (and agonist) muscles. SCS also tuned feedback gains in a frequency-dependent manner, indicating that controller gains could guide stimulation parameter selection. This model-based framework offers an objective means to quantify neuromodulation effects on motor control and identify mechanisms of functional recovery after stroke.
Full text 79,873 characters · extracted from preprint-html · click to expand
Spinal Cord Stimulation Improves Deceleration Phase Control during Targeted Reaching Post-Stroke | medRxiv /* */ /* */ <!-- <!-- /*! * yepnope1.5.4 * (c) WTFPL, GPLv2 */ (function(a,b,c){function d(a){return"[object Function]"==o.call(a)}function e(a){return"string"==typeof a}function f(){}function g(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function h(){var a=p.shift();q=1,a?a.t?m(function(){("c"==a.t?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){"img"!=a&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l=b.createElement(a),o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};1===y[c]&&(r=1,y[c]=[]),"object"==a?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.splice(e,0,u),"img"!=a&&(r||2===y[c]?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i("c"==b?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),1==p.length&&h()),this}function k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&"[object Opera]"==o.call(a.opera),l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return"[object Array]"==o.call(a)},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;f<d;f++)g=a[f].split("="),(e=z[g.shift()])&&(c=e(c,g));for(f=0;f<b;f++)c=x[f](c);return c}function g(a,e,f,g,h){var i=b(a),j=i.autoCallback;i.url.split(".").pop().split("?").shift(),i.bypass||(e&&(e=d(e)?e:e[a]||e[g]||e[a.split("/").pop().split("?")[0]]),i.instead?i.instead(a,e,f,g,h):(y[i.url]?i.noexec=!0:y[i.url]=1,f.load(i.url,i.forceCSS||!i.forceJS&&"css"==i.url.split(".").pop().split("?").shift()?"c":c,i.noexec,i.attrs,i.timeout),(d(e)||d(j))&&f.load(function(){k(),e&&e(i.origUrl,h,g),j&&j(i.origUrl,h,g),y[i.url]=2})))}function h(a,b){function c(a,c){if(a){if(e(a))c||(j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}),g(a,j,b,0,h);else if(Object(a)===a)for(n in m=function(){var b=0,c;for(c in a)a.hasOwnProperty(c)&&b++;return b}(),a)a.hasOwnProperty(n)&&(!c&&!--m&&(d(j)?j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}:j[n]=function(a){return function(){var b=[].slice.call(arguments);a&&a.apply(this,b),l()}}(k[n])),g(a[n],j,b,n,h))}else!c&&l()}var h=!!a.test,i=a.load||a.both,j=a.callback||f,k=j,l=a.complete||f,m,n;c(h?a.yep:a.nope,!!i),i&&c(i)}var i,j,l=this.yepnope.loader;if(e(a))g(a,0,l,0);else if(w(a))for(i=0;i (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0];var j=d.createElement(s);var dl=l!='dataLayer'?'&l='+l:'';j.src='//www.googletagmanager.com/gtm.js?id='+i+dl;j.type='text/javascript';j.async=true;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-P4HH5NV'); Skip to main content Home About Submit ALERTS / RSS Search for this keyword Advanced Search Spinal Cord Stimulation Improves Deceleration Phase Control during Targeted Reaching Post-Stroke View ORCID Profile Omar Refy , View ORCID Profile Luigi Borda , Jacob Hsu , View ORCID Profile Erick Carranza , Nikhil Verma , View ORCID Profile Roberto de Freitas , View ORCID Profile Erynn Sorensen , Amy Boos , View ORCID Profile Marc Powell , View ORCID Profile Lee Fisher , Peter Gerszten , Elvira Pirodini , View ORCID Profile John W. Krakauer , View ORCID Profile George F. Wittenberg , Hartmut Geyer , View ORCID Profile Marco Capogrosso , View ORCID Profile Douglas J. Weber doi: https://doi.org/10.1101/2025.10.29.25338778 Omar Refy 1 NeuroMechatronics Lab, Carnegie Mellon University , Pittsburgh, PA, USA 2 Physics Department, Carnegie Mellon University , Pittsburgh, PA, USA 3 Legged Systems Lab, Carnegie Mellon University , Pittsburgh, PA, USA 16 Department of Neuroscience, University of Copenhagen , Copenhagen, Denmark Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Omar Refy For correspondence: refy{at}cmu.edu Luigi Borda 1 NeuroMechatronics Lab, Carnegie Mellon University , Pittsburgh, PA, USA 4 Mechanical Engineering Department, Carnegie Mellon University , Pittsburgh, PA, USA Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Luigi Borda Jacob Hsu 1 NeuroMechatronics Lab, Carnegie Mellon University , Pittsburgh, PA, USA 4 Mechanical Engineering Department, Carnegie Mellon University , Pittsburgh, PA, USA 6 Robotics Institute, Carnegie Mellon University , Pittsburgh, PA, USA Find this author on Google Scholar Find this author on PubMed Search for this author on this site Erick Carranza 7 Rehabilitation and Neural Engineering Labs (RNEL), University of Pittsburgh , Pittsburgh, USA Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Erick Carranza Nikhil Verma 1 NeuroMechatronics Lab, Carnegie Mellon University , Pittsburgh, PA, USA 4 Mechanical Engineering Department, Carnegie Mellon University , Pittsburgh, PA, USA Find this author on Google Scholar Find this author on PubMed Search for this author on this site Roberto de Freitas 7 Rehabilitation and Neural Engineering Labs (RNEL), University of Pittsburgh , Pittsburgh, USA Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Roberto de Freitas Erynn Sorensen 7 Rehabilitation and Neural Engineering Labs (RNEL), University of Pittsburgh , Pittsburgh, USA Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Erynn Sorensen Amy Boos 7 Rehabilitation and Neural Engineering Labs (RNEL), University of Pittsburgh , Pittsburgh, USA Find this author on Google Scholar Find this author on PubMed Search for this author on this site Marc Powell 8 Reach Neuro, Inc., University of Pittsburgh , Pittsburgh, USA Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Marc Powell Lee Fisher 7 Rehabilitation and Neural Engineering Labs (RNEL), University of Pittsburgh , Pittsburgh, USA 9 Department of Physical and Rehabilitation Medicine, University of Pittsburgh , Pittsburgh, USA Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Lee Fisher Peter Gerszten 11 Department of Neurosurgery, University of Pittsburgh , Pittsburgh, USA Find this author on Google Scholar Find this author on PubMed Search for this author on this site Elvira Pirodini 7 Rehabilitation and Neural Engineering Labs (RNEL), University of Pittsburgh , Pittsburgh, USA 9 Department of Physical and Rehabilitation Medicine, University of Pittsburgh , Pittsburgh, USA Find this author on Google Scholar Find this author on PubMed Search for this author on this site John W. Krakauer 12 Department of Neurology, Johns Hopkins University , Baltimore, USA 13 Department of Neuroscience, Johns Hopkins University , Baltimore, USA 14 Department of Physical Medicine and Rehabilitation, Johns Hopkins University , Baltimore, USA 15 Santa Fe Institute , Santa Fe, USA Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for John W. Krakauer George F. Wittenberg 7 Rehabilitation and Neural Engineering Labs (RNEL), University of Pittsburgh , Pittsburgh, USA 10 GRECC, HERL, VA Pittsburgh Healthcare System and Department of Neurology, University of Pittsburgh , Pittsburgh, USA Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for George F. Wittenberg Hartmut Geyer 3 Legged Systems Lab, Carnegie Mellon University , Pittsburgh, PA, USA 4 Mechanical Engineering Department, Carnegie Mellon University , Pittsburgh, PA, USA 6 Robotics Institute, Carnegie Mellon University , Pittsburgh, PA, USA 7 Rehabilitation and Neural Engineering Labs (RNEL), University of Pittsburgh , Pittsburgh, USA Find this author on Google Scholar Find this author on PubMed Search for this author on this site Marco Capogrosso 7 Rehabilitation and Neural Engineering Labs (RNEL), University of Pittsburgh , Pittsburgh, USA 9 Department of Physical and Rehabilitation Medicine, University of Pittsburgh , Pittsburgh, USA 11 Department of Neurosurgery, University of Pittsburgh , Pittsburgh, USA Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Marco Capogrosso Douglas J. Weber 1 NeuroMechatronics Lab, Carnegie Mellon University , Pittsburgh, PA, USA 4 Mechanical Engineering Department, Carnegie Mellon University , Pittsburgh, PA, USA 5 Neuroscience Institute, Carnegie Mellon University , Pittsburgh, PA, USA Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Douglas J. Weber For correspondence: dougweber{at}cmu.edu dweber2{at}andrew.cmu.edu Abstract Full Text Info/History Metrics Data/Code Preview PDF Abstract Cervical spinal cord stimulation (SCS) improves upper-limb function in individuals with chronic post-stroke hemiparesis, yet how it shapes motor control of arm movement remains unclear. During goal-directed reaching in healthy individuals, movements consist of a coordinated acceleration phase toward the target followed by a deceleration phase that stabilizes the limb near the endpoint. Disruptions in neuromotor control post-stroke can be partially restored by SCS, with prominent improvements occurring in the deceleration phase. To quantitatively characterize these effects, we used a proportional–derivative (PD) control model to fit planar reaching data from 12 healthy and 5 stroke participants. Movements were well described by the model, with proportional gain terms capturing the acceleration phase and derivative gain terms capturing velocity-dependent deceleration. In healthy individuals, model fits revealed a consistent balance between position and velocity-dependent torques that closely matched the optimal solution for smooth and stable reaching predicted by optimal feedback control simulations. In stroke, this balance was altered and partially normalized by SCS, with the most consistent changes observed in the velocity-dependent term. While the prevailing hypothesis is that SCS boosts motor drive to weak agonistic muscles, these results indicate a synergistic and potentially dominant effect in suppressing hyperexcitability of antagonistic muscles controlling the deceleration phase of movement. Finally, the PD controller model revealed frequency-dependent effects of SCS, suggesting that the model parameters may serve as biomarkers for guiding the selection of stimulation parameters. This work serves as a framework for characterizing how neuromodulatory therapies influence arm control . Introduction Stroke is among the leading causes of disability worldwide 1 . As of 2019, stroke has a global prevalence of over 100 million people and has created a formidable health and economic burden, estimated at $2 trillion annually (∼1.7% of global GDP) 2 , 3 . In addition to the immense magnitude of this global problem, approximately 50% of stroke survivors experience permanent deficits in arm and hand function due to disruption of motor control circuits in the brain 4 . Recent studies demonstrate that neuromodulation of sensorimotor pathways in the spinal cord and brain may be effective for promoting recovery of motor function in individuals with chronic hemiparesis, even several years after stroke 5 – 7 . By directly targeting neural circuits in the central nervous system (CNS), neuromodulation alters the dynamics of the neural circuits underlying the feedback control of movement. Thus, CNS neuromodulation directly promotes changes in the motor output of the CNS, which differs from traditional approaches that compensate for muscle weakness using robotic exoskeletons or functional electrical stimulation (FES) to assist movement ( Fig. 1c ). However, the direct effects of CNS neuromodulation in altering the dynamics of CNS motor control have yet to be examined. Download figure Open in new tab Fig. 1 Modeling the feedback control of arm reaching and the effects of stroke and spinal cord stimulation. a , The neural control of arm movement spans the spinal cord and multiple brain regions to integrate visual and proprioceptive feedback of limb-state ( ) for controlling activation ( a ) of muscles that generate torques (τ) at each joint; figure adapted from Scott9. V1: primary visual cortex; S1: primary somatosensory cortex; M1: primary motor cortex; dPM: dorsal premotor cortex. b , Stroke disrupts neural circuits in the brain that communicate with the spinal cord, leading to severe motor impairments. Spinal cord stimulation (SCS) is a neuromodulation therapy that targets the primary sensory afferents innervating arm and hand muscles in the cervical spinal cord. c , Existing therapies, such as functional electrical stimulation (FES) and exoskeletons, attempt to compensate for the loss of motor output by stimulating the muscles or applying assistive torque at the joint, respectively. Neuromodulatory therapies (such as SCS) attempt to improve control of motor output from the spinal cord by targeting the central nervous system (CNS) directly. d , Schematic of two-link model used to model planar arm movements. e , The neural control of flexor and extensor muscle activation at each joint can be modeled using proportional-derivative (PD) controllers. Afferent signals encode limb-state information (joint angular position and velocity), which are delayed by nerve conduction times (T aff ), while neural control outputs are delayed by T eff . Torque production at the muscle level is modeled as a first order transfer function of time constant T tp . Gaussian process based Bayesian Optimization is used to discover the neural controller gains ( k P and k D ) for each joint based on the joint kinematics and torques measured during point-to-point reaching movements. Neuromotor control is achieved through a distributed network of feedforward and feedback circuits that span the brain and the spinal cord ( Fig. 1a ). Feedback control is a dominant mode of control for all types of motor behaviors, and there is strong evidence supporting a theory that feedback gains are optimized to generate movements that are smooth, energetically efficient, and stable in the presence of disturbances 8 – 10 . Moreover, stroke is known to disrupt feedback control circuits, such as the stretch reflex, leading to excessive co-contraction of antagonistic muscles during reaching 11 , 12 . Indeed, Borda et al. 13 demonstrated recently that tonic SCS targeting elbow extensor muscles produced concurrent inhibition of reflex gains and motor unit activity in the elbow flexors. These changes were associated with improvements in reaching kinematics. To understand the effects of SCS on the control of agonist-anatagonist muscle interactions during reaching, we created a computational model to simulate the mechanics and feedback control of joint torques at the shoulder and elbow. The arm was modeled as a two-link chain with pairs of uniarticular flexor and extensor muscles at the shoulder and elbow (see Fig. 1d ). The activation of each muscle was modeled as an independent proportional-derivative (PD) controller with gain parameters (proportional gain: k P , derivative gain: k D ) that were tuned to match the kinematics and torque profiles of human subjects performing planar, point-to-point reaching movements. Reaching data was collected from neurotypical (n=12) and hemiparetic participants (n=5) performing targeted reaching movements in a robotic exoskeleton (KINARM, Kingston, Ontario, Canada). We found that the feedback gain parameters for neurotypical participants (n=12) were similar and matched those obtained by optimizing feedback gains to maximize trajectory smoothness in a dynamic simulation. The gain parameters differed significantly for reaching movements performed by people with stroke, with the largest differences appearing as increased derivative gains for the antagonistic muscles, which produce velocity-dependent torque that decelerates the joint during the terminal phase of reaching 14 . However, when SCS was applied, the controller gains changed to approximate those found for the healthy participants and optimal control simulations. The main effect of SCS was a strong and consistent reduction in the derivative gains across the arm joints, indicating improved control of velocity-dependent torque production at the terminal phase of the movement 15 . Lastly, we found that the effects of SCS on controller gains varied with the SCS pulse-frequency, providing a mapping function that can be used to select SCS parameters that optimize the feedback control behavior of the CNS. The experimental data and modeling results presented here imply that, rather than boosting motor drive at early phases of movement, SCS primarily enhances control of the deceleration and stabilization phase. In other words, the SCS-mediated improvements in reaching performance observed in this planar reaching task were due to a reduction in motor drive during the terminal phase of the movement, rather than an increase in motor drive during the acceleration phase. While these results do not diminish the importance of the SCS-mediated enhancements in agonist muscle activation, they reveal that SCS primarily enhances the neural controller performance, especially at the late phases of the movement. The model presented here provides a means to quantify changes in the arm control structure induced by SCS post-stroke, and can be used generally to understand the effect of neuromodulation therapies on different neurological diseases. Results We start by quantifying the effects of SCS on reaching performance in five stroke survivors. We then present a PD controller model and show that it can simulate reaching behavior of both neurotypical and paretic arms. We show that in neurotypical participants, the PD controller gains exhibit a stereotypical structure, and that the controller gains for the paretic arm deviate from that pattern in a subject-specific fashion. Under SCS, the feedback controller gains are changed to become closer to neurotypical ranges in a stimulation-parameter dependent manner. Finally, we use optimal feedback control simulations to show that controller gains that are optimized to produce smooth point-to-point reaching movements match those found for neurotypical participants, suggesting that SCS tunes neural feedback controller gains towards optimal values. SCS Improves Planar Reaching of the Paretic Arm We quantified the effects of cervical SCS on planar reaching in five individuals with chronic post-stroke hemiparesis. Participants performed a center-out planar reaching task under stimulation-off (STIM OFF) and stimulation-on (STIM ON) conditions. Performance was assessed using success rate, reach time, path efficiency, and smoothness quantified by the number of elbow-velocity peaks ( Fig. 2 ; see Methods). Download figure Open in new tab Fig. 2 The effect of SCS on planar reaching in 5 stroke participants. a , Hand trajectories in a center-out task under STIM OFF and STIM ON conditions show varying degrees of impairment and improvement with SCS. b , Success rate of reaching the target under STIM OFF (gray) and STIM ON (colored). c , Path efficiency, defined as the ratio of the straight line path over the actual path length. d , Reach time, defined as the time taken to reach the target after the ‘go cue’ is given. e , Number of elbow velocity peaks as a measure of path smoothness. All but the least impaired participants (SCS03 and SCS08) showed a statistically significant improvement in at least one out of four metrics. Significance levels are indicated by * for p < 0.05, ** for p < 0.01 and *** for p < 0.001. Sample sizes are reported in Extended Data Table 2 . Across participants, SCS improved reaching kinematics, particularly in those with greater baseline impairment ( Extended Data Table 1 ). The most impaired participant (SCS02) showed significant gains (p < 0.05) in all performance metrics. SCS04 exhibited significant improvements in path efficiency and smoothness, whereas SCS07 showed shorter reach times (p < 0.001). SCS03, who had mild impairment, showed no significant changes. Group-level averages ( Fig. 2b–e ) demonstrate consistent enhancements in success rate and path efficiency, reduced reach time, and fewer velocity peaks under SCS. These findings indicate that cervical SCS enhances movement fluency and stability during reaching, with effects that scale with baseline motor impairment. Feedback Control Model Reproduces Healthy and Paretic Reaching Behavior To examine how SCS alters feedback control, we developed a proportional–derivative (PD) controller model that simulated joint torque control at the shoulder and elbow ( Fig. 3 ; see Methods). The arm was modeled as a two-link chain, with flexor and extensor muscle controllers acting independently at each joint. Joint position and velocity feedback were delayed by 30 ms to represent afferent conduction, and controller outputs were delayed by 30 ms to simulate efferent transmission latencies. Muscle torque generation was modeled as a first-order process with a 50 ms time constant. Controller gains were tuned using Gaussian-process Bayesian optimization to minimize the error between simulated and experimental torques for individual trials. Download figure Open in new tab Fig. 3 Model fitting performance across participants. a-b , Model fit of elbow and shoulder torque profiles for a neurotypical healthy control participant (HC09). Resulting model control gains followed a U-shape for shoulder (and inverted U-shape for elbow) for all control participants. Sample size is 5 repetitions for experimental data, and 25 model fits (5 per repetition). c , Example model fits for shoulder and elbow torque profiles under STIM OFF and STIM ON conditions (SCS04). d-e , Summary of model performance based on NRMSE and SNE across control and stroke participants under STIM OFF and STIM ON conditions. Across all participants, the model reproduced torque profiles with 86% accuracy (based on NRMSE), while tracking average torque with 99% accuracy (based on SNE). Sample size is reported in Extended Data Table 2 . In healthy participants, the model reproduced measured joint torques with high accuracy (average NRMSE = 10.7 ± 2.8%, SNE = –1.0 ± 2.8%). Torque traces and fitted gains showed characteristic U-shaped and inverted-U gain structures for the elbow and shoulder, respectively ( Fig. 3a,b ). For the stroke group (n = 5; SCS02, SCS03, SCS04, SCS07, SCS08), the model also captured behavior across STIM OFF and STIM ON conditions with comparable accuracy (NRMSE = 18.9 ± 4.3% and 17.9 ± 5.1%; SNE = –0.7 ± 4.4% and –1.8 ± 3.6%, respectively; p > 0.3 for all comparisons). NRMSE was significantly lower for healthy participants (p < 0.001), reflecting greater trial-to-trial variability after stroke. Overall, the PD controller reproduced torque profiles with ≈ 86% accuracy across all participants and conditions, validating it as an effective model of feedback control of muscle activation in this point-to-point planar reaching task. PD controller gains We next examined how feedback controller gains contribute to joint torque production during reaching. During extension movements, the proportional gain for the agonist (k ext ) and the derivative gain for the antagonist (k flx ) regulate the joint torques that accelerate and decelerate the joint, respectively during the initial and terminal phases of the reach ( Fig. 4a ; Supplementary Video 1). The remaining gains (k flx , k ext ) contribute only small torques to stabilize the joint near the target. The fitted gains for the elbow muscles ( Fig. 4b ) form a consistent inverted-U pattern across all healthy control participants, reflecting the balance between movement initiation (“ballistic gains”) and termination (“stabilization gains”). Download figure Open in new tab Fig. 4 Feedback controller gains and their relative contributions to total torque output. a , Reaching trajectory of a control participant (HC09) and the associated component and total torque profiles for the elbow. b , The component torques are plotted in different colors and represent the contributions of each controller gain. The movement typically consists of a ballistic phase where the hand accelerates toward the target and then decelerates on approach to the target. The terminal or stabilization phase occurs at the end where fine corrections are made to stop at the target. c , Average controller gains for the elbow (HC09); the gains are normalized by their relative contribution to the total torque. We labeled the elbow extension proportional gain and flexion derivative gain as the ballistic gains (dark and light blue), and the flexion proportional and extension derivative gains as the stabilization gains (dark and light gray), reflecting their primary contributions to different phases of the movement. The ballistic gains dominate as the stabilization gains contribute only a small percentage of the total torque, resulting in an inverted U-shaped structure, which was observed across all healthy participants. d , Reaching trajectory of SCS02 under the STIM OFF condition shows erratic movements as the participant struggles to reach the target. e , The model reveals that the net elbow torque is dominated by large and alternating flexion and extension torques associated with the derivative gains. f , The structure of the controller gains for SCS02 differs from that of the healthy (control) participant. In this example, it is characterized by abnormally high elbow flexion and extension derivative gains. g , The reach trajectory for SCS02 improves markedly in the STIM ON condition. h , The profile of the component torques shows fewer oscillations and smaller peak torques when SCS is active. i. The derivative gains for both the flexor and extensor muscles are decreased closer to levels exhibited by the healthy control participant. Sample size for gain fits is 15 for both control and stroke participants (5 model fits per repetition, 3 repetitions). In stroke participants, this gain structure was disrupted. For example, in SCS02 under the STIM OFF condition, large alternating flexion and extension torques prevented successful reaching ( Fig. 4c ; Supplementary Video 2). The model revealed abnormally high derivative gains for both flexors and extensors, producing excessive velocity-dependent torques that obstructed movement ( Fig. 4d ). With SCS, reaching performance improved ( Fig. 4e ; Supplementary Video 3), and derivative gains decreased toward healthy ranges ( Fig. 4f ), reducing abnormal oscillatory torques. Across participants (n = 5), SCS consistently shifted gain structures toward neurotypical patterns. These results suggest that the effects of stroke on neuromotor control are dominated by elevated derivative gains, resulting in excessive velocity-dependent torques, and these effects are mitigated by SCS to restore a more typical feedback control regime. Feedback Controller Gains Shift Toward Neurotypical Levels Under SCS We next quantified how SCS affected the feedback controller gains obtained from model fits in each stroke participant (n = 5; Fig. 5 ). For brevity, we focus on the elbow joint during reaching to the central target; shoulder results are provided in the Supplementary Material. The bar plots show average values for the proportional and derivative gains for the flexor and extensor controllers under STIM OFF (grey) and STIM ON (red) conditions. The yellow shaded regions indicate the range of gain values found for each participant’s nonparetic limb performing the same reaching task. Download figure Open in new tab Fig. 5 Feedback controller gains from model fitting to experimental data collected during the STIM OFF and STIM ON conditions. Bar plots showing the average gain values taken across 3-10 repetitions of the planar reaching task to a single target in each condition (model optimizations per repetition; individual repetition count per participant reported in Extended Data Table 3 ). The error bars indicate one standard deviation. The yellow shading indicates the range of gain values found for the nonparetic arm in participants SCS03-SCS08; planar reaching data was not collected for the nonparetic limb with SCS02. With the exception of SCS02, all participants showed significant reductions in the flexor derivative gain with STIM ON, while increases in the extensor proportional gain were observed in only one participant. Statistical significance is reported as t-tests (corrected for multiple comparisons; FDR Benjamini-Hochberg) between STIM OFF and STIM ON. Statistical significance: *, ** and *** denote p < 0.05, p < 0.01 and p < 0.001, respectively. The most impaired participant (SCS02), showed the strongest tuning effects as the flexor derivative gain decreased by 44% ( p = 0.0021, d = 1.19) and extensor derivative gain decreased by 73% ( p < 0.001, d = 1.51), both shifting toward healthy ranges. Interestingly, the extensor proportional gain was unchanged by stimulation, indicating that SCS did not increase the elbow extension torque even though stimulation was targeting the triceps muscle. SCS04 also exhibited significant reductions in derivative gains (–26% and –30%, p < 0.05). Unlike SCS02, these were accompanied by an 83% increase in the extensor proportional gain ( p < 0.001), reflecting the direct effect of SCS targeting the triceps to boost voluntary recruitment. SCS07 showed a 31% reduction in flexor derivative gain ( p < 0.001) and a 21% decrease in extensor proportional gain ( p = 0.05). SCS08 exhibited a 32% reduction in the flexor derivative gain ( p = 0.031), bringing it into the range observed for their nonparetic arm. SCS03 displayed no significant changes, likely because their baseline reaching performance and controller gains were already within range of their nonparetic limb. Across participants, the most consistent effect of SCS was a reduction in excessive derivative gains (k D ), reflecting normalization of the level of velocity-dependent torque produced to slow the joint during the terminal phase of the reaching movement. Surprisingly, we observed only one case where the proportional gain (k P ) for the extensor muscle increased significantly. Indeed, SCS04 was the only participant that exhibited a low proportional gain in the extensor muscle at baseline, and SCS boosted the gain to a level just below the nonparetic range. This pattern of changes contradicts the idea that SCS enhances voluntary recruitment of targeted muscles, such as triceps in the present analysis. Instead, these results suggest the dominant effect of SCS, used here to target triceps, is actually more effective in suppressing velocity-dependent torques generated by the biceps. Tuning of Model Gains Varies with Stimulation Frequency When used clinically, SCS and nearly all other neuromodulation devices are tuned manually, often without a clear biomarker for measuring a therapeutic effect 16 . Since the patient’s response to neuromodulation depends critically on the choice of stimulation parameters, we used the feedback controller model to examine how the proportional and derivative gains change as stimulation frequency is adjusted to optimize reaching performance in two participants ( Fig. 6 ). For SCS02, increasing SCS frequency from 0 Hz to 100 Hz progressively improved movement quality ( Fig. 6a–e ). Reach trajectories became straighter and smoother, exhibiting incremental improvements with each step in SCS frequency ( p < 0.05). Fitted controller gains revealed that both flexor and extensor derivative gains declined with frequency, driving the overall gain structure toward the healthy pattern ( Fig. 6b,e ). These results demonstrate a stimulation-frequency dependent effect in reducing the flexor derivative gain at the elbow. Download figure Open in new tab Fig. 6 The effects of neuromodulation on reaching performance vary with SCS frequency. a , Reaching trajectories of SCS02 during free forward reaching under STIM OFF and STIM ON at 40, 60 and 100 Hz. Note the improvement in performance as stimulation frequency increases. b , Model normalized gains of the elbow joint in comparison to healthy ranges. Healthy ranges are indicated in transparent gray on all plots. Notice the restoration of the inverted U-shaped model gains as stimulation frequency increases. c and d show path efficiency and number of elbow velocity peaks at different stimulation frequencies. 100 Hz stimulation frequency resulted in straighter and smoother reaching paths. Sample size is 5 repetitions per frequency. e. Radar plots for average gain values. Notice how derivative gains are gradually reduced closer to healthy ranges. Panels f-j show the same results but for SCS04, where the optimal stimulation frequency was 40 Hz. For SCS04, increasing the stimulation frequency decreased reaching performance. Sample sizes for panels h and i are 5 repetitions for 0, 40 and 80 Hz and 10 repetitions for 60 Hz. Optimal frequencies are indicated in bold throughout the figure. Statistical significance is indicated as * for p < 0.05 and ** for p < 0.01. A different trend was observed with SCS04 ( Fig. 6f–j ). The best performance occurred with an SCS frequency of 40 Hz, where reaches were smoothest and closest to healthy behavior. Path efficiency decreased from 0.66 at 40 Hz to 0.55 ( p < 0.05, d = 1.20) and 0.39 ( p < 0.05, d = 1.68) at 60 Hz and 80 Hz, respectively, while the number of velocity peaks increased from 2.6 to 4.2 and 7.4 ( p < 0.05). At 80 Hz, both metrics were worse than baseline (STIM OFF; p < 0.05). Correspondingly, derivative gains diverged from healthy ranges as frequency increased ( Fig. 6g,j ). Together, these results demonstrate that stimulation frequency strongly modulates reaching performance and the feedback controller model identified consistent reductions in the flexor derivative gain as a key contributor to the improvement in reaching behavior. While optimal tuning (e.g., 100 Hz for SCS02, 40 Hz for SCS04) enhances smooth, stable reaching, suboptimal frequencies can degrade performance, underscoring the need for individualized parameter optimization. Optimal Feedback Control Model Explains Gain Tuning Because healthy participants exhibited a stereotypical U-shaped gain structure, we hypothesized that these feedback gains are tuned to optimize movement smoothness during targeted reaching. To test this, we simulated a two-link arm controlled by unidirectional flexor and extensor torque generators at the shoulder and elbow ( Fig. 7 ; see Methods). Bayesian optimization was used to identify the proportional and derivative gain values that maximized trajectory smoothness while reaching a target within a specified duration (2 s). Download figure Open in new tab Fig. 7 Optimal feedback control model reveals a set of feedback controller gains that match the pattern of those observed in neurotypical participants and explains deviations from optimal. a , The optimal elbow and shoulder gain structures resulting from optimizing a simulated arm’s trajectory smoothness time to target. The gains are normalized by their relative contributions to the total torque (as in Figure 4 , panels c, f and i, Figures 5 and 6 ). The U-shaped and inverted U-shaped gain structures come out naturally from model optimization with an objective function to reach the target successfully with minimum jerk, where the ballistic gains generate the majority of torque. b-j show model reaching trajectories and joint angles using optimal gain structures (panel d), mistuned (50% increase) elbow flexor derivative gain (panel g) and mistuned elbow flexor (50% increase) and extensor derivative (700% increase) gains (panel j). Shoulder gains were kept at optimal ranges throughout. Mistuning elbow flexor derivative gain results in jerky reaching trajectories (panels e-f ). If elbow extensor derivative gain is also mistuned, elbow movements (and hence shoulder through interaction torques) can become unstable (panels h-i ). Dashed lines in panels h, k and n represent example data from healthy participant HC09. *** indicates p < 0.001. Optimization consistently yielded the same gain organization observed experimentally: a U-shaped pattern at the elbow and an inverted U-shape at the shoulder ( Fig. 7a ; Supplementary Video 4). The extensor proportional and flexor derivative gains dominated torque production at the elbow, while the flexor proportional and extensor derivative gains dominated at the shoulder, matching the empirical findings in healthy participants. Simulations using these optimal gains produced straight hand paths, bell-shaped velocity profiles, and smooth joint trajectories ( Fig. 7b–d ). Increasing the elbow flexor derivative gain alone induced mild oscillations in hand velocity ( Fig. 7e–g ; Supplementary Video 5), whereas simultaneously increasing both flexor and extensor derivative gains produced large, alternating flexion–extension torques ( Fig. 7h–j ), resembling behaviors observed in stroke participants such as SCS02 and SCS04. These results demonstrate that the stereotypical gain structure observed in healthy participants corresponds to an optimal feedback control policy for generating smooth, stable reaching. Deviations from this structure result in clear and characteristic motor deficits, reinforcing that post-stroke impairments—and their restoration by SCS—can be understood as shifts in the multidimensional space of feedback control gains. Discussion For decades, spinal cord stimulation (SCS) has been an established treatment for chronic pain. More recently, its potential to promote motor recovery after spinal cord injury 17 – 19 and stroke 20 has emerged as a major new application of neuromodulation. With ongoing efforts to translate SCS into neurorehabilitation practice, it is crucial to understand its mechanisms of action 21 , articulate its effect on motor control of voluntary movement, and develop principled approaches for programming stimulation parameters to maximize functional benefit. When SCS is applied near the dorsal root entry zone, it primarily activates large-diameter afferent neurons, particularly Ia muscle afferents 22 . These afferents project directly and indirectly to spinal motor neurons, but also to many sensorimotor areas of the nervous system. At higher amplitudes, SCS can evoke trans-synaptic activation of motor neurons, evoking the posterior root muscle (PRM) reflex 23 . In neuromotor rehabilitation, however, SCS is applied below the motor threshold and delivered continuously at a fixed frequency, modulating excitability rather than directly eliciting contractions. Continuous activation of Ia afferents can thus increase motoneuron responsiveness to descending inputs 24 , 25 , potentially compensating for reduced corticospinal drive after stroke. In this context, SCS does not directly generate movement but modifies the input–output properties of the spinal (and CNS) circuitry, effectively tuning feedback gains within corticospinal control loops. Here, we tested the hypothesis that SCS improves motor control by boosting motor drive during the acceleration (i.e. ballistic) phase of movement. We used a neuromechanical model to parse out position and velocity-dependent components of the torques generated at the shoulder and elbow during the acceleration and deceleration phases of reaching, respectively. In neurotypical (i.e. healthy) participants, we found that these component torques and associated controller gains exhibit stereotypical patterns ( Figs. 3 – 4 , Extended Data Figs. 1 – 2 , 5 ) that are optimal for smooth, stable point-to-point reaching ( Fig. 7 ). Stroke disrupted this gain structure ( Figs. 4 – 5 , Extended Data Figs. 3 – 4 ), but SCS partially restored it in a frequency-dependent manner ( Fig. 6 ). We found that, rather than simply boosting agonist muscle drive, SCS suppresses velocity-dependent torques generated by antagonistic muscles during the deceleration phase of reaching. Thus, SCS enhances control of muscle activation more globally to achieve efficient regulation of joint torques throughout all phases of movement. By decomposing joint torques into position- and velocity-dependent components, the model reveals how different feedback elements contribute to impaired movement and recovery. When SCS was active, the derivative gains, which generate velocity-dependent torques, decreased by 26–44% ( Extended Data Fig. 3 ). The effect of SCS on proportional gains, while present in some participants, was far less consistent. However, the planar reaching task used here did not reveal clear deficits during the acceleration phase, which is when the position-dependent torques are dominant. Indeed, more challenging tasks, such as unsupported 3D reaching 5 , are more likely to reveal improvements in the proportional gains with SCS. As shown in Fig. 6 , optimal frequencies varied across participants and electrodes: in SCS02, higher frequencies (100 Hz) improved trajectory smoothness and gain normalization, whereas in SCS04, optimal performance occurred at lower frequencies (40 Hz). At suboptimal frequencies, performance deteriorated, emphasizing that SCS can both enhance or impair control depending on tuning. These results underscore the need for personalized optimization of stimulation parameters and suggest that models such as ours could help guide parameter selection by targeting specific gain profiles. Like all models, ours has several limitations. It is important to note that our model attempts only to describe the behavior of the CNS in controlling joint torques during goal-directed reaching, and it is not intended to implicate specific neural circuits. The model captures only 86% of NRMSE variance, which leaves room for improvement, perhaps by including unmodeled factors such as changes in feedforward drive or multi-joint coordination deficits. Furthermore, the reaching behavior studied here is restricted to planar reaching without the influence of gravity. Despite its simplicity, the model presented here provides an objective, quantitative method to assess changes in control at different phases of the movement induced by SCS. Through this approach, it becomes evident that healthy reaching is generated via optimal gain patterns that are optimal for smooth, stable movements, that stroke disrupts this pattern, and that SCS can partially restore it primarily by normalizing derivative gains that stabilize motion rather than by amplifying proportional gains that drive it. In other words, SCS enables the CNS to solve the control problem of reaching more efficiently. These findings bridge motor control theory and neurorehabilitation, offering a principled foundation for developing individualized, model-based interventions to restore movement after neurological injury. Methods Participants This study was conducted as a substudy under the Spinal Cord Stimulation for Restoration of Arm and Hand Function in People With Subcortical Stroke ( NCT04512690 ) trial aimed at evaluating the effects of spinal cord stimulation for restoring arm and hand function post-stroke. A total of seven participants completed the parent study, and five of the seven were selected for the experiments presented here. A group of 12 neurologically intact participants were tested (healthy controls, HC group). The five stroke participants (2M/3F) were 3-10 years post-stroke and whose impairment levels spanned a representative range of Fugl-Meyer scores. Participants were implanted with epidural spinal cord stimulation (SCS) electrodes for 29 days, which were removed following completion of the study. All experiments reported in this work were performed during the implant period. Participants in the stroke groups are referred to as SCSXX and are numbered based on their study enrollment order. Participant numbering is consistent with Powell et al. 20 In addition, twelve healthy control participants (referred to as HCXX) with no underlying neurological disorders relevant to the upper extremity were recruited. Participant details are provided in Table 1 . All experiments were approved by the University of Pittsburgh Institutional Review Board, and were conducted in accordance with the Declaration of Helsinki. All participants provided written informed consent. View this table: View inline View popup Table 1: Study participant information. Implant and Intraoperative Testing Stroke participants were implanted with two linear, 8-channel SCS leads (referred to as rostral and caudal, or R and C throughout this study) that were inserted into the epidural space of the cervical spinal cord to target the dorsal root entry zone at the spinal segments innervating the upper limb. Implant procedure details are described in Powell et al. 20 Recruitment curves were measured intraoperatively and on the first day of testing to measure muscle activation thresholds for each SCS electrode. Briefly, stimulation pulses were applied at a low repetition rate (0.5-2 Hz), and evoked responses were measured in major muscle groups of the arm while stimulation amplitude was increased incrementally. The peak-to-peak amplitude of the compound action potential evoked in each muscle was used to quantify the strength of recruitment for each of the SCS electrodes, which were distributed along the rostro-caudal axis. The recruitment thresholds for each muscle were used to guide the selection of stimulation parameters for targeting specific muscles. During the reaching experiments studied here, stimulation was applied at a fixed amplitude and frequency on one or more SCS electrodes, with parameters adjusted manually to optimize task performance. The stimulation amplitude was set to a level below the motor threshold found during the recruitment curve measurements, and the stimulation frequency was set to a level between 40 and 100 Hz. The parameter configurations used in the experiments reported in this study are summarized in Table 2 . View this table: View inline View popup Table 2. Stimulation parameters for all experimental trials used in the study. R and C stand for rostral and caudal, respectively, and refer to the rostral and caudal positions of the linear probes, respectively. The number preceding the R and C designation refer to the stimulation site (1-8) on the linear probes. The asterisk (*) indicates the best parameter set used in the SCS frequency optimization experiment shown in Figure 6 . View this table: View inline View popup Download powerpoint Table 3. Inertial properties for estimating experimental torque and for the two-link model simulations. 2D reaching tasks and data collection During the 29 day implant period, the participants performed a variety of tasks such as 2D and 3D reaching tasks, and other functional assessments such as the Fugl-Meyer Upper Extremity Assessment (FM-UEA). Here, we focus only on the planar reaching task, which was performed using the Kinarm robotic exoskeleton (BKIN Technologies, Ltd., Kingston, Ontario, Canada) that supported the arm against gravity and measured kinematics at the shoulder and elbow at a 1000 Hz sampling rate. Joint torques were calculated using measured joint kinematics (see subsequent subsections for more details). Participants were prompted to reach forward from a proximal starting position, near the chest, to targets positioned ∼8-40 cm away. The target locations were tailored to each participant’s range of motion and impairment level. The task was modified for participant SCS02, as they were unable to perform targeted reaching. Instead, SCS02 was instructed to reach from a point close to their chest and to the furthest of 3 lines that they could reach. This task was only used in the frequency optimization experiment for SCS02. Biomechanical arm simulation and feedback controller design The PD controller We modeled the neural control of torque generation at each joint as a pair of proportional-derivative (PD) controllers that regulate activation of the flexor and extensor muscle groups. Angular displacement is positive in the extensor direction. The input to each PD controller is the error state vector, which represents the difference between the current and target angular position and velocity states. The target positions were set to the joint angles recorded when a target was reached, and the angular position error (Δθ i ) is the difference between the target joint angle (θ T ) and the actual angle (θ i ) at time i . Since the target angular velocity is 0, the angular velocity error is simply the actual angular velocity . The control policy for regulating activation of each muscle group is represented by the following equations: Where is the muscle activation signal at time i for the extensor ( ext ) or flexor ( flx ) muscle group at joint j (shoulder or elbow). The proportional (k P ) and derivative (k D ) gain terms are tuned for each actuator. The saturation functions ensure that the flexor/extensor torques are nonzero only when the actuator is engaged to generate torque in its respective direction. For example, is 0 when is positive, and is 0 when is negative. The muscle activation signal is converted into torque through a first order transfer function (see Figure 1e for a schematic), and the flexor and extensor torques are summed for each joint to produce the total joint torque. Feedback Controller Optimization The feedback controller gains were determined by Bayesian optimization with a Gaussian prior. Bayesian optimization entailed searching for the controller gains that produced torque profiles that are the closest to experimental values based on the joint angles and angular velocities measured during the experiments. Below we describe the gain search algorithm. Gain Search Algorithm Joint kinematics were measured using the Kinarm while participants performed planar reaching movements. Joint kinematics were used to estimate joint torques as described in a later subsection. The gain parameters for the PD controller model were fit using Bayesian Optimization to find a set of PD controller gains that minimized the error between the measured and simulated joint torques, as described in the following loss function: where λ controls the the penalty for selecting larger gain values, T is the duration of the trial, and k d are the individual gain values, where d denotes proportional/derivative flexor/extensor gains. The loss is dominated by the absolute error of the model relative to the experimental data normalized to the duration of the trial, with an additional component to penalize higher gains, ensuring that the model fits the data with the minimum value possible for each gain. The λ parameter was set to 0.001 for all model fittings reported in this paper. Gain values are initiated at random values (typically within a range of 0-10 N-m/rad and N-m-s/rad). Every new iteration, the gains were updated by adding a random number with standard deviation equal to 50% of the gain range (i.e. 5 in the case of [0, 10] range). Every time the model made an improvement, the gain search was narrowed by halving the gaussian noise. The optimization was stopped when a desired loss was met. This optimization loop was then repeated a predetermined number of times (5 unless otherwise stated) and the best gains were averaged over these iterations to account for the stochastic nature of the search. Desired loss was adjusted manually between targets and participants as to best fit each torque curve. The gain search was implemented as a custom-written script in Matlab, and is provided in the Source Code section. Gain Normalization To assess the individual torque contributions of different controller gains, we normalized the gains using the ratio of their time-integrated torque generated to the total torque produced. That is, the normalized gains, , are related to the unnormalized gains, , through the equation: where j is the respective joint (shoulder or elbow), d denotes proportional and derivative gains for the flexor and extensor directions indicated by is the component torque for each unidirectional actuator, τ j denotes the total joint torque applied at time i at joint j , and T is the duration of the reaching trial. Unlike , the normalized gain values, are more indicative of the relative contribution of each feedback gain to the total torque produced. Experimental Torque Calculation In the cases where torque was not recorded by the Kinarm system during the experiment, torque was instead calculated using the recorded joint angles, velocities and accelerations by using a two link manipulator as a model. By finding the theoretical kinetic energy ( T ) at any given time step and assuming potential energy ( U ) was negligible, we find that the lagrangian ( L ) is simply the kinetic energy at any given time, and joint torques (τ ) can be calculated through the Euler-Lagrange equation such that: yielding: where m i and L i denote the masses and lengths of each arm segment, respectively (1 referring to the upper arm , while 2 refers to the forearm), θ i and denote the angle and angular velocity of an arm segment relative to the horizontal, and c 12 and s 12 denote cos (θ 1 – θ 2 ) and sin (θ 1 – θ 2 ) respectively. Segment masses and lengths were estimated based on 14 . For simplicity, each segment was treated as a thin rod with moment of inertia where m and L denote the segment mass and length, respectively. We did not include damping in the torque calculations for two reasons. First, reaching speeds were slow, making damping effects negligible. Second, a damping term would shift the absolute values of the derivative gain estimates but would not affect the difference in derivative gains between STIM OFF and STIM ON. Because these torque estimates were used solely to compare experimental control gains (and not to match the arm simulation torques), omitting damping is justified. Since minor changes in inertial properties will not affect the qualitative structure of the controller gains, we used the same inertial properties for all participants when torque was estimated (see table below for parameters). Model Performance Assessment The following metrics were used to assess the model’s fitted torque profiles in comparison to experimental values: Normalized RMSE (NRMSE): RMSE measures the quadratic residuals of the calculated (i.e. model) τ m from the reference (i.e. experimental) signal τ e . This metric is normalized to the peak-to-peak amplitude of τ e to accommodate for the widely different ranges of torque profile amplitudes during reaching across participants, targets, and stimulation parameters. This metric was used to assess how the model deviated, on average, from the experimental values. Signed Normalized Error (SNE): We defined Signed Error as the average error between τ m and τ e across the duration of the trial, which was likewise normalized to the peak-to-peak amplitude of τ. This metric was used to assess how well the model’s predicted torque tracked the average experimental torque profiles. Two-link biomechanical model We built a two-link biomechanical model in Matlab Simulink (MathWorks) to simulate reaching behavior under conditions where the feedback controller gains are optimized to produce smooth reaching trajectories. The arm was modeled as a two-link arm, with segments representing the upper and lower arms. The inertial and geometric parameters of the two-link model were identical to those used in experimental torque calculations (see earlier). Joints were modeled as damped revolute joints where the shoulder was fixed while the elbow could move freely in the 2D plane 26 , 27 . The parameters used in the model are summarized in the table below, and the model simulation files are included in the Source Code section. We used the same optimization model to search for gain structures that are optimal for 2D reaching using the two-link model. The class of objective functions used is represented by Where and represent the final position of the hand and the target in 2D plane during the last, respectively. α and β are free parameters to assign different weights for reaching the target and generating smooth trajectories, respectively. T denotes the total simulation time, set typically to 5 seconds. Adjusting T forces the model to choose gains that result in faster reaching times. denotes the jerk vector of the hand, or . Jerk is a measurement of how smooth trajectories are; lower jerk indicates smooth reaching. Performance metrics for planar reaching task To assess performance at the kinematics level, we used multiple metrics in this work: Reach Time The time it takes to reach the designated target after receiving a ‘go’ cue from the KinArm system. Path Efficiency The performance of each reaching path in comparison to the ideal path such that: Path Traveled Path Efficiency = D / P where T denotes the total reach time, x and y denote hand positions, dx/dt and dy/dt denote the hand velocities measured during reaching, and D denotes the straight line distance from start to target. This measure is used as it scales between 0 and 1 and can be interpreted as a percentage of the participant’s performance relative to the best possible performance (100% being a straight line). Number of Elbow Velocity Peaks The number of peaks in the speed profile of the elbow during the reaching phase of the task. Fewer peaks is associated with smoother trajectories. Reaching Success Rate The total number of successful trials (i.e. where the participant made it to the target in under 20 seconds) divided by the total number of trials. Success rates were calculated using all experimental trials included for each participant Figure Generation Plots were generated in either Matlab (MathWorks) or Python, and were then styled and exported into vector graphics format using InkScape and BioRender. Statistics We used paired t-tests to compare performance metrics and model fit gains for STIM OFF versus STIM ON for the same participant, and unpaired t-tests for other comparisons (e.g. comparisons between different participants, etc.). All samples were tested using the Shapiro-Wilk test prior to using t-test to confirm the normality of sample distributions. When appropriate, for multiple t-tests of groups of conditions related to one another, we used multiple t-test corrections using the Benjamini Hochberg method for false discovery rate correction. We further used Cohen’s d-values to assess differences between samples when appropriate. We used a cutoff level for statistical significance of 0.05 throughout the study. Data availability Data used to generate the figures of the paper is provided in the Source Data section. Access to raw data may be granted if a reasonable request is submitted to D.J.W. at dweber2{at}andrew.cmu.edu . Source Data Movement Metrics ( Figures 2 and 6 , Extended Data Table 1 ) NE and RMSE ( Figure 3 ): See Extended Data Table 2 . Model Fit Gains ( Figure 3 - 6 , Extended Data Figures 1 , 2 and 4 , Supplementary Figure 3) Code availability The code used to generate model fits to experimental data, and the two-link arm Simulink simulation files are all publicly available in the GitHub repository at link. Author information These authors contributed equally: Omar Refy, Luigi Borda, and Jacob Hsu Contributions Model conceptualization: O.R., L.B., and D.J.W. Model development: O.R. Model testing and validation: O.R., J.H. and L.B. Model revisions: O.R., D.J.W., H.G. Experimental setup conceptualization and design: G.W., E.P., L.F., J.K., M.C. and D.J.W. Experimental data collection: L.B., N.V., E.C., R.F. and M.P. Experimental data analysis: J.H., L.B. and O.R. Surgical procedures: P.G. Motor and behavioral assessments: A.B. Drafted manuscript: O.R., J.H., L.B., and D.J.W. Manuscript revision and editing: O.R., and D.J.W. Manuscript approval: D.J.W. Ethics declarations D.J.W., M.C., M.P. and P.C.G. are founders and shareholders of Reach Neuro, a company developing spinal cord stimulation technologies for stroke. E.P. has interest in Reach Neuro due to personal relationship with M.C. All other authors declare no competing interests. Extended data View this table: View inline View popup Download powerpoint Extended Data Table 1. Percent changes in reaching performance metrics in the STIM ON versus STIM OFF conditions. (*): p < 0.05, (**): p < 0.01, (***): p < 0.001. View this table: View inline View popup Extended Data Table 2. Summary of reaching performance metrics of 3 control and 4 stroke participants (coded HC0X and SCS0X, respectively). Participants in the stroke group completed the task with both limbs, and data for the non-paretic limb is included in the table. Metrics are for the reaching out phase. Values are reported as mean (standard deviation). Extended Data Figure 1. Measured and simulated torque profiles for the shoulder during planar reaching performed by healthy control participants. The scatterplots show the normalized controller gains for the PD controller simulations that were fit to the data. The controller gains exhibit similar U-shape and inverted U-shape patterns across subjects for the elbow and shoulder, respectively. Corresponding NRMSE and SNE values are reported in Extended Data Table 2 . Extended Data Figure 2. Measured and simulated torque profiles for the elbow during planar reaching performed by healthy control participants. Values represent normalized gains. Data are of the same trials as Extended Data Figure 1 . Corresponding NRMSE and SNE scores are reported in Extended Data Table 2 . Extended Data Figure 3. Measured and simulated torque profiles for the shoulder and elbow during planar reaching performed by five participants in the stroke group. The model produced good fits for both elbow and shoulder for all participants under both STIM OFF and STIM ON conditions. Corresponding NRMSE and SNE scores are reported in Extended Data Table 2 . Extended Data Figure 4. Controller gains for the shoulder and elbow for the five participants in the stroke group. The controller gains are the result of fitting the PD controller simulation to the reaching data for the center-out task presented in Extended Data Figure 2 . SCS02 (panel a) showed the greatest improvements in reaching performance metrics ( Table 1 ) in the STIM ON condition, and the underlying changes in control gains provide insights into why. Looking at the elbow joint, we observed that the derivative gains of both elbow flexors and extensors were significantly reduced under STIM ON. In particular, the elbow flexor derivative derivative gain was reduced by 44% (p = 0.0021, d = 1.19), and the extensor derivative gain was reduced by 73% (p < 0.001, d = 1.51). Both derivative gains of the shoulder were also reduced. The derivative gains of the shoulder flexor and extensor were reduced by 92% (p < 0.001, d = 1.51) and 23% (p = 0.007, d = 1.01), respectively. Notice that all gains are tuned towards healthy ranges, with the exception of the flexor proportional gain, which increased with STIM ON. SCS04 (panel b) also showed significant reduction in 3 out of 4 derivative gains (albeit less drastic due to a better baseline compared to SCS02). In particular, the derivative gains of the elbow flexor and extensor were reduced by 26% (p = 0.047, d = 0.98) and 30% (p = 0.01, d = 1.12), respectively, while that of the shoulder flexor was reduced by 73% (p < 0.001, d = 1.55). In addition, the proportional gains of both the elbow extensor and the shoulder flexor (i.e. the two proportional ballistic gains, which act to drive the joints towards the target during the ballistic phase) increased by 83% (p < 0.001, d = 1.44) and 163% (p < 0.001, d = 1.79, respectively. Similar to SCS02, tuning of the control gains in SCS04 were towards healthy ranges, but spanned both proportional and derivative gains. SCS07 (panel c) showed changes that were less pronounced compared to both SCS04 and SCS02. Two out of 4 derivative gains showed decrease closer to healthy ranges, namely the shoulder extensor and the elbow flexor. The shoulder extensor derivative gain showed a trend of 11% reduction (p = 0.054, d = 0.71), while the elbow flexor showed a significant 31% reduction (p < 0.001, d = 1.41). Contrary to SCS04 who had proportional ballistic gains lower than healthy ranges, SCS07 had higher baseline compared to healthy ranges, which was reduced by SCS. In particular, the elbow extensor proportional gain showed a trend of 21% reduction (p = 0.051, d = 0.78), and the shoulder flexor showed a significant 20% reduction (p = 0.038, d = 0.90). Overall, SCS07 showed the same trend of control gains tuned closer to healthy control ranges (albeit in a slightly different way compared to SCS04 and SCS02), as summarized in panel c. SCS03 showed no significant difference between all gains, which is consistent with his close to healthy baseline reaching, and hence the minimal effects of SCS. Overall, 3 out of 4 participants showed control gain tuning closer to healthy ranges (with the exception of SCS03 (panel d) who had baseline close to healthy to begin with). Notably, while different participants showed gain tuning closer to healthy in different ways. SCS02 showed overall reduction in derivative gains, SCS04 showed reduction in derivative gains and increase in proportional gains, while SCS07 showed reduction in derivative gains and proportional gains alike. The tuning of the gains was individualized, and depended on the participants’ baseline gains. This highlights both that gain tuning is not arbitrary, and the individualized nature of the effects of neuromodulation on the neural controller of the arm. Extended Data Figure 5. Average gain fits for all healthy participants (N = 12 participants; n = 3 trials each, 5 model fits for each trial) for elbow and shoulder joint during forward reaching. Individual participant values are shown in thin gray and group average is shown in thicker black lines. View this table: View inline View popup Extended Data Table 3. NRMSE and SNE values for all participant model fits. Values are the averages of 5 model fits per trial for all participants. Supplementary information Interaction Torque Contributions and Choice of Control Gain Structure For single joint movements, torque is related to angular acceleration simply by a single factor (i.e. moment of inertia of the arm segment moving). In two-joint arm movements, movement of one joint can generate torque at the other (i.e. interaction torques). Interaction torques are typically more prominent at some arm configurations over others (e.g. fully straight arm versus elbow and shoulder slightly flexed), and at higher angular speeds of either joint, as can be inferred from the equations of motion. In all the planar movement trials we performed, due to relatively lower speeds and ranges of arm configurations, torques of the elbow and the shoulder were mostly dominated by torque generated at individual joints. That is, interaction torques were quite minimal, especially for stroke participants due to their lower reaching speeds. This justifies the choice of control model where each joint is controlled independently from the other (i.e. the elbow PD controller only generates torque based on elbow feedback, and same for the shoulder). Plots of example interaction and generated torques for shoulder and elbow joints of one healthy and two stroke participants are shown below to illustrate the idea. Supplementary Figure 1. Interaction torques were often not very prominent in the task we were modeling, likely due to small angle ranges and relatively slow reaching speeds. Non-paretic arm versus healthy model fits Supplementary Figure 2. Non-paretic arm showed closer to healthy point-to-point reaching. Non-paretic arm reaching was not recorded during planar arm reaching for SCS02. Supplementary Videos Supplementary Video 1: HC09 component torques Supplementary Video 2: SCS02 STIM OFF component torques Supplementary Video 3: SCS02 STIM ON component torques Supplementary Video 4: Simulated arm with control structure tuned to produce smooth reaching. Supplementary Video 5: Simulated arm with suboptimal control structure (increased flexor derivative gain). Acknowledgements We would like to acknowledge Hazel Cline, Elle Brough, and Cemal Ozis for their contributions during the exploratory phase of this study. The experimental parts of this study were executed through the support of National Institutes of Health Brain Initiative grant no. UG3NS123135-01A1 to M.C. and D.J.W. We would like to thank Serhii Bahdasariants for valuable feedback on the preprint. O.R.’s time during manuscript revisions was supported by the Lundbeck Foundation Postdoctoral Fellowship. Footnotes ↵ * co-first authors This revision is for fine tuning of narrative in the abstract, introduction and discussion section. Results, figures and main conclusions remain unchanged. References 1. ↵ Feigin , V. L. et al. Global, regional, and national burden of stroke and its risk factors, 1990–2019: a systematic analysis for the Global Burden of Disease Study 2019 . Lancet Neurol . 20 , 795 – 820 ( 2021 ). OpenUrl CrossRef PubMed 2. ↵ Gerstl , J. V. E. et al. Global, Regional, and National Economic Consequences of Stroke . Stroke 54 , 2380 – 2389 ( 2023 ). OpenUrl PubMed 3. ↵ Pu , L. et al. Projected Global Trends in Ischemic Stroke Incidence, Deaths and Disability-Adjusted Life Years From 2020 to 2030 . Stroke 54 , 1330 – 1339 ( 2023 ). OpenUrl CrossRef PubMed 4. ↵ King , E. C. , Pedi , E. , Stoykov , M. E. , Corcos , D. M. & Urday , S . Combining high dose therapy, bilateral motor priming, and vagus nerve stimulation to treat the hemiparetic upper limb in chronic stroke survivors: a perspective on enhancing recovery . Front. Neurol . 14 , ( 2023 ). 5. ↵ Powell , M. P. et al. Epidural stimulation of the cervical spinal cord for post-stroke upper-limb paresis . Nat. Med . 29 , 689 – 699 ( 2023 ). OpenUrl CrossRef PubMed 6. Baker , K. B. et al. Cerebellar deep brain stimulation for chronic post-stroke motor rehabilitation: a phase I trial . Nat. Med . 1 – 9 ( 2023 ). 7. ↵ Ting , J. et al. Novel invasive methods to promote recovery after cerebral lesions . Brain Stimul. Basic Transl. Clin. Res. Neuromodulation 18 , 291 – 292 ( 2025 ). OpenUrl 8. ↵ Todorov , E. & Jordan , M. I . Optimal feedback control as a theory of motor coordination . Nat. Neurosci . 5 , 1226 – 1235 ( 2002 ). OpenUrl CrossRef PubMed Web of Science 9. Scott , S. H . Optimal feedback control and the neural basis of volitional motor control . Nat. Rev. Neurosci . 5 , 532 – 546 ( 2004 ). OpenUrl CrossRef PubMed 10. ↵ Flash , T. & Hogan , N . The coordination of arm movements: an experimentally confirmed mathematical model . J. Neurosci . 5 , 1688 – 1703 ( 1985 ). OpenUrl Abstract / FREE Full Text 11. ↵ Levin , M. F. , Selles , R. W. , Verheul , M. H. & Meijer , O. G . Deficits in the coordination of agonist and antagonist muscles in stroke patients: implications for normal motor control . Brain Res . 853 , 352 – 369 ( 2000 ). OpenUrl CrossRef PubMed Web of Science 12. ↵ Sheng , W. et al. Upper Limbs Muscle Co-contraction Changes Correlated With the Impairment of the Corticospinal Tract in Stroke Survivors: Preliminary Evidence From Electromyography and Motor-Evoked Potential . Front. Neurosci . 16 , ( 2022 ). 13. ↵ Borda , L. et al. Spinal cord stimulation modulates post-synaptic inhibition improving neuromotor control of arm movement in people with chronic hemiparesis post-stroke . 2025.09.23.25336157 Preprint at doi: 10.1101/2025.09.23.25336157 ( 2025 ). OpenUrl Abstract / FREE Full Text 14. ↵ Jagodnik , K. M. & van den Bogert , A. J. Optimization and evaluation of a proportional derivative controller for planar arm movement . J. Biomech . 43 , 1086 – 1091 ( 2010 ). OpenUrl CrossRef PubMed 15. ↵ Burke , D. , Wissel , J. & Donnan , G. A . Pathophysiology of spasticity in stroke . Neurology 80 , S20 – S26 ( 2013 ). OpenUrl CrossRef PubMed 16. ↵ Johnson , M. D. et al. Neuromodulation for Brain Disorders: Challenges and Opportunities . IEEE Trans. Biomed. Eng . 60 , 610 – 624 ( 2013 ). OpenUrl CrossRef PubMed 17. ↵ Wagner , F. B. et al. Targeted neurotechnology restores walking in humans with spinal cord injury . Nature 563 , 65 – 71 ( 2018 ). OpenUrl CrossRef PubMed 18. Harkema , S. et al. Effect of epidural stimulation of the lumbosacral spinal cord on voluntary movement, standing, and assisted stepping after motor complete paraplegia: A case study . The Lancet 377 , 1938 – 1947 ( 2011 ). OpenUrl CrossRef 19. ↵ Carhart , M. R. , He , J. , Herman , R. , D’Luzansky , S. & Willis , W. T . Epidural spinal-cord stimulation facilitates recovery of functional walking following incomplete spinal-cord injury . IEEE Trans. Neural Syst. Rehabil. Eng. Publ. IEEE Eng. Med. Biol. Soc . 12 , 32 – 42 ( 2004 ). OpenUrl 20. ↵ Powell , M. P. et al. Epidural stimulation of the cervical spinal cord for post-stroke upper-limb paresis . Nat. Med . 29 , 689 – 699 ( 2023 ). OpenUrl CrossRef PubMed 21. ↵ Balaguer , J.-M. , et al. Supraspinal control of motoneurons after paralysis enabled by spinal cord stimulation . Medrxiv https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10705627/ ( 2023 ). 22. ↵ Capogrosso , M. et al. A computational model for epidural electrical stimulation of spinal sensorimotor circuits . J. Neurosci . 33 , 19326 – 19340 ( 2013 ). OpenUrl Abstract / FREE Full Text 23. ↵ Hofstoetter , U. S. et al. Spinal motor mapping by epidural stimulation of lumbosacral posterior roots in humans . iScience 24 , 101930 ( 2021 ). OpenUrl PubMed 24. ↵ Barra , B. , et al. Electrical Stimulation Of The Cervical Dorsal Roots Enables Functional Arm And Hand Movements In Monkeys With Cervical Spinal Cord Injury . 2020.11.13.379750 https://www.biorxiv.org/content/10.1101/2020.11.13.379750v1 ( 2020 ) doi: 10.1101/2020.11.13.379750 . OpenUrl Abstract / FREE Full Text 25. ↵ Greiner , N. et al. Recruitment of Upper-Limb Motoneurons with Epidural Electrical Stimulation of the Primate Cervical Spinal Cord . Nat. Commun . 12 , ( 2021 ). 26. ↵ Chang , D. , Hunt , J. , Atkins , J. & Lee , H . Validation of a Novel Parallel-Actuated Shoulder Exoskeleton Robot for the Characterization of Human Shoulder Impedance . in 2021 IEEE International Conference on Robotics and Automation (ICRA) 10580 – 10586 ( 2021 ). doi: 10.1109/ICRA48506.2021.9561776 . OpenUrl CrossRef 27. ↵ Lin , C.-C. K. , Ju , M.-S. & Huang , H.-W . Gender and age effects on elbow joint stiffness in healthy subjects . Arch. Phys. Med. Rehabil . 86 , 82 – 85 ( 2005 ). OpenUrl PubMed View the discussion thread. Back to top Previous Next Posted February 11, 2026. Download PDF Data/Code Email Thank you for your interest in spreading the word about medRxiv. NOTE: Your email address is requested solely to identify you as the sender of this article. Your Email * Your Name * Send To * Enter multiple addresses on separate lines or separate them with commas. You are going to email the following Spinal Cord Stimulation Improves Deceleration Phase Control during Targeted Reaching Post-Stroke Message Subject (Your Name) has forwarded a page to you from medRxiv Message Body (Your Name) thought you would like to see this page from the medRxiv website. Your Personal Message CAPTCHA This question is for testing whether or not you are a human visitor and to prevent automated spam submissions. Share Spinal Cord Stimulation Improves Deceleration Phase Control during Targeted Reaching Post-Stroke Omar Refy , Luigi Borda , Jacob Hsu , Erick Carranza , Nikhil Verma , Roberto de Freitas , Erynn Sorensen , Amy Boos , Marc Powell , Lee Fisher , Peter Gerszten , Elvira Pirodini , John W. Krakauer , George F. Wittenberg , Hartmut Geyer , Marco Capogrosso , Douglas J. Weber medRxiv 2025.10.29.25338778; doi: https://doi.org/10.1101/2025.10.29.25338778 Share This Article: Copy Citation Tools Spinal Cord Stimulation Improves Deceleration Phase Control during Targeted Reaching Post-Stroke Omar Refy , Luigi Borda , Jacob Hsu , Erick Carranza , Nikhil Verma , Roberto de Freitas , Erynn Sorensen , Amy Boos , Marc Powell , Lee Fisher , Peter Gerszten , Elvira Pirodini , John W. Krakauer , George F. Wittenberg , Hartmut Geyer , Marco Capogrosso , Douglas J. Weber medRxiv 2025.10.29.25338778; doi: https://doi.org/10.1101/2025.10.29.25338778 Citation Manager Formats BibTeX Bookends EasyBib EndNote (tagged) EndNote 8 (xml) Medlars Mendeley Papers RefWorks Tagged Ref Manager RIS Zotero Tweet Widget Facebook Like Google Plus One Subject Area Rehabilitation Medicine and Physical Therapy Subject Areas All Articles Addiction Medicine (569) Allergy and Immunology (863) Anesthesia (300) Cardiovascular Medicine (4442) Dentistry and Oral Medicine (444) Dermatology (383) Emergency Medicine (609) Endocrinology (including Diabetes Mellitus and Metabolic Disease) (1511) Epidemiology (15230) Forensic Medicine (30) Gastroenterology (1126) Genetic and Genomic Medicine (6610) Geriatric Medicine (668) Health Economics (998) Health Informatics (4542) Health Policy (1370) Health Systems and Quality Improvement (1613) Hematology (543) HIV/AIDS (1266) Infectious Diseases (except HIV/AIDS) (15923) Intensive Care and Critical Care Medicine (1103) Medical Education (623) Medical Ethics (147) Nephrology (668) Neurology (6607) Nursing (346) Nutrition (999) Obstetrics and Gynecology (1146) Occupational and Environmental Health (957) Oncology (3337) Ophthalmology (974) Orthopedics (369) Otolaryngology (420) Pain Medicine (436) Palliative Medicine (130) Pathology (664) Pediatrics (1693) Pharmacology and Therapeutics (692) Primary Care Research (712) Psychiatry and Clinical Psychology (5448) Public and Global Health (9238) Radiology and Imaging (2202) Rehabilitation Medicine and Physical Therapy (1370) Respiratory Medicine (1196) Rheumatology (596) Sexual and Reproductive Health (714) Sports Medicine (530) Surgery (712) Toxicology (99) Transplantation (289) Urology (265) (function(){function c(){var b=a.contentDocument||a.contentWindow.document;if(b){var d=b.createElement('script');d.innerHTML="window.__CF$cv$params={r:'a01be0868c261640',t:'MTc3OTc4OTA0MQ=='};var a=document.createElement('script');a.src='/cdn-cgi/challenge-platform/scripts/jsd/main.js';document.getElementsByTagName('head')[0].appendChild(a);";b.getElementsByTagName('head')[0].appendChild(d)}}if(document.body){var a=document.createElement('iframe');a.height=1;a.width=1;a.style.position='absolute';a.style.top=0;a.style.left=0;a.style.border='none';a.style.visibility='hidden';document.body.appendChild(a);if('loading'!==document.readyState)c();else if(window.addEventListener)document.addEventListener('DOMContentLoaded',c);else{var e=document.onreadystatechange||function(){};document.onreadystatechange=function(b){e(b);'loading'!==document.readyState&&(document.onreadystatechange=e,c())}}}})();

Text is read by the "Ask this paper" AI Q&A widget below. Extraction quality varies by source — PMC NXML preserves structure cleanly, OA-HTML may include some navigation residue, and OA-PDF can have broken hyphenation. The publisher copy (via DOI) is the canonical version.

My notes (saved in your browser only)

Ask this paper AI returns verbatim quotes from the full text · source: preprint-html

Answers must be backed by verbatim quotes from this paper's full text. Hallucinated quotes are dropped automatically; if no verbatim passage answers the question, we say so. How this works

Citation neighborhood (no data yet)

We don't have any in-corpus citations linked to this paper yet. This is a recent paper (2025) — citers typically take a year or two to land, and the OpenAlex reference graph may still be filling in.

Source provenance

europepmc
last seen: 2026-05-20T01:45:00.602351+00:00
unpaywall
last seen: 2026-05-22T02:00:06.705733+00:00
License: CC-BY-NC-ND-4.0