Abstract
This paper presents three trajectory tracking control strategies for unicycle-type robots based on a leader-followers scheme. The leader robot converges asymptotically to a smooth trajectory, while the follower robots form an undirected open-chain configuration at the same time. It is also shown that the orientation angles of all the robots converge to the same value. The control laws are based on a dynamic extension of the kinematic model of each robot. The output function to be controlled is the midpoint of the wheel axis of every robot. This choice leads to an ill-defined control law when the robot is at rest. To avoid such singularities, a complementary control law is enabled momentarily when the linear velocity of the unicycles is close to zero. Finally, numerical simulations and real-time experiments show the performance of the control strategies.
1. Introduction
The coordination of multiple mobile robots involves a wide field of applications, such as toxic residue cleaning, transportation and manipulation of large objects, search and rescue, security, simulation of biological entities and behaviours, etc. [1]. Although legs and caterpillar-based locomotion has been studied in robotics literature, applications of multi-robot coordination have been mostly developed for wheeled mobile robots, specifically omnidirectional, unicycle and car-like robots. Current research focuses on the design and analysis of decentralized strategies that perform a desired group behaviour based on the local interactions of every robot with certain team members only. Therefore, the classical problems of a single mobile robot are extended to decentralized control laws applied to any number of robots and different scenarios of inter-robot communication. Current issues of multi-robot coordination can be decomposed into motion coordination, sensor networks, negotiation and task assignment [2, 3].
Motion coordination includes all the control laws that place or move the robots strategically within a workspace, according to the available local information about positions and goals of other team members. It encompasses formation control [4], collision avoidance [5], formation tracking [6] (also known as marching control [7]), dispersion, perimeter detection, traffic control, etc. The formation tracking control consists of the coordination of a group of robots to achieve a particular geometric pattern while the whole group follows a prescribed path (the marching path) at the same time. This problem is known as marching control or flocking behaviour [8]. The challenge of formation tracking is to ensure formation rigidity, obtained by the convergence of formation errors, when the robots are perturbed by the dynamics of the marching path. The main idea is to share as little information as possible about the goals and positions of other agents. This could reduce the computational load in the local processors of each agent. The problem is more complex in the case of non-holonomic robots than in the case of omnidirectional robots, specifically for unicycle-type robots, because the midpoint of the wheel axis cannot be stabilized by any continuous and time-invariant control law [9]. This restriction leads to an ill-defined control law when the robot is at rest. Thus, several works consider the front-points of robots as control outputs instead of the midpoint of the wheel axis in order to avoid singularities in the control law (see for instance [7, 10]). However, the resulting control laws do not influence the orientation angles directly, which remain uncontrolled and some conditions must be established to guarantee their convergence. Alternative works, such as [11], propose fuzzy logic control schemes but apply them to one robot only.
In the leader-followers scheme, the leader is a unique robot that possesses prior complete information about the marching trajectory, whilst the followers maintain some formation pattern during the path following [12]. To ensure formation preservation during path following, some information about the dynamics and velocity of the leader is transmitted directly or indirectly to all followers. For example, a convoy-type tracking formation is guaranteed if each robot knows the linear and angular velocities of the next robot in [13] or the velocity of the marching path in [7]. The trajectories of follower robots are designed in [14] to achieve relative orientation with respect to the leader. On the other hand, the convergence of the orientation angles is analysed in [15 and 16], if the leader always has a positive linear velocity. Finally, a control scheme based on dynamic feedback linearization is given in [16] and a path following control with tasks assigned to the follower robots is analysed in [17 and 18]. All this previous work does not address the singularities of the midpoint of the wheel axis. Also, the necessary information transmitted between robots can be translated in complex control algorithms, where the decentralization may be lost, due to the new requirements demanded by the control law for path following.
Inspired by our previous work [7], which related to the front point of unicycle robots, in this paper some control laws relating to the midpoint of the wheel axis are designed using a dynamic extension of the original kinematic model. The analysis is devoted to the case of the leader-follower scheme according to an open chain or convoy configuration [13]. The main aim of the paper is the design of three different control laws that ensure convergence of formation errors and convergence of the leader to the prescribed trajectory. The difference between these control laws resides in the state variables or signals that are fed back or fed forward, depending on the capacity of the agents and/or the communication devices. These approaches were presented briefly in [19]. It is proved that these three control laws also guarantee the convergence of the orientation angles. Our second contribution is the commutation of a secondary control law based on [20 and 21], when the longitudinal velocities are close to zero, which does not ensure path following but preserves the convergence of the orientation angles.
The paper is organized as follows. Section 2 presents the kinematic model of unicycles and the problem statement. The three control strategies are presented in Section 3, together with formal convergence proofs. Section 4 shows the performance of the marching control trough numerical simulations and real-time experiments. Finally some concluding remarks are given in Section 5.
2. Kinematic Model and Problem Statement
{R1,…,Rn} denotes a set of n unicycle-type robots moving in the plane. The kinematic model of each robot Ri, as shown in Figure 1, is given by

