Abstract
This article introduces a new control scheme for controlling a robotic manipulator in a collaborative task, allowing it to respond proactively to its partner’s movements. Unlike conventional robotic systems, humans can operate in an unstructured, dynamic environment due to their ability to anticipate changes before they occur and react accordingly. Recreating this artificially by using a forward model would lead to the huge computational task of simulating a world full of complex nonlinear dynamics and autonomous human agents. In this study, a controller based on anticipating synchronization, where a ‘leader’ dynamical system is predicted by a coupled ‘follower’ with delayed self-feedback, is used to modify a robot’s dynamical behaviour to follow that of a series of leaky integrators and harmonic oscillators. This allows the robot (follower) to be coupled with a collaborative partner (leader) to anticipate its movements, without a complete model of its behaviour. This is tested by tasking a simulated Baxter robot with performing a collaborative manual coordination task with an autonomous partner under a range of feedback delay conditions, confirming its ability to anticipate using oscillators instead of a detailed forward model.
Keywords: anticipating synchronization, coupled oscillators, synchronization, time delay, collaborative robotics
1. Introduction
To create a true collaborative robot, one that can physically cooperate in a task, the robot must be able to anticipate its partner’s behaviour. This can be clearly understood from human-to-human interactions such as manipulating a large object or even dancing; any delay in reacting to the partner may cause a breakdown in the collaborative movement and a failure of the shared task. It is particularly important that a robot provides a seamless cooperative experience because it cannot communicate with its partner to improve its performance. Thus, conventional (that is to say, reactive) closed-loop control is not the ideal paradigm for controlling a collaborative robot.
A common approach is for collaborative robots to attempt to infer a human partner’s intentions from their behaviour so that the robot can ‘pre-empt’ their future actions. However, while many stereotypical human movements are well characterized (such as simple reaching motions, by the minimum-jerk model [1]), there is no accepted complete model of human behaviour. Various methods have been used to work around this limitation, such as in the study by Thobbi et al., where the robot switches to a reactive follower role when its prediction of the human’s motion diverges from its sensor measurements [2]. Mainprice et al. attempted to learn the objective function of human reaching movements through inverse reinforcement learning, taking the assumption that humans operate on the principle of optimal control [3], while Bussy et al. decomposed their collaborative task into motor primitives with rigidly defined trajectories [4].
These studies assume a dichotomy between fully understanding a partner’s intentions and merely reacting to their actions, but it is also possible to consider how to enable the robot to behave proactively in the short term, maximizing its ability to respond to unexpected movements. Although attempting to anticipate an imperfectly understood partner might seem counterintuitive, the study by Ishida and Sawada [5] suggests that it in fact allows the minimization of transient errors when the target moves abruptly. This comes at the cost of slightly lesser accuracy during steady motion, but it still gives superior performance over a reactive controller. A good framework for approaching this problem is found in strong anticipation [6], which relates to the idea that organisms like human beings anticipate events by continuously coupling their own (cognitive or somatic) processes to the dynamics of the environment, contrasting with methods such as MOSAIC [7] that need to construct a model of the predicted system (‘weak’ anticipation). The most applicable form of strong anticipation is anticipating synchronization (AS), where a ‘follower’ dynamical system synchronizes with the future of a ‘leader’, rather than its instantaneous state [8]. This is not a violation of causality, but relies on the fact that a deterministic dynamical system’s current state is strongly determined by its past. In the most commonly used version of AS, the difference between the state of the leader and the delayed state of the follower constitutes a coupling term (K[x(t) − y(t − τ)]) that will drive the follower towards the future of the leader
| 1.1 |
and
| 1.2 |
If the dynamics of the leader (f1(x)) and follower (f2(y)) are similar, and the delay term (τ) is not too large, the joint system will reach a stable state where y(t) = x(t + τ) and the coupling term disappears [9]. Because many dynamical systems exhibit similar behaviour over short timescales, f1 does not have to equal f2, and the follower can be governed by significantly simpler dynamics than the leader. Thus, there is no need to model the higher level decision-making processes of a partner, so long as a follower system can be designed that can anticipate the short-term dynamics of their motor behaviour.
AS has typically been applied to isolated pairs or chains [10] of autonomous systems since its discovery, but there have been studies that attempt to combine it with feedback control. An AS-based predictor was used by Oguchi and Nijmeijer to replace a standard predictive model in a system that would otherwise be too nonlinear for most predictive control methods [11]. More recently, a similar method was used to enable the control of mobile robots via long-distance telecommunication [12] without experiencing lag.
These past examples stick as closely as possible to existing predictive control methods, but AS allows a new relationship with delay. If the follower is considered to be the plant in a control sense, then the delayed self-feedback becomes a measurement of the plant’s state, and the delay term becomes the intrinsic lag between a control signal and the plant’s measured response. In this framework, any additional delay, either due to signal transmission time or response lag in the plant, will be counteracted by a strengthening of the coupling term, causing anticipatory behaviour.
Obviously this behaviour is not normally exhibited by closed-loop controllers, which can be easily explained by the fact that the controller (leader) and plant (follower) do not typically have similar dynamical behaviour. Exploiting the unique delay response of AS therefore requires a different form of control law. In [13], a framework was developed for a ‘parallel’ controller that uses an internal model of the robot to enforce a specific dynamical behaviour on the plant, allowing it to be coupled with a set of dissimilar target dynamics in an AS leader/follower relationship. Reproducing the dynamics of the robot in the model is not necessarily optimal, however, as they may be very different to those of the leader. Therefore, in this study, a new set of follower dynamics was designed, where the joint and motor dynamics of the robot are replaced with simpler systems that have a proven capability to anticipate much more complex leaders: leaky integrators and harmonic oscillators. Despite their simplicity, leaky integrators, dynamical systems that ‘relax’ to a fixed resting state, can anticipate a variety of phenomena through the effect of negative group delay [14,15]. This is where certain frequency components of a signal are propagated as if by an (imagined) filter with negative delay. Conversely, harmonic oscillators have shown a surprising ability to anticipate ‘unpredictable’ chaotic dynamics with similar local features [6] and exhibit self-organizing behaviour when coupled together [16,17] that indicates they may be ideal components for a joint system such as a model of a robot arm.
Rather than creating a special-purpose robot that could call into question the broader applicability of this study, the Baxter collaborative robot was chosen as a testing model. Baxter’s hardware and software safety features provide a reasonable estimate of the constraints, which a collaborative control rule can be expected to have, and it has a high-quality simulator that can be used for repeated experiments [18]. The experimental can be tailored to the intrinsic timescale and capabilities of the Baxter platform: a back-and-forth coordinated motion in which the robot must follow a moving target representing its partner without lagging or becoming unstable. This simulates the timing aspect of bimanual handling (e.g. moving one end of a piece of furniture) without mutual physical interaction that would require a specialized platform to investigate.
This study aims to demonstrate that a control system designed from the bottom up to take advantage of AS can enable a robot to anticipate the motion of an autonomous partner, even without an accurate model. By tying the velocities of its joints to a series of simulated dynamical systems, the robot’s own delayed sensory feedback becomes the key element in an AS coupling that drives it to follow its partner with minimal (or even slightly negative) latency. Using the accurate Gazebo simulation of the Baxter robot allows repeated experiments over a large range of parameters to confirm the robustness of the controller. This represents a categorically different approach from methods of collaborative control based on explicit models, which decline in performance if the partner is not correctly characterized.
2. Methods
2.1. Robotic platform and simulation
The Baxter robot consists of two 7-degree-of-freedom arms mounted on either side of a central column capped with an articulated screen ‘head’, together constituting a humanoid ‘torso’ [19]. This is attached to a 0.91 m pedestal, giving the robot a total height of 1.85 m. The arm joints are referenced with alphanumeric labels from S1 at the base to W1 at the wrist, as shown in figure 1. As a collaborative robot, Baxter is primarily designed for safety when interacting with humans, which is achieved through a combination of specialized hardware and software. Each arm joint contains a series elastic actuator [21] that allows control of joint stiffness and direct measurement of joint torque. Combined with a real-time onboard controller, this allows the robot to maintain arm velocities and forces that do not risk serious harm to the humans around it. A secondary effect of these safety constraints is that Baxter will not accept commands that cause self-collision (defined as any element of its kinematic model intersecting any other).
Figure 1.

