Modelling_of_vehicle_longitudinal_dynamics_using_system_identification
Modelling_of_vehicle_longitudinal_dynamics_using_system_identification
Identification
H. Syahira1, M. Abdullah1*, S. Ahmad1, M.A.S. Zainuddin1,2, and K.A. Tofrowaih3
1
Dept. of Mechanical and Aerospace Engineering, International Islamic University Malaysia, Jalan Gombak,
53100, Kuala Lumpur, Malaysia
2
Dept. of Automotive Engineering Technology, Kolej Kemahiran Tinggi MARA, Masjid Tanah, 78300, Melaka,
Malaysia
3
Dept. of Mechanical and Manufacturing Engineering, University Teknikal Malaysia Melaka, Hang Tuah Jaya,
76100, Melaka, Malaysia
*
[email protected]
Abstract: This paper presents an alternative modelling technique known as system identification to represent longitudinal
vehicle dynamics that relates input of pedals pressing to the output speed. The input and output data are recorded by
simulating a high-fidelity nonlinear vehicle mathematical model with suitable sampling time. Different excitation input
ranges are tested for the training process to get the best model representation. Once a suitable transfer function is obtained,
a PID controller is tuned and implemented to control the brake and throttle pedals of the car based on the desired velocity
profile. The simulation results show that the tuned PID controller managed to track the standard FTP75 drive cycles with an
acceptable response. Based on these findings, it is noted that the system identification model can become a good alternative
modelling technique to design a model-based controller or tune a classical controller for future application.
Authorized licensed use limited to: Purdue University. Downloaded on February 18,2025 at 15:41:31 UTC from IEEE Xplore. Restrictions apply.
1
model accuracy. Once a suitable model is developed, a
control algorithm can be designed or tuned based on the
identified model for the ACC application. This paper’s
structure is organized as follows: Section 2 will discuss the
methodology for system identification, Section 3 presents the
simulation results, and Section 4 provides the conclusion.
2. Methodology
2.1. Mathematical Model for the Plant
μగೌమ ோ ேೌೞ
് ܰ ݄݊݁ݓ0
ସ
ܶ=ቐ (2)
μೞೌ గೌమ ேೌೞ
= ܰ ݄݊݁ݓ0
ସ
Authorized licensed use limited to: Purdue University. Downloaded on February 18,2025 at 15:41:31 UTC from IEEE Xplore. Restrictions apply.
మ
parameters Ft is a traction force, Fr is the resistance force, ቚห௫ି௫ೝ หቚ
and Fd is an aerodynamic force. Details explanation %݂݅= ݐ (5)
ேೞ
regarding this block can be found in the MATLAB
documentation [12]. 2.3. PID Controller
ݐܨെ ݉݃ ݊݅ݏɅ െ ݎܨെ ܽ݉ = ݀ܨ (4) Once a simplified transfer function is obtained, a PID
controller will be tuned to control the pedal position of both
braking and throttle based on the desired speed. Fig. 6 shows
a schematic diagram where PID is implemented with the
identified transfer function. In this process, the three PID
gains, which are proportional Kp, integral Ki, and derivative
Kd will be tuned to get a suitable closed-loop response by
using auto-tune MATLAB function. Once suitable gains are
found, the transfer function block, as in Fig. 6 will be replaced
with a nonlinear mathematical model that represents an actual
vehicle, as shown in Fig. 1. In this stage, the controller should
produce almost the same result as the previous set-up.
Fig. 4. Vehicle dynamic block diagram.
Authorized licensed use limited to: Purdue University. Downloaded on February 18,2025 at 15:41:31 UTC from IEEE Xplore. Restrictions apply.
percentage is not that significant for all the transfer functions.
Three transfer function structures with first, second and Thus, the simplest form of the first-order transfer function is
third order are considered to capture the system dynamics. It selected to keep the designing process simple, where the
can be seen from Fig. 8 that the percentage of fit for the equation is given as:
training data itself is not quite good. The first-order transfer
.ସଷ
function tf1 provides the highest fit (53.66%), followed by the = )ݏ(ܩ (6)
௦ା.ଵଵହ
second order tf2 (24.97%) and third-order tf3 (22.35%). With
new validation data, the performance of all three transfer
functions drastically drops: tf1 to -3.55%, tf2 to -87.21%, and
tf3 to -94.02%. One of the main challenges in identifying this
dynamic is that the speed will settle at 0 m/s when the brake
pedal is pushed. This behavior is difficult to capture,
especially when a large excitation is introduced. As observed,
the identified model tends to produce negative speed instead
of 0 m/s when brake is activated in both training and
validation data sets.
Fig.10. Percentage of fit for various transfer functions
with -10% to 100% excitation range.
Authorized licensed use limited to: Purdue University. Downloaded on February 18,2025 at 15:41:31 UTC from IEEE Xplore. Restrictions apply.
speed. be applied.
Acknowledgement
Authors would like to acknowledge International Islamic
University Malaysia Research Management Center Grant
2020 (RMCG20-010-0010) for funding this work.
References
[1] Park, S., Rakha, H., Ahn, K., and Moran, K.: 'Fuel
economy impacts of manual, conventional cruise
control, and predictive eco-cruise control driving',
Fig.12. Demanded brake and throttle position to tack International Journal of Transportation Science and
the drive cycle. Technology, Sep. 2013, 2, (3), pp. 227–242
[2] Oguntosin, V., and Olasina, J.: 'Control design and
analysis of cruise control system', Journal of Research
Fig. 13 shows the system’s response based on the FTP75 in Engineering and Applied Sciences, Jul. 2021, 6, (3),
pp. 108–112
drive cycle. It is shown that the system (red line) manages to
[3] Lee, M. H., Park, H. G., Lee, S. H., Yoon, K. S., and
track the FTP75 drive cycle (blue line), but not as accurate as
Lee, K. S.: 'An adaptive cruise control system for
expected. The get a close behavior, more control effort is autonomous vehicles', International Journal of
needed. Since the system is physically constrained to 100% Precision Engineering and Manufacturing, Mar. 2013,
opening, the best decision that the controller can make is to 14, (3), pp. 373–380
take a longer time to reach the desired value. Again, this can [4] Zainuddin, M.A.S., Abdullah, M., Ahmad, S., and
be linked to the oversimplification of the power train Tofrowaih, K.A.: 'Performance Comparison Between
dynamics in the plant, where it needs to be more realistic for Predictive Functional Control and PID Algorithms for
future work. Automobile Cruise Control System', International
Journal of Automotive and Mechanical Engineering,
Mar. 2022, 19, (1), pp. 9460–9468
[5] Nie, Z., and Farzaneh, H.: 'Adaptive Cruise Control for
Eco-Driving Based on Model Predictive Control
Algorithm', Applied Sciences, Jul. 2020, 10, (15), pp.
5271
[6] Takahama, T., and Akasaka, D.: 'Model Predictive
Control Approach to Design Practical Adaptive Cruise
Control for Traffic Jam', International Journal of
Automotive Engineering, 2018, 9, (3), pp. 99–104
[7] Rajamani, R.: 'Vehicle dynamics and control', (New
York: Springer, Cop, 2012)
Fig.13. Response of the system based on the FTP75 [8] Vicente, B. A. H., James, S. S., and Anderson, S. R.:
drive cycle. 'Linear system identification versus physical modeling
of lateral–longitudinal vehicle dynamics', IEEE
Transactions on Control Systems Technology, May
4. Conclusion 2021, 29, (3), pp. 1380–1387
[9] Dias, J. E. A., Pereira, G. A. S., and Palhares, R. M.,:
'Longitudinal Model Identification and Velocity
This paper has presented the methodology for a system Control of an Autonomous Car', IEEE Transactions on
identification to develop longitudinal vehicle dynamics for Intelligent Transportation Systems, 2014, pp. 1–11
ACC applications. It is found that the training input range [10] Ringwood, J. V., Davidson, J., and Giorgi, S.:
plays vital role in the identification process. With a suitable 'Identifying Models Using Recorded Data', Numerical
range, the model can be identified with a good percentage of Modelling of Wave Energy Converters, 2016, pp. 123–
fit for both the training and validation data set. Although the 147
identified model can be used to tune the PID controller, [11] Keesman, K. J.: System Identification: 'An
expensive control effort may be demanded due to the limited introduction. London' (Springer, Cop, 2011)
capability of the original plant itself. Theoretically, the [12] ‘Vehicle Modeling Using Simulink’,
system identification model does its job. However, the plant https://www.mathworks.com/videos/matlab-and-
dynamics need to be improved to obtain a more realistic simulink-racing-lounge-vehicle-modeling-part-1-
result. The modelling process should include several essential simulink-
dynamics such as changes in gear ratio, differential, and other 1502466996305.html?s_tid=srchtitle_vehicle%20mo
coefficients. Future work will look at the identification delling_1, accessed 27 May 2022
process from an actual car where the same methodology can
Authorized licensed use limited to: Purdue University. Downloaded on February 18,2025 at 15:41:31 UTC from IEEE Xplore. Restrictions apply.