Next Article in Journal
Recent Advances and Applications of Odor Biosensors
Previous Article in Journal
Adapting SAM for Visible-Light Pupil Segmentation Baseline
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Swarm Intelligent Car-Following Model for Autonomous Vehicle Platoon Based on Particle Swarm Optimization Theory

by
Lidong Zhang
School of Transportation and Logistics Engineering, Shandong Jiaotong University, Jinan 250357, China
Electronics 2025, 14(9), 1851; https://doi.org/10.3390/electronics14091851
Submission received: 19 March 2025 / Revised: 27 April 2025 / Accepted: 30 April 2025 / Published: 1 May 2025
(This article belongs to the Section Electrical and Autonomous Vehicles)

Abstract

:
The emergence of autonomous vehicles offers the potential to eliminate traditional traffic lanes, enabling vehicles to navigate freely in two-dimensional spaces. Unlike conventional traffic constrained by physical lanes, autonomous vehicles rely on real-time data exchange within platoons to adopt cooperative movement strategies, similar to synchronized flocks of birds. Motivated by this paradigm, this paper introduces an innovative traffic flow model based on the principles of particle swarm intelligence. In the proposed model, each vehicle within a platoon is treated as a particle contributing to the collective dynamics of the system. The motion of each vehicle is determined by the following two key factors: its local optimal velocity, influenced by the preceding vehicle, and its global optimal velocity, derived from the average of the optimal velocities of M vehicles within its observational range. To implement this framework, we develop a novel particle swarm optimization algorithm for autonomous vehicles and rigorously analyze its stability using linear system stability theory, as well as evaluate the system’s performance through four distinct indices inspired by traditional control theory. Numerical simulations are conducted to validate the theoretical assumptions of the model. The results demonstrate strong consistency between the proposed swarm intelligent model and the Bando model, providing evidence of its effectiveness. Additionally, the simulations reveal that the stability of the traffic flow system is primarily governed by the learning parameters c 1 and c 2 , as well as the field of view parameter M. These findings underscore the potential of the swarm intelligent model to improve traffic flow system dynamics and contribute to the broader application of autonomous traffic systems management. In addition, it is worth noting that this paper explores the operational control of an AV platoon from a theoretical perspective, without fully considering passenger comfort, as well as “soft” instabilities (vehicles joining/leaving) and “hard” instabilities (technical failures/accidents). Future research will expand on these related aspects.

1. Introduction

The evolution of transportation systems is undergoing a paradigm shift with the emergence of autonomous vehicles (AVs), fundamentally transforming conventional traffic dynamics. Traditional car-following models, which have served as the foundation for understanding traffic flow for decades, are increasingly inadequate for capturing the complex interactions between intelligent, connected vehicles. As AVs transition from experimental prototypes to commercial deployment, there is an urgent need for innovative traffic flow models that can harness their advanced sensing, communication, and computational capabilities. Platoon-based operations, where multiple AVs travel in coordinated formations, represent a promising approach for optimizing traffic efficiency and safety. Unlike human-driven vehicles constrained by reaction times and limited perception, AV platoons can achieve near-instantaneous information sharing, enabling synchronized movements and significantly reduced following distances. However, the theoretical frameworks governing these cooperative behaviors remain underdeveloped. The concept of AV platoons draws inspiration from biological systems, particularly the collective behaviors observed in bird flocks, fish schools, and insect swarms, where individuals achieve remarkable coordination through simple rules and local interactions. In traffic scenarios, platoons rely on inter-vehicle communication and real-time data exchange to synchronize movements, ensuring safety and stability while minimizing disruptions. Cooperative autonomous platooning systems can dynamically adjust inter-vehicle spacing and speed, significantly improving traffic density and reducing energy consumption. Therefore, developing intelligent models for AV platoon control has become a critical research area in intelligent transportation systems.
The research on car-following behavior dates back nearly 70 years and covers hundreds of models based on various theories; different perspectives have been constructed in the development process [1]. In general, transport simulation models can be divided into three major categories, including macroscopic, mesoscopic, and microscopic modeling, depending upon the level of details required for network analysis [2]. Within the realm of microscopic simulation models and contemporary traffic flow theory, the car-following model (CFM) plays a pivotal role. This model aims to elucidate the relationship between individual driver behaviors and the collective dynamics of traffic. The study of car-following models has been ongoing for more than seven decades, originating around 1953 [3], with the objective of describing the sequential behavior of drivers in traffic streams. Each vehicle is perceived as a discrete, interactive unit, essential to understanding the inter-vehicular interactions within a lane. A fundamental premise of these models is that the driving decisions of each following vehicle are influenced by the behavior of the vehicles ahead. Presently, car-following models are divided into two primary groups—traditional models and models based on artificial intelligence. Traditional models such as the stimulus–response, safe distance, desired headway, and psycho-physical models, utilize mathematical formulations to simulate the trailing behavior among vehicles. On the other hand, artificial intelligence models rely on computational algorithms, including neural networks and fuzzy logic, which are structured on specific sets of rules [4]. The earliest form of traditional car-following models is termed the stimulus–response model, designed to mimic the car-following actions of the drivers [5]. The behavior of a lead vehicle acts as the stimulus, prompting the following driver to either accelerate or decelerate, a response moderated by the total reaction time T. The speed and relative spacing of the lead vehicle are also considered as substantial stimuli. Throughout the years, several stimulus–response models have emerged and been employed to predict car-following behavior under various conditions. Four significant models include the Gazis–Herman–Rothery (GHR) model, concurrently introduced by Kometani and Sasaki in 1958 in Japan and by Chandler, Herman, and Montroll under the General Motors research framework [6]. Following them, Helly proposed the Linear (Helly) model in 1959, which adjusted the acceleration of the following vehicle based on the braking action of the lead vehicle, building upon the GHR model and introducing new elements [7]. In 1995, Bando et al. devised the optimal velocity model (OVM), furthering Newell’s 1963 concept by incorporating the difference between the present and desired velocities of the vehicle as stimuli for the driver’s responses [8,9]. Treiber, Hennecke, and Helbing introduced the Intelligent Driver Model (IDM) in 2000, integrating safe driving norms relevant to safe distance CF models, although it is categorized under the stimulus–response model. This model expressed the vehicle’s acceleration as a factor of its speed, relative velocity, and the distance from the leading vehicle [10]. Furthermore, the safe distance models calculate a secure following gap to prevent collisions, especially when the lead vehicle driver exhibits erratic behaviors. However, if the trailing driver maintains a gap exceeding the recommended safe distance, this model’s guidelines become less applicable. This approach adheres to the protocols set by Pipes, advocating maintaining a safe distance of at least one car length per 10 mph of speed. Gipps further refined this category in 1981 by introducing a collision avoidance model with dual velocity constraints for the following vehicle [11]. Recently, driven by the prospect of a traffic flow comprising a mix of human-driven vehicles and connected, automated vehicles (CAVs), research has focused on maximizing CAV capabilities to mitigate the instability of mixed traffic [12]. These models integrate specific thresholds that, once exceeded, prompt drivers to adjust their speeds until velocity disparities with the lead vehicle are no longer noticeable. In general, it remains essential to comprehensively consider the driver–vehicle–environment factors when modeling car-following behavior under intelligent and connected conditions, despite the considerable number of achievements in research on car-following behavior.
Artificial intelligence (AI) models represent another category of CFMs. These models are generally straightforward in presentation and interpretation, relying primarily on specific mathematical equations. However, the complexity of human behavior often exceeds what these equations can encapsulate. Consequently, there has been a concerted effort over the last two decades to develop sophisticated AI models to more accurately predict human behavior, such as a driver’s cognitive processes. The advent of faster and more advanced computing platforms has significantly facilitated the development and popularity of these models. AI models in the realm of CF primarily build on the foundations of fuzzy logic and neural networks, employed either independently or in an integrated manner. Fuzzy logic models operate on the principle that drivers’ understanding and actions are qualitative and may frequently depend on an incomplete collection of information, thereby neglecting certain relevant factors. For instance, when deciding to decelerate upon nearing the vehicle ahead, drivers might not consider the exact relative speed and distance. Their decisions are influenced by perceptions, which are inherently subjective and imprecise, thus making ‘near’ and ‘nearing’ vague terms. As a result, ‘decelerate’ becomes a decision derived using fuzzy logic: IF ‘near’ AND ‘nearing’ THEN ‘decelerate’. This model can hence offer a closer approximation of human behavior. Researchers like Kikuchi and Chakroborty were pioneers in utilizing fuzzy logic rules to model CF behavior [13], while subsequent studies have introduced more sophisticated applications such as Hao’s multi-agent CF model based on fuzzy logic, simulating nuanced human driving behaviors within a structured framework of perception, anticipation, inference, strategy, and action [14]. Furthermore, Chen’s innovative application integrated fuzzy logic with a conditional deep Q-network to tackle directional planning in autonomous driving systems [15]. Similarly, Li and Axenie emphasized enhancing the interaction model and calibrating driver behaviors utilizing fuzzy logic to achieve more effective autonomous driving [16,17]. A primary challenge with fuzzy logic models lies in accurately determining fuzzy rules, which are often derived from human judgments. Parallel to fuzzy logic, neural networks have been another cornerstone of AI models in transportation. Particularly prominent in the 1990s, these networks attempt to emulate human brain functions, inferring outcomes from data pertaining to specific scenarios through principles from neurobiology and contemporary cognitive science. Their self-learning capabilities allow them to optimize performance based on a vast array of training data, facilitating an understanding of the relationships between various input and output parameters. Notably, neural networks have been applied to a range of topics within transportation, from driver behavior analysis to autonomous vehicle control [18,19], with researchers like Pomerleau and Chen focusing on their practical applications in real-world scenarios [19,20]. It is important to note that the field of AI models in CF is not limited to fuzzy logic and neural networks alone. There is potential in employing a hybrid approach that combines these technologies to simulate CF behavior more effectively. Moreover, recent advancements in swarm intelligence—an interdisciplinary technology—have shown potential in applications ranging from shared traffic systems to multi-agent platforms [21]. In summary, the evolution of AI models in CF highlights a trend towards integrating various computational technologies to better mimic and predict human driving behavior, addressing challenges through innovative approaches, and continuing to evolve with the advancements in computing and AI technologies.
Swarm intelligence, a concept derived from the collective behavior of biological systems such as flocks of birds and schools of fish, offers compelling insights for AV platoon management [22]. These natural systems demonstrate remarkable efficiency, adaptability, and stability through decentralized coordination mechanisms. The PSO algorithm is a swarm-based stochastic algorithm proposed originally by Kennedy and Eberhart [23], which exploits the concepts of the social behavior of animals, such as fish schooling and bird flocking. PSO mimics the cooperative food-searching behavior in these swarms. Each swarm member adjusts its searching strategy based on both individual and communal learning experiences [24]. This algorithm is globally acknowledged for tackling problems within multidimensional search spaces with continuous parameter values, proving especially efficacious in real-valued optimization. The adaptability of PSO has led to its application in resolving non-differentiable challenges that might manifest dynamic changes, irregularities, or noise over time. Through ongoing development, several variants of the PSO algorithm have been tailored for specific optimization scenarios. These include the micro-PSO for high-dimensional problems requiring fewer particles [25], the dynamic scheduling of transmission tasks [26], the optimization algorithm for the urban transit routing problem [27], the vehicle routing problem with cross-docking and carbon emission reduction in logistics management [28], and the use of a Quantum PSO (QPSO) strategy for predicting traffic flow in intelligent transportation systems (ITSs) [29]. The PSO algorithm offers obvious advantages in building car-following model, and it provides a mathematical foundation for translating these biological principles into algorithmic approaches for vehicle coordination. In brief, recent research has explored the various aspects of AV platoons, including stability analysis, fuel efficiency, and collision avoidance. However, the integration of swarm intelligence with car-following dynamics specifically for autonomous vehicle platoons represents a significant research gap. In addition, it is worth noting that this paper explores the operational control of AV platoon from a theoretical perspective, without fully considering passenger comfort, as well as “soft” instabilities (vehicles joining/leaving) and “hard” instabilities (technical failures/accidents). Future research will expand on these related aspects.
The remainder of the paper is organized as follows: Section 2 introduces the concept of swarm intelligence through PSO and elaborates on the construction of a car-following model employing PSO. Section 3 explores the stability conditions and provides a visual representation of the innovative PSO car-following model utilizing the linear system stability theorem. Section 4 discusses the indices that define the characteristics of the traffic flow system, where numerical simulations are carried out to validate the accuracy of the stability theorem and the characteristics of the traffic system. Section 5 offers a summary and the conclusions derived from the study.

