Movatterモバイル変換


[0]ホーム

URL:


Skip to main content

Advertisement

Springer Nature Link
Log in

An interaction-fair semi-decentralized trajectory planner for connected and autonomous vehicles

You have full access to thisopen access article

Autonomous Intelligent Systems Aims and scope Submit manuscript

Abstract

Lately, there has been a lot of interest in game-theoretic approaches to the trajectory planning of autonomous vehicles (AVs). But most methods solve the game independently for each AV while lacking coordination mechanisms, and hence result in redundant computation and fail to converge to the same equilibrium, which presents challenges in computational efficiency and safety. Moreover, most studies rely on the strong assumption of knowing the intentions of all other AVs. This paper designs a novel autonomous vehicle trajectory planning approach to resolve the computational efficiency and safety problems in uncoordinated trajectory planning by exploiting vehicle-to-everything (V2X) technology. Firstly, the trajectory planning for connected and autonomous vehicles (CAVs) is formulated as a game with coupled safety constraints. We then define the interaction fairness of the planned trajectories and prove that interaction-fair trajectories correspond to the variational equilibrium (VE) of this game. Subsequently, we propose a semi-decentralized planner for the vehicles to seek VE-based fair trajectories, in which each CAV optimizes its individual trajectory based on neighboring CAVs’ information shared through V2X, and the roadside unit takes the role of updating multipliers for collision avoidance constraints. The approach can significantly improve computational efficiency through parallel computing among CAVs, and enhance the safety of planned trajectories by ensuring equilibrium concordance among CAVs. Finally, we conduct Monte Carlo experiments in multiple situations at an intersection, where the empirical results show the advantages of SVEP, including the fast computation speed, a small communication payload, high scalability, equilibrium concordance, and safety, making it a promising solution for trajectory planning in connected traffic scenarios. To the best of our knowledge, this is the first study to achieve semi-distributed solving of a game with coupled constraints in a CAV trajectory planning problem.

Similar content being viewed by others

Explore related subjects

Discover the latest articles, news and stories from top researchers in related subjects.
Use our pre-submission checklist

Avoid common mistakes on your manuscript.

1Introduction

In recent years, the intelligence level of autonomous driving systems has gradually increased, stepping towards higher-level autonomous driving [1]. As the module that directly determines the vehicle’s motion state, the trajectory planner is a core component of the autonomous driving system and a key research area for achieving vehicle autonomous intelligence. With the advancement of real-world testing of autonomous vehicles and the deepening of trajectory planning research, the interaction modes among AVs have garnered more attention. The interaction between AVs is a phenomenon where their motion trajectories influence each other due to the exclusivity of road time-space resources. The classical AV trajectory planning model is “planning after prediction” [2]: prediction algorithms, as upstream processes, predict the motion trajectories of surrounding traffic participants. These trajectories are input into the trajectory planning module and are considered as dynamic obstacles or unreachable positions. In such models, only unilateral avoidance behavior of the ego vehicle is considered, while the response of other traffic participants to the ego vehicle’s actions, as well as the resulting mutual interactions among all traffic participants, are ignored. The waiting and avoidance behaviors of other participants towards the ego vehicle are difficult to manifest in this algorithmic process, leading to trajectories that are likely overly conservative [3].

To resolve conservatism in trajectory planning, the relationship between prediction and planning must be considered. Multi-agent systems, a technique specializing in the interaction behavior of autonomous agents, are increasingly being utilized by researchers to study autonomous driving problems [4,5]. In multi-agent approaches, game theory is a reasonable and suitable method for modeling the decisions and interactions of autonomous vehicles, because the concept of equilibrium in games captures the optimal actions of each vehicle under multi-vehicle interactions. Equilibrium is a stable solution for all players where each player, taking into account the utility influenced by others, chooses the optimal response and cannot benefit by unilaterally changing its decision. Presently, there have been studies on game-based trajectory planning of AVs, which involve different types of equilibrium concepts, including Nash equilibrium [6], generalized Nash equilibrium (GNE) [7], and Stackelberg equilibrium [8]. By endogenously considering the interactions between vehicles, game-theoretic methods have advantages over non-game-theoretic methods in many tasks with strong interactions, such as overtaking [9], lane changing [1012], intersection management [13,14], and racing [7]. However, these studies require the overly strong assumption that other vehicles’ objective functions are known by the ego vehicle, which is problematic in real-world scenarios. Some studies attempt to solve this problem through intention inference algorithms [15,16]. Moreover, each vehicle separately searches for equilibrium (namely, plans trajectories for every vehicle), which however lacks coordination. On the one hand, this method reduces the algorithm’s real-time performance by causing redundant computation in decision-making. On the other hand, it cannot ensure that all vehicles converge to the same equilibrium, which results in misjudgments about the actions of other vehicles and damages the algorithm’s safety.

We believe V2X is the key technology to resolve the aforementioned problems. CAVs can share states [17], intentions and decisions through V2X, which provides the possibility to design a coordinated and distributed solution for trajectory planning games. In addition, distributed solutions can avoid redundant computation and guarantee an equilibrium consensus among CAVs. Though there has already been some research utilizing distributed game-theoretic frameworks for CAVs, they seldom focus on trajectory-level planning. For example, [18] uses a cooperative evolutionary game and a distributed algorithm to jointly optimize vehicle routing and traffic signal timing but ignores constraints and dynamics at the trajectory level. Besides, [19] employs a decomposed non-cooperative game to decide acceleration/deceleration and steering in lane changing, but it can merely offer CAVs with a set of discrete choices for movement. In addition, [20] proposes a distributed trajectory planner for a two-vehicle cooperative game, which, however, does not consider coupled constraints and hence cannot ensure safety in collision avoidance. Meanwhile, [21] designs a non-cooperative differential game method for autonomous convoy control problems with distributed state feedback control based on neighbors’ information. However, this method relies on centralized solving of the coupled Riccati equations, thus is not distributed in computation. Furthermore, in the multi-agent system field closely related to CAV research, [22] formulates the multi-agent trajectory planning problem as a potential game and proposes a distributed iLQR algorithm that divides the centralized potential game into multiple local subproblems. However, this method requires each agent to solve the control of all its neighbors, limiting computational efficiency, and its applicability is constrained by the assumptions of the potential game.

To overcome these problems, this paper focuses on traffic scenarios where the penetration rate of CAVs is 100% and equipped with roadside units (RSUs). We model the trajectory planning problem as a GNE problem with collision avoidance modeled as coupled constraints, and propose a semi-decentralized VE-based planner (SVEP) for CAVs. In the proposed method, CAVs and RSU alternately optimize the trajectory and the multipliers for collision avoidance constraints so as to handle coupled constraints and solve the game semi-distributedly. Each vehicle only solves its own decision variables, which ensures real-time performance and scalability. A consensus mechanism for Lagrange multipliers is designed in SVEP so that each vehicle can converge to the same VE, thus enhancing safety. To our knowledge, this is the first study that solves a CAV trajectory planning game with coupled constraints semi-distributedly. Our contributions are as follows.

  • First of all, we model the trajectory planning problem of CAVs as a game with coupled constraints to enhance the safety of trajectories and respect the autonomy of each vehicle.

  • Then the concept of interaction fairness is proposed for the trajectories based on our model. Through sensitivity analysis, we show that an interaction-fair GNE is in fact a VE.

  • We propose SVEP, a semi-decentralized and VE-based planner for CAVs. By designing a solving method decomposed to each CAV and the RSU, the algorithm has the features of fast computation speed, a small communication payload, and high scalability. The algorithm enables CAVs to solve for a concordant equilibrium, thereby enhancing the safety of trajectories.

  • Finally, we conduct simulations in an intersection scenario with various numbers of vehicles and different driving routes to assess the running time, success rate, and equilibrium concordance rate. It shows that the computational efficiency and safety of SVEP are at an advanced level.

A preliminary version of this work was presented at [23]. While this journal version makes the following improvements: (1) We provide a more comprehensive and detailed derivation process to enhance the modeling and equilibrium analysis of the trajectory planning game, thereby improving clarity and ensuring theoretical rigor; (2) Next, we explicitly consider and elaborate on the specific communication process in the algorithm design, and evaluate the influence of communication time on the computational efficiency of SVEP through experimental and theoretical analysis; (3) At last, we analyze the dimensions in the computation of SVEP compared with those of trajectory planning algorithms based on GNE without V2X (e.g., ALGAMES [24] and iLQGames [25]). Thus, the advantages of SVEP in computational efficiency and scalability are elucidated theoretically and validated by the experimental results.

The remainder of this paper is organized as follows: Sec. 2 presents the formulation of the game-based CAV trajectory planning problem. Sec. 3 introduces the solution concept of the formulated game model, presents the concept of fair interaction from an economic perspective in particular, and analyzes the characteristics of the equilibrium of fair interaction. Sec. 4 provides the algorithm design and analysis for SVEP. Sec. 5 conducts simulation experiments and result analysis to study the performance of the proposed SVEP from the perspectives of computational efficiency and safety. Sec. 6 concludes the paper and discusses future directions.

Notations.0 denotes a vector with all elements being 0. The operator\(\operatorname{vec}(\cdot )\) is defined as the concatenation of column vectors or scalars\(a_{1},\dots ,a_{l}\), i.e.,\(\operatorname{vec}(a_{1},\dots ,a_{l})=(a_{1}^{\mathrm{T}},\dots ,a_{l}^{\mathrm{T}})^{\mathrm{T}}\). For a vector-valued function\(f(x)\),\(J_{f}(x)\) represents the Jacobian matrix of\(f(x)\). For a multivariate function\(g(x)\),\(\nabla _{x} g(x)\) denotes the gradient of\(g(x)\). For a vectorx and a matrixA,\(\|x\|^{2}_{A}=x^{\mathrm{T}}Ax\).\(A\odot B\) represents the Hadamard product of matricesA andB.\(\mathcal{N}_{C}\) denotes the normal cone of setC, intC represents the interior point set of setC, and\(|C|\) denotes the cardinal number of setC. Other main notations used in this paper are shown in Table 1, Table 2 and Table 3.

Table 1 Main notations (Part 1).
Table 2 Main notations (Part 2).
Table 3 Main notations (Part 3).

2Problem formulation

We consider a two-way traffic scenario equipped with an RSU without traffic signals, where the penetration rate of CAVs is 100%. We consider the trajectory planning problem ofn CAVs, where the set of all CAVs is denoted as\(\mathcal{N}=\{1,2,\dots ,n\}\) with\(i\in \mathcal{N}\) representing a single CAV. Fig. 1 gives an example of a trajectory planning problem in an intersection scenario, where\(n=5\) CAVs need to plan their trajectories.

Figure 1
figure 1

The traffic scenario and trajectory planning problem illustration. The points marked along the path indicate the position components of the trajectory, with darker colors representing later time steps. The RSU can communicate with all CAVs.

As mentioned in Sec. 1, game-based trajectory planners may lead to computational efficiency and safety problems when each vehicle independently solves its subjective game without coordination. In connected traffic environments, the RSU serves as fixed infrastructure with strong communication capabilities and can communicate with all CAVs in the scene. Therefore, we use the RSU to coordinate the trajectories of all CAVs in the scene during the trajectory planning process of each CAV. To achieve this, the RSU receives decision information from each CAV through V2X and provides each CAV with coordination results and information about other vehicles needed for decision-making. In this mode, CAVs only communicate with the RSU and do not need to communicate directly with other CAVs. To reduce communication payload and planning complexity, the RSU only coordinates the CAVs that need to interact. The reason for vehicle interaction is the exclusivity of road time-space resources, i.e., the necessity for vehicles to avoid collisions. Therefore, interaction is only necessary between vehicles that need to avoid collisions. Therefore, the information about other CAVs required for each CAV’s planning only includes information about CAVs that directly interact with it, i.e., information about vehicles that may collide directly. The RSU will determine the interaction relationship between vehicles to decide how to distribute the collected vehicle data. In the scenario illustrated in Fig. 1, the proximity to other CAVs is used as the criterion for determining the interaction, and the interaction relationship can be represented as an undirected graph, as shown in Fig. 2a. Denote this interaction graph as\(\mathcal{G}=\{\mathcal{N},\mathcal{E}\}\), where\(\mathcal{E}\) is the set of edges.\((i,j)\in \mathcal{E}\) if and only if CAVsi andj have an interaction relationship, and\((i,i)\notin \mathcal{E}\).\(\mathcal{G}\) may be a connected or disconnected graph, depending on the interaction situation. The CAVs that directly interact with CAVi are called the neighbors of CAVi. The neighbor set of CAVi is defined as\(\mathcal{N}_{i}=\{j\in \mathcal{N}|(i,j)\in \mathcal{E}\}\), where\(i\notin \mathcal{N}_{i}\). For any CAV\(i \in \mathcal{N}\), its information is only shared with any of its neighbors\(j\in \mathcal{N}_{i}\), and its information sharing is done through the RSU. The communication topology is shown in Fig. 2b.

