1 Introduction

The consensus and cooperation problems of multi-agent network have received increasing attention in recent years from various fields such as consensus algorithms [1, 2], cooperative control of autonomous robots [3, 4], flocking of unmanned air vehicles [5], rendezvous of autonomous vehicles [6, 7] and so on. In fact, the digital devices such as A/D and D/A converters, discrete-level actuators/sensors, and communication channels are often embedded in multi-agent networks, so the digital communication technology is indispensable to make the network system more robust and low cost.

In communication network equipped with digital sensors and actuators, the quantized technology has become one of the major topics because the precise state information between sensors cannot be exchanged under the constraint that the analog signals have to be quantized and encoded by a finite number of bits before being transmitted through a digital communication channel [11]. Kashhap firstly investigated the quantization communication based on integer-valued quantization in [14, 15], and the extended real-valued quantization scheme can be found in [16, 17]. Since the distributed averaging algorithms fail to achieve the strictly true consensus when the deterministic static uniform quantizers [1417] are adopted, then the dynamic quantization algorithm is developed in [18]. Thereafter, the stochastic approximation methods are developed [19, 20], and further, a dynamic encoding and decoding scheme with finite-level quantization is proposed in [21], in which the average consensus can be achieved based on merely one-bit information exchange between each pair of adjacent agents at each time step.

In cooperative multi-agent networks, the study of consensus problems mainly focuses on analyzing how globally consensus behavior emerges as a result of local information interactions among individuals since the agents only share information with their neighbors locally [810]. Generally, each agent is equipped with a small and capability-limited embedded microprocessor, which is responsible for collecting information and actuating controller updates according to some rules. So an important challenge in multi-agent systems is to design and implement decentralized algorithms for control and communication of agents.

To reduce controller updates and communication load, event-triggered control offers a new point of view on how information could be sampled and transmitted. In multi-agent systems, an agent transmits its local state information to its neighbors only when it is necessary, that is, only when a measurement of the local agent state error reaches a specified threshold [12, 13]. Tabuada [12] creatively presented a triggering condition based on norms of the state and the state error \(e = x(t_{k}) - x(t)\), that is, the last measured state minus the current state of the agent, where the measurement received at the controller is held constant until a new measurement arrives. When this happens, the error is set to zero and starts increasing until it triggers a new measurement update. Obviously, the real-time updates of controllers are avoided, and the communication load is reduced largely. The recent years have witnessed a growing interest in event-triggered strategy for coordination and cooperative control of multi-agent networks, and the specific works refer to [2328].

The advantage of event-triggered mechanism drives technology integration and innovation that make event-triggered control applicable to digital systems and control field. The technology combination of event-triggered strategy and quantization scheme can be found in [2932], and the time-delay relevant effects are also investigated in [3335]. Even though these prior works have provided fundamental conclusion, it has been found that the studied quantizers are simple uniform or dynamic quantization schemes which have to occupy higher bandwidth to estimate and transmit state information. How to make full use of the limited precious bandwidth in digital communication channel is the best challenge in this paper. Inspired by the previous works [21, 22], we further introduce the event-triggered mechanism into digital communication networks.

The main contribution of this paper mainly involves four points. First, we designed a novel integrated communication framework for digital multi-agent network, in which the event-triggered strategy and dynamic encode/decode scheme play an important role in communication process. Second, a distributed triggering condition that only depends on local state information of neighbor agents is developed, and the corresponding consensus analysis is provided. Third, we gave the specific communication algorithm considering dynamic encode/decode scheme under event-triggered strategy, and to design a proper quantization factor, we also proposed a self-adaptive quantization algorithm that builds a connection between quantization level and quantization factor. Last, we proposed an improved communication strategy named one-bit quantized scheme such that the global consensus can still be achieved based on only one-bit information exchange between agents at each quantized transmission. In a word, the communication load of whole network is reduced to the largest extent by utilizing the proposed integrated communication scheme.

The remainder of this paper is organized as follows: Sect. 2 declares some preliminary knowledge about graph theory and encode/decode technology; Sect. 3 provides the specific communication details for the digital network equipped with encoders/decoders under event-triggered strategy; Sect. 4 gives the consensus analysis for digital multi-agent network under the proposed event-triggered condition. Section 5 provides a one-bit quantized scheme; some numerical simulations are given in Sect. 6 to verify the main results; finally, the paper is concluded in Sect. 7.

