MEKAWIRE
ExpertarXiv

Dual Path Following for an Aerial Manipulator Under State and Input Constraints via Transverse Feedback Linearization

Hamza Tariq, Adeel Akhtar
From the abstract

This paper studies dual path following for a quadrotor carrying a three-degree-of-freedom arm. The center of mass of the combined system must follow a vehicle path and the end effector must follow a second path, while the arm respects its joint limits and avoids its singular postures.

From the abstract. Our summary is in progress.

Full paper

Dual Path Following for an Aerial Manipulator Under State and Input Constraints via Transverse Feedback Linearization

Hamza Tariq, Adeel Akhtar

Published under CC BY 4.0. Reproduced with attribution; original at arXiv:2611.01442 (PDF).

Abstract

This paper studies dual path following for a quadrotor carrying a three-degree-of-freedom arm. The center of mass of the combined system must follow a vehicle path and the end effector must follow a second path, while the arm respects its joint limits and avoids its singular postures. The vehicle and the arm are mechanically coupled, so one controller must handle both paths. With the center of mass and the end-effector path coordinates as outputs, and a dynamic extension of the thrust, the system admits a normal form without internal dynamics. We characterize the states where this normal form fails. We formulate the transverse feedback linearizing controller as a quadratic program that relaxes only the speed of the end effector along its path and imposes safety and actuator limits as inequality constraints. The program reduces to a scalar problem with a closed-form solution. If it remains strictly feasible for all time, the feedback is locally Lipschitz, both paths are invariant and attractive, and every constraint holds. In the physics engine Drake, the controller resolves a conflict between the two speed references by slowing the end effector while both paths remain invariant. By contrast, a cascade with a safety filter leaves both paths. Code and animations are available at https://gradslab.github.io/am_dual_pf-/.

I Introduction

Aerial manipulators, that is, multirotors carrying a robotic arm, are used for the inspection and maintenance of structures such as bridges, pipes and tanks [1]. These tasks may require the end effector to trace a prescribed route along the structure while the vehicle follows a second route that keeps its rotors clear of the structure. The end effector and the vehicle must stay on their routes. The speed along them is secondary, and it may be reduced when the arm approaches a joint limit or a singular posture [2, Sec. 3.3], a configuration at which the joints can no longer move the end effector in every direction relative to the center of mass.

In this work we study the dual path-following problem. Its objective is convergence of the vehicle and the end effector to their paths together with path invariance, that is, once they reach their paths they remain on them for all future time. Transverse feedback linearization (TFL) [3] achieves this by rendering the dynamics transverse to the path linear and controllable, so that a linear feedback makes the path invariant and attractive [4]. Path invariance via TFL has been shown for a single quadrotor [5, 6]. A partial feedback linearization gives it for a manipulator on a wheeled mobile base [7]. There, only the end effector is assigned a path, and the dynamics of the base and of the arm are assumed to be decoupled. In [8], a differential drive robot and a serial manipulator, two separate systems, are synchronized while each follows its own path. An aerial manipulator allows neither simplification. The vehicle and the arm form one mechanically coupled system. The arm moves the center of mass and the inertia of the vehicle, while the attitude moves the end effector. One system must therefore follow both paths.

Fig. 1: Dual path following in Drake. The center of mass p_{c} of the combined system follows the vehicle path \gamma_{c} (blue, dotted) and the end effector p_{e} follows the end-effector path \gamma_{e} (red, dotted). The solid red line is the recent end-effector trajectory.

Control of aerial manipulators is surveyed in [1]. Differential-flatness-based controllers and planners take the center of mass, or its momentum, with the yaw and the joint angles as flat outputs [9, 10]. These outputs have a well-defined vector relative degree after a dynamic extension of the thrust [10]. The end-effector pose is flat only for designs whose center of mass is fixed in the end-effector frame [11]. Kinematic controllers make the end effector of a hexarotor with a three-degree-of-freedom (3-DOF) arm follow a path [12, 13], but without path invariance or safety constraints. A feedback linearizing controller tracks trajectories of the base and the end effector together [14], again without constraints. A quadratic program (QP) with actuator bounds and joint limits tracks the base position, the yaw and the end effector simultaneously [15], but without asymptotic tracking guarantees. To the best of our knowledge, no existing controller for an aerial manipulator renders both a vehicle path and an end-effector path invariant under safety constraints.

In [16] we formulate the feedback linearizing controller of a unicycle as a QP with relaxed equality constraints. In [17] we present the TFL controller of a quadrotor as a QP and relax only its along-path speed constraint, just as the stability constraint is relaxed in [18]. This preserves the path and heading dynamics exactly, while control barrier function (CBF) inequalities enforce safety. In this work we extend the relaxed QP-based TFL to a quadrotor carrying a 3-DOF arm (Fig. 1). The arm moves the center of mass and brings joint limits and singular postures that the quadrotor alone does not have. The main contributions are the following.

  1. We propose an output, built on the flat outputs of [9, 10], for which the dynamically extended aerial manipulator model admits a normal form without internal dynamics, and we give its singular set in closed form (Propositions 1 and 2).
  2. We propose the TFL controller as a QP that imposes safety and actuator limits and relaxes only the speed of the end effector along its path. We show that this QP has a closed-form, locally Lipschitz solution (Theorem 4).
  3. We prove that, under strict feasibility, both paths are invariant and attractive and every constraint holds. On closed paths at low vehicle speed, a feasibility margin along the solution extends these guarantees to all time (Theorem 8).

We evaluate the controller against the nominal controller and a safety-filtered cascade in Drake [19], on a Skydio X2 with an OpenMANIPULATOR-X arm.

Notation: A tuple (x_{1},\dots,x_{k}) of vectors is the column vector obtained by stacking them, and a tuple of matrices with the same number of columns is their vertical stack. We write \left\|\cdot\right\| for the Euclidean norm, M\succ 0 means that M is symmetric positive definite, \mathrm{blkdiag}(\cdot) is the block-diagonal matrix of its arguments, and e_{i} is the ith standard basis vector. For a\in\mathbb{R}^{3}, \hat{a} is the matrix with \hat{a}b=a\times b. For a map \varphi, \partial\varphi/\partial x is its Jacobian. For a function h and vector fields F and G, L_{F}h is the Lie derivative, L_{F}^{0}h:=h, L_{F}^{k}h:=L_{F}(L_{F}^{k-1}h) and L_{G}L_{F}^{k}h:=L_{G}(L_{F}^{k}h).

II Preliminaries

II-A Exponential Control Barrier Functions (ECBF)

Consider a control-affine system \dot{x}=F(x)+G(x)u with state x\in\mathbb{R}^{n}, input u\in\mathbb{R}^{p} and locally Lipschitz F and G. Let h:\mathbb{R}^{n}\to\mathbb{R} be a smooth function with L_{G}h=0. Let k_{1},k_{2}>0 be such that the polynomial s^{2}+k_{2}s+k_{1} has negative real roots \nu_{1},\nu_{2}. The ECBF condition of [20] is

L_{F}^{2}h+L_{G}L_{F}h\,u\geq-k_{1}h-k_{2}L_{F}h,
(1)

and the admissible set of h is \mathcal{A}:=\{x\in\mathbb{R}^{n}:h(x)\geq 0,\ L_{F}h(x)-\nu_{1}h(x)\geq 0\}. If a solution satisfies (1) on [0,t_{f}) and x(0)\in\mathcal{A}, then x(t)\in\mathcal{A} for all t\in[0,t_{f}) [20, Thm. 1].

II-B Aerial Manipulator Model

We consider a quadrotor carrying a 3-DOF arm with revolute joints on its underside. Let \mathcal{W} be the inertial frame, with e_{3} pointing up, and \mathcal{B} the body frame of the quadrotor, with origin p_{b}\in\mathbb{R}^{3} on the thrust axis and third axis along it. The attitude R\in\mathsf{SO}\left(3\right) of \mathcal{B} relative to \mathcal{W} is parameterized by the roll, pitch and yaw angles \Phi:=(\phi,\theta,\psi) as R=R_{z}(\psi)R_{y}(\theta)R_{x}(\phi). The angular velocity \omega\in\mathbb{R}^{3} is expressed in \mathcal{B}, so that \dot{R}=R\hat{\omega} and \dot{\Phi}=Y(\Phi)\omega. The matrix Y(\Phi) is defined and invertible for \cos\theta\neq 0 [2, Sec. 3.6].

The arm has a waist, a shoulder and an elbow joint, the usual configuration in aerial manipulation [1]. The waist axis is parallel to the thrust axis. The shoulder and elbow axes are parallel to each other and perpendicular to the waist axis, so the upper arm and the forearm move in a plane that contains the waist axis. The joint angles of the waist, shoulder and elbow are \vartheta:=(\vartheta_{1},\vartheta_{2},\vartheta_{3})\in\mathbb{R}^{3} and the configuration is q:=(p_{b},\Phi,\vartheta)\in\mathbb{R}^{9}. The inputs are the collective thrust u_{t}\in\mathbb{R} along the thrust axis, the body moments \tau\in\mathbb{R}^{3} and the joint torques \tau_{\vartheta}\in\mathbb{R}^{3}. Thus, the system has seven inputs and nine degrees of freedom, making it underactuated.

