Safe Human Robot-Interaction using Switched Model Reference Admittance Control
Abstract
Physical Human-Robot Interaction (pHRI) task involves tight coupling between safety constraints and compliance with human intentions. In this paper, a novel switched model reference admittance controller is developed to maintain compliance with the external force while upholding safety constraints in the workspace for an n-link manipulator involved in pHRI. A switched reference model is designed for the admittance controller to generate the reference trajectory within the safe workspace. The stability analysis of the switched reference model is carried out by an appropriate selection of the Common Quadratic Lyapunov Function (CQLF) so that asymptotic convergence of the trajectory tracking error is ensured. The efficacy of the proposed controller is validated in simulation on a two-link robot manipulator.
keywords:
Robots manipulators, Work in real and virtual environments, Admittance Control, Model Reference Adaptive Control, Switched System1 Introduction
With the advent of industry 4.0, it is necessary to accommodate smarter and adaptable human-robot interaction strategies, where the human operators take care of tasks that require cognitive decisions, and the non-ergonomic tasks can efficiently be carried out by the robots through automation. However, in any human-robot interaction task, the most critical factors are the safety of the human as well as the environment and the robot’s compliance with the human operator.
The interaction force is typically used to create a medium through which humans and robots communicate their intentions. To achieve compliance in physical human-robot interaction, the interaction force must be modeled to obtain a force-to-position relation. Hence, for physical Human-Robot Interaction, the admittance control strategy by Keemink et al. (2018) is widely used where a virtual spring-mass damper system characterizes the interaction between robot and environment (or human). From the interaction force, admittance control generates a virtual trajectory that needs to be tracked by the robot. The virtual mass, damping, and stiffness can be defined with accurate knowledge of the environment. However, it becomes difficult to interact with humans due to their unparalleled ability to modulate muscle stiffness in any interaction task. Therefore, a dynamic relation is necessary by altering the virtual mass, damping, and stiffness characteristics.
In the mass-spring-damper system, admittance shows the relationship between the input force and the output position, whereas impedance shows the opposite. Many advanced control methodologies are also implemented, such as adaptive impedance/admittance control (Kelly et al. (1989)), robust impedance/admittance control (Liu and Goldenberg (1994)), or learning-based impedance/admittance control (Yang et al. (2018)) to obtain an efficient interaction. Recent trends in impedance/ admittance control are to modify or adapt the parameters to achieve desired interaction. Landi et al. (2017) used a passivity-based approach for variable admittance control. Duchaine and Gosselin (2007) estimated human intention from the time derivative of applied force to update the admittance parameters. Data-based methods like Fuzzy logic-based controllers by Dimeas and Aspragathos (2014), or neural network-based controllers by Yang et al. (2018) are also implemented to obtain variable admittance parameters; however, safety is often neglected while designing these controllers.
Since robots and humans share a common workspace, real-world deployment necessitates safety guarantees. In the interaction control framework, constraints on position and orientation in the working environment are frequently ignored in the control design, which can result in major risks or harm to the environment or the robot. The virtual trajectory generated from the admittance control may direct the robot toward an obstruction or a restricted location outside the safe task space. Control barrier functions (CBFs) as given by Rauscher et al. (2016) or Barrier Lyapunov Functions (BLFs) by Tee et al. (2010) are popularly used as a form of safety filter to put constraints on the states of the robot. But the issue with the BLF or CBF is that the control input becomes arbitrarily large near the safety margin, and the performance also deteriorates near the margin.
In this paper, a novel switched model reference admittance control framework has been developed for efficient human-robot interaction while maintaining safety. The algorithm has the following features:
-
•
provides compliance to the human when the robot operates under a safe task space.
-
•
modifies the admittance control parameters to provide safety at the outer level controller, providing more robustness.
-
•
adopts a switched adaptive framework to define the update law for the parameters.
The paper is organized as follows: Section II provides an overview of the physical human-robot interaction scheme. Section III discusses the safety constraints and switched model reference strategy, followed by the stability analysis in section IV. In section V, a simulation of a two-link manipulator is presented. Finally, section VI presents the conclusions and discusses future works.
2 Physical HRI Scheme
2.1 Rigid Body Dynamics and Robot Model
The dynamic model of an n-link robot manipulator in joint space is given as described in Spong and Vidyasagar (2008),
(1) |
where , , and are the vectors of joint angle, velocity, and acceleration, respectively; denotes the generalized inertia matrix, denotes the Coriolis and Centripetal torque matrix, is the gravity vector, is the control torque of the robot and is the external torque experienced by the robot.
In human-robot interaction, it is much simpler for the human to follow or generate a trajectory in the Cartesian space, so the joint-space dynamics of the n-link manipulator is converted into the Cartesian space for ease of analysis.
The robot kinematics follows the relation:
(2) |
where maps the robot’s joint angles to the end-effector positions in Cartesian space, where m is the dimension of the Cartesian space and is the end-effector position in Cartesian space.
The Cartesian space velocities and the joint space velocities are related as
(3) |
where is the Jacobian of the robot manipulator.
The dynamics of the n-link manipulator in joint-space (1) is then converted to the Cartesian space using (3) as follows :
(4) |
, , and are the coefficient matrices in Cartesian space given by
(5) | ||||
(6) | ||||
(7) |
is the force input by the robot, and is the force experienced by the human operator, which is reflected in a relationship .
Remarks 1
If the dimension of the Cartesian space and the robot manipulator’s joint space is different, i.e., , the pseudo-inverse of the Jacobian is calculated in place of
By construction, the following properties are invoked explicitly.
Property 1
is a skew-symmetric matrix (Spong and Vidyasagar (2008)).
Property 2
The inverse of exits, and is positive-definite and bounded, i.e. where is a positive scalar constant (Spong and Vidyasagar (2008)).
We incorporate the following logical assumptions pertaining to robot manipulators.
Assumption 1
A singularity occurs when the joint velocity in joint space becomes infinite to maintain Cartesian velocity and is reflective of the break of continuity in joint space as related to Cartesian space. Singularity, mathematically expressed as , is assumed to be avoided.
Assumption 2
There exists a positive constant such that , where is a scalar constant and denotes the maximum possible interaction force from the environment or the human.
2.2 Admittance Control
To comply with the external human forces, the interaction between the robot’s end-effector and the human can be modeled as a mass-spring-damper system. Let , , where is the reference trajectory generated from the human and is the pre-defined desired trajectory given to the robot in the Cartesian space in the direction. The dynamics for the robot manipulator rendering an impedance can be written as:
(8) |
where , , , and are the virtual mass matrix, damping matrix, and stiffness matrix, respectively. They are also known as Admittance Parameters.
From (8) and , the upper-level admittance control provides a reference trajectory that needs to be tracked by the robot using lower-level position control. The admittance parameters are reflected on the robot by changing the apparent inertia, damping, and stiffness (Hogan and Buerger (2018)). So for different environments, the admittance parameters should be modified accordingly to reflect different interaction behaviors.
The objective of the proposed approach is to change the admittance parameters in a way that indicates compliance when operating within a safe workspace and resistance to external force when the safety limit is crossed. To deal with this, an adaptive approach is introduced to adapt the parameters according to the reference trajectory generated.
The designer of MRAC (Model Reference Adaptive Control) selects a reference system that imposes the desired behavior.
The adaptive law ensures that the controlled system follows the reference system and modifies the parameter accordingly to comply with the human arm while maintaining safety constraints.
3 Switched reference models
Consider the robot’s movement due to the external human force only in one direction. In (8), taking and , the state space representation can be given as follows:
(9) |
where is the position of the mass and is the velocity of the mass in the spring-mass-damper system. In the state-space form,
(10) |
where is the state vector consisting of position and velocity in the direction of applied force, is the control input, is the unknown state transition matrix and is a known input matrix.
Remarks 2
If the human force is applied from multiple directions, the same framework(9) can be applied to obtain reference trajectory in different directions.
Remarks 3
Inspired by the ability of humans to change muscle stiffness depending on the task, matrix A should not be designed a-priori; rather, it needs to be updated depending on the task.
The second-order dynamics, as given in (8), reflect the relationship between output reference trajectory and external force input. When the admittance parameters, such as virtual damping and virtual spring constant, are set to higher values, the robot interaction becomes stiff, which demands higher energy. However, it is easier for a human to operate with lower parameter settings; therefore, it becomes important to encapsulate this in the control logic and switch between low and high admittance parameters based on the end-effector position to cater to the safety needs.
Switching the parameters to a high value instantly increases the oscillation and may lead to instability or harm the human. So a switched reference model is proposed where the system(9) will try to adapt the reference model parameters, and the model reference is switched instead of the actual system, depending upon the position of the reference states.
Remarks 4
If one can define the adaptive update law such that asymptotic convergence of the switched system is guaranteed, reference trajectory () generated from the admittance control will be ensured to remain in safe region. Thus, we are defining task space safety in the admittance control parlance that will also be reflected in the robot’s trajectory(). However, the task space safety limit needs to be defined properly as it is not absolute but depends on the robot’s pre-defined desired trajectory.
The reference system is chosen to be PWA (Piece-wise Affine), and as given as:
(11) |
where and are the states and input of the reference system, respectively.
The reference state space() is partitioned into s polyhedral regions . The polyhedral region is defined by a set of linear inequalities, where is finite.
(12) |
where represents element-wise list of operators and . Each row vector defines a hyperplane that divides the state space into two half-spaces.
Remarks 5
Each hyperplane must be a member of one of the two adjacent partitions. This is required to obtain a state-space partition devoid of overlapping regions., i.e., .
The region which contains the current state vector determines which subsystem is active. The indicator function is expressed as
(13) |
As the regions do not overlap, it follows that and .
The parameters of the reference system change according to the indicator functions as in (13) and therefore given by with . The virtual mass is kept constant for all the subsystems.
The reference system needs to switch between models to fulfill the safety constraints and compliance with the interaction force, but the system output is a continuous smooth trajectory as it is trying to adapt to the reference system and not switching itself. The switching law can be defined using the actual system output also.
The stability of the reference system (11) is essential for the tracking problem. Assuming that each subsystem is stable, it follows that there exists a symmetric, positive definite Lyapunov matrix for every symmetric, positive definite matrix such that
(14) |
Hence, is a quadratic Lyapunov function for the i-th subsystem of the reference system.
Definition 1
The common Lyapunov function approach is sometimes viewed as more conservative than the multiple Lyapunov function method, although it also offers its own benefits.
-
1.
A common Lyapunov function, if it exists, is easier to obtain.
- 2.
Considering the Direct MRAC case, the control input to the system takes the form
(15) |
with estimated control gains , and , as is considered.
Remarks 6
It is necessary to simultaneously activate a set of control gains whenever the system’s parameters change. Therefore, the gain is controlled by the same switching functions, , i.e., .
Controlling the system(10) with the control input as given in (15) yields the closed-loop system
(16) | ||||
(17) |
which should be equal to (11) for suitably chosen control gains.
Assumption 3
There must be nominal control gains that meet the matching conditions for the tracking issue to be feasible.
(18) |
A well-known advantage of the MRAC is that the control gains need not converge to the nominal control gains. The gain update rule must be specified to track the reference trajectory so that, even if we change the model reference to be very stiff, our actual system will only vary the gains to track the reference system output.
4 Stability Analysis
The objective of the proposition is to design the algorithm such that the error between the system output trajectory and that of the switched Model Reference should converge to zero asymptotically. For the convergence guarantee, the stability analysis of overall switched system is important to study. This is presented in the form of following theorem.
Theorem 1
Consider the system as given by (10) and the switched model reference (11). If there exists a positive definite common quadratic Lyapunov matrix P, then the actual system (10) output will converge to the switched model reference (11) asymptotically for any arbitrary switching with parameter adaptive gains as given
(19) |
where is a positive diagonal matrix, and is the symmetric, positive definite common quadratic Lyapunov matrix as defined in (1).
Proof 4.1
The error between the current control gains and the nominal gains is defined as . Rewriting the closed-loop system dynamics using the reference system and the gain error:
(20) |
From (20) and (11), the dynamics of the tracking error, e=, is given as
(21) |
If the control gains take the nominal values defined in (18), then the error dynamics defined in (21) reduced to , which indicates that the tracking error e converges to zero exponentially for stable reference system.
Consider the following Lyapunov Candidate function,
(22) |
where is a diagonal positive definite gain matrix. The candidate Lyapunov function is a positive definite, radially unbounded function. The time derivative of (22) is
(23) | ||||
(24) |
If the parameter update law () is chosen as (19), then the time derivative becomes negative semi-definite as follows.
(25) |
From La-salle’s invariance principle (Khalil (2015)), the asymptotic convergence of the error between the reference model output trajectory and the admittance controller output trajectory can be proved.
5 Results and Discussion
The proposed method incorporates the following broad steps.
-
•
An external force in the XY-plane is applied to a two-link robot manipulator to validate the results.
-
•
Accordingly, the virtual trajectory() in the X and Y directions are generated online, maintaining the safety constraints using switched reference admittance control.
-
•
Consequently, the reference trajectory is generated, which is used for lower-level control design.
-
•
A standard feedback linearizing control structure in Cartesian space is designed at the lower level to achieve the desired trajectory tracking.
5.1 Robot manipulator control
Consider a two-link robot manipulator in the horizontal plane for simulation purposes. Based on (1), the dynamic parameters of the robot are given as:
(26) |
(27) |
(28) |
where, , , ,
, , , kg, kg are the mass of links 1 and 2, respectively. The length of the links are m, and is the acceleration due to gravity.
The Jacobian of the robot manipulator is given as
(29) |
The reference trajectory for the robot to follow can be generated from the admittance control framework considering the desired location is at the origin
(30) |
where and are the reference trajectory generated in X and Y direction, respectively.
A PD controller is chosen for trajectory tracking as the lower-level position controller of the robot in the task space. The idea is to determine the force needed in task space to track the desired reference trajectory and then convert the Cartesian force to the joint input torque.
The control input force can be defined from Eq. (4) using Feedback Linearization as follows:
(31) |
This results in a closed loop unit mass dynamics as , where a is a virtual acceleration. The virtual acceleration needs to be designed so that the error between the reference trajectory and the robot trajectory goes to zero. The error() is used to design the virtual acceleration as
(32) |
where are the PD controller gains.
5.2 Switched Admittance Control
As described in Section 3, the reference system is chosen using (11) with the following subsystem matrices
The maximum value of the external force input is chosen at , which is acceptable from an engineering point of view.
The admittance parameter values are chosen small for the first sub-system maintaining the compliance property. For the second subsystem, the stiffness is chosen such that upon applying the maximum external force, the steady state value of the reference trajectory will remain within the defined bound, and the damping is also chosen accordingly.
The safety constraint is put as the reference position output of the admittance control should be within a prescribed value and described according to Eq. 12.
The region partitions are given as
(33) |
where represents the position of the reference model output and is a tolerance value based on the system’s hardware. The switching occurs when the state crosses the task-space safety limit, so it is inevitable to confine the trajectory within the defined boundary. Hence a safe threshold () is defined for the simulation with of the actual safety boundary.
The matrices are chosen by the user, and accordingly, the common quadratic Lyapunov matrix, is obtained by solving the matrix inequalities as described in Theorem 1,
The update gain for the different switching regions is chosen as
Remarks 7
The gain in region 2() needs to be larger than the gain in region 1() for all time to follow the safety constraint strictly.
An adaptive update law for the admittance parameters is obtained from the adaptation law as given in Eq. (19).
The force input to the reference system is given as
(34) |
where and are the external forces acting on the manipulator’s end-effector from the X and Y directions, respectively. The frequency of the external force is kept low (within 1.2Hz) so that the stability is maintained for the overall system as described in Dimeas and Aspragathos (2016).

