Next Article in Journal
Electric Vehicle Air Conditioning System and Its Optimization for Extended Range—A Review
Next Article in Special Issue
Analysis and Roll Prevention Control for Distributed Drive Electric Vehicles
Previous Article in Journal / Special Issue
Vehicle Safety Planning Control Method Based on Variable Gauss Safety Field
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Trajectory Tracking Control of Intelligent X-by-Wire Vehicles

1
State Key Laboratory of Automotive Simulation and Control, Jilin University, Changchun 130022, China
2
Automotive Engineering Research Institute, Jiangsu University, Zhenjiang 212013, China
3
Jiangsu Chaoli Electric Co., Ltd., Danyang 212321, China
*
Author to whom correspondence should be addressed.
World Electr. Veh. J. 2022, 13(11), 205; https://doi.org/10.3390/wevj13110205
Submission received: 21 September 2022 / Revised: 21 October 2022 / Accepted: 26 October 2022 / Published: 1 November 2022

Abstract

:
Vehicle intelligence is an effective way to improve driving safety and comfort and reduce traffic accidents. The trajectory tracking control of unmanned vehicles is the core module of intelligent vehicles. As a redundant system, the X-by-wire electric vehicle has the advantage that the turning angles and driving torque of the four wheels can be precisely controlled and it has a higher degree of controllability and flexibility. In this paper, a trajectory tracking control algorithm based on a hierarchical control architecture is designed based on x-by-wire vehicles. The hierarchical control algorithm architecture includes the trajectory tracking layer, tire force distribution layer, and actuator control layer. The trajectory tracking layer uses the longitudinal force, lateral force, and yaw moment as the control variables; the model predictive control algorithm controls the vehicle to follow the desired trajectory. The tire force distribution layer is solved by transforming the tire force distribution problem into a quadratic programming problem with constraints. Based on the expected resultant force and resultant moment, the longitudinal force and lateral force of each tire in the vehicle coordinate system are obtained. The actuator control layer converts the coordinate system to obtain the longitudinal force and lateral force in the tire coordinate system, which uses the arctangent function tire model to solve the desired tire slip angle, and then obtains the vehicle steer angle and driving torque. To verify the effectiveness of the trajectory tracking control algorithm of the hierarchical control architecture, the proposed trajectory tracking control algorithm is simulated and verified through the variable speed double line change condition and the low road friction coefficient double line change condition. The simulation results show that the control algorithm proposed in this paper has the accuracy to follow the desired trajectory.Definition:

1. Introduction