Let m be the total mass of the combined system. The forward kinematics of the arm give smooth maps r_{c}:\mathbb{R}^{3}\to\mathbb{R}^{3} and r_{e}:\mathbb{R}^{3}\to\mathbb{R}^{3} from the joint angles \vartheta to the positions in \mathcal{B} of the center of mass of the combined system and of the end effector. In \mathcal{W} these positions are p_{c}:=p_{b}+R\,r_{c}(\vartheta) and p_{e}:=p_{b}+R\,r_{e}(\vartheta). We neglect aerodynamic forces, so thrust and gravity are the only external forces. Let \rho:=r_{e}-r_{c} be the position of the end effector relative to the center of mass in \mathcal{B}, with Jacobian J_{\rho}(\vartheta):=\partial\rho/\partial\vartheta\in\mathbb{R}^{3\times 3}. The equations of motion split into Newton’s law for the center of mass and the equations of the rotational and joint motion about it, as in [9]:

\displaystyle m\ddot{p_{c}} \\ \displaystyle=u_{t}Re_{3}-mge_{3}, \\ \displaystyle M_{r}(\vartheta)\begin{bmatrix}\dot{\omega}\\
\ddot{\vartheta}\end{bmatrix} \\ \displaystyle=\begin{bmatrix}\tau\\
\tau_{\vartheta}\end{bmatrix}+u_{t}\Upsilon(\vartheta)-c(\vartheta,\omega,\dot{\vartheta}),
(2a) (2b)

Here M_{r}(\vartheta)\succ 0 is the inertia matrix of the rotational and joint motion about the center of mass, c collects the Coriolis and centrifugal terms, and \Upsilon(\vartheta):=\big(e_{3}\times r_{c}(\vartheta),\ -(\partial r_{c}/\partial\vartheta)^{\top}e_{3}\big) is the generalized force of a unit thrust, which acts at p_{b} and not at p_{c}. Gravity acts at the center of mass, so it does not appear in (2b). Equations (2) are equivalent to the Euler–Lagrange equations in the coordinates q,

M(q)\ddot{q}+C(q,\dot{q})\dot{q}+g(q)=B_{t}(q)\,u_{t}+B_{\tau}(q)\,(\tau,\tau_{\vartheta}),
(3)

with inertia matrix M(q), positive definite for \cos\theta\neq 0, Coriolis matrix C(q,\dot{q}), gravity vector g(q), B_{t}(q):=(Re_{3},0,0)\in\mathbb{R}^{9} and B_{\tau}(q):=\begin{bmatrix}0_{6\times 3}&\mathrm{blkdiag}(Y(\Phi)^{-1},I_{3})\end{bmatrix}^{\top}\in\mathbb{R}^{9\times 6}.

As in [5], we add two integrators to the thrust as a dynamic extension, so that the virtual output of Section IV has a well-defined vector relative degree. Define (x_{1},\dots,x_{18}):=(q,\dot{q}), x_{19}:=u_{t} and x_{20}:=\dot{u}_{t}, so that the new thrust input is u_{d}:=\ddot{u}_{t}. The extended state is x:=(x_{1},\dots,x_{20})\in\mathbb{R}^{20} and the extended input is u:=(u_{d},\tau,\tau_{\vartheta})\in\mathbb{R}^{7}. Solving (3) for \ddot{q} gives the extended model

\dot{x}=F(x)+G(x)u,
(4)

with F(x)=\big(\dot{q},\ M^{-1}(B_{t}x_{19}-C\dot{q}-g),\ x_{20},\ 0\big) and G(x)=\begin{bmatrix}e_{20}&\bar{G}\end{bmatrix}, where \bar{G}:=\begin{bmatrix}0_{6\times 9}&B_{\tau}^{\top}M^{-1}&0_{6\times 2}\end{bmatrix}^{\top} and the arguments q and \dot{q} are omitted. The maps F and G are smooth on the set where \cos\theta\neq 0.

III Problem Formulation

Let \gamma_{c}\subset\mathbb{R}^{3} be the vehicle path and \gamma_{e}\subset\mathbb{R}^{3} the end-effector path. As in [5], each \gamma_{j}, j\in\{c,e\}, is a smooth embedded curve with a regular parameterization \sigma_{j}:D_{j}\to\mathbb{R}^{3} on an open interval D_{j}\subset\mathbb{R}. If \gamma_{j} is closed, D_{j}=\mathbb{R} and \sigma_{j} is L_{j}-periodic. Each path is also the zero level set \gamma_{j}=\{p:s_{j}(p)=0\} of a smooth map s_{j}:\mathbb{R}^{3}\to\mathbb{R}^{2} with \rank\,\partial s_{j}/\partial p=2 on \gamma_{j}. Set \mathcal{C}_{j}:=D_{j} if \gamma_{j} is not closed and \mathcal{C}_{j}:=\mathbb{R}/L_{j}\mathbb{Z} if it is. Let U_{\gamma_{j}}\subset\mathbb{R}^{3} be a tubular neighborhood of \gamma_{j} [21, Ch. 2] and \varpi_{j}:U_{\gamma_{j}}\to\mathcal{C}_{j} a smooth map with \varpi_{j}(\sigma_{j}(\ell))=\ell for every \ell\in D_{j}, modulo L_{j} for closed paths. For closed paths, the derivatives of \varpi_{j} are computed with local real-valued lifts, whose derivatives agree on overlaps.

The Jacobian \Pi_{j}:=\partial(s_{j},\varpi_{j})/\partial p\in\mathbb{R}^{3\times 3} is nonsingular on \gamma_{j}. Indeed, the two rows of \partial s_{j}/\partial p are independent and annihilate the tangent \sigma_{j}^{\prime}, since s_{j} vanishes along \gamma_{j}, while (\partial\varpi_{j}/\partial p)\,\sigma_{j}^{\prime}=1. We shrink U_{\gamma_{j}} to \{p\in U_{\gamma_{j}}:\left\|s_{j}(p)\right\|<\delta_{j}\} with \delta_{j}>0 such that \Pi_{j} is nonsingular on it, which we assume is possible when \gamma_{j} is not closed. When \gamma_{j} is closed, it is compact, so such a \delta_{j} exists. We then also take U_{\gamma_{j}} bounded and \delta_{j} small enough that the closure of this set lies in the original U_{\gamma_{j}} and (s_{j},\varpi_{j}) is injective on it, which compactness allows as well. On this set, (s_{j},\varpi_{j}) are local coordinates, transverse to the path and along it, as in [5].

The aerial manipulator must follow these paths and respect its physical limits. We impose joint limits \underline{\vartheta}_{i}\leq\vartheta_{i}\leq\overline{\vartheta}_{i} with constants \underline{\vartheta}_{i}<\overline{\vartheta}_{i}, i\in\{1,2,3\}, and an attitude margin |\phi|,|\theta|\leq\pi/2-\epsilon with \epsilon\in(0,\pi/2). We also impose thrust bounds \underline{u}_{t}\leq u_{t}\leq\overline{u}_{t} with 0<\underline{u}_{t}<\overline{u}_{t}, moment and joint torque bounds |\tau_{i}|\leq\overline{\tau}_{i} and |\tau_{\vartheta,i}|\leq\overline{\tau}_{\vartheta,i} with \overline{\tau}_{i},\overline{\tau}_{\vartheta,i}>0, and a singularity margin \det J_{\rho}(\vartheta)\geq\epsilon_{J} with \epsilon_{J}>0.

Define the transverse errors \alpha_{c}:=s_{c}\circ p_{c}, \alpha_{e}:=s_{e}\circ p_{e} and the path coordinates \beta_{c}:=\varpi_{c}\circ p_{c}, \beta_{e}:=\varpi_{e}\circ p_{e}, where p_{c} and p_{e} are read as functions of x through q. Then \alpha_{c} and \alpha_{e} are smooth on \mathbb{R}^{20}, and \beta_{c} and \beta_{e} are smooth on the open set X_{U}:=\{x\in\mathbb{R}^{20}:p_{c}\in U_{\gamma_{c}},\ p_{e}\in U_{\gamma_{e}}\}. The set \{x:\alpha_{c}(x)=0\} of states with the center of mass on \gamma_{c} is not controlled invariant in general. As in [5], we aim to stabilize its largest controlled-invariant subset [3, Sec. 3], the path-following manifold. Where the relative degrees of Section IV are well defined, it is \mathcal{P}_{c}:=\{x:L_{F}^{k}\alpha_{c}(x)=0,\ k=0,\dots,3\}, and likewise \mathcal{P}_{e}:=\{x:L_{F}^{k}\alpha_{e}(x)=0,\ k=0,1\} for the end effector. We call \mathcal{P}:=\mathcal{P}_{c}\cap\mathcal{P}_{e} the dual path-following manifold. Along the paths we prescribe desired speeds v_{c} and v_{e} of the path coordinates and a desired heading \psi_{\rm des}, a constant or a smooth function of p_{c}. If \psi_{\rm des} takes values in \mathbb{R}/2\pi\mathbb{Z}, the heading error \psi-\psi_{\rm des} is read in (-\pi,\pi). Since the arm reaches only a bounded set of end-effector positions relative to the center of mass, the paths and the limits must satisfy the following assumption.

Assumption 1.