2 Preliminaries

2.1 Notations

The following standard notations are used throughout this paper. The set of all natural number, positive integer and real number are, respectively, denoted by \(\mathbb {N}\), \(\mathbb {N}^{+}\) and \(\mathbb {R}\). For a given positive number x, the maximum integer less than or equal to x is denoted by \(\lfloor x \rfloor \), and the minimum integer greater than or equal to x is denoted by \(\lceil x \rceil \). The absolute value of real number y is denoted by |y|. Let \(\mathbf 1 _{N}\) and \(\mathbf 0 _{N}\) be a 1 vector and a 0 vector containing N elements, respectively, and \(I_{N}\) be a N dimension unity matrix. The transposes of a vector v and a matrix M are denoted by \(v^{T}\) and \(M^{T},\) respectively.

2.2 Algebraic graph theory

Let \(\mathscr {G}=\{\mathscr {V}, \mathscr {E}, W\}\) be an undirected graph with N nodes, in which \(\mathscr {V}=\{1, 2, ... , N\}\) is the node set, \(\mathscr {E} \subseteq \mathscr {V} \times \mathscr {V}\) is the edge set and \(W=(w_{ij})\in \mathbb {R}^{N \times N}\) is the weighted adjacency matrix of \(\mathscr {G}\). An edge \(e_{ji}=(v_{j},v_{i})\) represents that node j can reach node i or node i can directly receive information from node j. Note that W is a symmetric matrix and \(e_{ji}=e_{ij}\), i.e., the communication channels between network nodes are two way. If there is a communication channel between node i and node j, then these two nodes are called neighbors of each other and \(w_{ij} =w_{ji}>0\); otherwise, \(w_{ij} =w_{ji}=0\). The neighbor node set of node i is denoted by \(\mathscr {N}_{i}\), while we indicate with \(N_{i}=|\mathscr {N}_{i}|\) the number of neighbors of node i. The Laplacian matrix \(L=(l_{ij})\in \mathbb {R}^{N \times N}\) associated with the adjacency matrix W is defined by \(l_{ij} = -w_{ij}, i \ne j\), \(l_{ii} = \sum _{j=1,j \ne i}^{N}w_{ij}\) which ensures that \(\sum _{j=1}^{N}l_{ij}=0\). Generally speaking, the Laplacian matrix of an undirected graph is symmetric, and the Laplacian matrix of a directed graph is asymmetric.

2.3 Dynamic encode/decode scheme for digital channel

Digital communication technology becomes a widely used standard in modern communication system since digital signal has incomparable advantages on robustness and security compared with analog signal. Each digital channel is equipped with a pair of encoder and decoder which are responsible for encoding and decoding transmission information. As is well known, each transmission message can only be symbol data in a finite or countable set that is designed in advance. Here we assume the digital channel is reliable and the transmitted symbol data can be received without error. The encoder \(\varPhi _{i}\) of agent i for digital channel is defined as follows [21]:

