Skip to main content
Advertisement
Browse Subject Areas
?

Click through the PLOS taxonomy to find articles in your field.

For more information about PLOS Subject Areas, click here.

  • Loading metrics

Enhanced Bézier curve-based trajectory planning for high-altitude autonomous trucks

  • Du Chigan ,

    Roles Conceptualization, Data curation, Formal analysis, Funding acquisition, Investigation, Methodology, Project administration

    903613797@qq.com

    Affiliations School of Transportation Engineering, Chang’an University, Xi’an, China, CCCC First Highway Consultants Co., Ltd., Xi’an, China

  • Jianbei Liu,

    Roles Funding acquisition

    Affiliation CCCC First Highway Consultants Co., Ltd., Xi’an, China

  • Yang Zhao,

    Roles Funding acquisition, Methodology

    Affiliations School of Transportation Engineering, Chang’an University, Xi’an, China, Capital Construction Department, Chang’an University, Xi’an, China

  • Jianyou Zhao

    Roles Resources, Visualization

    Affiliation School of Automobile, Chang’an University, Xi’an, China

Abstract

Highway freight transport is the backbone of Tibet’s logistics network, accounting for 76.4% of regional freight movement (Tibet Bureau of Statistics, 2024). Challenging alpine road conditions—characterized by steep grades, sharp curves, and narrow lanes—combine with the substantial dimensions of heavy trucks to create significant operational difficulties. Autonomous truck development offers a potential solution; however, their trajectory planning algorithms exhibit limitations in high-altitude environments. To address these challenges, we propose a novel trajectory planning method using quartic Bézier curves. These 4th-order parametric curves provide G² continuity. Our approach integrates speed profiles into a three-dimensional curve representation and employs a two-phase optimization process to ensure safety and efficiency. Simulation results demonstrate the method’s effectiveness in maintaining truck stability while enabling responsive maneuvering under Tibet’s demanding road conditions.

1. Introduction

Highway freight transportation serves as the lifeline of Tibet’s logistics sector, comprising 76.4% of the region’s total freight movement and underscoring its irreplaceable role in sustaining cross-regional connectivity (Table 1) [1]. While Tibet’s highway network spans approximately 120,000 kilometers, a stark infrastructure disparity exists: Only 1,196 kilometers (0.8%) meet first-grade standards, with the overwhelming majority (99.2%) classified as second-grade or lower [2]. This deficit is particularly evident along Tibet’s five main access routes, which suffer from substandard road classifications, irregular alignments, narrow lanes, vulnerability to natural disasters, and frequent single-lane maintenance.

thumbnail
Table 1. Traffic volume on the Qinghai-Tibet highway. The table describes the traffic volume and proportion of different vehicle types in the Wudaoliang section for 2024.

https://doi.org/10.1371/journal.pone.0333685.t001

Intelligent transformation in the automotive sector has significantly advanced commercial vehicle technologies, particularly in sensor fusion, algorithmic decision-making, and vehicle control architectures. Global pilot programs deploying autonomous trucks in real-world conditions have generated valuable empirical data. This data has enabled substantial improvements in obstacle avoidance and trajectory planning methodologies [36]. Contemporary autonomous trucks (Fig 1) incorporate three core functional layers. Sophisticated sensor fusion algorithms enhance their multi-modal sensor suites (LiDAR, visual odometry (VO), GNSS, and HD maps). These suites enable centimeter-level real-time environmental perception and reliable dynamic object tracking [79]. Building on this perception, hierarchical decision-making frameworks process sensory inputs. They generate context-aware maneuvers that optimally balance safety margins, traffic regulations, and operational efficiency in real-time. Advanced drive-by-wire systems execute these decisions. These systems provide decoupled control of steering, braking, and propulsion. This enables precise trajectory following (sub-decimeter accuracy) while maintaining vehicle stability within defined safety margins [1012].

thumbnail
Fig 1. Truck collision avoidance trajectory planning system.

The system perceives real-time traffic conditions, simulates scenarios via modeling, formulates decisions through intelligent algorithms, completes trajectory planning, and finally executes lane changes and trajectory tracking via the controller.

https://doi.org/10.1371/journal.pone.0333685.g001

Despite these advancements, developing adaptive trajectory optimization algorithms that generalize across operational domains remains challenging. Specifically, decision-making for challenging scenarios—like low-friction surfaces, mixed traffic, or geometrically constrained roads—requires breakthroughs. Key areas include reinforcement learning, probabilistic risk assessment, and real-time computational efficiency. These gaps necessitate hybrid architectures that combine rule-based systems with machine learning. Such architectures ensure robust performance under environmental uncertainty.

The structure of this paper is as follows. Section 2.1 formulates the core research problem and establishes the methodological framework for its solution. Section 2.2 develops a comprehensive trajectory and velocity planning algorithm for the collision avoidance phase, complemented by Section 2.3 which presents the corresponding planning methodology for the lane-recovery phase. Section 3 systematically validates the proposed approach through numerical simulations and provides an in-depth analysis of the results. The paper concludes with Section 4, which summarizes key findings and discusses their implications.

The field of trajectory planning has achieved remarkable progress through innovative methodologies addressing diverse vehicular applications. Tsai’s algebraic general trajectory formulation (GTT) [13] revolutionized semi-trailer path planning by incorporating dimensional and turning constraints to ensure comprehensive vehicle coverage. Ozana’s six-stage optimization framework [14] established new standards by harmonizing global and local planning techniques. Subsequent developments have specialized these approaches, including Wei’s fifth-degree polynomial CAV model [15] and Yang’s truck-specific lane-changing adaptation [16]. The field has further evolved through Li Bai’s mixed-integer kinematic solution [17], Li QW’s analytical platooning framework [18], and Zhang’s sophisticated 7-DOF articulated vehicle control [19], demonstrating both theoretical depth and practical applicability.

