A multi-source perception fusion control method for constant speed marking operation

By employing a multi-source perception fusion control method and utilizing visual pose deviation and GNSS information, a multi-constraint adaptive control strategy is constructed. This solves the lateral control problem of unmanned lane marking vehicles in the absence of a global trajectory, achieving longitudinal speed stability and lateral control accuracy, and is suitable for on-site construction.

CN122939629BActive Publication Date: 2026-11-24SHANDONG JIAOTONG UNIV
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202611383995.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2026-09-08
Publication Date
2026-11-24
Estimated Expiration
2046-09-08

AI Technical Summary

Technical Problem

Unmanned lane marking vehicles struggle to maintain stable longitudinal speed and precise lateral control in the absence of a complete global construction trajectory and accurate curvature input, especially in low-curvature curves where tracking delays and control instability are common problems.

Method used

A multi-source perception fusion control method is adopted. By fusing visual pose deviation and GNSS motion information, a multi-constraint adaptive control strategy is constructed. Using a continuous control strategy network and a constraint action value network, five lateral control constraints are independently modeled and combined with a longitudinal speed adjustment unit to generate continuous steering control commands.

Benefits of technology

It enables unmanned lane marking vehicles to maintain stable longitudinal speed without relying on global information, ensuring the accuracy and safety of lateral control. It is suitable for on-site waterline construction conditions and reduces deployment complexity and cost.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122939629B_ABST
    Figure CN122939629B_ABST
Patent Text Reader

Abstract

This invention discloses a multi-source perception fusion control method for constant-speed line marking operations, belonging to the field of lateral control for unmanned vehicles. The method involves: acquiring the target vehicle's motion state information and visual pose deviation relative to the guide waterline to construct a multi-source perception fusion state; constructing a continuous control strategy network, a reward action value network, and a constraint action value network group; acquiring interaction samples and updating the reward action value network and each constraint action value network; adjusting each non-negative Lagrange multiplier based on the deviation between the statistics of each operational constraint cost and the corresponding threshold; constructing a strategy loss and updating the parameters of the continuous control strategy network to obtain a multi-constraint lateral control strategy; inputting the current multi-source perception fusion state into the multi-constraint lateral control strategy to obtain steering control commands, which are then sent to the actuator to maintain the vehicle speed at a preset line marking operation speed. This invention does not rely on the global construction trajectory and the actual curvature, achieving lateral multi-constraint adaptive control of the line marking vehicle.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of lateral control technology for unmanned vehicles, and specifically relates to a multi-source perception fusion control method for constant-speed line marking operations. Background Technology

[0002] Highway road marking construction typically begins with pre-marking guide lines on the road surface. Then, marking vehicles carrying paint and spraying equipment travel along these guide lines to complete the marking application. Since the paint drop height, spray speed, and nozzle structure are essentially fixed during the operation, changes in the vehicle's longitudinal speed affect the amount of paint deposited per unit length, thus influencing the width and thickness of the markings. Therefore, marking vehicles usually need to maintain a stable longitudinal operating speed during spraying. In some actual construction scenarios, the operators can only provide the road guide lines, rather than a construction map containing complete latitude and longitude trajectories and curvature parameters. Relying solely on absolute satellite positioning to travel along a pre-planned trajectory makes it difficult to directly utilize the on-site construction benchmarks reflected by the guide lines. Furthermore, relying solely on near-field downward vision near the nozzle, low-curvature highway curves often appear as near-straight lines within a limited field of view. Before the visual lateral error changes significantly, the controller cannot detect in advance whether the vehicle is entering or maintaining a curved trajectory.

[0003] Traditional proportional-integral-derivative (PI-DE) controllers or model predictive controllers can generate steering inputs based on lateral and heading errors, but their control parameters or model weights typically need to be adjusted for vehicle load, speed, and road geometry. When lane-marking vehicles carry large amounts of paint, their mass and inertia are significant, and visual measurements are affected by minor vehicle vibrations. This means that a set of parameters effective on straight sections may not simultaneously ensure tracking accuracy and steering smoothness on low-curvature curves. Continuous motion reinforcement learning can learn steering control relationships under different geometric conditions from interactive data. However, when all control requirements are expressed through fixed weights in a single reward function, a smaller average lateral error does not necessarily mean that a small number of large errors are limited, and long-term unilateral bias, abrupt steering changes in adjacent control cycles, and heading errors have different physical meanings. Further increasing the fixed penalty term will increase parameter coupling and may produce different trade-offs under different operating conditions.

[0004] In summary, there is an urgent need for a lateral control method for unmanned line marking vehicles that does not rely on the global construction trajectory, utilizes only visual and GNSS information, and can constrain multiple lateral control indicators separately. Summary of the Invention

[0005] To address the aforementioned technical problems, this invention proposes a multi-source perception fusion control method for constant-speed line marking operations. By fusing visual pose deviation and GNSS motion information from multiple sources, lateral multi-constraint adaptive control of the line marking vehicle without requiring a global trajectory is achieved.

[0006] To achieve the above objectives, the present invention adopts the following technical solution: In a first aspect, this invention proposes a multi-source sensing fusion control method for constant-speed line marking operations, comprising the following steps: Acquire the motion state information of the target vehicle and its visual pose deviation relative to the guide waterline; construct historical state data from the motion state information and visual pose deviation of multiple consecutive control cycles; construct the current motion-derived state based on the motion-derived features of the current control cycle; combine the historical state data and the current motion-derived state into a multi-source perception fusion state; A continuous control strategy network, a reward action value network, and a constraint action value network group are constructed; interaction samples between the target vehicle and the guide waterline are obtained, and the reward action value network and each constraint action value network are updated based on the interaction samples; each non-negative Lagrange multiplier is adjusted by the deviation between the statistics of each operational constraint cost in the interaction sample and the corresponding preset threshold; the interaction sample includes multi-source perception fusion state and multiple operational constraint costs. A policy loss is constructed, which is determined by the cumulative performance reward estimate of the state-action pair by the updated reward action value network, the cumulative constraint risk estimate of the state-action pair by the updated constraint action value networks, and the non-negative Lagrange multiplier; the policy loss is minimized to update the parameters of the continuous control policy network to obtain a multi-constraint lateral control policy. The current multi-source perception fusion state is input into the multi-constraint lateral control strategy to obtain steering control commands and send them to the steering actuator. At the same time, the longitudinal speed adjustment unit maintains the vehicle speed at the preset marking operation speed, so that the target vehicle performs closed-loop marking operation along the guide waterline.

[0007] Furthermore, the motion state information of the target vehicle includes: target vehicle speed, actual steering input, and local motion parameters of satellite navigation; The visual pose deviation includes the lateral offset of the target vehicle relative to the guide waterline and the heading angle deviation. The current motion derived state includes the rate of change of lateral offset, the rate of change of heading angle deviation, the exponentially weighted moving average of lateral offset, the change of steering angle, the local longitudinal velocity of satellite navigation, the local lateral velocity of satellite navigation, the sine of the satellite navigation track angle, the cosine of the satellite navigation track angle, the rate of change of the satellite navigation track angle, and the implicit road curvature estimate.

[0008] Furthermore, the calculation process for the implicit road curvature estimate is as follows: (5) in, This represents the implicit road curvature estimate; This indicates the preset weighting coefficients, and ; This indicates the wheel steering angle during the current control cycle; Indicates the wheelbase; Represents the curvature components determined by the vehicle's kinematics; This represents the error correction component consisting of the rate of change of heading angle deviation and the characteristic velocity; Indicates the vehicle speed during the current control cycle; This represents the positioning curvature component, which is composed of the rate of change of the satellite navigation track angle and the navigation characteristic velocity. Indicates the rate of change of satellite navigation track angle; This indicates the satellite navigation speed during the current control cycle.