The rapid development of control-by-wire technology provides a strong technical guarantee for the realization of electronic, intelligent, and electrified vehicles, and makes x-by-wire vehicles a current research hotspot [1,2]. The x-by-wire electric vehicle is a highly redundant system, whose steer angle and driving torque of the four wheels can be precisely controlled; thus, compared with traditional vehicles, it can theoretically achieve better control effects [3]. The x-by-wire electric vehicle has a variety of driving modes that can be switched, with better trajectory tracking performance and a larger turning curvature limit, which can easily realize in situ steering, differential steering, oblique driving, and other working conditions, and can meet the requirements of higher precision trajectory tracking and critical working conditions [4,5,6]. The high degree of controllability and flexibility and high execution ability of x-by-wire electric vehicles provide a platform for the research into driverless vehicles, which has great development potential.
The problem of trajectory tracking control is one of the three key technologies related to intelligent driving vehicles [7]. As far as the trajectory tracking control of traditional front-wheel steered vehicles is concerned, the relevant theories and research methods are relatively mature, the relevant simulation experiments have been quite abundant, and many control strategies have been verified by real vehicles in specific environments. The control strategies include the following: pure tracking control, traditional proportional-integral-derivative (PID) control, sliding mode control, dynamic feedback control, fuzzy control, and model predictive control (MPC) [8,9,10]. Al-Mayyahi et al. [11] proposed a PID-based fractional-order (FOPID) controller for the trajectory tracking problem, using two FOPID controllers to calculate the control input torque of the vehicle and using a particle swarm optimization algorithm to control the parameters in the FOPID controller. Kapania et al. [12] added the vehicle’s side-slip characteristics to the feedforward controller to improve the dynamic characteristics of the tire within the friction limit while keeping the vehicle within the handling limit, minimizing lateral tracking deviation. Wu [13] proposed a back stepping sliding mode controller to reduce the chattering problem of the sliding mode control. Using the fuzzy control algorithm for the overdrive system, the simulation experiment proves that the back stepping sliding mode control method has higher control precision and a smoother control process than the traditional sliding mode control. Mallem et al. [14] proposed a fast terminal sliding mode dynamic inverse control method based on PID, which makes the position and direction of the movement around the desired trajectory asymptotically stable, and used a terminal sliding mode control method to ensure finite time convergence of the trajectory tracking error to zero. Rokonuzzaman et al. [15] proposed to use the large amount of data provided by the vehicle to design MPC with a neural-network-based vehicle learning dynamic model to improve the tracking performance; the results under various road conditions show that the proposed method outperforms the MPC of the traditional vehicle model. Funke et al. [16] proposed a new control structure based on model predictive control and feedback control that integrates path tracking, vehicle stabilization, and collision avoidance, and coordinated these conflicting goals through the priority of collision avoidance. Experimental data show that the controller drives safely within the operational limits of the vehicle.
The x-by-wire electric vehicle has the advantages of independent four-wheel drive/brake and steering control, so it has been widely studied by universities and enterprises. However, the research on trajectory tracking control mainly focuses on traditional vehicles and there are few studies on trajectory tracking control algorithms for x-by-wire electric vehicles.
Based on proportional-integral (PI) control and adaptive model predictive control, Ahn et al. [17] designed an integrated autonomous driving system independent of each wheel for vehicles equipped with four-wheel independent motors to improve vehicle stability and path tracking performance. Li et al. [7] proposed a sliding mode drive controller based on PID control and sliding mode control for 4WIS/4WID vehicles. Hiraoka et al. [18] proposed an automatic controller for four-wheel steering vehicle path tracking based on sliding mode control theory. Compared with active front-wheel steering, the four-wheel steering controller has a more stable and accurate trajectory tracking capability. Zheng et al. [19] designed a trajectory tracking strategy based on a hierarchical control method. The path tracking layer adopts a nonlinear state feedback controller, and a neural network proportional-integral-derivative controller is designed to track the desired path and obtain the desired yaw rate. Chen et al. [20] designed a new adaptive linear quadratic optimal regulator (LQR) as a coordinated controller for 4WIS/4WID electric vehicle stability control. According to different vehicle speeds and road conditions, the phase plane method is used to calculate the center of mass slip angle and stability margin.
On the other hand, the current research on the trajectory tracking control of x-by-wire electric vehicles rarely considers constraints such as tire adhesion. As each wheel of the x-by-wire vehicle can be independently controlled, a reasonable control algorithm and control strategy can achieve independent longitudinal and lateral control of each wheel, improving the accuracy of trajectory tracking and the driving stability of the vehicle.
This paper takes the x-by-wire electric vehicle as the research carrier and designs the trajectory tracking control strategy based on the hierarchical control architecture, which includes the trajectory tracking layer, the tire force distribution layer, and the actuator control layer. The main contribution of this paper is as follows:
  • Based on the hierarchical architecture, an x-by-wire electric vehicle trajectory tracking control strategy is established in which the controllers of each layer are modularly designed. The effectiveness of the algorithm is verified by simulation experiments.
  • In the tire force distribution layer, the regular octagon constraint is used to linearize the tire force constraint and the tire force distribution problem is transformed into a quadratic programming problem with constraints for solving, which improves the real-time performance of the algorithm.
The rest of this article is structured as follows. Section 2 introduces a nonlinear x-by-wire chassis vehicle model. Section 3 introduces the trajectory tracking controller based on a hierarchical architecture. Section 4 introduces the simulation under the DLC test. Section 5 presents the conclusion of the article.

2. Vehicle Dynamic Model and Tire Model

2.1. Vehicle Dynamic Model

The nonlinear dynamic model of the vehicle established in this paper is as follows:
v ˙ y = v x r + 1 m F y v ˙ x = v y r + 1 m F x r ˙ = 1 I z M z e ˙ φ = r s ˙ κ r e ˙ l = v x sin e φ + v y cos e φ s ˙ = v x cos e φ v y sin e φ 1 l κ r
where m is the mass of the vehicle. I z is the moment of inertia around the center of mass. s is the distance of the desired path. κ r is the curvature of the desired path. r , v x , and v y are the yaw rate, longitudinal speed, and lateral speed of the vehicle, respectively. e l and e φ are the lateral deviation and the heading angle deviation between the center of mass of the vehicle and the reference waypoint, respectively. F x , F y , and M z are the lateral force, longitudinal force, and yaw moment received by the center of mass of the vehicle, respectively.
The above vehicle model is nonlinear. Considering that the heading deviation e φ is generally small, it is assumed that cos e φ 1 , sin e φ 0 . At the same time, considering that the road curvature and lateral deviation are generally small, the lateral speed of the vehicle is generally much smaller than the longitudinal speed. Based on this, the following can be obtained:
s ˙ v x v y e φ v x e ˙ l v x e φ + v y v ˙ x = 1 m F x
The state equation of the vehicle lateral model is as follows:
d d t v y w e φ e l = 0 v x 0 0 0 0 0 0 0 1 0 0 1 0 v x 0 v y w e φ e l + 1 m 0 0 1 I z 0 0 0 0 F y M z + 0 0 v x 0 κ r
The state equation of the vehicle longitudinal model is as follows:
d d t s v x = 0 1 0 0 s v x + 1 m F x

2.2. Tire Model

At present, there are three types of tire models: the physical tire model, empirical–semi-empirical tire model, and finite element tire model. In this paper, the Pacejka tire model is selected, which is a semi-empirical tire model and can be expressed as follows [21]:
Y ( x ) = D sin C arctan B x E B x arctan B x
where Y ( x ) is the lateral tire force. x is the slip angle of tire. B is the stiffness factor. C , D , E are curve shape factor, peak factor, and curvature factor, respectively.

