betaFeedback

WorksMathematics

Instantaneous control for stabilization of interacting particle systems: convergence rates and dominant frequencies

Abstract

We study a class of Cucker-Smale-type systems with a binary interaction potential subject to an external control input. We apply an instantaneous rolling horizon control (IRHC) feedback to address two different control problems: full set-point stabilization of a spatial configuration with zero velocity and stabilization of the center of mass at a desired position with zero mean velocity using a single external agent. The IRHC feedback has been shown to preserve the port-Hamiltonian structure of the corresponding open-loop systems. We analyze how the control parameters and the time discretization affect convergence rates and oscillation frequencies and compare the IRHC feedback with the corresponding IDA-PBC feedback obtained by omitting an additional correction term. For the reduced center of mass dynamics, we derive explicit predictions for continuous- and discrete-time spectral decay rates and oscillation frequencies and verify these predictions numerically. For the full nonlinear particle system, the controller comparison is done by numerical experiments.

Introduction

Interacting particle systems provide a mathematical formulation to describe how binary interactions shape the collective behavior of a group. We consider second-order mechanical systems with Newtonian equations governing each particle’s position and velocity coordinates. In [1, 2], Cucker and Smale introduced a velocity alignment term, where each particle accelerates according to a weighted sum of its velocity differences from the other particles. Here, we consider an externally controlled Cucker–Smale-type system with an additional binary interaction potential depending on relative positions. The resulting system admits a port-Hamiltonian formulation [3], where the kinetic energy and the interaction potential define the Hamiltonian, whereas velocity alignment acts as a resistive element [4, 5]. A common objective of controlled Cucker–Smale models is velocity alignment with a prescribed common velocity. Different model predictive control approaches have been proposed for this task: In [6], a Riccati feedback from a linearized linear-quadratic optimal control problem (see [7 Chapter 10]) was used, whereas in [8], a feedback is derived from the first-order optimality conditions of a discretized single time step optimization problem. Requiring the control to be sparse has been studied in [9]. Besides velocity alignment, the position of the particles can be included in the control objective. In [10], the relative particle positions are steered to a prescribed value while avoiding interparticle collisions. Instead of assigning relative positions to all particles, the control objective can also include population level quantities. In [11], a small number of external agents is used to steer the center of mass and spatial variance to prescribed values.

In the present work, we study two control tasks: stabilizing the group’s center of mass at a prescribed position with zero mean velocity using a single external agent and stabilizing the full configuration by steering each particle to a prescribed position with zero velocity. For the first task, the center of mass and the mean velocity form a reduced subsystem, which we call the reduced center of mass system. For the second task, we consider the full particle system, where all particles’ positions and velocities are included in the stabilization task.

We address these control tasks using instantaneous rolling horizon control (IRHC), which is an inexact variant of discrete-time model predictive control [12, 13]. After discretizing the equations of motion in time, the cost function is evaluated at the current input and at the state predicted after one time step. Instead of solving the resulting optimization problem exactly, at each time step, IRHC computes a single inexpensive gradient update step of an initial control guess. For Cucker–Smale-type systems, [14] derives the IRHC set-point feedback using a semi-explicit Euler discretization, identifies its continuous-time closed loop as a port-Hamiltonian system, and establishes sufficient conditions for continuous- and discrete-time convergence. However, these convergence results do not quantify the speed of convergence and therefore do not describe how it depends on the time step and the gradient step size. This raises the question of how to choose these parameters to achieve rapid convergence while avoiding oscillations around the target. Due to the port-Hamiltonian structure of the underlying open-loop system, the interconnection and damping assignment passivity-based control (IDA-PBC) [15, 16] method provides a natural comparison framework. In fact, the IRHC feedback itself admits an IDA-PBC interpretation, but contains an additional correction term. To isolate the effect of this term, we compare the IRHC feedback with the IDA-PBC feedback obtained by omitting it, and study how this difference and the parameter choices affect convergence rates and oscillation frequencies. For the reduced center of mass system, we explicitly compute the spectra of the discrete- and continuous-time system matrices to characterize how the correction term and controller parameters affect these properties. For the full nonlinear particle system, we provide numerical experiments to investigate which findings persist beyond the reduced dynamics. These experiments also examine the convergence behavior of both controllers for parameter choices outside the existing sufficient convergence conditions.

This paper is structured as follows. In § 2, we introduce the Cucker–Smale interacting particle systems and the two control tasks. § 3 introduces the IRHC algorithm, the IDA-PBC reference controller and provides the analytical results for the center of mass system. The numerical experiments are presented in § 4.

System class and problem formulation

Consider N∈NN \in\mathbb{N}, N≥2N \ge2 interacting particles in Rd\mathbb{R}^{d}. Each particle is described by its position xi∈Rdx_i \in\mathbb{R}^{d} and velocity vi∈Rdv_i \in\mathbb{R}^{d} for i=1,…,Ni = 1,\ldots,N. The NN-particle state space is given by E×EE \times E, where E:=(Rd)NE := (\mathbb{R}^{d})^{N}. We collect all positions and velocities in x=(x1,…,xN)∈Ex = (x_1,\ldots,x_N) \in E and v=(v1,…,vN)∈Ev = (v_1,\ldots,v_N) \in E. We equip the space EE with the inner product

⟨v,w⟩:=1N∑j=1Nvj⋅wj,v,w∈E,(1)\langle v,w\rangle:= \frac{1}{N}\sum_{j=1}^{N} v_j \cdot w_j,\quad v,w \in E, \tag*{(1)}

where ⋅\cdot denotes the Euclidean inner product on Rd\mathbb{R}^{d}. The Cucker–Smale models considered here satisfy Newtonian equations of the form

x˙=v,\dot{x}=v,
v˙=−Ψ(x)v−∇V(x)+Bu,\dot{v}=-\Psi(x)v-\nabla V(x)+\mathsf{B}u,
x(0)=x0,v(0)=v0,(2)x(0)=x_0,\quad v(0)=v_0, \tag*{(2)}

where V∈C1(E;R)V \in C^{1}(E;\mathbb{R}) and Ψ:E→RNd×Nd=L(E)\Psi:E \to\mathbb{R}^{Nd\times Nd}=\mathcal{L}(E). Additionally, Ψ(x)\Psi(x) is self-adjoint and positive semidefinite for all x∈Ex \in E. We use the convention that ∇V\nabla V in (2b) and norms of elements in EE are computed with respect to the inner product (1). The control space UU is a finite-dimensional Hilbert space and B:U→E\mathbb{B}: U \to E is linear. We note that every system of the form (2) admits a port-Hamiltonian formulation. More precisely, (2) can be written as

\begin{pmatrix}\dot{x}\\ \dot{v}\end{pmatrix} = \left( \begin{pmatrix}0&I\\-I&0\end{pmatrix} - \begin{pmatrix}0&0\\0&\Psi(x)\end{pmatrix} \right)\nabla H(x,v) + \begin{pmatrix}0\\\mathbb{B}\end{pmatrix}u, \tag*{(3)}\end{pmatrix}

where

H(x,v)=12∥v∥2+V(x).H(x,v)=\frac{1}{2}\lVert v\rVert^2+\mathcal{V}(x).

Subsequently, we introduce the Cucker–Smale realizations of (2) we study in the present work.

Model 2.1 (Fully actuated Cucker–Smale model). The equations of motion for the Cucker–Smale dynamics read

x˙i=vi,(4)\dot{x}_i=v_i, \tag*{(4)}
v˙i=1N∑j=1Nψ(∣xj−xi∣)(vj−vi)−1N∑j=1N∇V(xi−xj)+(Bu)i,(5)\dot{v}_i=\frac{1}{N}\sum_{j=1}^{N}\psi(\lvert x_j-x_i\rvert)(v_j-v_i)-\frac{1}{N}\sum_{j=1}^{N}\nabla\mathcal{V}(x_i-x_j)+(\mathbb{B}u)_i, \tag*{(5)}
xi(0)=x0,i,vi(0)=v0,i,i=1,…,N.(6)x_i(0)=x_{0,i},\quad v_i(0)=v_{0,i},\quad i=1,\ldots,N. \tag*{(6)}

The first term on the right hand side of (5) is the Cucker–Smale velocity alignment term. The function ψ∈C(R+;R+)\psi\in C(\mathbb{R}_{+};\mathbb{R}_{+}) describes the alignment strength, whereas V∈C1(Rd;R)\mathcal{V}\in C^{1}(\mathbb{R}^{d};\mathbb{R}) denotes the binary interaction potential. We assume that ∇V(−z)=−∇V(z)\nabla\mathcal{V}(-z)=-\nabla\mathcal{V}(z), z∈Rdz\in\mathbb{R}^{d}, so that the binary interaction forces satisfy Newton’s third law. Let the system (4) be fully actuated, that is, the control space is given by U:=EU:=E and the control operator B∈RNd×Nd\mathbb{B}\in\mathbb{R}^{Nd\times Nd} is surjective. Thus, ran⁡(B)=E\operatorname{ran}(\mathbb{B})=E and the control can independently accelerate each particle. To cast the system (4) into the form (2), for x∈Ex\in E, we define V(x)∈R\mathcal{V}(x)\in\mathbb{R} and Ψ(x)∈RNd×Nd\Psi(x)\in\mathbb{R}^{Nd\times Nd} by

