You are on page 1of 14

International Journal of

INTELLIGENT SYSTEMS AND APPLICATIONS IN


ENGINEERING
ISSN:2147-67992147-6799 www.ijisae.org Original Research Paper

Extending the FSM Model for Critical Decision-Making and Safety


Control in Autonomous Vehicles
V. Tamil Selvi 1, M. Dhurgadevi 2, Prithiviraj3, T. Jackulin4, K. Baskaran5

Submitted: 15/07/2023 Revised: 08/09/2023 Accepted: 24/09/2023


Abstract: Safety and security are important when it comes to the generation of autonomous vehicles. Therefore when there is any
drawback in the normal autonomous vehicle then it will not gain a good reach among the audience. The main aim of this autonomous
vehicle is to give good transport service without human intervention. The decision-making and control of vehicle speed and direction and
the necessary features are required to be improved to avoid damage or problem to the pedestrians and also to the car. Thus to improve the
enhanced autonomous vehicle transportation that is good in the decision making and controlling the car driving is possible using this
proposed FSM model in this research paper. This finite state machine model will give satisfaction and easy control of the autonomous
vehicle which means that it will give a good travelling experience to the customers. Good detection of the pedestrian using the sensors
and moving the car with maneuver is possible with this model. Once this is implemented the autonomous vehicles that contain this FSM
technique will surely clear all the traffic problems and obstacles like center medians, potholes, zebra crossing, traffic signals, etc. that are
present in any kind of road conditions or traffic. Driving the car with maneuvering is now possible using autonomous intelligence and the
proposed and trending FSM model. Final evaluations on the recommended technique's effectiveness and engineering practicality
comprise simulation studies and outdoor operating trials. Control of autonomous vehicles in tough road conditions will be enhanced
when compared to human driving. Furthermore, the entire structure is very scalable for unsupervised vehicle driving under various traffic
environments.

Keywords: Autonomous vehicle, Finite State Machine (FSM) model, Autonomous Intelligence, HFSM

increasingly prevalent throughout the general public as an


1. Introduction
outcome of the positive impacts of pollution-free, zero-
The promise of driverless cars to transform cities, enable emission clean power. For further improvements in the
everyone's freedom of mobility, and promote disciplines of renewable energy, vehicle management,
transportation efficiency has rendered them fashionable in comfort, safety, and quick reflexes of AEVs are vital. Since
recent years. Another aspect that draws scholars and the longitudinal rigidity is an essential issue for AEVs,
manufacturing sector is the assumption that autonomous researchers have been paying close focus to it recently. [2]
cars will be far more secure and pleasant than human
Furthermore, as a result of their distinctive hierarchical
drivers. Human driving is susceptible to accidents because
decision framework and capacity to move it to pre-set sub-
being drowsy and even making the wrong or delayed
states, hierarchical finite state machines are an effective
decisions affect our capacity to drive, which subsequently
approach and are often utilized to aid in vehicle decision-
results in property loss and mortality. A variety of
making. Split vehicle behavior into distinct components
studies pertinent to the mechanics and regulation of four-
and create a decision-making system with a constrained
wheel vehicles have been carried out in recent times.[1]
state methodology. These states involve the start state,
Autonomous electric cars (AEVs) are gradually growing
forward driving, automobile following, evading obstacles,
1
Professor, Department of Science and Humanities, R.M.D. Engineering and many others. This enhances the system's overall clarity
College, Kavaraipettai-601 206, Tamil Nadu.
Mail id: tamilselvivairavan18@gmail.com, and deepens the functional field of the finite state machine.
Orcid id: 0000-0001-6462-9148
2
Associate Professor, Department of Computer Science and Engineering, For the reason to build a hierarchical state machine, further
Sri Krishna College of Technology, Coimbatore-640142, Tamilnadu, investigators include vehicle behavior as a sub-state in the
India.
Email: devi.durga@gmail.com,
finite state machine. The stacked finite state machine is
Orcid: 0000-0002-3156-9545 also employed to assist with the decision-making of the
3
Asst.Professor (Sr.Grade), Department of CSE, Sona College of
Technology, Salem-5. prithivi@sonatech.ac.in, vehicle. Initially, the traffic situation for autonomous
Orcid: 0000-0002-6936-7359 vehicles communicating with other vehicles on urban roads
4
Associate Professor, Panimalar Engineering College, Chennai, India.
Mail id – karthijackulin@gmail.com, Orcid: 0000-0003-4015-7718 has been separated into 30 sub-scenes, and these are
5
Associate professor, Department of Biomedical Engineering, Chennai regarded as substrates of the uppermost layer of the state
institute of technology, Chennai - India, Email: baskarank@citchennai.net
machine. The highest tier is used to evaluate the scene of

International Journal of Intelligent Systems and Applications in Engineering IJISAE, 2024, 12(2s), 397–410 | 397
automatic vehicles, and the state transition circumstance is simulation which alters the action for the controlled and
assessed in conjunction with the spatial arrangement of the secured driving.
sub-scenes. Figure 1.1 indicates the complete FSM

Regaining
Orientation Path Following

Replanned Track Emergency


Succeeding Halt

Complication
Evading
U -Turn

Time-based
Halt

Fig 1.1. Finite State Machine that simulates alterations in action


