Research and Simulation of the Electrical Vehicle Based Dynamical System

This study developed a dynamicmodel of electric vehicle system by using theMATLAB/Simulink tool.The vehiclemodel comprises two system components: an electrical system and a suspension system. This study also designed various road conditions for simulating the motion of vehicle traveling along a road. The results show that the electrical and suspension system parameters can be adjusted immediately to enhance passenger comfort. The findings of this research have practical teaching applications. Students can modify the vehicle model parameters byes using the MATLAB graphical user interface, allowing them to observe the motion of vehicle under various road conditions.


Introduction
The automotive industry is well developed, and vehicle manufacturers are interested in producing cars that enhance passenger comfort.Therefore, various types of vehicle simulation model have been proposed, particularly those that enhance existing vehicle suspension systems.Recent studies have used MATLAB/Simulink to develop vehicle models for simulating how modifying the stiffness and damping value of a suspension system influences vehicle performance [1].Another study used a frequency-adjusting method to control the vehicle suspension system [2].A previous study on active suspension systems employed virtual instrumentation to test the performance of vehicle suspension systems, where PC-DAQ scheme was adopted to measure the absorptivity, vibration frequency, phase difference, and corresponding vibration waveform [3].In addition, many recent studies have applied fuzzy controllers in their suspension system design.Previous studies have shown that vehicle suspension systems involving fuzzy controllers yield improved vehicle body stability during acceleration and displacement; compared with the systems featuring nonintegrated controllers, fuzzy controller-based systems yield a smaller overshoot curve.Several studies have shown that compared with nonintegrated controller-based systems, the peak acceleration and vehicle displacement can be reduced by at least 10% [4][5][6].In other studies, neural network-and genetic algorithmbased fuzzy controllers have yielded superior vehicle suspension performance in comparison to systems that use conventional algorithm-based controllers [7].In addition, fuzzy proportional-integral-derivative (PID) controllers have been applied widely in various types of vehicle control system.Fuzzy PID controllers markedly reduce the root mean square (RMS) pitch acceleration of the vehicle and RMS vertical acceleration of the passenger seat.Although fuzzy PID controllers produce simulation curves exhibiting relatively slower response speeds, their performance is relative to the performance of normal PID controllers that control the transition process, thereby reducing the time and overshoot considerably [8,9].The aforementioned studies have used MATLAB to perform simulations.Several other studies have combined MATLAB with ADAMS to produce vehicle motion simulations that output motion data and produce animated vehicle simulations [10,11].Moreover, most studies have discussed various methods for improving the performance of vehicle suspension systems to enhance passenger comfort.However, given the current emphasis on energy conservation and reducing the output of carbon emissions, the development of efficient electric vehicles is critical.Therefore, this study reviewed extant literature on hybrid electric vehicles and vehicle simulations to design a simulation system for electric vehicles [10][11][12].Vehicle motion is influenced by suspension system parameters, electrical system parameters, and road surface conditions.With the system proposed, in this study, the vehicle suspension system parameters can be adjusted through the MATLAB graphical user interface (GUI), and the corresponding effect on vehicle motion can be observed immediately.

Dynamic Model of the Vehicle
An electric vehicle moves from left to right at a constant longitudinal velocity V.With the suspension in a steady state, the front wheels encounter a constant slope input of 10% grade at time  = 0.The rear wheels are subject to the same input as the front wheels with a time delay of /V 0 , where  is the wheelbase of the vehicle.The vehicle body can be assumed to be a rigid body with a mass of  and moment-ofinertia .The response of the vehicle body can be expressed in terms of vertical position   and counter clockwise rotation  relative to the center of mass, which is located at a distance of  1 from the front wheels and  2 from the rear wheels.The front and rear suspensions can be modeled with identical springs of stiffness  and identical dampers with damping coefficient .First, we must obtain the vehicle model in the longitudinal, vertical, and pitch directions.Subsequently, various road conditions were designed to simulate the impact of a moving vehicle. Figure 1 depicts the overall vehicle model, and "Symbol Definition" section shows the electric vehicle model parameters.This study constructed a dynamic model of the vehicle shown in Figure 1 and detailed as follows.