V(x)=12N2∑j,k=1NV(xj−xk),\mathcal{V}(x)=\frac{1}{2N^{2}}\sum_{j,k=1}^{N}\mathcal{V}(x_j-x_k),
(Ψ(x)v)i=1N∑j=1Nψ(∣xj−xi∣)(vi−vj).(7)(\Psi(x)v)_i=\frac{1}{N}\sum_{j=1}^{N}\psi(\lvert x_j-x_i\rvert)(v_i-v_j). \tag*{(7)}

The operator Ψ(x)\Psi(x) is self-adjoint and positive semidefinite with respect to the inner product (1).

Model 2.2 (Cucker–Smale model with an external agent). Consider a Cucker–Smale model with ψ\psi, V\mathcal{V} as in Model 2.1. Moreover, we consider an external agent who interacts linearly with each particle. Let the position of the external agent be given by u(t)∈Rd=:Uu(t)\in\mathbb{R}^{d}=:U, where UU is equipped with the Euclidean inner product. Assume that the acceleration of the iith particle towards the position of the agent is given by B0(u−xi)B_{0}(u-x_i), where B0∈Rd×dB_{0}\in\mathbb{R}^{d\times d} is symmetric positive definite. Then the equations of motion read

x˙i=vi,(8)\dot{x}_i=v_i, \tag*{(8)}
v˙i=1N∑j=1Nψ(∣xj−xi∣)(vj−vi)−1N∑j=1N∇V(xi−xj)+B0(u−xi),(9)\dot{v}_i=\frac{1}{N}\sum_{j=1}^{N}\psi(\lvert x_j-x_i\rvert)(v_j-v_i)-\frac{1}{N}\sum_{j=1}^{N}\nabla\mathcal{V}(x_i-x_j)+B_{0}(u-x_i), \tag*{(9)}
xi(0)=x0,i,vi(0)=v0,i,i=1,…,N.(10)x_i(0)=x_{0,i},\quad v_i(0)=v_{0,i},\quad i=1,\ldots,N. \tag*{(10)}

The system (6) can be cast into the form (2), where Ψ\Psi is given by (7) and B\mathbb{B} is defined as

(Bu)j=B0u,u∈Rd.(11)(\mathbb{B}u)_j=B_{0}u,\quad u\in\mathbb{R}^{d}. \tag*{(11)}

Since B0B_{0} is invertible, the range of B\mathbb{B} is given by ran⁡(B)={(y,…,y)∣y∈Rd}\operatorname{ran}(\mathbb{B})=\{(y,\ldots,y)\mid y\in\mathbb{R}^{d}\}. In particular, ran⁡(B)\operatorname{ran}(\mathbb{B}) is a dd-dimensional proper subspace of EE and the input contributes the same acceleration to every particle. The term −B0xi-B_{0}x_i in (9) induces an additional quadratic confinement term in V\mathcal{V}, namely

V(x)=12N2∑j,k=1NV(xj−xk)+12N∑j=1Nxj⋅B0xj.(12)\mathcal{V}(x)=\frac{1}{2N^{2}}\sum_{j,k=1}^{N}\mathcal{V}(x_j-x_k)+\frac{1}{2N}\sum_{j=1}^{N}x_j\cdot B_{0}x_j. \tag*{(12)}

The different ranges of the control operator B\mathbb{B} motivate us to consider different control objectives. To maintain a desired stationary state (xdes,0)∈E×E(x_{\mathrm{des}},0)\in E\times E, the control must balance the potential forces at xdesx_{\mathrm{des}}, that is ∇V(xdes)=Bu\nabla\mathcal{V}(x_{\mathrm{des}})=\mathbb{B}u for some u∈Uu\in U. For Model 2.1, this condition is automatically satisfied for all xdes∈Ex_{\mathrm{des}}\in E due to the

surjectivity of B\mathbb{B}. For Model 2.2, the input forces (Bu)i(\mathbb{B}u)_i are identical for all i=1,…,Ni=1,\ldots,N. We will show in Lemma 2.5 that input operators of this form control the center of mass without changing the relative dynamics. This motivates us to consider full set-point stabilization for Model 2.1 and center of mass stabilization for Model 2.2.

Control task 2.3 (Full set-point stabilization). Given an admissible desired configuration xdes∈Ex_{\mathrm{des}}\in E, that is ∇V(xdes)∈ran⁡(B)\nabla V(x_{\mathrm{des}})\in\operatorname{ran}(\mathbb{B}), find u:[0,∞)→Uu:[0,\infty)\to U such that

x(t)→xdes,v(t)→0 as t→∞.x(t)\to x_{\mathrm{des}},\quad v(t)\to0\text{ as }t\to\infty.

Proposition 2.4. For x∈Ex\in E and y∈Rdy\in\mathbb{R}^{d}, denote by xˉ\bar{x} the mean of xx and by y1y\mathbf{1}, the constant vector with value yy, that is

xˉ:=1N∑j=1Nxj,y1:=(y,…,y).\bar{x}:=\frac{1}{N}\sum_{j=1}^{N}x_j,\quad y\mathbf{1}:=(y,\ldots,y).

Then the Hilbert space EE splits orthogonally as

E=Ec⊕Em,(13)E=E_c\oplus E_m, \tag*{(13)}
Ec:={y1∣y∈Rd},Em:={x∈E∣xˉ=0},E_c:=\{y\mathbf{1}\mid y\in\mathbb{R}^{d}\},\quad E_m:=\{x\in E\mid\bar{x}=0\},

and the corresponding orthogonal projections onto EcE_c and EmE_m are given by

Pcx=xˉ1,Pmx=x−xˉ1.P_cx=\bar{x}\mathbf{1},\quad P_mx=x-\bar{x}\mathbf{1}.

The decomposition (13) follows by writing x=xˉ1+(x−xˉ1)x=\bar{x}\mathbf{1}+(x-\bar{x}\mathbf{1}). The second term has zero mean and therefore is orthogonal to any constant vector. Using the decomposition (13), we can decouple the external agent dynamics (6) as follows:

Lemma 2.5. Consider Model 2.2 and let x,vx,v solve (2). Let

r:=Pmx=x−xˉ1,w:=Pmv=v−vˉ1.r:=P_mx=x-\bar{x}\mathbf{1},\quad w:=P_mv=v-\bar{v}\mathbf{1}.

Then xˉ,vˉ\bar{x},\bar{v} follow the controlled harmonic oscillator dynamics

xˉ˙=vˉ,(14)\dot{\bar{x}}=\bar{v}, \tag*{(14)}
vˉ˙=−B0xˉ+B0u,(15)\dot{\bar{v}}=-B_0\bar{x}+B_0u, \tag*{(15)}

whereas r,wr,w follow the autonomous dynamics

r˙=w,(16)\dot{r}=w, \tag*{(16)}
w˙=−Ψ(r)w−∇V(r),(17)\dot{w}=-\Psi(r)w-\nabla V(r), \tag*{(17)}
r(0)=x0−xˉ01,w(0)=v0−vˉ01.(18)r(0)=x_0-\bar{x}_0\mathbf{1},\quad w(0)=v_0-\bar{v}_0\mathbf{1}. \tag*{(18)}

For Model 2.2, the decoupling into (10) and (11) follows from the fact that the alignment and binary interaction forces have zero mean.

Control task 2.6 (Center of mass stabilization). Given xˉdes∈Rd\bar{x}_{\mathrm{des}}\in\mathbb{R}^{d}, find u:[0,∞)→Uu:[0,\infty)\to U such that

xˉ(t)→xˉdes,vˉ(t)→0 as t→∞.\bar{x}(t)\to\bar{x}_{\mathrm{des}},\quad\bar{v}(t)\to0\text{ as }t\to\infty.

We note that (xˉdes,0)∈Rd×Rd(\bar{x}_{\mathrm{des}},0)\in\mathbb{R}^{d}\times\mathbb{R}^{d} is always an admissible equilibrium for the center of mass dynamics (10) since choosing u=xˉdesu=\bar{x}_{\mathrm{des}} makes the right hand side of (10) vanish at (xˉ,vˉ)=(xˉdes,0)(\bar{x},\bar{v})=(\bar{x}_{\mathrm{des}},0).

IRHC, IDA-PBC comparison and their stability properties

Description of the algorithm

Both control tasks 2.3 and 2.6 can be addressed using the IRHC approach, which we introduce here. Starting from the current state, we predict the system over a single time step by choosing a numerical integration method. For a given control input, we then evaluate a quadratic cost function at the predicted state. Instead of minimizing the cost exactly, we perform a single gradient update of the control. The next state of the system is then computed using the updated control and the procedure is repeated. In the following, we apply the IRHC approach to the Cucker–Smale model. For a time-step Δt>0\Delta t>0, we discretize (2) using the semi-explicit Euler scheme

xl+1=xl+Δtvl+1,(19)x^{l+1}=x^l+\Delta t v^{l+1}, \tag*{(19)}
vl+1=vl−Δt(Ψ(xl)vl+∇V(xl))+ΔtBul,(20)v^{l+1}=v^l-\Delta t\bigl(\Psi(x^l)v^l+\nabla V(x^l)\bigr)+\Delta t\mathbb{B}u^l, \tag*{(20)}
x0=x0,v0=v0.(21)x^0=x_0,\quad v^0=v_0. \tag*{(21)}

