Next Article in Journal
Effect of Chitosan on the Removal of Different Types of Tannins from Red Wines
Previous Article in Journal
Experimental Study on Out-of-Plane Seismic Performance of New Type Masonry System
Previous Article in Special Issue
Statistical Validation Framework for Automotive Vehicle Simulations Using Uncertainty Learning
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Trajectory Tracking Control of Intelligent Electric Vehicles Based on the Adaptive Spiral Sliding Mode

1
School of Mechanical Engineering, Hebei University of Technology, Tianjin 300401, China
2
China Automotive Technology & Research Center Co., Ltd., Tianjin 300300, China
*
Author to whom correspondence should be addressed.
Appl. Sci. 2021, 11(24), 11739; https://doi.org/10.3390/app112411739
Submission received: 19 September 2021 / Revised: 2 December 2021 / Accepted: 6 December 2021 / Published: 10 December 2021

Abstract

:
Aiming at the multi-objective control problem of the tracking effect and vehicle stability in the process of intelligent vehicle trajectory tracking, a coordinated control strategy of the trajectory tracking and stability of intelligent electric vehicles is proposed based on the hierarchical control theory. The vehicle dynamics model and trajectory tracking model are established. In order to tackle the chattering problem in the traditional sliding mode controller, an Adaptive Spiral Sliding Mode controller is designed by taking the derivative of the controller as the upper controller, which is intended to reduce the heading deviation and lateral deviation in the trajectory tracking process whilst ensuring the stability of the vehicle itself. In the lower controller, a four-wheel tire force optimal distribution method is designed. According to the requirements of the upper controller, combined with the yaw stability of the vehicle, the directional control distribution of the four-wheel tire force is realized. A joint simulation model was built based on CarSim and Simulink, and simulation experiments were performed. The results show that the proposed control strategy can effectively control the heading deviation and lateral deviation in the vehicle trajectory tracking while ensuring the lateral stability of the vehicle.

1. Introduction

With the increasing maturity of control technology and the continuous improvement of drivers’ requirements for safety, maneuverability and ride comfort, the intelligent research of vehicles has received extensive attention [1]. Intelligent vehicles have better road utilization and higher safety, and their related research has been one of the research hotspots in recent years. Path-tracking control is a relatively common intelligent driving scheme in the intelligent driving process of intelligent vehicles. It aims to ensure that the heading error and lateral error in trajectory tracking approach zero. There have been many research results. Cai et al. [2] considered the longitudinal, lateral, yaw, and quasi-static roll motion of intelligent vehicles, designed a trajectory tracking control system based on model predictive control, and proposed a vehicle active and safe steering control method. In [3], a tracking-error learning control (TELC) algorithm was presented. In the TELC algorithm, the feedforward control actions are updated by using the tracking error dynamics, and the plant–model mismatch problem is thus discarded. Therefore, the feedforward controller gradually eliminates the feedback controller from the control of the system once the mobile robot has been put on-track. In addition to the proof of the stability, it was proven that the cost functions do not have local minima, such that the coefficients in the TELC algorithm guarantee that the global minimum is reached. The experimental results show that the TELC algorithm results in better path-tracking performance than the traditional tracking error-based control method. In [4], a path-tracking method based on model predictive control with a variable predictive horizon is proposed. Based on the designed model’s predictive controller for path tracking, the response analysis of the path-tracking control system under the different predictive horizons was carried out to clarify the influence of predictive horizon on path tracking accuracy, driving comfort and real-time of the control algorithm. In [5], researchers obtained the preview lateral position error according to the car motion parameters, road curvature and preview error model. They used this error to design a trajectory tracking control strategy to solve the front wheel angle that needs to be controlled when the car reaches the preview point in order to achieve the goal of tracking the desired trajectory. In [6], a potential field method to achieve the trajectory control of the autonomous electric vehicle with in-wheel motors is proposed. Instead of strictly following a desired trajectory, this method can form a steering corridor with a desired tracking error tolerance, and the vehicle can be steered smoothly with less control effort.
In the existing research, in order to realize the trajectory tracking of intelligent vehicles, many advanced control theories are applied to design trajectory tracking controllers, including model predictive control [7], robust control [8], and sliding mode control [9]. In addition, some researchers try to combine multiple control methods when designing vehicle trajectory following controllers, and integrate their advantages to improve the overall control performance. In order to ensure the stability of the autonomous vehicle during the trajectory-tracking process, Cui et al. [10] designed an unscented Kalman filter to estimate the vehicle operating state, and applied the multi-constraint model predictive control method to the ideal trajectory tracking. In the existing research on the trajectory tracking control of intelligent vehicles, most of the research focused on the improvement of the trajectory tracking control performance, ignoring the problem of the vehicle’s own stability during the trajectory tracking control process. In recent years, some researchers have also proposed some control methods that take into account the trajectory tracking effect and vehicle stability. However, no one has considered the problem of the coordinated control of trajectory tracking and vehicle stability under influencing factors such as parameter perturbation, uncertainty interference, time delay, and actuator saturation constraints in the vehicle dynamics model.
Indeed, the traditional first-order sliding mode (FOSM) control methods are able to improve the system performance issues of parameter perturbation, uncertainty interference and time delay. However, undesirable chattering always exists due to the fact that a sliding mode controller itself contains one or more discontinuous sign functions [11].The chattering phenomenon is harmful to control systems. As described in [12], it may induce fatigue in mechanical parts, and can destroy the system in a short time. In fact, as an alternative method, the second-order sliding mode (SOSM) can be used to reduce the chattering problem [13,14,15]. The spiral sliding mode (SSM) algorithm is a kind of SOSM algorithm, which has strong robustness to uncertain factors such as unmodeled dynamics, parameter perturbation, and external disturbance, etc. In this paper, the adaptive spiral sliding mode (ASSM) is proposed for the trajectory tracking control of intelligent electric vehicles.
This paper is organized as follows: In Section 2, the vehicle dynamics model and trajectory tracking model are established. The upper controller based on the ASSM is designed in Section 3, and the lower-level controller of the control system is also designed based on the optimal longitudinal force distribution algorithm in Section 3. In Section 4, co-simulation experiments based on CarSim and Simulink are shown. The paper ends with the conclusions.

