Next Article in Journal
Machine Learning Algorithms for Depression: Diagnosis, Insights, and Research Directions
Next Article in Special Issue
Leader-Based Trajectory Following in Unstructured Environments—From Concept to Real-World Implementation
Previous Article in Journal
A 3D Range-Only SLAM Algorithm Based on Improved Derivative UKF
Previous Article in Special Issue
Automatically Learning Formal Models from Autonomous Driving Software
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Practical Nonlinear Model Predictive Controller Design for Trajectory Tracking of Unmanned Vehicles

1
School of Mechanical and Precision Instrument Engineering, Xi’an University of Technology, Xi’an 710048, China
2
Department of Mechanical Engineering, University of Alaska Fairbanks, Fairbanks, AK 99775, USA
*
Author to whom correspondence should be addressed.
Electronics 2022, 11(7), 1110; https://doi.org/10.3390/electronics11071110
Submission received: 27 February 2022 / Revised: 21 March 2022 / Accepted: 28 March 2022 / Published: 31 March 2022

Abstract

:
The trajectory tracking issue of unmanned vehicles has attracted much attention recently, with the rapid development and implementation of sensing, communication, and computing technologies. This paper proposes a nonlinear model predictive controller (NMPC) for the trajectory tracking application of an unmanned vehicle (UV). First, a two-degree-of-freedom (2-DOF) kinematics model of this UV is used to derive the desirable controller with two control variables as forward velocity and yaw angle. Next, the one-step Euler method is employed to establish the nonlinear prediction model, then a nonlinear optimization objective function is formulated to minimize the tracking errors of forward velocity and yaw angle from a preset time-varying reference road. Finally, the effectiveness of the proposed NMPC scheme is assessed under two different driving scenarios via MATLAB simulations. The simulation results confirm that the proposed NMPC scheme reveals better control accuracy and computational efficiency than the standard MPC controller under two different prescribed roads. Moreover, an outdoor field test is conducted to verify the performance of the proposed NMPC scheme, and the results show that the proposed NMPC can be applied to the real vehicle and can improve the tracking accuracy and the driving stability of trajectory tracking.

1. Introduction

Currently, the driverless technology of unmanned vehicles (UVs) has attracted more and more attention from industrial and academic circles because the efficient control schemes of UVs have great potential in guaranteeing vehicle safety performance and traffic efficiency [1,2]. Trajectory tracking control [3,4,5] is a key link connecting environment perception and motion control for the implementation of UVs, and efficient trajectory tracking can improve the safety performances and ride comforts of UVs.
In the current research on the trajectory tracking problems, many intelligent optimization algorithms have been widely proposed for the trajectory tracking of UVs, such as the ant colony algorithm [6], particle swarm optimization algorithm [7], genetic algorithm [8], graphic algorithm [9,10], etc. Although these algorithms can track the prescribed path, they mainly adopt the infinite iteration method that requires a large amount of computation to obtain the optimal solutions; therefore, the real-time performance and tracking accuracy of those methods may not be guaranteed. Herein, as a popular iterative optimized control approach, model predictive control (MPC) [11,12] can simultaneously incorporate system state constraints and control input constraints into the controller design process, i.e., at each sample time, the future system inputs and outputs can be obtained by updating the control plant and can be optimized via an appropriate optimization algorithm in the predictive horizon, wherein the system constraints are easily put in an explicit form.
As reported in the literature [13,14,15,16,17,18,19,20], the MPC method has been widely employed in the trajectory tracking controller development for different types of UVs. For instance, in the literature [18], a control plant integrating the kinematic motions and the dynamic behaviors of an automated guided vehicle was established, and an MPC-based trajectory tracking controller was then designed. In [19], an MPC method was presented to control the forward steering of autonomous vehicles by continuously linearizing nonlinear vehicle models. In addition, a direct data-driven MPC method has been proposed in [20] to relax the laborious model identification procedure. A linear-parameter-varying MPC approach was proposed in [21] for UVs, and the control scheme was validated through simulation and experiment investigations. Similarly, in order to estimate the driver intentions and the underlying behaviors, an MPC approach integrating with recurrent neural network and memory cell was proposed for an unmanned vehicle [22], and the simulation results verified the improvements in trajectory tracking performances for this vehicle.
In short, most of the early literature [18,19,20,22] mainly focuses on the simulation investigations on trajectory tracking problems, and the real-platform or field test study is lacking. Moreover, due to the MPC execution load and extra modeling errors, it is hard to linearize the original (nonlinear) system around the current working point and then design an effective model-based predictive controller.
Fortunately, a nonlinear model predictive control (NMPC) approach has been extensively adopted in the practical path planning and trajectory tracking problem due to its inherent profits to deal with the nonlinear input constraints aiming at speeding up the online computation. In [23], an NMPC approach was presented to address the safety issues regarding collision avoidance and lateral stability of unmanned ground vehicles in high-speed conditions. Further, a trajectory tracking NMPC strategy was proposed in [24] to address the explicit state and input constraints for autonomous surface craft, and the real-time implementation of the NMPC was validated through the experimental results. In [25], a distributed control scheme was provided to achieve the accurate tracking control of the autonomous underwater vehicle motion by using NMPC techniques. It can be concluded from these two studies that the NMPC algorithm is very appropriate for solving the nonlinear optimization problem with lower computational cost. Besides, it is inevitably encountered with the regular and irregular roads in the real world. With the NMPC method, the computational efficiency and control accuracy for a nonlinear control system can be guaranteed [26].
Therefore, inspired by the literature mentioned above, this paper proposes a practical NMPC controller design for the trajectory tracking application of a UV considering the nonlinear road trajectory. The main contributions of this work are summarized as:
(1)
A novel NMPC controller is proposed to achieve the accurate trajectory tracking of the UV under different prescribed roads, wherein the one-step Euler method is used to establish the nonlinear prediction model. As model predictive control is an iterative process, the Euler method has the advantages of a wide range of numerical solutions, a simple form that is easy to calculate, thus the tracking errors of forward velocity and yaw angle are minimized through a nonlinear optimization method;
(2)
MATLAB simulations are carried out to verify the control performances of the proposed NMPC controller under two different driving scenarios, and the results show that the strategy can deal with the nonlinear road trajectory well, and can improve the tracking accuracy and the driving stability;
(3)
A simple test platform consisting of a scaled-down real racing car, sensors, microcontroller, and host computer is built up to verify the effectiveness of the designed NMPC controller in UV trajectory tracking applications.
The rest of this article is arranged as follows. The UV’s kinematic model formulation is described in Section 2. Next, the design procedure of this expected NMPC controller is provided in Section 3. Then, in order to verify the control performance of the presented NMPC controller, both simulation and field test verifications are orderly conducted and discussed in Section 4 and Section 5. Finally, the conclusions and perspectives of this paper are presented in Section 6.