Fix c>0c>0. Given an iteration l∈N0l\in\mathbb{N}_0 with current state (xl,vl)(x^l,v^l), consider the minimization problem

min⁡ul∈UJ(x,v,ul):=ΔtHdes(x,v)(22)\min_{u^l\in U}J(x,v,u^l):=\Delta t H_{\mathrm{des}}(x,v) \tag*{(22)}

subject to x=xl+1x=x^{l+1}, v=vl+1v=v^{l+1} as in (19), (20), where the desired Hamiltonian is given by

Hdes(x,v)=12∥v∥2+c2∥x−xdes∥2.(23)H_{\mathrm{des}}(x,v)=\frac{1}{2}\lVert v\rVert^2+\frac{c}{2}\lVert x-x_{\mathrm{des}}\rVert^2. \tag*{(23)}

Since xl+1x^{l+1} and vl+1v^{l+1} are uniquely determined by ulu^l, we can define the reduced cost function flf^l by fl(ul):=J(xl+1,vl+1,ul)f^l(u^l):=J(x^{l+1},v^{l+1},u^l), where (xl+1,vl+1)(x^{l+1},v^{l+1}) denote the states obtained from (19) and (20) for the control ulu^l. Then a single gradient update of an initial control u0l∈Uu_0^l\in U with step-size ρ>0\rho>0 yields the control update

ul=u0l−ρ∇fl(u0l).(24)u^l=u_0^l-\rho\nabla f^l(u_0^l). \tag*{(24)}

For the center of mass stabilization problem 2.6, we identify x‾des∈Rd\overline{x}_{\mathrm{des}}\in\mathbb{R}^d with the constant vector xdes=x‾des1x_{\mathrm{des}}=\overline{x}_{\mathrm{des}}\mathbf{1}. Then due to the orthogonal decomposition E=Ec+EmE=E_c+E_m, we have for the predicted states xl+1,vl+1∈Ex^{l+1},v^{l+1}\in E

∥xl+1−xdes∥2=∥x‾l+1−x‾des∥2+∥Pmxl+1∥2,\lVert x^{l+1}-x_{\mathrm{des}}\rVert^2=\lVert\overline{x}^{l+1}-\overline{x}_{\mathrm{des}}\rVert^2+\lVert P_mx^{l+1}\rVert^2,
∥vl+1∥2=∥v‾l+1∥2+∥Pmvl+1∥2.\lVert v^{l+1}\rVert^2=\lVert\overline{v}^{l+1}\rVert^2+\lVert P_mv^{l+1}\rVert^2.

According to Lemma 2.5, the centered position and velocity Pmxl+1,Pmvl+1P_mx^{l+1},P_mv^{l+1} are independent of the control. Therefore, they do not affect the gradient of the reduced cost with respect to uu and the controller obtained from the full dynamics and HdesH_{\mathrm{des}} is the same as the one obtained by applying the IRHC method to the center of mass dynamics (10). In the present work, we always use a constant initial control u0l=α^u_0^l=\widehat{\alpha}, where α^\widehat{\alpha} makes the desired configuration an equilibrium, that is Bα^=∇V(xdes)B\widehat{\alpha}=\nabla V(x_{\mathrm{des}}).

It was shown in [14] that the IRHC algorithm as described above preserves the port-Hamiltonian structure (3) of the open-loop system (2). In the following, we summarize the main results:

Lemma 3.1. [14 Lemma 4.2] Let c1,c2≥0c_1,c_2\geq0 and consider the system (2) with the feedback

α(x,v)=−c1B∗v+c2B∗(Ψ(x)v+∇V(x))−F(x),(25)\alpha(x,v)=-c_1B^*v+c_2B^*(\Psi(x)v+\nabla V(x))-F(x), \tag*{(25)}

where F:E→UF:E\to U. Suppose that c2∥BB∗∥<1c_2\lVert BB^*\rVert<1 and that there exists V^∈C1(E;R)\widehat{V}\in C^1(E;\mathbb{R}) such that BF(x)=T∇V^(x)BF(x)=T\nabla\widehat{V}(x), x∈Ex\in E, where T:=I−c2BB∗T:=I-c_2BB^*.

Then the closed-loop system with feedback (25) has the port-Hamiltonian formulation

\begin{pmatrix}\dot{x}\\\dot{v}\end{pmatrix} = \left( \begin{pmatrix}0&T\\-T&0\end{pmatrix} - \begin{pmatrix}0&0\\0&R(x)\end{pmatrix} \right)\nabla H_{\mathrm{cl}}(x,v), \tag*{(26)}\end{pmatrix}
x(0)=x0,v(0)=v0,(27)x(0)=x_0,\quad v(0)=v_0, \tag*{(27)}

where

R(x)=TΨ(x)T+c1T12BB∗T12,(28)R(x)=T\Psi(x)T+c_1T^{\frac{1}{2}}BB^*T^{\frac{1}{2}}, \tag*{(28)}
Hcl(x,v)=12⟨v,T−1v⟩+V(x)+V^(x).H_{\mathrm{cl}}(x,v)=\frac{1}{2}\langle v,T^{-1}v\rangle+V(x)+\widehat{V}(x).

Theorem 3.2. (Port-Hamiltonian formulation [14 Corollary 4.6]). We consider the instantaneous control algorithm with cost function (22), semi-explicit Euler scheme (12) with step-size Δt>0\Delta t>0 and gradient step-size ρ>0\rho>0. Define

c1:=ρ(Δt)2(1+c(Δt)2),c2:=ρ(Δt)3(1+c(Δt)2),c3:=cρ(Δt)3.(29)c_1:=\rho(\Delta t)^2(1+c(\Delta t)^2),\qquad c_2:=\rho(\Delta t)^3(1+c(\Delta t)^2),\qquad c_3:=c\rho(\Delta t)^3. \tag*{(29)}

Suppose that there exists α^∈U\widehat{\alpha}\in U such that Bα^=∇V(xdes)B\widehat{\alpha}=\nabla V(x_{\mathrm{des}}) and choose u0l=α^u_0^l=\widehat{\alpha}. Then the IRHC method computes the control

ul=−c1B∗vl+c2B∗(Ψ(xl)vl+∇V(xl))−c3B∗(xl−xdes)−c2B∗∇V(xdes)+α^.(30)u^l=-c_1B^*v^l+c_2B^*(\Psi(x^l)v^l+\nabla V(x^l)) -c_3B^*(x^l-x_{\mathrm{des}})-c_2B^*\nabla V(x_{\mathrm{des}})+\widehat{\alpha}. \tag*{(30)}

In particular, if c2∥B∗B∥<1c_2\lVert B^*B\rVert<1, then the IRHC algorithm computes the semi-explicit Euler iterates with step-size Δt\Delta t of the system (17) with

V^(x)=c32∥B∗T−12(x−xdes)∥2−⟨∇V(xdes),x−xdes⟩.(31)\widehat{V}(x)=\frac{c_3}{2}\lVert B^*T^{-\frac{1}{2}}(x-x_{\mathrm{des}})\rVert^2-\langle\nabla V(x_{\mathrm{des}}),x-x_{\mathrm{des}}\rangle. \tag*{(31)}

Controller comparison and convergence baseline

In the previous subsection, we have seen that the IRHC method computes the control (30), whereas Lemma 3.1 provides a sufficient condition to ensure that a feedback of the form (25) yields a port-Hamiltonian closed-loop system. In particular, we note that Lemma 3.1 does not require c2>0c_2>0. Thus for c2=0c_2=0 and

F0(x):=c3B∗(x−xdes)−α^,F_0(x):=c_3B^*(x-x_{\mathrm{des}})-\widehat{\alpha},

we have T=IT=I and

BF0(x)=∇V0(x),where\mathbb{B}F_0(x)=\nabla V_0(x),\quad\text{where}
V0(x)=c32∥B∗(x−xdes)∥2−⟨∇V(xdes),x−xdes⟩.V_0(x)=\frac{c_3}{2}\left\|\mathbb{B}^{*}(x-x_{\mathrm{des}})\right\|^2-\langle\nabla V(x_{\mathrm{des}}),x-x_{\mathrm{des}}\rangle.

Therefore, Lemma 3.1 establishes that

uPBC=−c1B∗v−c3B∗(x−xdes)+α^(32)u_{\mathrm{PBC}}=-c_1\mathbb{B}^{*}v-c_3\mathbb{B}^{*}(x-x_{\mathrm{des}})+\hat{\alpha} \tag*{(32)}

is an IDA-PBC feedback. In contrast, the IRHC controller (30) computes a similar feedback which contains the additional c2c_2 term. To investigate the effect of this term, it is natural to keep the constants c1c_1 and c3c_3 as in (29) while comparing the controls (30) and (32). In addition, although Theorem 3.2 establishes a port-Hamiltonian closed-loop structure, we have not yet discussed the question of how to choose the parameters Δt\Delta t, ρ\rho and cc. In order to simplify the notation, when c1,c2,c3c_1,c_2,c_3 are given by (29), we define η:=c2∥BB∗∥\eta:=c_2\lVert\mathbb{B}\mathbb{B}^{*}\rVert. Then we have

