Next Article in Journal
Governance in Maritime Passenger Transport: Green Public Procurement of Ferry Services
Previous Article in Journal
Simulating Electric Vehicle Diffusion and Charging Activities in France and Germany
Previous Article in Special Issue
Automatic Longitudinal Regenerative Control of EVs Based on a Driver Characteristics-Oriented Deceleration Model
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Obstacle Avoidance of Semi-Trailers Based on Nonlinear Model Predictive Control

1
School of Mechanical Engineering, University of Science and Technology Beijing, Beijing 100083, China
2
Institute of Artificial Intelligence, University of Science and Technology Beijing, Beijing 100083, China
*
Author to whom correspondence should be addressed.
World Electr. Veh. J. 2019, 10(4), 72; https://doi.org/10.3390/wevj10040072
Submission received: 31 July 2019 / Revised: 25 October 2019 / Accepted: 28 October 2019 / Published: 1 November 2019
(This article belongs to the Special Issue Autonomous Driving of EVs)

Abstract

:
Obstacle avoidance is a core part of the autonomous driving of off-road vehicles, such as semi-trailers. Due to the long length of semi-trailers, the traditional obstacle avoidance controller based on the circumcircle model can ensure that there is no collision between the semi-trailer and the obstacle, but it also greatly reduces the passable area. To solve this problem, we propose a new obstacle avoidance model. In this model, the distance between the obstacle and the middle line of semi-trailers is used as the indicator of obstacle avoidance. Based on this model, we design a new obstacle avoidance controller for semi-trailers. The simulation results show that the proposed controller can ensure that no collision occurs between the semi-trailer and the obstacle. The minimum distance between the obstacle center and the semi-trailer body trajectory is greater than the sum of the obstacle radius and the safety margin. Compared with the traditional obstacle avoidance controller based on the circumcircle model, the proposed controller greatly reduces the error between the semi-trailer and the reference path during obstacle avoidance.

1. Introduction

For unmanned vehicles, especially off-road unmanned vehicles, obstacle detection and avoidance are very important [1,2]. Semi-trailers are often used for off-road transport, and the goods being transported include ore and wood. So, obstacle avoidance of semi-trailers is a key technology of autonomous off-road transportation.
At present, there are two kinds of common obstacle avoidance methods for vehicles. One is non-global path planning, and the other is obstacle avoidance control through model predictive control (MPC). There are many obstacle avoidance methods based on path planning. Yuan proposed a multi-layer obstacle avoidance path planning method for tractor-trailer mobile robots [3]. Sgorbissa and Zaccaria proposed an improved path planning algorithm based on Artificial Potential Fields (APFs) [4]. Fahimi et al. proposed a method that allows multiple robots to avoid each other [5]. There is no doubt that these works are significant. However, researchers who study path planning often treat the vehicle as a point and do not focus on the constraints of the vehicle.
MPC is a control method that can explicitly take system constraints into consideration [6]. Thus, MPC is increasingly being applied to the control of vehicles. Yoon et al. proposed an obstacle avoidance controller based on MPC [7]. Frasch et al. improved the real-time performance of the MPC-based obstacle avoidance controller [8]. Gong et al. designed an MPC-based obstacle avoidance method based on the penalty function [9]. Nayl et al. proposed an MPC-based obstacle avoidance method for an articulated vehicle [10]. Wang et al. proposed an obstacle avoidance controller for three-dimensional space [11]. Liu et al. improved the robustness of the MPC-based obstacle avoidance controller and proposed a controller that simultaneously adjusts the velocity and heading [12,13]. Hua et al. proposed an MPC-based obstacle avoidance method based on the restricted areas penalty function [14]. We propose a nonlinear MPC-based obstacle avoidance controller for agricultural trailers [15]. These studies are of great significance for the application of MPC in the obstacle avoidance control of vehicles. However, in these papers, the vehicle was treated as a circumcircle of the vehicle or just a point.
It is safe to treat a small-sized robot as a point, but treating a large-sized vehicle as a point may cause a collision between the vehicle and the obstacle. Considering the vehicle as a circumcircle of the vehicle can avoid collisions completely. This model is safe for the obstacle avoidance control of the vehicle. However, for vehicles with a large length, the radius of the circumcircle is too large compared to the width of the body. For example, if the semi-trailer is treated as a circumcircle and the length of the semi-trailer is 16 m, the controller will have to control the vehicle to avoid obstacles within 8 m from the side of the body. For normal driving, it is not necessary for the distance between the vehicle and the obstacle to be so large. Moreover, treating the vehicle as a circumcircle will reduce the passable area of the vehicle.
Therefore, we believe that it is necessary to propose a new MPC-based controller for the obstacle avoidance control of semi-trailers. In this paper, the main contribution is to propose an obstacle avoidance model, and, based on this model, an obstacle avoidance controller for semi-trailers is designed. Compared to controllers based on the circumcircle model, the proposed controller can reduce the error between the vehicle and the reference path while ensuring no collisions occur.
The rest of this paper is arranged as follows: Section 2 introduces the obstacle avoidance model. In Section 3, the MPC controller is designed. Moreover, simulation results are given in Section 4. A brief conclusion of this paper is presented in Section 5.

