Table of Contents Author Guidelines Submit a Manuscript
Mathematical Problems in Engineering
Volume 2015 (2015), Article ID 929701, 8 pages
Research Article

Research and Simulation of the Electrical Vehicle Based Dynamical System

Department of Applied Geoinformatics, Chia Nan University of Pharmacy & Science, Tainan 717, Taiwan

Received 1 June 2014; Accepted 4 September 2014

Academic Editor: Teen-Hang Meen

Copyright © 2015 Ko-Chun Chen and Hsin-Yi Shih. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.


This study developed a dynamic model of electric vehicle system by using the MATLAB/Simulink tool. The vehicle model 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.

1. 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% [46]. In other studies, neural network- and genetic algorithm-based 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 [1012]. 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.

2. Dynamic Model of the Vehicle

An electric vehicle moves from left to right at a constant longitudinal velocity . With the suspension in a steady state, the front wheels encounter a constant slope input of 10% grade at time . The rear wheels are subject to the same input as the front wheels with a time delay of , where is the wheelbase of the vehicle. The vehicle body can be assumed to be a rigid body with a mass of and moment-of-inertia . 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 from the front wheels and 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.

Figure 1: Model of the electric vehicle.
2.1. 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 asThe mechanical equation is expressed asAccording 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 and (both are set with zero values) and that the motor inertia and load inertia referred to the motor shaft are negligible, implying that and 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

Figure 2: Control block diagram.
2.2. 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

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

Next, and are substituted with and as follows:

Subsequently, we obtainThe function matrix for transferring the road profile to the car’s vertical and pitch motions can be derived as

Subsequently, take the Laplace transform

Finally, we obtain the matrix of the transfer functionwhere , , , and are expressed as follows:

From (17), we know that the inputs are and , which are produced by the road profile . Therefore, we can obtain the block diagram control of the vertical displacement and longitudinal velocity . The rotational motion and longitudinal velocity correspond with the road input, as shown in Figure 4.

Figure 4: The vertical displacement and rotational motion and the longitudinal velocity.
2.3. 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 , , , , , and , then the state-space equation can be obtained as follows:where the output iswhere and denote the vertical position and pitch angle of vehicle, respectively; state variables and are the time derivatives of and , respectively; , , , and are the output variables corresponding to , , , and , respectively.

3. Simulation Result and Analysis

The proposed dynamic model of an electric vehicle was developed using MATLAB/Simulink. The simulation conditions are detailed as follows:  kg,  m,  m,  N/m,  N-s/m,  V-s/rad,  N-m/A, , and  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.

3.1. 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.

Figure 5: The longitudinal velocity and the longitudinal displacement of the vehicle.
3.2. 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,  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.

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: The vertical displacement and the pitch angle when it is through a bumpy road.
3.3. 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 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.

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

4. 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.

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.
Figure 10: The road input is designed by using Stateflow of MATLAB.

5. 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.

Symbol Definition

:Damping coefficient
:Applied voltage to the drive motor
:Back emf
:Moment-of-inertia of the vehicle body
:Spring constant
:Motor torque constant
:Back emf constant
:Length of the wheel base
:Distance from front wheel to center of vehicle
:Distance from rear wheel to center of vehicle
:Center of mass of the vehicle
:Mass of a wheel
:Gear ratio of gear box
:Resistance of the motor coil
:Radius of the wheels
:Longitudinal velocity of the vehicle
:Longitudinal displacement of the vehicle
:Vertical displacement of the center of vehicle
:Vertical displacement of the front wheel
:Vertical displacement of the rear wheel
:Input road to the front wheels
:Input road to the rear wheels
:Counter clockwise rotation of the vehicle.

Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.


  1. B. Lu, S. Zhu, and Y. Zhang, Proceedings of the IEEE International Conference on Automation and Logistics, Jinan, China, 2007.
  2. X. Guan, S. Jian, Z. Libin, G. Haibin, and X. Xiangguo, “Research on automobile suspension performance evaluation system with adjusting-frequency method,” in Proceedings of the International Conference on Research Challenges in Computer Science (ICRCCS '09), pp. 202–205, Shanghai, China, December 2009. View at Publisher · View at Google Scholar · View at Scopus
  3. Y. Liu, X. Cao, L. Cui, and W. Xiong, “Vehicle suspensions performance testing system based on virtual instrument,” in Proceedings of the IEEE International Conference on Mechatronics and Automation (ICMA '09), pp. 605–610, Changchun, China, August 2009. View at Publisher · View at Google Scholar
  4. S. Arabi and M. Behroozi, “Design of an integrated active front steering and active rear differential controller using fuzzy logic control,” in Proceedings of the World Congress on Engineering (WCE '10), vol. 2, pp. 1409–1414, London, UK, June–July 2010.
  5. Z. Yinhuan, in Proceedings of the International Conference on Mechanic Automation and Control Engineering, Wuhan China, June 2010.
  6. H. Xiao, W. Chen, H. Zhou, and J. W. Zu, “Integrated vehicle dynamics control through coordinating electronic stability program and active suspension system,” in Proceedings of the IEEE International Conference on Mechatronics and Automation (ICMA '09), pp. 1150–1155, Changchun, China, August 2009. View at Publisher · View at Google Scholar
  7. J. Cao, H. Liu, P. Li, and D. J. Brown, “State of the art in vehicle active suspension adaptive control systems based on intelligent methodologies,” IEEE Transactions on Intelligent Transportation Systems, vol. 9, pp. 392–405, 2008. View at Publisher · View at Google Scholar
  8. S. Jianmin, W. Yuejin, and L. Huanying, “Comparative study on vibration control of engineering vehicle suspension system,” in Proceedings of the International Conference on Intelligent Computation Technology and Automation, pp. 989–992, Beijing, China, May 2010.
  9. T. Lingfeng and L. Shengwe, “PID-fuzzy control research on hydraulic semi-active suspension system of car,” in Proceedings of the International Conference on Educational and Network Technology, pp. 163–166, Qinhuangdao, China, June 2010.
  10. D. Kim, S. Hwang, and H. Kim, “Vehicle stability enhancement of four-wheel-drive hybrid electric vehicle using rear motor control,” IEEE Transactions on Vehicular Technology, vol. 57, no. 2, pp. 727–735, 2008. View at Publisher · View at Google Scholar
  11. Y. Zhang, M. M. Xia, J. Y. Qin, and H. Zhang, “Research on co-simulation using ADAMS and MATLAB for automobile active suspension system,” in Proceedings of the International Conference on Computer Application and System Modeling (ICCASM '10), vol. 14, pp. 366–370, Taiyuan, China, October 2010. View at Publisher · View at Google Scholar
  12. L. Nehaoua, A. Amouri, and H. Arioui, in Proceedings of the 13th Mediterranean Conference on Control and Automation, Limassol, Cyprus, June 2005.