Next Article in Journal
Modeling of a Novel T-Core Sensor with an Air Gap for Applications in Eddy Current Nondestructive Evaluation
Previous Article in Journal
A Review of Asynchronous Byzantine Consensus Protocols
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Advanced Trajectory Planning and Control for Autonomous Vehicles with Quintic Polynomials

1
Faculty of Computing, Harbin Institute of Technology, Harbin 150040, China
2
Chongqing Research Institute of HIT, Chongqing 401135, China
3
School of Mechanical Engineering and Automation, Northeastern University, Shenyang 110819, China
*
Author to whom correspondence should be addressed.
Sensors 2024, 24(24), 7928; https://doi.org/10.3390/s24247928
Submission received: 2 November 2024 / Revised: 7 December 2024 / Accepted: 9 December 2024 / Published: 11 December 2024
(This article belongs to the Section Vehicular Sensing)

Abstract

:
This paper focuses on the design of vehicle trajectories and their control systems. A method based on quintic polynomials is utilized to develop trajectories for intelligent vehicles, ensuring the smooth continuity of the trajectory and related state curves under varying conditions. The construction of lateral and longitudinal controllers is discussed, which includes a tracking error model derived from the two-degree-of-freedom dynamic model of a two-wheeled vehicle and the application of the Frenet coordinate system transformation. The vehicle tracking performance is regulated by these controllers. Experimental verification on a small intelligent vehicle platform operating on the Ackermann steering principle was conducted. The results confirm the tracking performance of the controllers under different conditions and validate the effectiveness and feasibility of the overall framework of the study.

1. Introduction

With the widespread adoption of the concept of intelligent driving and the increasing demand for vehicle-assisted driving, the field of autonomous vehicles has gained significant attention in recent years. Research and popularization of autonomous vehicles have a positive impact on traffic safety, transportation efficiency, and social and economic benefits in modern society. Autonomous vehicles provide substantial convenience for the elderly and disabled, enhancing their quality of life through increased accessibility and inclusivity. Research on autonomous vehicles primarily focuses on perception and environmental understanding [1], localization and map construction [2], and planning and decision-making [3]. The core logic behind the realization of autonomous driving is the vehicle’s ability to track a predetermined trajectory. The key challenges in achieving trajectory tracking are trajectory planning and the design of the vehicle’s controller [4].
To address the trajectory planning problem, this paper employs a quintic polynomial method to generate vehicle trajectories and facilitate lane-change maneuvers. Commonly used lane-change trajectories include sine–cosine function, circular arc, spiral, polynomial function, and clothoid trajectory, etc. Sine–cosine function has the advantage of describing periodic paths [5]; however, they are limited by their singular form and exhibit insufficient accuracy and numerical stability when handling complex trajectories [6]. Circular arc trajectories ensure smooth transitions but lack flexibility and may have discontinuities or abrupt changes at the arc transition points [7]. Spiral trajectories are more flexible than circular arcs but require significant space for smooth transitions, making them unsuitable for sharp turns or sudden directional changes [8]. Clothoid trajectories ensure continuity and smoothness; however, parameter selection is challenging, and high control precision is required [9]. Compared to these existing approaches, quintic polynomial lane-change trajectories offer higher-order continuity, reducing vibrations and shocks [10]. They provide greater accuracy and the ability to describe complex trajectories. This approach optimizes path length, transit time, and energy consumption while ensuring passenger comfort and safety. Due to the continuous derivatives of quintic polynomials, the generated motion trajectories are exceptionally smooth, maintaining throughout, maintaining continuous curvature throughout the vehicle’s movement [11].
After planning an accurate and smooth lane-changing trajectory using a quintic polynomial method, designing a controller to enable the vehicle to track the planned trajectory is essential. In current research, main trajectory tracking controllers for autonomous vehicles include Model Predictive Control (MPC), Sliding Mode Control (SMC), feedforward control, gain scheduling control, and PID control. MPC excels in optimization and constraint handling but has high computational complexity [12]; SMC is effective in dealing with uncertainties and disturbances but suffers from chattering issues [13,14]; feedforward controllers can respond quickly but depend on model accuracy [15]; gain scheduling and adaptive controllers perform well in complex and dynamic environments but are relatively complicated to design and implement [16]. The PID controller is widely used due to its simplicity and robustness [17]. It effectively handles system disturbances and model errors. Despite its advantages, the PID controllers still require precise tuning of the three parameters to achieve optimal control performance [18,19]. Therefore, developing a PID controller that can automatically adjust its parameters is crucial.
To optimize the PID control method, currently proposed approaches include model-based approaches and automatic tuning algorithms. Model-based methods encompass linear quadratic regulation (LQR) and internal model control [20,21,22]. However, model-based approaches require an accurate system model, leading to high computational complexity and limited real-time performance [23]. Automatic tuning algorithms, such as genetic algorithms, particle swarm optimization, and involve iterative computations that consume computational resources [24,25,26]. To reduce computational burden and optimize control structures, employing fuzzy methods to optimize PID controllers holds practical significance. Fuzzy PID controllers integrate fuzzy logic with traditional PID control, effectively handling nonlinear and uncertain systems while enhancing control system robustness and adaptability. Even without precise mathematical models, fuzzy PID controllers achieve excellent control performance and smooth transitions through fuzzy rules and adaptive adjustments.
Based on the above information to achieve the desired trajectory tracking effect, this paper employs the quintic polynomial method to design an ideal trajectory and adopts a fuzzy PID controller to ensure the vehicle follows the ideal trajectory. The main contributions are as follows:
  • To achieve a smooth trajectory transition and ensure occupant comfort and safety, an ideal trajectory is designed using the quintic polynomial method;
  • A fuzzy PID controller is designed to overcome the tuning challenges and enhance the robustness of the controller;
  • The superiority and effectiveness of the proposed method are validated through testing on an intelligent experimental vehicle.
The article is divided into three parts. The first part includes vehicle model establishment, quintic polynomial trajectory design, and trajectory tracking error model design. The second part focuses on the design of the fuzzy PID controller. The third part presents experimental validation, which verifies the effectiveness of the vehicle controllers under two different conditions using an intelligent driven-motors small car with Ackermann front-wheel steering.

2. Model Establishment and Trajectory Generation

2.1. Vehicle Dynamics Model