3. Trajectory Tracking Controller Based on Hierarchical Architecture

The hierarchical control algorithm structure has the advantages of clear algorithm design and being convenient for subsequent algorithm updating. For the x-by-wire chassis vehicle, which is a research object with high integration and high controllable degrees of freedom, the method of controlling each subsystem separately cannot give full play to its own performance advantages. The control strategy of the hierarchical structure can realize the coordinated control of each controller of the vehicle with an x-by-wire chassis. As shown in Figure 1, in the hierarchical trajectory tracking controller, it is divided into the trajectory tracking layer, tire force distribution layer, and actuator control layer. In the trajectory tracking layer, which is based on the MPC, the expected total force and moment are calculated by taking the longitudinal force F x , lateral force F y , and yaw moment M z in the vehicle coordinate system as the control variables. The tire force distribution layer solves for the longitudinal force F l , i , j and lateral force F c , i , j in the vehicle coordinate system of each wheel. The actuator control layer obtains the tire steer angle δ i j and driving torque T i j based on the inverse tire force model and controls the controlled vehicle to track the trajectory.

3.1. Trajectory Tracking Layer

3.1.1. Prediction Model

In this paper, the trajectory tracking layer is established based on the MPC algorithm and the state equation established based on Equation (1) is used as the prediction model as follows:
d d t v y r e φ e l s v x = 0 v x 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 v x 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 v y r e φ e l s v x + 1 m 0 0 0 1 I z 0 0 0 0 0 0 0 0 0 0 0 0 1 m F y M z F x + 0 0 v x 0 0 0 κ r
Equation (5) is rewritten as follows:
x ˙ t = A c x t + B c u u t + B c d d t y t = C c x t
A c is the state matrix, B c u is the control matrix, B c d is the disturbance matrix, and C c is the output matrix, respectively:
A c = 0 v x 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 v x 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 , B c u = 1 m 0 0 0 1 I z 0 0 0 0 0 0 0 0 0 0 0 0 1 m , C c = I 6 × 6
Discretization of Equation (5):
x k + 1 = A d x k + B d u u ( k ) + B d d d k y t = C c x t
The discrete sampling time is defined as T s , then the discretized coefficient matrix is as follows:
A d = e A c T s B d u = B c u 0 T s e A c τ d τ B d d = B c d 0 T s e A c τ d τ C d = C c
In order to reduce the vibration of the control amount, the control amount is rewritten as an incremental type:
Δ u k = u k u k 1
The state equation is as follows:
x k + 1 = A d x k + B d u u k 1 + Δ u k + B d d d k
The augmented state is as follows:
ξ k = x k u k 1
Then, the equation of state can be rewritten as follows:
ξ k + 1 = A ¯ d ξ k + B ¯ d u Δ u k + B ¯ d d d k y k = C ¯ d ξ k
Among:
A ¯ d = A d B d u O I ,   B ¯ d u = B d u I , B ¯ d d = B d d O , C ¯ d = C d O
After applying the control variables, the model prediction process is as follows:
ξ k + 1 = A ¯ d ξ k + B ¯ d u Δ u k + B ¯ d d d k
ξ k + 2 = A ¯ d ξ k + 1 + B ¯ d u Δ u k + 1 + B ¯ d d d k + 1 = A ¯ d 2 ξ k + A ¯ d B ¯ d u Δ u k + B ¯ d u Δ u k + 1 + A ¯ d B ¯ d d d k + B ¯ d d d k + 1
ξ k + N c = A ¯ d ξ k + N c 1 + B ¯ d u Δ u k + N c 1 + B ¯ d d d k + N c 1 = A ¯ d N c ξ k + i = 0 N c 1 A ¯ d i B ¯ d u Δ u k + N c 1 i + i = 0 N c 1 A ¯ d i B ¯ d d d k + N c 1 i
ξ k + N p = A ¯ d ξ k + N p 1 + B ¯ d u Δ u k + N c 1 + B ¯ d d d k + N p 1 = A ¯ d N p ξ k + i = 0 N c 1 A ¯ d i + N p N c B ¯ d u Δ u k + N c 1 i + i = 0 N p 1 A ¯ d i B ¯ d d d k + N p 1 i
Definition:
Y k + 1 = y k + 1 y k + 2 y k + N c y k + N p = C ¯ d ξ k + 1 C ¯ d ξ k + 2 C ¯ d ξ k + N c C ¯ d ξ k + N p , X k = ξ k + 1 ξ k + 2 ξ k + N c ξ k + N p , Δ D k = d k d k + 1 d k + N c d k + N p
where Y k + 1 is the output vector, X k is the state vector, and Δ D k is the disturbance vector.
Y k + 1 = S x ξ k + S u Δ U k + S d D k
The state matrix S x , control matrix S u , and disturbance matrix S d are, in respective order, as follows:
S x = C ¯ d A ¯ d C ¯ d A ¯ d 2 C ¯ d A ¯ d N c C ¯ d A ¯ d N p S u = C ¯ d B ¯ d u O O C ¯ d A ¯ d B ¯ d u C ¯ d B ¯ d u O C ¯ d A ¯ d N c 1 B ¯ d u C ¯ d A ¯ d N c 2 B ¯ d u C ¯ d B ¯ d u C ¯ d A ¯ d N p 1 B ¯ d u C ¯ d A ¯ d N p 2 B ¯ d u C ¯ d A ¯ d N p N c B ¯ d u S d = C ¯ d B ¯ d d O O C ¯ d A ¯ d B ¯ d d C ¯ d B ¯ d d O C ¯ d A ¯ d N c 1 B ¯ d d C ¯ d A ¯ d N c 2 B ¯ d d O C ¯ d A ¯ d N p 1 B ¯ d d C ¯ d A ¯ d N p 2 B ¯ d d C ¯ d B ¯ d d