2. Models and Methods

2.1. PSO Principle

A typical PSO algorithm is illustrated in Figure 1. As for the standard PSO algorithmic structure, a swarm of particles updates their relative positions from one iteration to another, boosting the PSO algorithm to duly perform the search process [30]. To obtain the optimum solution, each particle moves towards its prior personal best position ( p b e s t ) and the global best position ( g b e s t ) in the swarm. Assuming a minimization problem, one has the following PSO expressions, as shown in Equations (1) and (2):
p b e s t i t = x i * f x i * = min k = 1 , 2 , , t f x i k
where i { 1 , 2 , , N } , and 
g b e s t t = x * t f x * t = min i = 1 , 2 , , N k = 1 , 2 , , t f x i k
where i denotes particle’s index; t is the current iteration’s number; f is the objective function to be optimized (minimized); x is the position vector (or a potential solution); and N is the total number of particles in the swarm. During each iteration t + 1 , the velocity v and position x of each particle i are updated, as shown in Equations (3) and (4).
v i t + 1 = ω v i t + c 1 r 1 p b e s t i t x i t + c 2 r 2 g b e s t t x i t
x i t + 1 = x i t + v i t + 1
where v represents the velocity vector; ω is the inertia weight utilized to balance the local exploitation and global exploration; r 1 and r 2 are random vectors uniformly distributed within the range [ 0 , 1 ] D (with D as the search space dimensionality or the size of the problem at hand); and  c 1 and c 2 —called “acceleration coefficients”—are positive constants.
It should be noted that an upper bound is commonly set for the velocity vector, as a means to prevent particles from shaving off the search space. This forces them to take an appropriate step size to explore the entire search domain, as demonstrated in the “velocity clamping” method and the “constriction coefficient” strategy proposed by Clerc and Kennedy [23].

2.2. Particle Behavior Analysis of AV Platoon

Inspired by the movement of bird flocks, we will now consider a line of AVs traveling along a straight path, as depicted in Figure 2. Analyzing these vehicles through the lens of particle swarm principles reveals both similarities and differences. The primary distinction between these two systems is that PSO operates in a three-dimensional space, whereas vehicle platooning occurs on a two-dimensional plane defined by longitudinal and latitudinal coordinates. However, similar to particles in a swarm, both vehicles and particles make decisions based on the optimization of local and global states. To simplify the analysis of an AV platoon, we may disregard the mass and mechanical properties of each vehicle and conceptualize the system as a collection of particles, as depicted in Figure 3. These vehicle particles exhibit social behavior similar to swarm intelligence, as inspired by natural entities like flocks of bird and schools of fish. Accordingly, we refer to them as vehicle particles, embodying the characteristics of swarm intelligence. Historically, the inception of swarm intelligence can be traced to the introduction of algorithms such as PSO [23] and Ant Colony Optimization (ACO) [31].
In the context of swarm intelligence, each particle represents a potential solution to a specific problem. Simply put, an AV particle is analogous to a point within a two-dimensional search space. Our objective is to identify the most optimal location within this space, evaluated through a predefined fitness function. Before implementing the vehicle PSO method, it is imperative to define a dynamic objective function and set the algorithm’s parameters, including the learning coefficients c 1 and c 2 , and the number of vehicle particles N. Subsequently, a swarm of AV particles, denoted as P, is initialized through the random generation of particles. Each particle is characterized by a two-dimensional vector, with each element representing a decision variable constrained by specified lower and upper bounds. Generally speaking, the system initializes with each particle in the swarm represented by two-dimensional random vectors. As the optimization process progresses, the particle dynamics evolve, aiming to locate the ‘Gbest’ or the global best solution so far, which is stored and updated in a dedicated vector. Upon establishment of the initial swarm, each particle’s quality is assessed using the aforementioned fitness function. Following this evaluation, the optimal vehicle—or particle—is identified and retained in ‘Gbest’, which represents the best performance across the tasks of either minimization (lowest function value) or maximization (highest function value). Upon satisfying the termination criteria, the particle in ’Gbest’ is then output as the final result.
The AV-PSO algorithm can be implemented in either a global or localized variant. In the global variant, each vehicle particle gravitates towards the best particle in the entire swarm. In contrast, in the localized version, each particle is influenced by the best particle within its immediate neighborhood. The acceleration formula for the vehicle particles, without the inertia weight effect, is defined as follows in Equation (5):
a i , j = c 1 a i , l o c a l + c 2 a i , g l o b a l
where a i , j is the i t h particle’s acceleration; and a i , l o c a l and a i , g l o b a l denote the local and global best particles’ accelerations influencing particle i, respectively.

2.3. Fitness Function for AV Platoon Motion

