Abstract
This paper focuses on controlling traction for a four-wheel electric vehicle by using the longitudinal slip ratio control technique. By keeping the slip ratio value inside an optimal limit, it can be ensured that the maximum driving force is obtainable by increasing the friction force between tire and road. The usefulness of the sliding mode control method is to provide robust performance from the parameter uncertainties at different road conditions. A control law is formulated based upon the Lyapunov stability approach to assure the sliding action. To satisfy the robustness, a vehicle model is made in Matlab, and it is simulated based on various parameter values. The slip ratios at different parameter values are plotted for open loop and closed loop. Then considering the vehicle kinematics and dynamics, a 3D CAD model using Catia is developed. Then exporting the model to Adams to use it as a plant model for the vehicle, co-simulation has been achieved by keeping the slip-based traction controller in Matlab/Simulink. Matlab/Simulink and Adams/View simulation validate the proposed method.
Keywords
1. Introduction
In the road transport field, internal combustion (IC) engine-based vehicles have become unmitigated leaders. In the last few years, due to the expansion of powerful and durable batteries and higher oil prices, rapid growth of electric vehicles (EV) has been initiated to decrease air pollution and gain an encouraging achievement in comparison to IC engined vehicles. There are different structures of EVs according to the propulsion system. The most significant fact in EVs is that no mechanical differential is needed and the developed torque from each motor is controlled autonomously. Therefore, this permits selection of positive torque and negative torque in two independent wheels to simplify protection algorithms such as an electronic stability program (ESP).1,2 The traction control is developed for these types of the car based on the individual wheel so that in crucial stages individual motors can achieve torque independently and the friction between the wheel and the road reaches its highest value. 3
Traction control systems have existed for a long time, but largely for vehicles with an IC engine. In recent times, various works linked to the traction control for EVs have been done. Traction control design built upon maximum transmissible torque estimation without the knowledge of the tire–road condition is described by Hori et al.4,5 In the study by Johansen et al., 6 traction control depends on the evaluation of the road surface condition. An adaptive slip reversal controller for EVs based on backstepping is reported by Ting and Lin. 7 Gain scheduling-based wheel slip ratio control for a brake system with electro-mechanical brakes has been presented. 8 Traction control considering vehicle stability is mentioned in studies by Sakai et al. and Shino et al.9,10 An algorithm for traction control of EVs based on four independent wheel drives has been reported. 11 An estimate for slip ratio without knowledge of vehicle speed is proposed, 12 and single wheel-based longitudinal traction control is also described. 13 An antilock braking system (ABS) incorporating active suspension control has been proposed, 14 and an optimal slip ratio controller based on the LQ method has also been revealed. 15 Slip ratio control based upon state feedback for ABS is described by Yi et al. 16
In the last decade, rigorous research on the assessment of the road surface condition has been carried out. With the use of slip measurements, the road surface conditions can be determined. 17 Ono et al. described a road surface condition evaluation technique featuring use of the wheel’s rotating speed. 18 An estimate of road surface condition in real time is reported. 19 Road condition estimation by designing a driving force observer has also been mentioned. 20 In the study by Sui and Johansen, 21 a horizon computation of the friction force between tire and road is proposed. Model following control (MFC) has been described, 22 as has a model predictive PID method (MP-PID). 23 In the steady road surface condition when parameters like vehicle mass, road coefficient, etc. are known, both methods show excellent performance. Due to the constant changing road condition, formation of a robust controller is important. Sliding mode control (SMC) performs better in terms of robustness with nonlinearities and uncertainties in parameters.
In the case of SMC, the system is forced to attain a predesigned surface and then slides along in it. The main aim of SMC is to achieve a sliding surface in finite time and then to stay on it. Chattering incidents occur due to the rapid change of the control inputs in the variable structure. The chattering phenomenon is avoided by using the boundary layer technique. During the design, the integral part is incorporated in the control law to reduce the steady-state error and enhance the transient response. Li and Kawabe described a slip elimination technique using SMC theory, 24 while in Lyapunov stability has also been described. 25 Li and Kawabe represented controller robustness performance with changing mass of the vehicle as a major parameter and the idea of constructing series road using different parameters. 24 Control algorithms designed for a nonlinear system using the Matlab/Simulink environment and their validation techniques have beeb reported. 26 The basic knowledge of multi-body design software Catia V5 and part design using it is reported by Zamani. 27 Assembling the design parts like wheel and chassis to make a complete model has also been demonstrated. 28 A model export technique from Catia to Adams is descrived by Cheraghpour et al. 29 Adams/View interfacing for beginners and creating parts using it is reported by Junwen and Liaozhong. 30 Model export from Adams to Simulink, co-simulation procedure and controlling of damper forces have also been documented. 31 Development and experimental validation technique for an in-wheeled EV has also been described. 32
The rest of this paper is organized as follows. Sections 2 and 3 define EV modeling and formulation of the control law. In Section 4, simulation results in Matlab are obtained. In Section 5, the vehicle CAD model is designed in Catia and modified in Adams. Co-simulation is setup between Adams and Simulink in Section 6. In the next section, co-simulation results are explained. Finally, a conclusion is drawn in the last section.
2. Traction control system
A traction control system helps to maximize the grasp and balance of the vehicle by estimating wheel speed upon the roadway during the acceleration phase. In different road conditions, when skidding occurs, it helps the car to overcome that phase and accelerate smoothly by applying brakes or reducing engine power. To design the traction control system, the EV has to be modeled.
2.1. EV Modeling
Three coordinate frames are specified to define the EV, i.e., body-fixed frame (BFF), wheel fixed frame (WFF), and inertial frame (IF). The origin of BFF is the mass center of the vehicle. In Figure 1,