Vehicle dynamics models are mathematical representations based on physical principles. They are commonly categorized by degrees of freedom into two-degree-of-freedom (2-DOF) models, three-degree-of-freedom (3-DOF) models, four-degree-of-freedom (4-DOF) models, five-degree-of-freedom (5-DOF) models, and seven-degree-of-freedom (7-DOF) models. The 2-DOF model is a simplified model that considers the vehicle as a single rigid body with two degrees of freedom: lateral movement along the y-axis and rotation around the z-axis. This model is commonly used for vehicle handling analysis, especially in evaluating overall stability, steering response, and cornering behavior [27,28].
The 2-DOF model offers a balanced trade-off between accuracy and computational efficiency, making it suitable for real-time simulation and control applications. In contrast, higher degrees of freedom require more complex equations and additional parameters, increasing computational costs and complicating model establishment, which makes them less suitable for real-time applications. Therefore, based on the research content of this chapter, a 2-DOF vehicle dynamic model is sufficient for basic vehicle handling analysis and control. Its schematic diagram is shown in Figure 1 [29,30].
In the 2-DOF dynamic model of a two-wheeled vehicle, the front wheel is the steering wheel, while the rear wheel does not steer, meaning δ r = 0 , and is generally aligned with the vehicle’s body axis. A vehicle-fixed coordinate system xoy is established at the center of mass. The velocity at the center of mass is v, and the vehicles sideslip angle of is β. The front axle length is a, the front wheel speed is vf, the front wheel sideslip angle is αf, and the lateral force experienced is Fyf. The rear axle length is b, the rear wheel speed is vr, the rear wheel sideslip angle is αr, and the lateral force experienced is Fyr.
The sideslip angles of the front and rear wheels are opposite to the direction of lateral forces. Neglecting motion along the longitudinal x-axis, based on the vehicle’s lateral translation on the y-axis and rotation about the z-axis, the following relationships can be established:
m a y = F yf cos δ f + F yr F yf cos δ f a F yr b = I φ ¨
where m is the mass of the entire vehicle (including suspension, tires, etc.), ay is the lateral acceleration, I is the moment of inertia about the z-axis, and φ ¨ is the yaw rate of the vehicle. Assuming that the steering angle of the front wheel is small during vehicle motion, i.e., cos δ f 1 , we can simplify Equation (1) as follows:
m a y = C α f α f + C α r α r I φ ¨ = a C α f α f b C α r α r
where C α f and C α r represent the front and rear tire cornering stiffness, respectively. Combining Equations (1) and (2), the vehicle dynamics model is given by:
m v ˙ y + v x φ ˙ = C α f a φ ˙ + v y v x δ f + C α r v y b φ ˙ v x I φ ¨ = a C α f a φ ˙ + v y v x δ f b C α r v y b φ ˙ v x
where v ˙ y = y ˙ and (3) can be simplified and written in the form of state-space equations as:
y ¨ φ ¨ = C α f + C α r m v x a C α f b C α r m v x a C α f b C α r I v x a 2 C α f + b 2 C α r I v x y ˙ φ ˙ + C α f m a C α f I δ f

2.2. Vehicle Trajectory Planning Based on Quintic Polynomial Method

In the design of vehicle tracking trajectories, two crucial metrics are safety and comfort. Commonly used lane-changing trajectories include sinusoidal, circular arc, spiral, polynomial function, and loop curve trajectories [1,2,3]. Sinusoidal lane-changing trajectories are based on sine or cosine functions to design trajectories from the current lane to the target lane. However, a major drawback is that the maximum curvature occurs at the start and end points, resulting in the highest lateral acceleration at these points, which does not satisfy the requirement of zero curvature at the start and end points of the lane-changing trajectory. Circular arc lane-change trajectories consist of two circular arcs at the start and end points of the lane change, connected by a straight lane segment. This discontinuity in the trajectory curve at the endpoints of the circular arcs causes sudden changes in lateral acceleration, significantly increasing the difficulty of control. Spiral lane-change trajectories involve continuous turning over a long distance, forming a spiral curve suitable for gradual deceleration or acceleration.
The polynomial function lane-change trajectory effectively avoids the drawbacks of the aforementioned trajectories by providing smooth transitions and low lateral acceleration without sudden changes, achieved through higher-order polynomial functions. The most typical examples are the third-order and the fifth-order polynomial lane-change trajectory. The main difference between the two lies in continuity: the third-order polynomial trajectory ensures continuous displacement and velocity, but not acceleration, whereas the quintic polynomial provides continuous displacement, velocity, and acceleration, thereby enhancing trajectory smoothness. Although this study focuses on uniform-speed lane-changing, designing acceleration is necessary for trajectory tracking during deceleration at intersections to ensure smooth and continuous acceleration curves. Fitting the tracking trajectory with a quintic polynomial can achieve better operational results.
The general form of a quintic polynomial trajectory is depicted in Figure 2, with a reference coordinate system XOsY established at the initial position of the autonomous vehicle. Here, the starting point of the trajectory is denoted as the coordinate origin Os (the center of the autonomous vehicle), Of represents the endpoint of the trajectory, and Om represents a certain position of the autonomous vehicle at time t during its travel. The X-axis corresponds to the direction of the lane, and the Y-axis is perpendicular to the lane. L represents the longitudinal length of the trajectory, while W represents the lateral length of the trajectory.
As shown in Figure 2, at the initial moment ts, the lateral and longitudinal displacements, velocities, and accelerations of the autonomous vehicle are denoted as X t s , X ˙ t s , X ¨ t s , Y t s , Y ˙ t s , and Y ¨ t s , respectively. At the termination moment tf, the lateral and longitudinal displacements, velocities, and accelerations are denoted as X t f , X ˙ t f , X ¨ t f , Y t f , Y ˙ t f , and Y ¨ t f , respectively. The total time spent on the entire trajectory is denoted as T.
T = t f t s
As is well known, unlike robots, cars cannot perform lateral motion independently; lateral motion is induced by longitudinal movement. The designed trajectory is subject to constraints such as tangent, curvature, velocity, and acceleration. Therefore, at a certain moment t during the autonomous vehicle’s travel, the lateral and longitudinal state variables are denoted as X t , X ˙ t , X ¨ t , Y X , Y ˙ X , and Y ¨ X . However, in the subsequent control system design, the input state variables need to be a function of time t. Consequently, the lateral state variables with respect to X need to be transformed. The motion equation for lateral displacement Y t with respect to time t is:
Y t = Y X = Y X t
Derived from Equation (6), the relationship between lateral velocity Y ˙ t and time is obtained as:
Y ˙ t = d y d x d x d t = Y ˙ X X ˙ t
Derived from Equation (7), the relationship between lateral velocity Y ˙ t and time is obtained as:
Y ¨ t = d d t d y d x d x d t = d d y d x d t d x d t + d y d x d 2 x d t 2 = Y ¨ X X ˙ t 2 + Y ˙ X X ¨ t
The quintic polynomial trajectory function can be represented as follows:
X t = i = 0 5 a i × t i Y X = i = 0 5 b i × X i
where the coefficients of the designed quintic polynomial are:
a = a 0 a 1 a 2 a 3 a 4 a 5 b = b 0 b 1 b 2 b 3 b 4 b 5
By combining the three initial state variables, three terminal state variables of the autonomous vehicle trajectory, and Equations (5)–(8), the lateral and longitudinal state variables X , X ˙ , X ¨ , Y , Y ˙ , and Y ¨ at a certain moment t during the autonomous vehicle’s travel within the time interval T can be calculated as follows:
X = a 0 + a 1 t + a 2 t 2 + a 3 t 3 + a 4 t 4 + a 5 t 5 X ˙ = a 1 + 2 a 2 t + 3 a 3 t 2 + 4 a 4 t 3 + 5 a 5 t 4 X ¨ = 2 a 2 + 6 a 3 t + 12 a 4 t 2 + 20 a 5 t 3
Y = b 0 + b 1 X + b 2 X 2 + b 3 X 3 + b 4 X 4 + b 5 X 5 Y ˙ = Y ˙ X X ˙ Y ¨ = Y ¨ X X ˙ 2 + Y ˙ X X ¨
where the coefficients in (10) and Y ˙ X , and Y ¨ X are given as follows:
Y ˙ X = b 1 + 2 b 2 X + 3 b 3 X 2 + 4 b 4 X 3 + 5 b 5 X 4 Y ¨ X = 2 b 2 + 6 b 3 X + 12 b 4 X 2 + 20 b 5 X 3
a 0 = X t s a 1 = X ˙ t s a 2 = X ¨ t s 2   a 3 a 4 a 5 = A 1 1 B 1 b 0 = Y t s b 1 = Y ˙ t s b 2 = Y ¨ t s 2   b 3 b 4 b 5 = A 2 1 B 2
where matrices A 1 , B 1 , A 2 , and B 2 are computed as follows:
A 1 = T 3 T 4 T 5 3 × T 2 4 × T 3 5 × T 4 6 × T 12 × T 2 20 × T 3
B 1 = X t f a 0 a 1 T a 2 T 2 X ˙ t f a 1 2 × a 2 T X ¨ t f 2 × a 2
A 2 = L 3 L 4 L 5 3 × L 2 4 × L 3 5 × L 4 6 × L 12 × L 2 20 × L 3
B 2 = Y t f b 0 b 1 L b 2 L 2 Y ˙ t f b 1 2 × b 2 L Y ¨ t f 2 × b 2
At the same time, we can calculate the angle theta between the tangent direction of the trajectory and the X-axis, as well as the curvature k of the trajectory:
t h e t a = arctan Y ˙ X k = Y ¨ X 1 + Y ˙ X 2 1.5