It is recognized that V ( Δ x n ( t ) ) operates as the optimal velocity function (OVF) for the n t h vehicle. This function generally exhibits teh following two key properties: (i) It increases monotonically, and (ii) it has a defined upper limit, V m a x V ( Δ x n ( t ) ) . There are two conventional types of OVFs primarily utilized by researchers. The first type considers variables like maximal speed, headway, and vehicle body length. The second type relates these parameters to given values. The most commonly employed OVFs are delineated in Equations (6)–(8) [32].
V ( Δ x n ( t ) ) = v m a x 2 [ t a n h ( 0.13 ( Δ x n ( t ) l n ) 1.57 ) + t a n h ( 0.13 l n + 1.57 ) ]
V ( Δ x n ( t ) ) = v m a x 2 tanh ( Δ x n ( t ) h c ) + tanh ( h c )
V ( Δ x n ( t ) ) = V 1 + V 2 tanh C 1 ( Δ x n ( t ) l n ) C 2
where v m a x denotes the maximum velocity; and  l n represents the length of the n t h vehicle, conventionally set to four meters in simulations. Typical values for other parameters utilized frequently in simulations include V m a x = 3.2 m / s , V 1 = 6.75 m / s , V 2 = 7.91 m / s , C 1 = 0.13 m 1 , and  C 2 = 1.57 [29].

2.4. Local Optimal Acceleration Term

Traffic flow instabilities are a common precursor to congestion on highways and other major roads, necessitating the development of dynamic models to accurately characterize these phenomena. The optimal velocity model (OVM) offers a dynamic framework for understanding traffic congestion by applying the equation of motion to each vehicle within the system. This model, originally proposed by Bando in 1995 [9], posits that each vehicle travels at an optimum speed that is contingent upon the distance from the preceding vehicle. The equation of motion for the OVM is expressed as follows in Equation (9):
x ¨ n ( t ) = F ( α ) [ V ( Δ x n ( t ) ) x ˙ n ( t ) ]
where F ( α ) serves as the sensitivity function, in which F ( α ) = α , a constant coefficient. In this context, x ¨ n ( t ) and x ˙ n ( t ) denote the acceleration and velocity of the n t h vehicle at time t, respectively. Δ x n ( t ) = x n + 1 ( t ) x n ( t ) is defined as the headway between the n t h vehicle and its successor. Accordingly, the local optimal acceleration term is delineated by Equation (10), as follows:
a n , local ( t ) = α [ V ( Δ x n ( t ) ) x ˙ n ( t ) ]

2.5. Global Optimal Acceleration Term

The global aspect of the traffic model integrates data across the entire convoy, with the global optimal acceleration, under periodic conditions, predicated on collective vehicular behavior—a concept akin to swarm intelligence. This global acceleration is detailed in Equation (11).
a n , global ( t ) = α 1 M j = 1 M V ( Δ x j ( t ) ) x ˙ n ( t )
where M represents the count of vehicles within the global consideration of the n t h vehicle, with M equating to N 1 under periodic conditions.

2.6. The AV-PSO Model Acceleration Expression

We now introduce a sophisticated CFM that integrates principles of PSO and OVM, which we call the AV-PSO car-following model. This model can be expressed as shown in Equation (12).
x ¨ n ( t ) = c 1 × a n , l o c a l ( t ) + c 2 × a n , g l o b a l ( t )
Subsequently, we derive the comprehensive vehicle AV-PSO model, as delineated in Equation (13).
a n ( t ) = α c 1 V ( Δ x n ( t ) ) x ˙ n ( t ) + c 2 1 M l = 1 M V ( Δ x n + l ( t ) ) x ˙ n ( t )
Conventionally, the coefficient c 1 is assigned a substantially higher value than c 2 , thereby prioritizing the acceleration component driven by local optimization. The parameter M denotes the amount of automobiles considered influential within this context. When the complete platoon is taken as the global optimality criterion, M equates to N.

2.7. The AV-PSO Model Motion Expression

Now, the AV-PSO model motion expression can be summarized as shown in Equation (14),
v n ( t ) = v n ( t Δ t ) + a n ( t ) × Δ ( t ) x n ( t ) = x n ( t Δ t ) + v n ( t ) × Δ ( t )
where Δ t is the time step for updating the motion state; v n ( t ) is the AV’s velocity at time t; and  x n ( t ) is the AV’s position at time t. It should be noted that the acceleration and jerk limitations that maintain passenger comfort are set between [ 0 , 1.5 ] m · s 1 in our simulations, based on references [8,9].

3. Model Analysis

3.1. Stability Conditions Analysis

We consider a scenario where there is a stable solution for a uniformly distributed intelligent internet-connected vehicle platoon, as described by Equation (15).
x n , 0 ( t ) = h s n + v 0 t
where h s = L N denotes the steady state spacing between two successive vehicles in the platoon; and  v 0 represents the constant velocity of the steady traffic platoon.
A small deviation from this uniform flow is introduced through the following Equation (16).
δ n ( t ) = exp ( i ϕ k n + s t ) , ϕ k = k 2 π N , k = 1 , 2 , , N 1
where | δ n ( t ) | 1 . Consequently, the position of the n th vehicle at time t can be expressed as shown in Equation (17).
x n ( t ) = x n , 0 ( t ) + δ n ( t )
In reference to the study under consideration, we established a stable condition for the platoon of internet-connected vehicles. By inserting Equation (17) into Equation (13), we derive its second-order differential representation, as shown in Equation (18).
d 2 δ n ( t ) d t 2 = c 1 α [ V ( h s ) δ ( Δ x n ( t ) ) δ ˙ n ( t ) ] + c 2 α 1 M f = 1 M V ( h s ) δ ( Δ x n + f ( t ) ) δ ˙ n ( t )
where δ ¨ n ( t ) = x ¨ n ( t ) ; δ ˙ n ( t ) = x ˙ n ( t ) ; δ ( Δ x n ( t ) ) = δ n + 1 ( t ) δ n ( t ) h s ; and  δ ( Δ x n + f ( t ) ) = δ n + f + 1 δ n + f h s . Moreover, we derive the Fourier Transform Formulation, as shown in Equation (19):
s 2 + ( c 1 + c 2 ) α s α V ( h s ) [ c 1 ( e i ϕ k 1 ) + c 2 1 M f = 1 M ( e i ϕ k ( f + 1 ) e i ϕ k f ) ] = 0
The solution form of Equation (19) is s = s 1 ( i ϕ k ) + s 2 ( i ϕ k ) 2 + . By neglecting the higher-order terms and retaining only the first- and second-order terms of ( i ϕ k ) , the solution can be derived, as expressed in Equation (20).
s 1 = V ( h s ) s 2 = V ( h s ) [ c 1 + c 2 ( 2 + M ) ] 2 [ V ( h s ) ] 2 α
Based on above analysis, the AV platoon will maintain a stable state of motion, as elucidated by the linear system stability theory. Now, we provide Lemma 1 as common knowledge.
Lemma 1.
If the condition stated in Equation (21) is satisfied, the uniform AV platoon flow exhibits stability.
α > 2 V ( h s ) c 1 + c 2 ( 2 + M )
Conversely, the system becomes unstable if this condition is not met.

3.2. Stability State Verification

To elucidate the conditions under which the system maintains stability, the simulations portrayed in Figure 4 delineate the critical line of system stability. Our analysis considers the following three distinct parameter variations: the local learning factor c 1 , the global learning factor c 2 , and the number of vehicles within a global perspective, as represented by M. Standard configurations include a maximum velocity (Vmax) of 3.2 m per second and a typical object height ( H c ) of 4 m.
In Figure 4a, the Bando model illustrates the division between the stable and unstable phases. The critical demarcation occurs primarily around Δ x 4 m and α 3.2 , with distinct stability zones persisting at lesser ( Δ x < 3 m ) and greater ( Δ x > 5 m ) intervals of Δ x . The subsequent figures underscore the impacts of altering either of the parameters c 1 and c 2 on stability. Figure 4b inserts various c 2 values ( c 2 = 0.015 , 0.03 , 0.045 , 0.06 , 0.075 ) into the model, illustrating a broadening and descending of the instability region with increased c 2 , thereby suggesting that higher c 2 values contribute to enhanced system stability. Conversely, Figure 4c examines the influence of differing c 1 magnitudes ( c 1 = 0.985 , 1.182 , 1.2805 , 1.379 , 1.4775 ) on system dynamics. Stability zones remain consistent with prior outcomes, while higher c 1 values notably elevate the curves, indicating a decrease in the stability threshold α . This adjustment suggests an inverse relationship between c 1 and system stability. These simulations and analyses fundamentally affirm the criteria established by Lemma 1, demonstrating that variances in parameter settings significantly influence the stability of the internet-connected vehicle platoon system.
Following quantitative analysis, Figure 4a demonstrates a critical point reaching its peak at ( Δ x , α ) = ( 4 , 3.2 ) . The region remains stable when Δ x < 3 m and Δ x > 5 m , with  α maintaining values below 1.5, indicative of stability. For Figure 4b, illustrating scenarios where c 2 = 0.015 , the peak occurs around α = 3.2 . An increment of c 2 to 0.075 results in the peak descending to α 2.0 . Higher values of c 2 ( c 2 = 0.075 ) reveal a more extensive stable region, characterized by α values remaining below 1.5 across a broader Δ x range. In Figure 4c, with  c 1 = 0.985 , the critical peak is located around α = 3.2 . As  c 1 increases to 1.4775, the peak descends to α 2.0 . Elevated c 1 values ( c 1 = 1.4775 ) correlate with a wider stable region, where α values stay under 1.5 across an extended Δ x range. Figure 4d further elucidates the stability characteristics within the optimal velocity model by exploring the effects of parameter M on traffic flow stability. Similar to the prior observations, this figure identifies a central unstable region around Δ x 4 m flanked by stable regions. Quantitatively, the figure contrasts the Bando model (depicted with a solid red line) across varying M values (20, 40, 60, 80, 100). With an increase in M, peak α values decrease, thereby broadening the stability region. Specifically, M = 20 (represented by a dashed magenta line) showcases higher peak α compared to M = 100 (illustrated with a dotted black line), suggesting that elevated M values enhance stability by lowering peak α and expanding stable areas.
In conjunction with the earlier findings, it is evident that c 1 , c 2 , and M significantly affect system stability. Enhancements in parameters c 1 , c 2 , and M collectively contribute to enlarging stable regions and diminishing the instability threshold, ultimately promoting enhanced stability in traffic flow dynamics.