BFF, IF, and WFF shown for a vehicle.
For four WFF, the wheel is denoted by superscripts
where
The geometrical summation of slip ratio and side slip angle is the resulting slip 33 :
where
Explanation of side slip and slip ratio.
Torque balance around the
where
where
where
where

Free body diagram of one wheel.
2.2. Model simplification
To control the longitudinal slip ratio of the vehicle, it is required to limit the motion in the longitudinal direction only. This is stated as
For longitudinal motion
Also,
where
Figure 3 demonstrates the relation between friction coefficient

Slip ratio versus friction coefficient.
2.3. Calculation of reference slip ratio
From Equation (6) we can say that the friction coefficient depends on the predefined function
After inserting these values, the equation becomes the following:
The function
After putting Equation (15) into this, we obtain the following:
For the asphalt dry road condition, when
To obtain the maximum driving force, the slip ratio needs to be retained at the reference value at all times. But the road condition is always changing, so when the weight of loads such as passengers and luggage changes, the mass of the vehicle is altered. Therefore slip ratio needs to be controlled under the conditions of changing vehicle mass and road conditions.
3. Design of SMC
As the parameters are changing, the controller needs to be robust enough to deal with this kind of situation. Therefore a sliding mode controller is designed in this case.
3.1. SMC with integral effort
To control the slip ratio, a sliding mode controller with addition to an integral part was proposed by Li and Kawabe. 24 The dynamics of the system can be taken as:
where
Then putting Equations (12) and (13) and
The values of
As the value of function
The estimation of
where
From these evaluations, the error of the estimation can be presented by:
Let’s presume the following:
3.1.1. Sliding surface
When we presume that
The error between the generated slip value and the reference slip value represented as
where
3.1.2. Foundation of control law
The main concept of SMC is to establish a function
After differentiation of Equation (29):
and putting this in Equation (30) gives the following:
The reference slip ratio value is a constant hence,
The control input we obtain after resolving Equation (33) as:
The estimated equivalent control input is obtained as:
In spite of uncertainties on the dynamics of
where the following holds:
and
The control law defined in the above equation is made robust for the bounded parameter uncertainties by an exact choice of
where
3.1.3. Stability analysis
To verify the stability of the control law, the Lyapunov function is chosen as:
which meets the condition
Putting Equations (19), (30), (35), (36), and (38) into Equation (40) it becomes the following:
Substituting the value of
where
3.2. Chattering
Due to the variable structure of the SMC when it is applied to a digital controller chattering happens. As the control law switches from one structure to the other at an infinite frequency, the trajectories chatter around
where the width of the boundary layer around the sliding surface
Now we achieved revised control law using Equations (38), (39), and (44) as:
4. Matlab simulation
Matlab/Simulink is used in the simulation. The simulation requires both constant and varying parameters. Constant and bounded parameters are given by Tables 2 and 3, respectively.
Fixed parameters.
Bounded parameters.
The simulation specifications are explained here. Two test sets are considered for simulation. First, one is composed of asphalt dry–snow–concrete dry and the second one is made of cobblestone dry–ice–cobblestone wet. The allocated simulation time is
The mass of the car and road surface conditions are altered together to demonstrate the robustness performance with the parameter uncertainties. The mass of the car deviates as

Slip value when

Slip value when

Slip value when

Slip value when

Slip value when

Slip value when

Slip value when

Slip value when
The slip ratio decreases from
5. Four wheel model using Catia and Adams
5.1. CAD model using Catia
Catia (computer aided three-dimensional interactive application) is a platform which allows the generation of three-dimensional (3D) parts and helps them to assemble. In case of design, only four wheels and a chassis are needed. To simulate vehicle characteristics in Adams/View a 3D CAD model of the car is needed, which is being designed here using Part Design in Catia and then assembled using Assembly Design. Now, after designing the assembled car, joints have to be defined using DMU Kinematics under the section Digital Mockup. The Digital Mockup workbench is moderately vast, but we only used the DMU Kinematics module. After that material is chosen as wanted from the Material Library. In case of selection of material in this car model aluminum used for chassis parts and steel used for the inner portion of wheel and rubber used for the top layer of the wheel. To design road first three blocks are designed then it assembled to make one road. The final version of road and vehicle model after assembly is given in Figure 12.