2.3. Tracking Error Model Based on Frenet Coordinate System

As shown in Figure 3, the current sideslip angle at the center of mass (the center of mass is denoted as point o) is β, with a velocity magnitude of v and a heading angle of θ x . In the Frenet coordinate system, the current velocity direction of the intelligent vehicle aligns with the tangent vector τ x , and the normal direction with the normal vector n x . The tracking trajectory is l and the projection point of o on l is point o . The projected tangent vector at o is τ r and the normal vector is n r . The distance from the point o to point o represents the lateral error d. The longitudinal cumulative arc length from the starting point of the reference trajectory to the projection point o is s. The projected velocity magnitude is s ˙ and the heading angle is θ r . Therefore, the heading error is e θ = θ x θ r .
From point O, vectors X and X r are drawn to points o and o , respectively. When X is the actual position vector of the intelligent vehicle and X r is the projected position vector. In the triangle Oo o we can derive:
X ˙ = v τ x X ˙ r = s ˙ τ X r + d n r = X
From Equation (20), taking the derivative of d yields:
d n r d t = d n r d s d s d t d = v τ x s ˙ τ r n r + X X r d n r d t
From the Frenet formulas for a two-dimensional curve, we obtain:
d τ x d s = k n x d n x d s = k τ x
where k represents the curvature of the reference trajectory curve. From Equations (21) and (22), we obtain:
d ˙ = v sin θ x θ r = v sin e θ
Combine (21)–(24) and taking the derivative of (20) yields:
s ˙ τ r + v sin e θ n r + d k s ˙ τ r = v τ x
Multiplying both sides of Equation (24) by τ r yields:
s ˙ = v cos e θ 1 k d
From the relationship among the heading angle θ , the yaw angle φ , and the sideslip angle β , we can further transform Equation (23):
d ˙ = v sin φ x + β x θ r
where vx is the longitudinal velocity at the intelligent vehicle’s center of mass, vy is the lateral velocity, and φ x θ r can be regarded as a small quantity. Therefore, Equation (26) can be further simplified as follows:
d ˙ = v y + v x sin φ x θ r
Meanwhile Equation (25) can be simplified as follows:
s ˙ = v x v y cos φ x θ r 1 k d
In summary, in the Frenet coordinate system (see Figure 3), the lateral error is ed = d, and the error between the yaw angle and the heading angle is e φ = φ x θ r , and due to the smoothness of the road, we can ignore the second derivative of θ r , so θ ¨ r = 0 . Also, assuming vx is constant, the equation is yielded as follows:
v y = e ˙ d v x e φ v ˙ y = e ¨ d v x e ˙ φ φ ˙ = e ˙ φ + θ ˙ r φ ¨ = e ¨ φ s ˙ = v x v y cos φ x θ r 1 k d
Combining Equation (4), we can obtain the state-space equations for the tracking error model in the Frenet coordinate system as follows:
e ˙ rr = A e rr + B u + C θ ˙ r
where u = δ f , e rr = e d e ˙ d e φ e ˙ φ T
A = 0 1 0 0 0 C α f + C α r m v x C α f + C α r m a C α f b C α r m v x 0 0 0 1 0 a C α f b C α r I v x a C α f b C α r I a 2 C α f + b 2 C α r I v x   B = 0 C α f m 0 a C α f I · C = 0 a C α f b C α r m v x v x 0 a 2 C α f + b 2 C α r I v x ,
where the error state matrix e rr consists of the lateral position and velocity error ed and e ˙ d , the error between yaw angle and heading angle e φ , and the derivative of the heading angle error e ˙ φ :
e d = x x d sin θ d + y y d cos θ d e ˙ d = v y cos φ θ r + v x sin φ θ r e φ = φ θ r e ˙ φ = φ ˙ k d v x cos φ θ r v y sin φ θ r 1 k d e d
similarly, longitudinal position es and velocity errors e v yield as follows;
e s = x x d cos θ d + y y d sin θ d e v = v x s ˙
When the error system (30) is stable, the tracking error converges to zero, indicating that the target vehicle enable track to the ideal path.

3. Controller Design

3.1. Lateral Fuzzy PID Controller Design