Utilizing the greater energy efficiency operation, the tables and charts are implemented to test the FSM model.
energy efficiency measurement for each car's behavior is Section 5 delivers the conclusion.
derived from all three elements of safety, efficiency, and
lane inactivity. Here, we divide the behaviors of cars in any 2. Related works
sub-scene into four distinct groups: lane shifting to the left,
Q. H., Tehrani, H., Mita, S., [6] In contrast, a driver
lane shifting to the right, accelerating ahead, and slowing
purpose recognition method made up of finite state
down ahead.
machines (FSM) was developed as well. The FSM
Four diverse vehicle actions make up the state machine set categorizes vehicle behavior employing stipulated
of the lowest stage, and the automobile state progression operating standards, which are selected depending on
prediction matrix is implemented. Establish the most actual traveling incidents. The Stanford Racing Team, for
reasonable vehicle conduct for the forthcoming example, utilized FSM to shift between 13 different
circumstance, analyze it, and then conduct it. [3] We offer operating modes.
an autonomous overtaking methodology that employs a
Montemerlo, M., Becker, J., [7] The FSM transitions
finite state machine (FSM) and guidelines to pick a correct
among the common operating modes, including
action every time. Trajectory planning and tracking for
maintaining your lane and parking lot navigation, at the top
autonomous cars generate safe and achievable intermediate
level. The stuckness detectors begin transfers to reduced
emphasis for each activity. [4] A further problem is the
driving intensities (exceptions). Previous to the appropriate
fundamental strategy, as many systems use irreversible
exceptional response beginning, a great number of those
tools like the finite-state machine (FSM). Despite this,
transfers trigger a "wait period". Once a robotic function
throughout simulation assessments, rapid alterations to the
has been effectively implemented, the FSM restarts its
scenario cars' behaviors are usually necessary. [5]
standard activity.
The division of the essay's multiple sections is offered
Zita, A., Mohajerani, S., & Fabian, M. [8] It can be useful
below. Section 2 contains an research on the applicable
to consider in terms of creative states and happenings if
earlier works. Section 3 highlights the unique features of
predicting the sort of sensible activity discussed here due
the suggested FSM model, including its proposed design,
to continual dynamics can be neglected and floating point
implementation framework, elements of the graph-based
information is mostly used for assessments. States
technique, and data assessment. In Section 4, distinctive
symbolize occasions in which specific features are correct,
and events are tied to changes between the states resulting

International Journal of Intelligent Systems and Applications in Engineering IJISAE, 2024, 12(2s), 397–410 | 398
in modifications to those properties. Finite-state machines Kurt, A., Yester, J. L., [12] A collection of unique speed
constitute a prevalent paradigm for this. and acceleration groups are utilized to maintain the
significant final states distinct in the FSM driver method,
Acosta, M., Ivanov, V., [9] The primary benefit of this
meaning it is intended to offer maximum state precision as
research is that (a) an innovative machine-learning-based
feasible. The appropriate portion offers demonstrations and
road friction understanding method is incorporated into the
results concerning the framework's capacity to
FSM to enable the road friction adjusting feature, and (b)
accommodate and classify several crucial overlap approach
for the very first time, a Finite State Machine (FSM) is
scenarios.
recommended for operating an autonomous vehicle in the
race track, bringing together racing-line-based and drifting-
3. Proposed Finite State Machine Model (FSM)
like maneuvers settings.
Logic-based methods
Liu, Q., Li, X., [10] Rule-based decision-making
methods involve using an administrative database 1) Finite State Machine: The finite state machine (FSM)
generated concerning multiple traffic rules, driving comprises a multitude of phases and switch linkages
specialization, and data; tactics are subsequently selected among each state. Conditional opinions are utilized to
upon taking into consideration numerous vehicle execute the interior rules in between each phase. The three
circumstances. The Finite State Machine (FSM) classes of the FSM's construction are sequence, parallel,
methodologies are the most prevalent of rule-based and mixed.
methodologies. The FSM is a finite input/output
The hybrid framework is the one that autonomous driving
mathematical structure in which individuals' states are
systems utilize the most regularly. As demonstrated in
transferred from one agent to the other as the outcome of
Figure 3.1, the ultimate decision consequence is
appropriate behaviors being developed by outside factors.
determined via state estimation and target determination in
Under the conceptual framework of various states, FSM
the hybrid framework of the FSM. The consequences of
can be divided into three main groups: tandem form,
distinct submodules can be decided depending on priority,
parallel form, and hybrid form.
which includes all sections of risk theory to imitate human-
Wang, P., Gao, S., [11] Research indicates that there do not like steering. The hybrid FSM architecture usually works
constitute numerous optional driving behaviors when adequately, although it is not yet an ideal approach. It is an
you're driving. The finite state machine (FSM) is a immense task for the legislative base to account for all the
computational framework for communicating finite states, possible eventualities that could happen in intricate traffic
state transitions, and activity. As a consequence, a finite scenarios. If the condition enters an area not controlled by
state machine paradigm could turn out to be leveraged to the rule base, the automobile can no longer be ensured to
create the automatic driving system's decision-making function safely.
framework for driving patterns.

International Journal of Intelligent Systems and Applications in Engineering IJISAE, 202x, x(x), xx–xx | 399
Decision –Making System Input

State
Estimate
Global
Assessmen
Present t
Lane
scene
Selector
writer

Distance Merge Priority estimator


guardian Planner

Changeove Panhead
Automobile
r Manager Planner
Driver

Decision –Making System Input

Fig 3.1. Illustration of a finite state machine-based decision-making procedure.