Emergency obstacle avoidance research has similarly advanced through scenario-specific innovations [20,21]. Shi’s rollover-preventive algorithm [22] and Li’s mining truck optimization [23] represent critical safety-focused developments. Zhan’s TOPSIS-based curved road solution [24] and Zhou’s platoon coordination model [25] address complex operational environments, while Shi Yue’s integrated maneuver system [26] and Muralidhara’s narrow-road articulation method [27] provide comprehensive control frameworks. Recent breakthroughs include Li Ning’s four-wheel steering emergency system [28], Zhang’s Bézier-based avoidance [29], Tian’s lane-safety optimization [30], and Chen’s segmented 3D rescue vehicle approach [31], collectively expanding the field’s technical boundaries.

Existing trajectory planning methods fall into five main categories: Bézier curve-based, polynomial-based, model predictive control (MPC), sampling-based optimization, and reinforcement learning. Table 2 summarizes the strengths and limitations of each. Bézier curves are particularly valuable for trajectory planning. They offer curvature continuity, smoothness, ease of shape control, and convex hull safety properties.

thumbnail
Table 2. Comparison of Trajectory Planning Methods for heavy-duty truck operations at high-altitude. The table compares the advantages and limitations of Bézier curve planning, polynomial-based methods, model predictive control (MPC), sampling-based techniques, and reinforcement learning approaches.

https://doi.org/10.1371/journal.pone.0333685.t002

Current research primarily focuses on trajectory planning for trucks, often decoupling speed planning in real-time operations. This disconnect can produce dynamically infeasible trajectories. Trucks must then make abrupt adjustments to follow the path. Such compromises degrade ride comfort, introduce planning-execution delays, reduce efficiency, increase energy consumption, and risk loss of vehicle control—especially during high-speed travel on sharp curves. Although truck trajectory planning is evolving from single- to multi-scenario applications, research on coupled scenarios—integrating special road conditions, traffic dynamics, and vehicle constraints—remains insufficient.

The Tibetan operating environment presents unique challenges demanding specialized solutions. Trucks servicing this region combine substantial mass properties (elevated center of gravity, extended dimensions, and wide turning radii, Table 3) with demanding infrastructure constraints (low-grade narrow roads, poor alignment, frequent maintenance zones, and geological hazards). These conditions necessitate trajectory solutions with exceptional three-dimensional stability, stringent spatial precision, and optimized lane transition efficiency.

thumbnail
Table 3. Key parameters of main truck types on the Qinghai-Tibet highway. The table presents key parameters of four industry-standard vehicle models, including dimensions (L × W × H), maximum power output, gross vehicle mass, and minimum turning radius.

https://doi.org/10.1371/journal.pone.0333685.t003

Bézier curves offer particular advantages through their intrinsic mathematical properties: curvature continuity, parametric control via convex hull confinement, and smooth transitional characteristics. Compared to cubic Bézier curves, quartic Bézier curves can achieve continuity in position (G⁰), tangent direction (G¹), and curvature (G²) at junctions. Meanwhile, relative to quintic Bézier curves, quartic curves satisfy G² continuity while offering higher computational efficiency and avoiding overfitting. Despite their proven utility in conventional vehicle applications, existing research fails to address either the Tibetan highway context or the critical speed-trajectory coordination required for safe obstacle avoidance in these extreme conditions.

This study bridges this critical gap by developing a novel Bézier-based trajectory planning framework specifically designed for Tibetan highway obstacle scenarios. Under the premise of acquiring road obstacle and surrounding vehicle information through vision and radar systems [5,8,12], Our innovative approach establishes a direct functional mapping between spatial coordinates and velocity profiles through vertical axis parameterization, enabling simultaneous multi-objective optimization of safety, stability, and operational efficiency, the planned trajectory is accurately executed through precision driving assistance and actuation systems. The proposed method represents a significant advancement in addressing the unique challenges of heavy-duty trucks operations at high-altitude, while maintaining both mathematical elegance and computational practicality.

2. Methodology

2.1 Problem description and solution design

Trajectory planning for trucks navigating obstacle avoidance scenarios on Tibetan highways necessitates comprehensive integration of multi-source environmental data with the region’s unique roadway conditions, coupled with synchronized speed planning. This study employs three-dimensional Bézier curves as the mathematical foundation for trajectory generation, innovatively parameterizing speed as the vertical coordinate within the trajectory plane. This novel formulation establishes a real-time bijective mapping between velocity profiles and spatial positions, significantly enhancing vehicular maneuverability. The unified framework for speed-curvature co-design enables simultaneous optimization of three critical performance metrics: vehicle stability, operational efficiency, and dynamic handling.

Leveraging findings that segmented trajectory optimization reduces computation time and enhances dynamic adaptability while isolating local disturbances [32], our methodology employs a segmented architecture (Fig 2), dividing the vehicle path into obstacle avoidance and lane-return phases based on roadway boundary constraints. The avoidance phase prioritizes spatial geometric relationships between the truck and obstacles to guarantee collision-free lane transitions, while the return phase optimizes for lane-change efficiency and ride comfort metrics specific to Tibet-bound heavy trucks. This dual-phase approach facilitates dynamic refinement of trajectory parameters. The complete solution utilizes a two-stage, three-dimensional Quartic Bézier curve formulation, demonstrating effective global optimization of trajectory planning objectives for high-altitude truck operations.

thumbnail
Fig 2. Trajectory planning of truck collision avoidance phase.

The lane-changing process is divided into an obstacle avoidance phase and a trajectory recovery phase. The obstacle vehicle maintains a low, constant speed, and it is assumed that the subject truck has zero initial lateral velocity and lateral acceleration prior to lane change.

https://doi.org/10.1371/journal.pone.0333685.g002

The complete lane-changing maneuver can be mathematically represented by the following parametric equations:

(1)

Where models the avoidance phase and the return phase. The curvature at any curve point is expressed as:

(2)

The instantaneous curvature at any parametric point u along the Bézier curve can be expressed in terms of the vehicle’s kinematic state variables: where denotes longitudinal velocity, represents lateral velocity, is longitudinal acceleration, and corresponds to lateral acceleration. Differentiating Eq. (1) with respect to the path parameter t yields:

(3)

By computing the second-order derivative of Eq. (1) with respect to the path parameter t, we obtain the curvature derivative relationship:

(4)

2.2 Trajectory and velocity planning for obstacle avoidance phase

As shown in Fig 3, in the upper half of the obstacle avoidance trajectory curve, a unique quartic Bézier curve is determined by five control points, with coordinates , , , and . At the vehicle’s initial position, the origin of the coordinate system coincides with the vehicle’s center of gravity, with the x-axis and y-axis representing the longitudinal and lateral driving directions, respectively. denotes the center-of-mass-to-front-bumper offset, is the vehicle width, is the distance between the front edge of the vehicle and the rear edge of the preceding vehicle in the current lane at the initial lane-changing position, is the reserved safety distance, and is the lane width.

thumbnail
Fig 3. Collision avoidance trajectory planning.

The lane-changing truck is enclosed by an elliptical boundary, where the red solid line represents its center of mass trajectory, and the red dashed line indicates the outermost contour trajectory of the truck’s envelope.

https://doi.org/10.1371/journal.pone.0333685.g003

In the upper half of the obstacle avoidance trajectory design, the vehicle is assumed to be traveling at a constant speed at the initial lane-changing position, with the longitudinal speed represented as . Prior to a lane-change command, we assume the vehicle travels straight with zero lateral speed and acceleration. This simplification aids controller design and stability analysis, although real-world vehicles might exhibit non-zero lateral dynamics. Therefore, the vehicle’s dynamic state at the initial position can be expressed as:

(5)

Solving Equations (3), (4), and (5) yields the coordinates of the control points , and , as , and . Thus, only the coordinates of control points and need to be determined to obtain the Bézier curve for the upper half of the obstacle avoidance trajectory. It is known that control point lies on the tangent of control point . Considering the symmetry optimization of the trajectory offset and curvature of the Bézier curve, the coordinates of control points and satisfy:

(6)

The endpoint of the upper half lane-changing trajectory is at the lane boundary, so . According to Eq. (6), , . Therefore, only the x-coordinate of control point needs to be determined to obtain the corresponding upper half lane-changing trajectory.

Considering the large length, width, and turning radius of trucks entering Tibet, boundary constraints must be set for the lane-changing trajectory to ensure sufficient spacing between the vehicle and the obstacle ahead, preventing collisions. To meet the obstacle avoidance conditions, Fig 3 illustrates a feasible region for vehicle travel is defined around the planned Bézier curve trajectory. Following common engineering practice [33], we model the truck within the feasible region as an ellipse centered at the truck’s center of gravity and tangent to the feasible region boundary, with the semi-major axis being half the truck length plus the reserved safety distance and the semi-minor axis being half the truck width plus the reserved safety distance. The safety ellipse equation is:

(7)

Where, is the angle between the semi-major axis of the ellipse and the x-axis. Additionally, in scenarios where lane-changing is feasible for obstacle avoidance, the predominant type of frontal obstacles are predominantly slow-moving vehicles ahead.since the truck models entering Tibet are relatively concentrated, the width of the obstacle ahead is generally no greater than the width of the truck itself, so the width of the obstacle ahead is also selected as . The closest point N between the preceding vehicle and the truck is selected as the center, with the reserved safety distance as the radius, forming the safety circle of the preceding vehicle. The center coordinates are , and the intersection point N between the line connecting the ellipse center and point I can be further determined. The distance between and I is:

(8)

Then, based on geometric relationships, the conditions for vehicle obstacle avoidance planning are:

(9)

While ensuring obstacle avoidance, a larger reserved safety distance reduces the probability of collision with the obstacle ahead and improves lane-changing efficiency. However, with the y-coordinate of control point fixed, an excessively large reserved distance increases the trajectory curvature, indirectly increasing the risk of lateral instability. From the upper half of the obstacle avoidance trajectory curve, the curvature increases monotonically and reaches a maximum at control point . Therefore, the curvature constraint for truck trajectory planning can be expressed as:

(10)

Where, is the maximum curvature that satisfies the dynamic constraints of trucks entering Tibet. The optimization objective function is set as:

(11)

Where, and are weight coefficients greater than 0. The obstacle avoidance trajectory planning problem in the upper half can then be transformed into a nonlinear optimization problem under constraints:

(12)

For this nonlinear optimization problem, the interior-point method can be used to solve the objective function, as shown in the flowchart in Fig 4. After obtaining the x-coordinate of control point , the coordinates of control point can be further determined, thus obtaining the corresponding Bézier curve and achieving the upper half lane-changing trajectory planning.

thumbnail
Fig 4. Interior-point method flowchart.

The process terminates when convergence criteria are satisfied; otherwise, constraint parameters are updated and iterative solving proceeds.

https://doi.org/10.1371/journal.pone.0333685.g004

Based on the obstacle avoidance trajectory planning results, speed planning for the corresponding trajectory coordinates is performed, treating the real-time speed as the vertical coordinate of the truck trajectory, thereby establishing a real-time relationship between speed and truck position. Combining Eq. (1), the parametric equation for speed planning during vehicle travel can be expressed as:

(13)

Taking the derivative of Eq. (13) yields the parametric equation for acceleration:

(14)

In the upper half of the obstacle avoidance trajectory, based on the speed and acceleration information at the truck’s initial position, we have:

(15)

From Eq. (15), . Thus, by determining the vertical coordinates , , of control points , and , the speed planning curve for the given trajectory can be obtained.

To ensure cargo safety and lateral stability during lane changes for Tibet-bound trucks, the lateral acceleration must not exceed (0.3 times gravitational acceleration). preventing rollover caused by lane changes. Therefore, the constraint condition for longitudinal speed can be expressed as:

(16)

Compared to small vehicles, trucks entering Tibet have elevated centers of gravity, increasing the risk of rollover during turns and lane changes [34,35]. The quasi-static rollover threshold can be expressed as:

(17)

Where, is the vehicle track width, is the truck’s center of gravity height, is the truck’s roll rate, and is the roll center height. In actual driving, the dynamic rollover threshold is usually significantly lower than the quasi-static threshold, so a rollover adjustment coefficient () is selected, yielding the lateral acceleration threshold under these conditions. The calculation formula of is shown in Equation (18). Table 4 lists the measured friction coefficients of typical sections of the highway leading to Tibet and the corresponding calculated values of the rollover reduction coefficients.

thumbnail
Table 4. Road friction and rollover thresholds for key Tibet highway segments. The table displays friction coefficients and corresponding rollover reduction coefficients under varying pavement conditions across four representative sections of the Qinghai-Tibet Highway.

https://doi.org/10.1371/journal.pone.0333685.t004

(18)

Thus, the longitudinal speed constraint under rollover prevention is:

(19)

To prevent tire slip and ensure tire adhesion for heavy-duty trucks, the tire force should remain within the friction circle, with the corresponding constraint condition expressed as:

(20)

Simplifying, we get:

(21)

Considering the impact of Tibet’s high-altitude, oxygen-deficient, and cold environment on vehicle power performance, the longitudinal acceleration should be limited [36], with the corresponding constraint condition expressed as:

(22)

Here, θ denotes the road slope angle (positive for uphill), represents the maximum acceleration of the truck after reduction factors are applied to account for plateau environmental conditions, where is determined from measured data. Considering the critical influence of road grade on high-altitude maneuvers, the longitudinal acceleration constraint (Eq. 22) explicitly incorporates the slope angle θ, where positive θ denotes uphill conditions. Additionally, the planned speed should not exceed the maximum speed allowed by road conditions or the vehicle itself, with the corresponding constraint condition expressed as:

(23)

Where, is the maximum speed limit. Under the above dynamic constraints, trucks entering Tibet need to complete emergency obstacle avoidance and lane changes as quickly as possible to avoid accidents or congestion caused by prolonged occupation of the opposite lane. With the trajectory planning results determined, the travel distance is fixed. Therefore, in the upper half speed planning, minimizing travel time is one of the optimization objectives, with the corresponding sub-objective function expressed as:

(24)

Additionally, to reduce longitudinal and lateral impacts on trucks entering Tibet and improve driving smoothness and stability, the sub-objective functions for constraining longitudinal and lateral acceleration are expressed as:

(25)

The overall objective function can be expressed as:

(26)

Where, , and are weight coefficients greater than 0. The speed planning problem in the upper half can then be transformed into a nonlinear optimization problem under constraints:

(27)

Using the sequential quadratic optimization algorithm to solve this objective function yields the required , thus determining the vertical and horizontal coordinates of all control points and achieving speed planning for the corresponding travel trajectory.

2.3 Trajectory and velocity planning for the lane-recovery phase

Based on the upper half obstacle avoidance trajectory planning, the endpoint of the upper half trajectory planning is used as the starting point for the lower half trajectory planning. Similarly, a quartic Bézier curve plans the lower half of the truck’s lane-change trajectory, guiding the truck from the road divider back to the lane centerline (Fig 5).

thumbnail
Fig 5. Truck trajectory planning of steering back.

The trajectory endpoint of the collision avoidance phase serves as the starting point of the trajectory recovery phase, with control points , , and being collinear and satisfying tangent continuity conditions.

https://doi.org/10.1371/journal.pone.0333685.g005

Fig 5 demonstrates that control points , and lie on the same tangent line, so . Additionally, control point coincides with , and control points , , , and lie on the same tangent line, with the angle between this tangent line and the x-axis represented as . Based on the geometric relationships in the figure, we have:

(28)

From Eq. (3), . Thus, the coordinates of control points and in the xy-plane can be expressed as and , respectively. Similarly, the coordinate relationship of control point satisfies:

(29)

Thus, can be solved. Additionally, consistent with the proportional relationship expressed in Eq. (6), the proportional relationship in the lower half Bézier curve can also be expressed as:

(30)

Thus, .

Combining Eq. (29) and Eq. (30), only the x-coordinates of control points and need to be determined to obtain all control point coordinates, thus determining the unique lower half lane-changing trajectory curve.

In the lower half return trajectory planning, the real-time speed is also treated as the vertical coordinate of the vehicle trajectory. Control point coincides with control point . Considering the continuity of vehicle speed and acceleration, the speed and acceleration at control point should be consistent with those at control point . Therefore, the speed and acceleration information at the initial position of the return trajectory can be expressed as:

(31)(32)

Calculating , . Similarly, by analogy with the proportional relationship in Eq. (6), we have:

(33)

Solving Eq. (33) yields:

(34)

Thus, only the speed at the endpoint of the return trajectory needs to be determined to obtain the speed at control point , thereby obtaining the overall speed planning curve.

In the upper half obstacle avoidance trajectory planning, the primary goal was obstacle avoidance, and vehicle trajectory planning was performed considering road curvature constraints, followed by speed planning based on the trajectory planning results. Since the vehicle has already achieved obstacle avoidance in the upper half, the goal of trajectory planning in the return process is to return the vehicle to the lane as quickly as possible within the allowed range while considering road curvature constraints, thereby reducing lane-changing distance and improving lane-changing efficiency. Additionally, speed planning results directly affect lane-changing efficiency, so the return process trajectory planning and speed planning problems need to be combined for optimal design. [5,8,12]

Combining the integrated design objectives of trajectory planning and speed planning in the return process, the optimization objective function is set as:

(35)

Where, and are weight coefficients greater than 0. The sub-objective function can be expressed as:

(36)

The sub-objective function is directly related to vehicle trajectory planning and speed planning requirements, characterizing the endpoint position of the lane change and the overall travel distance. Minimizing helps ensure quick lane changes while reducing the total length of the curved trajectory, avoiding additional travel risks, and improving lane-changing efficiency while reducing energy loss. The optimization results of significantly affect the curvature of the vehicle’s travel trajectory. Therefore, configuring a larger curvature within an appropriate range during the return process helps achieve quick lane changes, but excessively large curvature also increases the risk of lateral instability. Thus, the curvature constraint is set as . The sub-objective function also affects speed planning results. Since can constrain trajectory planning and speed planning results through the lane change endpoint and travel distance, the design of considers the impact of longitudinal and lateral acceleration on vehicle stability and smoothness. The sub-objective function can be expressed as:

(37)

Where, , . Finally, considering the dynamic constraints involved in speed planning in the obstacle avoidance trajectory, the trajectory planning and speed planning problems in the return process can be integrated into the following nonlinear optimization problem with constraints:

(38)

Using the sequential quadratic optimization algorithm to solve this objective function yields the required , , and , thus determining the vertical and horizontal coordinates of all control points and completing trajectory planning and speed planning for the return process.

3. Results and discussion

We conducted numerical simulations in Python (Spyder 4.2.5). Trajectory and velocity optimization for obstacle avoidance and recovery phases were solved separately using parameters in Table 5.

thumbnail
Table 5. Simulation parameters. The simulation parameters include vehicle parameters, speed parameters, road parameters, and weight parameters.

https://doi.org/10.1371/journal.pone.0333685.t005

From Fig 6, the analysis shows that at a constant initial speed, the x-coordinates of the planned obstacle avoidance trajectory points vary with obstacle spacing. The larger the allowed lane-changing distance, the larger the x-coordinate of the obstacle avoidance trajectory endpoint, and the smaller the curvature of the obstacle avoidance trajectory. This indicates that with sufficient obstacle spacing, the planned vehicle obstacle avoidance trajectory is relatively smooth, effectively ensuring longitudinal and lateral stability.

thumbnail
Fig 6. Obstacle avoidance trajectories at varying obstacle spacing.

At an initial speed of 8 m/s, as the obstacle spacing increases, the lateral coordinate of the trajectory endpoint during the collision avoidance phase increases accordingly.

https://doi.org/10.1371/journal.pone.0333685.g006

Fig 7 demonstrates that with the lane-changing distance set to 25 meters, the vehicle obstacle avoidance trajectory planning curves under different initial speeds are shown. Analysis reveals, with a fixed obstacle spacing, the lane-changing trajectory endpoints are the same under different speeds. Additionally, with higher initial speeds, the curvature at the trajectory endpoint is relatively larger.

thumbnail
Fig 7. Collision avoidance trajectory curves at varying initial vehicle speeds.

When the obstacle spacing is fixed, the trajectory endpoint position during the collision avoidance phase remains unchanged across different initial speeds.

https://doi.org/10.1371/journal.pone.0333685.g007

Fig 8 illustrates the speed planning curves under different obstacle spacing conditions with an initial speed of 8 m/s. Analysis reveals, in the initial stage of lane changing, the speed planning results are similar, but after about 5 meters, the speeds diverge significantly. Owing to different lane-changing endpoints under different obstacle spacing conditions, the speeds at the endpoints differ noticeably, with achieving a maximum velocity of 12.5 m/s (45 km/h) at the endpoint for a lane-changing distance of 40 meters.

thumbnail
Fig 8. Speed planning curves for collision avoidance under varying obstacle spacing.

As the obstacle spacing increases, the vehicle’s terminal speed during the collision avoidance phase rises, with the speed differential between different obstacle spacing progressively amplifying as the avoidance maneuver progresses.

https://doi.org/10.1371/journal.pone.0333685.g008

Fig 9 illustrates the speed planning curves under different initial speeds with a lane-changing distance of 25 meters. Analysis reveals, with lower initial speeds, the vehicle accelerates more significantly to reach the endpoint within a fixed travel distance, improving lane-changing efficiency. As the initial speed increases, the acceleration during obstacle avoidance gradually decreases. When the initial speed exceeds 10 m/s, the vehicle decelerates to a certain speed to meet stability requirements and then travels steadily.

thumbnail
Fig 9. Collision avoidance speed planning curves for varying initial vehicle speeds.

When the initial speed is relatively low, the vehicle accelerates to the endpoint of the collision avoidance phase within a fixed distance. Conversely, at higher initial speeds, it decelerates to reach the endpoint. Regardless of whether accelerating or decelerating, the magnitude of acceleration progressively diminishes as the collision avoidance maneuver develops.

https://doi.org/10.1371/journal.pone.0333685.g009

In speed planning, the ratio of weights for different objective functions in Eq. (24) also affects the speed planning results. Fig 10 illustrates the speed planning curves under different weight coefficients, with an initial speed of 8 m/s and a lane-changing distance of 25 meters. Analysis reveals, when the weight coefficient ratio for the speed planning objective function is 10:1:1, the objective function tends to improve lane-changing efficiency during obstacle avoidance. Therefore, with a fixed lane-changing endpoint, the vehicle accelerates more significantly, resulting in higher overall speed during lane changing and reduced lane-changing time. When the weight coefficient ratio is 1:1:1, the vehicle considers both lane-changing efficiency and driving smoothness and comfort, resulting in more uniform acceleration during lane changing and effectively reducing vehicle roll and yaw changes during turns. When the weight coefficient ratio is 1:3:3, the speed planning curve’s curvature changes more uniformly, with the vehicle approaching uniform acceleration, and the overall acceleration and speed at the lane-changing endpoint are relatively lower, indicating a greater focus on vehicle stability performance.

thumbnail
Fig 10. Collision avoidance speed planning curves under varying weight coefficients.

When a higher weighting is assigned to the acceleration parameter, the vehicle accelerates more rapidly and reaches the planned endpoint at a higher terminal speed. Conversely, when greater and weightings are allocated to the steering and stability parameters, the vehicle accelerates more gradually and attains the same planned endpoint at a relatively lower speed.

https://doi.org/10.1371/journal.pone.0333685.g010

Based on the trajectory planning and speed planning design methods for the return process, the return trajectory is designed based on the obstacle avoidance trajectory, with all weight coefficients for the objective functions set to 1. Combining the vehicle position and speed at the lane-changing endpoint in Figs 6 and 8, the return trajectory and speed planning results under different obstacle spacing conditions are shown in Fig 11. Fig 11a illustrates the lower half return trajectory planning results under different obstacle spacing conditions. Analysis reveals, with larger obstacle spacing, the initial position coordinates of the lower half trajectory are larger, and the initial curvature is smaller, resulting in a longer travel distance for the return trajectory. Additionally, since lane-changing efficiency is considered in the return trajectory design, with larger obstacle spacing, the initial curvature is relatively smaller, and the overall lane-changing distance is relatively larger. Therefore, with larger obstacle spacing, the optimization results show a slower reduction rate in trajectory curvature, allowing for some trajectory correction to improve lane-changing efficiency. Fig 11b illustrates the speed planning results for the return trajectory under different obstacle spacing conditions. From the speed planning results for the upper half obstacle avoidance trajectory under different obstacle spacing conditions, Analysis reveals the endpoint speeds differ under different obstacle spacing conditions. Therefore, the initial speeds at the starting position of the return trajectory also differ. With smaller obstacle spacing, the initial speed and return endpoint position coordinates are relatively smaller, and to improve lane-changing efficiency, the speed increases more rapidly, with the vehicle approaching constant speed near the lane-changing endpoint. With larger obstacle spacing, the initial speed and return endpoint position coordinates are relatively larger, and the speed increases more slowly, ensuring lane-changing efficiency while considering vehicle stability, comfort, and smoothness.

thumbnail
Fig 11. Return trajectory and speed planning curve under varying obstacle spacing.

Figure (a) presents the trajectory planning results, while Figure (b) displays the speed planning results.

https://doi.org/10.1371/journal.pone.0333685.g011

Combining the vehicle position and speed at the lane-changing endpoint in Figs 7 and 9, the return trajectory and speed planning results under different initial speeds are shown in Fig 12. Fig 12a illustrates the return trajectory planning results under different initial speeds. In the obstacle avoidance trajectory, with the same obstacle spacing but different initial speeds, the lane-changing trajectory endpoints are the same, so the starting positions of the return trajectory are also the same. With lower initial speeds, the initial curvature of the return trajectory is relatively smaller, and the curvature reduction rate is relatively slower, resulting in a larger endpoint position coordinate for the return trajectory under low-speed conditions. With higher initial speeds, the initial curvature of the return trajectory is relatively larger, and the curvature change rate is relatively faster, allowing the vehicle to complete the lane change in a shorter distance, with relatively higher lane-changing efficiency. Fig 12b illustrates the speed planning results for the return trajectory under the same obstacle spacing but different initial speeds. Analysis reveals during the return trajectory, without the influence of obstacles, and under the premise of ensuring vehicle stability and dynamic constraints, more indicators in the trajectory planning objective function are used to improve lane-changing efficiency. Additionally, since the primary goal of the return trajectory is to improve lane-changing efficiency, under high-speed conditions, the vehicle can complete the lane change more quickly and with a shorter travel distance, while under low initial speed conditions, owing to dynamic constraints, the speed cannot increase rapidly, resulting in a longer travel distance to complete the lane change.

thumbnail
Fig 12. Return trajectory and speed planning curve for varying initial vehicle speeds.

Figure (a) presents the trajectory planning outcomes for the steering recovery phase, while Figure (b) displays the speed planning outcomes during the same phase.

https://doi.org/10.1371/journal.pone.0333685.g012

Combining the trajectory planning curves under different obstacle spacing conditions in Figs 6 and 11a, the complete quartic Bézier trajectory planning curve for the entire lane-changing process is obtained. Combining the speed planning curves under different obstacle spacing conditions in Figs 8 and 11b, the complete quartic Bézier speed planning curve for the entire lane-changing process is obtained. Integrating the trajectory planning and speed planning results, the three-dimensional, segmented quartic Bézier curve planning results under different obstacle spacing conditions are shown in Fig 13. Fig 13a illustrates the three-dimensional planning trajectory comparison under the same initial speed (10 m/s) but different obstacle spacing conditions. Fig 13b and 13c show the travel distance and travel time comparison for vehicle lane changes under different obstacle spacing conditions. Analysis reveals, with a fixed initial speed, the larger the actual obstacle spacing, the longer the travel distance in the planning results, and the longer the corresponding lane-changing travel time.

thumbnail
Fig 13. Results of 3-D Bézier trajectory planning with varying obstacle spacing.

Figure (a) depicts the 3D curves of trajectory and speed planning under varying obstacle distances at an initial velocity of 8 m/s. Figure (b) presents the lane-change travel distance across different obstacle spacing, while Figure (c) displays the lane-change duration for corresponding obstacle distance conditions.

https://doi.org/10.1371/journal.pone.0333685.g013

Similarly, combining the trajectory planning curves under different initial speeds in Figs 7 and 12a, the complete quartic Bézier curve for the entire lane-changing process is obtained. Combining the speed planning curves under different initial speeds in Figs 9 and 12b, the complete quartic Bézier speed planning curve for the entire lane-changing process is obtained. Integrating the trajectory planning and speed planning results, the three-dimensional, segmented quartic Bézier curve planning results under different initial speeds are shown in Fig 14. Fig 14a illustrates the three-dimensional planning trajectory comparison under the same obstacle spacing (25 meters) but different initial speeds. Figs 14b and 14c show the travel distance and travel time comparison for vehicle lane changes under different initial speeds. Analysis reveals, with a fixed obstacle spacing, the higher the initial speed of the truck, the shorter the travel distance in the planning results, and the shorter the corresponding lane-changing travel time.

thumbnail
Fig 14. Results of 3D Bézier trajectory planning for varying initial vehicle speeds.

Figure (a) depicts the 3D curves of trajectory and speed planning at varying initial velocities under a fixed obstacle distance of 25 m. Figure (b) presents the lane-change travel distance across different initial speeds, while Figure (c) displays the lane-change duration for corresponding initial velocity conditions.

https://doi.org/10.1371/journal.pone.0333685.g014

To further demonstrate the advantages of the proposed three-dimensional, segmented quartic Bézier curve-based vehicle trajectory planning method, a comparison with quartic and cubic Bézier curves is conducted. The initial speed is set to 8 m/s, and the obstacle spacing is set to 25 meters for the simulation. From the planning results, the lane-changing travel distance based on the three-dimensional, segmented quartic Bézier curve is 94.07 meters. Therefore, a fixed travel distance of 94.07 meters is used for comparison with different planning algorithms. The trajectory planning comparison results under the fixed travel distance are shown in Fig 15, where A, B, and C represent the results based on the cubic Bézier curve, the quartic Bézier curve, and the proposed method, respectively. Fig 15 demonstrates that under the same initial speed, obstacle spacing, and travel distance, the trajectory planning results of the three methods are relatively similar. The proposed method’s lane-changing curve is smoother overall, while the trajectories based solely on the quartic and cubic Bézier curves have relatively larger curvature in the initial obstacle avoidance stage. The speed planning results of the three methods differ significantly. Since the proposed method’s trajectory has relatively smaller curvature in the initial obstacle avoidance stage, the overall speed planning tends to accelerate more significantly to improve lane-changing efficiency and maneuverability. In the later stage with lower curvature, the speed is significantly higher than the other two methods, also improving lane-changing efficiency and maneuverability. The overall lane-changing travel time comparison further proves that the proposed method effectively achieves a 2.59% reduction in lane-change duration while ensuring all stability constraints.

thumbnail
Fig 15. Trajectory planning results of different planning algorithms under fixed driving mileage.

Figure (a) depicts the 3D trajectory and speed planning curves for three distinct methods. Figure (b) presents the 2D trajectory projections of these methods, while Figure (c) illustrates the speed profiles as functions of longitudinal displacement for each approach. Figure (d) compares the lane-change duration across all three methods under a representative scenario with initial velocity 8 m/s and obstacle spacing 25 m.

https://doi.org/10.1371/journal.pone.0333685.g015

Several assumptions limit this study’s scope. First, we assumed zero initial lateral velocity and acceleration (Eq. 5) to decouple longitudinal-lateral dynamics during Bézier curve derivation. This simplification enables tractable optimization but may not hold under transient lateral dynamics. Second, although Tibet’s mountainous terrain introduces significant road inclination, our 3D Bézier formulation did not explicitly parameterize grade. We prioritized dominant lateral stability challenges (curvature-induced rollover, narrow lanes), incorporating grade effects only via longitudinal acceleration limits in dynamic constraints (Eq. 22). Third, we assumed constant tire-road friction (Eq. 21), overlooking dynamic variations common on Tibetan highways (e.g., ice, gravel). These simplifications inherently restrict generalizability to inclined roads or low-friction scenarios.

Future work will address these limitations:

  • Integrating road inclination: Incorporate Digital Elevation Models (DEMs) and powertrain-grade coupling into the Bézier parameterization, particularly for asymmetric upgrade/downgrade kinematics.
  • Enhancing robustness: Develop stochastic lateral dynamic models with non-zero initial velocities and road disturbances.
  • Large-scale validation: Conduct field tests across Tibet’s major corridors (e.g., G318, S307) using diverse freight fleets, quantifying performance under real-world noise, mixed traffic, and variable adhesion.
  • Beyond Tibet, this framework’s modular architecture—integrating altitude-specific constraints (power attenuation, rollover thresholds)—provides a transferable paradigm for autonomous logistics in extreme terrains (e.g., Andean mining, Arctic supply chains).
  • Subsequent research will also explore V2X-enabled cooperative planning to resolve multi-vehicle conflicts in single lanes, potentially reducing emergency maneuver distances by 15–22% [25,30].

4. Conclusion

This work proposes a novel 3D segmented quartic Bézier curve framework for integrated trajectory and velocity planning, enhancing maneuverability and stability of plateau-operating heavy-duty trucks. Unlike decoupled approaches, our method integrates spatial coordinates (XY plane) and velocity profiles (Z-axis) into a unified parametric representation using G²-continuous quartic Bézier curves. This integration resolves the dynamic infeasibility inherent in decoupled planning. Compared to cubic Bézier curves [29], quartic curves achieve G² continuity (curvature continuity), eliminating sudden acceleration jumps at trajectory joints (Fig 15). The methodology incorporates altitude-specific dynamic constraints—including powertrain performance attenuation, rollover risk thresholds, and tire friction circle limitations—within a computationally efficient dual-phase optimization structure. This structure prioritizes collision avoidance during lane deviation while optimizing lane-return efficiency, achieving real-time trajectory synthesis through sensor fusion (vision/radar) and execution via drive-by-wire systems under Tibet’s operational constraints.

Validation demonstrates significant performance improvements: Trajectory curvature reduces by 12–18% at hairpin curves (Figs 6 and 15), and lane-change duration decreases by 2.59% (Fig 15c) while maintaining lateral stability. The framework combines mathematical guarantees (convex hull safety) with computational practicality, offering a robust approach for high-altitude autonomous navigation. This closed-loop perception-planning-execution architecture (Fig 1) addresses critical stability-efficiency trade-offs in specialized terrains. It provides a foundational methodology for autonomous freight systems in extreme topographies like the Tibetan Plateau.

Supporting information

S1 File. Data_ImagePoints.

The raw data for all figures in the article.

https://doi.org/10.1371/journal.pone.0333685.s001

(XLSX)

References

  1. 1. Tibet Autonomous Region Bureau of Statistics. Tibet autonomous region national economic and social development statistical bulletin. 2024. http://tjj.xizang.gov.cn/xxgk/tjxx/tjgb/202405/t20240509_415635.html?bimgdbaieknglngl
  2. 2. Nan D, Lu XT. Achievements and experiences of transportation development in Tibet autonomous region. J Chongqing Jiaotong Univ. 2025;:1–8.
  3. 3. Wang D, Gao L, Lan Z, Li W, Ren J, Zhang J, et al. An intelligent self-driving truck system for highway transportation. Front Neurorobot. 2022;16:843026. pmid:35645759
  4. 4. Kossmann J, Schlosser R. Self-driving database systems: a conceptual approach. Distrib Parallel Databases. 2020;38(4):795–817.
  5. 5. Chen Z, Zhan G, Jiang Z, Zhang W, Rao Z, Wang H, et al. Adaptive impedance control for docking robot via Stewart parallel mechanism. ISA Trans. 2024;155:361–72. pmid:39368867
  6. 6. Sviatov K, Yarushkina N, Kanin D, Rubtcov I, Jitkov R, Mikhailov V, et al. Functional model of a self-driving car control system. Technologies. 2021;9(4):100.
  7. 7. Su G, Shu H. Traffic flow detection method based on improved SSD algorithm for intelligent transportation system. PLoS One. 2024;19(3):e0300214. pmid:38483877
  8. 8. Xu Y, Bao R, Zhang L, Wang J, Wang S. Embodied intelligence in RO/RO logistic terminal: autonomous intelligent transportation robot architecture. Sci China Inf Sci. 2025;68(5).
  9. 9. Sun A. A perception centered self-driving system without HD maps. IJACSA. 2020;11(10).
  10. 10. Fetzer KL, Nersesov SG, Ashrafiuon H. Trajectory tracking control of spatial underactuated vehicles. Intl J Robust Nonlinear. 2021;31(10):4897–916.
  11. 11. Dubljevic V, List G, Milojevich J, Ajmeri N, Bauer WA, Singh MP, et al. Toward a rational and ethical sociotechnical system of autonomous vehicles: a novel application of multi-criteria decision analysis. PLoS One. 2021;16(8):e0256224. pmid:34388216
  12. 12. Xue J, Chen Z, Wang S, Wang J, Xu Y. Roll torque vibration isolation control on parallel active suspension system via impedance-based MPC for vehicular terminal. IEEE Trans Automat Sci Eng. 2025;22:13253–68.
  13. 13. Tsai C-Y. Trajectory planning of semi-trailer truck vehicle based on algebraic general trajectory formula. IEEE Trans Intell Transport Syst. 2022;:1–7.
  14. 14. Ozana S, Krupa F, Slanina Z. Efficient optimization-based trajectory planning for truck–trailer systems. Appl Sci. 2024;14(24):11675.
  15. 15. Wei L, Zhang W, Bai H, Li J. 2D‐Action asynchronous cooperative lane change trajectory planning method for connected and automated vehicles. J Adv Transp. 2024;2024(1).
  16. 16. Li Y, Li L, Ni D. Dynamic trajectory planning for automated lane changing using the quintic polynomial curve. J Adv Transp. 2023;2023:1–14.
  17. 17. Li B, Ouyang Y, Li X, Cao D, Zhang T, Wang Y. Mixed-Integer and conditional trajectory planning for an autonomous mining truck in loading/dumping scenarios: a global optimization approach. IEEE Trans Intell Veh. 2023;8(2):1512–22.
  18. 18. Li Q, Li X. Trajectory planning for autonomous modular vehicle docking and autonomous vehicle platooning operations. Transp Res Part E Logist Transp Rev. 2022;166:102886.
  19. 19. Zhang FW, Chen LF, Duan JL. Dual-strategy trajectory tracking control for multi-axle wheeled articulated vehicles. Acta armamentaria. 2025;1–11.
  20. 20. Zhou T. Trajectory optimization method for automated truck platoons in intelligent and connected environments. Southwest Jiaotong University; 2022.
  21. 21. Wang HL, Yong JY, Pi DW. Multi-vehicle formation switching trajectory planning based on bézier curves and multi-objective optimization. J Mech Eng. 2024;60(16):270–9.
  22. 22. Shi Y, Huang YW, Chen Y. Trajectory planning of autonomous trucks for collision avoidance with rollover prevention. IEEE Trans Intell Transp Syst. 2022;23(7):8930–9.
  23. 23. Li H, Li Y, Chen P, Yu G, Liao Y. A secure trajectory planning method for connected autonomous vehicles at mining site. Symmetry. 2023;15(11):1973.
  24. 24. Zhan H, Wang G, Shan X, Liu Y. Risk-aware lane-change trajectory planning with rollover prevention for autonomous light trucks on curved roads. Mech Syst Signal Process. 2024;211:111126.
  25. 25. Zhou T, Zheng F, Liu X, Fan Z. A two-stage trajectory planning model for cooperative truck platooning on freeways. J Intell Transp Syst. 2021;27(2):217–37.
  26. 26. Shi Y, Chen Y, Jia B. Local Trajectory Planning for Autonomous Trucks in Collision Avoidance Maneuvers with Rollover Prevention. In: 2019 American Control Conference (ACC). 2019.
  27. 27. Muralidhara DB, Gehring O, Bock HG, Wirsching L. Scenario Analysis for Optimized Trajectories of a Truck-Trailer Model utilizing Coupled Dynamics. In: 2022 IEEE Intelligent Vehicles Symposium (IV). 2022. p. 708–17.
  28. 28. Li N. Research on emergency obstacle avoidance control algorithm for four-wheel steering autonomous vehicles. Jilin university; 2024.
  29. 29. Zhang S. Research on emergency steering obstacle avoidance control for autonomous trucks. Shenyang University of Technology; 2024.
  30. 30. Tian GF, Zhang S. Emergency steering decision and trajectory planning for intelligent trucks in multi-vehicle environments. Sci Technol Eng. 2024;24(05):2083–9.
  31. 31. Chen T, Cai YF, Chen L. Trajectory planning method for emergency rescue vehicles based on quartic Bézier curves. J Mech Eng. 2024;:1–12.
  32. 32. Nakka YK, Chung S-J. Trajectory optimization of chance-constrained nonlinear stochastic systems for motion planning under uncertainty. IEEE Trans Robot. 2023;39(1):203–22.
  33. 33. Tian F, Zhou R, Li Z, Li L, Gao Y, Cao D, et al. Trajectory planning for autonomous mining trucks considering terrain constraints. IEEE Trans Intell Veh. 2021;6(4):772–86.
  34. 34. AS 3450:2021, Earth-moving machinery - Wheeled or high-speed rubber-tracked machines - Performance requirements and test procedures for brake systems (ISO 3450:2011, MOD).
  35. 35. Jin Z, He S. Anti-rollover artificial potential field motion planning method of an autonomous heavy truck optimised by game theory. Chin J Mech Eng. 2024;37(1).
  36. 36. Wang XC, Jiang L, He M. Real vehicle test and analysis of combustion process for high power diesel engine in plateaus. Vehicle Engine. 2012;03:32–6.