Figure 2
figure 2

Examples of interaction and communication in the traffic scenario. (a) Interaction graph of CAVs. (b) Communication topology of CAVs and the RSU.

We use a receding horizon formulation for the problem setup.T denotes the discrete prediction horizon, with the discrete time steps\(k=1,\dots ,T\). Within the prediction horizon, denote the state and control vectors of CAVi at timek as\(x_{i}(k)\in \mathbb{R}^{l_{x}}\) and\(u_{i}(k)\in \mathbb{R}^{l_{u}}\), respectively. The specific form of the state and control is determined by the kinematic model. The trajectory to be planned for CAVi is a sequence ofT discrete-time states and controls\(s_{i}=\operatorname{vec}(s_{i}(1),s_{i}(2),\dots ,s_{i}(T))\), where

$$ s_{i}(k)= \textstyle\begin{cases} u_{i}(1), & k=1, \\ \operatorname{vec}(x_{i}(k),u_{i}(k)), & k\in [2, T-1],k\in \mathbb{Z}, \\ x_{i}(T), & k=T. \end{cases} $$
(1)

Then, we design the objective function\(J_{i}(s_{i})\) of CAVi. Given a reference trajectory\(x_{ref,i}(k)\) at time steps\(k=2,\dots ,T\), the objective of CAVi is to minimize the deviation of\(x_{i}(k)\) from\(x_{ref,i}(k)\), as well as to minimize the control input\(u_{i}(k)\) at time\(k=1,\dots ,T-1\). The objective function of CAVi is designed as a convex quadratic function below.

$$ \begin{aligned} J_{i}(s_{i})= & \frac{1}{2}\sum _{k=2}^{T-1} \|x_{i}(k)-x_{ref,i}(k) \|^{2}_{Q_{i}}+\frac{1}{2}\sum _{k=1}^{T-1}\|u_{i}(k)\|^{2}_{R_{i}} \\ & +\frac{1}{2}\|x_{i}(T)-x_{ref,i}(T)\|^{2}_{Q_{i,f}}, \end{aligned} $$
(2)

where\(Q_{i}\),\(Q_{i,f}\), and\(R_{i}\) are the weight matrices, all being positive definite diagonal matrices.

Next, we model the constraints that CAVi must comply with in trajectory planning. Let\(s_{\mathcal{N}_{i}}=\operatorname{vec}(s_{j}),\forall j\in \mathcal{N}_{i}\) denote the strategy profile of the neighbors of CAV\(i \in \mathcal{N}\). The private constraints ofi include dynamics constraints\(f_{i}(s_{i})=\boldsymbol{0}\), box constraints\(b_{i}(s_{i})\leq \boldsymbol{0}\), and lane constraints\(m_{i}(s_{i})\leq \boldsymbol{0}\), while the coupled constraints include collision avoidance constraints with neighbors\(h_{i}(s_{i},s_{\mathcal{N}_{i}})\leq \boldsymbol{0}\). Define the strategy set constrained by private constraints

$$ S_{i}=\{s_{i}|f_{i}(s_{i})=\boldsymbol{0},b_{i}(s_{i})\leq \boldsymbol{0},m_{i}(s_{i})\leq \boldsymbol{0}\}, $$
(3)

and by coupled constraints

$$ X_{i}\left (s_{\mathcal{N}_{i}}\right ) =\{s_{i} | h_{i}(s_{i},s_{ \mathcal{N}_{i}})\leq \boldsymbol{0}\}. $$
(4)

The specific form of these constraints is modeled as follows.

1.Dynamics constraints: We use the kinematic bicycle model [26], as shown in Fig. 3. The state of CAVi at time stepk, denoted by\(x_{i}(k)=\operatorname{vec}(p_{x,i}(k),p_{y,i}(k),v_{i}(k),\psi _{i}(k)) \in \mathbb{R}^{4}\), consists of thex andy coordinates, velocity, and yaw angle, while the control\(u_{i}(k)=\operatorname{vec}(a_{i}(k),\delta _{i}(k))\in \mathbb{R}^{2}\) consists of acceleration and front wheel steering angle. The continuous-time dynamics equations are

$$ \begin{aligned} \dot{p}_{x,i} &=v_{i}\cos \psi _{i}, \\ \dot{p}_{y,i} &=v_{i}\sin \psi _{i}, \\ \dot{v}_{i} &=a_{i}, \\ \dot{\psi }_{i} &=\frac{v_{i}\tan \delta _{i}}{L}, \end{aligned} $$
(5)

whereL is the longitudinal length of a CAV. Let (5) be denoted as\(\dot{x}_{i}=f_{\mathrm{c},i}(x_{i},u_{i})\). We discretize (5) using the fourth-order Runge-Kutta method to obtain the discrete-time dynamic equation (6).

$$ \begin{aligned} x_{i}(k+1)&=x_{i}(k)+\frac{T_{s}}{6}(K_{1}+K_{2}+K_{3}+K_{4}), \\ K_{1}&=f_{\mathrm{c},i}(x_{i}(k),u_{i}(k)), \\ K_{2}&=f_{\mathrm{c},i}(x_{i}(k)+\frac{T_{s}}{2}K_{1},u_{i}(k)), \\ K_{3}&=f_{\mathrm{c},i}(x_{i}(k)+\frac{T_{s}}{2}K_{2},u_{i}(k)), \\ K_{4}&=f_{\mathrm{c},i}(x_{i}(k)+T_{s}K_{3},u_{i}(k)), \end{aligned} $$
(6)

where the discrete period\(T_{s}\) is the time difference between adjacent discrete time steps. Then, the nonlinear dynamics constraints\(\tilde{f}_{i}(s_{i})=\boldsymbol{0}\) of CAVi are defined as

$$\begin{aligned} &\tilde{f}_{i}(s_{i})=\operatorname{vec}(x_{i}(k)+\frac{T_{s}}{6}(K_{1}+K_{2}+K_{3}+K_{4})-x_{i}(k+1)), \\ &\quad \forall k=1,\dots ,T-1. \end{aligned}$$
(7)

Finally, we only keep the first-order term of the Taylor expansion of the dynamics constraints\(\tilde{f}_{i}(s_{i})\) at the nominal value\(\bar{s}_{i}\) to obtain a simpler linear dynamics constraint\(f_{i}(s_{i})=\tilde{f}_{i}(\bar{s}_{i})+J_{\tilde{f}_{i}}(\bar{s}_{i}) \cdot (s_{i}-\bar{s}_{i})\), where\(\bar{s}_{i}\) is the nominal value given by initialization.

Figure 3
figure 3

An illustration of the kinematic bicycle model.

2.Box constraints: According to the prediction horizon of the decision variable\(s_{i}\) given by (1), the speed\(v_{i}(k)\), acceleration\(a_{i}(k)\), and front wheel steering angle\(\delta _{i}(k)\) of CAVi at timek are subject to the following box constraints

$$ \begin{aligned} v_{i,\min } \leq v_{i}(k) \leq v_{i,\max },&\forall k = 2,\dots , T, \\ a_{i,\min } \leq a_{i}(k) \leq a_{i,\max },&\forall k = 1,\dots , T-1, \\ \delta _{i,\min } \leq \delta _{i}(k) \leq \delta _{i,\max }, & \forall k = 1,\dots , T-1. \end{aligned} $$
(8)

3.Lane constraints: To achieve more accurate modeling than the commonly used Euclidean distance-based methods, we use the intersection between the circumscribed ellipse of the vehicle’s rectangular plan view and the lane boundary line\(\Gamma _{\ell }\) to determine whether the vehicle is off-lane, as shown in Fig. 4, where\(\ell \in \mathscr{L}\) is the index of the lane boundary line. By using the ellipse, we can ensure that the vehicle and the lane boundary line maintain a sufficient distance, taking into account the vehicle’s shape and orientation, which includes an adjustable safety margin.

Figure 4
figure 4

An illustration of lane constraint. The rectangle is the plan view of the CAV, and the ellipse is an adjustable circumscribed ellipse of the rectangle. We judge whether the CAVi crosses the lane boundary line based on whether the tangent line of the ellipse and the lane boundary line\(\Gamma _{\ell }\) intersect.

Let the expression of the circumscribed ellipse be

$$ \frac{x^{2}}{U^{2}}+\frac{y^{2}}{V^{2}}=1. $$
(9)

For a rectangle with lengthL and widthW, let\(L/W=(U/V)^{q}\), whereq is a parameter that adjusts the shape of the ellipse. From the fact that the rectangle vertex\((L/2,W/2)\) lies on the ellipse, we can obtain

$$ \begin{aligned} U^{2} &= \left (\frac{L}{2}\right )^{2} + \left (\frac{L}{2}\right )^{ \frac{2}{q}} \left (\frac{W}{2}\right )^{-\frac{2}{q}+2}, \\ V^{2} &= \left (\frac{W}{2}\right )^{2} + \left (\frac{L}{2}\right )^{- \frac{2}{q}+2} \left (\frac{W}{2}\right )^{\frac{2}{q}}. \end{aligned} $$
(10)

To simplify the form of the lane constraint, we linearize the lane boundary line to obtain the linear equation\(ax+by+c=0\) in the world coordinate framew. Since the ellipse equation (9) is expressed in the vehicle coordinate frame with the center of the vehicle as the origin and the vehicle longitudinal direction as thex-axis, we need to solve for the expression of the lane boundary line in the vehicle coordinate frame. The position and orientation of the world coordinate framew and the vehicle coordinate framei are shown in Fig. 4. Take any point\(P_{1}\) on the line. In the world coordinate framew, the two-dimensional coordinates of\(P_{1}\) are\({}^{w}\boldsymbol{p}=(x_{1},y_{1})\), and the homogeneous coordinates are\({ }^{w} \tilde{\boldsymbol{p}}=(x_{1},y_{1},1)^{\mathrm{T}}\). In the vehicle coordinate framei of the CAVi, let the expression of the line be\(d\check{x}+e\check{y}+f=0\), and the homogeneous coordinates of\(P_{1}\) are\({ }^{i} \tilde{\boldsymbol{p}}=(\check{x}_{1},\check{y}_{1},1)^{\mathrm{T}}\). At timek, the coordinate transformation matrix\({ }^{w} T_{i}\) of the vehicle coordinate framei relative to the world coordinate framew is

$$ { }^{w} T_{i}= \begin{bmatrix} \cos \psi _{i}(k) &-\sin \psi _{i}(k) &p_{x,i}(k) \\ \sin \psi _{i}(k) &\cos \psi _{i}(k) &p_{y,i}(k) \\ 0 &0 &1 \end{bmatrix} . $$
(11)

According to the coordinate transformation formula

$$ { }^{i} \tilde{\boldsymbol{p}} = { }^{i} T_{w}{ }^{w} \tilde{\boldsymbol{p}}=({ }^{w} T_{i})^{-1} { }^{w} \tilde{\boldsymbol{p}}, $$
(12)

we obtain the coordinates of\(P_{1}\) in the vehicle coordinate framei

$$ \begin{aligned} \check{x}_{1} ={}&(x_{1}-p_{x,i}(k))\cos \psi _{i}(k)+(y_{1}\\ &{}-p_{y,i}(k)) \sin \psi _{i}(k), \\ \check{y}_{1} ={}&(p_{x,i}(k)-x_{1})\sin \psi _{i}(k)+(y_{1}\\ &{}-p_{y,i}(k)) \cos \psi _{i}(k). \end{aligned} $$
(13)