[0009] Furthermore, the costs of the multiple operational constraints include lateral positioning deviation cost, lateral deviation tail cost, long-term unilateral offset cost, steering action abrupt change cost, and heading alignment deviation cost.

[0010] Furthermore, the method for constructing the continuous control policy network, reward action value network, and constraint action value network group is as follows: The continuous control strategy network is a multilayer perceptron, comprising an input layer, two hidden layers, and an output layer connected in sequence. The dimension of the input layer is consistent with the dimension of the multi-source perception fusion state, and the dimension of the output layer is consistent with the dimension of the control action. The reward action value network includes a first reward action value network and a second reward action value network; both the first reward action value network and the second reward action value network are multilayer perceptrons, each including an input layer, two hidden layers and an output layer connected in sequence. The dimension of the input layer is the sum of the dimension of the multi-source perception fusion state and the dimension of the control action, and the dimension of the output layer is 1. The constraint action value network group includes multiple constraint action value networks corresponding to each operational constraint cost. Each constraint action value network is a multilayer perceptron, including an input layer, two hidden layers and an output layer connected in sequence. The dimension of the input layer is the sum of the dimension of the multi-source perception fusion state and the dimension of the control action, and the dimension of the output layer is 1.

[0011] Furthermore, the interaction samples also include control actions, performance reports, the multi-source perception fusion state at the next moment, and a termination flag; The reward action value network and each constraint action value network are updated based on the interaction samples, specifically: a Bellman objective is constructed using the costs of each operational constraint, the multi-source perception fusion state at the next moment, and the termination flag, and each constraint action value network is updated based on the Bellman objective; a reward Bellman objective is constructed using the performance reward, the multi-source perception fusion state at the next moment, and the termination flag, and the reward action value network is updated based on the reward Bellman objective.

[0012] Furthermore, the non-negative Lagrange multipliers are expressed in an exponential parameterized form: (12) in, Indicates the first The non-negative Lagrange multipliers corresponding to the term constraints; Represents the trainable logarithmic parameters; When the non-negative Lagrange multiplier is updated, the original violation amount The calculation is as follows: ; Then the original violation amount The smoothed violation is obtained by performing an exponential moving average: (13) The smoothness violation quantity is used as the basis for updating the non-negative Lagrange multiplier; in, Indicates the first in the current training batch Statistics on the constraints; Indicates the first Preset threshold for item constraints; This represents the smoothed violation after exponential moving average processing; Represents the smoothing coefficient and ; This represents the smoothing violation amount in the previous update cycle.

[0013] Furthermore, a Bellman objective is constructed using the costs of various operational constraints, the multi-source perception fusion state at the next moment, and the termination flag. The value network of each constraint action is then updated based on the Bellman objective, specifically as follows: The Bellman objective of the value network for each constrained action is: (14) in, Indicates the first The Bellman objective value corresponding to the operational constraint cost; Indicates the cost discount factor; Indicates the current control cycle number The immediate value of the cost of the operational constraints; Indicates the end of the current control cycle; Indicates the first The first item corresponding to the cost of the operational constraint A value network of target-constrained actions; This indicates the multi-source sensing fusion state for the next control cycle; Indicates the control action for the next control cycle; This indicates that the larger value in the output of the two target constraint action value network should be taken; The method for updating the constraint action value network is as follows: (15) in, This represents the overall loss function of the constrained action value network; Indicates the first The first item corresponding to the cost of the operational constraint A constraint-action value network for state-action pairs The cumulative constraint risk estimate; This represents the mathematical expectation of the interaction samples sampled from the experience replay buffer, achieved by minimizing the loss function. Update the parameters of the value network for each constraint action.

[0014] Furthermore, the policy loss is expressed as: ;(twenty one) in, Indicates the strategy loss; Represents the entropy regularization coefficient. This indicates that the continuous control policy network is in a fusion state. Select control action below The probability density, This represents the cumulative performance reward estimate of the network for state-action pairs, representing the reward action value. For the first The non-negative Lagrange multipliers corresponding to the term constraints, For the first Cumulative constraint risk estimate of state-action pairs in a constraint-action value network Secondly, the present invention also proposes a multi-source sensing fusion control device for constant-speed line marking operations, comprising at least one processor and a memory, wherein the memory stores a computer program, characterized in that the computer program, when executed by the at least one processor, implements the aforementioned multi-source sensing fusion control method for constant-speed line marking operations.

[0015] The effects described in the invention are merely those of the embodiments, and not all the effects of the invention. One of the above technical solutions has the following advantages or beneficial effects: (1) Multi-source perception fusion to improve cornering perception capability This invention constructs historical state data from visual pose deviations and vehicle motion states across multiple consecutive control cycles. Simultaneously, it extracts motion-derived features from the current control cycle (including GNSS local longitudinal and lateral velocities, track angle change rate, and implicit road curvature estimates). This historical state data is combined with the current motion-derived state to form a multi-source perception fusion state. This allows the controller to obtain curve motion trend information through the GNSS track angle change rate and implicit curvature even when the waterline is still approximately straight in near-field vision, thus solving the problem of tracking delay in low-curvature curves. This fusion state serves as input to the policy network, achieving complementary enhancement of vision and GNSS at the feature level.

[0016] (2) Decoupling longitudinal and lateral control to ensure line marking quality This invention employs a structural design where the longitudinal speed adjustment unit is independent of the multi-constraint lateral control strategy. The longitudinal speed adjustment unit maintains the vehicle speed at a preset marking speed, while the lateral control strategy focuses on guiding waterline tracking. The longitudinal and lateral control structures are independent of each other; the lateral strategy cannot circumvent the lateral control target by changing the longitudinal speed. This ensures a constant vehicle speed during spraying, which helps guarantee the consistency of paint deposition per unit length, thereby ensuring the uniformity of the marking width and thickness.

[0017] (3) Five constraints are modeled independently and adjusted adaptively. This invention models lateral positioning deviation, lateral deviation tail, long-term unilateral offset, sudden steering maneuver, and heading alignment deviation as five independent operational constraint costs, each configured with an independent constraint action value network and equipped with a non-negative Lagrange multiplier. The deviation between the statistics of each constraint and the corresponding preset threshold independently triggers the adjustment of the corresponding non-negative Lagrange multiplier. When the statistics of a certain constraint continuously exceed the preset threshold, the influence of that constraint on the policy network update is adaptively enhanced. This allows the policy to automatically adapt to changes in operating conditions between straight and curved road segments without manual weight adjustment, avoiding the performance trade-off problem caused by fixed penalty weights under different geometric conditions.

[0018] (4) Multi-constraint risk estimation and conservative decision-making to ensure operational safety In this invention, each operational constraint cost corresponds to two constraint action value networks. In the Bellman objective construction, the larger value of the output of the two objective constraint action value networks is taken to conservatively estimate the cumulative constraint risk. This makes the policy network more inclined to avoid actions with high constraint risk during training. In particular, in the constraint action value networks corresponding to the lateral deviation tail cost and the long-term one-sided offset cost, the conservative estimation mechanism effectively suppresses the occurrence of small large deviations and continuous one-sided offsets, thereby improving the safety of line drawing operations.

[0019] (5) It does not rely on global information and has strong applicability. In this invention, the information input to the strategy network during the control phase only includes visual pose deviation, vehicle motion status, and GNSS local motion information, excluding absolute latitude and longitude coordinates, global route identification, and actual road curvature. This design makes the invention suitable for actual operational conditions where a complete global construction route is lacking, using the on-site guide waterline as a construction reference. It eliminates the need for pre-collecting the latitude and longitude trajectory and curvature parameters of the construction route, reducing the complexity and cost of on-site deployment. Attached Figure Description

