Constrained Stabilization on the n n -Sphere with Conic and Star-shaped Constraints Mayur Sawant, Abdelhamid Tayebi Abstract The problem of constrained stabilization on the n n -sphere under star-shaped constraints is considered. We propose a control strategy that allows to almost globally steer the state to a desired location while avoiding star-shaped constraints on the n n -sphere. Depending on the state’s proximity to the unsafe regions, the state is either guided towards the target location along the geodesic connecting the target to the state or steered towards the antipode of a predefined point lying in the interior of the nearest unsafe region. We prove that the target location is almost globally asymptotically stable under the proposed continuous, time-invariant feedback control law. Nontrivial simulation results on the 2 2 -sphere and the 3 3 -sphere demonstrate the effectiveness of the theoretical results. I Introduction Various mechanical systems have states that evolve on the n -sphere. Examples include spin-axis stabilization of rigid body systems [ 1 ] , two-axis gimbal systems [ 2 ] , thrust-vector control for quad-rotor aircraft [ 3 ] , and the spherical robot [ 4 ] . In many practical scenarios, the attitude stabilization problem can also be recast as a stabilization on the 3 -sphere. The stabilization problem on the n -sphere (without constraints) has been dealt with in the literature using differential geometry and hybrid dynamical systems tools, see for instance [ 1 , 5 , 6 ] . In [ 7 ] , a logarithmic barrier function is used to design a quaternion-based feedback controller for attitude control of a rigid body spacecraft in the presence of multiple attitude-constrained zones, characterized by quadratic inequalities. Another logarithmic barrier function based approach for attitude stabilization on the special orthogonal group \mathrm{SO}(3) under conic constraints is proposed in [ 8 ] . In [ 9 ] , the authors proposed an explicit reference governor approach for spacecraft attitude control under actuator saturation and conic constraints. In [ 10 ] , an invariant set motion planner is proposed to plan a sequence of reference quaternion waypoints that safely guides the spacecraft attitude to a desired orientation while avoiding unsafe regions—modeled as conic constraints. In [ 11 ] , the problem of spacecraft attitude reorientation under conic constraints and physical limitations is addressed by designing a virtual angular velocity, relying on control barrier functions to ensure constraint satisfaction. A prescribed performance controller is then designed for the angular velocity tracking while taking into account the control input saturation. In [ 12 ] , the authors addressed the stabilization problem on the n -sphere under conic constraints by leveraging the stereographic projection to transform the problem into a classical navigation problem in \mathbb{R}^{n} with spherical obstacles, enabling the use of existing navigation function-based obstacle avoidance methods. Reference [ 13 ] investigates the problem of reduced attitude control for a rigid spacecraft under elliptical pointing constraints and parameter uncertainties. Employing a diffeomorphic projection and elliptical stereographic mapping, the problem is reformulated as an obstacle avoidance problem in a two-dimensional Euclidean space. Although these approaches guarantee constrained stabilization on the spherical manifold, in most cases, the characterization of unsafe sets is limited to conic constraints. Since the n -sphere is a bounded manifold, a more flexible characterization of the unsafe region can result in a larger safe region for stabilization purposes. In this paper, we design a continuous feedback control law for almost 1 1 1 An equilibrium point is almost globally asymptotically stable if it is stable and attractive from all initial conditions except a set of zero Lebesgue measure. global asymptotic stabilization on the n -sphere while avoiding star-shaped constraints. Note that geodesically strongly convex constraints [ 14 , Chap. IV, Def. 5.1] , such as conic and ellipsoidal constraints on the n -sphere, form a subset of the star-shaped constraints. Inspired by the obstacle avoidance strategy in [ 15 ] , where the state is steered radially away from the center of an ellipsoidal obstacle in the Euclidean space \mathbb{R}^{n} , the proposed feedback controller steers the state, depending on its proximity to unsafe regions, towards the antipode of a predefined point from the interior of the nearest star-shaped set on the n -sphere. The main contributions of the proposed work are as follows: 1. Safety and almost global asymptotic stability: The proposed control strategy ensures safety and guarantees almost global asymptotic stabilization of the desired location on the n -sphere under star-shaped constraints. To the best of the authors’ knowledge, this is the first work in literature achieving such strong stability results for the constrained stabilization problem on the n -sphere with star-shaped constraints. 2. Arbitrarily-shaped star-shaped constraint on the n -sphere: The proposed feedback controller is able to handle star-shaped constraints on the n -sphere. Note that geodesically strongly convex constraints [ 14 , Chap. IV, Def. 5.1] , such as conic and ellipsoidal constraints on the n -sphere, form a subset of the star-shaped constraints. 3. Minimal constraint information required: The proposed feedback controller does not require complete knowledge of the constraint set. It only requires (i) at least one point in the interior of each constraint such that the geodesic connecting any point of the set to it lies entirely within the set, and (ii) a means of measuring proximity to the set in terms of spherical distance, as defined later in Section II . The rest of the paper is organized as follows. Section II introduces the notations and mathematical preliminaries used throughout the paper, and Section III specifies the problem statement. In Section IV , we present a feedback control design for stabilization on the n -sphere under conic constraints. This controller is then modified to address the problem of stabilization on the n -sphere under the star-shaped constraints in Section V . In Section V-A , we analyze the safety and stability properties of the resulting closed-loop system. In Section VI , the proposed controllers are applied to the problem of constrained (partial and full) attitude stabilization, and their effectiveness is demonstrated through non-trivial simulation studies. Finally, concluding remarks are provided in Section VIII . II Notations and preliminaries The sets of real numbers and natural numbers are represented by \mathbb{R} and \mathbb{N} , respectively. Bold lowercase letters are used to represent vector quantities. The Euclidean norm of any vector \mathbf{x}\in\mathbb{R}^{n} is given by \|\mathbf{x}\|=\sqrt{\mathbf{x}^{\top}\mathbf{x}} . The identity matrix and the zero matrix of dimension n\in\mathbb{N} are denoted by \mathbf{I}_{n} and \mathbf{0}_{n} , respectively. Given \mathcal{A}\subset\mathbb{R}^{n} and \mathcal{B}\subset\mathbb{R}^{n} , the relative complement of \mathcal{B} in \mathcal{A} is given by \mathcal{A}\setminus\mathcal{B}=\{\mathbf{a}\in\mathcal{A}\mid\mathbf{a}\notin\mathcal{B}\} . Given \mathcal{A}\subset\mathbb{R}^{n} , the cardinality of \mathcal{A} is denoted by \mathrm{card}(\mathcal{A}) . We also define the following subsets of \mathbb{R}^{n} : Line segment: Given any two points \mathbf{a},\mathbf{b}\in\mathbb{R}^{n} , the line segment \mathcal{L}_{s}(\mathbf{a},\mathbf{b}) joining \mathbf{a} and \mathbf{b} is defined as \mathcal{L}_{s}(\mathbf{a},\mathbf{b})=\{\mathbf{x}\in\mathbb{R}^{n}\mid\mathbf{x}=(1-\lambda)\mathbf{a}+\lambda\mathbf{b},\lambda\in[0,1]\}. (1) Convex cone: Given \mathbf{a}\in\mathbb{R}^{n}\setminus\{\mathbf{0}\} and \mathbf{b}\in\mathbb{R}^{n}\setminus\{\mathbf{0}\} , a convex cone \mathcal{C}(\mathbf{a},\mathbf{b}) with its vertex at the origin is defined as \mathcal{C}(\mathbf{a},\mathbf{b}):=\{\mathbf{x}\in\mathbb{R}^{n}\mid\mathbf{x}=\lambda_{1}\mathbf{a}+\lambda_{2}\mathbf{b},\lambda_{1}\geq 0,\lambda_{2}\geq 0\}. In the present work, we consider the motion in the unit n -sphere which is an n -dimensional manifold embedded in the Euclidean space \mathbb{R}^{n+1} and defined as \mathbb{S}^{n}:=\{\mathbf{x}\in\mathbb{R}^{n+1}\mid\|\mathbf{x}\|=1\} . Given a set \mathcal{A}\subset\mathbb{S}^{n} , the symbols \overline{\mathcal{A}},\mathcal{A}^{\circ} , and \partial\mathcal{A} represent the closure, interior, and the boundary of \mathcal{A} on \mathbb{S}^{n} , where \partial\mathcal{A}=\overline{\mathcal{A}}\setminus\mathcal{A}^{\circ} . In the following, we will provide the definitions of some concepts that will be used throughout the paper. Tangent space: The tangent space to \mathbb{S}^{n} at \mathbf{x}\in\mathbb{S}^{n} is given by \mathbf{T}_{\mathbf{x}}(\mathbb{S}^{n})=\{\mathbf{a}\in\mathbb{R}^{n+1}\mid\mathbf{a}^{\top}\mathbf{x}=0\} , which represents all vectors in \mathbb{R}^{n+1} that are perpendicular to \mathbf{x} . Given \mathbf{x}\in\mathbb{S}^{n} and \mathbf{a}\in\mathbb{R}^{n+1} , the orthogonal projection operator \mathbf{P}(\mathbf{x}) , which is given by \mathbf{P}(\mathbf{x})=\mathbf{I}_{n+1}-\mathbf{x}\mathbf{x}^{\top}, (2) projects \mathbf{a} onto the tangent space \mathbf{T}_{\mathbf{x}}(\mathbb{S}^{n}) , i.e. , \mathbf{P}(\mathbf{x})\mathbf{a}\in\mathbf{T}_{\mathbf{x}}(\mathbb{S}^{n}) . Spherical distance: Given a set \mathcal{A}\subset\mathbb{S}^{n} and \mathbf{x}\in\mathbb{S}^{n} , the spherical distance between \mathbf{x} and \mathcal{A} is evaluated as d_{s}(\mathbf{x},\mathcal{A})=\underset{\mathbf{a}\in\mathcal{A}}{\inf\;}(1-\mathbf{x}^{\top}\mathbf{a}). (3) Furthermore, the set containing the points in \mathcal{A} that are at a spherical distance d_{s}(\mathbf{x},\mathcal{A}) from \mathbf{x} is given by \mathcal{P}(\mathbf{x},\mathcal{A})=\{\mathbf{a}\in\mathcal{A}\mid d_{s}(\mathbf{x},\mathbf{a})=d_{s}(\mathbf{x},\mathcal{A})\}. (4) If \mathrm{card}(\mathcal{P}(\mathbf{x},\mathcal{A}))=1 , then the unique element in \mathcal{P}(\mathbf{x},\mathcal{A}) is represented by \Pi_{\mathbf{x}}(\mathcal{A}) . Given a set \mathcal{A}\subset\mathbb{S}^{n} , the dilation of \mathcal{A} by p>0 on \mathbb{S}^{n} is defined as \mathcal{D}_{p}(\mathcal{A})=\{\mathbf{x}\in\mathbb{S}^{n}\mid d_{s}(\mathbf{x},\mathcal{A})\leq p\}. (5) Furthermore, the p -neighborhood of \mathcal{A} on \mathbb{S}^{n} is given by \mathcal{N}_{p}(\mathcal{A})=\mathcal{D}_{p}(\mathcal{A})\setminus\mathcal{A}^{\circ} . Geodesic: For any two points \mathbf{a},\mathbf{b}\in\mathbb{S}^{n} with \mathbf{a}\neq-\mathbf{b} , the unique geodesic connecting \mathbf{a} and \mathbf{b} is given by \mathcal{G}(\mathbf{a},\mathbf{b})=\left\{\mathbf{x}\in\mathbb{S}^{n}\mid\mathbf{x}=g(\lambda;\mathbf{a},\mathbf{b}),\lambda\in[0,1]\right\}, (6) where, motivated by [ 16 , Section 3.3] , the mapping g:[0,1]\to\mathbb{S}^{n} is defined as g(\lambda;\mathbf{a},\mathbf{b})=\frac{\sin((1-\lambda)\theta)\mathbf{a}+\sin(\lambda\theta)\mathbf{b}}{\sin\theta}, where \theta=\arccos(\mathbf{a}^{\top}\mathbf{b}) . Since \mathbf{P}(g(\lambda;\mathbf{a},\mathbf{b}))\frac{d^{2}g(\lambda;\mathbf{a},\mathbf{b})}{d\lambda^{2}}=\mathbf{0} for all \lambda\in[0,1] , using [ 17 , Chap. 3, Def. 2.1] , one can confirm that \mathcal{G}(\mathbf{a},\mathbf{b}) is a geodesic and is the curve on \mathbb{S}^{n} with the smallest path length, connecting \mathbf{a} and \mathbf{b} . Star-shaped sets on \mathbb{S}^{n} : A set \mathcal{A}\subset\mathbb{S}^{n} is a star-shaped set on \mathbb{S}^{n} if there exists \mathbf{g}\in\mathcal{A} with -\mathbf{g}\notin\mathcal{A} such that \mathcal{G}(\mathbf{g},\mathbf{x})\subset\mathcal{A} for all \mathbf{x}\in\mathcal{A} . Given a star-shaped set \mathcal{A} on \mathbb{S}^{n} , let \sigma(\mathcal{A}) be the set of all points \mathbf{g} in \mathcal{A} such that -\mathbf{g}\notin\mathcal{A} and \mathcal{G}(\mathbf{g},\mathbf{x})\subset\mathcal{A} for all \mathbf{x}\in\mathcal{A} , defined as follows: \sigma(\mathcal{A})=\{\mathbf{g}\in\mathcal{A}\mid-\mathbf{g}\notin\mathcal{A},~\forall\mathbf{x}\in\mathcal{A},~\mathcal{G}(\mathbf{g},\mathbf{x})\subset\mathcal{A}\}. (7) Notice that for every point \mathbf{g}\in\sigma(\mathcal{A})\cap\mathcal{A}^{\circ} , the geodesic \mathcal{G}(\mathbf{x},-\mathbf{g}) connecting any point \mathbf{x} on the boundary of \mathcal{A} on \mathbb{S}^{n} to -\mathbf{g} does not intersect with the interior of \mathcal{A} on \mathbb{S}^{n} , as stated in the next lemma. Lemma 1 . Let \mathcal{A} be a star-shaped set on \mathbb{S}^{n} . Then, for every \mathbf{g}\in\sigma(\mathcal{A})\cap\mathcal{A}^{\circ} and for all \mathbf{x}\in\partial\mathcal{A} , one has \mathcal{G}(\mathbf{x},-\mathbf{g})\cap\mathcal{A}^{\circ}=\emptyset. Proof. See Appendix -A . Remark 1 . Every geodesically strongly convex (gs-convex) set \mathcal{A}\subset\mathbb{S}^{n} is a star-shaped set on \mathbb{S}^{n} . A set \mathcal{A}\subset\mathbb{S}^{n} is said to be gs-convex if, for any two points \mathbf{a},\mathbf{b}\in\mathcal{A} , the unique geodesic \mathcal{G}(\mathbf{a},\mathbf{b}) connecting \mathbf{a} and \mathbf{b} lies entirely in \mathcal{A} , that is, \mathcal{G}(\mathbf{a},\mathbf{b})\subset\mathcal{A} for all \mathbf{a},\mathbf{b}\in\mathcal{A} [ 14 , Chap. IV, Def. 5.1] . Consequently, if \mathcal{B} is gs-convex, then it is a star-shaped set on \mathbb{S}^{n} and \sigma(\mathcal{B})=\mathcal{B} , as illustrated in Fig. 1(b) , where \sigma(\mathcal{B}) is defined in ( 7 ). (a) (b) Fig. 1 : Illustration of (a) a star-shaped set and (b) a gs-convex set on \mathbb{S}^{n} . III Problem formulation We consider the problem of constrained stabilization on \mathbb{S}^{n} for the system \dot{\mathbf{x}}=\mathbf{P}(\mathbf{x})\mathbf{u}, (8) where \mathbf{x}\in\mathbb{S}^{n} is the state vector, \mathbf{u}\in\mathbb{R}^{n+1} is the control input, and n\geq 2 . The orthogonal projection operator \mathbf{P}(\mathbf{x}) , defined in ( 2 ), projects \mathbf{u} onto the tangent space to \mathbb{S}^{n} at \mathbf{x} . In other words, \mathbf{P}(\mathbf{x}) ensures that \dot{\mathbf{x}}\in\mathbf{T}_{\mathbf{x}}(\mathbb{S}^{n}) for all \mathbf{x}\in\mathbb{S}^{n} , implying that \mathbf{x}^{\top}\dot{\mathbf{x}}=0 . Consequently, if \mathbf{x}(0)\in\mathbb{S}^{n} , then \mathbf{x}(t)\in\mathbb{S}^{n} for all future times. The objective is to stabilize \mathbf{x} at the desired point \mathbf{x}_{d}\in\mathbb{S}^{n} , while avoiding the interior of an unsafe region \mathcal{U}\subset\mathbb{S}^{n} . The set \mathcal{U} , defined as the union of m closed sets \mathcal{U}_{i} on \mathbb{S}^{n} , where i\in\{1,\ldots,m\}=:\mathbb{I} and m\in\mathbb{N} , is given by \mathcal{U}=\bigcup_{i\in\mathbb{I}}\mathcal{U}_{i}. (9) For safe stabilization the condition d_{s}(\mathbf{x}(t),\mathcal{U})\geq 0 should hold for all t\geq 0 . Defining the set \mathcal{M}_{p}=\{\mathbf{x}\in\mathbb{S}^{n}\setminus\mathcal{U}^{\circ}\mid d_{s}(\mathbf{x},\mathcal{U})\geq p\}, (10) for p\geq 0 , safe stabilization is, therefore, ensured if and only if \mathbf{x}(t)\in\mathcal{M}_{0} for all t\geq 0 . In Section IV , the unsafe regions \mathcal{U}_{i} represent conic constraints, whereas Section V considers them to be star-shaped on \mathbb{S}^{n} . To ensure the feasibility of the problem, we assume that the sets \mathcal{U}_{i} , where i\in\mathbb{I} , do not overlap with each other, as stated in the following assumption: Assumption 1 . The spherical distance between \mathcal{U}_{i} and \mathcal{U}_{j} is greater than or equal to \delta for all i,j\in\mathbb{I} with i\neq j , where \delta\in[0,2] is a known parameter. In other words, for i,j\in\mathbb{I},i\neq j , d_{s}(\mathcal{U}_{i},\mathcal{U}_{j})=\underset{\mathbf{a}\in\mathcal{U}_{i},b\in\mathcal{U}_{j}}{\min}d_{s}(\mathbf{a},\mathbf{b})\geq\delta. The task is to design \mathbf{u} in ( 8 ) such that the following objectives are satisfied: 1. The set \mathcal{M}_{0} , defined according to ( 10 ), is forward invariant. That is, if \mathbf{x}(0)\in\mathcal{M}_{0} , then \mathbf{x}(t)\in\mathcal{M}_{0} for all t\geq 0 . 2. The target location \mathbf{x}_{d}\in\mathcal{M}_{0}^{\circ} is almost globally asymptotically stable 2 2 2 The equilibrium \mathbf{x}_{d}\in\mathcal{M}_{0}^{\circ} is stable and attractive from all initial conditions in \mathcal{M}_{0} except a set of zero Lebesgue measure. over \mathcal{M}_{0} . IV Constrained stabilization under conic constraints For each i\in\mathbb{I} , a conic constraint \mathcal{U}_{i} on \mathbb{S}^{n} is defined as \mathcal{U}_{i}=\{\mathbf{x}\in\mathbb{S}^{n}\mid\mathbf{x}^{\top}\mathbf{g}_{i}\geq\cos(\xi)\}, (11) where \mathbf{g}_{i}\in\mathbb{S}^{n}\setminus\{\mathbf{x}_{d}\} and \xi_{i}\in[0,\pi) . The constant unit vectors \mathbf{g}_{i} and the scalar parameters \xi_{i} are set such that the unsafe regions \mathcal{U}_{i} satisfy Assumption 1 , as illustrated in Fig. 2 . Fig. 2 : Conic constraints ( 11 ). Consider the following scalar function: W(\mathbf{x})=\frac{k_{1}d_{s}(\mathbf{x},\mathbf{x}_{d})}{d_{s}(\mathbf{x},\mathbf{x}_{d})+\beta(\mathbf{x})}, (12) where k_{1}>0 , d_{s}(\mathbf{x},\mathbf{x}_{d}) denotes the spherical distance between \mathbf{x} and \mathbf{x}_{d} and is defined in ( 3 ). The scalar function \beta(\mathbf{x}) is defined as \beta(\mathbf{x})=\begin{cases}h(d_{s}(\mathbf{x},\mathcal{U}_{i})),&\mathbf{x}\in\mathcal{N}_{\epsilon}(\mathcal{U}_{i}),\\ 1,&\mathbf{x}\notin\mathcal{N}_{\epsilon}(\mathcal{U}),\end{cases} (13) where \epsilon\in\left(0,\min\{\bar{\epsilon},\Phi(\delta)\}\right) , \delta is defined in Assumption 1 , \Phi(\delta)=1-\sqrt{\frac{2-\delta}{2}} , and \bar{\epsilon} is a strictly positive scalar such that \mathbf{x}_{d}\notin\mathcal{N}_{\bar{\epsilon}}(\mathcal{U}) . Remark 2 . Setting \epsilon<\Phi(\delta) ensures that the regions \mathcal{D}_{\epsilon}(\mathcal{U}_{i}) and \mathcal{D}_{\epsilon}(\mathcal{U}_{j}) are disjoint for every i,j\in\mathbb{I} with i\neq j , i.e. , \mathcal{D}_{\epsilon}(\mathcal{U}_{i})\cap\mathcal{D}_{\epsilon}(\mathcal{U}_{j})=\emptyset . To understand this, note that it follows from Assumption 1 that for every i,j\in\mathbb{I} with i\neq j , \underset{\mathbf{a}\in\mathcal{U}_{i},\mathbf{b}\in\mathcal{U}_{j}}{\min}\arccos\left(\mathbf{a}^{\top}\mathbf{b}\right)\geq\Lambda(\delta), where, for any p\in[0,2] , \Lambda(p)=\arccos\left(1-\delta\right) . To guarantee \mathcal{D}_{\epsilon}(\mathcal{U}_{i})\cap\mathcal{D}_{\epsilon}(\mathcal{U}_{j})=\emptyset for all i,j\in\mathbb{I} with i\neq j , it suffices to choose \epsilon>0 such that \Lambda(\epsilon)<\frac{\Lambda(\delta)}{2} . Since \delta\in(0,2] , one has \Lambda(\delta)\in(0,\pi] , and it follows that \Lambda(\epsilon)<\frac{\Lambda(\delta)}{2}\implies\epsilon<\left(1-\cos\left(\frac{\Lambda(\delta)}{2}\right)\right). Using trigonometric identities, one gets \epsilon<1-\sqrt{\frac{2-\delta}{2}} (14) guaranteeing that the sets \mathcal{D}_{\epsilon}(\mathcal{U}_{i}) and \mathcal{D}_{\epsilon}(\mathcal{U}_{j}) are disjoint for all i,j\in\mathbb{I} with i\neq j , whenever \epsilon<\Phi(\delta) . Since \mathbf{x}_{d}\in\mathcal{M}_{0}^{\circ} , one has \mathbf{x}_{d}\notin\mathcal{U} , and the existence of \bar{\epsilon}>0 such that \mathbf{x}_{d}\notin\mathcal{N}_{\bar{\epsilon}}(\mathcal{U}) is straightforward to establish. The index i in ( 13 ) refers to the closest 3 3 3 Since \epsilon<\Phi(\delta) , it follows from Assumption 1 and Remark 2 that for every \mathbf{x}\in\mathcal{N}_{\epsilon}(\mathcal{U}) there exists a unique index i\in\mathbb{I} such that \mathbf{x}\in\mathcal{N}_{\epsilon}(\mathcal{U}_{i}) . unsafe region \mathcal{U}_{i} such that \mathbf{x}\in\mathcal{N}_{\epsilon}(\mathcal{U}_{i}) . The scalar mapping h:[0,\epsilon]\to[0,1] is strictly increasing and twice continuously differentiable over [0,\epsilon] , and satisfies the following properties: h(0)=0 , h(\epsilon)=1 , h(\epsilon)^{\prime}=0 and h(\epsilon)^{\prime\prime}=0 . 4 4 4 An example of such a function is h(p)=\frac{p^{3}-3\epsilon p^{2}+3\epsilon^{2}p}{\epsilon^{3}} . Since its derivative, h^{\prime}(p)=\frac{3(p-\epsilon)^{2}}{\epsilon^{3}} , is positive for all p\in[0,\epsilon) , \beta(p) is strictly increasing over [0,\epsilon) . The scalar mapping W:\mathcal{M}_{0}\to[0,k_{1}] is twice continuously differentiable and is positive definite with respect to \mathbf{x}_{d} on \mathcal{M}_{0} . It attains a maximum of k_{1} on \partial\mathcal{M}_{0} . The proposed feedback control law is the negative gradient of W(\mathbf{x}) with respect to \mathbf{x} and is given as \mathbf{u}(\mathbf{x})=-\nabla_{\mathbf{x}}W(\mathbf{x}). (15) In the next theorem, we show that for the closed-loop system ( 8 )-( 15 ), the set \mathcal{M}_{0} is forward invariant and the desired point \mathbf{x}_{d} is almost globally asymptotically stable. Theorem 1 . For the closed-loop system ( 8 )-( 15 ) under Assumption 1 , the following statements are valid: 1. The set \mathcal{M}_{0} is forward invariant, where \mathcal{M}_{0} is obtained by replacing p with 0 in ( 10 ). In other words, if \mathbf{x}(0)\in\mathcal{M}_{0} , then \mathbf{x}(t)\in\mathcal{M}_{0} for all t\geq 0 . 2. The target point \mathbf{x}_{d} is almost globally asymptotically stable over \mathcal{M}_{0} . Proof. See Appendix -B . The control input in ( 15 ) can be represented as \mathbf{u}(\mathbf{x})=\begin{cases}\frac{k_{1}}{(\beta(\mathbf{x})+d_{s}(\mathbf{x},\mathbf{x}_{d}))^{2}}\mathbf{u}_{i}^{c}(\mathbf{x}),&\mathbf{x}\in\mathcal{N}_{\epsilon}(\mathcal{U}_{i}),\\ \frac{k_{1}}{(1+d_{s}(\mathbf{x},\mathbf{x}_{d}))^{2}}\mathbf{x}_{d},&\mathbf{x}\notin\mathcal{N}_{\epsilon}(\mathcal{U}),\end{cases} (16) where, using ( 3 ), d_{s}(\mathbf{x},\mathbf{x}_{d}) measures the spherical distance between \mathbf{x} and \mathbf{x}_{d} , the scalar function \beta(\mathbf{x}) is defined in ( 13 ), and \mathbf{u}_{i}^{c}(\mathbf{x}) is given by \mathbf{u}_{i}^{c}(\mathbf{x})=\beta(\mathbf{x})\mathbf{x}_{d}-d_{s}(\mathbf{x},\mathbf{x}_{d})\beta(\mathbf{x})^{\prime}\mathbf{g}_{i}. (17) Since \epsilon<\Phi(\delta) , it follows from Assumption 1 that for any \mathbf{x}\in\mathcal{M}_{0} , the control input vector ( 15 ) is linear combination of at most two unit vectors, \mathbf{x}_{d} and \mathbf{g}_{i} for some i\in\mathbb{I} . In particular, when \mathbf{x}\in\partial\mathcal{N}_{\epsilon}(\mathcal{U}_{i}) for some i\in\mathbb{I} , the control input ( 15 ) becomes \mathbf{u}(\mathbf{x})=-\frac{k_{1}d_{s}(\mathbf{x},\mathbf{x}_{d})\beta(\mathbf{x})^{\prime}}{(d_{s}(\mathbf{x},\mathbf{x}_{d})+\beta(\mathbf{x}))^{2}}\mathbf{g}_{i}=-\zeta(\mathbf{x})\mathbf{g}_{i} for some \zeta(\mathbf{x})>0 , which steers \mathbf{x} along the geodesic \mathcal{G}(\mathbf{x},-\mathbf{g}_{i}) toward -\mathbf{g}_{i} . Since \mathcal{G}(\mathbf{x},-\mathbf{g}_{i})\cap\mathcal{U}_{i}^{\circ}=\emptyset for every i\in\mathbb{I} and \mathbf{x}\in\partial\mathcal{U}_{i} , the control input ( 15 ) ensures forward invariance \mathcal{M}_{0} for the closed-loop system ( 8 )-( 15 ), where \mathcal{U}_{i} is defined in ( 11 ). It is interesting to note that, similar to the conic constraint ( 11 ), a star-shaped set \mathcal{A} on \mathbb{S}^{n} satisfies \mathcal{G}(\mathbf{x},-\mathbf{g})\cap\mathcal{A}^{\circ}=\emptyset for every \mathbf{g}\in\sigma(\mathcal{A}) and for all \mathbf{x}\in\partial\mathcal{A} , as established in Lemma 1 . In fact, the conic set \mathcal{U}_{i} , defined in ( 11 ), is a star-shaped set on \mathbb{S}^{n} with \sigma(\mathcal{U}_{i})=\mathcal{U}_{i} . This observation motivates the design of the feedback control law for stabilization on the n -sphere with star-shaped constraints, as discussed next in Section V . V Constrained stabilization under star-shaped constraints Let \mathcal{U}_{i} denote the star-shaped set on \mathbb{S}^{n} for each i\in\mathbb{I} , where a star-shaped set on \mathbb{S}^{n} is defined in Section II . Similar to ( 16 ), we propose the following feedback control law: \mathbf{u}(\mathbf{x})=\begin{cases}k_{1}\mathbf{u}_{i}(\mathbf{x}),&\mathbf{x}\in\mathcal{N}_{\epsilon}(\mathcal{U}_{i}),\\ k_{1}\mathbf{x}_{d},&\mathbf{x}\notin\mathcal{N}_{\epsilon}(\mathcal{U}),\end{cases} (18) where k_{1}>0 . Similar to Section IV , the parameter \epsilon is chosen such that \epsilon\in(0,\min\{\Phi(\delta),\bar{\epsilon}\}) . Selecting \epsilon<\Phi(\delta) ensures that the sets \mathcal{D}_{\epsilon}(\mathcal{U}_{i}) , i\in\mathbb{I} , are disjoint, as discussed earlier in Remark 2 . The vector-valued function \mathbf{u}_{i}(\mathbf{x}) is given by \mathbf{u}_{i}(\mathbf{x})=\frac{d_{s}(\mathbf{x},\mathcal{U}_{i})}{\epsilon}\mathbf{x}_{d}-\frac{1}{\kappa}\left(1-\frac{d_{s}(\mathbf{x},\mathcal{U}_{i})}{\epsilon}\right)\mathbf{g}_{i}, (19) where \kappa>0 . For each i\in\mathbb{I} , the constant unit vector \mathbf{g}_{i} is chosen such that \mathbf{g}_{i}\in\sigma(\mathcal{U}_{i})\cap\mathcal{U}_{i}^{\circ} and \mathbf{g}_{i}\neq-\mathbf{x}_{d} , where the set \sigma(\mathcal{U}_{i}) is defined according to ( 7 ) and \mathcal{U}_{i}^{\circ} denotes the interior of \mathcal{U}_{i} on \mathbb{S}^{n} . 5 5 5 Selecting \mathbf{g}_{i}\in\sigma(\mathcal{U}_{i})\cap\mathcal{U}_{i}^{\circ} allows us to leverage Lemma 1 to establish the forward invariance of \mathcal{M}_{0} for the closed-loop system ( 8 )-( 18 ), as discussed later in Lemma 2 . Furthermore, ensuring \mathbf{g}_{i}\neq-\mathbf{x}_{d} for every i\in\mathbb{I} guarantees that the geodesics \mathcal{G}(\mathbf{x}_{d},\mathbf{g}_{i}) and \mathcal{G}(-\mathbf{x}_{d},-\mathbf{g}_{i}) , which are used later in Section V-A , are well-defined. Remark 3 (Continuous control input) . Since \epsilon<\Phi(\delta) , it follows from Assumption 1 and Remark 2 that \mathcal{N}_{\epsilon}(\mathcal{U}_{i})\cap\mathcal{N}_{\epsilon}(\mathcal{U}_{j})=\emptyset for all i,j\in\mathbb{I} with i\neq j . Consequently, using ( 19 ), one can confirm that if \mathbf{u}_{i}(\mathbf{x})\neq\mathbf{0} for some i\in\mathbb{I} , then \mathbf{u}_{j}(\mathbf{x})=\mathbf{0} for all j\in\mathbb{I}\setminus\{i\} . Furthermore, \mathbf{u}_{i}(\mathbf{x}) is continuous for each i\in\mathbb{I} and for all \mathbf{x}\in\mathcal{N}_{\epsilon}(\mathcal{U}_{i}) . Moreover, for each i\in\mathbb{I} and for every \mathbf{x}\in\partial\mathcal{N}_{\epsilon}(\mathcal{U}_{i})\cap\mathcal{M}_{\epsilon} , \mathbf{u}_{i}(\mathbf{x}) simplifies to \mathbf{u}_{i}(\mathbf{x})=\mathbf{x}_{d} , where the set \mathcal{M}_{\epsilon} is defined in ( 10 ). As a result, the proposed feedback control input \mathbf{u}(\mathbf{x}) , defined in ( 18 ), is continuous for all \mathbf{x}\in\mathcal{M}_{0} . Similar to ( 15 ), when \mathbf{x}\in\mathcal{N}_{\epsilon}(\mathcal{U}_{i}) for some i\in\mathbb{I} , the control input ( 18 ) is the linear combination of \mathbf{x}_{d} and \mathbf{g}_{i} . In addition, the vector component -\frac{k_{1}}{\kappa}\left(1-\frac{d_{s}(\mathbf{x},\mathcal{U}_{i})}{\epsilon}\right)\mathbf{g}_{i} of the control input vector is responsible for ensuring the forward invariance of \mathcal{M}_{0} for the closed-loop system ( 8 )-( 18 ), as discussed in the next section. V-A Safety and stability analysis First, we analyze the forward invariance of the safe region \mathcal{M}_{0} for the closed-loop system ( 8 )-( 18 ). According to Assumption 1 , if \mathbf{x}\in\partial\mathcal{M}_{0} , then \mathbf{x}\in\partial\mathcal{U}_{i} for some i\in\mathbb{I} and \mathbf{x}\notin\partial\mathcal{U}_{j} for all j\in\mathbb{I} with j\neq i . According to ( 19 ), if \mathbf{x}\in\partial\mathcal{U}_{i} for some i\in\mathbb{I} , then the control input vector ( 18 ) simplifies to \mathbf{u}(\mathbf{x})=\frac{-k_{1}}{\kappa}\mathbf{g}_{i}, (20) and steers \mathbf{x} along the geodesic \mathcal{G}(\mathbf{x},-\mathbf{g}_{i}) toward -\mathbf{g}_{i} . Additionally, since \mathcal{U}_{i} is a star-shaped constraint on the n -sphere and \mathbf{g}_{i}\in\sigma(\mathcal{U}_{i})\cap\mathcal{U}_{i}^{\circ} , Lemma 1 implies that \mathcal{G}(\mathbf{x},-\mathbf{g}_{i})\cap\mathcal{U}_{i}^{\circ}=\emptyset . Consequently, when \mathbf{x}\in\partial\mathcal{U}_{i} , the vector \mathbf{u}(\mathbf{x}) in ( 20 ) does not point to the interior of the unsafe region \mathcal{U}_{i} , as illustrated in Fig. 3 . Fig. 3 : Representation of -\mathbf{P}(\mathbf{x})\mathbf{g}_{i} for \mathbf{x}\in\partial\mathcal{U}_{i} . This behaviour allows us to establish the forward invariance of the set \mathcal{M}_{0} for the closed-loop system ( 8 )-( 18 ), as stated in the next lemma. Lemma 2 . For the closed-loop system ( 8 )-( 18 ) under Assumption 1 , the set \mathcal{M}_{0} , defined according to ( 10 ), is forward invariant. In other words, if \mathbf{x}(0)\in\mathcal{M}_{0} , then \mathbf{x}(t)\in\mathcal{M}_{0} for all t\geq 0 . Proof. See Appendix -C Next, we show that \mathbf{P}(\mathbf{x})\mathbf{u}(\mathbf{x}) is locally Lipschitz over \mathcal{M}_{0} . Combined with Lemma 2 , this will ensure that the solution to the closed-loop system ( 8 )-( 18 ) is uniquely defined for each initial condition \mathbf{x}(0)\in\mathcal{M}_{0} and exists for all t\geq 0 . Lemma 3 . The continuous vector-valued function \mathbf{P}(\mathbf{x})\mathbf{u}(\mathbf{x}) is locally Lipschitz over \mathcal{M}_{0} . Proof. See Appendix -D . Remark 4 . If there exists t_{1}\geq 0 such that \mathbf{x}(t_{1})\in\partial\mathcal{U}_{i} for some i\in\mathbb{I} , then the control input ( 18 ) becomes \mathbf{u}(\mathbf{x}(t_{1}))=-\frac{k_{1}}{\kappa}\mathbf{g}_{i} and it steers \mathbf{x} along the geodesic \mathcal{G}(\mathbf{x}(t_{1}),-\mathbf{g}_{i}) immediately after t_{1} . Consequently, since \mathcal{U}_{i} is a star-shaped set on \mathbb{S}^{n} , using Lemma 1 one can ensure the existence of t_{2}>t_{1} such that \mathbf{x}(t_{2})\in\mathcal{M}_{0}^{\circ} . Furthermore, Lemma 2 guarantee that \mathbf{P}(\mathbf{x})\mathbf{u}(\mathbf{x})\in\mathbf{T}_{\mathbf{x}}\left(\mathcal{M}_{0}\right) for all \mathbf{x}\in\partial\mathcal{U} , and \mathbf{P}(\mathbf{x})\mathbf{u}(\mathbf{x}) is locally Lipschitz over \mathcal{M}_{0} , as established in Lemma 3 . It follows that \mathbf{x}(t)\notin\partial\mathcal{U}_{i} for any i\in\mathbb{I} and for all t\geq t_{2} . In other words, \mathcal{M}_{0}^{\circ} is forward invariant for the closed-loop system ( 8 )-( 18 ). Next, we analyze the convergence properties of the proposed closed-loop system ( 8 )-( 18 ). When \mathbf{x}\in\mathcal{N}_{\epsilon}(\mathcal{U}_{i})\setminus\{-\mathbf{x}_{d}\} for some i\in\mathbb{I} , the repulsive component -\frac{k_{1}}{\kappa}\left(1-\frac{d_{s}(\mathbf{x},\mathcal{U}_{i})}{\epsilon}\right)\mathbf{g}_{i} of the control input steers \mathbf{x} along the geodesic \mathcal{G}(\mathbf{x},-\mathbf{g}_{i}) toward -\mathbf{g}_{i} . Meanwhile, the attractive component k_{1}\frac{d_{s}(\mathbf{x},\mathcal{U}_{i})}{\epsilon}\mathbf{x}_{d} steers \mathbf{x} along the geodesic \mathcal{G}(\mathbf{x},\mathbf{x}_{d}) toward \mathbf{x}_{d} . This interaction leads to a increase in the cosine of the angle between the vectors \mathbf{P}(\mathbf{g}_{i})(\mathbf{x}-\mathbf{g}_{i}) and \mathbf{P}(\mathbf{g}_{i})(\mathbf{x}_{d}-\mathbf{g}_{i}) as long as \mathbf{x}\in\mathcal{N}_{\epsilon}(\mathcal{U}_{i})\setminus\left(\partial\mathcal{U}_{i}\cup\mathcal{Z}_{i}\cup\mathcal{V}_{i}\right) , as established in the next lemma, where for each i\in\mathbb{I} , the set \mathcal{Z}_{i} and \mathcal{V}_{i} are defined as \displaystyle\mathcal{Z}_{i} \displaystyle=\mathcal{G}(\mathbf{g}_{i},-\mathbf{x}_{d})\cup\mathcal{G}(-\mathbf{g}_{i},-\mathbf{x}_{d}), (21) \displaystyle\mathcal{V}_{i} \displaystyle=\mathcal{G}(\mathbf{g}_{i},\mathbf{x}_{d})\cup\mathcal{G}(-\mathbf{g}_{i},\mathbf{x}_{d}). Lemma 4 . Consider the closed-loop system ( 8 )–( 18 ) under Assumption 1 . For each i\in\mathbb{I} , define the scalar function V_{i}(\mathbf{x})=\left(\frac{\mathbf{P}(\mathbf{g}_{i})(\mathbf{x}_{d}-\mathbf{g}_{i})}{\|\mathbf{P}(\mathbf{g}_{i})(\mathbf{x}_{d}-\mathbf{g}_{i})\|}\right)^{\top}\left(\frac{\mathbf{P}(\mathbf{g}_{i})(\mathbf{x}-\mathbf{g}_{i})}{\|\mathbf{P}(\mathbf{g}_{i})(\mathbf{x}-\mathbf{g}_{i})\|}\right), (22) over \mathcal{F}_{i} , where \mathcal{F}_{i}=\left(\mathcal{N}_{\epsilon}(\mathcal{U}_{i})\cup\mathcal{M}_{\epsilon}\right)\setminus\{-\mathbf{g}_{i}\} . Then: 1. V_{i}(\mathbf{x}) is well-defined for all \mathbf{x}\in\mathcal{F}_{i} ; 2. \dot{V}_{i}(\mathbf{x})>0 for all \mathbf{x}\in\mathcal{F}_{i}\setminus\left(\partial\mathcal{U}_{i}\cup\mathcal{Z}_{i}\cup\mathcal{V}_{i}\right) ; where the sets \mathcal{Z}_{i} and \mathcal{V}_{i} are defined in ( 21 ). Proof. See Appendix -E . Remark 5 . For i\in\mathbb{I} and \mathbf{x}\in\mathcal{F}_{i} , the function V_{i}(\mathbf{x}) , defined in ( 22 ), represents the cosine of the angle between the projected vectors \mathbf{P}(\mathbf{g}_{i})(\mathbf{x}-\mathbf{g}_{i}) and \mathbf{P}(\mathbf{g}_{i})(\mathbf{x}_{d}-\mathbf{g}_{i}) . It attains its minimum value of -1 if and only if \mathbf{x}\in\mathcal{Z}_{i}\cap\mathcal{F}_{i} , and its maximum value of 1 if and only if \mathbf{x}\in\mathcal{V}_{i}\cap\mathcal{F}_{i} . Moreover, according to Remark 4 , if there exists t_{1}\geq 0 such that \mathbf{x}(t_{1})\in\partial\mathcal{U}_{i} , then there exists t_{2}>t_{1} such that \mathbf{x}(t)\notin\partial\mathcal{U}_{i} for all t\geq t_{2} . Therefore, it follows from Claim 2 of Lemma 4 that if there exists t_{1}\geq 0 such that \mathbf{x}(t_{1})\in\mathcal{F}_{i}\setminus(\mathcal{Z}_{i}\cup\mathcal{V}_{i}) , then one of the following statements hold: 1. There exists t_{2}>t_{1} such that \mathbf{x}(t_{2})\in\mathcal{M}_{0}\setminus\mathcal{F}_{i} , and \mathbf{x}(t)\in\mathcal{F}_{i}\setminus(\mathcal{Z}_{i}\cup\mathcal{V}_{i}) for all t\in[t_{1},t_{2}) . 2. \displaystyle\lim_{t\to\infty}d_{s}(\mathbf{x}(t),\mathcal{V}_{i})=0 and \mathbf{x}(t)\in\mathcal{F}_{i}\setminus(\mathcal{V}_{i}\cup\mathcal{Z}_{i}) for all t\geq t_{1} . This behaviour of a solution \mathbf{x}(t) helps us in establishing the almost global asymptotic stability of \mathbf{x}_{d} for the closed-loop system ( 8 )-( 18 ) over \mathcal{M}_{0} , as stated later in Theorem 2 . According to Lemma 4 and Remark 5 , if there exists t_{1}\geq 0 such that \mathbf{x}(t_{1})\in\mathcal{F}_{i}\setminus\left(\mathcal{Z}_{i}\cup\mathcal{V}_{i}\right) , then the control input vector ( 18 ) drives \mathbf{x} away from \mathcal{Z}_{i}\cap\mathcal{F}_{i} and toward \mathcal{V}_{i}\cap\mathcal{F}_{i} for all t\geq t_{1} as long as \mathbf{x}(t)\in\mathcal{F}_{i}\setminus\left(\mathcal{Z}_{i}\cup\mathcal{V}_{i}\right) . It is possible that \mathbf{x}(t) exits \mathcal{N}_{\epsilon}(\mathcal{U}_{i}) and enters the set \mathcal{M}_{\epsilon}^{\circ} . In such a case, the trajectory \mathbf{x}(t) may continue toward another neighborhood \mathcal{N}_{\epsilon}(\mathcal{U}_{j}) , with j\in\mathbb{I}\setminus\{i\} , where the new entry point \mathbf{h}_{j} to \mathcal{N}_{\epsilon}(\mathcal{U}_{j}) is farther from \mathbf{x}_{d} than the previous entry point \mathbf{h}_{i} to \mathcal{N}_{\epsilon}(\mathcal{U}_{i}) , in terms of spherical distance i.e. , d_{s}(\mathbf{x}_{d},\mathbf{h}_{j})>d_{s}(\mathbf{x}_{d},\mathbf{h}_{i}) . This behaviour introduces the possibility of closed trajectories, which prevents us from establishing almost global asymptotic convergence to the desired point \mathbf{x}_{d} for the closed-loop system ( 8 )-( 18 ). To avoid such cases, we require that the unsafe regions \mathcal{U}_{i} , where i\in\mathbb{I} , be sufficiently separated, as described next. Let \mathbb{I}_{a} be a subset of \mathbb{I} such that for every i\in\mathbb{I}_{a} , -\mathbf{x}_{d}\notin\mathcal{D}_{\epsilon}(\mathcal{U}_{i}) , as defined below \mathbb{I}_{a}=\{i\in\mathbb{I}\mid-\mathbf{x}_{d}\notin\mathcal{D}_{\epsilon}(\mathcal{U}_{i})\}. (23) The set \mathbb{I}\setminus\mathbb{I}_{a} is either a singleton set or an empty set. For each i\in\mathbb{I}_{a} , the set \mathcal{S}_{i}(\mathbf{x}_{d}) is the union of all geodesics \mathcal{G}(\mathbf{x},\mathbf{x}_{d}) with \mathbf{x}\in\mathcal{D}_{\epsilon}(\mathcal{U}_{i}) , defined as follows: \mathcal{S}_{i}(\mathbf{x}_{d})=\bigcup_{\mathbf{x}\in\mathcal{D}_{\epsilon}(\mathcal{U}_{i})}\mathcal{G}(\mathbf{x},\mathbf{x}_{d}). (24) Fig. 4 : Illustration of mutually exclusive sets \mathcal{R}_{i} , where i\in\mathbb{I}_{a} . For each i\in\mathbb{I}_{a} , the region \mathcal{R}_{i} is defined as \mathcal{R}_{i}=\{\mathbf{x}\in\mathcal{S}_{i}(\mathbf{x}_{d})\setminus\mathcal{U}_{i}^{\circ}\mid d_{s}(\mathbf{x},\mathbf{x}_{d})\geq d_{s}(\mathbf{x}_{d},\mathcal{D}_{\epsilon}(\mathcal{U}_{i}))\}, (25) as illustrated in Fig. 4 . Moreover, if i\in\mathbb{I}\setminus\mathbb{I}_{a} , then we set \mathcal{R}_{i}=\mathcal{S}_{i}(-\mathbf{x}_{d})\setminus\mathcal{U}_{i}^{\circ} , as depicted in Fig. 5 , where the set \mathcal{S}_{i}(-\mathbf{x}_{d}) is obtained using ( 24 ) by replacing \mathbf{x}_{d} with -\mathbf{x}_{d} . Fig. 5 : Illustration of the set \mathcal{R}_{i} , where i\in\mathbb{I}\setminus\mathbb{I}_{a} . We require that for each i,j\in\mathbb{I} with i\neq j , the sets \mathcal{R}_{i} and \mathcal{R}_{j} have no common element, as mentioned in the next assumption. Assumption 2 . The sets \mathcal{R}_{i} and \mathcal{R}_{j} are mutually exclusive for all i,j\in\mathbb{I} with i\neq j . In other words, for all i,j\in\mathbb{I} with i\neq j , \mathcal{R}_{i}\cap\mathcal{R}_{j}=\emptyset . Assumption 2 allows us to ensure that if any solution \mathbf{x}(t) to the closed-loop system ( 8 )-( 18 ) is first steered to \mathcal{R}_{i} at some \mathbf{h}_{i}\in\mathcal{R}_{i} , where i\in\mathbb{I} , and subsequently to \mathcal{R}_{j} at some \mathbf{h}_{j}\in\mathcal{R}_{j} , where j\in\mathbb{I}\setminus\{i\} , then d_{s}(\mathbf{h}_{j},\mathbf{x}_{d})0 such that if \kappa>\bar{\kappa} , then the desired equilibrium point \mathbf{x}_{d} is almost globally asymptotically stable over \mathcal{M}_{0} . Proof. See Appendix -F . In Theorem 2 , the forward invariance of \mathcal{M}_{0} follows from Lemma 2 , and almost global asymptotic stability of the desired point \mathbf{x}_{d} is established as follows: Step 1: First, we show that \mathbf{x}_{d} is an asymptotically stable equilibrium point. To establish almost global asymptotic stability of \mathbf{x}_{d} for the closed-loop system ( 8 )-( 18 ), we further show that any solution \mathbf{x}(t) , initialized at \mathbf{x}(0)\in\mathcal{M}_{0} , excluding a set of Lebesgue measure zero, satisfies, \displaystyle\lim_{t\to\infty}d_{s}(\mathbf{x}(t),\mathbf{x}_{d})=0 . Step 2: We consider two possibilities: either \mathbf{x}(t)\in\mathcal{M}_{\epsilon}\setminus\left(\mathcal{R}\cup\{\mathbf{x}_{d},-\mathbf{x}_{d}\}\right) , in which case \dot{d}_{s}(\mathbf{x}(t),\mathbf{x}_{d})<0 for all t\geq 0 , and thus \displaystyle\lim_{t\to\infty}d_{s}(\mathbf{x}(t),\mathbf{x}_{d})=0 holds; or there exists t_{1}\geq 0 such that \mathbf{x}(t_{1})\in\mathcal{R} , where \mathcal{R} is defined as \mathcal{R}=\bigcup_{i\in\mathbb{I}}\mathcal{R}_{i}. If \mathbf{x}(t_{1})\in\mathcal{R} at some time t_{1}\geq 0 , then by Assumption 2 , there exists a unique i\in\mathbb{I} such that \mathbf{x}(t_{1})\in\mathcal{R}_{i} . Step 3: If \mathbf{x}(t_{1})\in\mathcal{R}_{i}\setminus\mathcal{Z}_{i} with i\in\mathbb{I}_{a} , then, using Lemma 4 and the fact that \mathbf{u}(\mathbf{x})=k_{1}\mathbf{x}_{d} for all \mathbf{x}\in\partial\mathcal{R}_{i}\cap\mathcal{M}_{\epsilon} , we show that the control input ( 18 ) steers \mathbf{x} to \mathcal{P}(\mathbf{x}_{d},\mathcal{R}_{i}) at some time t_{2}\geq t_{1} , where d_{s}(\mathbf{x}(t_{2}),\mathbf{x}_{d})\leq d_{s}(\mathbf{x}(t_{1}),\mathbf{x}_{d}) , \mathbf{x}(t)\in\mathcal{R}_{i} for all t\in[t_{1},t_{2}] and the set \mathcal{P}(\mathbf{x}_{d},\mathcal{R}_{i}) is defined in ( 4 ). Step 4: If \mathbf{x}(t_{1})\in\mathcal{R}_{i}\setminus\mathcal{Z}_{i} with i\in\mathbb{I}\setminus\mathbb{I}_{a} , then, using Lemma 4 and the fact that \mathbf{u}(\mathbf{x})=k_{1}\mathbf{x}_{d} for all \mathbf{x}\in\partial\mathcal{R}_{i}\cap\mathcal{M}_{\epsilon} , we prove the existence of t_{2}>t_{1} such that \mathbf{x}(t_{2})\in\mathcal{M}_{\epsilon}\setminus\mathcal{R}_{i} . Additionally, we show that \mathbf{x}(t)\notin\mathcal{R}_{i} for all t\geq t_{2} . Step 5: Right after t_{2} , d_{s}(\mathbf{x}(t),\mathbf{x}_{d}) decreases as long as \mathbf{x}(t) is not driven to some \mathcal{R}_{j} with j\in\mathbb{I}\setminus\{i\} . If \mathbf{x}(t) is steered to \mathcal{R}_{j} with j\in\mathbb{I}\setminus\{i\} at some time t_{3}>t_{2} , then d_{s}(\mathbf{x}(t_{3}),\mathbf{x}_{d})0 such that \mathcal{D}_{\mu}(\mathbf{p})\subset\mathcal{A} . Since \mathcal{A} is a star-shaped set on \mathbb{S}^{n} and \mathbf{g}\in\sigma(\mathcal{A}) , \mathcal{D}_{\mu}(\mathbf{p})\subset\mathcal{A} implies that \mathcal{A}_{\mu}(\mathbf{p},\mathbf{g})\subset\mathcal{A} , where the set \mathcal{A}_{\mu}(\mathbf{p},\mathbf{g}) is defined as \mathcal{A}_{\mu}(\mathbf{p},\mathbf{g})=\{\mathbf{a}\in\mathbb{S}^{n}\mid\mathbf{a}\in\mathcal{G}(\mathbf{q},\mathbf{g}),\mathbf{q}\in\mathcal{D}_{\mu}(\mathbf{p})\}. Now, since \mathbf{p}\in\mathcal{G}(\mathbf{x},-\mathbf{g})\setminus\{\mathbf{x},-\mathbf{g}\} , one has \mathbf{x}\in\mathcal{G}(\mathbf{p},\mathbf{g}) and it follows that \mathbf{x}\in\mathcal{A}_{\mu}(\mathbf{p},\mathbf{g}) . Owing to the positive sectional curvature of \mathbb{S}^{n} [ 17 , Ch. 6, Ex. 2.8] , one can show that \mathbf{x}\in\left(\mathcal{A}_{\mu}(\mathbf{p},\mathbf{g})\right)^{\circ} . Consequently, since \mathcal{A}_{\mu}(\mathbf{p},\mathbf{g})\subset\mathcal{A} , it follows that \mathbf{x}\in\mathcal{A}^{\circ} . However, this contradicts the fact that \mathbf{x}\in\partial\mathcal{A} , and the proof is complete. -B Proof of Theorem 1 -B 1 Proof of Claim 1 Taking the time derivative of W(\mathbf{x}) , where W(\mathbf{x}) is defined over \mathcal{M}_{0} in ( 12 ), and using ( 15 ), one obtains \dot{W}(\mathbf{x})=-\nabla_{\mathbf{x}}W(\mathbf{x})^{\top}\mathbf{P}(\mathbf{x})\nabla_{\mathbf{x}}W(\mathbf{x}), (32) Since \mathbf{P}(\mathbf{x}) is a positive semidefinite matrix for all \mathbf{x}\in\mathbb{S}^{n} , one has \dot{W}(\mathbf{x})\leq 0 over \mathcal{M}_{0} . In other words, W(\mathbf{x}(t))\leq W(\mathbf{x}(0)) for all t\geq 0 . Therefore, since W(\mathbf{x}) attains its maximum value k_{1} , if and only if \mathbf{x}\in\partial\mathcal{M}_{0} , it follows that \mathcal{M}_{0} is forward invariant for the closed-loop system ( 8 )-( 15 ). -B 2 Proof of Claim 2 The scalar function W(\mathbf{x}) is positive definite function with respect to \mathbf{x}_{d} over \mathcal{M}_{0} and \dot{W}(\mathbf{x})\leq 0 for all \mathbf{x}\in\mathcal{M}_{0} . Furthermore, \mathcal{M}_{0} is compact on \mathbb{S}^{n} and is forward invariant with respect to the closed-loop system ( 8 )-( 15 ). It then follows from LaSalle’s invaraince principle that \mathbf{x} will converge to the largest invariant set characterized by \dot{W}(\mathbf{x})=0 . Since \epsilon<\Phi(\delta) , it follows from Assumption 1 that for any \mathbf{x}\in\mathcal{M}_{0} , the control input ( 16 ) is a linear combination of at most two unit vectors, \mathbf{x}_{d} and \mathbf{g}_{i} for some i\in\mathbb{I} . Since \mathbf{x}_{d}\neq\mathbf{g}_{i} for any i\in\mathbb{I} , it holds that \mathbf{u}(\mathbf{x})\neq\mathbf{0} for any \mathbf{x}\in\mathcal{M}_{0} . It follows from ( 15 ) and ( 32 ) that \dot{W}(\mathbf{x})=0 if and only if \mathbf{P}(\mathbf{x})\mathbf{u}(\mathbf{x})=\mathbf{0} , where \mathbf{P}(\mathbf{x}) is defined in ( 2 ). Therefore the set characterized by \dot{W}(\mathbf{x})=0 is given by \mathcal{E}:=\left\{\mathbf{x}\in\mathcal{M}_{0}\mid\mathbf{P}(\mathbf{x})\mathbf{u}(\mathbf{x})=\mathbf{0}\right\}. (33) Since \mathbf{u}(\mathbf{x}_{d})=k_{1}\mathbf{x}_{d} , it follows that \mathbf{x}_{d}\in\mathcal{E} . Furthermore, \mathbf{u}(-\mathbf{x}_{d})=\frac{k_{1}}{3}\mathbf{x}_{d} if and only if -\mathbf{x}_{d}\in\mathcal{M}_{\epsilon} , where \mathcal{M}_{\epsilon} is obtained by replacing p with \epsilon in ( 10 ). Therefore, \left(\{-\mathbf{x}_{d}\}\cap\mathcal{M}_{\epsilon}\right)\in\mathcal{E} . Since \mathbf{u}(\mathbf{x})=k_{1}\mathbf{x}_{d} for all \mathbf{x}\in\mathcal{M}_{\epsilon} , there are no equilibrium points of the closed-loop system ( 8 )-( 15 ) in \mathcal{M}_{\epsilon}\setminus\{\mathbf{x}_{d},-\mathbf{x}_{d}\} . Additionally, using ( 16 ) and ( 17 ), one can confirm that if \mathbf{x}\in\mathcal{E}\cap\left(\mathcal{N}_{\epsilon}(\mathcal{U}_{i})\right)^{\circ} for some i\in\mathbb{I} , then \mathbf{x}\in\mathcal{N}_{g}^{i} , where for each i\in\mathbb{I} , the set \mathcal{N}_{g}^{i} is defined as \mathcal{N}_{g}^{i}=\left(\mathcal{N}_{\epsilon}(\mathcal{U}_{i})\right)^{\circ}\cap\mathcal{G}(-\mathbf{x}_{d},\mathbf{g}_{i}). (34) As a result, the set \mathcal{E} in \mathcal{M}_{0} can be characterized as follows: \mathcal{E}\subset\left(\{\mathbf{x}_{d}\}\cup\left(\{-\mathbf{x}_{d}\}\cap\mathcal{M}_{\epsilon}\right)\bigcup_{i\in\mathbb{I}}\mathcal{N}_{g}^{i}\right). To guarantee almost global asymptotic stability of \mathbf{x}_{d} for the closed-loop system ( 8 )-( 15 ) over \mathcal{M}_{0} , it is sufficient to show that \mathbf{x}_{d} is asymptotically stable and the set of initial conditions in \mathcal{M}_{0} from where the control input ( 15 ) can steer \mathbf{x} to \mathcal{E}\setminus\{\mathbf{x}_{d}\} on \mathbb{S}^{n} has zero Lebesgue measure. The Jacobian matrix \mathbf{J}(\mathbf{x}) for the closed-loop system ( 8 )-( 15 ) is given by \mathbf{J}(\mathbf{x})=\mathbf{P}(\mathbf{x})\nabla_{\mathbf{x}}\mathbf{u}(\mathbf{x})^{\top}-\mathbf{x}\mathbf{u}(\mathbf{x})^{\top}-\mathbf{x}^{\top}\mathbf{u}(\mathbf{x})\mathbf{I}_{n+1}, (35) where for any \mathbf{x}\in\mathcal{E} , the matrix \mathbf{P}(\mathbf{x})\nabla_{\mathbf{x}}\mathbf{u}(\mathbf{x})^{\top} is evaluated as \mathbf{P}(\mathbf{x})\nabla_{\mathbf{x}}\mathbf{u}(\mathbf{x})^{\top}=\begin{cases}\begin{aligned} &k_{1}\Psi_{i}(\mathbf{x})\mathbf{P}(\mathbf{x})\big(h_{i}^{\prime}(\mathbf{x})\mathbf{g}_{i}\mathbf{x}_{d}^{\top}\\ &-h_{i}^{\prime}(\mathbf{x})\mathbf{x}_{d}\mathbf{g}_{i}^{\top}\\ &+d_{s}(\mathbf{x},\mathbf{x}_{d})h_{i}^{\prime\prime}(\mathbf{x})\mathbf{g}_{i}\mathbf{g}_{i}^{\top}\big),\end{aligned}&\mathbf{x}\in\mathcal{N}_{\epsilon}(\mathcal{U}_{i}),\\ \mathbf{0}_{n+1},&\mathbf{x}\notin\mathcal{N}_{\epsilon}(\mathcal{U}),\end{cases} (36) where for the purpose of brevity h(d_{s}(\mathbf{x},\mathcal{U}_{i})) , used in ( 13 ), is represented as h_{i}(\mathbf{x}) , \Psi_{i}(\mathbf{x})=\frac{1}{(d_{s}(\mathbf{x},\mathbf{x}_{d})+h_{i}(\mathbf{x}))^{2}} , and \mathbf{u}(\mathbf{x}) is given in ( 16 ). Since \epsilon<\bar{\epsilon} , as stated in Section IV , one has \mathbf{x}_{d}\notin\mathcal{N}_{\epsilon}(\mathcal{U}) . Therefore, the Jacobian matrix \mathbf{J}(\mathbf{x}_{d}) for the closed-loop system ( 8 )-( 15 ) evaluated at \mathbf{x}_{d} is given by \mathbf{J}(\mathbf{x}_{d})=-k_{1}\left(\mathbf{I}_{n+1}+\mathbf{x}_{d}\mathbf{x}_{d}^{\top}\right). The matrix \mathbf{J}(\mathbf{x}_{d}) has one eigenvalue equal to -2k_{1} and an eigenvalue -k_{1} with algebraic multiplicity n . Since all eigenvalues of \mathbf{J}(\mathbf{x}_{d}) are negative, it follows that \mathbf{x}_{d} is asymptotically stable for the closed-loop system ( 8 )–( 15 ). Next, we show that if -\mathbf{x}_{d}\in\mathcal{M}_{\epsilon} , then -\mathbf{x}_{d} is an unstable node for the closed-loop system ( 8 )-( 15 ). If -\mathbf{x}_{d}\in\mathcal{M}_{\epsilon}^{\circ} , then there exists \varrho>0 such that \mathcal{B}_{g}(-\mathbf{x}_{d},\varrho)\subset\mathcal{M}_{\epsilon} and \mathbf{u}(\mathbf{x})=k_{1}\mathbf{x}_{d} for all \mathbf{x}\in\mathcal{B}_{g}(-\mathbf{x}_{d},\varrho) , where \mathcal{B}_{g}(\mathbf{x}_{d},\varrho)=\{\mathbf{x}\in\mathbb{S}^{n}\mid d_{s}(\mathbf{x},\mathbf{x}_{d})\leq\varrho\}. Therefore, using ( 35 ) and ( 36 ), the Jacobian matrix \mathbf{J}(-\mathbf{x}_{d}) for the closed-loop system ( 8 )-( 15 ) evaluated at -\mathbf{x}_{d}\in\mathcal{M}_{\epsilon}^{\circ} is given by \mathbf{J}(-\mathbf{x}_{d})=\frac{k_{1}}{3}\left(\mathbf{I}_{n+1}+\mathbf{x}_{d}\mathbf{x}_{d}^{\top}\right). (37) The matrix \mathbf{J}(-\mathbf{x}_{d}) has one eigenvalue equal to \frac{2k_{1}}{3} and an eigenvalue \frac{k_{1}}{3} with algebraic multiplicity n . Since all eigenvalues of \mathbf{J}(-\mathbf{x}_{d}) are positive, it follows that if \mathbf{x}_{d}\in\mathcal{M}_{\epsilon}^{\circ} , then -\mathbf{x}_{d} is an unstable node for the closed-loop system ( 8 )–( 15 ). Now, we consider the case where -\mathbf{x}_{d}\in\partial\mathcal{M}_{\epsilon} . Since \epsilon<\Phi(\delta) , it follows from Assumption 1 and Remark 2 that there exists a unique i\in\mathbb{I} such that -\mathbf{x}_{d}\in\partial\mathcal{N}_{\epsilon}(\mathcal{U}_{i})\cap\mathcal{M}_{\epsilon} . Therefore, h_{i}(-\mathbf{x}_{d})=1 , h_{i}(-\mathbf{x}_{d})^{\prime}=0 and h_{i}(-\mathbf{x}_{d})^{\prime\prime}=0 . Using these equalities, one can confirm that if -\mathbf{x}_{d}\in\partial\mathcal{M}_{\epsilon} , then \mathbf{J}(-\mathbf{x}_{d}) is given by ( 37 ), thereby ensuring that if -\mathbf{x}_{d}\in\partial\mathcal{M}_{\epsilon} , then -\mathbf{x}_{d} is an unstable node for the closed-loop system ( 8 )-( 15 ). Finally, we show that if there exists \mathbf{x}^{*}\in\left(\mathcal{E}\cap\mathcal{N}_{g}^{i}\right)\setminus\{\mathbf{x}_{d},-\mathbf{x}_{d}\} for some i\in\mathbb{I} , then the equilibrium point \mathbf{x}^{*} for the closed-loop system ( 8 )-( 15 ) has local unstable manifold of dimension n-1 , where \mathcal{N}_{g}^{i} is defined in ( 34 ). Since the tangent space \mathbf{T}_{\mathbf{x}^{*}}(\mathbb{S}^{n}) to \mathbb{S}^{n} at \mathbf{x}^{*} has dimension n [ 18 , Proposition 3.10] , this will imply that the dimension of the local stable manifold at \mathbf{x}^{*} is at most 1 . This combined with the fact that \mathbf{P}(\mathbf{x})\mathbf{u}(\mathbf{x}) is continuously differentiable over \mathcal{M}_{0} will guarantee that the set of initial conditions in \mathcal{M}_{0} from where any solution \mathbf{x}(t) to the closed-loop system ( 8 )-( 15 ) converges asymptotically to \mathbf{x}^{*}\in\left(\mathcal{E}\cap\mathcal{N}_{g}^{i}\right)\setminus\{\mathbf{x}_{d},-\mathbf{x}_{d}\} for any i\in\mathbb{I} has Lebesgue measure zero. Let \mathbf{x}^{*}\in\left(\mathcal{E}\cap\mathcal{N}_{g}^{i}\right)\setminus\{\mathbf{x}_{d},-\mathbf{x}_{d}\} for some i\in\mathbb{I} . The Jacobian matrix \mathbf{J}(\mathbf{x}) is given by \displaystyle\mathbf{J}(\mathbf{x}^{*})= \displaystyle k_{1}\Psi_{i}(\mathbf{x}^{*})\Big(d_{s}(\mathbf{x}^{*},\mathbf{x}_{d})h_{i}(\mathbf{x}^{*})^{\prime\prime}\mathbf{P}(\mathbf{x}^{*})\mathbf{g}_{i}\mathbf{g}_{i}^{\top} \displaystyle-\mathbf{x}^{*\top}\mathbf{u}(\mathbf{x}^{*})\mathbf{I}_{n+1}+h_{i}(\mathbf{x}^{*})^{\prime}\mathbf{P}(\mathbf{x}^{*})\left(\mathbf{g}_{i}\mathbf{x}_{d}^{\top}-\mathbf{x}_{d}\mathbf{g}_{i}^{\top}\right) \displaystyle-h_{i}(\mathbf{x}^{*})\mathbf{x}^{*}\mathbf{x}_{d}^{\top}+d_{s}(\mathbf{x}^{*},\mathbf{x}_{d})h_{i}(\mathbf{x}^{*})^{\prime}\mathbf{x}^{*}\mathbf{g}_{i}^{\top}\Big), where, as mentioned earlier, h_{i}(\mathbf{x}^{*})=h(d_{s}(\mathbf{x}^{*},\mathcal{U}_{i})) and \Psi_{i}(\mathbf{x}^{*})=\frac{1}{(d_{s}(\mathbf{x}^{*},\mathbf{x}_{d})+h_{i}(\mathbf{x}^{*}))^{2}} for each i\in\mathbb{I} . Define \mathbb{U}_{i}(\mathbf{x}^{*})=\big\{\mathbf{p}\in\mathbf{T}_{\mathbf{x}^{*}}\left(\mathbb{S}^{n}\right)\setminus\{\mathbf{0}\}\mid\mathbf{p}^{\top}\mathbf{g}_{i}=0,\mathbf{p}^{\top}\mathbf{x}_{d}=0\big\} as the n-1 dimensional subset of \mathbf{T}_{\mathbf{x}^{*}}\left(\mathbb{S}^{n}\right) . It follows that \eta_{i}(\mathbf{x}^{*})^{\top}\mathbf{J}(\mathbf{x}^{*})\eta_{i}(\mathbf{x}^{*})=-k_{1}\Psi_{i}(\mathbf{x}^{*})\mathbf{x}^{*\top}\mathbf{u}(\mathbf{x}^{*})\|\eta_{i}(\mathbf{x}^{*})\|^{2}, for any \eta_{i}(\mathbf{x}^{*})\in\mathbb{U}_{i}(\mathbf{x}^{*}) . It remains to show that if \mathbf{x}^{*}\in\mathcal{E}\cap\mathcal{N}_{g}^{i} for some i\in\mathbb{I} , then \mathbf{x}^{*\top}\mathbf{u}(\mathbf{x}^{*})<0 . Since \mathbf{x}^{*}\in\mathcal{N}_{g}^{i} , it follows from ( 34 ) that \mathbf{x}^{*}\in\mathcal{G}(-\mathbf{x}_{d},\mathbf{g}_{i}) . Therefore, \mathbf{x}^{*}\in\mathcal{C}(-\mathbf{x}_{d},\mathbf{g}_{i}) , where the convex cone \mathcal{C}(-\mathbf{x}_{d},\mathbf{g}_{i}) is defined in Section II . Moreover, since \mathbf{x}^{*}\in\mathcal{N}_{g}^{i} , it follows from ( 16 ) and ( 17 ) that \mathbf{u}(\mathbf{x}^{*})\in\mathcal{C}(\mathbf{x}_{d},-\mathbf{g}_{i})\setminus\{\mathbf{0}\} . Furthermore, since \mathbf{x}^{*} is an equilibrium point of the closed-loop system ( 8 )-( 15 ), one has \mathbf{u}(\mathbf{x}^{*})=\gamma(\mathbf{x}^{*})\mathbf{x}^{*} for some \gamma(\mathbf{x}^{*})\in\mathbb{R}\setminus\{0\} . Consequently, it follows that \mathbf{u}(\mathbf{x}^{*})=\gamma(\mathbf{x}^{*})\mathbf{x}^{*} for some \gamma(\mathbf{x}^{*})<0 , and it holds that \mathbf{x}^{*\top}\mathbf{u}(\mathbf{x}^{*})<0 for every \mathbf{x}^{*}\in\mathcal{E}\cap\mathcal{N}_{g}^{i} , where i\in\mathbb{I} . This completes the proof of Claim 2 of Theorem 1 . -C Proof of Lemma 2 According to Assumption 1 , if \mathbf{x}\in\partial\mathcal{M}_{0} , then \mathbf{x}\in\partial\mathcal{U}_{i} for some i\in\mathbb{I} and \mathbf{x}\notin\partial\mathcal{U}_{j} for all j\in\mathbb{I} with j\neq i . According to ( 19 ), if \mathbf{x}\in\partial\mathcal{U}_{i} for some i\in\mathbb{I} , then the control input vector ( 18 ) simplifies to \mathbf{u}(\mathbf{x})=\frac{-k_{1}}{\kappa}g_{i}. Therefore, if \mathbf{x}\in\partial\mathcal{U}_{i} for some i\in\mathbb{I} , then \mathbf{P}(\mathbf{x})\mathbf{u}(\mathbf{x}) is aligned with the negative gradient of d_{s}(\mathbf{x},-\mathbf{g}_{i}) with respect to \mathbf{x} on \mathbb{S}^{n} . In other words, if \mathbf{x}\in\partial\mathcal{U}_{i} for some i\in\mathbb{I} , then \mathbf{P}(\mathbf{x})\mathbf{u}(\mathbf{x})=-\frac{k_{1}}{\kappa}\nabla_{\mathbf{x}}^{\mathbb{S}^{n}}d_{s}(\mathbf{x},-\mathbf{g}_{i}), where \nabla_{\mathbf{x}}^{\mathbb{S}^{n}}d_{s}(\mathbf{x},-\mathbf{g}_{i}) is evaluated as \nabla_{\mathbf{x}}^{\mathbb{S}^{n}}d_{s}(\mathbf{x},-\mathbf{g}_{i})=\mathbf{P}(\mathbf{x})\nabla_{\mathbf{x}}d_{s}(\mathbf{x},-\mathbf{g}_{i})=-\mathbf{P}(\mathbf{x})\mathbf{g}_{i}. Consequently, if there exists t_{1}\geq 0 such that \mathbf{x}(t_{1})\in\partial\mathcal{U}_{i} for some i\in\mathbb{I} , then the control input vector \mathbf{u}(\mathbf{x}(t_{1})) steers \mathbf{x} along the geodesic \mathcal{G}(\mathbf{x}(t_{1}),-\mathbf{g}_{i}) toward -\mathbf{g}_{i} right after t_{1} . Furthermore, since for each i\in\mathbb{I} , \mathcal{U}_{i} is a star-shaped set on \mathbb{S}^{n} and \mathbf{g}_{i}\in\sigma(\mathcal{U}_{i})\cap\mathcal{U}_{i}^{\circ} , it follows from Lemma 1 that \mathcal{G}(\mathbf{x},-\mathbf{g}_{i})\cap\mathcal{U}_{i}^{\circ}=\emptyset for all \mathbf{x}\in\partial\mathcal{U}_{i} . Therefore, if there exists t_{1}\geq 0 such that \mathbf{x}(t_{1})\in\partial\mathcal{U}_{i} for some i\in\mathbb{I} , then the control input vector \mathbf{u}(\mathbf{x}(t_{1})) does not steer \mathbf{x} to the set \mathcal{U}_{i}^{\circ} right after t_{1} . This completes the proof of Lemma 2 . -D Proof of Lemma 3 For any given \mathbf{a}\in\mathbb{S}^{n} , the spherical distance function d_{s}(\mathbf{x},\mathbf{a}) , defined in Section II , is globally Lipschitz in \mathbf{x} over \mathbb{S}^{n} with Lipschitz constant 1 . Since, for any \mathbf{x}\in\mathbb{S}^{n} and any closed set \mathcal{U}_{i}\subset\mathbb{S}^{n} , where i\in\mathbb{I} , the scalar function d_{s}(\mathbf{x},\mathcal{U}_{i}) is the pointwise minimum of Lipschitz functions d_{s}(\mathbf{x},\mathbf{a}) with \mathbf{a}\in\mathcal{U}_{i} , it follows that d_{s}(\mathbf{x},\mathcal{U}_{i}) is locally Lipschitz in \mathbf{x} over \mathbb{S}^{n} for every i\in\mathbb{I} . Since the control input vector \mathbf{u}(\mathbf{x}) ( 18 ) is obtained through addition and scalar multiplication of locally Lipschitz functions, it is locally Lipschitz in \mathbf{x} over \mathcal{M}_{0} . Moreover, since \mathbf{P}(\mathbf{x}) is continuously differentiable for all \mathbf{x}\in\mathbb{S}^{n} , it follows that \mathbf{P}(\mathbf{x})\mathbf{u}(\mathbf{x}) is locally Lipschitz in \mathbf{x} over \mathcal{M}_{0} , and the proof is complete. -E Proof of Lemma 4 Using the fact \mathbf{P}(\mathbf{x})^{2}=\mathbf{P}(\mathbf{x}) and \mathbf{P}(\mathbf{x})\mathbf{x}=\mathbf{0} for all \mathbf{x}\in\mathbb{S}^{n} , the scalar function V_{i}(\mathbf{x}) , defined in ( 22 ), can be re-written as: V_{i}(\mathbf{x})=\frac{\mathbf{x}_{d}^{\top}\mathbf{P}(\mathbf{g}_{i})\mathbf{x}}{\|\mathbf{P}(\mathbf{g}_{i})\mathbf{x}_{d}\|\|\mathbf{P}(\mathbf{g}_{i})\mathbf{x}\|}. (38) We know that \mathbf{g}_{i}\neq-\mathbf{x}_{d} for every i\in\mathbb{I} , as stated in Section V . Moreover, since \mathbf{x}_{d}\in\mathcal{M}_{0}^{\circ} , it follows that \mathbf{g}_{i}\neq\mathbf{x}_{d} for each i\in\mathbb{I} . Therefore, \mathbf{P}(\mathbf{g}_{i})\mathbf{x}_{d}\neq\mathbf{0} . Furthermore, since -\mathbf{g}_{i}\notin\mathcal{F}_{i} , it follows that \mathbf{P}(\mathbf{g}_{i})\mathbf{x}\neq\mathbf{0} for all \mathbf{x}\in\mathcal{F}_{i} . Consequently, V_{i}(\mathbf{x}) is well-defined for all \mathbf{x}\in\mathcal{F}_{i} , where \mathcal{F}_{i} is defined in Lemma 4 . Taking the time derivative of V_{i}(\mathbf{x}) at \mathbf{x}\in\mathcal{F}_{i}\setminus\left(\partial\mathcal{U}_{i}\cup\mathcal{Z}_{i}\cup\mathcal{V}_{i}\right) , one obtains \dot{V}_{i}(\mathbf{x})=\frac{\mathbf{x}_{d}^{\top}\mathbf{P}(\mathbf{g}_{i})\dot{\mathbf{x}}}{\|\mathbf{P}(\mathbf{g}_{i})\mathbf{x}_{d}\|\|\mathbf{P}(\mathbf{g}_{i})\mathbf{x}\|}-\frac{\mathbf{x}_{d}^{\top}\mathbf{P}(\mathbf{g}_{i})\mathbf{x}\mathbf{x}^{\top}\mathbf{P}(\mathbf{g}_{i})\dot{\mathbf{x}}}{\|\mathbf{P}(\mathbf{g}_{i})\mathbf{x}_{d}\|\|\mathbf{P}(\mathbf{g}_{i})\mathbf{x}\|^{3}}. Since \mathbf{P}(\mathbf{g}_{i})\mathbf{x}_{d}\neq\mathbf{0} and \mathbf{P}(\mathbf{g}_{i})\mathbf{x}\neq\mathbf{0} for all \mathbf{x}\in\mathcal{F}_{i} , as noted earlier, and since \dot{\mathbf{x}} is well-defined on \mathcal{M}_{0} , it follows that \dot{V}(\mathbf{x}) is well-defined for all \mathbf{x}\in\mathcal{F}_{i} . To show that \dot{V}_{i}(\mathbf{x})>0 for all \mathbf{x}\in\mathcal{F}_{i}\setminus\left(\partial\mathcal{U}_{i}\cup\mathcal{Z}_{i}\cup\mathcal{V}_{i}\right) , it is sufficient to show that \mathbf{w}_{i}(\mathbf{x})^{\top}\dot{\mathbf{x}}>0,\text{ for all }\mathbf{x}\in\mathcal{F}_{i}\setminus\left(\partial\mathcal{U}_{i}\cup\mathcal{Z}_{i}\cup\mathcal{V}_{i}\right), (39) where \mathbf{w}_{i}(\mathbf{x}) is given by \mathbf{w}_{i}(\mathbf{x})=\|\mathbf{P}(\mathbf{g}_{i})\mathbf{x}\|^{2}\mathbf{P}(\mathbf{g}_{i})\mathbf{x}_{d}-\mathbf{x}_{d}^{\top}\mathbf{P}(\mathbf{g}_{i})\mathbf{x}\mathbf{P}(\mathbf{g}_{i})\mathbf{x}. (40) To proceed with the proof, we require the following fact: Fact 1 . Let \mathbf{w}_{i}(\mathbf{x}) be defined as in ( 40 ) for \mathbf{x}\in\mathcal{F}_{i} . Then, the following hold: 1. \mathbf{w}_{i}(\mathbf{x})^{\top}\mathbf{P}(\mathbf{x})\mathbf{x}_{d}>0 for all \mathbf{x}\in\mathcal{F}_{i}\setminus(\mathcal{Z}_{i}\cup\mathcal{V}_{i}) , 2. \mathbf{w}_{i}(\mathbf{x})^{\top}\mathbf{P}(\mathbf{x})\mathbf{g}_{i}=0 for all \mathbf{x}\in\mathcal{F}_{i} . Proof. Using ( 40 ), one obtains \mathbf{w}_{i}(\mathbf{x})^{\top}\mathbf{P}(\mathbf{x})\mathbf{x}_{d}=\mathbf{x}^{\top}\mathbf{P}(\mathbf{g}_{i})(\mathbf{x}\mathbf{x}_{d}^{\top}-\mathbf{x}_{d}\mathbf{x}^{\top})\mathbf{P}(\mathbf{g}_{i})\mathbf{P}(\mathbf{x})\mathbf{x}_{d}. (41) Using ( 2 ), one gets \mathbf{P}(\mathbf{g}_{i})\mathbf{P}(\mathbf{x})\mathbf{x}_{d}=\mathbf{P}(\mathbf{g}_{i})\mathbf{x}_{d}-\mathbf{x}^{\top}\mathbf{x}_{d}\mathbf{P}(\mathbf{g}_{i})\mathbf{x} , and ( 41 ) becomes \displaystyle\mathbf{w}_{i}(\mathbf{x})^{\top}\mathbf{P}(\mathbf{x})\mathbf{x}_{d} \displaystyle=\mathbf{x}^{\top}\mathbf{P}(\mathbf{g}_{i})(\mathbf{x}\mathbf{x}_{d}^{\top}-\mathbf{x}_{d}\mathbf{x}^{\top})\mathbf{P}(\mathbf{g}_{i})\mathbf{x}_{d} (42) \displaystyle-\mathbf{x}^{\top}\mathbf{x}_{d}\mathbf{x}^{\top}\mathbf{P}(\mathbf{g}_{i})(\mathbf{x}\mathbf{x}_{d}^{\top}-\mathbf{x}_{d}\mathbf{x}^{\top})\mathbf{P}(\mathbf{g}_{i})\mathbf{x}. Since the matrix \mathbf{x}\mathbf{x}_{d}^{\top}-\mathbf{x}_{d}\mathbf{x}^{\top} is skew symmetric, the second term in ( 42 ) vanishes, and one obtains \displaystyle\mathbf{w}_{i}(\mathbf{x})^{\top}\mathbf{P}(\mathbf{x})\mathbf{x}_{d} \displaystyle=\|\mathbf{P}(\mathbf{g}_{i})\mathbf{x}\|^{2}\|\mathbf{P}(\mathbf{g}_{i})\mathbf{x}_{d}\|^{2} (43) \displaystyle-\left(\left(\mathbf{P}(\mathbf{g}_{i})\mathbf{x}\right)^{\top}\mathbf{P}(\mathbf{g}_{i})\mathbf{x}_{d}\right)^{2}. It follows from Cauchy-Schwarz inequality that \mathbf{w}_{i}(\mathbf{x})^{\top}\mathbf{P}(\mathbf{x})\mathbf{x}_{d}\geq 0 for all \mathbf{x}\in\mathcal{F}_{i}\setminus\left(\mathcal{Z}_{i}\cup\mathcal{V}_{i}\right) . In fact, \mathbf{w}_{i}(\mathbf{x})^{\top}\mathbf{P}(\mathbf{x})\mathbf{x}_{d}=0 if and only if \mathbf{P}(\mathbf{g}_{i})\mathbf{x}=q\mathbf{P}(\mathbf{g}_{i})\mathbf{x}_{d} for some q\in\mathbb{R} . It can be shown that for any \mathbf{x}\in\mathcal{F}_{i}\setminus\left(\mathcal{Z}_{i}\cup\mathcal{V}_{i}\right) , there does not exist q\in\mathbb{R} such that \mathbf{P}(\mathbf{g}_{i})\mathbf{x}=q\mathbf{P}(\mathbf{g}_{i})\mathbf{x}_{d} . Consequently, \mathbf{w}_{i}(\mathbf{x})^{\top}\mathbf{P}(\mathbf{x})\mathbf{x}_{d}>0 for all \mathbf{x}\in\mathcal{F}_{i}\setminus\left(\mathcal{Z}_{i}\cup\mathcal{V}_{i}\right) . Now, we show that \mathbf{w}_{i}(\mathbf{x})^{\top}\mathbf{P}(\mathbf{x})\mathbf{g}_{i}=0 for all \mathbf{x}\in\mathcal{F}_{i} . Using ( 2 ) and ( 40 ), one obtains \mathbf{w}_{i}(\mathbf{x})^{\top}\mathbf{P}(\mathbf{x})\mathbf{g}_{i}=-\mathbf{x}^{\top}\mathbf{g}_{i}\mathbf{x}^{\top}\mathbf{P}(\mathbf{g}_{i})(\mathbf{x}\mathbf{x}_{d}^{\top}-\mathbf{x}_{d}\mathbf{x}^{\top})\mathbf{P}(\mathbf{g}_{i})\mathbf{x}. Since the matrix \mathbf{x}\mathbf{x}_{d}^{\top}-\mathbf{x}_{d}\mathbf{x}^{\top} is skew symmetric, it follows that \mathbf{w}_{i}(\mathbf{x})^{\top}\mathbf{P}(\mathbf{x})\mathbf{g}_{i}=0 for all \mathbf{x}\in\mathcal{F}_{i} . This completes the proof of Fact 1 . For any \mathbf{x}\in\mathcal{F}_{i}\setminus\left(\partial\mathcal{U}_{i}\cup\mathcal{Z}_{i}\cup\mathcal{V}_{i}\right) , using ( 8 ), ( 18 ) and ( 19 ), one has \dot{\mathbf{x}}=\beta(\mathbf{x})\mathbf{P}(\mathbf{x})\mathbf{x}_{d}-\frac{1}{\kappa}(1-\beta(\mathbf{x}))\mathbf{P}(\mathbf{x})\mathbf{g}_{i}, for some \beta_{i}(\mathbf{x})\in(0,1] . Consequently, it follows from Fact 1 that \mathbf{w}_{i}(\mathbf{x})^{\top}\dot{\mathbf{x}}>0 for all \mathbf{x}\in\mathcal{F}_{i}\setminus\left(\partial\mathcal{U}_{i}\cup\mathcal{Z}_{i}\cup\mathcal{V}_{i}\right) . As a result, \dot{V}_{i}(\mathbf{x})>0 for all \mathbf{x}\in\mathcal{F}_{i}\setminus\left(\partial\mathcal{U}_{i}\cup\mathcal{Z}_{i}\cup\mathcal{V}_{i}\right) . -F Proof of Theorem 2 The forward invariance of \mathcal{M}_{0} for the closed-loop system ( 8 )-( 18 ) is established in Lemma 2 . To show that the desired equilibrium point \mathbf{x}_{d} is almost globally asymptotically stable for the closed-loop system ( 8 )-( 18 ) over \mathcal{M}_{0} , it suffices to show that \mathbf{x}_{d} is asymptotically stable and almost globally attractive in \mathcal{M}_{0} . We show that \mathbf{x}_{d} is asymptotically stable for the closed-loop system ( 8 )-( 18 ). Since \epsilon<\bar{\epsilon} , as stated in Section V , one has \mathbf{x}_{d}\notin\mathcal{N}_{\epsilon}(\mathcal{U}) . Therefore, there exists \varrho>0 such that \mathcal{B}_{g}(\mathbf{x}_{d},\varrho)\subset\mathcal{M}_{\epsilon} and -\mathbf{x}_{d}\notin\mathcal{B}_{g}(\mathbf{x}_{d},\varrho) , where \mathcal{M}_{\epsilon} is obtained by replacing p with \epsilon in ( 10 ) , and \mathcal{B}_{g}(\mathbf{x}_{d},\varrho)=\{\mathbf{x}\in\mathbb{S}^{n}\mid d_{s}(\mathbf{x},\mathbf{x}_{d})\leq\varrho\}. The spherical distance function d_{s}(\mathbf{x},\mathbf{x}_{d}) , introduced in Section II , is positive definite with respect to \mathbf{x}_{d} over \mathcal{M}_{0} . It follows from ( 8 ) and ( 18 ) that \dot{d}_{s}(\mathbf{x},\mathbf{x}_{d})=-k_{1}\mathbf{x}_{d}^{\top}\mathbf{P}(\mathbf{x})\mathbf{x}_{d}, which is negative definite with respect to \mathbf{x}_{d} over \mathcal{B}_{g}(\mathbf{x}_{d},\varrho) . This ensures asymptotic stability of \mathbf{x}_{d} for the closed-loop system ( 8 )-( 18 ). We proceed to show that there exists \bar{\kappa}>0 such that if \kappa>\bar{\kappa} , then \mathbf{x}_{d} is almost globally attractive for the closed-loop system ( 8 )-( 18 ) over \mathcal{M}_{0} . In other words, we show that there exists \bar{\kappa}>0 such that if \kappa>\bar{\kappa} , then the solution \mathbf{x}(t) to the closed-loop system ( 8 )-( 18 ), initialized at any \mathbf{x}(0)\in\mathcal{M}_{0} outside a set of Lebesgue measure zero, satisfies \lim_{t\to\infty}d_{s}(\mathbf{x}(t),\mathbf{x}_{d})=0. (44) Consider a solution \mathbf{x}(t) to the closed-loop system with \mathbf{x}(0)\in\mathcal{M}_{0}\setminus\{-\mathbf{x}_{d}\} . There are two possible cases: either \mathbf{x}(t)\in\mathcal{M}_{\epsilon}\setminus\mathcal{R} for all t\geq 0 or there exists t_{1}\geq 0 such that \mathbf{x}(t_{1})\in\mathcal{R} , where the set \mathcal{R} is defined as \mathcal{R}=\bigcup_{i\in\mathbb{I}}\mathcal{R}_{i}. (45) First consider the former case, where \mathbf{x}(0)\in\mathcal{M}_{0}\setminus\{-\mathbf{x}_{d}\} and \mathbf{x}(t)\in\mathcal{M}_{\epsilon}\setminus\mathcal{R} for all t\geq 0 . Since, according to ( 18 ), \mathbf{u}(\mathbf{x})=k_{1}\mathbf{x}_{d} for all \mathbf{x}\in\mathcal{M}_{\epsilon} , it follows that \dot{d}_{s}(\mathbf{x},\mathbf{x}_{d})<0 for all \mathbf{x}\in\mathcal{M}_{\epsilon}\setminus\{\mathbf{x}_{d},-\mathbf{x}_{d}\} , where d_{s}(\mathbf{x},\mathbf{x}_{d}) is defined in Section II . Consequently, \mathbf{x}(t) satisfies ( 44 ). Now, we proceed to analyze the case where \mathbf{x}(0)\in\mathcal{M}_{0}\setminus\{-\mathbf{x}_{d}\} and there exists t_{1}\geq 0 such that \mathbf{x}(t_{1})\in\mathcal{R} . It follows from Assumption 2 that there exists a unique i\in\mathbb{I} such that \mathbf{x}(t_{1})\in\mathcal{R}_{i} . There are three possibilities as follows: 1. \mathbf{x}(t_{1})\in\mathcal{R}_{i}\setminus\mathcal{Z}_{i} for some i\in\mathbb{I}_{a} ; 2. \mathbf{x}(t_{1})\in\mathcal{R}_{i}\setminus\mathcal{Z}_{i} with i\in\mathbb{I}\setminus\mathbb{I}_{a} ; 3. \mathbf{x}(t_{1})\in\mathcal{R}_{i}\cap\mathcal{Z}_{i} for some i\in\mathbb{I} , where \mathcal{Z}_{i} and \mathbb{I}_{a} are defined in ( 21 ) and ( 23 ), respectively. To proceed with the proof, we require the following lemma: Lemma 6 . Consider the closed-loop system ( 8 )–( 18 ) under Assumptions 1 and 2 . Suppose there exists t_{1}\geq 0 such that \mathbf{x}(t_{1})\in\mathcal{R}_{i}\setminus\mathcal{Z}_{i} for some i\in\mathbb{I} . Then, there exist \kappa_{i}>0 such that for all \kappa>\kappa_{i} , the following statements hold: 1. If i\in\mathbb{I}_{a} , then there exists t_{2}\geq t_{1} such that \mathbf{x}(t_{2})\in\mathcal{P}(\mathbf{x}_{d},\mathcal{R}_{i}) and \mathbf{x}(t)\in\mathcal{R}_{i} for all t\in[t_{1},t_{2}] . 2. If i\in\mathbb{I}\setminus\mathbb{I}_{a} , then there exists t_{2}>t_{1} such that \mathbf{x}(t_{2})\in\mathcal{M}_{\epsilon}\setminus\mathcal{R}_{i} and \mathbf{x}(t)\notin\mathcal{R}_{i} for all t\geq t_{2} . Proof. See Appendix -H . If \mathbf{x}(t_{1})\in\mathcal{R}_{i}\setminus\mathcal{Z}_{i} with i\in\mathbb{I}\setminus\mathbb{I}_{a} , then it follows from Claim 2 of Lemma 6 that there exists \kappa_{i}>0 such that if \kappa>\kappa_{i} , then \mathbf{x}(t_{2})\in\mathcal{M}_{\epsilon}\setminus\mathcal{R}_{i} for some t_{2}>t_{1} and \mathbf{x}(t)\notin\mathcal{R}_{i} for all t\geq t_{2} . On the other hand, if \mathbf{x}(t_{1})\in\mathcal{R}_{i}\setminus\mathcal{Z}_{i} for some i\in\mathbb{I}_{a} , then there exists \kappa_{i}>0 such that if \kappa>\kappa_{i} , then \mathbf{x}(t_{2})\in\mathcal{P}(\mathbf{x}_{d},\mathcal{R}_{i}) for some t_{2}\geq t_{1} and \mathbf{x}(t)\in\mathcal{R}_{i} for all t\in[t_{1},t_{2}] , as stated in Claim 1 of Lemma 6 . In this case, it follows from ( 4 ) that d_{s}(\mathbf{x}(t_{2}),\mathbf{x}_{d})\leq d_{s}(\mathbf{x}(t_{1}),\mathbf{x}_{d}). The control input vector ( 18 ) then steers \mathbf{x} to \mathcal{M}_{\epsilon}\setminus\mathcal{R}_{i} right after time t_{2} . Since \mathcal{R}_{i}\cap\mathcal{R}_{j}=\emptyset for all i,j\in\mathbb{I} with i\neq j , as stated in Assumption 2 , it follows that if there exists t_{3}>t_{2} such that \mathbf{x}(t_{3})\in\mathcal{R}_{j} , where j\in\mathbb{I}_{a}\setminus\{i\} , then \mathbf{x}(t)\in\mathcal{M}_{\epsilon}\setminus\mathcal{R} for all t\in(t_{2},t_{3}) . Consequently, since \mathbf{u}(\mathbf{x}(t))=k_{1}\mathbf{x}_{d} for all t\in[t_{2},t_{3}] , one has \dot{d}_{s}(\mathbf{x}(t),\mathbf{x}_{d})<0 for all t\in[t_{2},t_{3}] , and d_{s}(\mathbf{x}(t_{3}),\mathbf{x}_{d})0 for all \lambda_{\mathbf{q}}\in[0,1] and for every \theta_{\mathbf{a},\mathbf{b}}\in(0,\pi) . Differentiating \rho(\lambda_{\mathbf{q}}) with respect to \lambda_{\mathbf{q}} , one obtains \frac{d}{d_{\lambda_{\mathbf{q}}}}\rho(\lambda_{\mathbf{q}})=\frac{\theta_{\mathbf{a},\mathbf{b}}\sin(\theta_{\mathbf{a},\mathbf{b}})}{\left(\sin(\lambda_{\mathbf{q}}\theta_{\mathbf{a},\mathbf{b}})+\sin((1-\lambda_{\mathbf{q}})\theta_{\mathbf{a},\mathbf{b}})\right)^{2}}. (51) Since \theta_{\mathbf{a},\mathbf{b}}\in(0,\pi) , it follows that \frac{d}{d\lambda_{\mathbf{q}}}\rho(\lambda_{\mathbf{q}})>0 for all \lambda_{\mathbf{q}}\in[0,1] . Therefore, \rho(\lambda_{\mathbf{q}}) is strictly increasing over [0,1] for every \theta_{\mathbf{a},\mathbf{b}}\in(0,\pi) . This completes the proof of Lemma 5 . -H Proof of Lemma 6 -H 1 Proof of Claim 1 Fix i\in\mathbb{I}_{a} . Since \left(\mathcal{R}_{i}\setminus\mathcal{Z}_{i}\right)\subset\mathcal{F}_{i} , it follows from Lemma 4 and Remark 5 that if \mathbf{x}(t_{1})\in\mathcal{R}_{i}\setminus\mathcal{Z}_{i} for some t_{1}\geq 0 , then there are two possible cases as mentioned below: Case 1: There exists s_{1}>t_{1} such that \mathbf{x}(s_{1})\in\mathcal{M}_{\epsilon}\setminus\mathcal{R}_{i} and \mathbf{x}(t)\in\mathcal{R}_{i}\setminus\left(\mathcal{Z}_{i}\cup\mathcal{V}_{i}\right) for all t\in[t_{1},s_{1}) , where \mathcal{V}_{i} is defined in ( 21 ). To proceed with the proof, we require the following fact: Fact 2 . For the closed-loop system ( 8 )-( 18 ), under Assumptions 1 and 2 , for \mathbf{x}\in\mathcal{R}_{i} , \mathbf{P}(\mathbf{x})\mathbf{u}(\mathbf{x})\notin\mathbf{T}_{\mathbf{x}}(\mathcal{R}_{i}) if and only if \mathbf{x}\in\mathcal{P}(\mathbf{x}_{d},\mathcal{R}_{i}) , where i\in\mathbb{I}_{a} and \mathbf{T}_{\mathbf{x}}(\mathcal{R}_{i}) denotes the tangent space to \mathcal{R}_{i} on \mathbb{S}^{n} at \mathbf{x} . Proof. Since \mathbf{T}_{\mathbf{x}}(\mathcal{R}_{i})=\mathbf{T}_{\mathbf{x}}(\mathbb{S}^{n}) for all \mathbf{x}\in\mathcal{R}_{i}^{\circ} , one has \mathbf{P}(\mathbf{x})\mathbf{u}(\mathbf{x})\in\mathbf{T}_{\mathbf{x}}(\mathcal{R}_{i}) for every \mathbf{x}\in\mathcal{R}_{i}^{\circ} . According to ( 25 ), the boundary of \mathcal{R}_{i} on \mathbb{S}^{n} can be partitions as follows: \mathcal{R}_{i}=\partial\mathcal{U}_{i}\cup\mathcal{Y}_{i}\cup\mathcal{P}(\mathbf{x}_{d},\mathcal{R}_{i}), where \mathcal{Y}_{i}=\left(\partial\mathcal{R}_{i}\cap\mathcal{M}_{\epsilon}\right)\setminus\mathcal{P}(\mathbf{x}_{d},\mathcal{R}_{i}) . Since \mathcal{M}_{0} is forward invariant for the closed-loop system ( 8 )-( 18 ), as established in Lemma 2 , it follows that \mathbf{P}(\mathbf{x})\mathbf{u}(\mathbf{x})\in\mathbf{T}_{\mathbf{x}}(\mathcal{R}_{i}) for all \mathbf{x}\in\partial\mathcal{U}_{i} . By ( 24 ) and ( 25 ), for every \mathbf{x}\in\mathcal{Y}_{i} , there exists some \mathbf{p}(\mathbf{x})\in\mathcal{P}(\mathbf{x}_{d},\mathcal{R}_{i}) such that \mathcal{G}(\mathbf{x},\mathbf{p}(\mathbf{x}))\subset\left(\mathcal{S}_{i}(\mathbf{x}_{d})\cap\mathcal{G}(\mathbf{x},\mathbf{x}_{d})\right) , where \mathcal{S}_{i}(\mathbf{x}_{d}) is defined in ( 24 ). Therefore, there exists \mathbf{q}\in\mathcal{G}(\mathbf{x},\mathbf{p}(\mathbf{x})) such that \mathcal{G}(\mathbf{x},\mathbf{q})\subset\left(\mathcal{R}_{i}\cap\mathcal{G}(\mathbf{x},\mathbf{x}_{d})\right) . As a result, one can show that \mathbf{P}(\mathbf{x})\mathbf{x}_{d}\in\mathbf{T}_{\mathbf{x}}(\mathcal{R}_{i}) for all \mathbf{x}\in\mathcal{Y}_{i} . Additionally, since \mathcal{Y}_{i}\subset\mathcal{M}_{\epsilon} , by ( 18 ), one has \mathbf{u}(\mathbf{x})=k_{1}\mathbf{x}_{d} for all \mathbf{x}\in\mathcal{Y}_{i} . Consequently, \mathbf{P}(\mathbf{x})\mathbf{u}(\mathbf{x})\in\mathbf{T}_{\mathbf{x}}(\mathcal{R}_{i}) for all \mathbf{x}\in\mathcal{Y}_{i} . It remains to show that for every \mathbf{x}\in\mathcal{P}(\mathbf{x}_{d},\mathcal{R}_{i}) , \mathbf{P}(\mathbf{x})\mathbf{u}(\mathbf{x})\notin\mathbf{T}_{\mathbf{x}}(\mathcal{R}_{i}) . It is true that \mathcal{G}(\mathbf{x},\mathbf{x}_{d})\cap\mathcal{R}_{i}^{\circ}=\emptyset for all \mathbf{x}\in\mathcal{P}(\mathbf{x}_{d},\mathcal{R}_{i}) . Therefore, one can verify that \mathbf{P}(\mathbf{x})\mathbf{x}_{d}\notin\mathbf{T}_{\mathbf{x}}(\mathcal{R}_{i}) for all \mathbf{x}\in\mathcal{P}(\mathbf{x}_{d},\mathcal{R}_{i}) . Furthermore, according to ( 25 ), one has \mathcal{P}(\mathbf{x}_{d},\mathcal{R}_{i})\subset\mathcal{M}_{\epsilon} . Therefore, it follows from ( 18 ) that \mathbf{u}(\mathbf{x})=k_{1}\mathbf{x}_{d} for every \mathbf{x}\in\mathcal{P}(\mathbf{x}_{d},\mathcal{R}_{i}) . Consequently, \mathbf{P}(\mathbf{x})\mathbf{u}(\mathbf{x})\notin\mathbf{T}_{\mathbf{x}}(\mathcal{R}_{i}) for all \mathbf{x}\in\mathcal{P}(\mathbf{x}_{d},\mathcal{R}_{i}) , and the proof is complete. Since \mathbf{x}(t_{1})\in\mathcal{R}_{i} , \mathbf{x}(s_{1})\in\mathcal{M}_{\epsilon}\setminus\mathcal{R}_{i} and \mathbf{x}(t)\in\mathcal{R}_{i}\setminus\left(\mathcal{Z}_{i}\cup\mathcal{V}_{i}\right) for all t\in[t_{1},s_{1}) , there exists t_{2}\in[t_{1},s_{1}) such that \mathbf{x}(t_{2})\in\partial\mathcal{R}_{i}\cap\mathcal{M}_{\epsilon} and \mathbf{x}(t)\in\mathcal{R}_{i} for all t\in[t_{1},t_{2}] . Additionally, it follows from Fact 2 that \mathbf{x}(t_{2})\in\mathcal{P}(\mathbf{x}_{d},\mathcal{R}_{i}) . Case 2: \mathbf{x}(t)\in\mathcal{F}_{i}\setminus(\mathcal{V}_{i}\cup\mathcal{Z}_{i}) for all t\geq t_{1} and \displaystyle\lim_{t\to\infty}d_{s}(\mathbf{x}(t),\mathcal{V}_{i})=0 . It follows that for every \nu_{i}>0 there exists s_{\nu_{i}}\geq t_{1} such that \mathbf{x}(t)\in\mathcal{D}_{\nu_{i}}(\mathcal{V}_{i})\cap\mathcal{R}_{i} for all t\geq s_{\nu_{i}} , where \mathcal{D}_{\nu_{i}}(\mathcal{V}_{i}) is defined in ( 5 ). To proceed with the proof, we require the following fact: Fact 3 . For the closed-loop system ( 8 )-( 18 ) under Assumptions 1 and 2 , there exists \kappa_{i}>0 for each i\in\mathbb{I} such that if \kappa>\kappa_{i} , then \dot{d_{s}}(\mathbf{x},\mathbf{x}_{d})<0 for all \mathbf{x}\in\mathcal{V}_{i}\cap\mathcal{R}_{i} . Proof. Since \epsilon<\bar{\epsilon} , as stated in Section V , one has \mathbf{x}_{d}\notin\mathcal{N}_{\epsilon}(\mathcal{U}) . Therefore, it follows from ( 25 ) that \mathbf{x}_{d}\notin\mathcal{R}_{i} for every i\in\mathbb{I}_{a} . Additionally, one can confirm that \mathbf{x}_{d}\notin\mathcal{R}_{i} for i\in\mathbb{I}\setminus\mathbb{I}_{a} . Consequently, if \mathbf{x}\in\mathcal{R}_{i}\cap\mathcal{M}_{\epsilon} , then, according to ( 18 ), \mathbf{u}(\mathbf{x})=k_{1}\mathbf{x}_{d} and it follows that \dot{d}_{s}(\mathbf{x},\mathbf{x}_{d})<0 , where i\in\mathbb{I} and the set \mathcal{M}_{\epsilon} is defined as per ( 10 ). Therefore, we consider the case where \mathbf{x}\in\mathcal{V}_{i}\cap\mathcal{N}_{\epsilon}(\mathcal{U}_{i}) for some i\in\mathbb{I} . For the subsequent analysis, fix i\in\mathbb{I} . Since, according to ( 21 ), \mathbf{x}\in\mathcal{V}_{i} implies \mathbf{x}\in\mathcal{G}(\mathbf{x}_{d},\mathbf{g}_{i})\cup\mathcal{G}(\mathbf{x}_{d},-\mathbf{g}_{i}) , it follows that the vectors \mathbf{P}(\mathbf{x})\mathbf{x}_{d} and \mathbf{P}(\mathbf{x})\mathbf{g}_{i} are collinear for all \mathbf{x}\in\mathcal{V}_{i}\cap\mathcal{N}_{\epsilon}(\mathcal{U}_{i}) . Using ( 21 ), the set \mathcal{V}_{i}\cap\mathcal{N}_{\epsilon}(\mathcal{U}_{i}) can be partitioned into two subsets as follows: \mathcal{V}_{i}\cap\mathcal{N}_{\epsilon}(\mathcal{U}_{i})=\left(\mathcal{G}(\mathbf{x}_{d},\mathbf{g}_{i})\cap\mathcal{N}_{\epsilon}(\mathcal{U}_{i})\right)\cup\left(\mathcal{G}(\mathbf{x}_{d},-\mathbf{g}_{i})\cap\mathcal{N}_{\epsilon}(\mathcal{U}_{i})\right). First, we analyze the case where \mathbf{x}\in\mathcal{G}(\mathbf{x}_{d},\mathbf{g}_{i})\cap\mathcal{N}_{\epsilon}(\mathcal{U}_{i}) . Since \epsilon<\bar{\epsilon} , as stated in Section V , one has \mathbf{x}_{d}\notin\mathcal{N}_{\epsilon}(\mathcal{U}) . Moreover, since \mathbf{g}_{i}\in\mathcal{U}_{i}^{\circ} , one has \mathbf{g}_{i}\notin\mathcal{N}_{\epsilon}(\mathcal{U}_{i}) . Furthermore, we know that \mathcal{G}(\mathbf{x}_{d},\mathbf{g}_{i})\cap\{-\mathbf{x}_{d},-\mathbf{g}_{i}\}=\emptyset . Consequently, \left(\mathcal{G}(\mathbf{x}_{d},\mathbf{g}_{i})\cap\mathcal{N}_{\epsilon}(\mathcal{U}_{i})\right)\cap\{\mathbf{x}_{d},-\mathbf{x}_{d},\mathbf{g}_{i},-\mathbf{g}_{i}\}=\emptyset , and one can verify that for every \mathbf{x}\in\mathcal{G}(\mathbf{x}_{d},\mathbf{g}_{i})\cap\mathcal{N}_{\epsilon}(\mathcal{U}_{i}) , there exists q>0 such that \mathbf{P}(\mathbf{x})\mathbf{g}_{i}=-q\mathbf{P}(\mathbf{x})\mathbf{x}_{d} . Therefore, according to ( 8 ), ( 18 ) and ( 19 ), for every \mathbf{x}\in\mathcal{G}(\mathbf{x}_{d},\mathbf{g}_{i})\cap\mathcal{N}_{\epsilon}(\mathcal{U}_{i}) , \dot{\mathbf{x}} can be represented as \dot{\mathbf{x}}=\alpha_{i}(\mathbf{x})\mathbf{P}(\mathbf{x})\mathbf{x}_{d}, (52) for some \alpha_{i}(\mathbf{x})>0 , and \dot{d_{s}}(\mathbf{x},\mathbf{x}_{d})<0 . We proceed to analyze the case where \mathbf{x}\in\mathcal{G}(\mathbf{x}_{d},-\mathbf{g}_{i})\cap\mathcal{N}_{\epsilon}(\mathcal{U}_{i}) . One can show that for every \mathbf{x}\in\mathcal{G}(\mathbf{x}_{d},-\mathbf{g}_{i})\cap\mathcal{N}_{\epsilon}(\mathcal{U}_{i}) , there exists q\geq 0 such that \mathbf{P}(\mathbf{x})\mathbf{g}_{i}=q\mathbf{P}(\mathbf{x})\mathbf{x}_{d} . Moreover, for every \mathbf{x}\in\mathcal{G}(\mathbf{x}_{d},-\mathbf{g}_{i})\cap\mathcal{N}_{\epsilon}(\mathcal{U}_{i}) , the control input vector ( 18 ) becomes \mathbf{u}(\mathbf{x})=\frac{k_{1}d_{s}(\mathbf{x},\mathcal{U}_{i})}{\epsilon}\mathbf{x}_{d}-\frac{k_{1}}{\kappa}\left(1-\frac{d_{s}(\mathbf{x},\mathcal{U}_{i})}{\epsilon}\right)\mathbf{g}_{i}. Therefore, to show that \dot{d}_{s}(\mathbf{x},\mathbf{x}_{d})<0 for all \mathbf{x}\in\mathcal{G}(\mathbf{x}_{d},-\mathbf{g}_{i})\cap\mathcal{N}_{\epsilon}(\mathcal{U}_{i}) , the following inequality must hold \frac{d_{s}(\mathbf{x},\mathcal{U}_{i})}{\epsilon}\|\mathbf{P}(\mathbf{x})\mathbf{x}_{d}\|>\frac{1}{\kappa}\left(1-\frac{d_{s}(\mathbf{x},\mathcal{U}_{i})}{\epsilon}\right)\|\mathbf{P}(\mathbf{x})\mathbf{g}_{i}\|, (53) for every \mathbf{x}\in\mathcal{G}(\mathbf{x}_{d},-\mathbf{g}_{i})\cap\mathcal{N}_{\epsilon}(\mathcal{U}_{i}) . A sufficient condition for the inequality ( 53 ) to hold is given by \frac{(\epsilon-d_{s}(\mathbf{x},\mathcal{U}_{i}))}{d_{s}(\mathbf{x},\mathcal{U}_{i})}\frac{\|\mathbf{P}(\mathbf{x})\mathbf{g}_{i}\|}{\|\mathbf{P}(\mathbf{x})\mathbf{x}_{d}\|}<\kappa, (54) We proceed to obtain the upper bound on the left-hand side of ( 54 ) over \mathcal{G}(\mathbf{x}_{d},-\mathbf{g}_{i})\cap\mathcal{N}_{\epsilon}(\mathcal{U}_{i}) . Since \mathbf{g}_{i}\in\sigma(\mathcal{U}_{i}) , as stated in Section V , one has -\mathbf{g}_{i}\notin\mathcal{U}_{i} . Furthermore, as mentioned earlier \mathbf{x}_{d}\notin\mathcal{R}_{i} . Therefore, one can show the existence of \mu_{1}^{i}>0 such that d_{s}(\mathcal{G}(\mathbf{x}_{d},-\mathbf{g}_{i}),\mathcal{U}_{i})>\mu_{1}^{i} . Consequently, since f(p)=\frac{\epsilon-p}{p} is a strictly decreasing on (0,\infty) , and d_{s}(\mathbf{x},\mathcal{U}_{i})>\mu_{1}^{i} for all \mathbf{x}\in\mathcal{G}(\mathbf{x}_{d},-\mathbf{g}_{i})\cap\mathcal{N}_{\epsilon}(\mathcal{U}_{i}) , it follows that \frac{\epsilon-d_{s}(\mathbf{x},\mathcal{U}_{i})}{d_{s}(\mathbf{x},\mathcal{U}_{i})}<\frac{\epsilon-\mu_{1}^{i}}{\mu_{1}^{i}}, for all \mathbf{x}\in\mathcal{G}(\mathbf{x}_{d},-\mathbf{g}_{i})\cap\mathcal{N}_{\epsilon}(\mathcal{U}_{i}) . Furthermore, \|\mathbf{P}(\mathbf{x})\mathbf{g}_{i}\|\leq 1 for all \mathbf{x},\mathbf{g}_{i}\in\mathbb{S}^{n} . Additionally, since \epsilon<\bar{\epsilon} , as stated in Section V , one has \mathbf{x}_{d}\notin\mathcal{N}_{\epsilon}(\mathcal{U}) . Moreover, -\mathbf{x}_{d}\notin\mathcal{G}(\mathbf{x}_{d},-\mathbf{g}_{i}) . As a result, there exists \mu_{2}^{i}>0 such that \|\mathbf{P}(\mathbf{x})\mathbf{x}_{d}\|\in[\mu_{2}^{i},1] for all \mathbf{x}\in\mathcal{G}(\mathbf{x}_{d},-\mathbf{g}_{i})\cap\mathcal{N}_{\epsilon}(\mathcal{U}_{i}) . Consequently, it follows that \frac{(\epsilon-d_{s}(\mathbf{x},\mathcal{U}_{i}))}{d_{s}(\mathbf{x},\mathcal{U}_{i})}\frac{\|\mathbf{P}(\mathbf{x})\mathbf{g}_{i}\|}{\|\mathbf{P}(\mathbf{x})\mathbf{x}_{d}\|}\leq\frac{\epsilon-\mu_{1}^{i}}{\mu_{1}^{i}\mu_{2}^{i}} for all \mathbf{x}\in\mathcal{G}(\mathbf{x}_{d},-\mathbf{g}_{i})\cap\mathcal{N}_{\epsilon}(\mathcal{U}_{i}) . Therefore, by setting \kappa>\kappa_{i} , where \kappa_{i}=\frac{\epsilon-\mu_{1}^{i}}{\mu_{1}^{i}\mu_{2}^{i}} , one can ensure that the inequality ( 53 ) holds for every \mathbf{x}\in\mathcal{G}(\mathbf{x}_{d},-\mathbf{g}_{i})\cap\mathcal{R}_{i} . This ensure the existence \kappa_{i}>0 such that if \kappa>\kappa_{i} , then \dot{d_{s}}(\mathbf{x},\mathbf{x}_{d})<0 for all \mathbf{x}\in\mathcal{G}(\mathbf{x}_{d},-\mathbf{g}_{i})\cap\mathcal{N}_{\epsilon}(\mathcal{U}_{i}) . This completes the proof of Fact 3 . According to Fact 3 , \dot{d}_{s}(\mathbf{x},\mathbf{x}_{d})<0 for all \mathbf{x}\in\mathcal{V}_{i}\cap\mathcal{R}_{i} , where \mathcal{V}_{i}\cap\mathcal{R}_{i} is a closed set on \mathbb{S}^{n} . Furthermore, since d_{s}(\mathbf{x},\mathbf{x}_{d}) is continuously differentiable with respect to \mathbf{x} over \mathcal{M}_{0} and \mathbf{P}(\mathbf{x})\mathbf{u}(\mathbf{x}) is continuous over \mathcal{M}_{0} , it follows that \dot{d}_{s}(\mathbf{x},\mathbf{x}_{d}) continuous in \mathbf{x} over \mathcal{M}_{0} . Therefore, there exists \nu_{i}>0 such that \dot{d}_{s}(\mathbf{x},\mathbf{x}_{d})<0 for all \mathbf{x}\in\mathcal{D}_{\nu_{i}}(\mathcal{V}_{i})\cap\mathcal{R}_{i} . Furthermore, as mentioned earlier, there exists s_{\nu_{i}}\geq t_{1} such that \mathbf{x}(t)\in\mathcal{D}_{\nu_{i}}(\mathcal{V}_{i})\cap\mathcal{R}_{i} for all t\geq s_{\nu_{i}} . Therefore, \dot{d}_{s}(\mathbf{x}(t),\mathbf{x}_{d})<0 for all t\geq s_{\nu_{i}} as long as \mathbf{x}(t)\in\mathcal{D}_{\nu_{i}}(\mathcal{V}_{i})\cap\mathcal{R}_{i} . Now, as mentioned earlier, \mathbf{x}_{d}\notin\mathcal{R}_{i} . As a result, there exists t_{2}\geq s_{\nu_{i}} such that \mathbf{x}(t_{2})\in\partial\mathcal{R}_{i}\cap\mathcal{M}_{\epsilon} , and \mathbf{x}(t)\in\mathcal{R}_{i} for all t\in[s_{\nu_{i}},t_{2}] . Furthermore, it follows from Fact 2 that \mathbf{x}(t_{2})\in\mathcal{P}(\mathbf{x}_{d},\mathcal{R}_{i}) . This completes the proof of Claim 1 of Lemma 6 . -H 2 Proof of Claim 2 Fix i\in\mathbb{I}\setminus\mathbb{I}_{a} . First, we prove the existence of \kappa_{i}>0 such that for all \kappa>\kappa_{i} , there exists t_{2}>t_{1} such that \mathbf{x}(t_{2})\in\mathcal{M}_{\epsilon}\setminus\mathcal{R}_{i} . Since \left(\mathcal{R}_{i}\setminus\mathcal{Z}_{i}\right)\subset\mathcal{F}_{i} , it follows from Lemma 4 and Remark 5 that if \mathbf{x}(t_{1})\in\mathcal{R}_{i}\setminus\mathcal{Z}_{i} for some t_{1}\geq 0 , then one of the following statements is valid: 1. There exists t_{2}>t_{1} such that \mathbf{x}(t_{2})\in\mathcal{M}_{\epsilon}\setminus\mathcal{R}_{i} and \mathbf{x}(t)\in\mathcal{R}_{i}\setminus\left(\mathcal{Z}_{i}\cup\mathcal{V}_{i}\right) for all t\in[t_{1},t_{2}) . 2. \mathbf{x}(t)\in\mathcal{F}_{i}\setminus(\mathcal{V}_{i}\cup\mathcal{Z}_{i}) for all t\geq t_{1} and \displaystyle\lim_{t\to\infty}d_{s}(\mathbf{x}(t),\mathcal{V}_{i})=0 . Statement 1 directly implies the existence of t_{2}>t_{1} such that \mathbf{x}(t_{2})\in\mathcal{M}_{\epsilon}\setminus\mathcal{R}_{i} . Consider the case where statement 2 is valid. Using arguments similar to the ones used for Case 2 in the proof of Claim 1 of Lemma 6 , one can guarantee the existence of \kappa_{i}>0 such that if \kappa>\kappa_{i} , then \mathbf{x}(t_{2})\in\mathcal{M}_{\epsilon}\setminus\mathcal{R}_{i} for some t_{2}>t_{1} . Next, we show that if \mathbf{x}(t_{2})\in\mathcal{M}_{\epsilon}\setminus\mathcal{R}_{i} for some t_{2}>t_{1} and i\in\mathbb{I}\setminus\mathbb{I}_{a} , then \mathbf{x}(t)\notin\mathcal{R}_{i} for all t\geq t_{2} . For i\in\mathbb{I}\setminus\mathbb{I}_{a} , \mathcal{R}_{i}=\mathcal{S}_{i}(-\mathbf{x}_{d})\setminus\mathcal{U}_{i}^{\circ} , where \mathcal{S}_{i}(-\mathbf{x}_{d}) is obtained from ( 24 ) by replacing \mathbf{x}_{d} with -\mathbf{x}_{d} . Since -\mathbf{x}_{d}\in\mathcal{S}_{i}(-\mathbf{x}_{d}) and \partial\mathcal{S}_{i}(-\mathbf{x}_{d})=\partial\mathcal{R}_{i}\cap\mathcal{M}_{\epsilon} , it follows from ( 24 ) that \mathcal{G}(\mathbf{x},-\mathbf{x}_{d})\subset\mathcal{S}(-\mathbf{x}_{d}) for all \mathbf{x}\in\partial\mathcal{R}_{i}\cap\mathcal{M}_{\epsilon} . Consequently, for every \mathbf{x}\in\mathcal{M}_{\epsilon}\setminus\mathcal{R}_{i} , \mathcal{G}(\mathbf{x},\mathbf{x}_{d})\cap\mathcal{R}_{i}=\emptyset . Moreover, according to ( 18 ), for any \mathbf{x}\in\mathcal{M}_{\epsilon}\setminus\{-\mathbf{x}_{d}\} , the control input becomes \mathbf{u}(\mathbf{x})=k_{1}\mathbf{x}_{d} , and it steers \mathbf{x} along the geodesic \mathcal{G}(\mathbf{x},\mathbf{x}_{d}) towards \mathbf{x}_{d} . Therefore, since \mathcal{G}(\mathbf{x},\mathbf{x}_{d})\cap\mathcal{R}_{i}=\emptyset for all \mathbf{x}\in\mathcal{M}_{\epsilon}\setminus\mathcal{R}_{i} , it follows that if there exists \mathbf{x}(t_{2})\in\mathcal{M}_{\epsilon}\setminus\mathcal{R}_{i} , then \mathbf{x}(t)\notin\mathcal{R}_{i} for all t\geq t_{2} , where i\in\mathbb{I}\setminus\mathbb{I}_{a} . This completes the proof of Claim 2 of Lemma 6 .