2. Intelligent Vehicle Dynamics Model

2.1. Vehicle Dynamics Model

2.1.1. Three-Degrees-of-Freedom Vehicle Model

This article involves the design of observers for the driving state variables of smart electric vehicles: the yaw rate, the side slip angle of the center of mass, and the longitudinal vehicle speed. The design of the driving-state observer first needs to establish a nominal model. Therefore, this section establishes a three-degrees-of-freedom vehicle model as the nominal model of the smart electric vehicle driving-state observer, as shown in Figure 1. For modeling convenience, first make the following assumptions: (1) ignore the influence of air resistance, tire rolling resistance, etc. on the vehicle system; (2) the sideslip angles of the left and right tires of the front and rear axles are respectively equal; (3) the tire works in the linear region, that is, the tire force is proportional to the tire corner angle, and the dynamic characteristics of each tire are completely consistent; (4) ignore the role of the steering system, and the front wheel angle is an input to the vehicle system, ignore the role of the suspension system, ignore the wheel beating, and ignore the vertical movement of the vehicle body, etc.; the vehicle system moves parallel to the ground.
The vehicle dynamics coordinate axis stipulates that the center of mass of the vehicle coincides with the origin of the dynamic coordinate system fixed on the vehicle, the x-axis coincides with the axis of symmetry of the vehicle, and the forward direction is specified; the y-axis passes through the center of mass o of the vehicle, and the left direction is specified as positive. All of the angles and moments in the coordinate system shown are positive counterclockwise, and all of the vector components are positive with the positive direction of the coordinate axis.
In order to simplify the calculation, another assumption is made: the front wheel steering angle is small, so take it that the center of mass slip angle is small, β = v y v x .
The three-degrees-of-freedom vehicle model includes the longitudinal, lateral and yaw motions of the vehicle. According to Newton’s second law, the dynamic equations of the respective degrees of motion can be obtained as follows:
Longitudinal movement:
v ˙ x = v y γ + a x
Lateral movement:
m ( v ˙ y + v x γ ) = F y f + F y r
Yaw movement:
I z γ ˙ = a F y f b F y r
Side slip angle of the front and rear axles:
{ α f = β + a γ v x δ α r = β b γ v x
Front and rear axle lateral tire force:
{ F y f = k 1 α f F y r = k 2 α r
According to Formulas (1)–(5), the three-degrees-of-freedom vehicle model is obtained as follows:
{ γ ˙ = a 2 k 1 + b 2 k 2 I z v x γ + a k 1 b k 2 I z β a k 1 I z δ β ˙ = ( a k 1 b k 2 m v x 2 1 ) γ + k 1 + k 2 m v x β k 1 m v x δ v ˙ x = γ β v x + a x
a y = a k 1 b k 2 m v x γ + k 1 + k 2 m β k 1 m δ
In Formulas (1)–(7), γ is the yaw rate, β is the side slip angle of the center of mass, vx is the longitudinal vehicle speed, vy is the lateral vehicle speed, δ is the front wheel angle (δ = δsw/i, δsw is the steering wheel angle), ax is the longitudinal acceleration, ay is the lateral acceleration, and the vehicle model parameters are shown in Table 1.

2.1.2. Seven-Degrees-of-Freedom Vehicle Model

This article relates to the design of the lateral stability control system of a distributed drive electric vehicle. The design of the model-based control system needs to be based on a vehicle model that is closer to reality and fully reflects the lateral, nonlinear, dynamic characteristics of the vehicle. Therefore, in this section, a seven-degrees-of-freedom vehicle model including the longitudinal, lateral, yaw, and four-wheel rotation of the vehicle is established, as shown in Figure 2.
In the same way, make the same assumptions as the three-degrees-of-freedom vehicle model, and the coordinate axis regulations are also the same.
Longitudinal movement:
m ( v ˙ x v y γ ) = ( F x f l + F x f r ) cos δ ( F y f l + F y f r ) sin δ + F x r l + F x r r
Lateral movement:
m ( v ˙ y + v x γ ) = ( F x f l + F x f r ) sin δ + ( F y f l + F y f r ) cos δ + F y r l + F y r r
Yaw movement:
I z γ ˙ = B 2 ( F y f l F y f r ) sin δ + a ( F y f l + F y f r ) cos δ b ( F y r l + F y r r ) + M z
Among them, Mz is the direct yaw moment, which is produced by the combined action of the longitudinal forces of the four-wheel tires, as follows:
M z = a ( F x f l + F x f r ) sin δ B 2 ( F x f l F x f r ) cos δ B 2 ( F x r l F x r r )
Rotation of the wheels:
J w w ˙ i j = T i j F x i j r
In Formulas (8)–(12), r represents the tire radius. Jw represents the moment of inertia of the wheel assembly. Tij is the output torque of the in-wheel motor; Fxij and Fyij are the tire longitudinal and lateral forces, respectively; i = f or i = r are the front or rear wheel respectively, j = f or j = r are the left or right wheel; w is the wheel rotation angular velocity. In the designed distributed-drive electric vehicle lateral stability control system, the optimal longitudinal force distribution algorithm in the lower controller decides the four-wheel longitudinal force distribution, which can be converted through the wheel model of the four-wheel torque distribution.

2.2. Trajectory Tracking Model

The vehicle trajectory tracking model uses the lateral deviation and heading deviation between the actual vehicle and the ideal trajectory to characterize the trajectory tracking effect. The established vehicle trajectory tracking model is shown in Figure 3, where X and Y are the coordinate axes of the geodetic coordinate system.
The heading deviation and its differential equation can be expressed as
{ ψ = ψ h ψ d ψ ˙ = ψ ˙ h ψ ˙ d
In Formula (13), ψ is the heading deviation, ψh is the actual vehicle heading angle, and ψd is the desired heading angle of the vehicle.
ψh and ψd can be expressed as
{ ψ ˙ h = γ ψ ˙ d = v x ρ 1
In Formula (14), ρ is the radius of the curvature of the desired trajectory.
Using the Serret–Frenet equation, the trajectory-tracking lateral deviation equation can be expressed as
e ˙ = v x sin ψ + v y cos ψ
In Formula (15), e is the lateral deviation.

3. Control System Design

3.1. Problem Formulation

The method of hierarchical control was adopted to design the coordinated control strategy of the vehicle trajectory-tracking and stability, which is divided into the upper controller and lower controller. In the upper-level control, the control objective is to track the ideal vehicle driving state, and to make the lateral deviation and heading deviation in the trajectory tracking approach zero. The upper controller calculates the required vehicle front wheel steering angle and yaw moment according to the vehicle control target, and inputs it into the lower controller. For distributed-drive intelligent vehicles, four in-wheel motors are used for direct drive, which has a higher degree of freedom of maneuvering and torque-response capability, which is conducive to dynamic vehicle control in the process of trajectory tracking. The intelligent vehicle driven by four in-wheel motors is an overdrive system. Therefore, in the lower-level controller, an optimized distribution method of the four wheel and tire forces is designed to achieve the optimization of the power performance of the redundant drive system and meet the requirements of the upper-level controller. The control requirement of the controller realizes the coordinated control of trajectory tracking and vehicle stability. The overall hierarchical coordinated control strategy of unmanned vehicles is shown in Figure 4.

3.2. Upper Controller

3.2.1. Theoretical Basis of High-Order Sliding Mode Control

The sliding mode algorithm has a low sensitivity to internal and external disturbances in the system, and can be used for the high-precision control of dynamic systems under given constraints. Theoretically, it can realize control switching in an infinite frequency domain [16,17].
The biggest flaw of the sliding mode control algorithm is that high-frequency chattering effects may occur near the sliding mode surface. This chattering is characterized by an infinitely small amplitude near the sliding mode surface (in the state space) and near the first-order sliding mode surface. The amplitude is limited [18]. The core idea to solve the chattering problem is to change the dynamic characteristics of the small area of the discontinuous sliding mode surface in order to avoid discontinuities and ensure the main characteristics of the entire system [19].

3.2.2. Definition of the High-Order Sliding Mode Control Algorithm

For discontinuous differential equations:
x ˙ = υ ( x )
In the formula, xRn, υ is a locally bounded and measurable (Lebesgue) vector function, such that Formula (16) can be expressed by an equivalent differential set:
x ˙ V ( x )
Assuming that the range of υ is continuous everywhere, when yx, the function V(x) is the convex closed set of all of the possible limits of V(y) in the domain, and {y} is called the continuous point of υ. The solution set of this equation can be expressed as an absolutely continuous function x(t), which is differentiable everywhere.
Definition 1.
Let L be a sliding mode manifold, which is defined as a first-order sliding. The point set x∈L is defined as a second-order sliding, where V(x) is completely in the tangential space TL at the point x relative to the manifold L.
Definition 2.
Suppose that there is a first-order (or second-order) sliding mode near the first-order (second-order) sliding point x on the manifold L if the first-order (second-order) sliding set near the point x is an integrable set composed of trajectories in the meaning of Filippov (that is, a combination of Filippov trajectories of discontinuous dynamic systems). Let L1 = L, and let L2 represent the second-order sliding point set of the relative manifold L. Assuming that L2 is a sufficiently smooth manifold, similarly, L3 represents a second-order sliding set relative to L2, L3 represents a third-order sliding set relative to L, and so on.
A constraint condition is represented by the equation σ(x) = 0, where σ: RnR is a sufficiently smooth constraint function. Assuming that all of the trajectories σ , σ ˙ , σ ¨ , , σ ( r 1 ) of the derivatives with respect to time exist and are univariate functions with respect to x, this means that discontinuities will not appear in the first r − 1 order derivative of the constraint function σ, and the r-th order sliding set is given by the following equation:
σ = σ ˙ = σ ¨ = = σ ( r 1 ) = 0
Definition 3.
Let the r-th order sliding set in Definition 1 be non-empty, and assume that it is a locally integrable set in the sense of Filippov; then, the corresponding motion satisfies Definition 1, which is called the r-th order sliding mode of the relative constraint function σ.
Set σ , σ ˙ , σ ¨ , , σ ( r 2 ) as the derivative function with respect to x, and have
rank { σ , σ ˙ , , σ ( r 2 ) } = r 1
Lr can be obtained by Formula (19), and Li, I = 1, ..., r − 1 are all smooth manifolds. If the differential manifold of Lr is required, then Equation (20) is extended to:
rank { σ , σ ˙ , , σ ( r 1 ) } = r
The condition under which the derivative of Formula (20) and its corresponding σ becomes the differentiable function of x is called the sliding regularity condition, and Formula (21) is called the weak sliding regularity condition. If Formula (20) holds, then a new local coordinate system can be established, and the system can be re-expressed as
y 1 = σ , y ˙ 1 = y 2 , , y ˙ r 1 = y r
σ ( r ) = y ˙ r = Φ ( y , ξ )
ξ ˙ = Ψ ( y , ξ ) , ξ R n r
Theorem 1.
If Equation (20) is full rank and Equation (18), the r-th order sliding manifold, is not empty, then if and only if the intersection of the Filippov vector set domain and the tangential space of the Equation (18) manifold for any r when the first-order sliding points are not empty, the r-th-order sliding mode of the constraint function σ exists.
Now suppose that σ is a smooth vector function, σ: RnRm, σ = (σ1, …, σm), r = (r1, …, rm), where ri is a natural number.
Definition 4.
Assuming that all of the derivatives of the first ri continuous σi with respect to time are smooth functions, the set given by the following formula is a locally integrable set in the sense of Filippov:
σ i = σ ˙ i = σ ¨ i = = σ i r i 1 = 0 , i = 1 , , m
Then, the motion mode existing in the set is called the sliding mode of the vector sliding order r with respect to the vector constraint function σ, and the corresponding sliding regularity condition is in the form:
rank { σ i , , σ i ( r i 1 ) | i = 1 , , m } = r 1 + + r m
x ˙ = f ( t , x , u ) , σ = σ ( t , x ) R ,   u = U ( t , x ) R
In the formula, t is the time, u is the control quantity, and f and σ are smooth functions. u is determined by the feedback u = U(t, x), where U is a discrete function. For the sake of simplicity, σ and u are considered scalars, but the following descriptions are all applicable to the vector sliding order.
The regular sliding mode satisfies the following conditions: the velocity V is not in the tangential space TL, but intersects with the manifold σ = 0, and there is a trajectory in the manifold of the velocity vector at TL. This mode is the main working mode of the variable structure system, and is called the first-order mode. When there is a switching error, the trajectory will leave the manifold at a certain angle. On the other hand, in the second-order sliding mode, even if there is a switching error, all of the possible velocities exist in the tangential space of the manifold, and the state trajectory is tangent to the manifold when it leaves.
Consider the following system:
x ˙ = a ( x ) + b ( x ) u , σ = σ ( x ) R ,   u R
Among them, a, b, σ are smooth vector functions; let the system have a degree of freedom r relative to the output variable σ, which means that the derivative L b σ , L b L a σ , , L b L a r 2 σ near a given point is always equal to 0, and L b L a r 1 σ is not equal to 0.
Consider the following dynamic system:
x ˙ = a ( t , x ) + b ( t , x ) u , σ = σ ( t , x ) , u = U ( t , x ) R
Theorem 2.
Assume that the degree of freedom of the relative output function σ of the system at a certain r-order sliding point (t0, x0) is r, and the range of the discontinuous function is [K, ∞), and (−∞, −K] is the upper point (for some non-zero sets on any region near any order sliding point near t0, x0), then as long as K is large enough, there must be an r-order sliding mode near the point (t0, x0).

3.2.3. Actual Slip and Finite Time Convergence

The quality of the control design is closely related to the sliding accuracy. When the switching characteristics disappear and the switching frequency tends to infinity, any ideal sliding mode can be considered as the limit of motion. Let ε denote the switching characteristics; then, the sliding accuracy of any sliding mode technology can be represented by asymptotically ε→0.
Definition 5.
Let (t, x(t, e)) denote a trajectory cluster, and search by ε∈Rμ; the initial condition is (t0, x(t0)), t ≥ t0. Assuming that there is t1 ≥ t0 in each [t′, t″], where t′ ≥ t1, the function σ(t, x(t, ε)) uniformly tends to 0, with ε→0. At this time, the trajectory cluster is called the real sliding cluster when the constraint σ = 0, the motion in the interval [t0, t1] is called a transient process, and the motion in the interval [t0, ∞) is a steady-state process.
Definition 6.
The control algorithm that depends on the parameter ε∈Rμ is called the real sliding algorithm under the constraint σ = 0. If ε→0, it constitutes a real sliding cluster in any initial state.
Definition 7.
Let ϒ(ε) be a real function, and ϒ(ε)→0 when ε→0. For a real sliding algorithm of order r under the constraint σ = 0 with respect to ϒ(ε), if there is a constant C for any real set of initial conditions and any time interval [T1, T2], such a steady-state process satisfies at time t [ T 1 , T 2 ] :
|σ(t, x(t, ε))|≤ C|ϒ(ε)|r
If ϒ(ε) is the minimum time interval to control the smoothness, it is called the r-order actual sliding algorithm under the constraint σ = 0.

3.2.4. Design of the Upper-Level Controller Based on the ASSM Algorithm

(1) Controller design based on SSM: Taking the three-degrees-of-freedom vehicle model as an ideal reference model, the upper-level controller of the control system is designed based on the SSM algorithm. The yaw dynamics Equation (10) of the electric vehicle driven by the distributed drive is as follows:
I z γ ˙ = M z + B 2 ( F y f l F y f r ) sin δ + a ( F y f l + F y f r ) cos δ b ( F y r l + F y r r ) + d
In Formula (30), d is the aggregate disturbance caused by model uncertainty and interference.
Define the sliding mode variables as
s = γ γ d + 1 2 ( β β d )
Find the first-order derivative and the second-order derivative of the sliding mode variables respectively, and substitute Equation (30) into
s ˙ = 1 I z { M z + B 2 ( F y f l F y f r ) sin δ + a ( F y f l + F y f r ) cos δ b ( F y r l + F y r r ) + I z [ 1 2 ( β ˙ β ˙ d ) γ ˙ d ] + d }
s ¨ = 1 I z { M ˙ z + B 2 ( F ˙ y f l F ˙ y f r ) sin δ + B 2 ( F y f l F y f r ) cos δ δ ˙ + a ( F ˙ y f l + F ˙ y f r ) cos δ a ( F y f l + F y f r ) sin δ δ ˙ b ( F ˙ y r l + F ˙ y r r ) + I z [ 1 2 ( β ¨ β ¨ d ) γ ¨ d ] + d ˙ }
The output of the upper controller is
M z = u = u 1 + u 2
{ u ˙ 1 = I z α [ sgn ( s ) + 1 2 sgn ( s ˙ ) ] u 2 = { B 2 ( F y f l F y f r ) sin δ + a ( F y f l + F y f r ) cos δ b ( F y r l + F y r r ) + I z [ 1 2 ( β ˙ β ˙ d ) γ ˙ d ] }
In Formula (35), γ and γd are the actual value of the lateral angular velocity and the ideal value based on the three-degrees-of-freedom vehicle reference model; β, βd are the actual value of the center-of-mass slip angle and the ideal value based on the three-degrees-of-freedom vehicle reference model, respectively; α is the spiral sliding mode control gain; u1 is the SSM control output, and u2 is the modeling compensation feedforward output. From the structure of the SSM algorithm, it can be seen that the controller outputs the integral value of the sign function. If the controller is designed properly, it can effectively reduce or eliminate the system chattering caused by the sign function output.
(2) Design of the control gain adaptive law: In order to make the sliding mode variable and its derivative converge to 0 within a finite time, it is necessary to design a control gain adaptive law. To this end, the following control gain adaptive law is proposed:
α ˙ = { ω θ 2 sgn [ E ( s , s ˙ ) ρ ] ; α > α t λ ; α α t
Stability conditions:
{ α > 2 D 0 < κ < min ( 2 2 α 3 ( α 2 D ) , 2 α 3 2 )
In the Formulas (36) and (37), E ( s , s ˙ ) = e k ( s 2 + 1 2 s ˙ 2 ) , k, ω, θ, ρ, λ and αt are all positive constants.
The design significance of the adaptive critical function E ( s , s ˙ ) = e k ( s 2 + 1 2 s ˙ 2 ) : It is designed in the form of an exponential function, such that when the deviation between the system state and the ideal state is small, there is a small compensation amount and compensation rate, which effectively reduces the chattering of the system when it is close to or reaches a steady state. When the deviation between the system state and the ideal state is large, the compensation amount and the compensation rate are large, such that the system quickly reaches the steady state or close to the steady state, and improves the robustness of the system.

3.2.5. Stability Analysis of the Upper Controller

The upper controller of the distributed drive electric vehicle lateral stability control system based on the ASSM algorithm needs to be effective under a certain stability condition. Therefore, this section constructs a Lyapunov function to analyze the stability of the upper controller, and finally obtains the stability conditions, which are as follows:
V ( s , s ˙ , α ) = V 0 ( s , s ˙ ) + 1 2 θ ( α α * ) 2
In Formula (38):
V 0 ( s , s ˙ ) = α 2 s 2 + κ | s | 3 2 sgn ( s ) s ˙ + α | s | s ˙ 2 + 1 4 s ˙ 4
In Formula (39), κ and α* are both positive constants.
First, prove that it converges in a finite time:
V 0 ( s , s ˙ ) = | s | S T A S + 1 4 s ˙ 4
In Formula (40): S = [ | s | 1 2 sgn ( s ) s ˙ ] T , A = [ α 2 κ 2 κ 2 α ] .
When 0 < κ < 2α3/2 is satisfied, V 0 ( s , s ˙ ) 0 is established.
Derivation of V 0 ( s , s ˙ ) :
V ˙ 0 ( s , s ˙ ) = 2 α 2 s s ˙ + κ | s | 3 2 sgn ( s ) s ¨ + 3 2 κ | s | 1 2 s ˙ 2 + 2 α | s | s ˙ s ¨ + s ˙ 3 s ¨ = 2 α 2 s s ˙ + 3 2 κ | s | 1 2 s ˙ 2 + κ | s | 3 2 sgn ( s ) { d * α [ sgn ( s ) + 1 2 sgn ( s ˙ ) ] } + 2 α | s | s ˙ { d * α [ sgn ( s ) + 1 2 sgn ( s ˙ ) ] } + s ˙ 3 { d * α [ sgn ( s ) + 1 2 sgn ( s ˙ ) ] }
In Formula (41), d * = 1 I z | d ˙ | < D , D is a positive constant.
Simplify V 0 ( s , s ˙ ) to obtain the following:
V ˙ 0 ( s , s ˙ ) = α 2 | s | | s ˙ | + κ | s | 3 2 sgn ( s ) { d * α [ sgn ( s ) + 1 2 sgn ( s ˙ ) ] } + 3 2 κ | s | 1 2 s ˙ 2 + 2 α | s | s ˙ d * + s ˙ 3 { d * α [ sgn ( s ) + 1 2 sgn ( s ˙ ) ] }
Simplify the right side of Equation (42) and enlarge it appropriately to obtain the following:
V ˙ 0 ( s , s ˙ ) κ | s | 3 2 ( 1 2 α D ) α 2 | s | | s ˙ | + 3 2 κ | s | 1 2 s ˙ 2 + 2 α | s | | s ˙ | D + ( D 1 2 α ) s ˙ 3
The right side of Formula (43) is written as:
κ | s | 3 2 ( 1 2 α D ) | s ˙ | S * T B S * = κ | s | 3 2 ( 1 2 α D ) | s ˙ | V 0 * ( s ˙ )
In Formula (44), S * = [ | s ˙ | 1 2 | s ˙ | ] T , B = [ α ( α 2 D ) 3 4 κ 3 4 κ α 2 D ] .
If α > 2 D and 0 < κ < 2 2 α 3 ( α 2 D ) are satisfied, then
V ˙ 0 ( s , s ˙ ) κ | s | 3 2 ( 1 2 α D ) | s ˙ | V 0 * ( s ˙ ) 0
Substituting Formula (45) into Formula (38), and we find the derivative:
V ˙ ( s , s ˙ , α ) = V 0 ( s , s ˙ ) + 1 θ ( α α * ) α ˙ κ | s | 3 2 ( 1 2 α D ) | s ˙ | V 0 * ( s ˙ ) ω 2 θ | α α * | + ω 2 θ | α α * | + 1 θ ( α α * ) α ˙
Using inequality ( x 2 + y 2 ) 1 2 | x | + | y | , the following formula is derivated:
V ˙ ( s , s ˙ , α ) κ | s | 3 2 ( 1 2 α D ) η V 0 * ( s ˙ ) + ω 2 θ | α α * | + 1 θ ( α α * ) α ˙
In Formula (47), η = min ( | s ˙ | , ω ) .
The control gain α of the adaptive law is bounded. This is because when e k ( s 2 + 1 2 s ˙ 2 ) > ρ and 0 ≤ ttc, there are
α = α ( 0 ) + ω θ 2 t c
In Formula (48), tc is the finite convergence time, so the control gain α is bounded; when e k ( s 2 + 1 2 s ˙ 2 ) < ρ , the gain α decreases until e k ( s 2 + 1 2 s ˙ 2 ) > ρ is satisfied again.
From the above analysis of boundedness, we can see that there must be a positive number α * that makes α α * < 0 always hold. Therefore,
V ˙ ( s , s ˙ , α ) κ | s | 3 2 ( 1 2 α D ) η V 0 * ( s ˙ ) + ( ω 2 θ 1 θ α ˙ ) | α α * | = κ | s | 3 2 ( 1 2 α D ) η V 0 * ( s ˙ ) 0
Therefore, the objective function of the system can converge to near zero in a finite time. In summary, when satisfying
{ α > 2 D 0 < κ < min ( 2 2 α 3 ( α 2 D ) , 2 α 3 2 )
the designed controller is stable. The certificate is complete.

3.3. Design of Lower-Level Controller

The direct yaw moment calculated by the upper controller to maintain the lateral stability of the distributed drive electric vehicle needs to be converted into the four-wheel torque distribution by the lower controller in order to realize the lateral stability control. In this section, an optimal longitudinal force distribution algorithm is proposed, and the lower-level controller is designed. The optimal distribution function is designed as follows:
J = { max ( F x i j μ F z i j ) 2 β < β t min ( F x i j μ F z i j ) 2 β β t
In Formula (51), βt is the center of mass slip angle threshold.
In order to make the tire work in the linear region as much as possible, and to consider the impact of road adhesion on the longitudinal tire force, combined with Formula (11), the optimal longitudinal force distribution is determined under the following constraints:
{ | F x i j | μ F z i j M z = a ( F x f l + F x f r ) sin δ B 2 ( F x f l F x f r ) cos δ B 2 ( F x r l F x r r )
After deciding the optimal longitudinal force distribution, the wheel rotation dynamics model established in Section 2.1 can be converted to obtain the four-wheel torque distribution, which is the target torque distribution of the four-wheel hub motor. The design significance of the optimal longitudinal force distribution algorithm is that the center of mass slip angle threshold βt is used to define whether the tire is working in a non-linear region. When β < βt, it is considered that the tire is working in the linear region, and the tire can provide enough lateral tire force to ensure that the vehicle does not become unstable. Therefore, the objective function of the tire lateral force distribution should be small, such that the tire has enough surplus longitudinal direction, When β < βt, it is considered that the tire is working in the non-linear region, and the tire’s lateral force is easily saturated. If the tire’s lateral force at saturation is still insufficient to ensure that the axle does not slip, the vehicle will be at risk of lateral instability. Therefore, the longitudinal force distribution objective function should be as small as possible, such that the tire can provide as much lateral force as possible to prevent the axle from sliding, and reduce the risk of lateral instability of the vehicle. The control system parameters are shown in Table 2.

4. Simulation Results

In order to compare the effectiveness of the controller designed in the previous section, a joint simulation platform based on CarSim and Simulink was established, in which CarSim is used to provide the vehicle dynamics model, the designed controller and tire force distribution method are implemented in Simulink. A standard Carsim vehicle model is taken in the simulation. The key parameters of the vehicle model in Carsim are given in Table 1. In this section, a slalom test is used to verify the effectiveness of the designed controller.
The test settings of slalom simulation test are as follows: the maximum target speed of 65 km/h is carried out under the road adhesion coefficients μ = 0.85 and μ = 0.3. There are five cones in the slalom test scene, and the pile spacing Ls = 30 m. As shown in Figure 5, the simulation step is 0.001s.

4.1. Slalom Condition 1: The Uniform Road Adhesion Coefficient μ = 0.85, and the Vehicle Speed Is 65 km/h

As can be seen from Figure 6 and Figure 7, the steering angle of the intelligent vehicle steering wheel can better track the steering wheel angle value of the vehicle’s ideal trajectory under slalom working conditions through the ASSM control. The high-precision automatic steering control is realized. Meanwhile, the yaw rate of the vehicle can be tracked for a long time in order to track the yaw angular velocity under the reference driving track, such that the driving stability of the intelligent vehicle can be guaranteed. However, under the FOSM control of the intelligent vehicle steering system, high control overshoot and control lag occur at both lower and higher vehicle speeds, which directly affects the steering control accuracy and driving stability of the vehicle. The control effect is significantly worse than the ASSM-based control effect proposed in this paper. Meanwhile, due to the discontinuous property of the first-order SMC, the FOSM controllers incur heavy chattering, while the ASSM controllers have almost no chattering, which can be verified by Figure 8.

4.2. Slalom Condition 1: The Uniform Road Adhesion Coefficient μ = 0.3, and the Vehicle Speed Is 65 km/h

As can be seen from Figure 9 and Figure 10, the steering angle of the intelligent vehicle steering wheel can better track the steering wheel angle value of the vehicle’s ideal trajectory under slalom working conditions (uniform road adhesion coefficient μ = 0.3) through the ASSM control. High-precision automatic steering control is realized. Meanwhile, the yaw rate of the vehicle can be tracked for a long time in order to track the yaw angular velocity under the reference driving track, such that the driving stability of the intelligent vehicle can be guaranteed. However, under the FOSM control of the intelligent vehicle steering system, high control overshoot and control lag occur at both lower and higher vehicle speeds, which directly affects the steering control accuracy and driving stability of the vehicle. The control effect is significantly worse than the ASSM-based control effect proposed in this paper. Meanwhile, due to the discontinuous property of the first-order SMC, the FOSM controllers incur heavy chattering, while the ASSM controllers have almost no chattering, which can be verified by Figure 11.
In summary, among the various working conditions, high-speed working conditions on low-adhesion roads are the most dangerous working conditions, but the designed control system can effectively control the heading deviation and lateral deviation in vehicle trajectory tracking while ensuring the lateral stability of the vehicle.

5. Conclusions

  • The three-degrees-of-freedom and seven-degrees-of-freedom vehicle dynamics model and trajectory tracking model of the intelligent electric vehicle were established respectively, and were used as the basis for the design of vehicle path tracking and lateral stability controllers.
  • A layered intelligent electric vehicle lateral stability controller was designed. The upper-level controller was designed based on the ASSM algorithm, and the stability of the upper-level controller was analyzed, and the stability conditions were obtained. The optimal longitudinal force distribution algorithm was proposed, based on which the lower-level controller was designed.
  • A joint simulation model of CarSim and Simulink was built and a simulation experiment was carried out. The results show that the proposed vehicle coordinated control strategy can achieve accurate and rapid vehicle path tracking control effects, keep the lateral error in the path tracking process within a small range, and also ensure the lateral stability of the vehicle.
  • It should be noted that the intelligent distributed drive electric vehicle model and road with a low adhesion coefficient in the slalom test are not real ones, but were simulated in experiments. Thus, the experimental platform does not completely match the real scenario at this stage. However, our control design and experimental validation are still valuable for industrial references. Our future work is to improve the experimental platform as a real intelligent distributed drive electric vehicle which can run on the road.

Author Contributions

M.Z. was responsible for the conceptualization, methodology, and supervision. Y.N. and X.Z. were responsible of the work of writing—original draft, writing—review and editing, and validation. All authors have read and agreed to the published version of the manuscript.

Funding

This work is supported by Technology Innovation Guidance Fund of Tianjin (No. 17YDLJGX00020).

Institutional Review Board Statement

Not available.

Informed Consent Statement

Not available.

Data Availability Statement

The raw/processed data required to reproduce these findings cannot be shared at this time as the data also forms part of an ongoing study.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Tan, D.K.; Chen, W.W.; Wang, H.B. On the use of Monte-Carlo simulation and deep fourier neural network in lane departure warning. IEEE Intell. Transp. Syst. Mag. 2017, 9, 76–90. [Google Scholar] [CrossRef]
  2. Cai, J.; Jiang, H.; Chen, L.; Liu, J.; Cai, Y.; Wang, J. Implementation and development of a trajectory tracking control system for intelligent vehicle. J. Intell. Robot. Syst. 2019, 94, 251–264. [Google Scholar] [CrossRef]
  3. Kayacan, E.; Chowdhary, G. Tracking error learning control for precise mobile robot path tracking in outdoor environment. J. Intell. Robot. Syst. 2019, 95, 975–986. [Google Scholar] [CrossRef]
  4. Wang, H.R.; Wang, Q.D.; Chen, W.W.; Zhao, L.F.; Tan, D.K. Path tracking based on model predictive control with variable predictive horizon. Trans. Inst. Meas. Control 2021, 43, 2676–2688. [Google Scholar] [CrossRef]
  5. Son, Y.S.; Kim, W.; Lee, S.-H.; Chung, C.C. Robust multirate control scheme with predictive virtual lanes for lane-keeping system of autonomous highway driving. IEEE Trans. Veh. Technol. 2015, 64, 3378–3391. [Google Scholar] [CrossRef]
  6. Li, B.Y.; Du, H.P.; Li, W.H. A potential field approach-based trajectory control for autonomous electric vehicles with in-wheel motors. IEEE Trans. Intell. Transp. Syst. 2017, 18, 2044–2055. [Google Scholar] [CrossRef] [Green Version]
  7. Guo, H.; Liu, J.; Cao, D.; Chen, H.; Yu, R.; Lv, C. Dual-envelop-oriented moving horizon path tracking control for fully automated vehicles. Mechatronics 2018, 50, 422–433. [Google Scholar] [CrossRef] [Green Version]
  8. Wang, R.R.; Jing, H.; Hu, C.; Yan, F.; Chen, N. Robust H∞ path following control for autonomous ground vehicles with delay and date dropout. IEEE Trans. Intell. Transp. Syst. 2016, 17, 2042–2049. [Google Scholar] [CrossRef]
  9. Behrooz, M.; Pouyan, A.; Majid, M.; Mahmoodi-Kaleybar, M. Integrated robust controller for vehicle path following. Multibody Syst. Dyn. 2015, 33, 207–228. [Google Scholar]
  10. Cui, Q.J.; Ding, R.J.; Zhou, B.; Wu, X. Path-tracking of an autonomous vehicle via model predictive control and nonlinear filtering. Proc. IMechE Part D J. Automob. Eng. 2018, 232, 1237–1252. [Google Scholar] [CrossRef]
  11. Ding, S.; Levant, A.; Li, S. Simple homogeneous sliding-mode controller. Automatica 2016, 67, 22–32. [Google Scholar] [CrossRef]
  12. Ding, S.H.; Wang, J.D.; Zheng, W.X. Second-order sliding mode control for nonlinear uncertain systems bounded by positive functions. IEEE Trans. Ind. Electron. 2015, 62, 5899–5909. [Google Scholar] [CrossRef]
  13. Yang, J.; Chen, W.H.; Li, S.; Guo, L.; Yan, Y. Disturbance/uncertainty estimation and attenuation techniques in PMSM drives-A survey. IEEE Trans. Ind. Electron. 2016, 64, 3273–3285. [Google Scholar] [CrossRef] [Green Version]
  14. Yang, J.; Wu, B.; Li, S.; Yu, X. Design and qualitative robustness analysis of a DOBC approach for DC-DC buck converters with unmatched circuit parameter perturbations. IEEE Trans. Circuits Syst. I-Regul. Pap. 2016, 63, 551–560. [Google Scholar] [CrossRef]
  15. Liu, J.; Vazquez, S.; Wu, L.; Marquez, A.; Gao, H.; Franquelo, L.G. Extended state observer based sliding mode control for three-phase power converters. IEEE Trans. Ind. Electron. 2017, 64, 22–31. [Google Scholar] [CrossRef] [Green Version]
  16. Levant, A.; Li, S.; Yu, X. Accuracy of some popular non-homogeneous 2-sliding modes. IEEE Trans. Autom. Control 2013, 58, 2615–2619. [Google Scholar] [CrossRef]
  17. Wu, L.; Su, X.; Shi, P. Sliding mode control with bounded L2 gain performance of Markovian jump singular time-delay systems. Automatica 2012, 48, 1929–1933. [Google Scholar] [CrossRef]
  18. Fridman, L. Chattering Analysis in sliding mode systems with inertial sensors. Int. J. Control 2003, 76, 906–912. [Google Scholar] [CrossRef]
  19. Ding, S.H.; Liu, L.; Zheng, W.X. Sliding Mode Direct Yaw-Moment Control Design for In-Wheel Electric Vehicles. IEEE Trans. Ind. Electron. 2017, 64, 22–31. [Google Scholar] [CrossRef]
Figure 1. Three-degrees-of-freedom vehicle model.
Figure 1. Three-degrees-of-freedom vehicle model.
Applsci 11 11739 g001
Figure 2. Seven-degrees-of-freedom vehicle model.
Figure 2. Seven-degrees-of-freedom vehicle model.
Applsci 11 11739 g002
Figure 3. Vehicle trajectory tracking model.
Figure 3. Vehicle trajectory tracking model.
Applsci 11 11739 g003
Figure 4. Structure of the hierarchical control.
Figure 4. Structure of the hierarchical control.
Applsci 11 11739 g004
Figure 5. Slalom test situation of the schematic diagram.
Figure 5. Slalom test situation of the schematic diagram.
Applsci 11 11739 g005
Figure 6. Steering wheel angle.
Figure 6. Steering wheel angle.
Applsci 11 11739 g006
Figure 7. Yaw angular velocity.
Figure 7. Yaw angular velocity.
Applsci 11 11739 g007
Figure 8. Yaw moment.
Figure 8. Yaw moment.
Applsci 11 11739 g008
Figure 9. Yaw moment.
Figure 9. Yaw moment.
Applsci 11 11739 g009
Figure 10. Yaw moment.
Figure 10. Yaw moment.
Applsci 11 11739 g010
Figure 11. Yaw moment.
Figure 11. Yaw moment.
Applsci 11 11739 g011
Table 1. Vehicle parameters.
Table 1. Vehicle parameters.
SymbolDimensionValue
mkg1296
Izkg·m21750
hgm0.54
am1.25
bm1.32
Bm1.405
rm0.286
Jwkg·m20.8
k1N/rad100,000
k2N/rad100,000
i-20.4
Table 2. Control system parameters.
Table 2. Control system parameters.
ParameterValue
k1.3
ω110
θ180
ρ6
λ11
αt18
βt0.5
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Nie, Y.; Zhang, M.; Zhang, X. Trajectory Tracking Control of Intelligent Electric Vehicles Based on the Adaptive Spiral Sliding Mode. Appl. Sci. 2021, 11, 11739. https://doi.org/10.3390/app112411739

AMA Style

Nie Y, Zhang M, Zhang X. Trajectory Tracking Control of Intelligent Electric Vehicles Based on the Adaptive Spiral Sliding Mode. Applied Sciences. 2021; 11(24):11739. https://doi.org/10.3390/app112411739

Chicago/Turabian Style

Nie, Yanxin, Minglu Zhang, and Xiaojun Zhang. 2021. "Trajectory Tracking Control of Intelligent Electric Vehicles Based on the Adaptive Spiral Sliding Mode" Applied Sciences 11, no. 24: 11739. https://doi.org/10.3390/app112411739

APA Style

Nie, Y., Zhang, M., & Zhang, X. (2021). Trajectory Tracking Control of Intelligent Electric Vehicles Based on the Adaptive Spiral Sliding Mode. Applied Sciences, 11(24), 11739. https://doi.org/10.3390/app112411739

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