Modeling of Dynamic
Behavior in the Longitudinal Direction.In this section, we identify the relationship between the horizontal velocity and the applied voltage.In the longitudinal direction, the dynamic system includes the electrical and mechanical systems.Based on the model shown in Figure 1, the dynamic equations for the electrical system can be formulated as follows: The motor equation can be expressed as ( The mechanical equation ẇ ẋ is expressed as According to the theory of energy conservation, when a vehicle is in motion, the kinetic and potential energy of the vehicle can be derived as follows: Subsequently, the energy method can be used to obtain the following: First, to identify the relationship between the longitudinal velocity and applied voltage, we must solve the transfer function () = ()/().Second, ( 7) is obtained by taking the Laplace transform from ( 1), ( 2)-( 4).Third, substitute ( 7) into (2) to obtain (8), as follows: Thus, ( 8) is substituted into (4); subsequently, assume that no viscous friction occurs in each of the gear train components  1 and  2 (both are set with zero values) and that the motor inertia and load inertia referred to the motor shaft are negligible, implying that  1 and  2 are equal to zero.Finally, we obtain the transfer function shown in (9).According to (9), we construct the control block diagram shown in Figure 2. Consider

Modeling of Dynamic Behavior in the Vertical and Pitch
Directions.In the second part, we must determine the vertical and pitch motion of the vehicle, as well as how the road conditions (i.e., system input) affect the vehicle motion.First, we simplify the vehicle model in Figure 1 as shown in Figure 3.According to Figure 3, Newton's second law is applied to determine the translational and rotational motion in   -direction and -direction, respectively; thus, we obtain Next,   and   are substituted with   and  as follows: Subsequently, we obtain The function matrix for transferring the road profile to the car's vertical and pitch motions can be derived as (15) Subsequently, take the Laplace transform Finally, we obtain the matrix of the transfer function where  11 ,  12 ,  21 , and  22 are expressed as follows: From (17), we know that the inputs are  1 () and  2 (), which are produced by the road profile (  ).Therefore, we can obtain the block diagram control of the vertical displacement   and longitudinal velocity V.The rotational motion  and longitudinal velocity V correspond with the road input, as shown in Figure 4.

State-Space Equation of the Vehicle.
The state-space equation of the vehicle is derived to obtain the acceleration, angular velocity, and angular acceleration of the vehicle.From ( 11) and ( 13), assuming that , then the state-space equation can be obtained as follows: where the output is where  1 and  3 denote the vertical position and pitch angle of vehicle, respectively; state variables  2 and  4 are the time derivatives of  1 and  3 , respectively;   , ẏ  , , and θ are the output variables corresponding to  1 ,  2 ,  3 , and  4 , respectively.

Simulation Result and Analysis
The proposed dynamic model of an electric vehicle was developed using MATLAB/Simulink.The simulation conditions are detailed as follows:  = 1310 kg,  1 = 1 m,  2 = 1 m,  = 12 929 N/m,  = 2880 N-s/m,   = 14 V-s/rad,   = 10 Nm/A,  = 20, and  = 5 kΩ.This section comprises three parts.The first part reports the influence of the applied voltage on the longitudinal velocity of the vehicle.The second part analyzes the influence of input road conditions on the vertical displacement and pitch angle of the vehicle.Finally, the third part constructs a dynamic model of the state-space and then simulates and analyzes the vehicle motion in the vertical and pitch directions.

Influence of the Applied Voltage on the Longitudinal
Velocity of the Vehicle.Assume that the vehicle travels on a flat road surface free of obstacles.According to (8), we set the applied voltage to 12, 24, 36, and 48 V and then calculate the results of the longitudinal velocity, which increases in conjunction with the voltage, and the final velocity is 6.4, 12.9, 19.3, and 25.7 m/s, respectively.Simultaneously, the vehicle's longitudinal displacement is also increased.Figure 5 shows the results.

Influence of the Input Road Conditions on the Longitudinal
Displacement and Pitch Angle of the Vehicle.According to Figure 4, assume that the vehicle travels on the road at a velocity of 12.9, 19.4, and 27.8 m/s, and an identical displacement is applied from the center of mass to the front and rear wheels; in other words,  1 =  2 = 1 m.After the vehicle travels a distance of 1 km, the road conditions become bumpy, and the slopes of the uphill and downhill path are 0.1 and −0.2, respectively (Figure 6). Figure 7 depicts the vertical displacement and pitch angle of the vehicle as it travels along the bumpy road surface.As shown in Figure 7, at the point where the vehicle travels from a flat road surface onto a sloped road surface (or vice versa), its variation in displacement and angular displacement increase.Moreover, the increase is more pronounced when travelling downhill because of the impact of gravity.Because the velocity of vehicle is higher, the rear wheels become raised when the vehicle meets the flat road; hence, the vehicle exhibits negative displacement and angular displacement.

Vehicle Motion and State-Space.
According to the aforementioned results, the vehicle acceleration cannot be obtained directly; therefore, we adjusted the equation of motion relative to the state-space form.For the simulation, the simulation time was set at 3 s; the velocity of vehicle V was set at 11.1, 19.4, and 27.8 m/s; and the road slope was set at 0.1.Finally, Figure 8 shows the acceleration, velocity, and displacement of the vehicle in vertical and pitch directions.As shown in Figure 8, when the vehicle velocity    is higher, it produces more acceleration; in particular, at the moment when the vehicle begins travelling uphill, its body tilts forward slightly, thereby causing the rear wheels to be raised; consequently, the vehicle exhibits negative acceleration and angular acceleration.After 1.5 s, the vehicle enters a steady state and its angular displacement converges to 0.1, which is the slope of uphill path.Second, the vehicle acceleration, angular velocity, and displacement are increased; consequently, the vehicle requires more time to return to a steady state.

Graphic User Interface
Most previous studies have used only MATLAB/Simulink to construct vehicle models.However, this study employed MATLAB/Simulink to construct the vehicle model and a GUI to allow interaction with the Simulink model.As shown in Figure 9, the vehicle parameters can be modified, and the results can be observed immediately through the GUI.Thus, the function of the road conditions can be developed by interacting with the Simulink Stateflow, which is a flow-controlled  block.Operators can use the Stateflow block to control the system flow and to link multiple systems simultaneously.Furthermore, this research design can be used to develop sloped or bumpy road conditions, as well as trapezoidal roads, or other types of road functions by using the Stateflow block, as shown in Figure 10; subsequently, the road functions can be linked with vehicle control system.In this case, we can observe the vehicle motion while the vehicle travels along various road types.Furthermore, this research can be applied to instruct students by adjusting the vehicle parameters, such as the mass, spring constant, damping coefficient, and wheelbase length.Furthermore, the variation in vehicle motion (e.g., displacement, velocity, and acceleration along the vertical, longitudinal, and pitch directions) can be observed.

Conclusions
According to the results of this study, the longitudinal velocity of the vehicle depends on the applied voltage input.When the vehicle travels along a road that is free of obstacles, the applied voltage and longitudinal velocity are higher.Under contrasting conditions, these values are lower.In general, the maximal applied voltage input is 48 V; accordingly, we can obtain the final longitudinal velocity of 25.7 m/s.In addition, the vertical displacement and pitch angle are determined by the input road conditions.If the input road is bumpy, the vertical displacement and pitch angle are higher.Similarly, under contrasting conditions, these values are lower.Finally, the peak acceleration or angular acceleration occurs at the moment when the vehicle travels from a flat road onto an uphill path (or when it travels from a downhill path onto a flat road).This study used MATLAB/Simulink to design an electric vehicle system that is suitable for instructional applications.The vehicle parameters can be adjusted conveniently, and the variation in vehicle motion can be observed immediately; thus, engineers or students can modify the vehicle parameters in real time.

Figure 1 :
Figure 1: Model of the electric vehicle.

Figure 3 :
Figure 3: The vehicle vertical displacement and the pitch motion.

Figure 4 :
Figure 4: The vertical displacement and rotational motion and the longitudinal velocity.

Figure 5 :
Figure 5: The longitudinal velocity and the longitudinal displacement of the vehicle.

Figure 6 :
Figure 6: The vehicle is through a bumpy, and then the center of vehicle produce the vertical displacement and pitch rotation as shown in Figure 7.

Figure 7 :
Figure 7: The vertical displacement and the pitch angle when it is through a bumpy road.

Figure 8 :
Figure 8: The motion of vehicle in vertical and pitch direction.

Figure 9 :
Figure 9: One can adjust the parameters of vehicle by GUI and observe the motion of vehicle, such as displacement, velocity, and acceleration of vertical and pitch direction.

4 [Figure 10 :
Figure 10: The road input is designed by using Stateflow of MATLAB.