[0020] Figure 1 This is a flowchart of a multi-source sensing fusion control method for constant-speed line marking operations proposed in Embodiment 1 of the present invention; Figure 2 This is a schematic diagram illustrating the combination of historical state data and current motion-derived state into a multi-source sensing fusion state as proposed in Embodiment 1 of the present invention; Figure 3 This is a schematic diagram of the training of the multi-constraint lateral control strategy proposed in Embodiment 1 of the present invention; Figure 4 This is a schematic diagram of the constant-speed line-marking closed-loop control proposed in Embodiment 1 of the present invention; Figure 5 This is a schematic diagram of a multi-source sensing fusion control device for constant-speed line marking operations proposed in Embodiment 3 of the present invention. Detailed Implementation

[0021] To clearly illustrate the technical features of this solution, the invention will be described in detail below through specific embodiments and in conjunction with the accompanying drawings. The following disclosure provides many different embodiments or examples for implementing different structures of the invention. To simplify the disclosure of the invention, components and arrangements of specific examples are described below. Furthermore, reference numerals and / or letters may be repeated in different examples. This repetition is for simplification and clarity and does not in itself indicate a relationship between the various embodiments and / or arrangements discussed. It should be noted that the components illustrated in the drawings are not necessarily drawn to scale. Descriptions of well-known components, processing techniques, and processes are omitted in this invention to avoid unnecessarily limiting the invention.

[0022] Example 1 Embodiment 1 of this invention proposes a multi-source perception fusion control method for constant-speed line marking operations. The technical problem it solves is: in the absence of a complete global construction trajectory and real curvature input, how to enable an unmanned line marking vehicle to maintain a preset longitudinal spraying speed while generating continuous steering control commands using near-field vision and GNSS local motion information, and respectively limit the overall lateral deviation, local error peak, long-term unilateral offset, steering abrupt change and heading deviation of the stable operation section.

[0023] Figure 1 This is a flowchart of a multi-source sensing fusion control method for constant-speed line marking operations proposed in Embodiment 1 of the present invention; In step S1, the motion state information of the target vehicle and the visual pose deviation relative to the guide waterline are obtained; the motion state information and visual pose deviation of multiple consecutive control cycles are constructed into historical state data; and the current motion derived state is constructed based on the motion derived features of the current control cycle. In Embodiment 1 of this invention, the motion state information of the target vehicle and its visual pose deviation relative to the guide waterline are acquired according to a preset control cycle. The preset cycle in Embodiment 1 is 20Hz. The scope of protection of this invention is not limited to the specific values ​​listed in Embodiment 1; those skilled in the art can make reasonable adjustments based on actual circumstances.

[0024] The target vehicle's motion status information includes: target vehicle speed, actual steering input, and local motion parameters of satellite navigation; Among them, the local motion parameters of satellite navigation are obtained by GNSS antenna and receiving device installed on the target vehicle and calculated in a local coordinate system established with the initial driving direction of the vehicle. These parameters include local longitudinal velocity, local lateral velocity, track angle, and rate of change of track angle.

[0025] Visual pose deviations include the lateral offset of the target vehicle relative to the guide waterline and the heading angle deviation; these are obtained by a camera device facing the road surface area near the spraying device.

[0026] The motion state information and visual pose deviation from five consecutive control cycles are used to construct historical state data. Specifically, the single-frame state vector recorded in each control cycle is represented as follows: (2) in, For the first Lateral offset per control cycle; For the first The heading angle deviation per control cycle; For the first The target vehicle speed for each control cycle; For the first The actual steering amount per control cycle; The historical state data is obtained by sequentially arranging the single-frame historical vectors of the current moment and its four preceding control cycles, as follows: (3) The historical state data contains a total of 20 state components.

[0027] The current motion derivation state is constructed based on the motion derivation features of the current control cycle. The current motion derivation features include at least the rate of change of lateral offset. Rate of change of heading angle deviation Exponential weighted moving average of lateral offset Change in steering angle Local longitudinal velocity of satellite navigation Local lateral velocity of satellite navigation The sine value of the satellite navigation track angle Cosine value of satellite navigation track angle Satellite navigation track angle change rate and implicit road curvature estimates There are a total of 10 state components. Specifically, they are represented as follows: (4) The calculation process for the implicit road curvature estimate is as follows: (5) in, This represents the implicit road curvature estimate; This indicates the preset weighting coefficients, and ; This indicates the wheel steering angle during the current control cycle; Indicates the wheelbase; Represents the curvature components determined by the vehicle's kinematics; This represents the error correction component consisting of the rate of change of heading angle deviation and the characteristic velocity; Indicates the vehicle speed during the current control cycle; This represents the positioning curvature component, which is composed of the rate of change of the satellite navigation track angle and the navigation characteristic velocity. Indicates the rate of change of satellite navigation track angle; This indicates the satellite navigation speed during the current control cycle.

[0028] The calculated implicit road curvature estimate is restricted to a preset curvature range.

[0029] The implicit curvature is jointly determined by the vehicle's steering geometry, the trend of visual heading error, and the trend of GNSS track angle variation: the actual wheel angle and wheelbase form the vehicle motion curvature component, which is corrected by the rate of change of visual heading error; the rate of change of GNSS track angle and GNSS velocity form the GNSS curvature component, and the two components are then weighted. Limiting the implicit curvature can reduce the impact of outliers caused by low speeds or measurement jitter.

[0030] In step S2, the historical state data and the current motion-derived state are combined into a multi-source sensing fusion state; Figure 2 This is a flowchart of the process of combining historical state data and current motion-derived state into a multi-source perception fusion state, as proposed in Embodiment 1 of the present invention. The historical state data constructed in step S1 above (20-dimensional) and the current motion-derived state The combination represents a multi-source sensing fusion state, specifically as follows: (1) in, This represents the multi-source sensing fusion state of the current control cycle, comprising 30 state components. This multi-source sensing fusion state serves as the input to the subsequent policy network and value network.

[0031] Before the multi-source sensing fusion state is input into each network, it is normalized according to the fixed scale corresponding to the physical dimensions of each state component, and the normalized state components are then subjected to amplitude limiting to ensure that each state component is within the preset normalization range.

[0032] Specifically, each state component is stored and calculated using its physical unit. Before being input into the policy network and value network, it is divided by a fixed scale corresponding to its physical quantity range. For example, the lateral offset (unit: m) is divided by a preset lateral scale (e.g., 0.05 m), the heading angle deviation (unit: rad) is divided by a preset angular scale (e.g., 0.1 rad), and the velocity (unit: m / s) is divided by a preset velocity scale (e.g., 2 m / s), ensuring that each component is within a similar numerical range and avoiding network input imbalance due to dimensional differences. Amplitude limiting is then used to eliminate the impact of sensor noise or outliers on the stability of the network output.

[0033] In Embodiment 1 of this invention, the control strategy network input does not include absolute latitude and longitude, route number, and true curvature. Absolute latitude and longitude can only be used within the GNSS motion estimation module to calculate relative local motion and is not used as a strategy state component.