c1=1Δt∥BB∗∥η,c2=1∥BB∗∥η,c_1=\frac{1}{\Delta t\lVert\mathbb{B}\mathbb{B}^{*}\rVert}\eta,\quad c_2=\frac{1}{\lVert\mathbb{B}\mathbb{B}^{*}\rVert}\eta,
c3=c(1+c(Δt)2)∥BB∗∥η(33)c_3=\frac{c}{(1+c(\Delta t)^2)\lVert\mathbb{B}\mathbb{B}^{*}\rVert}\eta \tag*{(33)}

and the condition c2∥BB∗∥<1c_2\lVert\mathbb{B}\mathbb{B}^{*}\rVert<1 becomes η<1\eta<1. In the following, we will distinguish between different feedback laws and, given a fixed feedback law, different time evolutions. For fixed parameters c1,c2,c3c_1,c_2,c_3, we refer to the port-Hamiltonian ordinary differential equation (17) with the corresponding fixed coefficients c1,c2,c3c_1,c_2,c_3 as the continuous-time closed loop. Similarly, we call its semi-explicit Euler discretization with step-size Δt>0\Delta t>0 the discrete-time closed loop. Fix 0≤η<10\leq\eta<1, Δt,c>0\Delta t,c>0 and consider the feedback controller (25) with

F(x)=c3B∗(x−xdes)+c2B∗∇V(xdes)−α^.F(x)=c_3\mathbb{B}^{*}(x-x_{\mathrm{des}})+c_2\mathbb{B}^{*}\nabla V(x_{\mathrm{des}})-\hat{\alpha}.

If the parameters c1,c2,c3c_1,c_2,c_3 are given by (33), we call the corresponding feedback law the IRHC controller. If c1,c3c_1,c_3 are given by (33) and c2=0c_2=0, we call the corresponding feedback law the IDA-PBC controller. In particular, the iterates of the IRHC algorithm coincide with the iterates of the discrete-time closed loop system using the IRHC controller. Thus, in continuous-time, Δt\Delta t enters only through the controller parameters (33), whereas in discrete-time, the same Δt\Delta t is additionally used as the time step of the semi-explicit Euler scheme. A first baseline for the parameter choice is provided by the following theorem:

Theorem 3.3 (Analytical convergence baseline for the IRHC controller [14 Proposition 3.3, Theorem 5.12 and Corollary 5.15]). Consider the full set-point stabilization problem 2.3 for Model 2.1, assume that B\mathbb{B} is surjective, and that ∇V:Rd→Rd\nabla V:\mathbb{R}^{d}\to\mathbb{R}^{d} is Lipschitz continuous with Lipschitz constant LL. Let ψ∈C(R+,R+)\psi\in C(\mathbb{R}_{+},\mathbb{R}_{+}) be bounded and assume that ψ(x)≥ψ‾\psi(x)\geq\underline{\psi} for some ψ‾>0\underline{\psi}>0. Then there exists σ>0\sigma>0 such that

∥B∗x∥≥σ∥x∥for all x∈E.\lVert\mathbb{B}^{*}x\rVert\geq\sigma\lVert x\rVert\quad\text{for all }x\in E.

Define K:=4L/σ2K:=4L/\sigma^2. We parametrize c1,c2,c3c_1,c_2,c_3 by η\eta, cc and Δt\Delta t as in (33), where η:=c2∥BB∗∥\eta:=c_2\lVert\mathbb{B}\mathbb{B}^{*}\rVert.

(i) Continuous time convergence: If

K((Δt)2+1c)∥BB∗∥<η<1,(34)K\left((\Delta t)^2+\frac{1}{c}\right)\lVert\mathbb{B}\mathbb{B}^{*}\rVert<\eta<1, \tag*{(34)}
0<Δt<1K∥BB∗∥,c>K∥BB∗∥1−K∥BB∗∥(Δt)2,(35)0<\Delta t<\frac{1}{\sqrt{K\lVert\mathbb{B}\mathbb{B}^{*}\rVert}},\quad c>\frac{K\lVert\mathbb{B}\mathbb{B}^{*}\rVert}{1-K\lVert\mathbb{B}\mathbb{B}^{*}\rVert(\Delta t)^2}, \tag*{(35)}

then for any x0,v0∈Ex_0,v_0\in E, the continuous-time closed loop solution satisfies x(t)→xdesx(t)\to x_{\mathrm{des}} and v(t)→0v(t)\to0 as t→∞t\to\infty.

(ii) Discrete time convergence: If 0<η≤1/660<\eta\leq1/66 and

c>K∥BB∗∥η,(36)c>\frac{K\lVert\mathbb{B}\mathbb{B}^{*}\rVert}{\eta}, \tag*{(36)}

then there exists h>0h>0 such that for any initial condition x0,v0∈Ex_0,v_0\in E and any step-size 0<Δt≤h0<\Delta t\leq h, the iterates of the IRHC algorithm satisfy xl→xdesx^l\to x_{\mathrm{des}} and vl→0v^l\to0 as l→∞l\to\infty.

The proof of Theorem 3.3 is technical. The main tool for the discrete-time convergence is an energy balance for a modified Hamiltonian. Here, choosing η≤1/66\eta\leq1/66 in combination with the conditions stated in Theorem 3.3(i) is sufficient for this energy balance to be satisfied. We will explore the effect of the parameters in more detail in § 3.3 and § 4.

Parameter implications of the center of mass dynamics

Since the equations of motion for the center of mass (10) are linear, finite dimensional and independent of the number of particles, stability, decay rates and oscillation frequencies of the closed-loop system can be computed explicitly as the following lemma shows:

Lemma 3.4. For the external agent Model 2.2, consider the closed-loop system (17), where V^\widehat{V} is given by (31). Then the shifted center of mass coordinates x‾−x‾des,v‾\overline{x}-\overline{x}_{des},\overline{v} satisfy

ddt(x‾−x‾desv‾)=Act(x‾−x‾desv‾),(37)\frac{\mathrm{d}}{\mathrm{d}t}\begin{pmatrix}\overline{x}-\overline{x}_{des}\\\overline{v}\end{pmatrix}=A_{ct}\begin{pmatrix}\overline{x}-\overline{x}_{des}\\\overline{v}\end{pmatrix}, \tag*{(37)}

where

Act:=(0I−(B0+c3B02−c2B03)−c1B02).A_{ct}:=\begin{pmatrix}0&I\\-(B_{0}+c_{3}B_{0}^{2}-c_{2}B_{0}^{3})&-c_{1}B_{0}^{2}\end{pmatrix}.

Moreover, the corresponding semi-explicit Euler discretization reads

\begin{pmatrix}\overline{x}^{l+1}-\overline{x}_{des}\\\overline{v}^{l+1}\end{pmatrix}=A_{dt}\begin{pmatrix}\overline{x}^{l}-\overline{x}_{des}\\\overline{v}^{l}\end{pmatrix}, \tag*{(38)}\end{pmatrix}
Adt:=I+Δt(IΔtI0I)Act.A_{dt}:=I+\Delta t\begin{pmatrix}I&\Delta t I\\0&I\end{pmatrix}A_{ct}.

For λ∈σ(B0)\lambda\in\sigma(B_{0}), we define the 2×22\times2 matrices

Act(λ):=(01−(λ+c3λ2−c2λ3)−c1λ2),(39)A_{ct}(\lambda):=\begin{pmatrix}0&1\\-(\lambda+c_{3}\lambda^{2}-c_{2}\lambda^{3})&-c_{1}\lambda^{2}\end{pmatrix}, \tag*{(39)}
Adt(λ):=I+Δt(1Δt01)Act(λ).A_{dt}(\lambda):=I+\Delta t\begin{pmatrix}1&\Delta t\\0&1\end{pmatrix}A_{ct}(\lambda).

Then their eigenvalues are given by

μct,±(λ)=tr⁡(Act(λ))2±(tr⁡(Act(λ))2)2−det⁡(Act(λ))=−c1λ22±(c1λ22)2−(λ+c3λ2−c2λ3),(40)\begin{aligned} \mu_{ct,\pm}(\lambda) &=\frac{\operatorname{tr}(A_{ct}(\lambda))}{2}\pm\sqrt{\left(\frac{\operatorname{tr}(A_{ct}(\lambda))}{2}\right)^{2}-\det(A_{ct}(\lambda))}\\ &=-\frac{c_{1}\lambda^{2}}{2}\pm\sqrt{\left(\frac{c_{1}\lambda^{2}}{2}\right)^{2}-(\lambda+c_{3}\lambda^{2}-c_{2}\lambda^{3})}, \tag*{(40)} \end{aligned}
μdt,±(λ)=tr⁡(Adt(λ))2±(tr⁡(Adt(λ))2)2−det⁡(Adt(λ)),(41)\mu_{dt,\pm}(\lambda)=\frac{\operatorname{tr}(A_{dt}(\lambda))}{2}\pm\sqrt{\left(\frac{\operatorname{tr}(A_{dt}(\lambda))}{2}\right)^{2}-\det(A_{dt}(\lambda))}, \tag*{(41)}
tr⁡(Adt(λ))=2−c1Δtλ2−(Δt)2(λ+c3λ2−c2λ3),(42)\operatorname{tr}(A_{dt}(\lambda))=2-c_{1}\Delta t\lambda^{2}-(\Delta t)^{2}(\lambda+c_{3}\lambda^{2}-c_{2}\lambda^{3}), \tag*{(42)}
det⁡(Adt(λ))=1−c1Δtλ2.\det(A_{dt}(\lambda))=1-c_{1}\Delta t\lambda^{2}.