Fuzzy PID control is a method that combines fuzzy logic with traditional PID control. It mainly includes three components: the proportional, integral, and derivative components. The proportional component calculates the difference between the current process variable and the reference value, and multiplies this difference by the proportional gain factor. The integral component calculates the accumulated error over time and multiplies the integral gain factor. The derivative component calculates the rate of change in the process variable and multiplies the derivative gain factor.
In a traditional PID control system, the gain factors are fixed and require manual adjustment based on the specific control system. However, in a fuzzy PID control system, the gain factors are dynamic and determined by fuzzy rules. These rules associate the current state of the system with appropriate gain values, allowing real-time updates of the gain factors according to the current system state and the set sampling time.
The gain factors are primarily described by defining fuzzy sets for the input and output variables. These fuzzy sets are represented using linguistic terms, such as “low”, “medium”, and “high”, which are associated with numerical values. Control parameters for the output are then determined through a set of fuzzy rules. The basic principle of the fuzzy PID controller is illustrated in Figure 4.
Using fuzzy PID control to regulate the front-wheel steering angle of an intelligent vehicle during trajectory tracking involves controlling the front-wheel steering angle δ f . The lateral displacement error ey and the heading angle error eφ are multiplied by different weighting coefficients and then summed to obtain the lateral weighted error e, as shown in the following equation:
e y φ = λ 1 e y + λ 2 e φ
In a fuzzy controller, the input variables typically need to be fuzzified to represent their fuzzy nature. This process usually involves dividing the input variables into multiple fuzzy sets and representing them by a membership function. Similarly, the output variables are also fuzzified so that the results of the fuzzy logic can be mapped back to actual output values. This typically includes mapping the output values to multiple fuzzy sets and assigning a membership function to each set.
In this section, the fuzzy control part of the lateral fuzzy PID controller has two inputs and three outputs. The two inputs are the lateral weighted error e and its rate of change ec1. The three outputs, which after defuzzification, are the three adjustable parameters of the PID controller: Kp1, Ki1, and Kd1. By adjusting these PID control parameters, the real-time stability of the intelligent vehicle’s motion is achieved.
For implementing the lateral fuzzy control part, it is necessary to define fuzzy sets for the inputs and outputs. Gaussian and triangular membership will be used as the fuzzification functions for the input and output variables. The function curves are shown in Figure 5.
The fuzzy sets for all input and output variables are divided into seven levels: PB, PM, PS, ZO, NS, NM, and NB, corresponding to Positive Big, Positive Medium, Positive Small, Zero, Negative Small, Negative Medium, and Negative Big, respectively. During the fuzzification process of the input and output variables, the degree of membership for each variable in each fuzzy set is calculated based on the membership functions.
The domain of the fuzzy control inputs and outputs is determined by the requirements of the control system, the range of values that the fuzzy sets can represent, the rule base, and performance standards. In order to meet the precision and stability requirements of lateral control algorithms for intelligent vehicles with time-varying nonlinear systems, as well as the subsequent simulation stage’s needs for vehicle characteristics and debugging, the domains of the input variable e and ec1 are both set to [−4, 4], while the domains of the output variables Kp1, Ki1, and Kd1 are set to [ 0 ,   200 ] , [0, 1], and [0, 1].
In the lateral fuzzy PID control, the fuzzy controller takes the weighted error between the heading angle and lateral position, along with the rate of change in error ec1, as inputs, and outputs three parameters of the PID controller: Kp1, Ki1, and Kd1, as shown in Equation (33). The intelligent vehicle minimizes the lateral displacement error ey and heading angle error approaching zero by adjusting the front wheel steering angle. At various stages of lateral control, the construction of the fuzzy table enables real-time adjustment of the three tunable parameters in the PID controller, thereby impacting the stability of the intelligent vehicle’s lateral movement.
Firstly, the selection of the Kp1 is critical in the operation of the lateral controller. On one hand, as the lateral weighted error e gradually decreases, a larger Kp1 value is required to quickly bring the intelligent vehicle closer to the reference trajectory, raising the system’s response and enhancing control accuracy. However, an excessively large Kp1 can cause the system to oscillate, so the selection of Kp1 needs to balance the controller’s response speed and stability. On the other hand, when the intelligent vehicle is moving at a higher longitudinal speed, a smaller Kp1 value is preferred to quickly eliminate lateral deviation between the actual position and the reference trajectory. A smaller Kp1 value results in smaller output variations, reducing the interference with the lateral control and helping to eliminate lateral error more swiftly. Moreover, when the lateral weighted error is large, it is necessary to appropriately reduce the Kp1 value to prevent the output from exceeding the adjustment range of the lateral controller, thereby ensuring effective control.
Secondly, the selection of the Ki1 is important. Proper adjustment of the Ki1 value can reduce the steady-state error accumulated during the Kp1 regulation process. However, when the intelligent vehicle’s longitudinal speed is high and the lateral weighted error is significant, it is necessary to appropriately lower the Ki1 in coordination with Kd1 adjustment. This helps to prevent system oscillations and minimizes the influence of the lateral controller on the front wheel steering angle of the intelligent vehicle, thereby maintaining system stability.
Thirdly, the selection of the Kd1 is crucial. When the lateral control system of the intelligent vehicle requires a larger Kp1, it is essential to select an appropriate Kd1 value in conjunction with Ki1 to prevent significant oscillations in the heading angle and lateral position error. The specific value of Kd1 should be chosen based on the degree of lateral weighted error fluctuation: the greater the fluctuation, the larger the Kd1 value, and vice versa. This approach helps to dampen oscillations and stabilize the system’s response. Combining the above analysis and adjustments from multiple simulations and experiments in subsequent chapters, the Fuzzy Rules in the lateral fuzzy PID controller are shown in Table 1. Input the above rules into the MATLAB Fuzzy Control Toolbox and conduct dynamic simulation.
The results are shown in Figure 6. The characteristic curves of the input and output variables are presented in Figure 7.
To obtain accurate output values, it is necessary to defuzzify the fuzzy output values of the fuzzy controller. In this paper, the centroid method is used for defuzzification. This method provides smooth control characteristics and can respond sensitively to small changes. The calculation expression for centroid defuzzification is as follows:
M = k = 1 n m k u c m k / k = 1 n u c m k
where n is the number of output quantization levels, M is the precise output value, mk is the value within the domain of the fuzzy control quantity, and uc(mk) is the membership value of mk.

3.2. Vertical Fuzzy PID Controller Design

