{"id":14930,"date":"2017-06-20T10:24:35","date_gmt":"2017-06-20T10:24:35","guid":{"rendered":"http:\/\/biomedpharmajournal.org\/?p=14930"},"modified":"2020-04-23T12:43:19","modified_gmt":"2020-04-23T12:43:19","slug":"neuromuscular-control-with-forward-dynamic-approximation-in-human-arm","status":"publish","type":"post","link":"https:\/\/biomedpharmajournal.org\/staging\/vol10no2\/neuromuscular-control-with-forward-dynamic-approximation-in-human-arm\/","title":{"rendered":"Neuromuscular Control with Forward Dynamic Approximation in Human Arm"},"content":{"rendered":"<p><strong>Introduction<\/strong><\/p>\n<p>Human movement control is significantly compromised in neuromuscular diseases; many of which result from the imbalance in the sensorimotor control system. Muscle excitation that follows the neural impulses to generate movements common in daily activities like reaching, grasping holding plays a key role in the mechanism of motion from the sensory input [1,2]. Neural Networks have also gained popularity in their usage in fields such as Natural Language Processing, Computer Vision, reinforcement learning, and even animation [3,4]. The primary motivation of this study was similar previous studies which discuss the control of multijoint movements by the CNS to perform complicated transformations from the desired behavioral goals into appropriate neural commands to muscles [5]. A model thus formulated was proposed by defining an objective function, which is considered as a performance measure for any possible movement: square of the rate of change of torque integrated over the entire movement [6-8]. Furthermore, many studies have also discussed the use of neural network model was developed to understand the internal organization of movement generation [9-11]. The use of recurrent neural networks is discussed in detail where recurrent neural network is trained to produce the muscle activity of the reaching monkeys resulting in a dynamics where\u00a0 simple inputs were transformed\u00a0 into temporally and spatially complex patterns of muscle activity [12] .Past researches in the field of motor control have also discussed the criterion that is adopted for determination of the trajectory wherein the common invariant features were found in several researches that measured the hand trajectories of skilled movements[13]. The hand movement for instance, between a pair of targets, subjects tended to generate roughly straight hand paths with bell-shaped speed profiles. These observations along with dynamic optimization theory, led to the design of a mathematical model which accounts for formation of hand trajectories [13,5] .The use of neural networks which contains internal model of inverse dynamics as essential learning parts of the musculoskeletal system was the main feature in the learning of voluntary motor control [14]. Other studies emphasize the forward model as representation of motor system that predicts the next state using the current state of motor system and motor commands [15].<\/p>\n<p>This study will discuss its application to approximating and controlling muscle activation with feed forward neural networks. The only goal of this study is to see if we could achieve values using the above strategy in order to have a broader understanding as to how neural signals of the motor cortex relate to movement. We have selected a musculoskeletal model that we will use for our neural network approximation. In order to achieve our goal, we generate forearm flexion movements in an allowable range in order to train and test our neural network.<\/p>\n<p><strong>Materials<\/strong><\/p>\n<p><strong>OpenSim<\/strong><\/p>\n<p>OpenSim is a software framework designed to build and share musculoskeletal models, simulate movements, and analyze and visualize those movements using specialized tools. This framework contains, amongst other things, a graphical user interface (GUI) scripted in java language, various built-in musculoskeletal models developed and published by an open source community of researchers and users, a software development kit, APIs and other various tools that are used by researchers or hobbyists for analysis [16]. OpenSim has many open source musculoskeletal models available in their repository. These include human and animal models that can vary in complexity and scope. In this study, we are only looking at the right arm of a human which consists of 2 degrees of freedom, with 6 muscles and\u00a0\u00a0 muscle elements such as bones, ligaments, etc. and provides a dynamic graphical simulation to visualize and analyze moments about the joints of a human arm [16]. There are multiple arm models that are available and we have the liberty of choosing one that we believe can achieve our objective simply and effectively. There are many tools available on the platform that can be used to analyze muscle actuation and joint position. We use an arm model whose muscles are based on Hill\u2019s muscle model [16,17] , which is shown in fig 1.<\/p>\n<p><strong>Motion Capture System<\/strong><\/p>\n<p>The motion capture device used for this study was Qualisys motion capture system (Qualisys Inc) with Qualisys Track Manager (QTM) allows users to perform 2D, 3D and 6DOF capture of data in real-time by the way of C3D data which is then converted into in a .trc file which provides the distances between markers on the model and experimental marker positions which are compared and determined by the scaling factors [6]. For this study the scaling factor was set to 1.0 which is the default scaling factor used in OpenSim software. The experimental markers set for 15 healthy subjects were right acromium; right humerus epicondyle and right styloid process of radius to match with the generic marker in model. The unscaled model should have a set of virtual markers placed in the same anatomical locations as the experimental markers. The modeling of the neural network architecture was carried out in Matlab 2013 platform. Matlab is a high level language and interactive environment for numerical computation, visualization and programming. MATLAB provides a range of numerical computation methods for analyzing data, developing algorithms, and creating models .The inverse and forward simulation along with the conversion of motion capture data were performed via Matlab-OpenSim interface [18,19].<\/p>\n<table style=\"width: 70%;\" border=\"1\" cellpadding=\"5\">\n<tbody>\n<tr>\n<td>\u00a0<img decoding=\"async\" class=\"alignnone size-thumbnail wp-image-14942\" src=\"https:\/\/biomedpharmajournal.org\/wp-content\/uploads\/2017\/05\/Vol10No2_Neur_Vinu_fig1-150x150.jpg\" alt=\"Figure 1: Open sim Arm model\" width=\"150\" height=\"150\" srcset=\"https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2017\/05\/Vol10No2_Neur_Vinu_fig1-150x150.jpg 150w, https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2017\/05\/Vol10No2_Neur_Vinu_fig1-256x256.jpg 256w, https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2017\/05\/Vol10No2_Neur_Vinu_fig1.jpg 449w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/><\/td>\n<td><strong>Figure 1: Open sim Arm model<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"http:\/\/biomedpharmajournal.org\/wp-content\/uploads\/2017\/05\/Vol10No2_Neur_Vinu_fig1.jpg\" target=\"_blank\">Click here to View figure<\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>Scaling<\/strong><\/p>\n<p>Scaling is performed based on a combination of measured distances between x-y-z marker locations which were obtained from the data specified in the track row column (trc) files and manually-specified scale factors. The marker locations are usually obtained using motion capture equipment. For pair 1 on the model (m1) the distance is computed by placing the model as all joint angles get assigned their default values. The experimental distance between pair 1 (e1) is computed by looking at each frame of experimental marker data in the given .trc file, computing the distance between the pair for that frame, and taking the average across all frames in a user-specified time range. The scale factor due to pair is s1=e1\/m1.<\/p>\n<p><strong>Methods<\/strong><\/p>\n<p>The schematic of the proposed approach to perform neuromuscular control with forward dynamic approximation is shown in Fig.2<\/p>\n<table style=\"width: 70%;\" border=\"1\" cellpadding=\"5\">\n<tbody>\n<tr>\n<td>\u00a0<img decoding=\"async\" class=\"alignnone size-thumbnail wp-image-14943\" src=\"https:\/\/biomedpharmajournal.org\/wp-content\/uploads\/2017\/05\/Vol10No2_Neur_Vinu_fig2-150x150.jpg\" alt=\"Figure 2: Schematic of the work flow\" width=\"150\" height=\"150\" srcset=\"https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2017\/05\/Vol10No2_Neur_Vinu_fig2-150x150.jpg 150w, https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2017\/05\/Vol10No2_Neur_Vinu_fig2-256x256.jpg 256w, https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2017\/05\/Vol10No2_Neur_Vinu_fig2.jpg 486w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/><\/td>\n<td><strong>Figure 2: Schematic of the work flow<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"http:\/\/biomedpharmajournal.org\/wp-content\/uploads\/2017\/05\/Vol10No2_Neur_Vinu_fig2.jpg\" target=\"_blank\">Click here to View figure<\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>Inverse kinematics<\/strong><\/p>\n<p>The Inverse Kinematics (IK) tool computes generalized coordinate values which positions the model in a pose. This pose \u201cbest matches&#8221; experimental marker and coordinate values for that time step or the frame of motion [1,15] .Mathematically, the &#8220;best match&#8221; is expressed as a weighted least squares problem, whose solution minimizes both marker and coordinate errors. The marker error is the distance between an experimental marker and the corresponding generic marker on the model; the IK solver computes the generalized coordinates and is used to position the markers. Each marker has a weight associated with it, which specifies the extent to which that marker&#8217;s error term should be minimized. The IK solver is given by the following equation as the weighted least squares problem solved by IK.<\/p>\n<p>min [\u2211 w<em><sub>i <\/sub><\/em>|| x<em><sub>i<\/sub><sup>exp <\/sup><\/em>\u2013 x<em><sub>i<\/sub><\/em> (q) ||<sup>2 <\/sup>+ \u2211 \u0277j(q<em><sub>j<\/sub><\/em><sup>exp<\/sup>&#8211; q<em><sub>j<\/sub><\/em>) <sup>2<\/sup> ]\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0(1)<\/p>\n<p><sup>q\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <em>i\u03f5<\/em> <em>markers\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 j \u03f5<\/em> <em>unprescribed coords<\/em><\/sup><\/p>\n<p>where q is the vector of generalized coordinates being solved for, x<em><sub>i<\/sub><\/em><sup>exp <\/sup>is the experimental position of marker i, x<em><sub>i<\/sub><\/em> (q) is the position of the corresponding marker on the model (which depends on the coordinate values), q<em><sub>j<\/sub><\/em><sup>exp <\/sup>is the experimental value for coordinate j. The marker weights (<em>w<\/em><sub>i<\/sub>&#8216;s) and coordinate weights (<em>\u03c9<\/em><sub>j<\/sub>&#8216;s). This least squares problem is solved using a general quadratic programming solver, with a convergence criterion of 0.0001 and a limit of 1000 iterations.<\/p>\n<p>This generates motion file with the times histories of joint angles [1] shown in table 1.<\/p>\n<p><strong>Table 1: A motion data containing time histories of joint angles in degrees.<\/strong><\/p>\n<table style=\"width: 95%;\" border=\"1\" cellspacing=\"0\" cellpadding=\"4\">\n<tbody>\n<tr>\n<td style=\"text-align: center;\" width=\"76\"><strong>Time<\/strong><\/td>\n<td style=\"text-align: center;\" width=\"83\"><strong>Joint 0<\/strong><\/td>\n<td style=\"text-align: center;\" width=\"91\"><strong>Joint 1<\/strong><\/td>\n<td style=\"text-align: center;\" width=\"89\"><strong>Joint n<\/strong><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\" width=\"76\">t0<\/td>\n<td style=\"text-align: center;\" width=\"83\">\u03b8<sub>00<\/sub><\/td>\n<td style=\"text-align: center;\" width=\"91\">\u03b8<sub>01<\/sub><\/td>\n<td style=\"text-align: center;\" width=\"89\">\u03b8<sub>02<\/sub><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\" width=\"76\">t1<\/td>\n<td style=\"text-align: center;\" width=\"83\">\u03b8<sub>10<\/sub><\/td>\n<td style=\"text-align: center;\" width=\"91\">\u03b8<sub>11<\/sub><\/td>\n<td style=\"text-align: center;\" width=\"89\">\u03b8<sub>12<\/sub><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\" width=\"76\">t2<\/td>\n<td style=\"text-align: center;\" width=\"83\">\u03b8<sub> 20<\/sub><\/td>\n<td style=\"text-align: center;\" width=\"91\">\u03b8<sub>21<\/sub><\/td>\n<td style=\"text-align: center;\" width=\"89\">\u03b8<sub> 22<\/sub><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\" width=\"76\">tm<\/td>\n<td style=\"text-align: center;\" width=\"83\">\u03b8<sub>m1<\/sub><\/td>\n<td style=\"text-align: center;\" width=\"91\">\u03b8<sub>m2<\/sub><\/td>\n<td style=\"text-align: center;\" width=\"89\">\u03b8<sub> m3<\/sub><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Each of the positions are in units of radians. For our model, we have 2 Degrees of Freedom (joint angles) that correspond to 2 joints, namely glenohumeral (GH) and elbow (EL). Each joint has a minimum and maximum value for position expressed as radians.<\/p>\n<p><strong>Forward dynamics<\/strong><\/p>\n<p>The\u00a0Forward\u00a0Dynamics Tool can drive a forward dynamic simulation. A forward dynamics simulation is the solution (integration) of the differential equations that define the dynamics of a musculoskeletal model [1,18].\u00a0By focusing on specific time intervals of interest, and by using different analyses, more detailed biomechanical data for the trial in question can be collected. From Newton\u2019s second law, accelerations (rate of change of velocities) of the coordinates can be described in terms of the inertia and application of forces on the skeleton as a set of rigid-bodies: This is given by the following equation<\/p>\n<p>q\u0308 = [M (q)]<sup>-1<\/sup>{\u03c4 + C (q, q\u0307) + G (q) +F}\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0(2)<\/p>\n<p>Where q\u0308 is the coordinate accelerations due to joint torques \u03c4 Coriolis and centrifugal forces, C(q,q\u0307) as a function of coordinates q ,and their velocities q\u0307, gravity G(q), and other forces applied to the model F, and M[(q)]<sup>-1<\/sup>\u00a0 is the inverse of the mass matrix. The state of a model is the collection of all model variables defined at a given instant in time that are governed by dynamics. The model dynamics describe how the model will advance from a given state to another through time. In a musculoskeletal model the states are the coordinates and their velocities and muscle activations and muscle fiber lengths. The dynamics of a model require the state to be known in order to calculate the rate of change of the model states (joint accelerations, activation rates, and fiber velocities) in response to forces and controls [1]. This generates the controls file which gives the time histories of muscle excitations shown in table 2.<\/p>\n<p><strong>Table 2: A controls data containing time histories excitation patters of biceps\u00a0\u00a0 long and short head muscles<\/strong><\/p>\n<table style=\"width: 95%;\" border=\"1\" cellspacing=\"0\" cellpadding=\"4\">\n<tbody>\n<tr>\n<td width=\"88\">\n<p style=\"text-align: center;\"><strong>Time<\/strong><\/p>\n<\/td>\n<td style=\"text-align: center;\" width=\"117\"><strong>Biceps_long head<\/strong><\/td>\n<td style=\"text-align: center;\" width=\"117\"><strong>Biceps_short head<\/strong><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\" width=\"88\">t1<\/td>\n<td style=\"text-align: center;\" width=\"117\">Excitation<sub>11<\/sub><\/td>\n<td style=\"text-align: center;\" width=\"117\">Excitation<sub> 13<\/sub><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\" width=\"88\">t2<\/td>\n<td style=\"text-align: center;\" width=\"117\">Excitation <sub>21<\/sub><\/td>\n<td style=\"text-align: center;\" width=\"117\">Excitation<sub> 23<\/sub><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\" width=\"88\">t3<\/td>\n<td style=\"text-align: center;\" width=\"117\">Excitation<sub> 31<\/sub><\/td>\n<td style=\"text-align: center;\" width=\"117\">Excitation<sub> 33<\/sub><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\" width=\"88\">t4<\/td>\n<td style=\"text-align: center;\" width=\"117\">Excitation<sub> 41<\/sub><\/td>\n<td style=\"text-align: center;\" width=\"117\">Excitation<sub> 43<\/sub><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\" width=\"88\">t5<\/td>\n<td style=\"text-align: center;\" width=\"117\">Excitation<sub> 51<\/sub><\/td>\n<td style=\"text-align: center;\" width=\"117\">Excitation<sub> 53<\/sub><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\" width=\"88\">t6<\/td>\n<td style=\"text-align: center;\" width=\"117\">Excitation<sub> 61<\/sub><\/td>\n<td style=\"text-align: center;\" width=\"117\">Excitation<sub> 63<\/sub><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>Neural Network Architecture<\/strong><\/p>\n<p>Neural Network architecture is imbibed from the computational phenomenon of the brain. In the brain neurons are connected to each other and fire when the sufficiently appropriate stimuli are presented. Inputs gathered by the Neuron and then passed through an activation function which produces an output from the neuron. These outputs are then propagated throughout the neural network and in the final stage, combined into an output value used to interpret the relevant state of the application shown in fig 3.<\/p>\n<table style=\"width: 70%;\" border=\"1\" cellpadding=\"5\">\n<tbody>\n<tr>\n<td>\u00a0<img decoding=\"async\" class=\"alignnone size-thumbnail wp-image-14945\" src=\"https:\/\/biomedpharmajournal.org\/wp-content\/uploads\/2017\/05\/Vol10No2_Neur_Vinu_fig3-150x150.jpg\" alt=\"Figure 3a: Neuron (b) Network configuration [*Green dots represent connected neurons in each layer]\" width=\"150\" height=\"150\" srcset=\"https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2017\/05\/Vol10No2_Neur_Vinu_fig3-150x150.jpg 150w, https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2017\/05\/Vol10No2_Neur_Vinu_fig3-256x256.jpg 256w, https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2017\/05\/Vol10No2_Neur_Vinu_fig3.jpg 568w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/><\/td>\n<td><strong>Figure 3a: Neuron (b) Network configuration [*Green dots represent connected neurons in each layer]<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"http:\/\/biomedpharmajournal.org\/wp-content\/uploads\/2017\/05\/Vol10No2_Neur_Vinu_fig3.jpg\" target=\"_blank\">Click here to View figure<\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Neurons are arranged in layers labeled as input, hidden, or output. Input layers represent the inputs to the neural network. The hidden layers are between the inputs and outputs. The output layer is the observable. Each neuron in layer <em>l<\/em> receives weighted inputs from layer <em>l-<\/em>1and sums them together along with a bias before passing them through activation function. The bias shifts the input sums along the sigmoid function and can be beneficial to biasing the output towards a particular value. The activation function may change depending on the situation of the neural network, but typically it is the sigmoid function expressed in eq (3) and shown in fig 4.<\/p>\n<p>g(z) = 1\/(1+e<sup>-z<\/sup>)\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0(3)<\/p>\n<table style=\"width: 70%;\" border=\"1\" cellpadding=\"5\">\n<tbody>\n<tr>\n<td>\u00a0<img decoding=\"async\" class=\"alignnone size-thumbnail wp-image-14946\" src=\"https:\/\/biomedpharmajournal.org\/wp-content\/uploads\/2017\/05\/Vol10No2_Neur_Vinu_fig41-150x150.jpg\" alt=\"Figure 4: Sigmoid function\" width=\"150\" height=\"150\" srcset=\"https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2017\/05\/Vol10No2_Neur_Vinu_fig41-150x150.jpg 150w, https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2017\/05\/Vol10No2_Neur_Vinu_fig41-256x256.jpg 256w, https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2017\/05\/Vol10No2_Neur_Vinu_fig41.jpg 633w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/><\/td>\n<td><strong>Figure 4: Sigmoid function<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"http:\/\/biomedpharmajournal.org\/wp-content\/uploads\/2017\/05\/Vol10No2_Neur_Vinu_fig41.jpg\" target=\"_blank\">Click here to View figure<\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Feed forward network with 1 input layer, 3 hidden layers, and a single output layer was used. It was fully connected such that each neuron in the previous layer is connected to all neurons in the next layer. Each hidden layer size is the same as the number of inputs created at the beginning of the network shown in fig 5.<\/p>\n<table style=\"width: 70%;\" border=\"1\" cellpadding=\"5\">\n<tbody>\n<tr>\n<td><img decoding=\"async\" class=\"alignnone size-thumbnail wp-image-14948\" src=\"https:\/\/biomedpharmajournal.org\/wp-content\/uploads\/2017\/05\/Vol10No2_Neur_Vinu_fig5-150x150.jpg\" alt=\"Figure 5: Architecture of the neuron: * Oil-1- neuron output of previous layer,*W and b- the weights and biases of the current layer,*g - sigmoid function\" width=\"150\" height=\"150\" srcset=\"https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2017\/05\/Vol10No2_Neur_Vinu_fig5-150x150.jpg 150w, https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2017\/05\/Vol10No2_Neur_Vinu_fig5-256x256.jpg 256w, https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2017\/05\/Vol10No2_Neur_Vinu_fig5.jpg 635w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/><\/td>\n<td><strong>Figure 5: Architecture of the neuron: * O<sub>i<\/sub><em><sup>l<\/sup><\/em><sup>-1<\/sup>&#8211; neuron output of previous layer,*W and b- the weights and biases of the current layer,*g &#8211; sigmoid function<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"http:\/\/biomedpharmajournal.org\/wp-content\/uploads\/2017\/05\/Vol10No2_Neur_Vinu_fig5.jpg\" target=\"_blank\">Click here to View figure<\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>Sampling<\/strong><\/p>\n<p>The sampling required motion kinematics data (.mot file) and state data in storage (Controls.sto) file. The states file can contain the time histories of model states, including joint angles, joint speeds, muscle activations, muscle fiber lengths, and more. The forward dynamics Tool to set the initial states of the model for forward integration. Muscle states can be estimated by solving for tendon and muscle fiber force equilibrium when the\u00a0solution for equilibrium for actuator states\u00a0is checked. The control data contains the time histories of the model controls (e.g., muscle excitations) to the muscles and\/or joint torques, for this study biceps long head and short head was considered.\u00a0It is possible to specify the controls as .sto files instead, with columns corresponding to desired excitations.<\/p>\n<p><strong>Normalisation<\/strong><\/p>\n<p>The inputs and the outputs were normalized between 0 and 1 by using the following equation<\/p>\n<p>\u00eaj= ej &#8211; min(C<em>i<\/em>)\/max(C<em>i<\/em>) &#8211; min(C<em>i<\/em>)\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (4)<\/p>\n<p>C<em>i <\/em>is the i<sup>th<\/sup> degrees of freedom. The max and min are the maximum values and minimum values of the degree of freedom, ej and is the j<sup>th<\/sup> element.<\/p>\n<p><strong>Initialisation<\/strong><\/p>\n<p>Initialization of the network was done with 13 random inputs each with 12 dimensions which correspond to the down sample rate of 3 for 100 time steps. The network has 5 layers where the first and the last are input and output layers, leaving 3 hidden layers. There are 50 training rounds in each of the 50 epochs. The neural network was tested by down sampling the motion files and controls file by a factor k = 3. This decreases the amount of neurons used for our network and significantly lowers the amount of time needed for training and testing. The training consists of each input which is a 1X3 vector which represents the state at some time step. Each weight is multiplied elemental wise with the input and subsequently summed together column-wise. The bias is then added to the result and then each element of the new vector is passed through the sigmoid function.<\/p>\n<p><strong>Training<\/strong><\/p>\n<p>The training involved modified back propagation algorithm along with stochastic gradient descent [10]. The error function is expressed in equation 5<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-14940\" src=\"https:\/\/biomedpharmajournal.org\/wp-content\/uploads\/2017\/05\/Vol10No2_Neur_Vinu_f5.jpg\" alt=\"Vol10No2_Neur_Vinu_f5\" width=\"484\" height=\"56\" srcset=\"https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2017\/05\/Vol10No2_Neur_Vinu_f5-300x35.jpg 300w, https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2017\/05\/Vol10No2_Neur_Vinu_f5.jpg 484w\" sizes=\"(max-width: 484px) 100vw, 484px\" \/><\/p>\n<p>Where y<sub>i<\/sub> is the associated true output and \u0177<sub>i <\/sub>is the predicted output from the neural network. The weights and biases of the network are represented by w and b. We sum across all the outputs of our network to gather all the contributing errors. By finding the gradients with respect to each parameter, we will then update each parameter by taking a step in the direction of the gradient to decrease this error function. The weights and biases are updated in the direction of the negative gradient of the performance function.<\/p>\n<p>The algorithm for training is as follows: A random training example from training pool is chosen. Pass training input through the network and determine objective loss<\/p>\n<p><strong>for <\/strong><\/p>\n<p>Calculate each nodes in output layer by<\/p>\n<p>Computing gradients with respect to biases<\/p>\n<p>Computing gradients with respect to weights<\/p>\n<p>Computing gradients with respect to previous layer<\/p>\n<p>end for (Calculate gradients with respect to outputs backwards through the layers)<\/p>\n<p>Repeat using output gradients from the next layer for:<\/p>\n<p>Computing gradients with respect to biases<\/p>\n<p>Computing gradients with respect to weights<\/p>\n<p>Computing gradients with respect to previous layer until\u00a0\u00a0\u00a0 input layer is reached<\/p>\n<p><strong>for <\/strong><\/p>\n<p>Update all weights and biases based on the computed gradients by a step size<\/p>\n<p><strong>end for<\/strong><\/p>\n<p>For each neuron output:<\/p>\n<p><em>O<sup>l<\/sup><sub>j<\/sub><\/em><sub> = <\/sub>g (\u01a9 (O<sub>i<\/sub><em><sup>l<\/sup><\/em><sup>-1<\/sup>W<sub>ij<\/sub><em><sup>l<\/sup><\/em>) + b<sub>j<\/sub>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0(6)<\/p>\n<p>g is the sigmoid activation function.<em> O<sup>l<\/sup><sub>j<\/sub><\/em> is the output of node j in layer <em>l<\/em> where O<sub>i<\/sub><em><sup>l<\/sup><\/em><sup>-1 <\/sup>is the output from the previous layer and W and b are the weights and biases of the current layer respectively.<\/p>\n<p>The gradients for weight, biases and previous output are as follows:<\/p>\n<p>\u2202<em>O<sup>l<\/sup><sub>j\u00a0 <\/sub><\/em>\u2215 \u2202W<sub>ij<\/sub><em><sup>l<\/sup><\/em> = g<sup>\u02b9<\/sup> (\u01a9 (O<sub>i<\/sub><em><sup>l<\/sup><\/em><sup>-1<\/sup>W<sub>ij<\/sub><em><sup>l<\/sup><\/em>) + b<sub>j<\/sub><sup>l<\/sup>) O<sub>i<\/sub><em><sup>l-<\/sup><\/em><sup>1\u00a0\u00a0\u00a0\u00a0\u00a0 <\/sup>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0(7)<\/p>\n<p>O<sub>i<\/sub><em><sup>l-<\/sup><\/em><sup>1<\/sup> contributes to all of the outputs in the next layer and so in order to back propagate the contribution, we have to average all of its contributions as follows:<\/p>\n<p>\u2202<em>O<sup>l<\/sup><\/em>\/ \u2202O<em><sub>l<\/sub><sup>l<\/sup><\/em><sup>-1 <\/sup>= 1\/N \u2211 (g<sup>\u02b9<\/sup> (\u01a9 (O<sub>i<\/sub><em><sup>l<\/sup><\/em><sup>-1<\/sup>W<sub>ij<\/sub><em><sup>l<\/sup><\/em>) + b<sub>j<\/sub><sup>l<\/sup>) W<sub>ij<\/sub><em><sup>l<\/sup><\/em>\u00a0\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0(8)<\/p>\n<p>\u2202<em>O<sub>l<\/sub><\/em><sup>j<\/sup> \u2215 \u2202 W<sub>ij<\/sub><em><sup>l<\/sup><\/em><sup>-1 <\/sup>= \u2202<em>O<sub>l<\/sub><\/em><sup>j<\/sup>\/\u2202<em>O<sub>l<\/sub><\/em><sub>-1<\/sub> * <em>O<sub>l<\/sub><\/em><sub>-1<\/sub>\/ W<sub>ij<\/sub><em><sup>l<\/sup><\/em><sup>-1\u00a0\u00a0\u00a0 <\/sup>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0(9)<\/p>\n<p>\u2202<em>O<sub>l<\/sub><\/em><sup>j<\/sup> \u2215 \u2202 b<em><sup>l<\/sup><\/em><sup>-1 <\/sup>= \u2202<em>O<sub>l<\/sub><\/em><sup>j<\/sup>\/\u2202<em>O<sub>l<\/sub><\/em><sub>-1<\/sub> * <em>O<sub>l<\/sub><\/em><sub>-1<\/sub>\/ b<em><sup>l<\/sup><\/em><sup>-1<\/sup>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0(10)<\/p>\n<p>The chain rule is applied to find the gradients with respect to the weights and biases of previous layers using the above equations. Once the gradients have been calculated, the weights were updated update each weight element by a step size into the gradient direction. The step size in the current study is 0.5 since the gradients were small compared to actual weights. This is probably due to the fact that normalization required each weight and input to be between 0 and 1 and thus these values will be multiplied together during training to result in a very small value. Therefore a step size large enough to influence the objective error function in each epoch was used.<\/p>\n<p><strong>Validation<\/strong><\/p>\n<p>In this study, 15 samples operating on 15 training examples for each of the 20 epochs were presented to the network. The network selects 95% of the data for training leaving 5% for validation The data produced by forward dynamics simulation from the 15 samples were validated. The network updates the weights and biases and uses those updated parameters for the validation set through training and is shown in fig 6.<\/p>\n<table style=\"width: 70%;\" border=\"1\" cellpadding=\"5\">\n<tbody>\n<tr>\n<td>\u00a0<img decoding=\"async\" class=\"alignnone size-thumbnail wp-image-14949\" src=\"https:\/\/biomedpharmajournal.org\/wp-content\/uploads\/2017\/05\/Vol10No2_Neur_Vinu_fig6-150x150.jpg\" alt=\"Figure 6: Schematic of the training algorithm\" width=\"150\" height=\"150\" srcset=\"https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2017\/05\/Vol10No2_Neur_Vinu_fig6-150x150.jpg 150w, https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2017\/05\/Vol10No2_Neur_Vinu_fig6-256x256.jpg 256w, https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2017\/05\/Vol10No2_Neur_Vinu_fig6.jpg 564w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/><\/td>\n<td><strong>Figure 6: Schematic of the training algorithm<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"http:\/\/biomedpharmajournal.org\/wp-content\/uploads\/2017\/05\/Vol10No2_Neur_Vinu_fig6.jpg\" target=\"_blank\">Click here to View figure<\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>Results and Discussion<\/strong><\/p>\n<p>Results of Inverse Kinematics simulation is shown in table 3<\/p>\n<p><strong>Table 3: Kinematics data in degrees:*r_shoulder_elev- right shoulder elevation,* r_elbow_flex -right elbow flexion.<\/strong><\/p>\n<table style=\"width: 95%;\" border=\"1\" cellspacing=\"0\" cellpadding=\"4\">\n<tbody>\n<tr>\n<td style=\"text-align: center;\" width=\"98\"><strong>Time<\/strong><\/td>\n<td style=\"text-align: center;\" width=\"124\"><strong>r_ shoulder_elev<\/strong><\/td>\n<td style=\"text-align: center;\" width=\"109\"><strong>r_elbow_ flex<\/strong><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\" width=\"98\">0.000000<\/td>\n<td style=\"text-align: center;\" width=\"124\">-0.03349<\/td>\n<td style=\"text-align: center;\" width=\"109\">-0.05440<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\" width=\"98\">0.008333<\/td>\n<td style=\"text-align: center;\" width=\"124\">-0.03657<\/td>\n<td style=\"text-align: center;\" width=\"109\">0.014179<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\" width=\"98\">0.016667<\/td>\n<td style=\"text-align: center;\" width=\"124\">-0.03908<\/td>\n<td style=\"text-align: center;\" width=\"109\">0.088157<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\" width=\"98\">0.025000<\/td>\n<td style=\"text-align: center;\" width=\"124\">-0.04126<\/td>\n<td style=\"text-align: center;\" width=\"109\">0.173575<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\" width=\"98\">0.033333<\/td>\n<td style=\"text-align: center;\" width=\"124\">-0.04317<\/td>\n<td style=\"text-align: center;\" width=\"109\">0.275760<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\" width=\"98\">0.041666<\/td>\n<td style=\"text-align: center;\" width=\"124\">-0.04510<\/td>\n<td style=\"text-align: center;\" width=\"109\">0.399452<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\" width=\"98\">0.050000<\/td>\n<td style=\"text-align: center;\" width=\"124\">-0.04512<\/td>\n<td style=\"text-align: center;\" width=\"109\">0.548699<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\" width=\"98\">0.066667<\/td>\n<td style=\"text-align: center;\" width=\"124\">-0.04434<\/td>\n<td style=\"text-align: center;\" width=\"109\">0.726772<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\" width=\"98\">1.00000<\/td>\n<td style=\"text-align: center;\" width=\"124\">-0.03549<\/td>\n<td style=\"text-align: center;\" width=\"109\">90.170666<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Results of Forward Dynamics simulation is shown in table 4<\/p>\n<p><strong>Table 4: State data of muscle excitation:*Biceps LH- Biceps long head, *Biceps SH- Biceps short head.<\/strong><\/p>\n<table style=\"width: 95%;\" border=\"1\" cellspacing=\"0\" cellpadding=\"4\">\n<tbody>\n<tr>\n<td style=\"text-align: center;\" width=\"113\"><strong>Time<\/strong><\/td>\n<td style=\"text-align: center;\" width=\"113\"><strong>Biceps LH<\/strong><\/td>\n<td style=\"text-align: center;\" width=\"104\"><strong>Biceps SH<\/strong><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\" width=\"113\">0.00000002<\/td>\n<td style=\"text-align: center;\" width=\"113\">0.01007429<\/td>\n<td style=\"text-align: center;\" width=\"104\">0.01028343<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\" width=\"113\">0.00000004<\/td>\n<td style=\"text-align: center;\" width=\"113\">0.01007438<\/td>\n<td style=\"text-align: center;\" width=\"104\">0.01028345<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\" width=\"113\">0.00000006<\/td>\n<td style=\"text-align: center;\" width=\"113\">0.01007445<\/td>\n<td style=\"text-align: center;\" width=\"104\">0.01028365<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\" width=\"113\">0.00000006<\/td>\n<td style=\"text-align: center;\" width=\"113\">0.01007467<\/td>\n<td style=\"text-align: center;\" width=\"104\">0.01028388<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\" width=\"113\">0.00000008<\/td>\n<td style=\"text-align: center;\" width=\"113\">0.01007470<\/td>\n<td style=\"text-align: center;\" width=\"104\">0.01028398<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\" width=\"113\">0.00000011<\/td>\n<td style=\"text-align: center;\" width=\"113\">0.01007476<\/td>\n<td style=\"text-align: center;\" width=\"104\">0.01028376<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\" width=\"113\">0.00000016<\/td>\n<td style=\"text-align: center;\" width=\"113\">0.01007485<\/td>\n<td style=\"text-align: center;\" width=\"104\">0.01028355<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\" width=\"113\">0.00000025<\/td>\n<td style=\"text-align: center;\" width=\"113\">0.01007489<\/td>\n<td style=\"text-align: center;\" width=\"104\">0.01028389<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\" width=\"113\">0.00000039<\/td>\n<td style=\"text-align: center;\" width=\"113\">0.01007494<\/td>\n<td style=\"text-align: center;\" width=\"104\">0.01028353<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\" width=\"113\">0.99999994<\/td>\n<td style=\"text-align: center;\" width=\"113\">0.01000356<\/td>\n<td style=\"text-align: center;\" width=\"104\">0.18449298<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Results of Baseline testing of the neural network is shown in fig 7<\/p>\n<table style=\"width: 70%;\" border=\"1\" cellpadding=\"5\">\n<tbody>\n<tr>\n<td>\u00a0<img decoding=\"async\" class=\"alignnone size-thumbnail wp-image-14950\" src=\"https:\/\/biomedpharmajournal.org\/wp-content\/uploads\/2017\/05\/Vol10No2_Neur_Vinu_fig7-150x150.jpg\" alt=\"Figure 7: Baseline testing for initialization\" width=\"150\" height=\"150\" srcset=\"https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2017\/05\/Vol10No2_Neur_Vinu_fig7-150x150.jpg 150w, https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2017\/05\/Vol10No2_Neur_Vinu_fig7-256x256.jpg 256w, https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2017\/05\/Vol10No2_Neur_Vinu_fig7.jpg 675w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/><\/td>\n<td><strong> <strong>Figure 7:\u00a0<\/strong>Baseline testing for initialization<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"http:\/\/biomedpharmajournal.org\/wp-content\/uploads\/2017\/05\/Vol10No2_Neur_Vinu_fig7.jpg\" target=\"_blank\">Click here to View figure<\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Results of training and validation error shown in table 5 and fig 8 and 9<\/p>\n<p><strong>Table 5: Results of training and validation error<\/strong><\/p>\n<table style=\"width: 95%;\" border=\"1\" cellspacing=\"0\" cellpadding=\"4\">\n<tbody>\n<tr>\n<td style=\"text-align: center;\" width=\"109\"><strong>Degrees of freedom<\/strong><\/td>\n<td style=\"text-align: center;\" width=\"76\"><strong>1<\/strong><\/td>\n<td style=\"text-align: center;\" width=\"76\"><strong>2<\/strong><\/td>\n<td style=\"text-align: center;\" width=\"60\"><strong>3<\/strong><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\" width=\"109\">\u00a0Training error<\/td>\n<td style=\"text-align: center;\" width=\"76\">\u00a0 2.804429<\/td>\n<td style=\"text-align: center;\" width=\"76\">\u00a0 1.468017<\/td>\n<td style=\"text-align: center;\" width=\"60\">\u00a0 2.475500<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\" width=\"109\">\u00a0Validation error<\/td>\n<td style=\"text-align: center;\" width=\"76\">\u00a0 0.000000<\/td>\n<td style=\"text-align: center;\" width=\"76\">\u00a0 0.000000<\/td>\n<td style=\"text-align: center;\" width=\"60\">\u00a0 0.000000<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<table style=\"width: 70%;\" border=\"1\" cellpadding=\"5\">\n<tbody>\n<tr>\n<td>\u00a0<img decoding=\"async\" class=\"alignnone size-thumbnail wp-image-14951\" src=\"https:\/\/biomedpharmajournal.org\/wp-content\/uploads\/2017\/05\/Vol10No2_Neur_Vinu_fig8-150x150.jpg\" alt=\"Figure 8: Training error\" width=\"150\" height=\"150\" srcset=\"https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2017\/05\/Vol10No2_Neur_Vinu_fig8-150x150.jpg 150w, https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2017\/05\/Vol10No2_Neur_Vinu_fig8-256x256.jpg 256w, https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2017\/05\/Vol10No2_Neur_Vinu_fig8.jpg 661w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/><\/td>\n<td><strong>Figure 8: Training error<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"http:\/\/biomedpharmajournal.org\/wp-content\/uploads\/2017\/05\/Vol10No2_Neur_Vinu_fig8.jpg\" target=\"_blank\">Click here to View figure<\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<table style=\"width: 70%;\" border=\"1\" cellpadding=\"5\">\n<tbody>\n<tr>\n<td>\u00a0<img decoding=\"async\" class=\"alignnone size-thumbnail wp-image-14952\" src=\"https:\/\/biomedpharmajournal.org\/wp-content\/uploads\/2017\/05\/Vol10No2_Neur_Vinu_fig9-150x150.jpg\" alt=\"Figure 9: Validation error\" width=\"150\" height=\"150\" srcset=\"https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2017\/05\/Vol10No2_Neur_Vinu_fig9-150x150.jpg 150w, https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2017\/05\/Vol10No2_Neur_Vinu_fig9-256x256.jpg 256w, https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2017\/05\/Vol10No2_Neur_Vinu_fig9.jpg 686w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/><\/td>\n<td><strong>Figure 9: Validation error<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"http:\/\/biomedpharmajournal.org\/wp-content\/uploads\/2017\/05\/Vol10No2_Neur_Vinu_fig9.jpg\" target=\"_blank\">Click here to View figure<\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>In the past several models were developed to understand motor control in human that is incorporated in designing the robotic system. At present there are various models that use recurrent neural network along with supervised learning. A study by Kawato et al proposed, proposed a mathematical model which accounts for formation of hand trajectories. This model is formulated by defining an objective function, a measure of performance for any possible movement. This objective function is determined complex nonlinear dynamics of the musculoskeletal system square of the rate of change of torque integrated over the entire movement. This study was done in an effort to understand the trajectory planning and control of voluntary human movements[6,9].<\/p>\n<p>A more recent study on reaching tasks in monkeys was carried out by Susillo et al concluded the solution generated by recurrent neural network which was a low dimensional oscillator resulting in multiphasic commands; in order to understand the dynamics that transformed simple inputs into both\u00a0 spatially and temporally complex muscle activity[11]. The study by\u00a0 Jordan et al, demonstrated that certain classical problems associated with the notion of the \u201cteacher\u201d in supervised learning con be solved by judicious use of learned internal models as components of the adaptive system[10]. In particular it focused on how supervised learning algorithms can be utilized in cases in which an unknown dynamical system intervenes between actions and desired outcomes. Thus in the light of previous studies, the present study proposes a control algorithm based on feed forward that uses stochastic gradient descent to compute the errors for learning strategy. The study executes a forward dynamics simulation approximated by the feed forward neural network, in an attempt to understand the inputs from the CNS that are transformed into movements by the way of synergistic muscle activities. The network only updates the weights and biases through training and uses those updated parameters for the validation set. The validation graphs reflect the training error graphs in their behavior. The degree of freedom which represents the time index shows graph where the output times and input times are similar and that this error is the lowest error of all the degrees of freedom as would be expected.Further in the results it is seen that the validation error follows a similar pattern as the training error, suggesting the possibility approximating the forward simulation. This would indicate that forward dynamics simulation can be approximated by a neural network. It also important to considered the relatively small sample size used for the study as a limitation which resulted in similar patterns of the cumulative errors throughout the epochs. A larger sample size could have shown more pronounced results with regard to the changes in the errors values for the corresponding training errors with greater computational costs. Moreover, the study was circumscribed by the constraints in the degrees of freedom which limited the movements to elbow flexion in allowable range. The activities of the secondary muscles that aid in elbow flexion were consequently beyond the scope of this study.<\/p>\n<p><strong>Conclusion<\/strong><\/p>\n<p>A common cumulative error was achieved that corresponded to the training errors in order to approximate the simulation of forward dynamics. Hence it can be concluded that control algorithm that uses feed forward neural network along with back propogation by gradient descent is a robust method in an effort to mimic the execution and motor planning of the brain when performing simple tasks. Furthermore, the proposed control algorithm can be judiciously used with both supervised and unsupervised learning algorithms.<\/p>\n<p><strong>Acknowledgements<\/strong><\/p>\n<p>The authors wish to express their deep sense of gratitude to the co-workers for their constant support throughout the study.<\/p>\n<p><strong>References<\/strong><\/p>\n<ol>\n<li>Emel Demircan, Oussama Khatib, Scott delp.Reconstruction and EMG-Informed Control Simulation Analysis of Human Movement For Athletes:Improvement and Injury Prevention. <em>Conf Proc IEEE Eng Med Biol Soc<\/em>.September 2015.<\/li>\n<li>Demircan E, Sentis L, De Sapio V, Khatib O. Human Motion Reconstruction by Direct Control of Marker Trajectories. In: Lenarcic J, Wenger P, editors. <em>Advances in Robot Kinematis<\/em>.2008.,Springer Netherlands, pp. 263\u2013272.<br \/>\n<a href=\"https:\/\/doi.org\/10.1007\/978-1-4020-8600-7_28\" target=\"_blank\">CrossRef<\/a><\/li>\n<li>Radek Grzeszczuk, Demetri Terzopoulos, and Geoffrey Hinton. Neuroanimator:Fast neural network emulation and control of physics-based models. <em>In Proceedings of the 25th Annual Conference on ComputerGraphics and Interactive Techniques<\/em>, <em>SIGGRAPH<\/em> .1998., pages 9\u201320, New York, NY, USA.<\/li>\n<li>Paul J. Webros.Backpropogation Through Time: What it does and How to do it. <em>Proceedings of the IEEE<\/em>.1999., Vol 10.<\/li>\n<li>Tamar Flash, Michael.J Jordan.Computational schemes and neural networks model of human arm trajectory control. <em>World congress of neural networks<\/em>.1999., pp.76-83.<\/li>\n<li>Mitsuo Kawato.Formation and Control of Optimal Trajectory in Human Multijoint Arm Movement. <em>Cybernetics<\/em>.1989., Vol 61, pp 80-89.<\/li>\n<li>Tamar Flash, Terrence J Sejnowski.&#8217;Computational approaches to motor control.<em>Trends Cogn Sci<\/em>.1997.,Vol 1, pp209-16.<br \/>\n<a href=\"https:\/\/doi.org\/10.1007\/978-1-4020-8600-7_28\" target=\"_blank\">CrossRef<\/a><\/li>\n<li>Schweighofer N., Arbib M. A., Kawato M.Role of the cerebellum in reaching movements in humans in Distributed inverse dynamics control. <em> J. Neurosci<\/em>.1998., Vol 10, pp 86\u201394.<\/li>\n<li>Kawato M1, Furukawa K, Suzuki R.A hierarchical neural-network model for control and learning of voluntary movement.<em>Biol Cybern<\/em>.1987., Vol 3,pp 169-85.<\/li>\n<li>Jordan MI, Rumelhart DE. Forward models \u2013 supervised learning with a distal teacher. <em>Cogn Sci<\/em> .1992., Vol 6,pp 307-54.<br \/>\n<a href=\"https:\/\/doi.org\/10.1207\/s15516709cog1603_1\" target=\"_blank\">CrossRef<\/a><\/li>\n<li>David Sussillo, Mark M Churchland, Matthew T Kaufman &amp; Krishna V Shenoy et al.A neural network that finds a naturalistic solution for the production of muscle activity.<em>Nature Neuroscience<\/em>.2015., volume 18.<br \/>\n<a href=\"https:\/\/doi.org\/10.1038\/nn.4042\" target=\"_blank\">CrossRef<\/a><\/li>\n<li>Nikhil Bhushan and Reza Shadmehr. Evidence for a Forward Dynamics Model in Human Adaptive Motor Control.<em> Advances in Neural Information Processing System<\/em>1999.,Vol. 11, pp. 3-9.<\/li>\n<li>Hogan N., Bizzi E., Mussa-Ivaldi F. A., Flash T. Controlling multijoint motor behavior.<em> Sport Sci<\/em>.1987., Rev, Vol 15, pp153\u2013190.<\/li>\n<li>M. Wolpert, M. Kawato.Multiple paired forward and inverse models for motor control .<em>Neural Networks<\/em>.1998., Vol 11, pp 1317\u20131329.<br \/>\n<a href=\"https:\/\/doi.org\/10.1016\/S0893-6080(98)00066-5\" target=\"_blank\">CrossRef<\/a><\/li>\n<li>C MIall, D.M Wolpert.Forward models for physiological motor control. <em>Neural Networks<\/em>. 1996.,Vol.9, Number 8, pp 1265-1279.<br \/>\n<a href=\"https:\/\/doi.org\/10.1016\/S0893-6080(96)00035-4\" target=\"_blank\">CrossRef<\/a><\/li>\n<li>Scott L. Delp, Frank C. Anderson, Allison S. Arnold, Peter Loan, Ayman Habib, Chand T. John,Eran Guendelman, and Darryl G. Thelen et al.OpenSim: Open-Source Software to Create and Analyze Dynamic Simulations of Movement .<em>IEEE Transactions on biomedical engineering.<\/em>,vol. 54, Number 11.<br \/>\n<a href=\"https:\/\/doi.org\/10.1109\/TBME.2007.901024\" target=\"_blank\">CrossRef<\/a><\/li>\n<li>Thelen DG, Anderson FC, Delp SL. Generating dynamic simulations of movement using computed muscle control. <em>Journal of Biomechanics<\/em>.2003., No.36, pp 321\u2013328.<br \/>\n<a href=\"https:\/\/doi.org\/10.1016\/S0021-9290(02)00432-3\" target=\"_blank\">CrossRef<\/a><\/li>\n<li>Mantoan,C,Pizzolato,M.Sartori,Z.Sawacha,C.Cobelli,M.Regianni.MOtoNMS: A Matlab toolbox to process motion data for neuromusculoskeletal modeling and simulation.<em> Source code for Biology and Medicine. <\/em>,pp 44.<\/li>\n<li>Khatib O, Brock O, Chang K, Conti F, Ruspini D, Sentis L. Robotics and Interactive Simulation. <em>Communications of the ACM<\/em>.2002., Vol 3, pp 46\u201351.<br \/>\n<a href=\"https:\/\/doi.org\/10.1145\/504729.504753\" target=\"_blank\">CrossRef<\/a><\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Introduction Human movement control is significantly compromised in neuromuscular diseases;  [&#8230;]<\/p>\n","protected":false},"author":8,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[49],"tags":[],"class_list":["post-14930","post","type-post","status-publish","format-standard","hentry","category-vol10no2"],"_links":{"self":[{"href":"https:\/\/biomedpharmajournal.org\/staging\/wp-json\/wp\/v2\/posts\/14930","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/biomedpharmajournal.org\/staging\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/biomedpharmajournal.org\/staging\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/biomedpharmajournal.org\/staging\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/biomedpharmajournal.org\/staging\/wp-json\/wp\/v2\/comments?post=14930"}],"version-history":[{"count":6,"href":"https:\/\/biomedpharmajournal.org\/staging\/wp-json\/wp\/v2\/posts\/14930\/revisions"}],"predecessor-version":[{"id":32533,"href":"https:\/\/biomedpharmajournal.org\/staging\/wp-json\/wp\/v2\/posts\/14930\/revisions\/32533"}],"wp:attachment":[{"href":"https:\/\/biomedpharmajournal.org\/staging\/wp-json\/wp\/v2\/media?parent=14930"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/biomedpharmajournal.org\/staging\/wp-json\/wp\/v2\/categories?post=14930"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/biomedpharmajournal.org\/staging\/wp-json\/wp\/v2\/tags?post=14930"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}