$$\begin{aligned} \left\{ \begin{array}{l@{\quad }l} \xi _{i}(0) = 0, \\ \xi _{i}(t) = \eta _{i}(t) \phi _{i}(t) + \xi _{i}(t-1), \\ \textstyle \phi _{i}(t) = q\left( \frac{1}{\eta _{i}(t)}(x_{i}(t) - \xi _{i}(t-1))\right) ,&{} t = 1, 2, \ldots , \end{array}\right. \end{aligned}$$
(1)

where \(x_{i}(t)\) is the precise real-value state that will be transmitted through digital channel, \(\xi _{i}(t)\) is the internal state of encoder \(\varPhi _{i}\), and \(\phi _{i}\) is the output of \(\varPhi _{i}\). Note we here employ a dynamic finite-level uniform quantizer \(q(\cdot )\) which can transform a real value to a symbolic data, and \(\eta _{i}(t)\) is a scaling function which is also called dynamic quantization factor.

Define the quantizer \(q(\cdot )\) as a map: \(\mathbb {R}\rightarrow S \), where \(S = \{0,\pm i\Delta , i=1, 2, \ldots , K\}\) is the prescribed output set and the number of quantization level is \(2K+1\). The detailed definition of quantizer \(q(\cdot )\) is given by:

$$\begin{aligned} q(x) =\left\{ \begin{array}{l} \textstyle 0, \quad -\frac{1}{2}\Delta < x < \frac{1}{2}\Delta , \\ \textstyle n \Delta , \quad \frac{2n-1}{2}\Delta \le x < \frac{2n+1}{2}\Delta , n=1, 2, \ldots , K, \\ \textstyle K \Delta , \quad x \ge \frac{2K+1}{2}\Delta , \\ \textstyle -q(-x), \quad x \le -\frac{1}{2}\Delta , \end{array}\right. \end{aligned}$$
(2)

where \(\Delta \) is the quantization interval and \(M=K\Delta \) is called the saturate value. In real network, the communication device always only provides the limited voltage value, which leads to a limited saturate value. Once the quantization value exceeds the saturate value, the quantizer cannot work very well owing to the unreasonable quantization error. Thus, we need to design a scheme to avoid the occurrence of this condition in the later section.

When the neighbor agents receive the symbolic data from agent i, the data are firstly decoded by corresponding decoder \(\varPsi _{i}\) which is defined as [21]:

$$\begin{aligned} \left\{ \begin{array}{l} \varphi _{i}(0) = 0, \\ \varphi _{i}(t) = \eta _{i}(t) \phi _{i}(t) + \varphi _{i}(t-1), \\ \end{array}\right. \end{aligned}$$
(3)

where \(\varphi _{i}(t)\) is the output of decoder \(\varPsi _{i}\), i.e., the state estimate of \(x_{i}(t)\) received by neighbors is \(\varphi _{i}(t)\). Note from definitions (1) and (3), we can get \(\varphi _{i}(t) = \xi _{i}(t)\).

3 Problem statement and protocol design

With the development of consensus and cooperation problems, lots of research works have focused on the effects of digital communication network [1421]. In real digital network, the precise state information between agents is not available, i.e., the information exchanges through agent network are all state estimates. The relevant works have been studied, and the usual protocol is the following:

$$\begin{aligned} x_{i}(t+1) = x_{i}(t) + hu_{i}(t), \quad t = 0, 1, 2, \ldots , \end{aligned}$$
(4)

where \(x_{i}(t) \in \mathbb {R}\) is the state of agent i, \(h > 0\) is the step size, and the controller of agent i is defined in detail as

$$\begin{aligned} u_{i}(t) = \sum _{j =1}^{N}w_{ij}(\hat{x}_{j}(t) - \hat{x}_{i}(t)), \end{aligned}$$

where \(\hat{x}_{i}(t)\) and \(\hat{x}_{j}(t)\) are the state estimates of agent i and its neighbors, respectively.

In the following, we consider the event-triggered control strategy for multi-agent network. Assume the sequence of event times for each agent i is \(0 = t_{0}^{i}, t_{1}^{i}, t_{2}^{i}, \ldots \), and the agent broadcasts its state only at its event time. Then the continuous measurements from neighbors are not available for each agent i; thus, we design the controller by utilizing the last measurements received from each neighbor \(j \in \mathscr {N}_{i}\) as follows:

$$\begin{aligned} u_{i}(t)= & {} \sum _{j =1}^{N}w_{ij}\left( \hat{x}_{j}\left( t_{k_{j}}^{j}\right) - \hat{x}_{i}\left( t_{k_{i}}^{i}\right) \right) ,\nonumber \\&t \in [t_{k_{i}}^{i}, t_{k_{i}+1}^{i}), \end{aligned}$$
(5)

where \(t_{k_{i}}^{i} = \arg \,\min _{k_{i} \in \mathbb {N}, t > t_{k_{i}}^{i}}\{t - t_{k_{i}}^{i}\}\), and \(\hat{x}_{i}(t_{k_{i}}^{i}), \hat{x}_{j}(t_{k_{j}}^{j})\) represent the estimates of last measurement state from agent i and its neighbors, respectively.

As a result, each agent i executes triggering only at its individual event times \(t_{k_{i}}^{i}\) and then transmits its quantized state to all its neighbors. Meanwhile, the agent i updates its controller by utilizing its own measurement state estimate and its neighbors’ measurement state estimate only when agent i triggers or its neighbors trigger. That is to say, in time interval \([t_{k_{i}}^{i}, t_{k_{i}+1}^{i})\), controller of each agent i will remain unchanged as a constant \(u_{i}(t_{k_{i}}^{i},t_{k_{j}}^{j})\) until its next triggering time instant \(t_{k_{i}+1}^{i}\) comes or there exists at least one neighbor agent triggers.

Combined with the above encode/decode scheme, a novel integrated communication framework is designed as Fig. 1. According to this framework, we here provide a formal and detailed algorithm to describe the communication process through a dynamic encode/decode scheme and event-triggered strategy. Assume each agent i has a memory that can store its own instant state \(x_{i}(t)\), state estimate \(\hat{x}_{i}(t)\) and its all neighbor state estimates \(\hat{x}_{j}(t), j\in \mathscr {N}_{i}\). Furthermore, the initial states of all agents are given as \(x(0)=(x_{1}(0), \ldots , x_{N}(0))^{T}\), and the all initial event time \(t_{0}^{i}\) and all state estimates \(\hat{x}_{i}(0), i=1, 2, \ldots , N\) are initialized to 0. Then each agent should implement the following algorithm at each time instant.

figure a
Fig. 1
figure 1

The integrated communication framework

Remark 1

In this framework, the events play a key role in communication process. Only when the event is triggered, the agent’s encoder begins to work and transmits the quantization result to neighbor agents. Correspondingly, the neighbors’ decoders receive the symbolic data and decode this data to obtain the state estimates. In other words, the work time of encoder/decoder is the event time of relevant agents rather than all time instants. Therefore, the operated objects of encoder/decoder are the corresponding measurement states and measurement state estimates as in Algorithm 1.

4 Consensus analysis under encode/decode scheme and event-triggered mechanism

In the multi-agent network with digital communication channels, we usually employ a variable called estimate error to describe the degree that the state estimate deviates from the corresponding precise state. Now with the presence of event-triggered strategy, we need to define a new variable named measurement error as follows:

$$\begin{aligned} \hat{e}_{i}(t)= & {} \hat{x}_{i}\left( {t_{k_{i}}^{i}}\right) - x_{i}(t), \nonumber \\&t\in [t_{k_{i}}^{i}, t_{k_{i}+1}^{i}), i = 1, 2, \ldots , N. \end{aligned}$$
(6)

It represents the degree that the present time precise state deviates from the last sample time state estimate. When the measurement error reaches a threshold prescribed in advance, the event is triggered and then the agent begins to broadcast its state information.

Let \(A = (a_{ij})\) with \(a_{ij} = hw_{ij}\ge 0\) for \(i \ne j\) and \(a_{ii} = 1 - \sum _{j=1, j\ne i}^{N}a_{ij}\). Note here we assume \(a_{ii} > 0\), then A is said to be double stochastic because A satisfies \(A\mathbf {1} = \mathbf {1}\) and \(A = A^{T}\). From (5) and (6), the protocol (4) can be rewritten as

$$\begin{aligned} x_{i}(t+1)&= x_{i}(t) + h\sum _{j =1}^{N}w_{ij}\left( \hat{x}_{j}\left( t_{k_{j}}^{j}\right) - \hat{x}_{i}\left( t_{k_{i}}^{i}\right) \right) \nonumber \\&= x_{i}(t) + \sum _{j \in \mathscr {N}_{i}}a_{ij}\left( \hat{x}_{j}\left( t_{k_{j}}^{j}\right) - \hat{x}_{i}\left( t_{k_{i}}^{i}\right) \right) \nonumber \\&= x_{i}(t) + \sum _{j =1}^{N}a_{ij}\hat{x}_{j}\left( t_{k_{j}}^{j}\right) - \hat{x}_{i}\left( t_{k_{i}}^{i}\right) \nonumber \\&= -\hat{e}_{i}(t) + \sum _{j =1}^{N}a_{ij}\hat{x}_{j}\left( t_{k_{j}}^{j}\right) . \end{aligned}$$
(7)

Considering that each agent can only obtain its neighbors’ symbolic data, the event is also computed only depending on local information that is available to each agent. We propose the following event-triggering condition:

$$\begin{aligned} \hat{e}_{i}^{2}(t) \ge \frac{a_{ii}^{2}}{4} \sum _{j\in \mathscr {N}_{i}}a_{ij}\left( \hat{x}_{j}\left( t_{k_{j}}^{j}\right) - \hat{x}_{i}\left( t_{k_{i}}^{i}\right) \right) ^{2}, \end{aligned}$$
(8)

where \(t \in [t_{k_{i}}^{i}, t_{k_{i}+1}^{i})\). Once the condition (8) is satisfied, the event is triggered.

Remark 2

Note that the above event-triggering condition is truly distributed. In this design, not only the required states information is local but also the key parameters are also local. Therefore, the above developed event-triggering threshold has an obvious advantage under real condition where the global information of communication graph is not available.

Theorem 1

Consider multi-agent network (4) with control input (5) under event-triggering condition (8). Assume that the communication graph is undirected and connected. Then the consensus can be reached, and all agents asymptotically converge to their initial state average, i.e., \(\{x_{c} \in \mathbb {R} | \Delta V(t) = 0\} = \frac{1}{N}\sum _{i=1}^{N}x_{i}(0)\).

Proof

We here firstly discuss the objective consensus states. Substituting (5) and (6) into protocol (4), we can obtain the following compact matrix form:

$$\begin{aligned} x(t+1) = (1-hL)x(t)-hL\hat{e}(t), \end{aligned}$$
(9)

where \(x(t) = (x_{1}(t), \ldots , x_{N}(t))^{T}\), and \(\hat{e}(t) = (\hat{e}_{1}(t), \ldots , \hat{e}_{N}(t))^{T}\).

Let \(J_{N}=\left( \frac{1}{N}\right) \mathbf {1}\mathbf {1}^{T}\in \mathbb {R}^{N\times N}\), since \(J_{N}L=\mathbf {0}\); then from (9), we can have the equality

$$\begin{aligned} \frac{1}{N} \sum _{i=1}^{N}x_{i}(t+1) = \frac{1}{N} \sum _{i=1}^{N}x_{i}(t), \quad t = 0, 1, \ldots , \end{aligned}$$
(10)

which implies the state average remains constant as time goes on, i.e., \(\frac{1}{N}\sum _{i=1}^{N}x_{i}(t) \equiv \frac{1}{N}\sum _{i=1}^{N}x_{i}(0)\).

For the proof of convergence under event-triggered condition (8), please see “Appendix.” \(\square \)

5 One-bit quantized scheme

Since the supporting quantization value is often limited by the voltage value of real communication device, thus the dynamic quantization factor in encoder (1) plays an important role in avoiding saturate quantization. In this section, we will provide an effective quantized scheme to select the proper quantization factor and to save the precious communication bandwidth to the largest extent.

Note the quantized content \(x_{i}(t) - \xi _{i}(t-1) \rightarrow 0\) as \(t\rightarrow \infty \) when the consensus is achieved asymptotically. According to this character, in order to precisely quantize the real-value state information, we should design a proper quantization factor including the following two properties:

  1. (i)

    the function \(\eta _{i}(t)\) should decrease as time goes on;

  2. (ii)

    the function \(\eta _{i}(t)\) should be large enough to make the saturate quantization does not happen.

Assume the quantization level is \(2K+1\), and the sequence of quantization factor \(\eta _{i}(t)\) is denoted by \(\eta _{0}^{i}, \eta _{1}^{i}, \ldots ,\) \(\eta _{m-1}^{i}, \eta _{m}^{i}, \ldots \). The initial states of all agents are given as \(x(0)=(x_{1}(0), \ldots , x_{N}(0))^{T}\) and \(\max \limits _{i} |x_{i}(0)| \le C_{0}\). Then we design the following self-adaptive avoidance algorithm for quantizer:

figure b

According to the above Algorithm 2, we can select a proper quantization factor for any given quantization level \(2K+1\) with \(K\in \mathbb {N}^{+}\). Note that if the quantization level of quantizer is \(2K+1\), then the required bit number of each data transmitting is \(\lfloor \log _{2}(2K) \rfloor +1 \). In the view of saving communication bandwidth, one will wonder how many bits are necessary for each information transmitting between agents. Naturally, when \(K=1\), we then get the least three-level quantizer

$$\begin{aligned} q(x)=\left\{ \begin{array}{l@{\quad }l} 0, &{}\textstyle -\frac{1}{2} < x < \frac{1}{2}, \\ 1, &{}\textstyle x \ge \frac{1}{2}, \\ -1, &{}\textstyle x \le -\frac{1}{2}, \end{array}\right. \end{aligned}$$
(11)

in which condition, the necessary bit number is two.

Remark 3

We can further reduce the number of necessary bits to only one by carrying out the following improved communication strategy: When the output result of quantizer \(\varPhi _{i}\) is zero, the quantizer does not broadcast its output to neighbor agents. From decoder (3), the last measurement state estimate is equal to the previous measurement state estimate when the received symbolic data are zero. Thus the improved communication strategy is reasonable and a \(2K+1\)-level quantizer requires at least \(\lceil \log _{2}(2K)\rceil \) bits to transmit quantized data without error under this improved strategy. Especially, the three-level quantizer only needs one bit to send its output result.

6 Simulations

In this section, we provide some simulations to verify and illustrate the proposed framework and the one-bit quantized scheme. Consider the information interactive network with communication graph \(\mathscr {G}\) given in Fig. 2, and the initial state values of agents are randomly generated in the interval \([-20,20]\). To save communication bandwidth, we employ a one-bit quantizer, i.e., each information transmitting only uses one bit to exchange symbolic data. We set quantization interval \(\varDelta = 1\), and \( C_{0}=20, \gamma = 0.9\), and then a group of simulation results are obtained.

Fig. 2
figure 2

The weighted interaction network with six agents

Figure 3 shows the state evolutions of all agents, in which all agents’ state average denoted by black line holds constant and the objective consensus state converges to this state asymptotically. Figure 4 shows the controller state evolutions of all agents. The evolution of measurement error of first agent is shown in Fig. 5, in which \(| e_{1}(t)| = |\hat{e}_{1}(t)|\) is the measurement error of agent 1 and \(|e_{1,max}(t)|=\sqrt{\frac{a_{ii}^{2}}{4} \sum _{j\in \mathscr {N}_{i}}a_{ij}\left( \hat{x}_{j}(t_{k_{j}}^{j}) - \hat{x}_{i}(t_{k_{i}}^{i})\right) ^{2}}\) is the specified maximum threshold. Note the measurement error cannot be reset to zero owing to the existence of quantization error in encode/decode process. In Fig. 6, the events of each agent are marked in time interval [0, 200], from which we can see that the sampling is sporadic rather than every time instant. To show the event interval time more clearly, we plot the event step size in Fig. 7, from which we can easily see that the event step size is not homogeneous.

Fig. 3
figure 3

The position evolution of agent i, \(i=1,2, \ldots , 6\)

Fig. 4
figure 4

The velocity evolution of agent i, \(i=1,2, \ldots , 6\)

Fig. 5
figure 5

The evolution of measurement error and threshold

Fig. 6
figure 6

Event-triggering times of agent i, \(i=1,2, \ldots , 6\)

Fig. 7
figure 7

Event step size of agents. a Agent 1, b Agent 2, c Agent 3, d Agent 4, e Agent 5, f Agent 6

7 Conclusion

In this paper, we have studied the consensus problem for digital multi-agent networks equipped with encoders/decoders under event-triggered control strategy. We not only have proposed a integrated communication framework considering dynamic encode/decode technology and event-triggered strategy, but also have given the specific communication algorithm and derived the sufficient condition for reaching global consensus. Finally, we have also provided a one-bit quantized scheme which shows that the global consensus of digital network can still be reached based on only one-bit information exchange between agents at each quantized transmission. In the future, we will consider extending this integrated communication scheme to investigate the consensus problem of higher-order multi-agent networks with directed or switching topologies.