There exist \ell_{c}^{0}\in D_{c}, \ell_{e}^{0}\in D_{e} and \vartheta^{0}\in\mathbb{R}^{3} with \underline{\vartheta}_{i}<\vartheta_{i}^{0}<\overline{\vartheta}_{i} and \det J_{\rho}(\vartheta^{0})>\epsilon_{J} such that \sigma_{e}(\ell_{e}^{0})-\sigma_{c}(\ell_{c}^{0})=R_{z}\big(\psi_{\rm des}(\sigma_{c}(\ell_{c}^{0}))\big)\rho(\vartheta^{0}). Moreover, \underline{u}_{t}<mg<\overline{u}_{t}, and the input (\tau,\tau_{\vartheta})=-mg\,\Upsilon(\vartheta^{0}) lies strictly inside the moment and joint torque bounds.

The assumption asks for one admissible equilibrium on both paths. The equality says that some point of \gamma_{e} is reachable from some point of \gamma_{c} at level attitude with heading \psi_{\rm des}, at a nonsingular posture inside the joint limits. At rest there, the thrust mg and the input -mg\,\Upsilon(\vartheta^{0}) make both right-hand sides of (2) vanish, so this equilibrium lies in \mathcal{P} and satisfies every constraint strictly. We now state the dual path-following problem for an aerial manipulator.

Problem 1.

Consider the aerial manipulator (4) with the paths \gamma_{c} and \gamma_{e}, desired speeds v_{c} and v_{e}, and desired heading \psi_{\rm des}, under Assumption 1. Design a state-feedback map \bar{u}:\mathcal{U}\to\mathbb{R}^{7}, where \mathcal{U}\subset\mathbb{R}^{20} is open, and a set \Omega_{0}\subset\mathcal{U} of admissible initial conditions such that, for every x(0)\in\Omega_{0} and on the maximal interval of existence of its solution, the closed-loop system

  1. renders \mathcal{P} invariant and locally exponentially stable,
  2. makes the vehicle speed \dot{\beta}_{c} and the heading \psi converge exponentially to v_{c} and \psi_{\rm des},
  3. satisfies \underline{\vartheta}_{i}\leq\vartheta_{i}(t)\leq\overline{\vartheta}_{i}, |\tau_{i}(t)|\leq\overline{\tau}_{i} and |\tau_{\vartheta,i}(t)|\leq\overline{\tau}_{\vartheta,i} for i\in\{1,2,3\}, |\phi(t)|,|\theta(t)|\leq\pi/2-\epsilon, \underline{u}_{t}\leq x_{19}(t)\leq\overline{u}_{t} and \det J_{\rho}(\vartheta(t))\geq\epsilon_{J}.

IV Normal Form of the Aerial Manipulator

We now choose the outputs to be linearized. The vehicle output is the center of mass p_{c}, not the body origin p_{b}. By (2a), the acceleration of p_{c} depends only on the thrust and the attitude, as for a quadrotor alone, so u_{d} first appears in the fourth derivative of p_{c}. The torques already appear in the second derivative of p_{b}=p_{c}-R\,r_{c}(\vartheta), through r_{c}, while u_{d} appears in no second derivative. With p_{b} as output, the column of u_{d} in the decoupling matrix would be zero. We therefore define the virtual output map \hat{y}:X_{U}\to\mathcal{Y}, with \mathcal{Y}:=\mathbb{R}^{2}\times\mathcal{C}_{c}\times\mathbb{R}^{2}\times\mathcal{C}_{e}\times\mathbb{R},

\hat{y}(x):=\big(\alpha_{c}(x),\ \beta_{c}(x),\ \alpha_{e}(x),\ \beta_{e}(x),\ \psi\big),
(5)

where \psi=x_{6} is the yaw angle. Let X_{D}:=\{x\in X_{U}:x_{19}>0,\ |\phi|<\pi/2,\ |\theta|<\pi/2,\ \det J_{\rho}(\vartheta)\neq 0\}. If \psi_{\rm des} takes values in \mathbb{R}/2\pi\mathbb{Z}, we also remove from X_{D} the states with \psi-\psi_{\rm des}(p_{c})=\pi modulo 2\pi, so that the heading error is smooth on X_{D}. The set X_{D} is open. Let D(x):=\big(L_{G}L_{F}^{3}\alpha_{c},\ L_{G}L_{F}^{3}\beta_{c},\ L_{G}L_{F}\alpha_{e},\ L_{G}L_{F}\beta_{e},\ L_{G}L_{F}\psi\big)\in\mathbb{R}^{7\times 7} be the decoupling matrix of \hat{y}.

Proposition 1.

Consider the extended model (4) with the virtual output (5). At every x\in X_{D}, the output has vector relative degree \{4,4,4,2,2,2,2\} and

\det D(x)=-\frac{x_{19}^{2}\cos\phi\ \det\Pi_{c}(p_{c})\det\Pi_{e}(p_{e})\ \det J_{\rho}(\vartheta)}{m^{3}\cos\theta\ \det M_{r}(\vartheta)}.
(6)

Moreover, with \mathcal{Z}:=\mathbb{R}^{8}\times\mathcal{C}_{c}\times\mathbb{R}^{7}\times\mathcal{C}_{e}\times\mathbb{R}^{3}, the map T:X_{D}\to\mathcal{Z},

\displaystyle T(x):=\big( \\ \displaystyle\alpha_{c},L_{F}\alpha_{c},L_{F}^{2}\alpha_{c},L_{F}^{3}\alpha_{c},\ \beta_{c},L_{F}\beta_{c},L_{F}^{2}\beta_{c},L_{F}^{3}\beta_{c}, \\ \displaystyle\alpha_{e},L_{F}\alpha_{e},\ \beta_{e},L_{F}\beta_{e},\ \psi,L_{F}\psi\big),

is a local diffeomorphism at every point of X_{D}.

Proof.

We differentiate each output until an input appears. By (2), no input appears in the first three derivatives of p_{c} or in the first derivatives of p_{e}=p_{c}+R\rho(\vartheta) and \psi, while

\displaystyle m\,p_{c}^{(4)}={} \\ \displaystyle u_{d}Re_{3}+2x_{20}R\,\omega\times e_{3} \\ \displaystyle+x_{19}R\,\omega\times(\omega\times e_{3})+x_{19}R\,\dot{\omega}\times e_{3}.

Moreover, \ddot{p}_{e}=\ddot{p}_{c}+R(\dot{\omega}\times\rho+J_{\rho}\ddot{\vartheta})+R\,a_{\rho}(\vartheta,\omega,\dot{\vartheta}) for a smooth map a_{\rho}, and \ddot{\psi}=Y_{3}\dot{\omega}+(\dot{Y}\omega)_{3}, where Y_{3}:=[0,\ \sin\phi/\cos\theta,\ \cos\phi/\cos\theta] is the third row of Y. By (2b), (\dot{\omega},\ddot{\vartheta}) is affine in (\tau,\tau_{\vartheta}) with input matrix M_{r}^{-1}, so u first appears in p_{c}^{(4)}, \ddot{p}_{e} and \ddot{\psi}. Since \alpha_{c}, \beta_{c}, \alpha_{e} and \beta_{e} are p_{c} and p_{e} composed with the local coordinates (s_{c},\varpi_{c}) and (s_{e},\varpi_{e}), the chain rule gives the same orders for them, with the input terms multiplied by \Pi_{c} and \Pi_{e}. It remains to show that D is nonsingular on X_{D}.

In terms of (u_{d},\dot{\omega},\ddot{\vartheta}), the input matrix of (p_{c}^{(4)},\ddot{p}_{e},\ddot{\psi}) is

\hat{D}=\begin{bmatrix}R&0&0\\
0&R&0\\
0&0&1\end{bmatrix}\begin{bmatrix}e_{3}/m&-(x_{19}/m)\hat{e}_{3}&0\\
0&-\hat{\rho}&J_{\rho}\\
0&Y_{3}&0\end{bmatrix},

so D=\mathrm{blkdiag}(\Pi_{c},\Pi_{e},1)\,\hat{D}\,\mathrm{blkdiag}(1,M_{r}^{-1}). The first factor of \hat{D} has unit determinant. In the second, the rows of p_{c}^{(4)} are nonzero only in the columns of u_{d}, \dot{\omega}_{1} and \dot{\omega}_{2}, so it is block lower triangular. The 3\times 3 block of these rows and columns has determinant x_{19}^{2}/m^{3}. The complementary 4\times 4 block, in the columns of \dot{\omega}_{3} and \ddot{\vartheta}, has rows [-\rho\times e_{3}\ \ J_{\rho}] and (\cos\phi/\cos\theta)e_{1}^{\top}, so its determinant is -(\cos\phi/\cos\theta)\det J_{\rho}. Multiplying by \det\Pi_{c}, \det\Pi_{e} and \det M_{r}^{-1} gives (6). Every factor in (6) is nonzero on X_{D}, so D is nonsingular there and the vector relative degree is well defined. Finally, the relative degrees sum to 20=\dim x, so T is a local diffeomorphism at every point of X_{D} [22, Sec. 5.1]. ∎

