Three-car-body trajectory data fusion processing method based on unified parameter domain
By using a three-vehicle trajectory data fusion processing method based on a unified parameter domain, the problem of inconsistency between trajectory variables and constraint criteria in existing technologies is solved, thereby improving the accuracy and efficiency of three-vehicle trajectory planning and preventing cargo vehicles from mistakenly entering areas with insufficient load capacity.
Patent Information
- Application Number
- CN202611597352.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-15
- Publication Date
- 2026-11-27
AI Technical Summary
In the existing technology, the trajectory planning scheme for three vehicles fails to effectively unify the trajectory variables and constraint criteria for offline optimization, neural network prediction and online correction, resulting in inconsistencies between training data and release data, which may lead to false releases. Furthermore, it does not consider the matching relationship between vehicle load and ground bearing capacity, which may cause cargo vehicles to mistakenly enter areas with insufficient bearing capacity.
A three-vehicle trajectory data fusion processing method based on a unified parameter domain is adopted. By determining the inaccessible set under load conditions, a tractor reference trajectory is generated. Trajectory search and safety verification are performed within the global passable domain. Offline supervision labels, network outputs and online correction variables are unified. The same mapping is used to generate the trajectory. The offset components of the violation sections are certified and corrected segment by segment.
It eliminates the problem of erroneous release caused by inconsistencies between training data and release data standards, ensures that cargo vehicles do not mistakenly enter areas with insufficient load capacity, reduces the scale of correction solutions, avoids the release of infeasible trajectories, and improves the accuracy and efficiency of trajectory planning.
Smart Images