2. The Unmanned Vehicle’s Kinematics Model

Here, a kinematic model of UV with two degree-of-freedoms (2-DOF) is adopted to perform the controller synthesis [21]. To mimic a real unmanned vehicle’s kinematic behaviors, it is assumed that this UV is driven by a servo motor installed in a rear wheel, and is steered by a servo motor installed in a front wheel. By ignoring the side-slip angle when making the front-wheel steering operation, as well as considering the longitudinal speed to be a constant value, one can construct the 2-DOF kinematic model as shown in Figure 1, in which point A X f , Y f and B X r , Y r stand for the center positions of the front axle and rear axle, and the other symbols used in this UV kinematic model are listed in Table 1.
In terms of the kinematic relationships of this UV, v r can be expressed by
v r = X ˙ r cos φ + Y ˙ r sin φ ,
The kinematic constraints between the rear- and front- axles of this UV are easily obtained
X ˙ r sin φ = Y ˙ r cos φ ,
X ˙ f sin φ + δ f = Y ˙ f cos φ + δ f ,
By integrating Equations (1) and (2), one obtains
X ˙ r = v r cos φ Y ˙ r = v r sin φ ,
By further transformation, we have the geometric relationship between points A and B satisfying
X f = X r + l cos φ Y f = Y r + l cos φ ,
For simplicity, let ω denote the derivative of φ , and by substituting Equation (4) into the derivative of Equation (5), we have
X ˙ f = v r cos φ l φ ˙ sin φ Y ˙ r = v r sin φ + l φ ˙ cos φ .
By further integrating Equation (6) with Equation (3), we obtain
φ ˙ = ω = v r l tan δ f ,
The expressions for R and δ f can be obtained as follows:
R = v r ω δ f = arctan l R ,
By combining Equations (4) and (7), we have
X ˙ r Y ˙ r φ ˙ = cos φ sin φ tan δ f / l v r ,
Thus, the state-space form of the kinematic equation for this UV can be formulated as
X ˙ r Y ˙ r φ ˙ = cos φ 0 sin φ 0 0 1 v r ω .
Define ξ k o u t = X r Y r φ T as the system output vector and u k i n = v r ω T as the control input vector, then Equation (10) is further rewritten as
ξ ˙ k o u t = cos φ 0 sin φ 0 0 1 u k i n .
It should be noted that the kinematics model can represent the relationship between the vehicle’s state of motion and the control input, thus the model predictive controller can achieve the purpose of predetermined control. Now, the kinematics model of the UV is completed, and the proposed controller design will be illustrated in the following.

3. Design of Nonlinear Model Predictive Control