From the fact that the coefficients of\(ax_{1}+by_{1}+c=0\) and\(d\check{x}_{1}+e\check{y}_{1}+f=0\) are equal, we obtain

$$ \begin{aligned} d &=a\cos (\psi _{i}(k)) + b\sin (\psi _{i}(k)), \\ e &=b\cos (\psi _{i}(k)) - a\sin (\psi _{i}(k)), \\ f &=c + ap_{x,i}(k) + bp_{y,i}(k). \end{aligned} $$
(14)

Substituting the line equation\(d\check{x}+e\check{y}+f=0\) into the ellipse equation yields

$$ \left (d^{2} U^{2}+e^{2} V^{2}\right ) \check{x}^{2}+2 d f U^{2} \check{x}+U^{2}\left (f^{2}-V^{2} e^{2}\right )=0. $$
(15)

The line and the ellipse do not intersect if and only if the above quadratic function has no real roots, and they are tangent if and only if the quadratic function has a unique real root. From the discriminant

$$ \Delta =4 U^{2} e^{2} V^{2}\left (d^{2} U^{2}+e^{2} V^{2}-f^{2} \right ), $$
(16)

we obtain the lane boundary constraint

$$ c_{i,\ell }(s_{i}(k))=d^{2} U^{2}+e^{2} V^{2}-f^{2}\leq 0. $$
(17)

In addition to the ellipse-line relationship, it is necessary to restrict the position of CAVi to the inner side of the lane boundary line, i.e.,\(d_{i,\ell }(s_{i}(k))=ap_{x,i}(k)+bp_{y,i}(k)+c\leq 0\). Finally, the nonlinear lane constraint is defined as\(\tilde{m}_{i}(s_{i}) = \operatorname{vec}(c_{i,\ell }(s_{i}(k)),d_{i, \ell }(s_{i}(k)))\leq \boldsymbol{0},\forall k = 2,\dots ,T, \forall \ell \in \mathscr{L}\). Using the same linearization method as the dynamics constraints, we obtain the linear lane constraint\(m_{i}(s_{i})\).

4.Collision avoidance constraints: CAVi and all its neighbors\(j\in \mathcal{N}_{i}\) are subject to collision avoidance constraints. In the collision avoidance constraints, the rectangular shape of the vehicles is also taken into account. The blue dashed curve in Fig. 5 encloses the maximum range of the center position of CAVj when it may collide with CAVi, which is formed by vertically aligning the diagonal of the rectangle of CAVj with the boundary of CAVi. Compared with the existing methods based on the Euclidean distance of the vehicle center (the orange circle in Fig. 5), the superellipse can give a more accurate collision risk area, thus reducing the conservatism of the collision avoidance constraints, and the superellipse also allows independent adjustment of the lateral and longitudinal safety margins of the vehicle. For conventional vehicle size ratios, we find that the 6th-order superellipse (the red superellipse in Fig. 5) can cover the critical collision range well.

Figure 5
figure 5

An illustration of collision avoidance constraints. The superellipse (red solid curve) used in this paper covers the collision area (blue dashed curve) more accurately than the common circle (orange solid curve), reducing the conservatism of the collision avoidance constraints.

The expression of the superellipse centered at the origin and longitudinally along thex-axis shown in Fig. 5 is

$$ \frac{x^{6}}{(L / 2 + D / 2) ^{6}} + \frac{y ^{6}}{(W / 2 + D/ 2) ^{6}} = 1, $$
(18)

whereL,W, and\(D=\sqrt{L^{2}+W^{2}}\) respectively represent the length, width, and diagonal length of the rectangle.

Similar to the lane constraints, a coordinate transformation from the world coordinate frame to the vehicle coordinate frame is needed to make the axis of the superellipse parallel to the coordinate axis, thus simplifying the expression. In the world coordinate framew, the homogeneous coordinates of CAVj at time stepk are\({ }^{w} \tilde{\boldsymbol{p}}_{j}(k)=(p_{x,j}(k),p_{y,j}(k),1)^{\mathrm{T}}\). The coordinates in the vehicle coordinate framei calculated by the coordinate transformation formula (12) are as follows.

$$ \begin{aligned} \check{p}_{x,j}(k)= {}&(p_{x,j}(k)-p_{x,i}(k))\cos \psi _{i}(k) \\ &{}+ (p_{y,j}(k)-p_{y,i}(k)) \sin \psi _{i}(k), \\ \check{p}_{y,j}(k)={} &(p_{x,i}(k)-p_{x,j}(k))\sin \psi _{i}(k) \\ &{}+ (p_{y,j}(k)-p_{y,i}(k)) \cos \psi _{i}(k). \end{aligned} $$
(19)

Then, at time stepk, the collision avoidance constraint between CAVsi andj denoted as\(h_{i,j}(s_{i}(k),s_{j}(k))\leq 0\) takes the following form

$$ h_{i,j}(s_{i}(k),s_{j}(k))=1- \frac{(\check{p}_{x,j}(k))^{6}}{(\frac{L}{2} + \frac{D}{2}) ^{6}} - \frac{(\check{p}_{y,j}(k)) ^{6}}{(\frac{W}{2} + \frac{D}{2}) ^{6}}. $$
(20)

We make CAVj also use (20) as the collision avoidance constraint when considering its interaction with CAVi, ensuring that the collision avoidance constraints ofi andj take the same form.

Throughout the prediction horizon, the collision avoidance constraint between CAVsi andj is defined as

$$ h_{i,j}(s_{i},s_{j})=\operatorname{vec}(h_{i,j}(s_{i}(k),s_{j}(k))), \forall k = 2,\dots ,T. $$
(21)

Therefore, the collision avoidance constraint between CAVi and all its neighbors is given by

$$ \tilde{h}_{i}(s_{i},s_{\mathcal{N}_{i}})=\operatorname{vec}(h_{i,j_{1}}(s_{i},s_{j_{1}}), \dots ,h_{i,j_{|\mathcal{N}_{i}|}}(s_{i},s_{j_{|\mathcal{N}_{i}|}})), $$
(22)

where\(j_{1},\dots ,j_{|\mathcal{N}_{i}|}\) is a permutation of all elements in\(\mathcal{N}_{i}\). The linearized equation of\(\tilde{h}_{i}(s_{i},s_{\mathcal{N}_{i}}) \) in (22) is\(h_{i}(s_{i},s_{\mathcal{N}_{i}})\).

Finally, the interactive trajectory planning problem considered in this paper is: Given the information sharing structure\(\mathcal{G}\), subject to the private constraint\(s_{i}\in S_{i}\) and the coupled constraint\(s_{i}\in X_{i}(s_{\mathcal{N}_{i}})\), how each CAVi determines its trajectory\(s_{i}\) so as to optimize its objective function\(J_{i}(s_{i})\). Here, the trajectory planning problem of CAVs is formulated as a non-cooperative game. Although the objective function\(J_{i}(s_{i})\) is formally independent of the decisions of other CAVs\(s_{-i}=\operatorname{vec}(s_{1},\dots ,s_{i-1},s_{i+1},\dots ,s_{n})\), the CAVs in the neighbor set\(\mathcal{N}_{i}\) will restrict the decision\(s_{i}\) of CAVi through the coupled constraint\(s_{i}\in X_{i}(s_{\mathcal{N}_{i}})\), thus affecting the minimum value of\(J_{i}(s_{i})\). Due to the existence of coupled constraints, the problem is a GNE problem (GNEP) and is defined as Problem 1. We assume each CAV has a feasible trajectory.

Problem 1

The trajectory planning GNEP is denoted by a tuple\(G=(\mathcal{N},\mathcal{G},(S_{i})_{i\in \mathcal{N}},(X_{i})_{i\in \mathcal{N}},(J_{i})_{i\in \mathcal{N}})\), where\(\mathcal{N}\) is the set of CAVs,\(\mathcal{G}\) is the interaction graph of CAVs,\(S_{i}\) and\(X_{i}\) are the strategy constraint sets of CAVi determined by private (3) and coupled (4) constraints, respectively, and\(J_{i}\) is the objective function of CAV\(i \in \mathcal{N}\). Each CAVi obtains the information of its neighbors\(j\in \mathcal{N}_{i}\) and coordination information through the RSU, and solves the minimization problem

$$ \textstyle\begin{array}{r@{\quad}l} \min \limits _{s_{i}} &J_{i}(s_{i}), \\ \mathrm{s.t.} &s_{i}\in S_{i}\cap X_{i}(s_{\mathcal{N}_{i}}). \end{array} $$
(23)

3Solution concept and its fairness

The solution to Problem 1 is a GNE, where each agent’s decision\(s_{i}\) is the best response to\(s_{\mathcal{N}_{i}}\). The definition of a GNE is as follows.

Definition 1

The GNE of Problem 1 is a strategy profile\(s^{*}=\operatorname{vec}\left (s_{1}^{*}, \dots , s_{n}^{*}\right )\) satisfying

$$ J_{i}(s_{i}^{*}) \leq J_{i}(s_{i}), \forall s_{i} \in S_{i} \cap X_{i} \left (s_{\mathcal{N}_{i}}^{*}\right ), \forall i \in \mathcal{N}. $$
(24)

In this problem, the objective function\(J_{i}(s_{i})\) and the coupled constraint\(h_{i}(s_{i},s_{\mathcal{N}_{i}})\) are continuously differentiable. Then, the first-order necessary conditions (i.e., the KKT conditions) for the GNE of Problem 1 is given by the following Lemma 1, which has also been shown in [27, Theorem 4.6].

Lemma 1

If\(s^{*}\)is the GNE of Problem 1,then for any\(i\in \mathcal{N}\),there exists a Lagrange multiplier vector\(\lambda _{i}^{*}\),such that

$$ \textstyle\begin{array}{c} \boldsymbol{0}\in \nabla _{s_{i}}J_{i}(s_{i}^{*})+ \nabla _{s_{i}} h_{i}(s_{i}^{*},s_{ \mathcal{N}_{i}}^{*})\cdot \lambda _{i}^{*}+\mathcal{N}_{S_{i}}(s_{i}^{*}), \\ h_{i}(s_{i}^{*},s_{\mathcal{N}_{i}}^{*})\leq \boldsymbol{0},\ \; \lambda _{i}^{*}\geq \boldsymbol{0},\ \; \lambda _{i}^{*} \odot h_{i}(s_{i}^{*},s_{ \mathcal{N}_{i}}^{*})=\boldsymbol{0}, \end{array} $$
(25)

where\(\mathcal{N}_{S_{i}}\)represents the normal cone of the set\(S_{i}\),and the gradient operatorfollows the denominator layout.

Note that, in Sec. 2, by linearization, the constraints in Problem 1 are all linear constraints. In addition, the cost function is quadratic with a positive definite Hessian matrix. Therefore, we conclude the convexity of Problem 1 as stated in Lemma 2. That is, for any given\(i\in \mathcal{N}\) and\(s_{\mathcal{N}_{i}}\), Problem 1 is a convex optimization problem.

Lemma 2

In Problem 1,for any\(i \in \mathcal{N}\),\(J_{i}(s_{i})\)is a convex function;for any\(i \in \mathcal{N}\)and any\(s_{\mathcal{N}_{i}}\),\(S_{i}\)and\(X_{i}(s_{\mathcal{N}_{i}})\)are closed convex sets.

From the modeling, it is known that for any\(i \in \mathcal{N}\) and any\(s_{i} \in \operatorname{int}\mathbb{R}^{(l_{x}+l_{u})(T-1)}\), the domain of Problem 1 is\(\mathcal{D}=\operatorname{dom} f_{i}(\cdot ) \cap \operatorname{dom} b_{i}( \cdot ) \cap \operatorname{dom} m_{i}(\cdot ) \cap \operatorname{dom} h_{i}( \cdot , s_{\mathcal{N}_{i}}) \cap \operatorname{dom} J_{i}(\cdot )= \mathbb{R}^{(l_{x}+l_{u})(T-1)}\). Moreover, as described in Sec. 2, Problem 1 has feasible solutions, which means that there exists an interior point in\(\mathcal{D}\) satisfying all constraints. Since all inequality constraints in Problem 1 are affine, according to [28, (5.27)], Problem 1 satisfies the refined Slater’s constraint qualification. This property is formally stated in Lemma 3.