Then the spectra of ActA_{ct} and AdtA_{dt} are given by

σ(Act)={μct,±(λ)∣λ∈σ(B0)},\sigma(A_{ct})=\{\mu_{ct,\pm}(\lambda)\mid\lambda\in\sigma(B_{0})\},
σ(Adt)={μdt,±(λ)∣λ∈σ(B0)}.(43)\sigma(A_{dt})=\{\mu_{dt,\pm}(\lambda)\mid\lambda\in\sigma(B_{0})\}. \tag*{(43)}

Proof. The continuous- and discrete-time equations of motion for the reduced center of mass dynamics (37) and (38) follow by taking the mean in (17) and its semi-explicit Euler discretization and by substituting the expressions (11) and (12) for B\mathbb{B} and V\mathbb{V}.

If q∈Rd∖{0}q\in\mathbb{R}^{d}\setminus\{0\} is an eigenvector of B0B_{0} with eigenvalue λ\lambda, then the two-dimensional subspace

Vq:=span⁡{(q0),(0q)}⊆Rd×RdV_{q}:=\operatorname{span}\left\{\begin{pmatrix}q\\0\end{pmatrix},\begin{pmatrix}0\\q\end{pmatrix}\right\}\subseteq\mathbb{R}^{d}\times\mathbb{R}^{d}

is invariant under ActA_{ct} and its restriction to VqV_{q} with respect to the basis (q,0),(0,q)(q,0),(0,q) has the representation Act(λ)A_{ct}(\lambda). A short computation shows that the spectrum of the 2×22\times2 matrix (39) is given by μct,±(λ)\mu_{ct,\pm}(\lambda). Since B0B_{0} is symmetric, its eigenspaces span all of Rd\mathbb{R}^{d} and therefore taking the union over all λ∈σ(B0)\lambda\in\sigma(B_{0}) yields the spectrum of ActA_{ct}. The subspace VqV_{q} is also invariant under AdtA_{dt} and thus a similar argument yields (43). □\square

Definition 3.5. For a square matrix AA, we denote its spectral abscissa by s(A)s(A) and its spectral radius by r(A)r(A). For the discrete-time definitions, we will subsequently always assume that r(A)>0r(A)>0 and Δt>0\Delta t>0. We define the continuous- and discrete-time dominant angular frequencies of AA by

ωct(A):=max⁡λ∈σ(A)Re⁡(λ)=s(A)∣Im⁡(λ)∣,\omega_{ct}(A):=\max_{\substack{\lambda\in\sigma(A)\\\operatorname{Re}(\lambda)=s(A)}}|\operatorname{Im}(\lambda)|,
ωdt(A,Δt)=1Δtmax⁡λ∈σ(A)∣λ∣=r(A)∣arg⁡(λ)∣,\omega_{dt}(A,\Delta t)=\frac{1}{\Delta t}\max_{\substack{\lambda\in\sigma(A)\\|\lambda|=r(A)}}|\arg(\lambda)|,

where arg⁡(z)∈(−π,π]\arg(z)\in(-\pi,\pi] denotes the principal argument of a complex number zz. Therefore, ωct\omega_{ct} is the largest angular frequency associated to an eigenvalue of AA with maximal real part. Similarly, ωdt\omega_{dt} is the largest angular frequency corresponding to an eigenvalue with maximal modulus and a time step Δt>0\Delta t>0. Analogously, we call αct(A):=−s(A)\alpha_{ct}(A):=-s(A) the continuous-time spectral decay rate. Its discrete-time spectral decay rate is given by αdt(A,Δt)=−ln⁡(r(A))/Δt\alpha_{dt}(A,\Delta t)=-\ln(r(A))/\Delta t.

Due to Lemma 3.4, the effect of the c2c_2-term and of the time discretization on the spectral decay rate and the dominant angular frequency can be characterized explicitly. We start by introducing the distinction between over- and underdamped modes.

Definition 3.6. Let λ∈σ(B0)\lambda\in\sigma(B_0). We call the corresponding continuous-time mode overdamped if μct,+(λ)\mu_{\mathrm{ct},+}(\lambda) and μct,−(λ)\mu_{\mathrm{ct},-}(\lambda) are real and distinct. If they form a non-real complex conjugate pair, we call the mode underdamped. By replacing μct,±(λ)\mu_{\mathrm{ct},\pm}(\lambda) by μdt,±(λ)\mu_{\mathrm{dt},\pm}(\lambda), we analogously define discrete-time over- and underdamped modes.

The following lemma compares the spectral decay rates of the discrete- and continuous-time systems.

Lemma 3.7. Let λ∈σ(B0)\lambda\in\sigma(B_0) and Δt>0,0<η<1\Delta t > 0, 0 < \eta< 1 and c>0c > 0. Consider either the IRHC or the IDA-PBC controller.

(i) If the discrete-time mode is underdamped, then the continuous-time mode is also underdamped. Similarly, if the continuous-time mode is overdamped, then the discrete-time mode is overdamped.

(ii) If the discrete-time mode is underdamped, then

αdt(Adt(λ),Δt)>αct(Act(λ)).\alpha_{\mathrm{dt}}(A_{\mathrm{dt}}(\lambda),\Delta t) > \alpha_{\mathrm{ct}}(A_{\mathrm{ct}}(\lambda)).

(iii) If the continuous-time mode is overdamped, then

αdt(Adt(λ),Δt)<αct(Act(λ)).\alpha_{\mathrm{dt}}(A_{\mathrm{dt}}(\lambda),\Delta t) < \alpha_{\mathrm{ct}}(A_{\mathrm{ct}}(\lambda)).

In summary, Lemma 3.7 shows that the time discretization increases the spectral decay rate for discrete-time underdamped modes. For continuous-time overdamped modes, the situation is reversed. The proof of Lemma 3.7 can be found in the Appendix. Next, we consider the effect of the parameter c2c_2 to compare the IRHC and the IDA-PBC controller. For an underdamped continuous-time mode, (40) implies that αct(Act(λ))=c1λ2/2\alpha_{\mathrm{ct}}(A_{\mathrm{ct}}(\lambda)) = c_1\lambda^2/2, which is independent of c2c_2. Consequently, the IRHC and IDA-PBC controllers achieve the same spectral decay rate as long as the corresponding modes are underdamped for both controllers. However, their angular frequencies differ. Increasing the value of c2c_2 decreases the modulus of the argument of the square root in (40) and therefore reduces the oscillation frequency. For an overdamped continuous-time mode, the dominant eigenvalue is μct,+\mu_{\mathrm{ct},+}. This eigenvalue increases with c2c_2 and therefore the spectral decay rate decreases. Hence, overdamped modes converge faster for the IDA-PBC controller than for the IRHC controller. In order to illustrate the effect of the c2c_2-term and the time discretization, we provide two figures. Fix B0=IB_0 = I and c=1c = 1.

Discrete and continuous time dominant angular frequencies as a function of eta for the IRHC and IDA-PBC controllers

Figure 1a. Discrete and continuous time dominant angular frequencies as a function of η\eta for the IRHC and IDA-PBC controllers.

Discrete and continuous time spectral decay rates as a function of eta for the IRHC and IDA-PBC controllers

Figure 1b. Discrete and continuous time spectral decay rates as a function of η\eta for the IRHC and IDA-PBC controllers.

fig:1: The parameters are B0=IB_0 = I, Δt=0.25\Delta t = 0.25 and c=1c = 1. The dashed vertical lines mark the parameter η=1/66\eta= 1/66 as in Theorem 3.3(ii). Figure 1 shows the decay rates and oscillation frequencies for Δt=0.25\Delta t = 0.25 as a function of η\eta. The transition from under- to overdamped modes occurs at the maxima of the spectral decay rates. At those points, the corresponding dominant angular frequency vanishes. Once the continuous-time modes are overdamped, the continuous-time spectral decay rates are larger than their discrete-time counterparts.

To close this section, we briefly comment on the influence of Δt\Delta t. Unlike η\eta, the parameter Δt\Delta t changes both the controller coefficients and the time step of the discrete-time closed loop. Sufficiently large values of Δt\Delta t may destabilize the discrete-time system, that is αdt(Adt(λ),Δt)<0\alpha_{\mathrm{dt}}(A_{\mathrm{dt}}(\lambda),\Delta t) < 0, even though the corresponding continuous-time closed loop remains stable. The influence of Δt\Delta t on the spectral decay rate for the fixed value η=0.4\eta= 0.4 is illustrated in Figure 2. Again, the transition between over- and underdamped modes occurs at the maxima of the spectral decay rate, where the overdamped regime corresponds to smaller values of Δt\Delta t. For sufficiently large Δt\Delta t, the discrete-time spectral decay rates in Figure 2 become negative, indicating a loss of stability, whereas the corresponding continuous-time systems remain stable.