[0034] In step S3, a continuous control strategy network, a reward action value network, and a constraint action value network group are constructed; interaction samples between the target vehicle and the guide waterline are obtained, and the reward action value network and each constraint action value network are updated based on the interaction samples; each non-negative Lagrange multiplier is adjusted by the deviation between the statistics of each operational constraint cost in the interaction samples and the corresponding preset threshold; the interaction samples include multi-source perception fusion states and multiple operational constraint costs; The continuous control strategy network is a multilayer perceptron, including an input layer, two hidden layers, and an action distribution parameter output layer. The dimension of the input layer is consistent with the dimension of the multi-source perception fusion state. The two hidden layers each contain 256 neurons and use the ReLU activation function. The action distribution parameter output layer outputs the mean and logarithmic standard deviation of the control action, both of which have the same dimension as the control action. Reparameter sampling is performed based on the mean and logarithmic standard deviation, and the continuous control action is obtained by mapping through the hyperbolic tangent function.

[0035] The reward action value network includes a first reward action value network and a second reward action value network; both are multilayer perceptrons with identical structures and independent parameters, each including an input layer, two hidden layers and an output layer; the dimension of the input layer is the sum of the multi-source perception fusion state dimension and the control action dimension, the two hidden layers each contain 256 neurons and use the ReLU activation function, and the dimension of the output layer is 1, used to output the reward action value of the corresponding state-action combination.

[0036] The constraint action value network group includes multiple constraint action value networks that correspond one-to-one with each constraint cost. Each constraint action value network includes a first constraint action value network and a second constraint action value network, which have the same structure and independent parameters. Each constraint action value network includes an input layer, two hidden layers, and an output layer. The dimension of the input layer is the sum of the multi-source perception fusion state dimension and the control action dimension. The two hidden layers each contain 256 neurons and use the ReLU activation function. The dimension of the output layer is 1, which is used to output the cumulative constraint cost estimate of the corresponding state-action combination.

[0037] In this embodiment 1, the multiple operational constraint costs include five items: lateral positioning deviation cost, lateral deviation tail cost, long-term unilateral offset cost, steering action mutation cost, and heading alignment deviation cost. Each constraint corresponds to two constraint action value networks, for a total of 10 constraint action value networks.

[0038] In Embodiment 1 of this invention, when constructing the continuous control strategy network, reward action value network, and constraint action value network group, an experience replay buffer is also initialized. Samples of the interaction between the target vehicle and the guide waterline are acquired according to a preset control cycle. These interaction samples include the multi-source perception fusion state, control actions, performance rewards, the multi-source perception fusion state at the next moment, a termination flag, and multiple operational constraint costs. The interaction samples are then stored in the experience replay buffer.

[0039] In Embodiment 1 of the present invention, the interaction sample between the target vehicle and the guide waterline is obtained in a simulation environment; or, the interaction sample is obtained on a real vehicle.

[0040] Multiple operational constraints include lateral positioning deviation cost, lateral deviation tail cost, long-term unilateral offset cost, steering action abrupt change cost, and heading alignment deviation cost.

[0041] Lateral positioning deviation cost is used to constrain the average lateral offset of the vehicle target reference point relative to the guide waterline, ensuring the vehicle maintains overall tracking accuracy within the stable operating segment; lateral deviation tail cost is used to limit a few large deviations where the lateral offset exceeds a preset tail threshold, preventing excessively large local error peaks; long-term unilateral offset cost is used to constrain the tendency of the vehicle target reference point to continuously deviate to the same side of the guide waterline, preventing long-term unilateral offset within the stable operating segment; steering action abrupt change cost is used to suppress drastic changes in steering angle between adjacent control cycles, ensuring steering action... Smoothness and actuator lifespan; heading alignment deviation cost is used to constrain the deviation of the vehicle's heading angle relative to the tangent of the guide waterline, assisting the vehicle in maintaining the correct attitude and tracking trend in low-curvature curves.

[0042] The instantaneous quantities of the costs of each operational constraint constitute the cost vector, expressed as: (6) in, This represents the cost vector for the current control cycle; This indicates the cost of lateral positioning deviation; This represents the cost of the lateral bias tail. This represents the cost of long-term unilateral offset. This indicates the cost of a sudden change in steering action. This indicates the cost of heading alignment deviation.

[0043] The specific calculation methods for each operational constraint cost are as follows: The cost of lateral positioning deviation is expressed as the absolute value of the signed lateral error, as follows: (7) in, Represents the signed lateral offset of the current control cycle.

[0044] The lateral bias tail cost uses the portion of the lateral error whose absolute value exceeds a preset tail threshold as the immediate cost of a single sample, used to update the corresponding constraint action value network. Within a training batch, the average of a preset proportion of samples with the largest immediate cost is selected as the tail constraint statistic for updating the corresponding non-negative Lagrange multipliers, expressed as: (8) in, This indicates a preset tail threshold. Indicates from the current training batch Select the largest value from the top One sample; The tail ratio is determined by multiplying the total number of training batch samples by a preset tail ratio; in this example, the tail ratio is 0.10. This represents the instantaneous cost per step used to train the tail-constrained action value network; This represents the tail constraint statistic of the training batch, which is used to calculate the corresponding original violation in formula (13).

[0045] The batch statistic for the long-term one-sided offset cost is expressed as the absolute value of the mean of the signed lateral errors within the training batch, as follows: (9) in, This indicates the number of samples in the current training batch. The positive and negative errors within the batch are first averaged by sign, and then the absolute value is taken, so that the continuous unilateral offset forms a large bias statistic, while the near-zero fluctuations on both sides of the guideline can cancel each other out.

[0046] The constraint action value network corresponding to this constraint uses the absolute value of the lateral error of a single sample as the non-negative immediate agent cost, expressed as: (10) The constraint action value network uses the absolute value of the lateral error to learn the long-term bias risk; the non-negative Lagrange multiplier uses the batch bias statistic of formula (9), calculates the violation amount using formula (13), and updates it after smoothing. The cost of abrupt change in steering action is determined based on the absolute value of the difference between the actual steering amounts executed in adjacent control cycles, and the cost of heading alignment deviation is based on the absolute value of the heading angle deviation, expressed as follows: (11) in, and These are the actual steering angles for the current and previous control cycles, respectively. This represents the heading angle deviation in the current control cycle. The steering action abrupt change cost is used to reduce sudden, large steering movements, while the heading alignment deviation cost serves as an auxiliary constraint for low-curvature curves and vehicle attitude.

[0047] Batch samples are sampled from the experience replay buffer. Statistics for each constraint index are calculated using the instantaneous values ​​of the running constraint costs in the batch samples, and each non-negative Lagrange multiplier is adjusted by the deviation between each statistics and the corresponding preset threshold.

[0048] Non-negative Lagrange multipliers are expressed in exponential parameterized form: (12) in, Indicates the first The non-negative Lagrange multipliers corresponding to the term constraints; Represents the trainable logarithmic parameters; When updating non-negative Lagrange multipliers, the original violation quantity The calculation is as follows: ; Then the original violation amount The smoothed violation is obtained by performing an exponential moving average: (13) The smoothness violation quantity is used as the basis for updating the non-negative Lagrange multiplier; in, Indicates the first in the current training batch Statistics on the constraints; Indicates the first Preset threshold for item constraints; This represents the smoothed violation after exponential moving average processing; Represents the smoothing coefficient and ; This represents the smoothing violation amount from the previous update cycle. When a constraint statistic consistently exceeds a preset threshold, the corresponding non-negative Lagrange multiplier increases, thereby enhancing the impact of that constraint on policy updates.

[0049] In Embodiment 1 of the present invention, the reward action value network and each constraint action value network are updated based on interactive samples. Specifically, a Bellman objective is constructed using the costs of each operational constraint, the multi-source perception fusion state at the next moment, and the termination flag, and each constraint action value network is updated based on the Bellman objective; a reward Bellman objective is constructed using the performance reward, the multi-source perception fusion state at the next moment, and the termination flag, and the reward action value network is updated based on the reward Bellman objective.