A mathematical representation of computing widely used separate behavioral control system modules. Once FSMs
in computer programs is designated as a finite-state grow larger, they turn extremely hard for partners to work
machine (FSM). The concept underlying it is that it is a on.
machine intangible that can only live in any one of a
2) Fuzzy Explanation: Fuzzy logic pertains to the
limited number of preset states, between which migrations
imitation of the human mind. It can adequately
are carried out to reach an alternate state. Once within that
communicate emotional and empirical information that has
state, an estimation or operation is carried out before
imprecise boundaries. The decision-making system
passing on to the subsequent one. In robotics and AI, FSMs
centered on fuzzy logic has been extensively implemented
are common answers to high-level control issues. Yet,
in the domains of medical care, the agricultural sector, and
trying to set up a control system utilizing FSMs could lead
social services. Fuzzy logic delivers a greater level of
to an array of challenges and downsides.
understanding for decision-making. It recognizes dynamic
For effectively intricate structures, FSMs are recognized to rule formulation and is more prepared to adapt to a hazy
become intractable, an incidence known as the state and traffic matter. Insufficient logical predictability and an
shift burst. Each phase has to shift to every other phase for unwillingness to accurately forecast a vehicle's situation
the structure to be fully reactive, generating a fully coupled based on its actions are vital concerns with fuzzy
graph. reasoning. Fuzzy thinking can be utilized in partnership
with additional algorithms to boost the decision-making
Because of this, servicing and modifications are time-
procedure. [13]
consuming and prone to mistakes. In simpler terms, when
trying to correctly arrange the other states that may alter Hierarchical FSM
the former one, a particular stage must be erased. Since it
Hierarchical finite states machines (HFSM), also referred
depends on how tightly state changes are combined this
as statecharts, were designed to comfort the tedious
lack of adaptability renders it tough to delegate tasks to
International Journal of Intelligent Systems and Applications in Engineering IJISAE, 2024, 12(2s), 397–410 | 400
transition waste necessary in big FSMs as well as provide A finite state machine is case-oriented by default, scalable,
design in order to improve understanding of complex and straightforward to comprehend. The further higher-
networks. All of the fundamental internal states (which are level "metastate machine" became constructed, in which
also referred to as substates) are inherently associated with the meta-states or "states made of states" correlate to
the set of states that are brought altogether as a superstate. universal scenarios and each one of them incorporates a
Even while it is more flexible than traditional FSMs, it fully effective state-machine for that unique setting. This
nonetheless brings over much of the disadvantages like was accomplished to further capitalize on the case-by-case
restricted reusability. An HFSM enables some or all of the nature of the conventional state machines.
phase transfers to be adopted from a superstate via
By definition, a meta-state involves a specific class of
polymorphism, avoiding the necessity to replicate transfers
incidents that could be classified or a certain activity that
to a particular state for every additional state. [14]
the mobile operator is obliged to accomplish. To respond to
Strategies for FSM creation and meta-states that group of scenarios, every meta-state has its unique
intrinsic state machine (substrates).
3.1 Meta-states, scenarios, and fullness
The meta-state option and project descriptions can be
The high-level controller employs a further degree of a
merged into a goal-based program. A meta-state with an
structure implicitly in the tiered manager hierarchy
underlying substrate system to perform that special class of
displayed in Figure 3.2 as well as described in the earlier
eventualities can control each distinct style of operation.
part. A meta-state machine builds up this hierarchical FSM,
demonstrated in Figure 3.3.

Fig 3.2. Internal substate machines and meta-states