The longitudinal weighted error exv is calculated by multiplying the longitudinal displacement error ex and the velocity error ev by different weighting coefficients, then summing them, as shown in the following equation:
e xv = ω 1 e x + ω 2 e v
In the longitudinal control system of the intelligent vehicle, the longitudinal displacement error and velocity error are used to evaluate whether the vehicle’s position and speed have reached the desired values. Based on the different importance of these errors and the stability requirements of the overall longitudinal control. These weight errors are then combined into a weighted error signal, which serves as the input signal of the PID controller to improve the control system performance. The principle is illustrated in Figure 8.
As shown in Figure 8, the longitudinal displacement error and the velocity error are each multiplied by different weight coefficients and then summed. The weighted error signal e(t) is calculated as follows:
e t = ω 1 e s + ω 2 e v
where es and ev represent the longitudinal displacement error and velocity error, respectively, while ω1 and ω2 are the corresponding weight coefficients. The weighted error signal serves as the input signal to the PID controller. Finally, the output signal from the controller is applied to the actuator unit of the intelligent vehicle’s longitudinal system, forming the longitudinal PID controller as follows:
u t = K p e t + K i 0 t e t d t + K d d e t d t
In the longitudinal fuzzy PID controller, the fuzzy control component has two inputs and three outputs. The two inputs are the longitudinal weighted error exv of the intelligent vehicle and its rate of change ec2. The three outputs, after defuzzification, are the adjustable parameters of the PID controller: Kp2, Ki2, and Kd2.
In implementing the longitudinal fuzzy control, Gaussian and triangular membership functions are used as the fuzzification functions for the input and output variables with function curves identical to those in Figure 5, which will not be shown again here.
Similarly, all input and output variables are divided into seven fuzzy sets: PB, PM, PS, ZO, NS, NM, and NB standing for Positive Big, Positive Medium, Positive Small, Zero, Negative Small, Negative Medium, and Negative Big, respectively. During the fuzzification process, the membership degree of each variable belonging to each fuzzy set is calculated based on the membership functions.
To meet the accuracy and stability requirements of the longitudinal control algorithm for the time-varying nonlinear system of the intelligent vehicle, and to facilitate the characteristics and debugging needs in the subsequent simulation stage, the domains of the input variables exv and ec2 in the longitudinal fuzzy control part are both set to [−10, 10]. The domains of the output variables Kp2, Ki2, and Kd2 are set to [0, 1], [0, 1], and [0, 1], respectively.
In longitudinal fuzzy PID control, the inputs to the fuzzy controller are the weighted errors of longitudinal position and velocity, denoted as exv, and the error transformation rate ec2. The outputs are the three parameters of the PID controller: Kp2, Ki2, and Kd2. The intelligent vehicle adjusts the torque applied to the wheels, represented by T, to minimize both the longitudinal displacement error ex and the velocity error ev, driving them toward zero.
In each stage of longitudinal control, the strength of the proportional, integral, and derivative actions in the traditional PID control is determined based on the longitudinal weighted errors exv and its transformation rates ec2. The construction of the fuzzy rule table in longitudinal fuzzy control requires comprehensive consideration of the dynamic errors and overshoot in the longitudinal motion, excessive overshoot can impact ride comfort.
When the absolute value of the longitudinal weighted error exv is large, to expedite the reduction in deviation and enable the intelligent vehicle to quickly reach the longitudinal reference position and velocity, it is advisable to increase the adjustment magnitude, specifically by increasing the value of Kp2. However, to prevent excessive overshoot from adversely affecting the stability of the vehicle’s operation and the comfort of the ride, the increase in Kp2 should be determined based on the magnitude of ec2. Additionally, Kd2 should be reduced to some extent to avoid premature braking, which could prolong the overall adjustment time.
When the absolute value of the longitudinal weighted error exv is large, in order to minimize the steady-state error of the control system as much as possible and reach the longitudinal position and velocity of the reference trajectory as quickly as possible, Ki2 should be increased appropriately based on the magnitude of ec2. Additionally, the magnitude of Kp2 should be controlled based on the result of whether the output oscillates. Meanwhile, the value of Kd2 should also be increased appropriately. This approach can not only accelerate the rate of descent of the overshoot of the system and suppress it but also suppress the excessive control intensity caused by the previous large Kp2, thus better ensuring the comfort of the intelligent vehicle’s motion.
When the absolute value of the longitudinal weighted error exv is small, indicating that the actual longitudinal position and velocity of the intelligent vehicle are close to the reference values, Kp2 and Ki2 should be kept relatively stable, while Kd2 should be increased appropriately. This further avoids the generation of a certain degree of overshoot and steady-state error, ensuring the stability of the intelligent vehicle during its operation.
When the absolute values of both the longitudinal weighted error exv and its rate of change ec2 tend to zero, indicating that the intelligent vehicle is in a phase of constant-speed travel, to avoid excessive overshoot and maintain steady-state error within an acceptable range, Kd2 should be increased appropriately, while Kp2 and Ki2 should be decreased. This ensures a more stable longitudinal control.
In summary, the longitudinal fuzzy PID controller should dynamically adjust the values of Kp2, Ki2, and Kd2 based on varying conditions under different longitudinal weighted errors exv and their rates of change ec2, to ensure that the vehicle can smoothly, quickly, and comfortably control acceleration and deceleration to reach the reference position and speed within a short time. For large position and velocity deviations, it is advisable to moderately increase Kp2, Ki2, and Kd2 values, within a relatively larger control range to promptly reduce the weighted error, while avoiding excessive overshoot. For a smaller position and velocity deviations, maintaining moderate Kp2, Ki2, and Kd2 values while slightly increasing Kd2, helps minimize steady-state error and ensure smooth control. When the longitudinal weighted error and its rate of change approach zero, allowing for a certain level of steady-state error, it is recommended to slightly decrease Kp2, Ki2, and Kd2 values and moderately increase Kd2 to ensure system stability and passenger comfort.
Based on the above analysis and adjustments made in subsequent chapters the following multiple simulations and experimental results, the fuzzy rule table for the longitudinal fuzzy PID controller is formulated, as shown in Table 2.
Using the rules described above, we input them into the MATLAB Fuzzy Logic Toolbox for dynamic simulation, with the results shown in Figure 9. Additionally, the characteristic curves of the input and output variables are shown in Figure 10.

4. Experimental Validation

To validate the proposed control algorithm, experiments were conducted using an intelligent car with front-wheel Ackermann steering and rear-wheel motor drive, powered by batteries connected to screens, a Jetson Nano, and NUC (See Figure 11). The intelligent car’s subsystems are modularized, with lateral and longitudinal inputs represented by the front-wheel steering angle δ f and longitudinal velocity vx, respectively. Sideways slippage is not considered during the experiments. The odometer provides the actual longitudinal speed v, lateral displacement y, and longitudinal displacement x to the longitudinal system, while the IMU provides the actual yaw angle θ to the lateral system.
The longitudinal fuzzy PID controller receives the weighted errors of longitudinal displacement and velocity exv as inputs and outputs the longitudinal velocity vx. The STM32 module communicates with Jetson Nano via serial port to transfer the actual state of the car, operating on the ROS platform, the Jetson Nano formats the actual state of the car and road information collected by the camera into multiple node files, which are then transmitted to Matlab/Simulink via WIFI LAN. In this process, the car’s actual state is sent to the controller, while the road information is used in the trajectory design and selection process. Additionally, the output control signals of the lateral and longitudinal fuzzy PID controllers can be also transmitted in the same way, enabling seamless information sharing among all components.

4.1. Operating Condition 1: Constant Speed Lane Changing and Straight Lane Driving