[0050] Among them, the The Bellman objective of the value network of the two constraint actions corresponding to the cost of the operational constraint is constructed as follows: (14) in, Indicates the first The Bellman objective value corresponding to the operational constraint cost; Indicates the cost discount factor. ; Indicates the current control cycle number The instantaneous value of the cost of the operational constraint; for the lateral deviation tail constraint, the instantaneous value is the single-step cost in formula (8). Batch statistics are not used. ; Indicates the end of the current control cycle; Indicates the first The first item corresponding to the cost of the operational constraint A value network of target-constrained actions; This indicates the multi-source sensing fusion state for the next control cycle; Indicates the control action for the next control cycle; This means taking the larger value from the output of the two target constraint action value networks to conservatively estimate the constraint risk. By taking the larger value, the policy network is more inclined to avoid actions with high constraint risk during training. Especially in constraint action value networks corresponding to lateral bias tail costs and long-term one-sided offset costs, the conservative estimation mechanism effectively suppresses the occurrence of small large biases and persistent one-sided offsets.

[0051] The method for updating the value network of each constraint action is as follows: (15) in, This represents the overall loss function of the constrained action value network; Indicates the first The first item corresponding to the cost of the operational constraint A constraint-action value network for state-action pairs The cumulative constraint risk estimate; This represents the mathematical expectation of the interaction samples sampled from the experience replay buffer, achieved by minimizing the loss function. Update the parameters of each constraint action value network so that the output of each constraint action value network approximates the corresponding Bellman objective.

[0052] A reward Bellman objective is constructed based on the immediate performance reward, termination flag, target reward action value for the next state, and policy entropy regularization term. The reward action value network is then updated based on this objective. The reward action value network includes a first reward action value network and a second reward action value network. The reward Bellman objective is constructed according to the following formula: (16) in, This indicates the reward value for Bellman's objective; This indicates the performance return for the current control cycle; Indicates the reward discount factor and , This indicates the end of the current control cycle. Indicates the first A network of reward-based action values ​​for individual goals. This indicates that the smaller value of the reward action value network output is taken from the two target reward action values. is the entropy regularization coefficient, consistent with the definition in formulas (18) and (21); The current continuous control strategy in state obtained by downsampling; Let this be the conditional probability density for the action. This is the entropy regularization term in the reward objective. The parameters of the value network for each reward action are updated according to the following formula: (17) in, This represents the overall loss function of the reward action value network; Indicates the first Each reward action value network is a state-action pair. The cumulative performance return estimate is obtained by minimizing the loss function. Update the parameters of the reward action value network as described.

[0053] Embodiment 1 of this invention employs a constraint reinforcement learning framework to train a continuous control policy network. The optimization objective of this framework is to maximize the expected cumulative performance return while ensuring that the long-term cumulative value of each operational constraint cost does not exceed its respective preset threshold. Specifically, the expected cumulative return... Instant performance feedback and policy entropy term Together they constitute, represented as: (18) in, This indicates a continuous control strategy. As a reward discount factor, Here is the entropy regularization coefficient. This represents policy entropy, used to encourage exploration.

[0054] Long-term cumulative constraint risks corresponding to the costs of the five operational constraints Each of them must satisfy its respective budget constraints: (19) in, For the first Preset threshold for item constraints By using the Lagrangian duality method, the constrained optimization problem described above is transformed into an unconstrained optimization problem, and the Lagrangian function is obtained. Represented as: (20) in, For the first The non-negative Lagrange multiplier corresponding to a constraint. When the long-term cumulative risk of a constraint... Continuously exceeding the corresponding budget At that time, the corresponding non-negative Lagrange multipliers Increase the value of this constraint, thereby enhancing its impact on policy updates. Based on the aforementioned constraint reinforcement learning framework, the policy loss in step S4... Constructed according to formula (21), the long-term cumulative performance reward in the reward action value network estimation formula (18) and the long-term cumulative constraint risk of each constraint in the constraint action value network estimation formula (19) are weighed by the policy network using adaptive non-negative Lagrange multipliers.

[0055] In step S4, a policy loss is constructed, which is determined by the cumulative performance reward estimate of the updated reward action value network for the state-action pair, the cumulative constraint risk estimate of the updated constraint action value network for the state-action pair, and the non-negative Lagrange multiplier; the policy loss is minimized to update the parameters of the continuous control policy network to obtain a multi-constraint lateral control policy. Figure 3 This is a schematic diagram of the training of the multi-constraint lateral control strategy proposed in Embodiment 1 of the present invention.

[0056] In this invention, the strategy loss is expressed as: ;(twenty one) in, Indicates the strategy loss; Represents the entropy regularization coefficient. This indicates that the continuous control policy network is in a fusion state. Select control action below The probability density, This represents the cumulative performance reward estimate of the network for state-action pairs, representing the reward action value. For the first The non-negative Lagrange multipliers corresponding to the term constraints, For the first The cumulative constraint risk estimate of the state-action pair in the constraint action value network.

[0057] When a certain constraint statistic consistently exceeds the budget, the corresponding non-negative Lagrange multiplier This increases, thus increasing the estimated cumulative constraint risk of this constraint. The increased weight in the policy loss drives the policy network to pay more attention to satisfying this constraint when updating parameters.

[0058] Minimize the policy loss The parameters of the continuous control strategy network are updated to obtain a multi-constraint lateral control strategy.

[0059] In step S5, the current multi-source perception fusion state is input into the multi-constraint lateral control strategy to obtain steering control commands and send them to the steering actuator. At the same time, the longitudinal speed adjustment unit maintains the vehicle speed at the preset marking operation speed, so that the target vehicle performs closed-loop marking operation along the guide waterline.

[0060] Before inputting the current multi-source sensing fusion state into the multi-constraint lateral control strategy, the following steps are also included: The current multi-source sensing fusion state is normalized according to the fixed scale corresponding to the physical dimensions of each state component, and the normalized state components are then limited to ensure that each state component is within a preset normalization range. The current multi-source sensing fusion state after normalization and limiting is used as the input of the multi-constraint lateral control strategy.

[0061] Figure 4 This is a schematic diagram of the constant-speed line marking closed-loop control proposed in Embodiment 1 of the present invention. In Embodiment 1 of the present invention, the longitudinal speed adjustment unit operates independently of the multi-constraint lateral control strategy. Its inputs are the preset line marking operation speed and the current vehicle speed. Proportional-integral-derivative control is used to generate the longitudinal drive control quantity based on the difference between the target operation speed and the current vehicle speed. The multi-constraint lateral control strategy does not output throttle or braking control quantities, thus avoiding the strategy from reducing speed or stopping to obtain a smaller lateral error from the control structure.

[0062] Steering control and longitudinal speed control act simultaneously on the vehicle chassis, enabling the target vehicle to perform closed-loop marking operations along the guide waterline. After the vehicle moves, new visual pose deviations and GNSS motion information feedback are generated, thus forming closed-loop control.

[0063] In actual vehicle deployment, the information input to the continuous control strategy network during the control phase is only the multi-source perception fusion state, and does not include absolute latitude and longitude coordinates, global route identification, and actual road curvature.

