<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.3 20070202//EN" "journalpublishing.dtd">
<article article-type="research-article" dtd-version="2.3" xml:lang="EN" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">
<front>
<journal-meta>
<journal-id journal-id-type="publisher-id">Front. Robot. AI</journal-id>
<journal-title>Frontiers in Robotics and AI</journal-title>
<abbrev-journal-title abbrev-type="pubmed">Front. Robot. AI</abbrev-journal-title>
<issn pub-type="epub">2296-9144</issn>
<publisher>
<publisher-name>Frontiers Media S.A.</publisher-name>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="publisher-id">869476</article-id>
<article-id pub-id-type="doi">10.3389/frobt.2022.869476</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Robotics and AI</subject>
<subj-group>
<subject>Original Research</subject>
</subj-group>
</subj-group>
</article-categories>
<title-group>
<article-title>Multi-Day EMG-Based Knee Joint Torque Estimation Using Hybrid Neuromusculoskeletal Modelling and Convolutional Neural Networks</article-title>
<alt-title alt-title-type="left-running-head">Schulte&#x2009; et al.</alt-title>
<alt-title alt-title-type="right-running-head">Multi-Day Joint Torque Estimation</alt-title>
</title-group>
<contrib-group>
<contrib contrib-type="author" corresp="yes">
<name>
<surname>Schulte&#x2009;</surname>
<given-names>Robert V.</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<xref ref-type="aff" rid="aff2">
<sup>2</sup>
</xref>
<xref ref-type="corresp" rid="c001">&#x2a;</xref>
<xref ref-type="fn" rid="fn1">
<sup>&#x2020;</sup>
</xref>
<uri xlink:href="https://loop.frontiersin.org/people/1124937/overview"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Zondag&#x2009;</surname>
<given-names>Marijke</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<xref ref-type="aff" rid="aff2">
<sup>2</sup>
</xref>
<xref ref-type="fn" rid="fn1">
<sup>&#x2020;</sup>
</xref>
<uri xlink:href="https://loop.frontiersin.org/people/1764323/overview"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Buurke&#x2009;</surname>
<given-names>Jaap H.</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<xref ref-type="aff" rid="aff2">
<sup>2</sup>
</xref>
<uri xlink:href="https://loop.frontiersin.org/people/666683/overview"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Prinsen&#x2009;</surname>
<given-names>Erik C.</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<xref ref-type="aff" rid="aff3">
<sup>3</sup>
</xref>
<uri xlink:href="https://loop.frontiersin.org/people/480513/overview"/>
</contrib>
</contrib-group>
<aff id="aff1">
<sup>1</sup>
<institution>Roessingh Research and Development</institution>, <addr-line>Enschede</addr-line>, <country>Netherlands</country>
</aff>
<aff id="aff2">
<sup>2</sup>
<institution>Department of Biomedical Signals and Systems</institution>, <institution>University of Twente</institution>, <addr-line>Enschede</addr-line>, <country>Netherlands</country>
</aff>
<aff id="aff3">
<sup>3</sup>
<institution>Department of Biomechanical Engineering</institution>, <institution>University of Twente</institution>, <addr-line>Enschede</addr-line>, <country>Netherlands</country>
</aff>
<author-notes>
<fn fn-type="edited-by">
<p>
<bold>Edited by:</bold> <ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/136503/overview">Jungwon Yoon</ext-link>, Gwangju Institute of Science and Technology, South Korea</p>
</fn>
<fn fn-type="edited-by">
<p>
<bold>Reviewed by:</bold> <ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/686314/overview">Siqi Cai</ext-link>, National University of Singapore, Singapore</p>
<p>
<ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/358158/overview">Farong Gao</ext-link>, Hangzhou Dianzi University, China</p>
</fn>
<corresp id="c001">&#x2a;Correspondence: Robert V. Schulte&#x2009;, <email>r.schulte@rrd.nl</email>
</corresp>
<fn fn-type="equal" id="fn1">
<label>
<sup>&#x2020;</sup>
</label>
<p>These authors share first authorship</p>
</fn>
<fn fn-type="other">
<p>This article was submitted to Biomedical Robotics, a section of the journal Frontiers in Robotics and AI</p>
</fn>
</author-notes>
<pub-date pub-type="epub">
<day>25</day>
<month>04</month>
<year>2022</year>
</pub-date>
<pub-date pub-type="collection">
<year>2022</year>
</pub-date>
<volume>9</volume>
<elocation-id>869476</elocation-id>
<history>
<date date-type="received">
<day>04</day>
<month>02</month>
<year>2022</year>
</date>
<date date-type="accepted">
<day>01</day>
<month>04</month>
<year>2022</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright &#xa9; 2022 Schulte&#x2009;, Zondag&#x2009;, Buurke&#x2009; and Prinsen&#x2009;.</copyright-statement>
<copyright-year>2022</copyright-year>
<copyright-holder>Schulte&#x2009;, Zondag&#x2009;, Buurke&#x2009; and Prinsen&#x2009;</copyright-holder>
<license xlink:href="http://creativecommons.org/licenses/by/4.0/">
<p>This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.</p>
</license>
</permissions>
<abstract>
<p>Proportional control using surface electromyography (EMG) enables more intuitive control of a transfemoral prosthesis. However, EMG is a noisy signal which can vary over time, giving rise to the question what approach for knee torque estimation is most suitable for multi-day control. In this study we compared three different modelling frameworks to estimate knee torque in non-weight-bearing situations. The first model contained a convolutional neural network (CNN) which mapped EMG to knee torque directly. The second used a neuromusculoskeletal model (NMS) which used EMG, muscle tendon unit lengths and moment arms to compute knee torque. The third model (Hybrid) used a CNN to map EMG to specific muscle activation, which was used together with NMS components to compute knee torque. Multi-day measurements were conducted on ten able-bodied participants who performed non-weight bearing activities. CNN had the best performance in general and on each day (Normalized Root Mean Squared Error (NRMSE) 9.2 &#xb1; 4.4%). The Hybrid model (NRMSE 12.4 &#xb1; 3.4%) was able to outperform NMS (NRMSE 14.3 &#xb1; 4.2%). The NMS model showed no significant difference between measurement days. The CNN model and Hybrid models had significant performance differences between the first day and all other days. CNNs are suited for multi-day torque estimation in terms of error rate, outperforming the other two model types. NMS was the only model type which was robust over all days. This study investigated the behavior of three model types over multiple days, giving insight in the most suited modelling approach for multi-day torque estimation to be used in prosthetic control.</p>
</abstract>
<kwd-group>
<kwd>myoelectric control</kwd>
<kwd>neuromuscular modelling</kwd>
<kwd>lower limb</kwd>
<kwd>torque estimation</kwd>
<kwd>motor intent recognition</kwd>
<kwd>machine learning</kwd>
</kwd-group>
<contract-num rid="cn001">780871</contract-num>
<contract-sponsor id="cn001">Horizon 2020 Framework Programme<named-content content-type="fundref-id">10.13039/100010661</named-content>
</contract-sponsor>
</article-meta>
</front>
<body>
<sec id="s1">
<title>1 Introduction</title>
<p>Amputees regain functional abilities by learning to use a prosthesis (<xref ref-type="bibr" rid="B30">Windrich et al., 2016</xref>). Most prostheses are passive and are adequate for most walking scenarios in daily life. However, these passive prostheses are not capable of producing power. Therefore, the use of these prostheses in daily life is limited by an amputee&#x2019;s strength and capacity for gait adaptations. This makes activities such as stair climbing challenging (<xref ref-type="bibr" rid="B6">Dabiri et al., 2010</xref>; <xref ref-type="bibr" rid="B5">Crowe et al., 2019</xref>). Actuated or powered prostheses have the potential to overcome these limitations by providing net power (<xref ref-type="bibr" rid="B30">Windrich et al., 2016</xref>). Commercially available powered prostheses use state-machines to provide control in predefined states. The downside of this approach is that the control is limited in intuitiveness and the user is not able to use the prosthesis outside of predefined states. Direct control over the knee joint might result in a more intuitive control of the prosthesis, which can be beneficial for the user during various tasks of daily living. It can be beneficial to apply direct control within a discrete state, for example to reposition the prosthesis while sitting or to control the speed of a motion. Surface electromyography (EMG) can play a large role in creating intuitive control, as EMG can be measured 138&#xa0;ms before the onset of movement (<xref ref-type="bibr" rid="B29">Wentink et al., 2014</xref>). Other sensor information related to movement, such as acceleration, will always lag behind the intended motion and will result in a delay within the control scheme. EMG does not suffer from this delay and translating EMG into joint torque is therefore a promising method to realize voluntary control.</p>
<p>Machine learning can be a viable tool for joint torque prediction. Neural networks are a type of machine learning algorithms that are trained to find the underlying relation between input and output variables. Several studies used neural networks for the prediction of knee flexion angles or torques in able-bodied subjects (<xref ref-type="bibr" rid="B16">Liu et al., 2018</xref>; <xref ref-type="bibr" rid="B13">Huang et al., 2019</xref>; <xref ref-type="bibr" rid="B19">Saranya et al., 2019</xref>; <xref ref-type="bibr" rid="B27">Wang G. et al., 2019</xref>; <xref ref-type="bibr" rid="B7">Deng et al., 2020</xref>; <xref ref-type="bibr" rid="B10">Gautam et al., 2020</xref>). <xref ref-type="bibr" rid="B13">Huang et al. (2019)</xref> proposed a deep-recurrent neural network for prediction of knee joint angles in real-time. The model used EMG signals together with inertial data from different activities and reported a root mean squared error of 2.93&#xb0; over a range of approximately 60&#xb0; (4.9% error). <xref ref-type="bibr" rid="B10">Gautam et al. (2020)</xref> used a Long-term Recurrent Convolution Network to classify movements and predict their corresponding knee joint angles, based on EMG. They reported an average mean absolute error of 8.1% in the knee angle prediction of healthy subjects. <xref ref-type="bibr" rid="B32">Zhang et al. (2020)</xref> developed an artificial neural network for the prediction of ankle torque from EMG. Root mean squared error (RMSE) values ranging within 0.01 and 0.10&#xa0;Nm/kg were found for ankle plantar- and dorsiflexion on a range of approximately 1.5&#xa0;Nm/kg (0.7&#x2013;6.7% error). All these studies show low error rates, which indicates that machine learning can be a valuable tool in predicting knee torque or knee angle. However, current machine learning decoders might produce unrealistic estimates in conditions they are not trained in as the algorithm are not limited by physical bounds (<xref ref-type="bibr" rid="B20">Sartori et al., 2018</xref>). Next to this, the reliability of these methods depend on correct electrode placement and are thus sensitive to changes in conditions. Futhermore, the amount of training data is also usually limited relative to the complexity of the models, which makes it difficult to obtain a satisfactory generalization performance (<xref ref-type="bibr" rid="B28">Wang W. et al., 2019</xref>). The robustness to EMG electrode placement, differences in EMG signals (quality), activity performance and performance over days is thus questionable and needs futher investigation.</p>
<p>One potential way to improve robustness, is the use of an NMS model. Neuromusculoskeletal (NMS) modelling was designed to gain insight in the underlying process of biomechanical movement to characterize motor function and how it alters with pathology (<xref ref-type="bibr" rid="B8">Durandau et al., 2019</xref>). An NMS model consists of multiple components that model this underlying process. It uses EMG and muscle characteristics from a musculoskeletal model to predict specific muscle activations with corresponding forces and resulting joint torques. An NMS model can provide system robustness since any joint moment estimate must always exist within the musculoskeletal model operational space and be therefore physiologically plausible (<xref ref-type="bibr" rid="B20">Sartori et al., 2018</xref>). Another benefit of using an NMS model is that it provides insight in the underlying process of biomechanical movement, whereas machine learning does not. Several studies used an NMS model to predict joint torque (<xref ref-type="bibr" rid="B28">Wang W. et al., 2019</xref>; <xref ref-type="bibr" rid="B20">Sartori et al., 2018</xref>; <xref ref-type="bibr" rid="B8">Durandau et al., 2019</xref>, <xref ref-type="bibr" rid="B9">2018</xref>; <xref ref-type="bibr" rid="B22">Sartori et al., 2012</xref>, <xref ref-type="bibr" rid="B21">2016</xref>; <xref ref-type="bibr" rid="B14">Kapelner et al., 2020</xref>). <xref ref-type="bibr" rid="B22">Sartori et al. (2012)</xref> developed a control scheme to control a wrist-hand prosthesis by real-time neuromusculoskeletal modelling. Joint torque was predicted using EMG and prosthesis angles as input and translated into low-level control of the prosthesis. They executed a virtual reaching test in which subjects reached targets using linear trajectories, thereby successfully actuating a single DOF at a time with high precision. Path similarity was always accomplished with <italic>R</italic>
<sup>2</sup> <inline-formula id="inf1">
<mml:math id="m1">
<mml:mo>&#x3e;</mml:mo>
</mml:math>
</inline-formula>0.98 across all targets and subjects. <xref ref-type="bibr" rid="B8">Durandau et al. (2019)</xref> predicted lower limb exoskeleton support torque, using EMG and joint angles as input to an NMS model. The RMSE for the knee joint control, inside exoskeleton conditions, were 4.06 &#xb1; 2.55&#xb0; for low gain and 4.58 &#xb1; 2.61&#xb0; for high gain over a range of approximately 40&#xb0; (approximately 10&#x2013;11% error). Correlation coefficients of both conditions between prediction and reference torque were 0.90 &#xb1; 0.16 and 0.92 &#xb1; 0.07 respectively. <xref ref-type="bibr" rid="B32">Zhang et al. (2020)</xref> used an NMS model to predict ankle joint torque with RMSEs ranging from 0.04 to 0.18&#xa0;Nm/kg for ankle plantar- and dorsiflexion on a range of approximately 1.5&#xa0;Nm/kg (2&#x2013;12% error). Downsides of NMS modelling workflow are that it can be complex and difficult to work with. Furthermore, the mapping of EMG to muscle activation is based on models that are difficult to validate because activations cannot be measured directly.</p>
<p>Since both machine learning and NMS models show several shortcomings, the question arises if combining these two methods into a hybrid version will provide better joint torque predictions. Machine learning can decrease computational demands in physics-based modelling. It can be used for feature extraction from measures of muscle activation and to synthesize missing data (<xref ref-type="bibr" rid="B23">Saxby et al., 2020</xref>). <xref ref-type="bibr" rid="B4">Cimolato et al. (2020)</xref> developed a machine learning driven NMS model to predict lower limb joint torque from EMG and inertial data to control a lower limb prosthesis during regular gait. They used a Gaussian Mixture Regressor to generate a complete set of EMG signals, starting from the supposed residual subset of available EMGs. These EMG signals were then used as input for a calibrated NMS model to predict joint torque, which resulted in an average normalized root mean squared error (NRMSE) of 24.0 &#xb1; 11.0%. <xref ref-type="bibr" rid="B31">Xu et al. (2020)</xref> developed an EMG-based elbow joint torque estimation strategy using a Hill-Type Muscle Model and a neural network. The neural network was used to estimate muscle activation which was used as input for the Hill-Type model. System identification from EMG signals was used to estimate the elbow angle. The average RMSE over trials was 1.45&#xa0;Nm on a range of 25&#xa0;Nm (5.8% error). Only one subject was used and three trials were conducted on the same day. Although these studies show lower accuracies than machine learning or neuromuscular modelling, the idea of combining neuromuscular modelling with machine learning still holds promise.</p>
<p>In the described studies we have seen that machine learning, neuromuscular modelling or a combination of both are promising approaches for knee joint torque estimation. Despite these positive results, to our knowledge, no commercial product is available that uses machine learning, NMS or a hybrid approach for direct control of a prosthetic knee. One of the reasons is that prostheses need to be used in daily life and need to function everyday in a reliable manner, being robust to different environmental conditions, such as electrode placement and skin conditions, but little is known of the behavior of these approaches over multiple days.</p>
<p>The goal of this study was to compare three model types to predict knee joint torque from EMG, to be used for multi-day control of a transfemoral prosthesis in non-weight bearing situations. In this work we used a convolutional neural network (CNN) using recurrent layers to predict knee joint torque, as this architecture is useful for biomedical time series modeling (<xref ref-type="bibr" rid="B10">Gautam et al., 2020</xref>). To our knowledge, CNNs have not been applied before for knee joint torque prediction. We evaluated the models over multiple days, to see their robustness when applied in a multi-day setting. Our expectations are threefold. Firstly, CNN models will show excellent performance on the training day, but performance will decrease on subsequent days. Secondly, NMS models will be robust from day to day, hence outperforming machine learning on subsequent days, but would not reach as high performance as CNN models on the first day. Finally, a combination of these two model types in a hybrid model, is expected to incorporate the best of both worlds: reaching as high performance in knee joint torque prediction as CNN models, while being as robust as NMS models.</p>
</sec>
<sec sec-type="methods" id="s2">
<title>2 Methods</title>
<sec id="s2-1">
<title>2.1 Experimental Data</title>
<p>Data were collected at the Roessingh Research and Development (RRD), in Enschede the Netherlands, as part of the MyLeg project. Ten able-bodied subjects (sex: 4m, 6f, age: 23.7 &#xb1; 2.4&#xa0;years, length: 173.8 &#xb1; 6.4&#xa0;cm, weight: 71.0 &#xb1; 8.8&#xa0;kg), participated in this study. The protocol was reviewed and approved by Medical research Ethics Committees United (MEC-U) Nieuwegein, the Netherlands, with trial number NL67247.044.18. The participants provided their written informed consent before inclusion in the study.</p>
<p>Bipolar EMG was recorded from four muscles on both legs: rectus femoris (RF), vastus lateralis (VL), biceps femoris (BF) and semitendinosus (ST). All EMG electrodes were placed according to SENIAM guidelines (<xref ref-type="bibr" rid="B12">Hermens et al., 2000</xref>). The data was acquired using the Cometa Wave electrodes at a sampling frequency of 2000&#xa0;Hz. The RF, VL, BF and ST were included for this study since the intended application is for a prosthetic knee and these muscles extend over the knee. The RF and VL contribute to knee extension, whereas the BF and ST contribute to knee flexion. Kinematics were measured using eight IMUs (Xsens Link, Enschede, Netherlands), placed on the sternum, pelvis and bilaterally on the thigh, shank and foot of the subject. Data was recorded with a sampling frequency of 240&#xa0;Hz. Joint angles were reconstructed from Xsens MVN software. Only knee joint angles in the sagittal plane were used in this study. EMG and kinematics were time synchronized and resampled to 1000&#xa0;Hz.</p>
<p>Each subject was measured four times: three measurements were conducted on three subsequent days on day 1, 2 and 3 and the last measurement was four days later on day 7. The subjects were measured during the same time slot on each day. Before each measurement the EMG of the maximal voluntary contraction (MVC) of each muscle was measured to normalize EMG. The subjects were asked to perform a trial containing a set of activities, including level-ground walking, stair ascent/descent, ramp ascent/descent, sit-stand motions and non-weight-bearing activities on a stool. Only the non-weight-bearing activities were used in this study as these form the starting point for safely implementing a torque estimation strategy. The subject had to sit on a stool and lift one leg off the ground (knee approximately 90&#xb0;), as can be seen in <xref ref-type="fig" rid="F1">Figure 1</xref>. Then, the subject had to fully extend the knee while keeping the foot perpendicular to the lower leg. After, the subject performed maximal plantarflexion of the ankle, followed by maximal dorsiflexion. The knee was then brought back to a knee angle of approximately 90&#xb0;. Then, only knee extension and flexion needed to be performed. Lastly, only ankle plantar- and dorsiflexion needed to be performed while keeping the knee angle at 90&#xb0;. After, the foot was set down on the ground and the routine was repeated with the other leg. The trial in which this routine was included, was performed twenty times. Then, the routine was slightly changed for another twenty trials: the subject had to first perform ankle plantar- and dorsiflexion, then the combination of both knee and ankle extension and flexion, and finish off with only knee extension and flexion. Although ankle movements were performed, only the knee joint torque was of interest for this study. In total forty trials were performed.</p>
<fig id="F1" position="float">
<label>FIGURE 1</label>
<caption>
<p>Non-weight-bearing setup: subject is seated on a stool with one foot slightly lifted off the ground.</p>
</caption>
<graphic xlink:href="frobt-09-869476-g001.tif"/>
</fig>
</sec>
<sec id="s2-2">
<title>2.2 Data Pre-Processing</title>
<p>The smoothed rectified envelope (SRE) of the raw EMG data of the four muscles (RF, VL, BF, ST) was obtained by high-pass filtering at 20&#xa0;Hz, rectifying and low-pass filtering at 6&#xa0;Hz. All filters were zero-lag 2nd order butterworth filters. The SREs were normalized by values obtained from the MVCs. Torque reference data was obtained using OpenSim 4.1, an open source software kit to develop musculoskeletal models and make dynamic simulations (<xref ref-type="bibr" rid="B24">Seth et al., 2018</xref>). First, the OpenSim lower extremity and torso model Gait2392 was scaled using subject body measures to create a subject-specific model. knee joint torque was obtained using the measured kinematics and the Inverse Dynamics tool, without using external ground reaction forces. Next, the torque was low-pass filtered using a 2nd order zero-lag butterworth filter with a cutoff frequency of 1&#xa0;Hz. The resulting knee joint torque was used to train and calibrate the developed models in this study. Muscle moment arms and muscle tendon unit lengths of the MTUs were extracted from the scaled model. These parameters were used in the NMS and Hybrid models.</p>
</sec>
<sec id="s2-3">
<title>2.3 Convolutional Neural Network</title>
<p>The first data pipeline contained a machine learning model, consisting of a convolutional neural network (CNN) which maps the windowed SREs to knee joint torque. SREs were windowed using a window of 128&#xa0;ms and a stride of 16&#xa0;ms. Corresponding knee joint torques were windowed as well and the average torque value over a window was used as reference.</p>
<p>The CNN extracts local features from input images, using a convolutional layer with a local receptive field. It then uses layers with certain activation functions to map these features to the desired output. In this work a Long Short Term Memory (LSTM) layer was added to the CNN. An LSTM is an artificial recurrent neural network architecture (<xref ref-type="bibr" rid="B19">Saranya et al., 2019</xref>), which has internal mechanisms that can regulate the flow of information and learn which data in a sequence is important to keep or discard. For this study, no fixed CNN model architecture was used. The model architecture was determined using Bayesian optimization by minimizing the loss between predicted and reference torque for all subjects on a training set of the first measurement day. The loss function used in this study was the mean squared error over the correlation coefficient:<disp-formula id="e1">
<mml:math id="m2">
<mml:mi>l</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>s</mml:mi>
<mml:mi>s</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:mfrac>
<mml:msubsup>
<mml:mrow>
<mml:mo movablelimits="false" form="prefix">&#x2211;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>Y</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>Y</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">&#x302;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msup>
</mml:mrow>
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mi>r</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:mfrac>
</mml:math>
<label>(1)</label>
</disp-formula>
<disp-formula id="e2">
<mml:math id="m3">
<mml:mi>r</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mfenced open="{" close="">
<mml:mrow>
<mml:mtable class="cases">
<mml:mtr>
<mml:mtd columnalign="left">
<mml:mi>c</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>r</mml:mi>
<mml:mi>r</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>Y</mml:mi>
<mml:mo>,</mml:mo>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>Y</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">&#x302;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:mrow>
</mml:mfenced>
<mml:mspace width="1em"/>
</mml:mtd>
<mml:mtd columnalign="left">
<mml:mo>&#x3e;</mml:mo>
<mml:mn>0</mml:mn>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd columnalign="left">
<mml:mn>1</mml:mn>
<mml:mtext>e</mml:mtext>
<mml:mo>-</mml:mo>
<mml:mn>2</mml:mn>
<mml:mspace width="1em"/>
</mml:mtd>
<mml:mtd columnalign="left">
<mml:mtext>otherwise</mml:mtext>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:mfenced>
</mml:math>
<label>(2)</label>
</disp-formula>Herein is <italic>Y</italic> the reference torque and <inline-formula id="inf2">
<mml:math id="m4">
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>Y</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">&#x302;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula> the estimated toruqe. Correlation values less that zero were set to 1e-2 to avoid numerical instability. By using the correlation coefficient in combination with the mean squared error the shape of the curve of the torque prediction could also be taken into account (correlation coefficient), while still penalizing large deviations (mean squared error). Each model architecture existed of a variable number of convolutional layers with relu activation, an LSTM layer, a drop out layer with variable dropout rate and a final dense layer with linear activation. The used hyperparameters and corresponding search space were: the number of convolutional layers {1,2,3,4}, the number of filters in the convolutional layer {16, 32, 64}, the convolutional kernel size {3,5,7}, the number of LSTM units {16, 32, 64}, whether to use batch normalization after each layer {True, False}, and the drop out rate {0.01,0.1,0.2,0.3,0.4}. The optimizer was Adam with a learning rate of 0.001. The optimization routine ran for 200 iterations. During each iteration a model was trained with a maximum of 100 epochs. Training was stopped early if the loss did not reduce for 5 epochs. Overview of the fully-optimized architecture is shown in the results section.</p>
<p>After hyperparameter optimization the optimized model architecture was used for all subjects. The model was trained per leg of each subject, to make the model subject specific. The predicted torque was low-pass filtered with a second order zero-lag low-pass filter and a cut-off frequency of 1&#xa0;Hz to obtain a smooth prediction.</p>
</sec>
<sec id="s2-4">
<title>2.4 NMS Model</title>
<p>The second data pipeline used a neuromusculoskeletal model (NMS model) which maps EMG to knee joint torque. In this work we implemented Hill-type muscle models as described by Thelen (<xref ref-type="bibr" rid="B25">Thelen, 2003</xref>; <xref ref-type="bibr" rid="B18">Miller et al., 2018</xref>). The NMS model consists of four parts:</p>
<sec id="s2-4-1">
<title>2.4.1 Neural Activation Dynamics</title>
<p>The muscle activity <italic>a</italic> was determined by a first order differential equation (<xref ref-type="bibr" rid="B25">Thelen, 2003</xref>) and a non-linear transfer function (<xref ref-type="bibr" rid="B22">Sartori et al., 2012</xref>).<disp-formula id="e3">
<mml:math id="m5">
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>u</mml:mi>
</mml:mrow>
<mml:mo>&#x307;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mi>e</mml:mi>
<mml:mi>m</mml:mi>
<mml:mi>g</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>u</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>&#x3c4;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>a</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>u</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>e</mml:mi>
<mml:mi>m</mml:mi>
<mml:mi>g</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mfrac>
</mml:math>
<label>(3)</label>
</disp-formula>
<disp-formula id="e4">
<mml:math id="m6">
<mml:mi>a</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mi>e</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>A</mml:mi>
<mml:mi>u</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mi>e</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>A</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:mfrac>
</mml:math>
<label>(4)</label>
</disp-formula>Herein is <italic>emg</italic> the SRE of the muscle of interest, <italic>u</italic> the neural activation and <italic>a</italic> the muscle activation. <italic>A</italic> determines the shape of the transfer function. <italic>&#x3c4;</italic>
<sub>
<italic>a</italic>
</sub> is a time constant that varies with activation level:<disp-formula id="e5">
<mml:math id="m7">
<mml:msub>
<mml:mrow>
<mml:mi>&#x3c4;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>a</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>u</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>e</mml:mi>
<mml:mi>m</mml:mi>
<mml:mi>g</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x3d;</mml:mo>
<mml:mfenced open="{" close="">
<mml:mrow>
<mml:mtable class="cases">
<mml:mtr>
<mml:mtd columnalign="left">
<mml:msub>
<mml:mrow>
<mml:mi>&#x3c4;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>a</mml:mi>
<mml:mi>c</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mn>0.5</mml:mn>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1.5</mml:mn>
<mml:mi>u</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mspace width="1em"/>
</mml:mtd>
<mml:mtd columnalign="left">
<mml:mi>e</mml:mi>
<mml:mi>m</mml:mi>
<mml:mi>g</mml:mi>
<mml:mo>&#x3e;</mml:mo>
<mml:mi>u</mml:mi>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd columnalign="left">
<mml:msub>
<mml:mrow>
<mml:mi>&#x3c4;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>d</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>c</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>/</mml:mo>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mn>0.5</mml:mn>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1.5</mml:mn>
<mml:mi>u</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mspace width="1em"/>
</mml:mtd>
<mml:mtd columnalign="left">
<mml:mtext>otherwise</mml:mtext>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:mfenced>
</mml:math>
<label>(5)</label>
</disp-formula>The time constant for activation <italic>&#x3c4;</italic>
<sub>
<italic>act</italic>
</sub> and the time constant for deactivation <italic>&#x3c4;</italic>
<sub>
<italic>deact</italic>
</sub> were parameters that were optimized.</p>
</sec>
<sec id="s2-4-2">
<title>2.4.2 Contraction Dynamics</title>
<p>The muscle fiber force is described by <xref ref-type="disp-formula" rid="e6">Eq. 6</xref>.<disp-formula id="e6">
<mml:math id="m8">
<mml:msub>
<mml:mrow>
<mml:mi>F</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>F</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>x</mml:mi>
<mml:mn>0</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>a</mml:mi>
<mml:msub>
<mml:mrow>
<mml:mi>f</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>v</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>l</mml:mi>
</mml:mrow>
<mml:mo>&#x307;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:msub>
<mml:mrow>
<mml:mi>f</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>a</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>l</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>f</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>p</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>l</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>d</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>l</mml:mi>
</mml:mrow>
<mml:mo>&#x307;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:mi>cos</mml:mi>
<mml:mo>&#x2061;</mml:mo>
<mml:mi>&#x3b1;</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>l</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:math>
<label>(6)</label>
</disp-formula>Herein is <italic>F</italic>
<sub>
<italic>m</italic>
</sub> the muscle fiber force, <italic>F</italic>
<sub>
<italic>max</italic>0</sub> the maximal isometric force, <italic>a</italic> the muscle activity, <italic>f</italic>
<sub>
<italic>v</italic>
</sub> the force-velocity relationship, <italic>f</italic>
<sub>
<italic>a</italic>
</sub> the active force-length relationship, <italic>f</italic>
<sub>
<italic>p</italic>
</sub> the passive force-length relationship, <italic>d</italic>
<sub>
<italic>m</italic>
</sub> the velocity damping factor and <italic>&#x3b1;</italic> the pennation angle. All relationships depend on the normalized muscle fiber length <italic>l</italic>
<sub>
<italic>m</italic>
</sub> and its derivative the normalized fiber velocity <inline-formula id="inf3">
<mml:math id="m9">
<mml:msub>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>l</mml:mi>
</mml:mrow>
<mml:mo>&#x307;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula>. The fiber length was normalized by the optimal fiber length at maximal isometric force, <italic>l</italic>
<sub>
<italic>opt</italic>0</sub>. The normalized fiber length was adjusted for activation level in <italic>f</italic>
<sub>
<italic>a</italic>
</sub> as described by Lloyd and Besier (<xref ref-type="bibr" rid="B17">Lloyd and Besier, 2003</xref>; <xref ref-type="bibr" rid="B18">Miller et al., 2018</xref>). The tendon force <italic>F</italic>
<sub>
<italic>t</italic>
</sub> was depended on the tendon strain <italic>&#x3f5;</italic>
<sub>
<italic>t</italic>
</sub> <xref ref-type="disp-formula" rid="e8">Eq. 8</xref> via the tendon length <italic>l</italic>
<sub>
<italic>t</italic>
</sub> <xref ref-type="disp-formula" rid="e7">Eq. 7</xref> as described by <xref ref-type="bibr" rid="B25">Thelen (2003)</xref>. The tendon length depended on the muscle-tendon length <italic>l</italic>
<sub>
<italic>mt</italic>
</sub> which was determined using the scaled Gait2392 model using the corresponding joint angles.<disp-formula id="e7">
<mml:math id="m10">
<mml:msub>
<mml:mrow>
<mml:mi>l</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>l</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>l</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2061;</mml:mo>
<mml:mi>cos</mml:mi>
<mml:mo>&#x2061;</mml:mo>
<mml:mi>&#x3b1;</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>l</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:math>
<label>(7)</label>
</disp-formula>
<disp-formula id="e8">
<mml:math id="m11">
<mml:msub>
<mml:mrow>
<mml:mi>&#x3f5;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>l</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>l</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mi>l</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>c</mml:mi>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>l</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mi>l</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>c</mml:mi>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfrac>
</mml:math>
<label>(8)</label>
</disp-formula>The normalized fiber length <italic>l</italic>
<sub>
<italic>m</italic>
</sub> was determined by finding the root of the equilibrium <xref ref-type="disp-formula" rid="e9">Eq. 9</xref> using sequential least squares programming.<disp-formula id="e9">
<mml:math id="m12">
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>F</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>F</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>0</mml:mn>
</mml:math>
<label>(9)</label>
</disp-formula>
</p>
</sec>
<sec id="s2-4-3">
<title>2.4.3 Joint Mechanics</title>
<p>The muscle force <inline-formula id="inf4">
<mml:math id="m13">
<mml:msub>
<mml:mrow>
<mml:mi>F</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> was multiplied with corresponding moment arm <italic>r</italic>
<sub>
<italic>j</italic>
</sub> to obtain the torque contribution of muscle <italic>j</italic>. The knee joint torque was obtained by summing all the muscle torque contributions. The moment arms <italic>r</italic> were determined using the scaled Gait2392 model using the corresponding joint angle.<disp-formula id="e10">
<mml:math id="m14">
<mml:mo>&#x2211;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>F</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mrow>
<mml:mi>r</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
<label>(10)</label>
</disp-formula>
</p>
</sec>
<sec id="s2-4-4">
<title>2.4.4 Optimization Routine</title>
<p>For each muscle made subject specific by optimizing hyperparameters. These hyperparameters and corresponding search spaces for each muscle were: the activation and deactivation time constants <italic>&#x3c4;</italic>
<sub>
<italic>act</italic>
</sub> {10&#x2013;80, step &#x3d; 0.1} and <italic>&#x3c4;</italic>
<sub>
<italic>deact</italic>
</sub>{10&#x2013;80, step &#x3d; 0.1}, the shape factor of the non-linear transfer function <italic>A</italic> {-3 to &#x2212;0.01, step &#x3d; 0.001}, the isometric strength coefficient <italic>c</italic>
<sub>
<italic>str</italic>
</sub> {0.5&#x2013;1.5, step &#x3d; 0.05}, the slack coefficient <italic>c</italic>
<sub>
<italic>slack</italic>
</sub> {0.85&#x2013;1.15, step &#x3d; 0.05}, and the optimal fiber length coefficient <italic>c</italic>
<sub>
<italic>opt</italic>0</sub> {0.85&#x2013;1.15, step &#x3d; 0.05}. The latter three coefficients adjust parameters from the contraction dynamics:<disp-formula id="equ1">
<mml:math id="m15">
<mml:mtable class="align-star" columnalign="left">
<mml:mtr>
<mml:mtd columnalign="right">
<mml:msub>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>F</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">&#x302;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>x</mml:mi>
<mml:mn>0</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mtd>
<mml:mtd columnalign="left">
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>c</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mi>t</mml:mi>
<mml:mi>r</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mrow>
<mml:mi>F</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>x</mml:mi>
<mml:mn>0</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd columnalign="right">
<mml:msub>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>l</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">&#x302;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mi>l</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>c</mml:mi>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mtd>
<mml:mtd columnalign="left">
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>c</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mi>l</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>c</mml:mi>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mrow>
<mml:mi>l</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mi>l</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>c</mml:mi>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd columnalign="right">
<mml:msub>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>l</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">&#x302;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mrow>
<mml:mi>o</mml:mi>
<mml:mi>p</mml:mi>
<mml:mi>t</mml:mi>
<mml:mn>0</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mtd>
<mml:mtd columnalign="left">
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>c</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>o</mml:mi>
<mml:mi>p</mml:mi>
<mml:mi>t</mml:mi>
<mml:mn>0</mml:mn>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mrow>
<mml:mi>l</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>o</mml:mi>
<mml:mi>p</mml:mi>
<mml:mi>t</mml:mi>
<mml:mn>0</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:math>
</disp-formula>A Bayesian optimization routine was used to find the optimal hyperparameters using the same loss function as seen in <xref ref-type="disp-formula" rid="e1">Eq. 1</xref>. The optimization routine ran for 2000 iterations per leg per subject on the training set of the first day. The predicted torque was low-pass filtered with a second order zero-lag low-pass filter and a cut-off frequency of 1&#xa0;Hz to obtain a smooth prediction.</p>
</sec>
</sec>
<sec id="s2-5">
<title>2.5 Hybrid Model</title>
<p>The third data pipeline contained a Hybrid model which consists out of parts of both the CNN and NMS model. A CNN was used to replace the activation component of the NMS model described by <xref ref-type="disp-formula" rid="e3">Eqs 3</xref>&#x2013;<xref ref-type="disp-formula" rid="e5">5</xref>. The CNN model architecture was built from the hyperparameters found by the optimized ML model. The activation of the last dense layer of the ML model was changed from a linear to a sigmoid function, to limit the output activation per muscle between zero and one. Hereafter a simplified force component of the NMS model was used, which is described by <xref ref-type="disp-formula" rid="e11">Eq. 11</xref>. The difference with <xref ref-type="disp-formula" rid="e6">Eq. 6</xref> is the removal of the passive force component to simplify the model. Next to that, only two coefficients were optimized, <italic>c</italic>
<sub>
<italic>str</italic>
</sub> and <italic>c</italic>
<sub>
<italic>slack</italic>
</sub> to further simply the model. This was necessary as the optimization routine would be too complex otherwise and no adequate solution would be reached.<disp-formula id="e11">
<mml:math id="m16">
<mml:msub>
<mml:mrow>
<mml:mi>F</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>F</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>x</mml:mi>
<mml:mn>0</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>a</mml:mi>
<mml:msub>
<mml:mrow>
<mml:mi>f</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>v</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>l</mml:mi>
</mml:mrow>
<mml:mo>&#x307;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:msub>
<mml:mrow>
<mml:mi>f</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>a</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>l</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>d</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>l</mml:mi>
</mml:mrow>
<mml:mo>&#x307;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:mi>cos</mml:mi>
<mml:mo>&#x2061;</mml:mo>
<mml:mi>&#x3b1;</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>l</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:math>
<label>(11)</label>
</disp-formula>The training process was a combination of the CNN and NMS calibration. First the NMS parameters were adjusted based on the SREs without any activation dynamics for 500 iterations using a Bayesian optimization routine as described before. Hereafter the CNN part of the model was used to estimate the activation based on the windowed SREs and trained for 10 epochs. After this, the NMS parameters were adjusted again, this time using the CNN-based activations as input, again for 500 iterations and then the CNN was trained again for 10 epochs. Hereafter the NMS parameters and CNN-parameters were optimized for a final time. The loss function was the same as for CNN and NMS models, see <xref ref-type="disp-formula" rid="e1">Eq. 1</xref>.</p>
<p>Windowed SREs were used as input and mapped onto muscle activations by the CNN. These predicted activations were used as input for the remaining NMS model. Windowed muscle-tendon lengths and moment arms were used in this remaining NMS model. The predicted torque was low-pass filtered with a second order zero-lag low-pass filter and a cut-off frequency of 1&#xa0;Hz to obtain a smooth prediction.</p>
</sec>
<sec id="s2-6">
<title>2.6 Data Evaluation</title>
<p>Three different models were trained for each leg from each subject. A fixed train/test split of 80/20% was made on data from the first measurement day. All models were trained and validated on the training set (80%), in which a shuffled train/validate split of 80/20% was made. All models were tested on the test set (20%) and all data from remaining measurement days. This separation in data was made for the intended application: it would be ideal to train a model on just one day and to have it perform well on every other day. With this method, robustness of all models against varying circumstances could be tested.</p>
<p>The performance metric used for this study was the normalized root mean squared error (NRMSE (%)), calculated by <xref ref-type="disp-formula" rid="e12">Eq. 12</xref>. <inline-formula id="inf5">
<mml:math id="m17">
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">&#x302;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula> denotes the predicted datapoint, with <italic>x</italic> as reference, <italic>N</italic> equals the total number of datapoints of which <italic>t</italic> indicates one specific datapoint. max(<italic>x</italic>
<sub>
<italic>t</italic>
</sub>) and min(<italic>x</italic>
<sub>
<italic>t</italic>
</sub>) are the highest respectively lowest torque reference value of all trials of one leg and are used to normalize the data.<disp-formula id="e12">
<mml:math id="m18">
<mml:mi>N</mml:mi>
<mml:mi>R</mml:mi>
<mml:mi>M</mml:mi>
<mml:mi>S</mml:mi>
<mml:mi>E</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>%</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:msqrt>
<mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mi>N</mml:mi>
</mml:mrow>
</mml:mfrac>
<mml:msubsup>
<mml:mrow>
<mml:mo movablelimits="false" form="prefix">&#x2211;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>0</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mi>N</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">&#x302;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:msqrt>
</mml:mrow>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>x</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>m</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>n</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mfrac>
<mml:mo>&#x22c5;</mml:mo>
<mml:mn>100</mml:mn>
<mml:mi>%</mml:mi>
</mml:math>
<label>(12)</label>
</disp-formula>Robustness was indicated by not-significant differences at the 0.05 significance level, in mean NRMSE values on different measurement days.</p>
</sec>
<sec id="s2-7">
<title>2.7 Statistical Analysis</title>
<p>To analyze the performance of the models, NRMSEs of all legs, of all trials from separate days were computed with each model. A Mixed Model analysis with &#x160;id&#xe1;k correction was used to determine significance (<italic>&#x3b1;</italic> &#x3d; 0.05) between the general performance of each model compared to one another and the performance of each model from day to day, compared by day and by model. A log transformation was performed on the NRMSE values to get normally distributed data.</p>
</sec>
<sec id="s2-8">
<title>2.8 Software</title>
<p>All models were built in Python 3.9. The CNNs were built using Tensorflow 2.4 (<xref ref-type="bibr" rid="B1">Abadi et al., 2015</xref>) and Bayesian hyperparameter optimization was done using Optuna 2.0 (<xref ref-type="bibr" rid="B2">Akiba et al., 2019</xref>). The Mixed Model analysis was performed using IBM SPSS Statistics Version 27.</p>
</sec>
</sec>
<sec sec-type="results" id="s3">
<title>3 Results</title>
<p>CNN hyperparameter optimization led to the following architecture: three convolutional layers, with 32 filters and a kernel size of 7 and an LSTM layer with 64 filters. Batch normalization was applied between each layer and a dropout rate of 0.1 was used. For the CNN part of the Hybrid version a similar architecture was used. See also <xref ref-type="table" rid="T1">Table 1</xref>. An example of the torque predictions by the three different type of models can be seen in <xref ref-type="fig" rid="F2">Figure 2</xref>.</p>
<table-wrap id="T1" position="float">
<label>TABLE 1</label>
<caption>
<p>Optimized architecture of the CNN model and the CNN part of the hybrid model.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="left">Layer</th>
<th align="center">Size</th>
<th align="center">No. Parameters</th>
<th align="center">Notes</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="left">Batch Normalization</td>
<td align="left"/>
<td align="center">128</td>
<td align="left"/>
</tr>
<tr>
<td align="left">Convolutional layer 1D</td>
<td align="center">32</td>
<td align="center">928</td>
<td align="left">kernelsize 7, relu activation</td>
</tr>
<tr>
<td align="left">Batch Normalization</td>
<td align="left"/>
<td align="center">128</td>
<td align="left"/>
</tr>
<tr>
<td align="left">Convolutional layer 1D</td>
<td align="center">32</td>
<td align="center">7,200</td>
<td align="left">kernelsize 7, relu activation</td>
</tr>
<tr>
<td align="left">Batch Normalization</td>
<td align="left"/>
<td align="center">128</td>
<td align="left"/>
</tr>
<tr>
<td align="left">Convolutional layer 1D</td>
<td align="center">32</td>
<td align="center">7,200</td>
<td align="left">kernelsize 7, relu activation</td>
</tr>
<tr>
<td align="left">Batch Normalization</td>
<td align="left"/>
<td align="center">128</td>
<td align="left"/>
</tr>
<tr>
<td align="left">LSTM</td>
<td align="center">64</td>
<td align="center">24,832</td>
<td align="left">tanh activation, sigmoid recurrent activation</td>
</tr>
<tr>
<td align="left">Batch Normalization</td>
<td align="left"/>
<td align="center">256</td>
<td align="left"/>
</tr>
<tr>
<td align="left">Dropout</td>
<td align="left"/>
<td align="left"/>
<td align="left">rate 0.1</td>
</tr>
<tr>
<td align="left">Fully connected layer</td>
<td align="center">1 or 4</td>
<td align="center">65 or 260</td>
<td align="left">linear (CNN) or softmax (Hybrid) activation</td>
</tr>
</tbody>
</table>
</table-wrap>
<fig id="F2" position="float">
<label>FIGURE 2</label>
<caption>
<p>Example of torque estimation on the test set of one subject by the three different models over the four measurement days. In black the reference torque, in red the predicted torque by the CNN model, in blue by the NMS model and in green by the Hybrid model.</p>
</caption>
<graphic xlink:href="frobt-09-869476-g002.tif"/>
</fig>
<sec id="s3-1">
<title>3.1 Model Comparison</title>
<p>Overall results are shown in <xref ref-type="fig" rid="F3">Figure 3</xref> and the comparison of models over days is shown in <xref ref-type="fig" rid="F4">Figure 4A</xref>. Average NRMSE was 9.2 &#xb1; 4.4% for the CNN model, 14.3 &#xb1; 4.2% for the NMS model and 12.4 &#xb1; 3.4% for the Hybrid model. The CNN model outperformed the NMS and Hybrid models overall (resp. p<inline-formula id="inf6">
<mml:math id="m19">
<mml:mo>&#x3c;</mml:mo>
</mml:math>
</inline-formula>1e-4, <italic>p</italic>
<inline-formula id="inf7">
<mml:math id="m20">
<mml:mo>&#x3c;</mml:mo>
</mml:math>
</inline-formula>1e-4), on day 1 (resp. p<inline-formula id="inf8">
<mml:math id="m21">
<mml:mo>&#x3c;</mml:mo>
</mml:math>
</inline-formula>1e-4, <italic>p</italic>
<inline-formula id="inf9">
<mml:math id="m22">
<mml:mo>&#x3c;</mml:mo>
</mml:math>
</inline-formula>1e-4), day 2 (resp. <italic>p</italic> &#x3d; 0.007, <italic>p</italic> &#x3d; 0.019), day 3 (resp. <italic>p</italic> &#x3d; 0.004, <italic>p</italic> &#x3d; 0.029) and on day 7 (resp. <italic>p</italic> &#x3d; 0.001, <italic>p</italic> &#x3d; 0.015). The Hybrid model outperformed the NMS model overall (<italic>p</italic> &#x3d; 0.001) and on day 1 (<italic>p</italic> &#x3d; 0.001).</p>
<fig id="F3" position="float">
<label>FIGURE 3</label>
<caption>
<p>Average NRMSE (&#xb1; SD) per model over all days. Asterisks indicate significance level: <italic>p</italic> &#x3c; 0.05 &#x3d; &#x2a;, <italic>p</italic> &#x3c; 0.01 &#x3d; &#x2a;&#x2a;, <italic>p</italic> &#x3c; 0.001 &#x3d; &#x2a;&#x2a;&#x2a;.</p>
</caption>
<graphic xlink:href="frobt-09-869476-g003.tif"/>
</fig>
<fig id="F4" position="float">
<label>FIGURE 4</label>
<caption>
<p>Average NRMSE (&#xb1; SD) per day per model <bold>(A)</bold> and per model per day <bold>(B)</bold>. Asterisks indicate significance level: <italic>p</italic> &#x3c; 0.05 &#x3d; &#x2a;, <italic>p</italic> &#x3c; 0.01 &#x3d; &#x2a;&#x2a;, <italic>p</italic> &#x3c; 0.001 &#x3d; &#x2a;&#x2a;&#x2a;.</p>
</caption>
<graphic xlink:href="frobt-09-869476-g004.tif"/>
</fig>
</sec>
<sec id="s3-2">
<title>3.2 Model Performance Over Days</title>
<p>Performance of the models over days is shown in <xref ref-type="fig" rid="F4">Figure 4B</xref>. For the CNN the error was 5.8 &#xb1; 1.6% on day 1, 10.0 &#xb1; 5.2% on day 2, 11.0 &#xb1; 4.1% on day 3 and 10.2 &#xb1; 3.9% on day 7. The error on day 1 differed significantly from the other 3 days (resp. p<inline-formula id="inf10">
<mml:math id="m23">
<mml:mo>&#x3c;</mml:mo>
</mml:math>
</inline-formula>1e-4, <italic>p</italic>
<inline-formula id="inf11">
<mml:math id="m24">
<mml:mo>&#x3c;</mml:mo>
</mml:math>
</inline-formula>1e-4, <italic>p</italic>
<inline-formula id="inf12">
<mml:math id="m25">
<mml:mo>&#x3c;</mml:mo>
</mml:math>
</inline-formula>1e-4). No significant difference was observed between day 2, 3 and 7. For NMS the error was 14.2 &#xb1; 3.4% on day 1, 13.4 &#xb1; 3.0% on day 2, 15.2 &#xb1; 5.1% on day 3 and 14.6 &#xb1; 4.9% on day 7. No significant difference was observed between day 1, 2, 3 and 7. For Hybrid the error was 10.0 &#xb1; 1.6% on day 1, 12.6 &#xb1; 2.4% on day 2, 14.1 &#xb1; 4.2% on day 3 and 13.1 &#xb1; 3.5% on day 7. The error on day 1 differed significantly from the other 3 days (resp. <italic>p</italic> &#x3d; 0.002, <italic>p</italic> &#x3d; 0.001, <italic>p</italic> &#x3d; 0.004). No significant difference was observed between day 2, 3 and 7.</p>
</sec>
</sec>
<sec sec-type="discussion" id="s4">
<title>4 Discussion</title>
<p>The main goal of this study was to find the most suitable model to predict knee joint torque from EMG, to be used for multi-day control of a prosthetic knee joint in non-weight bearing situations. Three different models were developed and validated on both legs of ten able-bodied subjects, using multi-day measurements. The CNN model had the overall lowest prediction error (9.2 &#xb1; 4.4%) and performed significantly better than NMS and Hybrid on all days. To the best of our knowledge, our convolutional neural network was the first of its kind able to successfully predict knee joint torque from EMG input data. Next to that, we implemented state-of-the-art NMS models which showed robustness from day to day. We also successfully combined a convolutional neural network and a Hill-type muscle model to create a Hybrid model, which is also first of its kind. This Hybrid model was able to outperform NMS. This study indicates that convolutional neural networks are a suited approach to be used in knee joint torque estimation over multiple days.</p>
<p>The CNN showed the lowest error on the training day and had an increased error on subsequent days, which was in line with our expectations. However, the increase in error did not continue after day 2 and results showed that the CNN was robust over the other three days, showing no significant differences between day 2, 3 and 7. This is not completely in line with expectations from related work. Convolutional neural networks are known to have robustness issues (<xref ref-type="bibr" rid="B26">Uli&#x10d;n&#x1ef3; et al., 2016</xref>; <xref ref-type="bibr" rid="B11">Ghosh et al., 2018</xref>; <xref ref-type="bibr" rid="B3">Arcaini et al., 2020</xref>). For example, if electrodes are placed differently on day 2 and MVC values differ from day to day, the EMG envelope images that are created can differ too much from day 1 for the CNN to make a good prediction. This may explain the significant differences between day 1 and all other measurement days. However, our findings show no significant differences between day 2, 3 or 7, thus being robust over days, which contradicts literature. A possible explanation is that the variance in EMG envelopes, and thus the input data for the CNN, within a subject is small enough to be handled by the CNN. Another explanation is that the output of the CNN used in this study is low-pass filtered to smooth any outliers, improving the NRMSE and robustness. Next to that, related work suggested that a black-box machine learning method could predict torque values outside of a physiologically plausible space (<xref ref-type="bibr" rid="B20">Sartori et al., 2018</xref>). We were able to develop a CNN model with low-pass filter, which was able to predict torques within a small range of the reference value. This study showed that a CNN model is suited for torque estimation within plausible ranges.</p>
<p>Compared to related work, our study shows similar results for the CNN model. To our knowledge no studies into the performance of knee joint angle or torque prediction over multiple days were conducted, thus only the first day performances could be compared. We observed an average error rate of 5.8 &#xb1; 1.6% on day 1, which is comparable with related work. Huang et al. reported an average error of 4.9% and Gautam et al. reported an average error of 8.1% for knee joint angle prediction. Zhang et al. reported an average error of 0.7&#x2013;6.7% for ankle torque prediction.</p>
<p>The NMS model did not differ significantly over days as expected and is the only model that met our definition of robustness. It was expected that robustness was shown over every measurement day (<xref ref-type="bibr" rid="B9">Durandau et al., 2018</xref>; <xref ref-type="bibr" rid="B20">Sartori et al., 2018</xref>). Related work showed the model&#x2019;s ability to predict torque in untrained activities, thereby proving its robustness by their definition (<xref ref-type="bibr" rid="B9">Durandau et al., 2018</xref>). Our definition of robustness is different since it refers to time and not the model&#x2019;s ability to predict untrained activities. To our knowledge, little related work investigated robustness from day to day. Just one study calibrated the NMS model on one day and tested the model the day after, but did not test for between-days variance (<xref ref-type="bibr" rid="B20">Sartori et al., 2018</xref>). This study showed that NMS is also robust over multiple days. The error observed on day 2, 3 and 7 by the NMS model was significantly higher than the error of the CNN model, which was not expected. Next to that, the average NRMSE of 14.3 &#xb1; 4.2% was slightly higher than observed in related work. Durandau et al. reported an average error of 10&#x2013;11% and Zhang et al. reported an average error of 2&#x2013;12%. It could be that the model was too complex for the task that was performed. Furthermore, the activities performed in this study find the physiological boundaries of the knee angle and thus of the muscle parameters, which might cause this model to perform less compared to findings in literature.</p>
<p>The performance of the Hybrid model was midway between the performance of the CNN model and NMS. It was not as robust as NMS and did not reach as high performance as the CNN model, thus it did not meet our expectation. Similar robustness behaviour was found compared to the CNN model: robustness was found over day 2, 3 and 7. This can be explained by the fact that Hybrid and CNN models both make use of a CNN, of which its robustness was explained before. The error overall and on day 1 was significantly lower than that of NMS, thus combining NMS with a CNN can lead to better performing models. A possible explanation is that the muscle activation computed by the CNN is more accurate than the muscle activation calculated by the activation component of the NMS model. The Hybrid model thus uses the best features of both the CNN model and NMS: the CNN is used to find a better relation between EMG and muscle activation, and the NMS components provide information about the underlying process of biomechanical movement.</p>
<p>Compared to related work of Hybrid modelling, we found an average NRMSE of 10.0 &#xb1; 1.6% on day 1. As no multi-day studies into knee joint angle or torque prediction based on EMG were performed to our knowledge, we cannot compare the results of the other days to related work. <xref ref-type="bibr" rid="B4">Cimolato et al. (2020)</xref> found an average NRMSE of 24.0% with their Hybrid model and <xref ref-type="bibr" rid="B31">Xu et al. (2020)</xref> found an average RMSE of 5.8% with their Hybrid approach. The application of Xu et al. was on the upper limb which is different than our application in the lower limb. This might explain the difference in error rate compared with our study as the system that needs to be modelled around the elbow is less complex than around the knee. Our Hybrid approach has an error rate which falls between these two studies.</p>
<p>The findings of this study are promising for the use in a transfemoral prosthesis. The CNN model proves to be the best of three models to be used for knee joint torque estimation. However, future work remains to investigate if this finding extends to an online application with amputees as well. The input of the CNNs were windowed to obtain EMG images, which would introduce a real-time delay of the window size (128&#xa0;ms) &#x2b; sampling period (16&#xa0;ms). Output was filtered by a second order low-pass filter with a cut-off frequency of 1Hz, which would cause an additional real-time delay of 1 sample (16&#xa0;ms), resulting in a total delay of 160&#xa0;ms. Therefore, with the intended use in mind, it is essential to test performance of these models in real-time using an actual transfemoral prosthesis, using amputees instead of able-bodied subjects. Futhermore, the sample size of ten subjects is limited and could be extended for a more clear result between the different models. Another limitation of this study is that the influence of the maximum voluntary contractions on the EMG data and model performance have not been investigated. The MVC that was performed for this study cannot be done by a transfemoral amputee. An extension of this study should investigate the use of different MVCs, for instance by using a submaximal contraction to estimate maximum contraction as proposed by <xref ref-type="bibr" rid="B15">Kishimoto et al. (2021)</xref> and investigate how different MVCs affect the model performances.</p>
</sec>
<sec sec-type="conclusion" id="s5">
<title>5 Conclusion</title>
<p>This study provides new insight into what modelling framework performs best in predicting knee joint torque from EMG data during non-weight bearing activities in healthy subjects. Three models (CNN model, neuromusculoskeletal model and a Hybrid model) were designed and tested on multi-day measurements to gain knowledge about the robustness of each model to time-varying parameters. Results indicate that the CNN model performed best compared to the other models (NRMSE 9.2 &#xb1; 4.4%) and that the Hybrid model (NRMSE 12.4 &#xb1; 3.4%) was able to outperform the neuromusculoskeletal model (NRMSE 14.3 &#xb1; 4.2%). The NMS model was the only model that was robust over all days. The CNN model and Hybrid models showed only significant differences in performance between the first day and all other days, a promising finding for the robustness of each model. These results contribute to the development of a direct control scheme for a transfemoral prosthesis by providing a clear comparison of all three modelling frameworks evualated over multiple days.</p>
</sec>
</body>
<back>
<sec id="s6">
<title>Data Availability Statement</title>
<p>The raw data supporting the conclusions of this article will be made available by the authors, without undue reservation.</p>
</sec>
<sec id="s7">
<title>Ethics Statement</title>
<p>The studies involving human participants were reviewed and approved by Medical research Ethics Committees United (MEC-U). The patients/participants provided their written informed consent to participate in this study.</p>
</sec>
<sec id="s8">
<title>Author Contributions</title>
<p>RS, MZ, JB, and EP contributed to the conception and design of the study. RS and MZ implemented the methods, performed the data analyses and wrote the first draft of the manuscript. All authors contributed to manuscript revision, read and approved the submitted version.</p>
</sec>
<sec id="s9">
<title>Funding</title>
<p>This research is part of the MyLeg project and was funded by European Union&#x2019;s Horizon 2020 Research and Innovation Programme grant number 780871.</p>
</sec>
<sec sec-type="COI-statement" id="s10">
<title>Conflict of Interest</title>
<p>The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.</p>
</sec>
<sec sec-type="disclaimer" id="s11">
<title>Publisher&#x2019;s Note</title>
<p>All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.</p>
</sec>
<ref-list>
<title>References</title>
<ref id="B1">
<citation citation-type="web">
<person-group person-group-type="author">
<name>
<surname>Abadi</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Agarwal</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Barham</surname>
<given-names>P.</given-names>
</name>
<name>
<surname>Brevdo</surname>
<given-names>E.</given-names>
</name>
<name>
<surname>Chen</surname>
<given-names>Z.</given-names>
</name>
<name>
<surname>Citro</surname>
<given-names>C.</given-names>
</name>
<etal/>
</person-group> (<year>2015</year>). <article-title>TensorFlow: Large-Scale Machine Learning on Heterogeneous Systems Software</article-title>. <comment>Available from: <ext-link ext-link-type="uri" xlink:href="tensorflow.org">tensorflow.org</ext-link>.</comment> </citation>
</ref>
<ref id="B2">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Akiba</surname>
<given-names>T.</given-names>
</name>
<name>
<surname>Sano</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Yanase</surname>
<given-names>T.</given-names>
</name>
<name>
<surname>Ohta</surname>
<given-names>T.</given-names>
</name>
<name>
<surname>Koyama</surname>
<given-names>M.</given-names>
</name>
</person-group> (<year>2019</year>). &#x201c;<article-title>Optuna: A Next-Generation Hyperparameter Optimization Framework</article-title>,&#x201d; in <conf-name>Proceedings of the 25rd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining</conf-name> (<publisher-loc>Anchorage, AK</publisher-loc>: <publisher-name>ACM</publisher-name>). </citation>
</ref>
<ref id="B3">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Arcaini</surname>
<given-names>P.</given-names>
</name>
<name>
<surname>Bombarda</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Bonfanti</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Gargantini</surname>
<given-names>A.</given-names>
</name>
</person-group> (<year>2020</year>). &#x201c;<article-title>Dealing with Robustness of Convolutional Neural Networks for Image Classification</article-title>,&#x201d; in <conf-name>2020 IEEE International Conference on Artificial Intelligence Testing (AITest)</conf-name> (<publisher-loc>Newark, CA</publisher-loc>: <publisher-name>IEEE</publisher-name>), <fpage>7</fpage>&#x2013;<lpage>14</lpage>. <pub-id pub-id-type="doi">10.1109/aitest49225.2020.00009</pub-id> </citation>
</ref>
<ref id="B4">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Cimolato</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Milandri</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Mattos</surname>
<given-names>L. S.</given-names>
</name>
<name>
<surname>De Momi</surname>
<given-names>E.</given-names>
</name>
<name>
<surname>Laffranchi</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>De Michieli</surname>
<given-names>L.</given-names>
</name>
</person-group> (<year>2020</year>). &#x201c;<article-title>Hybrid Machine Learning-Neuromusculoskeletal Modeling for Control of Lower Limb Prosthetics</article-title>,&#x201d; in <conf-name>2020 8th IEEE RAS/EMBS International Conference for Biomedical Robotics and Biomechatronics (BioRob)</conf-name> (<publisher-loc>New York, NY</publisher-loc>: <publisher-name>IEEE</publisher-name>), <fpage>557</fpage>&#x2013;<lpage>563</lpage>. <pub-id pub-id-type="doi">10.1109/biorob49111.2020.9224448</pub-id> </citation>
</ref>
<ref id="B5">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Crowe</surname>
<given-names>C. S.</given-names>
</name>
<name>
<surname>Impastato</surname>
<given-names>K. A.</given-names>
</name>
<name>
<surname>Donaghy</surname>
<given-names>A. C.</given-names>
</name>
<name>
<surname>Earl</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Friedly</surname>
<given-names>J. L.</given-names>
</name>
<name>
<surname>Keys</surname>
<given-names>K. A.</given-names>
</name>
</person-group> (<year>2019</year>). <article-title>Prosthetic and Orthotic Options for Lower Extremity Amputation and Reconstruction</article-title>. <source>Plast. Aesthet. Res.</source> <volume>2019</volume>, <fpage>1</fpage>. <pub-id pub-id-type="doi">10.20517/2347-9264.2018.70</pub-id> </citation>
</ref>
<ref id="B6">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Dabiri</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Najarian</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Eslami</surname>
<given-names>M. R.</given-names>
</name>
<name>
<surname>Zahedi</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Farahpour</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Moradihaghighat</surname>
<given-names>R.</given-names>
</name>
</person-group> (<year>2010</year>). &#x201c;<article-title>Comparison of Passive and Active Prosthetic Knee Joint Kinematics during Swing Phase of Gait</article-title>,&#x201d; in <conf-name>2010 17th Iranian Conference of Biomedical Engineering, ICBME 2010 - Proceedings</conf-name> (<publisher-loc>Isfahan, Iran</publisher-loc>: <publisher-name>IEEE</publisher-name>). <pub-id pub-id-type="doi">10.1109/ICBME.2010.5704998</pub-id> </citation>
</ref>
<ref id="B7">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Deng</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Gao</surname>
<given-names>F.</given-names>
</name>
<name>
<surname>Chen</surname>
<given-names>H.</given-names>
</name>
</person-group> (<year>2020</year>). <article-title>Angle Estimation for Knee Joint Movement Based on Pca-Relm Algorithm</article-title>. <source>Symmetry</source> <volume>12</volume>, <fpage>130</fpage>. <pub-id pub-id-type="doi">10.3390/sym12010130</pub-id> </citation>
</ref>
<ref id="B8">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Durandau</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Farina</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>As&#xed;n-Prieto</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Dimbwadyo-Terrer</surname>
<given-names>I.</given-names>
</name>
<name>
<surname>Lerma-Lara</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Pons</surname>
<given-names>J. L.</given-names>
</name>
<etal/>
</person-group> (<year>2019</year>). <article-title>Voluntary Control of Wearable Robotic Exoskeletons by Patients with Paresis via Neuromechanical Modeling</article-title>. <source>J. Neuroengineering Rehabil.</source> <volume>16</volume>, <fpage>1</fpage>. <pub-id pub-id-type="doi">10.1186/s12984-019-0559-z</pub-id> </citation>
</ref>
<ref id="B9">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Durandau</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Farina</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Sartori</surname>
<given-names>M.</given-names>
</name>
</person-group> (<year>2018</year>). <article-title>Robust Real-Time Musculoskeletal Modeling Driven by Electromyograms</article-title>. <source>IEEE Trans. Biomed. Eng.</source> <volume>65</volume>, <fpage>556</fpage>&#x2013;<lpage>564</lpage>. <pub-id pub-id-type="doi">10.1109/TBME.2017.2704085</pub-id> </citation>
</ref>
<ref id="B10">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Gautam</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Panwar</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Biswas</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Acharyya</surname>
<given-names>A.</given-names>
</name>
</person-group> (<year>2020</year>). <article-title>MyoNet: A Transfer-Learning-Based LRCN for Lower Limb Movement Recognition and Knee Joint Angle Prediction for Remote Monitoring of Rehabilitation Progress from sEMG</article-title>. <source>IEEE J. Transl. Eng. Health Med.</source> <volume>8</volume>, <fpage>1</fpage>&#x2013;<lpage>10</lpage>. <pub-id pub-id-type="doi">10.1109/JTEHM.2020.2972523</pub-id> </citation>
</ref>
<ref id="B11">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Ghosh</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Shet</surname>
<given-names>R.</given-names>
</name>
<name>
<surname>Amon</surname>
<given-names>P.</given-names>
</name>
<name>
<surname>Hutter</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Kaup</surname>
<given-names>A.</given-names>
</name>
</person-group> (<year>2018</year>). &#x201c;<article-title>Robustness of Deep Convolutional Neural Networks for Image Degradations</article-title>,&#x201d; in <conf-name>2018 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP)</conf-name> (<publisher-loc>Calgary, Canada</publisher-loc>: <publisher-name>IEEE</publisher-name>), <fpage>2916</fpage>&#x2013;<lpage>2920</lpage>. <pub-id pub-id-type="doi">10.1109/icassp.2018.8461907</pub-id> </citation>
</ref>
<ref id="B12">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Hermens</surname>
<given-names>H. J.</given-names>
</name>
<name>
<surname>Freriks</surname>
<given-names>B.</given-names>
</name>
<name>
<surname>Disselhorst-Klug</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Rau</surname>
<given-names>G.</given-names>
</name>
</person-group> (<year>2000</year>). <article-title>Development of Recommendations for Semg Sensors and Sensor Placement Procedures</article-title>. <source>J. Electromyogr. Kinesiol.</source> <volume>10</volume>, <fpage>361</fpage>&#x2013;<lpage>374</lpage>. <pub-id pub-id-type="doi">10.1016/s1050-6411(00)00027-4</pub-id> </citation>
</ref>
<ref id="B13">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Huang</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>He</surname>
<given-names>Z.</given-names>
</name>
<name>
<surname>Liu</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Yang</surname>
<given-names>R.</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>X.</given-names>
</name>
<name>
<surname>Cheng</surname>
<given-names>G.</given-names>
</name>
<etal/>
</person-group> (<year>2019</year>). <article-title>Real-Time Intended Knee Joint Motion Prediction by Deep-Recurrent Neural Networks</article-title>. <source>IEEE Sensors J.</source> <volume>19</volume>, <fpage>11503</fpage>&#x2013;<lpage>11509</lpage>. <pub-id pub-id-type="doi">10.1109/JSEN.2019.2933603</pub-id> </citation>
</ref>
<ref id="B14">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Kapelner</surname>
<given-names>T.</given-names>
</name>
<name>
<surname>Sartori</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Negro</surname>
<given-names>F.</given-names>
</name>
<name>
<surname>Farina</surname>
<given-names>D.</given-names>
</name>
</person-group> (<year>2020</year>). <article-title>Neuro-Musculoskeletal Mapping for Man-Machine Interfacing</article-title>. <source>Sci. Rep.</source> <volume>10</volume>, <fpage>1</fpage>. <pub-id pub-id-type="doi">10.1038/s41598-020-62773-7</pub-id> </citation>
</ref>
<ref id="B15">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Kishimoto</surname>
<given-names>K. C.</given-names>
</name>
<name>
<surname>H&#xe9;roux</surname>
<given-names>M. E.</given-names>
</name>
<name>
<surname>Gandevia</surname>
<given-names>S. C.</given-names>
</name>
<name>
<surname>Butler</surname>
<given-names>J. E.</given-names>
</name>
<name>
<surname>Diong</surname>
<given-names>J.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>Estimation of Maximal Muscle Electromyographic Activity from the Relationship between Muscle Activity and Voluntary Activation</article-title>. <source>J. Appl. Physiol.</source> <volume>130</volume>, <fpage>1352</fpage>&#x2013;<lpage>1361</lpage>. <pub-id pub-id-type="doi">10.1152/japplphysiol.00557.2020</pub-id> </citation>
</ref>
<ref id="B16">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Liu</surname>
<given-names>Q.</given-names>
</name>
<name>
<surname>Ma</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Ai</surname>
<given-names>Q.</given-names>
</name>
<name>
<surname>Chen</surname>
<given-names>K.</given-names>
</name>
<name>
<surname>Meng</surname>
<given-names>W.</given-names>
</name>
</person-group> (<year>2018</year>). &#x201c;<article-title>Knee Joint Angle Prediction Based on Muscle Synergy Theory and Generalized Regression Neural Network</article-title>,&#x201d; in <conf-name>IEEE/ASME International Conference on Advanced Intelligent Mechatronics, AIM</conf-name> (<publisher-loc>Auckland, New Zealand</publisher-loc>: <publisher-name>Institute of Electrical and Electronics Engineers Inc.</publisher-name>), <fpage>28</fpage>&#x2013;<lpage>32</lpage>. <pub-id pub-id-type="doi">10.1109/AIM.2018.8452230</pub-id> </citation>
</ref>
<ref id="B17">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Lloyd</surname>
<given-names>D. G.</given-names>
</name>
<name>
<surname>Besier</surname>
<given-names>T. F.</given-names>
</name>
</person-group> (<year>2003</year>). <article-title>An Emg-Driven Musculoskeletal Model to Estimate Muscle Forces and Knee Joint Moments <italic>In Vivo</italic>
</article-title>. <source>J. Biomech.</source> <volume>36</volume>, <fpage>765</fpage>&#x2013;<lpage>776</lpage>. <pub-id pub-id-type="doi">10.1016/s0021-9290(03)00010-1</pub-id> </citation>
</ref>
<ref id="B18">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Miller</surname>
<given-names>R. H.</given-names>
</name>
<name>
<surname>M&#xfc;ller</surname>
<given-names>B.</given-names>
</name>
<name>
<surname>Wolf</surname>
<given-names>S.</given-names>
</name>
</person-group> (<year>2018</year>). <article-title>Hill-based Muscle Modeling</article-title>. <source>Handbook Hum. motion</source> <volume>2018</volume>, <fpage>373</fpage>&#x2013;<lpage>394</lpage>. <pub-id pub-id-type="doi">10.1007/978-3-319-14418-4_203</pub-id> </citation>
</ref>
<ref id="B19">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Saranya</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Poonguzhali</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Saraswathy</surname>
<given-names>G.</given-names>
</name>
</person-group> (<year>2019</year>). &#x201c;<article-title>Muscle Activation Based Estimation of Knee Joint Angle Using Surface Electromyography Signals</article-title>,&#x201d; in <conf-name>IEEE International Conference on Distributed Computing, VLSI, Electrical Circuits and Robotics (DISCOVER)</conf-name> (<publisher-loc>Manipal, India</publisher-loc>: <publisher-name>IEEE</publisher-name>), <fpage>1</fpage>&#x2013;<lpage>6</lpage>. <pub-id pub-id-type="doi">10.1109/discover47552.2019.9008096</pub-id> </citation>
</ref>
<ref id="B20">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Sartori</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Durandau</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Do&#x161;en</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Farina</surname>
<given-names>D.</given-names>
</name>
</person-group> (<year>2018</year>). <article-title>Robust Simultaneous Myoelectric Control of Multiple Degrees of freedom in Wrist-Hand Prostheses by Real-Time Neuromusculoskeletal Modeling</article-title>. <source>J. Neural Eng.</source> <volume>15</volume>, <fpage>066026</fpage>. <pub-id pub-id-type="doi">10.1088/1741-2552/aae26b</pub-id> </citation>
</ref>
<ref id="B21">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Sartori</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Llyod</surname>
<given-names>D. G.</given-names>
</name>
<name>
<surname>Farina</surname>
<given-names>D.</given-names>
</name>
</person-group> (<year>2016</year>). <article-title>Neural Data-Driven Musculoskeletal Modeling for Personalized Neurorehabilitation Technologies</article-title>. <source>IEEE Trans. Biomed. Eng.</source> <volume>63</volume>, <fpage>879</fpage>&#x2013;<lpage>893</lpage>. <pub-id pub-id-type="doi">10.1109/TBME.2016.2538296</pub-id> </citation>
</ref>
<ref id="B22">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Sartori</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Reggiani</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Farina</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Lloyd</surname>
<given-names>D. G.</given-names>
</name>
</person-group> (<year>2012</year>). <article-title>EMG-driven Forward-Dynamic Estimation of Muscle Force and Joint Moment about Multiple Degrees of Freedom in the Human Lower Extremity</article-title>. <source>PLoS ONE</source> <volume>7</volume>, <fpage>e52618</fpage>. <pub-id pub-id-type="doi">10.1371/journal.pone.0052618</pub-id> </citation>
</ref>
<ref id="B23">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Saxby</surname>
<given-names>D. J.</given-names>
</name>
<name>
<surname>Killen</surname>
<given-names>B. A.</given-names>
</name>
<name>
<surname>Pizzolato</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Carty</surname>
<given-names>C. P.</given-names>
</name>
<name>
<surname>Diamond</surname>
<given-names>L. E.</given-names>
</name>
<name>
<surname>Modenese</surname>
<given-names>L.</given-names>
</name>
<etal/>
</person-group> (<year>2020</year>). <article-title>Machine Learning Methods to Support Personalized Neuromusculoskeletal Modelling</article-title>. <source>Biomech. Model. Mechanobiol</source> <volume>19</volume>, <fpage>1169</fpage>&#x2013;<lpage>1185</lpage>. <pub-id pub-id-type="doi">10.1007/s10237-020-01367-8</pub-id> </citation>
</ref>
<ref id="B24">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Seth</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Hicks</surname>
<given-names>J. L.</given-names>
</name>
<name>
<surname>Uchida</surname>
<given-names>T. K.</given-names>
</name>
<name>
<surname>Habib</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Dembia</surname>
<given-names>C. L.</given-names>
</name>
<name>
<surname>Dunne</surname>
<given-names>J. J.</given-names>
</name>
<etal/>
</person-group> (<year>2018</year>). <article-title>Opensim: Simulating Musculoskeletal Dynamics and Neuromuscular Control to Study Human and Animal Movement</article-title>. <source>Plos Comput. Biol.</source> <volume>14</volume>, <fpage>e1006223</fpage>. <pub-id pub-id-type="doi">10.1371/journal.pcbi.1006223</pub-id> </citation>
</ref>
<ref id="B25">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Thelen</surname>
<given-names>D. G.</given-names>
</name>
</person-group> (<year>2003</year>). <article-title>Adjustment of Muscle Mechanics Model Parameters to Simulate Dynamic Contractions in Older Adults</article-title>. <source>J. Biomech. Eng.</source> <volume>125</volume>, <fpage>70</fpage>&#x2013;<lpage>77</lpage>. <pub-id pub-id-type="doi">10.1115/1.1531112</pub-id> </citation>
</ref>
<ref id="B26">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Uli&#x10d;n&#x1ef3;</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Lundstr&#xf6;m</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Byttner</surname>
<given-names>S.</given-names>
</name>
</person-group> (<year>2016</year>). &#x201c;<article-title>Robustness of Deep Convolutional Neural Networks for Image Recognition</article-title>,&#x201d; in <conf-name>International Symposium on Intelligent Computing Systems</conf-name> (<publisher-loc>Merida, Mexico</publisher-loc>: <publisher-name>Springer</publisher-name>), <fpage>16</fpage>&#x2013;<lpage>30</lpage>. </citation>
</ref>
<ref id="B27">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Wang G</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Liu</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Shi</surname>
<given-names>T.</given-names>
</name>
<name>
<surname>Duan</surname>
<given-names>X.</given-names>
</name>
<name>
<surname>Liu</surname>
<given-names>K.</given-names>
</name>
<name>
<surname>Sun</surname>
<given-names>Z.</given-names>
</name>
<etal/>
</person-group> (<year>2019</year>). &#x201c;<article-title>A Novel Estimation Approach of sEMG-Based Joint Movements via RBF Neural Network</article-title>,&#x201d; in <source>Chinese Automation Congress (CAC)</source> (<publisher-loc>Hangzhou</publisher-loc>: <publisher-name>IEEE</publisher-name>), <fpage>1783</fpage>&#x2013;<lpage>1788</lpage>. <pub-id pub-id-type="doi">10.1109/cac48633.2019.8997245</pub-id> </citation>
</ref>
<ref id="B28">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Wang W</surname>
<given-names>W.</given-names>
</name>
<name>
<surname>Hou</surname>
<given-names>Z.-G.</given-names>
</name>
<name>
<surname>Shi</surname>
<given-names>W.</given-names>
</name>
<name>
<surname>Liang</surname>
<given-names>X.</given-names>
</name>
<name>
<surname>Ren</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>J.</given-names>
</name>
<etal/>
</person-group> (<year>2019</year>). &#x201c;<article-title>Neuromuscular Activation Based Semg-Torque Hybrid Modeling and Optimization for Robot Assisted Neurorehabilitation</article-title>,&#x201d; in <conf-name>International Conference on Neural Information Processing</conf-name> (<publisher-loc>Sydney, Australia</publisher-loc>: <publisher-name>Springer</publisher-name>), <fpage>591</fpage>&#x2013;<lpage>602</lpage>. <pub-id pub-id-type="doi">10.1007/978-3-030-36711-4_50</pub-id> </citation>
</ref>
<ref id="B29">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Wentink</surname>
<given-names>E. C.</given-names>
</name>
<name>
<surname>Schut</surname>
<given-names>V. G. H.</given-names>
</name>
<name>
<surname>Prinsen</surname>
<given-names>E. C.</given-names>
</name>
<name>
<surname>Rietman</surname>
<given-names>J. S.</given-names>
</name>
<name>
<surname>Veltink</surname>
<given-names>P. H.</given-names>
</name>
</person-group> (<year>2014</year>). <article-title>Detection of the Onset of Gait Initiation Using Kinematic Sensors and EMG in Transfemoral Amputees</article-title>. <source>Gait &#x26; Posture</source> <volume>39</volume>, <fpage>391</fpage>&#x2013;<lpage>396</lpage>. <pub-id pub-id-type="doi">10.1016/j.gaitpost.2013.08.008</pub-id> </citation>
</ref>
<ref id="B30">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Windrich</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Grimmer</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Christ</surname>
<given-names>O.</given-names>
</name>
<name>
<surname>Rinderknecht</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Beckerle</surname>
<given-names>P.</given-names>
</name>
</person-group> (<year>2016</year>). &#x201c;<article-title>Active Lower Limb Prosthetics: A Systematic Review of Design Issues and Solutions</article-title>,&#x201d; in <source>BioMedical Engineering Online</source> (<publisher-loc>Pittsburgh, USA</publisher-loc>: <publisher-name>BioMed Central Ltd.</publisher-name>). <pub-id pub-id-type="doi">10.1186/s12938-016-0284-9</pub-id> </citation>
</ref>
<ref id="B31">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Xu</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Wu</surname>
<given-names>Q.</given-names>
</name>
<name>
<surname>Zhu</surname>
<given-names>Y.</given-names>
</name>
</person-group> (<year>2020</year>). <article-title>Development of a sEMG-Based Joint Torque Estimation Strategy Using Hill-Type Muscle Model and Neural Network</article-title>. <source>J. Med. Biol. Eng.</source> <volume>41</volume>, <fpage>34</fpage>&#x2013;<lpage>44</lpage>. <pub-id pub-id-type="doi">10.1007/s40846-020-00539-2</pub-id> </citation>
</ref>
<ref id="B32">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zhang</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Li</surname>
<given-names>Z.</given-names>
</name>
<name>
<surname>Hu</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Smith</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Farewik</surname>
<given-names>E. M. G.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>R.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>Ankle Joint Torque Estimation Using an EMG-Driven Neuromusculoskeletal Model and an Artificial Neural Network Model</article-title>. <source>IEEE Trans. Automat. Sci. Eng.</source> <volume>18</volume>, <fpage>564</fpage>&#x2013;<lpage>573</lpage>. <pub-id pub-id-type="doi">10.1109/TASE.2020.3033664</pub-id> </citation>
</ref>
</ref-list>
</back>
</article>