1. Introduction
Theories for autonomous vehicle control have been under intensive development during the past few years. Smart future highways are supposed to be compatible with autonomous vehicles, which can communicate with each other and obtain preview information about the road and traffic conditions [
1,
2,
3,
4]. Although it would be ideal to establish a continuous connection between vehicles, for safety issues when dealing with unforeseen problems and also due to difficulties in the transition to such a fully automated environment, there is a need for the development of robust autonomous driving theories in which the virtual driver can adapt itself to sudden changes in the surrounding objects’ locations. Many different path-planning strategies have been introduced to facilitate automation of the driving task [
5,
6,
7,
8,
9,
10]. Among the path-planning studies, those that consider obstacle-avoidance scenarios are the most generic ones with the capacity to be applied to many driving conditions. An obstacle might be defined as another vehicle or any object located in the desired path of motion of the vehicle. Path planning is usually regarded as solving an optimization problem with the objective of optimizing certain measures, such as energy efficiency, passenger comfort, and safety. The path-planning problem was originally introduced as part of robotics applications, especially in the field of mobile robot control [
11,
12].
For vehicles moving at highway speed, a proper target path to ensure safe travel is one taking into account the limited available tire friction for directional vehicle control, as well as achieving smooth directional changes to make the target path physically feasible. Also, the information on the desired path must include a target velocity profile to be fed into an autonomous vehicle control algorithm. Gonzalez et al. [
11] categorized the path-planning algorithms into four main groups: (
i) graph search-based planners, (
ii) sampling-based planners, (
iii) interpolating curves, (
iv) numerical optimization methods. In a graph-based search algorithm, the posture of the vehicle may be translated into a discrete grid and the objective of path planning is to find a feasible sequence of cells in the grid to be followed by the vehicle. Such a problem requires a smoothening procedure to make the final desired path of motion feasible and non-jerky for the vehicle [
13].
In more recent studies, Li et al. [
14] combined an improved RRT* with an enhanced Artificial Potential Field method to achieve faster, smoother, and more reliable path planning on curved roads. Their fusion algorithm reduced random sampling and avoided local minima, improving efficiency and obstacle-avoidance performance.
Wang et al. [
15] proposed the APG-RRT algorithm, which uses adaptive guide paths and obstacle expansion to enhance sampling efficiency and safety in confined environments. Simulations and real-vehicle tests showed smoother, more efficient paths than standard RRT and RRT*. Yu et al. [
16] introduced the Real-Time Double-Tree RRT (RDT-RRT) framework, which enhances the classical RRT by integrating Hermite interpolation and CNN-based dynamic collision detection for smoother, real-time trajectory generation. The method significantly improves convergence speed and path smoothness while maintaining computational efficiency, achieving robust performance in both static and dynamic obstacle environments.
Lin et al. [
17] proposed an enhanced A* algorithm incorporating an improved heuristic function and curvature-based smoothing to generate more accurate and dynamically feasible paths for autonomous vehicles. The approach reduces computation time and eliminates unnecessary waypoints, achieving smoother and safer trajectories in complex road environments.
Zohaib et al. [
18] proposed the intelligent follow-the-gap method (IFGM), an improved obstacle-avoidance algorithm capable of handling complex U- and H-shaped environments. By integrating features of the intelligent bug algorithm and the follow-the-gap method, IFGM enables smoother and shorter trajectories while avoiding local minima and ensuring fast convergence. This approach highlights the ongoing development of geometry-aware path-planning methods that enhance safety and efficiency in autonomous navigation. Zohaib et al. [
19] presented the intelligent bug algorithm (IBA), a navigation method for mobile robots that enhances the traditional bug algorithm by incorporating dynamic sensing and adaptive decision-making to efficiently handle complex obstacle environments. The algorithm demonstrated faster convergence, smoother trajectories, and reduced travel distance compared to classical approaches, confirming its potential for real-time autonomous navigation applications.
Although, as stated above, several perspectives have been treated in path planning for autonomous vehicles, there has not been much focus on minimization of traffic disruption during emergency obstacle-avoidance maneuvers. This condition is particularly significant when an obstacle is located on a highway with a large number of vehicles traveling at relatively high speeds. To investigate such a condition seeking feasible solutions for the desired path of motion, we establish an analogy between the motion of the vehicles and that of fluid particles. The inherent smoothness in the motion of a fluid and the minimized disturbance along the way motivates us to establish such an analogy and to investigate how adoptable it is for vehicle path-planning and path-tracking applications. Also, in this way the minimum information is required from downstream for fluid particles to maneuver around an obstacle.
Going through the literature on insights taken from the fluid dynamics discipline and applied to that of artificial flows such as traffic, one comes upon distinct approaches. Jabari et al. [
20], as well as Bonzani and Mussone [
21], present stochastic approaches towards the flow of traffic, while Hoogendoorn et al. [
22] propose that the pedestrian flow falls into the category and criteria of continuum media and present a set of analytical modeling schemes for a distinct and wide spectrum of microscopic to macroscopic phenomena, as well as a theory on the local route choice modeling [
23,
24,
25,
26].
Bellomo et al. [
27] present the common chain between driver models and overall traffic flow phenomena as a hydrodynamic case, whereas a more flow-oriented study of the specific case of freeway traffic flow is addressed by [
28]. Furthermore, Cho et al. [
29] present a self-consistent multi-layer model for traffic flow.
On obstacle-based matters such as incidents inside the flow of traffic, Baykal-Gürsoy et al. [
30] provide a fluid flow modeling approach. Marques and Méndez [
31] compare two kinetic theories of vehicular traffic flow, namely, Chapman–Enskog expansion and Grad’s moment methods. And the discrete velocity kinetic model is addressed by [
32].
Shi et al. [
33] discuss the feasibility of defining such kinetic theory parameters as pressure, in the framework of the lattice-Boltzmann model, and reach a working definition of traffic equilibrium pressure, which is arguably the fundamental requirement in implementing fluid flow governing equations in models dealing with vehicular traffic, such as the current research, whereas Ma and Cui [
34] tackle traffic density distribution based on finite element principles. Li et al. [
35], however, introduce the parameter traffic viscosity as a function and by-product of a speed variation-based model.
Developing the case to include an urban transportation network and applying traffic flow on its roads has been simulated by Ugnenko et al. [
36]. And extending the premise to a long and crowded route, Lighthill and Whitham [
37] establish the theory of kinematic waves for the flow of traffic. The propagation of shockwaves is introduced for the case of highway traffic in [
38]. Payne [
39] models traffic flow and presents insights towards its control. De Angelis [
40] considers the phenomena of a higher-complexity case and presents a nonlinear model for traffic flow. And finally, Zhang [
41], considering the sub-phenomena as a viscous vehicular flow, tackles the driver’s memory in analytical modeling of the traffic.
Finally, it should be noted that approaching vehicular traffic flow, with its underlying principles, can be tackled from the viewpoint of complex high-degree-of-freedom systems with tendencies towards self-organization and pattern formation. These systems are traceable in the literature, among which the works of [
42,
43,
44] are worthy of mention.
In this paper, we concentrate on the path-planning problem for obstacle-avoidance maneuvers, in contrast to full domain traffic modeling, by creating an analogy between traffic flow and the dynamics of supersonic, compressible flow. By doing so, we seek a physically meaningful solution with the minimal upstream information requirement, which is equivalent to minimizing the disturbed traffic flow ahead of unforeseen obstacles for a certain vehicle during the maneuver using a computationally inexpensive approach with real-time applicability benefits. The proposed desired path is then verified to be consistent with vehicle dynamics through simulations using an autonomous driving algorithm.
The present manuscript is organized as follows:
Section 2 presents the methodological grounds for the trajectory planning algorithm. First, the analogous nature of vehicular traffic and supersonic compressible fluid flow are discussed. Then the principles and governing equations of the relevant fluid flow and its corresponding shockwave/expansion-fan systems are presented. Next, the case under study is presented, followed by the steps in solving the algorithm for the flow field and therefore the proposed trajectories for collision avoidance. Path planning based on the limitations of the dynamics and handling of the vehicle in following the target trajectory is also presented at a fundamental level, to be used later in the manuscript analyses.
Section 3 presents insights into vehicle dynamics and control, and afterwards, the results of the study are reported and discussed in
Section 4.
2. Methodology
There are inevitable analogies between a cluster of vehicles driving separately on a road (i.e., traffic flow), and a certain regime of fluid flows, namely, compressible flow. Considering two consecutive vehicles driving at a given distance, and with equal velocities, the distance between them will remain constant at all times, including if they embark on a deceleration, for instance, a sudden brake due to an unforeseen obstacle ahead on the road, at the same time. However, in reality, the second vehicle decelerates with a slight delay, due to the time required for the driver to obtain and process the information regarding the obstacle and the supposed alteration in the velocity due to latency in the brake system mechanism. This is the reason for the increase in the spatial concentration of vehicles whenever a deceleration is needed, such as when reaching a construction region on the road with a lower local speed limitation, and a decrease in the concentration when an acceleration occurs such as after the light turns green and all cars start, with approximately similar acceleration magnitudes but at slightly delayed (incremented) starting times.
Now, for the case of the fluid flow, consider the flow of water in a riverbed. By putting a stone of considerable size in the middle of it, the “information” regarding the existence of such an obstacle, leading a change in the geometry and dynamics of the fluid flow, emerges in the only form readable for flow—that is, pressure wave fronts—and travels with a state characteristic property of the medium, i.e., the speed of sound. Given the conventional intuition one has of water flow in a shallow river, the upstream bulk of the fluid, provided with such information on the obstacles and geometry of the road ahead, adjust themselves to undergo the path-lines with such dynamics corresponding to the conditions downstream. This is the case for all upstream particles knowing what the condition in front of them is—that is, having received the so-called information and acted upon it simultaneously. Hence, the concentration of the flow particles remains untouched, which corresponds to an incompressible flow. However, by increasing the flow velocity to one comparable with that of the information transfer established above, the bulk of the flow has a reduced reaction time which leads to an accumulation of particles in the vicinity of the forefront of the obstacle; this is called a shockwave in fluid dynamics terminology. The unaware bulk of the flow collides with the obstacle with its non-adjusted velocity, as if there is no obstacle. The density increases and velocity consequently decreases—hence the term compressible flow. Analog to the latter case, the comparable speed of the traffic with the reflexional speed of the drivers is the cause of the change in the distance between cars, although the acceleration rate is considered identical in all of them.
Given the above analogy, one could argue that a whole set of phenomenological and analytical descriptions of the kinematic behavior of traffic flow could be modeled through analog derivations of the compressible flow governing equations. Apart from the low computational burden of such an analysis, which makes it attractive for real-time implementation, the present methodology follows the naturally smooth fluid dynamics behavior. Upon successful establishment of the analogy, the resulting target path inherently ensures minimum disturbance in the traffic flow as well as minimum velocity change during the maneuver pertaining to optimal energy consumption. The methodology also demands minimal data from the downstream and as is described in the following sections, the resulting target paths for different vehicles do not automatically intersect with each other since they are an inter-consistent set of flow streamlines. Therefore, the problem needs to be solved only once for each obstacle on the road, i.e., a global solution.
Figure 1 summarizes the overall blocks of the action sequences starting with the emergence of the obstacle up to the final trajectories proposed to the vehicle control system and modified based on its dynamic limitations to follow discontinuities in the trajectories and the corresponding velocity magnitudes assigned to each point on them. The result is then directly communicated to the actuators in charge of handling the assigned maneuver for collision avoidance.
2.1. Governing Equations in Analogy to Fluid Flow
2.1.1. Compressibility
As a non-dimensional measure for categorizing flows in terms of the comparability of the speed of sound to their velocities, the Mach number is introduced in aerodynamics as
Needless to say, M ranges from zero corresponding the theoretical extreme, and non-existent in the case of incompressible flows, to infinity as the flow velocity grows, with the critical point of M = 1 dividing the spectrum into sub- and supersonic flows.
The speed of sound is, as mentioned above, an indicator of the local compressibility of the fluid in response to the induced pressure gradients.
where for the case of traffic flow, one could define the density or the longitudinal concentration of the vehicles in one lane as the reverse of characteristic length scale or the distance between two vehicles.
In the present research, an analog measure has been derived for the goal of quantifying the compressibility of traffic flow. Considering the same defining principle as that of the Mach number, in the case of traffic flow, the ratio between the flow velocity and the reaction speed of the driver/vehicle is to be considered. Reaction speed, although commonly used in conversational language, is not an accurate core parameter for the delay effect, similar to “reflex time”; since in reality there is no distance in the driver’s movement, by the act of decision-making a velocity can be defined. In order to keep the non-dimensionalized nature of the corresponding Mach number for traffic (hereafter denoted
MT), the reverse ratio of the above-mentioned time, i.e., the transfer time of the data from downstream of the flow in the fluid mechanics sense, to the characteristic time-scale of the problem at hand is used:
where
MT can be defined locally for the vehicles, as the Mach number can be for flow fluid bulks; however, the characteristic time is obtained using the distance between the two consecutive vehicles, which in case of a sudden traffic velocity change will be the distance between the vehicle under study and the obstacle ahead on the road and the instantaneous velocity of the vehicle.
The corresponding downstream to upstream data transfer time can be considered as the sum of distinct terms.
where the first term is the delay, by which the driver starts reacting to the upcoming obstacle, and the second term is the time required to decelerate with the maximum braking acceleration until the vehicle fully stops. Driven by the kinetics of the braking deceleration, the maximum acceleration would be defined as follows:
Hence, the ultimate definition of the traffic Mach number is derived:
This statement for the traffic flow Mach number is influenced under environmental conditions. For instance, low-visibility conditions will result in increasing the driver delay time, whereas a wet road will decrease the maximum braking acceleration and therefore increase the deceleration time. It is also worth mentioning that based on common safety considerations, the following statement could be advised as a rule of thumb in many standards for human drivers.
In a practical control framework, the traffic Mach number () may be computed online using real-time sensor data. The parameters v and L are obtained from the vehicle’s speed sensor and range-detection system (e.g., radar or LiDAR), while τ, µ, and are known system or environmental parameters. Hence, can be updated continuously to characterize the instantaneous flow regime of the traffic and determine the appropriate trajectory family (shockwave or expansion-fan configuration) for collision avoidance. This capability enables adaptive path-planning behavior in real-time autonomous driving implementations.
In the present work, we consider the reaction delays of both a human driver and an autonomously driven vehicle to compare the resulting paths of motion and to verify how the proposed analogy sits in line with our common-sense expectations regarding a quick versus a slow driver in terms of reaction time. It also shows how the selection of a reaction delay value affects the solution of the path-generation algorithm as well as the path-tracking performance.
As far as this study is concerned, a constant time factor for the driver’s reaction is sufficient to formulate the non-dimensional velocity expression and establish the analogy. The nature of the problem here requires us to focus on straight driving conditions with the driver reaction being defined as full braking. In such a case, normally, there is no preview effect to be considered, i.e., the driver does not receive any information regarding the future of the road/traffic conditions.
A realistic model of the braking action, including both the driver’s reaction delay and the latency in the brake system, which may be simplified to a first-order transfer function with a time constant
as
that starts with a delay
from the detection of the obstacle (
Figure 2).
The human driver’s reaction dynamics have been studied for many years and different modeling approaches have been introduced in the literature [
45,
46]. The delay
incorporates the decision and reaction time of the driver which is assumed to be equal to
for an average human driver [
47].
On the other hand, for an autonomously driven vehicle, which is the main area of application of the present methodology, a reaction delay includes the time it takes for the system to complete one cycle of environment detection through measurements, path planning (decision-making), and sending control signals to the vehicle actuators, where the path-planning phase is the bottleneck of the process in terms of calculation time. Since the use of autonomous vehicles has not been widely industrialized yet, it is not easy to obtain a benchmark for this reaction delay, but advanced methods in the literature have achieved path-planning solutions in times as short as 20 milliseconds in the worst case [
48]. For the sake of making a reasonably safe reaction delay assumption for autonomously driven vehicles, we may consider a safety factor of 10 to account for different computing powers and environmental factors, which may extend the above reaction time. Thus, a reaction time of
is assumed for the average autonomous vehicle.
The magnitude of
depends on the brake system dynamics which may be approximated as
considering the brake fluid pressure generation, application of normal force on the brake rotors, and actual brake torque generation [
49], which is assumed to be proportional to the brake force and, consequently, the acceleration of the vehicle.
Note that the area under the exponential curve in
Figure 2 is equivalent to that of a step input curve starting at time
as shown in the plot. Also, it is worth mentioning that the reaction time
shown in the figure is for a human driver and would be around 5 times less for the case of an autonomous vehicle and the whole plot would shift to the left.
Thus, assuming proportionality between brake torque and vehicle acceleration, we may consider an equivalent full braking action occurring in in the case of a human driver and in the case of an autonomously driven vehicle after obstacle detection. Hence, there exists a time-dimensioned parameter inherent to the driver/vehicle system which enables us to establish the analogy. It is reasonable to use the above as in the expression of in (7) to correlate the physical phenomena of vehicle braking to the compression of fluid particles.
Although it is possible to consider subsonic traffic flows, most of them are compressible. This is perfectly intuitive, as the incompressibility of a subsonic vehicular flow demands a constant distance between two vehicles following each other on a single lane. Considering all dynamic conditions of the vehicles to be identical, this is only realizable through a response delay of zero duration as the second vehicle mimics the dynamics of the front vehicle. Otherwise, there will be a time/location delay in the behavior of the second vehicle, which is to be witnessed in most accelerations and decelerations seen in the traffic flow. Even in trivial maneuvers, such as starting to accelerate after being stationary at the traffic light or coming to a full stop while moving in a queue when the light turns red again, changes in the distance between consecutive vehicles are observable—hence the notion of compressibility and resemblance to the fluid flow field considered in this manuscript.
Tracing the underlying logic behind a “walking-pace” traffic zone in urban areas, the traffic Mach number proposed in this study has also been designed and checked to fulfill the subsonic conditions in exact compliance with the walking-pace velocity range (e.g., below 7–10 km/h in Germany). This is the velocity—Mach number flow regime—in which the traffic flow is incompressible; this means that the accelerations of the vehicles in front of the ego vehicle are mimicked with enough hesitancy and that the distance between said vehicle and the one coming to a full stop, or a child running suddenly into the road, could be kept constant—hence the premise of incompressibility.
In summary, all practically meaningful vehicular flows in streets and highways are already compressible, as the distances (and thereby the density of the distribution of the vehicles) are not constant and change with a time delay in response to the changes exerted ahead on the road. And their corresponding Mach numbers are also calculated to be above unity, which implies supersonic flow fields.
2.1.2. Normal Shockwave
The most basic form of supersonic flow (
M > 1) interaction with blunt body obstacles is the formation of a normal shockwave. For the primary case of frictionless 1D flow with no added heat, the fundamental conservation equations of mass, momentum, and energy are written as follows:
The equation of momentum will take the following additional term in case of surface friction:
In contrast, the added heat is added to the energy equation in cases where the adiabatic assumption does not hold.
As the shockwave is an infinitesimally thin layer of less than 10 molecular collisions, a sudden jump in flow and thermodynamic properties is witnessed from a macroscopic point of view. Using the starting point of these fundamental equations, the state of flow can be obtained by the derived relations. Equations (14)–(18) present the relative changes in Mach number, density, pressure, and temperature, respectively, when the flow with properties denoted by subscript 1 crosses the corresponding normal shockwave dictated by the upstream flow properties.
It can be shown that M2 will be smaller than M1, corresponding to the subsonic flow regime. Furthermore, the flow velocity drops, leading to an increase in pressure, density, and temperature, consequently.
The gas dynamics parameter of the Poisson constant (
γ), which is also known as the ratio of specific heats, is defined by (19) in its conventional form, as well as the kinetic theoretical definition given by (20).
where the parameter
f is equal to 3 for monatomic gases and 5 for diatomic ones, leading to values of 5/3 = 1.66 and 7/5 = 1.4 for the Poisson constant, respectively.
2.1.3. Oblique Shockwave
Should the supersonic flow undergo a slight directional alteration due to a ramp-formed obstacle ahead in its path, a similar phenomenon known as an oblique shockwave will occur, adjusting the flow direction to that of the ramp. Equation (21) gives the global dependency of the shock angle on the ramp angle and upstream Mach number.
As the flow crosses through the oblique shockwave, only the normal components of the flow sense the existence of the shock and alter their quantities in response to it. Given this condition, once the normal components of the velocity and their corresponding Mach number have been calculated through the equation
the same procedure can be performed as for the normal shockwave, in order to obtain the properties of the flow behind the shock. These are given in Equations (23)–(27).
It is worth mentioning that as a consequence of the projection procedure, the obtained velocities are also the components normal to the oblique shockwave and should be converted back to the whole velocity vector, as well as its corresponding Mach number.
Considering the derived equation, the Mach number after an oblique shockwave, although reducing towards a value of one, remains above unity—still a supersonic regime.
2.1.4. Reflection from a Solid Boundary
As the first phenomenon relevant to the geometry of the case in the current research, one should pay attention to the reflection of a shockwave landing on a solid boundary. Among many conditions, this may happen in an internal flow case, where the oblique shockwave formed due to a ramp on one side of the channel reaches the other boundary of the flow. As the component of the velocity normal to the shockwave has been reduced in magnitude, the flow direction is turned towards the shockwave. This causes the flow to consider the formerly parallel second side of the domain, as another ramp, which will re-orient the flow due to its rigidity. Therefore, another oblique shockwave will be formed in the landing point of the former shock on the secondary side of the channel (
Figure 3a). Although these two shockwaves are basically individual, this situation is called reflection of the shockwave in the literature due to the dependency of the second shock on the first one and the inevitable similarity of the geometry of this phenomenon to that of optical reflection.
2.1.5. Intersection of Shocks of Opposite Families
In another case relevant to this research, two shockwaves of opposite families, i.e., initially originated from different obstacles, may occupy a single point in space or, as is usually said, collide with each other. Regardless of the situation of the two shocks, the flow before and after each of them, and the point at which they have collided, the flow after that point will act as a monodirectional uniform flow with a certain direction obtained through the following statement. The flow field after each of the primary shockwaves should undergo a new shockwave in order to turn the flow direction towards that of the mentioned single outflow (slip line), such that the pressure obtained by each of the conversions to this new flow direction should be identical, leading to a stable slip line fixed as a function of the geometry (
Figure 3b).
2.1.6. Prandtl–Meyer Expansion Fans
As the opposite condition against compression shockwaves, a supersonic flow can undergo an expansion fan; this is historically known as the Prandtl–Meyer expansion fan when the flow turns around a convex corner or curved surface. The expansion waves (i.e., the fan) are composed of an infinite number of Mach waves, starting from the Mach line corresponding to the upstream Mach number, until the last one, namely, the Mach line corresponding to the downstream Mach number regarding the position of the corner.
In contrast to the shock relations, the final static properties after the expansion fan are not only functions of the upstream Mach number but also of the downstream.
The downstream Mach number is dependent on the upstream Mach number and the turn angle.
where
υ(M) is the Prandtl–Meyer function, also known as the Prandtl–Meyer angle, and is the angle through which a flow with a free stream Mach number equal to unity should turn over a curve or a sharp corner to reach the desired Mach number (
M), noted in the argument of the
υ(M) function. This could also mathematically be proven as
By having the Mach number on the initial surface (i.e., upstream Mach number), the angle υ(M1) could be calculated using (36), and by substituting the value for the corner angle (θ), the Prandtl–Meyer angle for the second surface, υ(M2), could be obtained. And finally, by a reverse procedure of the above equations, the downstream Mach number, M2, is calculated.
2.2. The Case
As a summary of the above-discussed analogous behavior of the vehicular traffic and supersonic compressible fluid flows in this manuscript—and as the origin and basis of this research—we argue for two main aspects of the vehicular traffic flow:
- (i)
The longitudinal distance between cars driving in a lane, as well as the lateral distance in a platoon of vehicles, is extremely variable. This even happens in extremely trivial maneuvers, such as coming to a full stop or starting to move from a full stop. There is an inherent time-scale associated with the velocity variations, which is rooted in driver (either human or autonomous) delay, and the centralized control systems, including the actuators, etc. This time-scale is argued in the paper to be a major reason behind the emergence of this distance (longitudinal) variation. Given this distance variation, the flow is considered kinematically compressible.
- (ii)
Following the observations, the higher the relative velocities (i.e., shorter flow time-scales), the higher the relative importance of the above-mentioned time-scale, and therefore, similar to supersonic fluid flow where the information regarding the presence/emergence of an obstacle is back-propagated more slowly than the velocity at which the upstream constituents of the flow field are moving towards it, this disparity of the time-scales lead to the above-mentioned compressibility. It is argued that below a certain velocity the traffic flow can be approximated as incompressible. We discuss and show that this is the velocity at which the retardation time-scale is negligible, compared to the flow time-scale, and therefore vehicles moving in a line can come to a full stop with approximated incompressibility, i.e., stopping behind a vehicle coming to a full stop, without reducing the distance to it. This is exactly the velocity limit used in urban traffic rules for driving in pedestrian zones, where sudden obstacles need to be avoided incompressibly, e.g., children running in front of a moving vehicle, where an immediate decision (with no delay and a zero-retardation time-scale) should be made, commanded to the actuators through the control loop (at both human and machine levels). Hence the notion of a supersonic regime.
Table 1 summarizes the similarities and differences between the vehicular traffic and supersonic compressible fluid flows. Both cases show compressibility, which is the core attribute needed in the present research. Neither of the cases have significant viscous dissipation effects in the flow field, and they deviate in the macroscopic manifestations of the continuous trajectory. The flow field passing through a shockwave undergoes an abrupt (yet on the molecular scale, continuous) change in direction and velocity magnitude, yet a modification on such trajectories should be performed based on the control limitations of the vehicle to make the maneuver achievable for a real vehicle.
The case being considered in this work is composed of two vehicles moving separately down the road. They are not necessarily in the same lane, nor on the same path, means they have zero relative lateral displacement, as the compressible flow fundamentals, and hence the methodology being used in analogy to that, fail to explain the very streamline going directly through the stagnation point of the body. There is a singularity in the solution, where the gas dynamics solutions do not hold. Pragmatically, this makes the method suggested here no less applicable, since this absolute zero lateral displacement actually never happens in the real case of vehicles driving on a road, and even if it is considered possible to happen, just a simple random number could count as a coin-flip for choosing to take the left solution or the right one at the stagnation point. It is important to note that since the lateral displacement definition in case of a fluid particle refers to the distance between a point mass and the obstacle, we need to define a safety margin to account for the width of the approaching vehicle as well as an additional safety space between the vehicle and the obstacle. This safety margin envelope is shown in
Figure 4 and it may be easily accounted for by adding
to the width of the obstacle to shift the trajectories further away from the obstacle.
The scenario is developed further as the first vehicle stops instantaneously and is translated as a stationary obstacle for the second one. In order to morph the rather blunt body geometry of an actual vehicle, and turn it to a gas-dynamically valid geometry, namely a wedge, the following calculation could be utilized for the wedge half angle. Starting at this point, the actual vehicle is not of interest to us, as the collision is to be avoided with respect to the double wedge as the mathematical domain obstacle of the case.
It is correct that higher Mach numbers lead to a smaller obstacle (ramp) angle. However, since the lateral displacement in all cases is roughly equal to the width of the lane, and thereby constant, this smaller angle only translates to an earlier (in time and space) start of the obstacle-bypassing maneuver, which is even advantageous from the safety point of view. This is also observed in the intuitive behavior of human drivers, as a vehicle aiming to overtake a slower moving vehicle/obstacle starts the overtaking with a higher distance from said vehicle in cases where the relative velocity is higher.
This could also be explained in terms of the alterations that the wedge angle formed around the obstacle undergoes due to the changes in the kinematics of the case, e.g., the velocity of the vehicle aiming to avoid collision. However, since the lateral displacement required to stay just far enough from the obstacle to avoid colliding with it by a safety margin is constant, the higher the velocity and thereby the higher the Mach number, the lower the half-wedge angle, which with constant lateral displacement manifests as an earlier start of the bypass maneuver.
At this point in time, based on the above-mentioned lateral displacement (
WD), the second car falls into one of the four zones (
Figure 4) characterized briefly as follows, describing the conditions the vehicle undergoes in each zone.
Zone I—Passing through the first shockwave (SW1) propagated at the leading edge of the wedge, aligning with the upper left-hand side of the wedge, reaching the top corner, going through a full set of Prandtl–Meyer expansion fans (EF1 to EF2), turning to flow parallel to the upper right-hand side of the backside of the double wedge, going through another shockwave (SW3) introduced to the flow field at the trailing edge of the geometry, and being dictated to flow parallel to the main road axis downstream.
Zone II—The same as Zone I until the expansion fan, but facing the reflection of the first shockwave (SW2) propagated off the road boundaries, as discussed in earlier sections, and then undergoing a second shockwave (SW4), designed for alignment to the main road axis.
Zone III—The same as Zones I and II, until entering the expansion fan, but facing the reflection shockwave (SW2) before going through the entire expansion region, and then facing the last aligning shockwave (SW4).
Zone IV—Simply going through SW1 and its reflection off the upper boundary (SW2), which is the minimum required system for re-aligning to the main road axis.
It is noteworthy that the very same configuration is to be observed on the right-hand side of the road, with respect to the travel direction, given the lateral displacement falls into the negative values. And the fact that the obstacle vehicle is not located centered to the road does not change the shockwave and expansion system and zonings drastically; however, the width of the zones is subject to alterations.
Another mentionable event happens at the conjunction of SW2, SW3, and SW4. In a more physically accurate case, a fourth shockwave should happen as a result of the interactions of two shocks of opposite families (SW2 and SW3), and the slip line between the flow regions leaving these two shockwaves is not supposedly horizontal. Consequently, this united system of flow will reflect off one of the boundary surfaces, with its direction being non-horizontal, and the reflections will carry on undergoing interactions with the residual expansion fans and shockwaves of the upper field until the intensity of the shocks approaches zero, as well as their influence on the flow, leaving the downstream flow horizontal with no further residuum of the submerged body. However, as in the current research the main goal is not to follow the flow field precisely downstream, but rather to establish an analogy between the flow and develop a set of trajectories for the vehicles to better maneuver around the sudden obstacle, at the triple point of the conjunction of the mentioned shockwaves, a horizontal outlet flow has been dictated in the case in order to accelerate the return to normal operation after passing by the obstacle, and the shock system has been manipulated in such a way as to provide this demanded result.
Finally, it is to be addressed that the compressible fluid flow analogy tackles the collision avoidance problem with the underlying fundamentals of parabolic equations of such flows. The downstream disturbance does not propagate in the upstream region until it is physically urgent to change path along modified trajectories to avoid the collision. This manifests itself as the least amount of pre-awareness the autonomous computational center must take into consideration to come up with measures regarding collision avoidance. In other words, paths are remained unchanged until the very last point, both in temporal and spatial terms, before they first need to make a bypass around the obstacle. This is of great importance in terms of energy loss, traffic control, and maintenance minimization of the related sub-systems in acceleration and deceleration maneuvers as well as trajectory alterations.
It is of note that the implied notion of “minimum disturbance to traffic flow” is not related to the simulation level of the method, but the inherent nature of shockwave systems. In a supersonic flow field, fluid elements have higher velocities than the velocity at which the pressure waves (i.e., the mechanism through which the information regarding the presence of obstacles and field boundaries is propagated) travel. In this setting, the obstacles are not sensed by the fluid particles for the longest distance (and thereby time) before the absolute necessity for them to redirect in order not to penetrate the obstacle. The shockwave (here one can imagine a detached bow-shock ahead of a supersonic blunt body) is formed as the locus of the points closest to the obstacle, and its local strength emerges so that the change in the flow regime for any fluid element passing through the shock gives it the properties needed to obtain pressure-information in time for the elements to bypass the obstacle. That is to say that the shockwave forms at the nearest possible location to the obstacle where flow deflection becomes unavoidable and changes the thermodynamic properties of the fluid elements passing through it such that they are capable of that deflection. The same condition is met on any point on an oblique shockwave—even for elements positioned at lateral distances from the obstacle leading to their placement at its downstream positions in the streamwise direction. Therefore, the method proposed in this manuscript for the suggested trajectories to bypass obstacles without colliding with them causes the lowest disturbance to the flow field, as the flow field stays supersonic (i.e., with its prior regime and velocity level) until the furthest point possible, before the absolute necessity for the vehicle to maneuver. In other words, that is to say that the shockwave system represents a natural solution of minimal disturbance, as it preserves the upstream flow conditions until the final point where a discontinuous adjustment becomes necessary to satisfy boundary constraints.
Another advantage of this method is that no matter which streamline the following vehicle is considered to be on, as all other vehicles undergo the same shockwave/expansion-fan system, none of the streamlines collide with one another, leading to the comprehensiveness and globality of the solution over the entire domain, as the solution has been obtained considering the limitations and boundaries of the fluid flow. The streamlines do not collide; thus, the entire traffic flow is safely calculated with no interaction of other trajectories. It is needless to mention that under the methodology established in this work, even vehicles with no direct contact with the obstacle wedge should take the suggested trajectory in order to avoid colliding with those laterally closer to the obstacle and maneuvering around it.
In addition to the already mentioned points, the compressible fluid flow analogy gives one the opportunity to return back to the initial conditions as soon as possible, temporally and spatially, after bypassing the constraints, which is another advantage leading to the positive properties listed in the above paragraph, such as energy consumption and maintenance necessity minimization. However, since the velocities in each sector of the trajectory are obtained by the compressible flow premises, keeping in mind that the nature of shockwaves is not isentropic and a certain amount of entropy is introduced to the flow by each interaction through a shockwave, an avoidable kinetic energy—and hence, velocity—loss is witnessed after the vehicles move past the obstacle and its corresponding shockwave system. Therefore, an acceleration is to be demanded for the traffic downstream to maintain the initial velocities. Also, in terms of the lateral position of the vehicles, the methodology induces a displacement with respect to the initial conditions; this will be treated using a back-to-lane approach after the obstacle is avoided. In other words, the vehicles will be guided back to their initial lane gradually after the completion of the avoidance maneuver.
2.3. Flow Field Solution Strategy
In order to obtain the suggested trajectories based on the supersonic, compressible flow analogy, the initial values should be given. The utmost parameters in this regard are the geometry of the vehicles, the geometry of the road, and the relative orientation of the vehicles.
In addition, global constants of the solution should also be known, which are the driver/vehicle response time constant, the coefficient of friction of the vehicle on the road, the acceleration of gravity, and so on. Each set of these values will result in a flow configuration, as discussed in detail in
Section 2.2 (see
Figure 5).
Then, the following algorithm solves the compressible flow field system based on the theoretical fundamentals covered in previous sections (see Algorithm 1). The solution will then result in the location of all critical nodes, as well as shockwaves and expansion-fan geometries and orientations. This is accompanied by the flow properties of each region color coded in
Figure 5, such as traffic Mach number, velocity magnitude, direction, and so forth.
| Algorithm 1. Block (pseudo-)algorithm for flow field analogous trajectories |
| 1 | Constants: , , , g |
| 2 | Inputs: , , , , , |
| 3 | Form ABC obstacle using Equation (37) |
| 4 | Solve Equation (7) for |
| 5 | Solve SW1 |
| 6 | Locate D |
| 7 | Solve SW2 |
| 8 | Solve Equation (29) for |
| 9 | Locate E |
| 10 | Locate I |
| 11 | If Zone IV = true, Then |
| 12 | Solve for Trajectory IV |
| 13 | Else |
| 14 | Solve Equation (36) for |
| 15 | Solve Equation (34) for |
| 16 | Solve Equation (36) for |
| 17 | Solve Equation (30) for |
| 18 | Locate F |
| 19 | Locate L |
| 20 | Locate J |
| 21 | If Zone III = true, Then |
| 22 | Solve for |
| 23 | |
| 24 | Solve Equation (34) for |
| 25 | Solve Equation (36) for |
| 26 | Solve for |
| 27 | Else |
| 28 | Solve SW3 |
| 29 | Locate G |
| 30 | Locate O |
| 31 | Solve for |
| 32 | Solve for Trajectory III |
| 33 | Locate N |
| 34 | Locate M |
| 35 | Locate K |
| 36 | If Zone I = true, Then |
| 37 | Solve for |
| 38 | Solve for Trajectory I |
| 39 | Else |
| 40 | Solve for |
| 41 | Solve for |
| 42 | Solve for Trajectory II |
| 43 | End |
| 44 | End |
| 45 | End |
Having all such information, the next step is to track the streamline that the bulk of the flow—later to be replaced with the vehicle—takes, which would fall into one of the four zones mentioned in
Section 2.4 (
Figure 6). Knowing this, the vehicle dynamics criteria could be imposed upon the trajectories to make them realistically followable routes for a real vehicle.
2.4. Path Planning
The methodology discussed above is used to develop a target path of motion for the ego vehicle to be driven on. The formulation of the problem using a fluid dynamics analogy also provides a desired velocity profile along the calculated stream, which is also a necessary component of a vehicle path-planning strategy. In other words, the proposed analogy acts as a single-objective optimization problem which describes the desired vehicle maneuver as one with
minimum disturbance to traffic flow. This qualitative objective is translated into a quantitative strategy based on the analogy provided here. Next, to convert the calculated fluid stream to a valid vehicle path, we may smoothen the edges by means of a transition curve which continuously alters the curvature from zero on a straight-line section to a maximum close to the intersection and then back to zero again to connect to the next straight-line section. The choice of the transition curve might be limited by several factors, but to avoid over-extending the scope of the present study, we use clothoids as the transition curves as they are known to provide smooth vehicle dynamics [
50]. The parametric equations of a clothoid are given by Fresnel integrals as follows [
51]:
where
is a scaling factor and
is the independent variable. The solutions to Fresnel integrals could be found using the numerically calculated lookup tables. An example of this is given in by Jazar [
51] as a clothoid design graph. An advantage of Equations (38) and (39) is that the tangent angle to the clothoid is readily obtained as follows [
51]:
Figure 6 shows how coordinate frames are fitted around the intersection of two adjacent straight lines. For continuity and smoothness of the resulting curve,
at the intersection of the clothoid and the bisector line must be half of the angle between two adjacent linear path sections. The procedure is outlined below as performed in this study:
Find the lengths of the linear sections of the road.
Around each intersection point, take the shorter line and define as half of the smaller length.
Fit coordinate frames 1 and 2 at distance with x-axes pointing towards the intersection point and y-axes pointing upwards.
Find the equation for the bisector line of the corner in coordinate frame 1.
To obtain a suitable value of , Equations (38) and (39) are intersected by the bisector in coordinate frame 1 for a range of values of and the corresponding is obtained as well as the corresponding . The closest solution to the required is picked.
The coordinates of the second half of the resulting clothoid curve in frame 2 are mirrored with respect to frame 1 due to symmetry.
The global coordinates of the clothoid curve are obtained by applying geometrical rotations and translations between frames 1 and 2 and the global coordinate frame XY. Note that transformation from frame 2 to the global frame requires a negation in x-values as well, due to the left-handedness of frame 2:
where
is the rotation matrix between coordinate frame
and the global frame
and is defined based on the rotation angle of each frame
with respect to the global axes, which is equal to the global slope angle of each linear section of the path (note that
is not shown in
Figure 7 to avoid graphical complication):
Figure 6.
Effect of the lateral location of the vehicle on the outcome trajectories. Sample trajectories within each of the zones have been illustrated as they pass through their corresponding shockwave/expansion-fan components on their route. (a) Zone IV, (b) Zone III, (c) Zone II, (d) Zone I.
Figure 6.
Effect of the lateral location of the vehicle on the outcome trajectories. Sample trajectories within each of the zones have been illustrated as they pass through their corresponding shockwave/expansion-fan components on their route. (a) Zone IV, (b) Zone III, (c) Zone II, (d) Zone I.
As mentioned earlier, the desired velocity profile of the calculated points is also part of the path-planning process. The fluid dynamics analogy provides us with an instantaneous velocity change when passing through shockwaves; at this stage, to prepare a suitable velocity profile according to vehicle dynamics, one may smoothen the target velocity profile along the sequence of points and make it continuous as a function of the longitudinal coordinate
by means of a weighted average of the target velocity in each section as follows:
where
is the target velocity dictated by the fluid dynamics analogy for each section of the road,
is the total number of sections considered (
is opted for here), and
is the resolution of the total waypoints considered in the
direction (
is opted for here).
is a design parameter which determines how sharply the velocity profile changes along
(
is opted for here).
It is important to note, as observed in
Figure 4, the final lateral position and the velocities of the streamlines along the road might be different from their initial values before facing the obstacle; this is due to the compressible flow assumption and the fact that we cannot continue considering reflected shockwaves infinitely far away from the obstacle. Thus, to reasonably obtain the streamlines in their initial conditions within a limited distance, we added a “return phase” of two extra linear sections to the end of the path during which both the lateral position and velocity go back to their initial values. Since the slope of the unfiltered path is discontinuous and sharp changes are treated afterwards, we may introduce the return phase with two linear sections: The first section connects the current position to the desired lateral position within 20% of the longitudinal distance required for complete obstacle avoidance, namely the horizontal distance between points
A and
H in
Figure 5. The second linear section is a horizontal line with an arbitrary length, assuming there is no other obstacle further down the road. The velocity during the first section of the return phase is equal to the previous stage, and the set velocity for the second section of the return phase is equal to the initial velocity before the obstacle.
Figure 8 shows the overall output of the path planner for a streamline with a condition similar to
Figure 6c. The figure also shows that the maximum number of sections
is a suitable choice as the depicted streamline enters a maximum of five regions as shown in
Figure 6c, and the last two sections constitute the return phase.
The sequence of points and the corresponding velocity profile calculated from the smoothed path above are then fed into a path-tracking algorithm as described in the following section.
Compared to conventional path-planning algorithms relying on iterative optimization, the proposed method benefits from the analytical and continuous nature of fluid flow solutions. The governing equations of compressible flow provide closed-form relations that depend mainly on the obstacle geometry and flow conditions, allowing direct calculation of feasible trajectories without iterative optimization or discretization. As a result, the computational effort is minimal and the resulting paths are globally smooth, non-intersecting, and dynamically feasible. These characteristics highlight the potential of the fluid dynamics analogy as a real-time, physics-based alternative for autonomous navigation in connected vehicle environments.
4. Results and Discussion
The current section first presents an overall insight into the spectrum of cases of interest to the scope of the concept issued in this paper. As the initial set of results concern the validity and physical soundness of the shockwave systems obtained through the calculation of MT, the configurations of said systems are to be discussed afterwards, in a fluid flow feasibility level analysis occurring under the overall vehicle dynamics premises. The more in-depth validity analyses of the results from the vehicle dynamics perspective are then presented following the aerodynamics level analyses.
The computational feasibility of the proposed framework is ensured at both the planning and control levels. The analytical equations used in the flow-field-based path planner are linear or quasi-linear, requiring only direct algebraic evaluations without iterative optimization. Consequently, the trajectory generation process is well suited for real-time implementation on embedded hardware.
In addition, the sliding-mode controller (SMC) employed for path tracking has been demonstrated in previous work [
58] to achieve stable real-time performance with negligible processing overhead in hardware-in-the-loop simulations, outperforming a fast MPC benchmark. This further supports the suitability of the proposed algorithm for real-time autonomous driving applications.
Table 4 (also see
Figure 13) summarizes the two categories of the cases considered in the current study, namely cases with
τ = 1.3 for human drivers and
τ = 0.5 for autonomous vehicles. As the higher value of
τ for the case of human drivers implies, the regulations in place must tend more towards increasing the safe distance between vehicles to compensate for the longer time duration expected from the driver to respond. Consequently, the distance
L for the human driver at the speed of 15 m/s is intentionally increased by about 10 m to calibrate the numerical process to ensure a compatible geometry is achieved at higher speed and distance. Note that this does not imply the safety distance being independent of velocity, but only serves as an adjustment parameter, and the final value of
L for each speed is obtained according to the compatibility of the geometry with the proposed physical analogy, shown in
Figure 14, as well as a more exhaustive presentation of all cases in
Figure A1 in
Appendix A.
Based on the range of values of interest for vehicle velocities and their relative positions, and also the concern of not even slightly approaching the nominal hypersonic flow regime (M = 5), the cases have been monitored to have MT values roughly no greater than 4. In other words, increasing L might theoretically change the value of MT; however, having such a higher than usual longitudinal distance to the vehicle ahead on the road could also translate itself into the condition where the following vehicle has not yet entered the vicinity of the obstacle, and no calculation of MT would be logical at that distance yet. This is only logical after a certain point in which the two vehicles are practically considered to be in each other’s inter-affecting neighboring domain. This also led us to bound the problem length scale by the higher limit of 35 m.
Considering the V < L < 2V rule of thumb for human-driven vehicles and slightly lower safety displacement for the case of more nimble autonomous driving systems, a range of V = [15–23 m/s] and L = [25–33 m] followed by another spectrum of V = [15–30 m/s] and L = [16–31 m] is studied for human and autonomous drivers, respectively. This is also added to by a margin of ±1 m and +2/−1 m for the length scale of both categories, respectively, so that alterations to the proportionality of the variables could also be studied, which is another configuration for changing the values of MT, in the neighboring region of each (V, L) node in the mathematical domain.
Considering the definition of
MT in (7),
Table 4 presents a minimum of 2.338 and 1.999 and a maximum of 3.283 and 4.098 for cases of human and autonomous drivers, respectively (see
Figure 13). And as a reference point for comparison, the obtained
MT for
V = 20 m/s and
L = 20 m for autonomous drivers is identical to the case of the same velocity but
L = 30 m in the human drivers’ category, with the numerical value of
MT = 2.899. This example clearly illustrates the compensating effects of 160% increase in
τ, against a relative mere 50% increase in
L, for that specific velocity. Other than this point, increasing the velocity would certainly increase
MT, while keeping the velocity constant and increasing the distance would certainly decrease
MT.
Implementation of the algorithm discussed in
Section 2.3, for the cases with
τ = 1.3 for human drivers, is presented in
Figure 13, where each row of the graph represents a column of the groups of three in
Table 4.
It should be noted that the cross-influences of the variables used in the definition of the traffic Mach number—as some are themselves relative functions of the other ones, although common and harmless in the definition of dimensionless number groups—is taken into consideration in the formation of the cases presented in
Table 4 as samples selected to be presented in this manuscript for case configurations.
The main concern being verified with the aerodynamics domain shown in
Figure 13 is the logical formation of the subsections of the domain. The results show a lack of negative volumes (areas) as one could think of for cases, where shockwaves/expansion fans intersect in other configurations than those explained in
Figure 4 and
Figure 5. Keeping vehicles’ speed constant while increasing the distance between them has been shown to decrease the size of expansion fans. This trend has the theoretical implications of a sharper turn at the top corner of the rhombus obstacle in a shorter time duration. As a matter of geometric observation, the shrinkage of the expansion-fan area results in the elimination of Zone III, which included trajectories going through only a portion of the redirecting expansion area. However, since the aerodynamics-based trajectory calculations are to be filtered through vehicle dynamics approximations for the final path, the high rotational acceleration resulting from minimization of the expansion area is harmless. This is while increasing the velocity has the overall effect of increasing the aforementioned expansion-fan area throughout all of the cases. Having the lower extreme of the mentioned condition at
V = 15 m/s,
L = 26 m and the higher extreme at
V = 23 m/s,
L = 32 m, the former shows a marginal elimination of Zone III, as the latter moves towards the omission of Zone II.
As another interesting phenomenon, one can recall the overall supersonic flows fundamentals dictating the higher inclinations of the oblique shockwave towards the wedge surface while increasing the Mach number. However, as the geometry of the approximated rhombic double-wedge obstacle is itself a function of the flow field variables such as velocity and therefore MT (see Equation (37)), the global inclination angle of the first oblique shockwaves undergoes a nonlinear trend. This effect can also be witnessed for other shockwaves, one more evident case of which is the last shockwave of Zone I.
As Zone IV is the least affected zone by the presence of the stationary obstacle ahead on the road, it is also verified herewith that the lower range of MT is correlated with larger areas regarded as Zone IV. The higher the MT, the deeper the effects of the obstacle propagated throughout the further regions of the domain. This can also be seen longitudinally, as the influenced regions in the wake of the obstacle also grow with MT. Generally, the higher the MT, the distribution of the zones is denser further away from the road symmetry line where the obstacle is located, whereas in cases with lower MT, this distribution tends to be near the symmetry line.
Figure 15 (accompanied by an exhaustive list of all cases mentioned in
Table 4, as
Figure A2 in
Appendix A) provides the same sort of information and trends on the flow field solutions as discussed above for
Figure 13, but for the autonomous driver cases (
τ = 0.5).
The simulation model and the control framework described in
Section 3 are used to validate the proposed path following methodology in terms of vehicle dynamics feasibility. To perform a comprehensive assessment, we present three comparative simulation sets. In all cases, the initial lateral position of the ego vehicle is set to 1 m, which will represent Zone I in
Figure 4 as the most critical zone.
To summarize the certain range of validity of the proposed methodology, the following extreme cases should be emphasized upon as cases outside the primary premises taken into account in the development of the mentioned theory. The most important of these cases are those with such low Mach numbers that a detached shockwave occurs, leading to a region of subsonic flow after the root of the shock, with effects closer to a normal shockwave than an oblique one. The practitioner should be aware of the fact that the results of this theory do not hold for such conditions.
Figure 16 summarizes the up- and downstream lateral positions for all cases presented in
Table 4 and for the interface between adjacent zones (I/II, II/III, and III/IV). It is seen that the highest change in the lateral position of the zone interfaces (
Figure 16i) occurs for the human driver. Given the main applicability of the proposed trajectories for an autonomous vehicle, with shorter reaction time-scales, this matter is favorable. Also, it is observed that in all cases (
Figure 16g–i) that the lateral shift of the zone interfaces is negligible (i.e., near zero or at maximum reaching the width of a lane). This makes the maneuver to return to the original lateral position after the obstacle avoidance trivially manageable. This matter is discussed in the later part of this section.
Figure 17 presents statistical analysis on the spread of the zone interfaces for different cases and in up- and downstream locations. It is seen that the maximum shift between the mean lateral location of the zone interfaces occurs for the human driver factors (
Figure 17c). This, again, strengthens the argument for better handling and applicability of the proposed method to autonomous vehicles.
Figure 17f shows the change in spread, which again follows the same pattern.
The high RMS shift (the difference in the RMS in the spread of the position of interfaces up- and downstream of the obstacle) in
Figure 17g clearly shows a peak for autonomous vehicles which—given the confinement of the route from the top (
Figure 4) and the overall shift towards it due to the obstacle being realized on the bottom side (
Figure 4)—indicates a better spread towards the original lateral positions.
It was previously mentioned that given the safe longitudinal distance and velocity—set by traffic rules—for a platoon of autonomous vehicles, the global solution for the flow field obtained through the present method will leave no chance for the intersection of the trajectories commanded of different vehicles with different lateral positions. This idea, although intuitive for a fluid flow field, is checked in terms of the number of times the rank between the zone interfaces flips.
Figure 17i clearly shows the zero value for this parameter for all cases.
Simulation Set 1: The first simulation set compares the effect of the reaction time
on path planning and the feasibility of tracking it. As described earlier, the reaction time plays an important role in the Mach number definition of the traffic, which forms the target path of motion. The effects of using a reaction time based on a human driver (
) and a computer (
) are compared in
Figure 18a in terms of the target path which, in turn, affects the resulting actual path as well. The dashed lines represent the target path and the solid lines show the actual path after completion of the maneuver. The cases are selected such that both refer to the same Mach number of 2.899 as per
Table 4. The initial speed of the vehicle is 20 m/s in both cases, but the value of
is
for
and
for
. Thus, the severity of the obstacle-avoidance problem is relatively similar in both cases from an aerodynamics standpoint. As observed from the target paths in
Figure 15a, if a target path is based on human reaction it will cause a late maneuver compared to a target path based on an autonomous driver, due to more delay in receiving and computing information from the obstacle upfront. The figure also indicates that the actual path of motion of the vehicle shows much more deviation from the target path in the case of
; in other words, late path planning causes a more sudden change of direction and larger tracking errors due to vehicle dynamics latency. Also, a smaller reaction delay shows better path-tracking ability at the beginning of the maneuver which is critical in avoiding an accident with the obstacle. Note that both path trackers are based on the same algorithm, and the reaction time
only affects the path-planning stage, not the path-tracking performance. Thus, for the rest of the comparisons, we only keep
as the practical case.
Simulation Set 2: The second simulation set compares high-speed maneuvers with different values of
. The initial vehicle speed is 30 m/s, but the value of
changes from 30 to 33 m as per
Table 3.
Figure 18b and
Figure 19a show the target (dashed lines) and the actual (solid lines) paths of motion in all four cases. There are negligible differences between the cases, and in all of them, the beginning of the maneuver shows promising path tracking. The second half of the maneuver also shows reasonable deviation from the target path, considering vehicle dynamics. Hence, the value of
has little effect on the system’s performance with
.
Simulation Set 3: The third simulation set compares the performance of the system at four different speeds ranging from low to high highway speeds. To keep consistency, we take the upper range of values of distance
in each velocity, as per
Table 4. Thus, the four cases can be summarized to have velocities of 15 m/s, 20 m/s, 25 m/s, and 30 m/s and the corresponding values of
are selected as 15 m, 20 m, 25 m, and 30 m, respectively.
Figure 18c and
Figure 19b show the target and actual paths of motion at these speeds. Comparing the dashed lines in
Figure 19b, we observe that the higher the speed, the wider the target path in
direction; in other words, the path planner suggests an earlier change of direction and later return when the speed is higher, which is consistent with the physics of the problem. A similar trend in the actual paths of motion is also observable, where vehicles traveling at higher speeds would start avoidance earlier and return later than vehicles traveling at lower speeds. The return phase magnifies the differences as the vehicle needs to overcome the initial lateral momentum gained in the first half of its maneuver.
Figure 20 shows the required inputs to the vehicle at different initial velocities to follow the corresponding target path. The speed seems to mainly affect the phase of the inputs, rather than the magnitudes. Vehicles traveling at higher speeds need earlier control inputs compared to vehicles traveling slower.
Figure 21 presents the average lateral tracking error for different values of
at a constant vehicle speed of
= 30 m/s. The results highlight the sensitivity of the tracking accuracy to the obstacle-spacing parameter, with overall deviations remaining within a small and dynamically acceptable range.
To complement the analysis, two additional figures have been included to illustrate the control-energy characteristics for the representative case of
= 30 m/s and
= 30 m.
Figure 22 presents the steering-actuator input power and cumulative energy consumption over time, assuming an average steering-motor torque of 0.8 Nm, steering ratio of 25, and a mechanical efficiency of 90%.
Figure 23 shows the corresponding drive-torque input power and energy consumption, calculated using a rolling tire radius of 0.35 m and an overall mechanical efficiency of 85%. These results provide an indicative estimate of the control-effort demand associated with the proposed trajectory-tracking framework.
The target and the actual velocities for the maneuvers are shown in
Figure 24. A reasonable velocity tracking is observable in all cases, validating the use of fluid dynamics in defining a target velocity profile for path planning.
Figure 25 shows the position and orientation of the vehicle as it moves past the obstacle at 25 m/s. The vehicle undertakes little deviation from the target path, which is negligible considering the width of the vehicle.
It is worth mentioning that the current model considers a constant reaction time for the sake of unity in the global flow field solutions that each trajectory (of each following vehicle) is a subset of. Therefore, although trivial schemes could be used to personalize the reaction times for each car, and through trained artificial neural networks for each driver, a global statistically obtained worst-case scenario should be the basis of said time-scales for all vehicles involved in a common obstacle configuration, which is the procedure followed in this work (see
Figure 1).
There is certainly a tendency toward less optimized handling and maneuverability depending on the road conditions; however, as discussed above (discussions around
Figure 18,
Figure 19 and
Figure 20), the types of maneuvers expected in light of the present model are not outside of the overall performable steering cases expected for the vehicles on the road without the presence of an obstacle. Furthermore, it is needless to say that the present work has targeted the problem at a proof-of-concept level, and further complex configurations (e.g., moving obstacles) are left for follow-up manuscripts. More on this point is discussed in the Conclusions as an outlook for future works.
5. Conclusions
Considering the undeniable analogies in the nature of vehicular traffic flow with that of supersonic compressible flow fields, the non-dimensional group of the traffic Mach number has been defined for the specific case of traffic flow. Having the traffic Mach number gives one the opportunity of going deeper into the modeling and analyzing the flow field dynamics of traffic flow using the governing principles of supersonic compressible fluid flows. However, as the main focus of the current research has been on using the aforementioned similarities just to the point at which a rather logically compatible set of trajectories could be suggested to the traffic flow in specific cases, no claim of such a flawless level of analytical prediction of traffic flow based on the fundamentals of fluid flow is issued within the realm of the current research.
The case chosen and represented in the current manuscript for the sake of a proof-of-concept level investigation of the mathematical/fluid mechanical approach concerns the situation of a multi-lane passage where moving vehicles are suddenly faced with a stationary obstacle, namely a defective vehicle, ahead on the road, and hence the flow forefront/solid obstacle distance required for determination of the traffic Mach number.
The flow field shockwave and expansion-fan system can be consequently configured, resulting in determination of the trajectories bulks of fluid would take, which are primarily suggested to vehicles upstream to avoid colliding with an obstacle. However, the mathematically driven trajectories of macroscopic supersonic compressible fluid flow show discontinuities in speed, acceleration, and direction, which are not practically followable by traffic flow. Therefore, all of the proposed trajectories have been input into the criteria in the field of vehicle dynamics and path planning to check the feasibility of vehicle control in following the trajectories in an approximate fashion, while not deviating from the primary fluid mechanical concerns of the method.
Finally, simulations based on vehicle dynamics with realistic parameters confirmed the feasibility of the proposed analogy for the path planning of autonomous passenger vehicles of future in planar motion and obstacle-avoidance maneuvers.
It should be noted that the current manuscript has addressed the verification and implementation feasibility of the proposed theory for trajectory planning in the case of a stationary obstacle as a more general configuration. This is certainly a simplified version of more complex and realistic cases. In this light, it should be mentioned that the most anticipated steps for the further expansion of the methodology are maneuvers around objects moving at constant velocities, i.e., the simplified case of an overtaking maneuver, and furthermore the case of a transient flow field around time-varying geometric configurations as works expected in the near future. These extensions will provide a more comprehensive evaluation of the framework’s scalability to real-world driving environments. The fundamental structure of the proposed hybrid control scheme, however, is fully compatible with real-time implementation and can be readily adapted for multi-vehicle and dynamic-traffic scenarios.
Here, the target has been to report a proof of concept for the core block of the problem, i.e., collision avoidance via a bypass maneuver performed by moving vehicles noticing a stationary obstacle ahead on the road. An important advantage of our proposed method is that all vehicles obtain a subset (a single trajectory) of a fully consistent global flow field around the obstacle, which is calculated in a decentralized scheme. Therefore, the algorithm proposed in the current work is perfectly applicable for multiple vehicles bypassing a stationary obstacle. A second obstacle can also be addressed with the present method in two scenarios:
The distance between the obstacles is so short that a trivial refinement on the enveloping geometry of the obstacle system (the rhombus geometry presented in Equation (37)) will consider them as a single obstacle, for which there is no further modification needed on the trajectory or control blocks.
The second obstacle is just far enough downstream of the first one that the shock system corresponding to the first geometry is already decayed and the second (or third, etc., for that matter) can be inserted into the algorithm.
The problem can, of course, be made more complex through geometric configurations and/or kinematics of the setting. To achieve this, we have designed a series of sub-projects:
Stationary obstacle (i.e., the present work);
Obstacle moving with a constant velocity;
Obstacle accelerating (changing velocity, while the second vehicle is overtaking it).
However, in order to keep the proof of concept separate from such subsets of the problem, we wish to keep the present paper free of such complexities and address them in the works to follow.