<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>Human Uncertainty-Aware MPC for Enhanced Human-Robot Collaborative Manipulation</title></titleStmt>
			<publicationStmt>
				<publisher>IEEE</publisher>
				<date>05/12/2024</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10546377</idno>
					<idno type="doi">10.1109/ICPS59941.2024.10640020</idno>
					
					<author>Al Jaber Mahmud</author><author>Duc M Nguyen</author><author>Filipe Veiga</author><author>Xuesu Xiao</author><author>Xuan Wang</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[This paper presents the development of a novel control algorithm designed for tasks involving human-robot collaboration. By using an 8-DOF robotic arm, our approach aims to counteract human-induced uncertainties added to the robot's nominal trajectory. To address this challenge, we incorporate a variable within the regular Model Predictive Control (MPC) framework to account for human uncertainties, which are modeled as following a normal distribution with a non-zero mean and variance. Our solution involves formulating and solving an uncertainty-aware Discrete Algebraic Ricatti Equation (ua-DARE), which yields the optimal control law for all joints to mitigate the impact of these uncertainties. We validate our methodology through theoretical analysis, demonstrating the effectiveness of the ua-DARE in providing an optimal control strategy. Our approach is further validated through simulation experiments using a Fetch robot model, where the results highlight a significant improvement in performance over a baseline algorithm that does not consider human uncertainty while solving for optimal control law.]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><head>I. INTRODUCTION</head><p>Systems involving collaboration between humans and robots have the potential to reduce the workload on human operators through robotic assistance significantly. The ability of such human-assistive autonomous robots to adapt to unpredictable human preferences while optimizing energy usage is a critical factor in achieving operational efficiency and ensuring safety <ref type="bibr">[1]</ref>- <ref type="bibr">[3]</ref>. In Human-Robot Collaboration (HRC), a common task is object co-manipulation <ref type="bibr">[4]</ref>, <ref type="bibr">[5]</ref>. However, utilizing such co-manipulation introduces significant challenges that include the unpredictability of human actions <ref type="bibr">[6]</ref>, which may deviate from established paths, and the increased complexity in controlling the system, because of the high degree of freedom of a robotic arm <ref type="bibr">[7]</ref>.</p><p>To address these issues, this paper develops a control algorithm by formulating and solving a human uncertaintyaware Model Predictive Control (MPC). The modeling of This project is supported by NSF EPCN Grant #2332210. human uncertainty in MPC tracking allows us to estimate its impact on costs in terms of tracking errors and energy consumption when performing manipulation tasks.</p><p>Literature review: Tracking problems arise from planning and control, where primary efforts are based on the platform of mobile robots. For ground vehicles, Ostafew et al. <ref type="bibr">[8]</ref> developed a learning-based nonlinear MPC designed for navigating off-road terrains. Xiao et al. <ref type="bibr">[9]</ref> introduced an imitation learning-based MPC aimed at facilitating navigation in crowded public spaces. Additionally, notable advancements have been made in the field of adaptive planning and control strategies <ref type="bibr">[10]</ref>- <ref type="bibr">[13]</ref>. For 3D space, various approaches have been developed for UAV platforms <ref type="bibr">[14]</ref>, where environmental features are less critical, while the vehicle dynamics becomes more sophisticated. These approaches enhance the robot's adaptability and responsiveness to dynamics and environmental changes.</p><p>In recent years, using robotic arms for end-effector trajectory tracking has attracted a lot of research interest. Baek et al. <ref type="bibr">[15]</ref> presented a practical adaptive time-delay control applied in robot manipulators, Xu et al. <ref type="bibr">[16]</ref> developed a learning from demonstration method for robotic arm trajectory tracking, and model predictive path-following control by Faulwasser et al. <ref type="bibr">[17]</ref>, focusing on precision and efficiency in arm movements. There also exist studies that focus on integrating robotic bases with arms for enhanced tracking performance. Quiroz-Omana et al. <ref type="bibr">[18]</ref> proposed a robot kinematic control strategy using linear programming. Giftthaler et al. <ref type="bibr">[19]</ref> solved a constrained sequential linear quadratic control problem to design a time-varying feedback controller. Osman et al. <ref type="bibr">[20]</ref> used the whole body dynamics to obtain a task-space stabilization controller utilizing nonlinear MPC.</p><p>However, a common oversight in these studies is neglecting external uncertainties, especially those arising from human involvement in collaborative tasks. While robust MPC addresses uncertainties within the robot's control framework <ref type="bibr">[21]</ref>, <ref type="bibr">[22]</ref>, the focus is mainly on the robot's internal dynamics <ref type="bibr">[23]</ref>, <ref type="bibr">[24]</ref>, which are not directly applicable to the characterization of external uncertainty.</p><p>Statement of contribution: In this paper, we study humanrobot co-manipulation using a model of a robot manipulator. The main contributions of this work are as follows: First, we model human uncertainties that follow a normal distribution with non-zero mean and variance. We then formulate a new human uncertainty-aware MPC tracking problem. Then, we solve this problem to get the optimal control input sequence, i.e., the manipulator's joint angle velocities. Finally, we verify our approach's effectiveness using theoretical derivation and simulated experiments. We compare its performance with a baseline algorithm that does not consider human uncertainty while solving for optimal control law.</p><p>Notations: Let I r denote the r &#215; r identity matrix. Let diag{a 1 , a 2 , &#8226; &#8226; &#8226; , a r } denote a diagonal matrix with a i being the ith diagonal entry. For a vector x, |x| 2 denotes its 2-norm. For a square matrix M , Tr(M ) denotes its trace. We use M &#8827; 0, M &#10928; 0 to denote the matrix is positive definite and positive semi-definite, respectively. We let &#8741;x&#8741; 2 M = x &#8868; M x with M &#10928; 0, which represents a quadratic function of the vector evaluated by the matrix M .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>II. PROBLEM STATEMENT AND FORMULATION</head><p>This section formulates our problem of interest. We introduce a trajectory around a fetch robot with human uncertainties that the robot needs to track and adapt to. Then, we describe how we model human uncertainty and the robot's motion dynamics. Finally, we formulate a human uncertaintyaware MPC tracking problem to describe the control objective mathematically.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A. Nominal Trajectory and Trajectory with Human Uncertainty</head><p>We aim to perform a co-manipulation task between a robot and a human by balancing a board, as illustrated in Fig. <ref type="figure">1</ref>. To this end, we define a nominal trajectory that represents the robot's end-effector's expected position and orientation in the world frame, which is defined as</p><p>where superscripts x, y, z represent the 3D positions and &#945;, &#946;, &#947; represent the roll, pitch, and yaw orientations, respectively. As we are balancing the board, the pitch (&#946;) and yaw (&#947;) should always be kept zero. We assume that human attempts to follow the nominal trajectory, but their actions are subject to uncertainties. This will lead to a deviation of the board from the nominal trajectory, necessitating the robot to adjust accordingly. To model this, we consider a receding horizon tracking problem <ref type="bibr">[25]</ref>. At each time step t, the robot seeks to track a segment of the trajectory for future H steps:</p><p>with k &#8712; {0, 1, &#8226; &#8226; &#8226; , H} and &#982; &#8712; R 3 represents the human uncertainties modeling discussed in section II-B. D = I 3 0 3&#215;3 &#8868; &#8712; R 6&#215;3 is a matrix that maps human uncertainties onto the nominal trajectory. We assume that the human only causes positional uncertainties, without affecting the desired roll, pitch, and yaw of the reference trajectory. Therefore, the last three rows of D are kept as zeros. The vector h = [h x , h y , h z ] &#8868; &#8712; R 3 represents the positional uncertainty created by the human up to time step t, which can be directly observed by the robot and should be added to the nominal trajectory.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B. Human Uncertainty Modelling</head><p>In our approach, we model human behavior and preferencebased uncertainty as &#982;(t) &#8764; N (&#181;, &#931;). &#181; &#8712; R 3 is the tendency or the average expected positional uncertainty and the covariance matrix &#931; &#8712; R 3&#215;3 , oriented in the x, y, z directions, captures the variability and individual differences in human behavior, providing insight into how uncertainties might deviate from the mean in three-dimensional space. To quantify such uncertainty, suppose a human trajectory can be measured as r(t). Comparing it with the nominal trajectory, the positional difference is defined as</p><p>It is easy to formulate the following minimization problem to estimate E(&#982;) = &#181;,</p><p>To further quantify &#931;, assuming the solution of Equation ( <ref type="formula">3</ref>) to be &#956;, then we can estimate the covariance matrix as,</p><p>Here, the factor of 1  T -1 is due to the concept of Bessel's correction <ref type="bibr">[26]</ref>. Now, to track the trajectory with such uncertainty, i.e., Equation <ref type="bibr">(1)</ref>, in a receding horizon manner, we introduce the dynamics of the mobile manipulator in the following subsection.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>C. 8-DOF Robotic Arm Dynamics</head><p>The Fetch robot features a 7-DOF (degrees of freedom) robotic arm built on a robotic base <ref type="bibr">[27]</ref>. We treat the base's heading angle as an additional degree of freedom for the arm. With this adjustment, we equivalently have an 8-DOF robotic arm, as depicted in Figure 2 <ref type="bibr">[28]</ref>. To get the state transition of the 8-DOF arm, we use forward kinematics using Jacobian Fig. <ref type="figure">2</ref>: Joint axes configurations of the 8-DOF configuration with DH parameters in body frame &#926; within the inertial frame. matrix J(&#8226;) &#8712; R 6&#215;8 derived based on the DH-parameters <ref type="bibr">[29]</ref> of the robotic arm configured in Fig. <ref type="figure">2</ref>:</p><p>where s represents the end-effector pose, &#952;</p><p>represents the corresponding joint angle velocities. Particularly, since &#952; 1 is the rotation of the base, its actuation is based on a differential signal on its wheels v a and v b . J(&#952;(k)) = &#8706;f (&#952;) &#8706;&#952; &#8712; R 6&#215;9 is the Jacobian matrix. B(&#952;(k)) = &#964; J(&#952;(k)) is the input matrix which depends on the joint angle combinations &#952;(k).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>D. Problem Formulation</head><p>Our problem of interest is to track the trajectory (1) by the end-effector of the robot with the 8-DOF robotic arm dynamics <ref type="bibr">(5)</ref>. We solve this by introducing a unique MPC formulation, where we add an extra variable &#982; that represents human uncertainties as discussed in section II-B and formulated as Equation <ref type="bibr">(6)</ref>. We solve this equation for optimal control input sequence over the planning horizon. Note that, we do not consider uncertainties coming from the robot dynamics, rather our formulation considers human-induced uncertainties.</p><p>Our proposed human uncertainty-aware MPC tracking can be formulated as follows:</p><p>where u(0 :</p><p>&#8827; 0 are the weighting matrices for tracking and input costs, respectively. s 0 is the starting end-effector pose of a planning horizon. Without considering human uncertainty, i.e., &#181; = 0 and &#931; = 0, problem (6) becomes a regular MPC tracking problem.</p><p>III. MAIN RESULT While addressing the problem (6), it is obvious that the optimal control input sequence u(0 : H -1) depends on the input matrix B(&#952;). This section presents a solution to obtain the optimal control input sequence u(0 : H -1). Our approach is summarized in Algorithm 1. We define the following error dynamics for (5) by subtracting r(k + 1) from both sides of the equation:</p><p>with e(k) = s(k) -r(k) being the tracking error. We assume that the optimal cost-to-go function follows:</p><p>where, P (k) &#8712; R 6&#215;6 , p(k) &#8712; R 6 , c(k) &#8712; R, are unknown matrices, vectors, and scalars to be determined. The optimal control input sequence u * and Theorem (1) can verify the assumed solution.</p><p>Theorem 1. Assuming the optimal solution u * of (6) yields an optimal cost J * with the form of (8). Then P (k), p(k), and c(k) can be computed by the following ua-DARE:</p><p>with M = (R + B &#8868; P (k + 1)B) -1 B &#8868; , terminal conditions:</p><p>Based on Theorem (1), for each time-step k, the optimal control inputs follow:</p><p>Proof. For derivation simplicity, let B = B(&#952;). Integrating Equation ( <ref type="formula">7</ref>) into the optimal cost Equation ( <ref type="formula">8</ref>),</p><p>where E(&#982;(k + 1)) = &#181;. The optimality condition Thus, for each time-step k, the control inputs follows:</p><p>with M defined in Theorem <ref type="bibr">(1)</ref>. Bringing this back to ( <ref type="formula">14</ref>) yields</p><p>Reusing condition <ref type="bibr">(15)</ref> by left multiplying u(k) &#8868; , using u(k) from ( <ref type="formula">16</ref>), and bringing them into (17) yields:</p><p>[Q+P (k+1)-P (k+1)BM P (k+1)]</p><p>+ 2e(k) &#8868; p(k + 1) -P (k + 1)B(M p(k + 1) -P (k + 1)BM P (k + 1)(r(k) -r(k + 1) -D&#181;)</p><p>Comparing ( <ref type="formula">18</ref>) with ( <ref type="formula">8</ref>), we have the DARE for P (k), p(k), and c(k). The terminal conditions are obtained by considering J * (e(H), k = H) for ( <ref type="formula">6</ref>), where P (H) = Q Algorithm 1: Biased Human-Uncertainty-Aware MPC Tracking </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>IV. EXPERIMENTS</head><p>This section validates the proposed human uncertaintyaware MPC tracking algorithm using simulated experiments. We build the model of a Fetch robot, shown in Fig. <ref type="figure">2</ref>, using methods described in Sec. II with DH parameters <ref type="bibr">[30]</ref> for link lengths, offset values, and rotation twist angles.</p><p>To randomly generate a human trajectory, then estimate its uncertainty as &#982;(k) &#8764; N (&#181;, &#931;), where &#181; = [0.0052, 0.0047, 0.0021] &#8868; (meters), &#931; = diag(0.014, 0.025, 0.010) (meters). It characterizes a human who tends to create more uncertainties in the y-axis than x, z-axes. For comparison purposes, we articulately increase the magnitude of the covariance matrix by a factor of q &#8712; {1, 2, 4} with q = 1 representing the base case, and 2 and 4 increases the strength of the uncertainties.</p><p>We validated our proposed algorithm 1 by performing tracking with three different trajectories that are subject to human uncertainties. The decomposed x, y, and z axes for each trajectory are visualized in Fig. <ref type="figure">3</ref>. Each trajectory is TABLE I: Total Cost Comparison of Our Approach with Baseline Algorithm Traj Q q BHU N-BHU A 10000I 6 1 587.945 1728.750 2 1458.788 2682.087 4 2878.625 4097.953 5000I 6 1 377.683 913.213 2 842.449 1482.981 4 1462.193 2138.699 B 10000I 6 1 1289.893 2010.958 2 2145.533 3086.132 4 3712.969 4912.039 5000I 6 1 963.029 1544.563 2 1372.532 2036.649 4 2125.284 2893.756 C 10000I 6 1 736.422 1294.321 2 1649.417 2430.971 4 3243.415 4311.028 5000I 6 1 547.486 944.716 2 1009.714 1501.895 4 1797.617 2420.096 discretized into 400 points with a time step &#964; = 0.1 (sec). Throughout the simulation, we use real physics to update the robot's states and calculate the end-effector pose with forward kinematics. The parameters are chosen as H = 5, R = I 9 , We set either Q = 10000 &#8226; I 6 or Q = 5000 &#8226; I 6</p><p>We repeat the MPC planning every step, compute the optimal control inputs for the planning horizon, and update the robot's state with the first control input. To evaluate the control performance, we define the total cost</p><p>taking into account the robot's end effector tracking error cost and control input cost. Fig. <ref type="figure">3</ref> shows the tracking visualization for each trajectory. we compare our proposed approach, MPC tracking with consideration of biased human uncertainty (BHU), with a baseline algorithm that does not consider any human uncertainty while tracking (N-BHU). We observe that the dots representing tracking with BHU (Red) are comparatively closer to the dots of nominal trajectory with human uncertainties (Blue) than the dots of tracking with N-BHU (Green). As we have a relatively larger value for Q, we observe that tracking dots along all three x, y, and z-axes for every trajectory align closely with the trajectory to be followed.</p><p>Table <ref type="table">I</ref> shows the performance in terms of cost for all three trajectories with different Q and q values. The comparison shows that our approach, BHU, outperforms N-BHU. Additionally, we observe a gradual increase in total cost corresponding to the increase in q. This phenomenon occurs as the robot attempts to counteract human uncertainties. However, its ability to fully mitigate these uncertainties is limited due to the small time step, &#964; . Consequently, the tracking error increases, contributing to the increment in total cost.</p><p>The cost plots, also illustrated in Figure <ref type="figure">3</ref>, show the variation in cost at each time step for all three trajectories. It is worth mentioning that in almost every step, BHU has a lower cost than N-BHU. In some time steps, the cost difference is noticeably higher than in other time steps. This observation can be related to the trajectory itself, meaning that, while navigating complex trajectory segments, BHU is more cost-efficient. This consistent cost advantage translates into the superior overall performance of our proposed method, as detailed in Table <ref type="table">I</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>V. CONCLUSIONS AND FUTURE WORKS</head><p>We developed a novel control algorithm for human-robot co-manipulation tasks utilizing an 8-DOF robotic arm. We explicitly model human uncertainty as a normal distribution with non-zero mean and covariance. We insert that as an extra variable in our formulation, leading to an uncertainty-aware MPC formulation. We solved for the optimal control law from this formulation by computing uncertainty-aware DARE theoretically. We later validated our approach by simulating using a Fetch robot model. Our proposed approach outperforms a baseline algorithm that does not consider human uncertainty in tracking accuracy and energy consumption. Future work will include implementing our algorithm in the Gazebo simulator and on a physical Fetch robot platform.</p></div></body>
		</text>
</TEI>