3.1.2. Cost Function

In order to ensure the safe and accurate driving of the x-by-wire electric vehicle according to the predetermined trajectory, the cost function is as follows:
J = i = 1 N p Γ x i y k + i y r e f 2 + i = 0 N c 1 Γ u i Δ u k + i 2 = Y k + i Y r e f T Γ x Y k + i Y r e f + Δ U k T Γ u Δ U k = S x ξ k + S u Δ U k + S d D k Y r e f T Γ x S x ξ k + S u Δ U k + S d D k Y r e f + Δ U k T Γ u Δ U k
The error E is defined as follows:
E = S x ξ k + S d D k Y r e f
Equation (18) be rewritten as follows:
J = S u Δ U k + E k T Γ x S u Δ U k + E k + Δ U k T Γ u Δ U k = Δ U k T Γ u + S u T Γ x S u Δ U k + 2 Δ U k T S u T Γ x E k + E k T Γ x E k
The symmetric matrix is as follows:
Γ x = d i a g Γ x 1 , Γ x N p , Γ u = d i a g Γ u 1 , Γ u N c
To simplify further,
H = Γ u + S u T Γ x S u f = 2 S u T Γ x E k + E k T Γ x E k
Substituting Equation (21) into Equation (18), the cost function is as follows:
J = Δ U k T H Δ U k + Δ U k T f + E k T Γ x E k

3.1.3. Security Constraints

When the vehicle is driving, it is necessary to ensure the stability and safety of the vehicle. Vehicle stability characteristics can be captured by nonlinear tire state models. Bobier [22] uses the center of mass slip angle-yaw rate to handle the vehicle’s stability constraint envelope.
When the additional yaw moment generated by the longitudinal force is not considered, in the steady state, the relationship between the yaw rate of the vehicle and the lateral force is as follows:
r ˙ = F y m v x
As the road friction coefficient limit is F y μ m g , the limit of the yaw rate at which the vehicle is stable is as follows:
r ˙ μ g v x
The safe driving environment of the vehicle is the safe envelope area considering road boundaries, obstacles, and traffic vehicles. The obstacle avoidance and stability control framework proposed by Erlien et al. [23] uses the safe driving envelope to delineate a collision-free area for the vehicle to exercise and the environmental safety constraints are constrained by road boundaries and traffic vehicles. This paper is based on the road boundary of the tracked trajectory as a constraint, which can be expressed as follows:
H e n v ξ e max B 2 l b u f f e r e min + B 2 + l b u f f e r
H e n v = 0 0 0 1 0 0 0 0 0 1 0 0 . e max and e min represent the upper and lower boundaries of the road, respectively. l b u f f e r is the boundary safety margin.

3.2. Tire Force Distribution Layer

As the four wheels of an x-by-wire electric vehicle can be independently controlled, the control variables obtained based on the trajectory tracking layer are the longitudinal force F x , lateral force F y , and yaw moment M z at the center of mass. Therefore, the resultant force and torque need to be distributed to each wheel. The tire force distribution layer adopts an optimized method to distribute the force/moment to each wheel under the condition of satisfying the tire force constraint.

3.2.1. Tire Force Constraints