In this operating condition, the intelligent vehicle performs a lane change at a constant speed of 0.5 m/s for 40 s, followed by 10 s of straight-line driving, resulting in a total longitudinal displacement of X 1 t f = 25   m .
After debugging, the weights for lateral displacement error and yaw angle error are set to λ 1 = 1 and λ 2 = 1 , respectively, while the weights for longitudinal displacement error and velocity error are set to ω 1 = 1 and ω 2 = 0.1 , respectively. In the fuzzy control component of the lateral PID controller, the domains of the input variables e and ec1 are both set to [−3, 3], and the domains of the output variables Kp1, Ki1, and Kd1 are set to [0, 34], [0, 7], and [0, 0.1], respectively.
In the fuzzy control part of the longitudinal PID controller, the domains of the input variables exv and ec2 are both set to [−10, 10], and the domains of the output variables Kp2, Ki2, and Kd2 are set to [0, 6], [0, 1], and [0, 2], respectively. The sampling time during the experiment is 0.05 s. The trajectory tracking performance of the fuzzy PID controller under this operating condition is shown in Figure 12.
According to Figure 12a, the dual fuzzy PID controller effectively tracks the trajectory designed in scenario one. The vehicle first undergoes a 40 s lane change at a constant speed of 0.5 m/s, with a lateral distance of 1.32 m measured by the visual system, and a longitudinal distance set to 20 m. Subsequently, it travels straight at 0.5 m/s for 10 s. The inset of Figure 12a shows that as the lane change is about to end, the trajectory error gradually approaches zero. Furthermore, Figure 12b,c indicates that the lateral and longitudinal displacement errors during the scenario one experiment are both within 0.025 m. Finally, the variations over time of the front wheel steering angle, yaw angle and error, speed and error of the fuzzy PID controller in this scenario are illustrated in Figure 13. Figure 13a demonstrates the change curve of the front wheel steering angle change closely matches the required steering angle for the trajectory in scenario one. Figure 13b,d shows that the yaw angle of the fuzzy PID controller basically tracks the designed yaw angle during the experiment, with errors controlled within 0.03 radians. As depicted in Figure 13c,e, the fuzzy PID controller maintains the intelligent vehicle speed at approximated 0.5 m/s, with errors controlled within 0.05 m/s.

4.2. Scenario Two: Intersection Straight-Lane Parking

To further validate the universality of the controller under two scenarios, the trajectory tracking performance of the fuzzy PID controller for stop-line parking at the intersection is demonstrated in Figure 14a.
As indicated, the dual fuzzy PID controller is capable of effectively tracking the trajectory designed in Scenario Two, where the vehicle decelerates to park at a speed of 0.5 m/s for 70 s with a longitudinal distance set to 20 m. It can be observed from the inset of Figure 14a that, in the final stage of the trajectory, the error gradually converges to zero. Furthermore, from Figure 14b,c, it is evident that during the experiment, the fuzzy PID controller controls the lateral displacement error within 0.01 m and the longitudinal displacement error within 0.05, and as the trajectory approaches its end, both lateral and longitudinal displacement errors tend towards zero.
Finally, the relationship between the front wheel steering angle, yaw angle and error, speed and error of the fuzzy PID controller under this scenario is illustrated in Figure 15. According to Figure 15a, it can be observed that the change in front wheel steering angle during the experiment closely aligns with the required steering angle for the motion trajectory of intersection deceleration parking in Scenario Two. As inferred from Figure 15b,d, the yaw angle of the fuzzy PID controller basically tracks the designed yaw angle during the experiment, with errors controlled within 0.01 radians. As shown in Figure 15c, the fuzzy PID controller effectively controls the vehicle’s speed to follow the speed curve designed in Scenario Two, and combined with the inset of Figure 15c,e, it can be observed that the speed error gradually converges to zero.
In summary, under the same controller parameters as in Scenario One, the dual fuzzy PID controller exhibits good lateral and longitudinal tracking effects in the intersection parking motion of Scenario Two. Additionally, all state variables of the intelligent vehicle remain within small and acceptable ranges.

5. Conclusions

In this paper, a two-wheel, two-degree-of-freedom vehicle dynamics model is established and transformed into the Frenet coordinate system to derive lateral and longitudinal tracking error models. Controllers are constructed for both lateral and longitudinal directions using fuzzy PID control. Fuzzy control is utilized to update the three PID parameters in real time based on the sampling time to enhance control performance. Finally, a joint intelligent vehicle experiment is conducted for validation.
The trajectory design and control systems are meticulously simulated within a virtual environment, while actual vehicle experiments are conducted on a simulated road to validate the systems’ performance and reliability. The setup uses STM32 as the inner loop module, Jetson Nano as the upper controller, and NUC as the PC end. Communication between the three parts is achieved via serial port communication and WIFI LAN communication for efficient information sharing. In addition, ROS and Simulink serve as software platforms, enabling the publication and subscription of road condition, IMU, and odometer data in a node-based manner. An intelligent vehicle joint experiment platform equipped with a monocular camera is established to validate the accuracy, rationality, and effectiveness of visual detection and recognition, trajectory design under different scenarios, and the dual fuzzy PID controllers for both lateral and longitudinal directions.

Author Contributions