By Proposition 1, the extended model is locally fully feedback linearizable on X_{D} and has no internal dynamics. The output replaces the joint angles in the flat outputs of [9, 10] by the end-effector path coordinates. Up to \Pi_{c}, \Pi_{e} and M_{r}^{-1}, the matrix D is therefore the decoupling matrix of their flat outputs times a block lower triangular factor with 1, I_{3} and RJ_{\rho} on its diagonal. The thrust and attitude factors of (6) are thus those of the flat outputs, and the factor \det J_{\rho} is new and comes from the arm. We call a posture \vartheta singular if \det J_{\rho}(\vartheta)=0, since J_{\rho} then loses rank and the joints cannot move \rho in every direction. To locate these postures, let \varepsilon=\pm 1 according to whether the waist axis points along \pm e_{3}. Choose the first axis of \mathcal{B} so that, at \vartheta_{1}=0, the upper arm and the forearm move in the plane spanned by e_{1} and e_{3}. Every link beyond the waist rotates with it, so \rho(\vartheta)=r_{0}+R_{z}(\varepsilon\vartheta_{1})\,\bar{\rho}(\vartheta_{2},\vartheta_{3}) for a constant r_{0}\in\mathbb{R}^{3} and a smooth map \bar{\rho}:\mathbb{R}^{2}\to\mathbb{R}^{3} with components \bar{\rho}_{x}, \bar{\rho}_{y} and \bar{\rho}_{z}. Let \Delta_{\rho}:\mathbb{R}^{2}\to\mathbb{R} be the determinant of \partial(\bar{\rho}_{x},\bar{\rho}_{z})/\partial(\vartheta_{2},\vartheta_{3}).

Proposition 2.

For every \vartheta\in\mathbb{R}^{3}, \det J_{\rho}(\vartheta)=-\varepsilon\,\bar{\rho}_{x}\,\Delta_{\rho}, where \Delta_{\rho}=c_{\rho}\sin(\vartheta_{3}-\vartheta_{3}^{*}) for constants c_{\rho} and \vartheta_{3}^{*} set by the link geometry and masses.

Proof.

The first column of J_{\rho} is \partial\rho/\partial\vartheta_{1}=\varepsilon R_{z}(\varepsilon\vartheta_{1})(e_{3}\times\bar{\rho})=\varepsilon R_{z}(\varepsilon\vartheta_{1})(-\bar{\rho}_{y},\bar{\rho}_{x},0), and the other two are R_{z}(\varepsilon\vartheta_{1})\,\partial\bar{\rho}/\partial\vartheta_{j}, j\in\{2,3\}. The shoulder and the elbow rotate the upper arm and the forearm about axes normal to the plane spanned by e_{1} and e_{3}, so these two columns have zero second component. Factoring out R_{z}(\varepsilon\vartheta_{1}), which has unit determinant, and expanding along the second row, whose only nonzero entry is \varepsilon\bar{\rho}_{x}, gives the first claim. For the second claim, the upper arm rotates about the shoulder axis by \vartheta_{2}, and the forearm, with the bodies attached to it, rotates about the elbow axis by \vartheta_{2}+\vartheta_{3}. Hence \bar{\rho}=c_{0}+R_{y}(\vartheta_{2})c_{2}+R_{y}(\vartheta_{2}+\vartheta_{3})c_{3} for constants c_{0},c_{2},c_{3}\in\mathbb{R}^{3}, with c_{2} and c_{3} in the plane spanned by e_{1} and e_{3}. Thus (\bar{\rho}_{x},\bar{\rho}_{z}) is a planar two-link chain with link vectors c_{2} and c_{3}, whose Jacobian determinant is \pm\left\|c_{2}\right\|\left\|c_{3}\right\|\sin(\vartheta_{3}-\vartheta_{3}^{*}), with \vartheta_{3}^{*} the elbow angle at which c_{2} and R_{y}(\vartheta_{3})c_{3} are parallel. ∎

When \bar{\rho}_{x}=0, the waist moves \rho only within the plane of the upper arm and the forearm, where the shoulder and the elbow already act. When \vartheta_{3}=\vartheta_{3}^{*} modulo \pi, the shoulder and the elbow move \rho along a single direction. The barrier \det J_{\rho}\geq\epsilon_{J} of Section V-A keeps \bar{\rho}_{x} and \Delta_{\rho} from changing sign, so the end effector stays on one side of the plane \bar{\rho}_{x}=0 with one elbow bend.

We now write the normal form. Define \xi_{j}:=L_{F}^{j-1}\alpha_{c,1}, \zeta_{j}:=L_{F}^{j-1}\alpha_{c,2} and \eta_{j}:=L_{F}^{j-1}\beta_{c} for j\in\{1,\dots,4\}, and \chi_{j}:=L_{F}^{j-1}\alpha_{e,1}, \varrho_{j}:=L_{F}^{j-1}\alpha_{e,2}, \varsigma_{j}:=L_{F}^{j-1}\beta_{e} and \mu_{j}:=L_{F}^{j-1}\psi for j\in\{1,2\}, with \alpha_{c,i}, \alpha_{e,i} the components of \alpha_{c}, \alpha_{e}. Thus \xi,\zeta\in\mathbb{R}^{4} and \chi,\varrho\in\mathbb{R}^{2} hold the transverse errors and their derivatives, \eta\in\mathcal{C}_{c}\times\mathbb{R}^{3} and \varsigma\in\mathcal{C}_{e}\times\mathbb{R} the path coordinates and their derivatives, and \mu\in\mathbb{R}^{2} the heading and its rate. These are the entries of T(x) grouped by output, hence local coordinates on X_{D} by Proposition 1. Let

u_{\rm TFL}(x):=D(x)^{-1}v(x),\qquad v:=(v_{1},\dots,v_{7}),
(9)

where (v_{1},v_{2}):=-L_{F}^{4}\alpha_{c}+(v_{\xi},v_{\zeta}), v_{3}:=-L_{F}^{4}\beta_{c}+v_{\eta}, (v_{4},v_{5}):=-L_{F}^{2}\alpha_{e}+(v_{\chi},v_{\varrho}), v_{6}:=-L_{F}^{2}\beta_{e}+v_{\varsigma} and v_{7}:=-L_{F}^{2}\psi+v_{\mu}, and v_{\xi},v_{\zeta},v_{\eta},v_{\chi},v_{\varrho},v_{\varsigma},v_{\mu}\in\mathbb{R} are auxiliary inputs. On X_{D}, in these coordinates, the feedback u=u_{\rm TFL}(x) gives the normal form

\displaystyle\dot{\xi}_{j}=\xi_{j+1},\ \dot{\zeta}_{j}=\zeta_{j+1},\ \dot{\eta}_{j}=\eta_{j+1},\ j\in\{1,2,3\}, \\ \displaystyle\dot{\xi}_{4}=v_{\xi},\ \dot{\zeta}_{4}=v_{\zeta},\ \dot{\eta}_{4}=v_{\eta},\ \dot{\mu}_{1}=\mu_{2},\ \dot{\mu}_{2}=v_{\mu}, \\ \displaystyle\dot{\chi}_{1}=\chi_{2},\ \dot{\chi}_{2}=v_{\chi},\ \dot{\varrho}_{1}=\varrho_{2},\ \dot{\varrho}_{2}=v_{\varrho},\ \dot{\varsigma}_{1}=\varsigma_{2},\ \dot{\varsigma}_{2}=v_{\varsigma}.

For constant speeds v_{c} and v_{e} and the desired heading \psi_{\rm des}, we choose the auxiliary inputs as

\displaystyle v_{\xi} \\ \displaystyle=-\textstyle\sum_{j=1}^{4}k_{\xi j}\xi_{j},\quad v_{\zeta}=-\textstyle\sum_{j=1}^{4}k_{\zeta j}\zeta_{j}, \\ \displaystyle v_{\chi} \\ \displaystyle=-\textstyle\sum_{j=1}^{2}k_{\chi j}\chi_{j},\quad v_{\varrho}=-\textstyle\sum_{j=1}^{2}k_{\varrho j}\varrho_{j}, \\ \displaystyle v_{\eta} \\ \displaystyle=-k_{\eta 2}(\eta_{2}-v_{c})-k_{\eta 3}\eta_{3}-k_{\eta 4}\eta_{4},\ v_{\varsigma}=-k_{\varsigma}(\varsigma_{2}-v_{e}), \\ \displaystyle v_{\mu} \\ \displaystyle=-k_{\mu 1}(\mu_{1}-\psi_{\rm des})-k_{\mu 2}(\mu_{2}-\dot{\psi}_{\rm des})+\ddot{\psi}_{\rm des},

with gains for which the characteristic polynomials of the four transverse chains, as well as s^{3}+k_{\eta 4}s^{2}+k_{\eta 3}s+k_{\eta 2}, s+k_{\varsigma} and s^{2}+k_{\mu 2}s+k_{\mu 1}, are Hurwitz. Here \dot{\psi}_{\rm des}:=L_{F}\psi_{\rm des} and \ddot{\psi}_{\rm des}:=L_{F}^{2}\psi_{\rm des} are the time derivatives of \psi_{\rm des} under every input, since it depends on x through p_{c} and no input appears before p_{c}^{(4)}. Then \mathcal{P}\cap X_{D}=\{x\in X_{D}:\xi=\zeta=\chi=\varrho=0\} is invariant and locally exponentially stable, and the errors \eta_{2}-v_{c}, \varsigma_{2}-v_{e} and \mu_{1}-\psi_{\rm des} decay exponentially.

V Proposed Controller