Joint positions on Baxter’s left arm, split into shoulder joints S0 and S1, elbow joints E0 and E1, and wrist joints W0, W1 and W2. All right arm joints are identical to those on the left, except that S0, E0, W0 and W2 are mirrored. Image from [20].
In designing the task used to test the new control scheme, a conscious effort was made to remain within some of these constraints by utilizing Baxter’s velocity control facility. Unlike the default position control, this allows the velocity at each joint to be set directly, but still prevents them exceeding a maximum value of (or for the three terminal wrist joints) and automatically halts the robot in the event of a collision or a sustained ‘crush’ against an external object. The ability to control the robot’s velocity this way is crucial to implementing AS as it depends on altering the time evolution of the follower, so this was considered the best compromise between safety and the requirements of the study.
During the testing phase, to evaluate the control under an appropriate range of conditions within a reasonable time and without risking wear-and-tear to the robot’s components, the motion of the robot can be simulated by an accurate dynamical model, simulated in Gazebo [18] (see figure 2). This replicates all of Baxter’s software interfaces as well as its characteristic dynamical behaviour, allowing the results of the simulated experiments to be generalized to the physical robot [22].
Figure 2.
Gazebo simulation of the Baxter robot in action-ready ‘untucked’ pose. The simulation was ordinarily run without the GUI to speed up processing, but the graphical representation was used for manual error checking.
2.2. Collaborative task
The aim of this study is to create a controller suitable for proactive cooperation with a partner, so a coordinated task was defined where the robot must match a partner’s motion, replicating its trajectory along the X-axis as shown in figure 3. To eliminate lag, the robot must not merely follow its partner, but actively anticipate their movements. The robot is considered to be the follower in all these actions, in line with expected use cases for a collaborative robot.
Figure 3.
Illustration of simulated manual coordination task: the robot (green, follower) is controlled by the AS control system and must match the movements of the leader (red) as closely as possible, despite its pseudo-random motion.
An autonomous partner that provides unpredictable behaviour to the robot is represented by a periodic oscillator with pseudo-random variation in its amplitude. This is not intended to be a reproduction of a true human movement, but to simulate motion that has consistent local features (sinusoidal peaks), but cannot be exactly predicted using a forward model (assuming no access to an identically seeded pseudo-random number generator).
2.3. Parallel AS controller
Anticipation requires the follower to have autonomous behaviour that is sufficiently similar to the leader’s, and preliminary results suggested that despite its inbuilt elasticity at the joints, Baxter’s unmodified dynamics did not meet this requirement. In the ‘parallel system’ of [13], stable anticipation is enabled by using an internal model of a non-delayed control loop to impose an ‘idealized’ dynamical behaviour on the robot, allowing it to anticipate a target with the addition of an AS coupling term. In that study, the internal feedback loop identically reproduced the dynamics of the robot, but it was not proven that this was an optimal solution for producing AS in robotic control. For this study, the dynamics of the internal feedback loop were instead modified to represent systems with a proven capability to anticipate a range of complex systems: leaky integrators [14] and harmonic oscillators [6]. This was achieved by creating a simulated control loop where a ‘robot’ with identical kinematics to Baxter, but actuator dynamics replaced with one of these new systems, tracks the target without feedback delay. The output of this internal feedback loop reproduces the same behaviour in the real robot’s joints, allowing it to act as an effective AS follower when coupled.
As shown in figure 4, the velocity command to the robot v(t) is a linear combination of the time derivative of the follower system and the coupling term u couple. Expanding u couple gives the full control equation for the robot
| 2.1 |
where v is the velocity command to the robot’s actuators, is the time derivative of the follower model’s state and x plant(t − τ) and x follower are the positions of the robot’s end effector and the model’s ‘end effector’ (calculated by using a copy of the robot’s forward kinematics, s(.)), respectively. B and K are scalar constants representing the relative contributions of the follower model and the coupling term, and τ is a feedback delay term. The positions of the modelled (x follower) and actual (x plant) robot end-effectors are expressed in spherical coordinates (radius (r), polar angle (θ) and azimuthal angle (ϕ)). This allows a simple transformation, M, to map the individual spherical coordinates onto the joints S0, S1 and E1, with all other joints fixed via an independent high-gain control loop. θ and ϕ are controlled by joints S0 and S1, respectively, while r can be controlled by using joint E1 to extend the arm:
| 2.2 |
Because S1 also affects the radial coordinate, M is not a true coordinate transformation; however, since the joints are effectively coupled through the forward kinematics, E1 can continuously compensate for S1’s effects on r. This limits the arm to variations on a single pose, allowing the static linear transformation to ensure convergence on the target. This is preferable to using inverse kinematics because, in particular, the use of a Jacobian-based method becomes problematic when calculating the difference between two different poses separated by a delay as in the coupling term.
Figure 4.
Block diagram of the proposed control scheme, where the velocity command v to the plant (Baxter) is a linear combination of a velocity control signal produced by an internal control loop with specific ‘follower’ dynamics, and a second ‘coupling’ control signal u couple = KM[x follower(t) − x plant(t − τ)] based on delayed feedback from the robot itself, where B and K are scalar constants and M is a transformation matrix. The follower model h(q follower, x err) tracks the position of the target x target by minimizing the difference x err between x target and the model’s ‘end effector’ calculated using a copy of Baxter’s forward kinematics ). The internal control loop imposes a specific dynamical behaviour on the plant, causing it to act as an AS follower that can anticipate the target’s movements. Thus, the addition of the coupling term causes the robot to lead the target if the feedback delay (τ) is large enough. (Green blocks represent intrinsic elements of the underlying system, while yellow blocks have been added to enable anticipation.)
The follower’s prediction occurs via a simple variation on dynamical synchronization. While an ordinary synchronization coupling ([x(t) − y(t)]) represents a difference term that drives the follower y to evolve towards the current state of the leader x ([x(t) = y(t)]), a delay coupling ([x(t) − y(t − τ)]) approximates a term that accelerates the follower’s time evolution towards the leader’s future state ([x(t + τ) = y(t)]), assuming they are sufficiently similar. The study by Hayashi et al. [9] revealed that this is due to the renormalization of time in the follower: when y(t − τ) from equation (1.2) is Taylor expanded, it gives the new time step t* = t/(1 − kτ), causing the follower to evolve faster than the leader until it ’catches up’ with its future state. Provided a transversal system can be defined (where Δ = x − y) that has a fixed point at Δ = 0 (which is a trivial solution), there exists some τ < τ0 for which that fixed point is locally attracting [10]. The size of this region cannot be guaranteed and can be estimated only numerically for any pair of systems, which motivated the selection of follower dynamics that were established from prior research to have a significant anticipation period for more complex leaders. In this study, even though the autonomous dynamics of the follower system were replaced with leaky integrators and harmonic oscillators, the parallel structure of the control scheme (figure 4) reinforces this internal model to induce resonance with the dynamics of the leader system, resulting in the creation of similar dynamics.
2.3.1. Leaky integrator follower
One of the simplest forms of dynamical system, a leaky integrator, is an integrator that gradually evolves towards a fixed resting state when unperturbed. The justification for using an internal model based on leaky integrators comes from prior studies on the phenomenon of negative group delay [14,15], where it was shown that such a system can predict a low-frequency leader up to a theoretical maximum of half the coupling delay (τ/2 s). Although a leaky integrator follower cannot perfectly predict more complex systems, it can reliably anticipate a range of frequency components that, for some signals, can represent the majority of the salient information. In particular, negative group delay has been posited as an explanation for human anticipatory movements of the kind this experiment attempts to mimic.
Equation (2.3) describes the form of the leaky integrator used in this study
| 2.3 |
where A is a constant diagonal matrix of a time constant a (A = aI), G is a gain constant, xT is the position of the target and s(.) represents the forward kinematics of the robot. x T is a vector of resting states corresponding to the centre of each joint’s range of motion. The drive term GM[xT(t) − s(q follower(t))] causes the ‘end effector’ of the follower calculated with the forward kinematics s(q follower) to track the target, making the model behave like a copy of the robot with joint dynamics governed by equation (2.3) (as illustrated in figure 5).
Figure 5.
Illustration of the internal model used within the parallel controller. The kinematics of the model are the same as the actual robot, but the velocities at the joints are replaced with .
2.3.2. Harmonic oscillator follower
Harmonic oscillator followers are known to be successful at anticipating systems that exhibit smooth, sinusoidal peaks [6], even if the overall system behaviour is chaotic or otherwise unpredictable, as in this case. In addition, networks of coupled oscillators are known to exhibit self-organizing behaviour [16,17], which is necessary for a group of dynamical systems to collectively anticipate a single leader
| 2.4 |
All terms are the same as in the leaky integrator system, except for the term n, which tracks the oscillators’ state and feeds back a negative copy that triggers sinusoidal oscillations with a frequency proportional to the constant A.
2.4. Robot operating system implementation
The architecture of a robot operating system (ROS) consists of multiple independent software ‘nodes’ that communicate asynchronously by publishing and subscribing to a series of ‘topics’, allowing information to be shared without the nodes being aware of each others’ existence [23]. It should be noted here that ‘asynchronous’ refers only to the mode of node-to-node communication and has no relation to the dynamical synchronization being explored in this study.
The ROS implementation of the experiment was composed of three elements: the Baxter robot simulation and two software ‘nodes’ running on a Linux workstation connected via a local network. The target (or leader) node publishes a pseudo-random waveform that is subscribed to by a second control (or follower) node. This publishes a control signal that is subscribed to by the robot, and subscribes in turn to the position of the robot’s end effector, as calculated by its internal PC based on measurements from encoders at each joint. The relationship between these elements is illustrated in figure 6. The Gazebo simulation of the Baxter robot [18] replicates all of its software interfaces, in addition to it kinematics and dynamics, and thus can be inserted in place of the real robot without altering any other element of the system.
Figure 6.
Diagram of the relationship between the Baxter robot (or Gazebo simulation thereof) and the ROS nodes controlling its behaviour. A velocity control command is produced by the follower node based on the difference between the target and the robot’s gripper position.
Because of ROS’s asynchronous implementation, the exact relationship between the timings of the leader and follower nodes cannot be guaranteed. For this reason, a buffer was implemented within the follower node that delays and stores the feedback from the robot for a number of (0.01 s) iterations. For each iteration, the node publishes the leader, follower and robot feedback values used to update the follower’s state, which are recorded as experimental data. This means that the additional feedback delay remains consistent with respect to the follower system for any given time step, and the output of the system is compared to the input that caused it.
2.5. Testing
To test this control method, the Gazebo simulation of the Baxter robot attempts to follow a partner that oscillates along the X-axis with a constant frequency of 0.5 Hz, but pseudo-random amplitude (generated by applying a moving average filter to the output of NumPy’s ‘random()’ function). Both candidate follower systems are tested over a range of feedback delay (τ = 0.01–0.6 s) and coupling strength (K = 0–30) and compared against the performance of a basic proportional controller that uses the same transformation matrix (equation (2.5)).
| 2.5 |
The degree of anticipation (or lag) is measured by taking the X-axis motion of the target and the robot end effector over 10 min, removing the DC offset from both and cross-correlating them, extracting the lag with the highest correlation coefficient down to a resolution of 0.01 s. All analysis is performed using Cartesian coordinates as this is the format in which Baxter natively publishes its position data.
2.6. Stability analysis
As explained by Voss [8], the stability of an AS system of the form in equation (1.2) is dependent on the transversal system Δ = x(t) − y(t − τ) having a stable fixed point at Δ = 0 (the anticipating manifold). For pairs of identical linear systems, a sufficient condition for the manifold’s stability can be determined by calculating its complex Lyapunov exponent [9], yielding an explicit dependence on delay τ and coupling strength K. Such an analytical solution does not exist for nonlinear or non-identical pairs, but the stability of the manifold with respect to τ and K can be determined numerically by constructing a phase diagram. By systematically varying τ and K over a series of simulations, it is possible to visualize the stability of the anticipation manifold in the K–τ plane. As in [9], we use the correlation coefficient and correlation lag to identify the region in the K–τ plane in which the anticipation manifold is stable, as stable regions share the characteristics of negative lag (the follower leads the leader) and high correlation coefficient (the follower closely matches the leader). A simplified visualization of one of these phase diagrams is shown in figure 7, showing a characteristic division between stable and unstable regions. In the results below, the phase diagrams are presented as heatmaps to show the variation in prediction time within the stable region.
Figure 7.
Simplified visualization of a phase diagram for the parallel AS controller described in this article, showing the stability of the anticipating manifold on the K–τ plane. White areas are regions in which the anticipating manifold is stable, and the robot predicts its partner, while grey areas indicate that the manifold is unstable and prediction cannot occur.
3. Results
3.1. Leaky integrator follower
Observing the cross-correlation function between target and robot depicted in figure 8a, it can be seen that the lead time (represented by positive values) increases over the range of 0 < τ < 0.2 and K > 5. The region of stable anticipation is bounded by the region below K = 5, where the robot lags the target, and the region bounded by Kτ = 6, where the anticipation manifold becomes unstable, as shown in figure 7. Both of these features are consistent with the approximated stability conditions described in [24]: if K is not sufficiently large, the follower will continue to lag behind the leader, and if Kτ > a, where a is a constant value determined by the nature of the leader and follower, the joint system becomes unstable and no anticipation can occur.
Figure 8.
Cross-correlation peak lag (a) and peak correlation coefficient (b) plotted against coupling strength K and delay τ, where the dynamics of the internal model are governed by equation (2.3). Where K > 5, and barring the unstable region bounded by Kτ = 6, where the correlation coefficient is close to 0, the robot leads the target, as indicated by positive cross-correlation lag values.
The lag at 0.01 s feedback delay is 0.01 s, as displayed in figure 9a, considerably lower than that achieved by the proportional controller in the same minimum-delay condition (0.46 s, as shown in figure 10) despite optimal gain. Once τ is raised to 0.2 s, the robot begins leading the target by 0.09 s, albeit with reduced fidelity to the original waveform (figure 9b), reflecting the decrease in cross-correlation coefficient near the stability border shown in figure 8b.
Figure 9.
An example of the parallel controller with leaky integrator follower dynamics tracking a pseudo-random oscillating target along the X-axis, with 0.01 s (a) and 0.2 s (b) feedback delay. The target is represented by a solid line, while the robot’s end effector is shown as a dashed line. An increase in feedback delay causes the robot to lead the target on average at the cost of reduced accuracy.
Figure 10.

