Modelling and Simulation of Driving Cycle Using Simulink
Modelling and Simulation of Driving Cycle Using Simulink
Corresponding Author:
A. R. Salisa
Faculty of Ocean Engineering Technology and Informatics
Universiti Malaysia Terengganu
21030 Kuala Nerus, Terengganu, Malaysia
Email: [email protected]
1. INTRODUCTION
Automotive industries face some challenges and pressure to reduce their development times when
they are about to innovate and produce unique products. According to James [1], the need tor educe
emissions in automotive sectors provides a more related and connected experiences and demand for
autonomous and simulators. Driving cycle plays an important role in automotive sector where engineers
requires driving cycle to analyze road condition, road profile, driving behavior, fuel consumptions, fuel
emissions and road conditions and latter aids vehicle manufacturing sectors in more efficient vehicle
productions [2]-[5]. Driving cycle is a profile which represents a speed-time relationship in which can be
used to draw out fuel economy of a vehicle [6]-[10]. According to Polizanno and Saletti [11], working
efficiently is indispensable to success in a globalized market, especially for high-tech industries such as
automotive, aerospace and communications, where electronic controls are a vital part of each new product.
The increasing demand of simulation and software use in application domains has resulted in a staggering
complexity that has proven difficult to manage with conventional design approaches. Due to the ability of
embedded software and simulations to determine complexity and challenges, model-based designs and
modelling is becoming vital among engineers. As stated by Hayfield [12], automotive industries are moving
towards new decades where vehicle autonomy had been one of the important improvements needed the most
in which the use of technologies are vital to automate and simulate some or all driving functions. As time and
technology is proceeding, the amount of work modern software has to perform is always growing more, thus
resulting in the amount of complexity of the programs and software becoming bigger. Mainly for automotive
simulation application, a product of MathWorks also well-known as Simulink is widely used as it has the
ability and functions of powertrain block set, vehicle dynamics block set, automated driving toolbox and
model-based calibration toolbox. Some of the models which are constructed using Simulink are fault-tolerant
fuel control system, data management for a fuel control system using data dictionary, engine timing using
triggered subsystems, engine timing model with closed loop control, building a clutch lock-up model, anti-
lock braking system, automotive suspension. This research and study on Driving Cycle discipline uses
common block set in Simulink such as signal builders and subsystems to do interpolation of signals and
produce driving cycle relation by mean of integration and derivation from speed.
2. SIMULINK
Simulink is a product of MATLAB that provides interactive modelling, simulating and analysing
system in the form of graphical and block interface. It enables quick and effective production and innovation
of virtual prototypes to explore design to any extent with minimal effort. According to Baloi et al. [13],
Simulink provides a graphical user interface (GUI) for building models as block diagrams and it includes a
library or defined blocks which can be used to design simulation as desired. Besides, user can also define
blocks separately with custom formulas according to required applications in subsystems which ease the
production of simulation designs
𝑎(𝑛)
𝑠(𝑛) + 𝑑𝑇 2 + 𝑣(𝑛)𝑑𝑇 = 𝑠 (1)
2
Int J Pow Elec & Dri Syst, Vol. 12, No. 3, September 2021 : 1450 – 1458
Int J Pow Elec & Dri Syst ISSN: 2088-8694 1453
A “gain” block is used with multiplication of 1e-3 or equivalent to division of 1000 to convert the
unit of distance from m to KM. The unit for velocity is remained as m/s and the unit of acceleration is
converted from m/s2 to acceleration with gravitational force which is g-unit by multiplication of 1/9.80665.
The final 3 signals are connected to scope to be monitored and analyzed. Several established driving cycles
have been chosen to verify the conceptual design; Kuala Terengganu BasKITe driving cycle, HWFET,
NEDC and WLTP. Figures 3 (a)-(d), Figures 4 (a)-(d), Figures 5 (a)-(d) and Figures 6 (a)-(d) shows the
results obtained.
The first axis of simulation results shows distance travelled, second axis shows driving cycle
relation with time and third axis shows acceleration. This procedure is carried out by connecting collected
data into velocity interpolator and also to a separate scope in which interpolated signal and direct signal is
applied to compare the required and acquired data. In all the above figures, the acquired data overlaps
required data in which can be concluded as zero signals lost throughout the simulation. To prove this, as per
Figure 3 (c), Figure 3 (d), Figure 4 (c), Figure 4 (d), Figure 5 (c), Figure 5 (d), Figure 6 (c) and Figure 6 (d),
comparison was done at 25% and 75% of the total elapsed time for each driving cycle. For Kuala Terengganu
BusKITE driving cycle, comparison was done at the time of 655 and 1963 which gives ΔY=0. HWFET
driving cycle was compared at the time of 192 and 575. NEDC driving cycle was compared at the time of
295 and 885 whereas WLTP driving cycle was compared at the time of 450 and 1350. The end result for each
driving cycle gives ΔY=0 in which the constructed conceptual design does not lose any signal in accordance
throughout the simulation process. Signal lose identification is important in any simulation processes and
procedures as it may give out inaccurate and inconsistent final result. To ensure minimal signal losses in
simulation, it is crucial to identify types of blocks and functions being used, the rate of signal losses and also
appropriate insertion and return signal paths are chosen. In most cases of simulation, signals are often lost
during return process as a due part of the simulation consumes certain decibels of it during initialization. On
the other hand, the default input data into signal builder is in m/s, which is the SI unit of speed. Figure 7 are
some of the direct conversions using “gain” block. It is also advisable to convert the values in the Excel
datasheet before uploading into signal builder to ensure consistency of data points being generated and
simulated.
(a) (b)
(c) (d)
Figure 3. (a) Established kuala terengganu BasKITE driving cycle; (b)simulated kuala terengganu
BusKITE driving cycle; (c)measurement at time 655; and (d)measurement at time 1963
(a) (b)
(c) (d)
Figure 4. (a) Established HWFET driving cycle; (b) simulated HWFET driving cycle; (c) measurement at
time 192; and (d) measurement at time 57
Int J Pow Elec & Dri Syst, Vol. 12, No. 3, September 2021 : 1450 – 1458
Int J Pow Elec & Dri Syst ISSN: 2088-8694 1455
(a) (b)
(c) (d)
Figure 5. These figures are; (a) established NEDC driving cycle; (b) simulated NEDC driving cycle;
(c) measurement at time 295; and (d) measurement at time 885
(a) (b)
(c) (d)
Figure 6. These figures are; (a) established WLTP driving cycle; (b) simulated WLTP driving cycle;
(c) measurement at time 450; and (d) measurement at time 1350
4. CONCLUSION
In the nutshell, driving cycle conceptual designing and modelling in Simulink is successful and can
be wrapped up and verified since the result of the simulation gives zero error compared with four established
driving cycles which is Kuala Terengganu BusKITE, HWFET, NEDC and WLTP driving cycles. The
conceptual design therefore can be used in future to simulate driving cycles by uploading the data of speed of
vehicles into signal builder in the format of Excel to further analyse the emissions and driving behaviours of
individuals. The novelty of this research is proven as the use of Excel in daily life has increase drastically to
perform calculation, visualization and analysis of data and proven to be one of the platforms used by various
business and research sectors. Since there are no any researches conducted previously to link the use of Excel
and Simulink to construct driving cycle, this opportunity was taken to design a conceptual modelling of
driving cycle in which the relationship of speed and time can be used to analyze various information required
by traffic engineers and environmentalists. In accordance, Excel had been chosen to be used in this research
as the data collected to construct driving cycle can be tabulated and simulated at the same time and directly
uploaded into signal builder of conceptual design to undergo required processes.
ACKNOWLEDGEMENTS
The authors would like to be obliged to Ministry of Education Malaysia for providing financial
assistance under FRGS 2020 (59623) grant and Faculty of Ocean Engineering Technology and Informatics,
UMT for all their technical and research support for this work to be successfully completed.
REFERENCES
[1] Institution of Mechanical Engineers, “Why simulation is on the up in the automotive sector,” 2020, February 24.
[Online]. Available: https://www.imeche.org/news/news-article/why-simulation-is-on-the-up-in-the-automotive-
sector.
[2] Q. Shi, Y. B. Zheng, R. S. Wang, and Y. W. Li, “The study of a new method of driving cycles construction,” in
International Workshop on Automobile, Power and Energy Engineering, vol. 16, pp. 79-87, 2011, doi:
10.1016/j.proeng.2011.08.1055.
[3] V. Schwarzer, and R. Ghorbani, “Drive cycle generation for design optimization of electric vehicles,” IEEE
Transactions on Vehicular Technology, vol. 62, no. 1, pp. 89-97, Jan. 2013, doi: 10.1109/TVT.2012.2219889.
[4] N. H. Arun, S. Mahesh, G. Ramadurai, and S. M. Shiva, “Development of driving cycles for passenger cars and
motorcycles in Chennai, India,” Sustainable Cities and Society, vol. 32, pp. 508-512, 2017, doi:
10.1016/j.scs.2017.05.001.
[5] S-H. Ho, Y-D. Wong, V.W-C. Chang, “Developing Singapore driving cycle for passenger cars to estimate fuel
consumption and vehicular emissions,” Atmospheric Environment, vol. 97, pp. 353-362, 2014, doi:
10.1016/j.atmosenv.2014.08.042.
[6] I. N. Anida, and A. R. Salisa, “Driving cycle development for Kuala Terengganu city using k-means method,”
International Journal of Electrical and Computer Engineering (IJECE), vol. 9, no. 3, pp. 1780-1787, 2019, doi:
10.11591/ijece.v9i3.pp1780-1787.
[7] G. Amirjamshidi, and M. J. Roorda, “Development of simulated driving cycles for light, medium, and heavy-duty
trucks: Case of the Toronto Waterfront area,” Transportation Research Part D, vol. 34, pp. 255-266, 2015, doi:
https://doi.org/10.1016/j.trd.2014.11.010.
[8] I. N. Anida, I. S. Ismail, J. S. Norbakyah, W. H. Atiq, and A. R. Salisa, “Characterisation and development of
driving cycle for work route in Kuala Terengganu,” International Journal of Automotive and Mechanical
Engineering, vol. 14, no. 3, pp. 4508-4517, 2017, doi: 10.15282/iiame.14.3.2017.9.0356.
[9] I. N. Anida, A. Z. Fathonah, W. H. Atiq, J. S. Norbakyah, and A.R. Salisa, “Driving cycle analysis for fuel
economy and emissions in Kuala Terengganu during peak time,” Journal of Telecommunication, Electronic and
Computer Engineering, vol. 10, pp. 2-5, 2018.
[10] X. Zhao, X. Zhao, Q. Yu, Y. Ye, and M. Yu, “Development of a representative urban driving cycle construction
methodology for electric vehicles: A case study in Xi’an,” Transportation Research Part D Transport and
Environtment, vol. 81, p. 102279, 2020, doi: 10.1016/j.trd.2020.102279.
Int J Pow Elec & Dri Syst, Vol. 12, No. 3, September 2021 : 1450 – 1458
Int J Pow Elec & Dri Syst ISSN: 2088-8694 1457
[11] R. Polizanno, and R. Saletti, “Model-based design for automotive control unit,” thesis, University of Pisa, 2016.
[12] A. Hayfield, “Auto Industry must use new simulation tools, business models and be faster. Or Die. Interact
analysis,” 27 January 2020. [Online]. Available: https://www.interactanalysis.com/auto-industry-must-use-new-
simulation-tools-business-models-and-be-faster-or-die/.
[13] A. Baloi, A. Pana, and F. Molnar-Matei, “Advantages of using MatLab Simulink in laboratory lessons on operating
conditions of overhead power lines,” in Procedia - Social and Behavioral Sciences, vol. 191, 2015, pp. 179-184,
doi: 10.1016/j.sbspro.2015.04.367.
[14] B. P. Zeigler, H. Praehofer, and T. G. Kim, “Theory of modeling and simulation: Integrating discrete event and
continuous complex dynamic system,” International Journal of Robust and Nonlinear Control, vol. 12, pp. 91-92,
2002, doi: 10.1002/rnc.610.
[15] S. Miller, and D. Pegden, “Introduction to manufacturing simulation,” in Winter Simulation Conference
Proceedings (Cat. No.00CH37165), vol.1, 2000, pp. 63-66 doi: 10.1109/WSC.2000.899699.
[16] A. M. Law, and M. G. McComas, “Secrets of successful simulation studies,” in Procedings of the 1991 Winter
Simulation Conference, pp. 21-25, 1991.
[17] T. J. Scriber, An introduction to simulation using GPSS/H, New York: John Wiley & Sons, 1991.
[18] M. A. Azadeh, and G. Farid, “Optimization of a heavy continuous rolling mill system via simulation,” Journal of
Applied Science, vol. 6, no. 3, pp. 611-615, 2006, doi: 10.3923/jas.2006.611.615.
[19] V. Patel, J. Ashby, and J. Ma, “Discrete event simulation in automotive final process system,” Proceedings of the
Winter Simulation Conference, vol. 1, 2002, pp. 1030-1034, doi: 10.1109/WSC.2002.1172997.
[20] S. D. Choi, A. R. Kumar, and A. Houshyar, “A simulation study of an automotive foundry plant manufacturing
engine blocks,” in Proceedings of the Winter Simulation Conference, vol. 1, 2002, pp. 1035-1040, doi:
10.1109/WSC.2002.1172998.
[21] J. Potoradi, O. S. Boon, and S. J. Mason, “Using simulation-based scheduling to maximize demand fulfillment in a
semiconductor assembly facility,” in Proceedings of the Winter Simulation Conference, vol. 2, 2002, pp. 1857-
1861, doi: 10.1109/WSC.2002.1166479.
[22] F. Altiparmak, B. Dengiz, and A. A. Bulgak, “Optimization of buffer sizes in assembly systems using intelligent
techniques,” in Proceedings of the Winter Simulation Conference, vol. 2, 2002, pp. 1157-1162, doi:
10.1109/WSC.2002.1166373.
[23] J. S. Norbakyah, and A. R. Salisa, “A study on PHERB powertrain modeling and analysis,” International Journal
of Electrical and Computer Engineering (IJECE), vol. 8, no. 3, pp. 1822-1829, 2018, doi:
10.11591/ijece.v8i3.pp1822-1829.
[24] E. J. Williams, and O. M. Ülgen, “Simulation applications in the automotive industry,” in Bangsow S. (eds) Use
Cases of Discrete Event Simulation, Springer, Berlin, Heidelberg, 2012, doi: 10.1007/978-3-642-28777-0_3 pp. 45-
58, 2012.
[25] C. Yang, and V. Vyatkin, “Model transformation between MATLAB simulink and Function Blocks,” in 8th IEEE
International Conference on Industrial Informatics, 2010, pp. 1130-1135, doi: 10.1109/INDIN.2010.5549757.
[26] M. Lepot, J-B. Aubin, and F. Clemens, “Interpolation in time series: An introductive overview of existing methods,
their performance criteria and uncertainty assessment,” Water, vol. 9, no. 10, pp. 1-20, 2017, doi: 10.3390/w91
00796.
[27] H. Daltrophe, S. Dolev, and Z. Lotker, “Big data interpolation an efficient sampling alternative for sensor data
aggregation,” in International Symposium on Algorithms and Experiments for Sensor System, Wireless Networks
and Distributed Robotics, 2013, pp. 66-77, doi: 10.1007/978-3-642-36092-3_8.
BIOGRAPHIES OF AUTHORS
A. R. Salisa received the B.E. and M.E. in Electrical & Electronics Engineering from
University of Technology Petronas, Perak, Malaysia in 2004 and 2006, respectively while
Ph.D. in Optimal Energy Management Strategy for the University of Technology Sydney
Plug-In Hybrid Electric Vehicles from University of Technology Sydney (UTS), Australia.
She is currently working as a senior lecturer at University Malaysia Terengganu, Malaysia.
Her research interests are in Hybrid Electric Vehicles, innovation powertrain, simulation
and modeling, energy management strategy, driving cycles, fuel economy, emissions and
optimization.
Int J Pow Elec & Dri Syst, Vol. 12, No. 3, September 2021 : 1450 – 1458