Lemma 3

(Refined Slater’s constraint qualification):In Problem 1,for any\(i \in \mathcal{N} \)and any\(s_{\mathcal{N}_{i}} \in \mathbb{R}^{(l_{x}+l_{u})(T-1)|\mathcal{N}_{i}|}\),there exists\(s_{i} \in \operatorname{int}\mathbb{R}^{(l_{x}+l_{u})(T-1)}\)such that

$$ f_{i}(s_{i})=\boldsymbol{0}, b_{i}(s_{i})\leq \boldsymbol{0}, m_{i}(s_{i}) \leq \boldsymbol{0}, h_{i}(s_{i},s_{\mathcal{N}_{i}})\leq \boldsymbol{0}. $$
(26)

According to [28, Chapter 5.2.3], based on Lemmas 2 and3, for any given\(s_{\mathcal{N}_{i}}\), strong duality holds in Problem 1. Under these conditions, KKT conditions are necessary and sufficient conditions for primal and dual optimal solutions, which means that the\(\lambda _{i}^{*}\) satisfying the KKT conditions (25) is the optimal solution to the dual problem. Inspired by [28, Chapter 5.6.3], it can be proven that\(\lambda _{i}^{*}\) is the local sensitivity of\(J_{i}(s_{i}^{*})\) to perturbations\(w_{i}\) in\(h_{i}(s_{i},s_{\mathcal{N}_{i}})\). From an economic perspective, this property means that\(\lambda _{i}^{*}\) constitutes the shadow price of collision-free road space resources, and directly reflects the value of safety to CAVi. We will elaborate on the economic significance in a later part of this section.

To illustrate the local sensitivity of\(J_{i}(s_{i}^{*})\) to perturbations of the constraint\(h_{i}(s_{i},s_{\mathcal{N}_{i}})\), we need to impose a perturbation\(w_{i}\) on the right-hand side of the constraint\(h_{i}(s_{i},s_{\mathcal{N}_{i}})\leq \boldsymbol{0}\). Corresponding to the vector definition of the coupled constraint\(h_{i}(s_{i},s_{\mathcal{N}_{i}})\) in (21) and (22), we give the definitions of the Lagrange multiplier\(\lambda _{i}\) and the perturbation\(w_{i}\) as

$$ \begin{aligned} \lambda _{i}^{*} & =\operatorname{vec}(\lambda _{i,j_{1}}^{*},\dots , \lambda _{i,j_{|\mathcal{N}_{i}|}}^{*}), \\ w_{i} & =\operatorname{vec}(w_{i,j_{1}},\dots ,w_{i,j_{|\mathcal{N}_{i}|}}), \end{aligned} $$
(27)

where\(\forall l=1,\dots ,|\mathcal{N}_{i}|\), we have

$$ \begin{aligned} \lambda _{i,j_{l}}^{*} & =\operatorname{vec}(\lambda _{i,j_{l}}^{*}(2), \dots ,\lambda _{i,j_{l}}^{*}(T)), \\ w_{i,j_{l}} & =\operatorname{vec}(w_{i,j_{l}}(2),\dots ,w_{i,j_{l}}(T)). \end{aligned} $$
(28)

Here,\(\lambda _{i,j_{l}}^{*}(k)\) and\(w_{i,j_{l}}(k)\) are the multiplier and the perturbation associated with the collision avoidance constraint\(h_{i,j_{l}}(s_{i}(k),s_{j_{l}}(k))\) between CAVi and\(j_{l}\) at time stepk.

For any given\(i\in \mathcal{N}\) and\(s_{\mathcal{N}_{i}} \), the perturbed problem is formulated as

$$ \textstyle\begin{array}{r@{\quad}l} \min \limits _{s_{i}\in S_{i}} & J_{i}(s_{i}), \\ \mathrm{s.t.} & h_{i}(s_{i},s_{\mathcal{N}_{i}})\leq w_{i}. \end{array} $$
(29)

Let the optimal value of problem (29) be\(p(w)=\min J_{i}(s_{i}), \mathrm{s.t.}\ h_{i}(s_{i},s_{\mathcal{N}_{i}}) \leq w_{i}, s_{i}\in S_{i}\). Then it can be proven that\(p(w_{i})\) and\(\lambda _{i}^{*}\) satisfy Theorem 1.

Theorem 1

Let\(\lambda _{i}^{*}\)be the multiplier vector satisfying the KKT conditions (25).Then\(\lambda _{i,j}^{*}=- \frac{\partial p(\boldsymbol{0})}{\partial w_{i,j}}\).

Proof

Let the Lagrangian dual function be\(d(\lambda _{i})= \min _{s_{i}\in S_{i}} J_{i}(s_{i})+\lambda _{i}^{\mathrm{T}} h_{i}(s_{i}, \bar{s}_{\mathcal{N}_{i}})\). By the strong duality condition,\(\lambda _{i}^{*}\) is the optimal solution to the dual problem of the problem (29) when\(w_{i}=\boldsymbol{0}\). For any feasible solution\(s_{i}\) of the problem (29), since\(S_{i}\) is not perturbed, we still have\(d(\lambda _{i}^{*})\leq J_{i}(s_{i})+\lambda _{i}^{*\mathrm{T}} h_{i}(s_{i}, \bar{s}_{\mathcal{N}_{i}})\). Therefore, we have

$$\begin{aligned} p(\boldsymbol{0})&=d(\lambda _{i}^{*})\leq J_{i}(s_{i})+\lambda _{i}^{*\mathrm{T}} h_{i}(s_{i},\bar{s}_{\mathcal{N}_{i}}) \\ &\leq J_{i}(s_{i})+\lambda _{i}^{*\mathrm{T}} w_{i}. \end{aligned}$$
(30)

Consider the perturbation\(\hat{w}_{i}=\operatorname{vec}(0,\dots ,0,\alpha ,0,\dots ,0) \in \mathbb{R}^{ (T-1)|\mathcal{N}_{i}|}\), where\(\hat{w}_{i,j}(k)=\alpha \in \mathbb{R}\) and other components are zero. Then,

$$ \lim _{\alpha \to 0}\frac{p(\hat{w}_{i})-p(\boldsymbol{0})}{\alpha}= \frac{\partial p(\boldsymbol{0})}{\partial w_{i,j}(k)}. $$

From (30), when the perturbation\(w_{i}=\hat{w}_{i}\), any feasible solution\(s_{i}\) of the problem (29) satisfies\(p(\boldsymbol{0})\leq J_{i}(s_{i})+\lambda _{i}^{*\mathrm{T}} \hat{w}_{i}=J_{i}(s_{i})+ \alpha \lambda _{i,j}^{*}(k)\). Since\(p(\hat{w}_{i})\) is the optimal value of the objective function, it satisfies\(p(\boldsymbol{0})\leq p(\hat{w}_{i})+\alpha \lambda _{i,j}^{*}(k)\), then we have

$$ p(\hat{w}_{i})-p(\boldsymbol{0})\geq -\alpha \lambda _{i,j}^{*}(k). $$

Using this inequality, we obtain

$$ \frac{p(\hat{w}_{i})-p(\boldsymbol{0})}{\alpha} \textstyle\begin{cases} \geq -\lambda _{i,j}^{*}(k), & \alpha > 0, \\ \leq -\lambda _{i,j}^{*}(k), & \alpha < 0. \end{cases} $$

Taking the limit of the above equation yields

$$ \frac{\partial p(\boldsymbol{0})}{\partial w_{i,j}(k)}=\lim _{\alpha \to 0}\frac{p(\hat{w}_{i})-p(\boldsymbol{0})}{\alpha}=-\lambda _{i,j}^{*}(k). $$

Hence,

$$ \begin{aligned} \frac{\partial p(\boldsymbol{0})}{\partial w_{i,j}}= & \operatorname{vec}\left ( \frac{\partial p(\boldsymbol{0})}{\partial w_{i,j}(2)},\dots , \frac{\partial p(\boldsymbol{0})}{\partial w_{i,j}(T)}\right ) \\ = & -\operatorname{vec}(\lambda _{i,j}^{*}(2),\dots ,\lambda _{i,j}^{*}(T)) = -\lambda _{i,j}^{*}, \end{aligned} $$

i.e.,\(\lambda _{i,j}^{*}=- \frac{\partial p(\boldsymbol{0})}{\partial w_{i,j}}\). □

Theorem 1 illustrates the sensitivity meaning of\(\lambda _{i}^{*}\). It is noticed that\(h_{i}(s_{i},s_{\mathcal{N}_{i}})\leq \boldsymbol{0}\) represents the scarcity of collision-free road space resources.\(J_{i}(s_{i})\) is the cost of CAVi, and thus\(-J_{i}(s_{i})\) can be interpreted as the payoff of CAVi. It is seen that\(\lambda _{i,j}^{*}\) equals the marginal rate of increase in the payoff of CAVi when increasing the collision-free road space resource with CAVj, which is called the marginal revenue product in economics, or the rate of decrease in payoff when the resource decreases, under the condition that other conditions remain unchanged. Since road space resources are not tradable, the multiplier\(\lambda _{i}^{*}\) of\(h_{i}\) is the shadow price of collision-free road space resources and directly reflects the value of safety to vehiclei.

To obtain fair interaction among CAVs, the shadow prices of collision-free road space resources for each pair of mutually yielding CAVs should be equal, meaning that both CAVs bear the same rate of payoff decrease to avoid collisions.Hence, an interaction-fair GNE is defined when the following is satisfied:

$$ \lambda _{i,j}^{*}=\lambda _{j,i}^{*},\quad \forall i \in \mathcal{N}, \forall j \in \mathcal{N}_{i}. $$
(31)

Some existing studies also provide insights into achieving fairness using equal Lagrange multipliers. For example, [29] explores a Stackelberg game in which the leader sets constraints for the followers and ensures their compliance through incentives, such as taxation or subsidies. The Lagrange multipliers are shown to be the incentive level required to respect the constraints, so equal multipliers imply nondiscriminatory incentives. This game can be applied to the issue of government control of environmental pollution levels. Similarly, [30] interprets the Lagrange multipliers of shared constraints in a GNEP as the prices charged by an administrator to anonymous players. Since players are indistinguishable to the administrator, charging nondiscriminatory prices, i.e., making multipliers equal, is a reasonable approach. Besides, [31] studies a GNE-based autonomous energy management approach in an integrated energy system, where the input energy system is limited by the capacities of electrical feeders and gas pipelines, thus forming global coupled constraints. In this case, the multipliers are the shadow prices charged by energy providers to various residential energy hubs, so identical shadow prices imply fairness. Overall, in existing studies, the Lagrange multipliers of globally shared coupled constraints represent the cost charged by a central entity to all players. In contrast, this paper focuses on bilateral interactions’ coupled constraints between each pair of CAVs, which only apply to the collision-avoidance counterparts. Accordingly, fairness is also formed between each pair of CAVs, not imposed uniformly by the center entity on all CAVs. Therefore, the issues and concepts explored in this paper have structural differences from the aforementioned studies.

Next, we explain that the GNE of Problem 1 satisfying (31) is a VE. To illustrate this point, we first define the variational equilibrium [27]. Define the strategy profile of all CAVs as\(s=\operatorname{vec}(s_{1},\dots ,s_{n})\in \mathbb{R}^{(l_{x}+l_{u})(T-1)n}\), and the pseudo-gradient as

$$ \mathcal{J}(s)=\operatorname{vec}(\nabla _{s_{1}}J_{1}(s_{1}),\dots , \nabla _{s_{n}}J_{n}(s_{n})). $$
(32)

The definition of VE is given by Definition 2.

Definition 2