During the driving of the vehicle, the resultant force generated by each tire must satisfy the constraints of the trajectory tracking layered force equation:
F x , f l + F x , f r + F x , r l + F x , r r = F x F y , f l + F y , f r + F y , r l + F y , r r = F y F y , f l + F y , f r l f F y , r l + F y , r r l r + B 2 F x , f l + F x , f r F x , r l + F x , r r = M z
When distributing the tire force, in order to ensure the stability of the vehicle, it is necessary to consider the adhesion capacity of the wheel and tire. Assuming that the road friction coefficient is μ , the maximum resultant force that the tire can generate is F μ F z , where F z is the vertical load.
F x 2 + F y 2 μ F z 2
As shown in Figure 2, the longitudinal force and lateral force of the tire must satisfy the friction circle constraint. When the wheel is in the extreme condition, the tire force will reach the limit of the friction circle and the wheel will slip, resulting in the loss of vehicle stability. The constraint of tire adhesion is nonlinear and the tire force problem can be defined as an optimization problem with quadratic constraints, but it is often time-consuming. In order to improve the real-time performance of the algorithm, the tire force constraint is simplified on the premise of ensuring the driving stability of the vehicle. Therefore, this paper adopts the circumscribed regular octagon of the friction circle to approximately describe the tire friction constraint and converts the quadratic constraint into a linear constraint.
As shown in Figure 2, R is the radius of friction circle and R e is the radius of the simplified octagon.
R e = R sec 22.5 1.08 R
S o c t a g o n S c i r c l e = 8 π 1 + 2 1.0548
According to the geometric calculation, the radius of the regular octagon is 1.08 times the radius of the friction circle and the area of the octagon is about 5.5% larger than that of the friction circle. This linearization treatment has little effect on tire force and ensures the driving stability of an x-by-wire chassis vehicle. The regular octagon is replaced by the friction circle and the octagon linear inequality constraint of the tire friction circle is shown in Equation (28). F x , F y must be inside the regular octagon A 1 A 2 A 3 A 4 A 5 A 6 A 7 A 8 and the constraints of the attached ellipse can be expressed as follows:
μ F z F x μ F z μ F z F y μ F z 2 μ F z F x + F y 2 μ F z 2 μ F z F x F y 2 μ F z
For the four tires of the vehicle, the matrix form is expressed as follows:
F = F x , f l F x , f r F x , r l F x , r r F y , f l F y , f r F y , r l F y , r r T

3.2.2. Objective Function

The tire adhesion margin is defined as follows [24]:
ε = 1 F μ F z
The adhesion margin of the tire represents the ratio of the remaining utilization force of the tire to the maximum force provided by the tire. The value range is 0 ~ 1 and ε = 0 represents the tire reaching the adhesion limit. Thus, the objective function is defined to maximize the attachment margin. The tire usage rate is defined as follows:
η = 1 ε = F μ F z
Based on Equation (31), the objective function is defined as the minimum sum of the tire usage rates of the four tires, which is as follows:
J = i = 1 4 F x i 2 + F y i 2 μ F z i 2
In this article, the main object of coordination control is the lateral and longitudinal tire forces, which are related to vertical force. However, the vertical forces are not the control object of the control strategy, so the vertical force is regarded as directly available through sensors or other means.

3.2.3. Tire Force Distribution Algorithm

From Equation (32), the tire force distribution problem is regarded as an optimization problem with constraints:
min F x , i j , F y , i j J s . t . A x b
Based on the objective function in Equation (32) and the optimization variable in Equation (29), the optimization problem is a quadratic programming problem, which can be solved quickly.

3.3. Actuator Control Layer

X-by-wire electric vehicles follow a desired trajectory by having independent drive/brake and steering control of each wheel. The actuator control layer converts the longitudinal force and lateral force of each wheel under the vehicle coordinate system obtained by the tire force distribution layer into the tire coordinate system. Figure 3 presents the tire force diagram.
The tire force relationship is as follows:
F c , i j F l , i j = cos δ i j sin δ i j sin δ i j cos δ i j F x , i j F y , i j
δ i j is the wheel steer angle, α i j is the tire slip angle, and θ i j is the angle between the driving direction of the wheel and the longitudinal axis of the wheel coordinate system.
θ i j = δ i j + α i j
The tire side slip angle α i j is generally small. Equation (35) is approximated as follows:
θ i j δ i j
The force in the tire coordinate system can be obtained as follows:
F ^ c , i j F ^ l , i j = cos θ i j sin θ i j sin θ i j cos θ i j F x , i j F y , i j
The lateral and longitudinal velocity of each wheel are as follows:
v y , f l = v y , f r = v y + l f φ ˙ v y , r l = v y , r r = v y l f φ ˙ v x , f l = v x , f r = v x B 2 φ ˙ v x , f r = v x , r r = v x + B 2 φ ˙
It can be obtained from Equation (37) that the angle between the motion direction of each wheel and the longitudinal direction of the body coordinate system is as follows:
θ f l = tan 1 v y , f l v x , f l = tan 1 v y + l f φ ˙ v x B 2 φ ˙ θ f r = tan 1 v y , f r v x , f r = tan 1 v y + l f φ ˙ v x + B 2 φ ˙ θ r l = tan 1 v y , r l v x , r l = tan 1 v y l f φ ˙ v x B 2 φ ˙ θ r r = tan 1 v y , r r v x , r r = tan 1 v y + l f φ ˙ v x + B 2 φ ˙
The actuator control layer solves the relationship between tire slip angle and lateral force based on the arctangent model proposed by Sakai et al. [25], the function of which could fit the magic tire formula. The tire side slip model can be expressed as follows:
F y = C G x μ k tan 1 k μ α G x = 1 F x μ F z 2 k = C π 2 F z
k and G x are factors and C is the tire side slip stiffness.
The desired F ^ l , i j is brought into Equation (39) and the tire slip angle α ^ i j can be obtained, then the wheel angle is as follows:
δ i j = θ i j α ^ i j
The longitudinal moment of the wheel is as follows:
T i j = 1 1 + τ s F i j r i j
τ is the time constant and r i j is the radius of rotation of the wheel.