[0064] This embodiment 1 proposes a multi-source perception fusion control method for constant-speed lane marking operations. It constructs historical state data by integrating visual pose deviations and vehicle motion states from multiple consecutive control cycles, and fuses this data with motion-derived features from the current control cycle to form a multi-source perception fusion state. This allows the controller to obtain curve motion trend information through GNSS track angle change rate and implicit curvature even when the waterline is still approximately straight in near-field vision. Based on this, a continuous control strategy network, a dual-reward action value network, and multiple constraint action value networks corresponding to the costs of five operational constraints are constructed. Non-negative Lagrange multipliers adaptively adjust the weights of each constraint in the strategy loss based on the deviation of each constraint statistic from a preset threshold, enabling the strategy network to automatically adapt to changes in operating conditions between straight and curved road segments without manual parameter adjustment. After training, the multi-constraint lateral control strategy outputs steering control commands solely based on visual pose deviation, vehicle motion state, and GNSS local motion information. It does not rely on absolute latitude and longitude coordinates, global route markers, or actual road curvature. The longitudinal speed regulation unit independently maintains the preset marking speed, enabling the target vehicle to perform closed-loop marking operations along the guide waterline. This process collectively constitutes a complete technical closed loop, from multi-source perception fusion state construction to multi-constraint action value network training and strategy network deployment, achieving lateral multi-constraint adaptive control of the marking vehicle based on visual-GNSS fusion perception under conditions without a global construction trajectory.

[0065] Example 2 Embodiment 2 of the present invention provides a specific implementation method for applying the method described in Embodiment 1 to an actual road marking construction scenario.

[0066] Application scenario description: At a highway road marking construction site, the work area includes straight sections and low-curvature curves with relatively large radii. While workers have already pre-marked guide lines on the road surface, no construction drawings containing complete latitude and longitude coordinates and curvature parameters have been provided. An unmanned road marking vehicle equipped with a marking spraying device is tasked with completing the marking work along the guide lines, with a pre-set marking speed of 5 km / h.

[0067] Deployment configuration: The multi-constraint lateral control strategy trained in Example 1 is deployed to the industrial control computer of the unmanned lane marking vehicle. The perception system includes an industrial camera facing the road surface and a GNSS receiver. The steering actuator is an electric power steering system, and the longitudinal speed regulation unit is a PID controller, which communicates with the vehicle chassis via the vehicle bus.

[0068] The industrial camera connects to the industrial control computer via an interface. It uses a vision library to process the acquired images, extracting the position and direction of the guide waterline. Combined with camera calibration parameters, it converts the pixel coordinates into lateral offset and heading angle deviation in the vehicle coordinate system. The GNSS receiver connects to the industrial control computer via a serial port, receiving differential positioning data. After parsing, it outputs the vehicle's position, speed, and heading information.

[0069] Network training and parameter configuration: In this embodiment, the policy network, the dual-reward action value network, and each group of dual-constraint action value networks are all multilayer perceptrons with two hidden layers. Each hidden layer contains 256 neurons and uses the ReLU activation function. The experience replay buffer capacity is 300,000, the batch size is 512, the reward discount factor is 0.98, the cost discount factor is 0.95, the soft update coefficients of the reward target network and the cost target network are both 0.02, the learning rate of the constraint action value network is 1×10⁻⁴, and the parameters are updated every 64 environmental interaction steps. After 2000 pre-training updates, the constraint effect of the constraint action value network increases linearly.

[0070] During the high-precision finishing stage, the lateral error budget is 0.00135m, the tail threshold is 0.00135m, the tail cost budget is 0.00022m, the offset budget is 0.00075m, the steering change budget is 0.0065, and the heading error budget is 0.008rad. The adaptive constraint weight learning rate is 1.1×10⁻⁵, the weights are limited to between 1×10⁻⁶ and 5.0, the violation exponential smoothing coefficient is 0.98, and a weight update is performed every 32 training iterations. These parameters can be adjusted based on the vehicle steering system, visual measurement accuracy, operating speed, and allowable errors in road marking construction.

[0071] Preparations before construction: The operator starts the unmanned line marking vehicle and sets the target line marking speed. The system automatically executes the sensor initialization procedure, including: camera autofocus and exposure parameter calibration, GNSS receiver satellite search and differential signal locking, and steering actuator zero-position calibration. After all sensors are successfully initialized, the system enters the standby state.

[0072] Start the road marking spraying device to bring the paint circulation system to operating temperature and pressure. The operator sends the "start marking" command, and the vehicle automatically starts and enters the constant speed marking operation mode.

[0073] Job execution process: After the vehicle starts moving, the longitudinal speed regulation unit accelerates the vehicle speed to the preset marking operation speed and controls speed fluctuations within an allowable range throughout the operation. Simultaneously, the multi-constraint lateral control strategy operates continuously at a preset control frequency.

[0074] Within each control cycle, the motion state information of the target vehicle and its visual pose deviation relative to the guide waterline are first acquired according to a preset control cycle. Specifically, the vision system acquires a frame of road surface image, and the image processing algorithm detects the lateral offset and heading angle deviation of the target vehicle relative to the guide waterline. Simultaneously, the GNSS receiver outputs the current vehicle's local longitudinal velocity, local lateral velocity, and track angle change rate.

[0075] Then, the motion state information and visual pose deviation from multiple consecutive control cycles are used to construct historical state data. Specifically, the data from the current moment is concatenated with the data from the past four control cycles to form historical state data containing the lateral offset, heading angle deviation, vehicle speed, and actual steering amount from the most recent five cycles.

[0076] Simultaneously, the current motion-derived state is constructed based on the motion-derived characteristics of the current control cycle. Specifically, the lateral offset change rate, heading angle deviation change rate, exponentially weighted moving average of the lateral offset, and steering angle change are calculated, and the implicit road curvature estimate is calculated using a formula. The implicit road curvature estimate is calculated by weighting the vehicle motion curvature component obtained from the vehicle's actual steering amount and vehicle geometric parameters, the error correction component obtained from the visual heading error change rate and vehicle speed, and the GNSS curvature component obtained from the GNSS track angle change rate and GNSS speed, and is limited to a preset curvature range.

[0077] When driving on curved sections, although the guide water line observed by the onboard camera in the near field of view is still approximately a straight line and the visual lateral error has not yet changed significantly, the implicit road curvature estimate already reflects the curve information. By combining historical state data with the current motion-derived state into a multi-source perception fusion state and inputting it into the policy network, the controller can perceive the curve trend in advance, thereby adjusting the steering angle before the lateral error increases significantly.

[0078] Historical state data and current motion-derived state are combined into a multi-source perception fusion state, which is then normalized and input into the continuous control strategy network. The multi-constraint lateral control strategy performs forward inference, outputs steering control commands, which are then de-normalized, smoothed, and limited before being sent to the steering actuator via the vehicle bus.

[0079] Meanwhile, within each control cycle, the longitudinal speed adjustment unit receives feedback values ​​from the vehicle speed sensor, calculates the deviation between the current speed and the preset speed, and uses longitudinal drive control to maintain a stable longitudinal operating speed for the vehicle during the painting of the markings, thereby ensuring the uniformity of the paint deposition per unit length and the stability of the marking width.

[0080] The steering actuator executes the corresponding steering action according to the steering control command, and the vehicle travels along the guide waterline. After the vehicle moves, the vision system and GNSS receiver provide new posture deviations and motion status feedback, thus forming a closed-loop control.

[0081] During continuous operation, the controller performs a cycle of perception, fusion, decision-making, and execution in the same manner within each control cycle, enabling the vehicle to continuously travel along the guide waterline.

