BACKGROUND
sensorimotor control system is the most robust and versatile collection of modular, hierarchical and well-organized hybrid of control strategies.
with it we can land a plane, drive a car, play sports, and adapt to bizarre sensorimotor transformations  <cit>  , or we are allowed to perform in space or in the deep sea.
sensorimotor control system can accomplish all of these tasks in an optimal manner in terms of speed, accuracy and efficiency  <cit> .
the brain’s sensorimotor cortex, as a complex neural sensorimotor control system, inherently finds and implements an optimal decision to a vast range of input conditions.
noises, nonlinearities, delays, uncertainties and redundancies are among the major problems that the sensorimotor control system interacts with  <cit> .
delays occur in various parts of a sensorimotor control system, ranging from sensory information reception to, information transmission along nerve fibers, computing responses by processing the sensory information, feedback transmission, and finally, motor output in terms of muscle reaction.
the delay value is dynamic and varies with sensory modality.
for example there is longer delay for vision than proprioception.
this is because the complexity of the sensory information processing depends on the task and it is longer for face recognition than motion perception.
efferent control signals are delayed as a result of neural conduction delays and low-pass filtering properties of muscles.
short efferent delays, such as the monosynaptic stretch reflex , are in the order of 10– <dig> milliseconds, depending on the length and the type of nerve fiber.
this delay is increased to 30– <dig> milliseconds for the cortical component of the long latency sr  <cit> .
the electromechanical delay, such as the delay in generating force response in muscles, can take up to  <dig> milliseconds  <cit> .
so far, the investigation focuses on how a complex neural sensorimotor control system such as the brain’s sensorimotor cortex is capable of performing tasks in the presence of the above-mentioned conditions.
however, the study in this paper specifically focuses on developing a mathematical model that will simulate a sensorimotor control system in the presence of noise and delay.
the vestibulo-ocular reflex , one of the fastest involuntary responses due to the short neural connections and high neural computation speed, is not prone to the occurrence of delay up to  <dig> milliseconds from stimulus onset  <cit> .
vor is a motor control system that stabilizes vision during head movements.
smooth pursuit, another efficient visual control system in human beings for target tracking in their visual field, has the ability to process the information with a 80– <dig> millisecond delay in the brain  <cit> .
delays make control difficult because information about the current state of the motor system is outdated.
a motor control system that does not have delay compensation mechanisms could not correct for errors, leading to potential inefficiencies and instability.
the explanation of those controllers such as fuzzy logic control, feedback and adaptive linearization based control, optimal nonlinear trajectory control can be found in the literature .
although they have several applications but they should be modified to be used in systems with time delays.
delay compensation: facts and current theories
consider the saccadic eye movement, which is a fast eye movement produced by a visual system that directs the eyes to interesting visual stimuli: the movement duration is shorter than the sensory delay  <cit> .
this means that sensory feedback about the current state of the eye and the visual field cannot be used to correct or guide saccades because the sensory information regarding the movement itself arrives after the completion of the movement.
smooth pursuit eye movements allow a person to track targets in the visual field at a high speed of ~200°/sec, which is a remarkable performance.
recent experiments stated the high performance of the smooth pursuit system, where it was observed that the position of eyes was ahead of visual sensory feedback of the target position.
this cannot be achieved by solely implementing standard negative feedback methods based on visual error signals .
under such information processing and transmission delays, simple feedback control is affected by significant temporal discrepancies between target signal and current state, suggesting that some form of predictive control must take place to achieve such a high performance  <cit> .
the predictive nature of sensorimotor control systems is explored and demonstrated through multiple experiments.
experiments demonstrated that monkeys have the ability to conduct smooth pursuit movements with zero retinal slip  <cit>  or the ability to maintain smooth pursuit during blink periods   <cit> .
such predictive compensation was observed both in tracking moving targets with constant velocity or in sinusoidal moving objects.
in a hand movement study, it was demonstrated that the cerebellum is involved in predicting the position of the hand during a movement  <cit> .
the predicted state of the limb from the history of motor commands allows the motor control to act on this estimate of state rather than relying solely on a delayed sensory feedback.
this suggests that cerebellar output is a signal that can be combined with delayed sensory feedback elsewhere in the brain in order to generate real-time state estimates for motor control.
time-delay estimation and control
a primate’s sensorimotor controller is equipped with the ability to predict motor movements, as well as possess the ability to compensate for time delays.
time-delay estimation is a difficult problem, as it renders even the simplest linear systems nonlinear, yet biological control systems are robust enough to deal with time delays.
however, it is not known how this is achieved.
current time-delay estimation techniques mainly cover linear systems, including: constant time delays, random time delay with specific noise characteristics, or restricted dynamic time delay .
however, most biological systems exhibit some degree of variability, nonlinearity, and uncertainty, which may make above mentioned methods developed inapplicable.
furthermore, most delay estimation procedures are not used in the context of predictive control methodology.
the hilbert-huang transform-based method is found to be the most efficient delay estimation technique with a focus on practical applicability to the motor control; however, the process is a complex one  <cit> .
a comprehensive computational model to explain time-delay compensation in biological control is lacking.
the study in this paper proposes a sensorimotor learning and control model that estimates variable time delays, predicts sensory states from delayed sensory feedback, and controls a motor system in real time.
accurate models of sensorimotor control systems result in a better understanding of the function of the human sensorimotor cortex, with practical applications in understanding the mechanisms underlying neurological disorders such as autism  <cit>  and epilepsy  <cit> .
the next section covers the proposed time-delay estimation method and develops a computational model for a predictive control solution for a sensorimotor control system under time delay.
the proposed model is evaluated in a real time, with online learning and control simulation processes.
the paper is concluded with findings and suggestions for future research.
methods
suppose the sensorimotor system can be approximated in a region of interest by the linear time-varying system, as stated in eq.
:  <dig> x.t=atxt+btut where x is the state vector , u is the control vector or the neural motor commands , and a and b are time-varying matrices with appropriate dimensions.
the matrix a represents the influence of the current state x of the motor system to its future changes x.t.
the matrix b is the sensorimotor controller gain, which determines how motor commands affect x.t.
it is common for a and b to change over time.
examples include joint friction, viscosity and elasticity of muscles, etc.
all of which change over time.
the solution to the first order differential eq.
is given by:  <dig> xt=e∫0tasdsx0+∫0te∫stavdvbsusds where x <dig> is the initial state  <cit> .
let gt=e∫0tasds and eq.
written in terms of g is  <dig> xt=gtx0+gt∫0tg−1sbsusds where x is the current state of the sensorimotor system measured by the sensor organs.
the motor command vector is u. motor commands are usually sensed at the level of the effector by specialized sensory organs.
for example, muscle spindles measure the force generated in the muscle and communicate the information to the brain.
here, we assume that x and u are precisely measured by sensory organs.
suppose the sensory time-delay vector is represented by τ =  .
for simplicity we assumed τ = τi in the rest of this paper.
the solution of eq.
with the time delay is  <dig> xt−τ=gt−τx0+gt−τ∫0t−τg−1sbsusds
before proceeding with a solution for the time-delay problem and an associated predictive control method in the brain, let us state our assumption about the representation of time in the brain.
we assume that the brain is a truly autonomous system.
in other words, there are no clocks in the brain that count the ticks of absolute time.
all sensation of time is the result of externally perceived periodic stimuli.
this is unlike industrial control systems, where there are synchronized clocks that count the ticking of time and the time variable t can be accessed directly.
direct access to a time variable t is not possible in the brain’s sensorimotor control system.
we assume the brain keeps an internal estimate of time delays, denoted as τ^.
the error signal is calculated as ξ=xt−τ−xt−τ^, where x is the delayed sensory signal.
the delayed sensory signals are known to the brain, but the brain cannot access the time-delay vector τ directly.
on the other hand, xt−τ^ is unknown since τ^ is unknown.
however, x can be computed from the knowledge of g, b and u.
to compute τ^, a modified version of the gradient descends method is used:  <dig> dτ^dt=−ηζ∂ζ∂τ^
wheres η is the learning parameter.
using eq.
, we can express eq.
in a form,  <dig> dτ^dt=−ηζ∂xt−τ−xt−τ^∂τ^=ηem∂xt−τ^∂τ^=ηζ∂gt−τ^∂τ^x0+∫0t−τ^bs/gsusds−ηζbt−τ^ut−τ^−gt−τ^b0u <dig>
the time delay τ can be estimated using eq.
.
however, there are biological constraints that need to be considered.
equation  requires the knowledge of xt−τ^, gt−τ^ and u for any 0≤τ^≤t−τ.
but, this is impossible because it needs to store the full history of motor commands u or all functions, g and x. therefore, assuming the biological plausibility of eq.
without boundedness assumptions on the maximum delay τ is not possible.
to guarantee stability and limited memory usage, the following condition, τ ≤ τmax is added.
this condition is reasonable and does not in any way limit the generality of the method.
furthermore, most human movements are either repetitive, such as walking, or intermittent with many pauses, such as reaching.
in reaching, at the beginning of the movement, the initial position of the arm is known, and the delay is not an issue because the arm is at rest.
at the end of the movement, the arm is coming back to rest and the final state of the arm is known.
therefore, delays have no detrimental effects.
however, during the motion, the state of the arm keeps on changing which causes the values communicated to the brain with variable delays.
it is during the arm’s motion that the delay estimation is paramount.
since movements are finite in time, applying a limit on the maximum number of delays is reasonably justified.
in terms of hardware implantation, it is necessary to store the history of constructed signals in a finite buffer.
actually, the brain automatically stores history about signals like u and x. one possible scenario is for the brain to learn the dynamics of g and b and thereby compute the dynamics of x and u for any time period.
here, we assume that the brain stores u from t to t − τmax, as well as g, b and x. it should be noted that if delays exceed τmax, a complete open-loop control prevails.
the most important in the proposed control system is to predict the future state of a sensorimotor system, given that the delayed state and an estimate of the time delay are known.
to do so, eqs.
and  are combined, as follows:  <dig> xt=gtg−1t−τxt−τ+gt∫t−τtbsg−1susds.
then, the state can be predicted using estimated time-delay, τ^, as follows  <dig> x^t=gtg−1t−τ^xt−τ^+gt∫t−τ^tbsg−1susds.
it should be noted that x is what is actually measured and delivered to the sensorimotor plant model in the brain, represented by eq.
.
however, g and the integral over u are both dependent on the estimate of the time delay τ^.
when the error in the estimate of time delay ε=τ^−τ decreases to zero, the predicted state approaches to the actual state x.
the next step involves finding a way to combine the sensorimotor plant model with the motor controller.
let the difference between the desired sensory goal r and current state x be the performance error e = r − x, and the estimate of the performance error be e^t=rt−x^t.
here, we define a pid controller input in terms of the estimated error as  <cit> :  <dig> ut=kpe^t+kdde^tdt+ki∫0te^sds and the optimal feedback controller as  <dig> ut=ke^t where kp, kd, ki and k are proportional gain, derivative gain, integral gain and optimal gain, respectively.
the pid controller and the optimal feedback controller gains can be designed as if there was no delay with information about the predicted state.
essentially, the controller depends on the error ê that results from the estimate x^t.
so, if the estimate x^t converges to x, then ê converges to e.
next is the recap of the concept about sensorimotor time-delay estimation, state prediction and control.
figure  <dig> shows the elements and connectivity between components of the proposed computational model of a brain sensorimotor control system at a higher level.
it is assumed that the brain wiring is a way to carry out the computations in accordance to the schematics in fig.
<dig> fig.
<dig> model of the sensorimotor control with time-delay estimation and sensory states predictor.
the plant box symbolizes a higher level of a sensorimotor system such as the eye, associated muscles, sensors, responses, goals and objectives .
the controller box is the neural network responsible for achieving the required task in an “optimal” way.
delay estimator is the circuit we are proposing as the brain, or a sensorimotor systems to estimate time delay in a sensory and motor pathway.
sate predictor is where current and “future” sensory states are estimated and predicted, respectively, based on the estimated current time delay.
the “r” is the desired goal, or in the language of control theory, the reference trajectory.
the “e” is the error difference between the desired sensory state and predicted sensory state x^t.
the “u” are the motor commands to muscles or effector organs.
the x are the delayed sensory states.
the “x” is the actual sensory state.
finally, “τ” is the time delay that could either be a natural time delay or a consequence of damage or disease
tables  <dig> and  <dig> show the lists of known and unknown sensorimotor control variables of the brain, respectively.
three main assumptions in the proposed computational model for the brain sensorimotor control system are: 1) the brain possesses a time-delay estimator circuit; 2) the brain uses the estimate of time delay to predict the current state; and 3) the brain uses the current predicted estimate to control motor movements.table  <dig> sensorimotor control known variables
τ^
gt−τ^
b
u
to illustrate the benefits of the time-delay estimation method of predictive control in the sensorimotor system, we have chosen to simulate the vor system.
the method has been implemented with matlab r2013a.
RESULTS
in the horizontal vestibulo-ocular reflex , x ∈ ℝ is the eye position relative to the head, and u ∈ ℝ is the net motor-neuron signal to the horizontal eye muscles.
so, the hvor system equation in its simplest form  <cit>  is shown as:  <dig> x.=−κρx+1ρu where κ is the coefficient of viscosity and ρ is the coefficient of elasticity, and both are constants.
the retinal-image slip velocity is y ∈ ℝ, which is the sum of eye and head velocities,  <dig> y=x.+h.
the goal of the hvor is to make the retinal slip equal to zero, i.e., y =  <dig>  here, the reference signal r is -h and the feedback error signal e is x - r or x + h. therefore, y=e., and the feedback control law is basically a derivative control given by  <dig> ut=kde.t
choosing the appropriate kd results in e.=y= <dig>
with sensory delay τ, the measured state of the hvor control system will be x instead of x, which means a form of time-delay estimation and a plant state predictor.
based on our formulation, the time-delay estimator can be written as  <dig> τ^.=ηρζe−κ/ρt−τ^ρx0+∫0t−τ^e−κ/ρs−τ^usds−ηρζut−τ^ where it is assumed that u =  <dig>  the state predictor can be found as  <dig> x^t=eκ/ρτ^xt−τ+e−κ/ρtρ∫t−τ^teκ/ρsusds
without time-delay estimation and prediction, the hvor is unstable and could be affected by high frequency oscillations .
these oscillations are reminiscent of a fast correction mechanism, e.g., a saccade to compensate for hvor delays  <cit> .fig.
<dig> the hvor performance with failed time-delay compensation, traditional methods.
the figure shows a poor response of the eye rotation to head rotation with traditional controller or.
the eye is responding to a delayed head velocity.
and as result, the eye velocity  is oscillating around the head velocity , see expanded view.
this oscillatory behavior is as if the eye is executing a corrective movement  to compensate for the delay head velocity value.
however, it often overshoots the target head velocity.
this oscillatory behavior continues until the hvor fails to do its job completely.
the same behavior in figure could also be the result of a damaged sensory state predictor.
in this case even if the time-delay estimation is working properly the state predictors fails to predict the correct current state.
as a result the hvor will be plagued with oscillations and instability
comparing our simulation result in fig.
<dig> with that in “fig.
3” of reference  <cit> .
it clearly shows that the hvor system with impaired time-delay estimation or impaired sensory state predictor can mimic certain outcomes of sensorimotor diseases.fig.
<dig> the hvor performance with existence of time-delay estimator and state predictor under long time delay.
the hvor performance under long time delay  with the proposed method.
the hvor system is stable when the brain model is equipped with time-delay estimator and state predictor.
the figure clearly shows that the hvor is performing as it should be.
the eye velocity is the reverse of the head velocity
however, if the control of hvor is augmented with a time-delay estimator  and a predictor for eye position relative to the head, then hvor control is stable and smooth .fig.
<dig> the response of the time-delay estimation circuit for the hvor system.
blue dashed line is the variation of the time delay during horizontal head movement.
red solid line is the simulated tracking of the time-delay estimation circuit
CONCLUSIONS
in this paper, we have proposed a sensorimotor learning and control model that can predict the dynamics of variable time delays and the future sensory states from the delayed sensory information; learned new sensorimotor realities; and controlled motor system in real time.
the results have demonstrated that our developed model can explain the ability of a sensorimotor system compensating delays during real-time control.
this development boils down to three claims, with varying degrees of experimental support.
firstly, we claim that the brain or sensorimotor systems possess time-delay estimation circuits.
secondly, the brain continuously estimates current/future sensory states from the previously sensed states.
thirdly, the brain uses predicted sensory states to perform optimal motor control.
essentially, this process requires performing feedback control by using predicted states.
the work makes further predictions that the brain does not need to use any form of clocking mechanism to sync various aspects of motor control systems affected by delays.
in other words, the brain is a data-driven asynchronous collection of sensorimotor control systems.
also, fast and random perturbations to the motor control systems cannot be predicted and may cause instability.
the predictive nature of the primate sensorimotor system and its ability to compensate for long delays have been shown by several behavioral and physiological experiments.
declarations
the publication costs for this article were funded by the department of electrical and computer engineering, florida international university.
this article has been published as part of bmc bioinformatics volume  <dig> supplement  <dig>  2016: selected articles from the 12th annual biotechnology and bioinformatics symposium: bioinformatics.
the full contents of the supplement are available online at https://bmcbioinformatics.biomedcentral.com/articles/supplements/volume-17-supplement- <dig>
availability of data and materials
this paper does not contain any specific/special data to be shared publicly.
the simulation results can be re-done by following the method steps outlined in the paper.
authors’ contributions
developed and implemented the study algorithm, and designed the experiments: ma, as, ss.
performed the experiments and designed the study protocols: ma, as, ky, ss.
processed the data, prepared the tests, analyzed and interpreted the study results: ma, as, ky, ss.
drafted and manuscript: ma, as, ky, ss.
all authors have read and approved the final manuscript.
competing interests
the authors declare that they have no competing interests.
consent for publication
not applicable.
ethics approval and consent to participate
not applicable.

 sensorimotor control system is the most robust and versatile collection of modular, hierarchical and well-organized hybrid of control strategies. with it we can land a plane, drive a car, play sports, and adapt to bizarre sensorimotor transformations, or we are allowed to perform in space or in the deep sea. sensorimotor control system can accomplish all of these tasks in an optimal manner in terms of speed, accuracy and efficiency. the brain’s sensorimotor cortex, as a complex neural sensorimotor control system, inherently finds and implements an optimal decision to a vast range of input conditions. noises, nonlinearities, delays, uncertainties and redundancies are among the major problems that the sensorimotor control system interacts with. delays occur in various parts of a sensorimotor control system, ranging from sensory information reception to, information transmission along nerve fibers, computing responses by processing the sensory information, feedback transmission, and finally, motor output in terms of muscle reaction. the delay value is dynamic and varies with sensory modality. for example there is longer delay for vision than proprioception. this is because the complexity of the sensory information processing depends on the task and it is longer for face recognition than motion perception. efferent control signals are delayed as a result of neural conduction delays and low-pass filtering properties of muscles. short efferent delays, such as the monosynaptic stretch reflex, are in the order of 10– milliseconds, depending on the length and the type of nerve fiber. this delay is increased to 30– milliseconds for the cortical component of the long latency sr. the electromechanical delay, such as the delay in generating force response in muscles, can take up to milliseconds. so far, the investigation focuses on how a complex neural sensorimotor control system such as the brain’s sensorimotor cortex is capable of performing tasks in the presence of the above-mentioned conditions. however, the study in this paper specifically focuses on developing a mathematical model that will simulate a sensorimotor control system in the presence of noise and delay. the vestibulo-ocular reflex, one of the fastest involuntary responses due to the short neural connections and high neural computation speed, is not prone to the occurrence of delay up to milliseconds from stimulus onset. vor is a motor control system that stabilizes vision during head movements. smooth pursuit, another efficient visual control system in human beings for target tracking in their visual field, has the ability to process the information with a 80– millisecond delay in the brain. delays make control difficult because information about the current state of the motor system is outdated. a motor control system that does not have delay compensation mechanisms could not correct for errors, leading to potential inefficiencies and instability. the explanation of those controllers such as fuzzy logic control, feedback and adaptive linearization based control, optimal nonlinear trajectory control can be found in the literature. although they have several applications but they should be modified to be used in systems with time delays. delay compensation: facts and current theories consider the saccadic eye movement, which is a fast eye movement produced by a visual system that directs the eyes to interesting visual stimuli: the movement duration is shorter than the sensory delay. this means that sensory feedback about the current state of the eye and the visual field cannot be used to correct or guide saccades because the sensory information regarding the movement itself arrives after the completion of the movement. smooth pursuit eye movements allow a person to track targets in the visual field at a high speed of ~200°/sec, which is a remarkable performance. recent experiments stated the high performance of the smooth pursuit system, where it was observed that the position of eyes was ahead of visual sensory feedback of the target position. this cannot be achieved by solely implementing standard negative feedback methods based on visual error signals. under such information processing and transmission delays, simple feedback control is affected by significant temporal discrepancies between target signal and current state, suggesting that some form of predictive control must take place to achieve such a high performance. the predictive nature of sensorimotor control systems is explored and demonstrated through multiple experiments. experiments demonstrated that monkeys have the ability to conduct smooth pursuit movements with zero retinal slip or the ability to maintain smooth pursuit during blink periods. such predictive compensation was observed both in tracking moving targets with constant velocity or in sinusoidal moving objects. in a hand movement study, it was demonstrated that the cerebellum is involved in predicting the position of the hand during a movement. the predicted state of the limb from the history of motor commands allows the motor control to act on this estimate of state rather than relying solely on a delayed sensory feedback. this suggests that cerebellar output is a signal that can be combined with delayed sensory feedback elsewhere in the brain in order to generate real-time state estimates for motor control. time-delay estimation and control a primate’s sensorimotor controller is equipped with the ability to predict motor movements, as well as possess the ability to compensate for time delays. time-delay estimation is a difficult problem, as it renders even the simplest linear systems nonlinear, yet biological control systems are robust enough to deal with time delays. however, it is not known how this is achieved. current time-delay estimation techniques mainly cover linear systems, including: constant time delays, random time delay with specific noise characteristics, or restricted dynamic time delay. however, most biological systems exhibit some degree of variability, nonlinearity, and uncertainty, which may make above mentioned methods developed inapplicable. furthermore, most delay estimation procedures are not used in the context of predictive control methodology. the hilbert-huang transform-based method is found to be the most efficient delay estimation technique with a focus on practical applicability to the motor control; however, the process is a complex one. a comprehensive computational model to explain time-delay compensation in biological control is lacking. the study in this paper proposes a sensorimotor learning and control model that estimates variable time delays, predicts sensory states from delayed sensory feedback, and controls a motor system in real time. accurate models of sensorimotor control systems result in a better understanding of the function of the human sensorimotor cortex, with practical applications in understanding the mechanisms underlying neurological disorders such as autism and epilepsy. the next section covers the proposed time-delay estimation method and develops a computational model for a predictive control solution for a sensorimotor control system under time delay. the proposed model is evaluated in a real time, with online learning and control simulation processes. the paper is concluded with findings and suggestions for future research. methods suppose the sensorimotor system can be approximated in a region of interest by the linear time-varying system, as stated in eq.: x.t=atxt+btut where x is the state vector, u is the control vector or the neural motor commands, and a and b are time-varying matrices with appropriate dimensions. the matrix a represents the influence of the current state x of the motor system to its future changes x.t. the matrix b is the sensorimotor controller gain, which determines how motor commands affect x.t. it is common for a and b to change over time. examples include joint friction, viscosity and elasticity of muscles, etc. all of which change over time. the solution to the first order differential eq. is given by: xt=e∫0tasdsx0+∫0te∫stavdvbsusds where x is the initial state. let gt=e∫0tasds and eq. written in terms of g is xt=gtx0+gt∫0tg−1sbsusds where x is the current state of the sensorimotor system measured by the sensor organs. the motor command vector is u. motor commands are usually sensed at the level of the effector by specialized sensory organs. for example, muscle spindles measure the force generated in the muscle and communicate the information to the brain. here, we assume that x and u are precisely measured by sensory organs. suppose the sensory time-delay vector is represented by τ = . for simplicity we assumed τ = τi in the rest of this paper. the solution of eq. with the time delay is xt−τ=gt−τx0+gt−τ∫0t−τg−1sbsusds before proceeding with a solution for the time-delay problem and an associated predictive control method in the brain, let us state our assumption about the representation of time in the brain. we assume that the brain is a truly autonomous system. in other words, there are no clocks in the brain that count the ticks of absolute time. all sensation of time is the result of externally perceived periodic stimuli. this is unlike industrial control systems, where there are synchronized clocks that count the ticking of time and the time variable t can be accessed directly. direct access to a time variable t is not possible in the brain’s sensorimotor control system. we assume the brain keeps an internal estimate of time delays, denoted as τ^. the error signal is calculated as ξ=xt−τ−xt−τ^, where x is the delayed sensory signal. the delayed sensory signals are known to the brain, but the brain cannot access the time-delay vector τ directly. on the other hand, xt−τ^ is unknown since τ^ is unknown. however, x can be computed from the knowledge of g, b and u. to compute τ^, a modified version of the gradient descends method is used: dτ^dt=−ηζ∂ζ∂τ^ wheres η is the learning parameter. using eq., we can express eq. in a form, dτ^dt=−ηζ∂xt−τ−xt−τ^∂τ^=ηem∂xt−τ^∂τ^=ηζ∂gt−τ^∂τ^x0+∫0t−τ^bs/gsusds−ηζbt−τ^ut−τ^−gt−τ^b0u the time delay τ can be estimated using eq.. however, there are biological constraints that need to be considered. equation requires the knowledge of xt−τ^, gt−τ^ and u for any 0≤τ^≤t−τ. but, this is impossible because it needs to store the full history of motor commands u or all functions, g and x. therefore, assuming the biological plausibility of eq. without boundedness assumptions on the maximum delay τ is not possible. to guarantee stability and limited memory usage, the following condition, τ ≤ τmax is added. this condition is reasonable and does not in any way limit the generality of the method. furthermore, most human movements are either repetitive, such as walking, or intermittent with many pauses, such as reaching. in reaching, at the beginning of the movement, the initial position of the arm is known, and the delay is not an issue because the arm is at rest. at the end of the movement, the arm is coming back to rest and the final state of the arm is known. therefore, delays have no detrimental effects. however, during the motion, the state of the arm keeps on changing which causes the values communicated to the brain with variable delays. it is during the arm’s motion that the delay estimation is paramount. since movements are finite in time, applying a limit on the maximum number of delays is reasonably justified. in terms of hardware implantation, it is necessary to store the history of constructed signals in a finite buffer. actually, the brain automatically stores history about signals like u and x. one possible scenario is for the brain to learn the dynamics of g and b and thereby compute the dynamics of x and u for any time period. here, we assume that the brain stores u from t to t − τmax, as well as g, b and x. it should be noted that if delays exceed τmax, a complete open-loop control prevails. the most important in the proposed control system is to predict the future state of a sensorimotor system, given that the delayed state and an estimate of the time delay are known. to do so, eqs. and are combined, as follows: xt=gtg−1t−τxt−τ+gt∫t−τtbsg−1susds. then, the state can be predicted using estimated time-delay, τ^, as follows x^t=gtg−1t−τ^xt−τ^+gt∫t−τ^tbsg−1susds. it should be noted that x is what is actually measured and delivered to the sensorimotor plant model in the brain, represented by eq.. however, g and the integral over u are both dependent on the estimate of the time delay τ^. when the error in the estimate of time delay ε=τ^−τ decreases to zero, the predicted state approaches to the actual state x. the next step involves finding a way to combine the sensorimotor plant model with the motor controller. let the difference between the desired sensory goal r and current state x be the performance error e = r − x, and the estimate of the performance error be e^t=rt−x^t. here, we define a pid controller input in terms of the estimated error as: ut=kpe^t+kdde^tdt+ki∫0te^sds and the optimal feedback controller as ut=ke^t where kp, kd, ki and k are proportional gain, derivative gain, integral gain and optimal gain, respectively. the pid controller and the optimal feedback controller gains can be designed as if there was no delay with information about the predicted state. essentially, the controller depends on the error ê that results from the estimate x^t. so, if the estimate x^t converges to x, then ê converges to e. next is the recap of the concept about sensorimotor time-delay estimation, state prediction and control. figure  shows the elements and connectivity between components of the proposed computational model of a brain sensorimotor control system at a higher level. it is assumed that the brain wiring is a way to carry out the computations in accordance to the schematics in fig.  fig. model of the sensorimotor control with time-delay estimation and sensory states predictor. the plant box symbolizes a higher level of a sensorimotor system such as the eye, associated muscles, sensors, responses, goals and objectives. the controller box is the neural network responsible for achieving the required task in an “optimal” way. delay estimator is the circuit we are proposing as the brain, or a sensorimotor systems to estimate time delay in a sensory and motor pathway. sate predictor is where current and “future” sensory states are estimated and predicted, respectively, based on the estimated current time delay. the “r” is the desired goal, or in the language of control theory, the reference trajectory. the “e” is the error difference between the desired sensory state and predicted sensory state x^t. the “u” are the motor commands to muscles or effector organs. the x are the delayed sensory states. the “x” is the actual sensory state. finally, “τ” is the time delay that could either be a natural time delay or a consequence of damage or disease tables  and show the lists of known and unknown sensorimotor control variables of the brain, respectively. three main assumptions in the proposed computational model for the brain sensorimotor control system are: 1) the brain possesses a time-delay estimator circuit; 2) the brain uses the estimate of time delay to predict the current state; and 3) the brain uses the current predicted estimate to control motor movements.table sensorimotor control known variables τ^ gt−τ^ b u to illustrate the benefits of the time-delay estimation method of predictive control in the sensorimotor system, we have chosen to simulate the vor system. the method has been implemented with matlab r2013a.  in the horizontal vestibulo-ocular reflex, x ∈ ℝ is the eye position relative to the head, and u ∈ ℝ is the net motor-neuron signal to the horizontal eye muscles. so, the hvor system equation in its simplest form is shown as: x.=−κρx+1ρu where κ is the coefficient of viscosity and ρ is the coefficient of elasticity, and both are constants. the retinal-image slip velocity is y ∈ ℝ, which is the sum of eye and head velocities, y=x.+h. the goal of the hvor is to make the retinal slip equal to zero, i.e., y =  here, the reference signal r is -h and the feedback error signal e is x - r or x + h. therefore, y=e., and the feedback control law is basically a derivative control given by ut=kde.t choosing the appropriate kd results in e.=y= with sensory delay τ, the measured state of the hvor control system will be x instead of x, which means a form of time-delay estimation and a plant state predictor. based on our formulation, the time-delay estimator can be written as τ^.=ηρζe−κ/ρt−τ^ρx0+∫0t−τ^e−κ/ρs−τ^usds−ηρζut−τ^ where it is assumed that u =  the state predictor can be found as x^t=eκ/ρτ^xt−τ+e−κ/ρtρ∫t−τ^teκ/ρsusds without time-delay estimation and prediction, the hvor is unstable and could be affected by high frequency oscillations. these oscillations are reminiscent of a fast correction mechanism, e.g., a saccade to compensate for hvor delays.fig. the hvor performance with failed time-delay compensation, traditional methods. the figure shows a poor response of the eye rotation to head rotation with traditional controller or. the eye is responding to a delayed head velocity. and as result, the eye velocity is oscillating around the head velocity, see expanded view. this oscillatory behavior is as if the eye is executing a corrective movement to compensate for the delay head velocity value. however, it often overshoots the target head velocity. this oscillatory behavior continues until the hvor fails to do its job completely. the same behavior in figure could also be the result of a damaged sensory state predictor. in this case even if the time-delay estimation is working properly the state predictors fails to predict the correct current state. as a result the hvor will be plagued with oscillations and instability comparing our simulation result in fig.  with that in “fig. 3” of reference. it clearly shows that the hvor system with impaired time-delay estimation or impaired sensory state predictor can mimic certain outcomes of sensorimotor diseases.fig. the hvor performance with existence of time-delay estimator and state predictor under long time delay. the hvor performance under long time delay with the proposed method. the hvor system is stable when the brain model is equipped with time-delay estimator and state predictor. the figure clearly shows that the hvor is performing as it should be. the eye velocity is the reverse of the head velocity however, if the control of hvor is augmented with a time-delay estimator and a predictor for eye position relative to the head, then hvor control is stable and smooth.fig. the response of the time-delay estimation circuit for the hvor system. blue dashed line is the variation of the time delay during horizontal head movement. red solid line is the simulated tracking of the time-delay estimation circuit  in this paper, we have proposed a sensorimotor learning and control model that can predict the dynamics of variable time delays and the future sensory states from the delayed sensory information; learned new sensorimotor realities; and controlled motor system in real time. the results have demonstrated that our developed model can explain the ability of a sensorimotor system compensating delays during real-time control. this development boils down to three claims, with varying degrees of experimental support. firstly, we claim that the brain or sensorimotor systems possess time-delay estimation circuits. secondly, the brain continuously estimates current/future sensory states from the previously sensed states. thirdly, the brain uses predicted sensory states to perform optimal motor control. essentially, this process requires performing feedback control by using predicted states. the work makes further predictions that the brain does not need to use any form of clocking mechanism to sync various aspects of motor control systems affected by delays. in other words, the brain is a data-driven asynchronous collection of sensorimotor control systems. also, fast and random perturbations to the motor control systems cannot be predicted and may cause instability. the predictive nature of the primate sensorimotor system and its ability to compensate for long delays have been shown by several behavioral and physiological experiments. declarations the publication costs for this article were funded by the department of electrical and computer engineering, florida international university. this article has been published as part of bmc bioinformatics volume supplement 2016: selected articles from the 12th annual biotechnology and bioinformatics symposium: bioinformatics. the full contents of the supplement are available online at https://bmcbioinformatics.biomedcentral.com/articles/supplements/volume-17-supplement- availability of data and materials this paper does not contain any specific/special data to be shared publicly. the simulation results can be re-done by following the method steps outlined in the paper. authors’ contributions developed and implemented the study algorithm, and designed the experiments: ma, as, ss. performed the experiments and designed the study protocols: ma, as, ky, ss. processed the data, prepared the tests, analyzed and interpreted the study results: ma, as, ky, ss. drafted and manuscript: ma, as, ky, ss. all authors have read and approved the final manuscript. competing interests the authors declare that they have no competing interests. consent for publication not applicable. ethics approval and consent to participate not applicable.