Discrete and continuous time spectral decay rates as a function of time step

Figure 2. Discrete and continuous time spectral decay rates as a function of Δt\Delta t for the IRHC and IDA-PBC controllers. The parameters are B0=IB_0 = I, η=0.4\eta= 0.4 and c=1c = 1. The dashed vertical line marks the parameter Δt=0.25\Delta t = 0.25.

Numerical experiments

In the present section, we numerically implement the IRHC and IDA-PBC controllers for the reduced center of mass system (10) and the full nonlinear system (4). The code and the simulation data can be accessed at [17]. For the continuous-time simulations, we use the SciPy DOP853 integrator with relative and absolute tolerance values of rtol=10−10\mathrm{rtol} = 10^{-10} and atol=10−11\mathrm{atol} = 10^{-11}. For the discrete-time simulations, we use the semi-explicit Euler scheme (12).

Rate and frequency verification for center of mass stabilization

We start by determining the spectral decay rates and dominant angular frequencies for the reduced center of mass system and comparing them to the predictions in Lemma 3.4. For this purpose, we simulate the center of mass system in two dimensions using the parameters as in Figure 1, that is B0=IB_0 = I, c=1c = 1 and Δt=0.25\Delta t = 0.25, xˉdes=0\bar{x}_{\mathrm{des}} = 0, for two different values of η\eta, namely η=0.4\eta= 0.4 and 0.50.5. Those choices are based on the predictions in Figure 1. For η=0.4\eta= 0.4, both controllers are in the underdamped regime, whereas for η=0.5\eta= 0.5 the IRHC mode is overdamped in discrete and continuous time whereas the IDA-PBC controller remains underdamped. To measure the decay of the mean velocity and the target distance of the center of mass, we use the normalized error ecm(xˉ(t),vˉ(t))/ecm(xˉ(0),vˉ(0))e_{\mathrm{cm}(\bar{x}(t),\bar{v}(t))/e_{\mathrm{cm}(\bar{x}(0),\bar{v}(0))}}, where

ecm(xˉ,vˉ):=∣xˉ−xˉdes∣+∣vˉ∣,xˉ,vˉ∈Rd.e_{\mathrm{cm}}(\bar{x},\bar{v}) := \lvert\bar{x} - \bar{x}_{\mathrm{des}} \rvert+ \lvert\bar{v} \rvert,\quad\bar{x},\bar{v} \in\mathbb{R}^{d}.

Figure 3 shows the decay of the normalized error on a semi-logarithmic scale. In Figure 3, we can see that all errors exhibit an approximately linear decay in the logarithmic plot, which is consistent with the expected exponential decay. For η=0.4\eta= 0.4, the IDA-PBC and the IRHC show similar decay rates and both errors show visible oscillations, which is consistent with the predicted underdamped regime. For η=0.5\eta= 0.5, the IDA-PBC controller appears to have a higher spectral decay rate but its error still oscillates. No oscillations are visible for the IRHC controller, which is consistent with the expected overdamped decay.

Simulation of the normalized center of mass error in discrete and continuous time

Figure 3. Simulation of the normalized center of mass error in discrete and continuous time. The parameters are B0=IB_0 = I, c=1c = 1 and Δt=0.25\Delta t = 0.25. The first row displays the continuous-time simulations, whereas the second row contains the discrete-time results.

In order to quantitatively compare the simulation results with the predictions of Lemma 3.4, we jointly fit the center of mass position and velocity in each component. Based on the regime predicted by Lemma 3.4, we choose an over- or an underdamped fitting ansatz. The fit does not use the corresponding theoretical decay rates and frequencies. For underdamped modes, we fit an exponentially damped oscillation with common decay rate α\alpha and angular frequency ω\omega. For overdamped modes, we fit a linear combination of two exponentials with separate decay rates and determine the spectral decay rate as the smaller of the two fitted decay rates. In continuous time, we additionally constrain the velocity fit to be the time derivative of the position fit, whereas in discrete time, the fit uses separate amplitudes for position and velocity and enforces common decay rates and a common frequency. Since B0=IB_0 = I gives the same modal quantities in both spatial directions, we report the median of the fitted values of the individual components. Table 1 compares the fitted values to the values predicted by Lemma 3.4. The fitted spectral decay rates and, for the underdamped cases, the dominant angular frequencies agree with the predictions.

Methodα\alpha Theoryα\alpha Fitω\omega Theoryω\omega Fit
η=0.4\eta= 0.4, continuous-time
IRHC0.80000.80000.58010.5801
IDA-PBC0.80000.80000.85820.8582
η=0.4\eta= 0.4, discrete-time
IRHC1.02171.02170.45980.4598
IDA-PBC1.02171.02170.85460.8546
η=0.5\eta= 0.5, continuous-time
IRHC0.82850.82850.0000—
IDA-PBC1.00001.00000.68600.6860
η=0.5\eta= 0.5, discrete-time
IRHC0.63340.63340.0000—
IDA-PBC1.38631.38630.37240.3724

Table 1. Comparison of theoretically predicted and numerically fitted spectral decay rates α\alpha and angular frequencies ω\omega.

Full set-point stabilization

Next, we apply the IRHC and IDA-PBC controllers to the full nonlinear system (4). In all examples, we use the constant alignment function ψ(x)=1\psi(x) = 1 and the binary interactions are given by the (regularized) Morse potential

V(x)=Re−∣x∣2/r−Ae−∣x∣2/a,(44)\mathcal{V}(x) = R e^{-|x|^2/r} - A e^{-|x|^2/a}, \tag*{(44)}

with parameters R=1R = 1, r=0.5r = 0.5, A=1.5A = 1.5, a=1a = 1. We consider N=42N = 42 particles moving in d=2d = 2 dimensions. The Morse potential V\mathcal{V} attains its global minimum at the distance

∣x∣=d0=(raa−rln⁡(aRrA))1/2≈0.5364.|x| = d_0 = \left(\frac{ra}{a-r}\ln\left(\frac{aR}{rA}\right)\right)^{1/2} \approx0.5364.

To obtain a target configuration xdesx_{\mathrm{des}} containing interparticle distances on both sides of d0d_0, we sample the target position for each particle uniformly from [−6d0,6d0]2[-6d_0,6d_0]^2. The sampling is done once and the resulting configuration is then fixed for all simulations. The aim of this subsection is to study the controller behavior for different values of η\eta and to relate the chosen parameters to the sufficient convergence results in Theorem 3.3. For the Morse potential (44), an elementary computation of the Hessian shows that ∇V:Rd→Rd\nabla V:\mathbb{R}^{d}\to\mathbb{R}^{d} is Lipschitz continuous with Lipschitz constant L=2(R/r+A/a)L = 2(R/r+A/a). For B=I\mathbb{B}=I, c=100c=100, Δt=0.05\Delta t=0.05 and the parameters AA, aa, RR, rr considered here, we obtain σ=1\sigma=1 and K=28K=28. Moreover, the conditions (35) in Theorem 3.3 are satisfied, whereas (34) reduces to η>0.35\eta>0.35. Thus the previously considered values η=0.4\eta=0.4 and η=0.5\eta=0.5 lie within the parameter range of Theorem 3.3(i). As an additional reference, we consider η=1/66\eta=1/66, which is the upper bound appearing in the discrete-time convergence result of Theorem 3.3(ii). However, we emphasize that the condition η>0.35\eta>0.35 is violated for η=1/66\eta=1/66, so Theorem 3.3(i) does not apply. None of the three cases for η\eta is covered by Theorem 3.3(ii).

We note that for B=I\mathbb{B}=I, the center of mass follows a reduced dynamics. Concretely, since the binary alignment and binary interaction forces have zero mean, we obtain for both controllers

xˉ˙=vˉ,vˉ˙=−c1vˉ−c3(xˉ−xˉdes).\dot{\bar{x}} = \bar{v}, \qquad \dot{\bar{v}} = -c_1\bar{v} - c_3(\bar{x} - \bar{x}_{\mathrm{des}}).

for which the spectrum of the system matrix can be computed similarly as in Lemma 3.4. In particular, we can explicitly predict the continuous-time spectral decay rate of the center of mass and this rate is independent of c2c_2 and therefore identical for both controllers. For all parameters considered here, the corresponding mode is underdamped and thus the continuous-time center of mass spectral decay rate is given by c1/2c_1/2. Therefore, we isolate the internal particle dynamics from the explicitly known center of mass mode by subtracting the mean position and mean velocity. More precisely, we use the normalized centered error e(x(t),v(t))/e(x(0),v(0))e(x(t),v(t))/e(x(0),v(0)), where

e(x,v):=∥x−xdes−(xˉ−xˉdes)1∥+∥v−vˉ1∥,e(x,v) := \lVert x - x_{\mathrm{des}} - (\bar{x} - \bar{x}_{\mathrm{des}})\mathbf{1}\rVert+ \lVert v - \bar{v}\mathbf{1}\rVert,