As a popular iterative optimization method, model predictive control has been extensively applied to the trajectory tracking and path-following control of UVs in recent years. For a common MPC, it consists predictive model, rolling optimization, and feedback correction. It should be noticed that a predictive model can predict the future system inputs and outputs according to the current system states, rolling optimization can generate the optimized control sequence, and feedback correction is usually to feed the system states at a certain current time back to the control system as the new input to perform the optimization calculation at the next iteration. Particularly, the NMPC can actually handle the linear and nonlinear trajectory tracking problems with the upper-lower limits, herein the one-step Euler method is used to derive the nonlinear model prediction controller with expecting to enhance the tracking accuracy and rate of the UV. The proposed NMPC framework is shown in Figure 2.

3.1. Establishment of Nonlinear Prediction Model

To facilitate the expected nonlinear prediction model establishment for this UV, Equation (11) can be reconfigured as a nonlinear function expression as
x ˙ = f x t , u t y = g x t , u t .
Define x = φ , X r , Y r T as the state vector, i.e., ξ k o u t , u t as the control input vector, i.e., u k i n , thus we can have
f x t , u t = ω v r cos φ v r sin φ ,
g x t , u t = 0 1 0 0 0 1 x t .
In order to represent the NMPC controller design as a convex optimization problem, the discretization form of Equation (12) can be derived as
x k + 1 = F x k , x k y k = G x k .
where F x k , x k and G x k represent the discretized form of f x t , u t , and g x t , u t .
Furthermore, by introducing the sampling time T, the one-step Euler method is employed to describe the prediction model of Equation (15) as follows
x k + 1 = x k + ω k v r k cos φ k v r k sin φ k T = x k + f x k , u k T y k = g x k , u k .
Remark 1.
If the sampling time T is too short, the calculation burden will increase and the tracking accuracy of the control system will be affected. In contrast, if T is too large, a large cumulative error will inevitably be encountered in the control process, which will impose negative impacts on the dynamical performances of the control system. According to the Shannon sampling theory and the control periods of the actuators, the sample time is selected as T = 0.02 s in this paper.
For the control input u k , it is necessary to introduce its physical constraints, which is expressed as follows:
u m i n k u k u m a x k ,
Note that y r e f is the reference road trajectory, Δ y m i n and Δ y m a x represent for the minimal and maximal errors of the deviation between y k and y r e f , both of them can be adjusted in the process of rolling optimization. The constraint relationship between them is expressed as follows:
Δ y m i n y y r e f Δ y m a x .
To make a clear distinguishment, N p and N c are used to denote the control outputs in the prediction domain and the control domain, and the control outputs of Equation (16) in N p are expressed by
y k + 1 = g x k + 1 , u k + 1 y k + 2 = g x k + 2 , u k + 2 y k + N c = g x k + N c , u k + N c y k + N p = g x k + N p , u k + N p .
where the condition of N p and N c should satisfy N p N c . In this paper, we set the control horizon equal to the prediction horizon, N p = N c , in all simulations and experiments in order to predict future UV states as accurately as possible.
Additionally, the system outputs y k and the control inputs u k can be given by
Y k + 1 = y k + 1 , y k + 2 , , y k + N p T ,
U k = u k + 1 , u k + 2 , , u k + N c T .
The main objective of our expected NMPC design in N p is to minimize the tracking errors between the control output sequence and the reference trajectory sequence. To that end, the prescribed reference trajectory can be described as:
Y r e f k + 1 = y r e f k + 1 , y r e f k + 2 , , y r e f k + N p T .
Herein, our main goal is to minimize the tracking error in the prediction time domain N p , which is expressed by
m i n Y k + 1 Y r e f k + 1 .

3.2. Formulation of Objective Function

In order to find out the minimized solutions to the tracking error system described in (23), it is necessary to further transform (23) into a linear-quadratic-regulator (LQR) control problem. To this end, the weighting factors Q and R are introduced and the following LQR optimization problem can be formulated, which is expressed by
J cost k = i = 1 N p y k + i y r e f k + i T Q y k + i y r e f k + i + i = 1 N c u k + i T R u k + i .
where J cost k is the optimized objective function, i is the prediction step, Q is the weighting matrix that reveals the system’s ability to follow up the reference road trajectory, R is the weighting matrix that manifests the stability performance of the trajectory tracking control problem, at time step k .
Therefore, the optimization formulation of the desirable NMPC controller can be expressed as
m i n   J cost k .
Additionally, the physical constraints of the control input u k described in (16) and (17) should be considered to find out the optimized solutions of (25). Finally, the nonlinear optimization problem of the NMPC controller design can be formulated as
x k + i = x k + i 1 + f x k + i 1 T + u k + i 1 ,
y k + i 1 = g x k + i 1 , u k + i 1 ,
u m i n k u k + i u m a x k ,
Δ y m i n y k + i y r e f k + i Δ y m a x .
Practically, the optimal control sequence in N c at the sample time k can be obtained as
u k + i = u k + 1 , u k + 2 , u k + N c .

4. Simulation Verification