the predictive nature of the primate sensorimotor systems, for example the smooth pursuit system and their ability to compensate for long delays have been proven by many physiological experiments. to further illustrate the benefits of the proposed time-delay estimation method and predictive control in sensorimotor systems a simulation of the horizontal vestibulo-ocular reflex system is presented. comparing results of the proposed model with those in literature, it is clear that the hvor system with impaired time-delay estimation or impaired sensory state predictor can mimic certain outcomes of sensorimotor diseases. here, we propose a sensorimotor learning and control model that can be used to predict the dynamics of variable time delays and current and future sensory states from delayed sensory information; learn new sensorimotor realities; and control a motor system in real time. this paper proposed a new time-delay estimation method and developed a computational model for a predictive control solution of a sensorimotor control system under time delay. sensorimotor controltime delay estimationvestibulo-ocular reflex predictive controlmotor learning12th annual biotechnology and bioinformatics symposium provo, ut, usa 10- december http://biotconf.org/issue-copyright-statement© the author 2016 thirdly, the brain uses predicted sensory states to perform optimal motor control. secondly, the brain continuously estimates current/future sensory states from the previously sensed states. these oscillations are reminiscent of a fast correction mechanism, e.g., a saccade to compensate for the hvor delays. simulation experiments are used to demonstrate how the proposed model can explain a sensorimotor system’s ability to compensate for delays during online learning and control. firstly, the brain or any sensorimotor system has time-delay estimation circuits for the various sensorimotor control systems. even more, if the control of hvor is augmented with the proposed time-delay estimator and the predictor for eye position relative to the head, then hvor control system can be stabilized. without the proposed time-delay estimation and prediction, the hvor can be unstable and could be affected by high frequency oscillations. three claims with varying degrees of experimental support are proposed in this paper.
 the predictive nature of the primate sensorimotor systems, for example the smooth pursuit system and their ability to compensate for long delays have been proven by many physiological experiments. however, few theoretical models have tried to explain these facts comprehensively. here, we propose a sensorimotor learning and control model that can be used to predict the dynamics of variable time delays and current and future sensory states from delayed sensory information; learn new sensorimotor realities; and control a motor system in real time.  this paper proposed a new time-delay estimation method and developed a computational model for a predictive control solution of a sensorimotor control system under time delay. simulation experiments are used to demonstrate how the proposed model can explain a sensorimotor system’s ability to compensate for delays during online learning and control. to further illustrate the benefits of the proposed time-delay estimation method and predictive control in sensorimotor systems a simulation of the horizontal vestibulo-ocular reflex system is presented. without the proposed time-delay estimation and prediction, the hvor can be unstable and could be affected by high frequency oscillations. these oscillations are reminiscent of a fast correction mechanism, e.g., a saccade to compensate for the hvor delays. comparing results of the proposed model with those in literature, it is clear that the hvor system with impaired time-delay estimation or impaired sensory state predictor can mimic certain outcomes of sensorimotor diseases. even more, if the control of hvor is augmented with the proposed time-delay estimator and the predictor for eye position relative to the head, then hvor control system can be stabilized.  three claims with varying degrees of experimental support are proposed in this paper. firstly, the brain or any sensorimotor system has time-delay estimation circuits for the various sensorimotor control systems. secondly, the brain continuously estimates current/future sensory states from the previously sensed states. thirdly, the brain uses predicted sensory states to perform optimal motor control. keywords sensorimotor controltime delay estimationvestibulo-ocular reflex predictive controlmotor learning12th annual biotechnology and bioinformatics symposium provo, ut, usa 10- december http://biotconf.org/issue-copyright-statement© the author 2016 