For the GNE Problem 1, if\(\forall i\in \mathcal{N}\),\(J_{i}\left (s_{i}\right )\) is a convex function, and\(\forall i\in \mathcal{N}\),\(\forall s_{\mathcal{N}_{i}} \),\(S_{i}\) and\(X_{i}\left (s_{-i}\right )\) are closed convex sets, and there exists a closed convex setK such that\(\forall i \in \mathcal{N}\),\(X_{i}\left (s_{-i}\right )=\left \{ s_{i}|\left (s_{i}, s_{-i} \right ) \in K\right \}\), then the solution to the following variational inequality (VI) problem (33) is also a solution to Problem 1: Find\(s^{*}\in K\) such that

$$ \langle \mathcal{J}(s),s-s^{*}\rangle \geq 0,\forall s\in K. $$
(33)

The solution to the VI (33) is called a variational equilibrium.

In this problem,\(X_{i}\left (s_{-i}\right )=X_{i}(s_{\mathcal{N}_{i}})\). By Lemma 2,\(S_{i}\) is a closed convex set, thus its Cartesian product\(S=\prod _{i=1}^{n} S_{i}\) is also a closed convex set.\(h_{i}\) is a linear constraint, so its epigraph is a closed convex set ofs, and the intersection of the epigraphs\(X=\{s|h_{i}(s_{i},s_{\mathcal{N}_{i}})\leq 0,\forall i\in \mathcal{N}\}\) is a closed convex set ofs. Hence, the closed convex set\(K=S\cap X\) satisfies the condition required by Definition 2, proving that Problem 1 satisfies the conditions of Definition 2.

In the following, we use the KKT conditions to explain that the interaction-fair GNE is a VE. Let each CAV consider the unrepeated concatenation of\(h_{i}(s_{i},s_{\mathcal{N}_{i}})\) as\(h(s)\leq \boldsymbol{0}\). Since\(h_{i,j}(s_{i}(k),s_{j}(k))=h_{j,i}(s_{j}(k),s_{i}(k))\), and the collision avoidance constraints of any other two CAVs do not appear in the decision problem (23) of CAVi, replacing\(h_{i}(s_{i},s_{\mathcal{N}_{i}})\leq \boldsymbol{0}\) with\(h(s)\leq \boldsymbol{0}\) does not affect the solution. For such a problem with globally shared coupled constraints, the KKT conditions of VI have been analyzed in [32], that is, if\(s^{*}\) is the solution of the VI, then there exists\(\lambda ^{*}\) satisfying

$$ \textstyle\begin{array}{c} \boldsymbol{0}\in \nabla _{s_{i}}J_{i}(s_{i}^{*})+ \nabla _{s_{i}} h(s^{*}) \cdot \lambda ^{*}+\mathcal{N}_{S_{i}}(s_{i}^{*}),\forall i\in \mathcal{N}, \\ h(s^{*})\leq \boldsymbol{0}, \\ \lambda ^{*}\geq \boldsymbol{0}, \\ \lambda ^{*} \odot h(s^{*})=\boldsymbol{0}. \end{array} $$
(34)

In\(\nabla _{s_{i}} h(s^{*})\), terms unrelated to\(s_{i}^{*}\) are zero. Thus, only the coupled constraints betweeni and its neighbors need to be retained. Hence,\(\nabla _{s_{i}} h(s^{*})\cdot \lambda ^{*}=\sum _{j\in \mathcal{N}_{i}} \nabla _{s_{i}} h_{i,j}(s_{i}^{*},s_{j}^{*})\cdot \lambda _{i,j}^{*}\). Besides, since\(h_{i,j}(s_{i}(k),s_{j}(k))=h_{j,i}(s_{j}(k),s_{i}(k))\), and\(h(s)\) only contains unique collision avoidance constraints,\(h(s)\) only includes either\(h_{i,j}(s_{i}(k),s_{j}(k))\) or\(h_{j,i}(s_{j}(k),s_{i}(k))\), and they correspond to the same Lagrange multiplier, i.e.,\(\lambda _{i,j}^{*}=\lambda _{j,i}^{*}\). Then, explicitly writing out the coupled constraints betweeni and each neighbor\(j\in \mathcal{N}_{i}\), we obtain the KKT conditions of the VI corresponding to the original problem are as shown in Theorem 2.

Theorem 2

If\(s^{*}\)is the solution to the VI (33),then\(\forall i\in \mathcal{N}\),there exists a Lagrange multiplier vector\(\lambda _{i}^{*}\),such that\(\forall i\in \mathcal{N}, \forall j \in \mathcal{N}_{i}\),

$$\begin{aligned} &\boldsymbol{0}\in \nabla _{s_{i}}J_{i}(s_{i}^{*})+ \sum \limits _{j \in \mathcal{N}_{i}} \nabla _{s_{i}} h_{i,j}(s_{i}^{*},s_{j}^{*}) \cdot \lambda _{i,j}^{*} +\mathcal{N}_{S_{i}}(s_{i}^{*}), \\ &h_{i,j}(s_{i}^{*},s_{j}^{*})\leq \boldsymbol{0},\ \; \lambda _{i,j}^{*} \geq \boldsymbol{0}, \\ &\lambda _{i,j}^{*T} h_{i,j}(s_{i}^{*},s_{j}^{*})= \boldsymbol{0}, \ \; \lambda _{i,j}^{*}=\lambda _{j,i}^{*}. \end{aligned}$$
(35)

Next, we explain the relationship between the KKT conditions (25) of the GNE and the KKT conditions (35) of the VI (33). Theorem 4.8 of [27] analyzed the case of globally shared coupled constraints. But for Problem 1 considered in this work, the coupled constraints\(h_{i,j}(s_{i},s_{j}), j\in \mathcal{N}_{i}\) only exist in the problems of CAVi andj. Accordingly, in the KKT conditions (25) of the GNE and the KKT conditions (35) of the VI (33), only CAVi and\(j\in \mathcal{N}_{i}\) have multipliers\(\lambda _{i,j},\lambda _{j,i}\) associated with\(h_{i,j}(s_{i},s_{j})\). Therefore, the multiplier equality condition\(\lambda _{1}=\dots =\lambda _{n}\) in Theorem 4.8 of [27] is equivalent to\(\lambda _{i,j}=\lambda _{j,i}, j\in \mathcal{N}_{i}\) in the context of this work. The relationship between the KKT conditions (25) and (35) is given by Theorem 3.

Theorem 3

For the GNE Problem 1,the relationship between the KKT conditions (25)of the GNE and the KKT conditions (35)of the VI (33)is as follows.

(1)If\(s^{*}\)is a solution to the VI (33)such that the KKT conditions (35)hold for\(\lambda _{1}^{*},\dots ,\lambda _{n}^{*}\).Then\(s^{*}\)is a GNE,and the KKT conditions of the GNE (25)are satisfied with\(\lambda _{i,j}=\lambda _{j,i}=\lambda _{i,j}^{*}=\lambda _{j,i}^{*}, \forall i\in \mathcal{N}, \forall j\in \mathcal{N}_{i}\).

(2)If\(s^{*}\)is a GNE,such that the KKT conditions of the GNE (25)are satisfied with\(\lambda _{i,j}^{*}=\lambda _{j,i}^{*},\forall i\in \mathcal{N}, \forall j\in \mathcal{N}_{i}\).Then\((s^{*}, \lambda _{1}^{*},\dots ,\lambda _{n}^{*})\)is a KKT point of the VI (33)and\(s^{*}\)is a solution to (33).

According to Definition 2 and Theorem 3, we conclude that a GNE of Problem 1 satisfying (31) is a VE. Therefore, the problem of finding the VE of Problem 1 is called the VE problem.

4Algorithm

Based on the modeling and solution analysis of the trajectory planning problem for CAVs as discussed in Sec. 2, this section proposes a semi-decentralized and VE-based planner (SVEP), which has the following characteristics:

1.Fast computation speed: SVEP uses a semi-distributed computation mode where each vehicle only decides its own variables. Additionally, the interaction and information sharing structure of SVEP is such that each CAV only considers the influence of its neighbors’ decisions on its own decision, rather than the decisions of all other CAVs in the game. Therefore, compared to previous game-based trajectory planning algorithms [24,25], SVEP has fewer decision variable dimensions and coupled constraints. Besides, the core optimization problem is formulated as a quadratic programming problem. These factors enable SVEP to achieve real-time planning performance.

2.Small communication payload: In SVEP, the decision variable\(s_{i}\) of each CAV\(i\in \mathcal{N}\) is shared only among its neighbors\(\mathcal{N}_{i}\), while the objective function\(J_{i}(s_{i})\) and private constraints\(s_{i}\in S_{i}\) are not shared. The algorithm operates based on necessary information sharing, minimizing communication payload as much as possible.

3.High scalability: The semi-distributed computation mode results in a much lower computational load on the RSU compared to CAVs. The interaction structure, which considers only neighbors’ decisions, ensures that when a new CAV enters the traffic scenario, it directly affects only the problems of its neighbors, with minimal influence on the overall system.

4.1Algorithm framework

We propose a semi-distributed VE solving algorithm framework based on the augmented Lagrangian method to plan trajectories for CAVs. The advantage of using the augmented Lagrangian method is that it iteratively updates the Lagrange multipliers, thus possessing the ability to explicitly adjust the dual variables, which provides the condition for satisfying the multiplier equality property of the VE; moreover, this method can solve constrained optimization problems with a fast convergence rate.

The core idea of SVEP lies in that each CAV\(i\in \mathcal{N}\) and the RSU alternately optimize\(s_{i}\) and\(\lambda _{i}\) to meet the KKT conditions. The SVEP framework is shown in Algorithm 1, where the superscriptk of variables denotes the iteration number and the subscript\(1:n\) indicates the variables of CAVs 1 ton as input parameters. According to Theorem 3, for the VE problem1, it is only necessary to consider the concordance of the multipliers of the coupled constraints among all constraints and their corresponding multipliers, namely,\(\lambda _{i,j}=\lambda _{j,i},j\in \mathcal{N}_{i}\). Therefore, unlike the typical augmented Lagrangian method, the augmented Lagrangian function in this work consists solely of the objective function and the term of the coupled constraint\(h_{i}(s_{i},s_{\mathcal{N}_{i}})\), as detailed in Sec. 4.2.

Algorithm 1
figure a

Framework of Semi-decentralized and Variational-Equilibrium-Based Trajectory Planner (SVEP)

Algorithm 1 focuses on presenting the computational steps of VE, so the communication process between CAVs and the RSU is not explicitly given in this framework. The complete communication and computation steps are presented in Algorithm 2. SVEP first initializes neighbor sets\(\mathcal{N}_{i}\), Lagrange multipliers\(\lambda _{i}^{0}\), and penalty matrices\(D_{h_{i}}^{0}\) for any\(i\in \mathcal{N}\) (lines 1–2). Specifically, by (22), the dimension of\(h_{i}(s_{i},s_{\mathcal{N}_{i}})\) is determined by the cardinality\(|\mathcal{N}_{i}|\) of the neighbor set, so the RSU first determines the neighbor set\(\mathcal{N}_{i}\) for each vehiclei according to theDetermine_Interaction_Relationship rule, and then each CAVi independently and in parallel initializes\(\lambda _{i}^{0}\) and\(D_{h_{i}}^{0}\) corresponding to\(h_{i}(s_{i},s_{\mathcal{N}_{i}})\), where\(D_{h_{i}}^{0}\) is a diagonal positive definite matrix. The Lagrange multiplier and penalty matrix of each CAV are allowed to be initialized to different values, because SVEP designs a consensus step for the multipliers in theUpdate_Multiplier function in line 8, so that the equal multiplier property of VE is satisfied. Each CAVi then minimizes the augmented Lagrangian function to obtain its trajectory\(s_{i}^{k+1}\) (line 4). Under this condition, the convergence of the solution is judged based on the satisfaction of each CAV’s\(h_{i}(s_{i},s_{\mathcal{N}_{i}})\). If all trajectories converge, the planning process ends (lines 5–7). Otherwise, multipliers\(\lambda _{i}^{k+1}\) are updated and coordinated (line 8), and penalty matrices\(D_{h_{i}}^{k+1}\) are increased to drive trajectory convergence (line 9). In this iterative solving part, the computation process of VE is semi-decentralized, where the computation process of each CAV, namely line 4 and line 9, are all parallel. The RSU’s steps only involve simple calculations, which minimizes the computational load on the RSU.