The controller (9) is defined only on X_{D} and ignores the joint and actuator limits. When the end-effector path demands a speed that the vehicle path cannot support, (9) stretches the arm past a joint limit and into a singular posture, where D is singular. A safety-filtered cascade, that is, (9) followed by a CBF safety filter [23], prevents this. It may, however, change every row of D(x)u=v(x), including the transverse rows, and then both points can leave their paths (Section VI). We instead keep six rows of D(x)u=v(x) as equality constraints of a QP, namely the four transverse rows, the vehicle speed row and the heading row, and relax only the end-effector speed row. With a scalar slack \delta\in\mathbb{R} and e_{6}\in\mathbb{R}^{7} selecting the row of \beta_{e}, the controller is

\displaystyle(u^{\star},\delta^{\star})=\argmin_{u\in\mathbb{R}^{7},\ \delta\in\mathbb{R}}\ \\ \displaystyle\tfrac{1}{2}\delta^{2} \\ \displaystyle D(x)u=v(x)+e_{6}\delta, \\ \displaystyle A(x)u\geq b(x),
(12a) (12b) (12c)

where A(x)\in\mathbb{R}^{25\times 7} and b(x)\in\mathbb{R}^{25} collect the ECBF rows and the actuator limits, which we define next.

V-A Barrier Functions and Actuator Limits

We now define the rows of (12c). Each limit in the third item of Problem 1, except the actuator bounds, becomes a barrier function h that is nonnegative where the limit holds, and each barrier gives one ECBF row. For the joint limits, let h_{i}^{-}:=\vartheta_{i}-\underline{\vartheta}_{i} and h_{i}^{+}:=\overline{\vartheta}_{i}-\vartheta_{i}, i\in\{1,2,3\}. By (2b), \ddot{\vartheta} depends on u through the nonsingular M_{r}^{-1}, so these barriers have relative degree two. For the attitude margin, let a_{\epsilon}:=\pi/2-\epsilon, h_{\phi}^{\pm}:=a_{\epsilon}\mp\phi and h_{\theta}^{\pm}:=a_{\epsilon}\mp\theta. These have relative degree two by (2b) and \dot{\Phi}=Y(\Phi)\omega. For the thrust bounds, let h_{t}^{-}:=x_{19}-\underline{u}_{t} and h_{t}^{+}:=\overline{u}_{t}-x_{19}, which have relative degree two with respect to u_{d}. The barrier h_{t}^{-} also keeps the thrust positive, as X_{D} requires. For the singularity margin, let h_{J}:=\det J_{\rho}(\vartheta)-\epsilon_{J}. Since \ddot{h}_{J}=\nabla h_{J}^{\top}\ddot{\vartheta}+\dot{\vartheta}^{\top}\nabla^{2}h_{J}\,\dot{\vartheta}, it has relative degree two wherever \nabla h_{J}\neq 0. At a critical point of \det J_{\rho} its row has no input term and constrains the state alone, which the invariance statement of Section II-A allows.

For each barrier h with gains (k_{1},k_{2}), the row of (12c) is L_{G}L_{F}h\,u\geq-L_{F}^{2}h-k_{1}h-k_{2}L_{F}h, with L_{G}h=0 since h depends only on q or x_{19}. These are thirteen rows, and \mathcal{A}_{h} denotes the admissible set of h. The actuator bounds are the remaining twelve rows, \pm e_{i+1}^{\top}u\geq-\overline{\tau}_{i} and \pm e_{i+4}^{\top}u\geq-\overline{\tau}_{\vartheta,i} for i\in\{1,2,3\}.

V-B Reduced Scalar QP and Regularity

Eliminating u through (12b) gives u=D^{-1}(v+e_{6}\delta)=u_{\rm TFL}+r_{\delta}\delta, where r_{\delta}:=D^{-1}e_{6}\in\mathbb{R}^{7}. The vector r_{\delta} is the input direction that leaves the six hard rows unchanged, since Dr_{\delta}=e_{6}. Substituting reduces (12) to

\delta^{\star}(x)=\argmin_{\delta\in\mathbb{R}}\ \tfrac{1}{2}\delta^{2}\quad\text{s.t.}\quad\bar{a}(x)\delta\geq\bar{b}(x),
(13)

with \bar{a}:=Ar_{\delta}\in\mathbb{R}^{25} and \bar{b}:=b-Au_{\rm TFL}\in\mathbb{R}^{25}, and the controller applies u^{\star}(x)=u_{\rm TFL}(x)+r_{\delta}(x)\delta^{\star}(x). The optimizer \delta^{\star} is the feasible slack of least magnitude. It is zero whenever u_{\rm TFL} satisfies (12c), and then (9) is applied.

Let t_{e}:=\Pi_{e}(p_{e})^{-1}e_{3}\in\mathbb{R}^{3} be the third column of \Pi_{e}(p_{e})^{-1}, the direction in which \varpi_{e} increases at unit rate while s_{e} is stationary. We call the four attitude rows and the two thrust rows of (12c) the vehicle rows. The next lemma shows that the vehicle rows do not depend on the slack.

Lemma 3.

For every x\in X_{D}, the six entries of \bar{a} in (13) that belong to the vehicle rows are zero, and the change of (u_{d},\dot{\omega},\ddot{\vartheta}) per unit slack \delta in (12b) is (0,\,0,\,J_{\rho}^{-1}R^{\top}t_{e}).

Proof.

By (2b), (u_{d},\dot{\omega},\ddot{\vartheta}) is affine in u with input matrix \mathrm{blkdiag}(1,M_{r}^{-1}), and u=u_{\rm TFL}+r_{\delta}\delta, so its change per unit slack is (\Delta u_{d},\Delta\dot{\omega},\Delta\ddot{\vartheta}):=\mathrm{blkdiag}(1,M_{r}^{-1})\,r_{\delta}. Since Dr_{\delta}=e_{6} and D=\mathrm{blkdiag}(\Pi_{c},\Pi_{e},1)\,\hat{D}\,\mathrm{blkdiag}(1,M_{r}^{-1}) with \Pi_{c} and \Pi_{e} nonsingular on X_{D}, we have \hat{D}(\Delta u_{d},\Delta\dot{\omega},\Delta\ddot{\vartheta})=(0,\,t_{e},\,0). The first three rows of \hat{D} give Re_{3}\,\Delta u_{d}+x_{19}R\,(\Delta\dot{\omega}\times e_{3})=0. The two terms are orthogonal and x_{19}\neq 0, so \Delta u_{d}=0 and \Delta\dot{\omega}_{1}=\Delta\dot{\omega}_{2}=0. The last row then gives (\cos\phi/\cos\theta)\Delta\dot{\omega}_{3}=0, and |\phi|<\pi/2 on X_{D}, so \Delta\dot{\omega}=0. Rows 4 to 6 then give RJ_{\rho}\Delta\ddot{\vartheta}=t_{e}, and \det J_{\rho}\neq 0 on X_{D}, so \Delta\ddot{\vartheta}=J_{\rho}^{-1}R^{\top}t_{e}. Finally, the input terms of the attitude rows of (12c) are those of \mp Y_{j}\dot{\omega}, j\in\{1,2\}, with Y_{j} the jth row of Y, and those of the thrust rows are \mp u_{d}. Their entries of \bar{a} are therefore \mp Y_{j}\Delta\dot{\omega}=0 and \mp\Delta u_{d}=0. ∎

Since \delta is scalar, the feasible set of (13) is an interval. A row with \bar{a}_{i}>0 bounds \delta from below by \bar{b}_{i}/\bar{a}_{i}, a row with \bar{a}_{i}<0 bounds it from above, and a row with \bar{a}_{i}=0 holds if and only if \bar{b}_{i}\leq 0. Let \underline{\delta}(x) be the largest lower bound and \overline{\delta}(x) the smallest upper bound, or \mp\infty when there is none. Then (13) is feasible exactly when every row with \bar{a}_{i}=0 holds and \underline{\delta}\leq\overline{\delta}. Let \Omega_{S}:=\{x\in X_{D}:\bar{a}(x)\hat{\delta}>\bar{b}(x)\text{ for some }\hat{\delta}\in\mathbb{R}\} be the set where (13) is strictly feasible. It is open, since a strict inequality with fixed \hat{\delta} persists near x by continuity. Equivalently, x\in\Omega_{S} exactly when every row with \bar{a}_{i}=0 has \bar{b}_{i}<0 and \underline{\delta}<\overline{\delta}. One pass through the 25 rows gives the interval and both tests online.

Theorem 4.

The QP (13) has a unique minimizer at every x\in\Omega_{S}, given by \delta^{\star}(x)=\max\{\underline{\delta}(x),\min\{0,\overline{\delta}(x)\}\}, and \delta^{\star} and u^{\star} are locally Lipschitz functions of x on \Omega_{S}.

Proof.