4. Simulation Test

On the one hand, real vehicle experiments have a certain risk owing to a variety of conditions. On the other hand, in order to ensure the vehicle in the experiment has the expected trajectory and speed and to reduce the influence of the experimenter’s subjective control on the experimental results, focus is placed upon the influence of the control strategy on the vehicle driving stability in the trajectory tracking control. In this paper, the effectiveness of the control strategy is verified by simulation experiment.
Through MATLAB/Simulink and CarSim simulation, the hierarchical trajectory tracking control algorithm is verified by the double line change (DLC) test. The vehicle parameters are shown in Table 1.

4.1. Variable Velocity DLC Condition

On a road with a friction coefficient of 0.85, the trajectory tracking of an x-by-wire electric vehicle under variable speed is simulated. The initial velocity of the vehicle is 20 km/h and the simulation time is set to 20 s.
As shown in Figure 4, the control algorithm can follow the changing vehicle velocity well and accurately track the desired trajectory; the lateral deviation and heading angle deviation of the trajectory tracking are kept within a small range.
As shown in Figure 5, the values of the vehicle’s center of mass slip angle and yaw angular velocity all change within a small range and the changes are relatively stable; the change range in the vehicle’s lateral speed and lateral acceleration is also small, which proves the vehicle has lateral stability.
As shown in Figure 5a, the driving torque has a jitter before 5 s, which is due to the large deviation between the real vehicle velocity and the reference velocity at this time. In order to reduce this deviation, the driving torque is increased. When the deviation is reduced to a reasonable range, the driving torque returns to the normal value. The change in velocity is shown in Figure 4a.
As shown in Figure 6, the trajectory tracking control algorithm can reasonably distribute the load of the four tires while following the desired trajectory to ensure the stability of the vehicle.

4.2. Low Road Friction Coefficient DLC Condition

In order to further verify that the control algorithm has good following ability and stability, a pavement with friction coefficient of 0.35 was selected for the DLC test. The initial speed is 40 km/h.
As shown in Figure 7, the control algorithm can also follow the desired vehicle speed well and accurately track the desired trajectory in the low friction coefficient road environment.
As shown in Figure 8, the lateral deviation and heading angle deviation of trajectory tracking are kept within a small range. The change in the control amount is relatively stable and there is no major fluctuation. The side slip angle and yaw rate also kept fluctuating within a relatively stable range.
As shown in Figure 9, it can be seen from the tire utilization coefficient of each wheel that the vehicle runs stably and safely on a low-adhesion road surface. It is proved that the algorithm proposed in this paper is suitable for various working conditions. Based on the curve of tire force and tire utilization coefficient in the simulation experiment, it conforms to the change in tire performance of each wheel in the real driving process of the vehicle. On the other hand, the vehicle state parameters also conform to the actual driving performance of the vehicle. Therefore, the results of the simulation experiment are considered to be reliable.

5. Conclusions

In this paper, the trajectory tracking control module of an x-by-wire electric vehicle is designed. A trajectory tracking control algorithm based on a hierarchical control architecture is designed to perform effective trajectory tracking control for an x-by-wire electric vehicle, which facilitates the subsequent further development of each layer. The control algorithm includes the trajectory tracking layer, tire force distribution layer, and actuator control layer. The trajectory tracking layer uses longitudinal force, lateral force, and yaw moment as control variables and designs an MPC algorithm to control the vehicle to follow the desired trajectory. The tire force distribution layer distributes the desired resultant force/moment to each vehicle tire. In this paper, the tire force distribution problem is transformed into a quadratic programming problem with constraints to solve such that the longitudinal force and lateral force of each tire in the vehicle coordinate system are obtained. The actuator control layer can obtain the longitudinal force and lateral force in the tire coordinate system through coordinate system transformation in order to obtain the vehicle turning angle and vehicle driving/braking torque control amount. Through the arctangent function tire model, the expected tire slip angle is obtained, and then the vehicle steer angle and driving torque are obtained. In order to verify the effectiveness of the algorithm, the effectiveness of the proposed control algorithm is verified based on simulation experiments.

Author Contributions

Conceptualization, Z.W. and H.Z.; methodology, Z.W.; software, H.Z.; validation, Y.L., C.K., and H.Z.; formal analysis, Z.W.; investigation, H.Z.; data curation, C.K.; writing—original draft preparation, Z.W., Y.L., and H.Z.; writing—review and editing, Z.W. and H.Z.; visualization, Z.W. and H.Z.; supervision, H.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the National Key Research and Development Program of China under Grant, grant number 2021YFB2500703.

Data Availability Statement

Not applicable.

Conflicts of Interest

Chuyo Kaku is an employee of Jiangsu Chaoli Electric Co., Ltd., Danyang 212321, China. The paper reflects the views of the scientists and not the company. Dr Kaku is a part-time professor in our research group; however, his formal affiliation is a company.