Conceptualization, M.J.; methodology M.J., M.Q. and Z.L.; software, M.Q.; validation, M.Q.; writing—original draft preparation, M.J., Z.H. and T.S.; writing—review and editing, Q.G. and Z.L.; visualization, Z.L.; supervision, M.Q. and Q.G. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported in part by the National Natural Science Foundation of China under Grant 52475007 and in part by the National Key Research and Development Program (No. 2022YFB4702300) and in part by the Fundamental Research Funds for the Central Universities under Grant N2403009 and in part by the Natural Science Foundation of Liaoning Province of China under Grant 2024-MSBA-33.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The datasets presented in this article are not readily available due to privacy restrictions.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Masuda, H.; Marai, O.E.; Tsukada, M.; Taleb, T.; Esaki, H. Feature-Based Vehicle Identification Framework for Optimization of Collective Perception Messages in Vehicular Networks. IEEE Trans. Veh. Technol. 2023, 72, 2120–2129. [Google Scholar] [CrossRef]
  2. Szántó, M.; Hidalgo, C.; González, L.; Rastelli, J.P.; Asua, E.; Vajta, L. Trajectory Planning of Automated Vehicles Using Real-Time Map Updates. IEEE Access 2023, 11, 67468–67481. [Google Scholar] [CrossRef]
  3. Lv, P.; Han, J.; Nie, J.; Zhang, Y.; Xu, J.; Cai, C.; Chen, Z. Cooperative Decision-Making of Connected and Autonomous Vehicles in an Emergency. IEEE Trans. Veh. Technol. 2023, 72, 1464–1477. [Google Scholar] [CrossRef]
  4. Wang, W.; Qie, T.; Yang, C.; Liu, W.; Xiang, C.; Huang, K. An Intelligent Lane-Changing Behavior Prediction and Decision-Making Strategy for an Autonomous Vehicle. IEEE Trans. Ind. Electron. 2022, 69, 2927–2937. [Google Scholar] [CrossRef]
  5. Hong, J.; Choi, J.; Woo, S.; Lee, J.; Lee, S.G.; Kim, J.; Cha, K. Automatic Lane Change System with Double Loop PID Algorithm. In Proceedings of the 2022 22nd International Conference on Control, Automation and Systems (ICCAS), Jeju, Republic of Korea, 27 November–1 December 2022; pp. 1977–1980. [Google Scholar]
  6. Li, Y.; Li, L.; Ni, D.; Wang, W. Automatic Lane-Changing Trajectory Planning: From Self-Optimum to Local-Optimum. IEEE Trans. Intell. Transp. Syst. 2022, 23, 21004–21014. [Google Scholar] [CrossRef]
  7. Zhao, N.; Wang, B.; Zhang, K.; Lu, Y.; Luo, R.; Su, R. LC-RSS: A Lane-Change Responsibility-Sensitive Safety Framework Based on Data-Driven Lane-Change Prediction. IEEE Trans. Intell. Veh. 2024, 9, 2531–2541. [Google Scholar] [CrossRef]
  8. He, J.; Qu, J.; Zhang, J.; He, Z. The Impact of a Single Discretionary Lane Change on Surrounding Traffic: An Analytic Investigation. IEEE Trans. Intell. Transp. Syst. 2023, 24, 554–563. [Google Scholar] [CrossRef]
  9. Griesbach, K.; Beggiato, M.; Hoffmann, K.H. Lane Change Prediction with an Echo State Network and Recurrent Neural Network in the Urban Area. IEEE Trans. Intell. Transp. Syst. 2022, 23, 6473–6479. [Google Scholar] [CrossRef]
  10. Yue, M.; Hou, X.; Zhao, X.; Wu, X. Robust Tube-Based Model Predictive Control for Lane Change Maneuver of Tractor-Trailer Vehicles Based on a Polynomial Trajectory. IEEE Trans. Syst. Man Cybern. Syst. 2020, 50, 5180–5188. [Google Scholar] [CrossRef]
  11. Singh, A.S.P.; Nishihara, O. Trajectory Tracking and Integrated Chassis Control for Obstacle Avoidance With Minimum Jerk. IEEE Trans. Intell. Transp. Syst. 2022, 23, 4625–4641. [Google Scholar] [CrossRef]
  12. Zhang, Q.; Langari, R.; Tseng, H.E.; Mohan, S.; Szwabowski, S.; Filev, D. Stackelberg Differential Lane Change Game Based on MPC and Inverse MPC. IEEE Trans. Intell. Transp. Syst. 2024, 25, 8473–8485. [Google Scholar] [CrossRef]
  13. Xu, W.-D.; Guo, X.-G.; Wang, J.-L.; Che, W.-W.; Wu, Z.-G. Nonlinear Disturbance Observer-Based Fault-Tolerant Sliding-Mode Control for 2-D Plane Vehicular Platoon with UTVFD and ANAS. IEEE Trans. Cybern. 2024, 54, 2050–2061. [Google Scholar] [CrossRef]
  14. Feng, C.; Shen, M.; Wang, Z.; Wu, H.; Liang, Z.; Liang, Z. Adaptive Terminal Sliding Mode Trajectory Tracking Control for Autonomous Vehicles Considering Completely Unknown Parameters and Unknown Perturbation Conditions. Machines 2024, 12, 237. [Google Scholar] [CrossRef]
  15. Chen, H.; Lv, C. Online Learning-Informed Feedforward-Feedback Controller Synthesis for Path Tracking of Autonomous Vehicles. IEEE Trans. Intell. Veh. 2023, 8, 2759–2769. [Google Scholar] [CrossRef]
  16. Wang, H.; Gelbal, S.Y.; Guvenc, L. Multi-Objective Digital PID Controller Design in Parameter Space and its Application to Automated Path Following. IEEE Access 2021, 9, 46874–46885. [Google Scholar] [CrossRef]
  17. Shi, Q.; Zhang, H. Road-Curvature-Range-Dependent Path Following Controller Design for Autonomous Ground Vehicles Subject to Stochastic Delays. IEEE Trans. Intell. Transp. Syst. 2022, 23, 17440–17450. [Google Scholar] [CrossRef]
  18. Feng, Z.; Yu, M.; Evangelou, S.A.; Jaimoukha, I.M.; Dini, D. Mu-Synthesis PID Control of Full-Car with Parallel Active Link Suspension Under Variable Payload. IEEE Trans. Veh. Technol. 2023, 72, 176–189. [Google Scholar] [CrossRef]
  19. Guo, G.; Yang, D.; Zhang, R. Distributed Trajectory Optimization and Platooning of Vehicles to Guarantee Smooth Traffic Flow. IEEE Trans. Intell. Veh. 2023, 8, 684–695. [Google Scholar] [CrossRef]
  20. Huang, Z.; Shen, S.; Ma, J. Decentralized iLQR for Cooperative Trajectory Planning of Connected Autonomous Vehicles via Dual Consensus ADMM. IEEE Trans. Intell. Transp. Syst. 2023, 24, 12754–12766. [Google Scholar] [CrossRef]
  21. Hu, Y.; Fu, J.; Wen, G. Safe Reinforcement Learning for Model-Reference Trajectory Tracking of Uncertain Autonomous Vehicles with Model-Based Acceleration. IEEE Trans. Intell. Veh. 2023, 8, 2332–2344. [Google Scholar] [CrossRef]
  22. Zheng, H.; Li, J.; Tian, Z.; Liu, C.; Wu, W. Hybrid Physics-Learning Model Based Predictive Control for Trajectory Tracking of Unmanned Surface Vehicles. IEEE Trans. Intell. Transp. Syst. 2024, 25, 11522–11533. [Google Scholar] [CrossRef]
  23. Kamezaki, M.; Kobayashi, A.; Kono, R.; Hirayama, M.; Sugano, S. Dynamic Waypoint Navigation: Model-Based Adaptive Trajectory Planner for Human-Symbiotic Mobile Robots. IEEE Access 2022, 10, 81546–81555. [Google Scholar] [CrossRef]
  24. Zhu, Y.; Lee, K.Y.; Wang, Y. Adaptive Elitist Genetic Algorithm with Improved Neighbor Routing Initialization for Electric Vehicle Routing Problems. IEEE Access 2021, 9, 16661–16671. [Google Scholar] [CrossRef]
  25. Leng, K.; Li, S. Distribution Path Optimization for Intelligent Logistics Vehicles of Urban Rail Transportation Using VRP Optimization Model. IEEE Trans. Intell. Transp. Syst. 2022, 23, 1661–1669. [Google Scholar] [CrossRef]
  26. Zhang, J.; Lu, Y.; Wu, Y.; Wang, C.; Zang, D.; Abusorrah, A.; Zhou, M. PSO-Based Sparse Source Location in Large-Scale Environments with a UAV Swarm. IEEE Trans. Intell. Transp. Syst. 2023, 24, 5249–5258. [Google Scholar] [CrossRef]
  27. Liang, Z.; Wang, Z.; Duan, J.; Liu, J.; Wong, P.K.; Zhao, J. Backup Pattern for traction system of FWIA electric vehicle to guarantee maneuverability and stability in presence of motor faults and failures. J. Frankl. Inst. 2024, 361, 106714. [Google Scholar] [CrossRef]
  28. Liang, Z.; Wang, Z.; Zhao, J.; Wong, P.K.; Yang, Z.; Ding, Z. Fixed-Time Prescribed Performance Path-Following Control for Autonomous Vehicle with Complete Unknown Parameters. IEEE Trans. Ind. Electron. 2023, 70, 8426–8436. [Google Scholar] [CrossRef]
  29. Liu, X.; Wang, Y.; Jiang, K.; Zhou, Z.; Nam, K.; Yin, C. Interactive Trajectory Prediction Using a Driving Risk Map-Integrated Deep Learning Method for Surrounding Vehicles on Highways. IEEE Trans. Intell. Transp. Syst. 2022, 23, 19076–19087. [Google Scholar] [CrossRef]
  30. Li, Y.; Ni, J.; Hu, J.; Pan, B. The Design of Driverless Vehicle Trajectory Tracking Control Strategy. IFAC-PapersOnLine 2018, 51, 738–745. [Google Scholar] [CrossRef]