International Journal of Intelligent Systems and Applications in Engineering IJISAE, 202x, x(x), xx–xx | 401
influence of unforeseen factors or conditions can be
minimized:
Taking into consideration, every possible occurrence that
STATE A the mobile representative will need to handle is explained
here. At this maximum level, concentrate on each class of
eventualities instead of every potential event.
Aim to categorize the instructions for autonomous
function into meaningful collections of behavior. On a one-
lane and a two-lane highway, a self-driving vehicle
operates by equivalent or very similar laws; however, the
STATE A rules drastically differ in the parking lot.
Specify the observable success indicators for the selected
autonomy project. Try to reply to these inquiries: Is there a
list of responsibilities that the robot is expected to be able
to complete on its own? What classification can be offered
STATE A
to these tasks? Are "search for specific product" and
"general investigation" near enough to be in the same
meta-state, or should they be separated?
Once these pointers have been reviewed, the thorough
Fig 3.3. Three states make up a straightforward state construction of each meta-state, and the selection of
machine substrates and occurrences, may ultimately contribute to an
additional diversification of general occasions and their
One scenario might be a search and retrieve utilization,
related meta-states. Additional meta-states might be
where ‘‘exploration’’ or ‘‘search’’ behaviors are dissimilar
established to satisfy evolving requirements if a single
and satisfactory from the judgments and behaviors related
meta-state is found to be insufficient to cope with the
to the ‘‘rescue’’ modality of the mobile operator. Therefore
whole class of instances it was dedicated to. The steps
it is feasible to properly categorize the design process by
required for picking the meta-state and producing the
creating two distinct meta-state FSMs, one for search and
substrate are repeatedly tied. [15]
one for recovery. The meta-states may be separately
configured to handle certain elements of the entire The foundation procedure estimates the desired
operation if the handheld agent is made to work in a acceleration separately for each scenario. The ego vehicle's
complex environment. Meta-states are capable of dealing existing situation and if a pedestrian is recognized dictate
with a wide range of scenarios and guidelines for a robot to when a paradigm changeover happens. All four modes'
run smoothly in mixed surroundings, such as urban, specifics are as follows:
suburban, and rural locations, with different laws for every Maintain pace: In this setting, the ego car attempts to
situation. For an instance, picking a meta-state can be stick to the set speed 𝑤𝑑𝑒𝑠 despite the fact it identifies no
relied on: pedestrians on the road. Applying the proportional speed
Objectives and assignments: Meta-states assist in control law, the objective rapidity is figured out:
categorizing the design when a single assignment differs 𝑏 = 𝑙𝑞 (𝑤𝑊 − 𝑤𝑑𝑒𝑠 ) (1)
from another primarily due to multiple validations and
decisions. In particular, distinct meta-states may be where 𝑙𝑞 represents the corresponding coefficient, 𝑤𝑊 is the
implemented to organize research missions and safeguard ego vehicle's present speed, and 𝑤𝑑𝑒𝑠 is an appropriate
tasks. speed which happens to be the same as that particular
lane's pace limit 𝑤𝑙𝑖𝑚 . When pedestrians are observed on
Rules and scenarios: Based on the rules unique to the
the path, the Boolean variable QE is initialized to 1. The
given information, interpreting the same information may
ego vehicle preserves its current velocity in the Uphold
necessitate various steps. By rules, meta-states serve to
pace mode if
distinguish the reactions. Varying maneuvers are required
QE is equivalent to 0 or the time benefit 𝑢𝑎𝑑𝑣 surpasses the
to stay away from a barrier on a roadway, in the vicinity of
specified max. If not, the FSM decides on which setting
an intersection, or a parking area.
should be triggered next.
To achieve an appropriate level of accuracy, meta-state
Slow down: If the duration benefits remain too tiny for the
selection by the previous requirements should additionally
ego vehicle to move straight away, the FSM initiates the
take responsibility for the following indications, so that the
slow-down mode. The ego car will stop and give way to
International Journal of Intelligent Systems and Applications in Engineering IJISAE, 2024, 12(2s), 397–410 | 402
the pedestrian at an appropriate deceleration 𝑏𝑐𝑚𝑓 when the Reward: The reward framework for RL,𝑠(𝑡, 𝑏): 𝑇 × 𝐵 →
2
𝑤𝑊 𝑆, must be appropriate to these two factors because the
distance is satisfactory 𝑒 > 𝑒𝑐𝑚𝑓 = to preserve the
2𝑏𝑐𝑚𝑓 proposed approach attempts to minimize crashes and
fluidity of the driving. In this state, the target acceleration maximize effectiveness. The incentive system is separated
is established and the intended slowing down is 𝑏𝑐𝑚𝑓 . into two components: economy penalty 𝑠1 and security
reward 𝑠2 . Here 𝑠 = 𝑠1 + 𝑠2 is given an incentive in the
𝑤𝑑𝑒𝑠 (𝑒) = √2𝑏𝑐𝑚𝑓 (𝑒 − 𝑒0 ) + 𝑤02 end.
(2) When crashes occur, the representative is evaluated for a
Where 𝑒𝑝 and 𝑤𝑝 symbolize the beginning values of e and secure penalty.
w, when the FSM begins the slow-down technique, 𝑠1 = {
0, 𝑛𝑜 𝑐𝑜𝑙𝑙𝑖𝑠𝑖𝑜𝑛,
accordingly. By Eq. (3), the automobile yields at 𝑏𝑐𝑚𝑓 of −1, 𝑡ℎ𝑒𝑟𝑒 𝑖𝑠 𝑎 𝑐𝑜𝑙𝑙𝑖𝑠𝑖𝑜𝑛
deceleration with an extra feedback aspect. To ensure a normal road capability, we implement an
economic award
𝑏 = −𝑏𝑐𝑚𝑓 + 𝑙𝑞 (𝑤 − 𝑤𝑑𝑒𝑠 )
(3) 𝑤
𝑠2 = −1
𝑤𝑑𝑒𝑠
Strong brake: The self-important vehicle should
decelerate quicker than 𝑏𝑐𝑚𝑓 whenever the separation Where the lane's maximum speed is identical to the aimed
between it and the pedestrian fulfills 𝑒𝑚𝑎𝑥 < 𝑒 < 𝑒𝑐𝑚𝑓 . speed 𝑤𝑑𝑒𝑠 . If the speed falls short of the intended pace,
the agent is charged.

𝑤𝑝
𝑤𝑑𝑒𝑠 = √𝑒 Information collecting: To establish an HRL policy, the
√𝑒𝑝′
subsequent sets of data must be collected:
(4)
𝑈𝜌 (𝑡) ≔ {𝑡1 = 𝑡, 𝑏1𝑈 , 𝑡2𝑈 , 𝑏2𝑈 , … , 𝑡𝐼𝑈 },
Where 𝑒𝑝′
and 𝑤𝑝′
are the values of d and v respectively at
{ 𝐸𝜌 ≔ {𝑈𝜌 (𝑡𝑗 )}, 𝑡𝑗 ∈ 𝑇, (6)
the time FSM first enters into the hard brake mode. The
target deceleration can be evaluated in this mode as 𝐻 (𝑈𝜌 (𝑡)) ≔ ∑𝑗 𝛿 𝑜
(𝑠(𝑡𝑗𝑈 , 𝑏𝑗𝑈 )) ,

𝑤2 Here 𝑈𝜌 (𝑡)is an I-length itinerary with a policy𝜌, which


𝑏=− + 𝑙𝑞 (𝑤 − 𝑤𝑑𝑒𝑠 ) (5)
2𝑒
corresponds to an array of locations and adjectives that
Speed up: The FSM passes through this phase when the starts with state t. The dataset 𝐸𝜌 reflects the accumulation
condition 𝑒 < 𝑒𝑚𝑎𝑥 is fulfilled, which implies there doesn't of all these different flights. The profit magnitude, implied
seem adequate room for the ego automobile to
by the symbol 𝐻 (𝑈𝜌 (𝑡)), is the aggregate of the reduced
decelerate and stay away from the pedestrian. In this
instance, it makes greater sense to speed up and overtake bonuses for every itinerary.
swiftly. This mode's momentum is set to 𝑏𝑐𝑚𝑓 . We establish two sub-datasets to contrast two different
methods as
We must discuss the pedestrian circumvention issue as a
Markov decision process (MDP) to use the learning-based 𝐸(𝑡, 𝑏) = 𝐸𝑟𝑢𝑙𝑒 (𝑡) ∪ 𝐸𝑠𝑚 ,
strategy. We commence by identifying the issue's current {𝐸𝑟𝑢𝑙𝑒 ≔ {𝑈(𝑡1 = 𝑡, 𝑏1 = 𝜌𝑟𝑢𝑙𝑒 (𝑡1 ))}, (7)
state, action, and reward system. 𝐸𝑠𝑚 ≔ {𝑈(𝑡1 = 𝑡, 𝑏1 = 𝜌𝑠𝑚 (𝑡1 ))},
State: All of the scenario's taken-in elements are supposed Here the two sub datasets 𝐸𝑟𝑢𝑙𝑒 and 𝐸𝑠𝑚 constitute the
to be located in the state region. You can establish the state
entire data set 𝐸(𝑡, 𝑏). The earlier one provides avenues
space T as follows:
that begin with the rule-based policy, while the latter
𝑡 = (𝑒, 𝑒𝑧 , ∅𝑞 , 𝑤𝑊 , 𝑤𝑞 ) ∈ 𝑇 commences with the RL policy.

Action: In this job, we suppose that the ego automobile In our HRL strategy, we use DQN as a learning strategy to
controls interaction with individuals by simply adjusting address the previously mentioned MDP problem. The
its transverse momentum. For RL policy creation, the ego Bellman calculation forms the foundation for revamping
car can use the equivalent modes as the baseline FSM the R-value:
legislation, specifically retain acceleration, slow down,
𝑅(𝑡𝑢 , 𝑏𝑢 ) ← 𝑅(𝑟𝑢 , 𝑏𝑢 ) + 𝛽 [𝑠(𝑡𝑢 + 1) + 𝛿 max 𝑅 (𝑡𝑢 +
brutal brake, and accelerate. Therefore, action area B can 𝑏

be represented as 1, 𝑏) − 𝑅(𝑡𝑢 , 𝑏𝑢 )], (8)


𝐵 = {𝑏𝑙𝑡 , 𝑏𝑡𝑒 , 𝑏𝑖𝑐 , 𝑏𝑡𝑣 } Where in the R-value at state 𝑡𝑙 with operation 𝑏𝑙 is
denoted by 𝑅(𝑡𝑢 , 𝑏𝑢 ): 𝑇 × 𝐵 → 𝑆. 𝛽 Is the acquisition rate,

International Journal of Intelligent Systems and Applications in Engineering IJISAE, 202x, x(x), xx–xx | 403
and 𝛿is the reduction factor, which is a scalar in [0, 1] that distribution of the value function for the learning-based
illustrates the comparative significance of the forthcoming strategy employing the datasets 𝐸(𝑡𝑢 , 𝑏𝑠𝑚 ). The hybrid
incentive about the present. In Eq. (8), we learn that the strategy can then be constructed as
modification of the R function depends on the condition 𝜌𝑠𝑚 −𝜌𝑟𝑢𝑙𝑒
𝜌ℎ𝑟𝑙 = 𝜌𝑟𝑢𝑙𝑒 + (11)
and the event. However, since the state area in our problem 1+𝑒𝑥𝑝(−𝑥𝐷(𝜌𝑠𝑚 ,𝜌𝑟𝑢𝑙𝑒 ,𝑡))

is constant, we are not able to continuously visit any


where 𝜌𝑟𝑢𝑙𝑒 , 𝜌𝑠𝑚 , and 𝜌ℎ𝑟𝑙 , respectively, stand for the rule-
specific state.
based policy, RL policy, and hybrid policy. The constant x
To calculate the R operation, we therefore apply a neural inclines to ∞.
network 𝜗containing the value.The revised principle is
The activation function 𝐷(𝜌𝑠𝑚 , 𝜌𝑟𝑢𝑙𝑒 , 𝑡) is
represented as
2 𝐷(𝜌𝑠𝑚 , 𝜌𝑟𝑢𝑙𝑒 , 𝑡) = 𝑅(𝑡, 𝜌𝑠𝑚 (𝑡)) − 𝑅(𝑡, 𝜌𝑟𝑢𝑙𝑒 (𝑡)) − 𝑑𝑡ℎ𝑟𝑒 ,
𝜗𝑘+1 ← 𝜗𝑘 − 𝛽∄𝜗 ℱ [(𝑅(𝑡𝑢 , 𝑏𝑢 , 𝜗𝑘 ) − 𝑅+ (𝑡𝑢 , 𝑏𝑢 )) ] , (12)
{
𝑅+ (𝑡𝑢 , 𝑏𝑢 ) = 𝑠(𝑡𝑢 + 1) + 𝛿 max 𝑅(𝑡𝑢 + 1, 𝑎, 𝜗 − ) ,
𝑏 Here an activation threshold, 𝑑𝑡ℎ𝑟𝑒 , is an integer between 0
(9) and 1. The learning-based strategy gets started when 𝐷 >
Here 𝜗and 𝜗 − , accordingly, represent the present adjusting 0; alternatively, the rule-based policy takes effect. [16]
factor and the value from an earlier loop. A learning error
is symbolized by the phrase (𝑅(𝑡𝑢 , 𝑏𝑢 , 𝜗𝑘 ) − 𝑅+ (𝑡𝑢 , 𝑏𝑢 )) ,
2 4. Experimental and Implementation Results
where 𝑅 + represents the outcomes of the Bellman Outcomes of Panoramic Vision Simulation
equation. The outcomes of the deep learning R learning
Figure 4.1 demonstrates the method by which the ego-
algorithm is
vehicle generates 66 decisions concerning driving behavior
𝑏𝑠𝑚 = 𝑎𝑟𝑔 max(𝑡𝑢 , 𝑏) while getting involved in the panoramic sight self-driving
𝑏∈𝐵
(10) study. The entire traveling duration is 159.83 seconds, the
mean decision-making interval is 2.42 seconds, and the
To develop hybrid policies, we initially estimate the rule- median decision-making length is 30.30 meters.
based approach's value function dispersion by using the
datasets acquired by the rule-based policies𝐸(𝑡𝑢 , 𝑏𝑟𝑢𝑙𝑒 ).
We are additionally able to calculate the likelihood

FSM decision type


16
14
12
10
state(type)

8
6 FSM decision type
4
2
0
160
100
110
120
130
140
150
30
10
20

40
50
60
70
80
90

Time (s)

Fig 4.1. Driving performance decision-making consequences


Based on Figure 4.2 and Figure 4.3, the pace change is ultimate braking slowing down is 5.62 m/s2 when tackling
comparatively smooth, meaning it satisfies the demand. the terminal point.
The median pace is 45.05 km/h, and acceleration is
regulated between 4.21 and 2.11 m/s2 from 3 to 157 s. The
highest speed of acceleration is 4.21 m/s2 while the ego-
vehicle initiates and the

International Journal of Intelligent Systems and Applications in Engineering IJISAE, 2024, 12(2s), 397–410 | 404
Velocity
60

50
Velocity (km/h)
40

30
Velocity
20

10

0
0 10 20 30 40 50 60 70 80 90 100110120130140150160
Time (s)

Fig 4.2. Ego vehicle’s speed curve

Acceleration
6

4
acceleration(m/s2)

-2 Acceleration

-4

-6
20 40 60 80 100 120 140 160
Time (s)

Fig 4.3. Ego vehicle’s acceleration curve


We requested 10 experienced drivers to assess each driving Furthermore, the total average score for all 66 selections is
judgment generated by the HFSM structure concurrently 4.97, meaning it's above the median. With every option in
throughout the panoramic eyesight to ensure the rightness this investigation, proposition 𝐼0 : 𝜎 ≤ 4.0 was
of the ICV autonomous vehicle judgment-making shown in systematically tested. By Figure 4.4, all driving decision is
Fig. 4. The skilled driver designated a score of more effective than the standard range at the threshold of
{0,1,2,34,5,6} for every driving option, with the ratings of 5%, and 40 choices regarding driving are superior to the
extremely unreasonable, unreasonable, reasonable, normal, median level at a 1% significance level. For ICV
suboptimal, optimal, and highly ideal representing autonomous vehicle choice-making, the HFSM model
acceptable grades. The average ratings for all 66 driving is appropriate.
judgments range from 3.30 to 5.80, with 3.50 becoming
the lowest and 5.80 representing the greatest [16, 17].

International Journal of Intelligent Systems and Applications in Engineering IJISAE, 202x, x(x), xx–xx | 405
18
16
14
12

state(type)
10 t-value
8
critical t-value at 5% level
6
4 critical t-value at 1% level
2
0

110
100

120
130
140
150
160
30
10
20

40
50
60
70
80
90
Time (s)

Fig 4.4. The outcomes of a statistical analysis on choice-making


Outcomes of a Modeling of Accident Prevention
The positions and velocities of each vehicle are shown in Table 1.
Table 1. vehicle position and velocity parameters

No. Present Present Distance


ID Track Speed to
objective
(km.h-
1 vehicle
)
(km)
1 3 46 1
2 4 51 41
3 3 26 31
4 2 51 33
5 5 41 81

The worldwide FSM algorithm's choice-making allocating ratings from sets of {1,2, … ,9} for every instance
framework for driving action is displayed in Table 2. We and upper layer index. The objective weight of events is
requested 8 experienced drivers to rate the relevance of the established utilizing the AHP algorithm to deal with expert
instances in Table 2 employing hazardous operating input, as demonstrated in Table 3. On the contrary hand,
principle with the goal to calculate the emotional relevance the EWM methodology right away derives the target
of events in the worldwide FSM model. utilizing weight of events in tandem with the data provided in Table
individual assessment and the bipolar scale method, 2.

Table 2. Driving behavior decision-making matrix of the global FSM

Event f2 f f4 f5 f6 f f8 f f f f1 f13 f f1 f16 f17


/States 3 7 9 1 2 5
f1 11 1
0
4

T1 46 554.02 - - 801.4 - - - - - - - 1949.6 - - -


7 1

T2 46 604.02 - - 855.1 - - - - - - - 1999.6 - - -


2 1

T3 46 51.00 - - 301.0 - - - - - - - 1449.0 - - -

International Journal of Intelligent Systems and Applications in Engineering IJISAE, 2024, 12(2s), 397–410 | 406
7 7

T4 46 1.00 - - 252.6 - - - - - - - 1399.6 - - -


2 1

T5 46 - - - - - - - - - - - - - - -

T6 46 491.02 - - 741.3 - - - - - - - 1889.3 - - -


1 8

T7 46 554.02 - - 801.4 - - - - - - - 1949.6 - - -


7 1

Table 3. Subjective weight of events in the global FSM model


Driving Safety weight Travel efficiency index

0.91 0.20
f2 f5 f1 f13
0.96 0.06 0.86 0.16

Table 4. Driving behavior decision-making result of the global FSM model


State T1 T2 T3 T4 T6 T7

Synthetic Similarity degree 0.8020 1.0001 0.0082 0.0000 0.8494 0.9913

The regional FSM algorithm's choice-making structure for the top layer metrics in an arrangement similar to the
influencing conduct is displayed in Table 5. The eight most global FSM model. Applying the AHP algorithm for
knowledgeable drivers employed a one-by-one comparison handling expert input results in the personal weight of
and bipolar scaling method to rate the impact of each events, as demonstrated in Table 6. Furthermore, using the
occurrence and information in Table 5 along with using the EWM method,
the objective weight for events is derived.
Table 5. Driving behavior decision-making matrix of the local FSM model

Events/States f1 (m) f2 (m) f3 (m) f4 (m) f5 f6 (s) f7 (km.h-1) F8 (km.h-


1
)
T1 16.7500 6.2500 41.0000 33.0000 1.0000 1.0000 71.0000 26.0000
T2 16.7500 6.2500 41.0000 33.0000 1.0000 3.4000 71.0000 26.0000
T3 16.7500 6.2500 41.0000 33.0000 1.0000 3.4000 71.0000 26.0000
T4 16.7500 6.2500 41.0000 33.0000 1.0914 3.4000 71.0000 26.0000
T5 16.7500 6.2500 41.0000 33.0000 1.0000 3.4000 71.0000 26.0000
T6 13.2500 9.7500 41.0000 33.0000 1.0000 5.8000 71.0000 26.0000
T7 16.7500 6.2500 41.0000 33.0000 1.0000 11.4000 71.0000 26.0000
T8 13.2500 9.7500 41.0000 33.0000 1.0000 3.4000 60.0000 6.0000
T9 13.2500 9.7600 41.0000 31.0000 1.9929 5.8000 71.0000 26.0000
T10 20.2500 2.7500 31.0000 33.0000 1.9912 5.8000 60.0000 6.0000

International Journal of Intelligent Systems and Applications in Engineering IJISAE, 202x, x(x), xx–xx | 407
T11 16.7500 9.7500 41.0000 31.0000 2.0000 7.0000 71.0000 26.0000
T12 16.5000 2.7500 31.0000 33.0000 2.0000 7.0000 60.0000 6.0000
T13 16.7500 6.2500 41.0000 33.0000 1.0000 11.4000 71.0000 26.0000
T14 16.7500 6.2500 41.0000 33.0000 1.0000 49.0000 71.0000 26.0000
T15 20.2500 2.7500 31.0000 33.0000 1.9461 1.6660 60.0000 6.0000
T16 6.2500 2.7500 41.0000 33.0000 1.0000 160.8888 60.0000 6.0000

Table 6. Subjective weight of events in the local FSM


model
Table 7. Driving behavior decision-making result of the
local FSM model
Driving safety index Travel efficiency index
State Synthetic State Synthetic
0.91 0.20
Similarity degree Similarity
g1 g2 g3 g4 g5 g6 g7 g8 Degree
T1 0.01157 T9 0.98990
0.02 0.04 0.03 0.03 1.00 1.00 0.02 0.04
T2 0.01121 T10 0.89888
5 5 5 5 0 0 5 5
T3 0.01111 T11 0.97994
The local FSM model's consequence, illustrated in Table 7, T4 0.02347 T12 0.89897
is state T11 (move to left lane with slowdown), which fits T5 0.01121 T13 0.00105
the traffic circumstance fairly well. Furthermore, the 11 T6 0.01152 T14 0.00538
experienced drivers examined this steering selection T7 0.01005 T15 0.88569
live and granted it a mean score of 4.7, which at first was T8 0.01187 T16 0.00004
greater than the standard threshold of 4.0, verifying the
preciseness of the HFSM model's advice. Figure 4.5 illustrates that the regional FSM's steering
judgment result is still mode T11 across randomly chosen 5
portfolios of the AHP choice element and TOPSIS
preferred parameter. Furthermore, it reinforces the theory
that pushing characteristic activities supervises the local
FSM approach, which also has a durability aspect when
compared to alterations in the TOPSIS importance
coefficient or AHP importance element. On top of that, the
artificial correspondence degree of state T9 and state T11 in
Figure 4.5 is concerning alike under several value
portfolios. The primary argument is that, in the existing
traffic predicament, the left-forward car (No. 2) is
approaching faster than the ego-vehicle; as an outcome, the
ability to shift to the left lane without stopping down (T9)
is also acceptable [18].

0.8
Ci(100%)

λ=0.6,δ=0.6
0.4
λ=0.2,δ=0.4

0
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
State

Fig 4.5. Local FSM output under different factors


International Journal of Intelligent Systems and Applications in Engineering IJISAE, 2024, 12(2s), 397–410 | 408
5. Conclusion passive model for automated lane change. IEEE
Intelligent Transportation Systems Magazine, 9(1), 42-
Self-driving cars are the future of the automobile
56.
world because they provide simpler mobility for
[7] Montemerlo, M., Becker, J., Bhat, S., Dahlkamp, H.,
travelers and minimize fatal crashes. As it pertains to self-
Dolgov, D., Ettinger, S., ... & Thrun, S. (2008). Junior:
driving cars, choice-making as well as security control are
The stanford entry in the urban challenge. Journal of
the most important factors to consider into account. As an
field Robotics, 25(9), 569-597.
outcome, we examined decision-making and the safe
[8] Zita, A., Mohajerani, S., & Fabian, M. (2017, August).
handling of a vehicle while traveling in a traffic area in this
Application of formal verification to the lane change
essay. Without a requirement for human engagement, the
module of an autonomous vehicle. In 2017 13th IEEE
autonomous car will be able to decide, halt, begin to avoid
Conference on Automation Science and Engineering
obstacles, cross dividers, obey traffic signals, avoid
(CASE) (pp. 932-937). IEEE.
harming pedestrians, etc. Therefore thanks to the finite
[9] Acosta, M., Ivanov, V., & Malygin, S. (2019, March).
state machine model that is laid out in the current research.
On highly-skilled autonomous competition vehicles:
Depending on the lane-changing benefits associated with
An FSM for autonomous rallycross. In 2019 IEEE
autonomous vehicles as evaluated by an array of utility
International Conference on Mechatronics
functions, the decision-making tier decides the vehicles'
(ICM) (Vol. 1, pp. 556-561). IEEE.
lane-changing sequences. The control layer offers
[10] Liu, Q., Li, X., Yuan, S., & Li, Z. (2021, September).
particular instructions for shifting lanes and velocity
Decision-making technology for autonomous vehicles:
alterations for moving cars. The upsides and downsides of
Learning-based methods, applications and future
several ways of making decisions were investigated and
outlook. In 2021 IEEE International Intelligent
appropriate concerns were explored. To generate advanced
Transportation Systems Conference (ITSC) (pp. 30-
choice-making techniques, relevant study on automotive
37). IEEE.
datasets and simulation frameworks was also reviewed.
[11] 6}}} Wang, P., Gao, S., Li, L., Cheng, S., & Zhao, H.
Finally, several kinds of difficulties with driving that
(2020). Research on driving behavior decision making
mimic a human being have been identified in combination
system of autonomous driving vehicle based on
with some relevant study paths. We have confidence that
benefit evaluation model. Archives of transport, 53.
the partnership between universities and EV industries will
[12] 7}}} Kurt, A., Yester, J. L., Mochizuki, Y., & Özgüner,
promote the advancement of autonomous vehicle
Ü. (2010, September). Hybrid-state driver/vehicle
technology.
modelling, estimation and prediction. In 13th
International IEEE Conference on Intelligent
References
Transportation Systems (pp. 806-811). IEEE.
[1] Abdolahi, Y., Yousefi, S., & Tavoosi, J. (2023). A New [13] J. Albert Mayan, S.V. Manikanthan, Azham Hussain,
Self-Tuning Nonlinear Model Predictive Controller for S. Nithyaselvakumari, & A. Vinnarasi. (2023).
Autonomous Vehicles. Complexity, 2023. Clustering Technique for Mobile Edge Computing To
[2] Liu, H., Wang, Y., & Wang, K. (2023). Adaptive Fault- Detect Clumps in Transportation-Related
Tolerate Lateral Control for Autonomous Electric Problems. International Journal of Interactive Mobile
Vehicles with Unknown Parameters and Actuator Technologies (iJIM), 17(04), pp. 47–63.
Faults. Mathematical Problems in Engineering, 2023. https://doi.org/10.3991/ijim.v17i04.37801
[3] Wang, X., Qi, X., Wang, P., & Yang, J. (2021). [14] Zhang, T., Zhan, J., Shi, J., Xin, J., & Zheng, N.
Decision making framework for autonomous vehicles (2023). Human-Like Decision-Making of Autonomous
driving behavior in complex scenarios via hierarchical Vehicles in Dynamic Traffic Scenarios. IEEE/CAA
state machine. Autonomous Intelligent Systems, 1, 1- Journal of Automatica Sinica, 10(10), 1905-1917.
12. [15] Olsson, M. (2016). Behavior trees for decision-making
[4] Palatti, J., Aksjonov, A., Alcan, G., & Kyrki, V. (2021, in autonomous driving.
September). Planning for safe abortable overtaking [16] Kurt, A., & Özgüner, Ü. (2013). Hierarchical finite
maneuvers in autonomous driving. In 2021 IEEE state machines for autonomous mobile
International Intelligent Transportation Systems systems. Control Engineering Practice, 21(2), 184-
Conference (ITSC) (pp. 508-514). IEEE. 194.
[5] Li, Y., Guan, H., Jia, X., & Duan, C. (2023). Decision- [17] Li, H., Huang, J., Cao, Z., Yang, D., & Zhong, Z.
Making Model for Dynamic Scenario Vehicles in (2023). Stochastic pedestrian avoidance for
Autonomous Driving Simulations. Applied autonomous vehicles using hybrid reinforcement
Sciences, 13(14), 8515. learning. Frontiers of Information Technology &
[6] Do, Q. H., Tehrani, H., Mita, S., Egawa, M., Muto, K., Electronic Engineering, 24(1), 131-140.
& Yoneda, K. (2017). Human drivers based active-

International Journal of Intelligent Systems and Applications in Engineering IJISAE, 202x, x(x), xx–xx | 409
[18] Fu, S., & Fu, H. (2023). Modeling and TOPSIS-GRA
Algorithm for Autonomous Driving Decision-Making
Under 5G-V2X Infrastructure. CMC-COMPUTERS
MATERIALS & CONTINUA, 75(1), 1051-1071.
[19] Thompson, A., Walker, A., Fernández, C., González,
J., & Perez, A. Enhancing Engineering Decision
Making with Machine Learning Algorithms. Kuwait
Journal of Machine Learning, 1(2). Retrieved from
http://kuwaitjournals.com/index.php/kjml/articl
e/view/127
[20] Banerjee, S. ., & Mondal, A. C. . (2023). An
Intelligent Approach to Reducing Plant Disease and
Enhancing Productivity Using Machine Learning.
International Journal on Recent and Innovation Trends
in Computing and Communication, 11(3), 250–262.
https://doi.org/10.17762/ijritcc.v11i3.6344

International Journal of Intelligent Systems and Applications in Engineering IJISAE, 2024, 12(2s), 397–410 | 410

You might also like