References

  1. Ni, J.; Hu, J.; Xiang, C. A review for design and dynamics control of unmanned ground vehicle. Proc. Inst. Mech. Eng. Part D J. Automob. Eng. 2021, 235, 1084–1100. [Google Scholar] [CrossRef]
  2. Zhang, L.; Zhang, Z.; Wang, Z.; Deng, J.; Dorrel, D. Chassis Coordinated Control for Full X-by-Wire Vehicles—A Review. Chin. J. Mech. Eng. 2021, 34, 42. [Google Scholar] [CrossRef]
  3. Song, P.; Zong, C.; Zheng, H.; He, L. Rapid prototyping for the vehicle control unit of a full drive-by-wire electric vehicle. Adv. Mater. Res. 2013, 694–697, 1573–1581. [Google Scholar] [CrossRef]
  4. Zhang, D.; Zong, C.; Chen, G.; Song, P.; Zhang, Z. Study on Dynamic Characteristics and Control Methods for Drive-by-Wire Electric Vehicle; SAE Technical Paper 2014-01-2291; SAE International: Warrendale, PA, USA, 2014. [Google Scholar]
  5. Ding, W.; Wang, K.; Li, Y.; Liu, Z.; Wang, H. Multidirectional-motion-coupling-based Extreme Motion Control of Distributed Drive Autonomous Vehicle. Sci. Rep. 2022; under review. [Google Scholar]
  6. Chen, T.; Xu, X.; Li, Y.; Wang, W.; Chen, L. Speed-dependent coordinated control of differential and assisted steering for in-wheel motor driven electric vehicles. Proc. Inst. Mech. Eng. Part D J. Automob. Eng. 2018, 232, 1206–1220. [Google Scholar] [CrossRef]
  7. Li, B.; Du, H.; Li, W. Trajectory control for autonomous electric vehicles with in-wheel motors based on a dynamics model approach. IET Intell. Transp. Syst. 2016, 10, 318–330. [Google Scholar] [CrossRef]
  8. Hu, C.; Jing, H.; Wang, R.; Yan, F.; Chadli, M. Robust H∞ output-feedback control for path following of autonomous ground vehicles. Mech. Syst. Signal Process. 2016, 70–71, 414–427. [Google Scholar] [CrossRef]
  9. Borase, R.; Maghade, D.; Sondkar, S.; Pawar, S. A review of PID control, tuning methods and applications. Int. J. Dyn. Control 2021, 9, 818–827. [Google Scholar] [CrossRef]
  10. Wang, Y.; Ding, H.; Yuan, J.; Chen, H. Output-feedback triple-step coordinated control for path following of autonomous ground vehicles. Mech. Syst. Signal Process. 2019, 116, 146–159. [Google Scholar] [CrossRef]
  11. AI-Mayyahi, A.; Wang, W.; Birch, P. Path tracking of autonomous ground vehicle based on fractional order PID controller optimized by PSO. In Proceedings of the 2015 IEEE 13th International Symposium on Applied Machine Intelligence and Informatics (SAMI), Herl’any, Slovakia, 22–24 January 2015. [Google Scholar]
  12. Kapania, N.; Gerdes, J. Design of a feedback-feedforward steering controller for accurate path tracking and stability at the limits of handling. Veh. Syst. Dyn. 2015, 53, 1687–1704. [Google Scholar] [CrossRef] [Green Version]
  13. Wu, X.; Jin, P.; Zou, T.; Qi, Z.; Xiao, H.; Lou, P. Backstepping trajectory tracking based on fuzzy sliding mode control for differential mobile robots. J. Intell. Robot. Syst. 2019, 96, 109–121. [Google Scholar] [CrossRef]
  14. Mallem, A.; Nourredine, S.; Benaziza, W. Mobile robot trajectory tracking using PID fast terminal sliding mode inverse dynamic Control. In Proceedings of the 2016 4th International Conference on Control Engineering & Information Technology (CEIT), Hammamet, Tunisia, 16–18 December 2016. [Google Scholar]
  15. Rokonuzzaman, M.; Mohajer, N.; Nahavandi, S.; Mohamed, S. Model predictive control with learned vehicle dynamics for autonomous vehicle path tracking. IEEE Access 2021, 9, 128233–128249. [Google Scholar] [CrossRef]
  16. Funke, J.; Brown, M.; Erlien, S.; Gerdes, J. Collision avoidance and stabilization for autonomous vehicles in emergency scenarios. IEEE Trans. Control Syst. Technol. 2016, 25, 1204–1216. [Google Scholar] [CrossRef]
  17. Ahn, T.; Lee, Y.; Park, K. Design of integrated autonomous driving control system that incorporates chassis controllers for improving path tracking performance and vehicle stability. Electronics 2021, 10, 144. [Google Scholar] [CrossRef]
  18. Hiraoka, T.; Nishihara, O.; Kumamoto, H. Automatic path-tracking controller of a four-wheel steering vehicle. Veh. Syst. Dyn. 2009, 47, 1205–1227. [Google Scholar] [CrossRef]
  19. Zheng, H.; Yang, S. A trajectory tracking control strategy of 4WIS/4WID electric vehicle with adaptation of driving conditions. Appl. Sci. 2019, 9, 168. [Google Scholar] [CrossRef] [Green Version]
  20. Chen, X.; Han, Y.; Hang, P. Researches on 4WIS-4WID Stability with LQR Coordinated 4WS and DYC. In Proceedings of the IAVSD International Symposium on Dynamics of Vehicles on Roads and Tracks, Gothenburg, Sweden, 12–16 August 2019. [Google Scholar]
  21. Pacejka, H.; Bakker, E. The magic formula tyre model. Veh. Syst. Dyn. 1992, 21, 1–18. [Google Scholar] [CrossRef]
  22. Bobier, C. A Phase Portrait Approach to Vehicle Stabilization and Envelope Control; Stanford University: Stanford, CA, USA, 2012. [Google Scholar]
  23. Erlien, S.; Fujita, S.; Gerdes, J. Safe driving envelopes for shared control of ground vehicles. In Proceedings of the 7th IFAC Symposium on Advances in Automotive Control, Tokyo, Japan, 4–7 September 2013. [Google Scholar]
  24. Ono, E.; Hattori, Y.; Muragishi, Y.; Koibuchi, K. Vehicle dynamics integrated control for four-wheel-distributed steering and four-wheel-distributed traction/braking systems. Veh. Syst. Dyn. 2006, 44, 139–151. [Google Scholar] [CrossRef]
  25. Sakai, J.; Sado, H.; Hori, Y. Dynamic driving/braking force distribution in electric vehicles with independently driven four wheels. Electr. Eng. Jpn. 2002, 138, 79–89. [Google Scholar] [CrossRef]