Here, comparative simulations have been performed under MATLAB software with the purpose of assessing the two MPC controllers: namely the traditional model predictive controller (TMPC) [27] and the proposed NMPC. The simulations are evaluated on this 2-DOF UV in the case of single-circle and twin-circle trajectory scenarios. Note that three indexes x , y , and φ are used to demonstrate the performances of the two MPC controllers.

4.1. Simulations under a Straight-Line Trajectory

First, we expect this UV to move on a preset straight-line(ST) trajectory from the starting point (0, 0) at a longitudinal velocity v = 1 m/s. The mathematical expression of the reference straight trajectory is Y r e f = 3 , and the simulation time was set as 5 s. Figure 3 displays the tracking response curves of this UV from the TMPC and the proposed NMPC controllers.
As shown in Figure 4, the three motion parameters x , y , and φ of this UV followed overall smooth trends for the two controllers. Meanwhile, the three motion parameters x , y , and φ converged to zero at about 2.5 s for our proposed NMPC and about 4.5 s for the TMPC.
Furthermore, the root mean square error (RMSE) value for the tracking errors of the three states is selected to quantitatively evaluate the control performance of the two MPC controllers, and based on the literature [28], the RMSE is defined by
χ RMSE = χ j χ r e f , j n = 1 n j = 1 n χ j χ r e f , j 2 ,   j = 1 n .
wherein χ is an n-dimensional state vector, and χ j is the value of j-th element in χ , χ r e f , j is the value of j-th element in the reference road trajectory, n is the length of χ .
The results in Table 2 show that the RMSE values of x , y , and φ for the proposed NMPC were reduced by about 51.14%, 1.35%, and 18.16% compared to those of the TMPC.
It can be seen from Figure 5 that under the ST condition, the change of the control input for the proposed NMPC is smoother than that of TMPC.

4.2. Simulations under a Single-Circle Trajectory

A regular single-circle trajectory (SCT) road with a radius of 6 m is chosen as the reference trajectory road, and the corresponding simulations are conducted in this scenario. As shown in Figure 6, the simulation results generated by the TMPC and designed NMPC controller can well follow the prescribed reference road from the starting point (−10, 0).
Additionally, to examine the tracking accuracy of the two MPC controllers against the reference trajectory road, the tracking errors of x , y , and φ for the UV under the SCT scenario are provided in Figure 7. It is obvious that the tracking errors of these three states of x , y , and φ present a flatter trend with converging to zero. Moreover, in comparison with the TMPC controller, the tracking errors of x , y , and φ for the proposed NMPC controller have obviously fewer fluctuations on a whole and can reach a relative stability state in a shorter time. Particularly, the tracking errors of x , y , and φ can converge to zero at about 2 s for the NMPC controller, and at 6 s for the TMPC controller.
Herein, Table 3 lists the RMSE comparisons of the tracking errors of x , y , and φ obtained by the TMPC and NMPC controllers under the SCT.
It can be seen from Figure 8 that the oscillation of the control input v r for the NMPC is much smaller than that of the TMPC under the SCT condition. Meanwhile, the control input ω of the NMPC can reach the target value faster.

4.3. Simulations under a Twin-Circle Trajectory

To further evaluate the tracking performance of the NMPC controller, a twin-circle trajectory (TCT) road is used to conduct the simulations. The related tracking response curves are presented in Figure 9. It can be seen that both the TMPC and NMPC controllers can track the preset TCT starting from point (−10, −0.2) closely. The UV is first running counterclockwise and then clockwise, after the lane change, our designed NMPC controller can still track another circular trajectory road with relatively higher accuracy. Furthermore, Figure 10 shows the tracking errors of x , y , and φ for the two MPC controllers against the reference trajectory. It is obvious that the tracking errors of x , y , and φ are relatively flat in this TCT scenario. In particular, the three states of x , y , and φ can converge to zero at around 2 s for our presented NMPC controller, and 6 s for the TMPC controller.
Table 4 summarizes the RMSE comparisons of the three states x , y , and φ for the two MPC controllers under the TCT. Compared with the TMPC controller, the RMSE values of x , y , and φ for the presented NMPC can be reduced by about 65.35%, 54.61%, and 71.10%, respectively.
It can be seen from Figure 11 that the control input v r for both MPC controllers have oscillations, but the oscillation amplitude of our proposed NMPC is significantly smaller than that of the TMPC. At the same time, the control input ω of the NMPC shows a faster response speed.
In general, our proposed NMPC controller exhibits better performance specifically for shorter tracking time and smaller fluctuation errors, in comparison with the TMPC controller. Additionally, according to the quantitative analysis of the tracking indexes as x , y , and φ , it is easily observed that our proposed NMPC controller has significant improvements in the tracking performance over the TMPC controller, which illustrates that the proposed NMPC has better control effects under three different driving scenarios.

5. Field Test Verification