[0082] Performance on different road sections: On straight sections, the guide waterline is approximately straight, and the system maintains the vehicle along the guide waterline with minimal steering adjustments. The constraint of lateral positioning deviation cost dominates, keeping the lateral error within a small range. The cost of abrupt steering action effectively suppresses unnecessary steering jitter, ensuring the straightness of the lane marking edges. On curved sections, the implicit curvature estimate increases, and the system senses the curve trend in advance, initiating steering pre-adjustment before entering the curve, achieving a smooth curve transition. The constraints of long-term unilateral offset cost and heading alignment deviation cost are enhanced, ensuring the vehicle does not veer to the same side in the curve. The system automatically corrects the steering at the curve exit, completing curve tracking.

[0083] Handling Unexpected Disturbances: The system can effectively handle the following two types of unexpected situations during operation: Emergency Situation 1: Changes in vehicle quality due to paint consumption As the operation progresses, the paint in the paint tank is gradually consumed, reducing the vehicle's overall mass. This change in mass alters the vehicle's dynamic response, making its yaw response more sensitive at the same steering angle. The multi-constraint lateral control strategy, by utilizing actual steering input and vehicle speed information from historical state data, can detect these changes in vehicle response and adaptively adjust the steering control input without requiring manual parameter readjustment, thus ensuring stable tracking accuracy.

[0084] Emergency Situation 2: Short-term GNSS signal obstruction When a vehicle passes through an area with obstructions on both sides, the GNSS signal may be temporarily blocked, resulting in a degraded signal quality. At this time, the reliability of local motion information from the GNSS sensor fusion system decreases. However, since the GNSS sensor fusion system also includes visual pose deviations and vehicle status (historical status data), the controller can still rely on visual information to maintain tracking of the guide waterline, avoiding control failure due to GNSS signal loss. Once the vehicle leaves the obstructed area, the GNSS signal automatically recovers, and the system continues to operate normally.

[0085] Homework completed: After the vehicle completes all the road marking painting, the system automatically stops the painting device and shuts down the paint circulation system. The workers then inspect the finished road markings for quality; the marking width is uniform, the edges are clear, there are no significant deviations at curves, and all indicators meet the construction acceptance standards.

[0086] Summary of practical application results: This embodiment 2 verifies the feasibility and effectiveness of the method described in embodiment 1 in actual road marking construction scenarios. Without a complete global construction trajectory and true curvature input, this method achieves stable tracking of guide water lines and high-quality marking application using only visual pose deviation and GNSS local motion information. It achieves excellent control effects on both straight and curved road sections, and demonstrates good adaptability and robustness to actual working conditions such as vehicle weight changes and GNSS signal fluctuations.

[0087] Example 3 Based on the multi-source sensing fusion control method for constant-speed line marking operations proposed in Embodiment 1 of this invention, Embodiment 3 of this invention also proposes a multi-source sensing fusion control device for constant-speed line marking operations. Figure 5 This is a schematic diagram of a multi-source sensing fusion control device for constant-speed line marking operations proposed in Embodiment 3 of the present invention. At the hardware level, the device 500 includes: A camera device is used to acquire images of the road surface and output the lateral offset and heading angle deviation of the target vehicle relative to the guide waterline based on the road surface images; A GNSS receiver is used to output the target vehicle's local longitudinal velocity, local lateral velocity, and rate of change of track angle. The vehicle bus interface is used to read vehicle speed and actual steering input. The processor 510 optionally includes an internal bus 520, a network interface 530, and memory. The memory may include main memory, such as high-speed random-access memory (RAM), or non-volatile memory, such as at least one disk storage device. Of course, the electronic device may also include other hardware required for its functions.

[0088] The processor 510, network interface 530, and memory can be interconnected via an internal bus 520. This internal bus 520 can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be categorized as an address bus, data bus, control bus, etc. For ease of illustration, only a single bidirectional arrow is used in this diagram, but this does not imply that there is only one bus or one type of bus. The memory is used to store programs. Specifically, the program can include program code, which includes computer operation instructions. The memory can include main memory 540 and non-volatile memory 550, and provides instructions and data to the processor 510.

[0089] The processor 510 reads the corresponding computer program from the non-volatile memory 550 into the main memory 540 and then runs it, forming a multi-source sensing fusion control method for constant-speed line marking operations at the logical level. The processor 510 executes the program stored in the memory and specifically performs the following: In step S1, the motion state information of the target vehicle and the visual pose deviation relative to the guide waterline are obtained; the motion state information and visual pose deviation of multiple consecutive control cycles are constructed into historical state data; and the current motion derived state is constructed based on the motion derived features of the current control cycle. In step S2, the historical state data and the current motion-derived state are combined into a multi-source sensing fusion state; In step S3, a continuous control strategy network, a reward action value network, and a constraint action value network group are constructed; interaction samples between the target vehicle and the guide waterline are obtained, and the reward action value network and each constraint action value network are updated based on the interaction samples; each non-negative Lagrange multiplier is adjusted by the deviation between the statistics of each operational constraint cost in the interaction samples and the corresponding preset threshold; the interaction samples include multi-source perception fusion states and multiple operational constraint costs; In step S4, a policy loss is constructed, which is determined by the cumulative performance reward estimate of the updated reward action value network for the state-action pair, the cumulative constraint risk estimate of the updated constraint action value network for the state-action pair, and the non-negative Lagrange multiplier; the policy loss is minimized to update the parameters of the continuous control policy network to obtain a multi-constraint lateral control policy. In step S5, the current multi-source perception fusion state is input into the multi-constraint lateral control strategy to obtain steering control commands and send them to the steering actuator. At the same time, the longitudinal speed adjustment unit maintains the vehicle speed at the preset marking operation speed, so that the target vehicle performs closed-loop marking operation along the guide waterline.

[0090] Figure 1 It can be applied to processor 510, or implemented by processor 510. The processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the integrated logic circuit in the processor or by instructions in the form of software. The processor mentioned above can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in the embodiments of this application can be directly embodied as being executed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software module can reside in a mature storage medium in the field, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, or registers. This storage medium is located in memory, and the processor reads information from the memory and, in conjunction with its hardware, completes the steps of the above method.

[0091] Of course, in addition to software implementation, the electronic device of this application does not exclude other implementation methods, such as logic devices or a combination of hardware and software, etc. In other words, the execution subject of the following processing flow is not limited to each logic unit, but can also be hardware or logic devices.

[0092] The description of the relevant parts of the multi-source sensing fusion control device for constant-speed line marking operation provided in Embodiment 3 of this application can be found in the detailed description of the corresponding parts of the multi-source sensing fusion control method for constant-speed line marking operation provided in Embodiment 1 of this application, and will not be repeated here.

[0093] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that the elements inherent in a process, method, article, or apparatus that includes a list of elements are included. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element. Additionally, portions of the technical solutions provided in the embodiments of this application that are consistent with the implementation principles of corresponding technical solutions in the prior art have not been described in detail to avoid excessive elaboration.

[0094] While specific embodiments of the present invention have been described above in conjunction with the accompanying drawings, this is not intended to limit the scope of protection of the present invention. Those skilled in the art can make other modifications or variations based on the above description. It is neither necessary nor possible to exhaustively describe all embodiments here. Various modifications or variations that can be made by those skilled in the art without creative effort based on the technical solutions of the present invention are still within the scope of protection of the present invention.

Claims

