# LMIs in Control/Applications/An LMI for Multi-Robot Systems/Consensus for Multi-Agent Systems

LMIs in Control/Applications/An LMI for Multi-Robot Systems/Consensus for Multi-Agent Systems

This application gives an instance of the use of LMIs in achieving consensus for multi-agent systems. More focus is placed on the flocking algorithm, which is one of the consensus algorithms extensively used in multi-robot systems.

**Introduction**Edit

A robot swarm is a network of multiple robots working together as a unit to achieve an objective. In order for robots in a swarm to work together, they need to come to consensus/agreement on a number of parameters. A number of algorithms called consensus algorithms exist to serve that purpose. Consensus Algorithms are algorithms that allow a set of agents to reach an agreement. Various areas such as graph theory, control theory and matrix theory overlap when it comes to designing consensus algorithms for multi-agent systems.

**Flocking Algorithm**Edit

The flocking algorithm is one of the consensus algorithms used in trajectory planning for multi-agent networks. The algorithm helps in maintaining separation, so that the agents do not collide, alignment, so that the agents have the same headings, and cohesion, so that the agents do not wonder far away from each other. The flocking algorithm can be represented in a graph network form, where the nodes in the graph represent the agents or individual robots, and the edges/links represent the nature of interaction between the nodes. Consequently. the interactions between the nodes can be Below is the general equation for a flocking algorithm.

, where

is the artificial potential function

is the number of robots

is the input/acceleration control

is the position vector of robot

, which is the distance between two neighboring robots

**Mathematical Model:**Edit

Before we begin, we need to obtain a state space representation for our system. Based on observation, it can be deduced that the general form of a consensus algorithm bears some resemblance to the state space equation. The general equation for a consensus algorithm in terms of the Laplacian matrix is:

, where represents the Laplacian matrix.

Comparing the above equation to the state space equation, , we notice that the has been substituted with a .

The A, B and C matrices are represented as diagonal blocks because of the decentralized nature of the control framework. Each block in the A, B and C matrices is associated with its corresponding state, input, or output vector.

x, u and y represent the state, input and output vectors respectively.

**Further Discussion:**Edit

In Elham Semsar-Kazerooni and Khashayar's paper, "Optimal Consensus Seeking in a Network of Multi-Agent Systems", further work was done through a series of variable substitutions and other mathematical operations to obtain the an LMI as seen below. For more information on the LMI formulation procedure, and the details of the variables in the above LMI, please visit follow the link in the reference section to review the paper.

Objective: .

Subject to::

## External LinksEdit

A list of references documenting and validating the LMI.

- LMI Methods in Optimal and Robust Control - A course on LMIs in Control by Matthew Peet.
- LMIs in Systems and Control Theory - A downloadable book on LMIs by Stephen Boyd.
- Seeking in Network and Multi-Agent Systems - Optimal Consensus Seeking in a Network of Multi-Agent Systems paper by Elham Semsar-Kazerooni and Khashayar.