In this section, an outdoor field test platform is constructed by ourselves in order to verify the effectiveness of those two MPC controllers. To facilitate the descriptions of this test platform, Figure 12 displays the schematic diagram of the experimental setup, and the outdoor field test photograph of this UV on the different prescribed road trajectories are provided in Figure 13. Different from the simulation verifications in Section 4, the field tests are conducted under two different driving scenarios.
Herein, a scaled unmanned vehicle—a BT-4 racing car, is used as the control plant, and an Arduino board (MEGA2560R3) is adopted to develop our proposed NMPC controller. Moreover, there are two DC (direct-current) motors in this BT-4 vehicle, one is used for steering, and another one is used to drive this UV at the rear wheel. Both DC motors are rooted in the Arduino (MEGA2560R3) board, using 54 digital I/O pins and 6-bit pulse width modulation (PWM) drivers. Because of the limitations of this self-established outdoor field test setup, only the measured points of x ,   y at the ground coordinates are collected to draw the tracking trajectories for this BT-4 vehicle, which are further utilized to compare and validate the tracking performances of the two different MPC controllers.

5.1. Test on Irregular Road

For the practical driving scenario, the irregular trajectory road (ITR) is often encountered. Thus, the outdoor field tests are conducted on a practical ITR, and the tracking response curves of this UV are shown in Figure 14. In which, the solid green line denotes the reference trajectory road, the blue-dotted and the red-dashed lines denote the tracking response curves generated by the TMPC and NMPC controllers, respectively. Moreover, Figure 15 reveals the tracking errors of x and y for the two MPC controllers regarding the reference trajectory road. It should be noticed that this UV runs starting from the point x 0 = 285 280 at v = 1 m/s under the ITR.
It is obvious from Figure 14 that the TMPC and proposed NMPC controller can track the ITR as possible as closely. Specifically, the blue-dashed line (denotes the tracking trajectory obtained by the NMPC controller) is much closer to the green-solid line (the reference trajectory) in comparison with the red-dashed line (denotes the tracking trajectory obtained by the TMPC controller). Furthermore, it is observed from Figure 15 that the tracking errors of x and y generated by the two MPC controllers could gradually converge to zero states, and the tracking error curves by the NMPC controller present a flatter appearance compared to the corresponding tracking curves by the TMPC controller. Particularly, the tracking error ranged from −10 cm to 15 cm for the NMPC controller and −15 cm to 35 cm for the TMPC controller in the X-direction. Additionally, in the Y-direction, the tracking errors of x and y are varied from 0 to 25 cm for the NMPC controller, and −20 cm to 50 cm for the TMPC controller, respectively.
Similar to the analysis of simulation verifications in Section 4, we herein use the RMSE comparisons of the tracking errors of x and y to evaluate the control performance of the designed controllers, which is presented in Table 5. In addition to this, the histogram comparisons of the tracking errors of x and y are also provided in Figure 16 to make a quantitative improvement of each tracking state for the TMPC and proposed NMPC controller under the ITR and the prescribed reference trajectory. Compared to the tracking performance of the TMPC controller, the UV using the NMPC controller can reduce its RMSE values of x and y by about 54.72% and 48.65%, respectively.

5.2. Test on Double-Circle Road

Except for the irregular road trajectory, it is very necessary to validate the control performances of the proposed NMPC controller under a general double-circle trajectory road (DCTR). An outdoor field test is performed under a prescribed DCTR with a radius of 2.5 m, which starts from x 0 = 250 50 with v = 1 m/s. Figure 17 displays the tracking response curves obtained by the TMPC and NMPC controllers, and Figure 18 plots the tracking error curves of x and y for the two MPC controllers against the reference trajectory road.
From Figure 17, it is easily seen that the two MPC controllers can nearly track the prescribed DCTR, and the tracking curves of the NMPC controller seem closer to the reference trajectory road. By a further observation from Figure 18, the tracking errors of x and y generated by the two MPC controllers are flat on a whole, yet the tracking errors by the NMPC controller can yield a smoother tendency and can enter into a relatively stable state at a faster rate compared to the TMPC controller. Besides, the tracking error of x is varied from −10 to 15 for the NMPC controller, and from −30 cm to 40 cm for the TMPC controller in the X-direction. Moreover, the tracking error of y is ranged from −20 cm to 10 cm for the NMPC controller and from −40 cm to 30 cm for the TMPC controller in the Y-direction.
Similarly, the RMSE comparisons of the tracking errors of x and y under this DCTR are quantitatively compared and provided in Table 6, and the histogram comparisons for the tracking errors of x and y are provided in Figure 16 to assess the control performance of the designed controller. It is clear from Table 6 and Figure 19 that the RMSE values of the tracking errors x and y for the NMPC controller are reduced by about 56.63% and 48.73%, respectively, in comparison with those of the TMPC controller, which further illustrates that the NMPC controller has better control effect under the DCTR scenario.

6. Conclusions