3.3. Peak Value Comparison with Bando Model

Additionally, a mathematical model is crucial for documenting the evolutionary progression of error patterns. We present a formula for calculating relative error, as shown in Equation (22), with the results summarized in Table 1.
e = P B a n d o P n e w P B a n d o × 100
where P n e w denotes the peak values derived from Equation (22) using different parameters c 1 , c 2 , and M; P B a n d o represents the peak of the Bando model’s critical line, set at P B a n d o = 3.2 s−1. Table 1 lists the stability evaluation indices, facilitating a comparative analysis.
As evidenced in Table 1, the modifications to the learning factor lead to a considerable expansion in the stable zone of the traffic flow system. Specifically, the system’s stability range extends drastically from 23.95 % to 62.05 % , with an increase in the learning factor from 0.015 to 0.075 . Furthermore, adjustments to the learning factor from 0.985 to 1.4775 lead to an expansion of the stability zone from 23.95 % to 44.68 % , and alterations of the variable from 20 to 100 elevate the zone from 23.95 % to 60.24 % . This significant improvement in the system’s stability underscores the effectiveness of the AV-PSO model in improving traffic flow stability.

4. Simulation

4.1. Simulation Setup

In our study, the parameters selected for simulations are as follows: length L = 400 mm, maximum velocity v m a x = 3.2 m/s, comfortable headway H c = 4 m, and acceleration constant α = 0.5 m/s2. We conduct all simulations under an open boundary condition, wherein the AV platoon travels along a predefined straight route without executing overtakes. At the onset, the initial vehicle operates at a pre-determined velocity, and a deviation of 1 m from the stable position is introduced to the first leading vehicle’s initial location to test the traffic flow system’s resilience and recovery capability. Three distinct simulation scenarios are executed to evaluate and affirm the traffic flow system’s characteristics influenced by learning factors c 1 and c 2 , along with the visual field range M.

4.2. Simulation Control Flow Chart

The simulation control flow includes three steps. The first step is the Initialization as depicted as follows. The second step is to Create two-dimensional Gbest vector as depicted in alg1. The last step is to Assign the best particle(AV) P i to the Gbest as depicted in alg2:
(1)
Initialization
Randomly initialize AV swarm P:
Scale: N particles(AVs) in the swarm
Optimal Goal: 2th dimensional objective function V ( ) for the i t h AV.
Velocity: Range of velocity for j t h dimension [ V j , m i n , V j , m a x ] of the i t h AV.
Learning Factors: c 1 , c 2 .
(2)
Create two-dimensional Gbest vector:
Algorithm 1 Create two-dimensional Gbest vector the i t h AV
1:
for each i t h particle(AV) P i in AV swarm P do
2:
    Assign the current i t h particle(AV) P i to P b e s t i
3:
    Assign initial velocity V i for each particle(AV) P i
4:
    Evaluate the particle(AV) P i using the objective function o f ( )
5:
end for
(3)
Assign the best particle(AV) P i to the Gbest:
While the termination criterion is not met, use the following algorithm for each i t h AV particle in the swarm P.
Algorithm 2 AV-PSO Motion Update
1:
for each dimension j do
2:
    for each AV(particle) i do
3:
        Update the acceleration a i , j using the formula including both local and global information:
4:
         a i , j c 1 · a i , local + c 2 · a i , global
5:
        Update the AV(particle) velocity v i , j using the formula:
6:
         v i , j v i , j + a i , j
7:
        if  v i , j < v j , min  then
8:
            v i , j v j , min
9:
        end if
10:
        if  v i , j > v j , max  then
11:
            v i , j v j , max
12:
        end if
13:
        Update position of AV(particle) i
14:
        Evaluate the particle P i using the objective function V ( ) ;
15:
         i i + 1
16:
    end for
17:
     j j + 1
18:
end for

4.3. Car-Following Behavior and Characteristics

Car-following behavior involves the adjustment of a following vehicle’s motion to align with that of the leading vehicle. The parameters defined for this behavior include c 1 = 0.65 , c 2 = 0.35 , and M = 5 . The vehicles within a platoon are sequentially labeled from the lead vehicle as #100 to the last vehicle as #1. To analyze the car-following dynamics, three distinct groups of vehicles (leading, intermediate, and tail) are examined through their velocity profiles as depicted in Figure 5, Figure 6 and Figure 7, respectively.
Figure 5a displays the velocity profiles of vehicles #100 (dashed red line), #99 (solid green line), and #98 (dotted blue line), emphasizing their initial responses and the ongoing adjustments in velocity. Vehicle #100 maintains a relatively steady pace post an initial adjustment period, while Vehicles #99 and #98 exhibit more significant oscillations before reaching stability, indicating their response latency and adjustment dynamics to the leader vehicle’s pace. Quantitatively, in the initial phase (0–100 s), Vehicle #100 accelerates to approximately 2.2 m / s and then levels off. Vehicles #99 and #98 initially peak at higher velocities of around 2.5 m / s and 2.4 m / s , respectively, before decelerating. In the oscillation phase (100–300 s), both Vehicles #99 and #98 display diminishing oscillations in velocity, suggesting a damping response as they adjust to the pace of Vehicle #100. Around 300 s, their velocities begin to stabilize at around 2 m / s . In the steady-state phase (300–500 s), all vehicles consistently maintain a velocity close to 2 m / s , exemplifying well-adjusted car-following behavior. Figure 5b provides a detailed examination of the extreme points in the velocity profiles for vehicles #99 and #98. The designated points ( p 98 ( n ) and p 99 ( n ) ) correspond to the peak and trough values illustrated in the primary graph. Initially, both vehicles peak in velocity at around 200 s; car #99 reaches approximately 2.5 m / s and car #98 approximately 2.4 m / s . Subsequent extrema ( p 98 ( 2 ) and p 99 ( 2 ) , et al.) display a diminishing trend in oscillation amplitude. By the fifth extreme point ( p 98 ( 5 ) and p 99 ( 5 ) ), the velocities have stabilized near 2 m / s .
An analysis of these graphs suggests classic car-following dynamics, where the vehicles initially experience oscillations due to speed adjustments, followed by a phase of stabilization in which a uniform velocity of approximately 2 m / s is achieved. The parameters c 1 = 0.65 , c 2 = 0.35 , and M = 5 seem to support this stabilization, indicating effective car-following dynamics under the specified conditions.

4.3.1. Group II: Middle AV