for x,v∈Ex,v \in E. Figure 4 shows the decay of the normalized centered error on a semi-logarithmic scale. For all considered values of η\eta, the normalized centered error appears to exhibit an approximately linear decay on the logarithmic scale, indicating exponential decay. To quantify the decay and oscillation frequencies of the centered particle dynamics, we apply dynamic mode decomposition (DMD) to the centered simulation data and compute the system matrix using a least squares fit (see [18 Chapter 7.2]). The spectral decay rate and dominant angular frequencies are then determined from the spectrum of the resulting matrix. Since the center of mass contribution has been removed, these fitted rates are not predicted by Lemma 3.4. The resulting values are displayed in Table 2. For all considered values of η\eta, we see that the discrete-time DMD spectral decay rates are larger than their continuous-time analogue. This is consistent with the result for the reduced system that time discretization increases the spectral decay rate of modes that remain underdamped. Moreover, the IDA-PBC controller achieves a larger spectral decay rate in all cases except for the discrete-time simulation with η=0.5\eta= 0.5. Although IDA-PBC achieves faster decay in most simulations, there is no uniform ordering of the decay rates for the centered nonlinear dynamics. The IRHC controller exhibits higher dominant angular frequencies than the IDA-PBC controller for η=0.4\eta= 0.4 and η=0.5\eta= 0.5. Therefore, the reduction in oscillation frequency we observed for the reduced system does in general not carry over to the centered nonlinear dynamics. This difference is most pronounced in discrete-time at η=0.5\eta= 0.5. The IRHC controller achieves a higher estimated spectral decay rate but retains an underdamped dominant mode, whereas IDA-PBC exhibits a lower decay rate with an overdamped dominant mode.

Simulation of the normalized centered error for continuous- and discrete-time dynamics

Figure 4. Simulation of the normalized centered error e(t)/e(0)=e(x(t),v(t))/e(x(0),v(0))e(t)/e(0) = e(x(t),v(t))/e(x(0),v(0)) in discrete and continuous time for the parameters B=I\mathbb{B} = I, c=100c = 100 and Δt=0.05\Delta t = 0.05. The first row displays the continuous-time simulations, whereas the second row contains the discrete-time results.

Methodη=1/66\eta=1/66η=0.4\eta=0.4η=0.5\eta=0.5
Continuous time
IRHC αct\alpha_{\mathrm{ct}}0.62974.29645.2500
ωct\omega_{\mathrm{ct}}0.85843.68313.5251
IDA-PBC αct\alpha_{\mathrm{ct}}0.63584.49765.4903
ωct\omega_{\mathrm{ct}}0.85803.41593.1485
Discrete time
IRHC αdt\alpha_{\mathrm{dt}}0.65225.62137.4444
ωdt\omega_{\mathrm{dt}}0.87463.25351.4254
IDA-PBC αdt\alpha_{\mathrm{dt}}0.65925.94585.7239
ωdt\omega_{\mathrm{dt}}0.91652.63640.0000

Table 2. DMD spectral decay rates and dominant angular frequencies for the centered nonlinear system.

Conclusion

The reduced center of mass dynamics provide an interpretation of the parameter c2c_2 in the IRHC feedback controller. It modifies the transition between over- and underdamped modes. For discrete-time underdamped modes, it decreases the angular frequency without changing the spectral decay rate. For continuous-time overdamped modes, it reduces the spectral decay rate. The time discretization by the semi-explicit Euler scheme adds an additional mode-dependent effect. It increases the spectral decay rate for modes that remain underdamped, whereas the reverse effect occurs for continuous-time overdamped modes. We verified these predicted effects in simulations of the reduced center of mass system. For the full nonlinear system, we also observe larger DMD-estimated spectral decay rates in discrete- than in continuous-time. However, the reduction of the dominant angular frequency for the IRHC controller does in general not carry over to the nonlinear dynamics. Explicit decay rate estimates for the centered nonlinear dynamics would complement the present analysis and could provide a basis for a rigorous tuning strategy for nonlinear particle dynamics.

Proof of Lemma 3.7

Proof of Lemma 3.7. Fix λ∈σ(B0)⊂(0,∞)\lambda\in\sigma(B_0) \subset(0,\infty). We start by rewriting the expressions for μct,±(λ)\mu_{\mathrm{ct},\pm}(\lambda). Define

k:=det⁡(Act(λ))=λ+c3λ2−c2λ3.k := \det(A_{\mathrm{ct}}(\lambda)) = \lambda+ c_3\lambda^2 - c_2\lambda^3.

We note that k>0k > 0. Indeed, for the IDA-PBC controller, we have c2=0c_2 = 0, whereas for the IRHC controller, (33) yields

c2λ2≤c2∥B02∥=c2∥BB∗∥=η<1(45)c_2\lambda^2 \le c_2\lVert B_0^2\rVert= c_2\lVert BB^* \rVert= \eta< 1 \tag*{(45)}

and therefore k>c3λ2≥0k > c_3\lambda^2 \ge0. Moreover, a short computation using (42) shows that

μdt,±(λ)−1=Δt(−c1λ2+Δtk2±(c1λ2+Δtk2)2−k).(46)\begin{aligned} \mu_{\mathrm{dt},\pm}(\lambda)-1 &= \Delta t\left(-\frac{c_1\lambda^2+\Delta t k}{2}\pm\sqrt{\left(\frac{c_1\lambda^2+\Delta t k}{2}\right)^2-k}\right). \tag*{(46)} \end{aligned}

In particular, (46) and k>0k > 0 imply that the implications of Lemma 3.73.7(i) hold. Indeed, the arguments of the square root in (40) and (46) differ by a positive term.

To show Lemma 3.73.7(ii), let us assume that the discrete-time mode is underdamped. By Lemma 3.73.7(i), the corresponding continuous-time mode is also underdamped. In particular, we have αct(Act(λ))=c1λ2/2\alpha_{\mathrm{ct}}(A_{\mathrm{ct}}(\lambda))=c_1\lambda^2/2 and

∣μdt,±(λ)∣=det⁡(Adt(λ))=1−c1λ2Δt.\lvert\mu_{\mathrm{dt},\pm}(\lambda)\rvert=\sqrt{\det(A_{\mathrm{dt}}(\lambda))}=\sqrt{1-c_1\lambda^2\Delta t}.

As in (45), we note that c1Δtλ2<1c_1\Delta t\lambda^2 < 1. Thus, it follows that

αdt=−12Δtln⁡(1−c1λ2Δt)>c1λ22=αct,\alpha_{\mathrm{dt}}=-\frac{1}{2\Delta t}\ln(1-c_1\lambda^2\Delta t)>\frac{c_1\lambda^2}{2}=\alpha_{\mathrm{ct}},

where we have used that −ln⁡(1−x)>x-\ln(1-x)>x for x∈(0,1)x\in(0,1).

Now let us assume that the continuous-time mode (and thus also the discrete-time mode) is overdamped. From (40), we see that k<(c1λ2/2)2k<(c_1\lambda^2/2)^2 and therefore

tr⁡(Adt(λ))=2−c1Δtλ2−(Δt)2k>2−c1Δtλ2−(c1λ2)2(Δt)24≥2−η−η24>0.\begin{aligned} \operatorname{tr}(A_{\mathrm{dt}}(\lambda)) &=2-c_1\Delta t\lambda^2-(\Delta t)^2k\\ &>2-c_1\Delta t\lambda^2-\frac{(c_1\lambda^2)^2(\Delta t)^2}{4}\\ &\ge2-\eta-\frac{\eta^2}{4}>0. \end{aligned}

Thus we conclude that r(Adt(λ))=μdt,+(λ)>0r(A_{\mathrm{dt}}(\lambda))=\mu_{\mathrm{dt},+}(\lambda)>0. Since the continuous-time mode is overdamped, we also note that αct(Act(λ))=−μct,+(λ)\alpha_{\mathrm{ct}}(A_{\mathrm{ct}}(\lambda))=-\mu_{\mathrm{ct},+}(\lambda).

We define the function

g:(k,∞)→R,g(s)=−s+s2−k.g:(\sqrt{k},\infty)\to\mathbb{R},\qquad g(s)=-s+\sqrt{s^2-k}.

We collect some elementary facts about the function gg. First, gg is continuously differentiable and strictly increasing. Moreover, we have ran⁡(g)=(−k,0)\operatorname{ran}(g)=(-\sqrt{k},0) and the inverse of gg is given by

g−1(y)=−k2y−y2,y∈(−k,0).(47)g^{-1}(y)=-\frac{k}{2y}-\frac{y}{2},\qquad y\in(-\sqrt{k},0). \tag*{(47)}

We claim that the following inequality holds

c1λ2+kΔt2>g−1(μct,+(λ)1−Δtμct,+(λ)).(48)\frac{c_1\lambda^2+k\Delta t}{2}>g^{-1}\left(\frac{\mu_{\mathrm{ct},+}(\lambda)}{1-\Delta t\mu_{\mathrm{ct},+}(\lambda)}\right). \tag*{(48)}

In particular, we claim that the argument of g−1g^{-1} above lies in (−k,0)(-\sqrt{k},0). Once (48) is shown, the proof is complete because then we have