In this paper, a practical NMPC design method is proposed to achieve the accurate trajectory tracking application of a scaled UV. This desirable controller is developed based on a 2-DOF kinematics model of the UV, and in the framework of a standard MPC, the one-step Euler method is utilized to construct the nonlinear prediction model, then a nonlinear optimization objective function is formulated to minimize the tracking errors of forward velocity and yaw angle from a time-varying preset reference road. Finally, both the comparative simulations and the outdoor field tests are carried out to confirm the superior performances of the designed NMPC controller against the TMPC controller for this UV. The comparison of results demonstrates that the improvements of the tracking indexes x , y , and φ for the UV with the presented NMPC controller are at least 45%, 1.35%, and 18.16%, respectively. Moreover, the field outdoor test results show that the improvements of tracking indexes x and y for the UV with the proposed NMPC controller are about 54% and 48%, respectively, compared with those with the TMPC controller. On a whole, it can be concluded that the NMPC controller outperforms better control performances regarding the TMPC controller.
Future study will focus on the trajectory tracking controller design of this UV considering the kinematics and dynamics properties simultaneously, and the experimental validation of the proposed controller in a real-time outdoor field test platform.

Author Contributions

Conceptualization, H.P.; methodology, H.P.; validation, M.L. and N.L.; formal analysis, M.L. and N.L.; resources, H.P. and C.H.; funding acquisition, H.P.; supervision, H.P. and C.H.; writing—original draft preparation, H.P.; writing—review and editing, H.P. and C.H. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the National Natural Science Foundation of China under Grant 51675423.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Lin, Y.C.; Lin, C.L.; Huang, S.T.; Kuo, C.H. Implementation of an Autonomous Overtaking System Based on Time to Lane Crossing Estimation and Model Predictive Control. Electronics 2021, 10, 2293. [Google Scholar] [CrossRef]
  2. Hu, C.; Qin, Y.; Cao, H. Lane keeping of autonomous vehicles based on differential steering with adaptive multivariable super-twisting control. Mech. Syst. Signal Process. 2019, 125, 330–346. [Google Scholar] [CrossRef]
  3. Wang, Z.; Wang, J. Ultra-local model predictive control: A model-free approach and its application on automated vehicle trajectory tracking. Control Eng. Pract. 2020, 101, 104482. [Google Scholar] [CrossRef]
  4. Wang, R.; Jing, H.; Hu, C. Robust H∞ path following control for autonomous ground vehicles with delay and data dropout. IEEE Trans. Intell. Transp. Syst. 2016, 17, 2042–2050. [Google Scholar] [CrossRef]
  5. Wang, Y.; Gao, S.; Chu, H.; Wang, X. Planning of Electric Taxi Charging Stations Based on Travel Data Characteristics. Electronics 2021, 10, 1947. [Google Scholar] [CrossRef]
  6. Li, J.; Xu, B.; Yang, Y. Three-phase qubits-based quantum ant colony optimization algorithm for path planning of automated guided vehicles. Int. J. Robot. Autom. 2019, 34, 156–163. [Google Scholar] [CrossRef]
  7. Ma, Y.; Hu, M.; Yan, X. Multi-objective path planning for unmanned surface vehicle with currents effects. ISA Trans. 2018, 75, 137–156. [Google Scholar] [CrossRef]
  8. Hu, L.; Gu, Z.Q.; Huang, J. Research and realization of optimum route planning in vehicle navigation systems based on a hybrid genetic algorithm. Proc. Inst. Mech. Eng. Part D J. Automob. Eng. 2008, 222, 757–763. [Google Scholar] [CrossRef]
  9. Chalvet, V.; Haddab, Y.; Lutz, P. Trajectory planning for micromanipulation with a non-redundant digital microrobot: Shortest path algorithm optimization with a hypercube graph representation. J. Mech. Robot. 2016, 8, 021013. [Google Scholar] [CrossRef]
  10. Ambike, S.; Schmiedeler, J.P.; Stanišić, M.M. Trajectory tracking via independent solutions to the geometric and temporal tracking subproblems. J. Mech. Robot. 2011, 3, 021008. [Google Scholar] [CrossRef]
  11. Jeong, Y.; Yim, J. Model Predictive Control-Based Integrated Path Tracking and Velocity Control for Autonomous Vehicle with Four-Wheel Independent Steering and Driving. Electronics 2021, 10, 2812. [Google Scholar] [CrossRef]
  12. Huang, Y.; Ding, H.; Zhang, Y. A motion planning and tracking framework for autonomous vehicles based on artificial potential field elaborated resistance network approach. IEEE Trans. Ind. Electron. 2019, 67, 1376–1386. [Google Scholar] [CrossRef]
  13. Yang, J.A.; Kuo, C.H. Integrating Vehicle Positioning and Path Tracking Practices for an Autonomous Vehicle Prototype in Campus Environment. Electronics 2021, 10, 2703. [Google Scholar] [CrossRef]
  14. Schwarting, W.; Alonso-Mora, J.; Paull, L. Safe nonlinear trajectory generation for parallel autonomy with a dynamic vehicle model. IEEE Trans. Intell. Transp. Syst. 2017, 19, 2994–3008. [Google Scholar] [CrossRef] [Green Version]
  15. Guo, H.; Liu, F.; Xu, F. Nonlinear model predictive lateral stability control of active chassis for intelligent vehicles and its FPGA implementation. IEEE Trans. Syst. Man Cybern. Syst. 2017, 49, 2–13. [Google Scholar] [CrossRef]
  16. Bujarbaruah, M.; Zhang, X.; Borrelli, F. Adaptive MPC with chance constraints for FIR systems. In Proceedings of the Annual American Control Conference, Milwaukee, WI, USA, 27–29 June 2018. [Google Scholar]
  17. Kim, E.; Kim, J.; Sunwoo, M. Model predictive control strategy for smooth path tracking of autonomous vehicles with steering actuator dynamics. Int. J. Automot. Technol. 2014, 15, 1155–1164. [Google Scholar] [CrossRef]
  18. Shen, C.; Guo, H.; Liu, F. MPC-based path tracking controller design for autonomous ground vehicles. In Proceedings of the 36th Chinese Control Conference, Dalian, China, 26–28 July 2017. [Google Scholar]
  19. Law, C.K.; Dalal, D.; Shearrow, S. Robust model predictive control for autonomous vehicles/self driving Cars. arXiv 2018, arXiv:1805.08551. [Google Scholar]
  20. Piga, D.; Formentin, S.; Bemporad, A. Direct data-driven control of constrained systems. IEEE Trans. Control Syst. Technol. 2017, 26, 1422–1429. [Google Scholar] [CrossRef] [Green Version]
  21. Pang, H.; Liu, N.; Hu, C.; Xu, Z. A practical trajectory tracking control of autonomous vehicles using linear time-varying MPC method. Proc. Inst. Mech. Eng. Part D J. Automob. Eng. 2022, 236, 709–723. [Google Scholar] [CrossRef]
  22. Chen, Y.; Hu, C.; Wang, J. Human-centered trajectory tracking control for autonomous vehicles with driver cut-in behavior prediction. IEEE Trans. Veh. Technol. 2019, 68, 8461–8471. [Google Scholar] [CrossRef]
  23. Hang, P.; Huang, S.; Chen, X. Path planning of collision avoidance for unmanned ground vehicles: A nonlinear model predictive control approach. Proc. Inst. Mech. Eng. Part I J. Syst. Control Eng. 2021, 235, 222–236. [Google Scholar] [CrossRef]
  24. Guerreiro, B.J.; Silvestre, C.; Cunha, R. Trajectory tracking nonlinear model predictive control for autonomous surface craft. IEEE Trans. Control Syst. Technol. 2014, 22, 2160–2175. [Google Scholar] [CrossRef]
  25. Shen, C.; Buckham, B.; Shi, Y. Modified C/GMRES algorithm for fast nonlinear model predictive tracking control of AUVs. IEEE Trans. Control Syst. Technol. 2016, 25, 1896–1904. [Google Scholar] [CrossRef]
  26. Guo, N.; Lenzo, B.; Zhang, X. A real-time nonlinear model predictive controller for yaw motion optimization of distributed drive electric vehicles. IEEE Trans. Veh. Technol. 2020, 69, 4935–4946. [Google Scholar] [CrossRef] [Green Version]
  27. Kuhne, F.; Lages, W.F.; da Silva, J.G., Jr. Model predictive control of a mobile robot using linearization. Proc. Mechatron. Robot. 2004, 4, 525–530. [Google Scholar]
  28. Pang, H.; Zhang, X.; Yang, J. Adaptive backstepping-based control design for uncertain nonlinear active suspension system with input delay. Int. J. Robust Nonlinear Control 2019, 29, 5781–5800. [Google Scholar] [CrossRef]
