Abstract

This work presents a path-following controller for a unicycle robot. The main contribution of this paper is to demonstrate the restriction of transverse feedback linearization (TFL) to obtuse angles on piecewise linear paths. This restriction is experimentally demonstrated on a Kobuki mobile robot, where it is possible to observe, as a result of the limitation of the TFL, the convergence to another domain of attraction.

1. Introduction

Mobile robot applications have significantly increased in recent years. Following a general rule of technological evolution, mobile robotics has increasingly prioritized autonomy in relation to the environment, requiring greater efficiency of navigation and control systems. To ensure that a robot follows a reference path or to stabilize a robot at a desired point, a motion control system is needed. According to the type of reference to be followed by the mobile robot, the motion control systems are classified into three types:(1)Point stabilization(2)Trajectory tracking(3)Path following

The objective of point stabilization is to stabilize the robot in a certain desired position. According to [1], this objective cannot be achieved with continuous or smooth state feedback control laws if the robot is subject to nonholonomic constraints. In this case, approaches such as control laws that vary slightly in time [2] and discontinuous and hybrid feedbacks [3] can be used. Another way to avoid the problem of nonholonomy is the use of Frenet–Serret and Triedro [4] to describe the state space.

In trajectory tracking, the control laws that act on the robot must follow a parameterized law of timing associated with the movement.

In path following, the robot converges and follows a predefined path. This path does not have any temporal specification. The robot tracks a desired speed profile, and the controller acts on the orientation to drive the robot along the intended path [5].

Of the three categories described above, we chose the path-following technique for this work. In the path-following control, the forward speed of the robot tracks the desired speed profile, while the controller acts on the orientation of the robot in order to steer the vehicle along the path. Usually, smoother convergence to a path is achieved when path-following strategies are used compared with trajectory-tracking control laws [6].

There are several cases in which a path-following controller is appropriate for nonholonomic robotic systems, such as Samson [7], Morro et al. [8], Pazderski [9], and Soetanto et al. [10].

Approach for path following is transverse feedback linearization (TFL). The main advantage of adopting TFL is that the controllers guarantee path invariance. Some path-following control techniques, such as sliding control, do not have this property. Path invariance means that if the robot starts with tangential velocity to the path, the robot will remain on the path for all future time [11].

There are many examples in the literature of the use of TFL to control robotics systems.

In Nielsen and Maggiore [12], the authors solve the TFL for a car-like robot with fixed translational velocity. Akhtar and Nielsen [13] propose a path-following controller for a kinematic model of car-like mobile robots using TFL and tangential dynamic extension. Akhtar et al. [14] propose a path-following controller for a quadrotor using TFL and tangential dynamic extension. In Hladio et al. [15], the authors propose a path-following controller for a five-bar robotic manipulator using TFL to put the system into a normal form for control design. Akhtar et al. [11] propose path-following controllers for the kinematic model of car-like mobile robots using TFL with dynamic extension. Dovgobrod [16] proposes an algorithm to provide a precision stabilization of a vehicle on a path. Finally, Nguyen et al. [17] design a controller combining model predictive control and TFL techniques.

This article analyzes the response of TFL in relation to the piecewise linear path and, as its main contribution, demonstrates analytically the restriction to an obtuse path. This limitation is experimentally verified on a Kobuki mobile robot.

2. Problem Formulation

In this section, we demonstrate path-following controllers for a kinematic model of a unicycle. The following properties of the path-following strategy are assumed:(1)The robot is able to plan a piecewise linear path from the starting position to the goal position(2)Each line segment of the path should be controlled invariant

2.1. Kinematic Model of Robot

Consider the kinematic model of a unicycle mobile robot shown in Figure 1:

Here, represents the robot’s position in the plane, and is the robot’s heading. The control inputs are the translational speed and the angular velocity . The output of the system is the robot’s location in the plane, which is given by

The configuration space of (1) is , and the output space of (2) is . It is assumed that only the position coordinates of a robot are measured and continuous updates are provided in its state vector . The heading vector is defined as ; its Euclidean norm equals 1 and it points in the direction the robot is facing Figure 1.

2.2. Workspace

The unicycle robot model (1) operates in a workspace . The set is assumed to be compact and path-connected with a nonempty interior. The output space has a finite number of obstacles , . Each obstacle is assumed to be a closed, convex set. The free workspace is defined as .

The differential drive robot moves in the environment under the assumption that models (1) and (2) have a map of stored in its memory, which contains two distinguished points , .

