Figures
Abstract
This paper is concerned with the sampled-data consensus of networked Euler-Lagrange systems. The Euler-Lagrange system has enormous advantages in analyzing and designing dynamical systems. Yet, some problems arise in the Euler-Lagrange equation-based control laws when they contain sampled-data feedbacks. The control law differentiates the discontinuous sampled-data signals to generate its control input. In this process, infinities in the control inputs are generated inevitably. The main goal of this work is to eliminate these infinities and make the control inputs applicable. To reach this goal, a class of differentiable pulse functions is designed for the controllers. The pulse functions work as multipliers on the sampled-data signals to make them differentiable, hence avoid the infinities. A new consensus condition compatible with the pulse function is also obtained through rigorous consensus analysis. The condition is proved to be less conservative compared with that of the existing method. Finally, numerical examples are given to illustrate the findings and theoretical results.
Citation: Sun Y, Wang Y, Li Y, Xiang X (2022) Modulated sampled-data consensus for networked Euler-Lagrange systems with differentiable pulse function. PLoS ONE 17(11): e0274461. https://doi.org/10.1371/journal.pone.0274461
Editor: António M. Lopes, University of Porto Faculty of Engineering: Universidade do Porto Faculdade de Engenharia, PORTUGAL
Received: May 26, 2022; Accepted: August 29, 2022; Published: November 10, 2022
Copyright: © 2022 Sun et al. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.
Data Availability: All relevant data are within the paper and its Supporting information files.
Funding: The study was funded by grants from Zhejiang Provincial Department of Science and Technology to X.X. (2018C01085), the Department of Education of Zhejiang Province (201902321004) to Y. S. And the Department of Education of Zhejiang Province (Y202146544) to Y. L. The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.
Competing interests: The authors have declared that no competing interests exist.
Introduction
Multi-agent systems have become a popular research topic for more than a decade. The most fundamental and widely studied problem of multi-agent systems is the consensus problem, for it remains the most common control objective of multi-agent systems. And the studies such as formation control are derived from the consensus problem. A central concern of such studies is the dynamic models of the individual agents. For a theoretical formulation to properly reflect the actual physical system, the model has to be capable of representing the physical characteristics.
Euler-Lagrange system can describe a wide range of physical systems [1]. This advantage has inspired great research interest in Euler-Lagrange systems [2–9]. The theoretical progress has benefited the control of robotic arms [8], ships and robotic aerial vehicles [10], autonomous underwater vehicles [11], space crafts, and satellites [12, 13]. Yet much of the existing works on this subject assume continuous communication.
Discontinuities, e.g., event-triggering [14], constraints [15], and switching topology [16] are marking characteristics of modern networked systems. Above all, computer-based networked systems rely exclusively on sampled-data communication, the most common discontinuous information exchange. However, when sampled-data communication is applied to networked Euler-Lagrange systems [17], the control inputs go to infinity at the sampling instants, thus obstructing real-world implementations. The infinities are caused by differentiation of the discontinuous piecewise constant sampled communication information from the network. It is also worth mentioning that the Euler-Lagrange system with sampled actuation has already been studied in [18]. But without the distributed manner, there is no infinity problem.
Several works are dedicated to solving similar problems caused by discontinuities in networked Euler-Lagrange systems under continuous-time communication [19–22]. They all use high-order linear systems to smoothen the discontinuities in the neighbors’ information and avoid infinities. However, these methods all depend on exploiting real-time local information to guarantee consensus, which is uncommon in sampled-data systems.
Though the methods mentioned above can’t be used to solve the sampled-data consensus of networked Euler-Lagrange systems, the idea of smoothening the discontinuities is inspiring. In sampled-data systems, although the piecewise constant information is an unchangeable fundamental fact in all networked systems, changes can still be made within individual subsystems to work around. Conventional sampled-data controllers operate continuously with constant inputs during each sampling interval. This requirement may hinder controllers’ implementation under certain constraints [23]. Pulse-modulated sampled-data control is developed in [23, 24] that has advantages over the conventional sampled-data control: 1) the control input can be a time-varying during an interval; 2) the controller can work during part of the interval instead of the whole.
In this work, we take advantage of the pulse function, propose the differentiable pulse function, and position the discontinuous sampling instants in idle times to eliminate the infinities and make the controller applicable. A new consensus criterion is also obtained through rigorous and straightforward proof. It is proven that this criterion is less conservative and is compatible with the new pulse function proposed, whereas the existing one is not.
The rest of the paper is organized as follows. In Section II, preliminaries on the problem investigated are presented, and the problem of infinities is pointed out. Section III proposes constraints on the pulse function under which the infinities are ruled out. The new consensus criterion is given through consensus analysis and compared with the existing work in terms of conservativeness and applicability. Finally, numerical examples are provided in Section IV to verify the theoretical results.
Preliminaries and problem formulation
Graph theory
Communication links among the agents can be described by a weighted directed graph (digraph) , where V = {1, 2, …, N} is the set of nodes,
is the set of edges, and A = (aij)(N×N) is the weighted adjacency matrix.
indicates that agent i receives information from agent j. aij > 0 if and only if
, otherwise aij > 0. Assume that there’s no self-loop, i.e. aii = 0,
. Let
, D = diag(deg(1), …, deg(n)). The Laplacian matrix is AL = (lij)(N×N) = D − A. All eigenvalues of L are in the open right half plane except for the one zero eigenvalue: 0 = λ1 ≤ Re(λ2) ≤ ⋯ ≤ Re(λr) where λi ∈ C (i = 1, 2, …, r) are eigenvalues of L with multiplicity Ni. Obviously
. There exists a non-singular matrix
such that the Laplacian matrix L can be transformed into a Jordan form
where
and ξT L = 0, ξ is a vector such that
.
When the graph is undirected, the Laplacian matrix L is symmetric and can be diagonalized.
Networked Euler-Lagrange systems
Consider N networked Euler-Lagrange systems that are fully actuated and have the following dynamics:
(1)
where
is the generalized position,
is the inertia matrix,
is the Coriolis and centripetal matrix,
is the gravitational torque,
is the control input, and the following general assumptions hold for the Euler-Lagrange system (1):
- There exist positive-definite parameters kc and kd such that 0 < kcIm ≤ Mi (qi) ≤ kdIm.
is skew-symmetric, i.e., for any
.
Sampled-data consensus.
The networked Euler-Lagrange systems in (1) are sampled at tk, k = 0, 1, …, where 0 = t0 < t1 < … < tk < …, and tk → ∞ as k → ∞. The sampling intervals can be time-varying: hk = tk+1 − tk. The control objective is to design sampled-data consensus controllers that drive the networked Euler-Lagrange systems in (1) to achieve consensus, i.e., :
The following sampled-data consensus control law is designed in [17]:
(2)
where Ki is a positive-definite matrix. Eq 2 shows that the control law depends on the reference quantity
and its derivative
. And the reference quantity
(3)
is piecewise constant due to the sample-data communication. And
is the auxiliary variable, α(t, tk) is a pulse function:
(4)
where
is the scaling function during dwell time whose value is allowed to be discontinuous. It is proved in [17] that the networked Euler-Lagrange systems (1) under the control input (2) reach consensus when a criterion on the communication graph and the pulse function α(t, tk) is satisfied.
Since the sampled local consensus error is updated at each sampling instant and is kept constant during the sampling intervals, the reference velocity
is discontinuous at the sampling instants tk and the end of dwell times i.e. tk + dk. Under this control strategy, the
term in the controller (2) is the derivative of the discontinuous
:
(5)
thus is infinite at the sampling instants. Combining with that Mi(qi) is positive definite, the term
is infinite and makes τi infinite at these instants.
Problem formulation
Infinities in the control input make the controller impractical for implementation despite its mathematical correctness. Moreover, the consensus criterion in [17] is conservative and obtained through complicated derivation. Considering these drawbacks of [17], the goal of this work is to:
- Find a method to eliminate the infinities in the control input.
- Establish for this method a compatible and less conservative consensus criterion.
Main results
To solve the problem formulated in Section II, we propose an improved control law that eliminates the infinities in the controller by redesigning the pulse function . It can be proved that given some additional conditions on
, the control inputs τi no longer have the infinity behavior discussed above.
Solution for the infinities
For ease of analysis, let function α(t) be the combination of the pulse functions α(t, tk):
(6)
Lemma 1: Control input (2) is finite and Lipschitz if the pulse function is differentiable with a Lipschitz constant l, i.e.
(7)
if the following hold:
(8)
(9)
Proof: It’s obvious that the pulse function α(t) is Lipschitz and differentiable when (8) and (9) hold. Then we prove the differentiability of at the endpoints of the dwell time, i.e. tk and tk + dk.
Under condition (9), the left derivatives and right derivatives of are
and
Note here that is constantly zero out of dwell times, i.e.
, and the above analysis ensures
. Therefore,
and
exists and are zero. Combined with the given condition that
is differentiable,
is also differentiable during dwell times. Thus
is differentiable at t ∈ (0, ∞), therefore,
is Lipschitz and finite with
Applying controller (2) to the Euler-Lagrange system (1) yields
(10)
Choose the Lyapunov function:
(11)
Its derivative along the trajectory of (10) is
(12)
Note here that inequality (12) holds on all t ≥ 0, instead of just sampling intervals. This is attributed to the controller design (2) and the subsequent closed-loop dynamics (10). Therefore, si → 0 as t → ∞. Combine (3) with the auxiliary variable s yields
(13)
Eq (13) can be represented in stack vector form:
(14)
where q and s are the stacked vectors for qi and si, respectively. Since s vanishes with time, the stability of the dynamic Eq (14) is equivalent to that of
(15)
Next, the consensus of system (15) is studied, and a consensus criterion is obtained.
Consensus analysis
In the following theorem, the consensus of system (15) is studied, and a consensus criterion compatible with the new pulse function α is proposed.
Theorem 1: The multi-agent system composed of Euler–Lagrange systems in (1) with the control inputs (2) can reach consensus if the following inequality holds for l = 2, 3, …, r and k = 0, 1, …
(16)
Proof: Solve the dynamic Eq (15). One has
(17)
and
(18)
Let the consensus error be , and
. Then we have
. Applying this transformation on (18) yields
(19)
The facts that L1N = 0 and ξT L = 0 are exploited to obtain (19).
Let , l = 1, 2, …, r,
. We get
(20)
where
, l = 2, 3, …, r. Note that
(21)
which means y1 stays constantly zero. It can be deduced from (19) and (20) that
(22)
Since as k → ∞ and matrix U is non-singular,
converges to zero if and only if
converges to zero. Eq (22) shows that
if the spectral radii
for l = 2, 3, …, r. Eigenvalues of
is determined by its diagonal entries, which are
so it can be concluded that the closed-loop Euler–Lagrange systems can reach consensus if (16) holds.
Comparison between the consensus criterions
The geometric interpretation of our improved criterion (16) in the complex plane is rather classical, that
is within the unit disc.
As is shown in Fig 1, the lengths of the line segments are:
Point C is within the unit disk if and only if |CD|2 < |AD| ⋅ |BD|. By this geometric interpretation the criterion under which lies within the unit disk can be rewritten as
Singling out the term, the above inequality becomes
(23)
Next our new consensus criterion (16) is compared with the consensus criterion of [17]:
(24)
where d is the upper bound of dk, β1 and β2 are the lower and upper bounds of the pulse function
, respectively. It can be inferred that the minimum lower bound of
, i.e. β1 is positive, so we can divide (24) by β1(Re(λi) + |Im(λi)|)2 and get
For every λi, criterion (24) is equivalent to
(25)
It is intuitive to see that dβ2 is analogous to the term as the area under the image of α(τ, tk) with the relation
Then, the comparison between criteria (16) and (24) is turned into that between (23) and (25). Comparing the left-hand sides, we get
comparing the right-hand sides yields
In other words, criterion (16) is a necessary condition of (24). This means when constructing a pulse function, one that satisfies (24) also satisfies (16), while one that meets (16) doesn’t necessarily satisfy (24). This implies that the range of selection of pulse functions under (16) is wider than that under (24), i.e. the improved criterion (16) is less conservative compared to (24).
Remark 1: A less conservative criterion gives an advantage when choosing the pulse function. One has wider choices with a less conservative criterion. The extreme case is the pulse function that eliminates infinities, which should be differentiable everywhere and vanishes at tk and tk + dk, which means its lower bound β1 = 0. This makes the left-hand side of (24) always positive, thus creating a contradiction and making (24) inapplicable. While this pulse function is compatible with (16). Such an example is included in the next section.
Numerical examples
In this section, we first illustrate the infinities in the control inputs with the example in [17], then present a simulation with the differentiable pulse function that eliminates the infinities. In addition, a comparison between different pulse functions is provided to illustrate the effects of pulse functions on consensus speed.
Simulation for [17]
Consider the closed-loop networked Euler-Lagrange Systems. Choose the same network as in Section IV of [17] with five agents, as shown in Fig 2:
The sampled-data communication is periodic with a sampling interval h = 1.
As is shown by the vertical lines in the figures, although the generalized positions reach consensus as shown in Fig 3, the control input τ1 in Fig 4 becomes impulses at sampling instants due to the derivation of the reference velocity in Fig 5. In fact, this issue affects agents. This means although the network reaches consensus in simulation, the actuators of the agent have to make impulsive infinities to achieve consensus, which is impossible in real-world scenarios.
The reference velocity of Agent 1.
Simulation with the differentiable pulse function
In the proposed pulse function example, we use the same multi-agent system with the same sampled communication. The difference is the pulse function in the control law. Sinusoid functions are selected to meet the requirements (8) and (9). According to the consensus condition (16), the pulse function should be chosen such that
The sampling interval h = 1 and dk = 0.5. Choose
(26)
so that the integral
and satisfies the consensus condition. And the resulting pulse function is shown in Fig 6(a), with more details in Fig 6(b):
(a) The pulse function α(t). (b) the detailed view of α(t).
The lower bound of the pulse function (26) is 0, and it fits the statement made in Remark 1: putting this bound into (24), we get , which makes (24) impossible to hold, i.e. the pulse function doesn’t satisfy (24), in other words, the consensus condition of [17] is incompatible with the pulse function.
Since the chosen pulse function (26) satisfies the conditions in Lemma 1, it should be expected that the reference velocities in Fig 7 are differentiable, and the control inputs τi are therefore finite.
The reference velocity of Agent 1 with the differentiable pulse function.
As is shown in Fig 8, the control input of Agent 1 is finite, and the infinity problem is solved.
And Fig 9 shows that the multi-agent system reaches consensus as calculated. On the surface, consensus seems also to be attained in the simulation without the pulse function, but it did so with infinite control input and is impossible in practice.
It can be inferred from (18) that consensus speed is only dependent on the sampling interval and the value of . A different α(t, tk) will not affect consensus speed when it has the same
. Choose dk = h = 1 and
The resulting pulse function is shown in Fig 10, and is unchanged, we get
Fig 11 shows the same consensus speed as in Fig 9, confirming the inference.
Consensus speed can also be tuned independently while maintaining condition (16). For example, set the sampling interval to 0.5 and dk = 0.25, and choose
to preserve the value of
. The effect is that the consensus speed is doubled as shown in Fig 12:
but the negative effect is that the value of is quadrupled as shown in Fig 13, putting more stress on the controller, as is shown in Fig 8. In fact, when the value of
is chosen, the only means to achieve faster consensus is to select a narrow and tall shaped α(t, tk), which inevitably leads to larger
and hence larger
.
Conclusion
This paper reviews existing work on the sampled-data consensus of networked Euler-Lagrange systems. To address its flaw that steers the control inputs to infinity, a new controller with specially designed differentiable pulse functions is designed. It is proved that the networked Euler-Lagrange systems can reach consensus when a criterion on the pulse function is satisfied. Finally, numerical simulations are given to verify the theoretical results.
Supporting information
S5 Fig. The generalized positions of the system.
https://doi.org/10.1371/journal.pone.0274461.s005
(PDF)
S8 Fig. The reference velocity
of Agent 1 with the differentiable pulse function.
https://doi.org/10.1371/journal.pone.0274461.s008
(PDF)
S9 Fig. Control input τ1 of Agent 1 with the differentiable pulse function.
https://doi.org/10.1371/journal.pone.0274461.s009
(PDF)
S10 Fig. Generalized positions of the networked Euler-Lagrange systems.
https://doi.org/10.1371/journal.pone.0274461.s010
(PDF)
S12 Fig. Generalized positions of the networked Euler-Lagrange systems.
https://doi.org/10.1371/journal.pone.0274461.s012
(PDF)
S13 Fig. Generalized positions of the networked Euler-Lagrange systems.
https://doi.org/10.1371/journal.pone.0274461.s013
(PDF)
References
- 1.
Ortega R., Passivity-based control of Euler-Lagrange systems. New York: Springer, 1998, pp. 4–7.
- 2. Liu Q., Ye M., Qin J. and Yu C., "Event-triggered algorithms for leader–follower consensus of networked Euler–Lagrange agents," IEEE Trans. Systems, Man, and Cybernetics: Systems, vol. 49, no. 7, pp. 1435–1447, 2017.
- 3. Lu M. and Liu L., "Leader-following consensus of multiple uncertain Euler–Lagrange systems subject to communication delays and switching networks," IEEE Trans. Automatic Control, vol. 63, no.8, pp. 2604–2611, 2018.
- 4. Nuno E., Ortega R. and Basanez L., "Consensus in networks of nonidentical Euler–Lagrange systems Using p+d controllers," IEEE Trans. Robotics, vol. 29, pp. 1503–1508, 2013.
- 5. Wang H., "Flocking of networked uncertain Euler-Lagrange systems on directed graphs," Automatica, vol. 49, pp. 2774–2779, 2013.
- 6. Ghapani S., Mei J., Ren W., and Song Y., "Fully distributed flocking with a moving leader for Lagrange networks with parametric uncertainties," Automatica, vol. 67, pp. 67–76, 2016.
- 7. Feng Z., Hu G., Ren W., Dixon W. and Mei J., "Distributed coordination of multiple unknown Euler-Lagrange systems," IEEE Trans. Control of Network Systems, vol. 5, no. 1, pp. 55–66, 2018.
- 8. Zhao X., Ma C., Xing X and Zheng X., "A stochastic sampling consensus protocol of networked Euler–Lagrange systems with application to two-link manipulator," IEEE Trans. Industrial Informatics, vol. 11, no. 4, pp. 907–914, 2015.
- 9. Mei J., Ren W., and Ma G., "Distributed containment control for Lagrangian networks with parametric uncertainties under a directed graph," Automatica, vol. 48, no. 4, pp. 653–659, 2012.
- 10. Roy S., Baldi S., Li P. and Sankaranarayanan V. N., "Artificial-Delay Adaptive Control for Underactuated Euler–Lagrange Robotics," IEEE/ASME Transactions on Mechatronics, vol. 26, no. 6, pp. 3064–3075, 2021.
- 11. Ma C., Zeng Q., “Distributed formation control of 6-DOF autonomous underwater vehicles networked by sampled-data information under directed topology,” Neurocomputing, vol. 154, pp 33–40, 2015.
- 12. Mehrabian A. R. and Khorasani K., "Distributed Formation Recovery Control of Heterogeneous Multiagent Euler–Lagrange Systems Subject to Network Switching and Diagnostic Imperfections," IEEE Transactions on Control Systems Technology, vol. 24, no. 6, pp. 2158–2166, 2016.
- 13. Shi Y., Hu Q., Shao X. and Shi Y., "Adaptive Neural Coordinated Control for Multiple Euler-Lagrange Systems With Periodic Event-Triggered Sampling," IEEE Transactions on Neural Networks and Learning Systems, Early access, pmid:35254995
- 14. Liu S, Niu B., Zong G. et al. “Data-driven-based event-triggered optimal control of unknown nonlinear systems with input constraints,” Nonlinear Dynamics vol. 109, pp. 891–909, 2022.
- 15. Chamanbaz M., Notarstefano G., Sasso F. and Bouffanais R., "Randomized Constraints Consensus for Distributed Robust Mixed-Integer Programming," IEEE Transactions on Control of Network Systems, vol. 8, no. 1, pp. 295–306, 2021.
- 16. Zhao Y., Zhang H., Chen Z., Wang H. and Zhao X., "Adaptive neural decentralised control for switched interconnected nonlinear systems with backlash-like hysteresis and output constraints," International Journal of Systems Science, vol. 53, pp. 1545–1561, 2022.
- 17. Zhang W., Tang Y., Huang T. and Vasilakos A. V., "Consensus of networked Euler-Lagrange systems under time-varying sampled-data control," IEEE Trans. Industrial Informatics, vol. 14, no. 2, pp. 535–544, 2018.
- 18. Tripathy N. S., Kar I. N., Chamanbaz M. and Bouffanais R., "Robust Stabilization of a Class of Nonlinear Systems via Aperiodic Sensing and Actuation," IEEE Access, vol. 8, pp. 157403–157417, 2020.
- 19. Wang H., "Differential-cascade framework for consensus of networked Lagrangian systems," Automatica, vol. 112, pp. 108620, 2020.
- 20.
H. Wang, W. Ren, and C. C. Cheah, "A Differential-Cascaded Paradigm for Control of Nonlinear Systems," arXiv.org, Dec, 2020.
- 21. Abdessameud A., Tayebi A., "Distributed Consensus Algorithms for A Class of High-Order Multi-Agent Systems On Directed Graphs," IEEE Trans. Automatic Control, vol. 63, no.10, pp. 3464–3470, 2018.
- 22. Abdessameud A., "Consensus of Non-Identical Euler-Lagrange Systems Under Switching Directed Graphs," IEEE Trans. Automatic Control, vol. 63, no.10, pp. 2108–2114, 2019.
- 23. Liu Z., Yu X., Guan Z., Hu B., and Li C., "Pulse-modulated intermittent control in consensus of multi-agent systems," IEEE Trans. Systems, Man, and Cybernetics: Systems, vol. 47, no. 5, pp. 783–793, 2017.
- 24. Meng X., Meng Z., Chen T., Dimarogonas D. V., and Johansson K. H., "Pulse width modulation for multi-agent systems," Automatica, vol. 70, pp. 173–178, 2016.