Vehicle and road model in Catia V5.
5.2. Catia to Adams transport
Sim Designer develops a linear and nonlinear model from MSC Nastran, Marc, and Adams, which is available within the Catia V5 CAD environment. Using the Sim Designer extension in Catia V5 one can make CAD model in Windows Command Script(.cmd) file extension, which can be opened in Adams/View and necessary analysis could be done there. To import car file in Adams first open Adams/View. It opens the import dialogue box in which selects Adams/View Command File (.cmd) in file type and gives the location of (.cmd) in files to read, and then select continue command. Upon completion vehicle model opens in Adams/View, if any error happens in between then it appears in the message window.
5.3. Adams interface
Four revolute joints which are defined previously are modified first. In this software, each revolute joint is assigned to each pair of wheel and the chassis. Then a dummy is created between wheel and road in front of the vehicle. As we needed longitudinal motion only then, we need to restrict the motion for longitudinal direction. So we have to create two translational joints. Two translational joints created for this model, one between chassis and dummy and another between dummy and road. Torque is defined for joints between each wheel and chassis. Four torques are created in this model for four revolute joints in wheels. To design road surfaces for different road conditions, three different friction coefficient is defined for the different blocks of road. The complete Adams/View vehicle consists of the parts below and has six degrees of freedom (DoF):
6 Gruebler count (approximate DoF);
6 moving parts (not including ground);
4 revolute joints;
2 translational joints.
The complete vehicle model developed in Adams/View is shown in Figure 13.

Adams/View model of the vehicle.
6. Setting up co-simulation
In the case of co-simulation, two or multiple discrete simulation software is used during the simulation. During the run time, this software communicates with each other and affect each other’s output for the simulation of the whole system. In this case, the car model is generated in Adams/View, and the controller is designed in Simulink. Then a co-simulation is set up to drive the car model in Adams/View using the controller model in Simulink. Figure 14 gives a simple schematic of the procedure of co-simulation. The output variables generated from the Adams/View car model are transported to the controller model in Simulink. Then the control torque is evaluated from these car parameters and is fed back again into Adams/View.

Schematic of co-simulation.
6.1. Selection of input and output variables
Input and output variables from Adams required by the controller are listed in Tables 4 and 5.
Adams input variables.
Adams output variables.
6.2. Steps of co-simulation
Steps required to establish a co-simulation between Adams/View and Simulink are as follows:
load Adams/Controls;
select input and output variables;
set references for input variables;
Adams block exporting to MATLAB/Simulink;
linking Adams plant model and the controller model in Simulink;
starting co-simulation;
checklist before co-simulation.
The vehicle model is opened in Adams/View. Adams and controls application such as Simulink communicate using state variables. So we have to define all input and output variables in Adams state variables. After defining the input and output variables, the input variable values that are obtained from Simulink have to be applied/referenced at the proper location in the Adams model. In this case, the values of the control torques obtained from Simulink have to be referenced. Once the input variables are referenced properly in Adams, then the Adams model is complete for transporting to Simulink as a control system block. To transport the model,

Adams/Controls Plant Export dialogue box.
To configure the controller with the Adams/View model, the Adams exported model is opened in MATLAB. Then the working directory of MATLAB is altered to the working directory of Adams/View. Then run the .m file. This generates the input and output variables of the Adams model as variables in MATLAB. Next, to the command,

Adams model in Simulink.

Adams model subsystem.

Block diagram of Adams model and controller in Simulink.
7. Co-simulation results and analysis
To execute the co-simulation in Adams and Matlab/Simulink first parameters of both should be adequately matched, as shown in Table 6.
Co-simulation parameters.
During the co-simulation, the controller tracks the reference slip in MATLAB/Simulink, which is described in Figure 19 and 20. Figure 19 shows that the vehicle runs on three different road conditions, i.e., during

Slip controller reference tracking for Set-1.

Slip controller reference tracking for Set-2.
8. Conclusion
This paper presents a novel method for longitudinal slip ratio control using sliding mode. Design of a robust control law using the SMC technique has been described. The proposed technique is examined and then simulated in the Simulink environment, and the results are verified. In the simulation, the vehicle runs on two different roads, each constructed using three distinct friction coefficients for a certain interval of time. The proposed method exhibits much better performance in the slippery road, thus reducing energy cost. Then the validation leads to the development of four-wheeler in-hub EV using Catia and transportation to Adams. A road model has been designed and constructed for three different friction coefficients. The co-simulations have been achieved between Adams/View and Matlab/Simulink to test the robustness of the controller. In the case of closed-loop control after 4 s slip-based traction, the controller follows the reference slip in a 10 s co-simulation between Adams and Matlab/Simulink. Undesirable torque production and oscillations are the shortcomings of the controller. The design of the controller needs to be improved so that the oscillations can be avoided and torque should be in the desired limit.
Footnotes
Funding
This research received no specific grant from any funding agency in the public, commercial, or not-for-profit sectors.