The two graphs illustrate the car-following behavior of vehicles #50 and #51 over a prolonged period. Figure 6a depicts the velocity profiles of both cars, while Figure 6b highlights the extreme values (peaks and troughs) of these profiles over time.
In Figure 6, both cars initially exhibit minor oscillations, which escalate before eventually diminishing and stabilizing at around 2 m / s . The dotted magenta line represents car #50, while the solid blue line represents car #51. Quantitatively, the initial phase (0–500 s) sees both cars starting with a velocity near 2 m / s accompanied by minor oscillations, indicative of the initial adjustment phase. During the mid-phase (500–3000 s), significant oscillations occur with increasing amplitude, then gradual reductions are observed. The peak velocities reached during this phase are approximately 2.6 m / s , and the troughs descend towards about 1.6 m / s . This responsive adjustment leads to periodic accelerations and decelerations as the vehicles align their speeds. Finally, in the stabilization phase (3000–4000 s), the oscillations dampen, and the velocities of both cars converge to around 2 m / s , signaling synchronized speed maintenance and the establishment of a steady driving state. Figure 6a also details the extremum points of the velocity profiles, illustrating an evolution through the phases. The initial peaks ( p 50 ( 1 ) and p 51 ( 1 ) ) see both cars reaching about 2.4 m / s at approximately 500 s. As the phase progresses, the amplitudes of the subsequent peaks ( p 50 ( 2 ) , p 51 ( 2 ) , et al.) increase up to around 2000 s before commencing a downward trend. By the penultimate peak ( p 50 ( 4 ) and p 51 ( 4 ) ), the velocities start stabilizing around 2.2 m / s . The culmination of this phase is marked by the final peaks ( p 50 ( 5 ) and p 51 ( 5 ) around 3000 s), where the velocities converge to approximately 2 m / s , symbolizing the end of the oscillation phase and the onset of a stable traffic flow.
An analysis of the car-following behavior, as depicted in the graphs, illustrates a characteristic trajectory of initial fluctuations, followed by a progression towards stability. The parameters c 1 = 0.65 and c 2 = 0.35 induce pronounced initial oscillations, typical of the adaptive stages in which vehicles adjust their speeds in response to the dynamics of adjacent ones. As time progresses, these oscillations diminish, culminating in a stable car-following behavior where cars sustain a steady speed of approximately 2 m / s . This behavior demonstrates efficient vehicle dynamics adaptation, which facilitates stable traffic flow.

4.3.2. Group III: Tail AV

Figure 7a,b present the velocity profiles and peak values of car #2 (leading, shown with a solid magenta line) and car #1 (following, shown with a dotted blue line). Initially characterized by minor fluctuations, both vehicles later exhibit significant oscillations in velocity, which escalate in amplitude prior to subsiding and stabilizing around 2 m / s . From a quantitative perspective, during the initial phase (0–1000 s), both vehicles begin with velocities near 2 m/s, experiencing slight oscillations that mark the early adjustment period. In the oscillation phase (1000–6000 s), the velocity of each car displays considerable swings; amplitude initially swells and then systematically wanes. Peak velocities during this time rise to approximately 2.6 m / s , with troughs dropping to about 1.6 m / s , emphasizing the ongoing adaptation period. During the stabilization phase (6000–7000 s), the oscillations gradually diminish, and the velocities of the vehicles converge towards a stable state of approximately 2 m / s , reflective of effective speed synchronization. Figure 7b provides further insights into the dynamics of these extreme values. Initially, both vehicles reach peak velocities around 2.4 m / s at roughly 1000 s. These peaks show an increasing trend up to 2000 s, after which they begin to decline. By the fourth peak, the velocity moderates to about 2.2 m / s , and by the final peaks at around 6000 s, the velocities converge to around 2 m / s , signaling a transition to a steady-state phase.
Collectively, the examination of these graphical trends confirms that the setting of parameters c 1 = 0.65 , c 2 = 0.35 , and M = 5 are foundational in shaping the initial stage adjustments and stabilization, demonstrating robust car-following dynamics adapted for cohesive traffic flow.

4.4. Exploration of Influence of Learning Factors c 1 , c 2 on Traffic System Stability

4.4.1. Typical Velocity Profiles

Figure 8 provides a detailed examination of the velocity dynamics of car #50 as influenced by different combinations of learning factors, c 1 and c 2 . Each graph offers insights into the relationship between the adjustment of these factors and the resulting changes in velocity oscillation patterns, convergence times, and the occurrence of oscillations.
In Figure 8a, the learning factors are set as c 1 = 0.95 and c 2 = 0.05 . This configuration results in oscillations with relatively high amplitudes, fluctuating between approximately 1 m / s and 3 m / s . The velocity stabilizes around 2 m / s after about 4000 s. Notably, prominent oscillations are observed during the initial 3000 s, which gradually diminish by 4000 s. In Figure 8b, the learning factors are set as c 1 = 0.75 and c 2 = 0.25 . Here, the amplitude of the oscillations is moderate, peaking at around 2.5 m / s and dropping to about 1 m / s . The convergence time sees the velocity stabilizing at approximately 2 m / s after about 3000 s. This graph shows a slight reduction in the number of oscillations and a more rapid damping compared to the first scenario. In Figure 8c, the learning factors are set as c 1 = 0.65 and c 2 = 0.35 . In this case, the oscillations manifest a lower amplitude, ranging up to around 2 m / s and descending to approximately 1 m / s . The convergence toward stability occurs at about 1.5 m / s after some 2500 s. Further reduction in the number of oscillations is observed, indicating a quicker stabilization of the system. In Figure 8d, the learning factors are set as c 1 = 0.55 and c 2 = 0.45 . The oscillations show a lower amplitude, peaking around 2 m / s and dropping to about 1 m / s . Velocity convergence happens around 1.5 m / s after approximately 2000 s, with an even further diminished number of oscillations, leading to rapid stabilization of the system.
This systematic variation in dynamics under different learning parameters offers valuable insights into optimizing control settings for desired vehicular behavior. With the coefficient set ( c 1 = 0.55 , c 2 = 0.45 ) , the system exhibits the lowest amplitude oscillations ranging from 1 m/s to 2 m/s, with a convergence time of approximately 2000 s. This configuration demonstrates the fewest oscillations, indicative of rapid stabilization. Generally, as the value of c 2 increases, the following trends are observed:
(1)
Amplitude of Oscillations: There is a decrease in the amplitude of oscillations, which contributes to a more stable velocity profile characterized by diminished extreme fluctuations.
(2)
Convergence Time: The convergence time decreases, implying that the system attains a stable velocity more expeditiously.
(3)
Number of Oscillations: A reduction in the number of oscillations is noted, signaling a smoother transition to a stable state with fewer velocity fluctuations.
Overall, enhancing c 2 improves the stability and efficiency of the car-following behavior. Higher values result in lower amplitude oscillations, quicker convergence to a steady state, and reduced oscillations, thereby fostering better overall performance of the traffic flow system.

4.4.2. Time-Spatial Graph

A detailed analysis of the spatiotemporal diagrams reveals the following insights:
Figure 9a ( c 1 = 0.95 , c 2 = 0.05 ) exhibits dense and irregular patterns indicating significant fluctuations in vehicle spacing, large amplitude fluctuations, a longer convergence time around 1500 s, and frequent oscillations, indicating a less stable traffic flow. Figure 9b ( c 1 = 0.75 , c 2 = 0.25 ) shows more uniform patterns with reduced fluctuations, notably smaller amplitude fluctuations, a quicker convergence around 1200 s, and fewer oscillations, suggesting a more stable traffic flow. Figure 9c ( c 1 = 0.65 , c 2 = 0.35 ) showcases even more uniform patterns, further reduced fluctuations, smaller amplitude fluctuations compared to the previous diagrams, a faster convergence by around 1000 s, and even fewer oscillations, indicating a more stable and efficient traffic flow. Figure 9d ( c 1 = 0.55 , c 2 = 0.45 ) presents the most uniform patterns indicating minimal fluctuations, the smallest amplitude fluctuations among all diagrams, the quickest convergence at approximately 900 s, and the fewest oscillations, which suggest the most stable and efficient traffic flow. A comparative analysis of all four spatiotemporal diagrams elucidates the following benefits as c 2 increases: a decrease in the amplitude of fluctuations, fostering more consistent and stable distances between vehicles; a reduction in convergence time, demonstrating quicker stabilization of the traffic flow; and a decline in oscillation frequency, indicating fewer adjustments and smoother traffic operation.
Overall, elevating the parameter c 2 notably augments the stability and efficiency of traffic flow dynamics. An increase in c 2 correlates with more consistent spacing between vehicles, the accelerated attainment of a stable traffic state, and a reduction in the oscillatory variation of vehicle distances. These observations suggest that higher c 2 values foster more stable and efficient car-following behaviors in traffic systems.

4.5. Influence of Viewing Field M on Stability of AV Platoon System

The parameter M is widely recognized as defining the optimal velocity influence range universally applicable across a vehicle platoon. A series of simulations were executed to thoroughly assess the effects of M on system characteristics, both quantitatively and qualitatively, as depicted in Figure 10. For these simulations, the learning factors were set to c 1 = 0.9 and c 2 = 0.1 . The viewing fields investigated were M = 10 , 40 , 60 , and 80, listed in Figure 10a, Figure 10b, Figure 10c, and Figure 10d, sequentially increasing to observe progressive impacts.

4.5.1. Trends in AV Acceleration