Figure 1. Trajectory tracking controller architecture.
Figure 1. Trajectory tracking controller architecture.
Wevj 13 00205 g001
Figure 2. Tire friction constraint.
Figure 2. Tire friction constraint.
Wevj 13 00205 g002
Figure 3. Tire force of a single wheel.
Figure 3. Tire force of a single wheel.
Wevj 13 00205 g003
Figure 4. Vehicle state and tracking error: (a) velocity; (b) vehicle location; (c) lateral error; (d) heading error.
Figure 4. Vehicle state and tracking error: (a) velocity; (b) vehicle location; (c) lateral error; (d) heading error.
Wevj 13 00205 g004
Figure 5. Vehicle state: (a) driving torque; (b) steer angle; (c) side slip angle; (d) yaw rate; (e) lateral velocity; (f) lateral acceleration.
Figure 5. Vehicle state: (a) driving torque; (b) steer angle; (c) side slip angle; (d) yaw rate; (e) lateral velocity; (f) lateral acceleration.
Wevj 13 00205 g005aWevj 13 00205 g005b
Figure 6. Tire state: (a) tire vertical load; (b)tire utilization.
Figure 6. Tire state: (a) tire vertical load; (b)tire utilization.
Wevj 13 00205 g006
Figure 7. Vehicle state and tracking error: (a) velocity; (b) vehicle location; (c) lateral error; (d) heading error.
Figure 7. Vehicle state and tracking error: (a) velocity; (b) vehicle location; (c) lateral error; (d) heading error.
Wevj 13 00205 g007
Figure 8. Vehicle state: (a) driving torque; (b) steer angle; (c) side slip angle; (d) yaw rate; (e) lateral velocity; (f) lateral acceleration.
Figure 8. Vehicle state: (a) driving torque; (b) steer angle; (c) side slip angle; (d) yaw rate; (e) lateral velocity; (f) lateral acceleration.
Wevj 13 00205 g008
Figure 9. Tire state: (a) tire vertical load; (b) tire utilization.
Figure 9. Tire state: (a) tire vertical load; (b) tire utilization.
Wevj 13 00205 g009
Table 1. Vehicle parameters.
Table 1. Vehicle parameters.
ParametersSymbolUnitValue
Vehicle mass m k g 1120
Distance from center of mass to front axle l f m 1.165
Distance from center of mass to rear axle l r m 1.165
Wheelbase B m 1.75
Moment of inertia I z k g m 2 1020
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Wang, Z.; Li, Y.; Kaku, C.; Zheng, H. Trajectory Tracking Control of Intelligent X-by-Wire Vehicles. World Electr. Veh. J. 2022, 13, 205. https://doi.org/10.3390/wevj13110205

AMA Style

Wang Z, Li Y, Kaku C, Zheng H. Trajectory Tracking Control of Intelligent X-by-Wire Vehicles. World Electric Vehicle Journal. 2022; 13(11):205. https://doi.org/10.3390/wevj13110205

Chicago/Turabian Style

Wang, Zixu, Yong Li, Chuyo Kaku, and Hongyu Zheng. 2022. "Trajectory Tracking Control of Intelligent X-by-Wire Vehicles" World Electric Vehicle Journal 13, no. 11: 205. https://doi.org/10.3390/wevj13110205

Article Metrics

Back to TopTop