From Fig. 1, one can observe the compliance property of the robot when the external force is low. However, when the force is increased, the reference system switches to high admittance parameters model to keep the virtual trajectory() within the safety limit, i.e., 1m. Similarly, in the Y direction, the trajectory() is obtained using the safety limit.
One can also observe that the system is becoming stiff upon reaching the safety limit without compromising performance.

The admittance parameters are updated following Eq. 19, and the parameters variations are plotted in Fig. 2. The stability analysis ensures no parameter drift and the oscillations are decreasing, as one can infer from Fig. 2. Our future task will incorporate the issue of oscillations in the parameters.

The reference trajectory obtained from the admittance control model is tracked by the two-link manipulator following Eq.31. The end-effector trajectory and the safety margin are given in Fig. 3.

Usually, to confine the robot within certain constraints, a high value of control input is required near the boundary. The control effort as shown in Figure. 4 is also within the range of 30N, where the maximum force exerted by the human is 7.5N, which the motors can easily deliver.
6 Conclusion
A novel switched admittance controller framework for safe human-robot collaboration with human force compliance is proposed. The state-dependent switched reference model is introduced to update the admittance control parameters. The user chooses parameter values of reference models and based on that, a common quadratic Lyapunov function (CQLF) is obtained to establish the stability of the switched system. Experimental results are also provided to illustrate the successful performance of the controller. In the future, the proposed controller will be implemented on a hardware setup to enhance the feasibility of the results.
References
- Dimeas and Aspragathos (2014) Dimeas, F. and Aspragathos, N. (2014). Fuzzy learning variable admittance control for human-robot cooperation. In 2014 IEEE/RSJ International Conference on Intelligent Robots and Systems, 4770–4775. IEEE.
- Dimeas and Aspragathos (2016) Dimeas, F. and Aspragathos, N. (2016). Online stability in human-robot cooperation with admittance control. IEEE transactions on haptics, 9(2), 267–278.
- Duchaine and Gosselin (2007) Duchaine, V. and Gosselin, C.M. (2007). General model of human-robot cooperation using a novel velocity based variable impedance control. In Second Joint EuroHaptics Conference and Symposium on Haptic Interfaces for Virtual Environment and Teleoperator Systems (WHC’07), 446–451. IEEE.
- Hogan and Buerger (2018) Hogan, N. and Buerger, S.P. (2018). Impedance and interaction control. In Robotics and automation handbook, 375–398. CRC press.
- Keemink et al. (2018) Keemink, A.Q., van der Kooij, H., and Stienen, A.H. (2018). Admittance control for physical human-robot interaction. The International Journal of Robotics Research, 37(11), 1421–1444.
- Kelly et al. (1989) Kelly, R., Carelli, R., Amestegui, M., and Ortega, R. (1989). On adaptive impedance control of robot manipulators. In Proceedings, 1989 International Conference on Robotics and Automation, 572–577. IEEE.
- Kersting and Buss (2017) Kersting, S. and Buss, M. (2017). Direct and indirect model reference adaptive control for multivariable piecewise affine systems. IEEE Transactions on Automatic Control, 62(11), 5634–5649.
- Khalil (2015) Khalil, H.K. (2015). Nonlinear control, volume 406. Pearson New York.
- Landi et al. (2017) Landi, C.T., Ferraguti, F., Sabattini, L., Secchi, C., and Fantuzzi, C. (2017). Admittance control parameter adaptation for physical human-robot interaction. In 2017 IEEE international conference on robotics and automation (ICRA), 2911–2916. IEEE.
- Liberzon and Morse (1999) Liberzon, D. and Morse, A. (1999). Basic problems in stability and design of switched systems. IEEE Control Systems Magazine, 19(5), 59–70. 10.1109/37.793443.
- Liu and Goldenberg (1994) Liu, G. and Goldenberg, A.A. (1994). Robust hybrid impedance control of robot manipulators via a tracking control method. In Proceedings of IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS’94), volume 3, 1594–1601. IEEE.
- Rauscher et al. (2016) Rauscher, M., Kimmel, M., and Hirche, S. (2016). Constrained robot control using control barrier functions. In 2016 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), 279–285. IEEE.
- Spong and Vidyasagar (2008) Spong, M.W. and Vidyasagar, M. (2008). Robot dynamics and control. John Wiley & Sons.
- Tee et al. (2010) Tee, K.P., Yan, R., and Li, H. (2010). Adaptive admittance control of a robot manipulator under task space constraint. In 2010 IEEE International Conference on Robotics and Automation, 5181–5186. IEEE.
- Yang et al. (2018) Yang, C., Peng, G., Li, Y., Cui, R., Cheng, L., and Li, Z. (2018). Neural networks enhanced adaptive admittance control of optimized robot–environment interaction. IEEE transactions on cybernetics, 49(7), 2568–2579.