In the realm of traffic flow modeling, an exhaustive analysis was conducted to assess the performance of three distinct acceleration strategies—local optimal acceleration, global optimal acceleration, and weighted acceleration—across various viewing field horizons. The purpose was to delineate the dynamic behavior and stability imparted by each approach.
(1)
Local Optimal Acceleration (Red Dashed Line): This strategy manifests minimal oscillatory behavior across all the evaluated horizons ( M = 10 , M = 40 , M = 60 , M = 80 ), symbolizing a conservative tactic focusing on stability during vehicle‘s speed adjustments. The near-zero acceleration values signify a steady adherence to uniform velocity, underscoring a cautious operational mode irrespective of horizon length.
(2)
Global Optimal Acceleration (Blue Dotted Line): Exhibiting significant oscillations across all horizons, this strategy reflects an assertive optimization approach aimed at swift vehicular speed adjustments for traffic flow optimization. The oscillatory nature varies with horizon length; oscillations are more frequent in shorter horizons and less frequent but larger in longer horizons, reaching up to ±1.5 m/s2. This dynamic nature seeks to rapidly enhance traffic flow but may occasionally compromise stability, particularly in scenarios with extended horizons.
(3)
Weighted Acceleration (Green Solid Line): This strategy presents a judicious balance between conservative and assertive approaches, demonstrating moderate oscillations conducive to both responsiveness and stability. Through integrating elements of both the local and global optimal accelerations, it aims to offer a pragmatic solution for dynamic traffic management. The consistent oscillatory behavior across various horizons, maintained within a range of ±1 m/s2, underscores its adaptability and robustness in varying traffic conditions.
In essence, the Local Optimal Acceleration strategy is delineated by its reserved and consistent nature, which achieves stability, albeit possibly at the expense of quick adaptability. In contrast, the global optimal acceleration strategy employs a vigorous approach that focuses on swift optimization, but could potentially compromise stability due to its substantial and horizon-sensitive oscillations. Meanwhile, the weighted acceleration strategy strikes a balance, maintaining moderate oscillations and serving as a practical median between stability and responsiveness. Analyzing the performance across various horizons ( M = 10 , M = 40 , M = 60 , M = 80 ) indicates that while the local and weighted strategies exhibit consistent behavior, the oscillations associated with the global strategy decrease in frequency but increase in magnitude as the horizon extends, illustrating the dynamic interaction between optimization and stability in traffic management. The thorough assessment across various horizons ( M = 10 , M = 40 , M = 60 , and M = 80 ) delineates distinct characteristics for each strategy. Local optimal acceleration upholds the most stable performance with minimal oscillation, ideal for fostering consistent traffic flow. Global optimal acceleration, high in responsiveness, tends to destabilize as the oscillation amplitude grows with increasing horizon length, aligning with scenarios that demand rapid modulation but risk flow instability. Weighted acceleration offers a harmonious blend, with its moderate oscillations optimally balancing both stability and responsiveness attributes.
The influence of horizon length is notably pronounced in global optimal acceleration, where shorter spans necessitate frequent adjustments, while longer durations prompt fewer, yet critical, modifications. This detailed investigation accentuates the trade-offs between stability and responsiveness in car-following behaviors, underlining the importance of choosing suitable horizon lengths tailored to the desired equilibrium between these factors, contributing beneficial insights towards optimizing traffic management and bolstering transportation system efficiencies.

4.5.2. Time-Spatial Spectrum Graph

This section delves into the impact of different prediction horizons ( M = 10 , M = 40 , M = 60 , and M = 80 ) on AV motion state, as illustrated in Figure 11. We employ spectral density analysis as a quantitative tool to discern and evaluate the periodic patterns and interaction intensities in car-following dynamics. Such an analysis is instrumental in optimizing traffic flow and enhancing the stability and efficiency of transportation systems.
In Figure 11a ( M = 10 ), the spectral plot for a 10-view horizon delineates a distinct periodic pattern, characterized by alternating bands of high (red) and low (blue) spectral densities. These regions indicate, respectively, significant vehicle interactions and more stable car-following distances. The recurring nature of these patterns suggests regular oscillations in vehicle proximity. Spectral density values predominantly fluctuate between 180 and 220, peaking at around 1500 s. The observed periodicity of approximately 500 s signifies a consistent pattern of vehicle interaction, with stable amplitude oscillations throughout the analysis period. In Figure 11b ( M = 40 ), at a 40-view horizon, the spectral plot maintains a periodic pattern, albeit with more pronounced and frequent high-density (red) regions relative to the 10-view horizon, indicating increased vehicle interactions. This pattern exhibits slight irregularities, pointing to variable periodicities in vehicle spacing. The spectral density ranges are similar to the 10-view horizon, approximately between 180 and 210, yet with a peak at around 1000 s. The periodicity shortens to about 400 s, suggesting heightened vehicle interaction frequency. Furthermore, the amplitude of these oscillations illustrates more notable fluctuations in car-following distances over time. In Figure 11c ( M = 60 ), the plot for a 60-view horizon portrays a similar periodic pattern to the 10-second horizon, with alternating high-density (red) and low-density (blue) bands, indicative of fluctuations between intense and stable vehicle interactions. This regular pattern across the observation period suggests persistent oscillations in vehicle spacing. Spectral density values range from approximately 180 to 220, with the most significant density noted around 1500 s. The periodicity remains around 500 s, evidencing a consistent interval of vehicle interaction, with the amplitude of these oscillations maintaining relative stability over the period studied. In Figure 11d ( M = 80 ), at an 80-view horizon, the plot displays a periodic pattern akin to the 60-view horizon, but with more frequent and pronounced high-density (red) regions. This suggests increased and more intense vehicle interactions, with minor irregularities indicating variations in the periodicity of vehicle distances. While the spectral density values and periodicity trends mirror those observed in shorter horizons, the increased amplitude and irregularity in the pattern highlight more dynamic interactions in car-following behavior at this extended horizon.
This comprehensive spectral density analysis underlines the critical influence of prediction horizons on the dynamics of car-following behavior, offering valuable insights for traffic management and system optimization. The analysis of spectral density values, which range from approximately 180 to 210, reveals a peak density at approximately 1000 s. The periodicity of oscillations, noted at around 400 s, signifies a higher frequency of vehicle interactions compared to the 60-view horizon. Additionally, the amplitude of these oscillations is observed to be higher, suggesting more pronounced fluctuations in the distances between vehicles over time. The spectral density analysis, conducted across various horizons ( M = 10 , M = 40 , M = 60 , M = 80 ), offers valuable insights into the periodic patterns and the intensity of vehicle interactions in traffic flows. At a shorter horizon ( M = 10 ), the analysis displays a consistent periodic pattern with stable oscillations, indicative of regular vehicle interactions at intervals of approximately 500 s. As the horizon extends to 40, the frequency of vehicle interactions escalates, with a decrease in periodicity to about 400 s and an increase in the amplitude of oscillations, reflecting heightened fluctuations in vehicle distances. For intermediate horizons ( M = 60 ), the interactive pattern remains consistent with that observed at the 10-view horizon, albeit with increased intensity and frequency of interactions. The periodicity is maintained at approximately 500 s with stable oscillation amplitude, suggesting consistent car-following behavior. At the longest assessed horizon ( M = 80 ), the results indicate the most frequent and intense vehicle interactions characterized by prominent high-density regions, a 400 s periodicity, and greater amplitude in oscillations, highlighting notable fluctuations in vehicle distances over time.
This complete analysis underscores the influence of horizonal length on both the periodic patterns and the intensity of vehicle interactions in traffic flows. Shorter horizons foster stable and regular interactions, while longer horizons lead to increased frequency and intensity of interactions, with significant fluctuations in vehicle distances. These observations underscore the necessity of selecting an appropriate horizon length in car-following models to optimize traffic flow and enhance the efficiency of transportation systems.

5. Discussion & Conclusions