2.3. Configuration Map

In order to model the fact that the robot is not simply a point with no area in its workspace, this section introduces the notion of a map.

Definition 1. There exists a set-valued function called the configuration map that maps each configuration of robot (1) to the set of all points belonging to the robot.

As depicted in Figure 1, it is assumed that the differential drive robot has a polygonal shape. Therefore, is a polygonal region in the plane, for is necessary to ensure that there are no collisions, during the period of time in which the robot is moving from the start to the goal position.

2.4. Path-Following Outputs for Path Planners

The path-following output associated to a smooth parameterized curve was defined in [18]. It consists of two complementary objects: a transversal output and a tangential output. The transversal output is a smooth function with the property that zero is a regular value of the function and . The tangential output is a projection which, given an output location , returns the value of with the property that is the closest point to on the given curve.

The resulting function , and is the path-following output. This virtual output has a clear physical meaning for path-following control design and can be viewed as a local diffeomorphism on the output space of the robot. In this section, keeping in mind that the paths will be generated as a sequence of waypoints, a procedure is presented to generate a set of linear path-following outputs from a sequence of waypoints.

Suppose that a sample-based path planner has returned a path from to as a sequence of points in which is a subset of a -dimensional real vector space (because the results of this section apply equally well in higher dimensions, we do not assume that the workspace of our robot is a subset of as in the case of the differential drive robot). That is, given a set with , and each . To avoid trivial cases, assume that, for each , . These points represent a planned path consisting of line segments , of nonzero length. A path-following output is associated with each line segment .

The span of the vector is a 1-dimensional subspace that is parallel to the (infinite) line passing through the line segment . The -dimensional subspace consists of vectors which annihilate . Let be the insertion map. The insertion map is represented by any matrix whose column vectors form a basis for relative to the given basis for . Finally, denote its associated dual map by . By construction, it is determined that . A zero-level set representation of the affine subspace containing is obtained usingwhere

It is now claimed that . If , then it can be expressed as a convex combination of and , i.e., , . Therefore,

The setand so the value of the transversal part of the path-following output associated to the line segment has been calculated. Repeating this for each line segment, a set of pairs is generated from the set of waypoints.

To compute the tangential part of the path-following output associated to , a constrained optimization problem is solved. To begin, a parametrization of is generated. Next, and are defined: and . Then, the curve is defined as via . It follows that . Given a point , consider the constrained optimization problem.

Problem 1.

Using Lagrange multipliers, the minimizing argument is given by

The value of for which can now be computed yielding the second part of the path-following output for line segment :

In summary, equations (5)–(8) define the path-following output associated to each line segment . This output happens to be a linear affine function of :

Using the fact that to simplify notation, let ; then, (9) can be written:

The set is further defined as follows:and then, each line segment is associated with the pairs

3. Transverse Feedback Linearization

Consider the differential drive robot configurations (1) and (2). Assume that the robot’s translational speed is a fixed positive constant. In addition, as in Section 2, a sample-based path planner has returned a path from to as a sequence of points in . Following the construction of Section 2.4, the sets and are known. Then, for each , the robot’s path-following output is given by

The path-following manifold of is the largest controlled invariant set containing the lift of the path

It is verified that belongs to the line that contains if and only if . Of course, is not controlled invariant: if the robot is initialized on but with parallel to , then the robot must leave the set before possibly returning to the set. From a planning point of view, such behaviors are obviously undesirable because they could lead to large deviations from the planned path and therefore collisions.

The direction in which the robot travels along the line depends on its initial conditions, which determine which component ( or ) the robot approaches. In the path-planning framework, the robot must move in a prescribed direction along each segment . This ensures that the robot always approaches so that it moves in the correct direction.

The path-following manifold of the line , , with respect to the differential drive robot (1) and (2) is given by a union of disjoint closed sets:whereand . Furthermore, , where .

Sets (16) and (17) are disjoint because , and set (15) is closed because its complement is open. The complement is given by and the empty set is open by definition.

is the controlled invariant set. Physically, it consists of all motions of the unicycle robot (1) for which the output signal (2) can be made to remain on the curve .

To prove, it is necessary to show that has a well-defined relative degree.

Proof. LetRecall ; the denominator of control (20) goes to zero if and only if . However, this condition is not allowed on . Suppose, by contradiction, that this occurs. Then, because , is nonsingular. Because , it is not possible for . The function yields a well-defined relative degree , where .