Kinematic model of unicycles
where xi,yi,θi, are the coordinates and the orientation of the midpoint of the wheel axis and vi, wi are its longitudinal and angular velocity, respectively. The outputs of the system (1) are given by zi = [xi yi]T, i = 1,…,n and their dynamics are given by
where Ã(θi) is the so-called decoupling matrix of every Ri. The decoupling matrix is singular for every value of θi. Moreover, as mentioned before, the dynamical system (1) cannot be stabilized by any continuous and time-invariant control law [9]. Using a dynamical extension of the kinematic model, we consider
where ξi = vi is a new state variable and ui is the new control signal. The previous system is obtained by the addition of a single integrator before input vi in the original model. The dynamics of the variables zi, i = 1,…,n for the extended system (3) is now given by
Note that det[Ai(θi,ξi)]=ξi. Therefore, the new decoupling matrix Ai(θi,ξi) is non-singular whenever ξi ≠ 0. Considering this restriction, it is possible to design a strategy to control the output functions zi. Based on the leader-followers scheme, consider Rn as the group leader and the rest as followers. Let z*i = [x*i
where c(i+1)i = [c(i+1)i,x c(i+i)i,y]T ϵ R2,i = 1, …, n - 1, denotes the desired relative position of Ri with respect to Ri+1 and m(t) = [xd(t) yd(t)T is a twice continuously differentiable function that corresponds to the desired trajectory of the leader. Therefore, the main objective of marching control with convergence of the orientation angles can be formally established as follows.
Figure 2 illustrates the position of the robots when they satisfy the desired trajectory tracking and formation pattern. The goal of the leader is to follow the marching path, whereas the goal of the followers is to maintain the desired pattern formation. Note that the marching control also requires that the orientation angles converge to the same value.

Marching with orientation control of unicycles
3. Control strategies
In this section, three marching strategies are presented for the group of unicycles. After that, a complementary control law is designed for when any of the main control laws approaches a singularity. The error coordinates are defined as
The first n-1 coordinates correspond to the formation errors of the follower robots, while en corresponds to the path following error of the leader. Using these error coordinates, we define the following marching control laws
for i = 1,…, n - 1, where k0, k1, c0, c1 are scalar design parameters. In the first strategy (7), the control law of every follower robot Ri includes the feed forward of the marching path acceleration and the position and velocity of robot Ri+1. This is modified in the second strategy (8) so that the follower robot Ri now has feedback with the position, velocity and acceleration o robot Ri+1 instead of the marching path. Finally, in the third strategy (9), the follower robots include the feed forward of the velocity and acceleration of the marching path and the position of the robot Ri+1. Note that the term żi - · in (9) can be represented in the error coordinates as
where ⊗ denotes the Kronecker product and the matrices Fi, Di are given, respectively, by
and
The key point now is to choose an appropriate permutation of the error coordinates. Define
With this choice, the dynamics of the error coordinates for the three closed-loop systems are given, respectively, by
where
with
and
with
It turns out that, for each one of the cases under analysis, the matrices Mi are block upper triangular. Therefore, the analysis of the spectra of Mi is reduced to the study of simple two-dimensional matrices. The fact that, for every control law k0,k1,c0, c1 > 0 implies straightforwardly that the whole dynamics are asymptotically stable.
On the other hand, the fact that
3.1. Commutation scheme
Recall that the control laws η1,η2 and η3 are ill defined when ξi = 0. When the robots are close to rest, consider the alternative output functions
The dynamics of these variables is simply given by
where M is the non-singular decoupling matrix. Therefore, it is possible to define the next feedback
where hd = [h1d h2d]T = [ξd θd]T and q0 is a design parameter. The control law η4 is the alternative strategy used when control laws (7), (8) or (9) are closed to a singularity. The rule of commutation can be established by
with δ > 0 as the commutation threshold. Finally, it is necessary to define the desired trajectory of hd to apply control law (15) according to
Control law (15) does not guarantee path following by the marching control. It only attempts to preserve the convergence of the orientation angles during the commutation interval.
The results follow.
4. Numerical Simulations and Real-Time Experiments
4.1. Simulation results
Figure 3 shows a numerical simulation of the closed-loop system (3)-(7) for n = 3,k0 =

Trajectory of robots in plane.
Note that the orientation angles errors (θi - θj) of Figure 4 converge to zero. Finally, the control inputs are presented in Figure 5 where the effects of the commutation become apparent.

Orientation angles errors.

Control for leader and follower robots.
4.2. Comparison of the control laws
A comparison among the three control strategies is done by using a performance index defined by
where
4.3. Real-time experiments
The Real-Time Experiments in this Section were carried out over an experimental setup composed of the following.
Three Yujin Robots, model YSR-A normally used for soccer competitions, each one equipped with a RF receiver, two brushless motors, two 512 pulses per turn encoders and built-in velocity controllers (Figure 6).
One DALSA video camera, model Genie M640-1/3, able to provide 64 frames per second at a maximum resolution of 640×480 pixels.
Two Pentium 4-based computers. The first computer processes the data provided by the video camera to estimate the posture of each robot. The second computer calculates and sends the required control input for each robot through a RF transmitter (Figure 7). Both computers are linked through unidirectional RS-232 communication.

Yujin Robots.

RF transmitter.
The experiments were completed using a sampling period of 20ms. The vision computer works using C# with the Foundation Package of Common Vision Blox. The control computer works using Matlab. Figure 8 shows a comparison of a numerical simulation and the real-time experiment involving the closed-loop system (3)-(8) for n = 3, k0 = c0 = 16, k1 = c1 = 8,q0 =2 and δ = 0.03. The desired formation is a triangle-shape pattern given by c32 = [0.2,0.2] and c21 = [-0.2,0.2]. The initial conditions are

Trajectory of robots in plane.
The desired marching path is the same as that of the previous simulation. Note that the orientation angle errors (θi - θj) obtained both in the simulation and the real-time experiment in Figure 9 converge to zero. Finally, the control inputs are presented in Figure 10 and 11, where the effects of the commutation can be appreciated.

Orientation angles errors.

Control for right wheels of the leader and follower robots.

Control for left wheels of the leader and follower robots.
5. Conclusions
Three control strategies have been proposed to solve the problem of formation tracking for groups of unicycles, using the extended kinematic model of the unicycle type-robot and partial information about other robots and the marching trajectory. The control laws steer the midpoint of the wheels' axis, therefore, exhibiting singularities when the longitudinal velocities are close to zero. To solve this drawback, a complementary control law is proposed, which does not ensure convergence to the desired trajectory, but preserves convergence of the orientation angles during the commutation intervals. The approach was successfully tested both through numerical simulations and real-time experiments. A natural outlook of this work would be to generalize the results to any type of connected graphs, not necessarily the open chain topology.
Footnotes
6. Acknowledgments
The authors acknowledge financial support from CONACyT and UIA, Mexico.