Algorithm 2
figure b

SVEP

4.2Algorithm principle and process

The previous subsection has explained the overall approach and framework for solving the VE problem in this work. Next, we will elaborate on the specific computational methods of the core steps in Algorithm 1 using the augmented Lagrangian method, namelyMinimize_Augmented_Lagrangian_Function,Is_Convergent,Update_Multiplier, andUpdate_Penalty_Matrix.

1.Minimize_Augmented_Lagrangian_Function in line 4.

(a) Definition of the augmented Lagrangian function: For the problem (23) of CAVi, we deal with the coupled constraint separately. To use the augmented Lagrangian method, a slack variable\(\gamma _{h_{i}}\) is added to the coupled constraint to turn it into an equality constraint, as shown in (36).

$$ \textstyle\begin{array}{r@{\quad}l} \min \limits _{s_{i}\in S_{i},\gamma _{h_{i}}} & J_{i}(s_{i}), \\ \mathrm{s.t.} & h_{i}(s_{i},s_{\mathcal{N}_{i}})+\gamma _{h_{i}}= \boldsymbol{0}, \\ & \gamma _{h_{i}}\geq \boldsymbol{0}. \end{array} $$
(36)

Then the augmented Lagrangian function is defined as

$$ \begin{aligned}[b] L_{i}(s_{i},s_{\mathcal{N}_{i}},\gamma _{h_{i}},\lambda _{i})= {}& J_{i}(s_{i})+ \lambda _{i}^{\mathrm{T}}(h_{i}(s_{i},s_{\mathcal{N}_{i}})+\gamma _{h_{i}}) \\ &{}+ \frac{1}{2}\|h_{i}(s_{i},s_{\mathcal{N}_{i}})+\gamma _{h_{i}}\|^{2}_{D_{h_{i}}}, \end{aligned} $$
(37)

where\(D_{h_{i}}\) is a diagonal positive definite penalty matrix.

(b) The elimination of\(\gamma _{h_{i}}\). When applying the augmented Lagrangian function method, the subproblem to be solved is as follows: Given\(s_{\mathcal{N}_{i}}\),\(\lambda _{i}\) and\(D_{h_{i}}\), we seek the minimal solution\(s_{i}\) and\(\gamma _{h_{i}}\) to\(L_{i}\). Actually, the optimal solution of\(\gamma _{h_{i}}\) can be expressed as a function of\(s_{i}\). By fixing\(s_{i}\), we obtain an optimization problem with respect to\(\gamma _{h_{i}}\):

$$ \textstyle\begin{array}{r@{\quad}l} \min \limits _{\gamma _{h_{i}}} & \lambda _{i}^{\mathrm{T}}\gamma _{h_{i}}+ \frac{1}{2}\|h_{i}(s_{i},s_{\mathcal{N}_{i}})+\gamma _{h_{i}}\|^{2}_{D_{h_{i}}}, \\ \mathrm{s.t.} & \gamma _{h_{i}}\geq \boldsymbol{0}. \end{array} $$
(38)

The problem is a convex optimization problem with non-negative constraints. From the optimality conditions, we obtain the optimal solution

$$ \gamma _{h_{i}}(s_{i})=\max \{-D_{h_{i}}^{-1}\lambda _{i}-h_{i}(s_{i},s_{ \mathcal{N}_{i}}),\boldsymbol{0}\}. $$
(39)

Thus, when seeking the minimal solution of\(L_{i}\), we can substitute the above optimal solution to eliminate\(\gamma _{h_{i}}\), obtaining\(h_{i}(s_{i},s_{\mathcal{N}_{i}})+\gamma _{h_{i}}=\max \{-D_{h_{i}}^{-1} \lambda _{i},h_{i}(s_{i},s_{\mathcal{N}_{i}})\}\), and the problem is transformed into an optimization problem regarding\(s_{i}\).

(c) Processing and solving the optimization problem. In thek-th iteration of the augmented Lagrangian method, given\(s_{\mathcal{N}_{i}}^{k}\), CAVi solves the following problem

$$ \min \limits _{s_{i}\in S_{i}} L_{i}(s_{i},s_{\mathcal{N}_{i}}^{k}, \gamma _{h_{i}}(s_{i}),\lambda _{i}^{k}). $$
(40)

Since\(\gamma _{h_{i}}(s_{i})\) characterized in (39) includes max, (40) is a non-smooth function. To convert it to a smooth function, a decision variable\(w_{h_{i}}\) is introduced to replace the term\(h_{i}(s_{i},s_{\mathcal{N}_{i}})+\gamma _{h_{i}}\), while constraints\(-w_{h_{i}}+h_{i}(s_{i},s_{\mathcal{N}_{i}})\leq \boldsymbol{0}, -w_{h_{i}}-D_{h_{i}}^{-1} \lambda _{i}\leq \boldsymbol{0}\) are imposed. This approach does not change the optimal solution. After processing, in thek-th iteration, the augmented Lagrangian function becomes

$$ L_{i}^{k}(s_{i},w_{h_{i}},\lambda _{i}^{k})= J_{i}(s_{i})+\lambda _{i}^{k \,\mathrm{T}}w_{h_{i}}+\frac{1}{2}w_{h_{i}}^{\mathrm{T}} D_{h_{i}}^{k} w_{h_{i}}, $$
(41)

and CAVi solves the following problem

$$ \textstyle\begin{array}{r@{\quad}l} \min \limits _{s_{i}\in S_{i}, w_{h_{i}}} & L_{i}^{k}(s_{i},w_{h_{i}}, \lambda _{i}^{k}), \\ \mathrm{s.t.} & -w_{h_{i}}+h_{i}(s_{i},s_{\mathcal{N}_{i}}^{k})\leq \boldsymbol{0}, \\ & -w_{h_{i}}-(D_{h_{i}}^{k})^{-1}\lambda _{i}^{k}\leq \boldsymbol{0}. \end{array} $$
(42)

Since\(J_{i}(s_{i})\) is a convex quadratic function of\(s_{i}\) and\(D_{h_{i}}\) is a diagonal positive definite matrix,\(L_{i}^{k}(s_{i},w_{h_{i}},\lambda _{i}^{k})\) is a convex quadratic function of\(s_{i},w_{h_{i}}\). Given that both\(S_{i}\) and\(h_{i}(s_{i},s_{\mathcal{N}_{i}})\) are linear constraints, the problem (42) is a quadratic programming problem, which can be solved using algorithms such as the interior-point method or the active set method. In addition, the constraints involved in the problem (42) formed at each iteration are re-linearized at\(s_{i}^{k}\), ensuring that the deviation between the linearized constraints and the original constraints remains within a small range.

2.Is_Convergent in line 5.

The constraint violation is defined as

(43)

When the constraint violation is below the thresholdϵ, the solution\(s^{k+1}\) converges and the iteration is terminated.

3.Update_Multiplier in line 8.

For the problem (40) in thek-th iteration, the optimal solution\(s^{k+1}_{i}\) satisfies

$$ \begin{aligned}[b] &{-}\nabla _{s_{i}}J_{i}(s_{i}^{k+1})-\nabla _{s_{i}}h_{i}(s_{i}^{k+1},s_{ \mathcal{N}_{i}}^{k})\\ &\quad{}\times \max \{\lambda _{i}^{k}+D_{h_{i}}^{k}h_{i}(s_{i}^{k+1},s_{ \mathcal{N}_{i}}^{k}),\boldsymbol{0}\}\in \mathcal{N}_{S_{i}}(s_{i}^{*}). \end{aligned} $$
(44)

Comparing (44) with the stability condition in the KKT conditions of the slack problem (36)

$$ - \nabla _{s_{i}}J_{i}(s_{i}^{*})- \nabla _{s_{i}} h_{i}(s_{i}^{*},s_{ \mathcal{N}_{i}}^{*})\cdot \lambda _{i}^{*}\in \mathcal{N}_{S_{i}}(s_{i}^{*}), $$
(45)

we obtain the multiplier update formula

$$ \lambda _{i}^{k+1,md}=\max \{\lambda _{i}^{k}+D_{h_{i}}^{k}h_{i}(s_{i}^{k+1},s_{ \mathcal{N}_{i}}^{k}),\boldsymbol{0}\}. $$
(46)

To get a VE, (31) must be satisfied. Therefore, the multiplier consensus step is designed as follows:

$$ \lambda _{i,j}^{k+1}=\frac{1}{2}(\lambda _{i,j}^{k+1,md}+\lambda _{j,i}^{k+1,md}), \forall i\in \mathcal{N},\forall j\in \mathcal{N}_{i}. $$
(47)

Thus, the multipliers satisfy\(\lambda _{i,j}^{k+1}=\lambda _{j,i}^{k+1}\) after each iteration.

4.Update_Penalty_Matrix in line 9.

At the end of each iteration, the penalty matrix is exponentially increased as

$$ D_{h_{i}}^{k+1}=\rho D_{h_{i}}^{k}. $$
(48)

The effect of increasing the penalty matrix is that the penalty for not satisfying\(h_{i}(s_{i},s_{\mathcal{N}_{i}})\) increases, driving the solution to enter the feasible region.

Based on the aforementioned descriptions, the complete SVEP algorithm process incorporating communication and computation is summarized in Algorithm 2.

4.3Dimensional analysis in computing

The dimension of decision variables and the number of coupled constraints are two key aspects influencing the algorithm’s efficiency. Benefiting from the semi-distributed framework and the information sharing structure where each CAV only considers the decisions of its neighbors, each CAV’s problem only involves local decision variables. This small-scale decision problem allows for fast solving speed. Table 4 compares the computational dimensions of SVEP with those of trajectory planning algorithms based on GNE without V2X (ALGAMES [24], iLQGames [25]), demonstrating the advantages of SVEP in terms of computational efficiency. The detailed analysis is as follows.

  • Dimension of decision variables: Benefiting from the semi-decentralized computational mode, in SVEP, each CAV only decides on its own variables, thus the dimension of decision variables is lower. According to (42), the decision variables in SVEP consist of\(s_{i}\in \mathbb{R}^{(l_{x}+l_{u})(T-1)}\) and\(w_{h_{i}}\in \mathbb{R}^{(T-1)|\mathcal{N}_{i}|}\). In non-CAV algorithms like ALGAMES and iLQGames, each vehicle decides on the strategy profiles for all vehicles. Therefore, the decision variables in ALGAMES are the state and control sequences with a dimension of\((l_{x}+l_{u})(T-1)n\), while in iLQGames, the decision variables are the state sequences with a dimension of\(l_{x}(T-1)n\).

  • Number of coupled constraints: A major advantage of SVEP in terms of the number of constraints is that it only considers collision avoidance constraints with neighbors. According to (22), the dimension of\(h_{i}(s_{i},s_{\mathcal{N}_{i}})\) is\((T-1)|\mathcal{N}_{i}|\). ALGAMES and iLQGames consider collision avoidance constraints with all other vehicles, with a dimension of\((T-1)(n-1)\). In addition, fewer coupled constraints also mean fewer dual variables.

Table 4 Comparison of dimensions in computation.

From the expressions, it can be seen that the dimensions in SVEP are relatively less affected by the number of vehicles, because\(|\mathcal{N}_{i}|\leq n-1\) and\(|\mathcal{N}_{i}|\) is not an independent multiplicative term in the number of decision variables. The more vehicles there are, the greater the computational efficiency advantage of SVEP; hence, SVEP has better scalability. Besides, the number of coupled constraints is also smaller in SVEP, resulting in a smaller communication payload for SVEP.

5Experimental results

5.1Experimental setting

As described in Sec. 2, SVEP is applicable to a two-way road environment without traffic signals, with an RSU and a 100% penetration rate of CAVs. This section conducts experiments in the environment of a two-way, two-lane intersection with a lane width of 4 m and a minimum curve boundary radius of 8 m, as shown in Fig. 6. Here, the criterion for determining neighbors is set to a distance of less than 50 m between the centers of two CAVs. The initial value of the strategy profile\(s^{0}\) and the reference trajectory\(x_{ref,i}\) for each CAV\(i\in \mathcal{N}\) are generated using quintic polynomials.