If the input , the feedback controller can be expressed mathematically as follows:where and .

Controller (20) is well defined on the open set , the feedback controller will result in a closed-loop system whose trajectories approach , and therefore, the output will approach the line .

4. Supervisory Control of TFL Path-Following Controllers

As shown in Section 3, on each line segment , controller (20) drives the robot to its path-following manifold. This section describes how the robot is switched from one line segment to the next and also how the convergence to is ensured.

Let . This tangential state describes the robot’s position on . When , the closest point to the robot’s output on the path defined by is . When , the closest point is . With this in mind, the algorithmic state machine shown in Figure 2 is used to supervise our path-following controllers.

In state , the robot’s control signal is given (10) by and . The supervisory control monitors how far the robot is from the next waypoint. When that distance is sufficiently small, controller (20) changes its parameters to .

In principle, controller (20) can use a different set of gains on each line segment. However, as the next proposition shows, a single set of gain values is chosen to ensure that the robot transitions from to and thus moves in the correct direction along the paths.

Proposition 1. With respect to system (18), a set is defined bywhere is positively invariant if controller (20) is used with

Proof. The Laplace transform is used to prove the existence of a domain of attraction for the system under analysis. Those domains of attraction, shown in Figure 3, are defined for asIt can be stated that path following is an output zeroing problem. Therefore, it is necessary to show that .
can be described as follows:If is normalized so that it is equal to 1, ; therefore, it can be deduced that if and only if . If for . There is a singularity because, in this case, .
For this case, it is sufficient to prove that , see Figure 4From expression (25),Developing the above differential equation using the Laplace transform yields the following:Therefore, if , and ; if , there exist two real poles:Recall :Therefore, if , and is positively invariant, .
Because the transversal proportional controller is given by, is an equilibrium point of the closed-loop transversal system. As a consequence, path invariance is achieved, meaning that if the robot is initialized in the path, it will remain in the path at all future points.

Thus, any initial condition in results in trajectories that approach , assuming the gains in (20) are chosen properly.

As a result when the supervisory control switches at time, from state to state , the controller will cause the robot to traverse the path in the desired direction so long as

Because controller (20) exponentially stabilizes , it is reasonable to assume that or is very close to it. As such, the next result says that if the robot is traversing segment in the correct direction, it will continue to traverse in the desired direction if .

5. Results and Conclusion

In this section, simulation results dealing with the TFL and experiments on Kobuki mobile robot are presented. The limitation of the TFL is illustrated by showing the robot’s inability to follow paths with obtuse angles.

In order to demonstrate the robot’s inability to correctly follow a path with obtuse angles, a control was implemented to follow the points [0 1; 25 30; 40 10] whose distance between them is Euclidean. The angle between the yellow and red straight segments is , and the robot’s initial state was . As a result, a convergence to another attraction domain was observed; consequently, the robot followed the opposite trajectory, as shown in Figure 5. In this figure, the red straight segment indicates the desired path and the purple straight segment indicates the path followed by the robot.

Circles were drawn at each point. The radius of these circles, , defines the path switching area; if the robot gets close enough as to the target point, the controller can then guide the robot through the next path. Such a transition can be observed in Figure 6.

Tests were performed on a robotic platform called Kobuki, made by Yujin Robot. It is controlled by an embedded Raspberry Pi 3 microcontroller running ROS (Robotic Operational System). Matlab software on a second computer was used to run the TFL controller, which communicated with the robot through an IEEE 802.11 wireless network.

The Kobuki mobile robot was asked to follow a set of points whose distance is Euclidean between them. To demonstrate the robot’s inability to follow an obtuse path, points were selected as the robot’s path, with the initial position given by and the gains given by and . As expected, the robot followed another attraction domain, as shown in Figure 7.

On the contrary, when the trajectory has only acute angles, the robot remains on the path. Figure 8(a) shows that the robot remains on the desired path Figure 8(b) and follows it. The initial position is given by ; the points followed by the robot were , , , and ; the gains were given by and .

In this paper, a path-following controller has been designed for a Kobuki mobile robot, using transverse feedback linearization for piecewise linear paths. The restriction of TFL was demonstrated using a kinematic model of a unicycle mobile robot. It has been shown that when the path has obtuse angles, the robot follows another domain of attraction, making the TFL unfeasible in these cases.

Data Availability

No data were used to support this study.

Conflicts of Interest

The authors declare that they have no conflicts of interest.