The rise of AVs has redefined traditional traffic systems, rendering fixed road lanes less relevant as AVs can dynamically organize into cooperative platoons driven by specialized algorithms. Inspired by the natural coordination observed in bird flocks within two-dimensional spaces, this study introduces a novel car-following model founded on the principles of PSO. The proposed model treats each AV as an independent agent operating within a two-dimensional plane, driven by local and global optimal velocity factors. Local optimal velocity is influenced by the nearest preceding vehicle, while global optimal velocity aggregates the influence of vehicles within a defined observational range. The stability of the AV-PSO model is assessed using linear system theory, with learning parameters ( c 1 , c 2 ) and the field of view (M) playing a pivotal role in ensuring traffic system stability. In addition, it is worth noting that this paper explores the operational control of AV platoon from a theoretical perspective, without fully considering passenger comfort, as well as “soft” instabilities (vehicles joining/leaving) and “hard” instabilities (technical failures/accidents). Future research will expand on these related aspects.
Extensive simulation studies have yielded several significant quantitative findings, particularly the following: (1) The AV-PSO model effectively captures car-following behaviors, aligning with empirical observations and the existing models. (2) The learning parameters c 1 and c 2 are critical for achieving and maintaining system stability. Notably, a quantitative comparison of the amplitude variations reveals significant differences between the two parameter configurations. With c 1 = 0.95 and c 2 = 0.05 , the velocity oscillations reach a maximum amplitude of approximately 3.0 m/s and drop to a minimum of nearly 0 m/s, resulting in a total velocity range of 3.0 m/s over an extended oscillation period of approximately 3000 s (from 1000 s to 4000 s). In contrast, when the parameters are set to c 1 = 0.55 and c 2 = 0.45 , the maximum amplitude decreases to about 2.5 m/s, with a minimum of 0.9 m/s, yielding a significantly reduced velocity range of 1.6 m/s and a shorter oscillation duration of approximately 2000 s (from 1000 s to 3000 s). These measurements demonstrate that the balanced parameter configuration reduces amplitude variation by approximately 47 % (from 3.0 m/s to 1.6 m/s) and shortens convergence time by about 33%, clearly indicating superior damping properties and system stability with more balanced learning parameters. (3) The field of vision parameter (M) significantly impacts system stability, as evidenced by the acceleration profiles in the provided figures. When comparing M = 80 with M = 10 while maintaining identical learning parameters ( c 1 = 0.9 , c 2 = 0.1 ) , the smaller field of vision demonstrates markedly different oscillation patterns. With M = 10 , acceleration oscillations exhibit a more consistent frequency and reach peak amplitudes of approximately ±1 m/s2, while the larger field of vision ( M = 80 ) produces more irregular oscillations with slightly lower peak amplitudes around ±0.9 m/s2. Notably, the system with M = 10 shows faster convergence, stabilizing completely by 4200 s, whereas the M = 80 system still displays residual oscillations at the same time point. This counter-intuitive result suggests that an intermediate field of vision, rather than maximizing observational range, optimizes platoon stability, with quantitative analysis showing an approximately 25 % improvement in convergence time when using a more focused field of vision tailored to immediate traffic conditions.
Compared to traditional car-following models, the proposed AV-PSO model offers significant advantages, including its ability to dynamically adapt to complex traffic environments and optimize vehicle behavior both locally and globally. However, it has some limitations. For instance, its reliance on predefined learning parameters may reduce adaptability in highly heterogeneous traffic scenarios, and additional computational overhead may be required for large-scale implementations. Future studies should explore these issues in greater depth and broaden the model’s scope by investigating its performance under varying conditions, such as different traffic densities, vehicle types, and speed limits. Furthermore, potential improvements could include integrating real-world data to refine parameter settings, applying dynamic learning mechanisms to adapt in real time, and incorporating environmental factors such as weather conditions and road gradients.

Funding

This project receives partial funding from the National Natural Science Foundation of China under grant number 61773243.

Data Availability Statement

The raw data supporting the conclusions of this article will be made available by the authors on request.

Conflicts of Interest

The author declares that he has no known competing financial interests or personal relationships that could have appeared to influence the work reported in this article.

Abbreviations

The following abbreviations are used in this manuscript:
AVAutonomous Vehicle
PSOParticle Swarm Optimization
CFMCar-Following Model
GHRGazis–Herman–Rothery
OVMOptimal Velocity Model
IDMIntelligent Driver Model
CFCar Following
AIArtificial Intelligence
ACOAnt Colony Optimization
OVFOptimal Velocity Function
V2XVehicle-to-Everything
QPSOQuantum PSO
ITSIntelligent Transportation Systems

References

  1. Han, J.; Wang, X.; Wang, G. Modeling the Car-Following Behavior with Consideration of Driver, Vehicle, and Environment Factors: A Historical Review. Sustainability 2022, 14, 8179. [Google Scholar] [CrossRef]
  2. Ahmed, H.U.; Huang, Y.; Lu, P. A Review of Car-Following Models and Modeling Tools for Human and Autonomous-Ready Driving Behaviors in Micro-Simulation. Smart Cities 2021, 4, 314–335. [Google Scholar] [CrossRef]
  3. Pipes, L.A. An perational nalysis of Traffic Dynamics. J. Appl. Phys. 1953, 24, 274–281. [Google Scholar] [CrossRef]
  4. Zhai, C.; Wu, W.; Xiao, Y. Modeling Continuous Traffic Flow with the Average Velocity Effect of Multiple Vehicles Ahead on Gyroidal Roads. Digit. Transp. Saf. 2023, 2, 124. [Google Scholar] [CrossRef]
  5. Wang, Z.; Shi, Y.; Tong, W.; Gu, Z.; Cheng, Q. Car-following Models for Human-driven Vehicles and Autonomous Vehicles: A Systematic Review. J. Transp. Eng. Part A Syst. 2023, 149, 04023075. [Google Scholar] [CrossRef]
  6. Han, J.; Shi, H.; Chen, L.; Li, H.; Wang, X. The Car-Following Model and Its Applications in the V2X Environment: A Historical Review. Future Internet 2022, 14, 14. [Google Scholar] [CrossRef]
  7. Jia, D.; Sun, J.; Sharma, A.; Zheng, Z.; Liu, B. Integrated Simulation Platform for Conventional, Connected and Automated Driving: A Design from Cyber–physical Systems Perspective. Transp. Res. Part C Emerg. Technol. 2021, 124, 102984. [Google Scholar] [CrossRef]
  8. Newell, R.E. The General Circulation of the Atmosphere and its Effects on the Movement of Trace Substances. J. Geophys. Res. 1963, 68, 3949–3962. [Google Scholar] [CrossRef]
  9. Bando, M.; Hasebe, K.; Nakayama, A.; Shibata, A.; Sugiyama, Y. Dynamical Model of Traffic Congestion and Numerical Simulation. Phys. Rev. E 1995, 51, 1035. [Google Scholar] [CrossRef]
  10. Treiber, M.; Hennecke, A.; Helbing, D. Congested Traffic States in Empirical Observations and Microscopic Simulations. Phys. Rev. E 2000, 62, 1805. [Google Scholar] [CrossRef]
  11. Zhang, T.T.; Jin, P.J.; McQuade, S.T.; Bayen, A.; Piccoli, B. Car-Following Models: A Multidisciplinary Review. IEEE Trans. Intell. Veh. 2024, 1–26. [Google Scholar] [CrossRef]
  12. Montanino, M.; Punzo, V. On String Stability of A Mixed and Heterogeneous Traffic Flow: A Unifying Modelling Framework. Transp. Res. Part B Methodol. 2021, 144, 133–154. [Google Scholar] [CrossRef]
  13. Kikuchi, S.; Chakroborty, P. Car-following Model Based on Fuzzy Inference System. Transp. Res. Rec. 1992, 1365, 82–91. [Google Scholar]
  14. Hao, H.; Ma, W.; Xu, H. A Fuzzy Logic-based Multi-agent Car-following Model. Transp. Res. Part C Emerg. Technol. 2016, 69, 477–496. [Google Scholar] [CrossRef]
  15. Chen, L.; Hu, X.; Tang, B.; Cheng, Y. Conditional DQN-based Motion Planning with Fuzzy Logic for Autonomous Driving. IEEE Trans. Intell. Transp. Syst. 2020, 23, 2966–2977. [Google Scholar] [CrossRef]
  16. Li, W.; Zhang, Y.; Shi, X.; Qiu, F. A Decision-making Strategy for Car Following Based on Naturalist Driving Data via Deep Reinforcement Learning. Sensors 2022, 22, 8055. [Google Scholar] [CrossRef]
  17. Axenie, C.; Scherr, W.; Wieder, A.; Torres, A.S.; Meng, Z.; Du, X.; Sottovia, P.; Foroni, D.; Grossi, M.; Bortoli, S.; et al. Fuzzy Modelling and Inference for Physics-aware Road Vehicle Driver Behaviour Model Calibration. Expert Syst. Appl. 2024, 241, 122590. [Google Scholar] [CrossRef]
  18. Dougherty, M. A Review of Neural Networks Applied to Transport. Transp. Res. Part C Emerg. Technol. 1995, 3, 247–260. [Google Scholar] [CrossRef]
  19. Pomerleau, D.A. Progress in Neural Network-Based Vision for Autonomous Robot Driving. In Proceedings of the Proceedings of the Intelligent Vehicles92 Symposium, Detroit, MI, USA, 29 June–1 July 1992; pp. 391–396. [Google Scholar] [CrossRef]
  20. Chen, L.; Lin, S.; Lu, X.; Cao, D.; Wang, F.Y. Deep Neural Network Based Vehicle and Pedestrian Detection for Autonomous Driving: A Survey. IEEE Trans. Intell. Transp. Syst. 2021, 22, 3234–3246. [Google Scholar] [CrossRef]
  21. Xu, D.; Zhang, B.; Qiu, Q.; Li, H.; Guo, H.; Wang, B. Graph-based Multi Agent Reinforcement Learning for On-ramp Merging in Mixed Traffic. Appl. Intell. 2024, 54, 6400–6414. [Google Scholar] [CrossRef]
  22. Zhang, L.; Zhang, M.; Feng, L. A Swarm Intelligent Model for AVs Based on Vicsek and OV Model. In Proceedings of the 2024 4th International Conference on Control Theory and Applications (ICoCTA), Hangzhou, China, 18–20 October 2024; pp. 101–105. [Google Scholar] [CrossRef]
  23. Kennedy, J.; Eberhart, R. Particle Swarm Optimization. In Proceedings of the ICNN’95-international conference on neural networks, Perth, WA, Australia, 27 November–1 December 1995; Volume 4, pp. 1942–1948. [Google Scholar] [CrossRef]
  24. Wang, D.; Tan, D.; Liu, L. Particle Swarm Optimization Algorithm: An Overview. Soft Comput. 2018, 22, 387–408. [Google Scholar] [CrossRef]
  25. Han, W.H. A New Simple Micro-PSO for High Dimensional Optimization Problem. Appl. Mech. Mater. 2012, 236, 1195–1200. [Google Scholar] [CrossRef]
  26. Wang, X.; Yao, W. A Discrete Particle Swarm Optimization Algorithm for Dynamic Scheduling of Transmission Tasks. Appl. Sci. 2023, 13, 4353. [Google Scholar] [CrossRef]
  27. Kourepinis, V.; Iliopoulou, C.; Tassopoulos, I.X.; Aroniadi, C.; Beligiannis, G.N. An Improved Particle Swarm Optimization Algorithm for the Urban Transit Routing Problem. Electronics 2023, 12, 3358. [Google Scholar] [CrossRef]
  28. Lo, S.C. A Particle Swarm Optimization Approach to Solve the Vehicle Routing Problem with Cross-Docking and Carbon Emissions Reduction in Logistics Management. Logistics 2022, 6, 62. [Google Scholar] [CrossRef]
  29. Zhang, D.; Wang, J.; Fan, H.; Zhang, T.; Gao, J.; Yang, P. New Method of Traffic Flow Forecasting Based on Quantum Particle Swarm Optimization Strategy for Intelligent Transportation System. Int. J. Commun. Syst. 2021, 34, e4647. [Google Scholar] [CrossRef]
  30. Gad, A.G. Particle Swarm Optimization Algorithm and its Applications: A Systematic Review. Arch. Comput. Methods Eng. 2022, 29, 2531–2561. [Google Scholar] [CrossRef]
  31. Tan, L.; Zhu, K.; Yi, J. Vehicle Route Planning of Diverse Cargo Types in Urban Logistics Based on Enhanced Ant Colony Optimization. World Electr. Veh. J. 2024, 15, 405. [Google Scholar] [CrossRef]
  32. Zhang, L.; Feng, L.; Zhang, M.; Ji, G.; Yang, L. Abnormal Communication Internet-connected Vehicle Platoon Dynamical Modelling and Characteristics Study. Phys. A Stat. Mech. Its Appl. 2024, 651, 130012. [Google Scholar] [CrossRef]