Figure 6
figure 6

Experimental scenario and situation setup. The scenario is a signal-free intersection equipped with an RSU, and all vehicles are CAVs. The solid rectangles marked in the legend represent the area covered by the random initial positions of each CAV. CAVs follow the virtual lane constraints marked by the gray dashed lines within the intersection and travel in the direction indicated by the arrows.

We compare SVEP with ALGAMES [24]. SVEP is implemented in Matlab, while ALGAMES provides open-source code written in Julia. Both are programming languages commonly used in scientific computing, and as a compiled language, Julia has better computational performance than Matlab. Therefore, the algorithm in this paper does not gain additional efficiency advantages due to the programming language. The vehicle dimensions and constraint parameters of ALGAMES are set the same as those of SVEP. In the planner parameters, both of them use the sameT,\(T_{s}\), andϵ, while other parameters of ALGAMES follow the default settings in its open-source implementation. The vehicle dimensions, constraint parameters, and planner parameters used by SVEP are presented in Table 5. As shown in Table 7, the success rate of ALGAMES in the merging scenario is low. We set the constraint violation threshold of ALGAMES as\(\epsilon =1\times 10^{-1}\) in the merging scenario, since otherwise, other metrics of ALGAMES in the merging scenario cannot be analyzed. The program runs on a desktop computer equipped with an Intel Core i5-10400F CPU, 16 GB of RAM, and the Windows 11 operating system.

Table 5 Model and algorithm parameters.

5.2Evaluation and analysis

This subsection will use the Monte Carlo method to assess the algorithm’s computational efficiency and safety. We design four scenarios for the experiments, as shown in Fig. 6. Each scenario features an intersection with the same parameters as described in Sec. 5.1, while differing in the number, initial states, and driving directions of CAVs. These situations cover typical driving behaviors at intersections: Going straight, turning left, and turning right, as well as all types of conflicts: Crossing and merging conflicts, with three straight-driving scenarios involving crossing conflicts, whereas the merging scenario involves merging conflicts. In this figure, the solid rectangles marked in the legend represent the area covered by the random initial positions of each CAV. CAVs follow the virtual lane constraints marked by the gray dashed lines within the intersection and travel in the direction indicated by the arrows. The initial speeds of the CAVs are uniformly distributed in\([5, 15]\) m/s. For\(\forall i\in \mathcal{N}\), the value of\(D_{h_{i}}^{0}\) is set to\(D_{h_{i}}^{0} = diag(d_{h_{i}},\dots , d_{h_{i}})_{ |\mathcal{N}_{i}|}\), where\(d_{h_{i}}\sim U[0.5, 1.5]\). Next, we will evaluate the algorithm’s performance in terms of computational efficiency and safety.

The experiments use a receding horizon mode. After planning a trajectory, only the initial control\(u_{i}(1)\) is applied. The environment, using the original non-linear kinematic model, simulates the vehicle’s motion and feeds back the vehicle’s state at the next moment to the planner. Then the planner subsequently performs the next planning. The experiment includes the following two parts.

5.2.1Computational efficiency

We consider the time cost of SVEP, which consists of the computation time per vehicle, the RSU computation time, and the communication time.

(a) Computation time per vehicle: We evaluate the computational efficiency of the algorithm using the average computation time per trajectory planning for each vehicle as one of the evaluation metrics. In the scenario shown in Fig. 6, all vehicles use the same algorithm, either SVEP or ALGAMES, to plan trajectories, and 500 Monte Carlo simulations are conducted to measure the average computation time.

We take the straight-driving CAV 1, common to all scenarios, as an example. The box plot of its planner’s average computation time is shown in Fig. 7. Note that different vertical axis ranges and scales are set for the two algorithms in the figure due to significant differences in average computation time. In terms of extremums and quartiles, SVEP is more computationally efficient across all four test scenarios. The statistical results of the straight-driving scenario are a direct basis for the algorithm’s scalability. As the number of vehicles increases from 2 to 4, the median of the average computation time for SVEP and ALGAMES increases by 38.4% and 290.8%, respectively, consistent with the growth trend of dimension analyzed in Sec. 4.3. The moderate growth in computation time indicates SVEP’s adaptability to rising traffic density and scale. On the other hand, the number of vehicles that need to interact with the ego vehicle in the traffic environment is very limited, resulting in the expansion of the neighbor set being slower than the growth in the number of vehicles. This sets a natural upper limit for SVEP’s dimension of decision variables and number of coupled constraints, effectively limiting the computation time. Thus, SVEP is highly scalable, maintaining efficiency as the number of vehicles increases. The average computation time in merging scenarios indicates that SVEP is also highly efficient in planning turning trajectories and resolving merging conflicts. For SVEP, compared to the three-vehicle straight-driving scenario, the period of significant conflict in multi-vehicle trajectories in this scenario is shorter, resulting in shorter average computation times. With ALGAMES, the number of outer loop iterations reaches its limit during iteration in this scenario, explaining its longer computation time. Therefore, SVEP has better equilibrium convergence.

Figure 7
figure 7

The average computation time of CAV 1 in straight-driving (S.D.) and merging (M.) scenarios using SVEP and ALGAMES. SVEP and ALGAMES use the left and right vertical axes, respectively, to visualize the data within their appropriate ranges.

(b) The RSU computation time: In addition to the computation time per vehicle, SVEP also has time overheads associated with V2X, namely the computation time and communication time of the RSU. These two parts of time have also been evaluated. The mean and standard deviation of the average computation time of the RSU in each trajectory planning, measured from the above Monte Carlo experiments, are recorded in Table 6. It is seen that the average computation time of the RSU is about an order of magnitude less than that of CAVs. Therefore, the computation time of the RSU does not constitute the main part of SVEP’s running time.

Table 6 The average computation time of the RSU.

(c) Communication time: We measure the communication time in the worst case, i.e., using\(k_{\max}\) iterations to complete planning in the four-vehicle straight-driving scenario. Using 32-bit floating-point numbers to store data and conducting 200 repeated experiments under 5G WiFi, the average communication time per planning is measured to be\(4.8\times 10^{-3}\) s. Theoretically, according to the 3GPP requirements for advanced driving [33], the communication time at the lowest data rate of 30 Mbps is\(1.26\times 10^{-2}\) s.

In summary, under the conditions of 5G NR-V2X, the runtime of SVEP in the four experimental scenarios is less than\(1\times 10^{-1}\) s, meeting the requirements for real-time planning. It also shows high scalability with respect to the number of CAVs, thus demonstrating potential for application in complex traffic environments and in solving large-scale trajectory planning problems.

5.2.2Safety

The success rate is defined as the proportion of experiments in which all CAVs reach their designated positions without violating any constraints. In our experiment implementation, truncation operations are used to forcibly limit\(u_{i}(k)\) within the feasible region, so the cases of constraint violations only include exceeding the speed limit, crossing lane boundary lines, and collisions. Therefore, the success rate is an appropriate metric for evaluating the safety of the algorithm. Here we use the same settings as the computational efficiency experiments to conduct 500 Monte Carlo experiments, and the success rates are shown in Table 7. SVEP maintains high safety in all experimental scenarios without violating constraints. As seen from the data in the right column, as the number of vehicles in the straight-driving scenario increases, the difficulty of planning safe trajectories also increases. The result indicates that the influence of the problem scale on the safety of SVEP is minor.

Table 7 Success rate.

In particular, the safety advantages of SVEP are significant in the merging scenario. Note that in the merging scenario, the success rate of ALGAMES is 72.8% when the constraint violation threshold is\(\epsilon =1\times 10^{-1}\), while the success rate is 0% if\(\epsilon =1\times 10^{-3}\). The low success rate under the constraint violation threshold\(\epsilon =1\times 10^{-3}\) explains why we set\(\epsilon =1\times 10^{-1}\) for the merging scenario in Section 5.1. Due to the use of bounding ellipses instead of circles for lane constraint modeling, SVEP allows vehicles to have a sufficient feasible region for their poses under lane constraints. Turning maneuvers are more complex than straight driving, and trajectory planning on bends is more challenging, so expanding the feasible domain is important for improving the planner’s success rate on bends. The reference trajectory term\(x_{ref,i}(k)\) in the objective function has a positive effect in guiding the planner to obtain safe trajectories. Additionally, as analyzed in the computational efficiency part, SVEP has good equilibrium convergence. These factors contribute to the safety of SVEP in merging scenarios. Taking the average initial state of the merging scenario as an example, using two planners to complete the simulation, the vehicle trajectories are shown in Fig. 8a and Fig. 8b. In comparison, SVEP’s turning trajectory is smoother. In terms of control inputs, as seen from the front wheel steering angle curves in Fig. 8c and Fig. 8d, SVEP provides a steering angle that deflects only towards the required direction of turn for the vehicle, with smooth angle changes, which indicates that SVEP avoids unnecessary back-and-forth steering, reducing the risk of exceeding the lane boundaries.

Figure 8
figure 8

Planning results using SVEP and ALGAMES. The arrow sequence shows the position and yaw angle of the vehicles every 0.4 s, with its length proportional to the velocity. (a) SVEP’s trajectory. (b) ALGAMES’s trajectory. (c) SVEP’s front wheel steering angles. (d) ALGAMES’s front wheel steering angles.

Another important factor affecting safety is whether the equilibrium solved by each vehicle is the same, that is, whether each vehicle’s predicted decisions of other vehicles match the actual decisions. Only under this condition can the coupled constraint\(h_{i}\) perform accurate collision avoidance. Existing research has found that trajectory planning as a game problem may have multiple non-isolated or isolated equilibrium [24]. Therefore, without a coordination mechanism, each vehicle may converge to different equilibrium, leading to misjudgment of other vehicles’ decisions. We set the criterion for equilibrium concordance as the distance between predicted and actual\(u_{i}(1)\) being less than\(1\times 10^{-1}\), and define the average ratio of the number of times the planning between any pair of vehicles reaches equilibrium concordance in each experiment as the equilibrium concordance rate. The results are shown in Table 8, where for ALGAMES, we separately calculate the equilibrium concordance rate for successful cases (without vehicle collision) and failed cases (with vehicle collision). Through sharing\(s_{i}\) and coordinating\(\lambda _{i}\) by our designed Algorithm 1 (SVEP), CAVs can obtain a consistent VE. In contrast, the uncoordinated ALGAMES may lead each vehicle to converge to different equilibrium. In the same scenario, the equilibrium concordance rate is higher in successful cases than in failed cases, which means that the concordant equilibrium can promote the safety of trajectories. For failed cases, since the statistics also include the equilibrium concordance rate before unsafe control occurs, the average equilibrium concordance rate is also relatively high. Therefore, the V2X-based equilibrium coordination approach in our Algorithm 1 can indeed positively contribute to safety.

Table 8 The equilibrium concordance rate.

However, the equilibrium concordance rate is not the sole factor determining the success rate. The difficulty of planning safe trajectories also significantly influences the success rate. Comparing the right-column data in Table 7 and Table 8, it can be seen that the merging scenario has both low success rate and low equilibrium concordance rate, but in the straight-driving scenario, the numerical order of the equilibrium concordance rate and success rate is not the same. We believe that the main reason for the decline in success rate from 2 vehicles to 4 vehicles is the increased difficulty in solving due to intensified vehicle conflicts and the increased problem scale. On the other hand, intensified conflicts reduce the feasible region, which tends to decrease the number of equilibrium, possibly leading to an increase in the equilibrium concordance rate.

Overall, for non-CAV game algorithms, although they solve complete information games, different initialization methods or parameter settings (such as\(D_{h_{i}}^{0}\)) within the solver may lead to different equilibrium. This misjudgment of decisions is one of the causes of unsafe trajectories. Therefore, the V2X-based equilibrium coordination approach of SVEP has positive significance for enhancing safety. It should be noted that although SVEP has performance advantages in experiments, these advantages come at the cost of relying on network communication.

6Conclusion