The maps D, v, A and b are smooth on X_{D}, since F and G are smooth where \cos\theta\neq 0, and D is invertible there, so r_{\delta}, u_{\rm TFL}, \bar{a} and \bar{b} are smooth on X_{D}. At x\in\Omega_{S} the feasible set is a nonempty closed interval, and strong convexity gives the unique minimizer \max\{\underline{\delta},\min\{0,\overline{\delta}\}\}, the point of the interval closest to zero. Fix \bar{x}\in\Omega_{S}. By continuity there is a neighborhood U\subset\Omega_{S} of \bar{x} on which each row with \bar{a}_{i}(\bar{x})\neq 0 keeps its sign and each row with \bar{a}_{i}(\bar{x})=0 has \bar{b}_{i}<0. Let \ell be the maximum of the smooth bounds \bar{b}_{i}/\bar{a}_{i} over the rows with \bar{a}_{i}(\bar{x})>0 and r the minimum over the rows with \bar{a}_{i}(\bar{x})<0, with an empty maximum -\infty and an empty minimum +\infty. The point \tilde{\delta}:=\max\{\ell,\min\{0,r\}\} is continuous on U, hence bounded after shrinking U. On a smaller U, every row with \bar{a}_{i}(\bar{x})=0 holds strictly at \tilde{\delta}, since \bar{a}_{i} tends to zero and \bar{b}_{i} stays negative. Then \tilde{\delta} is feasible and minimizes |\delta| over an interval that contains the feasible set, so \delta^{\star}=\tilde{\delta} on U. This is locally Lipschitz, and so is u^{\star}=u_{\rm TFL}+r_{\delta}\delta^{\star}. ∎

The closed-loop vector field is therefore locally Lipschitz on \Omega_{S}, and from every x(0)\in\Omega_{S} there is a unique solution in \Omega_{S} on a maximal interval [0,t_{f}).

V-C Path Invariance and Safety

We now show that the constraints act only on the end-effector speed chain \varsigma. Let z_{\perp}:=(\xi,\zeta,\chi,\varrho)\in\mathbb{R}^{12} be the transverse coordinates, let z_{v}:=(\eta_{2}-v_{c},\ \eta_{3},\ \eta_{4},\ \mu_{1}-\psi_{\rm des},\ \mu_{2}-\dot{\psi}_{\rm des})\in\mathbb{R}^{5} be the vehicle speed and heading errors, and let z:=(z_{\perp},z_{v})\in\mathbb{R}^{17}. Let \Lambda:=\mathrm{blkdiag}(\Lambda_{\xi},\Lambda_{\zeta},\Lambda_{\chi},\Lambda_{\varrho},\Lambda_{\eta},\Lambda_{\mu}), where each block is the companion matrix of the Hurwitz polynomial of its chain in (11). Then \Lambda is Hurwitz.

Lemma 5.

Along every closed-loop solution in \Omega_{S}, \dot{z}=\Lambda z.

Proof.

By Proposition 1, under any input u each chain of (10) is a chain of integrators whose last state has derivative L_{F}^{r}y+D_{i}u, with y its output, r its relative degree and D_{i} its row of D. By (12b), Du^{\star}=v+e_{6}\delta^{\star}, so each last derivative equals its auxiliary input, except that \dot{\varsigma}_{2}=v_{\varsigma}+\delta^{\star}. Since v_{c} is constant and \dot{\psi}_{\rm des} and \ddot{\psi}_{\rm des} are the derivatives of \psi_{\rm des}, (11) gives \dot{z}=\Lambda z. ∎

The solution exists only while it stays in \Omega_{S}, where (13) is strictly feasible. By Lemma 3, each vehicle row reads \bar{b}_{i}(x)\leq 0, so the slack cannot enforce it. We say that the row holds strictly at x if \bar{b}_{i}(x)<0, as \Omega_{S} requires. The next lemma shows that the vehicle rows hold strictly near the nominal vehicle motion at low vehicle speed.

Lemma 6.

Let \gamma_{c} be closed. Under Assumption 1, there exist \epsilon_{z},\bar{v}_{z}>0 such that the vehicle rows hold strictly at every x\in X_{D} with \left\|z(x)\right\|<\epsilon_{z} whenever |v_{c}|<\bar{v}_{z}.

Proof.

For a vehicle row with barrier h, \bar{b}_{i}=-(L_{F}^{2}h+L_{G}L_{F}h\,u_{\rm TFL})-k_{1}h-k_{2}L_{F}h. It depends on \Phi, \omega, x_{19}, x_{20} and the values of u_{d} and \dot{\omega} under u_{\rm TFL}. By (10), this feedback gives \alpha_{c}^{(4)}=(v_{\xi},v_{\zeta}), \beta_{c}^{(4)}=v_{\eta} and \ddot{\psi}=v_{\mu}. Through (s_{c},\varpi_{c}), the point p_{c} and its first four derivatives are therefore functions of (\beta_{c},\xi,\zeta,z_{v},v_{c}), and so are \psi=\psi_{\rm des}+z_{v,4}, \dot{\psi}=\dot{\psi}_{\rm des}+z_{v,5} and \ddot{\psi}. On X_{D} the third entry of Re_{3} is \cos\phi\cos\theta>0. Hence (2a) and its derivative give x_{19}, x_{20}, \Phi and \omega as smooth functions of \ddot{p}_{c}, \dddot{p_{c}}, \psi and \dot{\psi} wherever the third entry of \ddot{p}_{c}+ge_{3} is positive. Since x_{19}\neq 0 and \cos\phi\neq 0, (8) and \ddot{\psi}=Y_{3}\dot{\omega}+(\dot{Y}\omega)_{3} then give u_{d} and \dot{\omega}. Thus, on X_{D}, \bar{b}_{i}=g_{i}(\beta_{c},\xi,\zeta,z_{v},v_{c}) for a continuous map g_{i} on an open set W\subset\mathcal{C}_{c}\times\mathbb{R}^{14}. At (\xi,\zeta,z_{v},v_{c})=0 the center of mass rests on \gamma_{c}, so x_{19}=mg, \Phi=(0,0,\psi_{\rm des}), \omega=0, x_{20}=0, u_{d}=0 and \dot{\omega}=0. There, \bar{b}_{i}=-k_{1}h<0, since a_{\epsilon}>0 and \underline{u}_{t}<mg<\overline{u}_{t} by Assumption 1. The compact set \mathcal{C}_{c}\times\{0\} lies in W, since \ddot{p}_{c}+ge_{3}=ge_{3} there. By the tube lemma, there is \epsilon_{z}>0 such that every g_{i} is negative wherever \left\|(\xi,\zeta,z_{v})\right\|<\epsilon_{z} and |v_{c}|<\epsilon_{z}. Set \bar{v}_{z}:=\epsilon_{z}. ∎

Let S\succ 0 solve \Lambda^{\top}S+S\Lambda=-I, let \underline{s}>0 be its smallest eigenvalue, and let V:=z^{\top}Sz. Fix \kappa>0 with \kappa\leq\underline{s}\min\{\delta_{c},\delta_{e},\pi\}^{2}/4 and, when \gamma_{c} is closed, \kappa<\underline{s}\epsilon_{z}^{2}. Let \Omega_{\kappa}:=\{x\in X_{D}:V(x)<\kappa\} and \bar{\Omega}:=X_{D}\cap\bigcap_{h}\mathcal{A}_{h}. Since \alpha_{c}, \alpha_{e} and \mu_{1}-\psi_{\rm des} are entries of z and \left\|z\right\|\leq(V/\underline{s})^{1/2}, every x\in\Omega_{\kappa} has \left\|s_{c}(p_{c})\right\|<\delta_{c}/2, \left\|s_{e}(p_{e})\right\|<\delta_{e}/2, |\mu_{1}-\psi_{\rm des}|<\pi/2 and, when \gamma_{c} is closed, \left\|z\right\|<\epsilon_{z}. By Lemma 6, when \gamma_{c} is closed and |v_{c}|<\bar{v}_{z}, such an x lies in \Omega_{S} if and only if the other 19 rows are strictly feasible at it. These rows can fail inside \Omega_{\kappa}\cap\bar{\Omega}, since z contains neither the position of the end effector along its path nor its speed. Their strict feasibility is therefore a property of the solution, not of the initial condition. Feasibility along the solution is the core assumption of CBF-based controllers, and checking it for several barriers under input bounds is difficult in general [24, Sec. I]. We assume it for these 19 rows with a uniform margin. For w,\delta_{M}>0, let \Omega_{S}^{w} be the set of x\in X_{D} at which some \hat{\delta} with |\hat{\delta}|\leq\delta_{M} satisfies \bar{a}_{i}(x)\hat{\delta}\geq\bar{b}_{i}(x)+w for each of these rows. It is closed relative to X_{D}, since the bounded \hat{\delta} have convergent subsequences and the inequalities pass to the limit.

Assumption 2.

There exist w,\delta_{M}>0 such that the closed-loop solution stays in \Omega_{S}^{w} on [0,t_{f}).

Let \Omega_{0}:=\Omega_{\kappa}\cap\bar{\Omega}\cap\Omega_{S} be the set of admissible initial conditions of Problem 1. To show that it is nonempty, let \psi^{0}:=\psi_{\rm des}(\sigma_{c}(\ell_{c}^{0})), let x^{0}\in\mathbb{R}^{20} be the state with p_{b}=\sigma_{c}(\ell_{c}^{0})-R_{z}(\psi^{0})r_{c}(\vartheta^{0}), \Phi=(0,0,\psi^{0}), \vartheta=\vartheta^{0}, \dot{q}=0, x_{19}=mg and x_{20}=0, and let u^{0}:=(0,\,-mg\,\Upsilon(\vartheta^{0})).

Lemma 7.

Under Assumption 1, there exists \bar{v}>0 such that \Omega_{0} contains a neighborhood of x^{0} whenever |v_{c}|<\bar{v}, for every v_{e}\in\mathbb{R}.

Proof.