2. Obstacle Avoidance Model

Both dynamic models [16] and kinematics models [17,18,19,20,21] can be used as the basis for the obstacle avoidance model. The dynamic model can accurately provide the position and posture of the vehicle, but this model is very complicated. Compared to the dynamic model, the kinematics model is simple, and when the driving velocity is not too high, the position and posture of the vehicle also can be accurately provided. Since the purpose of this paper is to propose an obstacle avoidance controller for off-road semi-trailers, and the off-road semi-trailer usually travels at low velocities, we use the kinematics model as the basis for the obstacle avoidance model. If a high velocity needs to be considered, a new obstacle avoidance model can be obtained by replacing the kinematics model with a dynamic model.

2.1. Kinematics Model

The semi-trailer consists of two bodies, of which the front body is the tractor and the rear body is the trailer. The kinematics model of the semi-trailer is shown in Figure 1. The physical meanings of the parameters are shown in Notation.
In kinematic models, it is generally assumed that the vehicle meets non-holonomic constraints. Therefore, for the tractor, it can be considered that its equivalent rear axle, that is, the point P where the traction disc is located, has no lateral velocity:
{ x ˙ f sin θ f y ˙ f cos θ f = 0 x ˙ f cos θ f + y ˙ f sin θ f = v f θ ˙ f l f b = v f tan δ
where x ˙ f , y ˙ f , and θ ˙ f are the state of the tractor, and vf and δ are the control inputs.
Then, (1) can be rewritten as
{ x ˙ f = v f cos θ f y ˙ f = v f sin θ f θ ˙ f = ( v f tan δ ) / l f b .
According to the geometric relationship, the positions of P f f and P f r can be derived:
{ x ˙ f f = v f cos θ f ( l f a + l f b ) θ ˙ f sin θ f y ˙ f f = v f sin θ f + ( l f a + l f b ) θ ˙ f cos θ f x ˙ f r = v f cos θ f + l f c θ ˙ f sin θ f y ˙ f r = v f sin θ f l f c θ ˙ f cos θ f .
Since the velocities of the trailer and the tractor at point P are the same and the equivalent rear axle of the trailer is also assumed to be without lateral velocity, the following equation can be obtained:
{ v r cos γ + l r b θ ˙ r sin γ = v f v r sin γ l r b θ ˙ r cos γ = 0 x ˙ r sin θ r y ˙ r cos θ r = 0 x ˙ r cos θ r + y ˙ r sin θ r = v r
where γ = θ f θ r .
Solving (4),
{ x ˙ r = v f cos γ cos θ r y ˙ r = v f cos γ sin θ r θ ˙ r = ( v f sin γ ) / l r b .
According to the geometric relationship, the positions of P r f and P r r can be derived:
{ x ˙ r f = v f cos γ cos θ r ( l r a + l r b ) θ ˙ r sin θ r y ˙ r f = v f cos γ sin θ r + ( l r a + l r b ) θ ˙ r cos θ r x ˙ r r = v f cos γ cos θ r + l r c θ ˙ r sin θ r y ˙ r r = v f cos γ sin θ r l r c θ ˙ r cos θ r .
Combining the above formulations, the kinematics model of the semi-trailer can be concluded, as follows:
θ ˙ f = v f tan δ / l f b θ ˙ r = v f sin γ / l r b γ ˙ = θ ˙ f θ ˙ r x ˙ f = v f cos θ f y ˙ f = v f sin θ f x ˙ f f = v f cos θ f l f a + l f b θ ˙ f sin θ f y ˙ f f = v f sin θ f + l f a + l f b θ ˙ f cos θ f x ˙ f r = v f cos θ f + l f c θ ˙ f sin θ f y ˙ f r = v f sin θ f l f c θ ˙ f cos θ f x ˙ r f = v f cos γ cos θ r l r a + l r b θ ˙ r sin θ r y ˙ r f = v f cos γ sin θ r + l r a + l r b θ ˙ r cos θ r x ˙ r r = v f cos γ cos θ r + l r c θ ˙ r sin θ r y ˙ r r = v f cos γ sin θ r l r c θ ˙ r cos θ r
where v f and δ are the control inputs.

2.2. Obstacle Avoidance Model

First, the principle of obstacle avoidance of the circumcircle model is introduced. In this paper, it is assumed that the obstacle is fixed, and the shape of the obstacle is a cylinder. So, we assume that, in the plane, the obstacle is a circle. In Figure 2, the black circle is the obstacle. Its radius is equal to the sum of the radius of the obstacle and the safety margin. For the circumcircle obstacle avoidance model, the circumcircle overlaps with the obstacle circle; that is, the obstacle avoidance fails, as shown in the red trajectory in Figure 2. The index for judging whether the circumcircle and the obstacle circle overlap is based on whether the distance between the center of the circumcircle and the center of the obstacle is greater than the sum of the radii of the two circles. Therefore, if the distance is less than the sum of the radii of the two circles, the penalty function will be set to a large value. Thus, the vehicle can be forced to travel along the green trajectory, thereby completing the obstacle avoidance. More details can be found in [9,14].
Figure 3 shows the circumcircle model of the semi-trailer, and the radius of the circumcircle is set to
r = l b 2 + ( ( l f a + l f b + l r b + l r c ) 2 ) 2 .
Obviously, for semi-trailers, the radius of the circumcircle is much larger than the width of the vehicle, so this model will seriously reduce the passability of the semi-trailer. So, the model must be changed, but, as shown in Figure 4, if we only reduce the radius of the circumcircle, it can increase the passability, but it may lead to obstacle avoidance failure. So, we propose a new model
The semi-trailer consists of two bodies, so the obstacle avoidance model can also be built separately. For the tractor, the area around the body can be divided into three parts, as shown in Figure 5. The physical meanings of the parameters are shown in Notation.
When the vehicle is moving forward, if the obstacle is in A , the obstacle will be in B in the future. Since the MPC controller can predict the state of the vehicle in a time domain, at a specific moment, the obstacle in A can be ignored, and this obstacle will be considered in the prediction time domain. If the obstacle is in C , it will not affect safety when the vehicle is moving forward. Therefore, the obstacle avoidance model only needs to express the situation that the obstacle is in B .
Whether the obstacle is in B or not can be judged by the following formula:
{ O B , | d 1 d 2 | < l f a + l f b + l f c O B , | d 1 d 2 | l f a + l f b + l f c .
Then, the following function can be set as the obstacle avoidance model according to the distance between the obstacle center and the middle line of the tractor:
s f = { l l d 3 , O B   and   l l > d 3 0 , O B   and   l l d 3 0 , O B
where
l l = l b + l r + l s
where l b is half the width of the semi-trailer, l r is the radius of the obstacle, and l s is the safety margin.
For the trailer, the same method can be used to establish the obstacle avoidance model. As shown in Figure 6, the area around the body can be divided into D , E , and F , and the obstacle avoidance model only needs to express the situation where the obstacle is in E . The physical meanings of the parameters in Figure 6 are shown in Notation. The final obstacle avoidance model for the trailer is shown as follows:
s r = { l l d 6 , O E   and   l l > d 6 0 , O E   and   l l d 6 0 , O E .
Combining (10) and (12), the obstacle avoidance model of the semi-trailer can be abbreviated as
s = [ s f s r ] T .

3. MPC Controller Design

The MPC controller usually consists of two parts: the prediction model and the optimization function. Therefore, the design of the obstacle avoidance controller is also divided into two parts.

3.1. Prediction Model

The basis of the prediction model is the obstacle avoidance model.
For clarity, (7) is abstracted as
x ˙ = f ( x , u )
where
x = [ θ f θ r γ x f y f x f f y f f x f r y f r x r f y r f x r r y r r ] T u = [ δ v f ] T
Since the control period is very small, (14) can be discretized by the Euler method as
x ( t + 1 | t ) = x ( t | t ) + T f ( x ( t | t ) , u ( t + 1 | t ) )
where T is the control period,
x ( t + 1 | t ) represents the first predicted value of x at time t , and u ( t + 1 | t ) represents the first predicted inputs at time t .
Then, the position and posture of the semi-trailer in the predicted time domain can be obtained:
x ( t + 1 | t ) = x ( t | t ) + T f ( x ( t | t ) , u ( t + 1 | t ) ) x ( t + N c | t ) = x ( t + N c 1 | t ) + T f ( x ( t + N c 1 | t ) , u ( t + N c | t ) ) x ( t + N c + 1 | t ) = x ( t + N c | t ) + T f ( x ( t + N c | t ) , u ( t + N c | t ) ) x ( t + N p | t ) = x ( t + N p 1 | t ) + T f ( x ( t + N p 1 | t ) , u ( t + N c | t ) )
where N p is the prediction time domain and N c is the control time domain.
From Notation, it can be obtained that s is a function of x .
s ( t + i | t ) = g ( x ( t + i | t ) )
where i = 1 , 2 , 3 , , N p .
So, (18) is the prediction model of the obstacle avoidance controller.

3.2. Optimization Function

Referring to [9,14,15], the optimization function of the MPC-based obstacle avoidance controller needs to be merged into the same optimization formula with the optimization function of the MPC-based path tracking controller. Therefore, the optimization function can be designed as follows:
J = J s + J p
where J s is the optimization function of the obstacle avoidance controller, and J p is the optimization function of the path tracking controller.
Currently, there are some MPC-based controllers for the path tracking of vehicles [22,23,24,25,26]. With reference to these papers, the optimization function of the MPC-based path tracking controller can be easily obtained. Therefore, the deduction process of J p is no longer described in this paper.
J s is designed as
J s = i = 1 N p s ( t + i | t ) P 2
where P is the weight matrix.
On this basis, we refer to the vehicle system constraints measured by Gong et al. [27] and consider making the vehicle travel as smoothly as possible. Thus, the final optimization objective function is designed as
min δ , v f J = i = 1 N p s ( t + i | t ) P 2 + J p s . t . v ˙ t ( 1   m / s 2 , 1   m / s 2 ) δ ( 0.44   rad , 0.44   rad ) δ ˙ ( 0.164   rad / s , 0.164   rad / s ) .
By solving (21), the following control sequence can be obtained:
u * = [ u ( t + 1 | t ) u ( t + 2 | t ) u ( t + N c | t ) ] T
where u ( t + 1 | t ) is the next control input to the semi-trailer.

4. Simulation

The proposed obstacle avoidance controller was simulated by MATLAB/Simulink (MathWorks, Natick, MA, USA). The algorithm of the optimization solution used was the active-set in MATLAB. Since the obstacle position information can be set directly, the obstacle detection system was not included in the simulation system. In the real world, the obstacle position information can be obtained by laser radars or other sensors. The parameters in the simulation system are shown in Table 1, where Q and R are the weight matrices of the optimization function of the path tracking control.
The proposed controller was compared with an obstacle avoidance controller based on a circumcircle model. The other parameters of this controller were the same as those of the proposed controller. In the simulation results, the controller proposed in this paper was named the controller based on the line model, and the other was named the controller based on the circumcircle model.
The simulation consisted of two groups. The purpose of the first group was to verify the performance of the two controllers when the obstacle was far from the reference path, and the purpose of the second group was to verify the performance when the obstacle was on the reference path.

4.1. First Group

In this group of simulations, the direction of the reference path was the same as that of the X -axis, and the obstacle was located to the left of the reference path at a distance of 2.5 m. This distance was greater than the sum of the half of the body width, the obstacle radius, and the safety margin. So, there was no need to avoid this obstacle.
Figure 7 shows the trajectory produced by the semi-trailer under the control of the proposed controller. Figure 8 is a partially enlarged view of this trajectory. The trajectory shows that the proposed controller did not control the semi-trailer to leave the reference path. Additionally, the minimum value of the distance between the obstacle center and the trajectory of the semi-trailer was 1.2510 m. This value is larger than the sum of the obstacle radius and the safety margin.
Figure 9 shows the trajectory produced by the semi-trailer under the control of the controller based on the circumcircle model. Figure 10 is a partially enlarged view of this trajectory. The trajectory indicates that this controller caused the semi-trailer to leave the reference path. Additionally, the minimum value of the distance between the obstacle center and the trajectory of the semi-trailer was 6.2015 m. This value is too big to be necessary.
Figure 11 and Figure 12 show the control inputs. Figure 13 shows the displacement error between the midpoint of the rear axle of the tractor and the reference path. The maximum displacement error of the controller based on the circumcircle model was 6.2009 m. This value of the proposed controller was 0 m. Figure 14 shows the heading error between the tractor and the reference path. The maximum heading error of the controller based on the circumcircle model was 0.3001 rad. The value of the proposed controller was 0 rad.
The above results show that the controller based on the circumcircle model greatly reduced the passable area of the semi-trailer. Additionally, the controller proposed in this paper was able to solve this problem. Compared with the controller based on the circumcircle model, the proposed controller reduced the displacement error and the heading error between the semi-trailer and the reference path by 6.2009 m and 0.3001 rad, respectively.

4.2. Second Group

In this group of simulations, the reference path was the same as that of the previous group. The obstacle was on the reference path.
Figure 15 shows the trajectory produced by the semi-trailer under the control of the proposed controller. Figure 16 is a partially enlarged view of this trajectory. The trajectory shows that the proposed controller kept the semi-trailer away from the obstacle. The minimum value of the distance between the obstacle center and the trajectory of the semi-trailer was 0.9398 m. This value is larger than the sum of the obstacle radius and the safety margin.
Figure 17 shows the trajectory produced by the semi-trailer under the control of the controller based on the circumcircle model. Figure 18 is a partially enlarged view of this trajectory. The trajectory shows that the controller based on the circumcircle model left the semi-trailer very far away from the reference path. The minimum value of the distance between the obstacle center and the trajectory of the semi-trailer was 1.9970 m. This value is too big to be necessary.
Figure 19 and Figure 20 show the control inputs. With the proposed controller, the semi-trailer traveled more smoothly. Figure 21 shows the displacement error between the midpoint of the rear axle of the tractor and the reference path. The maximum displacement error of the controller based on the circumcircle model was 25.3541 m. This value of the proposed controller was 2.5324 m. Figure 22 shows the heading error between the tractor and the reference path. The maximum heading error of the controller based on the circumcircle model was 1.5707 rad. This value of the proposed controller was 0.0866 rad.
Compared with the controller based on the circumcircle model, the proposed controller reduced the displacement error and the heading error between the semi-trailer and the reference path by 22.8217 m and 1.4841 rad, respectively.

4.3. Third Group

In this group of simulations, the reference path was the same as that used for the previous group. There were two obstacles in this set of simulations, and the first obstacle was on the reference path.
Figure 23 shows the trajectory produced by the semi-trailer under the control of the proposed controller. Figure 24 is a partially enlarged view of this trajectory. The trajectory shows that the proposed controller kept the semi-trailer away from the obstacle. The minimum value of the distance between the obstacle center and the trajectory of the semi-trailer was 0.9419 m. This value is larger than the sum of the obstacle radius and the safety margin.
Figure 25 and Figure 26 show the control inputs. With the proposed controller, the semi-trailer traveled more smoothly. Figure 27 shows the displacement error between the midpoint of the rear axle of the tractor and the reference path. The maximum displacement error was 2.5253 m. Figure 28 shows the heading error between the tractor and the reference path. The maximum heading error was 0.0872 rad. This set of simulation results shows that the obstacle avoidance controller is still effective when there are multiple obstacles.

5. Conclusions

Aiming at the obstacle avoidance control of the semi-trailer, we proposed a new obstacle avoidance model, and based on this model, an obstacle avoidance controller based on MPC was proposed. According to the simulation results, the following conclusions can be drawn.
Firstly, the controller proposed in this paper can ensure that there is no collision between the semi-trailer and the obstacle. In the simulation results, the minimum distance between the obstacle center and the body trajectory was 0.9398 m, which is greater than the sum of the obstacle radius and the safety margin.
Secondly, compared with the controller based on the circumcircle model, the proposed controller can reduce the error between the semi-trailer and the reference path during obstacle avoidance. In the simulation results, the displacement error was reduced by at least 6.2009 m, and the heading error was reduced by at least 0.3001 rad.
In addition, the simulation results show that although the controller based on the circumcircle model ensured no collision between the semi-trailer and the obstacle occurred, the semi-trailer was too far from the reference path during obstacle avoidance.
Taking into account the above conclusions, we think that the controller proposed in this paper is more suitable for the obstacle avoidance of semi-trailers than the traditional controller based on the circumcircle model.

Author Contributions

Conceptualization, G.B., C.L., and Y.M.; Methodology, G.B. and C.L.; Software, G.B.; Validation, G.B., and C.L.; Investigation, G.B.; Writing-original draft preparation, G.B. and C.L.; Writing-review and editing, Y.M., L.L., W.L., and Q.G.; Supervision, L.L. and W.L.; Project administration, L.L. and W.L.; Funding acquisition, L.L., W.L., Y.M., and Q.G.

Funding

This research was funded by the National Key Research and Development Program of China, grant number 2018YFC0604403 and 2016YFC0802905, the National High Technology Research and Development Program of China (863 program), grant number 2011AA060408 and the Fundamental Research Funds for the Central Universities, grant number FRF-TP-17-010A2.

Conflicts of Interest

The authors declare no conflict of interest. The funders had no role in the design of the study, in the collection, analyses, or interpretation of data, in the writing of the manuscript, or in the decision to publish the results.

Notation

δThe angle of the steering wheels of the semi-trailer
vfThe longitudinal velocity of the tractor
vrThe longitudinal velocity of the trailer
θfHeading of the tractor
θrHeading of the trailer
γThe angle between the tractor and the trailer
P (xf, yf)The midpoint of the equivalent rear axle of the tractor
The articulation point of the tractor and the trailer
Pff (xff, yff)The midpoint of the front end of the tractor
Pfr (xfr, yfr)The midpoint of the rear end of the tractor
Prf (xrf, yrf)The midpoint of the front end of the trailer
Prr (xrr, yrr)The midpoint of the rear end of the trailer
lfaDistance between the front axle and the front end of the tractor
lfbThe wheelbase of the tractor
lfcDistance between the rear axle and the rear end of the tractor
lraDistance between the articulation point and the front end of the trailer
lrbDistance between the articulation point and the axle of the trailer
lrcDistance between the axle and the rear end of the trailer
AThe area in front of the tractor
BThe area on the side of the tractor
CThe area behind the tractor
l1The straight line perpendicular to the body at point Pff, the parametric formula of lines y = cot(θf)(xxff) + yff
l2The straight line perpendicular to the body at point Pfr, the parametric formula of lines y = cot(θf)(xxfr) + yfr
l3Middle line of the tractor, parametric formula of lines y = tan(θf)(xxf) + yf
d1Distance between the obstacle center and l1
d2Distance between the obstacle center and l2
d3Distance between the obstacle center and l3
DThe area in front of the trailer
EThe area on the side of the trailer
FThe area behind the trailer
l4The straight line perpendicular to the body at point Prf, the parametric formula of lines y = cot(θr)(xxrf) + yrf
l5The straight line perpendicular to the body at point Pfr, the parametric formula of lines y = cot(θr)(xxrr) + yrr
l6The middle line of the trailer, the parametric formula of lines y = tan(θr)(xxf) + yf
d4Distance between the obstacle center and l4
d5Distance between the obstacle center and l5
d6Distance between the obstacle center and l6

References

  1. Larson, J. Off-Road Obstacle Classification and Traversability Analysis in the Presence of Negative Obstacles. Master’s Thesis, University of California, San Diego, CA, USA, 2011. [Google Scholar]
  2. Qiu, Q.; Yang, T.W.; Han, J.D. A new real-time algorithm for off-road terrain estimation using laser data. Sci. China Ser. F (Inf. Sci.) 2009, 52, 1658–1667. [Google Scholar] [CrossRef] [Green Version]
  3. Yuan, J. Hierarchical motion planning for multi-steering tractor-trailer mobile robots with on-axle hitching. IEEE-ASME Trans. Mech. 2017, 22, 1652–1662. [Google Scholar] [CrossRef]
  4. Sgorbissa, A.; Zaccaria, R. Planning and obstacle avoidance in mobile robotics. Robot. Auton. Syst. 2012, 60, 628–638. [Google Scholar] [CrossRef]
  5. Fahimi, F.; Nataraj, C.; Ashrafiuon, H. Real-time obstacle avoidance for multiple mobile robots. Robotica 2009, 27, 189–198. [Google Scholar] [CrossRef]
  6. Maciejowski, J.M. Introduction. In Predictive Control: With Constraints; Pearson Education: New York, NY, USA, 2002; pp. 1–32. [Google Scholar]
  7. Yoon, Y.; Shin, J.; Kim, H.J.; Park, Y.; Sastry, S. Model-predictive active steering and obstacle avoidance for autonomous ground vehicles. Control Eng. Pract. 2009, 17, 741–750. [Google Scholar] [CrossRef]
  8. Frasch, J.V.; Gray, A.; Zanon, M.; Ferreau, H.J. An auto-generated nonlinear MPC algorithm for real-time obstacle avoidance of ground vehicles. In Proceedings of the 2013 European Control Conference, Zurich, Switzerland, 17–19 July 2013. [Google Scholar] [CrossRef]
  9. Gong, J.W.; Jiang, Y.; Xu, W. Trajectory tracking control with planning layer. In Model Predictive Control for Self-Driving Vehicles; Beijing Institute of Technology Press: Beijing, China, 2014; Chapter 6; pp. 134–170. (In Chinese) [Google Scholar]
  10. Nayl, T.; Nikolakopoulos, G.; Gustafsson, T. Effect of kinematic parameters on MPC based on-line motion planning for an articulated vehicle. Robot. Auton. Syst. 2015, 70, 16–24. [Google Scholar] [CrossRef] [Green Version]
  11. Wang, M.; Luo, J.; Walter, U. A non-linear model predictive controller with obstacle avoidance for a space robot. Adv. Space Res. 2016, 57, 1737–1746. [Google Scholar] [CrossRef]
  12. Liu, J.; Jayakumar, P.; Stein, J.L.; Ersal, T. A double-worst-case formulation for improving the robustness of an MPC-based obstacle avoidance algorithm to parametric uncertainty. In Proceedings of the 2017 American Control Conference, Seattle, WA, USA, 24–26 May 2017. [Google Scholar] [CrossRef]
  13. Liu, J.; Jayakumar, P.; Stein, J.L.; Ersal, T. Combined speed and steering control in high-speed autonomous ground vehicles for obstacle avoidance using model predictive control. IEEE Trans. Veh. Technol. 2017, 66, 8746–8763. [Google Scholar] [CrossRef]
  14. Hua, X.F.; Duan, J.M.; Tian, X.S. Research on vehicle obstacle avoidance based on restricted areas penalty function and MPC prediction multiplication. Comput. Eng. Appl. 2018, 54, 131–138. (In Chinese) [Google Scholar]
  15. Bai, G.; Liu, L.; Meng, Y.; Luo, W.; Gu, Q.; Liang, C. Study of obstacle avoidance controller of agricultural tractor-trailers based on predictive control of nonlinear model. Trans. Chin. Soc. Agric. Mach. 2019, 50, 356–362. (In Chinese) [Google Scholar] [CrossRef]
  16. Zong, C.; Zhu, T.; Wang, C.; Liu, H. Multi-objective stability control algorithm of heavy tractor semi-trailer based on differential braking. Chin. J. Mech. Eng. 2012, 25, 88–97. [Google Scholar] [CrossRef]
  17. Lima, P.F.; Nilsson, M.; Trincavelli, M.; Martensson, J.; Wahlberg, B. Spatial model predictive control for smooth and accurate steering of an autonomous truck. IEEE Trans. Intell. Veh. 2017, 2, 238–250. [Google Scholar] [CrossRef]
  18. Wu, T.; Hung, J.Y. Path following for a tractor-trailer system using model predictive control. In Proceedings of the SoutheastCon 2017, Charlotte, NC, USA, 30 March–2 April 2017. [Google Scholar] [CrossRef]
  19. Nayl, T.; Nikolakopoulos, G.; Gustafsson, T. A full error dynamics switching modeling and control scheme for an articulated vehicle. Int. J. Control Autom. 2015, 13, 1221–1232. [Google Scholar] [CrossRef] [Green Version]
  20. Bin, Y.; Shim, T. Constrained model predictive control for backing-up tractor-trailer system. In Proceedings of the 10th World Congress on Intelligent Control and Automation, Beijing, China, 6–8 July 2012. [Google Scholar] [CrossRef]
  21. Astolfi, A.; Bolzern, P.; Locatelli, A. Path-tracking of a tractor-trailer vehicle along rectilinear and circular paths: A Lyapunov-based approach. IEEE Trans. Robot. Autom. 2004, 20, 154–160. [Google Scholar] [CrossRef]
  22. Backman, J.; Oksanen, T.; Visala, A. Navigation system for agricultural machines: Nonlinear model predictive path tracking. Comput. Electron. Agric. 2012, 82, 32–43. [Google Scholar] [CrossRef]
  23. Kraus, T.; Ferreau, H.J.; Kayacan, E.; Ramon, H.; De Baerdemaeker, J.; Diehl, M.; Saeys, W. Moving horizon estimation and nonlinear model predictive control for autonomous agricultural vehicles. Comput. Electron. Agric. 2013, 98, 25–33. [Google Scholar] [CrossRef]
  24. Oyelere, S.S. The application of model predictive control (MPC) to fast systems such as autonomous ground vehicles (AGV). IOSR J. Comput. Eng. 2014, 16, 27–37. [Google Scholar] [CrossRef]
  25. Kayacan, E.; Kayacan, E.; Ramon, H.; Saeys, W. Learning in centralized nonlinear model predictive control: Application to an autonomous tractor-trailer system. IEEE Trans. Control Syst. Technol. 2015, 23, 197–205. [Google Scholar] [CrossRef]
  26. Du, X.; Htet, K.K.K.; Tan, K.K. Development of a genetic-algorithm-based nonlinear model predictive control scheme on velocity and steering of autonomous vehicles. IEEE Trans. Ind. Electron. 2016, 63, 6970–6977. [Google Scholar] [CrossRef]
  27. Gong, J.W.; Xu, W.; Jiang, Y.; Liu, K.; Guo, H.F.; Sun, Y.J. Multi-constrained model predictive control for autonomous ground vehicle trajectory tracking. J. Beijing. Inst. Technol. 2015, 24, 441–443. [Google Scholar]
Figure 1. The kinematics model of the semi-trailer.
Figure 1. The kinematics model of the semi-trailer.
Wevj 10 00072 g001
Figure 2. Schematic diagram of the circumcircle model for obstacle avoidance.
Figure 2. Schematic diagram of the circumcircle model for obstacle avoidance.
Wevj 10 00072 g002
Figure 3. The circumcircle model of the semi-trailer.
Figure 3. The circumcircle model of the semi-trailer.
Wevj 10 00072 g003
Figure 4. Schematic diagram of the challenge of the circle model.
Figure 4. Schematic diagram of the challenge of the circle model.
Wevj 10 00072 g004
Figure 5. The obstacle avoidance model of the tractor.
Figure 5. The obstacle avoidance model of the tractor.
Wevj 10 00072 g005
Figure 6. The obstacle avoidance model of the trailer
Figure 6. The obstacle avoidance model of the trailer
Wevj 10 00072 g006
Figure 7. The trajectory of the obstacle avoidance controller based on the line model in the first group of simulations.
Figure 7. The trajectory of the obstacle avoidance controller based on the line model in the first group of simulations.
Wevj 10 00072 g007
Figure 8. Partially enlarged view of Figure 7.
Figure 8. Partially enlarged view of Figure 7.
Wevj 10 00072 g008
Figure 9. The trajectory of the obstacle avoidance controller based on the circumcircle model in the first group of simulations.
Figure 9. The trajectory of the obstacle avoidance controller based on the circumcircle model in the first group of simulations.
Wevj 10 00072 g009
Figure 10. Partially enlarged view of Figure 9.
Figure 10. Partially enlarged view of Figure 9.
Wevj 10 00072 g010
Figure 11. Longitudinal velocity in the first group of simulations.
Figure 11. Longitudinal velocity in the first group of simulations.
Wevj 10 00072 g011
Figure 12. The angle of steering wheels in the first group of simulations.
Figure 12. The angle of steering wheels in the first group of simulations.
Wevj 10 00072 g012
Figure 13. Displacement error between P and the reference path in the first group of simulations.
Figure 13. Displacement error between P and the reference path in the first group of simulations.
Wevj 10 00072 g013
Figure 14. Heading error between the tractor and the reference path in the first group of simulations.
Figure 14. Heading error between the tractor and the reference path in the first group of simulations.
Wevj 10 00072 g014
Figure 15. The trajectory of the obstacle avoidance controller based on the line model in the second group of simulations.
Figure 15. The trajectory of the obstacle avoidance controller based on the line model in the second group of simulations.
Wevj 10 00072 g015
Figure 16. Partially enlarged view of Figure 15.
Figure 16. Partially enlarged view of Figure 15.
Wevj 10 00072 g016
Figure 17. The trajectory of the obstacle avoidance controller based on the circumcircle model in the second group of simulations.
Figure 17. The trajectory of the obstacle avoidance controller based on the circumcircle model in the second group of simulations.
Wevj 10 00072 g017
Figure 18. Partially enlarged view of Figure 17.
Figure 18. Partially enlarged view of Figure 17.
Wevj 10 00072 g018
Figure 19. Longitudinal velocity in the second group of simulations.
Figure 19. Longitudinal velocity in the second group of simulations.
Wevj 10 00072 g019
Figure 20. The angles of steering wheels in the second group of simulations.
Figure 20. The angles of steering wheels in the second group of simulations.
Wevj 10 00072 g020
Figure 21. Displacement error between P and the reference path in the second group of simulations.
Figure 21. Displacement error between P and the reference path in the second group of simulations.
Wevj 10 00072 g021
Figure 22. Heading error between the tractor and the reference path in the second group of simulations.
Figure 22. Heading error between the tractor and the reference path in the second group of simulations.
Wevj 10 00072 g022
Figure 23. The trajectory of the obstacle avoidance controller based on the line model in the third group of simulations.
Figure 23. The trajectory of the obstacle avoidance controller based on the line model in the third group of simulations.
Wevj 10 00072 g023
Figure 24. Partially enlarged view of Figure 23.
Figure 24. Partially enlarged view of Figure 23.
Wevj 10 00072 g024
Figure 25. Longitudinal velocity in the third group of simulations.
Figure 25. Longitudinal velocity in the third group of simulations.
Wevj 10 00072 g025
Figure 26. The angle of steering wheels in the third group of simulations.
Figure 26. The angle of steering wheels in the third group of simulations.
Wevj 10 00072 g026
Figure 27. Displacement error between P and the reference path in the third group of simulations.
Figure 27. Displacement error between P and the reference path in the third group of simulations.
Wevj 10 00072 g027
Figure 28. Heading error between the tractor and the reference path in the third group of simulations.
Figure 28. Heading error between the tractor and the reference path in the third group of simulations.
Wevj 10 00072 g028
Table 1. The parameters in the simulation system.
Table 1. The parameters in the simulation system.
ParameterValueParameterValueParameterValue
lfa1 mlb1.25 mP100,000 I
lfb4 mlr0.5 mQ10 I
lfc1.5 mls0.45 mR0.01 I
lra1.5 mT0.05 sIidentity matrix
lrb6.5 mNp200
lrc2 mNc1

Share and Cite

MDPI and ACS Style

Bai, G.; Liang, C.; Meng, Y.; Liu, L.; Luo, W.; Gu, Q. Obstacle Avoidance of Semi-Trailers Based on Nonlinear Model Predictive Control. World Electr. Veh. J. 2019, 10, 72. https://doi.org/10.3390/wevj10040072

AMA Style

Bai G, Liang C, Meng Y, Liu L, Luo W, Gu Q. Obstacle Avoidance of Semi-Trailers Based on Nonlinear Model Predictive Control. World Electric Vehicle Journal. 2019; 10(4):72. https://doi.org/10.3390/wevj10040072

Chicago/Turabian Style

Bai, Guoxing, Chen Liang, Yu Meng, Li Liu, Weidong Luo, and Qing Gu. 2019. "Obstacle Avoidance of Semi-Trailers Based on Nonlinear Model Predictive Control" World Electric Vehicle Journal 10, no. 4: 72. https://doi.org/10.3390/wevj10040072

APA Style

Bai, G., Liang, C., Meng, Y., Liu, L., Luo, W., & Gu, Q. (2019). Obstacle Avoidance of Semi-Trailers Based on Nonlinear Model Predictive Control. World Electric Vehicle Journal, 10(4), 72. https://doi.org/10.3390/wevj10040072

Article Metrics

Back to TopTop