We focus on traffic scenarios where the penetration rate of CAVs is 100% and equipped with an RSU, and propose a semi-decentralized and VE-based CAV trajectory planner (SVEP) to resolve the computational efficiency and safety problems of previous uncoordinated game theoretic planners. By decomposing the computation process for each vehicle, the proposed planner can eliminate redundant computations for equilibrium to enhance efficiency. In addition, to enhance the safety of trajectory planning, SVEP handles collision avoidance coupled constraints based on the augmented Lagrangian method, and designs a Lagrange multiplier consensus mechanism to ensure that each CAV converges to concordant equilibrium with the help of the RSU. This mechanism also ensures that each CAV obtains an interaction-fair trajectory. In particular, this work theoretically proposes the concept of interaction fairness, and reveals that the interaction-fair GNE in this problem is a VE through sensitivity analysis. Finally, Monte Carlo experiments demonstrate that the proposed method meets the requirements of autonomous driving for real-time planning, has a small communication payload, favorable scalability, and reliable safety.

Data availability

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

References

  1. S.A.E. International, Taxonomy and Definitions for Terms Related to Driving Automation Systems for On-Road Motor Vehicles J3016_202104 (2021).https://www.sae.org/standards/content/j3016_202104/

  2. Z. Han, Y. Wu, T. Li, L. Zhang, L. Pei, L. Xu, C. Li, C. Ma, C. Xu, S. Shen, F. Gao, An efficient spatial-temporal trajectory planner for autonomous vehicles in unstructured environments. IEEE Trans. Intell. Transp. Syst.25(2), 1797–1814 (2024)

    Article MATH  Google Scholar 

  3. C. Burger, T. Schneider, M. Lauer, Interaction aware cooperative trajectory planning for lane change maneuvers in dense traffic, in2020 IEEE 23rd International Conference on Intelligent Transportation Systems (ITSC) (IEEE Press, New York, 2020), pp. 1–8

    MATH  Google Scholar 

  4. Y. Chen, S. Li, X. Tang, K. Yang, D. Cao, X. Lin, Interaction-aware decision-making for autonomous vehicles. IEEE Trans. Transp. Electrif.9(3), 4704–4715 (2023)

    Article MATH  Google Scholar 

  5. P. Yi, W. Wang, Q. Liu, Y. Hong, Motion planning at intersections with safe differential games based on control barrier function, in2024 IEEE Intelligent Vehicles Symposium (IV) (2024), pp. 2049–2054

    Chapter MATH  Google Scholar 

  6. F. Meng, J. Su, C. Liu, W.-H. Chen, Dynamic decision making in lane change: game theory with receding horizon, in2016 UKACC 11th International Conference on Control (CONTROL) (IEEE Press, New York, 2016), pp. 1–6

    MATH  Google Scholar 

  7. Q. Yuan, S. Li, C. Wang, G. Xie, Cooperative-competitive game based approach to the local path planning problem of distributed multi-agent systems, in2020 European Control Conference (ECC) (IEEE Press, New York, 2020), pp. 680–685

    Chapter MATH  Google Scholar 

  8. Q. Zhang, R. Langari, H.E. Tseng, D. Filev, S. Szwabowski, S. Coskun, A game theoretic model predictive controller with aggressiveness estimation for mandatory lane change. IEEE Trans. Intell. Veh.5(1), 75–89 (2019)

    Article  Google Scholar 

  9. D. Li, H. Pan, Two-lane two-way overtaking decision model with driving style awareness based on a game-theoretic framework. Transportmetrica A: Transp. Sci.19(3), 2076755–2076780 (2023)

    Article  Google Scholar 

  10. H. Yu, H.E. Tseng, R. Langari, A human-like game theory-based controller for automatic lane changing. Transp. Res., Part C, Emerg. Technol.88, 140–158 (2018)

    Article MATH  Google Scholar 

  11. A. Ladino, M. Wang, A dynamic game formulation for cooperative lane change strategies at highway merges. IFAC-PapersOnLine53(2), 15059–15064 (2020)

    Article MATH  Google Scholar 

  12. L. Zhu, D. Yang, Z. Cheng, X. Yu, B. Zheng, A model to manage the lane-changing conflict for automated vehicles based on game theory. Sustainability15(4), 3063 (2023)

    Article MATH  Google Scholar 

  13. I.H. Zohdy, H. Rakha, Game theory algorithm for intersection-based cooperative adaptive cruise control (CACC) systems, in2012 15th International IEEE Conference on Intelligent Transportation Systems (2012), pp. 1097–1102

    Chapter MATH  Google Scholar 

  14. M. Elhenawy, A.A. Elbery, A.A. Hassan, H.A. Rakha, An intersection game-theory-based traffic control algorithm in a connected vehicle environment, in2015 IEEE 18th International Conference on Intelligent Transportation Systems (2015), pp. 343–347

    Chapter MATH  Google Scholar 

  15. X. Zhang, X. Zeng, Z. Peng, Enhancing autonomous racing strategies: a cognitive hierarchy-based safe motion planning approach, in2024 43rd Chinese Control Conference (CCC) (2024), pp. 6463–6468

    Chapter MATH  Google Scholar 

  16. W. Li, F. Qiu, L. Li, Y. Zhang, K. Wang, Simulation of vehicle interaction behavior in merging scenarios: a deep maximum entropy-inverse reinforcement learning method combined with game theory. IEEE Trans. Intell. Veh.9(1), 1079–1093 (2024)

    Article MATH  Google Scholar 

  17. Y. Yan, J. Wang, Y. Wang, C. Hu, H. Huang, G. Yin, A cooperative trajectory planning system based on the passengers’ individual preferences of aggressiveness. IEEE Trans. Veh. Technol.72(1), 395–406 (2023)

    Article MATH  Google Scholar 

  18. B. Chen, Q. Yuan, J. Li, J. Lu, B. Zhu, Joint route planning and traffic signal timing for connected vehicles: an edge cloud enabled multi-agent game method, in2020 International Conference on Space-Air-Ground Computing (SAGC) (IEEE Press, New York, 2020), pp. 1–6

    MATH  Google Scholar 

  19. J. Guo, I. Harmati, Lane-changing decision modelling in congested traffic with a game theory-based decomposition algorithm. Eng. Appl. Artif. Intell.107, 104530–104549 (2022)

    Article MATH  Google Scholar 

  20. K. Zhang, J. Wang, N. Chen, M. Cao, G. Yin, An algorithm of cooperative V2V trajectory planning on a winding road considering the drivers’ characteristics, in2019 IEEE Intelligent Transportation Systems Conference (ITSC) (IEEE Press, New York, 2019), pp. 2477–2482

    Chapter MATH  Google Scholar 

  21. H.B. Jond, J. Platoš, Differential game-based optimal control of autonomous vehicle convoy. IEEE Trans. Intell. Transp. Syst.24(3), 2903–2919 (2023)

    Article MATH  Google Scholar 

  22. Z. Williams, J. Chen, N. Mehr, Distributed potential ilqr: scalable game-theoretic trajectory planning for multi-agent interactions, in2023 IEEE International Conference on Robotics and Automation (ICRA) (2023), pp. 01–07

    MATH  Google Scholar 

  23. Z. Liu, J. Lei, P. Yi, A semi-decentralized and variational-equilibrium-based trajectory planner for connected and autonomous vehicles, in2024 IEEE Intelligent Transportation Systems Conference. (ITSC) (IEEE, 2024)

  24. S. Le Cleac’h, M. Schwager, Z. Manchester, ALGAMES: a fast augmented Lagrangian solver for constrained dynamic games. Auton. Robots46(1), 201–215 (2022)

    Article  Google Scholar 

  25. D. Fridovich-Keil, E. Ratner, L. Peters, A.D. Dragan, C.J. Tomlin, Efficient iterative linear-quadratic approximations for nonlinear multi-player general-sum differential games, in2020 IEEE International Conference on Robotics and Automation (ICRA) (IEEE Press, New York, 2020), pp. 1475–1481

    Chapter  Google Scholar 

  26. J.A. Matute, M. Marcano, S. Diaz, J. Perez, Experimental validation of a kinematic bicycle model predictive control with lateral acceleration consideration. IFAC-PapersOnLine52(8), 289–294 (2019)

    Article MATH  Google Scholar 

  27. F. Facchinei, C. Kanzow, Generalized Nash equilibrium problems. Ann. Oper. Res.175(1), 177–211 (2010)

    Article MathSciNet MATH  Google Scholar 

  28. S.P. Boyd, L. Vandenberghe,Convex Optimization (Cambridge University Press, New York, 2004)

    Book MATH  Google Scholar 

  29. P.T. Harker, Generalized Nash games and quasi-variational inequalities. Eur. J. Oper. Res.54(1), 81–94 (1991)

    Article MATH  Google Scholar 

  30. A.A. Kulkarni, U.V. Shanbhag, On the variational equilibrium as a refinement of the generalized Nash equilibrium. Automatica48(1), 45–55 (2012)

    Article MathSciNet MATH  Google Scholar 

  31. Y. Liang, W. Wei, C. Wang, A generalized Nash equilibrium approach for autonomous energy management of residential energy hubs. IEEE Trans. Ind. Inform.15(11), 5892–5905 (2019)

    Article MATH  Google Scholar 

  32. P. Yi, L. Pavel, A distributed primal-dual algorithm for computation of generalized Nash equilibria via operator splitting methods, in2017 IEEE 56th Annual Conference on Decision and Control (CDC) (2017), pp. 3841–3846

    Chapter MATH  Google Scholar 

  33. M.J. Khan, M.A. Khan, S. Malik, P. Kulkarni, N. Alkaabi, O. Ullah, H. El-Sayed, A. Ahmed, S. Turaev, Advancing C-V2X for level 5 autonomous driving from the perspective of 3GPP standards. Sensors23(4), 2261 (2023)

    Article  Google Scholar 

Download references

Acknowledgements

We gratefully acknowledge our colleagues Yaqun Yang and Wenyuan Wang at the Department of Control Science and Engineering, Tongji University, for their valuable and constructive suggestions during the course of this research.

Funding

This research is sponsored by the National Natural Science Foundation of China under Grant Nos. 72271187, 62373283, and 62088101, and partially supported by Shanghai Municipal Science and Technology Major Project under Grant No. 2021SHZDZX0100, and the Fundamental Research Funds for the Central Universities, China.

Author information

Authors and Affiliations

  1. Department of Control Science and Engineering, Tongji University, Shanghai, 201804, China

    Zhengqin Liu, Jinlong Lei, Peng Yi & Yiguang Hong

  2. The Shanghai Research Institute for Intelligent Autonomous Systems, Shanghai, 201804, China

    Jinlong Lei, Peng Yi & Yiguang Hong

  3. Shanghai Institute of Intelligent Science and Technology, Tongji University, Shanghai, 201804, China

    Jinlong Lei, Peng Yi & Yiguang Hong

Authors
  1. Zhengqin Liu

    You can also search for this author inPubMed Google Scholar

  2. Jinlong Lei

    You can also search for this author inPubMed Google Scholar

  3. Peng Yi

    You can also search for this author inPubMed Google Scholar

  4. Yiguang Hong

    You can also search for this author inPubMed Google Scholar

Contributions

ZL: Conceptualization, investigation, methodology, experimental design and validation, writing—original draft and editing. JL: Supervision, writing—review and editing, corresponding author. PY and YH: Review and supervision. All authors read and approved the final manuscript.

Corresponding author

Correspondence toJinlong Lei.

Ethics declarations

Competing interests

Profs. P. Yi and Y. Hong are editorial board members for Autonomous Intelligent Systems and were not involved in the editorial review, or the decision to publish, this article. All authors declare that there are no other competing interests.

Additional information

Publisher’s Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visithttp://creativecommons.org/licenses/by/4.0/.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Liu, Z., Lei, J., Yi, P.et al. An interaction-fair semi-decentralized trajectory planner for connected and autonomous vehicles.Auton. Intell. Syst.5, 1 (2025). https://doi.org/10.1007/s43684-024-00087-5

Download citation

Keywords

Use our pre-submission checklist

Avoid common mistakes on your manuscript.

Advertisement


[8]ページ先頭

©2009-2025 Movatter.jp