Since p_{c}=p_{b}+Rr_{c}, we have p_{c}=\sigma_{c}(\ell_{c}^{0})\in\gamma_{c}, and Assumption 1 gives p_{e}=p_{c}+R_{z}(\psi^{0})\rho(\vartheta^{0})=\sigma_{e}(\ell_{e}^{0})\in\gamma_{e}. With x_{19}=mg>0, \phi=\theta=0, \psi=\psi_{\rm des}(p_{c}) and \det J_{\rho}(\vartheta^{0})>\epsilon_{J}, this gives x^{0}\in X_{D}. Since Re_{3}=e_{3} and c vanishes at zero velocity, both right-hand sides of (2) vanish under u^{0}, so x^{0} is an equilibrium. At an equilibrium every output derivative vanishes, so Du^{0}=-\big(L_{F}^{4}\alpha_{c},L_{F}^{4}\beta_{c},L_{F}^{2}\alpha_{e},L_{F}^{2}\beta_{e},L_{F}^{2}\psi\big)(x^{0}), \dot{\psi}_{\rm des}=\ddot{\psi}_{\rm des}=0 and z(x^{0})=-v_{c}e_{13}. By (11), the only nonzero auxiliary inputs at x^{0} are v_{\eta}=k_{\eta 2}v_{c} and v_{\varsigma}=k_{\varsigma}v_{e}. With \hat{\delta}:=-k_{\varsigma}v_{e}, (9) then gives u_{\rm TFL}(x^{0})+r_{\delta}\hat{\delta}=u^{0}+k_{\eta 2}v_{c}D(x^{0})^{-1}e_{3}. Each barrier h has h(x^{0})>0 by Assumption 1 and \epsilon<\pi/2, and its first two derivatives vanish at the equilibrium. Its row of (12c) at u^{0} therefore reads 0\geq-k_{1}h(x^{0}) and holds strictly, and x^{0} is interior to \mathcal{A}_{h} since \nu_{1}<0. The actuator rows hold strictly at u^{0} by Assumption 1. Hence x^{0}\in\bar{\Omega}. Since \bar{a}\hat{\delta}-\bar{b}=A(u_{\rm TFL}+r_{\delta}\hat{\delta})-b, the slack \hat{\delta} satisfies every row of (13) strictly when v_{c}=0. These finitely many strict inequalities are continuous in v_{c} and do not involve v_{e}, and V(x^{0})=S_{13,13}v_{c}^{2}, so some \bar{v}>0 gives x^{0}\in\Omega_{S}\cap\Omega_{\kappa} whenever |v_{c}|<\bar{v}. Since \Omega_{S} and \Omega_{\kappa} are open and x^{0} is interior to \bar{\Omega}, \Omega_{0} contains a neighborhood of x^{0}. ∎

We can now state the main result of the paper.

Theorem 8.

Under Assumption 1, every closed-loop solution under (12) with x(0)\in\Omega_{0} satisfies the third item of Problem 1 on [0,t_{f}). Moreover, there exist C_{1},C_{2}>0, independent of x(0), such that \left\|z_{\perp}(t)\right\|\leq C_{1}e^{-C_{2}t}\left\|z_{\perp}(0)\right\| and \left\|z_{v}(t)\right\|\leq C_{1}e^{-C_{2}t}\left\|z_{v}(0)\right\| for all t\in[0,t_{f}). In particular, x(0)\in\mathcal{P} implies x(t)\in\mathcal{P} for all t\in[0,t_{f}). If in addition \gamma_{c} and \gamma_{e} are closed, |v_{c}|<\bar{v}_{z} and Assumption 2 holds, then t_{f}=\infty.

Proof.

On [0,t_{f}) the solution lies in \Omega_{S}, so every row of (12c) holds along it. Since x(0)\in\bar{\Omega}, the invariance statement of Section II-A gives x(t)\in\mathcal{A}_{h} for every barrier h. This yields the third item of Problem 1, with the actuator rows giving the moment and joint torque bounds. By Lemma 5, \dot{V}=-\left\|z\right\|^{2} along the solution, so V(x(t))\leq V(x(0))<\kappa and x(t)\in\Omega_{\kappa}. Since \Lambda is Hurwitz and block diagonal, z_{\perp} and z_{v} satisfy the stated bounds with any C_{1},C_{2}>0 such that \left\|e^{\Lambda t}\right\|\leq C_{1}e^{-C_{2}t}. With z_{\perp}(0)=0, the first bound gives z_{\perp}(t)=0, which is the invariance of \mathcal{P} since \mathcal{P}\cap X_{D}=\{x\in X_{D}:z_{\perp}(x)=0\}.

Now let \gamma_{c} and \gamma_{e} be closed, let |v_{c}|<\bar{v}_{z} and Assumption 2 hold, and suppose t_{f}<\infty. The barriers bound \vartheta, \phi, \theta and x_{19}, and the second inequality of each admissible set bounds \dot{\vartheta}, \dot{\phi}, \dot{\theta} and x_{20}. Since x(t)\in\Omega_{\kappa}, the points p_{c} and p_{e} stay in the sets K_{j}:=\{p\in U_{\gamma_{j}}:\left\|s_{j}(p)\right\|\leq\delta_{j}/2\}, j\in\{c,e\}, which are compact because the paths are closed and the closure of U_{\gamma_{j}} lies in a tubular neighborhood of \gamma_{j}. On K_{c} the matrix \Pi_{c}^{-1} and the gradient of \psi_{\rm des} are bounded, and so are \xi_{2}, \zeta_{2} and \eta_{2} by the bound on z. Hence \dot{p}_{c} and \dot{\psi}=\mu_{2} are bounded. In turn, \dot{\Phi} is bounded, and so is \omega=Y(\Phi)^{-1}\dot{\Phi}, since |\theta|\leq\pi/2-\epsilon. Then p_{b}=p_{c}-Rr_{c} and \dot{p}_{b} are bounded. Thus x(t) is bounded on [0,t_{f}), with \psi bounded because t_{f}<\infty, and it has a limit point \bar{x} as t\to t_{f}. The closed conditions x_{19}\geq\underline{u}_{t}, |\phi|,|\theta|\leq\pi/2-\epsilon, \det J_{\rho}\geq\epsilon_{J} and |\mu_{1}-\psi_{\rm des}|\leq\pi/2 and the compact sets K_{c} and K_{e} give \bar{x}\in X_{D}. By Assumption 2 and since \Omega_{S}^{w} is closed relative to X_{D}, also \bar{x}\in\Omega_{S}^{w}. Since V(\bar{x})\leq\kappa<\underline{s}\epsilon_{z}^{2}, Lemma 6 gives the vehicle rows strictly at \bar{x}, so \bar{x}\in\Omega_{S}. This contradicts the maximality of t_{f}<\infty, since the solution must eventually leave every compact subset of the open set \Omega_{S}. Hence t_{f}=\infty. ∎

By Lemma 7, \Omega_{0} contains a neighborhood of x^{0} when |v_{c}|<\bar{v}. The controller (12) on \mathcal{U}:=\Omega_{S} with \Omega_{0} then solves Problem 1. Theorem 8 gives the third item of Problem 1 directly, and its bounds on z_{\perp} and z_{v} give the first two items, since \mathcal{P}\cap X_{D}=\{z_{\perp}=0\}, \dot{\beta}_{c}=\eta_{2} and \psi=\mu_{1}. If (13) becomes infeasible, the interval test detects it. A fallback with safety guarantees is left to future work.

VI Simulation Results

We simulate in Drake [19] a Skydio X2 quadrotor from the MuJoCo Menagerie [25] carrying an OpenMANIPULATOR-X arm below the airframe (Fig. 1). The first three joints are actuated, the wrist is fixed, and the combined system weighs 1.917 kg. The upper arm is bent, so \det J_{\rho} vanishes at \vartheta_{3}=\vartheta_{3}^{*}=-1.38 rad, and the set \bar{\rho}_{x}=0 crosses the joint box. The joint limits stop 0.08 rad short of \vartheta_{3}^{*} but do not exclude \bar{\rho}_{x}=0, so the barrier h_{J} is needed. The controller uses the exact multibody model at 400 Hz with a zero-order hold, and the plant is integrated at 4 kHz, so the runs are sampled approximations of (12). The project page provides the code, the animations, all settings, and studies of the sampling rate, the compatible postures and model mismatch.

Fig. 2: Nominal controller from an off-path start (dots). Left: center of mass (blue), end effector (red) and paths (wide light lines). Right: distances to the paths, along-path speeds and heading error.

The vehicle path is a horizontal circle of radius 1.2 m with a wavy altitude, s_{c}=(x^{2}+y^{2}-1.2^{2},\ z-1.6-0.1\sin 2\lambda) with \lambda:=\mathrm{atan2}(y,x) and \varpi_{c}=\lambda. The end-effector path is the circle of the same radius below it with a scalloped altitude, s_{e}=(x^{2}+y^{2}-1.2^{2},\ z-1.42-0.06\sin(2\lambda+0.8)-0.03\sin 8\lambda) and \varpi_{e}=\lambda. Both maps are smooth away from the z axis, which U_{\gamma_{c}} and U_{\gamma_{e}} avoid. The heading reference is the tangent direction \psi_{\rm des}=\lambda+\pi/2, and a speed of 0.25 rad/s is 0.3 m/s. We report d_{c} and d_{e}, the distances of p_{c} and p_{e} to the points of their paths at the same \lambda, which bound the distances to the paths. The limits are \epsilon=0.1 rad, \underline{u}_{t}=2 N, \overline{u}_{t}=40 N, \overline{\tau}=(3,3,1) Nm, \overline{\tau}_{\vartheta,i}=3 Nm, \epsilon_{J}=1.5\times 10^{-3} m3 and joint limits \pm 1.5, \pm 1.3 and [-1.3,1.2] rad. The simulated plant does not enforce the joint limits, so only the barriers do. All runs start 0.4 m outside and 0.25 m below the vehicle path, moving at 0.3 m/s with a heading error of 0.35 rad, inside every \mathcal{A}_{h} but off \mathcal{P}. We do not compute \kappa, so the runs test the controller beyond the certified set.