1. A multi-source sensing fusion control method for constant-speed line marking operations, characterized in that, Includes the following steps: Acquire the motion state information of the target vehicle and its visual pose deviation relative to the guide waterline; construct historical state data from the motion state information and visual pose deviation of multiple consecutive control cycles; construct the current motion-derived state based on the motion-derived features of the current control cycle; combine the historical state data and the current motion-derived state into a multi-source perception fusion state; Construct a group of continuous control policy networks, reward action value networks, and constraint action value networks; The interaction samples between the target vehicle and the guide waterline are obtained, and the reward action value network and each constraint action value network are updated based on the interaction samples. Each non-negative Lagrange multiplier is adjusted by the deviation between the statistics of each operational constraint cost in the interaction samples and the corresponding preset threshold. The interaction samples include multi-source perception fusion state and multiple operational constraint costs. A policy loss is constructed, which is determined by the cumulative performance reward estimate of the state-action pair by the updated reward action value network, the cumulative constraint risk estimate of the state-action pair by the updated constraint action value networks, and the non-negative Lagrange multiplier; the policy loss is minimized to update the parameters of the continuous control policy network to obtain a multi-constraint lateral control policy. The current multi-source perception fusion state is input into the multi-constraint lateral control strategy to obtain steering control commands and send them to the steering actuator. At the same time, the longitudinal speed adjustment unit maintains the vehicle speed at the preset marking operation speed, so that the target vehicle performs closed-loop marking operation along the guide waterline.

2. The multi-source sensing fusion control method for constant-speed line marking operations according to claim 1, characterized in that, The motion state information of the target vehicle includes: target vehicle speed, actual steering amount, and local motion parameters of satellite navigation; The visual pose deviation includes the lateral offset of the target vehicle relative to the guide waterline and the heading angle deviation. The current motion derived state includes the rate of change of lateral offset, the rate of change of heading angle deviation, the exponentially weighted moving average of lateral offset, the change of steering angle, the local longitudinal velocity of satellite navigation, the local lateral velocity of satellite navigation, the sine of the satellite navigation track angle, the cosine of the satellite navigation track angle, the rate of change of the satellite navigation track angle, and the implicit road curvature estimate.

3. The multi-source sensing fusion control method for constant-speed line marking operations according to claim 2, characterized in that, The calculation process for the implicit road curvature estimate is as follows: ; (5) in, This represents the implicit road curvature estimate; This indicates the preset weighting coefficients, and ; This indicates the wheel steering angle during the current control cycle; Indicates the wheelbase; Represents the curvature components determined by the vehicle's kinematics; This represents the error correction component consisting of the rate of change of heading angle deviation and the characteristic velocity; Indicates the vehicle speed during the current control cycle; This represents the positioning curvature component, which is composed of the rate of change of the satellite navigation track angle and the navigation characteristic velocity. Indicates the rate of change of satellite navigation track angle; This indicates the satellite navigation speed during the current control cycle.

4. The multi-source sensing fusion control method for constant-speed line marking operations according to claim 1, characterized in that, The costs of the various operational constraints include lateral positioning deviation cost, lateral deviation tail cost, long-term unilateral offset cost, steering action abrupt change cost, and heading alignment deviation cost.

5. The multi-source sensing fusion control method for constant-speed line marking operations according to claim 1, characterized in that, The method for constructing a group of continuous control policy networks, reward action value networks, and constraint action value networks is as follows: The continuous control strategy network is a multilayer perceptron, comprising an input layer, two hidden layers, and an output layer connected in sequence. The dimension of the input layer is consistent with the dimension of the multi-source perception fusion state, and the dimension of the output layer is consistent with the dimension of the control action. The reward action value network includes a first reward action value network and a second reward action value network; both the first reward action value network and the second reward action value network are multilayer perceptrons, each including an input layer, two hidden layers and an output layer connected in sequence. The dimension of the input layer is the sum of the dimension of the multi-source perception fusion state and the dimension of the control action, and the dimension of the output layer is 1. The constraint action value network group includes multiple constraint action value networks corresponding to each operational constraint cost. Each constraint action value network is a multilayer perceptron, including an input layer, two hidden layers and an output layer connected in sequence. The dimension of the input layer is the sum of the dimension of the multi-source perception fusion state and the dimension of the control action, and the dimension of the output layer is 1.

6. The multi-source sensing fusion control method for constant-speed line marking operations according to claim 1, characterized in that, The interaction samples also include control actions, performance rewards, the multi-source perception fusion state at the next moment, and termination flags. The reward action value network and each constraint action value network are updated based on the interaction samples, specifically by constructing a Bellman target using the costs of each operational constraint, the multi-source perception fusion state at the next moment, and the termination flag, and updating each constraint action value network based on the Bellman target. A reward Bellman objective is constructed using performance reward, the multi-source perception fusion state at the next time step, and a termination flag, and the reward action value network is updated based on the reward Bellman objective.

7. The multi-source sensing fusion control method for constant-speed line marking operations according to claim 1, characterized in that, The non-negative Lagrange multipliers are in exponential parameterization form: ; (12) in, Indicates the first The non-negative Lagrange multipliers corresponding to the term constraints; Represents the trainable logarithmic parameters; When the non-negative Lagrange multiplier is updated, the original violation amount The calculation is as follows: ; Then the original violation amount The smoothed violation is obtained by performing an exponential moving average: ;(13) The smoothness violation quantity is used as the basis for updating the non-negative Lagrange multiplier; in, Indicates the first in the current training batch Statistics on the constraints; Indicates the first Preset threshold for item constraints; This represents the smoothed violation after exponential moving average processing; Represents the smoothing coefficient and ; This represents the smoothing violation amount in the previous update cycle.

8. The multi-source sensing fusion control method for constant-speed line marking operations according to claim 6, characterized in that, A Bellman objective is constructed using the costs of various operational constraints, the multi-source perception fusion state at the next moment, and the termination flag. The value network of each constraint action is then updated based on this Bellman objective, specifically as follows: The Bellman objective of the value network for each constrained action is: ; (14) in, Indicates the first The Bellman objective value corresponding to the operational constraint cost; Indicates the cost discount factor; Indicates the current control cycle number The immediate value of the cost of the operational constraints; Indicates the end of the current control cycle; Indicates the first The first item corresponding to the cost of the operational constraint A value network of target-constrained actions; This indicates the multi-source sensing fusion state for the next control cycle; Indicates the control action for the next control cycle; This indicates that the larger value in the output of the two target constraint action value network should be taken; The method for updating the constraint action value network is as follows: ;(15) in, This represents the overall loss function of the constrained action value network; Indicates the first The first item corresponding to the cost of the operational constraint A constraint-action value network for state-action pairs The cumulative constraint risk estimate; This represents the mathematical expectation of the interaction samples sampled from the experience replay buffer, achieved by minimizing the loss function. Update the parameters of the value network for each constraint action.

9. The multi-source sensing fusion control method for constant-speed line marking operations according to claim 1, characterized in that, The strategy loss is expressed as: ; (21) in, Indicates the strategy loss; Represents the entropy regularization coefficient. This indicates that the continuous control policy network is in a fusion state. Select control action below The probability density, This represents the cumulative performance reward estimate of the network for state-action pairs, representing the reward action value. For the first The non-negative Lagrange multipliers corresponding to the term constraints, For the first The cumulative constraint risk estimate of the state-action pair in the constraint action value network.

10. A multi-source sensing fusion control device for constant-speed line marking operations, characterized in that, include: A camera device is used to acquire images of the road surface and output the lateral offset and heading angle deviation of the target vehicle relative to the guide waterline based on the road surface images; A GNSS receiver is used to output the target vehicle's local longitudinal velocity, local lateral velocity, and rate of change of track angle. The vehicle bus interface is used to read vehicle speed and actual steering input. At least one processor; And a memory, which stores computer programs; When the computer program is executed by the at least one processor, the processor implements the method as described in any one of claims 1 to 9.

Citation Information

Patent Citations

  • Automatic marking vehicle self-adaptive control method based on mechanism and data driving model

    CN116804850A

  • Brain-like visual cognition embedded end-to-end automatic driving safety control method and system

    CN122676461A