Figure 1. Two-Degree-of-Freedom Dynamic Model of a Two-Wheel Vehicle.
Figure 1. Two-Degree-of-Freedom Dynamic Model of a Two-Wheel Vehicle.
Sensors 24 07928 g001
Figure 2. Schematic Diagram of a General Fifth-order Polynomial Trajectory.
Figure 2. Schematic Diagram of a General Fifth-order Polynomial Trajectory.
Sensors 24 07928 g002
Figure 3. Schematic Diagram of Trajectory Tracking.
Figure 3. Schematic Diagram of Trajectory Tracking.
Sensors 24 07928 g003
Figure 4. Principle of Fuzzy PID Control.
Figure 4. Principle of Fuzzy PID Control.
Sensors 24 07928 g004
Figure 5. Input and output variable membership function curves.
Figure 5. Input and output variable membership function curves.
Sensors 24 07928 g005
Figure 6. Lateral dynamic simulation results.
Figure 6. Lateral dynamic simulation results.
Sensors 24 07928 g006
Figure 7. Lateral characteristic curves of input and output.
Figure 7. Lateral characteristic curves of input and output.
Sensors 24 07928 g007
Figure 8. Longitudinal PID Displacement–Velocity Controller Principle.
Figure 8. Longitudinal PID Displacement–Velocity Controller Principle.
Sensors 24 07928 g008
Figure 9. Longitudinal dynamic simulation results.
Figure 9. Longitudinal dynamic simulation results.
Sensors 24 07928 g009
Figure 10. Longitudinal characteristic curves of input and output.
Figure 10. Longitudinal characteristic curves of input and output.
Sensors 24 07928 g010
Figure 11. Experiment Configuration.
Figure 11. Experiment Configuration.
Sensors 24 07928 g011
Figure 12. Diagram of the effect of the intelligent vehicle’s tracking trajectory in constant speed lane changing and straight driving experiments.
Figure 12. Diagram of the effect of the intelligent vehicle’s tracking trajectory in constant speed lane changing and straight driving experiments.
Sensors 24 07928 g012
Figure 13. Time dependent variation in control variables and related errors in constant speed lane changing and straight driving experiments.
Figure 13. Time dependent variation in control variables and related errors in constant speed lane changing and straight driving experiments.
Sensors 24 07928 g013
Figure 14. Diagram of the effect of the intelligent vehicle’s tracking trajectory in straight parking experiment at intersection.
Figure 14. Diagram of the effect of the intelligent vehicle’s tracking trajectory in straight parking experiment at intersection.
Sensors 24 07928 g014
Figure 15. Time dependent variation in control variables and related errors in straight parking experiments at intersections.
Figure 15. Time dependent variation in control variables and related errors in straight parking experiments at intersections.
Sensors 24 07928 g015
Table 1. Fuzzy rules in horizontal fuzzy PID controller.
Table 1. Fuzzy rules in horizontal fuzzy PID controller.
e/ec1NBNMNSZOPSPMPB
Kp1, Ki1, Kd1
NBPB NB PSPB NB PSPM NB ZOPM NM ZOPS NM ZOPS ZO PBZO ZO PB
NMPB NB NSPB NB NSPM NB ZOPM NM NSPS NS ZOZO ZO PSZO ZO PM
NSPM NM NBPM NM NBPM NS NMPS NS NSZO ZO ZONS PS PSNM PS PM
ZOPM NM NBPS NM NBPS NS NMZO ZO NSNS PS ZONM PS PSNM PM PM
PSPS NS NBPS NS NMZO ZO NSNS PS NSNS PS ZONM PM PSNM PM PS
PMZO ZO NMZO ZO NSNS PS NSNM PM NSNM PM ZONM PB PSNB PB PS
PBZO NB PSNS NM ZONS NS ZONM ZO ZONM PS ZONB PM PBNB PB PB
Table 2. Fuzzy rules in longitudinal fuzzy PID controller.
Table 2. Fuzzy rules in longitudinal fuzzy PID controller.
exv/ec2NBNMNSZOPSPMPB
Kp2, Ki2, Kd2
NBPB NB PSPB NM PSPM NM ZOPM NS ZSPS NS NSPS ZO NMZO ZO NB
NMPM NM NMPM NM NSPS NS ZSPS NS ZOZO ZO PSNS ZO PSNM PS PS
NSPS NS ZOPS NS ZOZO ZO PSZO PS PSNS PS PM NS PM PMNM PM PB
ZOZO NM NSZO NM NS NS NS ZONS NS ZONM NM PSNM NM PSNB NB PM
PSPS NS ZOPS NS ZOZO ZO PSZO PS PSNS PS PMNM PM PMNB PM PB
PMPM NM NMPM NM NSPS NS NSPS NS ZOZO ZO PSNS ZO PSNM PS PS
PBPB NB PSPB NM PSPM NM ZOPM NS NBPS NS NBPS ZO NMZO ZO PS
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Jin, M.; Qu, M.; Gao, Q.; Huang, Z.; Su, T.; Liang, Z. Advanced Trajectory Planning and Control for Autonomous Vehicles with Quintic Polynomials. Sensors 2024, 24, 7928. https://doi.org/10.3390/s24247928

AMA Style

Jin M, Qu M, Gao Q, Huang Z, Su T, Liang Z. Advanced Trajectory Planning and Control for Autonomous Vehicles with Quintic Polynomials. Sensors. 2024; 24(24):7928. https://doi.org/10.3390/s24247928

Chicago/Turabian Style

Jin, Ma, Mingcheng Qu, Qingyang Gao, Zhuo Huang, Tonghua Su, and Zhongchao Liang. 2024. "Advanced Trajectory Planning and Control for Autonomous Vehicles with Quintic Polynomials" Sensors 24, no. 24: 7928. https://doi.org/10.3390/s24247928

APA Style

Jin, M., Qu, M., Gao, Q., Huang, Z., Su, T., & Liang, Z. (2024). Advanced Trajectory Planning and Control for Autonomous Vehicles with Quintic Polynomials. Sensors, 24(24), 7928. https://doi.org/10.3390/s24247928

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