Trajectory Advancement during Human-Robot Collaboration
Yeshasvi Tirupachuri, Gabriele Nava, Lorenzo Rapetti, Claudia Latella,, Daniele Pucci

TL;DR
This paper introduces a mathematical approach for trajectory advancement in human-robot collaboration, enabling robots to better exploit human assistance for task success, validated through experiments with the iCub robot.
Contribution
It proposes a novel trajectory advancement method that leverages interaction wrench for improved human-robot collaboration, validated in simulation and real-world experiments.
Findings
Effective trajectory advancement demonstrated with iCub robot
Method successfully exploits human assistance during collaboration
Validated in both simulation and real-world settings
Abstract
As technology advances, the barriers between the co-existence of humans and robots are slowly coming down. The prominence of physical interactions for collaboration and cooperation between humans and robots will be an undeniable fact. Rather than exhibiting simple reactive behaviors to human interactions, it is desirable to endow robots with augmented capabilities of exploiting human interactions for successful task completion. Towards that goal, in this paper, we propose a trajectory advancement approach in which we mathematically derive the conditions that facilitate advancing along a reference trajectory by leveraging assistance from helpful interaction wrench present during human-robot collaboration. We validate our approach through experiments conducted with the iCub humanoid robot both in simulation and on the real robot.
| \rowcolorCustomGray \cellcolorwhite | ||||||
| \rowcolorGreenYellow (a) | ||||||
| \rowcolorGreenYellow (b) | ||||||
| \rowcolorGreenYellow (c) | ||||||
| \rowcolorApricot (d) | ||||||
| \rowcolorApricot (e) | ||||||
| \rowcolorApricot (f) |
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
\arrayrulecolor
white
Trajectory Advancement
during Human-Robot Collaboration
Yeshasvi Tirupachuri1**2, Gabriele Nava1**2, Lorenzo Rapetti1**3, Claudia Latella1, Daniele Pucci1 This work is supported by PACE project, Marie Skłodowska-Curie grant agreement No. 642961 and An.Dy project which has received funding from the European Union's Horizon 2020 Research and Innovation Programme under grant agreement No. 731540.1Dynamic Interaction Control, Istituto Italiano di Tecnologia, Genova, Italy [email protected]2DIBRIS, University of Genova, Genova, Italy3*School of Computer Science, University of Manchester, Manchester, United Kingdom
Abstract
As technology advances, the barriers between the co-existence of humans and robots are slowly coming down. The prominence of physical interactions for collaboration and cooperation between humans and robots will be an undeniable fact. Rather than exhibiting simple reactive behaviors to human interactions, it is desirable to endow robots with augmented capabilities of exploiting human interactions for successful task completion. Towards that goal, in this paper, we propose a trajectory advancement approach in which we mathematically derive the conditions that facilitate advancing along a reference trajectory by leveraging assistance from helpful interaction wrench present during human-robot collaboration. We validate our approach through experiments conducted with the iCub humanoid robot both in simulation and on the real robot.
I INTRODUCTION
The world as we know it is dynamic and evolving. Humans are quite agile in incorporating the latest technologies and augment their umwelt effortlessly. It is indisputable that technological progress is headed in the direction of co-existence between humans and robots. The research field of physical Human-Robot Interaction (pHRI) plays a vital role in investigating several aspects that ensure safe co-existence. Robots are evolving to be active agents to support humans in various endeavors and to further augment their capabilities. Human-Robot Collaboration (HRC) has many potential applications such as collaborative manufacturing and elderly assistance.
Typical HRC scenarios involve a human and a robotic agent engaged in physical interactions with a common goal of accomplishing a task. Example scenarios of HRC are shown in Fig. 1 where a human is helping a manipulator to pick an object or a humanoid robot to stand up by exerting an external wrench. During such scenarios, an intuitive robot behavior is to leverage human assistance and achieve its task quicker. This paper aims at endowing robots with the capabilities to advance along a reference trajectory by leveraging assistance provided during HRC.
Given the task of tracking a reference trajectory, impedance control [1] [2] is one of the most exploited approaches to achieve stable robot behavior while maintaining contacts. It facilitates a compliant and safe physical interaction between the agents in HRC scenarios. Any interaction wrench from the human is handled safely by changing the robot’s actual trajectory i.e. the forces and moments are controlled by acting on position and orientation changes. Novel adaptive control schemes are successfully implemented expanding the applicability of impedance control [3] [4] [5]. The quality of interaction is further augmented through online adaptive admittance controls schemes which consider human intent inside the control loop [6] [7]. These adaptive control schemes endow robots with compliant characteristics that are safe for physically interacting with them. An obvious outcome of such compliance is the momentary deviation from the reference trajectory to accommodate external interactions but the original trajectory is restored when the interaction stops [8].
The concept of trajectory deformation facilitates the adaptation of robot trajectories to handle external perturbations or possible obstacles that are present in the robot’s original trajectory. The authors of [9] use affine transformations on parts of the motion trajectory which ensures preserving affine-invariant features of the original trajectory like line smoothness and velocity. More recently, the authors of [10] demonstrated optimal trajectory deformation through constrained optimization of an energy function ensuring the minimum-jerk profile. Although the resulting deformed trajectories are optimal, a main limitation in the above works is that the speed of the task is unchanged.
The framework of dynamic movement primitives (DMP) is a class of dynamical systems that enables task representation by a set of differential equations [11]. This facilitated numerous works on robot learning by demonstration and successfully achieved motion planning, on-line trajectory modification, imitation learning and skill transfer [12] [13] [14]. More interestingly, the authors of [15] [16] present an intuitive approach to HRC in which the task representation is captured through speed-scaled dynamic motion primitives that allows changing the speed of the task through physical interactions. One of the main limitations in these approaches is the general applicability for trajectory generation without the foremost step in which the desired movement that solves a given task e.g. pick and place has to be learned through direct imitation or kinesthetic guiding of the robot. Furthermore, choosing the right values for all the parameters involved is rather complicated.
Physical interactions during HRC are often intentional and can provide informative insights that can augment the task completion [17]. Consider an example case of a robot moving along a given Cartesian reference trajectory performing a pick and place task. An intuitive interaction of a human with the intention to speed up the robot motion is to apply forces in the robot’s desired direction. Under such circumstances, traditionally, the robot can either render a compliant behavior through impedance/admittance control or switch to gravity compensation mode that allows the human to move the robot freely (compromising task accuracy). Instead, a more intuitive behavior is to advance further along the reference trajectory and complete the task quicker. This motivates us to propose a trajectory advancement approach through which the robot can advance along the reference trajectory leveraging assistance from physical interactions.
The rest of the paper is organized as follows: Section II presents the basic notation, modeling used in this paper followed by a brief description of the classical feedback linearization control approach with the limitations in HRC scenarios and then present the problem statement. Section III describes our approach to constructing a parametrized reference trajectory, mathematical definition of helpful interaction and the proposition of trajectory advancement. Description of the experiments conducted and related specifications are laid down in section IV followed by a discussion of the results in section V and conclusions in section VI.
II BACKGROUND
II-A Notation & Modeling
- •
The inertial frame of reference is denoted by , with -axis pointing against gravity.
- •
The constant denotes the norm of the gravitational acceleration.
- •
The robotic system is considered to be floating base [18] that has rigid body links connected through joints.
- •
The configuration space of a free-floating system is characterized by the joint positions and the floating base frame . It is defined as a set of elements with dimensions representing the floating base and the total number of joints . Hence, it lies on the Lie group .
- •
An element in the configuration space is denoted by , which consists of pose of the base frame where denotes the position of the base frame with respect to the inertial frame; denotes the rotation matrix representing the orientation of the base frame with respect to the inertial frame; and the joint positions vector captures the topology of the robot.
- •
The robot velocity is characterized by the linear and angular velocity of the base frame along with the joint velocities. The configuration velocity space lies on the Lie group and an element is defined as where denotes the linear and angular velocity of the base frame expressed with respect to the inertial frame, and denotes the joint velocities.
The equations of motion of a floating base robotic system are described by,
[TABLE]
where, is the mass matrix, is the Coriolis matrix, is the gravity term, is a selector matrix, is a vector representing the robot’s joint torques, represents the external wrenches acting on contact links of the robot, and is the contact jacobian.
II-B Classical Feedback Linearization Control
Consider the problem of Cartesian trajectory tracking by a link of the robot where denote the desired position, velocity and acceleration in Cartesian space, parametrized in time . Now, is the velocity tracking error to be minimized. The robot link’s actual velocity has a linear map to the robot’s velocity through the Jacobian matrix , i.e.
[TABLE]
The control objective for the tracking task is defined as,
[TABLE]
where are positive symmetric feedback matrices. According to the classical feedback linearisation approach [19] we can find the robot joint torques such that the control objective (3) is satisfied and the trajectory tracking error is minimized. The robot control torques necessary for trajectory tracking with the desired dynamics directed by Eq. (3) are obtained using Eq. (2). On differentiating we get the following relation,
[TABLE]
The quantity in the above equation is the robot’s acceleration that can be derived from the equations of motion (1) as where, . Using this relation in (4), we get
[TABLE]
Now, using the desired dynamics from Eq. (3), we compute the control torques as
[TABLE]
On putting in a compact form, we have:
[TABLE]
where
- •
- •
- •
- •
is the nullspace projector of
- •
represent torques required to satisfy lower priority tasks in case of redundancy in joint torques
The above control torques completely cancel out any external wrench applied during physical interactions with the robot. Although this approach is quite robust to external perturbations, it is also limited in facilitating HRC scenarios that require active collaboration between a human partner and a robot [20].
II-C Problem Statement
Given a reference trajectory to be tracked by a link of the robot, the problem statement can be summarized as how to advance along the reference trajectory by exploiting helpful physical interactions with the robot. Accordingly, the main contributions of this work are:
- •
Mathematically defining helpful interaction that provides assistance to accomplish a task;
- •
Designing a parametrized reference trajectory and determining the conditions that facilitate advancing along it using the assistance from physical interactions.
III METHOD
III-A Parametrized Reference Trajectory
Traditionally, motion control problems involving tracking of a reference trajectory has both spatial dimension, encapsulated in geometric path, and temporal dimension, encapsulated in the dynamic evolution of the geometric path [21]. Accordingly, the reference trajectory is a time () parametrized curve and the control design drives the system to a specific point in space at a specific pre-defined time. In contrast, the path following problem involves converging to and following a geometric path without any temporal constraints [22]. In this work, we bank on the concepts of path following and design a parametric curve parametrized with a free parameter . The choice of becomes clear in the subsequent sections. The resulting parametric curve is the desired geometric path to be followed spatially by a link of the robot. Assuming that the free parameter is time dependent i.e., , the first and second time derivatives of the path are given as following,
[TABLE]
III-B Interaction Exploitation
Consider the control objective of trajectory tracking where at each time instant the reference position (, velocity , and acceleration are taken from the reference trajectory parametrized in . The term in the control torques Eq. (7) represents the Cartesian resultant acceleration that results under the influence of external interaction wrench . Instead of completely cancelling out the effects of external interaction wrench, it is desirable to exploit any helpful components to advance along the desired reference trajectory making an active collaboration possible during HRC. More specifically, let us define the helpful interaction by decomposing the external wrenches into parallel and perpendicular components along the desired velocity as,
[TABLE]
where is the unit vector along the direction of the desired velocity, is the resultant acceleration component projected along the direction parallel to the direction of desired velocity. An intuitive choice for the component is in the direction of desired velocity i.e. . Accordingly, we define a correction wrench111The name correction wrench is an abuse of notation but has an intuitive meaning in conveying the notion of helpful interaction wrench. Also, the units of wrench \mathrm{N}\mathrm{N}\text{,}\mathrm{m} are used. term given by , that represents the helpful interaction mathematically.
III-C Trajectory Advancement
Proposition**.**
The time evolution of the free parameter for trajectory advancement leveraging assistance is given by the following update rule,
[TABLE]
Proof.
Given the correction wrench term, the desired dynamics for the trajectory tracking task is updated as,
[TABLE]
Using the above choice of the desired dynamics, the robot control torques defined in Eq. (7) will only compensate for external wrench that is not helpful. Now, consider the following Lypunov function candidate,
[TABLE]
On differentiating , we get:
[TABLE]
Given the updated desired dynamics in Eq. (11) we rearrange it as and use it in the derivative of the Lyapunov function to obtain the following relation,
[TABLE]
According to Lyapunov theory, the stability of the system is ensured when . Given that is a positive symmetric matrix, the term . So, to ensure the stability of the system i.e. , the following condition has to be satisfied,
[TABLE]
Considering that and , the above inequality is equivalent to ,
[TABLE]
Assuming the lower bound , we obtain
[TABLE]
The condition in Eq. (16) reflects the time evolution of the free parameter which helps in advancing along the desired reference trajectory exploiting the external interaction wrenches with the robot. The lower bound value signifies that the new parametrization is exactly equal to the time parametrized trajectory i.e. until any external wrench is applied such that it will help the robot’s task. Under the influence of helpful external wrench, the value of becomes greater than . On integrating/differentiating we determine the advancement along the desired reference trajectory,
[TABLE]
Now, the updated references for trajectory tracking becomes . Besides, an upper limit is set to bound the length of advancement along the reference trajectory ensuring safe physical interactions.
Remark: Strictly speaking, the choice of as stated in Eq. (10) induces an algebraic loop when applied with the control law Eq. (11). In fact, the updated reference acceleration does depend on the Cartesian acceleration , and, consequently, on the joint torques . For this reason, no formal stability statement was claimed in Proposition Proposition. From the theoretical point of view, the algebraic loop can be avoided by designing an update rule for rather than , and by modifying the control law (11) so that the reference Cartesian acceleration is not compensated anymore. This choice, however, would imply the calculation of through double numerical integration of , which may lead to fast divergence of the reference trajectory due to numerical drifts. For this reason, the proposed control solution (10)-(11), despite not being fully theoretically sound, resulted to be more robust when applied in practice. Furthermore, the algebraic loop can be resolved at the implementation level by computing the numerical derivative with one time step of delay, and/or by low-pass filtering the signal to also attenuate the effect of numerical noise. Driven by these motivations we used Eq. (10)-(11) for controlling the robot and verified the closed-loop system stability numerically. The derivation of a controller with proven stability properties is an on going activity that will be carried on in future works.
IV EXPERIMENTS
IV-A Experimental Setup
The robotic platform considered in our experiments is the iCub humanoid robot [23]. The control objective is to move the * right foot* of the robot along the desired reference trajectory. The leg of the robot has joints at the hip, joint at the knee, and joints at the ankle. For the sake of intuition and page limitation, this work considers only one dimensional (1D) trajectory in direction. The reference trajectory is a sinusoidal function of amplitude \mathrm{m} with frequency $0.1$\mathrm{Hz} and is designed to have minimum jerk profile [24]. Concerning the task of trajectory tracking with the leg, the robot base is fixed on a pole as shown in Fig. 2(a). The link frame associated with the right foot of the robot and the inertial frame of reference (shown under the pelvis of the robot) are highlighted in Fig. 2(b).
Experiments are carried out in both Gazebo simulation and on the real robot. The controller is implemented in Matlab Simulink, using whole-body toolbox [25], as a stack-of-tasks controller with trajectory tracking as the primary objective. The controller gains are tuned to achieve good trajectory tracking both in simulation and on the real robot as highlighted in Fig. 3. The trajectory tracking error in the case of simulation is very small and can be attributed to numerical instability of the dynamics integration in Gazebo simulation and numerical noise in measurements. On the other hand, the trajectory tracking error on the real robot is certainly higher than in simulations owing to several unmodeled effects such as joint friction which are prominent on the real robot. Friction induces phase delays in following the desired trajectory resulting in higher tracking error. The upper limit is set to for experiments both in simulation and on the real robot.
IV-B Wrench Classification
The iCub robot has a force-torque sensor embedded at the end-effector considered for the experiments i.e. the right foot. Instead of reading the sensor measurements directly in sensor frame, the wrench measurements are expressed with a frame that has the origin of the end-effector frame and the orientation of the inertial frame of reference [26]. An external wrench applied to the link of the robot is classified, in this work, in two ways:
- •
Assistive wrench if the external wrench has a vector component along the desired direction of motion
- •
Agnostic wrench if the external wrench does not have vector components along the desired direction of motion
Examples of external wrench classification are highlighted in Fig. 4. Considering that the desired direction of motion for the foot is in positive -direction with respect to the inertial frame of reference, the external wrenches shown in Fig. 4(a) 4(b) 4(c) are assistive wrenches as they have a vector component along the positive -direction. Similarly, the external wrenches shown in Fig. 4(d) 4(e) 4(f) are agnostic wrenches as they do not have any vector component along the positive -direction.
Concerning the experiments conducted in Gazebo simulation environment, wrench is applied through a plugin [27]. Due to the limited operational space of the robot we chose a fixed duration of \mathrm{s}$$ for the wrench. Furthermore, the wrench applied has a smooth profile rather than an impulse profile. This is an experimental design choice made to mimic the intentional interaction wrench applied by a human on the real robot during HRC scenarios.
V RESULTS
V-A Simulation
The first set of experiments are performed in Gazebo simulation environment. A set of test wrenches listed in the table V-A are applied when the desired direction of motion is along the positive -direction. These test wrench vectors are similar in direction to the wrench vectors highlighted in the wrench classification examples Fig. 4. The first three wrench vectors (a)(b)(c) are classified as assistive wrenches as they have a vector component (highlighted in blue) along the desired direction of motion i.e. positive -direction. The next three wrench vectors (d)(e)(f) are classified as agnostic wrenches as they do not have any vector component along the desired direction of motion.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] N. Hogan, “Impedance control: An approach to manipulation,” in 1984 American control conference . IEEE, 1984, pp. 304–313.
- 2[2] E. Magrini, F. Flacco, and A. De Luca, “Control of generalized contact motion and force in physical human-robot interaction,” in 2015 IEEE international conference on robotics and automation (ICRA) . IEEE, 2015, pp. 2298–2304.
- 3[3] S. Gopinathan, S. Otting, and J. Steil, “A user study on personalized adaptive stiffness control modes for human-robot interaction,” in 2017 26th IEEE International Symposium on Robot and Human Interactive Communication (RO-MAN) . IEEE, 2017, pp. 831–837.
- 4[4] Y. Li and S. S. Ge, “Impedance learning for robots interacting with unknown environments,” IEEE Transactions on Control Systems Technology , vol. 22, no. 4, pp. 1422–1432, 2013.
- 5[5] E. Gribovskaya, A. Kheddar, and A. Billard, “Motion learning and adaptive impedance for robot control during physical interaction with humans,” in 2011 IEEE International Conference on Robotics and Automation . IEEE, 2011, pp. 4326–4332.
- 6[6] I. Ranatunga, F. L. Lewis, D. O. Popa, and S. M. Tousif, “Adaptive admittance control for human–robot interaction using model reference design and adaptive inverse filtering,” IEEE Transactions on Control Systems Technology , vol. 25, no. 1, pp. 278–285, 2016.
- 7[7] A. Lecours, B. Mayer-St-Onge, and C. Gosselin, “Variable admittance control of a four-degree-of-freedom intelligent assist device,” in 2012 IEEE International Conference on Robotics and Automation . IEEE, 2012, pp. 3903–3908.
- 8[8] M. Geravand, F. Flacco, and A. De Luca, “Human-robot physical interaction and collaboration using an industrial robot with a closed control architecture,” in 2013 IEEE International Conference on Robotics and Automation . IEEE, 2013, pp. 4000–4007.