Figure 1. PSO principle illustration: (a) Flock of birds in sky. (b) Illustration of basic PSO algorithm.
Figure 1. PSO principle illustration: (a) Flock of birds in sky. (b) Illustration of basic PSO algorithm.
Electronics 14 01851 g001
Figure 2. Physical illustration of AV platoon.
Figure 2. Physical illustration of AV platoon.
Electronics 14 01851 g002
Figure 3. Logical graph of AV platoon particles.
Figure 3. Logical graph of AV platoon particles.
Electronics 14 01851 g003
Figure 4. Stability analysis of the Bando Model and AV-PS under various parameter settings: (a) Bando Model. (b) AV-PSO critical line with various c 2 values. (c) AV-PSO critical line with various c 1 values. (d) AV-PSO critical line with varying M values.
Figure 4. Stability analysis of the Bando Model and AV-PS under various parameter settings: (a) Bando Model. (b) AV-PSO critical line with various c 2 values. (c) AV-PSO critical line with various c 1 values. (d) AV-PSO critical line with varying M values.
Electronics 14 01851 g004
Figure 5. Velocity and peak value curves for leading vehicles (Vehicle #100, #99, #98): (a) velocity curve; (b) peak value curve.
Figure 5. Velocity and peak value curves for leading vehicles (Vehicle #100, #99, #98): (a) velocity curve; (b) peak value curve.
Electronics 14 01851 g005
Figure 6. Velocity profiles of middle vehicles (Car #51 and Car #50): (a) velocity curve; (b) ppeak value curve.
Figure 6. Velocity profiles of middle vehicles (Car #51 and Car #50): (a) velocity curve; (b) ppeak value curve.
Electronics 14 01851 g006
Figure 7. Tail vehicle group (Car #2 leading and Car #1 following): (a) velocity curve; (b) peak value curve.
Figure 7. Tail vehicle group (Car #2 leading and Car #1 following): (a) velocity curve; (b) peak value curve.
Electronics 14 01851 g007
Figure 8. Velocity curves of car #50 under varying learning factors: (a) c 1 = 0.95 , c 2 = 0.05 ; (b) c 1 = 0.75 , c 2 = 0.25 ; (c) c 1 = 0.65 , c 2 = 0.35 ; (d) c 1 = 0.55 , c 2 = 0.45 .
Figure 8. Velocity curves of car #50 under varying learning factors: (a) c 1 = 0.95 , c 2 = 0.05 ; (b) c 1 = 0.75 , c 2 = 0.25 ; (c) c 1 = 0.65 , c 2 = 0.35 ; (d) c 1 = 0.55 , c 2 = 0.45 .
Electronics 14 01851 g008
Figure 9. Time-spatial graph for all vehicles with varying learning coefficients: (a) c 1 = 0.95 , c 2 = 0.05 . (b) c 1 = 0.75 , c 2 = 0.25 . (c) c 1 = 0.65 , c 2 = 0.35 . (d) c 1 = 0.55 , c 2 = 0.45 .
Figure 9. Time-spatial graph for all vehicles with varying learning coefficients: (a) c 1 = 0.95 , c 2 = 0.05 . (b) c 1 = 0.75 , c 2 = 0.25 . (c) c 1 = 0.65 , c 2 = 0.35 . (d) c 1 = 0.55 , c 2 = 0.45 .
Electronics 14 01851 g009
Figure 10. Acceleration curves for local, global, and weighted optimal velocity for various values of M: (a) M = 10 . (b) M = 40 . (c) M = 60 . (d) M = 80 .
Figure 10. Acceleration curves for local, global, and weighted optimal velocity for various values of M: (a) M = 10 . (b) M = 40 . (c) M = 60 . (d) M = 80 .
Electronics 14 01851 g010
Figure 11. Time-Spatial Spectrum Graph: (a) M = 10 . (b) M = 40 . (c) M = 60 . (d) M = 80 .
Figure 11. Time-Spatial Spectrum Graph: (a) M = 10 . (b) M = 40 . (c) M = 60 . (d) M = 80 .
Electronics 14 01851 g011
Table 1. Stability evaluation indices.
Table 1. Stability evaluation indices.
P new ( c 2 ) P bando e % P new ( c 1 ) P bando e % P new ( M ) P bando e %
0.0152.433523.950.98502.433523.95202.433523.95
0.0301.945339.211.18202.116433.85401.981438.08
0.0451.620349.371.28051.987037.91601.671047.78
0.0601.388356.621.37901.872441.49801.444754.85
0.0751.214462.051.47751.770444.681001.272460.24
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Zhang, L. Swarm Intelligent Car-Following Model for Autonomous Vehicle Platoon Based on Particle Swarm Optimization Theory. Electronics 2025, 14, 1851. https://doi.org/10.3390/electronics14091851

AMA Style

Zhang L. Swarm Intelligent Car-Following Model for Autonomous Vehicle Platoon Based on Particle Swarm Optimization Theory. Electronics. 2025; 14(9):1851. https://doi.org/10.3390/electronics14091851

Chicago/Turabian Style

Zhang, Lidong. 2025. "Swarm Intelligent Car-Following Model for Autonomous Vehicle Platoon Based on Particle Swarm Optimization Theory" Electronics 14, no. 9: 1851. https://doi.org/10.3390/electronics14091851

APA Style

Zhang, L. (2025). Swarm Intelligent Car-Following Model for Autonomous Vehicle Platoon Based on Particle Swarm Optimization Theory. Electronics, 14(9), 1851. https://doi.org/10.3390/electronics14091851

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop