Method, device, equipment and product for ramp merging decision of tractor and trailer

By combining vehicle prediction information and trailer dynamics models, the system calculates whether the candidate window for lane merging decisions meets the actual vehicle capacity and attitude stability requirements, thus solving the accuracy problem when tractor-trailer vehicles merge on ramps and improving safety and stability.

CN123190862APending Publication Date: 2026-12-01SINO TRUK JINAN POWER CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611707003.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-30
Publication Date
2026-12-01

AI Technical Summary

Technical Problem

In existing technologies, tractor-trailers equipped with trailers cannot accurately identify safe merging windows when making merging decisions on ramps, leading to a higher risk of traffic accidents.

Method used

By combining the predicted information of other vehicles in the target lane with the information of the controlled vehicle, candidate traffic merging windows are determined. A preset trailer dynamics model is used to predict the trailer articulation angle and attitude stabilization time. The total time required for the merging action is calculated. Only when the duration of the candidate window meets the requirements is it determined as a traffic merging window, and vehicle merging is controlled.

Benefits of technology

It improves the accuracy and safety of lane merging decisions when tractor-trailers merge from ramps into main roads, reduces misjudgments of unsuitable windows, and enhances the reliability of merging decisions under complex traffic flow conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123190862A_ABST
    Figure CN123190862A_ABST
Patent Text Reader

Abstract

This application provides a method, apparatus, device, and product for merging and lane-changing decision-making on ramps for tractor-trailers, relating to the technical field of vehicle control. The method includes: determining a candidate traffic merging window when a controlled vehicle merges from its current lane into a target lane; predicting the trailer articulation angle based on a preset trailer dynamics model and the vehicle information of the controlled vehicle; predicting the attitude stabilization time of the controlled vehicle based on the predicted trailer articulation angle and the vehicle information of the controlled vehicle; calculating the total time required for the merging action based on the attitude stabilization time and the vehicle information of the controlled vehicle; determining the candidate traffic merging window as the traffic merging window when the duration of the candidate traffic merging window is greater than or equal to the total time required for the merging action; and controlling the controlled vehicle to merge from its current lane into the target lane based on the traffic merging window, thereby improving the accuracy of lane-changing decisions when tractor-trailers merge from ramps into main roads.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of vehicle control, and in particular to a method, apparatus, equipment and product for decision-making on ramp merging and lane changing for tractor-trailers. Background Technology

[0002] With the development of autonomous driving technology for highway logistics, the autonomous driving of large trucks (especially tractors with trailers) has gradually moved from closed testing scenarios to open highway road scenarios. Among them, highway ramp merging is one of the typical scenarios with high risks and complex traffic interactions in the process of autonomous driving for highway logistics.

[0003] For tractors equipped with trailers, they typically have a large overall length and mass, resulting in a relatively slow longitudinal dynamic response. Moreover, since the tractor and trailer are connected by an articulated mechanism, there is significant motion coupling between them during lateral movement. The overall lateral movement of the vehicle is affected not only by the steering state of the tractor but also by factors such as the trailer articulation angle, the rate of change of the articulation angle, and the vehicle speed.

[0004] In relevant technical solutions, autonomous driving systems typically employ merging decision-making methods to control vehicles merging from ramps onto main roads. However, for tractor-trailers carrying trailers, the safe merging window identified by these methods may not accurately represent the actual merging capacity of the tractor and trailer. This can lead to the erroneous identification of dangerous small windows as usable ones, potentially causing traffic accidents. Therefore, improving the accuracy of merging decisions for tractor-trailers merging from ramps onto main roads is a pressing issue that needs to be addressed. Summary of the Invention

[0005] This application provides a method, apparatus, equipment, and product for merging and lane-changing decisions on ramps for tractor-trailers, in order to improve the accuracy of lane-changing decisions when tractor-trailers merge from ramps into main roads.

[0006] In a first aspect, embodiments of this application provide a method for decision-making regarding ramp merging and lane changing for tractor-trailers, including:

[0007] When a controlled vehicle merges from the current lane into the target lane, a candidate traffic merging window is determined based on the vehicle prediction information of other vehicles in the target lane and the vehicle information of the controlled vehicle. The controlled vehicle is a tractor-trailer carrying a trailer, and the candidate traffic merging window is the time interval during which the controlled vehicle merges from the current lane into the target lane.

[0008] Based on the preset trailer dynamics model and the vehicle information of the controlled vehicle, the predicted value of the trailer articulation angle is predicted.

[0009] Based on the predicted value of the trailer articulation angle and the vehicle information of the controlled vehicle, the attitude stabilization time of the controlled vehicle is predicted. The attitude stabilization time is the time required for the controlled vehicle to recover to the preset stable state when it merges from the current lane into the target lane.

[0010] Calculate the total time required for the merging action based on the attitude stabilization time and the vehicle information of the controlled vehicle;

[0011] When the duration of a candidate traffic merging window is greater than or equal to the total time required for the merging action, the candidate traffic merging window is determined as a traffic merging window;

[0012] Based on the traffic merging window, control the controlled vehicles to merge from the current lane into the target lane.

[0013] In one possible implementation, the attitude stabilization time of the controlled vehicle is predicted based on the predicted trailer articulation angle and the vehicle information of the controlled vehicle, including:

[0014] The dynamic convergence rate of the trailer articulation angle is calculated based on the predicted value of the trailer articulation angle and the vehicle information of the controlled vehicle.

[0015] The attitude stabilization time is predicted based on the dynamic convergence rate of the trailer articulation angle.

[0016] In one possible implementation, the total time required for the merging action is calculated based on the attitude stabilization time and the vehicle information of the controlled vehicle, including:

[0017] Based on the preset longitudinal dynamics model and the vehicle information of the controlled vehicle, the longitudinal speed matching time is calculated, where the longitudinal speed matching time is the time it takes for the controlled vehicle to merge from the current lane into the target lane and reach the target merging speed.

[0018] Based on the preset kinematic model of the tractor and trailer and the vehicle information of the controlled vehicle, calculate the lateral merging time of the controlled vehicle from the current lane to the target lane.

[0019] The sum of the attitude stabilization time, longitudinal velocity matching time, lateral merging time, and time safety margin is recorded as the total time required for the merging action.

[0020] In one possible implementation, the method further includes:

[0021] Based on the vehicle prediction information of other vehicles in the target lane and the vehicle information of the controlled vehicle, calculate the traffic interaction risk index.

[0022] The time safety margin is determined based on traffic interaction risk indicators and basic time safety margin.

[0023] In one possible implementation, the method further includes:

[0024] Determine the attitude recovery distance based on the attitude stabilization time;

[0025] Determine the required distance for longitudinal velocity matching based on the longitudinal velocity matching time;

[0026] Based on the lateral merging time, determine the longitudinal travel distance of the controlled vehicle in the lateral entry direction;

[0027] The sum of attitude recovery distance, longitudinal velocity matching distance, longitudinal travel distance, and spatial safety margin is denoted as the space required for the merging action.

[0028] When the prediction space corresponding to the candidate traffic merging window is greater than or equal to the space required for the merging action, the candidate traffic merging window is determined as the traffic merging window;

[0029] When the predicted space corresponding to the candidate traffic merging window is less than the space required for the merging action, the controlled vehicle is stopped.

[0030] In one possible implementation, the method further includes:

[0031] If the duration of a candidate traffic merging window is less than the total time required for the merging action, the controlled vehicle is stopped, and vehicle prediction information of other vehicles in the target lane is reacquired to redetermine the candidate traffic merging window.

[0032] In one possible implementation, before controlling the controlled vehicle to stop, the method further includes:

[0033] Calculate the degree of attitude degradation of the trailer based on the current vehicle information of the controlled vehicle;

[0034] Based on the degree of attitude degradation of the trailer, determine the backtracking trajectory constraint after the controlled vehicle's merging is interrupted;

[0035] Generate a buffered and smoothed backtrack trajectory based on the backtrack trajectory constraints;

[0036] Based on the smooth backtracking trajectory, control the movement of the controlled vehicle until a new candidate traffic merging window is determined, or control the controlled vehicle to stop.

[0037] In one possible implementation, the method further includes:

[0038] Based on the preset trailer dynamics model and the vehicle information of the controlled vehicle, predict the rate of change of the trailer articulation angle;

[0039] Based on the vehicle prediction information of other vehicles in the target lane and the vehicle information of the controlled vehicle, the lateral offset between the trailer and the target lane is determined.

[0040] When the predicted value of the trailer articulation angle, the rate of change of the trailer articulation angle, and the lateral offset all meet the preset conditions, the controlled vehicle is controlled to merge from the current lane into the target lane according to the traffic merging window.

[0041] Secondly, embodiments of this application provide a ramp merging and lane-changing decision-making device suitable for tractor-trailers and trailers, comprising:

[0042] The window determination module is used to determine candidate traffic merging windows when a controlled vehicle merges from the current lane into the target lane, based on the vehicle prediction information of other vehicles in the target lane and the vehicle information of the controlled vehicle. The controlled vehicle is a tractor-trailer, and the candidate traffic merging window is the time interval during which the controlled vehicle merges from the current lane into the target lane.

[0043] The prediction module is used to predict the trailer articulation angle based on the preset trailer dynamics model and the vehicle information of the controlled vehicle.

[0044] The prediction module is also used to predict the attitude stabilization time of the controlled vehicle based on the predicted value of the trailer articulation angle and the vehicle information of the controlled vehicle. The attitude stabilization time is the time required for the controlled vehicle to recover to the preset stable state when it merges from the current lane into the target lane.

[0045] The time calculation module is used to calculate the total time required for the merging action based on the attitude stabilization time and the vehicle information of the controlled vehicle.

[0046] The window determination module is also used to determine a candidate traffic merging window as a traffic merging window when the duration of the candidate traffic merging window is greater than or equal to the total time required for the merging action.

[0047] The control module is used to control the controlled vehicles to merge from the current lane into the target lane according to the traffic merging window.

[0048] In one possible implementation, the prediction module includes:

[0049] The first calculation submodule is used to calculate the dynamic convergence rate of the trailer articulation angle based on the predicted value of the trailer articulation angle and the vehicle information of the controlled vehicle.

[0050] The prediction submodule is used to predict the attitude stabilization time based on the dynamic convergence rate of the trailer articulation angle.

[0051] In one possible implementation, the time calculation module includes:

[0052] The time submodule is used to calculate the longitudinal speed matching time based on the preset longitudinal dynamics model and the vehicle information of the controlled vehicle. The longitudinal speed matching time is the time it takes for the controlled vehicle to merge from the current lane into the target lane and reach the target merging speed.

[0053] The time submodule is also used to calculate the lateral merging time of the controlled vehicle from the current lane to the target lane based on the preset kinematic model of the tractor and trailer and the vehicle information of the controlled vehicle.

[0054] The second calculation submodule is used to record the sum of attitude stabilization time, longitudinal velocity matching time, lateral merging time, and time safety margin as the total time required for the merging action.

[0055] In one possible implementation, the time calculation module further includes:

[0056] The risk submodule is used to calculate traffic interaction risk indicators based on the vehicle prediction information of other vehicles in the target lane and the vehicle information of the controlled vehicle.

[0057] The time margin module is used to determine the time safety margin based on traffic interaction risk indicators and basic time safety margin.

[0058] In one possible implementation, the device further includes:

[0059] The distance determination module is used to determine the attitude recovery distance based on the attitude stabilization time.

[0060] The distance determination module is also used to determine the distance required for longitudinal velocity matching based on the longitudinal velocity matching time;

[0061] The distance determination module is also used to determine the longitudinal travel distance of the controlled vehicle in the lateral entry direction based on the lateral merging time;

[0062] The spatial calculation module is used to record the sum of the attitude recovery distance, the distance required for longitudinal velocity matching, the longitudinal travel distance, and the spatial safety margin as the space required for the merging action;

[0063] The window determination module is also used to determine the candidate traffic merging window as the traffic merging window when the prediction space corresponding to the candidate traffic merging window is greater than or equal to the space required for the merging action.

[0064] The control module is also used to control the controlled vehicle to stop when the predicted space corresponding to the candidate traffic merging window is less than the space required for the merging action.

[0065] In one possible implementation, the prediction module is also used to predict the rate of change of the trailer articulation angle based on a preset trailer dynamics model and vehicle information of the controlled vehicle.

[0066] The device also includes:

[0067] The offset determination module is used to determine the lateral offset between the trailer and the target lane based on the vehicle prediction information of other vehicles in the target lane and the vehicle information of the controlled vehicle.

[0068] The control module is also used to control the controlled vehicle to merge from the current lane into the target lane according to the traffic merging window when the predicted value of the trailer articulation angle, the rate of change of the trailer articulation angle, and the lateral offset all meet the preset conditions.

[0069] Thirdly, embodiments of this application provide an electronic device, including: a memory and a processor;

[0070] The memory stores the instructions that the computer executes;

[0071] The processor executes computer execution instructions stored in memory, causing the processor to perform the first aspect and / or various possible implementations of the first aspect as described above.

[0072] Fourthly, embodiments of this application provide a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the first aspect and / or various possible implementations of the first aspect.

[0073] Fifthly, embodiments of this application provide a computer program product, including a computer program that, when executed by a processor, implements the first aspect and / or various possible implementations of the first aspect.

[0074] The present application provides a method, apparatus, equipment, and product for ramp merging and lane-changing decision-making applicable to tractor-trailers and trailers. By incorporating predicted information of other vehicles in the target lane and the controlled vehicle's own state information into the selection process of candidate traffic merging windows, the determination of merging timing can be made more consistent with the actual traffic environment and vehicle movement capabilities. By combining trailer dynamic characteristics to predict articulation angle changes and further evaluating attitude stabilization time, the trailer attitude stabilization requirements can be incorporated into lane-changing decision-making in advance, thereby improving the safety and stability of ramp merging. By calculating the total time required for merging actions based on attitude stabilization time and vehicle information, and determining an executable merging window only when the duration of a candidate traffic merging window meets the requirements, the misjudgment and conservative abandonment of unsuitable windows can be reduced, thereby improving the accuracy and reliability of merging decisions for semi-trailer tractors under complex traffic flow. Attached Figure Description

[0075] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0076] Figure 1The flowchart of the ramp merging and lane-crossing decision-making method applicable to tractor-trailers provided in this application is illustrated below. Figure 1 ;

[0077] Figure 2 The flowchart of the ramp merging and lane-crossing decision-making method applicable to tractor-trailers provided in this application is illustrated below. Figure 2 ;

[0078] Figure 3 Schematic diagram of the ramp merging and lane-changing decision-making device for tractor-trailers provided in this application Figure 1 ;

[0079] Figure 4 Schematic diagram of the ramp merging and lane-changing decision-making device for tractor-trailers provided in this application Figure 2 ;

[0080] Figure 5 A schematic diagram of the structure of the electronic device provided in this application.

[0081] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation

[0082] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application.

[0083] In the field of autonomous driving, vehicles typically rely on LiDAR, millimeter-wave radar, cameras, high-precision positioning and vehicle bus information to jointly process the status of vehicles ahead and behind on the main road, the geometric constraints of ramps and the motion status of the vehicle itself, and output lane-changing decisions and trajectory control commands accordingly.

[0084] Existing ramp merging schemes mostly use the main road traffic clearance as the core criterion, determining candidate windows through the distance between vehicles, relative speed, or a fixed safe time interval, and then combining this with trajectory generation algorithms to complete the cut-in control. For ordinary passenger cars, this method can usually meet basic traffic needs. However, for tractor-trailers with trailers, not only does the overall length and weight of the vehicle cause a relatively lagging longitudinal dynamic response, but also, because the tractor-trailer is connected by an articulated mechanism, the overall lateral movement of the vehicle is affected not only by the steering state of the tractor-trailer, but also by factors such as the trailer's articulation angle, the rate of change of the articulation angle, and the vehicle's speed. In addition, the acceleration capabilities of the tractor-trailer are significantly limited when the vehicle is fully loaded, the gradient changes, or the adhesion conditions decrease, and the trailer's articulated posture also continuously changes during lateral cut-in.

[0085] Judging candidate lane openings solely based on static clearances risks misclassifying small, dangerous openings as usable ones. This can lead to situations where clearances appear sufficient, but vehicles are unable to complete the merging maneuver within the opening. Furthermore, it can easily overlook the risk of trailer instability during periods of high traffic flow, resulting in conservative decision-making, low window utilization, or unstable merging processes, ultimately impacting lane merging safety and operational efficiency. Therefore, improving the accuracy of lane merging decisions for tractor-trailers entering main roads from ramps is a pressing technical challenge.

[0086] Based on the aforementioned technical problems, this application provides a method, device, equipment, and product applicable to merging and lane-merging decisions for semi-trailer tractors on ramps. It determines candidate windows based on the "actually achievable merging action of the vehicle," rather than solely relying on the main road clearance itself. Based on vehicle information and target lane vehicle prediction information, candidate traffic merging windows are first formed. Then, by combining the trailer dynamics model to deduce articulation angle changes and attitude stabilization time, the total time required for the merging action is matched with the window duration. A merging control command is output only after the time condition is met. Furthermore, trailer attitude evolution is incorporated into the window determination process, ensuring that window selection simultaneously addresses traffic opportunities, vehicle mobility, and attitude stability requirements. This improves the accuracy of lane-merging decisions for tractors and trailers merging from ramps onto the main road.

[0087] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will now be described with reference to the accompanying drawings.

[0088] Figure 1 The flowchart of the ramp merging and lane-crossing decision-making method applicable to tractor-trailers provided in this application is illustrated below. Figure 1 ,like Figure 1 As shown, the method includes:

[0089] S101: When a controlled vehicle merges from the current lane into the target lane, a candidate traffic merging window is determined based on the vehicle prediction information of other vehicles in the target lane and the vehicle information of the controlled vehicle. The controlled vehicle is a tractor-trailer, and the candidate traffic merging window is the time interval during which the controlled vehicle merges from the current lane into the target lane.

[0090] For example, vehicle prediction information is used to characterize the motion state of other vehicles in the target lane at future moments, and vehicle information is used to characterize the current operating state of the controlled vehicle and the boundary conditions related to merging. The boundary conditions include at least the longitudinal position, longitudinal velocity, lateral position, heading angle, acceleration, wheelbase parameters of the tractor and trailer, and vehicle width parameters of the vehicle in the current lane.

[0091] In one example, considering that the controlled vehicle is a tractor unit carrying a trailer, its own vehicle information should include not only the overall vehicle status information during the vehicle's operation, but also the trailer's attitude status information. The overall vehicle status information may include the current vehicle speed, current longitudinal acceleration, current lateral velocity, current vehicle lateral position, current vehicle heading angle, current steering wheel angle, current steering angular velocity, total length of the tractor unit and trailer, tractor length, trailer length, vehicle wheelbase, total vehicle mass, unloaded mass, and fully loaded mass. The trailer's attitude status information may include the current trailer articulation angle, trailer articulation angle change rate, trailer lateral offset, trailer position relative to the target lane, and the trailer's current motion state.

[0092] For other vehicles in the target lane (main road), as main road traffic participants in the merging process, the controlled vehicle needs to detect them through relevant sensors. Such data can include the position of traffic participants in front of the target lane on the main road, the position of traffic participants behind the target lane on the main road, the speed of traffic participants in front, the speed of traffic participants behind, the acceleration of traffic participants in front and behind, the type of vehicles on the main road, the length of vehicles on the main road, the relative distance between the vehicle and the traffic participants in front, the relative distance between the vehicle and the traffic participants behind, and the relative speed between the vehicle and the traffic participants in front and behind.

[0093] Then, using a pre-set prediction algorithm, motion prediction is performed based on the movement states of vehicles ahead and behind in the target lane on the main road to obtain the positions of vehicles ahead and behind within the future time interval. At this time, road environment information can also be combined for prediction to improve the accuracy of merging and lane-changing decisions. The road environment information can include the ramp slope of the current lane, the main road slope, the road surface adhesion coefficient, the effective merging length of the ramp, the remaining distance of the controlled vehicle to the termination position of the merging area, and the traffic density of the main road.

[0094] The candidate traffic merging window is determined by matching the future spatiotemporal range of other vehicles in the target lane with the range of movement that the controlled vehicle can reach in the future.

[0095] In another example, the vehicle controller in the controlled vehicle (autonomous vehicle) can perform short-term trajectory prediction of other vehicles in the target lane based on the vehicle status information obtained by the on-board perception module, combined with lane boundary constraints, the length of the vehicles in front and behind, the vehicle safety boundary, and the time when the autonomous vehicle is expected to enter the target lane. The prediction result can include the position, speed, acceleration, and occupied area at multiple discrete moments.

[0096] Subsequently, the feasible entry intervals corresponding to the controlled vehicles entering the merging action at different start times are compared with the occupied intervals of other vehicles in the target lane on the same time axis. Continuous time periods without spatiotemporal conflicts are then selected to form one or more candidate traffic merging windows, which can be represented as:

[0097]

[0098] In the formula, As a candidate traffic confluence window, The earliest time that a vehicle meets the conditions for entering the target lane. The latest time a vehicle is permitted to enter the target lane without creating a dangerous conflict with other vehicles behind it on the main road (target lane). With the earliest time The difference is the candidate window duration for that candidate traffic confluence window. .

[0099] Once the candidate traffic merging window is determined, it serves as the basic input for subsequent attitude stability assessment and action duration verification, transforming the decision-making process from simple traffic gap identification to window selection oriented towards actual execution capabilities.

[0100] S102: Based on the preset trailer dynamics model and the vehicle information of the controlled vehicle, predict the trailer articulation angle.

[0101] Based on the current trailer articulation angle Trailer articulation angle change rate vehicle speed Steering angle angular velocity of steering and vehicle quality Road attachment Parameters such as these are used to predict the trailer's attitude.

[0102] The predicted trailer articulation angle is expressed as follows:

[0103]

[0104] For example, a preset trailer dynamics model is used to calculate the tractor steering input, vehicle lateral acceleration, vehicle speed change, and trailer swaying trend during the merging process based on the kinematic coupling relationship between the tractor and trailer, thereby outputting the relative rotation state at the connection point between the tractor and trailer. The predicted trailer articulation angle is used to characterize the relative rotation angle at the connection point between the tractor and trailer at the estimated time, and is an important intermediate quantity for determining whether the trailer attitude can remain controllable during the merging process.

[0105] In one example, the vehicle controller can use the current vehicle state as an initial value to input into a preset dynamic model, and use recursive calculation to extrapolate the change of the articulation angle over time, and calculate the articulation angle change sequence at several future moments; it can also estimate the maximum value, rate of change and convergence trend of the articulation angle within the candidate traffic merging window based on the curvature of the target lane, the curvature change of the merging path and the current control input.

[0106] Through step S102, the vehicle controller obtains a prediction result that reflects the attitude evolution trend of the trailer during the merging process, providing a direct basis for the subsequent calculation of the settling time.

[0107] S103: Based on the predicted value of the trailer articulation angle and the vehicle information of the controlled vehicle, predict the attitude stabilization time of the controlled vehicle, wherein the attitude stabilization time is the time required for the controlled vehicle to recover to the preset stable state when merging from the current lane into the target lane.

[0108] For example, the preset stable state is used to characterize the state after the tractor and trailer complete the merging action, where the articulation angle returns to the allowable range, the yaw oscillation decays to within the threshold, and the vehicle attitude meets the requirements for continuing straight-line driving or following the vehicle. The prediction of attitude stabilization time is based on the predicted value of the trailer articulation angle, and is also calculated in combination with the speed of the controlled vehicle, steering input, trailer load, road curvature, and tire adhesion conditions, so that this time reflects the actual observable attitude recovery process.

[0109] In one example, the vehicle controller can determine the time required for the vehicle to recover from the maximum attitude deviation to the stability threshold based on the peak value, duration, and homing slope corresponding to the predicted articulation angle; it can also detect the moment when the articulation angle first meets the stability condition based on the change sequence of the articulation angle in the future time domain, and use the interval between this moment and the start of the merging action as the attitude stabilization time; it can also combine the vehicle's current lateral offset and heading angle deviation to correct the lateral oscillation decay time during the recovery process.

[0110] Through step S103, the vehicle controller transforms the dynamic recovery process of the trailer's posture into a time parameter that can be used for window matching, so that the decision no longer only considers whether there is a traffic gap, but also considers whether the vehicle can recover to a stable state within that gap.

[0111] S104: Calculate the total time required for the merging action based on the attitude stabilization time and the vehicle information of the controlled vehicle.

[0112] For example, the total time required for the merging action is used to characterize the overall time required for the controlled vehicle to start performing the merging and lane changing actions, complete all merging and lane changing related actions, and return to a stable driving state. Its calculation is based on the attitude stabilization time, combined with the time items related to the action execution in the vehicle information of the controlled vehicle.

[0113] In one example, the vehicle controller first determines the geometric features and expected speed state of the merging trajectory based on the vehicle information of the controlled vehicle, and then combines the driving time and attitude stabilization time corresponding to the trajectory to calculate the total time required to complete the merging action.

[0114] If the vehicle's current speed is low or the steering angle changes significantly, the total time required for the merging maneuver will increase accordingly. Conversely, if the target lane has ample available space and the vehicle can maintain a relatively smooth merging trajectory, the total time can be shortened accordingly. During the calculation, the attitude stabilization time can be considered a core component of the total time and can be accumulated with the time required for lane merging and the vehicle's acceleration / deceleration transition time to form a complete time budget.

[0115] Through step S104, the vehicle controller quantifies the action time in the merging process into a single time index, providing a basis for subsequent rigorous comparison with candidate windows.

[0116] S105: When the duration of a candidate traffic merging window is greater than or equal to the total time required for the merging action, the candidate traffic merging window is determined as a traffic merging window.

[0117] For example, the duration of the candidate traffic merging window is directly obtained from the start and end times of the window, while the total time required for the merging action is calculated by the aforementioned steps. After comparing the two, only the time interval that can accommodate the complete merging action is retained as the final executable window.

[0118] In one example, after obtaining one or more candidate traffic merging windows, the vehicle controller calculates the duration of each window and compares it with the total time required for the merging action. When the duration of a candidate traffic merging window is not less than the total time required for the merging action, it means that the controlled vehicle not only has enough traffic clearance to enter the target lane, but also has enough time to complete attitude stabilization and action completion. Therefore, the candidate window is confirmed as a traffic merging window.

[0119] If there are multiple candidate windows that meet the conditions, the vehicle controller can select one based on the window's start time, duration margin, or degree of matching with the current vehicle position. Alternatively, it can retain multiple windows for subsequent decision-making modules to filter again.

[0120] Through step S105, the window selection is further transformed from traffic availability judgment to action completion judgment, so that the final selected window is consistent with the actual execution capability of the vehicle.

[0121] S106: Based on the traffic merging window, control the controlled vehicles to merge from the current lane into the target lane.

[0122] For example, the traffic merging window serves as the final confirmed execution time interval, which is used to constrain the acceleration, steering, and lateral displacement control processes of the controlled vehicle. The vehicle controller initiates merging control when the start of the window is reached, completes the lane merging action before the end of the window, and enables the vehicle to return to a stable driving state after entering the target lane.

[0123] In one example, the vehicle controller can generate longitudinal acceleration and lateral steering commands based on the start time of the traffic merging window. First, it adjusts the vehicle to a suitable entry speed, and then gradually corrects the turning angle and lateral position according to the predetermined merging trajectory, so that the tractor head, the middle of the vehicle body, and the rear of the trailer can safely cross the lane boundary and enter the center area of ​​the target lane in sequence.

[0124] During control, the vehicle's real-time attitude, articulation angle, and the status of surrounding vehicles can be continuously monitored. If the real-time status deviates from the window boundary, the vehicle controller can fine-tune the trajectory within the allowable range of the traffic merging window to ensure that the vehicle completes merging and returns to stability within the window's validity period. In another example, the vehicle controller can trigger the trajectory tracker based on the window's start boundary, outputting steering angle and drive torque control values; the vehicle controller can also set action completion criteria based on the window's end boundary, ending merging control when the vehicle reaches the designated position in the target lane and its attitude meets the stability conditions.

[0125] Through step S106, the vehicle controller completes the closed-loop connection from window recognition to actual control execution, enabling the controlled vehicle to enter the target lane under the premise of meeting the time and attitude conditions.

[0126] Based on the above analysis, this application provides a method for decision-making regarding ramp merging and lane changing for tractor-trailers. This method includes determining candidate traffic merging windows based on vehicle prediction information of other vehicles in the target lane and the vehicle information of the controlled vehicle; predicting the trailer articulation angle based on a preset trailer dynamics model and the vehicle information of the controlled vehicle; predicting the attitude stabilization time based on the predicted trailer articulation angle and the vehicle information of the controlled vehicle; calculating the total time required for the merging action based on the attitude stabilization time and the vehicle information of the controlled vehicle; confirming a candidate traffic merging window as the merging window when its duration meets the required total time; and finally controlling the controlled vehicle to merge from the current lane to the target lane based on the traffic merging window. By incorporating trailer attitude evolution into the window determination process, window selection no longer relies solely on the main road clearance but simultaneously considers the vehicle's actual merging actions and attitude recovery requirements. This ensures that the final determined execution window matches the movement capabilities of the tractor-trailer and provides clear time and attitude constraints to the merging control process, thereby improving the accuracy of lane changing decisions for tractor-trailers merging from ramps into main roads.

[0127] Figure 2 The flowchart of the ramp merging and lane-crossing decision-making method applicable to tractor-trailers provided in this application is illustrated below. Figure 2 ,like Figure 2 As shown, in this embodiment... Figure 1 Based on the examples, a detailed description of the ramp merging and lane-crossing decision-making method applicable to tractor-trailers is provided. This method includes:

[0128] S201: When a controlled vehicle merges from the current lane into the target lane, a candidate traffic merging window is determined based on the vehicle prediction information of other vehicles in the target lane and the vehicle information of the controlled vehicle. The controlled vehicle is a tractor-trailer, and the candidate traffic merging window is the time interval during which the controlled vehicle merges from the current lane into the target lane.

[0129] S202: Based on the preset trailer dynamics model and the vehicle information of the controlled vehicle, predict the trailer articulation angle.

[0130] S203: Calculate the dynamic convergence rate of the trailer articulation angle based on the predicted value of the trailer articulation angle and the vehicle information of the controlled vehicle.

[0131] S204: Predict the attitude stabilization time based on the dynamic convergence rate of the trailer articulation angle.

[0132] S205: Calculate the total time required for the merging action based on the attitude stabilization time and the vehicle information of the controlled vehicle.

[0133] S206: When the duration of a candidate traffic merging window is greater than or equal to the total time required for the merging action, the candidate traffic merging window shall be determined as a traffic merging window.

[0134] S207: Based on the traffic merging window, control the controlled vehicles to merge from the current lane into the target lane.

[0135] For example, the predicted trailer articulation angle is used to characterize the estimated turning angle state of the trailer relative to the tractor during the merging process of the controlled vehicle. It is calculated by combining a preset trailer dynamics model with the vehicle information of the controlled vehicle. The vehicle information of the controlled vehicle includes the tractor's wheelbase, total mass, center of gravity position, steering angle, vehicle speed, longitudinal acceleration, and trailer mass distribution parameters. The information comes from the fusion results of the on-board bus, high-precision positioning, and attitude sensors. The dynamic convergence rate of the trailer articulation angle is used to characterize the speed at which the articulation angle regresses to a preset stable angle range. Its value is jointly determined by the predicted articulation angle and the vehicle information, and reflects the speed of attitude recovery under the current dynamic conditions of the vehicle.

[0136] In one example, the predicted articulation angle of the trailer and vehicle information can be input into a dynamic model of the articulation angle applicable to the tractor and trailer. The change of the articulation angle in discrete time can be calculated, and the angular velocity decay coefficient can be obtained by combining the current steering input, vehicle speed, and trailer inertial parameters. Based on this, a dynamic convergence rate can be formed. The dynamic convergence rate can be expressed as the exponential decay slope of the articulation angle deviation over time, or as the rate at which the articulation angle enters a preset threshold range per unit time.

[0137] Subsequently, based on the relationship between the dynamic convergence rate and the preset stability threshold, the time required for the hinge angle to converge from the current predicted state to the stable state is calculated and output as the attitude stabilization time. When the dynamic convergence rate is small, the corresponding attitude stabilization time increases accordingly, and when the dynamic convergence rate is large, the corresponding attitude stabilization time decreases accordingly.

[0138] This implementation uses the predicted articulation angle as the initial attitude input, characterizes the dynamic constraints of the controlled vehicle using vehicle information, and then converts the attitude change process into a time quantity through dynamic convergence rate. This ensures that the attitude stabilization time matches the actual motion capability of the vehicle and provides a direct basis for calculating the total time of subsequent merging actions. Therefore, the vehicle controller can continuously retain time constraint information even when the trailer's attitude is not yet stable and output a stabilization time result consistent with the current vehicle state.

[0139] In one possible implementation, the total time required for the merging action is calculated based on the attitude stabilization time and the vehicle information of the controlled vehicle, including:

[0140] Based on the preset longitudinal dynamics model and the vehicle information of the controlled vehicle, the longitudinal speed matching time is calculated, where the longitudinal speed matching time is the time it takes for the controlled vehicle to merge from the current lane into the target lane and reach the target merging speed.

[0141] Based on the preset kinematic model of the tractor and trailer and the vehicle information of the controlled vehicle, calculate the lateral merging time of the controlled vehicle from the current lane to the target lane.

[0142] The sum of the attitude stabilization time, longitudinal velocity matching time, lateral merging time, and time safety margin is recorded as the total time required for the merging action.

[0143] For example, attitude stabilization time is used to characterize the duration required for the articulated attitude of the tractor and trailer to recover from dynamic disturbance to a preset stable state after completing lateral cut-in. The preset stable state can be jointly defined by the articulation angle change rate threshold and the vehicle yaw response threshold. The vehicle information corresponding to the controlled vehicle includes the vehicle mass, tractor wheelbase, trailer length, engine output characteristics, braking capacity, current vehicle speed, target merging speed, and road longitudinal slope information. These parameters are input into the preset longitudinal dynamics model and the preset tractor-trailer kinematics model to generate the calculation results of speed matching time and lateral cut-in time, respectively.

[0144] In one example, the preset longitudinal dynamics model can establish the longitudinal acceleration solution relationship based on the vehicle driving force, rolling resistance, slope resistance and braking force, and combine the difference between the current vehicle speed and the target merging speed to obtain the longitudinal speed matching time by integration.

[0145] The pre-defined kinematic model of the tractor and trailer can be used to solve the relationship between lateral displacement and lateral velocity based on the trajectory of the tractor's center of gravity, the trajectory of the trailer's articulation point, and the offset of the lane centerline, thereby obtaining the lateral merging time. The time safety margin can be composed of the vehicle controller response delay, positioning error, actuator setup time, and traffic flow fluctuation margin, and is added to the aforementioned three time quantities to form the total time required for the merging action.

[0146] In another example, a complete merging action of the tractor and trailer is broken down into a longitudinal speed matching stage, a lateral entry into the target lane stage, and a trailer attitude stabilization stage. Then, by combining the current vehicle state information of the tractor and trailer, the preset model, and the vehicle motion constraints, the corresponding action time of the longitudinal speed matching stage, the lateral entry into the target lane stage, and the trailer attitude stabilization stage are determined respectively.

[0147] The longitudinal speed matching time is calculated using a pre-defined longitudinal dynamics model applicable to tractor-trailer vehicles. The input to this preset longitudinal dynamics model can include the vehicle mass, road adhesion coefficient, road gradient, current vehicle speed, and available driving capability of the powertrain. The effective longitudinal acceleration is first solved. Then, the longitudinal speed matching time is obtained by combining the current vehicle speed and the target merging speed. Among them,

[0148] The effective longitudinal acceleration satisfies the model relationship:

[0149]

[0150] In the formula, For effective longitudinal acceleration, For the overall vehicle quality, The road surface adhesion coefficient, For road slope, At the current speed, This refers to the available driving capability of the power system.

[0151] The longitudinal velocity matching time satisfies the model relationship:

[0152]

[0153] In the formula, For longitudinal velocity matching time, The target convergence speed can be predicted.

[0154] For lateral convergence time The solution can be obtained by using a preset trailer kinematics model based on the current remaining lateral distance, vehicle speed, maximum permissible steering angle, maximum permissible steering angular velocity, and current trailer articulation angle.

[0155] Let the lateral distance between the current lateral position of the vehicle and the target position in the target lane be... .

[0156] Based on the current vehicle speed Maximum permissible steering angle Maximum permissible steering angular velocity and the current trailer articulation angle Determine the lateral convergence time:

[0157]

[0158] attitude stabilization time Based on a pre-set trailer dynamics model, the predicted value of the trailer articulation angle can be obtained first. and the predicted value of the trailer articulation angle change rate Then, the dynamic convergence rate of the trailer articulation angle is calculated, and the corresponding calculation formula can be:

[0159]

[0160] In the formula, The dynamic convergence rate of the trailer articulation angle.

[0161] Subsequently, based on the dynamic convergence rate of the trailer articulation angle, the attitude stabilization time required for the trailer attitude to recover from the current state to the preset stable state is obtained.

[0162] After the tractor enters the target lane, the trailer may still be in a certain articulated state. Therefore, the trailer attitude stabilization time is defined as... The attitude stabilization time is used to represent the time required from the start of the merging action to the trailer attitude returning to the preset stabilization range.

[0163] Based on the trailer articulation angle prediction formula:

[0164]

[0165] This allows us to determine the time required for the trailer articulation angle and its rate of change to reach a stable range.

[0166] Minimum time to satisfy the following inequalities This is the attitude stabilization time:

[0167]

[0168] and:

[0169]

[0170] minimum time .

[0171] It should be noted that if the dynamic convergence rate of the trailer articulation angle decreases, the attitude stabilization time will increase accordingly.

[0172] At this point, the total time required for the merging operation is:

[0173]

[0174] In the formula, This represents the total time required for the merging operation. This provides a safety margin for time.

[0175] The total time required for the merging action is used as the threshold for determining the availability of the candidate window, which is used to characterize the full time required for the controlled vehicle to complete the merging action.

[0176] By incorporating longitudinal speed adjustment, lateral lane merging, and attitude recovery into the same time base for unified calculation, the total time required for the merging action directly reflects the actual feasibility of the semi-trailer tractor under the current operating conditions. This ensures that subsequent window matching and merging control are based on the vehicle's true motion capabilities. Since this total time includes both attitude stabilization time and safety margin, the control commands, while meeting traffic conditions, also consider the attitude constraints of the tractor and trailer, resulting in better continuity and stability in the merging process.

[0177] In one possible implementation, the method further includes:

[0178] Based on the vehicle prediction information of other vehicles in the target lane and the vehicle information of the controlled vehicle, calculate the traffic interaction risk index.

[0179] The time safety margin is determined based on traffic interaction risk indicators and basic time safety margin.

[0180] For example, the controlled vehicle refers to a tractor unit carrying a trailer, and its vehicle information includes at least vehicle speed, longitudinal acceleration, yaw rate, braking capacity, load status, and geometric parameters of the tractor unit and trailer. Vehicle prediction information for other vehicles in the target lane is output by the perception and prediction module, including the position, speed, acceleration, and lane trajectory estimates of adjacent vehicles in the target lane in the future time domain, used to characterize the future occupancy relationship of each vehicle during the merging process. The traffic interaction risk index is used to quantify the relative proximity and collision consequences between the controlled vehicle and other vehicles in the target lane within the merging time window; its value can be calculated by comprehensively considering the minimum prediction distance, relative speed difference, relative acceleration difference, and lateral overlap probability. The basic time safety margin is a pre-set time buffer base value, which can be determined based on vehicle type, road grade, adhesion coefficient, and regulatory constraints.

[0181] In one example, after obtaining vehicle prediction information of other vehicles in the target lane, the vehicle controller first synchronously simulates the relative positions of each target vehicle and the controlled vehicle in the preset prediction time domain. Then, combined with the current speed, acceleration and vehicle size of the controlled vehicle, it calculates the minimum time interval and spatial interval between the two on the merging trajectory and maps this interval as a traffic interaction risk indicator.

[0182] For example, traffic interaction risk indicators can be calculated by comprehensively considering the vehicle type, relative speed, absolute speed, relative distance, and motion prediction uncertainty of other vehicles on the main road (target lane). The corresponding calculation formula can be:

[0183]

[0184] In the formula, As a traffic interaction risk indicator, For risks associated with other vehicle types, For relative speed risk, For absolute speed risk, For relative distance risk, For motion prediction uncertainty, The weight coefficients corresponding to each risk item can be normalized so that the sum of the weights is 1. The weight allocation is determined based on the contribution of each risk factor to the safety of the confluence. The weight coefficients do not need to be unique fixed values ​​and can be obtained through simulation and real vehicle testing calibration.

[0185] Other vehicle types on the main road include at least small passenger cars, ordinary trucks, heavy trucks, large buses, and high-risk transport vehicles; when heavy trucks, large buses, or high-risk transport vehicles are identified, the risk of the corresponding vehicle type is increased.

[0186] When determining the time safety margin, the corresponding calculation formula can be:

[0187]

[0188] In the formula, To allow for a safety margin in time, Based on the basic time safety margin, This is the risk margin adjustment coefficient, where the basic time safety margin is... With risk margin adjustment coefficient There is no need to limit a single fixed value. The appropriate value can be obtained through simulation testing or real vehicle calibration based on the vehicle's overall weight, speed range, road environment, and autonomous driving safety level.

[0189] If there are other high-risk traffic participants or vehicles on the main road, after adding the risk adaptive safety margin, the duration of the candidate traffic merging window does not meet the condition of being greater than or equal to the total time required for the merging action (i.e., If the current candidate traffic convergence window is not found, the search continues to look for subsequent candidate traffic convergence windows.

[0190] If the prediction results indicate that the vehicle behind in the target lane has a high approach speed or the vehicle in front is decelerating, the risk index increases accordingly; if the relative speed is low and there is sufficient space margin, the risk index decreases. The vehicle controller further determines the time safety margin based on the mapping relationship between the risk index and the basic time safety margin. The mapping relationship can be implemented using linear increment, piecewise increment, or lookup table method, so that the time safety margin increases with the increase of risk, and outputs the safety compensation amount used for calculating the total time of the merging operation.

[0191] In another example, the basic time safety margin can be pre-stored in the calibration parameter table. The traffic interaction risk index and the time safety margin can be output by the same risk assessment module, which can be deployed in the vehicle controller and receive the perception results via the vehicle Ethernet. Therefore, the total time required for the merging action, after adding the time safety margin, can form the basis for determining the merging window together with the attitude stabilization time, thereby ensuring that subsequent lane merging control is consistent with the vehicle attitude recovery requirements.

[0192] By incorporating the future states of other vehicles in the target lane into the risk assessment and dynamically adjusting the time safety margin accordingly, the total time required for merging maneuvers can vary with traffic conditions, thereby ensuring that the merging window determination matches the actual interaction risks. This approach makes lane merging control for semi-trailer tractors in complex traffic flow more closely aligned with the vehicle's actual completion time and integrates attitude recovery with traffic safety constraints into the decision-making process.

[0193] In one possible implementation, the method further includes:

[0194] Determine the attitude recovery distance based on the attitude stabilization time;

[0195] Determine the required distance for longitudinal velocity matching based on the longitudinal velocity matching time;

[0196] Based on the lateral merging time, determine the longitudinal travel distance of the controlled vehicle in the lateral entry direction;

[0197] The sum of attitude recovery distance, longitudinal velocity matching distance, longitudinal travel distance, and spatial safety margin is denoted as the space required for the merging action.

[0198] Prediction space corresponding to candidate traffic confluence windows Greater than or equal to the space required for the merging operation When this happens, the candidate traffic merging window is determined as the traffic merging window;

[0199] When the predicted space corresponding to the candidate traffic merging window is less than the space required for the merging action, the controlled vehicle is stopped.

[0200] For example, attitude stabilization time characterizes the time required for the tractor and trailer to recover to a preset stable state after merging lanes. Vehicle information includes vehicle speed, acceleration, vehicle mass, wheelbase, trailer articulation state, and geometric parameters of the current lane and the target lane. Attitude recovery distance represents the recovery space required for the vehicle along the travel direction during attitude stabilization time, and its calculation can be determined based on the current longitudinal speed and the average speed during attitude convergence. Distance required for longitudinal speed matching represents the longitudinal space occupied by the controlled vehicle when completing the target merging speed matching, and it is determined by the relationship between the longitudinal speed matching time and the corresponding speed change. The longitudinal travel distance of the controlled vehicle in the lateral entry direction represents the space consumption of the vehicle advancing along the main travel direction during lateral entry, and can be determined by combining the lateral merging time and the entry trajectory length. Space safety margin is used to compensate for vehicle control errors, changes in road surface adhesion, and measurement errors, and can typically consist of a fixed margin and a risk correction amount.

[0201] In one example, after the vehicle controller obtains the vehicle bus data, positioning data and target lane vehicle prediction information of the controlled vehicle, it first calculates the attitude recovery distance, the distance required for longitudinal speed matching and the lateral travel distance based on longitudinal dynamics and kinematics. Then, it sums the three with the spatial safety margin to form the space required for the merging action.

[0202] For example, regarding the attitude recovery distance, after obtaining the attitude stabilization time... Then, the attitude recovery distance can be calculated based on the attitude stabilization time and the integral of the predicted vehicle speed change during the attitude stabilization process. The corresponding calculation formula is as follows:

[0203]

[0204] In the formula, To restore the attitude distance, Predict the vehicle's speed during the attitude stabilization process.

[0205] Longitudinal velocity matching required distance Based on the pre-calculated longitudinal velocity matching time The vehicle's current initial speed Target convergence speed and effective acceleration under dynamic conditions .

[0206] Distance calculation formula:

[0207]

[0208] Required longitudinal driving distance Depends on the preceding lateral convergence time .

[0209]

[0210] In addition, a spatiotemporal coupling constraint between the attitude recovery rate and the merging space can be established based on the attitude recovery distance. When the convergence rate of the trailer articulation angle decreases, resulting in an increase in the attitude stabilization time, the attitude recovery distance will increase synchronously, and the space required for the complete merging action will increase accordingly.

[0211] The formula for calculating the space required for a merging operation is:

[0212]

[0213] In the formula, Space required for the merging operation To match the required distance for longitudinal velocity, This represents the longitudinal distance traveled by the controlled vehicle in the lateral entry direction. This provides a safety margin for space.

[0214] Subsequently, the predicted space corresponding to the candidate traffic merging window is compared with the required space. When the predicted space meets the requirements, the candidate window is confirmed as an executable traffic merging window, and a lane merging control command is output. When the predicted space is insufficient, a braking and stopping command is output to keep the vehicle stationary in the ramp acceleration lane.

[0215] It should be noted that the vehicle controller can be integrated into the vehicle domain vehicle controller or the autonomous driving computing platform, and is implemented using a real-time computing method based on vehicle state updates. The algorithm module can be implemented by software or by a combination of software and hardware. In practical applications, other models of this component can also be selected, and this application does not limit this.

[0216] By incorporating the requirements for attitude stability, longitudinal speed matching, and space consumption during lateral merging into the spatial threshold calculation, the candidate window determination no longer relies solely on static clearance but is matched with the actual operational space available to the vehicle. This ensures that merging decisions are consistent with the semi-trailer tractor's mobility and triggers timely stopping control when space is insufficient, thereby improving the accuracy of lane merging judgments and the stability of the merging process.

[0217] In one possible implementation, the method further includes:

[0218] If the duration of a candidate traffic merging window is less than the total time required for the merging action, the controlled vehicle is stopped, and vehicle prediction information of other vehicles in the target lane is reacquired to redetermine the candidate traffic merging window.

[0219] For example, the candidate traffic merging window is used to characterize the time interval during which the controlled vehicle can perform merging actions in the target lane. Its duration is jointly defined by the spatiotemporal prediction results of adjacent vehicles in the target lane. The total time required for the merging action is used to characterize the combined time required for the controlled vehicle to complete longitudinal acceleration, lateral cut-in, and attitude recovery. This time is jointly determined by the vehicle's current speed, the target merging speed, the lateral trajectory length, and the trailer's attitude stability requirements. Vehicle prediction information for other vehicles in the target lane includes the position, speed, acceleration, and lane occupancy status of each vehicle within a preset prediction time domain. This information can be obtained by combining onboard perception results with the target lane traffic state prediction model. In practical applications, other types of prediction models can also be used, and this application does not limit this.

[0220] In one example, after obtaining the candidate traffic merging window and the total time required for the merging action, the vehicle controller of the controlled vehicle performs a time matching judgment between the two. When the judgment result shows that the window duration is less than the required total time, the vehicle controller outputs a stop command, causing the controlled vehicle to enter the brake holding state, and marks the current candidate window as a failed window.

[0221] Subsequently, based on the latest vehicle status after parking and the updated vehicle prediction information of other vehicles in the target lane, the vehicle controller recalculates the occupied interval and available gap of each vehicle in the prediction time domain, and accordingly determines new candidate traffic merging windows. This process can be completed collaboratively by the onboard computing unit in conjunction with millimeter-wave radar, cameras, lidar, and high-precision positioning information. The computing unit can adopt an automotive-grade domain controller or a central computing platform. In practical applications, other models of computing units can also be selected, and this application does not limit this.

[0222] By employing the above method, when the duration of the window is less than the total time required for the merging action, the controlled vehicle is first stopped, and then an available window is searched again based on the latest traffic forecast results. This ensures that the subsequently determined candidate traffic merging windows correspond to the current traffic conditions and vehicle mobility. By combining the stop recalculation mechanism with the window failure determination, merging control can be based on the updated traffic forecast, thereby improving the consistency between window determination and merging action, and ensuring that the controlled vehicle only undergoes merging control after the action time conditions are met.

[0223] In one possible implementation, before controlling the controlled vehicle to stop, the method further includes:

[0224] Calculate the degree of attitude degradation of the trailer based on the current vehicle information of the controlled vehicle;

[0225] Based on the degree of attitude degradation of the trailer, determine the backtracking trajectory constraint after the controlled vehicle's merging is interrupted;

[0226] Generate a buffered and smoothed backtrack trajectory based on the backtrack trajectory constraints;

[0227] Based on the smooth backtracking trajectory, control the movement of the controlled vehicle until a new candidate traffic merging window is determined, or control the controlled vehicle to stop.

[0228] For example, the current vehicle information of the controlled vehicle is used to characterize the vehicle's motion and articulation state at the moment of the merge interruption. This typically includes parameters such as vehicle speed, longitudinal acceleration, lateral acceleration, yaw rate, heading angle, relative positional relationship between the tractor and trailer, and articulation angle. The trailer's attitude degradation degree measures the deviation of the trailer from its relatively stable attitude after the merge interruption. It can be comprehensively characterized by articulation angle deviation, yaw rate fluctuation, lateral slip trend, and recovery time margin; a larger value indicates a more unstable trailer attitude. The retraction trajectory constraint limits the longitudinal deceleration, lateral offset, rate of curvature change, and allowable attitude recovery interval during the retraction process, ensuring the retraction trajectory matches the vehicle's current attitude state. The buffered smooth retraction trajectory is a continuous trajectory generated under constraint conditions, with limited curvature and acceleration changes. It guides the controlled vehicle to retract in a controlled manner to a safe position where the merge window can be searched again.

[0229] In one example, the vehicle controller can synchronously acquire current vehicle information based on the vehicle bus, inertial navigation positioning unit, and environmental perception results, and input it into the attitude assessment model to calculate the degree of attitude degradation. The degree of attitude degradation can be mapped to a set of backoff constraints of different levels. For example, when the degree of attitude degradation is small, a shorter backoff distance and a smaller longitudinal deceleration are allowed, while when the degree of attitude degradation is large, smaller lateral disturbances are restricted and the attitude recovery margin is increased.

[0230] Subsequently, the vehicle controller establishes a continuously differentiable backtracking trajectory based on this constraint set. The trajectory can be formed using spline interpolation or polynomial fitting, maintaining continuity in speed and acceleration at the starting point and with the current vehicle state, and maintaining stable attitude transition with the safe waiting state at the ending point. The generated buffered and smooth backtracking trajectory is sent to the vehicle controller, driving the vehicle along the backtracking trajectory while continuously reconstructing the traffic state of the target lane. When a candidate traffic merging window that meets the conditions is detected again, the merging decision is resumed; if a candidate traffic merging window cannot be re-determined within a preset time or distance, parking control is executed.

[0231] In another example, during the merging and lane-merging process, the vehicle speed, vehicle acceleration, position and speed of other vehicles in front and behind on the main road, trailer articulation angle, trailer articulation angle change rate, trailer lateral offset, and remaining merging distance on the ramp can be reacquired according to a preset update cycle or other vehicle status change events.

[0232] Subsequently, based on the updated information, the duration of the candidate traffic merging window was recalculated. Total time required for the merging operation Prediction space corresponding to candidate traffic convergence windows Space required for merging operations The system also considers the trailer attitude prediction results and re-evaluates the relevant constraints. If any constraint no longer holds true, the current candidate traffic merging window is determined as a failed merging window. The execution of the original merging and lane-merging trajectory based on this failed merging window is terminated, and the following operations are performed:

[0233] Obtain the current trailer articulation angle, trailer articulation angle change rate ̇, vehicle speed, current lateral position, and current steering state, and solve for the degree of trailer attitude degradation;

[0234] Determine the backtracking trajectory constraints after the merging interruption based on the degree of trailer attitude degradation;

[0235] Under the constraint of the retraction trajectory, a buffered and smooth retraction trajectory is generated to reduce the intensity of lateral movement of the vehicle and limit the change range of the trailer articulation angle and the rate of change of the trailer articulation angle during the retraction process.

[0236] While executing the buffered smooth rollback trajectory, re-search for candidate traffic merging windows;

[0237] After finding a traffic merging window that simultaneously satisfies time, space, attitude, and risk constraints, a new merging and lane-merging decision is output.

[0238] When all of the following conditions are detected, the merging operation is considered complete, the ramp merging decision mode is exited, and the system switches to the normal highway cruise decision mode. The above conditions include:

[0239] 1) The tractor unit has fully entered the target lane;

[0240] 2) The trailer is fully in the target lane;

[0241] 3) The lateral deviation of the trailer is within the allowable range;

[0242] 4) The trailer articulation angle enters a stable range;

[0243] 5) The rate of change of the trailer articulation angle has entered a stable range;

[0244] 6) The vehicle and the vehicles in front and behind on the main road meet the preset safety distance.

[0245] By incorporating the trailer attitude degradation into the back-off control after the traffic merge interruption, the trajectory parameters of the vehicle during the back-off process can be adapted to the current articulated attitude. The curvature, deceleration and attitude recovery margin of the back-off trajectory can be uniformly constrained, thereby enabling the controlled vehicle to maintain a continuous and smooth motion state after the interruption and providing a stable vehicle attitude basis for subsequent re-searching of candidate traffic merge windows.

[0246] In one possible implementation, the method further includes:

[0247] Based on the preset trailer dynamics model and the vehicle information of the controlled vehicle, predict the rate of change of the trailer articulation angle;

[0248] Based on the vehicle prediction information of other vehicles in the target lane and the vehicle information of the controlled vehicle, the lateral offset between the trailer and the target lane is determined.

[0249] When the predicted value of the trailer articulation angle, the rate of change of the trailer articulation angle, and the lateral offset all meet the preset conditions, the controlled vehicle is controlled to merge from the current lane into the target lane according to the traffic merging window.

[0250] For example, a preset trailer dynamics model is used to characterize the articulated coupling relationship between the tractor and trailer during acceleration, deceleration, and lateral steering. Its inputs include the controlled vehicle's speed, acceleration, steering angle, wheelbase, trailer mass, and articulated mechanism parameters. The output is the trailer articulation angle change rate and the corresponding articulation angle evolution trend. Vehicle prediction information for other vehicles in the target lane includes their position, speed, heading angle, and acceleration in the prediction time domain. The lateral offset is the lateral distance between the controlled vehicle / trailer's outer contour and the target lane centerline, calculated using a high-precision positioning coordinate system and combining the lane centerline and vehicle outer dimensions.

[0251] In one example, the vehicle controller obtains real-time vehicle information of the controlled vehicle based on onboard sensor fusion and inputs it into a preset trailer dynamics model. It then uses a discrete-time state update method to calculate the articulation angle change rate sequence from the next moment to a preset time domain, and combines this with the previous moment's predicted articulation angle value to form the current predicted value. Simultaneously, it generates vehicle prediction information for other vehicles in the target lane using constant acceleration or trajectory fitting prediction methods, and calculates the lateral offset between the controlled vehicle and the target lane based on the vehicle's body posture and trailer offset length.

[0252] When the predicted hinge angle is within the preset safe angle range, the hinge angle change rate is lower than the preset threshold, and the lateral offset meets the minimum safe lateral clearance requirement, the vehicle controller outputs a lane merging command within the traffic merging window and drives the steering and longitudinal control units to execute the merging trajectory in coordination.

[0253] In another example, before merging, a pre-defined tractor-trailer dynamics prediction model can be used. Inputs include the actual articulation angle of the current trailer, the rate of change of the trailer articulation angle, vehicle speed, steering angle, steering angular velocity, vehicle mass, and road adhesion coefficient. This model predicts the trailer attitude changes during the merging process. The formula for calculating the predicted trailer articulation angle can be:

[0254]

[0255] In the formula, This is the predicted value for the trailer articulation angle. This represents the actual articulation angle of the current trailer. This represents the current actual value of the rate of change of the trailer's articulation angle. For vehicle speed, For steering angle, For the steering angular velocity, For the overall vehicle quality, This is the road surface adhesion coefficient.

[0256] Subsequently, the predicted value of the trailer articulation angle change rate can also be calculated. And the lateral deviation of the trailer relative to the target lane And set the following trailer attitude stability constraints. :

[0257]

[0258]

[0259]

[0260] In the formula, For the pre-calibrated hinge angle threshold, The threshold value for the rate of change of the hinge angle is pre-calibrated. The pre-calibrated lateral offset threshold.

[0261] If the candidate traffic merging window simultaneously meets the time condition (i.e.) ), spatial conditions (i.e.) However, if any of the predicted trailer articulation angle, trailer articulation angle change rate, or trailer lateral offset exceeds the corresponding attitude calibration threshold, the candidate traffic merging window will also be determined as an attitude infeasible window, and merging and lane-changing actions based on the candidate traffic merging window will be prohibited.

[0262] By incorporating both the trailer articulation angle change rate and lateral offset into the merging control criteria, lane merging control not only relies on traffic clearance but also simultaneously constrains trailer attitude evolution and lateral safety margin. Consequently, the selection of the traffic merging window aligns with the actual feasibility of the controlled vehicle, reducing the probability of the trailer exceeding attitude limits during merging and matching lane merging control with the motion state of vehicles in the target lane.

[0263] In summary, the comprehensive judgment criteria that can be applied to the identified candidate traffic merging windows are as follows:

[0264]

[0265]

[0266]

[0267] In the formula, As a candidate traffic confluence window, For traffic merging windows that meet the criteria, For time feasibility constraints, i.e., the duration of the candidate traffic confluence window. Greater than or equal to the total time required for the merging operation , Spatial feasibility constraints, namely the prediction space corresponding to the candidate traffic confluence window. Greater than or equal to the space required for the merging operation , To constrain the attitude stability of the trailer. Constraints for traffic interaction risk indicators.

[0268] It should be noted that if there are multiple traffic merging windows that simultaneously meet the constraints of time feasibility, spatial feasibility, trailer posture stability, and traffic interaction risk, they can be ranked according to at least one of the following: safety margin, traffic interaction risk, and expected merging completion time. Priority should be given to traffic merging windows with larger safety margins, lower traffic interaction risks, and earlier expected merging completion times.

[0269] Figure 3 Schematic diagram of the ramp merging and lane-changing decision-making device for tractor-trailers provided in this application Figure 1 ,like Figure 3 As shown, the ramp merging and lane-changing decision-making device 30 for tractor-trailers provided in this embodiment includes:

[0270] The window determination module 301 is used to determine a candidate traffic merging window when the controlled vehicle merges from the current lane into the target lane, based on the vehicle prediction information of other vehicles in the target lane and the vehicle information of the controlled vehicle. The controlled vehicle is a tractor with a trailer, and the candidate traffic merging window is the time interval during which the controlled vehicle merges from the current lane into the target lane.

[0271] The prediction module 302 is used to predict the trailer articulation angle based on the preset trailer dynamics model and the vehicle information of the controlled vehicle.

[0272] The prediction module 302 is also used to predict the attitude stabilization time of the controlled vehicle based on the predicted value of the trailer articulation angle and the vehicle information of the controlled vehicle. The attitude stabilization time is the time required for the controlled vehicle to recover to a preset stable state when it merges from the current lane into the target lane.

[0273] The time calculation module 303 is used to calculate the total time required for the merging action based on the attitude stabilization time and the vehicle information of the controlled vehicle.

[0274] The window determination module 301 is also used to determine the candidate traffic merging window as a traffic merging window when the duration of the candidate traffic merging window is greater than or equal to the total time required for the merging action;

[0275] The control module 304 is used to control the controlled vehicles to merge from the current lane into the target lane according to the traffic merging window.

[0276] The ramp merging and lane-changing decision-making device for tractor-trailers provided in this embodiment can execute the method provided in the above-described method embodiment. First, it determines candidate traffic merging windows based on predicted information of other vehicles in the target lane and its own vehicle information. Then, it predicts the articulation angle and attitude stabilization time using a trailer dynamics model, and further calculates the total time required to complete the lane change, thus combining traffic gap judgment with the vehicle's actual maneuverability. Since a candidate window is only confirmed as an executable window if its duration is not less than the total time required for the merging maneuver, it avoids misjudgments caused solely by static vehicle distance, ensuring that the tractor-trailer can still obtain lane-changing opportunities matching its dynamic capabilities even under conditions of full load, gradient changes, or limited adhesion. Furthermore, the control module 304 outputs lane-changing control commands based on the effective traffic merging window, which can improve the safety, stability, and window utilization of ramp merging, thereby improving the accuracy of lane-changing decisions for tractor-trailers merging from ramps into main roads.

[0277] Figure 4 Schematic diagram of the ramp merging and lane-changing decision-making device for tractor-trailers provided in this application Figure 2 ,like Figure 4 As shown, in this embodiment... Figure 3Based on the embodiments, a detailed description is provided of a ramp merging and lane-merging decision-making device applicable to tractor-trailers. This ramp merging and lane-merging decision-making device 40 applicable to tractor-trailers includes:

[0278] The window determination module 401 is used to determine a candidate traffic merging window when the controlled vehicle merges from the current lane into the target lane, based on the vehicle prediction information of other vehicles in the target lane and the vehicle information of the controlled vehicle. The controlled vehicle is a tractor-trailer, and the candidate traffic merging window is the time interval during which the controlled vehicle merges from the current lane into the target lane.

[0279] The prediction module 402 is used to predict the trailer articulation angle based on the preset trailer dynamics model and the vehicle information of the controlled vehicle.

[0280] The prediction module 402 is also used to predict the attitude stabilization time of the controlled vehicle based on the predicted value of the trailer articulation angle and the vehicle information of the controlled vehicle. The attitude stabilization time is the time required for the controlled vehicle to recover to a preset stable state when it merges from the current lane into the target lane.

[0281] The time calculation module 403 is used to calculate the total time required for the merging action based on the attitude stabilization time and the vehicle information of the controlled vehicle.

[0282] The window determination module 401 is also used to determine the candidate traffic merging window as a traffic merging window when the duration of the candidate traffic merging window is greater than or equal to the total time required for the merging action;

[0283] The control module 404 is used to control the controlled vehicles to merge from the current lane into the target lane according to the traffic merging window.

[0284] In one possible implementation, the prediction module 402 includes:

[0285] The first calculation submodule 4021 is used to calculate the dynamic convergence rate of the trailer articulation angle based on the predicted value of the trailer articulation angle and the vehicle information of the controlled vehicle.

[0286] Prediction submodule 4022 is used to predict the attitude stabilization time based on the dynamic convergence rate of the trailer articulation angle.

[0287] In one possible implementation, the time calculation module 403 includes:

[0288] The time submodule 4031 is used to calculate the longitudinal speed matching time based on the preset longitudinal dynamics model and the vehicle information of the controlled vehicle. The longitudinal speed matching time is the time it takes for the controlled vehicle to merge from the current lane into the target lane and reach the target merging speed.

[0289] The time submodule 4031 is also used to calculate the lateral merging time of the controlled vehicle from the current lane to the target lane based on the preset kinematic model of the tractor and trailer and the vehicle information of the controlled vehicle.

[0290] The second calculation submodule 4032 is used to record the sum of attitude stabilization time, longitudinal velocity matching time, lateral merging time and time safety margin as the total time required for the merging action.

[0291] In one possible implementation, the time calculation module 403 further includes:

[0292] Risk submodule 4033 is used to calculate traffic interaction risk indicators based on vehicle prediction information of other vehicles in the target lane and vehicle information of the controlled vehicle.

[0293] The time margin module 4034 is used to determine the time safety margin based on traffic interaction risk indicators and basic time safety margin.

[0294] In one possible implementation, the ramp merging and lane-changing decision-making device 40 for tractor-trailers further includes:

[0295] The distance determination module 405 is used to determine the attitude recovery distance based on the attitude stabilization time.

[0296] The distance determination module 405 is also used to determine the distance required for longitudinal speed matching based on the longitudinal speed matching time;

[0297] The distance determination module 405 is also used to determine the longitudinal travel distance of the controlled vehicle in the lateral entry direction based on the lateral merging time.

[0298] The spatial calculation module 406 is used to record the sum of the attitude recovery distance, the distance required for longitudinal speed matching, the longitudinal travel distance, and the spatial safety margin as the space required for the merging action.

[0299] The window determination module 401 is also used to determine the candidate traffic merging window as a traffic merging window when the prediction space corresponding to the candidate traffic merging window is greater than or equal to the space required for the merging action.

[0300] The control module 404 is also used to control the controlled vehicle to stop when the predicted space corresponding to the candidate traffic merging window is less than the space required for the merging action.

[0301] In one possible implementation, the prediction module 402 is further configured to predict the rate of change of the trailer articulation angle based on a preset trailer dynamics model and vehicle information of the controlled vehicle.

[0302] The ramp merging and lane-changing decision-making device 40 applicable to tractor-trailers also includes:

[0303] The offset determination module 407 is used to determine the lateral offset between the trailer and the target lane based on the vehicle prediction information of other vehicles in the target lane and the vehicle information of the controlled vehicle.

[0304] The control module 404 is also used to control the controlled vehicle to merge from the current lane into the target lane according to the traffic merging window when the predicted value of the trailer articulation angle, the rate of change of the trailer articulation angle, and the lateral offset all meet the preset conditions.

[0305] The ramp merging and lane-changing decision device 40 for tractor-trailers provided in this embodiment can execute the method provided in the above method embodiment. Its implementation principle and technical effect are similar, and will not be described in detail here.

[0306] Figure 5 A schematic diagram of the structure of the electronic device provided in this application. Figure 5 As shown, the electronic device 50 provided in this embodiment includes at least one processor 501 and a memory 502. Optionally, the electronic device 50 further includes a communication component 503. The processor 501, memory 502, and communication component 503 are connected via a bus 504.

[0307] In the specific implementation process, at least one processor 501 executes computer execution instructions stored in memory 502, causing at least one processor 501 to execute the above-described ramp merging and lane-changing decision method applicable to tractor-trailers.

[0308] The specific implementation process of processor 501 can be found in the above method embodiment. This electronic device, through the processor, calls computer execution instructions stored in memory to jointly process the main road vehicle state, ramp geometric constraints, and vehicle motion state when the semi-trailer tractor merges into the main road from the ramp acceleration lane. First, it forms a candidate traffic merging window. Then, it combines the trailer dynamics model to deduce the articulation angle change and attitude stabilization time, thereby matching the total time required for the merging action with the window duration. Since it no longer relies solely on static gap judgment but simultaneously considers the vehicle's actual achievable action capabilities and attitude stabilization requirements, it can avoid situations where there is sufficient gap but the vehicle cannot complete the lane merge on time, thus improving window utilization and lane merging decision accuracy. At the same time, incorporating trailer attitude evolution into the judgment can reduce the risk of attitude instability during the merging process, making the output merging control commands more consistent with the dynamic constraints of heavy-duty vehicles. Therefore, it helps improve merging safety and operational efficiency in highway trunk logistics scenarios.

[0309] In the above embodiments, it should be understood that the processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in this invention can be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules within the processor.

[0310] The memory may include random access memory (RAM) and non-volatile memory (NVM), such as at least one disk storage device.

[0311] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of illustration, the buses shown in the accompanying drawings are not limited to a single bus or a single type of bus.

[0312] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the above-described ramp merging and lane-changing decision-making method applicable to tractor-trailers.

[0313] In this application, the computer program product is stored in a non-volatile storage medium and can be loaded and executed by the vehicle controller, central computing unit, or edge computing device. When the processor runs the program, it combines information from LiDAR, millimeter-wave radar, cameras, high-precision positioning, and vehicle bus to form a candidate window for ramp merging. It further calls upon the trailer dynamics model to deduce the articulation angle change and attitude stabilization time, thereby matching the total time of the actual merging action that the vehicle can complete with the window duration. Because the program considers main road traffic opportunities, vehicle acceleration capabilities, and trailer attitude constraints simultaneously before outputting the lane merging decision, it avoids making premature or overly conservative judgments based solely on static gaps. This improves the safety, stability, and window utilization of ramp merging, achieving the effect of improving the accuracy of lane merging decisions for tractor-trailers merging from ramps into main roads.

[0314] This application also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the above-described method for decision-making on ramp merging and lane changing for tractor-trailers.

[0315] In this application, the instructions stored in the computer-readable storage medium, after being executed by the processor, enable the vehicle controller to form and filter candidate traffic merging windows based on the main road vehicle status, ramp geometric constraints, vehicle motion status, and trailer articulated attitude. By further introducing a semi-trailer tractor dynamics model to extrapolate the time required for merging actions and incorporating articulation angle changes and attitude stabilization time into the judgment, the vehicle controller can match the window duration with the actual action process that the vehicle can complete, thereby avoiding merging decisions based solely on static gaps. Consequently, control commands are output only when traffic opportunity, power capability, and attitude stability are simultaneously satisfied, thus improving the safety, stability, and window utilization of ramp merging, and reducing the risk of merging due to insufficient acceleration or attitude instability, thereby improving the accuracy of merging decisions when tractors and trailers merge from ramps into main roads.

[0316] The aforementioned readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk. The readable storage medium can be any available medium accessible to a general-purpose or special-purpose computer.

[0317] An exemplary readable storage medium is coupled to a processor, enabling the processor to read information from and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can reside in an Application Specific Integrated Circuit (ASIC). Alternatively, the processor and the readable storage medium can exist as discrete components in the device.

[0318] The division of units is merely a logical functional division; in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be indirect coupling or communication connection through some interfaces, devices, or units, and may be electrical, mechanical, or other forms.

[0319] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0320] In addition, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0321] If a function is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0322] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.

[0323] Finally, it should be noted that other embodiments of the invention will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This invention is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein, and is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope.

Claims

1. A method for decision-making on ramp merging and lane changing for tractor-trailers, characterized in that, include: When a controlled vehicle merges from the current lane into the target lane, a candidate traffic merging window is determined based on the vehicle prediction information of other vehicles in the target lane and the vehicle information of the controlled vehicle. The controlled vehicle is a tractor-trailer, and the candidate traffic merging window is the time interval during which the controlled vehicle merges from the current lane into the target lane. Based on the preset trailer dynamics model and the vehicle information of the controlled vehicle, the predicted value of the trailer articulation angle is predicted. Based on the predicted value of the trailer articulation angle and the vehicle information of the controlled vehicle, the attitude stabilization time of the controlled vehicle is predicted, wherein the attitude stabilization time is the time required for the controlled vehicle to recover to a preset stable state when merging from the current lane into the target lane. Based on the attitude stabilization time and the vehicle information of the controlled vehicle, calculate the total time required for the merging action; When the duration of the candidate traffic merging window is greater than or equal to the total time required for the merging action, the candidate traffic merging window is determined as a traffic merging window; Based on the traffic merging window, the controlled vehicle is controlled to merge from the current lane into the target lane.

2. The method of claim 1, wherein, The step of predicting the attitude stabilization time of the controlled vehicle based on the predicted value of the trailer articulation angle and the vehicle information of the controlled vehicle includes: The dynamic convergence rate of the trailer articulation angle is calculated based on the predicted value of the trailer articulation angle and the vehicle information of the controlled vehicle. The attitude stabilization time is predicted based on the dynamic convergence rate of the trailer articulation angle.

3. The method of claim 1, wherein, The step of calculating the total time required for the merging operation based on the attitude stabilization time and the vehicle information of the controlled vehicle includes: Based on the preset longitudinal dynamics model and the vehicle information of the controlled vehicle, the longitudinal speed matching time is calculated, wherein the longitudinal speed matching time is the time it takes for the controlled vehicle to merge from the current lane into the target lane and reach the target merging speed; Based on the preset tractor-trailer kinematic model and the vehicle information of the controlled vehicle, calculate the lateral merging time of the controlled vehicle from the current lane into the target lane; The sum of the attitude stabilization time, the longitudinal velocity matching time, the lateral merging time, and the time safety margin is recorded as the total time required for the merging action.

4. The method of claim 3, wherein, The method further includes: Based on the vehicle prediction information of other vehicles in the target lane and the vehicle information of the controlled vehicle, a traffic interaction risk index is calculated. The time safety margin is determined based on the traffic interaction risk indicators and the basic time safety margin.

5. The method of claim 3, wherein, The method further includes: Determine the attitude recovery distance based on the attitude stabilization time; Based on the longitudinal speed matching time, determine the distance required for longitudinal speed matching; Based on the lateral merging time, determine the longitudinal travel distance of the controlled vehicle in the lateral entry direction; The sum of the attitude recovery distance, the distance required for longitudinal speed matching, the longitudinal travel distance, and the spatial safety margin is denoted as the space required for the merging action; When the prediction space corresponding to the candidate traffic merging window is greater than or equal to the space required for the merging action, the candidate traffic merging window is determined as the traffic merging window; When the predicted space corresponding to the candidate traffic merging window is less than the space required for the merging action, the controlled vehicle is controlled to stop.

6. The method according to any one of claims 1-5, characterized in that, The method further includes: Based on the preset trailer dynamics model and the vehicle information of the controlled vehicle, the rate of change of the trailer articulation angle is predicted. Based on the vehicle prediction information of other vehicles in the target lane and the vehicle information of the controlled vehicle, the lateral offset between the trailer and the target lane is determined; When the predicted value of the trailer articulation angle, the rate of change of the trailer articulation angle, and the lateral offset all meet the preset conditions, the controlled vehicle is controlled to merge from the current lane into the target lane according to the traffic merging window.

7. A decision-making device for merging and lane-changing on ramps for tractor-trailers, characterized in that, include: The window determination module is used to determine a candidate traffic merging window when the controlled vehicle merges from the current lane into the target lane, based on the vehicle prediction information of other vehicles in the target lane and the vehicle information of the controlled vehicle. The controlled vehicle is a tractor-trailer, and the candidate traffic merging window is the time interval during which the controlled vehicle merges from the current lane into the target lane. The prediction module is used to predict the trailer articulation angle based on the preset trailer dynamics model and the vehicle information of the controlled vehicle. The prediction module is also used to predict the attitude stabilization time of the controlled vehicle based on the predicted value of the trailer articulation angle and the vehicle information of the controlled vehicle, wherein the attitude stabilization time is the time required for the controlled vehicle to recover to a preset stable state when it merges from the current lane into the target lane. The time calculation module is used to calculate the total time required for the merging action based on the attitude stabilization time and the vehicle information of the controlled vehicle. The window determination module is also used to determine the candidate traffic merging window as a traffic merging window when the duration of the candidate traffic merging window is greater than or equal to the total time required for the merging action; The control module is used to control the controlled vehicles to merge from the current lane into the target lane according to the traffic merging window.

8. An electronic device, characterized in that, include: Memory, processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory, causing the processor to perform the method as described in any one of claims 1-6.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method as described in any one of claims 1-6.

10. A computer program product, characterized in that, Includes a computer program that, when executed by a processor, implements the method of any one of claims 1-6.