Proportional controller tracking a pseudo-random oscillating target along the X-axis, with 0.01 s feedback delay. The target is represented by a solid line, while the robot’s end effector is shown as a dashed line.
3.2. Harmonic oscillator follower
The harmonic oscillator-driven follower actually slightly leads the target by 0.03 s at 0.01 s feedback delay (figure 11a), but exhibits the same time response as the leaky integrator by τ = 0.2 s, as reflected in the plot of the cross-correlation over K and τ (figure 12). Figure 12 indicates that the robot anticipates the target throughout the range of τ, except when K is not sufficiently large, and within the unstable region in the top right. However, the harmonic oscillator produces fewer erroneous oscillations when anticipating nonlinear features of the target motion (compare the 5–10 s period in figures 9b and 11b).
Figure 11.
An example of the parallel controller with harmonic oscillator follower dynamics tracking a pseudo-random oscillating target along the X-axis, with 0.01 s (a) and 0.2 s (b) feedback delay. The target is represented by a solid line, while the robot’s end effector is shown as a dashed line. Where feedback is delayed by 0.2 s, the robot noticeably leads the target.
Figure 12.
Cross-correlation peak lag (a) and peak correlation coefficient (b) plotted against coupling strength K and delay τ, where the dynamics of the internal model are governed by equation (2.4). Where K > 5, and barring the unstable region bounded by Kτ = 6, where the correlation coefficient is close to 0, the robot leads the target, as indicated by positive cross-correlation lag values.
4. Discussion
In the previous sections, two potential internal models were tested to stand in for the robot’s dynamical behaviour, enabling a Baxter robot to act as a predictive follower. Despite being based on very simple dynamics, in both the harmonic oscillator and relaxation system cases, there was a characteristic correspondence among feedback delay, coupling strength and anticipation, consistent with Stepp’s observations in [25] and the analytical predictions of the study by Hayashi et al. [24]. However, due to the mismatch between the (complex) leader and (simple) follower, at no point did the robot’s lead time equal or exceed the feedback delay. In practical terms, this means that any control system based on this controller would exhibit minimal lag, but would not appear to anticipate the target to an outside observer. Nonetheless, this result matches the phenomenon seen in Stepp’s human studies, where the delayed cursor actually perceived by the subjects never overtook the target—similarly, the robot is only ‘aware’ of the delayed feedback, and it is this delayed version of the end effector that converges on the target.
This behaviour is qualitatively different from that of systems where a forward model is placed in serial with the target and the plant such as Oguchi and Nijmeijer’s [11]. In these, the prediction horizon is fixed, and any additional delay will ‘subtract’ from the prediction time. In contrast, the parallel system presented here is inherently adaptive: any increase in delay will be counteracted by an increase in anticipation, allowing the robot to operate without certainty of the delay value. This is a true step forward from the previous work in [13], showing that the same properties of robust anticipation can be applied to realistic robotic systems, even without a detailed forward model.
Of the two followers the harmonic oscillator-based follower exhibited a greater average anticipation period, unambiguously leading the target even in the lowest delay condition. This is in one way unsurprising, because the leader signal resembles an oscillation at the same natural frequency as the follower, with only the amplitude pseudo-randomized. In another respect, this is curious because the target motion is generated by low-pass filtered noise—i.e. a leaky integrator. Since the leader is driven by a pseudo-random process, neither follower can be considered a perfect match, but it is clear that the oscillators’ local behaviour (sinusoid-like peaks) is sufficiently similar to the leader to produce a prediction comparable to that of the leaky integrator’s.
Finally, although adding feedback delay to the system validated its ability to anticipate a target, the system’s behaviour when the delay is minimal is also worth examining. Both the oscillator and relaxation dynamics successfully eliminated the lag displayed by the proportional controller under the same conditions. This strongly indicates that anticipation is also occurring in response to the delay already present in the robot control loop, increasing the overall responsiveness of the system.
5. Conclusion
Although AS has properties that could be usefully applied to collaborative control, where predicting a partner’s movements is crucial, it relies on a similarity in dynamics between robot (follower) and partner (leader) that simply may not exist. This study has resolved this issue by expanding upon the parallel system first demonstrated in [13]. What would ordinarily be a single control loop is split into two: the first from a forward model responsible for setting the robot’s behaviour as a dynamical ‘follower’ and the second an AS coupling term, driving the robot to anticipate the target. The resulting controller can counteract any feedback delay that the system experiences with a proportional degree of anticipation, without requiring exact knowledge of the delay value. Our use of both leaky integrators and harmonic oscillators as the basis for the forward model to predict a pseudo-random oscillation firmly establishes that this parallel structure relaxes any requirement that the model should exactly match the robot’s dynamics. In its stead is the principle that the model should represent the dynamics the robot would need to anticipate the target—a much easier condition to meet.
The results shown here demonstrate that an existing collaborative robot can display the same adaptive anticipation capability observed in human delayed-feedback tracking experiments, which is an optimal behaviour for reducing lag and transient error.
This method cannot necessarily replace the need to infer intention when a partner switches tasks, or disengages, but provides a framework for smoothly performing the type of continuous spatial interaction that is necessary for harmonious cooperation. In such scenarios, the type of adaptive anticipation exhibited here is optimal for reducing lag and transient errors that drag down performance.
Supplementary Material
Acknowledgements
Thanks to Christopher Buckley, for encouraging me to finally get my work to publishing point, and everyone at CREATe for providing me with the environment to finally do so.
Data accessibility
Data and relevant code for this research work are stored in GitHub: https://github.com/hefebe/baxter_synchronisation_citable and have been archived within the Zenodo repository: https://www.doi.org/10.5281/zenodo.4290079.
Authors' contributions
H.E. designed and ran the simulations and drafted the manuscript, as well as designing and running the experiments. S.N. and Y.H. assisted in drafting the manuscript.
Competing interests
We declare we have no competing interests.
Funding
This study was partially funded by the University of Reading faculty funding for PhD studentship.
References
- 1.Shadmehr R. 2005. The computational neurobiology of reaching and pointing: a foundation for motor learning. Cambridge, MA: MIT Press.
- 2.Thobbi A, Gu Y, Sheng W. 2011. Using human motion estimation for human-robot cooperative manipulation. In 2011 IEEE/RSJ Int. Conf. on Intelligent Robots and Systems, San Francisco, CA, 25–30 September, pp. 2873–2878. IEEE.
- 3.Mainprice J, Hayne R, Berenson D. 2016. Goal set inverse optimal control and iterative replanning for predicting human reaching motions in shared workspaces. IEEE Trans. Rob. 32, 897–908. ( 10.1109/TRO.2016.2581216) [DOI] [Google Scholar]
- 4.Bussy A, Gergondet P, Kheddar A, Keith F, Crosnier A. 2012. Proactive behavior of a humanoid robot in a haptic transportation task with a human partner. In 2012 IEEE RO-MAN: The 21st IEEE Int. Symp. on Robot and Human Interactive Communication, Paris, France, 9–13 September, pp. 962–967. IEEE.
- 5.Ishida F, Sawada YE. 2004. Human hand moves proactively to the external stimulus: an evolutional strategy for minimizing transient error. Phys. Rev. Lett. 93, 168105 ( 10.1103/PhysRevLett.93.168105) [DOI] [PubMed] [Google Scholar]
- 6.Stepp N, Turvey MT. 2010. On strong anticipation. Cogn. Syst. Res. 11, 148–164. ( 10.1016/j.cogsys.2009.03.003) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 7.Haruno M, Wolpert DM, Kawato M. 2001. MOSAIC model for sensorimotor learning and control. Neural Comput. 13, 2201–2220. ( 10.1162/089976601750541778) [DOI] [PubMed] [Google Scholar]
- 8.Voss HU. 2000. Anticipating chaotic synchronization. Phys. Rev. E 61, 5115–5119. ( 10.1103/PhysRevE.61.5115) [DOI] [PubMed] [Google Scholar]
- 9.Hayashi Y, Nasuto SJ, Eberle H. 2016. Renormalized time scale for anticipating and lagging synchronization. Phys. Rev. E 93, 052229 ( 10.1103/PhysRevE.93.052229) [DOI] [PubMed] [Google Scholar]
- 10.Voss HU. 2001. Dynamic long-term anticipation of chaotic states. Phys. Rev. Lett. 87, 014102 ( 10.1103/PhysRevLett.87.014102) [DOI] [PubMed] [Google Scholar]
- 11.Oguchi T, Nijmeijer H. 2005. Control of nonlinear systems with time-delay using state predictor based on synchronization. In Proc. ENOC, Eindhoven, The Netherlands, 7–12 August, pp. 1150–1156.
- 12.Alvarez-Aguirre A, van de Wouw N, Oguchi T, Nijmeijer H. 2014. Predictor-based remote tracking control of a mobile robot. IEEE Trans. Control Syst. Technol. 22, 2087–2102. ( 10.1109/TCST.2014.2304741) [DOI] [Google Scholar]
- 13.Eberle H, Nasuto SJ, Hayashi Y. 2018. Anticipation from sensation: using anticipating synchronization to stabilize a system with inherent sensory delay. R. Soc. Open Sci. 5, 171314 ( 10.1098/rsos.171314) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 14.Voss HU, Stepp N. 2016. A negative group delay model for feedback-delayed manual tracking performance. J. Comput. Neurosci. 41, 295–304. ( 10.1007/s10827-016-0618-4) [DOI] [PubMed] [Google Scholar]
- 15.Dajani HR, Lam JC. 2008. Prediction of pulsatile physiological signals using a negative group delay circuit. In Proceedings of the 1st WSEAS Int. Conf. on Biomedical Electronics and Biomedical Informatics, Rhodes, Greece, 20–22 August, pp. 91–96. World Scientific and Engineering Academy and Society (WSEAS).
- 16.Baldi P, Meir R. 1990. Computing with arrays of coupled oscillators: an application to preattentive texture discrimination. Neural Comput. 2, 458–471. ( 10.1162/neco.1990.2.4.458) [DOI] [Google Scholar]
- 17.Cotter MJ, Fang Y, Levitan SP, Chiarulli DM, Narayanan V. 2014. Computational architectures based on coupled oscillators. In 2014 IEEE Computer Society Annual Symp. on VLSI, Tampa, FL, 9–11 July, pp. 130–135. IEEE.
- 18.Rethink Robotics. 2015 Baxter simulator. https://sdk.rethinkrobotics.com/wiki/Baxter.Simulator (accessed 13 July 2020).
- 19.Fitzgerald C. 2013. Developing baxter. In 2013 IEEE Conf. on Technologies for Practical Robot Applications (TePRA), Woburn, MA, 22–23 April, pp. 1–6. IEEE.
- 20.Rethink Robotics. 2014 Baxter arm. http://sdk.rethinkrobotics.com/wiki/File:Baxter_arm.png (accessed 29 July 2018).
- 21.Pratt GA, Williamson MM. 1995. Series elastic actuators. In 1995 IEEE/RSJ Int. Conf. on Intelligent Robots and Systems 95. ‘Human Robot Interaction and Cooperative Robots’, Proceedings, Pittsburgh, PA, 5–9 August, vol. 1, pp. 399–406. IEEE.
- 22.Wilcox BP. 2019. Sparse Online Locally Adaptive Regression using Gaussian Processes for Continual Robot Model Learning and Control. PhD thesis, University of California San Diego.
- 23.Quigley M, Conley K, Gerkey B, Faust J, Foote T, Leibs J, Wheeler R, Ng AY. 2009. ROS: an open-source robot operating system. In ICRA Workshop on Open Source Software, vol. 3, p. 5. Kobe, Japan.
- 24.Hayashi Y, Spencer MC, Nasuto SJ. 2013. A study of anticipatory non-autonomous systems. In 2013 Int. Joint Conf. on Awareness Science and Technology and Ubi-Media Computing (iCAST-UMEDIA), Aizu-Wakamatsu, Japan, 2–4 November, pp. 316–318. IEEE.
- 25.Stepp N. 2009. Anticipation in feedback-delayed manual tracking of a chaotic oscillator. Exp. Brain Res. 198, 521–525. ( 10.1007/s00221-009-1940-0) [DOI] [PMC free article] [PubMed] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Supplementary Materials
Data Availability Statement
Data and relevant code for this research work are stored in GitHub: https://github.com/hefebe/baxter_synchronisation_citable and have been archived within the Zenodo repository: https://www.doi.org/10.5281/zenodo.4290079.