Fig. 3: Incompatible speed references: distances to the paths, along-path speeds with references (gray dotted), \vartheta_{2} and \det J_{\rho} with limits and margin (black dash-dotted). The gray line marks the switch at t=15 s. The nominal run diverges at the cross, and the cascade speeds leave the plotted range.

Under the nominal controller (9) with v_{c}=v_{e}=0.25 rad/s (Fig. 2), d_{c} and d_{e} decay exponentially from 0.47 m and 0.53 m and fall below 1 mm after 5.8 s. They then stay below 0.04 mm and 1 mm, the sampled-data residual of the invariance of \mathcal{P}. The speeds settle at 0.25 rad/s and the heading error below 10^{-4} rad. Fig. 3 compares (12) with the nominal controller and the safety-filtered cascade, which applies the filter of [23, Sec. II-C] with the rows of (12c) to (9). The cascade minimizes \tfrac{1}{2}\left\|u-u_{\rm TFL}\right\|^{2}, an identity weight on inputs of mixed units, subject to these rows. At t=15 s the end-effector reference is raised to v_{e}=0.42 rad/s with v_{c} unchanged. The three controllers coincide until the switch, after which the nominal controller stretches the arm until \det J_{\rho} crosses zero at t=16.39 s.

With (12), the singularity row activates at t=16.26 s, and the slack brings the end-effector speed back to the vehicle speed with |\delta^{\star}|\leq 1.04 rad/s2. From then on the singularity row or the upper limit of \vartheta_{2} is active at every step, so the closed loop moves along the constraint boundary. The barrier holds up to a residual of 3\times 10^{-6} m3, and after t=20 s, \det J_{\rho} stays below 1.93\times 10^{-3} m3, close to \epsilon_{J}. The distances peak at 2.8 mm for d_{e} and 0.16 mm for d_{c}, and after t=20 s they are back below 0.32 mm and 0.04 mm.

After t=20 s the end-effector speed has mean 0.250 rad/s and range [0.216,0.300] rad/s. The vehicle speed stays in [0.236,0.252] rad/s, a sampled-data dip, since the hard rows hold it at 0.25 rad/s in continuous time. The heading error stays below 10^{-4} rad, and the thrust, moments and joint torques stay well inside their bounds. The reduced QP stays strictly feasible, with an interval at least 2.6 rad/s2 wide, more than twice the largest slack, and the vehicle rows hold with large margins, as Lemma 6 predicts. Under the cascade, the end effector leaves its path by over 5 cm within 0.25 s of its first active row, and the vehicle after 0.7 s. The vehicle speed reverses to -4.2 rad/s with the moment bounds and \overline{u}_{t} active, and neither point returns within 7 mm of its path.

VII Conclusion

This paper presented a safe dual path-following controller for a quadrotor carrying a 3-DOF arm. With the center of mass of the combined system as the vehicle output, the dynamically extended system is feedback linearizable away from an explicit singular set. A QP that relaxes only the end-effector speed row reduces to a scalar program with a closed-form solution. While it stays strictly feasible, the feedback is locally Lipschitz, both paths are invariant and every constraint holds. In Drake, the controller resolved incompatible speed references by slowing the end effector, while the cascade with a safety filter left both paths and the nominal controller reached the singular set. Future work includes collision avoidance, a verifiable feasibility condition, a guaranteed fallback and hardware tests.

Generative AI Disclosure: ChatGPT 5.6 has been used to improve the syntax and grammar of some paragraphs.

References

  1. [1] A. Ollero, M. Tognon, A. Suarez, D. Lee, and A. Franchi (2021) Past, present, and future of aerial robotic manipulators. IEEE Transactions on Robotics 38 (1), pp. 626–645.
  2. [2] L. Sciavicco, L. Villani, B. Siciliano, and G. Oriolo (2010) Robotics: modelling, planning and control. Springer.
  3. [3] C. Nielsen and M. Maggiore (2008) On local transverse feedback linearization. SIAM Journal on Control and Optimization 47 (5), pp. 2227–2250.
  4. [4] A. Akhtar, C. Nielsen, and S. L. Waslander (2015) Path following using dynamic transverse feedback linearization for car-like robots. IEEE Transactions on Robotics 31 (2), pp. 269–279.
  5. [5] A. Akhtar, S. L. Waslander, and C. Nielsen (2012) Path following for a quadrotor using dynamic extension and transverse feedback linearization. In 2012 IEEE 51st Conference on Decision and Control (CDC), pp. 3551–3556.
  6. [6] M. Al Lawati and A. Akhtar (2026) Path-following control of a quadrotor using quasi-static transverse feedback linearization. In 2026 European Control Conference (ECC), pp. 3454–3459.
  7. [7] R. Gill, D. Kulić, and C. Nielsen (2017) Path following for mobile manipulators. In Robotics Research: Volume 2, pp. 527–544.
  8. [8] Y. Li and C. Nielsen (2016) Synchronized Closed Path Following for a Differential Drive and Manipulator Robot. IEEE Transactions on Control Systems Technology 25 (2), pp. 704–711.
  9. [9] J. Welde, J. Paulos, and V. Kumar (2021) Dynamically feasible task space planning for underactuated aerial manipulators. IEEE Robotics and Automation Letters 6 (2), pp. 3232–3239.
  10. [10] S. X. Wei, P. Harderup, and J. Burdick (2021) Differential flatness and flatness inspired control of aerial manipulators based on Lagrangian reduction. arXiv preprint arXiv:2111.01302.
  11. [11] J. Welde and V. Kumar (2020) Coordinate-free dynamics and differential flatness of a class of 6DOF aerial manipulators. In 2020 IEEE International Conference on Robotics and Automation (ICRA), pp. 4307–4313.
  12. [12] C. P. Carvajal, V. H. Andaluz, F. Roberti, and R. Carelli (2023) Path-following control for aerial manipulators robots with priority on energy saving. Control Engineering Practice 131, pp. 105401.
  13. [13] C. P. Carvajal, G. M. Andaluz, V. H. Andaluz, F. Roberti, G. Palacios-Navarro, and R. Carelli (2024) Multitask control of aerial manipulator robots with dynamic compensation based on numerical methods. Robotics and Autonomous Systems 173, pp. 104614.
  14. [14] S. Mirnajafizadeh and A. Shafei (2025) A unified framework for dynamic analysis and path tracking control of multi-rotor aerial manipulators. International Journal of Mechanical System Dynamics 5 (4), pp. 629–653.
  15. [15] N. Laribi, M. R. Mokhtari, A. Benallegue, A. El-Hadri, and M. Benallegue (2026) QP-based control of an underactuated aerial manipulator under constraints. Aerospace Science and Technology, pp. 112845.
  16. [16] H. Tariq, U. Ali, and A. Akhtar (2026) A relaxed quadratic-program-based framework for trajectory tracking of unicycle robots with singularity avoidance. In 2026 IEEE Conference on Control Technology and Applications (CCTA), pp. 925–930.
  17. [17] H. Tariq and A. Akhtar (2026) Decentralized safe path following for multiple quadrotors on intersecting paths with theoretical guarantees. Note: arXiv preprint arXiv:2610.00208 External Links: Document
  18. [18] A. D. Ames, X. Xu, J. W. Grizzle, and P. Tabuada (2016) Control barrier function based quadratic programs for safety critical systems. IEEE Transactions on Automatic Control 62 (8), pp. 3861–3876.
  19. [19] R. Tedrake and the Drake Development Team (2019) Drake: model-based design and verification for robotics. External Links: Link
  20. [20] Q. Nguyen and K. Sreenath (2016) Exponential control barrier functions for enforcing high relative-degree safety-critical constraints. In 2016 American control conference (ACC), pp. 322–328.
  21. [21] V. Guillemin and A. Pollack (1974) Differential topology. Prentice-Hall.
  22. [22] A. Isidori (1995) Nonlinear control systems. 3 edition, Communications and Control Engineering, Springer, London, U.K.. External Links: Document
  23. [23] A. D. Ames, S. Coogan, M. Egerstedt, G. Notomista, K. Sreenath, and P. Tabuada (2019) Control barrier functions: theory and applications. In 2019 18th European control conference (ECC), pp. 3420–3431.
  24. [24] X. Tan and D. V. Dimarogonas (2022) Compatibility checking of multiple control barrier functions for input constrained systems. In 2022 IEEE 61st Conference on Decision and Control (CDC), pp. 939–944.
  25. [25] K. Zakka, Y. Tassa, and MuJoCo Menagerie Contributors (2022) MuJoCo Menagerie: A collection of high-quality simulation models for MuJoCo. External Links: Link