Figure CN123175288A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of vehicle trajectory planning technology based on digital maps, specifically a method for fusion processing of three-vehicle trajectory data based on a unified parameter domain. Background Technology
[0002] Within fixed construction sites, operations such as foundation pit excavation and material transfer are often carried out using articulated three-car transport vehicles, with a tractor towing two driven car bodies. These vehicles are large, have limited turning capabilities, and alternate between empty and loaded states during the same transport task. Therefore, the planning system needs to continuously generate safe and feasible driving trajectories based on the starting point, target point, and load status. With the development of deep learning technology, a trajectory data generation and processing model—where an optimizer generates trajectory data offline, a neural network predicts the trajectory online, and the optimizer then corrects the prediction results—is gradually becoming an important means to improve the efficiency of online planning.
[0003] In the prior art, global search methods can obtain discrete polylines from the starting point to the target point on digital maps (such as raster maps); Lattice sampling or nonlinear constraint optimization methods can generate continuous trajectories by combining vehicle kinematic models; deep learning methods can regress and predict trajectories or trajectory parameters from task features. For example, a Chinese patent application with publication number CN120660051A discloses a planning process in which training data is generated by optimizing a motion planner, the trajectory is generated by learning the planner and constrained verification is performed, and the learning results are used as the initial values of the optimizer.
[0004] However, the above schemes employ different trajectory variables and constraint criteria for offline optimization, neural networks, and online correction: the physical meaning and dimension of the supervision labels, network outputs, and correction variables are inconsistent, and the network prediction results cannot be directly used as initial correction values, requiring variable transformation; the feasibility criteria for offline screening are also inconsistent with the constraint criteria for online certification and final release, and feasible label data offline may be deemed infeasible online, leading to the problem of mis-release where training data and release data contradict each other. In addition, the existing schemes do not perform unified state extrapolation and complete envelope verification for the tractor and the two driven car bodies, nor do they consider the matching relationship between vehicle load and ground bearing capacity, which may cause cargo vehicles to mistakenly enter areas with insufficient bearing capacity.
[0005] To address this, the present invention provides a method for fusion processing of three-vehicle trajectory data based on a unified parameter domain. Summary of the Invention
[0006] In order to overcome the shortcomings of the prior art, at least one technical problem raised in the background art is solved.
[0007] The technical solution adopted by this invention to solve its technical problem is: a three-vehicle trajectory data fusion processing method based on a unified parameter domain, comprising: S1. Determine the total vehicle mass based on the load status. Incorporate the areas in the construction site semantic map where the allowable load mass is lower than the product of the total vehicle mass and the load safety factor into the load-related inaccessible set. After exclusion, the global passable region is obtained. The global search and the three-vehicle safety verification share the load-related inaccessible set. S2. Search for and resample guide polylines within the global traversable domain to obtain guide points. Use the normal offset components of each guide point to form a fixed-dimensional offset vector. Generate the tractor reference trajectory through continuous trajectory mapping. The offline stage supervision label, the output of the supervision network, and the online correction variables are all the offset vectors. Generate the trajectory through the same mapping. S3. In the offline stage, the constraint optimization problem is solved with multiple sets of initial values. The state of the three vehicles is deduced for the candidate trajectory and the unified constraint residual is calculated. The unified constraint residual is composed of the safe distance, curvature, steering angular rate, articulation angle and lateral acceleration of the three vehicle envelope and the load-related inaccessible set. The feasible offset vector is selected by the unified constraint residual and used as the supervision label to train the supervision network. S4. The online stage supervision network outputs a set of offset vectors and generates candidate trajectories; the candidate trajectories are divided into arc length segments corresponding to the offset components according to the arc length, and the unified constraint residual is used to authenticate each segment and obtain the residual margin of each segment. When the authentication is successful, the candidate trajectory is output. S5. When authentication fails, the arc length segment that failed authentication is identified as the violation segment. Only the offset component corresponding to the violation segment is used as the correction variable, and the remaining offset components are fixed as the output value of the supervision network. The correction solution is performed with the goal of minimizing the deviation from the output of the supervision network. The correction offset vector is used to generate a correction trajectory through the same mapping. The correction trajectory is output when the re-authentication is successful; otherwise, it is not output and a failure flag is returned.
[0008] Preferably, the load-related inaccessible set in step S1 is determined according to the following steps: S101. The semantic map is divided into permanent restricted areas, load-bearing restricted areas, low-priority areas, and ordinary areas. The permanent restricted areas are determined according to the foundation pits, fixed equipment, and closed working surfaces marked on the construction drawings. The load-bearing restricted areas are marked according to the allowable load-bearing capacity of each location obtained from on-site testing. The low-priority areas are determined according to the pits, mud, and soft ground marked on-site. The ordinary areas are the areas in the semantic map other than the permanent restricted areas, the load-bearing restricted areas, and the low-priority areas. S102. When the load state is a loaded state, the total mass of the vehicle is the sum of the unloaded mass and the loaded mass; when the load state is an unloaded state, the total mass of the vehicle is the unloaded mass. S103. All locations of the permanently restricted areas, and locations in the load-limited areas where the allowable load capacity is lower than the product of the total vehicle mass and the load safety factor, are added to the load-related inaccessible set.
[0009] Preferably, the load-bearing safety factor is greater than one and is set by the vehicle model parameter set.
[0010] Preferably, step S1 further includes: S104. At the initial stage of the mission, the low-priority region is incorporated into the load-related inaccessible set; S105. If the search for a passable path connecting the initial state of the vehicle and the target point within the global passable domain after excluding the load-related inaccessible set fails, the low-priority area is removed from the load-related inaccessible set, and the global passable domain is updated and the search is repeated. If the search still fails, the current transportation task is determined to be infeasible, no trajectory is generated and a failure flag is returned. S106. When the outbound and return load states of the same transportation task are different, the corresponding load-related inaccessible set shall be determined according to the load state of each travel segment, and the three-vehicle safety distance shall be calculated based on the corresponding load-related inaccessible set for each travel segment.
[0011] Preferably, the guiding point and the offset vector in step S2 are determined according to the following steps: S201. The guide line is resampled at equal intervals according to the cumulative arc length to obtain nine guide points. The guide points at both ends are overlapped with the starting point and ending point of the guide line and kept in a fixed position. The seven guide points in the middle participate in the offset. S202. The tangent of the intermediate guide point is obtained by normalizing the difference vector of the adjacent guide points before and after each intermediate guide point. The normal of the intermediate guide point is obtained by rotating the tangent by 90 degrees. The signed offset components of the seven intermediate guide points along their respective normals constitute the seven-dimensional offset vector. S203, The continuous trajectory mapping is a natural cubic spline interpolation with each offset guide point as the control point, and the offset vector corresponds one-to-one with the generated tractor reference trajectory.
[0012] Preferably, step S2 further includes: S204. The allowable range of the offset component of each intermediate guide point is determined by the distance from the guide point to the load-related non-enterable set along the normal direction on both sides. The distance is deducted by the lateral half-width of the three-body envelope and the additional safety margin, and is taken as the maximum allowable offset of the offset component. The additional safety margin is determined according to the positioning error and the control error. S205. The input of the supervision network includes the relative position of each guide point relative to the initial state of the vehicle and the load state. The output dimension of the supervision network is consistent with the dimension of the offset vector, and only one set of the offset vector is output.
[0013] Preferably, the multiple sets of initial values in step S3 include: The multiple initial values are smooth offset vectors with different amplitudes and directions. The offset components of each initial value are zero at the two guide points and have the largest amplitude at the middle guide point. After each set of initial values is solved to obtain candidate offset vectors through the constraint optimization problem, the unified constraint residuals are recalculated according to the encrypted trajectory verification position, and candidate offset vectors that fail the verification are eliminated. The candidate offset vector with the smallest overall quality cost is selected from the candidate offset vectors that have passed the review as the supervision label; when there are multiple candidate offset vectors with the same overall quality cost, the first one is selected according to the fixed sorting of the initial value group; tasks in which all candidate offset vectors fail the review are not written into the supervised training dataset.
[0014] Preferably, training the supervisory network in step S3 includes: dividing each component of the unified constraint residual corresponding to the supervisory label of each training sample by the corresponding constraint limit, and taking the minimum value among the obtained ratios as the residual margin of the sample, wherein the constraint limit of the safety distance component is zero, and the ratio of the component is obtained by dividing the component by the additional safety margin. The loss weight of each sample is the sum of one and the residual difference ratio. The residual difference ratio is the quotient of the difference between the maximum residual residual of all samples in the supervised training dataset and the residual residual of the sample. When the maximum residual is zero, the loss weight of all samples is uniformly set to one.
[0015] Preferably, step S3 further includes: Using an off-axle multi-section trailer kinematic model, the heading angles of the two driven car sections at each trajectory verification position and the articulation angles between adjacent car sections are recursively derived from the tractor reference trajectory. Each vehicle body has three covering disks arranged longitudinally, and each covering disk is the outer circle of the corresponding longitudinal segment of the vehicle body. The three vehicle body envelope is composed of all the covering disks of the three vehicle bodies. Calculate the shortest distance from the center of each covering disk to the load-related inaccessible set, subtract the radius of the corresponding covering disk and the additional safety margin from the shortest distance to obtain the safety distance, wherein the additional safety margin is determined according to the positioning error and the control error; The trajectory verification location density used in the offline screening in step S3 is less than the trajectory verification location density used in the online authentication stage.
[0016] Preferably, the arc length segment and residual margin in step S4 include: In each arc length segment, the starting point of the first segment is taken as the starting point of the trajectory, the ending point of the last segment is taken as the ending point of the trajectory, and the remaining starting and ending boundaries are taken as the midpoint of the cumulative arc length positions of adjacent guide points; the residual margin of each segment is the minimum value among the ratios obtained by dividing each residual component in the corresponding segment by the corresponding constraint limit, wherein the constraint limit of the safety distance component is zero, and the ratio of this component is obtained by dividing this component by the additional safety margin; When the authentication is successful, the residual margin of each arc length segment is recorded; when the authentication fails, the arc length segment with a residual margin of less than zero is the violation segment. While returning the failure flag, output the identifier of the unauthenticated residual component and its corresponding arc length segment.
[0017] This invention provides a method for fusing trajectory data of three vehicles based on a unified parameter domain. It has the following beneficial effects: 1. This invention unifies the offline supervision label, supervision network output, and online correction variable into the same offset vector and generates the trajectory through the same mapping. The screening, authentication, and correction use the same constraint residual, eliminating the problem of false release caused by the inconsistency between the training data and the release data standards.
[0018] 2. This invention uses the access attributes and load information of each location marked in the digital map as the data basis. It dynamically determines the set of vehicles that cannot enter based on the comparison between the total mass of the vehicle and the allowable load capacity of the area, and uses global search and three-vehicle safety verification together to ensure that the cargo-carrying vehicle will not mistakenly enter the area with insufficient load capacity, thus ensuring the consistency of the avoidance standards in the two stages.
[0019] 3. This invention performs segment-by-segment authentication based on the arc length segments that correspond one-to-one with the offset components. If the authentication fails, only the offset components corresponding to the violation segments are corrected, thus preserving the verified feasible trajectory shapes, reducing the scale of the correction solution, and not outputting the trajectory if the correction still fails, thereby preventing infeasible trajectories from being released. Attached Figure Description
[0020] Figure 1 This is a flowchart illustrating the overall process of the method of the present invention. Figure 2 This is a schematic diagram of the semantic area of the construction site and the passage of empty and loaded vehicles according to the present invention; Figure 3 This is a schematic diagram illustrating the mapping from the guiding polyline to the continuous trajectory of the present invention. Detailed Implementation
[0021] Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the invention. In the following detailed description, numerous specific details are set forth to provide a thorough understanding of the embodiments of the invention for ease of explanation. However, it will be apparent that one or more embodiments may be practiced without these specific details. Furthermore, descriptions of well-known structures and techniques are omitted in the following description to avoid unnecessarily obscuring the concept of the invention.
[0022] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the invention. The terms “comprising,” “including,” etc., as used herein indicate the presence of the stated features, steps, operations, and / or components, but do not exclude the presence or addition of one or more other features, steps, operations, or components.
[0023] All terms used herein (including technical and scientific terms) have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used herein are to be interpreted in a manner consistent with the context of this specification, and not in an idealized or overly rigid way.
[0024] When using expressions such as "at least one of A, B and C", they should generally be interpreted in accordance with the meaning that is commonly understood by those skilled in the art (e.g., "a system having at least one of A, B and C" should include, but is not limited to, a system having A alone, a system having B alone, a system having C alone, a system having A and B, a system having A and C, a system having B and C, and / or a system having A, B and C, etc.).
[0025] like Figures 1 to 3 As shown, this invention proposes a three-vehicle trajectory data fusion processing method based on a unified parameter domain, including the following steps: S1, determine the total mass of the vehicle according to the load status, and incorporate the areas in the construction site semantic map where the allowable load-bearing mass is lower than the product of the total vehicle mass and the load-bearing safety factor into the load-related inaccessible set, and obtain the global passable domain after exclusion; the global search and the three-vehicle safety verification share the load-related inaccessible set; S2. Search for and resample guide polylines within the global traversable domain to obtain guide points. Use the normal offset components of each guide point to form a fixed-dimensional offset vector. Generate the tractor reference trajectory through continuous trajectory mapping. The offline stage supervision label, the output of the supervision network, and the online correction variables are all the offset vectors. Generate the trajectory through the same mapping. S3. In the offline stage, the constraint optimization problem is solved with multiple sets of initial values. The state of the three vehicles is deduced for the candidate trajectory and the unified constraint residual is calculated. The unified constraint residual is composed of the safe distance, curvature, steering angular rate, articulation angle and lateral acceleration of the three vehicle envelope and the load-related inaccessible set. The feasible offset vector is selected by the unified constraint residual and used as the supervision label to train the supervision network. S4. The online stage supervision network outputs a set of offset vectors and generates candidate trajectories; the candidate trajectories are divided into arc length segments corresponding to the offset components according to the arc length, and the unified constraint residual is used to authenticate each segment and obtain the residual margin of each segment. When the authentication is successful, the candidate trajectory is output. S5. When authentication fails, the arc length segment that failed authentication is identified as the violation segment. Only the offset component corresponding to the violation segment is used as the correction variable, and the remaining offset components are fixed as the output value of the supervision network. The correction solution is performed with the goal of minimizing the deviation from the output of the supervision network. The correction offset vector is used to generate a correction trajectory through the same mapping. The correction trajectory is output when the re-authentication is successful; otherwise, it is not output and a failure flag is returned.
[0026] Among them, the unified constraint residual is the same residual in all stages of offline label screening, online authentication, correction solution and final release; the S5 correction solution is triggered only when the candidate trajectory fails authentication, and it is executed only once with the offset vector output by the supervision network as the only initial value, constituting condition correction.
[0027] The preferred implementation methods for each step are further explained below in sequence. First, the determination of the load-related inaccessible set in S1 is explained; it should be noted that the ground access conditions of the construction site are not uniform. If the map is only divided into two categories, accessible and inaccessible, it cannot express the difference in access between empty and loaded vehicles.
[0028] Therefore, in S101, this implementation method divides the semantic map of the construction site (i.e., a digital map of the site marked with the access attributes and load-bearing information of each location) into four categories: permanent restricted areas, load-bearing restricted areas, low priority areas, and ordinary areas. Among them, the permanent restricted areas refer to areas that are not allowed to be entered under any load conditions. They are determined according to the area occupied by the foundation pit, fixed equipment, and enclosed working surface marked on the construction drawings. The reason for using drawings is that the location of this type of area is fixed in the construction preparation stage, and the drawings are the only and authoritative source. The load-bearing restricted areas refer to areas whose load-bearing capacity can only meet the passage under partial load conditions, such as temporary access roads, steel plate bridges, and floor slabs. The allowable load-bearing capacity of each location is marked according to the on-site test results. The reason for using on-site testing is that the load-bearing capacity of temporary facilities is related to the construction process and material conditions, and cannot be calculated from the drawings. It can only be obtained by actual measurement.
[0029] Furthermore, low-priority areas refer to areas that are physically passable but would increase the risk of impact, slippage, or getting stuck, such as potholes, mud, and soft ground. The reason why these areas are not directly included in the inaccessible set according to their carrying capacity is that they are actually passable and only need to be avoided when there are other passing paths. Retaining them as open areas can prevent tasks from being directly judged as unplannable when there are no normal paths. Normal areas refer to compacted construction roads whose carrying capacity meets the requirements for passage in both empty and loaded states. As default passable areas, they are not included in the inclusion comparison of the inaccessible set. The reason for defining this area is that the carrying capacity comparison only needs to be performed on areas where the carrying capacity is uncertain. Normal areas do not need to be calculated point by point, which can reduce the amount of comparison calculation. In S102, for subsequent comparison with the permissible load capacity, the total vehicle mass must first be determined. Since the ground supports the entire vehicle, not just the cargo, the total vehicle mass must include both the unloaded mass and the loaded mass. Therefore, when the load condition is unloaded, the total vehicle mass is... The unloaded mass is taken as the total mass of the vehicle when the load condition is loaded. ,in Unloaded mass The load mass is measured in kilograms. Both are measurable or configurable physical parameters, and their sum is dimensionless. The reason for using the sum of the unloaded mass and the load mass, rather than just the load mass, in the comparison is that the load-bearing restricted area bears the entire weight of the vehicle. If only the load mass is included, the area with insufficient load capacity will be misjudged as accessible. In S103, after determining the total vehicle mass, all locations in permanently restricted areas, as well as locations in load-limited areas where the allowable load mass is less than the product of the total vehicle mass and the load safety factor, are included in the load-related inaccessible set, i.e.: ; in This is the set of inaccessible elements under the current load condition. This is a permanently restricted area. To accommodate the restricted area, p is any location on the map. The allowable load-bearing capacity at this location, The total mass of the vehicle is expressed in kilograms; γ is the load-bearing safety factor, which satisfies γ>1 and is dimensionless. The load-bearing safety factor is introduced because the on-site test values are inherently dispersed, and there is an impact load when the vehicle passes over them, which is calculated by multiplying the load by the load. Instead of using mass itself as a comparison benchmark, it allows for a margin in load-bearing judgment. The load-bearing safety factor is greater than one and is set by the vehicle model parameter set. When setting the factor, the dispersion of the allowable load-bearing mass obtained from on-site testing and the impact load when the vehicle passes through are taken into account. For ease of subsequent reference, let the subset of locations within the load-bearing restricted area that have an allowable load capacity lower than the product of the vehicle's total mass and the load-bearing safety factor be denoted as: ; The reason for introducing this set of comparisons instead of directly dividing the area by a fixed mass boundary is that the conclusions on passage at the same location under different load conditions are different. The difference between "passing when empty and detouring when loaded" is naturally formed by the comparison results, without the need for manual point-by-point specification.
[0030] Once the aforementioned inaccessible set is determined, it is excluded from the semantic map to obtain the global passable domain. At the same time, the same set is used as the avoidance object when calculating the safety distance between the three vehicle bodies. The reason for using the same set in two places is that if the global search and safety verification each use different avoidance ranges, there may be a contradiction that the global guidance polyline is feasible but the complete vehicle body verification is not feasible, resulting in repeated rework of the planning results. Using the same set can make the avoidance standards of global guidance and vehicle body-level safety verification consistent.
[0031] Through the above methods, every location that cannot enter the set can be traced back to the construction drawings or on-site inspection records, obtaining clear evidence; the dispersion of on-site inspections and the impact load when vehicles pass through are absorbed by the load-bearing safety factor, preventing loaded vehicles from mistakenly entering areas with insufficient load-bearing capacity; the global search and safety verification adopt the same avoidance standard, ensuring the consistency of load difference behavior in both stages.
[0032] As an alternative implementation, although low-priority areas are physically passable, passing through them increases the risk of impact, skidding, or getting stuck. Therefore, it is not desirable for vehicles to enter when there are other routes available. However, if they are treated the same as permanently restricted areas, the planning will be directly judged as a failure when the task can only connect the starting point and the target point by passing through the low-priority area, and the vehicle will not be able to reach the target point.
[0033] To balance both aspects, this implementation adopts a phased processing approach for low-priority regions in S104: In the initial stage of the task, low-priority regions are incorporated into the load-related inaccessible set. At this time, the inaccessible set is: ;in The reason for merging into low-priority areas first rather than opening them is to prioritize global search for paths within areas that do not pass through low-priority areas, and only consider opening them when there are no normal paths available.
[0034] In S105, a passable path connecting the initial state of the vehicle and the target point is then searched within the global passable domain after excluding this set. If the search fails, it indicates that there is no passable path that does not pass through the low-priority area, and the low-priority area is removed from the inaccessible set. That is, updated to: The system re-searches for guiding polylines within the updated globally traversable domain; using search failure as direct evidence of release conditions, without introducing human judgment or other additional criteria, ensures that the release timing strictly corresponds to the objective fact that "there is no normal path"; if the re-search still fails, the current transportation task is deemed infeasible, no trajectory is generated, and a failure flag is returned; the reason for re-searching instead of making local adjustments on the original polyline is that the topology of the traversable domain has changed after the removal of low-priority areas, and the original search direction may no longer be applicable.
[0035] Furthermore, in S106, the load states of the outbound and return journeys in the same transportation task are often different. For example, the vehicle may travel to the loading point empty and return to the unloading point loaded. If the inaccessible set is determined based on only one load state throughout the entire journey, determining it based on the load state would unnecessarily restrict the empty journey, while determining it based on the empty state would cause the loaded journey to lose its load protection. Therefore, when the outbound and return load states of the same transportation task are different, the corresponding inaccessible set is determined separately according to the load state of each journey segment. Each journey segment is searched and trajectory is generated separately, and the trajectory of each journey segment is used to calculate and authenticate the three-vehicle safety distance based on the corresponding inaccessible set.
[0036] Through the above phased processing, low priority areas are only used when there is no ordinary path, and their use is still subject to load comparison and safety verification constraints, and will not degenerate into unrestrained passage; the inaccessible sets are determined according to the travel segments, so that empty travel and loaded travel each obtain the passage range and verification standard that match their load status, and the load difference behavior of the same transportation task remains consistent throughout the entire process.
[0037] After obtaining the globally traversable domain, a continuous trajectory needs to be generated within it. Directly optimizing point-by-point coordinates on the raster search results results in high variable dimensionality and the offset of adjacent points can easily disrupt the smoothness of the trajectory. Therefore, this implementation first converts the discrete polyline obtained from the search into a small number of guide points, and then uses only the offset of the guide points along the normal as the adjustment variable for the trajectory.
[0038] In S201, the global search returns a discrete polyline from the vehicle's initial state to the target point within the globally traversable domain. This polyline only determines the obstacle avoidance direction and topological reachability, and does not guarantee curvature or hinge angle constraints; therefore, it serves only as a guide, not the final trajectory. To obtain uniformly spaced guide points, the Euclidean distances between adjacent nodes of the polyline are accumulated one by one to obtain the cumulative arc length of each node. Then, nine positions are taken at equal intervals along the total arc length of the polyline, and nine guide points are obtained through linear interpolation of the corresponding polyline segment. The coordinates of the guide points are denoted as follows: The unit is meters, and the subscript i is the sequence number of the guide point. The intermediate guide points are numbered from one to seven.
[0039] The reason for using equal arc length resampling instead of directly using polyline nodes is that the density of polyline nodes is determined by the grid and corners. Using them as control points would cause the resolution of trajectory adjustment to fluctuate with the node distribution. Equal arc length guide points, on the other hand, ensure that the arc length segments corresponding to each offset component are consistent and the degree of influence is balanced. Of the nine guide points, the two end points are aligned with the start and end points of the polyline and remain in a fixed position. Only the seven middle points participate in the offset. The reason for fixing the end points is that the trajectory must connect with the positioning pose given by the task at the start and target points. If the end points participate in the offset, the trajectory will no longer pass through the start and end points. In some implementations, in S202, the offset direction of each intermediate guide point is determined along its normal: the (i+1)th intermediate guide point adjacent to the i-th intermediate guide point is taken as an example. One guide point is used, with the coordinates of both points in meters, directly read from the resampling results. The unit tangent vector of the guide point is obtained by normalizing the difference between the two coordinates. Then, the unit tangent vector is rotated 90 degrees counterclockwise to obtain the unit normal vector. Both the tangent vector and the normal vector are dimensionless unit vectors, directly calculated from the coordinates of adjacent guide points, requiring no additional measurement. The reason for setting the offset component along the normal rather than along the map coordinate axes is that the normal offset directly corresponds to the lateral clearance of the trajectory relative to the polyline, and a single component can complete the obstacle avoidance adjustment, while the coordinate axis offset requires two coupled components and its meaning changes with the direction of the polyline.
[0040] The signed offset components of the seven intermediate guide points along their respective normals constitute a seven-dimensional offset vector z, and the positions of the control points after offset are... In the formula: The coordinates of the i-th guide point before its offset are in meters, and are read from the equal arc length resampling results. Let be the unit normal vector of the i-th guiding point. It is dimensionless and is obtained by normalizing the coordinate difference between adjacent guiding points and rotating it by 90 degrees. For the i-th guiding point along The directional signed offset component, in meters, with positive and negative signs representing the two sides of the guiding polyline, is the planning variable to be determined; the product... This indicates the lateral displacement of the guide point, in meters. The dimensions are the same, and the sum of the two is dimensionless; This represents the offset position of the control point, in meters. In S203, using the nine offset guide points as control points, a reference trajectory for the tractor is generated through natural cubic spline interpolation, denoted as... The reason for using spline interpolation is that the spline passes through all control points and has continuous curvature, and the trajectory shape is uniquely determined by the offset vector, i.e., z and... One-to-one correspondence; for this reason, the offline supervision label, the output of the supervision network, and the online correction variable can all be z and generate trajectories through the same mapping. There is no need for variable transformation among the three. The trajectory data processed by offline constraint optimization generation, online network prediction, and condition correction are fused in the same parameter domain, providing a unified data foundation for subsequent screening, authentication, and correction using the same constraint residuals.
[0041] It should be noted that the allowable range of each component of the offset vector must be limited. If the offset range of each guide point is uniformly fixed, then when facing different tasks and different load states, the fixed value is too restrictive in open areas, while in narrow areas it may include solutions that will inevitably collide, causing offline solving and network prediction to waste computation in infeasible areas.
[0042] Therefore, this implementation determines the maximum allowable offset of each offset component based on the distance from each guide point along the normal direction to the inaccessible set: ,in The offset component corresponding to the i-th intermediate guide point The maximum allowable offset, in meters; The shortest distance along the normal from the guide point to the set that cannot be entered under the current load condition is in meters, and is obtained by taking the modulo of the difference between the coordinates of the guide point and the coordinates of the nearest position that cannot be entered; The lateral half-width of the three-body envelope, in meters, is obtained from half the width of the vehicle body in the vehicle model parameter set. To add a safety margin, the unit is meters. The sum of the positioning error and the control error is taken. The positioning error is determined according to the positioning accuracy index of the vehicle positioning system, and the control error is determined according to the control accuracy index of the vehicle trajectory tracking. All three are in meters, and the dimensions of the subtraction are consistent. When the calculated maximum allowable offset is less than zero, the maximum allowable offset of the offset component is zero, that is, the position of the guide point is fixed and does not participate in the offset. The allowable range is that the absolute value does not exceed The reason for setting the signed interval is that the inaccessible set changes with the load state, and the allowable offset range narrows or widens accordingly. When the set is loaded, the set becomes larger and the allowable range automatically narrows. The feasible output space of the network is consistent with the actual passable space under the current load, reducing the output falling into the infeasible area from the source. The reason for deducting the lateral half-width and safety margin is that the offset constrains the reference point of the tractor, while the collision occurs at the edge of the vehicle body. The lateral space occupied by the vehicle body and the error margin need to be given up in advance. In some implementations, the inputs and outputs of the supervised network are also constructed within the aforementioned parameter domain. The inputs include the relative positions of each guide point with respect to the initial state of the vehicle and the load state: the reason for using relative positions instead of absolute coordinates is to ensure that the input features do not change with site translation, and that the same mapping rule can be reused for tasks with the same geometric relationship at different locations; the reason for including the load state in the input is that it cannot be included in the set as the load state changes, and the feasible labels for the same geometric task are different under no-load and loaded conditions, which the network needs to distinguish accordingly.
[0043] Before use, the input features are standardized by the mean and standard deviation of the training subset statistics to ensure that the features of each dimension are within a similar numerical range, thus avoiding the numerical differences under the coordinate units from overshadowing the Boolean load state features. The supervised network is a multilayer perceptron with three hidden layers. The activation function of the hidden layers is the SiLU function. The dimension of the input layer is consistent with the dimension of the input features, and the output layer is seven-dimensional. The network width, training batch and number of iterations are replaceable implementation parameters. The network outputs only one set of seven-dimensional vectors, whose dimensions are consistent with the offset vector z. After inverse standardization to restore the dimensions, the output becomes the offset component in meters. It can be directly mapped to the same continuous trajectory to generate a trajectory and used as the initial value for correction when needed. The reason for outputting only one set is that the offline supervision label is unique for each task after residual screening, the regression target is unique, and the online condition correction uses this output as the unique initial value. Multiple sets of outputs would disrupt the co-domain connection of "output is the initial value".
[0044] As an optional embodiment, after the parameter domain of the offset vector is determined, a unique and feasible supervision label needs to be generated for each training task in the offline stage. Directly using guiding polylines or manual annotations as labels will result in the network learning infeasible mappings due to polylines not meeting vehicle constraints and inconsistent manual annotation standards. Therefore, this embodiment generates labels by solving multiple sets of initial values through constraint optimization and then filtering them using unified constraint residuals.
[0045] Multiple sets of initial values are taken as smooth offset vectors with different amplitudes and directions. The offset components of each set of initial values are zero at the two guide points and have the largest amplitude at the middle guide point. In this embodiment, the initial value is constructed according to a sinusoidal square. The i-th component of the r-th set of initial values is: ; Where r is the initial value group number; i is the intermediate guide point number; The direction sign of the r-th initial value is +1 or... 1. Dimensionless, different initial value sets take different signs to cover both sides of the guiding polyline; The maximum offset magnitude of the initial values in the r-th group, in meters, is calculated according to... Confirmed, among which Maximum allowable offset for seven intermediate guide points The minimum value in the range, in meters; Let be the proportionality coefficient of the r-th initial value group, dimensionless, taking values at equal intervals according to the initial value group number within the interval greater than zero and less than one, with each group being distinct; the product unit is meters, and is... The units must be consistent to ensure that the initial value does not exceed the allowable offset range; The unit is meters, consistent with the dimensions of the offset component.
[0046] It should be noted that the reason for using a sinusoidal square is that this shape obtains its magnitude in the middle and naturally converges to zero towards both ends, which is compatible with the constraint that the guiding points at both ends are fixed. The initial value itself is a smooth and feasible offset shape, making the solution convergence more stable. The reason for setting multiple sets of initial values with different magnitudes and directions is that the constrained optimization problem is a non-convex problem. A single initial value can only converge to a local solution in its vicinity. Multiple sets of initial values can approximate multiple local solutions from different directions, avoiding the omission of better feasible solutions.
[0047] In some implementations, each set of initial values solves the same constrained optimization problem, namely, an optimization problem with the objective of minimizing the overall quality cost, the condition that each component of the unified constraint residual satisfies the constraint, and the allowable range of offset as the variable boundary, and the candidate offset vector is obtained by solving the problem.
[0048] The comprehensive quality cost is a weighted sum of five costs: the mean square value of the seven offset components, the integral of the square of the trajectory curvature along the trajectory arc length, the integral of the square of the hinge angle of the two articulated connections along the trajectory arc length, the total arc length of the trajectory, and the cumulative arc length of the tractor reference point located in the low-priority region. Each of the five costs is multiplied by its corresponding non-negative weight and then summed. Each non-negative weight is set according to the dimension of the corresponding cost term to ensure that the dimensions of each weighted term are consistent. The non-negative weights are set by the vehicle model parameter set. The offline constraint optimization uses this comprehensive quality cost as the objective. The reason for setting five terms is that the offset mean square value term makes the trajectory close to the verified passable guide polyline, the curvature and hinge angle terms ensure the smoothness of the trajectory, the total arc length term ensures the passage efficiency, and the low-priority region arc length term makes the optimization result actively avoid the low-priority region, forming a division of labor with the unified constraint residual of "residual determination of feasibility and cost selection of optimality".
[0049] It should be noted that in the unified constraint residual, the four components of curvature, steering angular rate, articulation angle and lateral acceleration are respectively taken as the difference between the corresponding constraint limit value and the actual value, and each constraint limit value is set by the vehicle model parameter set; each component is a margin form that is not less than zero when the constraint is satisfied, which is consistent with the construction of the safety distance component.
[0050] The candidate solutions obtained are local solutions near the corresponding initial values, without demanding a global optimum, because a global optimum cannot be guaranteed in non-convex problems, and the labels only need to be feasible to meet the training requirements. Subsequently, the unified constraint residuals of the trajectory of each candidate offset vector are recalculated at more densely packed trajectory verification positions than in the solution stage, and candidates that fail the verification are eliminated. The reason for the denser verification is that the optimization solution stage is limited by computational constraints and can only check constraints at a finite number of verification positions. There may be undetected residual violations between adjacent verification positions. The denser verification can eliminate such omissions, ensuring that the labels written into the dataset are still feasible at denser positions.
[0051] From the candidate offset vectors that pass the review, the one with the lowest overall quality cost is selected as the supervision label for that task. If multiple candidates have the same overall quality cost, the first one is selected according to the fixed order of the initial value group. The reason for using a fixed order instead of random selection is to ensure that the same label is obtained no matter when the same task is repeatedly generated, thus guaranteeing the uniqueness of the label and the reproducibility of the dataset. Tasks that fail all candidate reviews are not included in the supervised training dataset because such tasks do not have feasible labels. If the failed results are forcibly used as labels, the network will learn infeasible mapping relationships.
[0052] As an optional implementation, the distance of the supervision label of each sample from the constraint boundary varies: the label that is close to the boundary corresponds to the sample that is most likely to fail to be authenticated during the online prediction of the network. If it is treated the same as the sample with sufficient margin, the predicted trajectory output by the network is more likely to be close to the constraint boundary, resulting in frequent triggering of condition correction during the online stage.
[0053] Therefore, this implementation weights the loss function according to the constraint margin of the label, making network training focus more on samples close to the boundary: the residual margin of each sample is obtained as follows: calculate the unified constraint residual of the trajectory corresponding to the supervision label of the sample, divide the five components of the residual by their respective corresponding constraint limits to obtain five dimensionless ratios, and take the minimum value as the residual margin of the sample, denoted as . Wherein, the constraint limit of the safety distance component is zero, and the ratio of this component is obtained by dividing this component by the additional safety margin; u is the sample number. It is a dimensionless number.
[0054] It should be noted that the reason for dividing by the constraint limit or additional safety margin is that the physical dimensions of the five components are different, and their values cannot be directly compared. Dividing them by the corresponding constraint limit or additional safety margin yields dimensionless numbers, which can be compared on the same numerical scale. The reason for taking the minimum value is that each dimensionless ratio characterizes the degree of closeness of the trajectory to the corresponding constraint boundary. The smaller the ratio, the smaller the residual margin of the constraint component. The minimum value among the five ratios corresponds to the constraint component with the smallest residual margin, and the degree of closeness of the entire trajectory to the constraint boundary is determined by this minimum value. The loss weights for each sample are taken as follows ;in Let be the loss weight for the u-th sample, which is dimensionless; To determine the maximum residual value of all samples in the supervised training dataset, a dimensionless formula is used, obtained by taking the maximum residual value of all samples. Both the numerator and denominator are dimensionless, as are the quotient and weights, forming a closed-form formula. According to this formula, the sample with the smallest residual value has a weight of 2, the sample with the largest residual value has a weight of 1, and the weights of the remaining samples monotonically decrease between 1 and 2 as the residual value increases. When the value equals zero, it means that the labels of all samples are exactly at the constraint boundary. To avoid the denominator of the above formula being zero, the loss weight of all samples is uniformly set to 1, which degenerates into uniform weighting. During training, the predicted offset vector of each sample and the component-wise smoothed absolute error of the supervision label are weighted according to the loss weight of the corresponding sample and then averaged to serve as the training loss of the network parameters for iterative optimization.
[0055] After weighting in the above manner, feasible samples that are close to the constraint boundary have a greater impact on training. The predicted trajectory output by the network as a whole maintains a more sufficient margin with the constraint boundary. As a result, the number of cases where authentication is passed on the first attempt in the online stage increases, and the number of tasks that need to trigger condition correction decreases accordingly. At the same time, the weights are generated by the residual margin through a determined formula, without introducing manually set judgment limits, and the training process is reproducible.
[0056] As an optional embodiment, the tractor reference trajectory only determines the motion of the tractor reference point. However, the two driven car bodies of the three-car articulated vehicle do not travel along the tractor trajectory when turning, and their sweep range deviates laterally from that of the tractor. Therefore, simply checking the tractor trajectory cannot guarantee the safety of the entire vehicle. Thus, it is necessary to extrapolate the motion state of all car bodies from the tractor reference trajectory and then perform a safety check on the complete car body envelope.
[0057] The state simulation adopts the kinematic model of off-axle multi-section trailer vehicle, that is, the kinematic model of multi-section vehicle with the articulation point off the axle installation, each wheel rolling purely and the vehicle body ideally articulated. This model belongs to the existing technology, and the required parameters such as vehicle body length, width, adjacent connection distance and tractor wheelbase are all directly read from the vehicle model parameter set.
[0058] The derivation process is as follows: The tractor travels along the reference trajectory at the planned speed, where the planned speed is set as a constant value according to the transportation task and is read from the vehicle model parameter set. The position, heading angle, and curvature of the tractor at each verification position are directly calculated from the reference trajectory. The heading angle change rate of the first driven car body is determined by the articulation relationship between the tractor and the first driven car body, and the heading angle change rate of the second driven car body is determined by the articulation relationship between the first and second driven car bodies. The position and heading angle of the two driven car bodies at each verification position are obtained by recursion section by section. The difference in heading angle between adjacent car bodies is the articulation angle of the corresponding articulated connection. The reason for using recursion section by section is that the movement of the rear car body of a multi-section towed vehicle depends only on the movement state of the front car body and the articulation angle between them. The recursion relationship is consistent with the actual force transmission sequence of the vehicle.
[0059] After obtaining the motion states of the three vehicle bodies, the outer envelope of each vehicle body is approximated by covering disks: each vehicle body is divided into three segments along the longitudinal direction, and each segment is covered by its circumcircle, that is, three covering disks are arranged for each vehicle body, and the radius of the covering disks is taken as... ; in Let j be the length of the j-th car body. The width of the j-th vehicle body is in meters and is read from the vehicle model parameter set, where j is the vehicle body number. To cover the radius of the disk, the unit is meters. The square root of both terms is the square of meters, and the dimension is closed after taking the square root. The reason for using the circumcircle is that the circumcircle completely includes the corresponding vehicle body segment. As long as the disk is completely covered and the inaccessible set is kept at a distance, the rectangular vehicle body will not enter the area, which is geometrically conservative and reliable. The reason for segmenting along the longitudinal direction instead of covering the entire vehicle with a single circle is that the radius of the circumcircle of a single vehicle is much larger than half the width of the vehicle body, which would misjudge a large passable area as inaccessible. Segmenting the coverage is more in line with the shape of the vehicle body.
[0060] Based on the aforementioned covering disks, the safety distance is calculated as follows: At each verification position, the shortest distance from the center of each covering disk to the inaccessible set is taken, and the radius of the corresponding covering disk and the aforementioned additional safety margin are subtracted. The remaining amount is the safety distance of that disk at that position. The minimum safety distance of all three vehicle body covering disks at all verification positions is taken as the safety distance residual component of the entire trajectory. The reason for subtracting the disk radius is that the center distance includes the area occupied by the disk itself; the reason for subtracting the additional safety margin is to reserve margin for positioning and control errors.
[0061] The density of trajectory verification locations differs between the offline screening and online authentication stages, with the density of verification locations in offline screening being lower than that in online authentication. This reverse setup is adopted because the offline stage has multiple initial values and candidate solutions for each task; any missed candidates will be eliminated in the encrypted verification and selection stages, providing multiple layers of fallback. The online stage, however, only has one authentication and one correction opportunity for the network output, lacking any fallback. Therefore, a higher density of verification locations is used to achieve a lower probability of missed detection, and the computational burden allocation between the two stages matches their respective risk tolerance.
[0062] Based on this, the authentication method in the online stage is further refined. It should be noted that if the authentication of the candidate trajectory only gives a conclusion of whether the entire trajectory passes or fails, it is impossible to determine the position of the constraint violation when the authentication fails. The correction step can only adjust all offset components as a whole, which has a large adjustment range and is easy to destroy the originally feasible part of the trajectory. Therefore, this implementation refines the authentication to the arc length segment corresponding to the offset component, so that the authentication result carries position information at the same time.
[0063] The segment division utilizes the local concentration characteristics of the influence of spline control points: In a natural cubic spline, the i-th control point after offset has the greatest influence on the trajectory shape between its adjacent control points, while the influence on distant arc segments decreases as the arc length increases.
[0064] Accordingly, the candidate trajectory is divided into seven arc length segments corresponding one-to-one with the seven offset components based on the cumulative arc length. The start and end boundaries of the i-th arc length segment are taken as the midpoint of the arc length positions of the adjacent guide points, i.e., the starting point is... The destination is ,in The cumulative arc length position of the i-th guiding point is in meters, which is directly obtained from the cumulative arc length during resampling. , These represent the cumulative arc length positions of the adjacent guide points before and after them, with the same meaning and unit. The starting point of the first arc length segment is taken as the starting point of the candidate trajectory, and the ending point of the last arc length segment is taken as the ending point of the candidate trajectory, ensuring that all arc length segments completely cover the entire candidate trajectory. The midpoint is used as the boundary because the influence of two adjacent control points on the trajectory transitions in the middle between the two control points; dividing by the midpoint ensures that the influence range of each segment corresponds consistently with the offset component.
[0065] During authentication, uniform constraint residuals are calculated for each trajectory verification position within each arc length segment, and the residual margin for each arc length segment is obtained using the aforementioned normalization method: Each residual component of all verification positions within a segment is divided by its corresponding constraint limit (safety distance component divided by additional safety margin), and the minimum value is taken as the residual margin for that segment, denoted as . The superscript i represents the segment number. This is a dimensionless number, with the same meaning as the aforementioned sample residual, only the statistical scope has changed from the entire trajectory to the corresponding segment. The authentication conclusion for the entire trajectory is determined jointly by all segments: authentication is successful when the residual components of all arc-length segments meet the constraints. When authentication passes, candidate trajectories are output, and the residual margins for each arc length segment are recorded. When authentication fails, the residual margins for each arc length segment are also retained as the basis for subsequent condition correction. The reason for recording the segment residual margins is that the correction stage can use this to determine the arc length segments that violate the constraints, and then only adjust the offset component corresponding to that segment, while maintaining the network output value for the remaining components, thus narrowing the range of variables for correction. At the same time, the segment residual margins are archived with the task and can be used to trace the safety margin of each release. In the above way, the authentication result is expanded from a single pass conclusion to structured data of "conclusion plus residuals for each segment". The authentication and correction stages are connected through the same parameter domain, which enhances the targeting of the correction and reduces the scope of changes to the original predicted trajectory.
[0066] As an optional embodiment, correcting the offset vector as a whole when authentication fails would also alter the trajectory of the authenticated segments, increasing the number of variables in the solution and potentially causing new violations in arc segments that originally satisfied the constraints after correction. Therefore, this implementation uses the residual margin of each segment to narrow the correction range and uses the minimum deviation from the network output as the correction target.
[0067] Before making corrections, first identify the violation sections: The residual margin of each section is the minimum normalized value of all residual components at all review positions within the section. When a component satisfies the constraint, its normalized value is not less than zero. Therefore, arc-length sections with residual margins less than zero have residual components that violate the constraint and are identified as violation sections. The set of these section numbers is denoted as V, where V is determined by the residual margins of each section. It is obtained directly by comparing with zero, without the need for additional criteria.
[0068] The reason for determining the violation section by using the sign of the residual rather than a separately set boundary is that the sign of the residual component itself indicates whether the corresponding constraint is satisfied; the two are strictly equivalent, avoiding misjudgments caused by artificial boundaries. Then, a correction solution is performed: only the offset component corresponding to the violation section is used as the correction variable, while the remaining offset components are fixed as the values output by the supervisory network. The correction objective is to minimize the deviation between the corrected offset vector and the offset vector output by the network, i.e., to solve... The constraints are that all components of the unified constraint residual satisfy the constraints, and the correction variable does not exceed its maximum allowable offset. Where: This is the correction value for the i-th offset component. To monitor the i-th offset component of the network output, the unit is meters. The summation is obtained by inverse standardization of the network output to restore the dimensions; the summation only covers the set V of component indices corresponding to the violation segment; the unit of each square term is square meters, and the dimensions of the summation are consistent.
[0069] The reason for fixing the remaining components is that the arc segments corresponding to these components have been certified, and maintaining their values preserves the shape of the verified feasible trajectory while compressing the dimensionality of the solution variables. The reason for using minimum deviation as the objective instead of the offline comprehensive quality objective is that the network output has already been trained with optimized distribution and a reasonable overall shape. The purpose of correction is only to eliminate local violations rather than to re-optimize. The minimum deviation objective can preserve the original shape of the predicted trajectory to the greatest extent while satisfying the constraints. The correction solution is performed only once, without performing multiple initial value searches, to control online computation time. The corrected result is mapped to the same continuous trajectory to generate a corrected trajectory and re-authenticated. If the authentication is successful, the corrected trajectory is output; if it fails, no trajectory is output and a failure flag is returned. At the same time, the residual component identifier and its corresponding arc length segment are output. The failure flag, residual component identifier, and arc length segment number are sent to the task scheduling module in structured data form. The scheduling module adjusts the target point, changes the load status, or reissues the task based on this. The reason for outputting diagnostic information when failing is that the residual component identifier can indicate whether the failure is due to the safety distance or motion constraints, and the arc length segment can indicate the location of the failure. Based on this, two types of reasons can be distinguished: "the target point or path itself is not feasible" and "the network prediction quality is insufficient". This provides a basis for adjusting the target point, changing the load status, or reissuing the task, so that the failure return forms a complete result that can be used for subsequent processing.
[0070] Specifically, let's illustrate this with a calculation example: In a construction site, the permanently restricted area is the area occupied by the foundation pit, and the load-bearing restricted area is a temporary steel plate bridge with an on-site measured allowable load capacity of 18,000 kg. The empty vehicle weight is 9,000 kg. A certain transportation task has an empty outbound trip and a load weight of 6,000 kg on the return trip. The load-bearing safety factor is set to 1.25 by the vehicle model parameter set. When the vehicle is empty on the outbound trip, its total weight is 9,000 kg, and its product with the load-bearing safety factor is 11,250 kg, which is lower than the allowable load capacity of the steel plate bridge. Therefore, the steel plate bridge is not included in the restricted area. When the vehicle is loaded on the return trip... The total mass of the vehicle is 15,000 kg, and the product is 18,750 kg, which is higher than the allowable load capacity of the steel plate bridge. The steel plate bridge is included in the set that cannot be entered, and the return trajectory detours. After obtaining the guiding polyline through global search, nine guiding points are obtained by resampling with equal arc length. The offset components of the seven middle guiding points constitute a seven-dimensional offset vector. After the supervisory network outputs a set of offset vectors to generate candidate trajectories, they are certified segment by segment according to the seven arc length segments. If only the residual margin of the fourth segment is less than zero, then only the fourth offset component is used as the correction variable to perform a correction solution once. When the recertification is successful, the corrected trajectory is output.
[0071] In summary, in this invention, the offline supervision label, network output, and online correction variables are all the same offset vector and generate trajectories through the same mapping. The screening, authentication, and correction use the same constraint residual, eliminating false releases caused by inconsistencies between training and release standards. The load-related inaccessible set is dynamically determined according to the load state and is shared by the global search and safety verification, preventing cargo vehicles from mistakenly entering areas with insufficient load capacity. Authentication is performed segment by segment according to arc length. When a failure occurs, only the corresponding component of the violation segment is corrected, preserving the verified feasible trajectory shape and reducing the solution scale. Thus, the trajectory generation of three-body vehicles under different loads is uniformly guaranteed in terms of efficiency, safety, and consistency.
[0072] Those skilled in the art will understand that the features described in the various embodiments of the present invention can be combined and / or combined in various ways, even if such combinations or combinations are not explicitly described in the present invention. All such combinations and / or combinations fall within the scope of the present invention.
[0073] The embodiments of the present invention have been described above. However, these embodiments are merely illustrative and not intended to limit the scope of the invention. Although various embodiments have been described above, this does not mean that the measures in the various embodiments cannot be used advantageously in combination. Various substitutions and modifications can be made by those skilled in the art without departing from the scope of the invention, and all such substitutions and modifications should fall within the scope of the invention.
Claims
1. A method for fusing and processing three-vehicle trajectory data based on a unified parameter domain, characterized in that: include: S1. Determine the total vehicle mass based on the load status. Incorporate the areas in the construction site semantic map where the allowable load mass is lower than the product of the total vehicle mass and the load safety factor into the load-related inaccessible set. After exclusion, the global passable region is obtained. The global search and the three-vehicle safety verification share the load-related inaccessible set. S2. Search for and resample guide polylines within the global traversable domain to obtain guide points. Use the normal offset components of each guide point to form a fixed-dimensional offset vector. Generate the tractor reference trajectory through continuous trajectory mapping. The offline stage supervision label, the output of the supervision network, and the online correction variables are all the offset vectors. Generate the trajectory through the same mapping. S3. In the offline stage, the constraint optimization problem is solved with multiple sets of initial values. The state of the three vehicles is deduced for the candidate trajectory and the unified constraint residual is calculated. The unified constraint residual is composed of the safe distance, curvature, steering angular rate, articulation angle and lateral acceleration of the three vehicle envelope and the load-related inaccessible set. The feasible offset vector is selected by the unified constraint residual and used as the supervision label to train the supervision network. S4. The online stage supervision network outputs a set of offset vectors and generates candidate trajectories; the candidate trajectories are divided into arc length segments corresponding to the offset components according to the arc length, and the unified constraint residual is used to authenticate each segment and obtain the residual margin of each segment. When the authentication is successful, the candidate trajectory is output. S5. When the certification fails, the arc length segment that fails the certification is identified as the violation segment. Only the offset component corresponding to the violation segment is used as the correction variable, and the remaining offset components are fixed as the output value of the supervision network. The goal is to perform a correction solution with the minimum deviation from the output of the supervision network. The corrected offset vector is used to generate a corrected trajectory through the same mapping. The corrected trajectory is output when it is successfully re-authenticated; otherwise, it is not output and a failure flag is returned.
2. The method for fusion processing of three-vehicle trajectory data based on a unified parameter domain according to claim 1, characterized in that: The load-related inaccessible set in step S1 is determined according to the following steps: S101. Divide the semantic map into permanent restricted areas, load-bearing restricted areas, low-priority areas, and ordinary areas. The permanent restricted areas are determined according to the foundation pits, fixed equipment, and closed working surfaces marked on the construction drawings. The load-bearing restricted areas are marked according to the allowable load-bearing capacity of each location obtained from on-site testing. The low-priority areas are determined according to the pits, mud, and soft ground marked on-site. The ordinary areas are the areas in the semantic map other than the permanent restricted areas, the load-bearing restricted areas, and the low-priority areas. S102. When the load state is a loaded state, the total mass of the vehicle is the sum of the unloaded mass and the loaded mass. When the load state is unloaded, the total mass of the vehicle is taken as the unloaded mass; S103. All locations of the permanently restricted areas, and locations in the load-limited areas where the allowable load capacity is lower than the product of the total vehicle mass and the load safety factor, are added to the load-related inaccessible set.
3. The method for fusing three-vehicle trajectory data based on a unified parameter domain according to claim 1, characterized in that: The load-bearing safety factor is greater than one and is set by the vehicle model parameter set.
4. The method for fusion processing of three-vehicle trajectory data based on a unified parameter domain according to claim 2, characterized in that: Step S1 further includes: S104. At the initial stage of the mission, the low-priority region is incorporated into the load-related inaccessible set; S105. If the search for a passable path connecting the initial state of the vehicle and the target point within the global passable domain after excluding the load-related inaccessible set fails, the low-priority area is removed from the load-related inaccessible set, and the global passable domain is updated and the search is repeated. If the search still fails, the current transportation task is determined to be infeasible, no trajectory is generated and a failure flag is returned. S106. When the outbound and return load states of the same transportation task are different, the corresponding load-related inaccessible set shall be determined according to the load state of each travel segment, and the three-vehicle safety distance shall be calculated based on the corresponding load-related inaccessible set for each travel segment.
5. The method for fusing three-vehicle trajectory data based on a unified parameter domain according to claim 1, characterized in that: The guiding point and the offset vector in step S2 are determined according to the following steps: S201. The guide line is resampled at equal intervals according to the cumulative arc length to obtain nine guide points. The guide points at both ends are overlapped with the starting point and ending point of the guide line and kept in a fixed position. The seven guide points in the middle participate in the offset. S202. The tangent of the intermediate guide point is obtained by normalizing the difference vector of the adjacent guide points before and after each intermediate guide point. The normal of the intermediate guide point is obtained by rotating the tangent by 90 degrees. The signed offset components of the seven intermediate guide points along their respective normals constitute the seven-dimensional offset vector. S203, The continuous trajectory mapping is a natural cubic spline interpolation with each offset guide point as the control point, and the offset vector corresponds one-to-one with the generated tractor reference trajectory.
6. The method for fusion processing of three-vehicle trajectory data based on a unified parameter domain according to claim 5, characterized in that: Step S2 further includes: S204. The allowable range of the offset component of each intermediate guide point is determined by the distance from the guide point to the load-related non-enterable set along the normal direction on both sides. The distance is deducted by the lateral half-width of the three-body envelope and the additional safety margin, and is taken as the maximum allowable offset of the offset component. The additional safety margin is determined according to the positioning error and the control error. S205. The input of the supervision network includes the relative position of each guide point relative to the initial state of the vehicle and the load state. The output dimension of the supervision network is consistent with the dimension of the offset vector, and only one set of the offset vector is output.
7. The method for fusion processing of three-vehicle trajectory data based on a unified parameter domain according to claim 6, characterized in that: The multiple sets of initial values in step S3 include: The multiple initial values are smooth offset vectors with different amplitudes and directions. The offset components of each initial value are zero at the two guide points and have the largest amplitude at the middle guide point. After each set of initial values is solved to obtain candidate offset vectors through the constraint optimization problem, the unified constraint residuals are recalculated according to the encrypted trajectory verification position, and candidate offset vectors that fail the verification are eliminated. The candidate offset vector with the smallest overall quality cost is selected from the candidate offset vectors that have passed the review as the supervision label; when there are multiple candidate offset vectors with the same overall quality cost, the first one is selected according to the fixed sorting of the initial value group; tasks in which all candidate offset vectors fail the review are not written into the supervised training dataset.
8. The method for fusion processing of three-vehicle trajectory data based on a unified parameter domain according to claim 7, characterized in that: Training the supervisory network in step S3 includes: Divide each component of the unified constraint residual corresponding to the supervision label of each training sample by the corresponding constraint limit, and take the minimum value among the obtained ratios as the residual margin of the sample. The constraint limit of the safety distance component is zero, and the ratio of this component is obtained by dividing the component by the additional safety margin. The loss weight of each sample is the sum of one and the residual difference ratio. The residual difference ratio is the quotient of the difference between the maximum residual residual of all samples in the supervised training dataset and the residual residual of the sample. When the maximum residual is zero, the loss weight of all samples is uniformly set to one.
9. The method for fusion processing of three-vehicle trajectory data based on a unified parameter domain according to claim 6, characterized in that: Step S3 further includes: Using an off-axle multi-section trailer kinematic model, the heading angles of the two driven car sections at each trajectory verification position and the articulation angles between adjacent car sections are recursively derived from the tractor reference trajectory. Each vehicle body has three covering disks arranged longitudinally, and each covering disk is the outer circle of the corresponding longitudinal segment of the vehicle body. The three vehicle body envelope is composed of all the covering disks of the three vehicle bodies. Calculate the shortest distance from the center of each covering disk to the load-related inaccessible set, subtract the radius of the corresponding covering disk and the additional safety margin from the shortest distance to obtain the safety distance, wherein the additional safety margin is determined according to the positioning error and the control error; The trajectory verification location density used in the offline screening in step S3 is less than the trajectory verification location density used in the online authentication stage.
10. The method for fusing three-vehicle trajectory data based on a unified parameter domain according to claim 6, characterized in that: The arc length segment and residual margin in step S4 include: In each arc length segment, the starting point of the first segment is taken as the starting point of the trajectory, the ending point of the last segment is taken as the ending point of the trajectory, and the remaining starting and ending boundaries are taken as the midpoint of the cumulative arc length positions of adjacent guide points; the residual margin of each segment is the minimum value among the ratios obtained by dividing each residual component in the corresponding segment by the corresponding constraint limit, wherein the constraint limit of the safety distance component is zero, and the ratio of this component is obtained by dividing this component by the additional safety margin; When authentication is successful, the residual margin of each arc length segment is recorded; when authentication fails, the arc length segment with a residual margin less than zero is the violation segment. While returning the failure flag, output the identifier of the unauthenticated residual component and its corresponding arc length segment.
Citation Information
Patent Citations
Method for optimizing motion planning of robotic device
CN120660051A