μdt,+(λ)=1+Δtg(c1λ2+kΔt2)>1+Δtμct,+(λ)1−Δtμct,+(λ)=11−Δtμct,+(λ)≥eΔtμct,+(λ).\begin{aligned} \mu_{\mathrm{dt},+}(\lambda) &=1+\Delta t g\left(\frac{c_1\lambda^2+k\Delta t}{2}\right)\\ &>1+\Delta t\frac{\mu_{\mathrm{ct},+}(\lambda)}{1-\Delta t\mu_{\mathrm{ct},+}(\lambda)}\\ &=\frac{1}{1-\Delta t\mu_{\mathrm{ct},+}(\lambda)} \ge e^{\Delta t\mu_{\mathrm{ct},+}(\lambda)}. \end{aligned}

Taking logarithms and dividing by Δt\Delta t then yields

αdt(Adt(λ),Δt)=−ln⁡(μdt,+(λ))Δt<−μct,+(λ)=αct(Act(λ)).\alpha_{\mathrm{dt}}(A_{\mathrm{dt}}(\lambda),\Delta t) =-\frac{\ln(\mu_{\mathrm{dt},+}(\lambda))}{\Delta t} <-\mu_{\mathrm{ct},+}(\lambda) =\alpha_{\mathrm{ct}}(A_{\mathrm{ct}}(\lambda)).

So to complete the proof, it remains to show (48). For this purpose, we first note that (48) is meaningful. Indeed, since μct,+(λ)<0\mu_{\mathrm{ct},+}(\lambda)<0 and since the continuous-time mode is overdamped, we have ∣μct,−(λ)∣>∣μct,+(λ)∣\lvert\mu_{\mathrm{ct},-}(\lambda)\rvert>\lvert\mu_{\mathrm{ct},+}(\lambda)\rvert. Thus

k=∣μct,−(λ)μct,+(λ)∣>∣μct,+(λ)∣2k=\lvert\mu_{\mathrm{ct},-}(\lambda)\mu_{\mathrm{ct},+}(\lambda)\rvert>\lvert\mu_{\mathrm{ct},+}(\lambda)\rvert^2

and therefore

0>μct,+(λ)1−Δtμct,+(λ)>μct,+(λ)>−k.0>\frac{\mu_{\mathrm{ct},+}(\lambda)}{1-\Delta t\mu_{\mathrm{ct},+}(\lambda)} >\mu_{\mathrm{ct},+}(\lambda)>-\sqrt{k}.

By using (40), we see that μct,+(λ)\mu_{\mathrm{ct},+}(\lambda) satisfies the quadratic equation

0=μct,+(λ)2+c1λ2μct,+(λ)+k.(49)0=\mu_{\mathrm{ct},+}(\lambda)^2+c_1\lambda^2\mu_{\mathrm{ct},+}(\lambda)+k. \tag*{(49)}

By using (49), a short computation shows that

−kμct,+(λ)(1−Δtμct,+(λ))=μct,+(λ)+kΔt+c1λ2.(50)-\frac{k}{\mu_{c t,+}(\lambda)}\left(1-\Delta t\mu_{c t,+}(\lambda)\right)=\mu_{c t,+}(\lambda)+k\Delta t+c_1\lambda^2. \tag*{(50)}

Finally, combining (47) and (50) yields

g−1(μct,+(λ)1−Δtμct,+(λ))=μct,+(λ)+kΔt+c1λ22−μct,+(λ)2(1−Δtμct,+(λ))=−Δtμct,+(λ)22(1−Δtμct,+(λ))+c1λ2+kΔt2<c1λ2+kΔt2,\begin{aligned} g^{-1}\left(\frac{\mu_{c t,+}(\lambda)}{1-\Delta t\mu_{c t,+}(\lambda)}\right) =\frac{\mu_{c t,+}(\lambda)+k\Delta t+c_1\lambda^2}{2} -\frac{\mu_{c t,+}(\lambda)}{2(1-\Delta t\mu_{c t,+}(\lambda))} \\ &=-\frac{\Delta t\mu_{c t,+}(\lambda)^2}{2(1-\Delta t\mu_{c t,+}(\lambda))}+\frac{c_1\lambda^2+k\Delta t}{2} <\frac{c_1\lambda^2+k\Delta t}{2}, \end{aligned}

which completes the proof.

Acknowledgments

This work was funded by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) – Project-ID 531152215 – CRC 1701. We acknowledge the use of Chat-GPT for stylistic editing, manuscript review and assistance with refining and debugging parts of the numerical simulation code used for the experiments in Section 4. The authors assume responsibility for all content.

References

References

  1. [1]Felipe Cucker and Steve Smale. Emergent behavior in flocks. IEEE Transactions on Automatic Control, 52(5):852–862, 2007. URL https://doi.org/10.1109/TAC.2007.895842.
  2. [2]Felipe Cucker and Steve Smale. On the mathematics of emergence. Japanese Journal of Mathematics, 2:197–227, 2007. URL https://doi.org/10.1007/s11537-007-0647-x.
  3. [3]III, pages 1339–1365. European Mathematical Society Publishing House (EMS Ph), 2006. URL https://doi.org/10.4171/022-3/65.
  4. [4]Birgit Jacob and Claudia Totzeck. Port-Hamiltonian structure of interacting particle systems and its mean-field limit. Multiscale Modeling & Simulation. A SIAM Interdisciplinary Journal, 22(4):1247–1266, 2024. URL https://doi.org/10.1137/23M1547731.
  5. [5]Jannik Daun, Daniel Jamnik Happ, Birgit Jacob, and Claudia Totzeck. Erratum and original of port-Hamiltonian structure of interacting particle systems and its mean-field limit, 2026. URL https://arxiv.org/abs/2301.06121.
  6. [6]Giacomo Albi, Michael Herty, Dante Kalise, and Chiara Segala. Moment-driven predictive control of mean-field collective dynamics. SIAM Journal on Control and Optimization, 60(2):814–841, 2022. URL https://doi.org/10.1137/21M1391559.
  7. [7]Harry L. Trentelman, Anton A. Stoorsvogel, and Malo Hautus. Control theory for linear systems. Communications and Control Engineering. Springer London, 2001. URL https://doi.org/10.1007/978-1-4471-0339-4.
  8. [8]Giacomo Albi and Lorenzo Pareschi. Selective model-predictive control for flocking systems. Communications in Applied and Industrial Mathematics, 9(2):4–21, 2018. URL https://doi.org/10.2478/caim-2018-0009.
  9. [9]Marco Caponigro, Massimo Fornasier, Benedetto Piccoli, and Emmanuel Trélat. Sparse stabilization and control of alignment models. Mathematical Models and Methods in Applied Sciences, 25(03):521–564, 2015. URL https://doi.org/10.48550/arXiv.1210.5739.
  10. [10]Young-Pil Choi, Dante Kalise, Jan Peszek, and Andrés A. Peters. A collisionless singu- lar Cucker-Smale model with decentralized formation control. SIAM Journal on Applied Dynamical Systems, 18(4):1954–1981, 2019. URL https://doi.org/10.1137/19M1241799.
  11. [11]Martin Burger, René Pinnau, Claudia Totzeck, Oliver Tse, and Andreas Roth. Instantaneous control of interacting particle systems in the mean-field limit. Journal of Computational Physics, 405:109181, 2020. URL https://doi.org/10.1016/j.jcp.2019.109181.
  12. [12]Haecheon Choi, Michael Hinze, and Karl Kunisch. Instantaneous control of backward-facing step flows. Applied Numerical Mathematics, 31(2):133–158, 1999. URL https://doi.org/10.1016/S0168-9274(98)00131-7.
  13. [13]Peter Benner and Michael Hinze. Chapter 4 - Feedback control of time-dependent nonlinear PDEs with applications in fluid dynamics. In Numerical Control: Part B, volume 24 of Handbook of Numerical Analysis, pages 77–130. Elsevier, 2023. URL https://doi.org/10.1016/bs.hna.2022.12.002.
  14. [14]Daniel Jannik Happ, Birgit Jacob, and Claudia Totzeck. Feedback approaches for set-point stabilization of interacting particle systems, 2026. URL https://arxiv.org/abs/2608.17222.
  15. [15]Arjan van der Schaft. Port-Hamiltonian modeling for control. Annual Review of Control, Robotics, and Autonomous Systems, 3:393–416, 2020. URL https://doi.org/10.1146/annurev-control-081219-092250.
  16. [16]Romeo Ortega, Arjan van der Schaft, Bernhard Maschke, and Gerardo Escobar. Interconnection and damping assignment passivity-based control of port-controlled Hamiltonian systems. Automatica, 38(4):585–596, 2002. URL https://doi.org/10.1016/S0005-1098(01)00278-3.
  17. [17]Daniel Jannik Happ. Supplementary code for: Instantaneous control for stabilization of interacting particle systems: convergence rates and dominant frequencies, 2026. URL https://doi.org/10.5281/zenodo.23980385.
  18. [18]Steven L. Brunton and J. Nathan Kutz. Data-driven science and engineering—machine learning, dynamical systems, and control. Cambridge University Press, 1st edition, 2019. URL https://doi.org/10.1017/9781108380690.

Paper details

vlnc:W_krb64j53
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 10

downloads · 2

A view counts once per browser per day, a download each time the PDF is requested.

  • Mathematics

Not recorded for this paper

View statement
Looking for related papers…
Contents