Figure 1. The 2-DOF kinematic model of UV.
Figure 1. The 2-DOF kinematic model of UV.
Electronics 11 01110 g001
Figure 2. Block diagram of proposed NMPC controller.
Figure 2. Block diagram of proposed NMPC controller.
Electronics 11 01110 g002
Figure 3. The simulation tracking results under the ST.
Figure 3. The simulation tracking results under the ST.
Electronics 11 01110 g003
Figure 4. The tracking errors of x , y and φ under the ST.
Figure 4. The tracking errors of x , y and φ under the ST.
Electronics 11 01110 g004
Figure 5. The control input of the TMPC and NMPC controllers under the ST.
Figure 5. The control input of the TMPC and NMPC controllers under the ST.
Electronics 11 01110 g005
Figure 6. The simulation tracking results under the SCT.
Figure 6. The simulation tracking results under the SCT.
Electronics 11 01110 g006
Figure 7. The tracking errors of x , y, and φ under the SCT.
Figure 7. The tracking errors of x , y, and φ under the SCT.
Electronics 11 01110 g007
Figure 8. The control input of the TMPC and NMPC controllers under the SCT.
Figure 8. The control input of the TMPC and NMPC controllers under the SCT.
Electronics 11 01110 g008
Figure 9. The simulation tracking results under the TCT.
Figure 9. The simulation tracking results under the TCT.
Electronics 11 01110 g009
Figure 10. The tracking errors of x , y , and φ under the TCT.
Figure 10. The tracking errors of x , y , and φ under the TCT.
Electronics 11 01110 g010
Figure 11. The control input of the TMPC and NMPC controllers under the TCT.
Figure 11. The control input of the TMPC and NMPC controllers under the TCT.
Electronics 11 01110 g011
Figure 12. Schematic diagram of the experiment setup.
Figure 12. Schematic diagram of the experiment setup.
Electronics 11 01110 g012
Figure 13. Outdoor field test setup.
Figure 13. Outdoor field test setup.
Electronics 11 01110 g013
Figure 14. The tracking response curves of the two MPC controllers under the ITR.
Figure 14. The tracking response curves of the two MPC controllers under the ITR.
Electronics 11 01110 g014
Figure 15. The tracking errors of x and y for the two MPC controllers under the ITR.
Figure 15. The tracking errors of x and y for the two MPC controllers under the ITR.
Electronics 11 01110 g015
Figure 16. The histogram comparisons of two MPC controllers under the ITR.
Figure 16. The histogram comparisons of two MPC controllers under the ITR.
Electronics 11 01110 g016
Figure 17. The tracking response curves of the two MPC controllers under the DCTR.
Figure 17. The tracking response curves of the two MPC controllers under the DCTR.
Electronics 11 01110 g017
Figure 18. The tracking errors of x and y for the two MPC controllers under DCTR.
Figure 18. The tracking errors of x and y for the two MPC controllers under DCTR.
Electronics 11 01110 g018
Figure 19. The histogram comparisons of two MPC controllers under the DCTR.
Figure 19. The histogram comparisons of two MPC controllers under the DCTR.
Electronics 11 01110 g019
Table 1. The used symbols and parameters of UV.
Table 1. The used symbols and parameters of UV.
SymbolDescriptionSymbolDescription
A X f , Y f The center of the front axlelThe distance from point A to B
B X r , Y r The center of the rear axleωThe yaw rate of UV
δ f The deflection angle of the front axle φ The yaw angle of UV
v r The forward speed of point B
Table 2. The RMSE comparisons of the tracking errors of x , y , and φ under the ST.
Table 2. The RMSE comparisons of the tracking errors of x , y , and φ under the ST.
Type x y φ
TMPC0.5591.110.8264
NMPC0.2731 (↓51.14%)1.095 (↓1.35%)0.6763 (↓18.16%)
Table 3. The RMSE comparisons of the tracking errors of x , y , and φ under the SCT.
Table 3. The RMSE comparisons of the tracking errors of x , y , and φ under the SCT.
Type x y φ
TMPC0.22080.37340.2515
NMPC0.1210 (↓45.20%)0.2284 (↓40.44%)0.1285 (↓48.95%)
Table 4. The RMSE comparisons of the tracking errors of x , y , and φ under the TCT.
Table 4. The RMSE comparisons of the tracking errors of x , y , and φ under the TCT.
Type x y φ
TMPC0.16220.27430.1848
NMPC0.0562 (↓65.35%)0.1245 (↓54.61%)0.0543 (↓71.10%)
Table 5. The RMSE of the tracking errors of x ,   y under the single-circle road.
Table 5. The RMSE of the tracking errors of x ,   y under the single-circle road.
Type x y
TMPC1.58002.0039
NMPC0.7155 (↓54.72%)1.0029 (↓48.65%)
Table 6. The RMSE comparisons of the tracking errors of x and y under the DCTR.
Table 6. The RMSE comparisons of the tracking errors of x and y under the DCTR.
Type x y
TMPC2.78142.8215
NMPC1.2061 (↓56.63%)1.4465 (↓48.73%)
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Pang, H.; Liu, M.; Hu, C.; Liu, N. Practical Nonlinear Model Predictive Controller Design for Trajectory Tracking of Unmanned Vehicles. Electronics 2022, 11, 1110. https://doi.org/10.3390/electronics11071110

AMA Style

Pang H, Liu M, Hu C, Liu N. Practical Nonlinear Model Predictive Controller Design for Trajectory Tracking of Unmanned Vehicles. Electronics. 2022; 11(7):1110. https://doi.org/10.3390/electronics11071110

Chicago/Turabian Style

Pang, Hui, Minhao Liu, Chuan Hu, and Nan Liu. 2022. "Practical Nonlinear Model Predictive Controller Design for Trajectory Tracking of Unmanned Vehicles" Electronics 11, no. 7: 1110. https://doi.org/10.3390/electronics11071110

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop